1 1998-05-15 21:07 Ulrich Drepper <drepper@cygnus.com>
3 * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
5 * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
7 * iconv/skeleton.c: Increment invocation_counter.
8 * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
11 * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
12 * iconvdata/iso-2022-jp.c: Likewise.
13 * iconvdata/iso646.c: Likewise.
15 * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
17 1998-05-15 Ulrich Drepper <drepper@cygnus.com>
19 * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
21 * sysdeps/generic/setenv.c (setenv): Remove optimization for
22 overwriting existing values if it fits.
24 1998-05-15 14:36 Ulrich Drepper <drepper@cygnus.com>
26 * posix/wordexp-test.c: Avoid duplicate messages.
28 * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
29 tsearch. Correctly interpret values returned by those functions.
30 (unsetenv): Store pointer to string, not pointer to string pointer.
32 * time/tzfile.c (__tzfile_compute): Take new arguments. Store
33 DST information and offset in them.
34 * time/tzset.c (__tz_convert): Pass extra parameters to
35 __tzfile_compute. Compute equivalent values for use of tz_rules.
37 1998-05-15 00:49:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
39 * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
40 stamp files to avoid unnecessary recompilation.
41 (gen-8bit-gap-table): Likewise.
42 (move-if-change): New variable.
43 (all generated .h rules): Change to be .stmp rules.
44 (%.h): New rule; depend on %.stmp; no commands.
45 (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
48 1998-05-15 01:09 Zack Weinberg <zack@rabi.phys.columbia.edu>
50 * Makerules (libc-map): Deleted.
51 (load-map-file): Set to the appropriate compiler switch, not
52 just the file name. If libfoo-map is not set, look for a
53 libfoo.map in the current directory and $(..).
54 (map-file): New variable, contains just the mapfile name.
55 (build-shlib): Adjust for new value of load-map-file.
56 (libc.so): Correct dependencies.
58 * extra-lib.mk: Correct shlib dependencies since libfoo-map
59 may not be set anymore.
61 * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
62 Delete libdl-map. Tweak ld.so link rule to work with changed
63 variable settings in Makerules.
64 * iconvdata/Makefile: Tweak build-module to work with changed
65 variable settings in Makerules.
67 * db/Makefile: Delete libdb-map.
68 * hesiod/Makefile: Delete libnss_hesiod-map.
69 * linuxthreads/Makefile: Delete libpthread-map.
70 * locale/Makefile: Delete libBrokenLocale-map.
71 * login/Makefile: Delete libutil-map.
72 * math/Makefile: Delete libm-map.
73 * md5-crypt/Makefile: Delete libcrypt-map.
74 * nis/Makefile: Delete libnsl-map, libnss_nis-map,
75 libnss_nisplus-map, and libnss_compat-map.
76 * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
78 * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
79 * rt/Makefile: Delete librt-map.
81 1998-05-15 01:06 Zack Weinberg <zack@rabi.phys.columbia.edu>
83 * configure.in: Instead of substituting `yes' or `no' for whether
84 --no-whole-archive is available, set @no_whole_archive@ to the
85 appropriate gcc switch or the empty string. Likewise for
87 * config.make.in: Replace have-no-whole-archive with
88 no-whole-archive and have-no-exceptions with no-exceptions.
89 * Makerules: Delete stanzas setting no-whole-archive and
92 * sunrpc/Makefile: Use move-if-change to update generated .h
95 1998-05-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
97 * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
100 1998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
102 * time/tzfile.c (__tzfile_read): Remove unused variable info.
103 (__tzfile_compute): Likewise.
105 1998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
107 * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
108 defines from Linux 2.1.102.
110 1998-05-14 23:14 Ulrich Drepper <drepper@cygnus.com>
112 * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
114 1998-05-14 13:25 Ulrich Drepper <drepper@cygnus.com>
116 * inet/netinet/in.h: Add defines for multicast.
117 Reported by Jeremy Hall <jhall@UU.NET>.
119 * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
120 * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
121 and unsetenv. Optimize _LIBC case.
122 * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
123 Define functions with leading __.
125 * time/tzfile.c: Correct handling of global variables daylight,
126 timezone, and tzname.
127 * time/tzset.c: Likewise.
128 * timezone/Makefile (tests): Add tst-timezone.
129 * timezone/tst-timezone.c: New file.
131 1998-05-14 10:35 Ulrich Drepper <drepper@cygnus.com>
133 * timezone/asia: Update from tzdata1998d.
134 * timezone/australasia: Likewise.
135 * timezone/europe: Likewise.
137 1998-05-13 Ulrich Drepper <drepper@cygnus.com>
139 * string/string.h: Don't use the optimized versions for the string
140 functions if optimizing for space.
142 * stdlib/tst-strtod.c: Add test for -0.0.
144 * io/ftwtest-sh: Prevent tests from being run by root.
146 * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
147 last addition. Patch by wkpark@chem.skku.ac.kr.
149 1998-05-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
151 * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
154 1998-05-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
156 * iconvdata/gen-8bit.sh: New file.
157 * iconvdata/gen-8bit-gap.sh: New file.
158 * iconvdata/gen-8bit-gap-1.sh: New file.
159 * iconvdata/Makefile (generate-8bit-table): Use shell script
160 instead of writing the commands directly.
161 (generate-8bit-gap-table): Likewise.
162 ($(objpfx)iso8859-7jp.h): Likewise.
163 (generated headers): Depend on shell script instead of Makefile.
164 (before-compile): Add $(perl-generated-headers) only if perl is
166 (headers): Depend on $(perl-generated-headers) only if perl is
168 (sed-generated-headers): Remove iso8859-7jp.h.
170 1998-05-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
172 * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command. Clean up.
175 1998-05-12 Ulrich Drepper <drepper@cygnus.com>
177 * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
178 formed charset names to getfct. Let user override charset
179 selection by mention charset in locale name.
181 1998-05-12 12:15 Ulrich Drepper <drepper@cygnus.com>
183 * posix/glob.c: Move to ...
184 * sysdeps/generic/glob.c: ...here.
185 * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
187 * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
188 * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
189 * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
190 * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
192 * libc.map [GLIBC_2.1]: Add glob and globfree.
194 1998-05-12 Ulrich Drepper <drepper@cygnus.com>
196 * sunrpc/Makefile (generated): Restore old list.
198 1998-05-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
200 * rt/Makefile (tests): Define only if we have a thread library.
202 * nis/ypclnt.c: Add: #include <errno.h>.
204 1998-05-10 15:39 Zack Weinberg <zack@rabi.phys.columbia.edu>
206 * configure.in: Define and substitute RELEASE as well as
208 * config.make.in: Add RELEASE and VERSION to be substituted.
209 * Makeconfig: Delete all references to version.mk.
210 * Make-dist: Likewise.
211 * MakeTAGS: Likewise.
212 * elf/Makefile: Likewise.
214 1998-05-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
216 * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
217 yp_get_default_domain.
219 1998-05-12 Ulrich Drepper <drepper@cygnus.com>
221 * sysdeps/posix/profil.c (__profil): Don't define act and timer
222 variables as static. Patch by Joe Keane <jgk@jgk.org>.
224 1998-05-12 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
226 * malloc/malloc.c: Fix for NO_THREADS case.
228 1998-05-11 18:02 Richard Henderson <rth@cygnus.com>
230 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
231 Remove statfs and fstatfs.
232 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
234 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
236 1998-05-09 Ulrich Drepper <drepper@cygnus.com>
238 * libc.map: Add capget and capset.
240 1998-05-08 Ulrich Drepper <drepper@cygnus.com>
242 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
243 (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
244 vector. Patch by Mark Hatle <fray@kernel.crashing.org>
245 and Matt McLean <keys@brio.yikes.com>.
247 1998-05-08 23:49 Ulrich Drepper <drepper@cygnus.com>
249 * misc/Makefile (tests): Add tst-mntent.
250 * misc/tst-mntent.c: New file.
252 1998-05-08 21:56 Zack Weinberg <zack@rabi.phys.columbia.edu>
254 * autolock.sh: Removed.
255 * manual/move-if-change: Removed.
257 * scripts: New directory.
258 * =__ify: Moved to scripts.
259 * config.guess: Likewise.
260 * config.sub: Likewise.
261 * gen-FAQ.pl: Likewise.
262 * install-sh: Likewise.
263 * mkinstalldirs: Likewise.
264 * move-if-change: Likewise.
265 * printsources: Likewise.
266 * rellns.sh: Likewise.
267 * test-installation.pl: Likewise.
269 * configure.in: Look in scripts for config.guess, config.sub,
271 * Makefile: Distribute all above files in their
272 new home. Find gen-FAQ.pl and test-installation.pl in scripts.
273 * manual/Makefile: Find mkinstalldirs and move-if-change in
274 $(..)scripts. Drop them from distribute. Minor cleanups.
275 * Makerules: Find mkinstalldirs and rellns-sh in scripts.
276 * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
277 * timezone/Makefile: Find rellns-sh in scripts.
279 1998-05-08 Ulrich Drepper <drepper@cygnus.com>
281 * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
282 Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
284 1998-05-08 19:24 Zack Weinberg <zack@rabi.phys.columbia.edu>
286 * Makefile (+subdir-inits): Delete variable.
287 (+init_subdirs): Likewise.
289 (before-compile): Likewise.
290 (libc-init): Delete stanza.
291 (version-info.h): Delete rule and associated variable.
292 (distribute): Don't distribute moved files.
293 * Makerules (interp-obj): It lives in elf now. Only use it
294 if $(elf) is set. Delete rule to build it.
295 * csu/Makefile: Build set-init.o and/or munch-init.o. Build
296 version.o and version-info.h. Minor cleanups.
297 (routines): Add libc-init, sysdep, version.
298 (generated): Add version-info.h.
299 * elf/Makefile: Build interp.os.
301 * interp.c: Moved to elf.
302 * set-init.c: Moved to csu.
303 * munch-init.c: Likewise.
304 * munch.awk: Likewise.
305 * version.c: Likewise.
307 * Rules: Unconfuse syntax highlighting with a fake comment.
309 1998-05-08 Ulrich Drepper <drepper@cygnus.com>
311 * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
314 1998-05-08 16:36 Zack Weinberg <zack@rabi.phys.columbia.edu>
316 * iconvdata/Makefile (generated): Set to *-generated-headers
318 (tests): Set to iconv-test.
319 * localedata/Makefile (generated-dirs): Add ld-test-names to list.
320 * posix/Makefile (generated): Set to wordexp-test-result*.
321 * sunrpc/Makefile (generated): Remove rpcsvc/*.
322 (generated-dirs): Add rpcsvc.
323 * libio/Makefile: Clean up.
325 1998-05-08 14:55 Ulrich Drepper <drepper@cygnus.com>
327 * Make-dist (+tsrcs): Also use tests-statc where tests is used.
328 * Makerules: Likewise.
329 (+depfiles): Also add sysdep-others.
331 * iconv/Makefile (distribute): Add loop.s and skeleton.c.
332 * iconvdata/Makefile (distribute): Add TESTS.
333 * localedata/Makefile (repertoires): Rename to repertoiremaps.
334 * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
335 * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
336 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
337 sysdep-others, not others.
338 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
339 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
341 1998-05-08 12:26 Ulrich Drepper <drepper@cygnus.com>
343 * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
345 * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
346 Cost parameter and set cost_lo to INT_MAX.
347 (add_module): Take new parameter and use it to initialize cost_lo.
348 (read_conf_file): Count modules being loaded and use counter for
349 new parameter to add_module.
350 * iconv/gconv_db.c (find_derivation): When look for cost examine
353 1998-05-08 10:52 Ulrich Drepper <drepper@cygnus.com>
355 * string/bits/string2.h: Don't use unsigned char * unless really
356 necessary since this disturbs C++.
357 * sysdeps/i386/i486/bits/string.h: Likewise.
358 Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
360 1998-05-08 13:53 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
362 * malloc/malloc.c (top_check): Fix last change.
364 1998-05-07 Ulrich Drepper <drepper@cygnus.com>
366 * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
367 Patch by Matt McLean <keys@brio.yikes.com>.
369 1997-05-07 13:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
371 * Makerules (lib): Put back dependency on lib-noranlib.
372 ($(subdirs-stamps)): Remove dependency on stamp.* again.
374 1998-05-07 Ulrich Drepper <drepper@cygnus.com>
376 * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
377 test in __pow2 implementation.
379 1998-04-16 07:42 Geoff Keating <geoffk@ozemail.com.au>
381 * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
382 Still need *FLAGS-.o because we still sometimes build .o files.
383 * db2/Makefile: Don't build libndbm.a if !build-static.
385 1998-05-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
387 * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
389 1998-04-16 07:42 Geoff Keating <geoffk@ozemail.com.au>
391 * configure.in: New test for broken gcc on PowerPC.
392 * sysdeps/powerpc/atomicity.h: Use result of test.
393 * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
395 * math/libm-test.c: Update many of the epsilon to match actual
398 * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
399 * sysdeps/libm-ieee754/e_expf.c: Likewise.
400 * sysdeps/libm-ieee754/s_exp2.c: Likewise.
401 * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
403 * sysdeps/libm-ieee754/e_pow.c: Correct typo.
405 * sysdeps/powerpc/elf/libc-start.c: New file.
406 * sysdeps/powerpc/elf/start.S: New file, use libc-start.
407 * sysdeps/powerpc/elf/start.c: Delete.
409 * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
410 * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete. It was unused.
412 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
415 1998-05-06 12:51 Ulrich Drepper <drepper@cygnus.com>
417 * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
420 * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
421 * sysdeps/libm-i387/e_powl.S: Likewise.
423 1998-03-31 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
425 * malloc/malloc.c (chunk2mem_check, top_check): New functions.
426 (malloc_check, free_check, realloc_check, memalign_check): Use
427 them to improve overrun checking. Overruns of a single byte and
428 corruption of the top chunk are now detected much more reliably.
430 1998-05-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
432 * math/libm-test.c (pow_test): Add test for special value from PR
435 1998-05-06 Ulrich Drepper <drepper@cygnus.com>
437 * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
438 including linux/errno.h.
440 1998-05-06 09:49 Ulrich Drepper <drepper@cygnus.com>
442 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
444 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
445 * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
447 1998-05-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
449 * Makerules (elide-routines.*): Fix assignments.
450 (do-makelib): Fix typo.
451 ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
454 1998-05-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
456 * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
457 $(objpfx)sysd-dirs): Move them...
458 * Makeconfig: ... here.
459 * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
460 (stubs): Fix circular depedency.
461 (do-makelib): Clean up.
462 (lib): Don't depend on lib-noranlib.
463 ($(objpfx)stamp.oS): Remove special case for empty
464 static-only-routines.
465 (elide-routines.o): Add $(static-only-routines).
466 (elide-routines$o): Define this instead of elide-routines.$o.
467 * manual/Makefile (stubs): Fix circular dependency.
469 1998-05-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
471 * libio/Makefile (routines): Remove duplicate oldiofclose.
473 1998-05-05 Ulrich Drepper <drepper@cygnus.com>
475 * string/strcoll.c: Use uint32_t instead of u_int32_t.
477 1998-05-05 Ulrich Drepper <drepper@cygnus.com>
479 * libio/stdio.h: Fix typo in __REDIRECT.
480 * io/sys/stat.h: Likewise.
481 Reported by Myles Uyema <myles@uyema.nws.net>.
483 1998-05-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
485 * locale/programs/localedef.c (options): Fix help message.
487 1998-05-04 Ulrich Drepper <drepper@cygnus.com>
489 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
490 relocations. Patch by Joe Keane <jgk@jgk.org>.
492 1998-05-04 12:40 Ulrich Drepper <drepper@cygnus.com>
494 * malloc/malloc.c (ptmalloc_init_all): New function. Similar to
495 ptmalloc_unlock_all, but re-initializes the mutexes instead.
496 (ptmalloc_init): Use new function in thread_at_fork call.
497 (thread_atfork_static): Likewise.
498 Suggested by Wolfram Gloger and Xavier Leroy.
500 1998-05-04 Ulrich Drepper <drepper@cygnus.com>
502 * signal/signal.h: Move definitions of struct sigstack and
503 struct sigaltstack into separate file and include it.
504 * sysdeps/generic/bits/sigstack.h: New file.
505 * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
506 * signal/Makefile (headers): Add bits/sigstack.h.
508 1998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
510 * elf/rtld.c (dl_main): Fix check for number of references to
513 1998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
515 * elf/rtld.c (dl_main): Check has_interp after executing platform
518 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
520 * iconvdata/run-iconv-test.sh: Fix typo.
522 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
524 * Makerules (+depfiles): Add depfiles for $(tests-static).
527 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
529 * manual/terminal.texi (Special Characters): Fix description of
532 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
534 * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
536 * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise. Initialize rest
539 1998-04-30 14:15 Zack Weinberg <zack@rabi.phys.columbia.edu>
541 * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
543 1998-05-01 Ulrich Drepper <drepper@cygnus.com>
545 * intl/locale.alias: Update russian entry.
547 1998-05-01 21:54 Zack Weinberg <zack@rabi.phys.columbia.edu>
549 * Makerules (static-only-routines): Reimplement in terms of
551 (shared-only-routines): Reimplement in terms of
552 elide-routines.X [where X is all object-suffixes except .os].
554 (stubs): Create stubs file inside the subdir.
555 (common-mostlyclean): Remove stubs file from inside the subdir.
556 * Makefile (subdir-stubs): Look for stubs files inside the
558 * manual/Makefile (stubs): Create dummy stubs file inside the
561 1998-05-01 21:01 Zack Weinberg <zack@rabi.phys.columbia.edu>
563 Build speed improvement: make ar less of a bottleneck.
565 * Makerules (stamp$o): Just record the object list for later
567 (libc_foo.a): New rule, depends on subdir stamp files; builds
568 and ranlibs the library from the lists saved in those files.
570 (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
571 (subdirs-stamp-o): Likewise.
573 (ar-symtab-name): Delete variable.
574 (lib%.a): Delete target.
575 (libc_foo.a(bar.%)): Delete target.
576 (libc_foo.a($(ar-symtab-name))): Delete target.
578 (objects objs): Just depend on libobjs and extra-objs.
579 (libobjs): Depend on the stamp files, not the objects.
580 (extra-objs): New target, just depends on the extra-objs list.
582 (CREATE_ARFLAGS): Kill the `ar S' hack.
584 * config.make.in (have-ar-S): Deleted.
585 * configure.in: Delete test for `ar S'. Add test to determine
586 whether ranlib does anything useful.
588 1998-05-01 Ulrich Drepper <drepper@cygnus.com>
590 * inet/tst-ether_aton.c: Include <stdio.h>.
592 1998-04-30 16:45 Ulrich Drepper <drepper@cygnus.com>
594 * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
596 * locale/Makefile (distribute): Add programs/repertoire.h.
597 (localedef-modules): Add repertoire.
598 (CPPFLAGS): Define REPERTOIREMAP_PATH.
599 * locale/programs/repertoire.c: New file.
600 * locale/programs/repertoire.h: New file.
601 * locale/programs/charmap.c: Starting fixing character set handling
602 to handle multi-byte encodings.
603 * locale/programs/charset.c: Likewise.
604 * locale/programs/charset.h: Likewise.
605 * locale/programs/ld-collate.c: Likewise.
606 * locale/programs/ld-ctype.c: Likewise.
607 * locale/programs/linereader.c: Likewise.
608 * locale/programs/localedef.c: Likewise.
609 * locale/programs/locfile-kw.gperf: Likewise.
610 * locale/programs/locfile-kw.h: Likewise.
611 * locale/programs/locfile-token.h: Likewise.
612 * locale/programs/locfile.h: Likewise.
613 * locale/programs/stringtrans.c: Likewise.
615 * locale/programs/locfile.c: Interpret I18NPATH value as base of
616 path, extended with "/locales/".
618 1998-04-18 Philip Blundell <Philip.Blundell@pobox.com>
620 * sysdeps/arm/memset.S: Fix off by one error.
622 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
623 __syscall_error rather than syscall_error directly.
625 1998-04-17 Philip Blundell <Philip.Blundell@pobox.com>
627 * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
628 mmap() syscall for ARM.
630 * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
633 1998-04-30 Ulrich Drepper <drepper@cygnus.com>
635 * locale/programs/localedef.c: Recognize repertoire-map option.
637 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
639 * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
640 converting non-hex numbers.
641 Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
643 1998-04-23 07:31 H.J. Lu <hjl@gnu.org>
645 * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
647 * resolv/Makefile (tests): New, add tst-aton.
648 * resolv/tst-aton.c: New file.
650 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
652 * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
655 1998-04-29 12:11 Ulrich Drepper <drepper@cygnus.com>
657 * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
658 by letting the later modify the variable computing the total directly.
659 * wcsmbs/mbsrtowcs.c: Likewise.
660 * wcsmbs/wcsnrtombs.c: Likewise.
661 * wcsmbs/wcsrtombs.c: Likewise.
663 * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
665 * wcsmbs/wctoc.c: Likewise.
667 * wcsmbs/mbsrtowcs.c: Optimize a bit more.
668 * wcsmbs/wcsrtombs.c: Likewise.
670 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
672 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
674 * iconv/skeleton.c: Correct counting of actually converted
677 * intl/localealias.c (read_alias_file): Use unsigned char for
678 local variables. Remove unused variable tp.
679 * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
680 for type of codeset. For loosing Solaris systems.
681 * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
682 * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
684 Patches by Jim Meyering.
686 * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
687 wcsrtombs must put it into initial state.
689 1998-04-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
691 * iconv/gconv_simple.c: Fix endian bug. Don't put side effects in
692 argument of bswap_XX macro.
694 1998-04-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
696 * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
699 1998-04-28 Ulrich Drepper <drepper@cygnus.com>
701 * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
702 semun and use stdarg macros to get the value.
703 * sysdeps/generic/semctl.c: Don't use union semun.
705 * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
707 * string/basename.c [!_LIBC]: Define function as gnu_basename.
709 * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
712 * stdlib/grouping.h: Accept ungrouped numbers even if locale
715 * intl/hash-string.h: Don't include values.h.
717 * inet/Makefile (tests): Add tst-ether_aton.
718 * inet/tst-ether_aton.c: New file.
720 * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
722 * inet/ether_aton.c (ether_aton): Declare result variable static.
723 Reported by ahyung@unixg.ubc.ca.
725 * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
726 Define macro _SEM_SEMUN_UNDEFINED instead.
727 Reported by Dirk Laessig <d.laessig@tu-bs.de>.
729 * stdio-common/tst-wc-printf.c: New file. Test for %S and %C format.
730 * stdio-common/Makefile (tests): Add tst-wc-printf.
732 1998-04-28 16:32 Philip Blundell <philb@gnu.org>
734 * manual/stdio.texi (Variable Arguments Output): Correct variable
735 name. Patch from Ewan Mellor <em@nexus.co.uk>
737 1998-04-27 Ulrich Drepper <drepper@cygnus.com>
739 * intl/dcgettext.c: Remove unneeded definition of
742 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
744 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
745 instead of do-iconv-test.
746 ($(objpfx)gconv-modules): Define rule only if objpfx is not
749 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
751 * string/string.h: Fix feature test.
753 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
755 * iconvdata/iso646.c (BODY): Don't use character constants that
756 depend on signedness of char.
758 1998-04-27 Ulrich Drepper <drepper@cygnus.com>
760 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
761 (sysdep_routines): Add s_pread64 and s_pwrite64.
763 1998-04-27 09:54 Ulrich Drepper <drepper@cygnus.com>
765 * iconvdata/Makefile (distribute): Remove generated .h files.
766 * iconvdata/koi8-r.h: Removed.
767 * iconvdata/latin-greek-1.h: Removed.
768 * iconvdata/latin-greek.h: Removed.
770 * iconvdata/testdata/CP1258..UTF8: New iconv test source.
771 * iconvdata/KOI-8: Likewise.
772 * iconvdata/KOI-8..UTF8: Likewise.
773 * iconvdata/KOI8-R: Likewise.
774 * iconvdata/KOI8-R..UTF8: Likewise.
776 1998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
778 * streams/Makefile (headers): Add sys/stropts.h.
779 * streams/sys/stropts.h: New file.
781 1998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
783 * sysdeps/unix/sysv/linux/ttyname.c,
784 sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
785 sysdeps/posix/ttyname*.c, but look in /dev/pts first.
787 1998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
789 * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
790 argument of _itoa_word.
792 1998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
794 * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
795 s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
796 caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
797 sigprocmask, resp., instead of EXTRA.
799 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
800 s_pread64 and s_pwrite64.
802 1998-04-26 18:44 Ulrich Drepper <drepper@cygnus.com>
804 * iconvdata/Makefile: Correct rules to generate gap table.
805 * iconvdata/gap.pl: Simplify.
807 * iconvdata/TESTS: Name new tests.
808 * iconvdata/testdata/CP1250: New file.
809 * iconvdata/testdata/CP1250..UTF8: New file.
810 * iconvdata/testdata/CP1251: New file.
811 * iconvdata/testdata/CP1251..UTF8: New file.
812 * iconvdata/testdata/CP1252: New file.
813 * iconvdata/testdata/CP1252..UTF8: New file.
814 * iconvdata/testdata/CP1253: New file.
815 * iconvdata/testdata/CP1253..UTF8: New file.
816 * iconvdata/testdata/CP1254: New file.
817 * iconvdata/testdata/CP1254..UTF8: New file.
818 * iconvdata/testdata/CP1255: New file.
819 * iconvdata/testdata/CP1255..UTF8: New file.
820 * iconvdata/testdata/CP1256: New file.
821 * iconvdata/testdata/CP1256..UTF8: New file.
822 * iconvdata/testdata/CP1257: New file.
823 * iconvdata/testdata/CP1257..UTF8: New file.
825 1998-04-26 Ulrich Drepper <drepper@cygnus.com>
827 * iconvdata/Makefile: Add rules for ISO-2022-KR.
828 * iconvdata/iso-2022-kr.c: New file.
830 * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
833 1998-04-25 18:39 Ulrich Drepper <drepper@cygnus.com>
835 * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
836 iso8859-8 and iso8859-10.
837 * iconvdata/iso8859-5.c: Change to use gap method.
838 * iconvdata/iso8859-7.c: Likewise.
839 * iconvdata/iso8859-8.c: Likewise.
840 * iconvdata/iso8859-10.c: Likewise.
842 * iconvdata/Makefile: Add rules for ISO-2022-JP module.
843 * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
845 * iconvdata/iso-2022-jp.c: New file.
847 * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
848 * iconvdata/ksc5601.h: Unify function interfaces.
849 * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
850 * iconvdata/uhc.c: Likewise.
852 * iconvdata/gb2312.h: Use correct types.
854 * iconvdata/iso646.c (gconv_open): Correctly initialize the character
855 size elements of data.
857 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
859 * string/tst-svc.expect: Adapt for change in .input.
860 * string/tst-svc.input: More tests.
862 1998-04-24 17:15 Ulrich Drepper <drepper@cygnus.com>
864 * iconvdata/Makefile: Add rules for new modules.
865 * iconvdata/gconv-modules: Likewise.
866 * iconvdata/cp737.c: New file.
867 * iconvdata/cp737.h: New file.
868 * iconvdata/cp775.c: New file.
869 * iconvdata/cp775.h: New file.
870 * iconvdata/cp874.c: New file.
871 * iconvdata/cp874.h: New file.
873 1998-04-24 16:30 Ulrich Drepper <drepper@cygnus.com>
875 * iconvdata/Makefile: Create target directory before generating
878 1998-04-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
880 * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
881 __USER_LABEL_PREFIX__.
882 (__ASMNAME, __ASMNAME2): New macros.
884 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
886 * elf/dl-load.c: Include sys/param.h for MAX.
888 1998-04-24 21:44 Richard Henderson <rth@cygnus.com>
890 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
891 __ftruncate the strong symbol, and add weak alias.
892 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
894 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
896 * termios/cfsetspeed.c: Make code cleaner and add missing const.
897 Patch by Joe Keane <jgk@jgk.org>.
899 * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
902 1998-04-24 13:56 Ulrich Drepper <drepper@cygnus.com>
904 * sysdeps/generic/bits/socket.h: Add #defines for enum values.
905 Patch by Thomas Bushnell, n/BSG.
907 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
909 * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
911 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
913 * iconvdata/Makefile: Put generated headers in build directory.
915 1998-04-23 22:43 Ulrich Drepper <drepper@cygnus.com>
917 * elf/dl-load.c (fillin_rpath): Handle empty element returned by
918 strsep as current directory.
920 * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
921 Java. Add definitions for unicodelittle implementation.
922 * iconv/gconv_int.h: Add declaration for unicodelittle functions.
923 * iconv/gconv_simple.c: Define unicodelittle functions.
925 * iconv/iconv_prog.c: Make program print information about position
926 of illegal character in input.
928 * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
929 comparison of charset name.
930 * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
931 * iconvdata/ebcdic-at-de-a.c: Likewise.
932 * iconvdata/ebcdic-at-de.c: Likewise.
933 * iconvdata/ebcdic-ca-fr.c: Likewise.
934 * iconvdata/euccn.c: Likewise.
935 * iconvdata/eucjp.c: Likewise.
936 * iconvdata/euckr.c: Likewise.
937 * iconvdata/euctw.c: Likewise.
938 * iconvdata/hp-roman8.c: Likewise.
939 * iconvdata/iso6937.c: Likewise.
940 * iconvdata/iso8859-1.c: Likewise.
941 * iconvdata/iso8859-10.c: Likewise.
942 * iconvdata/iso8859-2.c: Likewise.
943 * iconvdata/iso8859-3.c: Likewise.
944 * iconvdata/iso8859-4.c: Likewise.
945 * iconvdata/iso8859-5.c: Likewise.
946 * iconvdata/iso8859-6.c: Likewise.
947 * iconvdata/iso8859-7.c: Likewise.
948 * iconvdata/iso8859-8.c: Likewise.
949 * iconvdata/iso8859-9.c: Likewise.
950 * iconvdata/johab.c: Likewise.
951 * iconvdata/koi-8.c: Likewise.
952 * iconvdata/koi8-r.c: Likewise.
953 * iconvdata/latin-greek-1.c: Likewise.
954 * iconvdata/latin-greek.c: Likewise.
955 * iconvdata/sjis.c: Likewise.
956 * iconvdata/t61.c: Likewise.
957 * iconvdata/uhc.c: Likewise.
959 * iconvdata/iso646.c: Add support for more ISO 646 variants.
960 * iconvdata/TESTS: Add tests for ISO646 module.
961 * iconvdata/gconv-modules: Add new modules.
962 * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
963 * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
964 * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
965 * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
966 * iconvdata/testdate/DIN_66003: Likewise.
967 * iconvdata/testdate/DIN_66003..UTF8: Likewise.
968 * iconvdata/testdate/DS_2089: Likewise.
969 * iconvdata/testdate/DS_2089..UTF8: Likewise.
970 * iconvdata/testdate/ES: Likewise.
971 * iconvdata/testdate/ES..UTF8: Likewise.
972 * iconvdata/testdate/ES2: Likewise.
973 * iconvdata/testdate/ES2..UTF8: Likewise.
974 * iconvdata/testdate/GB_1988-80: Likewise.
975 * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
976 * iconvdata/testdate/IT: Likewise.
977 * iconvdata/testdate/IT..UTF8: Likewise.
978 * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
979 * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
980 * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
981 * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
982 * iconvdata/testdate/JUS_I.B1.002: Likewise.
983 * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
984 * iconvdata/testdate/KSC5636: Likewise.
985 * iconvdata/testdate/KSC5636..UTF8: Likewise.
986 * iconvdata/testdate/MSZ_7795.3: Likewise.
987 * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
988 * iconvdata/testdate/NC_NC00-10: Likewise.
989 * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
990 * iconvdata/testdate/NF_Z_62-010: Likewise.
991 * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
992 * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
993 * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
994 * iconvdata/testdate/NS_4551-1: Likewise.
995 * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
996 * iconvdata/testdate/NS_4551-2: Likewise.
997 * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
998 * iconvdata/testdate/PT: Likewise.
999 * iconvdata/testdate/PT..UTF8: Likewise.
1000 * iconvdata/testdate/PT2: Likewise.
1001 * iconvdata/testdate/PT2..UTF8: Likewise.
1002 * iconvdata/testdate/SEN_850200_B: Likewise.
1003 * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
1004 * iconvdata/testdate/SEN_850200_C: Likewise.
1005 * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
1007 * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
1008 * iconvdata/cns11643l1.h: Likewise.
1009 * iconvdata/latin-greek-1.h: Likewise.
1010 * iconvdata/latin-greek.h: Likewise.
1011 * iconvdata/koi8-r.h: Likewise.
1012 * iconvdata/jis0212.h: Likewise.
1013 * iconvdata/gb2312.h: Likewise.
1014 * iconvdata/ksc5601.h: Likewise.
1016 * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
1018 * iconvdata/Makefile: Add rules for lots of more modules.
1019 * iconvdata/cp1250.c: New file.
1020 * iconvdata/cp1251.c: New file.
1021 * iconvdata/cp1252.c: New file.
1022 * iconvdata/cp1253.c: New file.
1023 * iconvdata/cp1254.c: New file.
1024 * iconvdata/cp1255.c: New file.
1025 * iconvdata/cp1256.c: New file.
1026 * iconvdata/cp1257.c: New file.
1027 * iconvdata/ebcdic-dk-no-a.c: New file.
1028 * iconvdata/ebcdic-dk-no.c: New file.
1029 * iconvdata/ebcdic-es-a.c: New file.
1030 * iconvdata/ebcdic-es-s.c: New file.
1031 * iconvdata/ebcdic-es.c: New file.
1032 * iconvdata/ebcdic-fi-se-a.c: New file.
1033 * iconvdata/ebcdic-fi-se.c: New file.
1034 * iconvdata/ebcdic-fr.c: New file.
1035 * iconvdata/ebcdic-is-friss.c: New file.
1036 * iconvdata/ebcdic-it.c: New file.
1037 * iconvdata/ebcdic-pt.c: New file.
1038 * iconvdata/ebcdic-uk.c: New file.
1039 * iconvdata/ebcdic-us.c: New file.
1040 * iconvdata/ibm037.c: New file.
1041 * iconvdata/ibm038.c: New file.
1042 * iconvdata/ibm1004.c: New file.
1043 * iconvdata/ibm1026.c: New file.
1044 * iconvdata/ibm1047.c: New file.
1045 * iconvdata/ibm256.c: New file.
1046 * iconvdata/ibm273.c: New file.
1047 * iconvdata/ibm274.c: New file.
1048 * iconvdata/ibm275.c: New file.
1049 * iconvdata/ibm277.c: New file.
1050 * iconvdata/ibm278.c: New file.
1051 * iconvdata/ibm280.c: New file.
1052 * iconvdata/ibm281.c: New file.
1053 * iconvdata/ibm284.c: New file.
1054 * iconvdata/ibm285.c: New file.
1055 * iconvdata/ibm290.c: New file.
1056 * iconvdata/ibm297.c: New file.
1057 * iconvdata/ibm420.c: New file.
1058 * iconvdata/ibm423.c: New file.
1059 * iconvdata/ibm424.c: New file.
1060 * iconvdata/ibm437.c: New file.
1061 * iconvdata/ibm500.c: New file.
1062 * iconvdata/ibm850.c: New file.
1063 * iconvdata/ibm851.c: New file.
1064 * iconvdata/ibm852.c: New file.
1065 * iconvdata/ibm855.c: New file.
1066 * iconvdata/ibm857.c: New file.
1067 * iconvdata/ibm860.c: New file.
1068 * iconvdata/ibm861.c: New file.
1069 * iconvdata/ibm862.c: New file.
1070 * iconvdata/ibm863.c: New file.
1071 * iconvdata/ibm864.c: New file.
1072 * iconvdata/ibm865.c: New file.
1073 * iconvdata/ibm868.c: New file.
1074 * iconvdata/ibm869.c: New file.
1075 * iconvdata/ibm870.c: New file.
1076 * iconvdata/ibm871.c: New file.
1077 * iconvdata/ibm875.c: New file.
1078 * iconvdata/ibm880.c: New file.
1079 * iconvdata/ibm891.c: New file.
1080 * iconvdata/ibm903.c: New file.
1081 * iconvdata/ibm904.c: New file.
1082 * iconvdata/ibm905.c: New file.
1083 * iconvdata/ibm918.c: New file.
1085 * locale/iso-4217.def: Update.
1086 * localedata/locales/pt_BR: Correct. Patches by Andreas Jaeger.
1088 * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
1091 1998-04-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1093 * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
1096 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
1098 * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
1099 * Makefile: Likewise.
1100 * posix/Makefile: Likewise.
1101 * sysdeps/mach/hurd/Makefile: Likewise.
1103 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
1105 * sysdeps/mach/hurd/bits/dirent.h: New file.
1106 * sysdeps/mach/hurd/readdir64.c: New file.
1107 * sysdeps/mach/hurd/readdir64_r.c: New file.
1109 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
1111 * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
1112 dprintf): Synchronize declarations with libio/stdio.h.
1114 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
1116 * elf/dlerror.c (dlerror): Don't assume that
1117 __libc_internal_tsd_get is defined. __libc_getspecific is already
1118 well-protected, so just use it directly.
1120 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
1122 * io/ftw.h (ftw): Fix typo.
1124 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
1126 * sysdeps/gnu/utmp_file.c: Fix typo.
1128 1998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1130 * iconvdata/run-iconv-test.sh: Fix more portability bugs. When
1131 one part of a test fails move on to the next test.
1133 1998-04-24 5:45 Richard Henderson <rth@cygnus.com>
1135 * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
1137 1998-04-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1139 * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
1140 as pointers, not signed integers.
1142 1998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1144 * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
1146 1998-04-21 21:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
1148 * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
1149 asm symbol name of functions.
1150 * include/features.h: Kill redundant test.
1152 * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
1153 * io/ftw.h: Likewise.
1154 * io/sys/stat.h: Likewise.
1155 * io/sys/statfs.h: Likewise.
1156 * io/sys/statvfs.h: Likewise.
1157 * libio/stdio.h: Likewise.
1158 * resource/sys/resource.h: Likewise.
1159 * rt/aio.h: Likewise.
1161 * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
1163 * signal/signal.h: Use new macros for BSD vs. SysV signal().
1165 * misc/Makefile: Drop bsd-compat.c. Make libbsd-compat.a
1167 * misc/bsd-compat.c: Removed.
1169 1998-04-21 20:32 Ulrich Drepper <drepper@cygnus.com>
1171 * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
1172 function declaration.
1173 * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
1174 and use them in conversion function.
1175 * iconvdata/Makefile (modules): Re-add ISO6446.
1176 * iconvdata/TEST: Add tests for ASCII variants.
1177 * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
1178 * iconvdata/testdata/ANSI_X3.4-1968: New file.
1179 * iconvdata/testdata/BS_4730: New file.
1180 * iconvdata/testdata/BS_4730..UTF8: New file.
1182 1998-04-21 19:05 Ulrich Drepper <drepper@cygnus.com>
1184 * iconv/gconv.h (struct gconv_step): Add element stateful.
1185 * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
1186 to zero for all internal conversions.
1187 * iconv/skeleton.c: Initialize stateful depending on whether or not
1188 RESET_STATE is defined to one or zero respectively.
1189 * stdlib/mblen.c: Use stateful element of currently selected
1190 converter for result if S is NULL.
1191 * stdlib/mbtowc.c: Likewise.
1192 * stdlib/wctomb.c: Likewise.
1194 1998-04-21 18:00 Ulrich Drepper <drepper@cygnus.com>
1196 * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
1198 * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
1200 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
1201 character in comparison with uint32_t.
1202 (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
1203 (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
1204 Optimize BODY a bit.
1206 * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
1209 * iconv/skeleton.c: Also reset converted counter in case of an error.
1210 Call reset function using correct value for output buffer start.
1212 * iconvdata/Makefile: Re-enable tests.
1214 * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
1215 value for to-conversion.
1217 * iconvdata/TESTS: Add new third column.
1218 * iconvdata/run-iconv-test.sh: Add support for charsets which are
1220 * iconvdata/testdata/suntzus: New file.
1222 * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
1223 while reading. Correctly used base. Little optimization.
1224 (__strtoul_internal): Likewise.
1226 * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
1227 was wrong. Use explicit variable.
1229 1998-04-20 23:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
1231 * configure.in: Check for awk.
1232 * config.make.in: Add AWK to be substituted.
1234 * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
1235 * manual/users.texi: Fix typo exposed by above rewrite.
1237 * Makefile: Invoke awk using AWK variable.
1238 * csu/Makefile: Likewise.
1239 * elf/Makefile: Likewise.
1240 * mach/Makefile: Likewise.
1241 * manual/Makefile: Likewise.
1242 * sysdeps/gnu/Makefile: Likewise.
1243 * sysdeps/mach/hurd/Makefile: Likewise.
1244 * sysdeps/unix/Makefile: Likewise.
1245 * timezone/Makefile: Likewise.
1247 1998-04-10 Gordon Matzigkeit <gord@profitpress.com>
1249 * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
1250 array index translation.
1251 (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
1254 * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
1256 * sysdeps/mach/hurd/errlist.c: New file.
1257 (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
1258 (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
1259 semantics, so rename it.
1261 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1263 * iconvdata/run-iconv-test.sh: Make portable. Always test all
1266 1998-04-21 12:30 H.J. Lu <hjl@gnu.org>
1268 * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
1269 * wcsmbs/wcsnrtombs.c: Likewise.
1271 1998-04-21 Ulrich Drepper <drepper@cygnus.com>
1273 * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
1275 * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
1277 * time/strftime.c (my_strftime): Initialize pad variable in
1280 * iconvdata/big5.c: Don't use character constants in comparisons
1281 with unsigned value.
1283 1998-04-20 18:00 Ulrich Drepper <drepper@cygnus.com>
1285 * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
1286 __libc_siglongjmp to GLIBC_2.1.
1288 * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
1291 * iconv/Makefile: Don't run tests now.
1293 * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
1294 with correct output buffer.
1296 Major rewrite of the low-level gconv functionality.
1297 * iconv/gconv.c: Rewritten.
1298 * iconv/gconv.h: Likewise.
1299 * iconv/gconv_builtin.c: Likewise.
1300 * iconv/gconv_builtin.h: Likewise.
1301 * iconv/gconv_conf.c: Likewise.
1302 * iconv/gconv_int.h: Likewise.
1303 * iconv/gconv_open.c: Likewise.
1304 * iconv/gconv_simple.c: Likewise.
1305 * iconv/iconv.c: Likewise.
1306 * iconvdata/8bit-gap.c: Likewise.
1307 * iconvdata/8bit-generic.c: Likewise.
1308 * iconvdata/Makefile: Likewise.
1309 * iconvdata/big5.c: Likewise.
1310 * iconvdata/cns11643.c: Likewise.
1311 * iconvdata/cns11643.h: Likewise.
1312 * iconvdata/cns11643l1.c: Likewise.
1313 * iconvdata/cns11643l1.h: Likewise.
1314 * iconvdata/ebcdic-at-de-a.c: Likewise.
1315 * iconvdata/ebcdic-at-de.c: Likewise.
1316 * iconvdata/ebcdic-ca-fr.c: Likewise.
1317 * iconvdata/euccn.c: Likewise.
1318 * iconvdata/eucjp.c: Likewise.
1319 * iconvdata/euckr.c: Likewise.
1320 * iconvdata/euctw.c: Likewise.
1321 * iconvdata/gb2312.c: Likewise.
1322 * iconvdata/gb2312.h: Likewise.
1323 * iconvdata/hp-roman8.c: Likewise.
1324 * iconvdata/iso646.c: Likewise.
1325 * iconvdata/iso6937.c: Likewise.
1326 * iconvdata/iso8859-1.c: Likewise.
1327 * iconvdata/iso8859-10.c: Likewise.
1328 * iconvdata/iso8859-2.c: Likewise.
1329 * iconvdata/iso8859-3.c: Likewise.
1330 * iconvdata/iso8859-4.c: Likewise.
1331 * iconvdata/iso8859-5.c: Likewise.
1332 * iconvdata/iso8859-6.c: Likewise.
1333 * iconvdata/iso8859-7.c: Likewise.
1334 * iconvdata/iso8859-8.c: Likewise.
1335 * iconvdata/iso8859-9.c: Likewise.
1336 * iconvdata/jis0201.c: Likewise.
1337 * iconvdata/jis0201.h: Likewise.
1338 * iconvdata/jis0208.c: Likewise.
1339 * iconvdata/jis0208.h: Likewise.
1340 * iconvdata/jis0212.c: Likewise.
1341 * iconvdata/jis0212.h: Likewise.
1342 * iconvdata/johab.c: Likewise.
1343 * iconvdata/koi-8.c: Likewise.
1344 * iconvdata/koi8-r.c: Likewise.
1345 * iconvdata/ksc5601.c: Likewise.
1346 * iconvdata/ksc5601.h: Likewise.
1347 * iconvdata/latin-greek-1.c: Likewise.
1348 * iconvdata/latin-greek.c: Likewise.
1349 * iconvdata/run-iconv-test.sh: Likewise.
1350 * iconvdata/sjis.c: Likewise.
1351 * iconvdata/t61.c: Likewise.
1352 * iconvdata/uhc.c: Likewise.
1353 * wcsmbs/btowc.c: Likewise.
1354 * wcsmbs/mbrtowc.c: Likewise.
1355 * wcsmbs/mbsnrtowcs.c: Likewise.
1356 * wcsmbs/mbsrtowcs.c: Likewise.
1357 * wcsmbs/wcrtomb.c: Likewise.
1358 * wcsmbs/wcsmbsload.c: Likewise.
1359 * wcsmbs/wcsnrtombs.c: Likewise.
1360 * wcsmbs/wcsrtombs.c: Likewise.
1361 * wcsmbs/wctob.c: Likewise.
1362 * iconv/loop.c: New file.
1363 * iconv/skeleton.c: New file.
1365 * stdlib/mblen.c: Handle empty input string correctly.
1366 * stdlib/mbtowc.c: Likewise.
1368 * posix/getopt.c: Various cleanups.
1370 * sysdeps/arm/bits/setjmp.h: Add copyright text.
1371 * sysdeps/i386/bits/setjmp.h: Likewise.
1372 * sysdeps/m68k/bits/setjmp.h: Likewise.
1373 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1374 * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
1376 * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
1377 and make longjmp weak alias.
1379 1998-04-18 20:29 Philip Blundell <Philip.Blundell@pobox.com>
1381 * iconv/Makefile (routines): Only include gconv_dl if building for
1382 an ELF system - dynamic linking is not available on a.out.
1383 (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
1385 * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
1386 routines from gconv_dl.
1388 1998-04-17 Gordon Matzigkeit <gord@profitpress.com>
1390 * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
1391 we can compile without libio.
1393 1998-04-20 16:28 Ulrich Drepper <drepper@cygnus.com>
1395 * sysdeps/mach/hurd/Subdirs: Remove login.
1397 1998-04-11 Gordon Matzigkeit <gord@profitpress.com>
1399 * db2/compat.h: Include <errno.h>, to make sure we get the
1400 definition of EFTYPE before we define it ourselves.
1402 1998-04-10 Gordon Matzigkeit <gord@profitpress.com>
1404 * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
1405 * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
1406 Fix typo to allow inclusion from sys/ioctl.h again.
1408 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1410 * iconvdata/*.[ch]: Clean up namespace. Optimize character lookup.
1412 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1414 * libc.map: Export __strerror_r. Remove _strerror_internal.
1416 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1418 * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
1419 Also undefine __strcasestr.
1421 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1423 * posix/regex.c: Rename __re_max_failures back to re_max_failures,
1424 aliases do not work with global variables due to copy relocations.
1426 1998-04-20 15:12 Ulrich Drepper <drepper@cygnus.com>
1428 * manual/creature.texi: Fix type. Patch by Andreas Schwab.
1430 1998-04-20 13:47 Ulrich Drepper <drepper@cygnus.com>
1432 * signal/sighold.c: Include stddef.h for NULL definition.
1433 * signal/sigrelse.c: Likewise.
1434 * sysdeps/posix/sigignore.c: Likewise.
1435 * sysdeps/posix/sigset.c: Likewise.
1436 * sysdeps/posix/waitid.c: Likewise.
1437 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
1438 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
1439 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1440 * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
1441 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1443 1998-04-13 Mark Kettenis <kettenis@phys.uva.nl>
1445 * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
1446 * login/getutent.c (getutxent): Remove alias.
1447 * login/getutent_r.c (setutxent, pututxline, endutxent):
1449 * login/getutid.c (getutxid): Remove alias.
1450 * login/getutline.c (getutxline): Remove alias.
1451 * login/utmp.h: Add prototypes for __updwtmp, __getutent,
1452 __getutid, __getutline and __pututline.
1453 * login/utmpx.h: Moved to ...
1454 * sysdeps/gnu/utmpx.h: ... here. [__USE_GNU]: Define UTMPX_FILE,
1455 UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
1457 * login/updwtmp.c: Moved to ...
1458 * sysdeps/generic/updwtmp.c: ... here. (updwtmp): Generalized by
1459 allowing file name transformation.
1460 * sysdeps/gnu/updwtmp.c: New file. Use generic implementation with
1461 additional file name transformation.
1462 * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
1463 * login/utmp_file.c: Moved to ...
1464 * sysdeps/generic/utmp_file.c: ... here. (setutent_file):
1465 Generalized by allowing file name transformation. Do not
1466 print error message. Library functions should not print them.
1467 Reported by Jim Meyering.
1468 * sysdeps/gnu/utmp_file.c: New file. Use generic implementation
1469 with additional file name transformation.
1470 * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
1471 * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
1472 setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
1473 pututxline, utmpxname and updwtmpx. (sysdep_headers): Add utmpx.h
1475 * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
1476 (_PATH_UTMPX): Define to _PATH_UTMP. (_PATH_WTMPX): Define to
1477 _PATH_WTMPX. (RUN_LVL): Define only if __USE_GNU. (ACCOUNTING):
1478 Define if __USE_GNU.
1479 * sysdeps/generic/setutxent.c: New file.
1480 * sysdeps/generic/getutxent.c: New file.
1481 * sysdeps/generic/endutxent.c: New file.
1482 * sysdeps/generic/getutxid.c: New file.
1483 * sysdeps/generic/getutxline.c: New file.
1484 * sysdeps/generic/pututxline.c: New file.
1485 * sysdeps/generic/utmpxname.c: New file.
1486 * sysdeps/generic/updwtmpx.c: New file.
1487 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
1488 * sysdeps/generic/bits/utmpx.h: Remove.
1490 1998-04-20 Ulrich Drepper <drepper@cygnus.com>
1492 * posix/wordexp-test.c (main): Initialize ifs element of ts for
1495 1998-04-17 07:53 H.J. Lu <hjl@gnu.org>
1497 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
1499 1998-04-17 11:32 Ulrich Drepper <drepper@cygnus.com>
1501 * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
1502 variable using _G_stat64.
1503 * libio/fileops.c: Remove macro definition of fstat, it is in the
1505 Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
1507 1998-04-17 Philip Blundell <pb@nexus.co.uk>
1509 * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
1510 <willy@odie.barnet.ac.uk>.
1512 1998-04-16 Philip Blundell <Philip.Blundell@pobox.com>
1514 * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
1515 required by IPv6 Basic API.
1516 (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
1517 (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
1518 (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
1519 (IN6_IS_ADDR_MC_GLOBAL): Likewise.
1521 1998-04-15 16:41 Ulrich Drepper <drepper@cygnus.com>
1523 Don't name internal representation since it might be different from
1524 the external form (namely on little endian machines).
1525 * iconv/gconv_builtin.h: Add UCS4 support. Change references to
1526 UCS4 into references to INTERNAL.
1527 * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
1528 Add endianess support to UCS functions. Change references to
1529 UCS4 into references to INTERNAL.
1530 * iconv/gconv_int.h: Change references to UCS4 into references to
1532 * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
1533 * iconvdata/gconv-modules: Change accordingly.
1534 * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
1536 * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
1538 * iconvdata/8bit-gap.c: Likewise.
1539 * iconvdata/8bit-generic.c: Likewise.
1540 * iconvdata/big5.c: Likewise.
1541 * iconvdata/euccn.c: Likewise.
1542 * iconvdata/eucjp.c: Likewise.
1543 * iconvdata/euckr.c: Likewise.
1544 * iconvdata/euctw.c: Likewise.
1545 * iconvdata/iso646.c: Likewise.
1546 * iconvdata/iso6937.c: Likewise.
1547 * iconvdata/iso8859-1.c: Likewise.
1548 * iconvdata/johab.c: Likewise.
1549 * iconvdata/sjis.c: Likewise.
1550 * iconvdata/t61.c: Likewise.
1551 * iconvdata/uhc.c: Likewise.
1553 * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
1554 * iconvdata/8bit-generic.c: Likewise.
1556 * iconvdata/TESTS: Add more tests.
1558 * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
1560 1998-04-15 11:47 Ulrich Drepper <drepper@cygnus.com>
1562 * iconvdata/Makefile: Better rules to run tests.
1564 * iconvdata/testdata/ISO-8859-1..UTF8: New file.
1565 * iconvdata/testdata/ISO-8859-10: Likewise.
1566 * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
1567 * iconvdata/testdata/ISO-8859-2: Likewise.
1568 * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
1569 * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
1570 * iconvdata/testdata/ISO-8859-3: Likewise.
1571 * iconvdata/testdata/ISO-8859-4: Likewise.
1572 * iconvdata/testdata/ISO-8859-5: Likewise.
1573 * iconvdata/testdata/ISO-8859-6: Likewise.
1574 * iconvdata/testdata/ISO-8859-7: Likewise.
1575 * iconvdata/testdata/ISO-8859-8: Likewise.
1576 * iconvdata/testdata/ISO-8859-9: Likewise.
1578 1998-04-15 Ulrich Drepper <drepper@cygnus.com>
1580 * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
1581 intermediate result (if available).
1583 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
1586 * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
1587 (distribute): Add run-iconv-test.sh and testdata/*.
1589 * stdlib/testmb.c (main): Simplify mbc array handling.
1591 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1593 * elf/dl-minimal.c (__strtol_internal): Correct range check. Fix
1594 return value on overflow.
1596 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1598 * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
1601 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1603 * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
1604 of non-standard function setbuffer.
1606 1998-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1608 * stdio-common/perror.c: Include <string.h> for __strerror_r.
1610 1998-04-14 23:54 Ulrich Drepper <drepper@cygnus.com>
1612 * iconvdata/Makefile: Add rules to run tests.
1613 * iconvdata/TESTS: New file.
1614 * iconvdata/run-iconv-test.sh: New file.
1615 * iconvdata/testdata/ISO-8859-1: New file.
1617 * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
1620 1998-04-14 18:22 Ulrich Drepper <drepper@cygnus.com>
1622 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
1623 counter element of step.
1625 * iconv/gconv_dl.c: Don't mark get_sym as internal function.
1627 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
1629 (__gconv_transform_ucs4_utf8): Likewise. Remove unnecessary variable
1631 (__gconv_transform_utf8_ucs4): Correct test for empty input.
1633 1998-04-14 Ulrich Drepper <drepper@cygnus.com>
1635 * Makefile: Include makeconfig before defining rule to regenerate
1638 * configure.in: Remove restriction on compiling without static
1641 1998-04-14 16:34 Ulrich Drepper <drepper@cygnus.com>
1643 * test-skeleton.c: Provide hook for initializing code before the fork.
1644 * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
1647 * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
1648 * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
1649 * libio/libioP.h: Adopt _IO_cleanup prototype.
1651 * stdlib/Makefile (tests): Add test-canon2.
1652 * stdlib/test-canon2.c: New file.
1653 * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
1654 be NULL. Use __lxstat, not __lstat. Correctly recognize long
1656 (__realpath): Make real function which checks RESOLVED parameter for
1659 1998-04-14 Ulrich Drepper <drepper@cygnus.com>
1661 * catgets/open_catalog.c (__open_catalog): Fix problems with
1662 reading non-files. Always close file.
1663 Reported by Cristian Gafton <gafton@redhat.com>.
1665 * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
1667 1998-04-14 13:28 Ulrich Drepper <drepper@cygnus.com>
1669 * libc.map: Add various low-level I/O functions.
1671 1998-04-14 10:35 Ulrich Drepper <drepper@cygnus.com>
1673 * string/Makefile (routines): Remove strerror_r.
1674 * string/strerror_r.c: Removed.
1675 * string/strerror.c: Call __strerror_r for doing the real work.
1676 * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
1677 add weak alias strerror_r.
1678 * sysdeps/mach/_strerror.c: Likewise.
1679 * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
1680 * elf/dl-error.c (_dl_signal_error): Likewise.
1681 * elf/dl-profile.c (_dl_start_profile): Likewise.
1682 * gmon/gmon.c (write_gmon): Likewise.
1683 * stdio-common/perror.c: Likewise.
1684 * stdio-common/vfprintf.c: Likewise.
1686 1998-04-10 Mark Kettenis <kettenis@phys.uva.nl>
1688 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
1689 (sysdep_headers): Add netatalk/at.h.
1691 1998-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1693 * manual/socket.texi, manual/creature.texi, manual/time.texi:
1696 1998-04-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1698 * posix/regex.c: Rename __re_syntax_options back to
1699 re_syntax_options, aliases do not work with global variables due
1700 to copy relocations.
1701 (regex_compile): Use syntax parameter instead of
1704 1998-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1706 * configure.in: Document that enable-force-install is default.
1708 1998-04-13 Ulrich Drepper <drepper@cygnus.com>
1710 * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
1712 * sysdeps/posix/mkstemp.c: Likewise.
1714 1998-04-13 17:40 Ulrich Drepper <drepper@cygnus.com>
1716 * iconvdata/8bit-gap.c: Simplify step data handling.
1717 * iconvdata/8bit-generic.c: Likewise.
1718 * iconvdata/big5.c: Likewise.
1719 * iconvdata/euccn.c: Likewise.
1720 * iconvdata/eucjp.c: Likewise.
1721 * iconvdata/euckr.c: Likewise.
1722 * iconvdata/euctw.c: Likewise.
1723 * iconvdata/iso6937.c: Likewise.
1724 * iconvdata/iso8859-1.c: Likewise.
1725 * iconvdata/jis0208.h: Likewise.
1726 * iconvdata/jis0212.c: Likewise.
1727 * iconvdata/jis0212.h: Likewise.
1728 * iconvdata/johab.c: Likewise.
1729 * iconvdata/ksc5601.h: Likewise.
1730 * iconvdata/sjis.c: Likewise.
1731 * iconvdata/t61.c: Likewise.
1732 * iconvdata/uhc.c: Likewise.
1734 1998-04-13 16:36 Ulrich Drepper <drepper@cygnus.com>
1736 * manual/texinfo.texi: Updated from last version.
1738 1998-04-13 14:52 Ulrich Drepper <drepper@cygnus.com>
1740 * iconvdata/cns11643.c: New file.
1741 * iconvdata/cns11643.h: New file.
1742 * iconvdata/cns11643l1.c: New file.
1743 * iconvdata/cns11643l1.h: New file.
1744 * iconvdata/euctw.c: New file.
1745 * iconvdata/Makefile: Add rules for EUC-TW and CNS.
1746 * iconvdata/gconv-modules: Likewise.
1748 * iconvdata/eucjp.c: Several bug fixes and improvements.
1749 * iconvdata/gb2312.h: Likewise.
1750 * iconvdata/jis0201.h: Likewise.
1751 * iconvdata/jis0208.h: Likewise.
1752 * iconvdata/jis0212.h: Likewise.
1754 1998-04-13 09:11 Ulrich Drepper <drepper@cygnus.com>
1756 * iconvdata/eucjp.c: New file.
1757 * iconvdata/euccn.c: New file.
1758 * iconvdata/gb2312.h: New file.
1759 * iconvdata/gb2312.c: New file.
1760 * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
1761 * iconvdata/gconv-modules: Likewise.
1763 * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
1765 1998-04-12 Ulrich Drepper <drepper@cygnus.com>
1767 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1768 (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
1769 Patch by Mark Hatle <fray@kernel.crashing.org>.
1771 1998-04-12 22:47 Philip Blundell <Philip.Blundell@pobox.com>
1773 * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
1775 (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
1776 (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
1778 1998-04-12 Ulrich Drepper <drepper@cygnus.com>
1780 * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
1782 * iconvdata/Makefile: Add rules for big5 conversion.
1783 * iconvdata/gconv-modules: Likewise.
1784 * iconvdata/big5.c: New file.
1786 * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
1787 Patch by Jim Meyering.
1789 1998-04-11 Ulrich Drepper <drepper@cygnus.com>
1791 * rt/tst-aio.c: Add test for aio_read and lio_listio.
1793 * rt/lio_listio.c: Correct total counter handling.
1795 * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
1798 * test-skeleton.c (main): Make stdout unbuffered. Improve message
1799 of signal on exit even more.
1801 * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
1802 instead of call to pthread_cond_init.
1803 * rt/lio_listio.c (lio_listio): Likewise.
1804 * rt/lio_listio64.c (lio_listio64): Likewise.
1806 * nis/nis_findserv.c: Include sys/socket.h.
1808 1998-04-11 09:33 Ulrich Drepper <drepper@cygnus.com>
1810 * Makeconfig (rtobjdir): New variable.
1811 (rpath-link): Add rtobjdir and thread directory, if available.
1813 * test-skeleton.c: Add support to remove temporary files.
1814 Always define test_dir. Improve message about expected signal.
1816 * rt/Makefile (tests): Add tst-aio.
1817 Add rules for tst-aio to be linked with librt and thread library.
1818 * rt/aio_misc.c: Correct fundamental bugs.
1819 * rt/aio_suspend.c: Correct bug in test for available request.
1820 Initialize conditional variable.
1821 * rt/lio_listio.c: Initialize conditional variable.
1822 * rt/lio_listio64.c: Likewise.
1823 * rt/tst-aio.c: New file.
1825 * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
1826 * sysdeps/libm-ieee754/w_gamma.c: Likewise. Adopt for ISO C 9x.
1827 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
1828 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
1829 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
1830 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
1831 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
1833 1998-04-11 14:49 Mark Kettenis <kettenis@landau.phys.uva.nl>
1835 * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
1837 1998-04-10 Ulrich Drepper <drepper@cygnus.com>
1839 * elf/dl-load.c (open_path): Use correct name for test whether
1840 directory in load path exists.
1842 * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
1843 * sysdeps/libm-ieee754/e_pow.c: Fix typo.
1844 Patches by Tom Rini <trini@kernel.crashing.org>.
1846 * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
1847 * wcsmbs/wcstod_l.c: Likewise.
1848 * wcsmbs/wcstold_l.c: Likewise.
1850 * include/byteswap.h: New file.
1852 * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
1853 .bss segment size. Patch by Joe Keane <jgk@jgk.org>.
1855 * inet/getnameinfo.c (getnameinfo): Change parameter to match
1856 declaration. Patch by Richard Henderson.
1858 1998-04-10 12:40 Zack Weinberg <zack@rabi.phys.columbia.edu>
1860 * manual/process.texi (SIGCHLD example): Save errno.
1862 1998-04-09 Ulrich Drepper <drepper@cygnus.com>
1864 * posix/regex.c: Define regerror really as __regerror.
1865 * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
1866 regerror and regfree.
1868 * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
1869 * stdlib/strtod_l.c: Likewise.
1870 * stdlib/strtold_l.c: Likewise.
1872 * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
1874 * sysdeps/i386/i486/bits/string.h: Remove unused variables.
1876 * misc/syslog.c (closelog_internal): Set LogTag to NULL.
1877 Patch by Christian Gafton.
1879 1998-04-09 14:27 Ulrich Drepper <drepper@cygnus.com>
1881 * manual/socket.texi (Interface Naming): Correct @deftypefun line
1884 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1886 * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
1888 * manual/socket.texi (Interface Naming): Fix typo.
1890 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1892 * manual/examples/filesrv.c (main): Remove filename first.
1894 * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
1897 * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
1900 * manual/examples/filecli.c (main): Use AF_LOCAL
1903 1998-04-09 Ulrich Drepper <drepper@cygnus.com>
1905 * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
1907 * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
1908 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
1909 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
1910 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
1911 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
1912 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
1914 * login/utmp_daemon.c (open_socket): Use __connect not connect.
1916 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1918 * configure.in: Add new option --enable-force-install. Substitute
1920 * config.make.in (force-install): Set from configure.
1921 * Makerules (force-install): New phony target.
1922 * Makeconfig (+force): New variable.
1923 * Makefile: Use it in dependency list of installation targets.
1924 * db/Makefile: Likewise.
1925 * db2/Makefile: Likewise.
1926 * elf/Makefile: Likewise.
1927 * hurd/Makefile: Likewise.
1928 * iconv/Makefile: Likewise.
1929 * iconvdata/Makefile: Likewise.
1930 * intl/Makefile: Likewise.
1931 * localedata/Makefile: Likewise.
1932 * login/Makefile: Likewise.
1933 * po/Makefile: Likewise.
1934 * sunrpc/Makefile: Likewise.
1935 * sysdeps/mach/hurd/Makefile: Likewise.
1936 * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
1937 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1938 * timezone/Makefile: Likewise.
1940 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1942 * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
1943 alloc_size. Pass return value of getcwd syscall to realloc.
1945 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1947 * manual/socket.texi: Spelling fixes.
1949 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1951 * elf/dl-load.c (print_search_path): Remove unused variable.
1953 1998-04-08 Ulrich Drepper <drepper@cygnus.com>
1955 * login/utmp_file.c: use __ftruncate not ftruncate.
1956 * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
1957 for system call and make ftruncate weak alias.
1958 * posix/unistd.h: Add prototype for __ftruncate.
1959 * login/utmp_daemon.c (open_socket): Use __socket not socket.
1960 * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
1961 instead of snprintf and readv.
1962 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
1964 * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
1967 1998-04-08 20:06 Ulrich Drepper <drepper@cygnus.com>
1969 * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
1970 * iconv/gconv_db.c: Use __ protected regex functions.
1971 * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
1972 * posix/getopt_init.c: Use __getpid not getpid.
1973 * posix/regex.c: Rename all global functions to start with __ and
1974 make old names weak aliases.
1975 * posix/regex.h: Adopt prototypes for this.
1976 * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
1977 a weak alias and use __getcwd instead of getcwd.
1978 * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
1979 * stdlib/strtod.c: Use __btowc instead of btowc.
1980 * stdlib/strtol.c: Likewise.
1981 * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
1982 * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
1983 and sys_errlist are weak.
1984 * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
1985 * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
1986 * wcsmbs/mbsnrtowcs.c: Likewise.
1987 * wcsmbs/mbsrtowcs.c: Likewise.
1988 * wcsmbs/wcsnrtombs.c: Likewise.
1989 * wcsmbs/wcsrtombs.c: Likewise.
1990 * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
1992 * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
1993 * wctype/wctype.c: Define function as __wctype and make wctype
1995 * wctype/wctype.h: Declare __wctype.
1997 1998-04-08 Ulrich Drepper <drepper@cygnus.com>
1999 * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
2001 1998-04-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2003 * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
2005 (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
2007 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
2009 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2010 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
2011 * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
2012 make it a weak alias.
2013 * posix/unistd.h: Declare __lseek64.
2015 * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
2016 (_IO_file_stat): Fix typo.
2017 (_IO_file_xsgetn): Update fd->_offset. Read a multiple of the
2018 block size from the file. Use __mempcpy if _LIBC.
2020 1998-04-07 20:32 Ulrich Drepper <drepper@cygnus.com>
2022 * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
2023 * wcsmbs/mbrtowc.c: Likewise.
2024 * wcsmbs/mbsnrtowcs.c: Likewise.
2025 * wcsmbs/mbsrtowcs.c: Likewise.
2026 * wcsmbs/wcrtomb.c: Likewise.
2027 * wcsmbs/wcsnrtombs.c: Likewise.
2028 * wcsmbs/wcsrtombs.c: Likewise.
2029 * wcsmbs/wctob.c: Likewise.
2031 * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
2032 position of next output character correctly.
2033 (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
2035 * stdio-common/vfprintf.c (vfprintf): Clear state before used.
2037 * stdlib/strtod.c: Don't use mbtowc.
2039 1998-04-07 19:07 H.J. Lu <hjl@gnu.org>
2041 * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
2042 what we want is smaller than a buffer.
2044 1998-04-07 18:14 Ulrich Drepper <drepper@cygnus.com>
2046 * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
2049 1998-04-07 Ulrich Drepper <drepper@cygnus.com>
2051 * configure.in: Recognize --with-headers flag and determine
2052 commandline options to be used in compilation.
2053 * Makeconfig (+includes): Use $(sysincludes).
2054 * config.make.in (sysincludes): Define from SYSINCLUDES.
2055 * glibcbug.in: Use SYSINCLUDES information.
2056 Patches by Zack Weinberg.
2058 1998-04-07 19:03 Zack Weinberg <zack@rabi.phys.columbia.edu>
2060 * glibcbug.in: On linux, report version of kernel headers seen
2063 1998-04-07 16:18 Ulrich Drepper <drepper@cygnus.com>
2065 * libc.map: Add __asprintf to GLIBC_2.1.
2066 * elf/dlerror.c: Use __asprintf, not asprintf.
2067 * libio/stdio.h: Declare __asprintf.
2068 * stdio-common/asprintf.c: Define as __asprintf and make asprintf
2071 * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
2072 to avoid inclusion from libc_pic.a.
2074 * elf/dl-runtime.c: Undo last patch.
2076 * stdlib/strtod.c: Don't use mbtowc, use btowc.
2078 * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
2079 as default, use NULL.
2081 1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2083 * resolv/Makefile: Include ../Makeconfig - needed for building
2086 1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2088 * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
2089 static-nss since we don't want hesiod in the static NSS.
2091 * nss/Makefile: Build only nss_files as static.
2093 * nss/function.def: Remove support for service db.
2095 1998-04-04 09:44 H.J. Lu <hjl@gnu.org>
2097 * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
2099 1998-04-04 18:29 Tim Waugh <tim@cyberelk.demon.co.uk>
2101 * posix/wordexp-test.c: Make IFS per test-case.
2103 1998-04-07 17:50 Zack Weinberg <zack@rabi.phys.columbia.edu>
2105 * glibcbug.in: Report version of gcc in use. Remove unused variable
2108 1998-04-07 Gordon Matzigkeit <gord@profitpress.com>
2110 * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
2111 `-print-file-name' to find as and ld.
2113 1998-04-07 Ulrich Drepper <drepper@cygnus.com>
2115 * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
2116 template is wrong. Remove unused varaible `ignored'.
2118 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2120 * libc.map: Export __libc_sa_len.
2122 * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
2124 1998-04-07 08:51 Ulrich Drepper <drepper@cygnus.com>
2126 * iconv/gconv.c: Take care for NULL arguments.
2127 * iconv/gconv_dl.c: Make find_func function global.
2128 * iconv/gconv_int.h: Add prototype for __gconv_find_func.
2129 Add prototypes for ASCII conversion functions.
2130 * iconv/gconv_simple.c: Add ASCII conversion functions.
2131 * locale/C-ctype.c: Correct charset name.
2133 * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
2134 (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
2136 * wcsmbs/btowc.c: Rewrite to use iconv functionality.
2137 * wcsmbs/mbrtowc.c: Likewise.
2138 * wcsmbs/mbsnrtowcs.c: Likewise.
2139 * wcsmbs/mbsrtowcs.c: Likewise.
2140 * wcsmbs/wcrtomb.c: Likewise.
2141 * wcsmbs/wcsnrtombs.c: Likewise.
2142 * wcsmbs/wcsrtombs.c: Likewise.
2143 * wcsmbs/wctob.c: Likewise.
2144 * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen. Remove
2145 prototypes for wmemr*.
2146 * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
2147 * wcsmbs/wcsnlen.c: New file.
2148 * wcsmbs/wcsmbsload.c: New file.
2149 * wcsmbs/wcsmbsload.h: New file.
2151 * manual/filesys.texi: Mention risks of tmpnam and mktemp.
2153 * manual/install.texi: Describe some more critical points.
2155 * string/string.h: Add prototype for __strnlen.
2156 * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
2158 * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
2159 much less predictable names.
2160 * sysdeps/posix/mkstemp.c: Likewise.
2162 1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2164 * manual/libc.texinfo (Top): Change "file namespace" to "local
2167 * manual/socket.texi: Change file namespace to local namespace.
2168 (Out-of-Band Data): Remove unneeded variable link.
2169 (Host Address Functions): Use uint32_t consequently and add a
2170 number of clarifications for IPv4/IPv6, classless addresses.
2171 (Internet Namespace): Added some paragraphs about IPv6.
2172 Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
2174 1998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
2176 Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
2178 * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
2179 (NI_NUMERICHOST, et al.): Tidy up and add comments.
2180 (AI_NUMERICHOST): Define.
2181 (getnodebyname): New prototype.
2182 (AI_V4MAPPED, et al.): New constants.
2184 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
2185 * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
2186 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
2188 * sysdeps/unix/sysv/linux/sa_len.c: New file.
2189 * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
2191 * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
2193 * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
2194 * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
2195 * socket/Makefile (headers): Add bits/sockunion.h.
2196 * socket/sys/socket.h: Include <bits/sockunion.h>
2197 * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
2198 <sys/socket.h>, to avoid getting sockaddr_union defined.
2199 * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
2200 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2201 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2203 * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
2204 (2.2.x kernels won't have it).
2206 1998-04-06 21:21 Ulrich Drepper <drepper@cygnus.com>
2208 * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
2209 * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
2210 * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
2211 Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
2213 1998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
2215 * manual/socket.texi (Socket Addresses): Fix a typo.
2216 (Interface Naming): New section.
2218 1998-04-05 23:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
2220 * configure.in: Check for CC using $ac_tool_prefix, to handle
2221 cross-compilation. Use AC_CHECK_TOOL to find MiG.
2222 * config.make.in: Add MIG to be substituted.
2223 * mach/Machrules: Don't define MIG variable.
2225 Patch by Gordon Matzigkeit <gord@profitpress.com>.
2227 1998-04-05 Mark Kettenis <kettenis@phys.uva.nl>
2229 * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
2230 strdupa to copy rpath.
2232 1998-04-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2234 * configure.in: Fix gcc version check.
2236 * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
2239 1998-03-31 Mark Kettenis <kettenis@phys.uva.nl>
2241 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
2244 * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
2246 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
2247 * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
2248 * sysdeps/unix/grantpt.c (grantpt): Change check of return value
2249 of __ptsname_r accordingly.
2250 * login/openpty.c (openpty): Likewise.
2252 1998-06-04 18:47 H.J. Lu <hjl@gnu.org>
2254 * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
2256 1998-04-06 13:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2258 * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
2260 * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
2262 1998-04-06 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2264 * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
2265 return value for better error checking.
2267 1998-04-06 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
2269 * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
2270 _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
2272 * elf/elf.h (EM_SPARC64): Remove.
2273 (EM_SPARC32PLUS, EM_SPARCV9): Add.
2274 (HWCAP_SPARC_V9): Add.
2276 * elf/ldsodefs.h (_dl_hwcap): Declare.
2277 * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
2278 Weaken so dlopen from static progies works.
2279 (WEAKADDR): New macro.
2280 (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
2281 (LD_SO_PRELOAD): New macro.
2282 (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
2283 (elf_machine_rela): Weaken _dl_rtld_map.
2285 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
2286 to __clone, and remove the later's alias.
2287 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2289 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
2290 the kernel's structure.
2292 * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
2293 Sparc needs a custom value of __KERNEL_NCCS.
2295 1998-04-06 Richard Henderson <rth@cygnus.com>
2297 * sysdeps/generic/libc-start.c: Allow init and fini to be null.
2299 * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
2300 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2302 1998-04-06 Richard Henderson <rth@cygnus.com>
2304 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
2305 as the buffer is not properly aligned.
2306 Reported by Juan Cespedes <cespedes@debian.org>.
2308 1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2310 * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
2313 1998-04-05 Ulrich Drepper <drepper@cygnus.com>
2315 * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
2316 and wc*tomb* functions.
2318 1998-04-04 15:16 Philip Blundell <Philip.Blundell@pobox.com>
2320 * sysdeps/unix/start.c: Fix typo.
2322 1998-04-04 Ulrich Drepper <drepper@cygnus.com>
2324 * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
2326 1998-04-03 23:38 Ulrich Drepper <drepper@cygnus.com>
2328 * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
2329 expressions and using array variables.
2330 * sysdeps/libm-ieee754/e_asin.c: Likewise.
2331 * sysdeps/libm-ieee754/e_j0.c: Likewise.
2332 * sysdeps/libm-ieee754/e_j1.c: Likewise.
2333 * sysdeps/libm-ieee754/e_log.c: Likewise.
2334 * sysdeps/libm-ieee754/e_pow.c: Likewise.
2335 * sysdeps/libm-ieee754/k_cos.c: Likewise.
2336 * sysdeps/libm-ieee754/k_sin.c: Likewise.
2337 * sysdeps/libm-ieee754/k_tan.c: Likewise.
2338 * sysdeps/libm-ieee754/s_atan.c: Likewise.
2339 * sysdeps/libm-ieee754/s_erf.c: Likewise.
2340 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
2341 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
2342 Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
2344 1998-04-03 23:17 Ulrich Drepper <drepper@cygnus.com>
2346 * iconv/gconv.c: Rewrite of the low-level of gconv.
2347 * iconv/gconv.h: Likewise.
2348 * iconv/gconv_builtin.h: Likewise.
2349 * iconv/gconv_close.c: Likewise.
2350 * iconv/gconv_db.: Likewise.
2351 * iconv/gconv_dl.c: Likewise.
2352 * iconv/gconv_int.h: Likewise.
2353 * iconv/gconv_open.c: Likewise.
2354 * iconv/gconv_simple.c: Likewise.
2355 * iconvdata/8bit-gap.c: Adapt for rewrite.
2356 * iconvdata/8bit-generic.c: Likewise.
2357 * iconvdata/euckr.c: Likewise.
2358 * iconvdata/iso646.c: Likewise.
2359 * iconvdata/iso6937.c: Likewise.
2360 * iconvdata/iso8859-1.c: Likewise.
2361 * iconvdata/johab.c: Likewise.
2362 * iconvdata/sjis.c: Likewise.
2363 * iconvdata/t61.c: Likewise.
2364 * iconvdata/uhc.c: Likewise.
2366 1998-04-03 15:34 Ulrich Drepper <drepper@cygnus.com>
2368 * iconv/gconv_int.h: New file. Internal header.
2369 * iconv/Makefile (distribute): Add gconv_int.h.
2370 * iconv/gconv.h: Remove definition which are now in gconv_int.h.
2371 * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
2372 * iconv/gconv_close.c: Likewise.
2373 * iconv/gconv_conf.c: Likewise.
2374 * iconv/gconv_db.c: Likewise.
2375 * iconv/gconv_dl.c: Likewise.
2376 * iconv/gconv_int.h: Likewise.
2377 * iconv/gconv_open.c: Likewise.
2378 * iconv/iconv.c: Likewise.
2379 * iconv/iconv_close.c: Likewise.
2380 * iconv/iconv_open.c: Likewise.
2381 * iconv/iconv_prog.c: Likewise.
2383 1998-04-03 Ulrich Drepper <drepper@cygnus.com>
2385 * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
2388 1998-04-03 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2390 * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
2392 1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
2394 Based on patch from Pat Beirne:
2395 * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
2396 PIC and non-PIC now. Correctly negate error number.
2397 (errno): Use `%' not `@' in .type directives.
2399 1998-04-03 Ulrich Drepper <drepper@cygnus.com>
2401 * sysdeps/i386/strtok.S: Change to use single exit point.
2402 * sysdeps/i386/i686/strtok.S: Likewise.
2404 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2406 * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
2409 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2411 * Makerules (installed-libcs): Fix typo.
2413 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2415 * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
2416 (UHC-routines): Remove ksc5601.
2418 1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
2420 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
2421 introduced in last change.
2423 1998-04-03 06:22 Ulrich Drepper <drepper@cygnus.com>
2425 * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
2428 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
2430 * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
2432 * stdlib/isomac.c: Use -isystem instead of -I for system include
2435 1998-03-30 08:05 H.J. Lu <hjl@gnu.org>
2437 * resolv/res_comp.c (underscorechar): New.
2438 (middlechar): Allow '_'.
2440 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
2442 * intl/explodename.c (stdlib.h): Include that file only if
2443 STDC_HEADERS or _LIBC.
2444 (string.h): Include that file only if HAVE_STRING_H or _LIBC.
2445 Patch by Philippe De Muyter <phdm@macqel.be>.
2447 1998-04-01 21:08 Zack Weinberg <zack@rabi.phys.columbia.edu>
2449 * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
2450 (AC_PROG_CHECK_VER): New macro.
2451 * configure.in: Use AC_PROG_CHECK_VER to check versions of
2452 gcc, gmake, msgfmt, makeinfo. Remove superfluous tests.
2454 1998-04-02 15:13 Ulrich Drepper <drepper@cygnus.com>
2456 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
2457 * sysdeps/i386/i686/strtok.S: New file
2458 * sysdeps/i386/i686/strtok_r.S: New file
2460 1998-04-02 Mark Kettenis <kettenis@phys.uva.nl>
2462 * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
2464 * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
2465 parameter as __off64_t instead of __off_t.
2466 (ftello): Make alias for ftello64 instead of ftello. Change
2467 return type to __off64_t.
2469 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
2471 * sysdeps/i386/bits/string.h: Fix various typos.
2472 Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2474 * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
2476 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
2478 * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
2479 lchown syscall correctly. [PR libc/541].
2481 1998-04-02 11:45 Ulrich Drepper <drepper@cygnus.com>
2483 * localedata/Makefile: Correct testsuite rules.
2485 * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
2486 * iconvdata/iso646.c: Fix conversion from UCS4.
2488 * elf/ldsodefs.h: Mark internal function with internal_function.
2489 * elf/dl-addr.c: Likewise.
2490 * elf/dl-close.c: Likewise.
2491 * elf/dl-debug.c: Likewise.
2492 * elf/dl-deps.c: Likewise.
2493 * elf/dl-error.c: Likewise.
2494 * elf/dl-fini.c: Likewise.
2495 * elf/dl-init.c: Likewise.
2496 * elf/dl-load.c: Likewise.
2497 * elf/dl-lookup.c: Likewise.
2498 * elf/dl-object.c: Likewise.
2499 * elf/dl-open.c: Likewise.
2500 * elf/dl-profile.c: Likewise.
2501 * elf/dl-reloc.c: Likewise.
2502 * elf/dl-runtime.c: Likewise.
2503 * elf/dl-symbol.c: Likewise.
2504 * elf/dl-version.c: Likewise.
2505 * elf/dlerror.c: Likewise.
2506 * sysdeps/generic/dl-sysdep.c: Likewise.
2507 * sysdeps/i386/dl-machine.h: Likewise.
2508 * intl/finddomain.c: Likewise.
2509 * intl/gettextP.h: Likewise.
2510 * intl/loadmsgcat.c: Likewise.
2512 1998-04-01 17:38 Ulrich Drepper <drepper@cygnus.com>
2514 * iconv/gconv_simple.c: New builtins for UCS en/decoding.
2515 * iconv/gconv_builtin.h: Add definitions for new builtins.
2516 * iconv/gconv.h: Add prototypes for new builtins.
2518 * iconvdata/Makefile (modules): Add ISO646.
2519 Add rules for ISO646 module.
2520 (distribute): Add iso646.c.
2521 * iconvdata/gconv-modules: Add module and alias definition for
2523 * iconvdata/iso646.c: New file.
2525 1998-04-01 16:10 Ulrich Drepper <drepper@cygnus.com>
2527 * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
2528 * iconv/iconv_prog.c: Implement --list option to print available
2529 coded character sets.
2531 1998-04-01 18:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
2533 Make fread() read large blocks straight to the user buffer.
2535 * libio/fileops.c (_IO_file_xsgetn): New function.
2536 (_IO_file_jumps): Use it.
2537 * libio/libioP.h: Prototype it.
2539 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
2541 * iconv/gconv_conf.c (builtin_aliases): New variable.
2542 (__gconv_read_conf): Add builtin aliases.
2543 * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
2544 noop macro before including gconv_builtin.h.
2545 * iconv/gconv_builtin.h: Add alias names.
2547 * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
2548 number of converted bytes correctly.
2550 1998-04-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2552 * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
2553 we only wait for a replay.
2555 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
2557 * iconvdata/Makefile: Finally fix dependencies for JOHAB and
2560 1998-04-1 16:52 Philip Blundell <pb@nexus.co.uk>
2562 * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
2563 use PLTJMP() rather than explicit (PLT).
2565 * sysdeps/arm/elf/start.S: Leave most of the initialisation for
2566 __libc_start_main().
2568 Based on patch from Pat Beirne:
2569 * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
2570 Always define, not only #ifndef PIC.
2571 (DO_CALL): Pass fifth argument correctly in R4.
2572 (PSEUDO): Correct test for error, call syscall_error through PLT
2575 1998-03-31 10:51 Philip Blundell <pb@nexus.co.uk>
2577 * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
2580 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
2582 * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
2585 1998-04-01 13:20 Mark Kettenis <kettenis@phys.uva.nl>
2587 * io/Makefile (static-only-routines): Add stat64, fstat64 and
2590 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2592 * manual/Makefile: Use object-suffixes-for-libc instead of
2594 * rpm/Makefile (install-lib): Likewise.
2596 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2598 * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
2600 * sysdeps/unix/sysv/linux/configure.in: Match $machine against
2601 `m68*', not only `m68k'.
2603 1998-04-01 10:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2605 * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
2607 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
2610 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
2612 * iconvdata/Makefile: Use libKSC shared object in JOHAB and
2615 * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
2618 1998-03-30 08:43 H.J. Lu <hjl@gnu.org>
2620 * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
2623 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
2625 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
2627 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
2629 Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
2631 1998-03-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2633 * Makerules (install): Change comment for libc.so following the
2634 libc_nonshared changes.
2636 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
2638 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
2640 * iconvdata/gap.pl: Avoid using %#06x.
2642 1998-03-31 19:55 Zack Weinberg <zack@rabi.phys.columbia.edu>
2644 * Makerules: Use $? instead of S^ when invoking ar.
2646 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
2648 * db2/compat.h: Allow EFTYPE being defined.
2649 * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
2650 * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
2651 * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
2652 * sysdeps/mach/bits/libc-lock.h: Fix typo.
2653 (__libc_once): Correctly unlock semaphore.
2654 * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
2655 * sysdeps/unix/bsd/getpt.c: Fix typo.
2656 Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
2658 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
2660 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
2663 1998-03-31 18:11 Ulrich Drepper <drepper@cygnus.com>
2665 * include/mntent.h: New file.
2667 * elf/Makefile (trusted-dirs.h): Append slash to filename.
2668 * elf/dl-load.c: Rewrite search path handling.
2669 * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
2670 * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
2671 * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
2672 * elf/ldsodefs.h: Add prototype.
2674 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
2676 * nss/nsswitch.c (__nss_lookup): Adjust comment.
2678 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
2681 * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
2683 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
2685 (HWCAP_IMPORTANT): New definition.
2687 1998-03-30 17:26 H.J. Lu <hjl@gnu.org>
2689 * elf/dl-open.c (_dl_open): Fix a typo.
2690 (_dl_global_scope_alloc): Make it static.
2692 1998-03-30 17:20 Ulrich Drepper <drepper@cygnus.com>
2694 * Makerules: Remove duplicate rules to handle stamp.oS.
2696 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2698 * manual/examples/inetsrv.c (main): Change prototype of
2699 make_socket following change in mkisock.c.
2701 * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
2703 (main): Change prototype of init_sockaddr following change in
2706 * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
2707 * manual/examples/isockad.c (init_sockaddr): Likewise.
2709 * manual/examples/mkfsock.c (make_named_socket): Removed blank
2710 lines for clarification.
2711 (make_named_socket): Use strncpy instead of strcpy.
2712 Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
2714 1998-03-30 13:28 Ulrich Drepper <drepper@cygnus.com>
2716 * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
2717 determining libs to remove.
2718 (postclean): Add soversions.mk.
2719 * Makerules (common-mostlyclean): Add tests-static and generated
2722 1998-03-30 12:53 Ulrich Drepper <drepper@cygnus.com>
2724 * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
2726 (__strncat_g): Add i686 specific code.
2728 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2730 * manual/install.texi (Reporting Bugs): Ask to include section
2733 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2735 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
2736 guard against direct inclusion.
2738 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2740 Rework support for libc_nonshared.a:
2741 * Makeconfig (object-suffixes-for-libc): New variable.
2742 * Rules: Remove handling of static-only and shared-only routines.
2743 * Makerules: Handle them here instead. Use
2744 object-suffixes-for-libc instead of object-suffixes when dealing
2746 (object-suffixes-for-rules): Remove variable.
2747 (elide-routines.oS): Elide all routines except static-only
2749 ($(objpfx)stamp.oS): Special rule for when static-only-routines is
2751 (installed-libcs): Remove special case for .oS.
2754 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2756 * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
2757 do-tst-rpmatch): New targets.
2759 (install-locales): Ignore comment lines.
2761 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2763 * elf/Makefile ($(objpfx)ld.so): Depend on version script.
2764 ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
2765 ($(objpfx)rtldtbl.h): Likewise.
2766 (CPPFLAGS-dl-load.c): Fix reference to object directory.
2768 1998-03-30 09:36 Ulrich Drepper <drepper@cygnus.com>
2770 * manual/string.texi (Finding Tokens in a String): Extend strsep
2771 description and correct example.
2773 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2775 * manual/socket.texi: Remove misguided explicit line breaks and
2776 fix the formatting problem instead by reformulating the
2778 * manual/filesys.texi: Likewise.
2779 * manual/conf.texi: Likewise. Don't typeset table with index
2780 fonts, that looks worse than a minimally overfull line.
2782 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2784 * nscd/Makefile (nscd-modules): Move definition outside of
2787 * pwd/Makefile: Use have-thread-library to test for thread
2790 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2792 * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
2794 * iconvdata/uhc.c (gconv): Remove unused variable idx.
2796 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
2798 * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
2800 1998-03-29 Ulrich Drepper <drepper@cygnus.com>
2802 * nss/getXXent_r.c: Correctly handle failing setXXent function.
2804 * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
2805 Reported by Andreas Jaeger.
2807 1998-03-29 20:59 Ulrich Drepper <drepper@cygnus.com>
2809 * elf/Makefile: Fix typo.
2810 (distribute): Add dl-librecon.h.
2811 * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
2812 * elf/ldd.sh.in: Likewise.
2813 * elf/ldsodefs.h: Declare _dl_correct_cache_id.
2814 * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
2815 Use strsep correctly.
2816 (process_envvars): Allow platform specific variables.
2817 * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
2818 (_dl_load_cache_lookup): Test cache IDs found against
2819 _dl_correct_cache_id.
2820 * sysdeps/generic/dl-librecon.h: New file.
2821 * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
2823 * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
2825 1998-03-29 16:50 Ulrich Drepper <drepper@cygnus.com>
2827 * config.make.in (ldd-rewrite-script): New variable.
2828 * configure.in: Substitute ldd-rewrite-script.
2829 * elf/Makefile: Rewrite rules to generate ldd script.
2830 * elf/ldd.bash.in: Allow handling of non-ELF binaries.
2831 * elf/ldd.sh.in: Likewise.
2832 * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
2833 * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
2834 point to sed script for libc4 handling insertion for ix86, m68, SPARC.
2835 * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
2836 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
2838 1998-03-26 15:20 Zack Weinberg <zack@rabi.phys.columbia.edu>
2840 * inet/rcmd.c (iruserok): Remain setuid to the local user
2841 while .rhosts is actually read, to make .rhosts-over-NFS work
2842 (PR libc/524). Use iruserfopen() for security checks on both
2843 hosts.equiv and .rhosts. General cleanup.
2844 (iruserfopen): New function, performs careful checking on
2845 hosts.equiv/.rhosts files. Disallows all the old forbidden
2846 stuff plus hard links to files.
2848 1998-03-29 09:26 Ulrich Drepper <drepper@cygnus.com>
2850 * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
2852 * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
2854 1998-03-29 02:02 H.J. Lu <hjl@gnu.org>
2856 * sysdeps/i386/i486/bits/string.h: Fix typos.
2858 1998-03-28 00:13 H.J. Lu <hjl@gnu.org>
2860 * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
2863 * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
2865 * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
2866 Added. Used by libm.so on alpha.
2868 1998-03-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2870 * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
2873 1998-03-27 07:29 H.J. Lu <hjl@gnu.org>
2875 * Makerules (object-suffixes-for-rules): Add .oS only for
2876 building shared library.
2877 Add ranlib rule for nonshared library.
2880 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
2881 into for shared library only.
2882 (CPPFLAGS-.oS): Add -DPIC.
2883 (libtypes): Use $(object-suffixes-for-rules) instead of
2886 1998-03-28 Ulrich Drepper <drepper@cygnus.com>
2888 * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
2889 and install lddlibc4.
2891 1998-03-28 09:13 Zack Weinberg <zack@rabi.phys.columbia.edu>
2893 * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
2895 * iconvdata/gaptab.pl: Likewise.
2897 1998-03-27 22:46 Ulrich Drepper <drepper@cygnus.com>
2899 * Rules: Allow Makefiles to specify test-static for tests which
2900 cannot be linked dynamically.
2901 * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
2904 * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
2906 * misc/error.c: Pretty print.
2908 1998-03-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2910 * Makerules (libc_nonshared-name): Remove variable.
2911 (installed-libcs): Use libc-name instead.
2912 ($(inst_libdir)/libc.so): Likewise. Remove explicit reference to
2915 * Makeconfig (link-libc): Link against libc_nonshared.a instead of
2916 libc.a. Remove explicit reference to dynamic linker.
2918 1998-03-27 Ulrich Drepper <drepper@cygnus.com>
2920 * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
2922 * iconv/iconv_prog.c: Correctly test for write failure.
2923 * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
2924 * iconvdata/gconv-modules: Likewise.
2925 * iconvdata/euckr.c: New file.
2926 * iconvdata/johab.c: New file.
2927 * iconvdata/ksc5601.c: New file.
2928 * iconvdata/ksc5601.h: New file.
2929 * iconvdata/uhc.c: New file.
2930 Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
2932 * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
2933 * stdio/fopen.c: Correct handling of 'x' flag.
2934 Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
2936 1998-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2938 * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
2939 * sunrpc/rpcsvc/key_prot.x: Likewise.
2940 * sunrpc/key_prot.c: Likewise.
2942 1998-03-27 13:49 Ulrich Drepper <drepper@cygnus.com>
2944 * sysdeps/i386/bits/string.h: Correct things which never worked.
2945 * sysdeps/i386/i486/bits/string.h: Add clobber marks.
2946 Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
2948 1998-03-27 Ulrich Drepper <drepper@cygnus.com>
2950 * intl/textdomain.c [_LIBC]: Define strdup only if not yet
2951 defined. Reported by Thorsten Kukuk.
2953 1998-03-26 18:50 Ulrich Drepper <drepper@cygnus.com>
2955 * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
2957 1998-03-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2959 * manual/install.texi (Supported Configurations): Add
2960 arm-linuxaout and arm-none.
2962 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
2964 * version.h (VERSION): Bump to 2.0.93.
2966 1998-03-25 07:30 H.J. Lu <hjl@gnu.org>
2968 * configure.in (libc_cv_ar_S): New to indicate if ar S works.
2970 * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
2972 * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
2973 (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
2975 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
2977 * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
2979 1998-03-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2981 Put the static-only routines in a separate library.
2982 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
2984 (all-object-suffixes): Add .oS.
2985 * Makerules (libc_static-name): New variable.
2986 (installed-libcs): Add libc_nonshared.a.
2987 ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
2988 (object-suffixes-for-rules): New variable. Use it instead of
2989 object-suffixes for generating compilation rules.
2990 (rmobjs): Also remove *.oS.
2991 * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
2992 ($(objpfx)stamp.oS): New target.
2994 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
2996 * Makefile (FAQ): Automatically check in regenerated FAQ.
2998 1998-03-26 10:16 Zack Weinberg <zack@rabi.phys.columbia.edu>
3000 * Makefile (INSTALL): Depend on install.texi, not maint.texi.
3002 1998-03-25 Ulrich Drepper <drepper@cygnus.com>
3004 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
3005 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
3007 * sysdeps/generic/stub_warning: Removed.
3009 * Makefile (distribute): Add include/des.h.
3011 * manual/Makefile (distribute): Change dir-add.texi to
3014 * glibcbug.in: Create files safely when mktemp is not available.
3016 * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
3017 Patch by a sun <asun@saul1.u.washington.edu>.
3019 1998-03-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3021 * libc.map: Rename getname to getnetname.
3023 1998-03-25 13:35 Ulrich Drepper <drepper@cygnus.com>
3025 * manual/maint.texi: Use supported platform in examples.
3027 * manual/install.texi: Document some installation tips.
3029 1998-03-25 10:56 Ulrich Drepper <drepper@cygnus.com>
3031 * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
3032 Fix a bug so that it returns an error if a numeric parameter is
3033 unset and WRDE_UNDEF is set.
3034 Patch by Andreas Schwab and Tim Waugh.
3035 * posix/wordexp-test.c: Add new new test.
3037 1998-03-25 Ulrich Drepper <drepper@cygnus.com>
3039 * posix/regex.c (regex_compile): Last patch wasn't entirely
3040 correct. Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
3042 1998-03-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3044 * manual/filesys.texi (Scanning Directory Content): Fix typo.
3046 1998-03-25 09:24 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
3048 * sysdeps/i386/bits/string.h: Fix all assembler statements so that
3049 clobbered registers don't appear as operands.
3051 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
3053 * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
3056 * posix/regex.c (regex_compile): Don't allow non-alphabet
3057 characters in character set name.
3059 1998-03-25 00:00 Tim Waugh <tim@cyberelk.demon.co.uk>
3061 * posix/wordexp.c (w_newword): New function.
3062 (do_parse_glob): New function.
3063 (parse_glob): Use do_parse_glob. Now handles the case where a
3064 variable expansion causes a field-split.
3065 (wordexp): Use w_newword.
3066 (parse_arith): Likewise.
3067 (exec_comm): Likewise.
3068 (parse_comm): Likewise.
3069 (parse_param): Likewise.
3070 (parse_backtick): Likewise.
3072 1998-03-24 19:36 Tim Waugh <tim@cyberelk.demon.co.uk>
3074 * posix/wordexp-tst.sh: Another test.
3076 * posix/wordexp-test.c: Two new tests.
3078 * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
3079 directly (the code using realloc was buggy).
3080 (parse_param): Fix typo in comment.
3082 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
3084 * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
3086 1998-03-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3088 * libc.map: Add more rpc auth functions/variables.
3090 * nscd/nscd.c: Add -g option to argp options.
3092 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
3094 * configure.in: Be prepared for gcc 2.9.10 and up.
3095 * configure.in: Add missing disabling of quote characters in
3096 compiler version check. Reported by HJ Lu.
3098 1998-03-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3100 * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
3102 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
3104 * intl/locale.alias: Fix spelling of romanian.
3106 * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
3107 (distribute): Remove des.h.
3108 * include/des.h: New file.
3109 * sunrpc/des.h: Moved to ...
3110 * sunrpc/rpc/rpc_des.h: ...here.
3112 1998-03-22 NIIBE Yutaka <gniibe@mri.co.jp>
3114 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
3117 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
3119 * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
3120 parameter const. Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
3122 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
3124 * elf/ldsodesf.h: New file.
3125 * elf/Makefile (distribute): Add ldsodefs.h.
3126 * elf/link.h: Separate internal information in exter header.
3127 * elf/rtld.c: Include elf/ldsodefs.h not link.h.
3128 * elf/dl-minimal.c: Likewise.
3129 * sysdeps/generic/dl-sysdep.c: Likewise.
3130 * elf/sprof.c: Likewise.
3131 * elf/dlsym.c: Likewise.
3132 * elf/dlvsym.c: Likewise.
3133 * elf/dlerror.c: Likewise.
3134 * elf/dladdr.c: Likewise.
3135 * elf/dlclose.c: Likewise.
3136 * elf/dlopen.c: Likewise.
3137 * elf/dl-addr.c: Likewise.
3138 * elf/dl-close.c: Likewise.
3139 * elf/dl-debug.c: Likewise.
3140 * elf/dl-deps.c: Likewise.
3141 * elf/dl-error.c: Likewise.
3142 * elf/dl-fini.c: Likewise.
3143 * elf/dl-init.c: Likewise.
3144 * elf/dl-load.c: Likewise.
3145 * elf/dl-lookup.c: Likewise.
3146 * elf/dl-object.c: Likewise.
3147 * elf/dl-open.c: Likewise.
3148 * elf/dl-profile.c: Likewise.
3149 * elf/dl-reloc.c: Likewise.
3150 * elf/dl-runtime.c: Likewise.
3151 * elf/dl-support.c: Likewise.
3152 * elf/dl-symbol.c: Likewise.
3153 * elf/dl-version.c: Likewise.
3154 * sysdeps/generic/dl-cache.c: Likewise.
3155 * sysdeps/generic/libc-start.c: Likewise.
3156 * iconv/gconv_dl.c: Likewise.
3157 * nss/nsswitch.c: Likewise.
3159 1998-03-23 13:45 Ulrich Drepper <drepper@cygnus.com>
3161 * manual/nss.texi: The database is not called network but networks.
3162 Reported by Herbert Xu <herbert@gondor.apana.org.au>.
3164 1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3166 * configure.in: Correct test for compiler version.
3167 Check that LD_LIBRARY_PATH doesn't contain current path.
3169 1998-03-23 07:52 H.J. Lu <hjl@gnu.org>
3171 * elf/dl-close.c (_dl_close): Fix byte count while removing
3172 the shared object from the global scope list and optimize
3175 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3177 * manual/filesys.texi (Scanning Directory Content): Add missing
3179 (Scanning Directory Content): Fix text.
3181 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3183 * manual/memory.texi (Heap Consistency Checking): Add paragraph
3184 explaining difference of -lmcheck and MALLOC_CHECK_.
3186 1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3188 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
3191 1998-03-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3193 * test-skeleton.c (main): Fix test for exit signal.
3195 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3197 * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
3199 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3201 * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
3204 1998-03-23 11:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3206 * libc.map: Export __strtok_r.
3208 1998-03-23 Ulrich Drepper <drepper@cygnus.com>
3210 * posix/regex.c (re_compile_fastmap): Remove unused variable
3211 num_regs and adjust comment.
3212 Patch by Jim Meyering <meyering@ascend.com>.
3214 * math/math.h (M_*l): Extend long double constants to be usable
3215 for 128 bit floats. Patch by Richard Henderson.
3217 1998-03-23 11:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3219 * sysdeps/m68k/m68020/wordcopy.S: New file.
3221 1998-03-22 Ulrich Drepper <drepper@cygnus.com>
3223 * posix/wordexp.c: Rewrite parse_param.
3224 Patch by Tim Waugh and Andreas Schwab.
3226 1998-03-21 23:46 Zack Weinberg <zack@rabi.phys.columbia.edu>
3228 * Rules: Update timestamps on empty object files.
3230 1998-03-21 09:15 Ulrich Drepper <drepper@cygnus.com>
3232 * manual/filesys.texi (Scanning Directory Content): Add description
3233 of 64 bits scandir function and friends.
3235 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
3237 * glibcbug.in: Use mktemp to generate unique file name for
3240 * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
3241 ptsname_r. Use cast for execve call.
3243 1998-03-20 16:24 Ulrich Drepper <drepper@cygnus.com>
3245 * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
3246 * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
3247 * io/sys/statvfs.h: New file.
3248 * sysdeps/generic/fstatvfs.h: New file.
3249 * sysdeps/generic/statvfs.h: New file.
3250 * sysdeps/generic/fstatvfs64.h: New file.
3251 * sysdeps/generic/statvfs64.h: New file.
3252 * sysdeps/generic/bits/statvfs.h: New file.
3253 * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
3254 * sysdeps/unix/sysv/linux/statvfs.c: New file.
3255 * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
3257 * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
3258 and f_ffree elements.
3260 * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print. Define
3261 mount options in enum.
3263 1998-03-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3265 * configure.in: Check for recent egcs/gcc.
3267 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
3269 * libc.map: Add alphasort64, scandir64, versionsort64.
3270 * dirent/Makefile (routines): Add scandir64, alphasort64, and
3272 * dirent/alphasort64.c: New file.
3273 * dirent/scandir64.c: New file.
3274 * dirent/versionsort64.c: New file.
3275 * dirent/dirent.h: Add LFS support for scandir, alphasort, and
3277 * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
3278 old name weak alias.
3279 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
3281 * dirent/alphasort.c: Use strcoll instead of strcmp.
3283 * dirent/scandir.c: Optimize a bit.
3285 * dirent/versionsort.c: Pretty print.
3287 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
3289 * string/string.h: Add prototype for __strtok_r.
3291 1998-03-20 12:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3293 * posix/Makefile: Fix typo in last change.
3295 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
3297 * dirent/dirent.h (scandir): Make argument of select function const.
3298 * dirent/scandir.c (scandir): Likewise.
3299 Reported by David.Faure@insa-lyon.fr [PR libc/512].
3301 1998-03-19 14:28 Ulrich Drepper <drepper@cygnus.com>
3303 * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
3305 * sysdeps/i386/strtok_r.c: Likewise.
3307 * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
3308 * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
3309 * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
3310 * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
3311 * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
3312 * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
3314 1998-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3316 * intl/localealias.c: Remove unneeded define for strdup.
3318 1998-03-19 13:45 Ulrich Drepper <drepper@cygnus.com>
3320 * manual/argp.texi: Adjust for better TeX output.
3321 * manual/arith.texi: Likewise.
3322 * manual/conf.texi: Likewise.
3323 * manual/filesys.texi: Likewise.
3324 * manual/header.texi: Likewise.
3325 * manual/lgpl.texinfo: Likewise.
3326 * manual/math.texi: Likewise.
3327 * manual/message.texi: Likewise.
3328 * manual/pattern.texi: Likewise.
3329 * manual/process.texi: Likewise.
3330 * manual/signal.texi: Likewise.
3331 * manual/socket.texi: Likewise.
3332 * manual/startup.texi: Likewise.
3333 * manual/stdio.texi: Likewise.
3334 * manual/terminal.texi: Likewise.
3335 * manual/examples/rprintf.c: Likewise.
3336 * manual/examples/testopt.c: Likewise.
3337 Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
3339 1998-03-19 20:45 Tim Waugh <tim@cyberelk.demon.co.uk>
3341 * posix/wordexp.c (parse_param): Don't immediately stop parsing a
3342 parameter name after seeing a digit if it's enclosed in braces.
3344 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
3346 * sysdeps/i386/i686/Implies: Add libm-i387/i686.
3348 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3350 * manual/memory.texi (Heap Consistency Checking): Document
3351 MALLOC_CHECK_. Based on a text by Wolfram Gloger.
3353 1998-03-18 17:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
3355 * manual/Makefile: Add missing rules.
3357 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
3359 * timezone/Makefile (generated): Define to remove all stamp files.
3361 * sysdeps/generic/strsep.c: Also undefine __strsep.
3363 * string/strdup.c: Undefine __strdup and strdup first.
3364 * string/strndup.c: Likewise.
3366 * string/bits/string2.h: Correct strtok_r and strsep.
3367 Add strndup optimization.
3369 * sysdeps/generic/strsep.c: Little optimization.
3371 1998-03-18 14:25 Ulrich Drepper <drepper@cygnus.com>
3373 * string/bits/string2.h: Add optimization for strdup.
3374 Always define __strsep and __strtok_r and make real names available
3375 when feature select macros are defined.
3377 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3379 * manual/install.texi (Installation): Use i486-linux as example
3380 instead of the unsupported sunos4.
3381 (Reporting Bugs): Mention glibcbug script.
3382 (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
3384 1998-03-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3386 * posix/wordexp-tst.sh: Make portable. Add more tests.
3388 * posix/Makefile (do-globtest do-wordexp-test): New targets.
3390 1998-03-18 13:38 Ulrich Drepper <drepper@cygnus.com>
3392 * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
3393 * sysdeps/generic/libc-start.c: ...here, replacing former content.
3395 * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
3398 * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
3400 1998-03-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3402 * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
3403 in enumerator for strict standard compliance.
3404 * sysdeps/generic/bits/resource.h: Likewise.
3406 1998-03-18 10:04 Philip Blundell <pb@nexus.co.uk>
3408 * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
3409 (PLTJMP): New macro.
3411 * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
3412 longjmp() when floating point enabled.
3413 * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
3414 * sysdeps/arm/__longjmp.S: Remove floating point code.
3415 * sysdeps/arm/setjmp.S: Likewise.
3417 * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
3418 * sysdeps/arm/bsd-_setjmp.S: Likewise.
3420 * sysdeps/arm/memset.S: New file; optimised ARM implementation of
3423 * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
3426 1998-03-17 16:16 Philip Blundell <pb@nexus.co.uk>
3428 Based on patches from Pat Beirne and Scott Bambrough:
3430 * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
3432 * sysdeps/arm/bits/fenv.h: New file.
3434 * sysdeps/arm/dl-machine.h: New file. Add ELF support.
3435 * sysdeps/arm/elf/setjmp.S: Likewise.
3436 * sysdeps/arm/elf/start.S: Likewise.
3437 * sysdeps/arm/init-first.c: Likewise.
3438 * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
3439 * sysdeps/arm/sysdep.h: Change format of .type directive. Correct
3440 comment about floating point to reflect current reality.
3442 * sysdeps/unix/arm/brk.S: Support PIC.
3443 * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
3445 * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
3446 return; call syscall_error through PLT.
3447 * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
3449 1998-03-04 12:01 Philip Blundell <pb@nexus.co.uk>
3451 * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
3452 * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
3453 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
3455 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
3457 * dirent/list.c (test): Return error value.
3458 (main): Exit with error value.
3460 * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
3462 * Makefile (distribute): Add test-skeleton.c.
3463 * test-skeleton.c: New file.
3464 * dirent/Makefile (tests): Add opendir-tst1.
3465 * dirent/opendir-tst1.c: New file.
3467 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
3469 * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
3470 Optimize memory handling.
3471 * sysdeps/unix/closedir.c: Optmize memory handling.
3473 1998-03-17 Ulrich Drepper <drepper@cygnus.com>
3475 * posix/wordexp.c (parse_param): Fix off-by-on error in $@
3476 handling. Optimize a bit.
3478 1998-03-18 00:25 Tim Waugh <tim@cyberelk.demon.co.uk>
3480 * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
3481 (parse_param): Fold in Andreas' fixes to do with when the end of
3482 the parameter name has been reached, and quoting inside ${...}.
3483 (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
3486 1998-03-16 22:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
3488 * manual/maint.texi: Split out installation and contribution
3489 sections to their own appendices. Misc cleanups.
3490 * manual/install.texi: New file. Mention add-ons. Refer to FAQ.
3491 * manual/contrib.texi: New file.
3492 * manual/libc.texinfo: Pull in new appendices.
3493 * manual/header.texi: Correct node pointer.
3495 1998-03-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3497 * manual/process.texi (Process Completion): Clarify return value
3498 of waitpid a bit. Patch by Zack Weinberg. [PR libc/490]
3500 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3502 * posix/wordexp-test.c: Add more tests.
3503 (testit): Fix logic.
3505 * posix/wordexp.c (exec_comm): In the child, redirect stderr to
3506 /dev/null instead of closing it, close pipe. Always chop off all
3507 trailing newlines. Kill and reap child before returning error.
3508 (w_addword, parse_glob): Fix memory leak.
3509 (wordexp): Fix dangling pointer problem.
3511 1998-03-16 Ulrich Drepper <drepper@cygnus.com>
3513 * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
3515 * posix/wordexp-test.c (main): Fix little thinkos and typos.
3517 * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
3518 directory index by only the language.
3520 1998-03-16 13:02 Tim Waugh <tim@cyberelk.demon.co.uk>
3522 * posix/wordexp-tst.sh: Store test results in the
3523 ${common_objpfx}posix directory.
3525 * posix/wordexp-test.c: Remove temporary directory afterwards.
3527 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3529 * libc.map: Export internal versions of cancelable functions.
3531 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3533 * Makerules (MAKEFLAGS): Append `r'.
3535 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3537 * Makeconfig: Define have-thread-library, shared-thread-library
3538 and static-thread-library if a thread library is available. Don't
3540 * nscd/Makefile: Compile nscd if have-thread-library. Rename
3541 nscd-routines to nscd-modules. Use shared-thread-library and
3542 static-thread-library in dependencies.
3543 * rt/Makefile: Only compile librt if have-thread-library is
3545 * Makefile (subdirs): Always include rt subdir.
3547 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3549 * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
3551 1998-03-14 21:55 Ulrich Drepper <drepper@cygnus.com>
3553 * configure.in: Recognize variations for 32 MIPS processors.
3554 Don't assume ELF systems always have .weak, test for .weakext.
3556 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
3558 * configure.in: Irix6 is an ELF platform.
3560 1998-03-14 11:47 H.J. Lu <hjl@gnu.org>
3562 * elf/dl-close.c (_dl_close): Stop unmapping the segments after
3563 unmapping the last loaded segment.
3565 1998-03-14 15:54 Ulrich Drepper <drepper@cygnus.com>
3567 * configure.in: Set base_os for Irix6.
3568 Correct test for .weakext.
3570 1998-03-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3572 * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
3573 (new_line) to _dl_debug_message call.
3575 1998-03-14 00:52 Tim Waugh <tim@cyberelk.demon.co.uk>
3577 * posix/wordexp.c (parse_param): Perform field-splitting after
3578 expanding positional parameter.
3580 * posix/wordexp-tst.sh: Test that field-splitting is performed
3581 after expanding positional parameter.
3583 * posix/wordexp.c (parse_param): Fixed memory leak in
3584 field-splitting after parameter expansion.
3586 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
3588 * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
3589 (get_toplvl_escape): Correctly terminate loop at EOF.
3590 Patch by Cristian Gafton <gafton@redhat.com>.
3592 1998-03-13 16:55 Ulrich Drepper <drepper@cygnus.com>
3594 * string/tester.c (test_strpbrk): Add more strpbrk tests.
3595 (test_strsep): Likewise. Correct horrible bugs.
3597 * string/bits/string2.h (strcspn): Optimize also reject string of
3600 (strpbrk): Likewise.
3601 (strsep): Likewise. Correct bug with successive separators and
3602 separators at the end of the string.
3603 * sysdeps/generic/strsep.c: Correct bug with successive separators
3604 and separators at the end of the string.
3606 1998-03-13 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
3608 * posix/wordexp.c (parse_param): Positional parameters ($1, $2
3609 etc) now handled, as well as $$ (pid).
3611 * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
3612 (distribute): Add wordexp-tst.sh.
3614 * posix/wordexp-tst.sh: New file.
3616 * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
3617 number of positional parameters. Renamed substitute_length to
3619 Don't free(env) is env is NULL.
3621 1998-03-13 16:50 Ulrich Drepper <drepper@cygnus.com>
3623 * libc.map: Add pthread_attr_init to GLIBC_2.1.
3625 1998-03-13 15:01 Ulrich Drepper <drepper@cygnus.com>
3627 * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
3628 for output file replacing gmon.out.
3629 Patch by Dean Gaudet <dgaudet@arctic.org>.
3631 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3633 * elf/dl-misc.c (_dl_debug_message): Fix printing of pid. Clean
3634 up namespace. Optimize finding end of line.
3636 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3638 * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
3639 securely. Optimized.
3640 (process_dl_debug): Add ':' to list of separators. Optimized.
3642 1998-03-13 10:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3644 * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
3645 isless, islessequal, islessgreater, isunordered): Return zero or
3648 1998-03-12 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
3650 * posix/wordexp-test.c: More tests.
3651 (main): Set up arena for pathname expansion tests (in a temporary
3653 (testit): Don't check word count or word vector if return value is
3656 * posix/wordexp.c (exec_comm): Always chop off terminating
3657 linefeed (just like bash does).
3658 (parse_param): Change lots of occurrences of "if (!*env)" to "if
3660 (parse_param): For assignment inside parameter expansion, use all
3661 expanded words in assignment rather than just the first.
3662 (parse_param): Corrected return value for parameter expansion of
3663 an unset variable when WRDE_UNDEF is in effect.
3664 (parse_dollars): Don't field-split if quoted.
3665 (wordexp): Opening brace character isn't allowed unquoted.
3667 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
3669 * elf/dlerror.c: Fix concurrency problems with error string and
3672 * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
3673 filter/auxiliary are being loaded.
3675 1998-03-12 14:24 Ulrich Drepper <drepper@cygnus.com>
3677 * elf/dlerror.c (last_object_name): Removed.
3678 (dlerror): Don't use last_object_name.
3679 (_dl_error_run): Omit second argument to _dl_catch_error.
3680 * elf/dl-error.c (struct catch): Remove objname member.
3681 (_dl_signal_error): Construct string including objname when given.
3682 (_dl_catch_error): Remove objname handling.
3683 * elf/link.h (_dl_catch_error): Fix prototype and comment.
3684 * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
3685 * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
3686 * nss/nsswitch.c (nss_dlerror_run): Likewise.
3687 * iconv/gconv_dl.c (dlerror_run): Likewise.
3688 [Corrects PR libc/501].
3690 1998-03-12 Matthias Urlichs <smurf@noris.de>
3692 * nscd/nscd.c: Ignore SIGPIPE.
3694 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
3696 * nscd/nscd_getgr_r.c: Use __ protected names.
3697 * nscd/nscd_getpw_r.c: Likewise.
3699 1998-03-12 Matthias Urlichs <smurf@noris.de>
3701 * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
3702 * nscd/nscd_getpw_r.c: Fix length calculation in result check,
3703 null bytes are not transmitted.
3705 1998-03-12 00:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3707 * powerpc/syscalls.list: Correct typo.
3708 * alpha/syscalls.list: Likewise.
3709 * mips/syscalls.list: Likewise.
3711 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
3713 * socket/sys/socket.h: Add prototype for __socket.
3715 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
3717 * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
3719 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
3722 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
3724 * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
3727 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
3728 AF_* and PF_* constants.
3730 * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
3732 1998-03-11 15:27 Ulrich Drepper <drepper@cygnus.com>
3734 * elf/rtld.c: Update help message.
3735 Install link maps for preloaded objects using main_map as loader.
3737 * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
3738 * elf/dl-profile.c: Likewise.
3740 * elf/dlsym.c: Little optimization.
3741 * elf/dlvsym.c: Likewise.
3743 1998-03-11 14:56 Ulrich Drepper <drepper@cygnus.com>
3745 * posix/wordexp-test.c: Move test for parameter list at the very
3748 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
3750 * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
3751 WRDE_REUSE flag is set.
3752 (parse_param): Allow `*', `@', and numbers in parameter names.
3753 (parse_dollars): Differentiate between arithmetic expansion and a
3754 command substitution that starts immediately with a sub-shell
3755 (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
3756 (parse_param): Memory allocated with __alloca in a block was
3757 referenced outside that block. Adjusted to use malloc/free.
3758 (parse_param): Adjusted field-splitting algorithm so that there is
3759 not necessarily a field split at the end of a parameter expansion.
3761 1998-03-10 19:52 Tim Waugh <tim@cyberelk.demon.co.uk>
3763 * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
3764 don't free words that have already been allocated.
3765 (parse_param): A dollar sign on its own will never have a pattern
3766 associated with it (like "${HOME%%/}" has), so don't try to free it.
3767 (parse_glob): Attempt to glob when an unquoted `[' is found
3768 (rather than an unquoted '{' (!)). Also for unquoted '?'.
3769 (parse_glob): Sorted out quoting in a glob-able word.
3770 (parse_param): Added $* and $@ handling.
3772 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
3774 * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
3777 1998-03-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3779 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
3782 1998-03-12 Matthias Urlichs <smurf@noris.de>
3784 * elf/dl-misc.c: Default for debug output should be stderr.
3785 * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
3786 * elf/dl-lookup.c: reference_name may be NULL or empty.
3788 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3790 * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
3792 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
3794 * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
3796 * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
3798 1998-03-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3800 * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
3801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
3803 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3805 * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
3808 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
3810 * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
3813 * misc/syslog.c (vsyslog): Don't try to send if not connected to
3815 (closelog_internal): Don't do anything if not connected.
3817 1998-03-10 17:54 Ulrich Drepper <drepper@cygnus.com>
3819 * libc.map: Add _dl_debug_message.
3820 * elf/dl-misc.c: Make _dl_debug_message a function. Print the PID
3822 * elf/fini.c: Correctly use new _dl_debug_message function.
3823 * elf/init.c: Likewise.
3824 * elf/dl-lookup.c: Likewise.
3825 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
3826 * elf/dl-load.c: Likewise. Add more debugging prints.
3827 * elf/dl-reloc.c: Likewise.
3828 * elf/dl-version.c: Likewise.
3829 * elf/dl-support.c: Add variables for debugging.
3830 * elf/rtld.c: Likewise. Recognize new debug options.
3831 * elf/link.h: Declare new variables.
3833 * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
3835 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
3837 * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
3838 kernel headers. Patch by a sun <asun@saul7.u.washington.edu>.
3840 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
3842 * posix/wordexp-test.c (command_line_test): New function to allow
3843 testing of specific cases from the command-line.
3845 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
3847 * elf/dl-init.c (_dl_init_next): Print nicer messages.
3848 * elf/dl-fini.c (_dl_fini): Likewise.
3849 * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
3851 * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
3852 symbol in debug message.
3853 (_dl_lookup_versioned_symbol_skip): Likewise.
3855 1998-03-10 19:43 Matthias Urlichs <urlichs@noris.de>
3857 * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
3858 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
3859 * manual/filesys/texi: Document this.
3861 1998-03-10 10:49 Ulrich Drepper <drepper@cygnus.com>
3863 * manual/filesys.texi: Document the change below.
3865 1998-03-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3867 * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
3868 Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
3870 1998-03-10 00:10 Ulrich Drepper <drepper@cygnus.com>
3872 * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
3873 instead scope. If debugging display information about symbol
3875 (_dl_lookup_symbol): Call do_lookup with correct parameters.
3876 (_dl_lookup_symbol_skip): Likewise.
3877 (_dl_lookup_versioned_symbol): Likewise.
3878 (_dl_lookup_versioned_symbol_skip): Likewise.
3879 * elf/dl-support.c: Define _dl_debug_symbols.
3880 * elf/link.h: Add declaration for _dl_debug_symbols.
3881 * elf/rtld.c: Define _dl_debug_symbols.
3882 (process_dl_debug): Recognize symbols option.
3884 1998-03-09 23:36 Ulrich Drepper <drepper@cygnus.com>
3886 * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
3888 * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
3889 with correct parameters.
3890 [!PIC]: Initialize __libc_multiple_libcs.
3892 1998-03-09 18:21 Ulrich Drepper <drepper@cygnus.com>
3894 * elf/dl-support.c (_dl_debug_bindings): Add definition.
3895 * elf/rtld.c (_dl_debug_bindings): Add definition.
3896 (process_dl_debug): Recognize bindings option. Update help message.
3897 * elf/link.h (struct link_map): Add l_versyms member.
3898 (_dl_debug_bindings): Add declaration.
3899 * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
3900 * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
3902 * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
3903 (sym_val): Remove a member, add m as link_map.
3904 (do_lookup): Return result appropriately.
3905 (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
3906 Call do_lookup correctly.
3907 (_dl_lookup_symbol_skip): Likewise.
3908 (_dl_lookup_versioned_symbol): Likewise.
3909 (_dl_lookup_versioned_symbol_skip): Likewise.
3911 1998-03-09 08:21 Ulrich Drepper <drepper@cygnus.com>
3913 * sysdeps/unix/sysv/linux/chown.c: Moved to ...
3914 * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
3916 * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
3917 * libc.map: Add chown to GLIBC_2.1.
3918 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
3919 * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
3921 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3923 * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
3925 * sysdeps/alpha/ffs.c: Likewise.
3926 * sysdeps/am29k/ffs.c: Likewise.
3927 * sysdeps/i386/ffs.c: Likewise.
3928 * sysdeps/i960/ffs.c: Likewise.
3929 * sysdeps/m68k/ffs.c: Likewise.
3930 * sysdeps/m88k/ffs.c: Likewise.
3931 * sysdeps/powerpc/ffs.c: Likewise.
3932 * sysdeps/rs6000/ffs.c: Likewise.
3933 * sysdeps/vax/ffs.s: Likewise.
3934 * string/string.h: Declare __ffs.
3935 * libc.map: Export it.
3936 * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
3937 __builtin_ffs, which is not guaranteed to be namespace clean.
3939 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3941 * elf/sprof.c: Rewrite symbol handling to use the normal symbol
3942 table, which is much more likely to exist than debugging symbols.
3943 (printsym): Remove const.
3944 (load_shobj): Don't use _dl_pagesize. Fix mapping of section
3947 * libc.map: Export __profile_frequency, used by elf/sprof, to
3948 avoid infinite recursion during startup.
3950 1998-03-09 12:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3952 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
3955 * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
3957 1998-03-09 Ulrich Drepper <drepper@cygnus.com>
3959 * elf/dl-support.c: Add definition of _dl_debug_impcalls.
3961 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
3963 * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
3964 LD_PRELOAD, and LD_VERBOSE.
3965 (dl_main): Use global variables set by process_envvars instead of
3967 * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
3968 LD_LIBRARY_PATH value, this comes with the parameter.
3969 * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
3970 ("LD_LIBRARY_PATH") to _dl_init_paths.
3972 1998-03-08 22:55 Ulrich Drepper <drepper@cygnus.com>
3974 * elf/rtld.c (dl_main): Delay initialization of path structure if
3975 the dynamically linker is invoked implicitly until we read the
3978 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
3980 * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
3982 1998-03-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3984 * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
3987 * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
3989 1998-03-08 14:58 Ulrich Drepper <drepper@cygnus.com>
3991 * Makeconfig (nisobjdir): Set to path to nis directory.
3992 (rpath-link): Add nisobjdir.
3993 Patch by Sven Verdoolaege <skimo@kotnet.org>.
3995 * elf/Makefile: Pretty print.
3996 * elf/dl-lookup.c: Include unistd.h.
3997 * elf/dl-runtime.c: Likewise.
3999 * localedata/Makefile (test-srcs): Add tst-rpmatch.
4000 (distribute): Add tst-rpmatch.sh.
4001 (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
4003 New tests for rpmatch function by
4004 Jochen Hein <jochen.hein@delphi.central.de>.
4005 * localedata/tst-rpmatch.c: New file.
4006 * localedata/tst-rpmatch.sh: New file.
4008 * localedata/locales/de_DE: Correct yesexpr and noexpr.
4009 * localedata/locales/de_AT: Likewise.
4011 * posix/getopt.c: Update contact address.
4012 * posix/getopt1.c: Pretty print.
4014 * sysdeps/generic/libc-start.c: Do most of the initialization now
4015 here instead of in start.S.
4016 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
4017 * sysdeps/i386/elf/start.S: Remove most of the initialization code.
4019 * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
4020 profil_counter to be public.
4022 1998-03-08 13:06 Tim Waugh <tim@cyberelk.demon.co.uk>
4024 * posix/wordexp.c (parse_arith): Now works for negative numbers too.
4025 (parse_param): Coded parameter length expansion (${#var}).
4026 (parse_param): Handling for "=", "+", "-", and the ":" versions added.
4027 (parse_param): Cleaned up (fixed) error handling.
4029 * posix/wordexp-test.c: IFS now includes non-whitespace character
4030 (comma). Added more tests.
4032 1998-03-07 Ulrich Drepper <drepper@cygnus.com>
4034 * elf/link.h: Fix typos.
4035 Reported by Andreas Jaeger.
4037 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
4038 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
4040 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
4042 * argp/argp-help.c: Remove last bits of using gettext instead of
4045 1998-03-06 17:04 Ulrich Drepper <drepper@cygnus.com>
4047 * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
4049 * csu/Makefile (routines): Add libc-start.
4050 * elf/dl-error.c: Remove declaration of _dl_argv. Include <unitsd.h>.
4051 * elf/dl-lookup.c: Likewise.
4052 * elf/dl-version.c: Likewise.
4053 * sysdeps/i386/dl-machine.h: Likewise.
4054 * elf/link.h: Declare _dl_argv, _dl_debug_fd.
4055 Declare _dl_sysdep_output. Make _dl_sysdep_fatal, _dl_sysdep_error and
4056 _dl_sysdep_message macros which use _dl_sysdep_output.
4057 * elf/dl-fini.c: Write out which destructor is called while debugging.
4058 * elf/dl-init.c: Likewise for constructor.
4059 * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
4060 * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
4061 _dl_sysdep_message. Add _dl_sysdep_output.
4062 * elf/rtld.c: Recognize LD_DEBUG_OUTPUT. Set _dl_debug_fd if
4063 this file can be opened.
4064 For LD_DEBUG=libs also set _dl_debug_impcalls.
4065 * sysdeps/generic/dl-cache.c: Include unistd.h.
4066 * sysdeps/generic/libc-start.c: New file.
4067 * sysdeps/unix/sysv/linux/libc-start.c: New file.
4068 * sysdeps/i386/elf/start.S: Don't call main directly, call
4069 __libc_start_main instead.
4071 * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
4073 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
4075 * nss/nsswitch.c (__nss_nscd_not_available): Removed.
4077 1998-03-06 12:42 Ulrich Drepper <drepper@cygnus.com>
4079 * argp/argp.h (struct argp): Add new field domain.
4080 * argp/argp-help.c: Change all gettext calls to dgettext and use
4081 domain field from appropriate argp in call.
4082 * argp/argp-parse.c: Likewise.
4084 1998-03-06 11:35 Ulrich Drepper <drepper@cygnus.com>
4086 * posix/wordexp-test.c: Change testsuite so that it can run even
4089 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4091 * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
4093 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4095 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4096 Don't store into global errno if we already store through
4098 * sysdeps/unix/i386/sysdep.S: Likewise.
4099 * sysdeps/unix/alpha/sysdep.S: Likewise.
4100 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4101 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
4102 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. Add
4103 missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
4106 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4108 * sysdeps/generic/sysdep.h (L): Remove definition.
4109 * sysdeps/i386/sysdep.h (L): Define it here instead.
4111 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4113 * nis/nis_call.c (__do_niscall): Safe and reset errno.
4115 * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
4117 1998-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4119 * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
4120 declaration style to avoid warnings.
4122 1998-03-06 11:48 Mark M._Kettenis <kettenis@hall.phys.uva.nl>
4124 * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
4127 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
4129 * posix/Makefile (tests): Add wordexp-test.
4130 * posix/wordexp-test.c: New file. Testsuite for wrodexp.
4131 Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
4133 1998-03-05 16:04 Ulrich Drepper <drepper@cygnus.com>
4135 * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
4138 * elf/link.h (struct r_search_path_elem): Add two new field for
4140 * elf/rtld.c: Recognize LD_DEBUG environment variable and set
4141 variable accordingly.
4142 * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
4143 is considered next along with information about load paths.
4144 * sysdeps/generic/dl-cache.c: Likewise.
4145 * elf/dl-support.c: Define _dl_debug_libs.
4146 * elf/genrtldtbl.awk: Add initializers for two new field in
4147 struct r_search_path_elem.
4149 1998-03-06 10:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4151 * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
4152 * sysdeps/m68k/lshift.S: Likewise.
4153 * sysdeps/m68k/rshift.S: Likewise.
4154 * sysdeps/m68k/sub_n.S: Likewise.
4155 * sysdeps/m68k/m68020/addmul_1.S: Likewise.
4156 * sysdeps/m68k/m68020/mul_1.S: Likewise.
4157 * sysdeps/m68k/m68020/submul_1.S: Likewise.
4159 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
4160 [_LIBC_REENTRANT]: Don't store into global errno.
4162 * sysdeps/m68k/sysdep.h: New file.
4163 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it. Use the macros
4164 ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
4165 (DO_CALL): Change to expect syscall name as argument.
4166 (PSEUDO): Pass syscall_name to DO_CALL.
4167 (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
4170 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
4172 * elf/rtld.c: Speed up processing of environment variables. Do
4173 only one run on the environment by avoiding to call getenv.
4174 * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
4175 function. Used by patch above.
4177 1998-03-05 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4179 * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
4181 * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
4182 * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
4183 * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
4185 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
4187 * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
4188 module cannot be found. Reported by Andreas Jaeger.
4190 1998-03-05 11:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4192 * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
4193 on platforms which default to unsigned chars.
4194 * nscd/nscd_getpw_r.c: Likewise.
4195 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
4198 1998-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4200 * elf/Makefile (install-bin): Change = to += for sprof to install
4203 1998-03-04 16:12 H.J. Lu <hjl@gnu.org>
4205 * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
4207 1998-03-04 16:19 Ulrich Drepper <drepper@cygnus.com>
4209 * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
4211 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4213 * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
4214 that a failure to connect to nscd doesn't change errno.
4216 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4218 * manual/maint.texi (Reporting Bugs): Change
4219 bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
4221 * locale/iso-4217.def: Likewise
4223 1998-03-04 12:43 Ulrich Drepper <drepper@cygnus.com>
4225 * manual/texinfo.tex: Updated.
4227 1998-03-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4229 * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
4231 * sysdeps/posix/pathconf.c: Likewise.
4232 * posix/getconf.c: Print `undefined' if pathconf returns -1
4233 without setting errno.
4235 1998-03-04 Ulrich Drepper <drepper@cygnus.com>
4237 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
4239 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
4240 Patches by Elliot Lee <sopwith@cuc.edu>.
4242 1998-03-04 09:43 Ulrich Drepper <drepper@cygnus.com>
4244 * elf/link.h (struct link_map): Add new field l_reloc_result.
4245 * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
4246 of relocation for the object to be profiled.
4247 * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
4249 * elf/rtld.c (_dl_start): Add comment that we must not allocate an
4251 * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
4252 contains a result from a previous run use this instead of computing
4254 * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
4256 1998-03-04 11:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4258 * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
4259 offsets into the GOT.
4260 (RTLD_START): Likewise.
4262 1998-03-03 17:55 Ulrich Drepper <drepper@cygnus.com>
4264 * elf/sprof.c: Cleanup a bit.
4266 1998-03-03 08:01 H.J. Lu <hjl@gnu.org>
4268 * sysdeps/generic/sysdep.h (L): New. Define.
4270 * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
4272 * sysdeps/i386/i586/addmul_1.S: Fix a typo.
4274 * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
4275 to have only one exit point for functions.
4276 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4277 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
4278 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
4279 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4280 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
4282 1998-03-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4284 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
4285 reset errno so that errno isn't set to ENOSYS in the first call.
4286 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
4287 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4288 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
4289 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
4291 1998-03-02 17:55 Ulrich Drepper <drepper@cygnus.com>
4293 * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
4294 * sysdeps/i386/addmul_1.S: Likewise.
4295 * sysdeps/i386/lshift.S: Likewise.
4296 * sysdeps/i386/mul_1.S: Likewise.
4297 * sysdeps/i386/rshift.S: Likewise.
4298 * sysdeps/i386/sub_n.S: Likewise.
4299 * sysdeps/i386/submul_1.S: Likewise.
4300 * sysdeps/i386/i586/add_n.S: Likewise.
4301 * sysdeps/i386/i586/addmul_1.S: Likewise.
4302 * sysdeps/i386/i586/lshift.S: Likewise.
4303 * sysdeps/i386/i586/mul_1.S: Likewise.
4304 * sysdeps/i386/i586/rshift.S: Likewise.
4305 * sysdeps/i386/i586/sub_n.S: Likewise.
4306 * sysdeps/i386/i586/submul_1.S: Likewise.
4308 * sysdeps/i386/sysdep.h: Extend last change.
4310 * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
4311 to have only one exit point for functions.
4313 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
4315 * configure.in: Fix msgfmt test. Fix handling of //s in sysdeps
4318 1998-03-02 13:28 Ulrich Drepper <drepper@cygnus.com>
4320 * Makerules: Generate libc.so with absolute paths for the used
4323 * config.make.in: Add MAKEINFO definition.
4325 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
4327 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
4328 (ENTRY): Use STABS_FUN.
4329 (END): Use STABS_FUN_END.
4330 (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
4332 * elf/Makefile: Add rules to build sprof program.
4333 * elf/sprof.c: New file.
4335 1998-02-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4337 * misc/syslog.c (openlog_internal): Insert missing closing brace.
4339 1998-02-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4341 * configure.in: Check for working msgfmt version (from GNU gettext
4344 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
4346 * configure.in: Avoid //s in sysdirs.
4347 Patch by Roland McGrath.
4349 * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
4351 1998-03-02 07:17 H.J. Lu <hjl@gnu.org>
4353 * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
4354 setting _dl_global_scope for RTLD_GLOBAL.
4356 1998-02-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4358 * sysdeps/unix/make-syscalls.sh: Fix last change so that all
4359 possible lists of object-suffixes are taken care of.
4361 1998-03-02 10:16 Ulrich Drepper <drepper@cygnus.com>
4363 * timezone/private.h: Update from tzcode1998c.
4364 * timezone/zic.c: Likewise.
4365 * timezone/antarctica: Updated from tzdata1998c.
4366 * timezone/asia: Likewise.
4367 * timezone/australasia: Likewise.
4368 * timezone/europe: Likewise.
4369 * timezone/southamerica: Likewise.
4371 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
4373 * posix/glob.c (glob_in_dir): Add support for cases insensitive
4374 VMS. Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
4376 1998-03-01 19:05 H.J. Lu (hjl@gnu.org)
4378 * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
4379 Changed type of TWO43, TWO52 from float to double.
4380 * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
4381 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
4382 Changed type of TWO43 from float to double.
4383 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
4386 1998-03-01 18:52 H.J. Lu (hjl@gnu.org)
4388 * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
4389 osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
4390 osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
4392 1998-03-01 09:11 Richard Henderson <rth@cygnus.com>
4394 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
4396 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
4397 Clean up random whitespace.
4398 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
4399 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
4400 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
4401 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
4403 1998-03-01 08:31 Richard Henderson <rth@cygnus.com>
4405 * shlib-versions: Match alpha*.
4406 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
4407 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
4409 * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
4410 Implement copysign* with and without __ prefix.
4411 Likewise for fabs; use builtin for gcc 2.8.
4415 * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
4416 (R_SPARC*): Match current v9 ABI.
4418 * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
4420 * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
4421 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4422 * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
4423 * sysdeps/generic/getresgid.c: Use prototype form because of warning.
4424 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4425 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
4426 * sysdeps/unix/grantpt.c (argv): Fix consts.
4427 * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
4428 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4430 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
4432 * misc/syslog.c: Change to allow user the interpretation of the
4433 outcome even with syslog having no return value.
4435 1998-02-05 20:41 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
4437 * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
4438 that the number of program headers is >0 (which is wrong for the
4441 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
4443 * Makefile (distribute): Add README.libm.
4445 1998-02-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4447 * time/clocktest.c (main): Correct typo: "--" -> "==".
4449 1998-02-25 20:53 H.J. Lu <hjl@gnu.org>
4451 * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
4453 (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
4456 * math/libm.map (__atan2): Added.
4458 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
4460 * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
4461 Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
4463 * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
4466 1998-02-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4468 * manual/arith.texi (Old-style number conversion): Correct
4469 typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
4471 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
4473 * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
4474 but does not require it. Handle missing argv[] values gracefully.
4475 * posix/execl.c: Likewise.
4476 * posix/execle.c: Likewise.
4478 1998-02-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4480 * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
4482 * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
4484 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
4486 * libc.map: Add __adjtimex.
4488 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4490 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
4493 1998-02-24 08:10 H.J. Lu <hjl@gnu.org>
4495 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
4498 * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
4500 * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
4501 * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
4503 * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
4506 * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
4508 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
4509 Added adjtimex and old_adjtimex.
4511 * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
4513 (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
4514 osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
4516 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
4517 symbols only for shared library.
4518 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
4519 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
4520 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
4521 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
4522 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
4523 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
4524 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
4526 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
4527 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
4528 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
4529 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
4530 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
4531 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
4532 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
4533 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
4535 * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
4538 * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
4540 (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
4541 timex and __adjtimex, respectively.
4543 * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
4545 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
4547 1998-02-25 08:28 H.J. Lu <hjl@gnu.org>
4549 * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
4550 for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
4552 1998-02-26 14:59 Ulrich Drepper <drepper@cygnus.com>
4554 * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
4556 1998-02-19 11:00 Zack Weinberg <zack@rabi.phys.columbia.edu>
4558 * Makefile.in: Disable built-in rules.
4560 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4562 * sysdeps/i386/fpu/t_exp.c: Move to ...
4563 * sysdeps/libm-i387/t_exp.c: ... here.
4565 1998-02-21 13:51 H.J. Lu <hjl@gnu.org>
4567 * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
4568 from __exp2_deltatable.
4570 1998-02-26 Ulrich Drepper <drepper@cygnus.com>
4572 * nis/ypclnt.c (yp_master): Check result of strdup.
4573 Patch by Thorsten Kukuk.
4575 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4577 * nis/ypclnt.c: Give clnt handle after error checking free, change
4578 return codes to fix problems with rpc.nisd in YP mode on Ultra's.
4580 1998-02-26 09:00 Ulrich Drepper <drepper@cygnus.com>
4582 * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
4583 Patch by Joe Keane <jgk@jgk.org>.
4585 * misc/fstab.h (struct fstab): Change fs_type member to be const.
4586 * misc/fstab.c: Remove casts in fs_type assignments.
4588 1998-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4590 * sysdeps/i386/fpu/bits/fenv.h: Correct typo. ISO C 9X defines
4591 FE_TOWARDZERO and not FE_TOWARDSZERO. Reported by H.J. Lu.
4592 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
4593 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
4594 * sysdeps/powerpc/bits/fenv.h: Likewise.
4595 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
4596 * sysdeps/generic/bits/fenv.h: Likewise.
4597 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
4598 * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
4599 * sysdeps/powerpc/test-arith.c (main): Likewise.
4601 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
4603 * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
4604 the comparison macros.
4606 1998-02-21 20:14 H.J. Lu <hjl@gnu.org>
4608 * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
4609 (__log2): Fixed return values.
4610 * sysdeps/libm-ieee754/s_log2f.c: Likewise.
4612 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
4614 * math/math.h (isunordered): Rename local variables to ensure
4615 correct code. Reported by HJ Lu.
4617 1998-02-25 10:34 Ulrich Drepper <drepper@cygnus.com>
4619 * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
4620 isless, islessequal, islessgreater, isunordered): Fix syntax for
4621 fucompip instruction.
4622 (isless, islessequal): Fix logic.
4624 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4626 * math/libm-test.c (sqrt_test): Add test for sqrt(2).
4627 (comparisons_test): New tests for comparison macros.
4629 1998-02-24 15:12 Ulrich Drepper <drepper@cygnus.com>
4631 * Makeconfig: Filter out frame-pointer effecting options when
4632 compiling profiling or debugging code.
4633 * config.h.in (internal_function): Don't define here if PROF is
4635 * gmon/gmon.c (__moncontrol): Don't change state if already in error
4637 (__monstartup): If calloc fails set error state and mark array as
4639 (_mcleanup): Don't call write_gmon if in error state. Don't try
4640 to free array if not successfully allocated.
4642 * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
4643 Include elf.h to get macro definitions.
4644 Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
4646 1998-02-24 09:40 Ulrich Drepper <drepper@cygnus.com>
4648 * elf/ldd.sh.in: Add compatibility for broken old shells.
4649 * elf/ldd.bash.in: Likewise.
4651 1998-02-24 08:11 H.J. Lu <hjl@gnu.org>
4653 * sunrpc/rpc_main.c (open_input): Check pipe return error.
4655 * time/clocktest.c (main): Check signal return error.
4657 1998-02-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4659 * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
4660 "/" and use do-install-program. Reported by Mark M. Kettenis.
4661 (subdir_install): Likewise.
4663 1998-02-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4665 * sunrpc/rpc_sample.c: Fix typo.
4667 * nscd/connections.c: Use locale.
4668 * nscd/grpcache.c: Add debug messages, gidtbl should get the
4670 * nscd/nscd.c: Check if init functions fails.
4671 * nscd/nscd_conf.c: Allow disabling of group cache.
4672 * nscd/nscd_getgr_r.c: Fix return code if group not found.
4673 * nscd/pwdcache.c: Fix debug messages.
4675 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4677 * libc.map: Add __monstartup and _mcleanup for profiling support.
4679 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4681 * libc.map: Export __getpagesize, for binary compatibility with
4684 1998-02-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4686 * posix/globtest.sh: Use --library-path instead of
4688 * localedata/sort-test.sh: Likewise.
4689 * localedata/tst-fmon.sh: Likewise. Avoid useless use of cat.
4691 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4693 * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
4694 sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
4695 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4697 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
4698 kernel_sigaction): Define.
4699 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
4700 kernel_sigaction): Define.
4702 1998-02-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4704 * math/libm-test.c: Change epsilons for libm-ieee754.
4706 1998-02-23 12:33 Ulrich Drepper <drepper@cygnus.com>
4708 * sysdeps/i386/__longjmp.S: Fix race condition.
4709 Reported by Bruno Haible <haible@ilog.fr>.
4711 1998-02-20 18:43 Ulrich Drepper <drepper@cygnus.com>
4713 * hesiod/hesiod.c: Pretty print. Don't use __ protected names.
4714 * iconvdata/8bit-gap.c: Likewise.
4715 * iconvdata/8bit-generic.c: Likewise.
4716 * iconvdata/iso6937.c: Likewise.
4717 * iconvdata/iso8859-1.c: Likewise.
4718 * iconvdata/sjis.c: Likewise.
4719 * iconvdata/t61.c: Likewise.
4721 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4723 * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
4724 feature tests by positive feature tests.
4726 1998-02-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4728 * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
4730 1998-02-20 Ulrich Drepper <drepper@cygnus.com>
4732 * elf/dlvsym.c (dlvsym_doit): More corrections.
4733 Patch by Andreas Jaeger.
4735 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
4737 * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
4739 1998-02-19 17:16 Ulrich Drepper <drepper@cygnus.com>
4741 * libc.map: More reordering for GLIBC_2.1 symbols.
4743 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4745 * libc.map: Move some functions from version GLIBC_2.0 to
4746 GLIBC_2.1, reorder declarations.
4748 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
4750 * resolv/gethnamaddr.c (addrsort): Make this function extern.
4751 Patch by zab@thebrain.grumblesmurf.net.
4753 1998-02-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4755 * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
4756 NIS+ functions with version GLIBC_2.1.
4758 1998-02-19 14:05 Ulrich Drepper <drepper@cygnus.com>
4760 * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
4761 with 2.0 binaries. Reported by Thorsten Kukuk.
4763 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4765 * elf/dlvsym.c (dlvsym_doit): Correct last patch.
4767 * elf/dlsym.c (dlsym_doit): Likewise.
4769 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4771 * elf/link.h: Correct typos.
4773 * iconv/iconv_prog.c: Correct typo.
4775 1998-02-18 17:57 Ulrich Drepper <drepper@cygnus.com>
4777 * iconv/Makefile: Add rules to build and install iconv program.
4778 * iconv/iconv_prog.c: New file.
4780 1998-02-18 16:34 H.J. Lu <hjl@gnu.org>
4782 * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
4783 _dl_lookup_symbol_skip call.
4784 * elf/dlvsym.c (dlvsym_doit): Likewise.
4786 1998-02-18 Ulrich Drepper <drepper@cygnus.com>
4788 * libio/iovsscanf.c: Do not include errno.h.
4790 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4792 * elf/dl-load.c (add_name_to_object): Don't translate strings.
4793 * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
4794 pulling in the whole error list.
4795 (__dcgettext, dcgettext): Removed.
4796 * libc.map: Export _strerror_internal.
4798 1998-02-18 10:50 Ulrich Drepper <drepper@cygnus.com>
4800 * sysdeps/i386/fpu/t_exp.c: New file.
4802 1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4804 * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
4805 everything with version GLIBC_2.1.
4806 * hesiod/libnss_hesiod.map: Likewise.
4808 1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4810 * manual/arith.texi (Old-style number conversion): This node is a
4811 section, not a subsection.
4813 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4815 * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
4817 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4819 * elf/rtld.c (dl_main): Make sure that the library search paths
4820 have been initialized before the first call to _dl_map_object.
4822 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4824 * Makerules (common-generated): Add libc_pic.os.
4826 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4828 * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
4831 1998-02-18 10:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4833 * sysdeps/m68k/fpu/t_exp.c: New file.
4835 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
4837 * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
4838 to global errno variable anymore.
4840 1998-02-17 17:41 Ulrich Drepper <drepper@cygnus.com>
4842 * elf/dl-load.c (open_path): Take extra argument PRELOADED.
4843 If PRELOADED is nonzero check in case of an SUID application
4844 whether the shared object has the SUID bit set.
4845 Fix some other problems with handling shared objects in system
4846 specific directories.
4847 (_dl_map_object): Also take extra parameter and pass it to open_path.
4848 * elf/link.h (_dl_map_object): Correct prototype and comment.
4849 * elf/rtld.c (dl_main): Call _dl_map_object correctly.
4850 * elf/dl-open.c (_dl_open): Likewise.
4851 * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
4853 * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
4855 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
4857 * math/libm-test.c (modf_test): Add test for 1.5.
4859 * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
4860 0 to get always an int.
4862 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4864 * math/libm.map: Move all symbols that are new in glibc 2.1 to
4867 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
4869 * stdio-common/vfscanf.c (inchar): Check c for being EOF before
4870 trying to read another character.
4872 1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4874 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
4877 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
4878 name to lowercase, add test for big enough buffer.
4880 1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4882 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
4883 Make compatible with older kernels. Patch by Richard Henderson.
4885 1998-02-17 15:10 Ulrich Drepper <drepper@cygnus.com>
4887 * elf/dl-load.c (open_path): Use __xstat instead of stat.
4889 * localedata/tst-locale.sh: Comment out first test for now.
4891 1998-02-14 14:58 H.J. Lu <hjl@gnu.org>
4893 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
4895 * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4898 * libio/iogetline.c (_IO_getline_info): Renamed from
4900 (_IO_getline): Just call _IO_getline_info.
4902 * libio/libioP.h (_IO_getline_info): New declaration.
4904 * libc.map (_IO_getline_info, __write): Added.
4906 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4908 * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
4909 const char* to shut up gcc.
4911 1998-02-17 11:37 Ulrich Drepper <drepper@cygnus.com>
4913 * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
4914 Patch forwarded by Cristian Gafton <gafton@redhat.com>.
4916 * math/math.h: Define M_* constants always as `double' and add new
4917 macros M_*l which are of type `long double'.
4918 * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
4919 * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
4920 * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
4921 * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
4922 * sysdeps/libm-ieee754/s_catanl.c: Likewise.
4923 * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
4924 * sysdeps/libm-ieee754/s_clogl.c: Likewise.
4925 * math/libm-tst.c: Likewise.
4927 * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
4928 define as long double unconditionally.
4930 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4932 * manual/arith.texi (Old-style number conversion): Correct some
4935 1998-02-16 16:28 H.J. Lu <hjl@gnu.org>
4937 * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
4940 * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
4942 1998-02-16 Ulrich Drepper <drepper@cygnus.com>
4944 * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
4945 on $(rtld-ldscript).
4947 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
4948 starting from 0 not only from `from'.
4949 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4951 1998-02-16 17:33 Ulrich Drepper <drepper@cygnus.com>
4953 * elf/rtld.c (dl_main): Recognize --library-path parameter and
4954 pass value (or NULL) to _dl_init_paths.
4955 * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
4956 replacing local variable llp. If llp is NULL examine LD_LIBRARY_PATH
4957 environment variable.
4958 * elf/link.h: Change prototype for _dl_init_paths.
4959 * elf/dl-support.c: Pass NULL in _dl_init_paths call.
4961 * localedata/Makefile (distribute): Add test files.
4963 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4965 * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
4966 test1.def, test2.def, test3.def, test4.def}: Simple input files
4967 for localedef. Contributed by Yung-Ching Hsiao
4968 <yhsiao@cae.wisc.edu>.
4970 * localedata/Makefile (tests): Call tst-locale.sh.
4972 * localedata/tst-locale.sh: New file, regression tests for some
4975 1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4977 * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
4979 * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
4981 * nis/nss_nisplus/nisplus-network.c: Likewise.
4982 * nis/nss_nisplus/nisplus-proto.c: Likewise.
4983 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4984 * nis/nss_nisplus/nisplus-service.c: Likewise.
4986 Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
4987 and support generating thread safe RPC code.
4988 * sunrpc/rpc_main.c: Add changes.
4989 * sunrpc/rpc_clntout.c: Likewise.
4990 * sunrpc/rpc_cout.c: Likewise.
4991 * sunrpc/rpc_hout.c: Likewise.
4992 * sunrpc/rpc_parse.c: Likewise.
4993 * sunrpc/rpc_sample.c: Likewise.
4994 * sunrpc/rpc_scan.c: Likewise.
4995 * sunrpc/rpc_svcout.c: Likewise.
4996 * sunrpc/rpc_util.c: Likewise.
4997 * sunrpc/rpc_util.h: Add new structs and prototypes.
4998 * sunrpc/proto.h: Remove prototypes for static functions.
5000 1998-02-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5002 * locale/programs/ld-messages.c (messages_finish): Don't skip
5003 error checking when being quiet.
5004 * locale/programs/ld-ctype.c (ctype_finish): Likewise.
5005 (set_class_defaults): Likewise.
5006 * locale/programs/charmap.c (parse_charmap): Likewise.
5007 * locale/programs/ld-collate.c (collate_finish): Likewise.
5008 * locale/programs/ld-monetary.c (monetary_finish): Likewise.
5009 * locale/programs/ld-time.c (time_finish): Likewise.
5010 * locale/programs/locfile.c (write_locale_data): Likewise.
5012 * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
5013 unknown characters and empty ranges.
5014 * locale/programs/ld-collate.c (collate_order_elem): When
5015 processing an ellipsis properly form a linked list in the result
5016 table, fix typo when allocating ordering array.
5019 1998-02-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5021 * elf/Makefile (ld-map): Define.
5022 (rtld-ldscript): Define. Change all `$(objpfx)rtld-ldscript' to
5024 ($(objpfx)ld.so): Combine the two versions of this rule. Depend
5026 (rtld-link): Combine the two versions of this definition. Fixed
5027 to make it work when no symbol versioning is used.
5029 1998-02-16 Ulrich Drepper <drepper@cygnus.com>
5031 * Makeconfig (build-program-cmd): Use --library-path parameter to
5032 ld.so instead of environment variable.
5034 * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
5035 * sunrpc/rpc_main.c: Remove support for -$$ option again.
5037 1998-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5039 * Make-dist: Respect with-cvs setting.
5040 * MakeTAGS (all-pot): Likewise.
5041 * sysdeps/sparc/sparc32/Makefile: Likewise.
5042 * sysdeps/mach/hurd/Makefile: Likewise.
5043 * stdlib/Makefile: Likewise.
5044 * posix/Makefile: Likewise.
5045 * intl/Makefile: Likewise.
5046 * po/Makefile (linguas): Likewise
5048 1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5050 * nis/ypclnt.c (yp_all): Remove error message, user should print it.
5052 1998-02-15 Ulrich Drepper <drepper@cygnus.com>
5054 * libc.map: Add __strcasecmp.
5056 * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
5059 * nss/getXXent_r.c: If no more module is found don't try to call
5060 setXXent functions but leave unsuccessfully.
5062 * malloc/obstack.h: Cleanups.
5064 * sysdeps/wordsize-32/stdint.h: New file.
5065 * sysdeps/wordsize-64/stdint.h: New file.
5066 * sysdeps/generic/stdint.h: New file.
5067 * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
5068 * sysdeps/wordsize-64/inttypes.h: Likewise.
5069 * stdlib/Makefile (headers): Add stdint.h.
5071 1998-02-03 Paul Eggert <eggert@twinsun.com>
5073 * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
5075 1998-02-13 17:59 Zack Weinberg <zack@rabi.phys.columbia.edu>
5077 * timezone: New directory.
5078 * time/README, time/africa, time/antarctica, time/asia,
5079 time/australasia, time/backward, time/checktab.awk,
5080 time/etcetera, time/europe, time/factory, time/ialloc.c,
5081 time/iso3166.tab, time/leapseconds, time/northamerica,
5082 time/pacificnew, time/private.h, time/scheck.c,
5083 time/solar87, time/solar88, time/solar89, time/southamerica,
5084 time/systemv, time/test-tz.c, time/tzfile.h,
5085 time/tzselect.ksh, time/yearistype, time/zdump.c,
5086 time/zic.c, time/zone.tab: Moved to timezone.
5087 * time/tzfile.c: Include tzfile.h from timezone subdir.
5088 * time/tzset.c: Likewise.
5089 * time/Makefile: Cut out all code relating to timezones...
5090 * timezone/Makefile: ...and paste it in here.
5091 * Makefile (subdirs): Add timezone.
5093 1998-02-13 18:45 H.J. Lu <hjl@gnu.org>
5095 * libc.map (_sys_nerr): Added.
5097 * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
5100 1998-02-15 17:16 Ulrich Drepper <drepper@cygnus.com>
5102 * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
5103 pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
5104 Reported by Craig Metz <cmetz@inner.net>.
5106 1998-01-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5108 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
5109 instead of strcasecmp.
5110 * nss/nss_files/files-alias.c (get_next_alias): Likewise.
5112 * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
5114 1998-02-15 16:55 Ulrich Drepper <drepper@cygnus.com>
5116 * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
5117 Patch by Dean Gaudet <dgaudet@arctic.org>.
5119 1998-02-15 16:53 Ulrich Drepper <drepper@cygnus.com>
5121 * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
5123 1998-02-15 10:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
5125 * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
5126 with no poll syscall, just include the BSD version.
5127 * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
5128 kernel without the syscall, include the stub version.
5129 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
5130 * sysdeps/generic/getresuid.c: New file.
5131 * sysdeps/generic/getresgid.c: New file.
5133 1998-02-15 Ulrich Drepper <drepper@cygnus.com>
5135 * stdio-common/vfscanf.c: Correct last change a bit.
5137 1998-02-13 17:39 Ulrich Drepper <drepper@cygnus.com>
5139 * elf/Makefile: Don't use --version-script parameter to link ld.so
5142 1998-01-02 04:19 Geoff Keating <geoffk@ozemail.com.au>
5144 * math/Makefile: Add t_exp.
5145 * math/libm-test.c: Tighten accuracy bounds for exp(), correct
5147 * math/test-reduce.c: Remove temporarily, it seems to be broken.
5148 * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
5149 * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
5151 * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
5152 algorithm for very large/very small arguments.
5153 * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
5154 correct algorithm for very large/very small arguments; adjust for
5156 * sysdeps/libm-ieee754/t_exp.c: New file.
5157 * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
5159 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
5160 back, with comment that explains what breaks when you remove it :-(.
5162 * localedata/xfrm-test.c: Avoid integer overflow.
5164 * stdlib/strfmon.c: char is unsigned, sometimes.
5166 * sysdeps/powerpc/Makefile: Remove quad float support.
5167 * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
5168 * sysdeps/powerpc/quad_float.h: Likewise.
5169 * sysdeps/powerpc/test-arith.c: Likewise.
5170 * sysdeps/powerpc/test-arithf.c: Likewise.
5172 * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
5173 * sysdeps/generic/s_exp2f.c: Likewise.
5175 * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
5176 don't try anything if _SOFT_FLOAT.
5178 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5180 * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
5181 * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
5182 * wctype/wctype.c: Likewise.
5183 * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
5184 changed. They are incompatible with the _ISxxx values from
5185 <ctype.h> on little endian machines.
5186 (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
5187 bit number. This fixes the real bug and restores the integrity of
5188 the ctype locale file.
5189 * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
5190 * wctype/wcfuncs_l.c: Likewise.
5191 * wctype/wcextra.c: Likewise.
5192 * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
5195 1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5197 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
5198 into .bss segment instead of .common, so that aliases on it work.
5200 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
5201 .size directives, put into .bss segment instead of initializing it
5204 1998-02-12 08:00 H.J. Lu <hjl@gnu.org>
5206 * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
5208 * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
5210 Make names without __ weak aliases.
5211 (__libc_release, __libc_version): Make them static.
5213 * include/gnu/libc-version.h: New file.
5214 * Makefile (headers): Add gnu/libc-version.h.
5216 1998-02-13 Ulrich Drepper <drepper@cygnus.com>
5218 * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
5219 and use x for member name.
5220 Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
5222 * stdlib/drand48.c: Change according to member name change.
5223 * stdlib/drand48_r.c: Likewise.
5224 * stdlib/lcong48_r.c: Likewise.
5225 * stdlib/lrand48.c: Likewise.
5226 * stdlib/lrand48_r.c: Likewise.
5227 * stdlib/mrand48.c: Likewise.
5228 * stdlib/mrand48_r.c: Likewise.
5229 * stdlib/seed48.c: Likewise.
5230 * stdlib/seed48_r.c: Likewise.
5231 * stdlib/srand48_r.c: Likewise.
5233 1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5235 * nss/test-netdb.c: Add some more test cases.
5237 1998-02-13 11:39 Ulrich Drepper <drepper@cygnus.com>
5239 * libio/iovsscanf.c: Undo last change modifying errno.
5241 1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5243 * stdio-common/vfscanf.c: Never try to read another character
5244 after EOF. Don't decrement read_in after EOF, it wasn't
5245 incremented in the first place.
5246 (NEXT_WIDE_CHAR): Set First, not first.
5248 1998-02-06 07:48 H.J. Lu <hjl@gnu.org>
5250 * db/Makefile ($(inst_libdir)/libndbm.a,
5251 $(inst_libdir)/libndbm.so): New targets.
5252 * db2/Makefile: Likewise.
5254 1998-02-12 08:20 H.J. Lu <hjl@gnu.org>
5256 * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
5257 aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
5259 1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5261 * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
5263 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
5265 1998-02-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5267 * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
5270 1998-02-13 08:14 H.J. Lu <hjl@gnu.org>
5272 * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
5273 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
5276 1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5278 * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
5281 * grp/Makefile: Fix logic when checking for thread package.
5282 * pwd/Makefile: Likewise.
5284 1998-02-11 08:23 H.J. Lu <hjl@gnu.org>
5286 * elf/Makefile (rtld-map): Replaced by libc-map.
5288 * elf/rtld.map: Removed.
5290 * libc.map (__libc_enable_secure, _dl_catch_error,
5291 _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
5292 _dl_default_scope, _dl_global_scope_end, _dl_init_next,
5293 _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
5294 _dl_object_relocation_scope, _dl_relocate_object,
5295 _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
5296 _r_debug): Added for ld.so.
5298 1998-02-10 08:38 H.J. Lu <hjl@gnu.org>
5300 * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
5302 * libio/iofdopen.c: Ditto.
5303 * libio/iofopen.c: Ditto.
5304 * libio/oldfileops.c: Ditto.
5306 * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
5309 * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
5310 oldsiglist from sysdep_routines and shared-only-routines.
5312 * sysdeps/unix/sysv/linux/errlist.c: New.
5313 * sysdeps/unix/sysv/linux/errlist.h: New.
5314 * sysdeps/unix/sysv/linux/sizes.h: New.
5315 * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
5316 * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
5318 * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
5320 * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
5321 (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
5324 * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
5326 * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
5327 (oldsiglist.c): Removed.
5329 * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
5330 (_sys_siglist): Use SYS_SIGLIST instead.
5331 (_sys_nerr): Use SYS_NERR instead.
5333 * sysdeps/gnu/errlist.c: Rebuilt.
5335 1998-02-11 08:35 H.J. Lu <hjl@gnu.org>
5337 * elf/Makefile (others-static): New, set to ldconfig.
5338 ($(objpfx)ldconfig): Removed.
5340 * Rules (binaries-all, binaries-static, binaries-shared): New.
5341 Create targets for $(binaries-static) and $(binaries-shared).
5343 * Makeconfig (+link-static, link-libc-static,
5344 link-extra-libs-static): New for static linking.
5346 1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5348 * manual/memory.texi (Using the Memory Debugger): Fix typo.
5350 * math/libm-test.c (modf_test): Add one more test for modf.
5352 1998-02-11 14:39 Ulrich Drepper <drepper@happy.cygnus.com>
5354 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
5355 Rename from __libc_have_rt_sigs and leave as COMMON data.
5357 1998-02-11 08:30 H.J. Lu <hjl@gnu.org>
5359 * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
5362 1998-02-11 19:16 Richard Henderson <rth@cygnus.com>
5364 * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
5366 1998-02-11 16:56 Ulrich Drepper <drepper@happy.cygnus.com>
5368 * misc/tst-efgcvt.c: Add yet more tests.
5369 * misc/efgcvt_r.c: And correct for these tests again.
5372 * isomac.c: Move to...
5373 * stdlib/isomac.c: ...here.
5374 * Makefile: Move rules for handling isomac...
5375 * stdlib/Makefile: ...to here.
5377 1998-02-10 23:57 Ulrich Drepper <drepper@happy.cygnus.com>
5379 * misc/tst-efgcvt.c: Add more tests.
5380 * misc/efgcvt_r.c: Correct result for above new tests.
5382 1998-02-06 17:22 H.J. Lu <hjl@gnu.org>
5384 * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
5387 1998-02-10 16:48 Philip Blundell <pb@nexus.co.uk>
5389 * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
5390 if the programs weren't built.
5392 1998-02-09 10:12 Philip Blundell <pb@nexus.co.uk>
5394 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
5395 FE_TONEAREST, soldier on regardless and do the best we can.
5396 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
5398 1998-02-5 17:20 Philip Blundell <pb@nexus.co.uk>
5400 * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
5401 _STDIO_H, before including <bits/stdio_lim.h>.
5403 * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
5405 * io/fts.c (fts_build): Don't try to use d_type if it doesn't
5408 * sysdeps/arm/sys/ucontext.h: New file.
5410 1998-02-04 10:11 Philip Blundell <pb@nexus.co.uk>
5412 * manual/stdio.texi (Formatted Output Functions): Explicitly say
5413 that the return value from snprintf() does not count the
5414 terminating NUL as a character.
5416 1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
5418 * manual/users.texi: Rewrite to describe correct POSIX behaviour,
5419 add description for sete[ug]id and general cleanup.
5420 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5422 1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5424 * Makefile (parent-clean): Don't remove makefile fragments here.
5425 (postclean): New variable.
5426 (clean): Remove makefile fragments here.
5427 (realclean distclean): Likewise. Pass sysdep-subdirs to sub-make.
5428 (generated): Add isomac and isomanc.out.
5429 * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
5430 avoid-generated is set.
5431 (postclean-generated): Add soversion.mk.
5432 ($(common-objpfx)version.mk): Don't include if avoid-generated is
5434 * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
5435 avoid-generated is set.
5436 (common-generated): Add libc.so and libc.so$(libc.so-version).
5437 (generated): Add versioned libraries.
5438 (common-mostlyclean): Also remove %.so and %_pic.a.
5439 * csu/Makefile (generated): Add abi-tag.h.
5440 * db2/Makefile (extra-objs): Add getlong.o.
5441 * elf/Makefile (generated): Add ld.so, ldd and
5442 $(rtld-installed-name).
5443 (others): Add ldconfig here instead of ldconfig.o to extra-objs.
5444 * malloc/Makefile (generated): Add mtrace.
5445 * po/Makefile: Don't include version.mk, not needed any more.
5446 * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
5447 * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
5448 syscall.h -> sys/syscall.h.
5449 (common-generated): Add s-proto.d.
5450 (postclean-generated): Add sysd-syscalls.
5451 * localedata/Makefile (test-output): Add all output files.
5452 (generated): Add test-input and test-output.
5453 (generated-dirs): Add all the dirs.
5455 1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5457 * Makefile (test-output, generated, generated-dirs): New
5460 1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
5462 * resolv/nss_dns/dns-host.c: Various code cleanups.
5464 1998-02-09 08:10 H.J. Lu <hjl@gnu.org>
5466 * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
5467 From Philip Blundell <pb@nexus.co.uk>.
5468 * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
5470 1998-02-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5472 * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
5473 Suggested by debian/sparc porters.
5475 1998-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5477 * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
5480 1998-02-10 16:32 Ulrich Drepper <drepper@happy.cygnus.com>
5482 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
5483 __fxstat instead of stat and fstat. Use namespace clean __stpcpy.
5485 * signal/signal.h: Always define sigset_t if __need_sigset_t is
5486 defined even if __USE_POSIX is not defined.
5488 1998-02-02 20:51 Zack Weinberg <zack@rabi.phys.columbia.edu>
5490 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
5491 to support obsolete tty major numbers correctly.
5493 1998-02-02 08:47 H.J. Lu <hjl@gnu.org>
5495 * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
5496 directory first and ignore install error.
5498 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
5499 128 from ptyno and fix a typo for the BSD style pty.
5501 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5503 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
5506 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5508 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5509 getresuid and getresgid.
5511 * sysdeps/unix/sysv/linux/getresuid.c: New file.
5512 * sysdeps/unix/sysv/linux/getresgid.c: New file.
5514 * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
5517 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
5518 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5519 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5520 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
5522 1998-02-02 08:11 H.J. Lu <hjl@gnu.org>
5524 * nscd/grpcache.c: Include <stdlib.h>.
5526 1998-02-01 16:01 H.J. Lu <hjl@gnu.org>
5528 * stdlib/atoll.c: Fix comments.
5530 * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
5531 * sysdeps/posix/ttyname_r.c: Ditto.
5533 1998-02-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5535 * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
5536 __USE_MISC, independent of __USE_UNIX98.
5538 1998-02-10 19:18 Ulrich Drepper <drepper@happy.cygnus.com>
5540 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
5541 Rename from __libc_have_rt_sigs and leave as COMMON data.
5543 1998-02-04 11:58 Richard Henderson <rth@twiddle.rth.home>
5545 * Makeconfig (CFLAGS-.os): Kill -fno-common.
5546 * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
5548 * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
5549 * elf/rtld.map: New file. Needed to define the GLIBC_2.*
5551 * include/libc-symbols.h (symbol_version, default_symbol_version):
5552 Provide asm versions and correct !DO_VERSIONING versions.
5553 * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
5554 the weak symbol list.
5556 * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
5557 Rename from __libc_have_rt_sigs and leave as COMMON data.
5558 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5559 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5560 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5562 1998-02-04 16:41 Zack Weinberg <zack@rabi.phys.columbia.edu>
5564 * sunrpc/Makefile: Correct dependencies of rpcgen.
5566 1998-02-10 03:00 Ulrich Drepper <drepper@happy.cygnus.com>
5568 * nscd/Makefile: Fix test for available linuxthreads add-on.
5569 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5571 1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5573 * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
5575 1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5577 * sysdeps/gnu/Makefile: Respect with-cvs variable.
5579 * manual/errno.texi (Error Messages): Correct description of
5580 strerror_r. Pointed out by jonas@bagge.se.
5582 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5584 * manual/socket.texi (Host Address Functions): Clarify description
5587 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5589 * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
5590 (grantpt): Delete superfluous cast.
5592 1998-02-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5594 * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
5595 elf/ldso_install instead of elf/subdir_install.
5596 (elf/ldso_install): New target.
5598 * elf/Makefile (ldso_install): New target.
5600 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5602 * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
5605 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5607 * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
5608 constant expressions.
5610 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5612 * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
5613 for __nss_configure_lookup.
5614 (output_hostent): Remove unused variable.
5616 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5618 * string/tst-inlcall.c: Fix format string.
5620 1998-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5622 * inet/netinet/in.h: Rename second parameter of bindresvport to
5623 avoid buggy gcc warning. [PR libc/412]
5625 1998-02-04 18:04 Richard Henderson <rth@cygnus.com>
5627 * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
5628 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
5630 * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
5631 Follow POSIX and make tv_sec a time_t.
5632 * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
5633 new tv64 syscall as well as fall back to tv32.
5634 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
5635 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
5636 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
5637 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
5638 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
5639 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
5640 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
5641 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
5643 * include/rpcsvc/nis.h: New. Bounce to nis/rpcsvc.
5644 * include/rpcsvc/nis_tags.h: Likewise.
5645 * include/rpcsvc/nislib.h: Likewise.
5647 1998-02-02 01:12 Ulrich Drepper <drepper@cygnus.com>
5649 * libc.map: Add _h_errno.
5650 * inet/herrno.c: Make _h_errno weak alias.
5652 * login/Makefile (distribute): Add pty-internal.h.
5654 * nscd/Makefile (distribute): Add all the files missing.
5656 * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
5659 * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
5660 and report status at the end.
5662 * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
5664 * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
5666 * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
5667 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
5668 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
5670 1998-01-03 20:47 Mark Kettenis <kettenis@phys.uva.nl>
5672 * configure.in: Fix --enable-add-ons code.
5674 1998-02-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5676 * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
5677 by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
5680 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
5681 occurence in cache. Reported by Rudolf Leitgeb
5682 <leitgeb@leland.stanford.edu>.
5685 1998-02-01 21:18 Ulrich Drepper <drepper@cygnus.com>
5687 * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
5688 that it never is EINTR (which is tested for in _IO_vfscanf).
5690 * Makefile.in: Call sub-make with CVSOPTS.
5692 * elf/Makefile (distribute): Add dl-procinfo.h.
5694 * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
5696 1998-02-01 15:54 Ulrich Drepper <drepper@cygnus.com>
5698 * version.h (VERSION): Bump to 2.0.92.
5700 1998-01-31 Phil Blundell <philb@gnu.org>
5702 * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
5703 alias for __new_sys_siglist.
5705 1998-02-01 00:53 Ulrich Drepper <drepper@cygnus.com>
5707 * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
5708 getgrgid_r.c if thread package is available.
5709 * pwd/Makefile: Likewise.
5710 * grp/getgrnam_r.c: Remove USE_NSCD definition.
5711 * grp/getgrgid_r.c: Likewise.
5712 * pwd/getpwnam_r.c: Likewise.
5713 * pwd/getpwuid_r.c: Likewise.
5715 1998-01-31 23:46 Ulrich Drepper <drepper@cygnus.com>
5717 * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
5718 with error to allow user intervention.
5719 * nss/getXXent_r.c: Likewise.
5721 1998-01-31 21:18 Ulrich Drepper <drepper@cygnus.com>
5723 * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
5724 AT_PLATFORM string. Pretty print AT_BASE info.
5726 * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
5727 (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
5728 * sysdeps/generic/dl-procinfo.h: New file.
5729 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
5731 1998-01-31 20:52 Ulrich Drepper <drepper@cygnus.com>
5733 * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
5735 * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
5736 thread and not pthread_detach.
5738 * nscd/nscd.c: Rewrite to use argp instead of getopt.
5740 1998-01-31 Phil Blundell <philb@gnu.org>
5742 * configure.in: Add --without-cvs option to suppress automatic
5743 checkin of regenerated files.
5744 * config.make.in: Likewise.
5745 * Makefile: Respect with-cvs setting.
5746 * Makerules: Likewise.
5748 * configure.in: Allow the standalone ARM port to be configured.
5750 1998-01-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5752 * grp/getgrgid_r.c: Define USE_NSCD.
5753 * grp/getgrnam_r.c: Likewise.
5754 * pwd/getpwuid_r.c: Likewise.
5755 * pwd/getpwnam_r.c: Likewise.
5757 * sysdeps/unix/inet/Subdirs: Add nscd subdir.
5759 * nss/getXXbyYY_r.c: Try at first nscd.
5761 * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
5762 * nscd/connections.c: New file.
5763 * nscd/dbg_log.c: New file.
5764 * nscd/dbg_log.h: New file.
5765 * nscd/grpcache.c: New file.
5766 * nscd/nscd.c: New file.
5767 * nscd/nscd.h: New file.
5768 * nscd/nscd_conf.c: New file.
5769 * nscd/nscd_stat.c: New file.
5770 * nscd/pwdcache.c: New file.
5772 * nscd/nscd_getgr_r.c: New, client code, linked into libc.
5773 * nscd/nscd_getpw_r.c: Likewise.
5774 * nscd/nscd_proto.h: New, prototypes for client functions.
5776 * nscd/nscd.conf: New, example for a configuration file.
5777 * nscd/nscd.init: New, example for a startup script.
5779 * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
5781 * nscd/getgrnam_r.c: Likewise.
5782 * nscd/getpwnam_r.c: Likewise.
5783 * nscd/getpwuid_r.c: Likewise.
5785 1998-01-31 11:44 Ulrich Drepper <drepper@cygnus.com>
5787 * intl/Makefile: Use CVSOPTS in cvs invocation.
5788 * po/Makefile: Likewise.
5789 * posix/Makefile: Likewise.
5790 * stdlib/Makefile: Likewise.
5792 1998-01-31 11:18 Ulrich Drepper <drepper@cygnus.com>
5794 * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
5796 * misc/Makefile (tests): Add tst-efgcvt.
5797 * misc/tst-efgcvt.c: New file.
5799 1998-01-31 00:21 Ulrich Drepper <drepper@cygnus.com>
5801 * posix/regex.c: Add some more cleanups by Akim Demaille.
5803 1998-01-30 23:55 Ulrich Drepper <drepper@cygnus.com>
5805 * signal/signal.h: Revert last change.
5806 * string/strsignal.c: Regard signal number NSGI as illegal.
5807 * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
5810 1998-01-30 23:37 Ulrich Drepper <drepper@cygnus.com>
5812 * Makefile.in: Add comment about CVSOPTS Makefile variable.
5813 * Makerules: Use CVSOPTS in cvs invocation.
5814 * Makefile: Likewise.
5815 * MakeTAGS: Likewise.
5816 * Make-dist: Likewise.
5818 1998-01-30 22:37 Ulrich Drepper <drepper@cygnus.com>
5820 * sysdeps/generic/memmem.c: Correct last change.
5822 1998-01-30 22:12 Ulrich Drepper <drepper@cygnus.com>
5824 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
5825 CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
5827 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5829 * nis/ypclnt.c: Try at first to use the binding file from ypbind
5832 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5834 * manual/memory.texi (Heap Consistency Checking): mcheck is
5835 declared in <mcheck.h>.
5836 Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
5838 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5840 * sysdeps/generic/memmem.c (memmem): An empty needle is at the
5841 beginning of haystack.
5843 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5845 * nss/nss_files/files-service.c: Correct last patch.
5847 1998-01-30 21:29 Ulrich Drepper <drepper@cygnus.com>
5849 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
5850 __libc_have_rt_sigs.
5851 * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
5852 including <bits/setjmp.h>.
5853 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
5854 Patch from the Debian glibc/SPARC package.
5856 1997-12-12 07:57 H.J. Lu <hjl@gnu.org>
5858 * sysdeps/alpha/bzero.S: Fix a typo.
5859 * sysdeps/alpha/htonl.S: Ditto.
5860 * sysdeps/alpha/htons.S: Ditto.
5862 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5864 * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
5866 1998-01-30 19:58 Ulrich Drepper <drepper@cygnus.com>
5868 * include/cpio.h: Move to ...
5869 * posix/cpio.h: ...here.
5871 * locale/programs/ld-collate.c: Fix typo.
5873 * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
5875 * stdio-common/tiformat.c: Add checks for %#.0o and friends.
5877 * login/utmp_file.c (pututline_file): Don't always report success
5878 if similar entry is found. Patch by Mark M. Kettenis.
5880 1998-01-30 16:06 Philip Blundell <pb@nexus.co.uk>
5882 * manual/Makefile: Don't try to install the info files if makeinfo
5885 1998-01-30 12:05 Philip Blundell <pb@nexus.co.uk>
5887 * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
5888 kernel's network ioctls, rather than using <linux/sockios.h> to
5889 get them. This way we are sure of maintaining compatibility if
5890 the kernel interface should change.
5892 1998-01-30 15:52 Ulrich Drepper <drepper@cygnus.com>
5894 * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
5896 1998-01-25 19:54 Philip Blundell <Philip.Blundell@pobox.com>
5898 * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
5899 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
5901 1998-01-27 22:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
5903 Implement System V pseudoterminal handling.
5906 (routines): Add getpt, grantpt, unlockpt, ptsname.
5907 (libutil-routines): Remove pty. Add openpty, forkpty.
5908 (distribute): New internal header pty-internal.h.
5909 (others): Add the helper program, pt_chown.
5910 (install-others): Install it, in $(libexecdir), mode 4755.
5912 * login/pty-internal.h: New file.
5913 * login/openpty.c: New file.
5914 * login/forkpty.c: New file.
5915 * login/programs/pt_chown.c: New file.
5917 * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
5918 * stdlib/stdlib.h: Prototype them.
5920 * config.make.in: Define $(libexecdir).
5921 * Makeconfig: Define $(inst_libexecdir).
5923 * sysdeps/generic/pty.c: Removed.
5924 * sysdeps/unix/sysv/linux/pty.c: Removed.
5926 * sysdeps/generic/getpt.c: Stub out.
5927 * sysdeps/generic/grantpt.c: Likewise.
5928 * sysdeps/generic/ptsname.c: Likewise.
5929 * sysdeps/generic/unlockpt.c: Likewise.
5931 * sysdeps/unix/grantpt.c: New file.
5932 * sysdeps/unix/bsd/getpt.c: New file.
5933 * sysdeps/unix/bsd/unlockpt.c: New file.
5934 * sysdeps/unix/sysv/linux/getpt.c: New file.
5935 * sysdeps/unix/sysv/linux/ptsname.c: New file.
5936 * sysdeps/unix/sysv/linux/unlockpt.c: New file.
5938 1998-01-29 23:56 Ulrich Drepper <drepper@cygnus.com>
5940 * localedata/locales/ru_RU: Fix YESEXPR. Patch by lav@yars.free.net.
5942 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5944 * nss/Makefile (tests): Add rule for test-netdb.c.
5946 * nss/test-netdb.c: New file.
5948 1998-01-29 02:38 Ulrich Drepper <drepper@cygnus.com>
5950 * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
5951 really kept as a variable. Patch by Richard Henderson,
5952 reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
5954 * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
5955 * elf/genrtldtbl.awk: Mark machine dependent directory of generated
5956 entries as not existing.
5958 1998-01-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5960 * stdio-common/vfprintf.c (process_arg): Fix printing of octal
5961 zero in alternate form with precision of zero, which must produce
5962 "0". Add braces to avoid ambiguous `else'.
5964 1998-01-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5966 * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
5967 problem with strncpy.
5968 * nis/nss_compat/compat-pwd.c: Likewise.
5969 * nis/nss_compat/comapt-spwd.c: Likewise.
5971 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5973 * assert/assert.h (assert_perror): Correct test for errnum. Patch
5974 by uch@nop.or.jp. [PR libc/437]
5976 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5978 * nis/nis_cache.c: Include <unistd.h> for declaration of close.
5980 1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5982 * stdio-common/test-popen.c: Include <errno.h>.
5984 * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
5987 * inet/getnetgrent_r.c: Include <errno.h>.
5989 * db2/db/db_conv.c: Include <string.h> for memcpy.
5991 * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
5992 so that memcpy is declared.
5994 * iconv/iconv_open.c: Include <stdlib.h> for alloca.
5996 * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
5998 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6000 * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
6001 overflow while reading line with fgets.
6002 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
6004 1998-01-27 00:46 Ulrich Drepper <drepper@cygnus.com>
6006 * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
6007 unsigned short, not short.
6008 Reported by Andreas Jaeger.
6010 1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6012 * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
6015 * sysdeps/generic/inttypes.h: Fix spelling.
6017 1998-01-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6019 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
6021 * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
6023 1998-01-27 00:30 Ulrich Drepper <drepper@cygnus.com>
6025 * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
6026 * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
6027 field for hh modifier.
6028 * stdio-common/vfprint.c: Use is_char field and do not depend in
6029 is_short having the value 2.
6030 Bug reported by Andreas Jaeger.
6032 1998-01-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6034 * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
6035 PIC && DO_VERSIONING.
6037 1998-01-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6039 * Rules: Add rules for $(common-objpfx)dummy$o.
6041 1998-01-26 Richard Henderson <rth@cygnus.com>
6043 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
6044 unimplemented OSF/1 definitions so that they are not accidentally seen.
6046 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
6047 of the trampoline function into the macro.
6048 * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
6049 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
6050 kernel 2.1.82 has this fixed.
6052 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
6053 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
6055 1998-01-26 Ulrich Drepper <drepper@cygnus.com>
6057 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
6058 support sigaction on kernels > 2.1.7x.
6060 1998-01-01 13:52 Ulrich Drepper <drepper@cygnus.com>
6062 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
6065 * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
6066 Patch by David Engel <david@sw.ods.com>.
6068 * configure.in: Fix another typo in --enable-add-ons code.
6070 1998-01-26 03:48 Ulrich Drepper <drepper@cygnus.com>
6072 * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
6074 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6076 * nss/nss_files/files-network.c: Correct order of parameters for
6079 1998-01-26 00:57 Ulrich Drepper <drepper@cygnus.com>
6081 * db2/Makefile (routines): Add os_alloc.
6082 * db2/db.h: Update from db-2.3.16.
6083 * db2/db_185.h: Likewise.
6084 * db2/db_int.h: Likewise.
6085 * db2/btree/bt_close.c: Likewise.
6086 * db2/btree/bt_cursor.c: Likewise.
6087 * db2/btree/bt_delete.c: Likewise.
6088 * db2/btree/bt_open.c: Likewise.
6089 * db2/btree/bt_page.c: Likewise.
6090 * db2/btree/bt_put.c: Likewise.
6091 * db2/btree/bt_rec.c: Likewise.
6092 * db2/btree/bt_recno.c: Likewise.
6093 * db2/btree/btree_auto.c: Likewise.
6094 * db2/common/db_appinit.c: Likewise.
6095 * db2/common/db_apprec.c: Likewise.
6096 * db2/common/db_err.c: Likewise.
6097 * db2/common/db_region.c: Likewise.
6098 * db2/common/db_shash.c: Likewise.
6099 * db2/db/db.c: Likewise.
6100 * db2/db/db_auto.c: Likewise.
6101 * db2/db/db_conv.c: Likewise.
6102 * db2/db/db_dispatch.c: Likewise.
6103 * db2/db/db_dup.c: Likewise.
6104 * db2/db/db_pr.c: Likewise.
6105 * db2/db/db_rec.c: Likewise.
6106 * db2/db185/db185.c: Likewise.
6107 * db2/dbm/dbm.c: Likewise.
6108 * db2/hash/hash.c: Likewise.
6109 * db2/hash/hash_auto.c: Likewise.
6110 * db2/hash/hash_dup.c: Likewise.
6111 * db2/hash/hash_page.c: Likewise.
6112 * db2/hash/hash_rec.c: Likewise.
6113 * db2/include/btree_ext.h: Likewise.
6114 * db2/include/clib_ext.h: Likewise.
6115 * db2/include/common_ext.h: Likewise.
6116 * db2/include/db.h.src: Likewise.
6117 * db2/include/db_185.h.src: Likewise.
6118 * db2/include/db_am.h: Likewise.
6119 * db2/include/db_ext.h: Likewise.
6120 * db2/include/db_int.h.src: Likewise.
6121 * db2/include/hash_ext.h: Likewise.
6122 * db2/include/lock_ext.h: Likewise.
6123 * db2/include/log.h: Likewise.
6124 * db2/include/log_auto.h: Likewise.
6125 * db2/include/log_ext.h: Likewise.
6126 * db2/include/mp.h: Likewise.
6127 * db2/include/mp_ext.h: Likewise.
6128 * db2/include/mutex_ext.h: Likewise.
6129 * db2/include/os_ext.h: Likewise.
6130 * db2/include/os_func.h: Likewise.
6131 * db2/include/txn_ext.h: Likewise.
6132 * db2/lock/lock.c: Likewise.
6133 * db2/lock/lock_util.c: Likewise.
6134 * db2/log/log.c: Likewise.
6135 * db2/log/log.src: Likewise.
6136 * db2/log/log_archive.c: Likewise.
6137 * db2/log/log_auto.c: Likewise.
6138 * db2/log/log_get.c: Likewise.
6139 * db2/log/log_put.c: Likewise.
6140 * db2/log/log_rec.c: Likewise.
6141 * db2/log/log_register.c: Likewise.
6142 * db2/mp/mp_bh.c: Likewise.
6143 * db2/mp/mp_fget.c: Likewise.
6144 * db2/mp/mp_fopen.c: Likewise.
6145 * db2/mp/mp_fput.c: Likewise.
6146 * db2/mp/mp_pr.c: Likewise.
6147 * db2/mp/mp_sync.c: Likewise.
6148 * db2/mutex/mutex.c: Likewise.
6149 * db2/os/os_alloc.c: Likewise.
6150 * db2/os/os_config.c: Likewise.
6151 * db2/os/os_stat.c: Likewise.
6152 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
6153 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
6154 * db2/progs/db_load/db_load.c: Likewise.
6155 * db2/progs/db_printlog/db_printlog.c: Likewise.
6156 * db2/progs/db_recover/db_recover.c: Likewise.
6157 * db2/progs/db_stat/db_stat.c: Likewise.
6158 * db2/txn/txn.c: Likewise.
6160 * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
6161 Unmap memory blocks in reverse order of allocation.
6162 Call munmap with load address added to offset.
6163 Bug reported by Miguel de Icaza.
6165 * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
6168 * localedata/locales/cs_CZ: Update by Michael Mraka
6169 <michael@informatics.muni.cz>.
6171 * misc/sys/syslog.h: Reformat a bit. Don't declare vsyslog unless
6174 * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
6175 reading line with fgets.
6176 * nis/nss_compat/compat-pwd.c: Likewise.
6177 * nis/nss_compat/compat-spwd.c: Likewise.
6178 * nss/nss_files/files-XXX.c: Likewise.
6179 * nss/nss_files/files-alias.c: Likewise.
6180 * shadow/fgetspent_r.c: Likewise.
6182 * string/strerror_r.c: Correct comment. Patch by Andreas Jaeger.
6184 * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
6185 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
6186 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
6188 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
6189 FP register content in ucontext_t.
6191 1998-01-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6193 * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
6194 calculation. Patch by Markus Schoder
6195 <Markus.Schoder@dresdner-bank.de>.
6197 * math/libm-test.c (modf_test): Add more tests for modf.
6199 * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
6200 munlock according to Unix98.
6202 1998-01-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6204 * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
6207 1998-01-21 07:22 H.J. Lu <hjl@gnu.org>
6209 * sysdeps/posix/ttyname.c: Handle symbolic links.
6210 * sysdeps/posix/ttyname_r.c: Ditto.
6212 1998-01-25 19:39 Ulrich Drepper <drepper@cygnus.com>
6214 * db2/makedb.c (process_input): Write terminating \0 for value.
6215 (print_database): Simply print value string, don't use length.
6217 1998-01-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6219 * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
6222 1998-01-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6224 * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
6227 1998-01-25 14:54 Ulrich Drepper <drepper@cygnus.com>
6229 * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
6231 * signal/sighold.c: New file.
6232 * signal/sigrelse.c: New file.
6233 * sysdeps/generic/sigignore.c: New file.
6234 * sysdeps/generic/sigset.c: New file.
6235 * sysdeps/posix/sigignore.c: New file.
6236 * sysdeps/posix/sigset.c: New file.
6237 * signal/signal.h: Add prototypes for new functions.
6239 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
6240 * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
6241 * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
6242 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
6244 1998-01-23 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
6246 * posix/wordexp.c: Added IFS field-splitting in parameter and
6247 command substitution. Fixed an IFS-related bug that caused an
6250 1998-01-25 12:38 Ulrich Drepper <drepper@cygnus.com>
6252 * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
6254 * stdlib/ucontext.h: Correct prototypes.
6255 * sysdeps/generic/getcontext.c: New file.
6256 * sysdeps/generic/setcontext.c: New file.
6257 * sysdeps/generic/makecontext.c: New file.
6258 * sysdeps/generic/swapcontext.c: New file.
6259 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
6261 1998-01-25 04:07 Ulrich Drepper <drepper@cygnus.com>
6263 * resource/sys/resource.h: Remove #include of ulimit.h which is
6264 not allowed by SUSv2 and not available on other systems.
6265 * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
6267 * streams/Makefile: New file.
6268 * streams/stropts.h: New file.
6269 * sysdeps/generic/bits/stropts.h: New file.
6270 * sysdeps/generic/isastream.c: New file.
6271 * sysdeps/generic/getmsg.c: New file.
6272 * sysdeps/generic/getpmsg.c: New file.
6273 * sysdeps/generic/putmsg.c: New file.
6274 * sysdeps/generic/putpmsg.c: New file.
6275 * sysdeps/generic/fattach.c: New file.
6276 * sysdeps/generic/fdetach.c: New file.
6277 * sysdeps/unix/inet/Subdirs: Add streams.
6278 * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
6280 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6281 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6282 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6283 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
6285 * sysdeps/mach/_strerror.c: Follow changes of generic version to
6286 handle small buffers correctly.
6288 1998-01-24 17:31 H.J. Lu <hjl@gnu.org>
6290 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
6291 Remove the 3rd arg and add declaration for _dl_runtime_resolve
6292 and _dl_runtime_profile.
6294 1998-01-25 02:42 Ulrich Drepper <drepper@cygnus.com>
6296 * include/cpio.h: New file. Mainly copied from GNU cpio.
6297 * posix/Makefile (headers): Add cpio.h.
6299 1998-01-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6301 * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
6303 * nis/nis_cache.c: New file.
6304 * nis/nis_cache2.h: New file.
6305 * nis/nis_cache2_xdr.c: New file.
6306 * nis/nis_call.c: Changes for cache2_info parameter.
6307 * nis/nis_checkpoint.c: Likewise.
6308 * nis/nis_intern.h: Likewise.
6309 * nis/nis_mkdir.c: Likewise.
6310 * nis/nis_ping.c: Likewise.
6311 * nis/nis_rmdir.c: Likewise.
6312 * nis/nis_server.c: Likewise.
6313 * nis/nis_util.c: Likewise.
6315 1997-12-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6317 * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
6318 return/errnop codes.
6319 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
6320 * nis/nss_nisplus/nisplus-grp.c: Likewise.
6321 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6322 * nis/nss_nisplus/nisplus-proto.c: Likewise.
6323 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
6324 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
6325 * nis/nss_nisplus/nisplus-rpc.c: Likewise
6326 * nis/nss_nisplus/nisplus-service.c: Likewise.
6327 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
6329 1997-12-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6331 * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
6332 * nis/nss_nis/nis-ethers.c: Likewise.
6333 * nis/nss_nis/nis-grp.c: Likewise.
6334 * nis/nss_nis/nis-hosts.c: Likewise.
6335 * nis/nss_nis/nis-network.c: Likewise.
6336 * nis/nss_nis/nis-proto.c: Likewise.
6337 * nis/nss_nis/nis-hosts.c: Likewise.
6338 * nis/nss_nis/nis-network.c: Likewise.
6339 * nis/nss_nis/nis-proto.c: Likewise.
6340 * nis/nss_nis/nis-publickey.c: Likewise.
6341 * nis/nss_nis/nis-pwd.c: Likewise.
6342 * nis/nss_nis/nis-rpc.c: Likewise.
6343 * nis/nss_nis/nis-service.c: Likewise.
6344 * nis/nss_nis/nis-spwd.c: Likewise.
6346 1998-01-24 Ulrich Drepper <drepper@cygnus.com>
6348 * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
6349 Added to follow latest kernel development.
6351 1998-01-24 15:13 Ulrich Drepper <drepper@happy.cygnus.com>
6353 * nss/db-Makefile: Handle empty and comment lines better.
6354 ($(VAR_DB)/services.db): Generate entries with missing protocol
6357 1998-01-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6359 * nss/nss_files/files-service.c (getservbyport): Allow proto ==
6361 (getservbyname): Allow proto == NULL.
6362 Pointed out by David N. Welton <davidw@gate.cks.com>.
6365 1998-01-24 11:34 Ulrich Drepper <drepper@happy.cygnus.com>
6367 * nis/nislib/nislib.h: Finally removed.
6369 * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
6370 C compiler. From Kaveh Ghazi.
6371 (TYPE_MINIMUM): Define.
6372 (TYPE_MAXIMUM): Define.
6373 (TIME_T_MIN): Use TYPE_MINIMUM.
6374 (TIME_T_MAX): Use TYPE_MAXIMUM.
6375 Patch by Jim Meyering <meyering@ascend.com>.
6377 1998-01-22 00:55 Ulrich Drepper <drepper@happy.cygnus.com>
6379 * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
6380 __pread64, __pwrite64, and __getpid.
6382 * rt/aio_misc.c: Use pread and pwrite instead of __ protected
6385 1998-01-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6387 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
6388 cancelable socket functions as __libc_xxx with __xxx as weak
6390 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6391 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6393 * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
6395 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6396 * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
6397 * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
6398 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
6400 * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
6401 and __xxx a weak alias.
6402 * sysdeps/unix/sysv/linux/connect.S: Likewise.
6403 * sysdeps/unix/sysv/linux/recv.S: Likewise.
6404 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
6405 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
6406 * sysdeps/unix/sysv/linux/send.S: Likewise.
6407 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
6408 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
6410 1998-01-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6412 * locale/langinfo.h: Add defines.
6414 * dirent/dirent.h: Add defines for DT_*, check also for
6415 _DIRENT_HAVE_D_TYPE.
6416 Suggested by Roland McGrath.
6418 1998-01-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6420 * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
6421 Update from Linux 2.1.73+79.
6423 * README.template: Update information about possible
6426 * manual/mbyte.texi (Wide String Conversion): Fix declaration of
6427 wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
6430 * manual/time.texi (Priority): Correct description of
6431 PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
6434 11998-01-21 21:34 Ulrich Drepper <drepper@cygnus.com>
6436 * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
6437 FP_ILOGNAN. Patch by a sun <asun@zoology.washington.edu>.
6439 1998-01-21 17:53 Ulrich Drepper <drepper@cygnus.com>
6441 * sysdeps/generic/_strerror.c: Handle BUFLEN == 0. Reported by
6444 1998-01-20 18:13 Ulrich Drepper <drepper@cygnus.com>
6446 * locale/programs/ld-collate.c: Little optimizations.
6448 * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
6450 * string/Makefile (tests): Add tst-inlcall.
6451 * string/tst-inlcall.c: New file.
6453 * string/strsignal.c: Add support for real-time signals.
6455 * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
6456 presense of small buffer.
6458 * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
6460 * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
6463 * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
6466 1998-01-02 15:10 Matthias Urlichs <urlichs@noris.de>
6468 * Rules: Add explicit rule for dummy.o; at least one library needs
6469 it and it isn't autogenerated by the default rules.
6471 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6473 * math/libm-test.c: Tweak epsilons.
6475 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6477 * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
6479 (feenv_mask_test): Likewise.
6481 1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6483 * Makeconfig: Don't export CPPFLAGS.
6485 1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6487 * sunrpc/rpc_main.c (parseargs): Use perror to print error
6490 1998-01-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6492 * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
6493 terminating null in key size.
6495 1998-01-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6497 * nss/nss_files/files-service.c: Fix allocation size to include
6500 * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
6501 applicable. Fix return value and error checking.
6502 (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
6504 (DB_LOOKUP): Allocate space for terminating null byte.
6506 * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
6509 * db2/makedb.c (process_input): Continue processing if a duplicate
6512 1998-01-19 15:20 Ulrich Drepper <drepper@cygnus.com>
6514 * time/tzfile.h: Updated from tzcode1998b.
6515 * time/zdump.c: Likewise.
6516 * time/zic.c: Likewise.
6517 * time/africa: Update from tzdata1998b.
6518 * time/antarctica: Likewise.
6519 * time/asia: Likewise.
6520 * time/australasia: Likewise.
6521 * time/etcetera: Likewise.
6522 * time/europe: Likewise.
6523 * time/leapseconds: Likewise.
6524 * time/northamerica: Likewise.
6525 * time/southamerica: Likewise.
6527 1998-01-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6529 * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
6530 lookups ignoring case.
6531 * nss/nss_files/files-network.c: Do network lookups ignoring
6533 * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
6535 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
6536 case insensitive comparing.
6537 Patches by Cristian Gafton <gafton@redhat.com>.
6539 1998-01-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6541 * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines. Suggested
6542 by Roland McGrath. [PR libc/395]
6544 1998-01-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6546 * manual/arith.texi (Parsing of Integers): Correct description of
6547 strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
6550 1997-12-30 14:14 Matthias Urlichs <urlichs@noris.de>
6552 * misc/lsearch.c (lsearch): Return a pointer to the new element
6553 if one was "allocated".
6555 1997-12-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6557 * string/strsignal.c: NSIG is not a valid index into
6558 _sys_siglist. Don't zap the last character of the "Unknown
6561 1998-01-19 15:08 Ulrich Drepper <drepper@cygnus.com>
6563 * locale/programs/charmap.c (parse_charmap): Correct parsing of
6564 ellipsis expressions.
6566 * locale/programs/charset.c (insert_char): Correctly insert value
6567 of eliipsis expression.
6569 1997-12-28 15:08 Ulrich Drepper <drepper@cygnus.com>
6571 * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
6573 * sysdeps/powerpc/setjmp.S: Likewise.
6574 Patches by Matt McLean <keys@keys.got.net>.
6576 * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
6578 * Makefile: Undo last patch.
6579 (distribute): Add test-installation.pl.
6581 * configure.in: Correct handling of --enable-add-ons without parameter.
6582 Correct address of WWW pages.
6584 * libc.map: Add _nl_domain_bindings.
6586 * db2/mutex/tsl_parisc.s: New file.
6588 * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
6589 and extra-module.mk.
6591 * localedata/Makefile (distribute): New. Add all the files.
6593 * stdlib/Makefile (headers): Add inttypes.h.
6594 (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
6595 * sysdeps/generic/inttypes.h: New file.
6596 * sysdeps/generic/strtoimax.c: New file.
6597 * sysdeps/generic/strtoumax.c: New file.
6598 * sysdeps/generic/wcstoimax.c: New file.
6599 * sysdeps/generic/wcstoumax.c: New file.
6600 * sysdeps/wordsize-32/Dist: Removed.
6601 * sysdeps/wordsize-32/Makefile: Removed.
6602 * sysdeps/wordsize-64/Dist: Removed.
6603 * sysdeps/wordsize-64/Makefile: Removed.
6604 * sysdeps/generic/bits/environments.h: New file.
6606 * include/limits.h: Define MB_LEN_MAX in any case to 6. The gcc
6607 header is still not correct.
6609 * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
6610 * posix/unistd.h: Likewise.
6611 * sysdeps/generic/sys/mman.h: Likewise.
6612 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
6614 * manual/arith.texi: Change definition of mul macro.
6615 * manual/math.texi: Likewise.
6617 * misc/Makefile (routines): Add mmap64.
6618 * sysdeps/generic/mmap64.c: New file.
6619 * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
6620 * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
6621 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
6623 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6625 * sysdeps/generic/setrlimit64.c: Don't mark as stub.
6627 * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
6629 * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
6631 * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
6632 FOPEN_MAX also when included by limits.h.
6633 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
6635 * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
6636 and netrom/netrom.h.
6637 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
6638 oldsiglist to sysdep_routines, not aux.
6639 [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
6641 * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
6642 and SOL_NETROM definition.
6644 * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
6646 * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
6647 * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
6649 1997-12-25 Ulrich Drepper <drepper@cygnus.com>
6651 * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
6653 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
6654 sa_handler with k_sa_handler.
6655 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
6659 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
6660 __libc_have_rt_sigs here.
6661 * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
6662 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6663 * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
6664 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6666 1997-12-11 07:51 Geoff Keating <geoffk@ozemail.com.au>
6668 * sysdeps/powerpc/atomicity.h: New file.
6669 * sysdeps/mach/powerpc/machine-lock.h: New file.
6671 * Rules: Use -fpic to build anything that might end up in a users'
6674 * sysdeps/powerpc/s_fdim.c: New file.
6675 * sysdeps/powerpc/s_fdimf.c: New file.
6676 * sysdeps/powerpc/s_fmax.S: New file.
6677 * sysdeps/powerpc/s_fmaxf.S: New file.
6678 * sysdeps/powerpc/s_fmin.S: New file.
6679 * sysdeps/powerpc/s_fminf.S: New file.
6680 * sysdeps/powerpc/s_llrint.c: Now is for double.
6681 * sysdeps/powerpc/s_llrintf.c: New file.
6682 * sysdeps/powerpc/s_llround.c: Now is for double.
6683 * sysdeps/powerpc/s_llroundf.c: New file.
6684 * sysdeps/powerpc/s_lrint.c: Now is for double.
6685 * sysdeps/powerpc/s_lrintf.S: New file.
6686 * sysdeps/powerpc/s_lround.c: Now is for double.
6687 * sysdeps/powerpc/s_lroundf.c: New file.
6688 * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
6689 lrintf, fdim, fdimf.
6691 * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
6692 file directly, use its parent.
6694 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
6695 (for the third time).
6697 1997-12-20 13:50 Richard Henderson <rth@cygnus.com>
6699 * posix/sched.h: timespec is in <time.h>.
6701 * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
6703 1997-12-22 18:10 Ulrich Drepper <drepper@cygnus.com>
6705 * configure.in: Stop with error if --disable-static is used when
6706 the shared lib uses this library.
6708 * gen-FAQ.pl: I've perl installed in /usr/bin.
6710 * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
6712 Fix Unix98 conformance problems in the headers.
6713 * catgets/nl_types.h: Define nl_item.
6714 * grp/grp.h: Define gid_t.
6715 * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
6716 * include/nl_types.h: New file.
6717 * include/ulimit.h: New file.
6718 * io/fcntl.h: Include sys/stat.h for Unix98. Don't define locking
6719 constants in POSIX mode.
6720 * io/utime.h: Get definition for time_t.
6721 * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
6722 uid_t, pid_t. Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
6723 * libio/stdio.h: Define va_list. Make snprintf also available is
6724 __USE_UNIX98. Declare getopt function and variables.
6725 * locale/langinfo.h: Include nl_types.h. Don't define nl_item.
6726 Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
6727 * math/math.h: Defined M_* constants as double for Unix98 mode.
6728 * posix/fnmatch.h: Pretty print. Define FNM_NOSYS.
6729 * posix/glob.h: Pretty print. Define GLOB_NOSYS.
6730 * posix/regex.h: Define REG_NOSYS.
6731 * posix/wordexp.h: Define WRDE_NOSYS.
6732 * posix/unistd.h: Define _POSIX2_VERSION. Define _XOPEN_VERSION to
6734 * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
6735 somewhere else as well. Define clock_t for Unix98.
6736 * posix/sys/wait.h: Define pid_t.
6737 * pwd/pwd.h: Define gid_t, uid_t.
6738 * resource/Makefile (headers): Add ulimit.h.
6739 * resource/ulimit.h: New file.
6740 * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
6741 instead of second argument.
6742 * sysdeps/unix/bsd/ulimit.c: Likewise. Use UL_* constants.
6743 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
6744 * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
6745 * signal/signal.h: Define pid_t.
6746 * string/string.h: Don't declare BSD string functions in POSIX mode.
6747 * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE. Add
6748 _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
6749 * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
6752 * inet/test_ifindex.c: Change test so that it does not fail for
6755 * locale/programs/locale.c (show_info): Use correct cast sequence
6758 * malloc/malloc.c: __malloc_initialized now signals three states:
6759 uninitialized, initializing, initialized. Used in mcheck.
6760 * malloc/mcheck.c (mabort): Add '\n' to messages.
6761 (mcheck): Allow installation when malloc is uninitialized or is
6764 * manual/memory.texi: Explain mtrace output a bit more.
6766 * math/libm-test.c: Add more epsilons.
6768 * misc/regexp.h (compile): Remove __ prefix from parameter names.
6770 * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
6771 instead of strcpy for security.
6772 * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
6773 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
6774 * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
6776 * nss/digits_dots.c: Pretty print.
6778 * posix/getconf.c (vars): Add symbols for programming environment
6779 recognition. Recognize --version.
6781 * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
6782 _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
6783 * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
6785 * sysdeps/generic/bits/stdio_lim.h: Implement handling of
6787 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
6788 * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
6791 * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
6792 * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
6794 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
6795 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6796 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
6797 * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
6798 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
6799 * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
6801 * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
6803 * sysdeps/wordsize-64/inttypes.h: Likewise.
6805 * time/africa: Update from tzdata1997j.
6806 * time/antarctica: Likewise.
6807 * time/asia: Likewise.
6808 * time/australasia: Likewise.
6809 * time/backward: Likewise.
6810 * time/etcetera: Likewise.
6811 * time/europe: Likewise.
6812 * time/factory: Likewise.
6813 * time/northamerica: Likewise.
6814 * time/pacificnew: Likewise.
6815 * time/southamerica: Likewise.
6817 * time/tzfile.h: Update from tzcode1997h.
6818 * time/zic.c: Likewise.
6820 * wcsmbs/wchar.h: Get definition of FILE. Define `struct tm' tag.
6821 Declare wcwidth and wcswidth for __USE_XOPEN. Declare the
6822 isw*() functions for Unix98.
6823 * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
6824 * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
6827 1997-12-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6829 * locale/duplocale.c: Increase usage_count only if less than
6831 * locale/freelocale.c: Test usage_count against UNDELETABLE, not
6833 * locale/setlocale.c: Likewise.
6835 1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6837 * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
6838 dependency to make it easier to install it selectively.
6840 * Makerules (.SUFFIXES): Don't define any suffixes.
6842 1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6844 * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
6845 * sysdeps/generic/statfs64.c: Emulate using statfs.
6846 * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
6847 * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
6848 * sysdpes/generic/ftruncate64.c: New file.
6849 * sysdpes/generic/truncate64.c: New file.
6851 * sysdeps/generic/bits/stat.h: Add LFS support.
6852 * sysdeps/generic/bits/statfs.h: Likewise.
6854 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
6855 [__USE_FILE_OFFSET64]: Make long long constant.
6856 (RLIM64_INFINITY): Likewise.
6858 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
6860 (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
6861 * sysdeps/generic/bits/resource.h: Likewise.
6863 * misc/Makefile (routines): Add truncate64 and ftruncate64.
6865 * include/features.h: Don't prevent LFS support from defining BSD
6868 * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
6869 * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
6870 * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
6872 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
6873 fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
6874 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6876 * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
6877 * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
6878 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
6879 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
6880 * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
6881 * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
6882 * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
6883 * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
6884 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
6885 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
6886 * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
6887 * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
6888 * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
6889 * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
6890 * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
6891 * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
6892 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
6893 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
6894 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
6895 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
6897 * sysdeps/unix/sysv/linux/fxstat64.c: New file.
6898 * sysdeps/unix/sysv/linux/lxstat64.c: New file.
6899 * sysdeps/unix/sysv/linux/xstat64.c: New file.
6900 * sysdeps/unix/sysv/linux/readdir64.c: New file.
6901 * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
6903 * sysdeps/unix/sysv/linux/getdents64.c: New file.
6904 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
6905 [$(subdir)=dirent]: Add getdents64.
6906 * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
6908 * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
6910 1997-12-18 12:07 Philip Blundell <pb@nexus.co.uk>
6912 * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
6914 * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
6915 * sysdeps/generic/getrlimit64.c: Likewise.
6916 * sysdeps/generic/setrlimit.c: Likewise.
6917 * sysdeps/generic/setrlimit64.c: Likewise.
6919 1997-12-17 13:57 Philip Blundell <pb@nexus.co.uk>
6921 * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
6924 * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
6926 * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
6928 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6930 * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
6931 after the codeset name.
6933 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6935 * libc.map: Add get_kernel_syms.
6937 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6939 * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
6941 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
6942 Likewise. Fix condition.
6944 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6946 * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
6948 1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6950 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
6951 Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
6953 1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6955 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
6956 * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
6959 1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6961 * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
6963 1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6965 * math/libm-test.c (catanh_test): Change epsilon.
6966 Reported by H.J. Lu.
6968 1997-12-14 19:39 H.J. Lu <hjl@gnu.org>
6970 * libc.map (__getpid): Added for linuxthreads.
6972 1997-12-13 21:09 H.J. Lu <hjl@gnu.org>
6974 * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
6975 it if gcc uses static variable in DWARF2 unwind information
6976 for exception support.
6978 * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
6980 * elf/soinit.c (__libc_global_ctors, _fini): Handle
6981 HAVE_DWARF2_UNWIND_INFO_STATIC.
6983 * libc.map (__register_frame*, __deregister_frame*): Make them
6986 1997-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6988 * math/libm-test.c: Add more tests for "normal" values.
6990 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6992 * stdio-common/printf_fphex.c: Fix printing of long double number
6993 with a biased exponent of zero. Fix rounding.
6995 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6997 * sunrpc/rpc_main.c: Accept new flag -$.
6998 * sunrpc/Makefile (rpcgen-cmd): Pass it here.
7000 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7002 * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
7003 dynamic linker first, in case the interface has changed.
7005 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7007 * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
7010 1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7012 * math/tgmath.h: Check for double first, for architectures where
7013 sizeof (long double) == sizeof (double).
7015 1997-12-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7017 * math/libm-test.c: New tests for "normal" values added for most
7020 1997-12-14 21:33 Ulrich Drepper <drepper@cygnus.com>
7022 * version.h (VERSION): Bump to 2.0.91.
7024 * db2/makedb.c (process_input): Fix typo in message.
7025 * sunrpc/rpcinfo.c (pmapdump): Unify messages.
7027 * elf/dynamic-link.h: Pretty print.
7029 * elf/rtld.c: Allow multiple preloading of a shared object.
7031 * include/limits.h: Prevent multiple inclusion.
7033 * malloc/Makefile (headers): Add mcheck.h.
7034 (distribute): Remove it here.
7035 * malloc/mcheck.h: Pretty print.
7036 * malloc/mtrace.c (mallenv): Make `const'.
7037 * malloc/mtrace.pl: Don't print table head for memory leaks if there
7039 * manual/memory.texi: Update descriptor of malloc hooks.
7041 * posix/Makefile (routines): Add waitid.
7042 * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
7044 * posix/sys/wait.h: Define idtype_t type.
7045 Add prototype for waitid.
7046 * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
7047 * sysdeps/generic/waitid.c: Stub for waitid.
7048 * sysdeps/generic/bits/siginfo.h: Define sigval_t. Arrange to work
7049 the __need_siginfo_t defined.
7050 * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
7051 * sysdeps/generic/bits/types.h: Define __id_t.
7052 Correct definition of __FDMASK.
7053 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
7054 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
7055 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
7057 * sysdeps/posix/waitid.c: New file.
7058 Provided by Zack Weinberg.
7060 * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
7062 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
7063 Add missing parameters.
7065 * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
7066 * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
7067 * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
7068 * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
7071 * sysdeps/i386/dl-machine.h: Little cleanup.
7073 * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
7074 (__finite): Mark function as const.
7075 Add inline code for __ieee754_atan2.
7077 * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
7078 (but don't use it now).
7079 * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
7081 * sysdeps/libm-ieee754/s_catanf.c: Likewise.
7082 * sysdeps/libm-ieee754/s_catanl.c: Likewise.
7083 * sysdeps/libm-ieee754/s_catanh.c: Likewise. Correct sign of
7085 * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
7086 * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
7087 * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
7088 __ieee754_atan2 to base 10.
7089 * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
7090 * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
7092 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
7093 old_kernel_sigaction.
7095 * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
7097 * wctype/Makefile (routines): Add wctype_l.
7098 * wctype/wctype.h: Add declaration of __wctype_l.
7099 * wctype/wctype_l.c: New file.
7101 1997-12-10 00:38 Ulrich Drepper <drepper@cygnus.com>
7103 * locale/C-ctype.c: Correct data for isw* functions.
7104 * locale/programs/ld-ctype.c: Write 32bit char classes in correct
7106 * wctype/test_wctype.c: Add test for isw* functions.
7107 * wctype/wctype.c: Return value with expected byte order.
7109 1997-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7111 * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
7113 1997-12-05 20:19 H.J. Lu <hjl@gnu.org>
7115 * iconvdata/Makefile: Fix a typo.
7117 * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
7118 oldsiglist for shared library.
7120 * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
7121 sys_sigabbrev): Make them as the default version GLIBC_2.1.
7123 * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
7124 sys_siglist, sys_sigabbrev): New file. Make them as the old
7127 * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
7130 1997-11-20 18:02 H.J. Lu <hjl@gnu.ai.mit.edu>
7132 * libio/iofgets.c (_IO_fgets): Return an error only if there
7134 * libio/iogets.c (_IO_gets): Ditto.
7136 1997-11-20 07:26 H.J. Lu <hjl@gnu.ai.mit.edu>
7138 * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
7140 * libio/Makefile (routines, shared-only-routines): Add
7143 * libio/fileops.c: Don't use _IO_FILE_complete.
7144 * libio/iofdopen.c: Ditto.
7145 * libio/iofopen.c: Ditto.
7146 * libio/iofopen64.c: Ditto.
7147 * libio/iopopen.c: Ditto.
7148 * libio/iovdprintf.c: Ditto.
7150 * libio/genops.c (_IO_init): Set _vtable_offset to 0.
7152 * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
7153 and make it for _IO_fdopen/fdopen version GLIBC_2.1.
7155 * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
7156 _IO_old_fdopen, _IO_new_fdopen): New declaration.
7158 * libio/libio.h (_IO_FILE): Add more fields.
7159 (_IO_FILE_complete): Defined and make _IO_FILE be the old
7160 one if _IO_USE_OLD_IO_FILE is defined
7161 (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
7162 them _IO_FILE_complete.
7164 * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
7166 (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
7168 (_IO_FILE_complete): Commented out.
7170 * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
7171 * libio/oldiofclose.c: Ditto.
7172 * libio/oldiofopen.c: Ditto.
7173 * libio/oldstdfiles.c: Ditto.
7175 * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
7176 for the old _IO_FILE.
7178 * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
7179 (_IO_check_libio): Set _vtable_offset for old stdin, stdout
7182 * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
7185 * libio/stdio.c (stdin, stdout, stdin): Don't use
7188 * libio/oldiofdopen.c: New.
7190 * stdio-common/vfprintf.c (buffered_vfprintf): Set
7191 hp->_vtable_offset to 0.
7193 1997-11-18 08:03 H.J. Lu <hjl@gnu.ai.mit.edu>
7195 * libc.map (_IO_file_open): Added.
7197 * libio/libioP.h (_IO_file_open): Declared.
7199 * libio/fileops.c (_IO_file_open): New.
7200 (_IO_file_fopen): Call _IO_file_open ().
7202 * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
7203 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
7205 1997-12-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7207 * signal/signal.h: Fix selection of signal semantics to match
7210 1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7212 * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
7213 * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
7215 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
7216 [$(subdir)=signal]: Remove rt_sigreturn.
7217 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
7218 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
7219 * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
7221 1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7223 * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>. Fix
7226 1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7228 * iconvdata/extra-module.mk: Expand extra-objs now.
7230 1997-12-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7232 * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
7233 inline functions by feature tests to avoid warning about missing
7234 prototype declarations.
7236 1997-12-09 15:08 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7238 * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
7239 return code for non existent +name entries.
7240 * nis/nss_compat/compat-pwd.c: Likewise.
7241 * nis/nss_compat/compat-spwd.c: Likewise.
7243 1997-12-10 13:52 Philip Blundell <pb@nexus.co.uk>
7245 * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
7249 (__errno_location): Likewise.
7251 * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
7253 * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
7255 1997-12-09 08:10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7257 * sunrpc/publickey.c: Use new NSS interface.
7259 1997-12-09 03:08 Ulrich Drepper <drepper@cygnus.com>
7261 * manual/malloc.texi: Document mtrace/muntrace and the concept.
7263 1997-12-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7265 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
7266 value, to match spirit of the standard.
7267 * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
7268 * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
7269 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
7271 1997-12-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7273 * manual/signal.texi (Signal Stack): Remove spurious @item.
7275 1997-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7277 * rt/aio.h: Remove double semicolon.
7279 * rt/librt.map: Add aio_init.
7281 1997-12-08 03:24 Ulrich Drepper <drepper@cygnus.com>
7283 * Makeconfig: Define $(rt) to rt if linuxthreads is available.
7284 * Makefile (subdirs): Replace rt by $(rt).
7286 * shlib-versions: Use version .2 for NSS modules.
7288 * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
7290 * pwd/fgetpwent_r.c: Likewise.
7291 * spwd/fgetspent_r.c: Likewise.
7292 * spwd/sgetspent_r.c: Likewise.
7293 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
7294 Store error number in *ERRNOP. Little optimization.
7295 * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
7296 * hesiod/nss_hesiod/hesiod-service.c: Likewise.
7297 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
7298 (__internal_getnetgrent_r): New argument.
7299 Call __internal_setnetgrent_reuse with new argument.
7300 (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
7301 * inet/netgroup.h: Add argument to prototypes.
7302 * nis/nisplus-parser.h: Likewise.
7303 * nis/nss_compat/compat-grp.c: Change everything to store error
7304 code through provided pointer and not use errno.
7305 * nis/nss_compat/compat-pwd.c: Likewise.
7306 * nis/nss_compat/compat-spwd.c: Likewise.
7307 * nis/nss_nis/nis-alias.c: Likewise.
7308 * nis/nss_nis/nis-ethers.c: Likewise.
7309 * nis/nss_nis/nis-grp.c: Likewise.
7310 * nis/nss_nis/nis-hosts.c: Likewise.
7311 * nis/nss_nis/nis-netgrp.c: Likewise.
7312 * nis/nss_nis/nis-network.c: Likewise.
7313 * nis/nss_nis/nis-proto.c: Likewise.
7314 * nis/nss_nis/nis-publickey.c: Likewise.
7315 * nis/nss_nis/nis-pwd.c: Likewise.
7316 * nis/nss_nis/nis-rpc.c: Likewise.
7317 * nis/nss_nis/nis-service.c: Likewise.
7318 * nis/nss_nis/nis-spwd.c: Likewise.
7319 * nis/nss_nisplus/nisplus-alias.c: Likewise.
7320 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
7321 * nis/nss_nisplus/nisplus-grp.c: Likewise.
7322 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7323 * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
7324 * nis/nss_nisplus/nisplus-network.c: Likewise.
7325 * nis/nss_nisplus/nisplus-parser.c: Likewise.
7326 * nis/nss_nisplus/nisplus-proto.c: Likewise.
7327 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
7328 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
7329 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7330 * nis/nss_nisplus/nisplus-service.c: Likewise.
7331 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
7332 * nss/nss_db/db-XXX.c: Likewise.
7333 * nss/nss_db/db-alias.c: Likewise.
7334 * nss/nss_db/db-netgrp.c: Likewise.
7335 * nss/nss_files/files-XXX.c: Likewise
7336 * nss/nss_files/files-alias.c: Likewise
7337 * nss/nss_files/files-netgrp.c: Likewise
7338 * nss/nss_files/files-parse.c: Likewise
7339 * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
7340 parameter of get functions.
7341 * nss/getXXent_r.c: Likewise.
7343 * localedata/tst-fmon.c: Print debug info if test fails.
7345 * rt/Makefile (routines): Add aio_notify.
7346 * rt/aio.h: Remove non-public definitions. Add aioinit stuff.
7347 * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
7348 * rt/aio_fsync.c: Likewise.
7349 * rt/aio_misc.c: Likewise.
7350 * rt/aio_misc.h: Likewise.
7351 * rt/aio_read.c: Likewise.
7352 * rt/aio_read64.c: Likewise.
7353 * rt/aio_suspend.c: Likewise.
7354 * rt/aio_write.c: Likewise.
7355 * rt/aio_write64.c: Likewise.
7356 * rt/lio_listio.c: Likewise.
7357 * rt/lio_listio64.c: Likewise.
7358 * rt/aio_notify.c: New file.
7360 * sysdeps/generic/bits/sigset.h: Pretty print.
7362 * sysdeps/posix/pwrite.c: Define weak alias only if function is
7363 really defined as __pwrite.
7365 * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
7367 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7369 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
7370 (sysdep_routines): Add rt_sigpending and rt_sigreturn.
7371 * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
7373 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7374 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7375 * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
7376 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7377 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
7378 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7379 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. Take care
7381 * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
7383 * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
7384 __NR_pread is not defined.
7385 * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
7386 __NR_pwrite is not defined.
7388 1997-12-07 11:15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7390 * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
7391 handle for /etc/group back in some more cases.
7392 * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
7393 handle for /etc/passwd back in some more cases.
7394 * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
7395 handle for /etc/shadow back in some more cases.
7397 1997-12-06 17:00 H.J. Lu <hjl@gnu.org>
7399 * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
7401 * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
7402 * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
7404 1997-12-06 04:38 Ulrich Drepper <drepper@cygnus.com>
7406 * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
7407 handling. Don't use macros, we need functions. Use inline functions
7409 * sysdeps/wordsize-64/inttypes.h: Likewise.
7410 * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
7412 * sysdeps/wordsize-64/Makefile: Likewise.
7413 * sysdeps/wordsize-32/Dist: Likewise.
7414 * sysdeps/wordsize-64/Dist: Likewise.
7415 * sysdeps/wordsize-32/strtoimax.c: New file.
7416 * sysdeps/wordsize-32/strtoumax.c: New file.
7417 * sysdeps/wordsize-32/wcstoimax.c: New file.
7418 * sysdeps/wordsize-32/wcstoumax.c: New file.
7419 * sysdeps/wordsize-64/strtoimax.c: New file.
7420 * sysdeps/wordsize-64/strtoumax.c: New file.
7421 * sysdeps/wordsize-64/wcstoimax.c: New file.
7422 * sysdeps/wordsize-64/wcstoumax.c: New file.
7424 1997-12-04 10:40 Philip Blundell <pb@nexus.co.uk>
7426 * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
7427 that transparent union works.
7428 * sysdeps/generic/wait4.c (__wait4): Likewise.
7429 * sysdeps/generic/wait.c (__wait): Likewise.
7431 * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
7434 * sysdeps/generic/syscall.c (syscall): Return value and arg are
7435 long, to match prototype.
7437 * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
7440 * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
7442 * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
7444 * sysdeps/generic/bits/time.h: Use __time_t not time_t.
7446 * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
7449 * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
7451 * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
7453 * io/sys/stat.h (S_ISLNK): Always false if we don't have
7456 * sysdeps/standalone/close.c (_STDIO_H): Define before including
7458 * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
7460 1997-12-06 01:09 Ulrich Drepper <drepper@cygnus.com>
7462 * posix/sys/wait.h: Don't use transparent unions in C++.
7464 1997-12-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7466 * time/time.h: Add strfxtime.
7468 * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
7469 sysv_signal, strfxtime, pread64, pwrite64.
7471 1997-11-30 21:57 Richard Henderson <rth@cygnus.com>
7473 Alpha changes for EGCS:
7474 * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
7475 * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
7476 * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
7478 * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
7480 1997-12-05 00:01 Ulrich Drepper <drepper@cygnus.com>
7482 The kernel expects the arguments in a different order.
7483 * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
7484 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
7487 * gen-FAQ.pl: New file.
7488 * Makefile (FAQ): Add rule to generate from FAQ.in.
7490 * iconvdata/Makefile: Treat libJIS like the other modules.
7492 * rt/librt.map: New file.
7494 * sysdeps/wordsize-32/bits/environments.h: Add test for direct
7496 * sysdeps/wordsize-64/bits/environments.h: Likewise. Correct
7499 1997-12-04 22:29 Ulrich Drepper <drepper@cygnus.com>
7501 * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
7502 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
7503 * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
7504 Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
7506 1997-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7508 * string/bits/string2.h: Fix spellings.
7510 * string/string.h: Fix spellings.
7512 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7514 * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
7515 declaration to __syscall_rt_sigaction.
7517 * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
7518 non-existant <sigcontext.h>.
7520 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7522 * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
7525 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7527 * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
7529 * Makeconfig (shared-thread-library): Correct spelling.
7531 * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
7534 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7536 * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
7537 constants from Linux headers. Pointed out by
7538 csmall@scooter.o.i.net. [PR libc/369]
7540 1997-12-04 10:21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7542 * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
7544 1997-12-04 00:06 Zack Weinberg <zack@rabi.phys.columbia.edu>
7546 * configure.in: If --enable-add-ons is given without an
7547 argument, set the addons list to all subdirs with a configure
7550 1997-12-03 23:50 Ulrich Drepper <drepper@cygnus.com>
7552 * Makeconfig: Add shared-thread-library variable.
7554 * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
7555 * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
7557 * sysdeps/m68k/fpu/e_acos.c: Likewise.
7558 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
7559 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
7560 * sysdeps/m68k/fpu/e_pow.c: Likewise.
7561 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
7562 * sysdeps/m68k/fpu/k_cos.c: Likewise.
7563 * sysdeps/m68k/fpu/k_sin.c: Likewise.
7564 * sysdeps/m68k/fpu/k_tan.c: Likewise.
7565 * sysdeps/m68k/fpu/s_atan.c: Likewise.
7566 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
7567 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
7568 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
7569 * sysdeps/m68k/fpu/s_csin.c: Likewise.
7570 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
7571 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
7572 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
7573 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
7574 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
7575 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
7576 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
7577 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
7578 * sysdeps/m68k/fpu/s_modf.c: Likewise.
7579 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
7580 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
7581 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
7583 * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
7584 __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
7585 * signal/Makefile (headers): Add bits/siginfo.h.
7586 (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
7587 (distribute): Add testrtsig.h.
7588 * signal/allocrtsig.c: New file.
7589 * signal/signal.h: Define `union sigval'. Include <bits/siginfo.h>.
7590 Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
7591 __libc_current_sigrtmax.
7592 * sysdeps/generic/sigqueue.c: New file.
7593 * sysdeps/generic/sigtimedwait.c: New file.
7594 * sysdeps/generic/sigwaitinfo.c: New file.
7595 * sysdeps/generic/testrtsig.h: New file.
7596 * sysdeps/generic/bits/siginfo.h: New file.
7597 * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
7598 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
7599 old_kernel_sigaction and rename sa_handler member to k_sa_handler.
7600 * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
7601 * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
7602 * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
7603 * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
7604 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
7605 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
7606 * sysdeps/unix/sysv/linux/sigpending.c: New file.
7607 * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
7608 * sysdeps/unix/sysv/linux/sigqueue.c: New file.
7609 * sysdeps/unix/sysv/linux/sigreturn.c: New file.
7610 * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
7611 * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
7612 * sysdeps/unix/sysv/linux/testrtsig.h: New file.
7613 * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
7614 * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
7615 * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
7616 * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
7617 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
7618 and _POSIX_REALTIME_SIGNALS.
7619 * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
7620 * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
7622 * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
7623 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
7626 * Makefile (subdirs): Add rt.
7627 * shlib-versions: Add entry for librt.
7628 * rt/Makefile: New file.
7629 * rt/aio.h: New file.
7630 * rt/aio_cancel.c: New file.
7631 * rt/aio_error.c: New file.
7632 * rt/aio_fsync.c: New file.
7633 * rt/aio_misc.c: New file.
7634 * rt/aio_misc.h: New file.
7635 * rt/aio_read.c: New file.
7636 * rt/aio_read64.c: New file.
7637 * rt/aio_return.c: New file.
7638 * rt/aio_suspend.c: New file.
7639 * rt/aio_write.c: New file.
7640 * rt/aio_write64.c: New file.
7641 * rt/lio_listio.c: New file.
7642 * rt/lio_listio64.c: New file.
7643 * sysdeps/generic/aio_sigqueue.c: New file.
7644 * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
7645 * sysdeps/unix/sysv/linux/Dist: Add new files
7646 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
7647 (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
7648 rt_sigqueueinfo, rt_sigaction.
7650 * posix/Makefile (headers): Add bits/environments.h.
7651 * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
7652 and _CS_LFS_CFLAGS on 64bit platforms.
7653 * posix/unistd.h: Define _XOPEN_LEGACY. Explain _XOPEN_REALTIME
7654 and _XOPEN_REALTIME_THREADS. Include bits/environments.h.
7655 * sysdeps/generic/bits/confname.h: Define _SC_* constants for
7656 compilation modules.
7657 * sysdeps/wordsize-32/bits/environments.h: New file.
7658 * sysdeps/wordsize-64/bits/environments.h: New file.
7660 * posix/getopt.c: Remove declaration of getpid and __libc_pid.
7661 * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
7663 * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
7666 * string/string.h: Add declaration of __strverscmp.
7667 * string/strverscmp.c: Rename function ot __strverscmp and make old
7670 * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
7671 * sysdeps/generic/enbl-secure.c: Likewise.
7672 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7674 * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
7676 * sysdeps/unix/sysv/linux/sys/pci.h: New file.
7678 1997-12-03 Ulrich Drepper <drepper@cygnus.com>
7680 * posix/sys/wait.h: Use __transparent_union__ instead of
7681 transparent_union. Reported by Roland McGrath.
7683 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7685 * resolv/inet_neta.c (inet_neta): Change type of first parameter
7686 to u_int32_t. Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
7689 * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
7691 * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
7693 1997-12-03 20:40 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7695 * grp/initgroups.c: Increase buffer if it is too small.
7697 1997-12-03 Ulrich Drepper <drepper@cygnus.com>
7699 * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
7700 fields, this is no ISO C. Reported by Andreas Jaeger.
7702 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7704 * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
7706 1997-12-03 08:58 Philip Blundell <pb@nexus.co.uk>
7708 * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
7709 _SYS_UTSNAME_H not _UTSNAME_H.
7711 1997-11-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7713 * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
7716 1997-11-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7718 * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
7719 * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
7720 * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
7722 * math/libm-test.c (csqrt_test): Add testcase.
7724 1997-12-03 15:44 Ulrich Drepper <drepper@cygnus.com>
7726 * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
7727 * sysdeps/unix/sysv/linux/sys/Dist: Add it.
7728 * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
7730 1997-11-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7732 * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
7734 1997-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7736 * math/libm-test.c (acos_test): Add more tests.
7737 (asin_test): Likewise.
7738 (atan_test): Likewise.
7739 (exp_test): Likewise.
7740 (sin_test): Likewise.
7741 (sqrt_test): Likewise.
7742 (cpow_test): Likewise.
7743 (csqrt_test): Likewise.
7744 (cexp_test): Correct typo in gcc version test.
7746 1997-12-02 17:14 Philip Blundell <pb@nexus.co.uk>
7748 * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
7750 * sysdeps/arm/setjmp.S: Likewise.
7752 * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
7754 1997-12-02 18:07 Philip Blundell <pb@nexus.co.uk>
7756 * stdio/stdio.h: Add prototype for tmpfile64().
7758 1997-12-02 17:47 Philip Blundell <pb@nexus.co.uk>
7760 * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
7761 prototype to keep in step with libio version.
7763 * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
7765 1997-12-02 17:41 Philip Blundell <pb@nexus.co.uk>
7767 * sysdeps/generic/Makefile: Don't try to use make_siglist if
7770 1997-12-02 01:18 Ulrich Drepper <drepper@cygnus.com>
7772 * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
7773 load GOT ptr before jumping to _exit.
7774 Reported by Xavier Leroy.
7776 1997-12-01 17:27 Ulrich Drepper <drepper@cygnus.com>
7778 * Makefile (subdirs): Add iconvdata and localedata.
7780 * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
7782 * iconv/gconv_conf.c (read_conf_file): Little optimization.
7784 * iconvdata/8bit-gap.c: New file.
7785 * iconvdata/8bit-generic.c: Renamed from ...
7786 * iconvdata/iso8859-generic.c: ...this.
7787 * iconvdata/configure: Removed.
7788 * iconvdata/Makefile: Add new modules and better rules.
7789 * iconvdata/iso6937.c: Minor bug fixes.
7790 * iconvdata/iso8859-1.c: Likewise.
7791 * iconvdata/t61.c: Likewise.
7792 * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
7794 * iconvdata/iso8859-3.c: Likewise.
7795 * iconvdata/iso8859-4.c: Likewise.
7796 * iconvdata/iso8859-5.c: Likewise.
7797 * iconvdata/iso8859-6.c: Likewise.
7798 * iconvdata/iso8859-7.c: Likewise.
7799 * iconvdata/iso8859-8.c: Likewise.
7800 * iconvdata/iso8859-9.c: Likewise.
7801 * iconvdata/iso8859-10.c: Likewise.
7802 * iconvdata/ebcdic-at-de-a.c: New file.
7803 * iconvdata/ebcdic-at-de.c: New file.
7804 * iconvdata/ebcdic-ca-fr.c: New file.
7805 * iconvdata/hp-roman8.c: New file.
7806 * iconvdata/koi-8.c: New file.
7807 * iconvdata/koi8-r.c: New file.
7808 * iconvdata/koi8-h.c: New file.
7809 * iconvdata/latin-greek-1.c: New file.
7810 * iconvdata/latin-greek-1.h: New file.
7811 * iconvdata/latin-greek.c: New file.
7812 * iconvdata/latin-greek.h: New file.
7813 * iconvdata/jis0201.c: New file.
7814 * iconvdata/jis0201.h: New file.
7815 * iconvdata/jis0208.c: New file.
7816 * iconvdata/jis0208.h: New file.
7817 * iconvdata/jis0212.c: New file.
7818 * iconvdata/jis0212.h: New file.
7819 * iconvdata/sjis.c: New file.
7820 * iconvdata/gap.pl: New file. Script to generate table header.
7821 * iconvdata/gaptab.pl: New file.
7822 * iconvdata/gconv-modules: Add info about new modules.
7824 * locale/programs/charmap.c: Also examine alias names given in charmap
7827 * localedata/*: Add to here from add-on. We need the information
7828 to generate tables for iconv.
7830 Update from db-2.3.14.
7831 * db2/Makefile: Updated.
7832 * db2/config.h: Likewise.
7833 * db2/db.h: Likewise.
7834 * db2/db_int.h: Likewise.
7835 * db2/btree/bt_cursor.c: Likewise.
7836 * db2/btree/bt_delete.c: Likewise.
7837 * db2/btree/bt_put.c: Likewise.
7838 * db2/btree/bt_search.c: Likewise.
7839 * db2/btree/bt_split.c: Likewise.
7840 * db2/btree/btree_auto.c: Likewise.
7841 * db2/common/db_appinit.c: Likewise.
7842 * db2/common/db_apprec.c: Likewise.
7843 * db2/common/db_err.c: Likewise.
7844 * db2/common/db_region.c: Likewise.
7845 * db2/db/db_auto.c: Likewise.
7846 * db2/db/db_dispatch.c: Likewise.
7847 * db2/db/db_ret.c: Likewise.
7848 * db2/dbm/dbm.c: Likewise.
7849 * db2/hash/hash_auto.c: Likewise.
7850 * db2/include/btree_ext.h: Likewise.
7851 * db2/include/common_ext.h: Likewise.
7852 * db2/include/db.h.src: Likewise.
7853 * db2/include/db_cxx.h: Likewise.
7854 * db2/include/db_ext.h: Likewise.
7855 * db2/include/db_int.h.src: Likewise.
7856 * db2/include/lock.h: Likewise.
7857 * db2/include/log.h: Likewise.
7858 * db2/include/mp.h: Likewise.
7859 * db2/include/mp_ext.h: Likewise.
7860 * db2/include/os_ext.h: Likewise.
7861 * db2/include/os_func.h: Likewise.
7862 * db2/lock/lock.c: Likewise.
7863 * db2/lock/lock_deadlock.c: Likewise.
7864 * db2/log/log.c: Likewise.
7865 * db2/log/log_archive.c: Likewise.
7866 * db2/log/log_auto.c: Likewise.
7867 * db2/log/log_get.c: Likewise.
7868 * db2/log/log_put.c: Likewise.
7869 * db2/mp/mp_bh.c: Likewise.
7870 * db2/mp/mp_fget.c: Likewise.
7871 * db2/mp/mp_fopen.c: Likewise.
7872 * db2/mp/mp_fput.c: Likewise.
7873 * db2/mp/mp_fset.c: Likewise.
7874 * db2/mp/mp_open.c: Likewise.
7875 * db2/mp/mp_pr.c: Likewise.
7876 * db2/mp/mp_region.c: Likewise.
7877 * db2/mp/mp_sync.c: Likewise.
7878 * db2/mutex/README: Likewise.
7879 * db2/mutex/mutex.c: Likewise.
7880 * db2/os/os_open.c: Likewise.
7881 * db2/os/os_func.c: Removed.
7882 * db2/os/os_config.c: New file.
7883 * db2/os/os_spin.c: New file.
7884 * db2/txn/txn.c: Likewise.
7885 * db2/txn/txn_auto.c: Likewise.
7887 1997-11-30 06:01 Ulrich Drepper <drepper@cygnus.com>
7889 * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
7890 __typeof for C++ since this fails for class members.
7891 Reported by Neal Becker <neal@ctd.comsat.com>.
7893 1997-11-28 11:21 Zack Weinberg <zack@rabi.phys.columbia.edu>
7895 * configure.in: Check for a working makeinfo (3.11 or better).
7896 * config.make.in: Add MAKEINFO to be substituted.
7897 * manual/Makefile: Don't update info if makeinfo is too old.
7899 1997-11-30 05:21 Ulrich Drepper <drepper@cygnus.com>
7901 * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
7902 * sysdeps/alpha/__longjmp.S: Likewise.
7903 * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
7904 not <bits/termios.h>.
7906 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
7907 __llseek and make llseek and lseek64 weak aliases.
7908 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7909 Patches by a sun <asun@zoology.washington.edu>.
7911 1997-11-29 19:19 Zack Weinberg <zack@rabi.phys.columbia.edu>
7913 * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
7914 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7915 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7916 * misc/sys/syslog.h: Clean up BSD header.
7918 1997-11-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7920 * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
7922 * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
7924 * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
7925 * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
7927 * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
7928 csqrt (-1), ctanh(i*pi/4).
7930 1997-11-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7932 * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
7934 1997-11-28 13:28 Philip Blundell <Philip.Blundell@pobox.com>
7936 * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
7938 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7940 * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
7942 1997-11-26 21:28 Ulrich Drepper <drepper@cygnus.com>
7944 * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
7945 and use. Define GETCWD_RETURN_TYPE instead and use it.
7946 * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
7947 of GETCWD_STORYGE_CLASS and put the return type and the
7948 `internal_function' in the right order for gcc 2.7.2.
7950 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7952 * sysdeps/unix/sysv/linux/sys/module.h: Remove file. It's
7953 incompatible with Linux 2.1.x. Packages using modules
7954 (e.g. modutils) should/do provide their own version. Suggested by
7957 * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
7959 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
7960 [$(subdir)=socket]: Remove sys/module.h.
7962 1997-11-26 04:28 Ulrich Drepper <drepper@cygnus.com>
7964 * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
7965 computing s_scale. Patch by a sun <asun@zoology.washington.edu>.
7967 * iconv/gconv_close.c: Correct freeing of descriptor data.
7968 * iconv/gconv_simple.c: Return correct error values for illegal or
7969 incomplete characters.
7971 * Makefile (iconvdata/%): Special goal to simplify iconvdata
7973 * iconvdata/Makefile: New file.
7974 * iconvdata/configure: Likewise.
7975 * iconvdata/extra-module.mk: Likewise.
7976 * iconvdata/gconv-modules: Likewise.
7977 * iconvdata/iso6937.c: Likewise.
7978 * iconvdata/iso8859-1.c: Likewise.
7979 * iconvdata/iso8859-10.c: Likewise.
7980 * iconvdata/iso8859-10.h: Likewise.
7981 * iconvdata/iso8859-2.c: Likewise.
7982 * iconvdata/iso8859-2.h: Likewise.
7983 * iconvdata/iso8859-3.c: Likewise.
7984 * iconvdata/iso8859-3.h: Likewise.
7985 * iconvdata/iso8859-4.c: Likewise.
7986 * iconvdata/iso8859-4.h: Likewise.
7987 * iconvdata/iso8859-5.c: Likewise.
7988 * iconvdata/iso8859-5.h: Likewise.
7989 * iconvdata/iso8859-6.c: Likewise.
7990 * iconvdata/iso8859-6.h: Likewise.
7991 * iconvdata/iso8859-7.c: Likewise.
7992 * iconvdata/iso8859-7.h: Likewise.
7993 * iconvdata/iso8859-8.c: Likewise.
7994 * iconvdata/iso8859-8.h: Likewise.
7995 * iconvdata/iso8859-9.c: Likewise.
7996 * iconvdata/iso8859-9.h: Likewise.
7997 * iconvdata/iso8859-generic.c: Likewise.
7998 * iconvdata/t61.c: Likewise.
8000 * string/Makefile (routines): Add strcasestr.
8001 * string/string.h: Add prototype for strcasestr.
8002 * sysdeps/generic/strcasestr.c: New file.
8003 * wcsmbs/mbrtowc.c: Simplify special case a bit.
8004 * wcsmbs/wcrtomb.c: Likewise.
8005 * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
8006 * wcsmbs/wcsnrtombs.c: Likewise.
8007 * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
8008 partial character is read.
8009 * wcsmbs/wcsrtombs.c: Likewise.
8010 * wcsmbs/wmemrtombs.c: Likewise.
8011 * wcsmbs/wmemrtowcs.c: Likewise.
8013 * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
8014 * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
8015 * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
8016 * sysdeps/i386/elf/setjmp.S: Likewise.
8017 * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
8020 * sysdeps/posix/mk-stdiolim.c: Output file with comment.
8021 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
8023 * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
8024 * sysvipc/sys/ipc.h: Likewise.
8025 * sysvipc/sys/msg.h: Likewise.
8026 * sysvipc/sys/sem.h: Likewise.
8027 * sysvipc/sys/shm.h: Likewise.
8029 * sysdeps/alpha/bits/endian.h: Issue error message if the header is
8031 * sysdeps/alpha/bits/setjmp.h: Likewise.
8032 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
8033 * sysdeps/arm/bits/endian.h: Likewise.
8034 * sysdeps/arm/bits/setjmp.h: Likewise.
8035 * sysdeps/generic/bits/byteswap.h: Likewise.
8036 * sysdeps/generic/bits/confname.h: Likewise.
8037 * sysdeps/generic/bits/dirent.h: Likewise.
8038 * sysdeps/generic/bits/dlfcn.h: Likewise.
8039 * sysdeps/generic/bits/endian.h: Likewise.
8040 * sysdeps/generic/bits/fenv.h: Likewise.
8041 * sysdeps/generic/bits/huge_val.h: Likewise.
8042 * sysdeps/generic/bits/in.h: Likewise.
8043 * sysdeps/generic/bits/ioctl-types.h: Likewise.
8044 * sysdeps/generic/bits/ioctls.h: Likewise.
8045 * sysdeps/generic/bits/ipc.h: Likewise.
8046 * sysdeps/generic/bits/msq.h: Likewise.
8047 * sysdeps/generic/bits/poll.h: Likewise.
8048 * sysdeps/generic/bits/resource.h: Likewise.
8049 * sysdeps/generic/bits/sched.h: Likewise.
8050 * sysdeps/generic/bits/sem.h: Likewise.
8051 * sysdeps/generic/bits/setjmp.h: Likewise.
8052 * sysdeps/generic/bits/shm.h: Likewise.
8053 * sysdeps/generic/bits/sigaction.h: Likewise.
8054 * sysdeps/generic/bits/sigcontext.h: Likewise.
8055 * sysdeps/generic/bits/socket.h: Likewise.
8056 * sysdeps/generic/bits/stat.h: Likewise.
8057 * sysdeps/generic/bits/statfs.h: Likewise.
8058 * sysdeps/generic/bits/stdio_lim.h: Likewise.
8059 * sysdeps/generic/bits/termios.h: Likewise.
8060 * sysdeps/generic/bits/time.h: Likewise.
8061 * sysdeps/generic/bits/uio.h: Likewise.
8062 * sysdeps/generic/bits/utmp.h: Likewise.
8063 * sysdeps/generic/bits/utmpx.h: Likewise.
8064 * sysdeps/generic/bits/utsname.h: Likewise.
8065 * sysdeps/generic/bits/waitflags.h: Likewise.
8066 * sysdeps/generic/bits/waitstatus.h: Likewise.
8067 * sysdeps/gnu/bits/utmp.h: Likewise.
8068 * sysdeps/gnu/bits/utmpx.h: Likewise.
8069 * sysdeps/i386/bits/byteswap.h: Likewise.
8070 * sysdeps/i386/bits/endian.h: Likewise.
8071 * sysdeps/i386/bits/huge_val.h: Likewise.
8072 * sysdeps/i386/bits/setjmp.h: Likewise.
8073 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8074 * sysdeps/ieee754/bits/huge_val.h: Likewise.
8075 * sysdeps/m68k/bits/byteswap.h: Likewise.
8076 * sysdeps/m68k/bits/endian.h: Likewise.
8077 * sysdeps/m68k/bits/setjmp.h: Likewise.
8078 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
8079 * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
8080 * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
8081 * sysdeps/mach/hurd/bits/stat.h: Likewise.
8082 * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
8083 * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
8084 * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
8085 * sysdeps/mips/bits/dlfcn.h: Likewise.
8086 * sysdeps/mips/bits/endian.h: Likewise.
8087 * sysdeps/mips/bits/setjmp.h: Likewise.
8088 * sysdeps/mips/dec/bits/endian.h: Likewise.
8089 * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
8090 * sysdeps/mips/mipsel/bits/endian.h: Likewise.
8091 * sysdeps/mips/p40/bits/endian.h: Likewise.
8092 * sysdeps/powerpc/bits/endian.h: Likewise.
8093 * sysdeps/powerpc/bits/fenv.h: Likewise.
8094 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8095 * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
8096 * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
8097 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
8098 * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
8099 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
8100 * sysdeps/unix/bsd/bits/dirent.h: Likewise.
8101 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8102 * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
8103 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
8104 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
8105 * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
8106 * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
8107 * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
8108 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
8109 * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
8110 * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
8111 * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
8112 * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
8113 * sysdeps/unix/common/bits/dirent.h: Likewise.
8114 * sysdeps/unix/sysv/bits/dirent.h: Likewise.
8115 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8116 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8117 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8118 * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
8119 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
8120 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
8121 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
8122 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
8123 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
8124 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
8125 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8126 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
8127 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
8128 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
8129 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
8130 * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
8131 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8132 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8133 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
8134 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8135 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8136 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8137 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8138 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
8139 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
8140 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8141 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8142 * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
8143 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
8144 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
8145 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8146 * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
8147 * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
8148 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
8149 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8150 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
8151 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
8152 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
8153 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
8154 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
8155 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
8156 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
8157 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
8158 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
8159 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
8160 * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
8161 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8162 * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
8163 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
8164 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8165 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8166 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
8167 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
8168 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
8169 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8170 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
8171 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
8172 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
8173 * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
8174 * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
8175 * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
8176 * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
8177 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
8178 * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
8179 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
8180 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
8181 * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
8182 * sysdeps/vax/bits/huge_val.h: Likewise.
8183 * sysdeps/vax/bits/setjmp.h: Likewise.
8184 * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
8185 * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
8187 1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8189 * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
8191 1997-11-25 Paul Eggert <eggert@shade.twinsun.com>
8193 * strftime.c (strftime):
8194 No longer any need to undef or declare if emacs is defined.
8195 (my_strftime): When checking a -1 returned by mktime, don't blow up
8196 if localtime_r returns NULL.
8198 1997-11-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8200 * README.template: Fix spelling.
8202 1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8204 * configure.in: Enhance --enable-add-ons description a wee bit.
8206 1997-11-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8208 * glibcbug.in: Add more information of build environment and flags.
8210 1997-11-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8212 * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
8215 1997-11-24 03:01 Ulrich Drepper <drepper@cygnus.com>
8217 * elf/dl-support.c: Call __libc_init_secure to make sure
8218 __libc_enable_secure is defined early.
8219 * sysdeps/generic/enbl-secure.c: Change function name to
8220 __libc_init_secure and make it global instead of a constructor.
8222 * iconv/gconv.c: Fix lots of bugs.
8223 * iconv/gconv.h: Likewise.
8224 * iconv/gconv_builtin.h: Likewise.
8225 * iconv/gconv_close.c: Likewise.
8226 * iconv/gconv_conf.c: Likewise.
8227 * iconv/gconv_db.c: Likewise.
8228 * iconv/gconv_dl.c: Likewise.
8229 * iconv/gconv_open.c: Likewise.
8230 * iconv/gconv_simple.c: Likewise.
8231 * iconv/iconv.c: Likewise.
8232 * iconv/iconv_close.c: Likewise.
8233 * iconv/iconv_open.c: Likewise.
8235 * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
8236 * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
8237 * wcsmbs/wmemrtombs.c: New file.
8238 * wcsmbs/wmemrtowcs.c: New file.
8240 1997-11-22 19:28 Ulrich Drepper <drepper@cygnus.com>
8242 * iconv/gconv_simple.c: Fix lots of bugs.
8243 * iconv/iconv_open.c: Normalize names before passing them to
8246 * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
8248 * libio/iopopen.c: Check for correct mode argument and punt otherwise.
8249 * stdio-common/test-popen.c: Add test for above change.
8251 * math/libm-test.c: Print test results also using %a format,
8252 specified in PRINTF_XEXPR macro.
8253 * math/test-double.c: Define PRINTF_XEXPR.
8254 * math/test-float.c: Likewise.
8255 * math/test-ldouble.c: Likewise.
8256 * math/test-idouble.c: Likewise.
8257 * math/test-ifloat.c: Likewise.
8258 * math/test-ildoubl.c: Likewise.
8260 * stdio-common/vfscanf.c: Recognize a in format specifier only as
8261 modifier if used before s, S, or [. Otherwise it's the hexadecimal
8264 * stdlib/strtod.c: Little code cleanup.
8266 * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
8267 compiling in math subdir.
8269 * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
8270 instead of __LIBC_M81_MATH_INLINES.
8271 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
8272 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
8273 * sysdeps/m68k/fpu/e_pow.c: Likewise.
8274 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
8275 * sysdeps/m68k/fpu/k_cos.c: Likewise.
8276 * sysdeps/m68k/fpu/k_sin.c: Likewise.
8277 * sysdeps/m68k/fpu/k_tan.c: Likewise.
8278 * sysdeps/m68k/fpu/s_atan.c: Likewise.
8279 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
8280 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
8281 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
8282 * sysdeps/m68k/fpu/s_csin.c: Likewise.
8283 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
8284 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
8285 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
8286 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
8287 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
8288 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
8289 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
8290 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
8291 * sysdeps/m68k/fpu/s_modf.c: Likewise.
8292 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
8293 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
8294 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
8295 * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
8296 __LIBC_INTERNAL_MATH_INLINES is defined.
8298 * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
8299 of compare macros from ISO C 9X. Optimize generic versions a bit.
8300 Define __signbit inline functions and __ieee754_sqrt which can be
8301 used if the ompiler is fixed.
8303 * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
8305 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8307 * Makerules ($(common-objpfx)stub-$(subdir)): Look for
8308 sysdeps/generic in the whole dep file, not only in the first line.
8310 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8312 * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
8314 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8316 * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
8319 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8321 * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
8324 1997-11-20 16:51 Ulrich Drepper <drepper@cygnus.com>
8326 * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
8329 1997-11-19 21:36 Ulrich Drepper <drepper@cygnus.com>
8331 * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
8332 readlink succeeds but the return value is too long.
8334 * stdio-common/printf_fphex.c: Determine sign of number correctly.
8336 1997-11-19 02:45 Ulrich Drepper <drepper@cygnus.com>
8338 * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
8341 1997-11-18 23:08 Ulrich Drepper <drepper@cygnus.com>
8343 * sysdeps/generic/sys/ucontext.h: Stub context file.
8345 * libio/iofprintf.c: Removed. We use the stdio-common version.
8347 * manual/Makefile (distribute): Add stdio-fp.c.
8349 * sysdeps/powerpc/Dist: Add ppc-mcount.S.
8351 * db2/Makefile (distribute): Add include/os_func.h, README and
8354 * hesiod/Makefile (distribute): Add README.hesiod.
8356 1997-11-18 22:14 Ulrich Drepper <drepper@cygnus.com>
8358 * iconv/gconv.c: Correctly call transformation function.
8360 * manual/maint.texi: Document need of binutils 2.8.1.0.17.
8362 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8364 * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
8365 wrong results for e.g. remquo (3,2, &x)).
8366 * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
8367 * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
8369 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8371 * configure.in (ld --version-script): Test if the same symbol
8372 maybe defined in all versions (needed by recent changes to
8373 libc.map and supported with binutils 2.8.1.0.17) and issue warning
8374 if versioning is not supported/enabled.
8375 (bash test): Correct test case.
8377 * math/libm-test.c: Added counting/reporting of number of test cases.
8379 * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
8382 * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
8384 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8386 * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
8388 1997-11-18 18:04 Ulrich Drepper <drepper@cygnus.com>
8390 * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
8391 Replace revoke call by use of REVOKE.
8392 * sysdeps/unix/sysv/linux/pty.c: New file. Define REVOKE as
8393 empty and #include generic version.
8394 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8396 1997-11-18 16:02 Ulrich Drepper <drepper@cygnus.com>
8398 * libc.map: Add socket functions with __libc_* names.
8399 Reported by Andreas Jaeger.
8401 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8403 * libc.map: Tidy up (remove duplicates, sort entries).
8405 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8407 * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
8409 1997-11-18 06:45 Ulrich Drepper <drepper@cygnus.com>
8411 * sysdeps/generic/pty.c: Make thread safe. Fix bug when calling
8412 again after successful call.
8413 Patch by Marc Lehmann <pcg@goof.com>.
8415 1997-11-17 Paul Eggert <eggert@twinsun.com>
8417 * time/mktime.c, time/strftime.c (_REENTRANT): #define,
8418 as some hosts need this to declare localtime_r properly.
8420 1997-11-18 06:08 Ulrich Drepper <drepper@cygnus.com>
8422 * libc.map: Add iconv_open, iconv, and iconv_close.
8424 1997-11-18 02:31 Ulrich Drepper <drepper@cygnus.com>
8426 * iconv/Makefile: New file.
8427 * iconv/gconv.c: New file.
8428 * iconv/gconv.h: New file.
8429 * iconv/gconv_builtin.c: New file.
8430 * iconv/gconv_builtin.h: New file.
8431 * iconv/gconv_close.c: New file.
8432 * iconv/gconv_conf.c: New file.
8433 * iconv/gconv_db.c: New file.
8434 * iconv/gconv_dl.c: New file.
8435 * iconv/gconv_open.c: New file.
8436 * iconv/gconv_simple.c: New file.
8437 * iconv/iconv.c: New file.
8438 * iconv/iconv.h: New file.
8439 * iconv/iconv_close.c: New file.
8440 * iconv/iconv_open.c: New file.
8441 * include/gconv.h: New file.
8443 * Makeconfig: Define gconvdir.
8444 * Makefile (subdirs): Add iconv.
8446 * string/bits/string2.h: Add optimization for strtok_r.
8448 * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
8450 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
8451 Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
8453 * configure.in: Correct test for bash2.
8454 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8456 * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
8457 (CFLAGS-locfile.c): Likewise.
8458 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8460 * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
8461 non-existing entry if the table is full.
8463 * posix/regex.h: Pretty print.
8465 * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
8467 * sysdeps/posix/ctermid.c: Simplify a bit.
8469 * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
8471 1997-11-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8473 * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
8474 <sys/types.h> instead of <asm/types.h>.
8476 1997-11-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8478 * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
8480 1997-11-16 17:09 H.J. Lu <hjl@gnu.ai.mit.edu>
8482 * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
8483 fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
8484 (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
8485 (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
8486 fclose): Added to GLIBC_2.1.
8488 * libio/Makefile (routines, shared-only-routines): Add
8489 oldiofclose. Remove oldfreopen.
8491 * libio/freopen.c (freopen): When PIC is defined, call
8492 _IO_old_freopen () for old stdio.
8494 * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
8495 (_IO_fclose, fclose): Use _IO_new_fclose as default version
8498 * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
8499 instead of _IO_file_close_it.
8501 * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
8503 (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
8506 * libio/libioP.h (_IO_old_do_flush): New.
8508 * libio/oldfileops.c (_IO_old_file_close_it,
8509 _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
8510 Call _IO_old_do_flush () instead of _IO_do_flush ().
8511 (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
8514 * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
8515 instead of _IO_file_init ().
8516 Bind old symbols to version GLIBC_2.0.
8518 * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
8519 (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
8521 (_IO_check_libio): New function in .init.
8523 * libio/oldiofclose.c: New file.
8525 * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
8526 _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
8527 (DEF_STDFILE): Don't use default_symbol_version.
8529 * libio/stdio.c (stdin, stdout, stderr): Set to
8531 (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
8534 * csu/Makefile (distribute): Add init.c.
8535 (extra-objs): Add init.o for ELF.
8536 (start-installed-name): Add $(objpfx)init.o.
8538 * csu/init.c: New file.
8540 1997-11-12 08:02 H.J. Lu <hjl@gnu.ai.mit.edu>
8542 * elf/dl-lookup.c (do_lookup): Don't use the hidden base
8543 definition as the default.
8545 1997-08-27 Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>
8547 * erand48_r.c (__erand48_r): Implement for 32 bit short int.
8549 1997-11-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8551 * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
8554 1997-11-16 21:01 Philip Blundell <Philip.Blundell@pobox.com>
8556 * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
8557 to preserve condition codes on function call.
8559 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8561 * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
8563 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8565 * math/libm-test.c (asin_test): Add epsilon for float.
8566 (tan_test): Add epsilon for float.
8567 (log1p_test): Add epsilon for float.
8568 (inverse_functions): Add epsilons.
8570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
8573 * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
8575 1997-11-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8577 * md5-crypt/Makefile (extra-objs): Make recursively expanded
8578 variable, since $(object-suffixes) is not defined yet.
8580 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8582 * db2/Makefile (distribute): db185/db185_int.src ->
8585 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8587 * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
8590 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8592 * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
8594 * sysdeps/generic/e_acosl.c: Likewise.
8595 * sysdeps/generic/e_asinl.c: Likewise.
8596 * sysdeps/generic/e_atan2l.c: Likewise.
8597 * sysdeps/generic/e_expl.c: Likewise.
8598 * sysdeps/generic/e_fmodl.c: Likewise.
8599 * sysdeps/generic/e_j0l.c: Likewise.
8600 * sysdeps/generic/e_j1l.c: Likewise.
8601 * sysdeps/generic/e_jnl.c: Likewise.
8602 * sysdeps/generic/e_lgammal_r.c: Likewise.
8603 * sysdeps/generic/e_log10l.c: Likewise.
8604 * sysdeps/generic/e_logl.c: Likewise.
8605 * sysdeps/generic/e_powl.c: Likewise.
8606 * sysdeps/generic/e_sqrtl.c: Likewise.
8607 * sysdeps/generic/e_exp2l.c: Likewise.
8609 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8611 * Make-dist (+sysdep-names): Remove extra paren.
8612 * Makefile (distribute): Add stub-tag.h.
8613 * elf/Makefile (distribute): Add atomicity.h.
8614 * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
8615 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
8616 [$(subdir)=socket]: Add net/if_packet.h.
8617 * sysdeps/alpha/Dist: Remove setjmp_aux.c.
8618 * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
8619 net/if_packet.h, scsi/sg.h.
8621 1997-11-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8623 * Makefile (install): Quote $(CC) expansion.
8625 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8627 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
8628 working /proc cwd and no restrictions on path length. Following
8629 some ideas from Andi Kleen <ak@muc.de> (PR 350).
8631 1997-11-14 19:14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
8633 * nis/nss_compat/compat-grp.c: Remove buggy assert call.
8634 * nis/nss_compat/compat-pwd.c: Likewise.
8635 * nis/nss_compat/compat-spwd.c: Likewise.
8637 1997-11-14 22:23 Ulrich Drepper <drepper@cygnus.com>
8639 * sysdeps/libm-i387/s_fdim.S: New file.
8640 * sysdeps/libm-i387/s_fdimf.S: New file.
8641 * sysdeps/libm-i387/s_fdiml.S: New file.
8642 * sysdeps/libm-i387/i686/s_fdim.S: New file.
8643 * sysdeps/libm-i387/i686/s_fdimf.S: New file.
8644 * sysdeps/libm-i387/i686/s_fdiml.S: New file.
8646 1997-11-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8648 * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
8649 pointer to unsigned char.
8651 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8653 * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
8655 * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
8657 * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
8659 1997-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8661 * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
8663 * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
8664 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
8666 1997-11-14 05:44 Ulrich Drepper <drepper@cygnus.com>
8668 * sysdeps/libm-i387/s_fmin.S: New file.
8669 * sysdeps/libm-i387/s_fminf.S: New file.
8670 * sysdeps/libm-i387/s_fminl.S: New file.
8671 * sysdeps/libm-i387/s_fmax.S: New file.
8672 * sysdeps/libm-i387/s_fmaxf.S: New file.
8673 * sysdeps/libm-i387/s_fmaxl.S: New file.
8674 * sysdeps/libm-i387/i686/s_fmin.S: New file.
8675 * sysdeps/libm-i387/i686/s_fminf.S: New file.
8676 * sysdeps/libm-i387/i686/s_fminl.S: New file.
8677 * sysdeps/libm-i387/i686/s_fmax.S: New file.
8678 * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
8679 * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
8681 1997-11-14 03:06 Ulrich Drepper <drepper@cygnus.com>
8683 * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
8684 * sysdeps/unix/sysv/linux/send.S: Likewise.
8685 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
8686 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
8687 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
8688 * sysdeps/unix/sysv/linux/recv.S: Likewise.
8689 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
8690 * sysdeps/unix/sysv/linux/connect.S: Likewise.
8691 Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
8693 See ChangeLog.7 for earlier changes.