1 1998-04-24 5:45 Richard Henderson <rth@cygnus.com>
3 * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
5 Wed Apr 22 11:06:09 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7 * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
9 1998-04-21 21:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
11 * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
12 asm symbol name of functions.
13 * include/features.h: Kill redundant test.
15 * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
17 * io/sys/stat.h: Likewise.
18 * io/sys/statfs.h: Likewise.
19 * io/sys/statvfs.h: Likewise.
20 * libio/stdio.h: Likewise.
21 * resource/sys/resource.h: Likewise.
24 * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
26 * signal/signal.h: Use new macros for BSD vs. SysV signal().
28 * misc/Makefile: Drop bsd-compat.c. Make libbsd-compat.a
30 * misc/bsd-compat.c: Removed.
32 1998-04-21 20:32 Ulrich Drepper <drepper@cygnus.com>
34 * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
36 * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
37 and use them in conversion function.
38 * iconvdata/Makefile (modules): Re-add ISO6446.
39 * iconvdata/TEST: Add tests for ASCII variants.
40 * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
41 * iconvdata/testdata/ANSI_X3.4-1968: New file.
42 * iconvdata/testdata/BS_4730: New file.
43 * iconvdata/testdata/BS_4730..UTF8: New file.
45 1998-04-21 19:05 Ulrich Drepper <drepper@cygnus.com>
47 * iconv/gconv.h (struct gconv_step): Add element stateful.
48 * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
49 to zero for all internal conversions.
50 * iconv/skeleton.c: Initialize stateful depending on whether or not
51 RESET_STATE is defined to one or zero respectively.
52 * stdlib/mblen.c: Use stateful element of currently selected
53 converter for result if S is NULL.
54 * stdlib/mbtowc.c: Likewise.
55 * stdlib/wctomb.c: Likewise.
57 1998-04-21 18:00 Ulrich Drepper <drepper@cygnus.com>
59 * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
61 * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
63 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
64 character in comparison with uint32_t.
65 (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
66 (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
69 * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
72 * iconv/skeleton.c: Also reset converted counter in case of an error.
73 Call reset function using correct value for output buffer start.
75 * iconvdata/Makefile: Re-enable tests.
77 * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
78 value for to-conversion.
80 * iconvdata/TESTS: Add new third column.
81 * iconvdata/run-iconv-test.sh: Add support for charsets which are
83 * iconvdata/testdata/suntzus: New file.
85 * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
86 while reading. Correctly used base. Little optimization.
87 (__strtoul_internal): Likewise.
89 * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
90 was wrong. Use explicit variable.
92 1998-04-20 23:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
94 * configure.in: Check for awk.
95 * config.make.in: Add AWK to be substituted.
97 * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
98 * manual/users.texi: Fix typo exposed by above rewrite.
100 * Makefile: Invoke awk using AWK variable.
101 * csu/Makefile: Likewise.
102 * elf/Makefile: Likewise.
103 * mach/Makefile: Likewise.
104 * manual/Makefile: Likewise.
105 * sysdeps/gnu/Makefile: Likewise.
106 * sysdeps/mach/hurd/Makefile: Likewise.
107 * sysdeps/unix/Makefile: Likewise.
108 * timezone/Makefile: Likewise.
110 1998-04-10 Gordon Matzigkeit <gord@profitpress.com>
112 * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
113 array index translation.
114 (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
117 * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
119 * sysdeps/mach/hurd/errlist.c: New file.
120 (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
121 (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
122 semantics, so rename it.
124 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
126 * iconvdata/run-iconv-test.sh: Make portable. Always test all
129 1998-04-21 12:30 H.J. Lu <hjl@gnu.org>
131 * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
132 * wcsmbs/wcsnrtombs.c: Likewise.
134 1998-04-21 Ulrich Drepper <drepper@cygnus.com>
136 * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
138 * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
140 * time/strftime.c (my_strftime): Initialize pad variable in
143 * iconvdata/big5.c: Don't use character constants in comparisons
146 1998-04-20 18:00 Ulrich Drepper <drepper@cygnus.com>
148 * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
149 __libc_siglongjmp to GLIBC_2.1.
151 * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
154 * iconv/Makefile: Don't run tests now.
156 * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
157 with correct output buffer.
159 Major rewrite of the low-level gconv functionality.
160 * iconv/gconv.c: Rewritten.
161 * iconv/gconv.h: Likewise.
162 * iconv/gconv_builtin.c: Likewise.
163 * iconv/gconv_builtin.h: Likewise.
164 * iconv/gconv_conf.c: Likewise.
165 * iconv/gconv_int.h: Likewise.
166 * iconv/gconv_open.c: Likewise.
167 * iconv/gconv_simple.c: Likewise.
168 * iconv/iconv.c: Likewise.
169 * iconvdata/8bit-gap.c: Likewise.
170 * iconvdata/8bit-generic.c: Likewise.
171 * iconvdata/Makefile: Likewise.
172 * iconvdata/big5.c: Likewise.
173 * iconvdata/cns11643.c: Likewise.
174 * iconvdata/cns11643.h: Likewise.
175 * iconvdata/cns11643l1.c: Likewise.
176 * iconvdata/cns11643l1.h: Likewise.
177 * iconvdata/ebcdic-at-de-a.c: Likewise.
178 * iconvdata/ebcdic-at-de.c: Likewise.
179 * iconvdata/ebcdic-ca-fr.c: Likewise.
180 * iconvdata/euccn.c: Likewise.
181 * iconvdata/eucjp.c: Likewise.
182 * iconvdata/euckr.c: Likewise.
183 * iconvdata/euctw.c: Likewise.
184 * iconvdata/gb2312.c: Likewise.
185 * iconvdata/gb2312.h: Likewise.
186 * iconvdata/hp-roman8.c: Likewise.
187 * iconvdata/iso646.c: Likewise.
188 * iconvdata/iso6937.c: Likewise.
189 * iconvdata/iso8859-1.c: Likewise.
190 * iconvdata/iso8859-10.c: Likewise.
191 * iconvdata/iso8859-2.c: Likewise.
192 * iconvdata/iso8859-3.c: Likewise.
193 * iconvdata/iso8859-4.c: Likewise.
194 * iconvdata/iso8859-5.c: Likewise.
195 * iconvdata/iso8859-6.c: Likewise.
196 * iconvdata/iso8859-7.c: Likewise.
197 * iconvdata/iso8859-8.c: Likewise.
198 * iconvdata/iso8859-9.c: Likewise.
199 * iconvdata/jis0201.c: Likewise.
200 * iconvdata/jis0201.h: Likewise.
201 * iconvdata/jis0208.c: Likewise.
202 * iconvdata/jis0208.h: Likewise.
203 * iconvdata/jis0212.c: Likewise.
204 * iconvdata/jis0212.h: Likewise.
205 * iconvdata/johab.c: Likewise.
206 * iconvdata/koi-8.c: Likewise.
207 * iconvdata/koi8-r.c: Likewise.
208 * iconvdata/ksc5601.c: Likewise.
209 * iconvdata/ksc5601.h: Likewise.
210 * iconvdata/latin-greek-1.c: Likewise.
211 * iconvdata/latin-greek.c: Likewise.
212 * iconvdata/run-iconv-test.sh: Likewise.
213 * iconvdata/sjis.c: Likewise.
214 * iconvdata/t61.c: Likewise.
215 * iconvdata/uhc.c: Likewise.
216 * wcsmbs/btowc.c: Likewise.
217 * wcsmbs/mbrtowc.c: Likewise.
218 * wcsmbs/mbsnrtowcs.c: Likewise.
219 * wcsmbs/mbsrtowcs.c: Likewise.
220 * wcsmbs/wcrtomb.c: Likewise.
221 * wcsmbs/wcsmbsload.c: Likewise.
222 * wcsmbs/wcsnrtombs.c: Likewise.
223 * wcsmbs/wcsrtombs.c: Likewise.
224 * wcsmbs/wctob.c: Likewise.
225 * iconv/loop.c: New file.
226 * iconv/skeleton.c: New file.
228 * stdlib/mblen.c: Handle empty input string correctly.
229 * stdlib/mbtowc.c: Likewise.
231 * posix/getopt.c: Various cleanups.
233 * sysdeps/arm/bits/setjmp.h: Add copyright text.
234 * sysdeps/i386/bits/setjmp.h: Likewise.
235 * sysdeps/m68k/bits/setjmp.h: Likewise.
236 * sysdeps/powerpc/bits/setjmp.h: Likewise.
237 * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
239 * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
240 and make longjmp weak alias.
242 1998-04-18 20:29 Philip Blundell <Philip.Blundell@pobox.com>
244 * iconv/Makefile (routines): Only include gconv_dl if building for
245 an ELF system - dynamic linking is not available on a.out.
246 (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
248 * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
249 routines from gconv_dl.
251 1998-04-17 Gordon Matzigkeit <gord@profitpress.com>
253 * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
254 we can compile without libio.
256 1998-04-20 16:28 Ulrich Drepper <drepper@cygnus.com>
258 * sysdeps/mach/hurd/Subdirs: Remove login.
260 1998-04-11 Gordon Matzigkeit <gord@profitpress.com>
262 * db2/compat.h: Include <errno.h>, to make sure we get the
263 definition of EFTYPE before we define it ourselves.
265 1998-04-10 Gordon Matzigkeit <gord@profitpress.com>
267 * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
268 * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
269 Fix typo to allow inclusion from sys/ioctl.h again.
271 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
273 * iconvdata/*.[ch]: Clean up namespace. Optimize character lookup.
275 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
277 * libc.map: Export __strerror_r. Remove _strerror_internal.
279 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
281 * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
282 Also undefine __strcasestr.
284 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
286 * posix/regex.c: Rename __re_max_failures back to re_max_failures,
287 aliases do not work with global variables due to copy relocations.
289 1998-04-20 15:12 Ulrich Drepper <drepper@cygnus.com>
291 * manual/creature.texi: Fix type. Patch by Andreas Schwab.
293 1998-04-20 13:47 Ulrich Drepper <drepper@cygnus.com>
295 * signal/sighold.c: Include stddef.h for NULL definition.
296 * signal/sigrelse.c: Likewise.
297 * sysdeps/posix/sigignore.c: Likewise.
298 * sysdeps/posix/sigset.c: Likewise.
299 * sysdeps/posix/waitid.c: Likewise.
300 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
301 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
302 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
303 * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
304 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
306 1998-04-13 Mark Kettenis <kettenis@phys.uva.nl>
308 * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
309 * login/getutent.c (getutxent): Remove alias.
310 * login/getutent_r.c (setutxent, pututxline, endutxent):
312 * login/getutid.c (getutxid): Remove alias.
313 * login/getutline.c (getutxline): Remove alias.
314 * login/utmp.h: Add prototypes for __updwtmp, __getutent,
315 __getutid, __getutline and __pututline.
316 * login/utmpx.h: Moved to ...
317 * sysdeps/gnu/utmpx.h: ... here. [__USE_GNU]: Define UTMPX_FILE,
318 UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
320 * login/updwtmp.c: Moved to ...
321 * sysdeps/generic/updwtmp.c: ... here. (updwtmp): Generalized by
322 allowing file name transformation.
323 * sysdeps/gnu/updwtmp.c: New file. Use generic implementation with
324 additional file name transformation.
325 * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
326 * login/utmp_file.c: Moved to ...
327 * sysdeps/generic/utmp_file.c: ... here. (setutent_file):
328 Generalized by allowing file name transformation. Do not
329 print error message. Library functions should not print them.
330 Reported by Jim Meyering.
331 * sysdeps/gnu/utmp_file.c: New file. Use generic implementation
332 with additional file name transformation.
333 * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
334 * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
335 setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
336 pututxline, utmpxname and updwtmpx. (sysdep_headers): Add utmpx.h
338 * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
339 (_PATH_UTMPX): Define to _PATH_UTMP. (_PATH_WTMPX): Define to
340 _PATH_WTMPX. (RUN_LVL): Define only if __USE_GNU. (ACCOUNTING):
342 * sysdeps/generic/setutxent.c: New file.
343 * sysdeps/generic/getutxent.c: New file.
344 * sysdeps/generic/endutxent.c: New file.
345 * sysdeps/generic/getutxid.c: New file.
346 * sysdeps/generic/getutxline.c: New file.
347 * sysdeps/generic/pututxline.c: New file.
348 * sysdeps/generic/utmpxname.c: New file.
349 * sysdeps/generic/updwtmpx.c: New file.
350 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
351 * sysdeps/generic/bits/utmpx.h: Remove.
353 1998-04-20 Ulrich Drepper <drepper@cygnus.com>
355 * posix/wordexp-test.c (main): Initialize ifs element of ts for
358 1998-04-17 07:53 H.J. Lu <hjl@gnu.org>
360 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
362 1998-04-17 11:32 Ulrich Drepper <drepper@cygnus.com>
364 * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
365 variable using _G_stat64.
366 * libio/fileops.c: Remove macro definition of fstat, it is in the
368 Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
370 1998-04-17 Philip Blundell <pb@nexus.co.uk>
372 * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
373 <willy@odie.barnet.ac.uk>.
375 1998-04-16 Philip Blundell <Philip.Blundell@pobox.com>
377 * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
378 required by IPv6 Basic API.
379 (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
380 (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
381 (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
382 (IN6_IS_ADDR_MC_GLOBAL): Likewise.
384 1998-04-15 16:41 Ulrich Drepper <drepper@cygnus.com>
386 Don't name internal representation since it might be different from
387 the external form (namely on little endian machines).
388 * iconv/gconv_builtin.h: Add UCS4 support. Change references to
389 UCS4 into references to INTERNAL.
390 * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
391 Add endianess support to UCS functions. Change references to
392 UCS4 into references to INTERNAL.
393 * iconv/gconv_int.h: Change references to UCS4 into references to
395 * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
396 * iconvdata/gconv-modules: Change accordingly.
397 * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
399 * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
401 * iconvdata/8bit-gap.c: Likewise.
402 * iconvdata/8bit-generic.c: Likewise.
403 * iconvdata/big5.c: Likewise.
404 * iconvdata/euccn.c: Likewise.
405 * iconvdata/eucjp.c: Likewise.
406 * iconvdata/euckr.c: Likewise.
407 * iconvdata/euctw.c: Likewise.
408 * iconvdata/iso646.c: Likewise.
409 * iconvdata/iso6937.c: Likewise.
410 * iconvdata/iso8859-1.c: Likewise.
411 * iconvdata/johab.c: Likewise.
412 * iconvdata/sjis.c: Likewise.
413 * iconvdata/t61.c: Likewise.
414 * iconvdata/uhc.c: Likewise.
416 * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
417 * iconvdata/8bit-generic.c: Likewise.
419 * iconvdata/TESTS: Add more tests.
421 * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
423 1998-04-15 11:47 Ulrich Drepper <drepper@cygnus.com>
425 * iconvdata/Makefile: Better rules to run tests.
427 * iconvdata/testdata/ISO-8859-1..UTF8: New file.
428 * iconvdata/testdata/ISO-8859-10: Likewise.
429 * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
430 * iconvdata/testdata/ISO-8859-2: Likewise.
431 * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
432 * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
433 * iconvdata/testdata/ISO-8859-3: Likewise.
434 * iconvdata/testdata/ISO-8859-4: Likewise.
435 * iconvdata/testdata/ISO-8859-5: Likewise.
436 * iconvdata/testdata/ISO-8859-6: Likewise.
437 * iconvdata/testdata/ISO-8859-7: Likewise.
438 * iconvdata/testdata/ISO-8859-8: Likewise.
439 * iconvdata/testdata/ISO-8859-9: Likewise.
441 1998-04-15 Ulrich Drepper <drepper@cygnus.com>
443 * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
444 intermediate result (if available).
446 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
449 * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
450 (distribute): Add run-iconv-test.sh and testdata/*.
452 * stdlib/testmb.c (main): Simplify mbc array handling.
454 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
456 * elf/dl-minimal.c (__strtol_internal): Correct range check. Fix
457 return value on overflow.
459 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
461 * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
464 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
466 * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
467 of non-standard function setbuffer.
469 1998-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
471 * stdio-common/perror.c: Include <string.h> for __strerror_r.
473 1998-04-14 23:54 Ulrich Drepper <drepper@cygnus.com>
475 * iconvdata/Makefile: Add rules to run tests.
476 * iconvdata/TESTS: New file.
477 * iconvdata/run-iconv-test.sh: New file.
478 * iconvdata/testdata/ISO-8859-1: New file.
480 * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
483 1998-04-14 18:22 Ulrich Drepper <drepper@cygnus.com>
485 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
486 counter element of step.
488 * iconv/gconv_dl.c: Don't mark get_sym as internal function.
490 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
492 (__gconv_transform_ucs4_utf8): Likewise. Remove unnecessary variable
494 (__gconv_transform_utf8_ucs4): Correct test for empty input.
496 1998-04-14 Ulrich Drepper <drepper@cygnus.com>
498 * Makefile: Include makeconfig before defining rule to regenerate
501 * configure.in: Remove restriction on compiling without static
504 1998-04-14 16:34 Ulrich Drepper <drepper@cygnus.com>
506 * test-skeleton.c: Provide hook for initializing code before the fork.
507 * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
510 * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
511 * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
512 * libio/libioP.h: Adopt _IO_cleanup prototype.
514 * stdlib/Makefile (tests): Add test-canon2.
515 * stdlib/test-canon2.c: New file.
516 * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
517 be NULL. Use __lxstat, not __lstat. Correctly recognize long
519 (__realpath): Make real function which checks RESOLVED parameter for
522 1998-04-14 Ulrich Drepper <drepper@cygnus.com>
524 * catgets/open_catalog.c (__open_catalog): Fix problems with
525 reading non-files. Always close file.
526 Reported by Cristian Gafton <gafton@redhat.com>.
528 * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
530 1998-04-14 13:28 Ulrich Drepper <drepper@cygnus.com>
532 * libc.map: Add various low-level I/O functions.
534 1998-04-14 10:35 Ulrich Drepper <drepper@cygnus.com>
536 * string/Makefile (routines): Remove strerror_r.
537 * string/strerror_r.c: Removed.
538 * string/strerror.c: Call __strerror_r for doing the real work.
539 * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
540 add weak alias strerror_r.
541 * sysdeps/mach/_strerror.c: Likewise.
542 * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
543 * elf/dl-error.c (_dl_signal_error): Likewise.
544 * elf/dl-profile.c (_dl_start_profile): Likewise.
545 * gmon/gmon.c (write_gmon): Likewise.
546 * stdio-common/perror.c: Likewise.
547 * stdio-common/vfprintf.c: Likewise.
549 1998-04-10 Mark Kettenis <kettenis@phys.uva.nl>
551 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
552 (sysdep_headers): Add netatalk/at.h.
554 1998-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
556 * manual/socket.texi, manual/creature.texi, manual/time.texi:
559 1998-04-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
561 * posix/regex.c: Rename __re_syntax_options back to
562 re_syntax_options, aliases do not work with global variables due
564 (regex_compile): Use syntax parameter instead of
567 1998-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
569 * configure.in: Document that enable-force-install is default.
571 1998-04-13 Ulrich Drepper <drepper@cygnus.com>
573 * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
575 * sysdeps/posix/mkstemp.c: Likewise.
577 1998-04-13 17:40 Ulrich Drepper <drepper@cygnus.com>
579 * iconvdata/8bit-gap.c: Simplify step data handling.
580 * iconvdata/8bit-generic.c: Likewise.
581 * iconvdata/big5.c: Likewise.
582 * iconvdata/euccn.c: Likewise.
583 * iconvdata/eucjp.c: Likewise.
584 * iconvdata/euckr.c: Likewise.
585 * iconvdata/euctw.c: Likewise.
586 * iconvdata/iso6937.c: Likewise.
587 * iconvdata/iso8859-1.c: Likewise.
588 * iconvdata/jis0208.h: Likewise.
589 * iconvdata/jis0212.c: Likewise.
590 * iconvdata/jis0212.h: Likewise.
591 * iconvdata/johab.c: Likewise.
592 * iconvdata/ksc5601.h: Likewise.
593 * iconvdata/sjis.c: Likewise.
594 * iconvdata/t61.c: Likewise.
595 * iconvdata/uhc.c: Likewise.
597 1998-04-13 16:36 Ulrich Drepper <drepper@cygnus.com>
599 * manual/texinfo.texi: Updated from last version.
601 1998-04-13 14:52 Ulrich Drepper <drepper@cygnus.com>
603 * iconvdata/cns11643.c: New file.
604 * iconvdata/cns11643.h: New file.
605 * iconvdata/cns11643l1.c: New file.
606 * iconvdata/cns11643l1.h: New file.
607 * iconvdata/euctw.c: New file.
608 * iconvdata/Makefile: Add rules for EUC-TW and CNS.
609 * iconvdata/gconv-modules: Likewise.
611 * iconvdata/eucjp.c: Several bug fixes and improvements.
612 * iconvdata/gb2312.h: Likewise.
613 * iconvdata/jis0201.h: Likewise.
614 * iconvdata/jis0208.h: Likewise.
615 * iconvdata/jis0212.h: Likewise.
617 1998-04-13 09:11 Ulrich Drepper <drepper@cygnus.com>
619 * iconvdata/eucjp.c: New file.
620 * iconvdata/euccn.c: New file.
621 * iconvdata/gb2312.h: New file.
622 * iconvdata/gb2312.c: New file.
623 * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
624 * iconvdata/gconv-modules: Likewise.
626 * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
628 1998-04-12 Ulrich Drepper <drepper@cygnus.com>
630 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
631 (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
632 Patch by Mark Hatle <fray@kernel.crashing.org>.
634 1998-04-12 22:47 Philip Blundell <Philip.Blundell@pobox.com>
636 * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
638 (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
639 (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
641 1998-04-12 Ulrich Drepper <drepper@cygnus.com>
643 * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
645 * iconvdata/Makefile: Add rules for big5 conversion.
646 * iconvdata/gconv-modules: Likewise.
647 * iconvdata/big5.c: New file.
649 * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
650 Patch by Jim Meyering.
652 1998-04-11 Ulrich Drepper <drepper@cygnus.com>
654 * rt/tst-aio.c: Add test for aio_read and lio_listio.
656 * rt/lio_listio.c: Correct total counter handling.
658 * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
661 * test-skeleton.c (main): Make stdout unbuffered. Improve message
662 of signal on exit even more.
664 * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
665 instead of call to pthread_cond_init.
666 * rt/lio_listio.c (lio_listio): Likewise.
667 * rt/lio_listio64.c (lio_listio64): Likewise.
669 * nis/nis_findserv.c: Include sys/socket.h.
671 1998-04-11 09:33 Ulrich Drepper <drepper@cygnus.com>
673 * Makeconfig (rtobjdir): New variable.
674 (rpath-link): Add rtobjdir and thread directory, if available.
676 * test-skeleton.c: Add support to remove temporary files.
677 Always define test_dir. Improve message about expected signal.
679 * rt/Makefile (tests): Add tst-aio.
680 Add rules for tst-aio to be linked with librt and thread library.
681 * rt/aio_misc.c: Correct fundamental bugs.
682 * rt/aio_suspend.c: Correct bug in test for available request.
683 Initialize conditional variable.
684 * rt/lio_listio.c: Initialize conditional variable.
685 * rt/lio_listio64.c: Likewise.
686 * rt/tst-aio.c: New file.
688 * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
689 * sysdeps/libm-ieee754/w_gamma.c: Likewise. Adopt for ISO C 9x.
690 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
691 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
692 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
693 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
694 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
696 1998-04-11 14:49 Mark Kettenis <kettenis@landau.phys.uva.nl>
698 * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
700 1998-04-10 Ulrich Drepper <drepper@cygnus.com>
702 * elf/dl-load.c (open_path): Use correct name for test whether
703 directory in load path exists.
705 * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
706 * sysdeps/libm-ieee754/e_pow.c: Fix typo.
707 Patches by Tom Rini <trini@kernel.crashing.org>.
709 * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
710 * wcsmbs/wcstod_l.c: Likewise.
711 * wcsmbs/wcstold_l.c: Likewise.
713 * include/byteswap.h: New file.
715 * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
716 .bss segment size. Patch by Joe Keane <jgk@jgk.org>.
718 * inet/getnameinfo.c (getnameinfo): Change parameter to match
719 declaration. Patch by Richard Henderson.
721 1998-04-10 12:40 Zack Weinberg <zack@rabi.phys.columbia.edu>
723 * manual/process.texi (SIGCHLD example): Save errno.
725 1998-04-09 Ulrich Drepper <drepper@cygnus.com>
727 * posix/regex.c: Define regerror really as __regerror.
728 * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
729 regerror and regfree.
731 * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
732 * stdlib/strtod_l.c: Likewise.
733 * stdlib/strtold_l.c: Likewise.
735 * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
737 * sysdeps/i386/i486/bits/string.h: Remove unused variables.
739 * misc/syslog.c (closelog_internal): Set LogTag to NULL.
740 Patch by Christian Gafton.
742 1998-04-09 14:27 Ulrich Drepper <drepper@cygnus.com>
744 * manual/socket.texi (Interface Naming): Correct @deftypefun line
747 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
749 * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
751 * manual/socket.texi (Interface Naming): Fix typo.
753 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
755 * manual/examples/filesrv.c (main): Remove filename first.
757 * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
760 * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
763 * manual/examples/filecli.c (main): Use AF_LOCAL
766 1998-04-09 Ulrich Drepper <drepper@cygnus.com>
768 * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
770 * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
771 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
772 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
773 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
774 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
775 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
777 * login/utmp_daemon.c (open_socket): Use __connect not connect.
779 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
781 * configure.in: Add new option --enable-force-install. Substitute
783 * config.make.in (force-install): Set from configure.
784 * Makerules (force-install): New phony target.
785 * Makeconfig (+force): New variable.
786 * Makefile: Use it in dependency list of installation targets.
787 * db/Makefile: Likewise.
788 * db2/Makefile: Likewise.
789 * elf/Makefile: Likewise.
790 * hurd/Makefile: Likewise.
791 * iconv/Makefile: Likewise.
792 * iconvdata/Makefile: Likewise.
793 * intl/Makefile: Likewise.
794 * localedata/Makefile: Likewise.
795 * login/Makefile: Likewise.
796 * po/Makefile: Likewise.
797 * sunrpc/Makefile: Likewise.
798 * sysdeps/mach/hurd/Makefile: Likewise.
799 * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
800 * sysdeps/unix/sysv/linux/Makefile: Likewise.
801 * timezone/Makefile: Likewise.
803 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
805 * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
806 alloc_size. Pass return value of getcwd syscall to realloc.
808 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
810 * manual/socket.texi: Spelling fixes.
812 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
814 * elf/dl-load.c (print_search_path): Remove unused variable.
816 1998-04-08 Ulrich Drepper <drepper@cygnus.com>
818 * login/utmp_file.c: use __ftruncate not ftruncate.
819 * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
820 for system call and make ftruncate weak alias.
821 * posix/unistd.h: Add prototype for __ftruncate.
822 * login/utmp_daemon.c (open_socket): Use __socket not socket.
823 * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
824 instead of snprintf and readv.
825 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
827 * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
830 1998-04-08 20:06 Ulrich Drepper <drepper@cygnus.com>
832 * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
833 * iconv/gconv_db.c: Use __ protected regex functions.
834 * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
835 * posix/getopt_init.c: Use __getpid not getpid.
836 * posix/regex.c: Rename all global functions to start with __ and
837 make old names weak aliases.
838 * posix/regex.h: Adopt prototypes for this.
839 * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
840 a weak alias and use __getcwd instead of getcwd.
841 * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
842 * stdlib/strtod.c: Use __btowc instead of btowc.
843 * stdlib/strtol.c: Likewise.
844 * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
845 * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
846 and sys_errlist are weak.
847 * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
848 * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
849 * wcsmbs/mbsnrtowcs.c: Likewise.
850 * wcsmbs/mbsrtowcs.c: Likewise.
851 * wcsmbs/wcsnrtombs.c: Likewise.
852 * wcsmbs/wcsrtombs.c: Likewise.
853 * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
855 * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
856 * wctype/wctype.c: Define function as __wctype and make wctype
858 * wctype/wctype.h: Declare __wctype.
860 1998-04-08 Ulrich Drepper <drepper@cygnus.com>
862 * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
864 1998-04-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
866 * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
868 (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
870 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
872 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
873 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
874 * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
875 make it a weak alias.
876 * posix/unistd.h: Declare __lseek64.
878 * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
879 (_IO_file_stat): Fix typo.
880 (_IO_file_xsgetn): Update fd->_offset. Read a multiple of the
881 block size from the file. Use __mempcpy if _LIBC.
883 1998-04-07 20:32 Ulrich Drepper <drepper@cygnus.com>
885 * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
886 * wcsmbs/mbrtowc.c: Likewise.
887 * wcsmbs/mbsnrtowcs.c: Likewise.
888 * wcsmbs/mbsrtowcs.c: Likewise.
889 * wcsmbs/wcrtomb.c: Likewise.
890 * wcsmbs/wcsnrtombs.c: Likewise.
891 * wcsmbs/wcsrtombs.c: Likewise.
892 * wcsmbs/wctob.c: Likewise.
894 * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
895 position of next output character correctly.
896 (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
898 * stdio-common/vfprintf.c (vfprintf): Clear state before used.
900 * stdlib/strtod.c: Don't use mbtowc.
902 1998-04-07 19:07 H.J. Lu <hjl@gnu.org>
904 * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
905 what we want is smaller than a buffer.
907 1998-04-07 18:14 Ulrich Drepper <drepper@cygnus.com>
909 * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
912 1998-04-07 Ulrich Drepper <drepper@cygnus.com>
914 * configure.in: Recognize --with-headers flag and determine
915 commandline options to be used in compilation.
916 * Makeconfig (+includes): Use $(sysincludes).
917 * config.make.in (sysincludes): Define from SYSINCLUDES.
918 * glibcbug.in: Use SYSINCLUDES information.
919 Patches by Zack Weinberg.
921 1998-04-07 19:03 Zack Weinberg <zack@rabi.phys.columbia.edu>
923 * glibcbug.in: On linux, report version of kernel headers seen
926 1998-04-07 16:18 Ulrich Drepper <drepper@cygnus.com>
928 * libc.map: Add __asprintf to GLIBC_2.1.
929 * elf/dlerror.c: Use __asprintf, not asprintf.
930 * libio/stdio.h: Declare __asprintf.
931 * stdio-common/asprintf.c: Define as __asprintf and make asprintf
934 * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
935 to avoid inclusion from libc_pic.a.
937 * elf/dl-runtime.c: Undo last patch.
939 * stdlib/strtod.c: Don't use mbtowc, use btowc.
941 * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
942 as default, use NULL.
944 1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
946 * resolv/Makefile: Include ../Makeconfig - needed for building
949 1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
951 * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
952 static-nss since we don't want hesiod in the static NSS.
954 * nss/Makefile: Build only nss_files as static.
956 * nss/function.def: Remove support for service db.
958 1998-04-04 09:44 H.J. Lu <hjl@gnu.org>
960 * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
962 1998-04-04 18:29 Tim Waugh <tim@cyberelk.demon.co.uk>
964 * posix/wordexp-test.c: Make IFS per test-case.
966 1998-04-07 17:50 Zack Weinberg <zack@rabi.phys.columbia.edu>
968 * glibcbug.in: Report version of gcc in use. Remove unused variable
971 1998-04-07 Gordon Matzigkeit <gord@profitpress.com>
973 * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
974 `-print-file-name' to find as and ld.
976 1998-04-07 Ulrich Drepper <drepper@cygnus.com>
978 * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
979 template is wrong. Remove unused varaible `ignored'.
981 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
983 * libc.map: Export __libc_sa_len.
985 * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
987 1998-04-07 08:51 Ulrich Drepper <drepper@cygnus.com>
989 * iconv/gconv.c: Take care for NULL arguments.
990 * iconv/gconv_dl.c: Make find_func function global.
991 * iconv/gconv_int.h: Add prototype for __gconv_find_func.
992 Add prototypes for ASCII conversion functions.
993 * iconv/gconv_simple.c: Add ASCII conversion functions.
994 * locale/C-ctype.c: Correct charset name.
996 * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
997 (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
999 * wcsmbs/btowc.c: Rewrite to use iconv functionality.
1000 * wcsmbs/mbrtowc.c: Likewise.
1001 * wcsmbs/mbsnrtowcs.c: Likewise.
1002 * wcsmbs/mbsrtowcs.c: Likewise.
1003 * wcsmbs/wcrtomb.c: Likewise.
1004 * wcsmbs/wcsnrtombs.c: Likewise.
1005 * wcsmbs/wcsrtombs.c: Likewise.
1006 * wcsmbs/wctob.c: Likewise.
1007 * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen. Remove
1008 prototypes for wmemr*.
1009 * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
1010 * wcsmbs/wcsnlen.c: New file.
1011 * wcsmbs/wcsmbsload.c: New file.
1012 * wcsmbs/wcsmbsload.h: New file.
1014 * manual/filesys.texi: Mention risks of tmpnam and mktemp.
1016 * manual/install.texi: Describe some more critical points.
1018 * string/string.h: Add prototype for __strnlen.
1019 * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
1021 * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
1022 much less predictable names.
1023 * sysdeps/posix/mkstemp.c: Likewise.
1025 1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1027 * manual/libc.texinfo (Top): Change "file namespace" to "local
1030 * manual/socket.texi: Change file namespace to local namespace.
1031 (Out-of-Band Data): Remove unneeded variable link.
1032 (Host Address Functions): Use uint32_t consequently and add a
1033 number of clarifications for IPv4/IPv6, classless addresses.
1034 (Internet Namespace): Added some paragraphs about IPv6.
1035 Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
1037 1998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
1039 Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
1041 * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
1042 (NI_NUMERICHOST, et al.): Tidy up and add comments.
1043 (AI_NUMERICHOST): Define.
1044 (getnodebyname): New prototype.
1045 (AI_V4MAPPED, et al.): New constants.
1047 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
1048 * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
1049 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
1051 * sysdeps/unix/sysv/linux/sa_len.c: New file.
1052 * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
1054 * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
1056 * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
1057 * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
1058 * socket/Makefile (headers): Add bits/sockunion.h.
1059 * socket/sys/socket.h: Include <bits/sockunion.h>
1060 * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
1061 <sys/socket.h>, to avoid getting sockaddr_union defined.
1062 * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
1063 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1064 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1066 * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
1067 (2.2.x kernels won't have it).
1069 1998-04-06 21:21 Ulrich Drepper <drepper@cygnus.com>
1071 * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
1072 * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
1073 * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
1074 Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
1076 1998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
1078 * manual/socket.texi (Socket Addresses): Fix a typo.
1079 (Interface Naming): New section.
1081 1998-04-05 23:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
1083 * configure.in: Check for CC using $ac_tool_prefix, to handle
1084 cross-compilation. Use AC_CHECK_TOOL to find MiG.
1085 * config.make.in: Add MIG to be substituted.
1086 * mach/Machrules: Don't define MIG variable.
1088 Patch by Gordon Matzigkeit <gord@profitpress.com>.
1090 1998-04-05 Mark Kettenis <kettenis@phys.uva.nl>
1092 * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
1093 strdupa to copy rpath.
1095 1998-04-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1097 * configure.in: Fix gcc version check.
1099 * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
1102 1998-03-31 Mark Kettenis <kettenis@phys.uva.nl>
1104 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
1107 * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
1109 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
1110 * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
1111 * sysdeps/unix/grantpt.c (grantpt): Change check of return value
1112 of __ptsname_r accordingly.
1113 * login/openpty.c (openpty): Likewise.
1115 1998-06-04 18:47 H.J. Lu <hjl@gnu.org>
1117 * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
1119 1998-04-06 13:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1121 * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
1123 * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
1125 1998-04-06 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1127 * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
1128 return value for better error checking.
1130 1998-04-06 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
1132 * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
1133 _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
1135 * elf/elf.h (EM_SPARC64): Remove.
1136 (EM_SPARC32PLUS, EM_SPARCV9): Add.
1137 (HWCAP_SPARC_V9): Add.
1139 * elf/ldsodefs.h (_dl_hwcap): Declare.
1140 * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
1141 Weaken so dlopen from static progies works.
1142 (WEAKADDR): New macro.
1143 (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
1144 (LD_SO_PRELOAD): New macro.
1145 (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
1146 (elf_machine_rela): Weaken _dl_rtld_map.
1148 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
1149 to __clone, and remove the later's alias.
1150 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1152 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
1153 the kernel's structure.
1155 * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
1156 Sparc needs a custom value of __KERNEL_NCCS.
1158 1998-04-06 Richard Henderson <rth@cygnus.com>
1160 * sysdeps/generic/libc-start.c: Allow init and fini to be null.
1162 * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
1163 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1165 1998-04-06 Richard Henderson <rth@cygnus.com>
1167 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
1168 as the buffer is not properly aligned.
1169 Reported by Juan Cespedes <cespedes@debian.org>.
1171 1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1173 * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
1176 1998-04-05 Ulrich Drepper <drepper@cygnus.com>
1178 * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
1179 and wc*tomb* functions.
1181 1998-04-04 15:16 Philip Blundell <Philip.Blundell@pobox.com>
1183 * sysdeps/unix/start.c: Fix typo.
1185 1998-04-04 Ulrich Drepper <drepper@cygnus.com>
1187 * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
1189 1998-04-03 23:38 Ulrich Drepper <drepper@cygnus.com>
1191 * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
1192 expressions and using array variables.
1193 * sysdeps/libm-ieee754/e_asin.c: Likewise.
1194 * sysdeps/libm-ieee754/e_j0.c: Likewise.
1195 * sysdeps/libm-ieee754/e_j1.c: Likewise.
1196 * sysdeps/libm-ieee754/e_log.c: Likewise.
1197 * sysdeps/libm-ieee754/e_pow.c: Likewise.
1198 * sysdeps/libm-ieee754/k_cos.c: Likewise.
1199 * sysdeps/libm-ieee754/k_sin.c: Likewise.
1200 * sysdeps/libm-ieee754/k_tan.c: Likewise.
1201 * sysdeps/libm-ieee754/s_atan.c: Likewise.
1202 * sysdeps/libm-ieee754/s_erf.c: Likewise.
1203 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
1204 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
1205 Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
1207 1998-04-03 23:17 Ulrich Drepper <drepper@cygnus.com>
1209 * iconv/gconv.c: Rewrite of the low-level of gconv.
1210 * iconv/gconv.h: Likewise.
1211 * iconv/gconv_builtin.h: Likewise.
1212 * iconv/gconv_close.c: Likewise.
1213 * iconv/gconv_db.: Likewise.
1214 * iconv/gconv_dl.c: Likewise.
1215 * iconv/gconv_int.h: Likewise.
1216 * iconv/gconv_open.c: Likewise.
1217 * iconv/gconv_simple.c: Likewise.
1218 * iconvdata/8bit-gap.c: Adapt for rewrite.
1219 * iconvdata/8bit-generic.c: Likewise.
1220 * iconvdata/euckr.c: Likewise.
1221 * iconvdata/iso646.c: Likewise.
1222 * iconvdata/iso6937.c: Likewise.
1223 * iconvdata/iso8859-1.c: Likewise.
1224 * iconvdata/johab.c: Likewise.
1225 * iconvdata/sjis.c: Likewise.
1226 * iconvdata/t61.c: Likewise.
1227 * iconvdata/uhc.c: Likewise.
1229 1998-04-03 15:34 Ulrich Drepper <drepper@cygnus.com>
1231 * iconv/gconv_int.h: New file. Internal header.
1232 * iconv/Makefile (distribute): Add gconv_int.h.
1233 * iconv/gconv.h: Remove definition which are now in gconv_int.h.
1234 * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
1235 * iconv/gconv_close.c: Likewise.
1236 * iconv/gconv_conf.c: Likewise.
1237 * iconv/gconv_db.c: Likewise.
1238 * iconv/gconv_dl.c: Likewise.
1239 * iconv/gconv_int.h: Likewise.
1240 * iconv/gconv_open.c: Likewise.
1241 * iconv/iconv.c: Likewise.
1242 * iconv/iconv_close.c: Likewise.
1243 * iconv/iconv_open.c: Likewise.
1244 * iconv/iconv_prog.c: Likewise.
1246 1998-04-03 Ulrich Drepper <drepper@cygnus.com>
1248 * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
1251 1998-04-03 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1253 * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
1255 1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
1257 Based on patch from Pat Beirne:
1258 * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
1259 PIC and non-PIC now. Correctly negate error number.
1260 (errno): Use `%' not `@' in .type directives.
1262 1998-04-03 Ulrich Drepper <drepper@cygnus.com>
1264 * sysdeps/i386/strtok.S: Change to use single exit point.
1265 * sysdeps/i386/i686/strtok.S: Likewise.
1267 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1269 * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
1272 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1274 * Makerules (installed-libcs): Fix typo.
1276 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1278 * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
1279 (UHC-routines): Remove ksc5601.
1281 1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
1283 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
1284 introduced in last change.
1286 1998-04-03 06:22 Ulrich Drepper <drepper@cygnus.com>
1288 * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
1291 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
1293 * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
1295 * stdlib/isomac.c: Use -isystem instead of -I for system include
1298 1998-03-30 08:05 H.J. Lu <hjl@gnu.org>
1300 * resolv/res_comp.c (underscorechar): New.
1301 (middlechar): Allow '_'.
1303 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
1305 * intl/explodename.c (stdlib.h): Include that file only if
1306 STDC_HEADERS or _LIBC.
1307 (string.h): Include that file only if HAVE_STRING_H or _LIBC.
1308 Patch by Philippe De Muyter <phdm@macqel.be>.
1310 1998-04-01 21:08 Zack Weinberg <zack@rabi.phys.columbia.edu>
1312 * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
1313 (AC_PROG_CHECK_VER): New macro.
1314 * configure.in: Use AC_PROG_CHECK_VER to check versions of
1315 gcc, gmake, msgfmt, makeinfo. Remove superfluous tests.
1317 1998-04-02 15:13 Ulrich Drepper <drepper@cygnus.com>
1319 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
1320 * sysdeps/i386/i686/strtok.S: New file
1321 * sysdeps/i386/i686/strtok_r.S: New file
1323 1998-04-02 Mark Kettenis <kettenis@phys.uva.nl>
1325 * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
1327 * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
1328 parameter as __off64_t instead of __off_t.
1329 (ftello): Make alias for ftello64 instead of ftello. Change
1330 return type to __off64_t.
1332 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
1334 * sysdeps/i386/bits/string.h: Fix various typos.
1335 Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
1337 * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
1339 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
1341 * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
1342 lchown syscall correctly. [PR libc/541].
1344 1998-04-02 11:45 Ulrich Drepper <drepper@cygnus.com>
1346 * localedata/Makefile: Correct testsuite rules.
1348 * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
1349 * iconvdata/iso646.c: Fix conversion from UCS4.
1351 * elf/ldsodefs.h: Mark internal function with internal_function.
1352 * elf/dl-addr.c: Likewise.
1353 * elf/dl-close.c: Likewise.
1354 * elf/dl-debug.c: Likewise.
1355 * elf/dl-deps.c: Likewise.
1356 * elf/dl-error.c: Likewise.
1357 * elf/dl-fini.c: Likewise.
1358 * elf/dl-init.c: Likewise.
1359 * elf/dl-load.c: Likewise.
1360 * elf/dl-lookup.c: Likewise.
1361 * elf/dl-object.c: Likewise.
1362 * elf/dl-open.c: Likewise.
1363 * elf/dl-profile.c: Likewise.
1364 * elf/dl-reloc.c: Likewise.
1365 * elf/dl-runtime.c: Likewise.
1366 * elf/dl-symbol.c: Likewise.
1367 * elf/dl-version.c: Likewise.
1368 * elf/dlerror.c: Likewise.
1369 * sysdeps/generic/dl-sysdep.c: Likewise.
1370 * sysdeps/i386/dl-machine.h: Likewise.
1371 * intl/finddomain.c: Likewise.
1372 * intl/gettextP.h: Likewise.
1373 * intl/loadmsgcat.c: Likewise.
1375 1998-04-01 17:38 Ulrich Drepper <drepper@cygnus.com>
1377 * iconv/gconv_simple.c: New builtins for UCS en/decoding.
1378 * iconv/gconv_builtin.h: Add definitions for new builtins.
1379 * iconv/gconv.h: Add prototypes for new builtins.
1381 * iconvdata/Makefile (modules): Add ISO646.
1382 Add rules for ISO646 module.
1383 (distribute): Add iso646.c.
1384 * iconvdata/gconv-modules: Add module and alias definition for
1386 * iconvdata/iso646.c: New file.
1388 1998-04-01 16:10 Ulrich Drepper <drepper@cygnus.com>
1390 * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
1391 * iconv/iconv_prog.c: Implement --list option to print available
1392 coded character sets.
1394 1998-04-01 18:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
1396 Make fread() read large blocks straight to the user buffer.
1398 * libio/fileops.c (_IO_file_xsgetn): New function.
1399 (_IO_file_jumps): Use it.
1400 * libio/libioP.h: Prototype it.
1402 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
1404 * iconv/gconv_conf.c (builtin_aliases): New variable.
1405 (__gconv_read_conf): Add builtin aliases.
1406 * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
1407 noop macro before including gconv_builtin.h.
1408 * iconv/gconv_builtin.h: Add alias names.
1410 * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
1411 number of converted bytes correctly.
1413 1998-04-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1415 * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
1416 we only wait for a replay.
1418 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
1420 * iconvdata/Makefile: Finally fix dependencies for JOHAB and
1423 1998-04-1 16:52 Philip Blundell <pb@nexus.co.uk>
1425 * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
1426 use PLTJMP() rather than explicit (PLT).
1428 * sysdeps/arm/elf/start.S: Leave most of the initialisation for
1429 __libc_start_main().
1431 Based on patch from Pat Beirne:
1432 * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
1433 Always define, not only #ifndef PIC.
1434 (DO_CALL): Pass fifth argument correctly in R4.
1435 (PSEUDO): Correct test for error, call syscall_error through PLT
1438 1998-03-31 10:51 Philip Blundell <pb@nexus.co.uk>
1440 * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
1443 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
1445 * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
1448 1998-04-01 13:20 Mark Kettenis <kettenis@phys.uva.nl>
1450 * io/Makefile (static-only-routines): Add stat64, fstat64 and
1453 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1455 * manual/Makefile: Use object-suffixes-for-libc instead of
1457 * rpm/Makefile (install-lib): Likewise.
1459 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1461 * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
1463 * sysdeps/unix/sysv/linux/configure.in: Match $machine against
1464 `m68*', not only `m68k'.
1466 1998-04-01 10:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1468 * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
1470 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
1473 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
1475 * iconvdata/Makefile: Use libKSC shared object in JOHAB and
1478 * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
1481 1998-03-30 08:43 H.J. Lu <hjl@gnu.org>
1483 * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
1486 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
1488 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
1490 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
1492 Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
1494 1998-03-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1496 * Makerules (install): Change comment for libc.so following the
1497 libc_nonshared changes.
1499 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
1501 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
1503 * iconvdata/gap.pl: Avoid using %#06x.
1505 1998-03-31 19:55 Zack Weinberg <zack@rabi.phys.columbia.edu>
1507 * Makerules: Use $? instead of S^ when invoking ar.
1509 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
1511 * db2/compat.h: Allow EFTYPE being defined.
1512 * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
1513 * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
1514 * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
1515 * sysdeps/mach/bits/libc-lock.h: Fix typo.
1516 (__libc_once): Correctly unlock semaphore.
1517 * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
1518 * sysdeps/unix/bsd/getpt.c: Fix typo.
1519 Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
1521 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
1523 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
1526 1998-03-31 18:11 Ulrich Drepper <drepper@cygnus.com>
1528 * include/mntent.h: New file.
1530 * elf/Makefile (trusted-dirs.h): Append slash to filename.
1531 * elf/dl-load.c: Rewrite search path handling.
1532 * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
1533 * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
1534 * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
1535 * elf/ldsodefs.h: Add prototype.
1537 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
1539 * nss/nsswitch.c (__nss_lookup): Adjust comment.
1541 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
1544 * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
1546 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
1548 (HWCAP_IMPORTANT): New definition.
1550 1998-03-30 17:26 H.J. Lu <hjl@gnu.org>
1552 * elf/dl-open.c (_dl_open): Fix a typo.
1553 (_dl_global_scope_alloc): Make it static.
1555 1998-03-30 17:20 Ulrich Drepper <drepper@cygnus.com>
1557 * Makerules: Remove duplicate rules to handle stamp.oS.
1559 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1561 * manual/examples/inetsrv.c (main): Change prototype of
1562 make_socket following change in mkisock.c.
1564 * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
1566 (main): Change prototype of init_sockaddr following change in
1569 * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
1570 * manual/examples/isockad.c (init_sockaddr): Likewise.
1572 * manual/examples/mkfsock.c (make_named_socket): Removed blank
1573 lines for clarification.
1574 (make_named_socket): Use strncpy instead of strcpy.
1575 Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
1577 1998-03-30 13:28 Ulrich Drepper <drepper@cygnus.com>
1579 * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
1580 determining libs to remove.
1581 (postclean): Add soversions.mk.
1582 * Makerules (common-mostlyclean): Add tests-static and generated
1585 1998-03-30 12:53 Ulrich Drepper <drepper@cygnus.com>
1587 * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
1589 (__strncat_g): Add i686 specific code.
1591 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1593 * manual/install.texi (Reporting Bugs): Ask to include section
1596 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1598 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
1599 guard against direct inclusion.
1601 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1603 Rework support for libc_nonshared.a:
1604 * Makeconfig (object-suffixes-for-libc): New variable.
1605 * Rules: Remove handling of static-only and shared-only routines.
1606 * Makerules: Handle them here instead. Use
1607 object-suffixes-for-libc instead of object-suffixes when dealing
1609 (object-suffixes-for-rules): Remove variable.
1610 (elide-routines.oS): Elide all routines except static-only
1612 ($(objpfx)stamp.oS): Special rule for when static-only-routines is
1614 (installed-libcs): Remove special case for .oS.
1617 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1619 * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
1620 do-tst-rpmatch): New targets.
1622 (install-locales): Ignore comment lines.
1624 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1626 * elf/Makefile ($(objpfx)ld.so): Depend on version script.
1627 ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
1628 ($(objpfx)rtldtbl.h): Likewise.
1629 (CPPFLAGS-dl-load.c): Fix reference to object directory.
1631 1998-03-30 09:36 Ulrich Drepper <drepper@cygnus.com>
1633 * manual/string.texi (Finding Tokens in a String): Extend strsep
1634 description and correct example.
1636 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1638 * manual/socket.texi: Remove misguided explicit line breaks and
1639 fix the formatting problem instead by reformulating the
1641 * manual/filesys.texi: Likewise.
1642 * manual/conf.texi: Likewise. Don't typeset table with index
1643 fonts, that looks worse than a minimally overfull line.
1645 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1647 * nscd/Makefile (nscd-modules): Move definition outside of
1650 * pwd/Makefile: Use have-thread-library to test for thread
1653 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1655 * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
1657 * iconvdata/uhc.c (gconv): Remove unused variable idx.
1659 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
1661 * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
1663 1998-03-29 Ulrich Drepper <drepper@cygnus.com>
1665 * nss/getXXent_r.c: Correctly handle failing setXXent function.
1667 * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
1668 Reported by Andreas Jaeger.
1670 1998-03-29 20:59 Ulrich Drepper <drepper@cygnus.com>
1672 * elf/Makefile: Fix typo.
1673 (distribute): Add dl-librecon.h.
1674 * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
1675 * elf/ldd.sh.in: Likewise.
1676 * elf/ldsodefs.h: Declare _dl_correct_cache_id.
1677 * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
1678 Use strsep correctly.
1679 (process_envvars): Allow platform specific variables.
1680 * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
1681 (_dl_load_cache_lookup): Test cache IDs found against
1682 _dl_correct_cache_id.
1683 * sysdeps/generic/dl-librecon.h: New file.
1684 * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
1686 * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
1688 1998-03-29 16:50 Ulrich Drepper <drepper@cygnus.com>
1690 * config.make.in (ldd-rewrite-script): New variable.
1691 * configure.in: Substitute ldd-rewrite-script.
1692 * elf/Makefile: Rewrite rules to generate ldd script.
1693 * elf/ldd.bash.in: Allow handling of non-ELF binaries.
1694 * elf/ldd.sh.in: Likewise.
1695 * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
1696 * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
1697 point to sed script for libc4 handling insertion for ix86, m68, SPARC.
1698 * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
1699 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
1701 1998-03-26 15:20 Zack Weinberg <zack@rabi.phys.columbia.edu>
1703 * inet/rcmd.c (iruserok): Remain setuid to the local user
1704 while .rhosts is actually read, to make .rhosts-over-NFS work
1705 (PR libc/524). Use iruserfopen() for security checks on both
1706 hosts.equiv and .rhosts. General cleanup.
1707 (iruserfopen): New function, performs careful checking on
1708 hosts.equiv/.rhosts files. Disallows all the old forbidden
1709 stuff plus hard links to files.
1711 1998-03-29 09:26 Ulrich Drepper <drepper@cygnus.com>
1713 * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
1715 * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
1717 1998-03-29 02:02 H.J. Lu <hjl@gnu.org>
1719 * sysdeps/i386/i486/bits/string.h: Fix typos.
1721 1998-03-28 00:13 H.J. Lu <hjl@gnu.org>
1723 * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
1726 * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
1728 * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
1729 Added. Used by libm.so on alpha.
1731 1998-03-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1733 * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
1736 1998-03-27 07:29 H.J. Lu <hjl@gnu.org>
1738 * Makerules (object-suffixes-for-rules): Add .oS only for
1739 building shared library.
1740 Add ranlib rule for nonshared library.
1743 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
1744 into for shared library only.
1745 (CPPFLAGS-.oS): Add -DPIC.
1746 (libtypes): Use $(object-suffixes-for-rules) instead of
1749 1998-03-28 Ulrich Drepper <drepper@cygnus.com>
1751 * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
1752 and install lddlibc4.
1754 1998-03-28 09:13 Zack Weinberg <zack@rabi.phys.columbia.edu>
1756 * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
1758 * iconvdata/gaptab.pl: Likewise.
1760 1998-03-27 22:46 Ulrich Drepper <drepper@cygnus.com>
1762 * Rules: Allow Makefiles to specify test-static for tests which
1763 cannot be linked dynamically.
1764 * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
1767 * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
1769 * misc/error.c: Pretty print.
1771 1998-03-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1773 * Makerules (libc_nonshared-name): Remove variable.
1774 (installed-libcs): Use libc-name instead.
1775 ($(inst_libdir)/libc.so): Likewise. Remove explicit reference to
1778 * Makeconfig (link-libc): Link against libc_nonshared.a instead of
1779 libc.a. Remove explicit reference to dynamic linker.
1781 1998-03-27 Ulrich Drepper <drepper@cygnus.com>
1783 * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
1785 * iconv/iconv_prog.c: Correctly test for write failure.
1786 * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
1787 * iconvdata/gconv-modules: Likewise.
1788 * iconvdata/euckr.c: New file.
1789 * iconvdata/johab.c: New file.
1790 * iconvdata/ksc5601.c: New file.
1791 * iconvdata/ksc5601.h: New file.
1792 * iconvdata/uhc.c: New file.
1793 Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
1795 * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
1796 * stdio/fopen.c: Correct handling of 'x' flag.
1797 Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
1799 1998-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1801 * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
1802 * sunrpc/rpcsvc/key_prot.x: Likewise.
1803 * sunrpc/key_prot.c: Likewise.
1805 1998-03-27 13:49 Ulrich Drepper <drepper@cygnus.com>
1807 * sysdeps/i386/bits/string.h: Correct things which never worked.
1808 * sysdeps/i386/i486/bits/string.h: Add clobber marks.
1809 Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
1811 1998-03-27 Ulrich Drepper <drepper@cygnus.com>
1813 * intl/textdomain.c [_LIBC]: Define strdup only if not yet
1814 defined. Reported by Thorsten Kukuk.
1816 1998-03-26 18:50 Ulrich Drepper <drepper@cygnus.com>
1818 * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
1820 1998-03-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1822 * manual/install.texi (Supported Configurations): Add
1823 arm-linuxaout and arm-none.
1825 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
1827 * version.h (VERSION): Bump to 2.0.93.
1829 1998-03-25 07:30 H.J. Lu <hjl@gnu.org>
1831 * configure.in (libc_cv_ar_S): New to indicate if ar S works.
1833 * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
1835 * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
1836 (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
1838 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
1840 * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
1842 1998-03-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1844 Put the static-only routines in a separate library.
1845 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
1847 (all-object-suffixes): Add .oS.
1848 * Makerules (libc_static-name): New variable.
1849 (installed-libcs): Add libc_nonshared.a.
1850 ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
1851 (object-suffixes-for-rules): New variable. Use it instead of
1852 object-suffixes for generating compilation rules.
1853 (rmobjs): Also remove *.oS.
1854 * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
1855 ($(objpfx)stamp.oS): New target.
1857 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
1859 * Makefile (FAQ): Automatically check in regenerated FAQ.
1861 1998-03-26 10:16 Zack Weinberg <zack@rabi.phys.columbia.edu>
1863 * Makefile (INSTALL): Depend on install.texi, not maint.texi.
1865 1998-03-25 Ulrich Drepper <drepper@cygnus.com>
1867 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
1868 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
1870 * sysdeps/generic/stub_warning: Removed.
1872 * Makefile (distribute): Add include/des.h.
1874 * manual/Makefile (distribute): Change dir-add.texi to
1877 * glibcbug.in: Create files safely when mktemp is not available.
1879 * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
1880 Patch by a sun <asun@saul1.u.washington.edu>.
1882 1998-03-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1884 * libc.map: Rename getname to getnetname.
1886 1998-03-25 13:35 Ulrich Drepper <drepper@cygnus.com>
1888 * manual/maint.texi: Use supported platform in examples.
1890 * manual/install.texi: Document some installation tips.
1892 1998-03-25 10:56 Ulrich Drepper <drepper@cygnus.com>
1894 * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
1895 Fix a bug so that it returns an error if a numeric parameter is
1896 unset and WRDE_UNDEF is set.
1897 Patch by Andreas Schwab and Tim Waugh.
1898 * posix/wordexp-test.c: Add new new test.
1900 1998-03-25 Ulrich Drepper <drepper@cygnus.com>
1902 * posix/regex.c (regex_compile): Last patch wasn't entirely
1903 correct. Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
1905 1998-03-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1907 * manual/filesys.texi (Scanning Directory Content): Fix typo.
1909 1998-03-25 09:24 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
1911 * sysdeps/i386/bits/string.h: Fix all assembler statements so that
1912 clobbered registers don't appear as operands.
1914 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
1916 * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
1919 * posix/regex.c (regex_compile): Don't allow non-alphabet
1920 characters in character set name.
1922 1998-03-25 00:00 Tim Waugh <tim@cyberelk.demon.co.uk>
1924 * posix/wordexp.c (w_newword): New function.
1925 (do_parse_glob): New function.
1926 (parse_glob): Use do_parse_glob. Now handles the case where a
1927 variable expansion causes a field-split.
1928 (wordexp): Use w_newword.
1929 (parse_arith): Likewise.
1930 (exec_comm): Likewise.
1931 (parse_comm): Likewise.
1932 (parse_param): Likewise.
1933 (parse_backtick): Likewise.
1935 1998-03-24 19:36 Tim Waugh <tim@cyberelk.demon.co.uk>
1937 * posix/wordexp-tst.sh: Another test.
1939 * posix/wordexp-test.c: Two new tests.
1941 * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
1942 directly (the code using realloc was buggy).
1943 (parse_param): Fix typo in comment.
1945 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
1947 * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
1949 1998-03-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1951 * libc.map: Add more rpc auth functions/variables.
1953 * nscd/nscd.c: Add -g option to argp options.
1955 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
1957 * configure.in: Be prepared for gcc 2.9.10 and up.
1958 * configure.in: Add missing disabling of quote characters in
1959 compiler version check. Reported by HJ Lu.
1961 1998-03-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1963 * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
1965 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
1967 * intl/locale.alias: Fix spelling of romanian.
1969 * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
1970 (distribute): Remove des.h.
1971 * include/des.h: New file.
1972 * sunrpc/des.h: Moved to ...
1973 * sunrpc/rpc/rpc_des.h: ...here.
1975 1998-03-22 NIIBE Yutaka <gniibe@mri.co.jp>
1977 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
1980 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
1982 * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
1983 parameter const. Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
1985 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
1987 * elf/ldsodesf.h: New file.
1988 * elf/Makefile (distribute): Add ldsodefs.h.
1989 * elf/link.h: Separate internal information in exter header.
1990 * elf/rtld.c: Include elf/ldsodefs.h not link.h.
1991 * elf/dl-minimal.c: Likewise.
1992 * sysdeps/generic/dl-sysdep.c: Likewise.
1993 * elf/sprof.c: Likewise.
1994 * elf/dlsym.c: Likewise.
1995 * elf/dlvsym.c: Likewise.
1996 * elf/dlerror.c: Likewise.
1997 * elf/dladdr.c: Likewise.
1998 * elf/dlclose.c: Likewise.
1999 * elf/dlopen.c: Likewise.
2000 * elf/dl-addr.c: Likewise.
2001 * elf/dl-close.c: Likewise.
2002 * elf/dl-debug.c: Likewise.
2003 * elf/dl-deps.c: Likewise.
2004 * elf/dl-error.c: Likewise.
2005 * elf/dl-fini.c: Likewise.
2006 * elf/dl-init.c: Likewise.
2007 * elf/dl-load.c: Likewise.
2008 * elf/dl-lookup.c: Likewise.
2009 * elf/dl-object.c: Likewise.
2010 * elf/dl-open.c: Likewise.
2011 * elf/dl-profile.c: Likewise.
2012 * elf/dl-reloc.c: Likewise.
2013 * elf/dl-runtime.c: Likewise.
2014 * elf/dl-support.c: Likewise.
2015 * elf/dl-symbol.c: Likewise.
2016 * elf/dl-version.c: Likewise.
2017 * sysdeps/generic/dl-cache.c: Likewise.
2018 * sysdeps/generic/libc-start.c: Likewise.
2019 * iconv/gconv_dl.c: Likewise.
2020 * nss/nsswitch.c: Likewise.
2022 1998-03-23 13:45 Ulrich Drepper <drepper@cygnus.com>
2024 * manual/nss.texi: The database is not called network but networks.
2025 Reported by Herbert Xu <herbert@gondor.apana.org.au>.
2027 1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2029 * configure.in: Correct test for compiler version.
2030 Check that LD_LIBRARY_PATH doesn't contain current path.
2032 1998-03-23 07:52 H.J. Lu <hjl@gnu.org>
2034 * elf/dl-close.c (_dl_close): Fix byte count while removing
2035 the shared object from the global scope list and optimize
2038 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2040 * manual/filesys.texi (Scanning Directory Content): Add missing
2042 (Scanning Directory Content): Fix text.
2044 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2046 * manual/memory.texi (Heap Consistency Checking): Add paragraph
2047 explaining difference of -lmcheck and MALLOC_CHECK_.
2049 1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2051 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
2054 1998-03-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2056 * test-skeleton.c (main): Fix test for exit signal.
2058 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2060 * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
2062 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2064 * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
2067 1998-03-23 11:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2069 * libc.map: Export __strtok_r.
2071 1998-03-23 Ulrich Drepper <drepper@cygnus.com>
2073 * posix/regex.c (re_compile_fastmap): Remove unused variable
2074 num_regs and adjust comment.
2075 Patch by Jim Meyering <meyering@ascend.com>.
2077 * math/math.h (M_*l): Extend long double constants to be usable
2078 for 128 bit floats. Patch by Richard Henderson.
2080 1998-03-23 11:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2082 * sysdeps/m68k/m68020/wordcopy.S: New file.
2084 1998-03-22 Ulrich Drepper <drepper@cygnus.com>
2086 * posix/wordexp.c: Rewrite parse_param.
2087 Patch by Tim Waugh and Andreas Schwab.
2089 1998-03-21 23:46 Zack Weinberg <zack@rabi.phys.columbia.edu>
2091 * Rules: Update timestamps on empty object files.
2093 1998-03-21 09:15 Ulrich Drepper <drepper@cygnus.com>
2095 * manual/filesys.texi (Scanning Directory Content): Add description
2096 of 64 bits scandir function and friends.
2098 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
2100 * glibcbug.in: Use mktemp to generate unique file name for
2103 * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
2104 ptsname_r. Use cast for execve call.
2106 1998-03-20 16:24 Ulrich Drepper <drepper@cygnus.com>
2108 * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
2109 * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
2110 * io/sys/statvfs.h: New file.
2111 * sysdeps/generic/fstatvfs.h: New file.
2112 * sysdeps/generic/statvfs.h: New file.
2113 * sysdeps/generic/fstatvfs64.h: New file.
2114 * sysdeps/generic/statvfs64.h: New file.
2115 * sysdeps/generic/bits/statvfs.h: New file.
2116 * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
2117 * sysdeps/unix/sysv/linux/statvfs.c: New file.
2118 * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
2120 * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
2121 and f_ffree elements.
2123 * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print. Define
2124 mount options in enum.
2126 1998-03-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2128 * configure.in: Check for recent egcs/gcc.
2130 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
2132 * libc.map: Add alphasort64, scandir64, versionsort64.
2133 * dirent/Makefile (routines): Add scandir64, alphasort64, and
2135 * dirent/alphasort64.c: New file.
2136 * dirent/scandir64.c: New file.
2137 * dirent/versionsort64.c: New file.
2138 * dirent/dirent.h: Add LFS support for scandir, alphasort, and
2140 * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
2141 old name weak alias.
2142 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2144 * dirent/alphasort.c: Use strcoll instead of strcmp.
2146 * dirent/scandir.c: Optimize a bit.
2148 * dirent/versionsort.c: Pretty print.
2150 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
2152 * string/string.h: Add prototype for __strtok_r.
2154 1998-03-20 12:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2156 * posix/Makefile: Fix typo in last change.
2158 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
2160 * dirent/dirent.h (scandir): Make argument of select function const.
2161 * dirent/scandir.c (scandir): Likewise.
2162 Reported by David.Faure@insa-lyon.fr [PR libc/512].
2164 1998-03-19 14:28 Ulrich Drepper <drepper@cygnus.com>
2166 * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
2168 * sysdeps/i386/strtok_r.c: Likewise.
2170 * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
2171 * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
2172 * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
2173 * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
2174 * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
2175 * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
2177 1998-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2179 * intl/localealias.c: Remove unneeded define for strdup.
2181 1998-03-19 13:45 Ulrich Drepper <drepper@cygnus.com>
2183 * manual/argp.texi: Adjust for better TeX output.
2184 * manual/arith.texi: Likewise.
2185 * manual/conf.texi: Likewise.
2186 * manual/filesys.texi: Likewise.
2187 * manual/header.texi: Likewise.
2188 * manual/lgpl.texinfo: Likewise.
2189 * manual/math.texi: Likewise.
2190 * manual/message.texi: Likewise.
2191 * manual/pattern.texi: Likewise.
2192 * manual/process.texi: Likewise.
2193 * manual/signal.texi: Likewise.
2194 * manual/socket.texi: Likewise.
2195 * manual/startup.texi: Likewise.
2196 * manual/stdio.texi: Likewise.
2197 * manual/terminal.texi: Likewise.
2198 * manual/examples/rprintf.c: Likewise.
2199 * manual/examples/testopt.c: Likewise.
2200 Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
2202 1998-03-19 20:45 Tim Waugh <tim@cyberelk.demon.co.uk>
2204 * posix/wordexp.c (parse_param): Don't immediately stop parsing a
2205 parameter name after seeing a digit if it's enclosed in braces.
2207 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
2209 * sysdeps/i386/i686/Implies: Add libm-i387/i686.
2211 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2213 * manual/memory.texi (Heap Consistency Checking): Document
2214 MALLOC_CHECK_. Based on a text by Wolfram Gloger.
2216 1998-03-18 17:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
2218 * manual/Makefile: Add missing rules.
2220 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
2222 * timezone/Makefile (generated): Define to remove all stamp files.
2224 * sysdeps/generic/strsep.c: Also undefine __strsep.
2226 * string/strdup.c: Undefine __strdup and strdup first.
2227 * string/strndup.c: Likewise.
2229 * string/bits/string2.h: Correct strtok_r and strsep.
2230 Add strndup optimization.
2232 * sysdeps/generic/strsep.c: Little optimization.
2234 1998-03-18 14:25 Ulrich Drepper <drepper@cygnus.com>
2236 * string/bits/string2.h: Add optimization for strdup.
2237 Always define __strsep and __strtok_r and make real names available
2238 when feature select macros are defined.
2240 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2242 * manual/install.texi (Installation): Use i486-linux as example
2243 instead of the unsupported sunos4.
2244 (Reporting Bugs): Mention glibcbug script.
2245 (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
2247 1998-03-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2249 * posix/wordexp-tst.sh: Make portable. Add more tests.
2251 * posix/Makefile (do-globtest do-wordexp-test): New targets.
2253 1998-03-18 13:38 Ulrich Drepper <drepper@cygnus.com>
2255 * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
2256 * sysdeps/generic/libc-start.c: ...here, replacing former content.
2258 * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
2261 * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
2263 1998-03-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2265 * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
2266 in enumerator for strict standard compliance.
2267 * sysdeps/generic/bits/resource.h: Likewise.
2269 1998-03-18 10:04 Philip Blundell <pb@nexus.co.uk>
2271 * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
2272 (PLTJMP): New macro.
2274 * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
2275 longjmp() when floating point enabled.
2276 * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
2277 * sysdeps/arm/__longjmp.S: Remove floating point code.
2278 * sysdeps/arm/setjmp.S: Likewise.
2280 * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
2281 * sysdeps/arm/bsd-_setjmp.S: Likewise.
2283 * sysdeps/arm/memset.S: New file; optimised ARM implementation of
2286 * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
2289 1998-03-17 16:16 Philip Blundell <pb@nexus.co.uk>
2291 Based on patches from Pat Beirne and Scott Bambrough:
2293 * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
2295 * sysdeps/arm/bits/fenv.h: New file.
2297 * sysdeps/arm/dl-machine.h: New file. Add ELF support.
2298 * sysdeps/arm/elf/setjmp.S: Likewise.
2299 * sysdeps/arm/elf/start.S: Likewise.
2300 * sysdeps/arm/init-first.c: Likewise.
2301 * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
2302 * sysdeps/arm/sysdep.h: Change format of .type directive. Correct
2303 comment about floating point to reflect current reality.
2305 * sysdeps/unix/arm/brk.S: Support PIC.
2306 * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
2308 * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
2309 return; call syscall_error through PLT.
2310 * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
2312 1998-03-04 12:01 Philip Blundell <pb@nexus.co.uk>
2314 * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
2315 * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
2316 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
2318 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
2320 * dirent/list.c (test): Return error value.
2321 (main): Exit with error value.
2323 * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
2325 * Makefile (distribute): Add test-skeleton.c.
2326 * test-skeleton.c: New file.
2327 * dirent/Makefile (tests): Add opendir-tst1.
2328 * dirent/opendir-tst1.c: New file.
2330 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
2332 * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
2333 Optimize memory handling.
2334 * sysdeps/unix/closedir.c: Optmize memory handling.
2336 1998-03-17 Ulrich Drepper <drepper@cygnus.com>
2338 * posix/wordexp.c (parse_param): Fix off-by-on error in $@
2339 handling. Optimize a bit.
2341 1998-03-18 00:25 Tim Waugh <tim@cyberelk.demon.co.uk>
2343 * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
2344 (parse_param): Fold in Andreas' fixes to do with when the end of
2345 the parameter name has been reached, and quoting inside ${...}.
2346 (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
2349 1998-03-16 22:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
2351 * manual/maint.texi: Split out installation and contribution
2352 sections to their own appendices. Misc cleanups.
2353 * manual/install.texi: New file. Mention add-ons. Refer to FAQ.
2354 * manual/contrib.texi: New file.
2355 * manual/libc.texinfo: Pull in new appendices.
2356 * manual/header.texi: Correct node pointer.
2358 1998-03-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2360 * manual/process.texi (Process Completion): Clarify return value
2361 of waitpid a bit. Patch by Zack Weinberg. [PR libc/490]
2363 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2365 * posix/wordexp-test.c: Add more tests.
2366 (testit): Fix logic.
2368 * posix/wordexp.c (exec_comm): In the child, redirect stderr to
2369 /dev/null instead of closing it, close pipe. Always chop off all
2370 trailing newlines. Kill and reap child before returning error.
2371 (w_addword, parse_glob): Fix memory leak.
2372 (wordexp): Fix dangling pointer problem.
2374 1998-03-16 Ulrich Drepper <drepper@cygnus.com>
2376 * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
2378 * posix/wordexp-test.c (main): Fix little thinkos and typos.
2380 * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
2381 directory index by only the language.
2383 1998-03-16 13:02 Tim Waugh <tim@cyberelk.demon.co.uk>
2385 * posix/wordexp-tst.sh: Store test results in the
2386 ${common_objpfx}posix directory.
2388 * posix/wordexp-test.c: Remove temporary directory afterwards.
2390 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2392 * libc.map: Export internal versions of cancelable functions.
2394 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2396 * Makerules (MAKEFLAGS): Append `r'.
2398 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2400 * Makeconfig: Define have-thread-library, shared-thread-library
2401 and static-thread-library if a thread library is available. Don't
2403 * nscd/Makefile: Compile nscd if have-thread-library. Rename
2404 nscd-routines to nscd-modules. Use shared-thread-library and
2405 static-thread-library in dependencies.
2406 * rt/Makefile: Only compile librt if have-thread-library is
2408 * Makefile (subdirs): Always include rt subdir.
2410 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2412 * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
2414 1998-03-14 21:55 Ulrich Drepper <drepper@cygnus.com>
2416 * configure.in: Recognize variations for 32 MIPS processors.
2417 Don't assume ELF systems always have .weak, test for .weakext.
2419 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
2421 * configure.in: Irix6 is an ELF platform.
2423 1998-03-14 11:47 H.J. Lu <hjl@gnu.org>
2425 * elf/dl-close.c (_dl_close): Stop unmapping the segments after
2426 unmapping the last loaded segment.
2428 1998-03-14 15:54 Ulrich Drepper <drepper@cygnus.com>
2430 * configure.in: Set base_os for Irix6.
2431 Correct test for .weakext.
2433 1998-03-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2435 * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
2436 (new_line) to _dl_debug_message call.
2438 1998-03-14 00:52 Tim Waugh <tim@cyberelk.demon.co.uk>
2440 * posix/wordexp.c (parse_param): Perform field-splitting after
2441 expanding positional parameter.
2443 * posix/wordexp-tst.sh: Test that field-splitting is performed
2444 after expanding positional parameter.
2446 * posix/wordexp.c (parse_param): Fixed memory leak in
2447 field-splitting after parameter expansion.
2449 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
2451 * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
2452 (get_toplvl_escape): Correctly terminate loop at EOF.
2453 Patch by Cristian Gafton <gafton@redhat.com>.
2455 1998-03-13 16:55 Ulrich Drepper <drepper@cygnus.com>
2457 * string/tester.c (test_strpbrk): Add more strpbrk tests.
2458 (test_strsep): Likewise. Correct horrible bugs.
2460 * string/bits/string2.h (strcspn): Optimize also reject string of
2463 (strpbrk): Likewise.
2464 (strsep): Likewise. Correct bug with successive separators and
2465 separators at the end of the string.
2466 * sysdeps/generic/strsep.c: Correct bug with successive separators
2467 and separators at the end of the string.
2469 1998-03-13 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
2471 * posix/wordexp.c (parse_param): Positional parameters ($1, $2
2472 etc) now handled, as well as $$ (pid).
2474 * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
2475 (distribute): Add wordexp-tst.sh.
2477 * posix/wordexp-tst.sh: New file.
2479 * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
2480 number of positional parameters. Renamed substitute_length to
2482 Don't free(env) is env is NULL.
2484 1998-03-13 16:50 Ulrich Drepper <drepper@cygnus.com>
2486 * libc.map: Add pthread_attr_init to GLIBC_2.1.
2488 1998-03-13 15:01 Ulrich Drepper <drepper@cygnus.com>
2490 * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
2491 for output file replacing gmon.out.
2492 Patch by Dean Gaudet <dgaudet@arctic.org>.
2494 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2496 * elf/dl-misc.c (_dl_debug_message): Fix printing of pid. Clean
2497 up namespace. Optimize finding end of line.
2499 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2501 * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
2502 securely. Optimized.
2503 (process_dl_debug): Add ':' to list of separators. Optimized.
2505 1998-03-13 10:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2507 * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
2508 isless, islessequal, islessgreater, isunordered): Return zero or
2511 1998-03-12 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
2513 * posix/wordexp-test.c: More tests.
2514 (main): Set up arena for pathname expansion tests (in a temporary
2516 (testit): Don't check word count or word vector if return value is
2519 * posix/wordexp.c (exec_comm): Always chop off terminating
2520 linefeed (just like bash does).
2521 (parse_param): Change lots of occurrences of "if (!*env)" to "if
2523 (parse_param): For assignment inside parameter expansion, use all
2524 expanded words in assignment rather than just the first.
2525 (parse_param): Corrected return value for parameter expansion of
2526 an unset variable when WRDE_UNDEF is in effect.
2527 (parse_dollars): Don't field-split if quoted.
2528 (wordexp): Opening brace character isn't allowed unquoted.
2530 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
2532 * elf/dlerror.c: Fix concurrency problems with error string and
2535 * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
2536 filter/auxiliary are being loaded.
2538 1998-03-12 14:24 Ulrich Drepper <drepper@cygnus.com>
2540 * elf/dlerror.c (last_object_name): Removed.
2541 (dlerror): Don't use last_object_name.
2542 (_dl_error_run): Omit second argument to _dl_catch_error.
2543 * elf/dl-error.c (struct catch): Remove objname member.
2544 (_dl_signal_error): Construct string including objname when given.
2545 (_dl_catch_error): Remove objname handling.
2546 * elf/link.h (_dl_catch_error): Fix prototype and comment.
2547 * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
2548 * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
2549 * nss/nsswitch.c (nss_dlerror_run): Likewise.
2550 * iconv/gconv_dl.c (dlerror_run): Likewise.
2551 [Corrects PR libc/501].
2553 1998-03-12 Matthias Urlichs <smurf@noris.de>
2555 * nscd/nscd.c: Ignore SIGPIPE.
2557 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
2559 * nscd/nscd_getgr_r.c: Use __ protected names.
2560 * nscd/nscd_getpw_r.c: Likewise.
2562 1998-03-12 Matthias Urlichs <smurf@noris.de>
2564 * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
2565 * nscd/nscd_getpw_r.c: Fix length calculation in result check,
2566 null bytes are not transmitted.
2568 1998-03-12 00:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2570 * powerpc/syscalls.list: Correct typo.
2571 * alpha/syscalls.list: Likewise.
2572 * mips/syscalls.list: Likewise.
2574 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
2576 * socket/sys/socket.h: Add prototype for __socket.
2578 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
2580 * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
2582 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
2585 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
2587 * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
2590 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
2591 AF_* and PF_* constants.
2593 * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
2595 1998-03-11 15:27 Ulrich Drepper <drepper@cygnus.com>
2597 * elf/rtld.c: Update help message.
2598 Install link maps for preloaded objects using main_map as loader.
2600 * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
2601 * elf/dl-profile.c: Likewise.
2603 * elf/dlsym.c: Little optimization.
2604 * elf/dlvsym.c: Likewise.
2606 1998-03-11 14:56 Ulrich Drepper <drepper@cygnus.com>
2608 * posix/wordexp-test.c: Move test for parameter list at the very
2611 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
2613 * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
2614 WRDE_REUSE flag is set.
2615 (parse_param): Allow `*', `@', and numbers in parameter names.
2616 (parse_dollars): Differentiate between arithmetic expansion and a
2617 command substitution that starts immediately with a sub-shell
2618 (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
2619 (parse_param): Memory allocated with __alloca in a block was
2620 referenced outside that block. Adjusted to use malloc/free.
2621 (parse_param): Adjusted field-splitting algorithm so that there is
2622 not necessarily a field split at the end of a parameter expansion.
2624 1998-03-10 19:52 Tim Waugh <tim@cyberelk.demon.co.uk>
2626 * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
2627 don't free words that have already been allocated.
2628 (parse_param): A dollar sign on its own will never have a pattern
2629 associated with it (like "${HOME%%/}" has), so don't try to free it.
2630 (parse_glob): Attempt to glob when an unquoted `[' is found
2631 (rather than an unquoted '{' (!)). Also for unquoted '?'.
2632 (parse_glob): Sorted out quoting in a glob-able word.
2633 (parse_param): Added $* and $@ handling.
2635 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
2637 * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
2640 1998-03-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2642 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
2645 1998-03-12 Matthias Urlichs <smurf@noris.de>
2647 * elf/dl-misc.c: Default for debug output should be stderr.
2648 * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
2649 * elf/dl-lookup.c: reference_name may be NULL or empty.
2651 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2653 * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
2655 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
2657 * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
2659 * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
2661 1998-03-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2663 * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
2664 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
2666 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2668 * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
2671 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
2673 * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
2676 * misc/syslog.c (vsyslog): Don't try to send if not connected to
2678 (closelog_internal): Don't do anything if not connected.
2680 1998-03-10 17:54 Ulrich Drepper <drepper@cygnus.com>
2682 * libc.map: Add _dl_debug_message.
2683 * elf/dl-misc.c: Make _dl_debug_message a function. Print the PID
2685 * elf/fini.c: Correctly use new _dl_debug_message function.
2686 * elf/init.c: Likewise.
2687 * elf/dl-lookup.c: Likewise.
2688 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
2689 * elf/dl-load.c: Likewise. Add more debugging prints.
2690 * elf/dl-reloc.c: Likewise.
2691 * elf/dl-version.c: Likewise.
2692 * elf/dl-support.c: Add variables for debugging.
2693 * elf/rtld.c: Likewise. Recognize new debug options.
2694 * elf/link.h: Declare new variables.
2696 * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
2698 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
2700 * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
2701 kernel headers. Patch by a sun <asun@saul7.u.washington.edu>.
2703 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
2705 * posix/wordexp-test.c (command_line_test): New function to allow
2706 testing of specific cases from the command-line.
2708 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
2710 * elf/dl-init.c (_dl_init_next): Print nicer messages.
2711 * elf/dl-fini.c (_dl_fini): Likewise.
2712 * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
2714 * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
2715 symbol in debug message.
2716 (_dl_lookup_versioned_symbol_skip): Likewise.
2718 1998-03-10 19:43 Matthias Urlichs <urlichs@noris.de>
2720 * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
2721 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
2722 * manual/filesys/texi: Document this.
2724 1998-03-10 10:49 Ulrich Drepper <drepper@cygnus.com>
2726 * manual/filesys.texi: Document the change below.
2728 1998-03-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2730 * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
2731 Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
2733 1998-03-10 00:10 Ulrich Drepper <drepper@cygnus.com>
2735 * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
2736 instead scope. If debugging display information about symbol
2738 (_dl_lookup_symbol): Call do_lookup with correct parameters.
2739 (_dl_lookup_symbol_skip): Likewise.
2740 (_dl_lookup_versioned_symbol): Likewise.
2741 (_dl_lookup_versioned_symbol_skip): Likewise.
2742 * elf/dl-support.c: Define _dl_debug_symbols.
2743 * elf/link.h: Add declaration for _dl_debug_symbols.
2744 * elf/rtld.c: Define _dl_debug_symbols.
2745 (process_dl_debug): Recognize symbols option.
2747 1998-03-09 23:36 Ulrich Drepper <drepper@cygnus.com>
2749 * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
2751 * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
2752 with correct parameters.
2753 [!PIC]: Initialize __libc_multiple_libcs.
2755 1998-03-09 18:21 Ulrich Drepper <drepper@cygnus.com>
2757 * elf/dl-support.c (_dl_debug_bindings): Add definition.
2758 * elf/rtld.c (_dl_debug_bindings): Add definition.
2759 (process_dl_debug): Recognize bindings option. Update help message.
2760 * elf/link.h (struct link_map): Add l_versyms member.
2761 (_dl_debug_bindings): Add declaration.
2762 * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
2763 * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
2765 * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
2766 (sym_val): Remove a member, add m as link_map.
2767 (do_lookup): Return result appropriately.
2768 (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
2769 Call do_lookup correctly.
2770 (_dl_lookup_symbol_skip): Likewise.
2771 (_dl_lookup_versioned_symbol): Likewise.
2772 (_dl_lookup_versioned_symbol_skip): Likewise.
2774 1998-03-09 08:21 Ulrich Drepper <drepper@cygnus.com>
2776 * sysdeps/unix/sysv/linux/chown.c: Moved to ...
2777 * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
2779 * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
2780 * libc.map: Add chown to GLIBC_2.1.
2781 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
2782 * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
2784 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2786 * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
2788 * sysdeps/alpha/ffs.c: Likewise.
2789 * sysdeps/am29k/ffs.c: Likewise.
2790 * sysdeps/i386/ffs.c: Likewise.
2791 * sysdeps/i960/ffs.c: Likewise.
2792 * sysdeps/m68k/ffs.c: Likewise.
2793 * sysdeps/m88k/ffs.c: Likewise.
2794 * sysdeps/powerpc/ffs.c: Likewise.
2795 * sysdeps/rs6000/ffs.c: Likewise.
2796 * sysdeps/vax/ffs.s: Likewise.
2797 * string/string.h: Declare __ffs.
2798 * libc.map: Export it.
2799 * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
2800 __builtin_ffs, which is not guaranteed to be namespace clean.
2802 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2804 * elf/sprof.c: Rewrite symbol handling to use the normal symbol
2805 table, which is much more likely to exist than debugging symbols.
2806 (printsym): Remove const.
2807 (load_shobj): Don't use _dl_pagesize. Fix mapping of section
2810 * libc.map: Export __profile_frequency, used by elf/sprof, to
2811 avoid infinite recursion during startup.
2813 1998-03-09 12:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2815 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
2818 * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
2820 1998-03-09 Ulrich Drepper <drepper@cygnus.com>
2822 * elf/dl-support.c: Add definition of _dl_debug_impcalls.
2824 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
2826 * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
2827 LD_PRELOAD, and LD_VERBOSE.
2828 (dl_main): Use global variables set by process_envvars instead of
2830 * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
2831 LD_LIBRARY_PATH value, this comes with the parameter.
2832 * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
2833 ("LD_LIBRARY_PATH") to _dl_init_paths.
2835 1998-03-08 22:55 Ulrich Drepper <drepper@cygnus.com>
2837 * elf/rtld.c (dl_main): Delay initialization of path structure if
2838 the dynamically linker is invoked implicitly until we read the
2841 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
2843 * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
2845 1998-03-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2847 * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
2850 * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
2852 1998-03-08 14:58 Ulrich Drepper <drepper@cygnus.com>
2854 * Makeconfig (nisobjdir): Set to path to nis directory.
2855 (rpath-link): Add nisobjdir.
2856 Patch by Sven Verdoolaege <skimo@kotnet.org>.
2858 * elf/Makefile: Pretty print.
2859 * elf/dl-lookup.c: Include unistd.h.
2860 * elf/dl-runtime.c: Likewise.
2862 * localedata/Makefile (test-srcs): Add tst-rpmatch.
2863 (distribute): Add tst-rpmatch.sh.
2864 (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
2866 New tests for rpmatch function by
2867 Jochen Hein <jochen.hein@delphi.central.de>.
2868 * localedata/tst-rpmatch.c: New file.
2869 * localedata/tst-rpmatch.sh: New file.
2871 * localedata/locales/de_DE: Correct yesexpr and noexpr.
2872 * localedata/locales/de_AT: Likewise.
2874 * posix/getopt.c: Update contact address.
2875 * posix/getopt1.c: Pretty print.
2877 * sysdeps/generic/libc-start.c: Do most of the initialization now
2878 here instead of in start.S.
2879 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
2880 * sysdeps/i386/elf/start.S: Remove most of the initialization code.
2882 * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
2883 profil_counter to be public.
2885 1998-03-08 13:06 Tim Waugh <tim@cyberelk.demon.co.uk>
2887 * posix/wordexp.c (parse_arith): Now works for negative numbers too.
2888 (parse_param): Coded parameter length expansion (${#var}).
2889 (parse_param): Handling for "=", "+", "-", and the ":" versions added.
2890 (parse_param): Cleaned up (fixed) error handling.
2892 * posix/wordexp-test.c: IFS now includes non-whitespace character
2893 (comma). Added more tests.
2895 1998-03-07 Ulrich Drepper <drepper@cygnus.com>
2897 * elf/link.h: Fix typos.
2898 Reported by Andreas Jaeger.
2900 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
2901 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
2903 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
2905 * argp/argp-help.c: Remove last bits of using gettext instead of
2908 1998-03-06 17:04 Ulrich Drepper <drepper@cygnus.com>
2910 * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
2912 * csu/Makefile (routines): Add libc-start.
2913 * elf/dl-error.c: Remove declaration of _dl_argv. Include <unitsd.h>.
2914 * elf/dl-lookup.c: Likewise.
2915 * elf/dl-version.c: Likewise.
2916 * sysdeps/i386/dl-machine.h: Likewise.
2917 * elf/link.h: Declare _dl_argv, _dl_debug_fd.
2918 Declare _dl_sysdep_output. Make _dl_sysdep_fatal, _dl_sysdep_error and
2919 _dl_sysdep_message macros which use _dl_sysdep_output.
2920 * elf/dl-fini.c: Write out which destructor is called while debugging.
2921 * elf/dl-init.c: Likewise for constructor.
2922 * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
2923 * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
2924 _dl_sysdep_message. Add _dl_sysdep_output.
2925 * elf/rtld.c: Recognize LD_DEBUG_OUTPUT. Set _dl_debug_fd if
2926 this file can be opened.
2927 For LD_DEBUG=libs also set _dl_debug_impcalls.
2928 * sysdeps/generic/dl-cache.c: Include unistd.h.
2929 * sysdeps/generic/libc-start.c: New file.
2930 * sysdeps/unix/sysv/linux/libc-start.c: New file.
2931 * sysdeps/i386/elf/start.S: Don't call main directly, call
2932 __libc_start_main instead.
2934 * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
2936 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
2938 * nss/nsswitch.c (__nss_nscd_not_available): Removed.
2940 1998-03-06 12:42 Ulrich Drepper <drepper@cygnus.com>
2942 * argp/argp.h (struct argp): Add new field domain.
2943 * argp/argp-help.c: Change all gettext calls to dgettext and use
2944 domain field from appropriate argp in call.
2945 * argp/argp-parse.c: Likewise.
2947 1998-03-06 11:35 Ulrich Drepper <drepper@cygnus.com>
2949 * posix/wordexp-test.c: Change testsuite so that it can run even
2952 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2954 * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
2956 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2958 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2959 Don't store into global errno if we already store through
2961 * sysdeps/unix/i386/sysdep.S: Likewise.
2962 * sysdeps/unix/alpha/sysdep.S: Likewise.
2963 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2964 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2965 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. Add
2966 missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
2969 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2971 * sysdeps/generic/sysdep.h (L): Remove definition.
2972 * sysdeps/i386/sysdep.h (L): Define it here instead.
2974 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2976 * nis/nis_call.c (__do_niscall): Safe and reset errno.
2978 * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
2980 1998-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2982 * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
2983 declaration style to avoid warnings.
2985 1998-03-06 11:48 Mark M._Kettenis <kettenis@hall.phys.uva.nl>
2987 * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
2990 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
2992 * posix/Makefile (tests): Add wordexp-test.
2993 * posix/wordexp-test.c: New file. Testsuite for wrodexp.
2994 Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
2996 1998-03-05 16:04 Ulrich Drepper <drepper@cygnus.com>
2998 * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
3001 * elf/link.h (struct r_search_path_elem): Add two new field for
3003 * elf/rtld.c: Recognize LD_DEBUG environment variable and set
3004 variable accordingly.
3005 * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
3006 is considered next along with information about load paths.
3007 * sysdeps/generic/dl-cache.c: Likewise.
3008 * elf/dl-support.c: Define _dl_debug_libs.
3009 * elf/genrtldtbl.awk: Add initializers for two new field in
3010 struct r_search_path_elem.
3012 1998-03-06 10:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3014 * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
3015 * sysdeps/m68k/lshift.S: Likewise.
3016 * sysdeps/m68k/rshift.S: Likewise.
3017 * sysdeps/m68k/sub_n.S: Likewise.
3018 * sysdeps/m68k/m68020/addmul_1.S: Likewise.
3019 * sysdeps/m68k/m68020/mul_1.S: Likewise.
3020 * sysdeps/m68k/m68020/submul_1.S: Likewise.
3022 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
3023 [_LIBC_REENTRANT]: Don't store into global errno.
3025 * sysdeps/m68k/sysdep.h: New file.
3026 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it. Use the macros
3027 ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
3028 (DO_CALL): Change to expect syscall name as argument.
3029 (PSEUDO): Pass syscall_name to DO_CALL.
3030 (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
3033 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
3035 * elf/rtld.c: Speed up processing of environment variables. Do
3036 only one run on the environment by avoiding to call getenv.
3037 * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
3038 function. Used by patch above.
3040 1998-03-05 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3042 * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
3044 * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
3045 * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
3046 * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
3048 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
3050 * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
3051 module cannot be found. Reported by Andreas Jaeger.
3053 1998-03-05 11:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3055 * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
3056 on platforms which default to unsigned chars.
3057 * nscd/nscd_getpw_r.c: Likewise.
3058 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
3061 1998-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3063 * elf/Makefile (install-bin): Change = to += for sprof to install
3066 1998-03-04 16:12 H.J. Lu <hjl@gnu.org>
3068 * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
3070 1998-03-04 16:19 Ulrich Drepper <drepper@cygnus.com>
3072 * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
3074 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3076 * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
3077 that a failure to connect to nscd doesn't change errno.
3079 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3081 * manual/maint.texi (Reporting Bugs): Change
3082 bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
3084 * locale/iso-4217.def: Likewise
3086 1998-03-04 12:43 Ulrich Drepper <drepper@cygnus.com>
3088 * manual/texinfo.tex: Updated.
3090 1998-03-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3092 * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
3094 * sysdeps/posix/pathconf.c: Likewise.
3095 * posix/getconf.c: Print `undefined' if pathconf returns -1
3096 without setting errno.
3098 1998-03-04 Ulrich Drepper <drepper@cygnus.com>
3100 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
3102 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
3103 Patches by Elliot Lee <sopwith@cuc.edu>.
3105 1998-03-04 09:43 Ulrich Drepper <drepper@cygnus.com>
3107 * elf/link.h (struct link_map): Add new field l_reloc_result.
3108 * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
3109 of relocation for the object to be profiled.
3110 * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
3112 * elf/rtld.c (_dl_start): Add comment that we must not allocate an
3114 * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
3115 contains a result from a previous run use this instead of computing
3117 * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
3119 1998-03-04 11:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3121 * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
3122 offsets into the GOT.
3123 (RTLD_START): Likewise.
3125 1998-03-03 17:55 Ulrich Drepper <drepper@cygnus.com>
3127 * elf/sprof.c: Cleanup a bit.
3129 1998-03-03 08:01 H.J. Lu <hjl@gnu.org>
3131 * sysdeps/generic/sysdep.h (L): New. Define.
3133 * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
3135 * sysdeps/i386/i586/addmul_1.S: Fix a typo.
3137 * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
3138 to have only one exit point for functions.
3139 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3140 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
3141 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
3142 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3143 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3145 1998-03-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3147 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
3148 reset errno so that errno isn't set to ENOSYS in the first call.
3149 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
3150 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3151 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
3152 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
3154 1998-03-02 17:55 Ulrich Drepper <drepper@cygnus.com>
3156 * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
3157 * sysdeps/i386/addmul_1.S: Likewise.
3158 * sysdeps/i386/lshift.S: Likewise.
3159 * sysdeps/i386/mul_1.S: Likewise.
3160 * sysdeps/i386/rshift.S: Likewise.
3161 * sysdeps/i386/sub_n.S: Likewise.
3162 * sysdeps/i386/submul_1.S: Likewise.
3163 * sysdeps/i386/i586/add_n.S: Likewise.
3164 * sysdeps/i386/i586/addmul_1.S: Likewise.
3165 * sysdeps/i386/i586/lshift.S: Likewise.
3166 * sysdeps/i386/i586/mul_1.S: Likewise.
3167 * sysdeps/i386/i586/rshift.S: Likewise.
3168 * sysdeps/i386/i586/sub_n.S: Likewise.
3169 * sysdeps/i386/i586/submul_1.S: Likewise.
3171 * sysdeps/i386/sysdep.h: Extend last change.
3173 * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
3174 to have only one exit point for functions.
3176 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
3178 * configure.in: Fix msgfmt test. Fix handling of //s in sysdeps
3181 1998-03-02 13:28 Ulrich Drepper <drepper@cygnus.com>
3183 * Makerules: Generate libc.so with absolute paths for the used
3186 * config.make.in: Add MAKEINFO definition.
3188 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
3190 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
3191 (ENTRY): Use STABS_FUN.
3192 (END): Use STABS_FUN_END.
3193 (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
3195 * elf/Makefile: Add rules to build sprof program.
3196 * elf/sprof.c: New file.
3198 1998-02-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3200 * misc/syslog.c (openlog_internal): Insert missing closing brace.
3202 1998-02-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3204 * configure.in: Check for working msgfmt version (from GNU gettext
3207 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
3209 * configure.in: Avoid //s in sysdirs.
3210 Patch by Roland McGrath.
3212 * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
3214 1998-03-02 07:17 H.J. Lu <hjl@gnu.org>
3216 * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
3217 setting _dl_global_scope for RTLD_GLOBAL.
3219 1998-02-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3221 * sysdeps/unix/make-syscalls.sh: Fix last change so that all
3222 possible lists of object-suffixes are taken care of.
3224 1998-03-02 10:16 Ulrich Drepper <drepper@cygnus.com>
3226 * timezone/private.h: Update from tzcode1998c.
3227 * timezone/zic.c: Likewise.
3228 * timezone/antarctica: Updated from tzdata1998c.
3229 * timezone/asia: Likewise.
3230 * timezone/australasia: Likewise.
3231 * timezone/europe: Likewise.
3232 * timezone/southamerica: Likewise.
3234 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
3236 * posix/glob.c (glob_in_dir): Add support for cases insensitive
3237 VMS. Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
3239 1998-03-01 19:05 H.J. Lu (hjl@gnu.org)
3241 * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
3242 Changed type of TWO43, TWO52 from float to double.
3243 * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
3244 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
3245 Changed type of TWO43 from float to double.
3246 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
3249 1998-03-01 18:52 H.J. Lu (hjl@gnu.org)
3251 * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
3252 osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
3253 osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
3255 1998-03-01 09:11 Richard Henderson <rth@cygnus.com>
3257 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
3259 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
3260 Clean up random whitespace.
3261 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
3262 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
3263 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
3264 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
3266 1998-03-01 08:31 Richard Henderson <rth@cygnus.com>
3268 * shlib-versions: Match alpha*.
3269 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
3270 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
3272 * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
3273 Implement copysign* with and without __ prefix.
3274 Likewise for fabs; use builtin for gcc 2.8.
3278 * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
3279 (R_SPARC*): Match current v9 ABI.
3281 * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
3283 * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
3284 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3285 * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
3286 * sysdeps/generic/getresgid.c: Use prototype form because of warning.
3287 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3288 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
3289 * sysdeps/unix/grantpt.c (argv): Fix consts.
3290 * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
3291 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3293 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
3295 * misc/syslog.c: Change to allow user the interpretation of the
3296 outcome even with syslog having no return value.
3298 1998-02-05 20:41 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
3300 * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
3301 that the number of program headers is >0 (which is wrong for the
3304 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
3306 * Makefile (distribute): Add README.libm.
3308 1998-02-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3310 * time/clocktest.c (main): Correct typo: "--" -> "==".
3312 1998-02-25 20:53 H.J. Lu <hjl@gnu.org>
3314 * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
3316 (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
3319 * math/libm.map (__atan2): Added.
3321 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
3323 * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
3324 Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
3326 * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
3329 1998-02-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3331 * manual/arith.texi (Old-style number conversion): Correct
3332 typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
3334 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
3336 * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
3337 but does not require it. Handle missing argv[] values gracefully.
3338 * posix/execl.c: Likewise.
3339 * posix/execle.c: Likewise.
3341 1998-02-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3343 * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
3345 * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
3347 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
3349 * libc.map: Add __adjtimex.
3351 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3353 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
3356 1998-02-24 08:10 H.J. Lu <hjl@gnu.org>
3358 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
3361 * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
3363 * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
3364 * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
3366 * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
3369 * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
3371 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
3372 Added adjtimex and old_adjtimex.
3374 * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
3376 (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
3377 osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
3379 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
3380 symbols only for shared library.
3381 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
3382 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
3383 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
3384 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
3385 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
3386 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
3387 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
3389 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
3390 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
3391 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
3392 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
3393 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
3394 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
3395 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
3396 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
3398 * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
3401 * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
3403 (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
3404 timex and __adjtimex, respectively.
3406 * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
3408 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
3410 1998-02-25 08:28 H.J. Lu <hjl@gnu.org>
3412 * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
3413 for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
3415 1998-02-26 14:59 Ulrich Drepper <drepper@cygnus.com>
3417 * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
3419 1998-02-19 11:00 Zack Weinberg <zack@rabi.phys.columbia.edu>
3421 * Makefile.in: Disable built-in rules.
3423 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3425 * sysdeps/i386/fpu/t_exp.c: Move to ...
3426 * sysdeps/libm-i387/t_exp.c: ... here.
3428 1998-02-21 13:51 H.J. Lu <hjl@gnu.org>
3430 * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
3431 from __exp2_deltatable.
3433 1998-02-26 Ulrich Drepper <drepper@cygnus.com>
3435 * nis/ypclnt.c (yp_master): Check result of strdup.
3436 Patch by Thorsten Kukuk.
3438 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3440 * nis/ypclnt.c: Give clnt handle after error checking free, change
3441 return codes to fix problems with rpc.nisd in YP mode on Ultra's.
3443 1998-02-26 09:00 Ulrich Drepper <drepper@cygnus.com>
3445 * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
3446 Patch by Joe Keane <jgk@jgk.org>.
3448 * misc/fstab.h (struct fstab): Change fs_type member to be const.
3449 * misc/fstab.c: Remove casts in fs_type assignments.
3451 1998-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3453 * sysdeps/i386/fpu/bits/fenv.h: Correct typo. ISO C 9X defines
3454 FE_TOWARDZERO and not FE_TOWARDSZERO. Reported by H.J. Lu.
3455 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
3456 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
3457 * sysdeps/powerpc/bits/fenv.h: Likewise.
3458 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
3459 * sysdeps/generic/bits/fenv.h: Likewise.
3460 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
3461 * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
3462 * sysdeps/powerpc/test-arith.c (main): Likewise.
3464 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
3466 * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
3467 the comparison macros.
3469 1998-02-21 20:14 H.J. Lu <hjl@gnu.org>
3471 * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
3472 (__log2): Fixed return values.
3473 * sysdeps/libm-ieee754/s_log2f.c: Likewise.
3475 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
3477 * math/math.h (isunordered): Rename local variables to ensure
3478 correct code. Reported by HJ Lu.
3480 1998-02-25 10:34 Ulrich Drepper <drepper@cygnus.com>
3482 * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
3483 isless, islessequal, islessgreater, isunordered): Fix syntax for
3484 fucompip instruction.
3485 (isless, islessequal): Fix logic.
3487 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3489 * math/libm-test.c (sqrt_test): Add test for sqrt(2).
3490 (comparisons_test): New tests for comparison macros.
3492 1998-02-24 15:12 Ulrich Drepper <drepper@cygnus.com>
3494 * Makeconfig: Filter out frame-pointer effecting options when
3495 compiling profiling or debugging code.
3496 * config.h.in (internal_function): Don't define here if PROF is
3498 * gmon/gmon.c (__moncontrol): Don't change state if already in error
3500 (__monstartup): If calloc fails set error state and mark array as
3502 (_mcleanup): Don't call write_gmon if in error state. Don't try
3503 to free array if not successfully allocated.
3505 * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
3506 Include elf.h to get macro definitions.
3507 Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
3509 1998-02-24 09:40 Ulrich Drepper <drepper@cygnus.com>
3511 * elf/ldd.sh.in: Add compatibility for broken old shells.
3512 * elf/ldd.bash.in: Likewise.
3514 1998-02-24 08:11 H.J. Lu <hjl@gnu.org>
3516 * sunrpc/rpc_main.c (open_input): Check pipe return error.
3518 * time/clocktest.c (main): Check signal return error.
3520 1998-02-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3522 * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
3523 "/" and use do-install-program. Reported by Mark M. Kettenis.
3524 (subdir_install): Likewise.
3526 1998-02-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3528 * sunrpc/rpc_sample.c: Fix typo.
3530 * nscd/connections.c: Use locale.
3531 * nscd/grpcache.c: Add debug messages, gidtbl should get the
3533 * nscd/nscd.c: Check if init functions fails.
3534 * nscd/nscd_conf.c: Allow disabling of group cache.
3535 * nscd/nscd_getgr_r.c: Fix return code if group not found.
3536 * nscd/pwdcache.c: Fix debug messages.
3538 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3540 * libc.map: Add __monstartup and _mcleanup for profiling support.
3542 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3544 * libc.map: Export __getpagesize, for binary compatibility with
3547 1998-02-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3549 * posix/globtest.sh: Use --library-path instead of
3551 * localedata/sort-test.sh: Likewise.
3552 * localedata/tst-fmon.sh: Likewise. Avoid useless use of cat.
3554 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3556 * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
3557 sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
3558 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3560 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
3561 kernel_sigaction): Define.
3562 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
3563 kernel_sigaction): Define.
3565 1998-02-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3567 * math/libm-test.c: Change epsilons for libm-ieee754.
3569 1998-02-23 12:33 Ulrich Drepper <drepper@cygnus.com>
3571 * sysdeps/i386/__longjmp.S: Fix race condition.
3572 Reported by Bruno Haible <haible@ilog.fr>.
3574 1998-02-20 18:43 Ulrich Drepper <drepper@cygnus.com>
3576 * hesiod/hesiod.c: Pretty print. Don't use __ protected names.
3577 * iconvdata/8bit-gap.c: Likewise.
3578 * iconvdata/8bit-generic.c: Likewise.
3579 * iconvdata/iso6937.c: Likewise.
3580 * iconvdata/iso8859-1.c: Likewise.
3581 * iconvdata/sjis.c: Likewise.
3582 * iconvdata/t61.c: Likewise.
3584 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3586 * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
3587 feature tests by positive feature tests.
3589 1998-02-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3591 * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
3593 1998-02-20 Ulrich Drepper <drepper@cygnus.com>
3595 * elf/dlvsym.c (dlvsym_doit): More corrections.
3596 Patch by Andreas Jaeger.
3598 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
3600 * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
3602 1998-02-19 17:16 Ulrich Drepper <drepper@cygnus.com>
3604 * libc.map: More reordering for GLIBC_2.1 symbols.
3606 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3608 * libc.map: Move some functions from version GLIBC_2.0 to
3609 GLIBC_2.1, reorder declarations.
3611 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
3613 * resolv/gethnamaddr.c (addrsort): Make this function extern.
3614 Patch by zab@thebrain.grumblesmurf.net.
3616 1998-02-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3618 * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
3619 NIS+ functions with version GLIBC_2.1.
3621 1998-02-19 14:05 Ulrich Drepper <drepper@cygnus.com>
3623 * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
3624 with 2.0 binaries. Reported by Thorsten Kukuk.
3626 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3628 * elf/dlvsym.c (dlvsym_doit): Correct last patch.
3630 * elf/dlsym.c (dlsym_doit): Likewise.
3632 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3634 * elf/link.h: Correct typos.
3636 * iconv/iconv_prog.c: Correct typo.
3638 1998-02-18 17:57 Ulrich Drepper <drepper@cygnus.com>
3640 * iconv/Makefile: Add rules to build and install iconv program.
3641 * iconv/iconv_prog.c: New file.
3643 1998-02-18 16:34 H.J. Lu <hjl@gnu.org>
3645 * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
3646 _dl_lookup_symbol_skip call.
3647 * elf/dlvsym.c (dlvsym_doit): Likewise.
3649 1998-02-18 Ulrich Drepper <drepper@cygnus.com>
3651 * libio/iovsscanf.c: Do not include errno.h.
3653 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3655 * elf/dl-load.c (add_name_to_object): Don't translate strings.
3656 * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
3657 pulling in the whole error list.
3658 (__dcgettext, dcgettext): Removed.
3659 * libc.map: Export _strerror_internal.
3661 1998-02-18 10:50 Ulrich Drepper <drepper@cygnus.com>
3663 * sysdeps/i386/fpu/t_exp.c: New file.
3665 1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3667 * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
3668 everything with version GLIBC_2.1.
3669 * hesiod/libnss_hesiod.map: Likewise.
3671 1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3673 * manual/arith.texi (Old-style number conversion): This node is a
3674 section, not a subsection.
3676 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3678 * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
3680 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3682 * elf/rtld.c (dl_main): Make sure that the library search paths
3683 have been initialized before the first call to _dl_map_object.
3685 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3687 * Makerules (common-generated): Add libc_pic.os.
3689 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3691 * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
3694 1998-02-18 10:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3696 * sysdeps/m68k/fpu/t_exp.c: New file.
3698 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
3700 * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
3701 to global errno variable anymore.
3703 1998-02-17 17:41 Ulrich Drepper <drepper@cygnus.com>
3705 * elf/dl-load.c (open_path): Take extra argument PRELOADED.
3706 If PRELOADED is nonzero check in case of an SUID application
3707 whether the shared object has the SUID bit set.
3708 Fix some other problems with handling shared objects in system
3709 specific directories.
3710 (_dl_map_object): Also take extra parameter and pass it to open_path.
3711 * elf/link.h (_dl_map_object): Correct prototype and comment.
3712 * elf/rtld.c (dl_main): Call _dl_map_object correctly.
3713 * elf/dl-open.c (_dl_open): Likewise.
3714 * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
3716 * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
3718 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
3720 * math/libm-test.c (modf_test): Add test for 1.5.
3722 * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
3723 0 to get always an int.
3725 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3727 * math/libm.map: Move all symbols that are new in glibc 2.1 to
3730 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
3732 * stdio-common/vfscanf.c (inchar): Check c for being EOF before
3733 trying to read another character.
3735 1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3737 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
3740 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
3741 name to lowercase, add test for big enough buffer.
3743 1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3745 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
3746 Make compatible with older kernels. Patch by Richard Henderson.
3748 1998-02-17 15:10 Ulrich Drepper <drepper@cygnus.com>
3750 * elf/dl-load.c (open_path): Use __xstat instead of stat.
3752 * localedata/tst-locale.sh: Comment out first test for now.
3754 1998-02-14 14:58 H.J. Lu <hjl@gnu.org>
3756 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
3758 * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3761 * libio/iogetline.c (_IO_getline_info): Renamed from
3763 (_IO_getline): Just call _IO_getline_info.
3765 * libio/libioP.h (_IO_getline_info): New declaration.
3767 * libc.map (_IO_getline_info, __write): Added.
3769 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3771 * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
3772 const char* to shut up gcc.
3774 1998-02-17 11:37 Ulrich Drepper <drepper@cygnus.com>
3776 * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
3777 Patch forwarded by Cristian Gafton <gafton@redhat.com>.
3779 * math/math.h: Define M_* constants always as `double' and add new
3780 macros M_*l which are of type `long double'.
3781 * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
3782 * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
3783 * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
3784 * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
3785 * sysdeps/libm-ieee754/s_catanl.c: Likewise.
3786 * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
3787 * sysdeps/libm-ieee754/s_clogl.c: Likewise.
3788 * math/libm-tst.c: Likewise.
3790 * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
3791 define as long double unconditionally.
3793 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3795 * manual/arith.texi (Old-style number conversion): Correct some
3798 1998-02-16 16:28 H.J. Lu <hjl@gnu.org>
3800 * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
3803 * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
3805 1998-02-16 Ulrich Drepper <drepper@cygnus.com>
3807 * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
3808 on $(rtld-ldscript).
3810 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
3811 starting from 0 not only from `from'.
3812 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3814 1998-02-16 17:33 Ulrich Drepper <drepper@cygnus.com>
3816 * elf/rtld.c (dl_main): Recognize --library-path parameter and
3817 pass value (or NULL) to _dl_init_paths.
3818 * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
3819 replacing local variable llp. If llp is NULL examine LD_LIBRARY_PATH
3820 environment variable.
3821 * elf/link.h: Change prototype for _dl_init_paths.
3822 * elf/dl-support.c: Pass NULL in _dl_init_paths call.
3824 * localedata/Makefile (distribute): Add test files.
3826 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3828 * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
3829 test1.def, test2.def, test3.def, test4.def}: Simple input files
3830 for localedef. Contributed by Yung-Ching Hsiao
3831 <yhsiao@cae.wisc.edu>.
3833 * localedata/Makefile (tests): Call tst-locale.sh.
3835 * localedata/tst-locale.sh: New file, regression tests for some
3838 1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3840 * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
3842 * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
3844 * nis/nss_nisplus/nisplus-network.c: Likewise.
3845 * nis/nss_nisplus/nisplus-proto.c: Likewise.
3846 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
3847 * nis/nss_nisplus/nisplus-service.c: Likewise.
3849 Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
3850 and support generating thread safe RPC code.
3851 * sunrpc/rpc_main.c: Add changes.
3852 * sunrpc/rpc_clntout.c: Likewise.
3853 * sunrpc/rpc_cout.c: Likewise.
3854 * sunrpc/rpc_hout.c: Likewise.
3855 * sunrpc/rpc_parse.c: Likewise.
3856 * sunrpc/rpc_sample.c: Likewise.
3857 * sunrpc/rpc_scan.c: Likewise.
3858 * sunrpc/rpc_svcout.c: Likewise.
3859 * sunrpc/rpc_util.c: Likewise.
3860 * sunrpc/rpc_util.h: Add new structs and prototypes.
3861 * sunrpc/proto.h: Remove prototypes for static functions.
3863 1998-02-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3865 * locale/programs/ld-messages.c (messages_finish): Don't skip
3866 error checking when being quiet.
3867 * locale/programs/ld-ctype.c (ctype_finish): Likewise.
3868 (set_class_defaults): Likewise.
3869 * locale/programs/charmap.c (parse_charmap): Likewise.
3870 * locale/programs/ld-collate.c (collate_finish): Likewise.
3871 * locale/programs/ld-monetary.c (monetary_finish): Likewise.
3872 * locale/programs/ld-time.c (time_finish): Likewise.
3873 * locale/programs/locfile.c (write_locale_data): Likewise.
3875 * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
3876 unknown characters and empty ranges.
3877 * locale/programs/ld-collate.c (collate_order_elem): When
3878 processing an ellipsis properly form a linked list in the result
3879 table, fix typo when allocating ordering array.
3882 1998-02-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3884 * elf/Makefile (ld-map): Define.
3885 (rtld-ldscript): Define. Change all `$(objpfx)rtld-ldscript' to
3887 ($(objpfx)ld.so): Combine the two versions of this rule. Depend
3889 (rtld-link): Combine the two versions of this definition. Fixed
3890 to make it work when no symbol versioning is used.
3892 1998-02-16 Ulrich Drepper <drepper@cygnus.com>
3894 * Makeconfig (build-program-cmd): Use --library-path parameter to
3895 ld.so instead of environment variable.
3897 * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
3898 * sunrpc/rpc_main.c: Remove support for -$$ option again.
3900 1998-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3902 * Make-dist: Respect with-cvs setting.
3903 * MakeTAGS (all-pot): Likewise.
3904 * sysdeps/sparc/sparc32/Makefile: Likewise.
3905 * sysdeps/mach/hurd/Makefile: Likewise.
3906 * stdlib/Makefile: Likewise.
3907 * posix/Makefile: Likewise.
3908 * intl/Makefile: Likewise.
3909 * po/Makefile (linguas): Likewise
3911 1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3913 * nis/ypclnt.c (yp_all): Remove error message, user should print it.
3915 1998-02-15 Ulrich Drepper <drepper@cygnus.com>
3917 * libc.map: Add __strcasecmp.
3919 * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
3922 * nss/getXXent_r.c: If no more module is found don't try to call
3923 setXXent functions but leave unsuccessfully.
3925 * malloc/obstack.h: Cleanups.
3927 * sysdeps/wordsize-32/stdint.h: New file.
3928 * sysdeps/wordsize-64/stdint.h: New file.
3929 * sysdeps/generic/stdint.h: New file.
3930 * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
3931 * sysdeps/wordsize-64/inttypes.h: Likewise.
3932 * stdlib/Makefile (headers): Add stdint.h.
3934 1998-02-03 Paul Eggert <eggert@twinsun.com>
3936 * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
3938 1998-02-13 17:59 Zack Weinberg <zack@rabi.phys.columbia.edu>
3940 * timezone: New directory.
3941 * time/README, time/africa, time/antarctica, time/asia,
3942 time/australasia, time/backward, time/checktab.awk,
3943 time/etcetera, time/europe, time/factory, time/ialloc.c,
3944 time/iso3166.tab, time/leapseconds, time/northamerica,
3945 time/pacificnew, time/private.h, time/scheck.c,
3946 time/solar87, time/solar88, time/solar89, time/southamerica,
3947 time/systemv, time/test-tz.c, time/tzfile.h,
3948 time/tzselect.ksh, time/yearistype, time/zdump.c,
3949 time/zic.c, time/zone.tab: Moved to timezone.
3950 * time/tzfile.c: Include tzfile.h from timezone subdir.
3951 * time/tzset.c: Likewise.
3952 * time/Makefile: Cut out all code relating to timezones...
3953 * timezone/Makefile: ...and paste it in here.
3954 * Makefile (subdirs): Add timezone.
3956 1998-02-13 18:45 H.J. Lu <hjl@gnu.org>
3958 * libc.map (_sys_nerr): Added.
3960 * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
3963 1998-02-15 17:16 Ulrich Drepper <drepper@cygnus.com>
3965 * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
3966 pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
3967 Reported by Craig Metz <cmetz@inner.net>.
3969 1998-01-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3971 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
3972 instead of strcasecmp.
3973 * nss/nss_files/files-alias.c (get_next_alias): Likewise.
3975 * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
3977 1998-02-15 16:55 Ulrich Drepper <drepper@cygnus.com>
3979 * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
3980 Patch by Dean Gaudet <dgaudet@arctic.org>.
3982 1998-02-15 16:53 Ulrich Drepper <drepper@cygnus.com>
3984 * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
3986 1998-02-15 10:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
3988 * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
3989 with no poll syscall, just include the BSD version.
3990 * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
3991 kernel without the syscall, include the stub version.
3992 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
3993 * sysdeps/generic/getresuid.c: New file.
3994 * sysdeps/generic/getresgid.c: New file.
3996 1998-02-15 Ulrich Drepper <drepper@cygnus.com>
3998 * stdio-common/vfscanf.c: Correct last change a bit.
4000 1998-02-13 17:39 Ulrich Drepper <drepper@cygnus.com>
4002 * elf/Makefile: Don't use --version-script parameter to link ld.so
4005 1998-01-02 04:19 Geoff Keating <geoffk@ozemail.com.au>
4007 * math/Makefile: Add t_exp.
4008 * math/libm-test.c: Tighten accuracy bounds for exp(), correct
4010 * math/test-reduce.c: Remove temporarily, it seems to be broken.
4011 * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
4012 * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
4014 * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
4015 algorithm for very large/very small arguments.
4016 * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
4017 correct algorithm for very large/very small arguments; adjust for
4019 * sysdeps/libm-ieee754/t_exp.c: New file.
4020 * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
4022 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
4023 back, with comment that explains what breaks when you remove it :-(.
4025 * localedata/xfrm-test.c: Avoid integer overflow.
4027 * stdlib/strfmon.c: char is unsigned, sometimes.
4029 * sysdeps/powerpc/Makefile: Remove quad float support.
4030 * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
4031 * sysdeps/powerpc/quad_float.h: Likewise.
4032 * sysdeps/powerpc/test-arith.c: Likewise.
4033 * sysdeps/powerpc/test-arithf.c: Likewise.
4035 * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
4036 * sysdeps/generic/s_exp2f.c: Likewise.
4038 * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
4039 don't try anything if _SOFT_FLOAT.
4041 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4043 * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
4044 * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
4045 * wctype/wctype.c: Likewise.
4046 * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
4047 changed. They are incompatible with the _ISxxx values from
4048 <ctype.h> on little endian machines.
4049 (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
4050 bit number. This fixes the real bug and restores the integrity of
4051 the ctype locale file.
4052 * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
4053 * wctype/wcfuncs_l.c: Likewise.
4054 * wctype/wcextra.c: Likewise.
4055 * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
4058 1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4060 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
4061 into .bss segment instead of .common, so that aliases on it work.
4063 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
4064 .size directives, put into .bss segment instead of initializing it
4067 1998-02-12 08:00 H.J. Lu <hjl@gnu.org>
4069 * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
4071 * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
4073 Make names without __ weak aliases.
4074 (__libc_release, __libc_version): Make them static.
4076 * include/gnu/libc-version.h: New file.
4077 * Makefile (headers): Add gnu/libc-version.h.
4079 1998-02-13 Ulrich Drepper <drepper@cygnus.com>
4081 * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
4082 and use x for member name.
4083 Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
4085 * stdlib/drand48.c: Change according to member name change.
4086 * stdlib/drand48_r.c: Likewise.
4087 * stdlib/lcong48_r.c: Likewise.
4088 * stdlib/lrand48.c: Likewise.
4089 * stdlib/lrand48_r.c: Likewise.
4090 * stdlib/mrand48.c: Likewise.
4091 * stdlib/mrand48_r.c: Likewise.
4092 * stdlib/seed48.c: Likewise.
4093 * stdlib/seed48_r.c: Likewise.
4094 * stdlib/srand48_r.c: Likewise.
4096 1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4098 * nss/test-netdb.c: Add some more test cases.
4100 1998-02-13 11:39 Ulrich Drepper <drepper@cygnus.com>
4102 * libio/iovsscanf.c: Undo last change modifying errno.
4104 1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4106 * stdio-common/vfscanf.c: Never try to read another character
4107 after EOF. Don't decrement read_in after EOF, it wasn't
4108 incremented in the first place.
4109 (NEXT_WIDE_CHAR): Set First, not first.
4111 1998-02-06 07:48 H.J. Lu <hjl@gnu.org>
4113 * db/Makefile ($(inst_libdir)/libndbm.a,
4114 $(inst_libdir)/libndbm.so): New targets.
4115 * db2/Makefile: Likewise.
4117 1998-02-12 08:20 H.J. Lu <hjl@gnu.org>
4119 * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
4120 aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
4122 1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4124 * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
4126 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
4128 1998-02-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4130 * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
4133 1998-02-13 08:14 H.J. Lu <hjl@gnu.org>
4135 * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
4136 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
4139 1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4141 * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
4144 * grp/Makefile: Fix logic when checking for thread package.
4145 * pwd/Makefile: Likewise.
4147 1998-02-11 08:23 H.J. Lu <hjl@gnu.org>
4149 * elf/Makefile (rtld-map): Replaced by libc-map.
4151 * elf/rtld.map: Removed.
4153 * libc.map (__libc_enable_secure, _dl_catch_error,
4154 _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
4155 _dl_default_scope, _dl_global_scope_end, _dl_init_next,
4156 _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
4157 _dl_object_relocation_scope, _dl_relocate_object,
4158 _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
4159 _r_debug): Added for ld.so.
4161 1998-02-10 08:38 H.J. Lu <hjl@gnu.org>
4163 * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
4165 * libio/iofdopen.c: Ditto.
4166 * libio/iofopen.c: Ditto.
4167 * libio/oldfileops.c: Ditto.
4169 * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
4172 * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
4173 oldsiglist from sysdep_routines and shared-only-routines.
4175 * sysdeps/unix/sysv/linux/errlist.c: New.
4176 * sysdeps/unix/sysv/linux/errlist.h: New.
4177 * sysdeps/unix/sysv/linux/sizes.h: New.
4178 * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
4179 * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
4181 * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
4183 * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
4184 (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
4187 * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
4189 * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
4190 (oldsiglist.c): Removed.
4192 * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
4193 (_sys_siglist): Use SYS_SIGLIST instead.
4194 (_sys_nerr): Use SYS_NERR instead.
4196 * sysdeps/gnu/errlist.c: Rebuilt.
4198 1998-02-11 08:35 H.J. Lu <hjl@gnu.org>
4200 * elf/Makefile (others-static): New, set to ldconfig.
4201 ($(objpfx)ldconfig): Removed.
4203 * Rules (binaries-all, binaries-static, binaries-shared): New.
4204 Create targets for $(binaries-static) and $(binaries-shared).
4206 * Makeconfig (+link-static, link-libc-static,
4207 link-extra-libs-static): New for static linking.
4209 1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4211 * manual/memory.texi (Using the Memory Debugger): Fix typo.
4213 * math/libm-test.c (modf_test): Add one more test for modf.
4215 1998-02-11 14:39 Ulrich Drepper <drepper@happy.cygnus.com>
4217 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
4218 Rename from __libc_have_rt_sigs and leave as COMMON data.
4220 1998-02-11 08:30 H.J. Lu <hjl@gnu.org>
4222 * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
4225 1998-02-11 19:16 Richard Henderson <rth@cygnus.com>
4227 * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
4229 1998-02-11 16:56 Ulrich Drepper <drepper@happy.cygnus.com>
4231 * misc/tst-efgcvt.c: Add yet more tests.
4232 * misc/efgcvt_r.c: And correct for these tests again.
4235 * isomac.c: Move to...
4236 * stdlib/isomac.c: ...here.
4237 * Makefile: Move rules for handling isomac...
4238 * stdlib/Makefile: ...to here.
4240 1998-02-10 23:57 Ulrich Drepper <drepper@happy.cygnus.com>
4242 * misc/tst-efgcvt.c: Add more tests.
4243 * misc/efgcvt_r.c: Correct result for above new tests.
4245 1998-02-06 17:22 H.J. Lu <hjl@gnu.org>
4247 * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
4250 1998-02-10 16:48 Philip Blundell <pb@nexus.co.uk>
4252 * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
4253 if the programs weren't built.
4255 1998-02-09 10:12 Philip Blundell <pb@nexus.co.uk>
4257 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
4258 FE_TONEAREST, soldier on regardless and do the best we can.
4259 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
4261 1998-02-5 17:20 Philip Blundell <pb@nexus.co.uk>
4263 * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
4264 _STDIO_H, before including <bits/stdio_lim.h>.
4266 * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
4268 * io/fts.c (fts_build): Don't try to use d_type if it doesn't
4271 * sysdeps/arm/sys/ucontext.h: New file.
4273 1998-02-04 10:11 Philip Blundell <pb@nexus.co.uk>
4275 * manual/stdio.texi (Formatted Output Functions): Explicitly say
4276 that the return value from snprintf() does not count the
4277 terminating NUL as a character.
4279 1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
4281 * manual/users.texi: Rewrite to describe correct POSIX behaviour,
4282 add description for sete[ug]id and general cleanup.
4283 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4285 1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4287 * Makefile (parent-clean): Don't remove makefile fragments here.
4288 (postclean): New variable.
4289 (clean): Remove makefile fragments here.
4290 (realclean distclean): Likewise. Pass sysdep-subdirs to sub-make.
4291 (generated): Add isomac and isomanc.out.
4292 * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
4293 avoid-generated is set.
4294 (postclean-generated): Add soversion.mk.
4295 ($(common-objpfx)version.mk): Don't include if avoid-generated is
4297 * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
4298 avoid-generated is set.
4299 (common-generated): Add libc.so and libc.so$(libc.so-version).
4300 (generated): Add versioned libraries.
4301 (common-mostlyclean): Also remove %.so and %_pic.a.
4302 * csu/Makefile (generated): Add abi-tag.h.
4303 * db2/Makefile (extra-objs): Add getlong.o.
4304 * elf/Makefile (generated): Add ld.so, ldd and
4305 $(rtld-installed-name).
4306 (others): Add ldconfig here instead of ldconfig.o to extra-objs.
4307 * malloc/Makefile (generated): Add mtrace.
4308 * po/Makefile: Don't include version.mk, not needed any more.
4309 * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
4310 * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
4311 syscall.h -> sys/syscall.h.
4312 (common-generated): Add s-proto.d.
4313 (postclean-generated): Add sysd-syscalls.
4314 * localedata/Makefile (test-output): Add all output files.
4315 (generated): Add test-input and test-output.
4316 (generated-dirs): Add all the dirs.
4318 1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4320 * Makefile (test-output, generated, generated-dirs): New
4323 1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
4325 * resolv/nss_dns/dns-host.c: Various code cleanups.
4327 1998-02-09 08:10 H.J. Lu <hjl@gnu.org>
4329 * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
4330 From Philip Blundell <pb@nexus.co.uk>.
4331 * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
4333 1998-02-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4335 * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
4336 Suggested by debian/sparc porters.
4338 1998-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4340 * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
4343 1998-02-10 16:32 Ulrich Drepper <drepper@happy.cygnus.com>
4345 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
4346 __fxstat instead of stat and fstat. Use namespace clean __stpcpy.
4348 * signal/signal.h: Always define sigset_t if __need_sigset_t is
4349 defined even if __USE_POSIX is not defined.
4351 1998-02-02 20:51 Zack Weinberg <zack@rabi.phys.columbia.edu>
4353 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
4354 to support obsolete tty major numbers correctly.
4356 1998-02-02 08:47 H.J. Lu <hjl@gnu.org>
4358 * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
4359 directory first and ignore install error.
4361 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
4362 128 from ptyno and fix a typo for the BSD style pty.
4364 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4366 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
4369 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4371 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4372 getresuid and getresgid.
4374 * sysdeps/unix/sysv/linux/getresuid.c: New file.
4375 * sysdeps/unix/sysv/linux/getresgid.c: New file.
4377 * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
4380 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
4381 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4382 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4383 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4385 1998-02-02 08:11 H.J. Lu <hjl@gnu.org>
4387 * nscd/grpcache.c: Include <stdlib.h>.
4389 1998-02-01 16:01 H.J. Lu <hjl@gnu.org>
4391 * stdlib/atoll.c: Fix comments.
4393 * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
4394 * sysdeps/posix/ttyname_r.c: Ditto.
4396 1998-02-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4398 * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
4399 __USE_MISC, independent of __USE_UNIX98.
4401 1998-02-10 19:18 Ulrich Drepper <drepper@happy.cygnus.com>
4403 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
4404 Rename from __libc_have_rt_sigs and leave as COMMON data.
4406 1998-02-04 11:58 Richard Henderson <rth@twiddle.rth.home>
4408 * Makeconfig (CFLAGS-.os): Kill -fno-common.
4409 * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
4411 * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
4412 * elf/rtld.map: New file. Needed to define the GLIBC_2.*
4414 * include/libc-symbols.h (symbol_version, default_symbol_version):
4415 Provide asm versions and correct !DO_VERSIONING versions.
4416 * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
4417 the weak symbol list.
4419 * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
4420 Rename from __libc_have_rt_sigs and leave as COMMON data.
4421 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4422 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4423 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4425 1998-02-04 16:41 Zack Weinberg <zack@rabi.phys.columbia.edu>
4427 * sunrpc/Makefile: Correct dependencies of rpcgen.
4429 1998-02-10 03:00 Ulrich Drepper <drepper@happy.cygnus.com>
4431 * nscd/Makefile: Fix test for available linuxthreads add-on.
4432 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4434 1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4436 * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
4438 1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4440 * sysdeps/gnu/Makefile: Respect with-cvs variable.
4442 * manual/errno.texi (Error Messages): Correct description of
4443 strerror_r. Pointed out by jonas@bagge.se.
4445 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4447 * manual/socket.texi (Host Address Functions): Clarify description
4450 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4452 * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
4453 (grantpt): Delete superfluous cast.
4455 1998-02-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4457 * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
4458 elf/ldso_install instead of elf/subdir_install.
4459 (elf/ldso_install): New target.
4461 * elf/Makefile (ldso_install): New target.
4463 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4465 * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
4468 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4470 * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
4471 constant expressions.
4473 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4475 * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
4476 for __nss_configure_lookup.
4477 (output_hostent): Remove unused variable.
4479 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4481 * string/tst-inlcall.c: Fix format string.
4483 1998-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4485 * inet/netinet/in.h: Rename second parameter of bindresvport to
4486 avoid buggy gcc warning. [PR libc/412]
4488 1998-02-04 18:04 Richard Henderson <rth@cygnus.com>
4490 * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
4491 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
4493 * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
4494 Follow POSIX and make tv_sec a time_t.
4495 * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
4496 new tv64 syscall as well as fall back to tv32.
4497 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
4498 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
4499 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
4500 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
4501 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
4502 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
4503 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
4504 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
4506 * include/rpcsvc/nis.h: New. Bounce to nis/rpcsvc.
4507 * include/rpcsvc/nis_tags.h: Likewise.
4508 * include/rpcsvc/nislib.h: Likewise.
4510 1998-02-02 01:12 Ulrich Drepper <drepper@cygnus.com>
4512 * libc.map: Add _h_errno.
4513 * inet/herrno.c: Make _h_errno weak alias.
4515 * login/Makefile (distribute): Add pty-internal.h.
4517 * nscd/Makefile (distribute): Add all the files missing.
4519 * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
4522 * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
4523 and report status at the end.
4525 * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
4527 * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
4529 * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
4530 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
4531 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
4533 1998-01-03 20:47 Mark Kettenis <kettenis@phys.uva.nl>
4535 * configure.in: Fix --enable-add-ons code.
4537 1998-02-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4539 * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
4540 by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
4543 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
4544 occurence in cache. Reported by Rudolf Leitgeb
4545 <leitgeb@leland.stanford.edu>.
4548 1998-02-01 21:18 Ulrich Drepper <drepper@cygnus.com>
4550 * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
4551 that it never is EINTR (which is tested for in _IO_vfscanf).
4553 * Makefile.in: Call sub-make with CVSOPTS.
4555 * elf/Makefile (distribute): Add dl-procinfo.h.
4557 * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
4559 1998-02-01 15:54 Ulrich Drepper <drepper@cygnus.com>
4561 * version.h (VERSION): Bump to 2.0.92.
4563 1998-01-31 Phil Blundell <philb@gnu.org>
4565 * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
4566 alias for __new_sys_siglist.
4568 1998-02-01 00:53 Ulrich Drepper <drepper@cygnus.com>
4570 * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
4571 getgrgid_r.c if thread package is available.
4572 * pwd/Makefile: Likewise.
4573 * grp/getgrnam_r.c: Remove USE_NSCD definition.
4574 * grp/getgrgid_r.c: Likewise.
4575 * pwd/getpwnam_r.c: Likewise.
4576 * pwd/getpwuid_r.c: Likewise.
4578 1998-01-31 23:46 Ulrich Drepper <drepper@cygnus.com>
4580 * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
4581 with error to allow user intervention.
4582 * nss/getXXent_r.c: Likewise.
4584 1998-01-31 21:18 Ulrich Drepper <drepper@cygnus.com>
4586 * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
4587 AT_PLATFORM string. Pretty print AT_BASE info.
4589 * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
4590 (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
4591 * sysdeps/generic/dl-procinfo.h: New file.
4592 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
4594 1998-01-31 20:52 Ulrich Drepper <drepper@cygnus.com>
4596 * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
4598 * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
4599 thread and not pthread_detach.
4601 * nscd/nscd.c: Rewrite to use argp instead of getopt.
4603 1998-01-31 Phil Blundell <philb@gnu.org>
4605 * configure.in: Add --without-cvs option to suppress automatic
4606 checkin of regenerated files.
4607 * config.make.in: Likewise.
4608 * Makefile: Respect with-cvs setting.
4609 * Makerules: Likewise.
4611 * configure.in: Allow the standalone ARM port to be configured.
4613 1998-01-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4615 * grp/getgrgid_r.c: Define USE_NSCD.
4616 * grp/getgrnam_r.c: Likewise.
4617 * pwd/getpwuid_r.c: Likewise.
4618 * pwd/getpwnam_r.c: Likewise.
4620 * sysdeps/unix/inet/Subdirs: Add nscd subdir.
4622 * nss/getXXbyYY_r.c: Try at first nscd.
4624 * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
4625 * nscd/connections.c: New file.
4626 * nscd/dbg_log.c: New file.
4627 * nscd/dbg_log.h: New file.
4628 * nscd/grpcache.c: New file.
4629 * nscd/nscd.c: New file.
4630 * nscd/nscd.h: New file.
4631 * nscd/nscd_conf.c: New file.
4632 * nscd/nscd_stat.c: New file.
4633 * nscd/pwdcache.c: New file.
4635 * nscd/nscd_getgr_r.c: New, client code, linked into libc.
4636 * nscd/nscd_getpw_r.c: Likewise.
4637 * nscd/nscd_proto.h: New, prototypes for client functions.
4639 * nscd/nscd.conf: New, example for a configuration file.
4640 * nscd/nscd.init: New, example for a startup script.
4642 * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
4644 * nscd/getgrnam_r.c: Likewise.
4645 * nscd/getpwnam_r.c: Likewise.
4646 * nscd/getpwuid_r.c: Likewise.
4648 1998-01-31 11:44 Ulrich Drepper <drepper@cygnus.com>
4650 * intl/Makefile: Use CVSOPTS in cvs invocation.
4651 * po/Makefile: Likewise.
4652 * posix/Makefile: Likewise.
4653 * stdlib/Makefile: Likewise.
4655 1998-01-31 11:18 Ulrich Drepper <drepper@cygnus.com>
4657 * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
4659 * misc/Makefile (tests): Add tst-efgcvt.
4660 * misc/tst-efgcvt.c: New file.
4662 1998-01-31 00:21 Ulrich Drepper <drepper@cygnus.com>
4664 * posix/regex.c: Add some more cleanups by Akim Demaille.
4666 1998-01-30 23:55 Ulrich Drepper <drepper@cygnus.com>
4668 * signal/signal.h: Revert last change.
4669 * string/strsignal.c: Regard signal number NSGI as illegal.
4670 * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
4673 1998-01-30 23:37 Ulrich Drepper <drepper@cygnus.com>
4675 * Makefile.in: Add comment about CVSOPTS Makefile variable.
4676 * Makerules: Use CVSOPTS in cvs invocation.
4677 * Makefile: Likewise.
4678 * MakeTAGS: Likewise.
4679 * Make-dist: Likewise.
4681 1998-01-30 22:37 Ulrich Drepper <drepper@cygnus.com>
4683 * sysdeps/generic/memmem.c: Correct last change.
4685 1998-01-30 22:12 Ulrich Drepper <drepper@cygnus.com>
4687 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
4688 CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
4690 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4692 * nis/ypclnt.c: Try at first to use the binding file from ypbind
4695 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4697 * manual/memory.texi (Heap Consistency Checking): mcheck is
4698 declared in <mcheck.h>.
4699 Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
4701 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4703 * sysdeps/generic/memmem.c (memmem): An empty needle is at the
4704 beginning of haystack.
4706 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4708 * nss/nss_files/files-service.c: Correct last patch.
4710 1998-01-30 21:29 Ulrich Drepper <drepper@cygnus.com>
4712 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
4713 __libc_have_rt_sigs.
4714 * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
4715 including <bits/setjmp.h>.
4716 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
4717 Patch from the Debian glibc/SPARC package.
4719 1997-12-12 07:57 H.J. Lu <hjl@gnu.org>
4721 * sysdeps/alpha/bzero.S: Fix a typo.
4722 * sysdeps/alpha/htonl.S: Ditto.
4723 * sysdeps/alpha/htons.S: Ditto.
4725 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4727 * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
4729 1998-01-30 19:58 Ulrich Drepper <drepper@cygnus.com>
4731 * include/cpio.h: Move to ...
4732 * posix/cpio.h: ...here.
4734 * locale/programs/ld-collate.c: Fix typo.
4736 * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
4738 * stdio-common/tiformat.c: Add checks for %#.0o and friends.
4740 * login/utmp_file.c (pututline_file): Don't always report success
4741 if similar entry is found. Patch by Mark M. Kettenis.
4743 1998-01-30 16:06 Philip Blundell <pb@nexus.co.uk>
4745 * manual/Makefile: Don't try to install the info files if makeinfo
4748 1998-01-30 12:05 Philip Blundell <pb@nexus.co.uk>
4750 * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
4751 kernel's network ioctls, rather than using <linux/sockios.h> to
4752 get them. This way we are sure of maintaining compatibility if
4753 the kernel interface should change.
4755 1998-01-30 15:52 Ulrich Drepper <drepper@cygnus.com>
4757 * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
4759 1998-01-25 19:54 Philip Blundell <Philip.Blundell@pobox.com>
4761 * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
4762 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
4764 1998-01-27 22:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
4766 Implement System V pseudoterminal handling.
4769 (routines): Add getpt, grantpt, unlockpt, ptsname.
4770 (libutil-routines): Remove pty. Add openpty, forkpty.
4771 (distribute): New internal header pty-internal.h.
4772 (others): Add the helper program, pt_chown.
4773 (install-others): Install it, in $(libexecdir), mode 4755.
4775 * login/pty-internal.h: New file.
4776 * login/openpty.c: New file.
4777 * login/forkpty.c: New file.
4778 * login/programs/pt_chown.c: New file.
4780 * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
4781 * stdlib/stdlib.h: Prototype them.
4783 * config.make.in: Define $(libexecdir).
4784 * Makeconfig: Define $(inst_libexecdir).
4786 * sysdeps/generic/pty.c: Removed.
4787 * sysdeps/unix/sysv/linux/pty.c: Removed.
4789 * sysdeps/generic/getpt.c: Stub out.
4790 * sysdeps/generic/grantpt.c: Likewise.
4791 * sysdeps/generic/ptsname.c: Likewise.
4792 * sysdeps/generic/unlockpt.c: Likewise.
4794 * sysdeps/unix/grantpt.c: New file.
4795 * sysdeps/unix/bsd/getpt.c: New file.
4796 * sysdeps/unix/bsd/unlockpt.c: New file.
4797 * sysdeps/unix/sysv/linux/getpt.c: New file.
4798 * sysdeps/unix/sysv/linux/ptsname.c: New file.
4799 * sysdeps/unix/sysv/linux/unlockpt.c: New file.
4801 1998-01-29 23:56 Ulrich Drepper <drepper@cygnus.com>
4803 * localedata/locales/ru_RU: Fix YESEXPR. Patch by lav@yars.free.net.
4805 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4807 * nss/Makefile (tests): Add rule for test-netdb.c.
4809 * nss/test-netdb.c: New file.
4811 1998-01-29 02:38 Ulrich Drepper <drepper@cygnus.com>
4813 * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
4814 really kept as a variable. Patch by Richard Henderson,
4815 reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
4817 * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
4818 * elf/genrtldtbl.awk: Mark machine dependent directory of generated
4819 entries as not existing.
4821 1998-01-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4823 * stdio-common/vfprintf.c (process_arg): Fix printing of octal
4824 zero in alternate form with precision of zero, which must produce
4825 "0". Add braces to avoid ambiguous `else'.
4827 1998-01-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4829 * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
4830 problem with strncpy.
4831 * nis/nss_compat/compat-pwd.c: Likewise.
4832 * nis/nss_compat/comapt-spwd.c: Likewise.
4834 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4836 * assert/assert.h (assert_perror): Correct test for errnum. Patch
4837 by uch@nop.or.jp. [PR libc/437]
4839 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4841 * nis/nis_cache.c: Include <unistd.h> for declaration of close.
4843 1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4845 * stdio-common/test-popen.c: Include <errno.h>.
4847 * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
4850 * inet/getnetgrent_r.c: Include <errno.h>.
4852 * db2/db/db_conv.c: Include <string.h> for memcpy.
4854 * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
4855 so that memcpy is declared.
4857 * iconv/iconv_open.c: Include <stdlib.h> for alloca.
4859 * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
4861 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4863 * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
4864 overflow while reading line with fgets.
4865 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
4867 1998-01-27 00:46 Ulrich Drepper <drepper@cygnus.com>
4869 * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
4870 unsigned short, not short.
4871 Reported by Andreas Jaeger.
4873 1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4875 * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
4878 * sysdeps/generic/inttypes.h: Fix spelling.
4880 1998-01-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4882 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
4884 * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
4886 1998-01-27 00:30 Ulrich Drepper <drepper@cygnus.com>
4888 * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
4889 * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
4890 field for hh modifier.
4891 * stdio-common/vfprint.c: Use is_char field and do not depend in
4892 is_short having the value 2.
4893 Bug reported by Andreas Jaeger.
4895 1998-01-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4897 * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
4898 PIC && DO_VERSIONING.
4900 1998-01-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4902 * Rules: Add rules for $(common-objpfx)dummy$o.
4904 1998-01-26 Richard Henderson <rth@cygnus.com>
4906 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
4907 unimplemented OSF/1 definitions so that they are not accidentally seen.
4909 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
4910 of the trampoline function into the macro.
4911 * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
4912 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
4913 kernel 2.1.82 has this fixed.
4915 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
4916 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
4918 1998-01-26 Ulrich Drepper <drepper@cygnus.com>
4920 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
4921 support sigaction on kernels > 2.1.7x.
4923 1998-01-01 13:52 Ulrich Drepper <drepper@cygnus.com>
4925 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
4928 * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
4929 Patch by David Engel <david@sw.ods.com>.
4931 * configure.in: Fix another typo in --enable-add-ons code.
4933 1998-01-26 03:48 Ulrich Drepper <drepper@cygnus.com>
4935 * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
4937 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4939 * nss/nss_files/files-network.c: Correct order of parameters for
4942 1998-01-26 00:57 Ulrich Drepper <drepper@cygnus.com>
4944 * db2/Makefile (routines): Add os_alloc.
4945 * db2/db.h: Update from db-2.3.16.
4946 * db2/db_185.h: Likewise.
4947 * db2/db_int.h: Likewise.
4948 * db2/btree/bt_close.c: Likewise.
4949 * db2/btree/bt_cursor.c: Likewise.
4950 * db2/btree/bt_delete.c: Likewise.
4951 * db2/btree/bt_open.c: Likewise.
4952 * db2/btree/bt_page.c: Likewise.
4953 * db2/btree/bt_put.c: Likewise.
4954 * db2/btree/bt_rec.c: Likewise.
4955 * db2/btree/bt_recno.c: Likewise.
4956 * db2/btree/btree_auto.c: Likewise.
4957 * db2/common/db_appinit.c: Likewise.
4958 * db2/common/db_apprec.c: Likewise.
4959 * db2/common/db_err.c: Likewise.
4960 * db2/common/db_region.c: Likewise.
4961 * db2/common/db_shash.c: Likewise.
4962 * db2/db/db.c: Likewise.
4963 * db2/db/db_auto.c: Likewise.
4964 * db2/db/db_conv.c: Likewise.
4965 * db2/db/db_dispatch.c: Likewise.
4966 * db2/db/db_dup.c: Likewise.
4967 * db2/db/db_pr.c: Likewise.
4968 * db2/db/db_rec.c: Likewise.
4969 * db2/db185/db185.c: Likewise.
4970 * db2/dbm/dbm.c: Likewise.
4971 * db2/hash/hash.c: Likewise.
4972 * db2/hash/hash_auto.c: Likewise.
4973 * db2/hash/hash_dup.c: Likewise.
4974 * db2/hash/hash_page.c: Likewise.
4975 * db2/hash/hash_rec.c: Likewise.
4976 * db2/include/btree_ext.h: Likewise.
4977 * db2/include/clib_ext.h: Likewise.
4978 * db2/include/common_ext.h: Likewise.
4979 * db2/include/db.h.src: Likewise.
4980 * db2/include/db_185.h.src: Likewise.
4981 * db2/include/db_am.h: Likewise.
4982 * db2/include/db_ext.h: Likewise.
4983 * db2/include/db_int.h.src: Likewise.
4984 * db2/include/hash_ext.h: Likewise.
4985 * db2/include/lock_ext.h: Likewise.
4986 * db2/include/log.h: Likewise.
4987 * db2/include/log_auto.h: Likewise.
4988 * db2/include/log_ext.h: Likewise.
4989 * db2/include/mp.h: Likewise.
4990 * db2/include/mp_ext.h: Likewise.
4991 * db2/include/mutex_ext.h: Likewise.
4992 * db2/include/os_ext.h: Likewise.
4993 * db2/include/os_func.h: Likewise.
4994 * db2/include/txn_ext.h: Likewise.
4995 * db2/lock/lock.c: Likewise.
4996 * db2/lock/lock_util.c: Likewise.
4997 * db2/log/log.c: Likewise.
4998 * db2/log/log.src: Likewise.
4999 * db2/log/log_archive.c: Likewise.
5000 * db2/log/log_auto.c: Likewise.
5001 * db2/log/log_get.c: Likewise.
5002 * db2/log/log_put.c: Likewise.
5003 * db2/log/log_rec.c: Likewise.
5004 * db2/log/log_register.c: Likewise.
5005 * db2/mp/mp_bh.c: Likewise.
5006 * db2/mp/mp_fget.c: Likewise.
5007 * db2/mp/mp_fopen.c: Likewise.
5008 * db2/mp/mp_fput.c: Likewise.
5009 * db2/mp/mp_pr.c: Likewise.
5010 * db2/mp/mp_sync.c: Likewise.
5011 * db2/mutex/mutex.c: Likewise.
5012 * db2/os/os_alloc.c: Likewise.
5013 * db2/os/os_config.c: Likewise.
5014 * db2/os/os_stat.c: Likewise.
5015 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
5016 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
5017 * db2/progs/db_load/db_load.c: Likewise.
5018 * db2/progs/db_printlog/db_printlog.c: Likewise.
5019 * db2/progs/db_recover/db_recover.c: Likewise.
5020 * db2/progs/db_stat/db_stat.c: Likewise.
5021 * db2/txn/txn.c: Likewise.
5023 * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
5024 Unmap memory blocks in reverse order of allocation.
5025 Call munmap with load address added to offset.
5026 Bug reported by Miguel de Icaza.
5028 * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
5031 * localedata/locales/cs_CZ: Update by Michael Mraka
5032 <michael@informatics.muni.cz>.
5034 * misc/sys/syslog.h: Reformat a bit. Don't declare vsyslog unless
5037 * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
5038 reading line with fgets.
5039 * nis/nss_compat/compat-pwd.c: Likewise.
5040 * nis/nss_compat/compat-spwd.c: Likewise.
5041 * nss/nss_files/files-XXX.c: Likewise.
5042 * nss/nss_files/files-alias.c: Likewise.
5043 * shadow/fgetspent_r.c: Likewise.
5045 * string/strerror_r.c: Correct comment. Patch by Andreas Jaeger.
5047 * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
5048 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5049 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5051 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
5052 FP register content in ucontext_t.
5054 1998-01-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5056 * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
5057 calculation. Patch by Markus Schoder
5058 <Markus.Schoder@dresdner-bank.de>.
5060 * math/libm-test.c (modf_test): Add more tests for modf.
5062 * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
5063 munlock according to Unix98.
5065 1998-01-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5067 * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
5070 1998-01-21 07:22 H.J. Lu <hjl@gnu.org>
5072 * sysdeps/posix/ttyname.c: Handle symbolic links.
5073 * sysdeps/posix/ttyname_r.c: Ditto.
5075 1998-01-25 19:39 Ulrich Drepper <drepper@cygnus.com>
5077 * db2/makedb.c (process_input): Write terminating \0 for value.
5078 (print_database): Simply print value string, don't use length.
5080 1998-01-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5082 * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
5085 1998-01-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5087 * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
5090 1998-01-25 14:54 Ulrich Drepper <drepper@cygnus.com>
5092 * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
5094 * signal/sighold.c: New file.
5095 * signal/sigrelse.c: New file.
5096 * sysdeps/generic/sigignore.c: New file.
5097 * sysdeps/generic/sigset.c: New file.
5098 * sysdeps/posix/sigignore.c: New file.
5099 * sysdeps/posix/sigset.c: New file.
5100 * signal/signal.h: Add prototypes for new functions.
5102 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
5103 * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
5104 * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
5105 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
5107 1998-01-23 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
5109 * posix/wordexp.c: Added IFS field-splitting in parameter and
5110 command substitution. Fixed an IFS-related bug that caused an
5113 1998-01-25 12:38 Ulrich Drepper <drepper@cygnus.com>
5115 * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
5117 * stdlib/ucontext.h: Correct prototypes.
5118 * sysdeps/generic/getcontext.c: New file.
5119 * sysdeps/generic/setcontext.c: New file.
5120 * sysdeps/generic/makecontext.c: New file.
5121 * sysdeps/generic/swapcontext.c: New file.
5122 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
5124 1998-01-25 04:07 Ulrich Drepper <drepper@cygnus.com>
5126 * resource/sys/resource.h: Remove #include of ulimit.h which is
5127 not allowed by SUSv2 and not available on other systems.
5128 * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
5130 * streams/Makefile: New file.
5131 * streams/stropts.h: New file.
5132 * sysdeps/generic/bits/stropts.h: New file.
5133 * sysdeps/generic/isastream.c: New file.
5134 * sysdeps/generic/getmsg.c: New file.
5135 * sysdeps/generic/getpmsg.c: New file.
5136 * sysdeps/generic/putmsg.c: New file.
5137 * sysdeps/generic/putpmsg.c: New file.
5138 * sysdeps/generic/fattach.c: New file.
5139 * sysdeps/generic/fdetach.c: New file.
5140 * sysdeps/unix/inet/Subdirs: Add streams.
5141 * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
5143 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5144 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5145 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5146 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
5148 * sysdeps/mach/_strerror.c: Follow changes of generic version to
5149 handle small buffers correctly.
5151 1998-01-24 17:31 H.J. Lu <hjl@gnu.org>
5153 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
5154 Remove the 3rd arg and add declaration for _dl_runtime_resolve
5155 and _dl_runtime_profile.
5157 1998-01-25 02:42 Ulrich Drepper <drepper@cygnus.com>
5159 * include/cpio.h: New file. Mainly copied from GNU cpio.
5160 * posix/Makefile (headers): Add cpio.h.
5162 1998-01-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5164 * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
5166 * nis/nis_cache.c: New file.
5167 * nis/nis_cache2.h: New file.
5168 * nis/nis_cache2_xdr.c: New file.
5169 * nis/nis_call.c: Changes for cache2_info parameter.
5170 * nis/nis_checkpoint.c: Likewise.
5171 * nis/nis_intern.h: Likewise.
5172 * nis/nis_mkdir.c: Likewise.
5173 * nis/nis_ping.c: Likewise.
5174 * nis/nis_rmdir.c: Likewise.
5175 * nis/nis_server.c: Likewise.
5176 * nis/nis_util.c: Likewise.
5178 1997-12-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5180 * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
5181 return/errnop codes.
5182 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
5183 * nis/nss_nisplus/nisplus-grp.c: Likewise.
5184 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
5185 * nis/nss_nisplus/nisplus-proto.c: Likewise.
5186 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
5187 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
5188 * nis/nss_nisplus/nisplus-rpc.c: Likewise
5189 * nis/nss_nisplus/nisplus-service.c: Likewise.
5190 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
5192 1997-12-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5194 * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
5195 * nis/nss_nis/nis-ethers.c: Likewise.
5196 * nis/nss_nis/nis-grp.c: Likewise.
5197 * nis/nss_nis/nis-hosts.c: Likewise.
5198 * nis/nss_nis/nis-network.c: Likewise.
5199 * nis/nss_nis/nis-proto.c: Likewise.
5200 * nis/nss_nis/nis-hosts.c: Likewise.
5201 * nis/nss_nis/nis-network.c: Likewise.
5202 * nis/nss_nis/nis-proto.c: Likewise.
5203 * nis/nss_nis/nis-publickey.c: Likewise.
5204 * nis/nss_nis/nis-pwd.c: Likewise.
5205 * nis/nss_nis/nis-rpc.c: Likewise.
5206 * nis/nss_nis/nis-service.c: Likewise.
5207 * nis/nss_nis/nis-spwd.c: Likewise.
5209 1998-01-24 Ulrich Drepper <drepper@cygnus.com>
5211 * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
5212 Added to follow latest kernel development.
5214 1998-01-24 15:13 Ulrich Drepper <drepper@happy.cygnus.com>
5216 * nss/db-Makefile: Handle empty and comment lines better.
5217 ($(VAR_DB)/services.db): Generate entries with missing protocol
5220 1998-01-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5222 * nss/nss_files/files-service.c (getservbyport): Allow proto ==
5224 (getservbyname): Allow proto == NULL.
5225 Pointed out by David N. Welton <davidw@gate.cks.com>.
5228 1998-01-24 11:34 Ulrich Drepper <drepper@happy.cygnus.com>
5230 * nis/nislib/nislib.h: Finally removed.
5232 * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
5233 C compiler. From Kaveh Ghazi.
5234 (TYPE_MINIMUM): Define.
5235 (TYPE_MAXIMUM): Define.
5236 (TIME_T_MIN): Use TYPE_MINIMUM.
5237 (TIME_T_MAX): Use TYPE_MAXIMUM.
5238 Patch by Jim Meyering <meyering@ascend.com>.
5240 1998-01-22 00:55 Ulrich Drepper <drepper@happy.cygnus.com>
5242 * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
5243 __pread64, __pwrite64, and __getpid.
5245 * rt/aio_misc.c: Use pread and pwrite instead of __ protected
5248 1998-01-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5250 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
5251 cancelable socket functions as __libc_xxx with __xxx as weak
5253 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5254 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5256 * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
5258 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5259 * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
5260 * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
5261 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
5263 * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
5264 and __xxx a weak alias.
5265 * sysdeps/unix/sysv/linux/connect.S: Likewise.
5266 * sysdeps/unix/sysv/linux/recv.S: Likewise.
5267 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5268 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5269 * sysdeps/unix/sysv/linux/send.S: Likewise.
5270 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5271 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5273 1998-01-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5275 * locale/langinfo.h: Add defines.
5277 * dirent/dirent.h: Add defines for DT_*, check also for
5278 _DIRENT_HAVE_D_TYPE.
5279 Suggested by Roland McGrath.
5281 1998-01-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5283 * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
5284 Update from Linux 2.1.73+79.
5286 * README.template: Update information about possible
5289 * manual/mbyte.texi (Wide String Conversion): Fix declaration of
5290 wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
5293 * manual/time.texi (Priority): Correct description of
5294 PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
5297 11998-01-21 21:34 Ulrich Drepper <drepper@cygnus.com>
5299 * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
5300 FP_ILOGNAN. Patch by a sun <asun@zoology.washington.edu>.
5302 1998-01-21 17:53 Ulrich Drepper <drepper@cygnus.com>
5304 * sysdeps/generic/_strerror.c: Handle BUFLEN == 0. Reported by
5307 1998-01-20 18:13 Ulrich Drepper <drepper@cygnus.com>
5309 * locale/programs/ld-collate.c: Little optimizations.
5311 * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
5313 * string/Makefile (tests): Add tst-inlcall.
5314 * string/tst-inlcall.c: New file.
5316 * string/strsignal.c: Add support for real-time signals.
5318 * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
5319 presense of small buffer.
5321 * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
5323 * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
5326 * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
5329 1998-01-02 15:10 Matthias Urlichs <urlichs@noris.de>
5331 * Rules: Add explicit rule for dummy.o; at least one library needs
5332 it and it isn't autogenerated by the default rules.
5334 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5336 * math/libm-test.c: Tweak epsilons.
5338 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5340 * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
5342 (feenv_mask_test): Likewise.
5344 1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5346 * Makeconfig: Don't export CPPFLAGS.
5348 1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5350 * sunrpc/rpc_main.c (parseargs): Use perror to print error
5353 1998-01-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5355 * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
5356 terminating null in key size.
5358 1998-01-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5360 * nss/nss_files/files-service.c: Fix allocation size to include
5363 * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
5364 applicable. Fix return value and error checking.
5365 (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
5367 (DB_LOOKUP): Allocate space for terminating null byte.
5369 * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
5372 * db2/makedb.c (process_input): Continue processing if a duplicate
5375 1998-01-19 15:20 Ulrich Drepper <drepper@cygnus.com>
5377 * time/tzfile.h: Updated from tzcode1998b.
5378 * time/zdump.c: Likewise.
5379 * time/zic.c: Likewise.
5380 * time/africa: Update from tzdata1998b.
5381 * time/antarctica: Likewise.
5382 * time/asia: Likewise.
5383 * time/australasia: Likewise.
5384 * time/etcetera: Likewise.
5385 * time/europe: Likewise.
5386 * time/leapseconds: Likewise.
5387 * time/northamerica: Likewise.
5388 * time/southamerica: Likewise.
5390 1998-01-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5392 * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
5393 lookups ignoring case.
5394 * nss/nss_files/files-network.c: Do network lookups ignoring
5396 * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
5398 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
5399 case insensitive comparing.
5400 Patches by Cristian Gafton <gafton@redhat.com>.
5402 1998-01-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5404 * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines. Suggested
5405 by Roland McGrath. [PR libc/395]
5407 1998-01-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5409 * manual/arith.texi (Parsing of Integers): Correct description of
5410 strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
5413 1997-12-30 14:14 Matthias Urlichs <urlichs@noris.de>
5415 * misc/lsearch.c (lsearch): Return a pointer to the new element
5416 if one was "allocated".
5418 1997-12-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5420 * string/strsignal.c: NSIG is not a valid index into
5421 _sys_siglist. Don't zap the last character of the "Unknown
5424 1998-01-19 15:08 Ulrich Drepper <drepper@cygnus.com>
5426 * locale/programs/charmap.c (parse_charmap): Correct parsing of
5427 ellipsis expressions.
5429 * locale/programs/charset.c (insert_char): Correctly insert value
5430 of eliipsis expression.
5432 1997-12-28 15:08 Ulrich Drepper <drepper@cygnus.com>
5434 * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
5436 * sysdeps/powerpc/setjmp.S: Likewise.
5437 Patches by Matt McLean <keys@keys.got.net>.
5439 * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
5441 * Makefile: Undo last patch.
5442 (distribute): Add test-installation.pl.
5444 * configure.in: Correct handling of --enable-add-ons without parameter.
5445 Correct address of WWW pages.
5447 * libc.map: Add _nl_domain_bindings.
5449 * db2/mutex/tsl_parisc.s: New file.
5451 * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
5452 and extra-module.mk.
5454 * localedata/Makefile (distribute): New. Add all the files.
5456 * stdlib/Makefile (headers): Add inttypes.h.
5457 (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
5458 * sysdeps/generic/inttypes.h: New file.
5459 * sysdeps/generic/strtoimax.c: New file.
5460 * sysdeps/generic/strtoumax.c: New file.
5461 * sysdeps/generic/wcstoimax.c: New file.
5462 * sysdeps/generic/wcstoumax.c: New file.
5463 * sysdeps/wordsize-32/Dist: Removed.
5464 * sysdeps/wordsize-32/Makefile: Removed.
5465 * sysdeps/wordsize-64/Dist: Removed.
5466 * sysdeps/wordsize-64/Makefile: Removed.
5467 * sysdeps/generic/bits/environments.h: New file.
5469 * include/limits.h: Define MB_LEN_MAX in any case to 6. The gcc
5470 header is still not correct.
5472 * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
5473 * posix/unistd.h: Likewise.
5474 * sysdeps/generic/sys/mman.h: Likewise.
5475 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
5477 * manual/arith.texi: Change definition of mul macro.
5478 * manual/math.texi: Likewise.
5480 * misc/Makefile (routines): Add mmap64.
5481 * sysdeps/generic/mmap64.c: New file.
5482 * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
5483 * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
5484 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
5486 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5488 * sysdeps/generic/setrlimit64.c: Don't mark as stub.
5490 * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
5492 * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
5494 * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
5495 FOPEN_MAX also when included by limits.h.
5496 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
5498 * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
5499 and netrom/netrom.h.
5500 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
5501 oldsiglist to sysdep_routines, not aux.
5502 [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
5504 * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
5505 and SOL_NETROM definition.
5507 * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
5509 * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
5510 * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
5512 1997-12-25 Ulrich Drepper <drepper@cygnus.com>
5514 * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
5516 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
5517 sa_handler with k_sa_handler.
5518 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
5522 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
5523 __libc_have_rt_sigs here.
5524 * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
5525 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5526 * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
5527 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5529 1997-12-11 07:51 Geoff Keating <geoffk@ozemail.com.au>
5531 * sysdeps/powerpc/atomicity.h: New file.
5532 * sysdeps/mach/powerpc/machine-lock.h: New file.
5534 * Rules: Use -fpic to build anything that might end up in a users'
5537 * sysdeps/powerpc/s_fdim.c: New file.
5538 * sysdeps/powerpc/s_fdimf.c: New file.
5539 * sysdeps/powerpc/s_fmax.S: New file.
5540 * sysdeps/powerpc/s_fmaxf.S: New file.
5541 * sysdeps/powerpc/s_fmin.S: New file.
5542 * sysdeps/powerpc/s_fminf.S: New file.
5543 * sysdeps/powerpc/s_llrint.c: Now is for double.
5544 * sysdeps/powerpc/s_llrintf.c: New file.
5545 * sysdeps/powerpc/s_llround.c: Now is for double.
5546 * sysdeps/powerpc/s_llroundf.c: New file.
5547 * sysdeps/powerpc/s_lrint.c: Now is for double.
5548 * sysdeps/powerpc/s_lrintf.S: New file.
5549 * sysdeps/powerpc/s_lround.c: Now is for double.
5550 * sysdeps/powerpc/s_lroundf.c: New file.
5551 * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
5552 lrintf, fdim, fdimf.
5554 * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
5555 file directly, use its parent.
5557 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
5558 (for the third time).
5560 1997-12-20 13:50 Richard Henderson <rth@cygnus.com>
5562 * posix/sched.h: timespec is in <time.h>.
5564 * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
5566 1997-12-22 18:10 Ulrich Drepper <drepper@cygnus.com>
5568 * configure.in: Stop with error if --disable-static is used when
5569 the shared lib uses this library.
5571 * gen-FAQ.pl: I've perl installed in /usr/bin.
5573 * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
5575 Fix Unix98 conformance problems in the headers.
5576 * catgets/nl_types.h: Define nl_item.
5577 * grp/grp.h: Define gid_t.
5578 * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
5579 * include/nl_types.h: New file.
5580 * include/ulimit.h: New file.
5581 * io/fcntl.h: Include sys/stat.h for Unix98. Don't define locking
5582 constants in POSIX mode.
5583 * io/utime.h: Get definition for time_t.
5584 * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
5585 uid_t, pid_t. Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
5586 * libio/stdio.h: Define va_list. Make snprintf also available is
5587 __USE_UNIX98. Declare getopt function and variables.
5588 * locale/langinfo.h: Include nl_types.h. Don't define nl_item.
5589 Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
5590 * math/math.h: Defined M_* constants as double for Unix98 mode.
5591 * posix/fnmatch.h: Pretty print. Define FNM_NOSYS.
5592 * posix/glob.h: Pretty print. Define GLOB_NOSYS.
5593 * posix/regex.h: Define REG_NOSYS.
5594 * posix/wordexp.h: Define WRDE_NOSYS.
5595 * posix/unistd.h: Define _POSIX2_VERSION. Define _XOPEN_VERSION to
5597 * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
5598 somewhere else as well. Define clock_t for Unix98.
5599 * posix/sys/wait.h: Define pid_t.
5600 * pwd/pwd.h: Define gid_t, uid_t.
5601 * resource/Makefile (headers): Add ulimit.h.
5602 * resource/ulimit.h: New file.
5603 * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
5604 instead of second argument.
5605 * sysdeps/unix/bsd/ulimit.c: Likewise. Use UL_* constants.
5606 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
5607 * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
5608 * signal/signal.h: Define pid_t.
5609 * string/string.h: Don't declare BSD string functions in POSIX mode.
5610 * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE. Add
5611 _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
5612 * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
5615 * inet/test_ifindex.c: Change test so that it does not fail for
5618 * locale/programs/locale.c (show_info): Use correct cast sequence
5621 * malloc/malloc.c: __malloc_initialized now signals three states:
5622 uninitialized, initializing, initialized. Used in mcheck.
5623 * malloc/mcheck.c (mabort): Add '\n' to messages.
5624 (mcheck): Allow installation when malloc is uninitialized or is
5627 * manual/memory.texi: Explain mtrace output a bit more.
5629 * math/libm-test.c: Add more epsilons.
5631 * misc/regexp.h (compile): Remove __ prefix from parameter names.
5633 * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
5634 instead of strcpy for security.
5635 * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
5636 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
5637 * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
5639 * nss/digits_dots.c: Pretty print.
5641 * posix/getconf.c (vars): Add symbols for programming environment
5642 recognition. Recognize --version.
5644 * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
5645 _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
5646 * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
5648 * sysdeps/generic/bits/stdio_lim.h: Implement handling of
5650 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
5651 * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
5654 * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
5655 * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
5657 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
5658 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5659 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
5660 * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
5661 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
5662 * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
5664 * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
5666 * sysdeps/wordsize-64/inttypes.h: Likewise.
5668 * time/africa: Update from tzdata1997j.
5669 * time/antarctica: Likewise.
5670 * time/asia: Likewise.
5671 * time/australasia: Likewise.
5672 * time/backward: Likewise.
5673 * time/etcetera: Likewise.
5674 * time/europe: Likewise.
5675 * time/factory: Likewise.
5676 * time/northamerica: Likewise.
5677 * time/pacificnew: Likewise.
5678 * time/southamerica: Likewise.
5680 * time/tzfile.h: Update from tzcode1997h.
5681 * time/zic.c: Likewise.
5683 * wcsmbs/wchar.h: Get definition of FILE. Define `struct tm' tag.
5684 Declare wcwidth and wcswidth for __USE_XOPEN. Declare the
5685 isw*() functions for Unix98.
5686 * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
5687 * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
5690 1997-12-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5692 * locale/duplocale.c: Increase usage_count only if less than
5694 * locale/freelocale.c: Test usage_count against UNDELETABLE, not
5696 * locale/setlocale.c: Likewise.
5698 1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5700 * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
5701 dependency to make it easier to install it selectively.
5703 * Makerules (.SUFFIXES): Don't define any suffixes.
5705 1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5707 * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
5708 * sysdeps/generic/statfs64.c: Emulate using statfs.
5709 * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
5710 * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
5711 * sysdpes/generic/ftruncate64.c: New file.
5712 * sysdpes/generic/truncate64.c: New file.
5714 * sysdeps/generic/bits/stat.h: Add LFS support.
5715 * sysdeps/generic/bits/statfs.h: Likewise.
5717 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
5718 [__USE_FILE_OFFSET64]: Make long long constant.
5719 (RLIM64_INFINITY): Likewise.
5721 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
5723 (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
5724 * sysdeps/generic/bits/resource.h: Likewise.
5726 * misc/Makefile (routines): Add truncate64 and ftruncate64.
5728 * include/features.h: Don't prevent LFS support from defining BSD
5731 * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
5732 * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
5733 * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
5735 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
5736 fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
5737 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5739 * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
5740 * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
5741 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
5742 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
5743 * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
5744 * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
5745 * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
5746 * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
5747 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
5748 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
5749 * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
5750 * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
5751 * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
5752 * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
5753 * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
5754 * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
5755 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
5756 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
5757 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
5758 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
5760 * sysdeps/unix/sysv/linux/fxstat64.c: New file.
5761 * sysdeps/unix/sysv/linux/lxstat64.c: New file.
5762 * sysdeps/unix/sysv/linux/xstat64.c: New file.
5763 * sysdeps/unix/sysv/linux/readdir64.c: New file.
5764 * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
5766 * sysdeps/unix/sysv/linux/getdents64.c: New file.
5767 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
5768 [$(subdir)=dirent]: Add getdents64.
5769 * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
5771 * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
5773 1997-12-18 12:07 Philip Blundell <pb@nexus.co.uk>
5775 * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
5777 * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
5778 * sysdeps/generic/getrlimit64.c: Likewise.
5779 * sysdeps/generic/setrlimit.c: Likewise.
5780 * sysdeps/generic/setrlimit64.c: Likewise.
5782 1997-12-17 13:57 Philip Blundell <pb@nexus.co.uk>
5784 * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
5787 * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
5789 * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
5791 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5793 * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
5794 after the codeset name.
5796 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5798 * libc.map: Add get_kernel_syms.
5800 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5802 * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
5804 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
5805 Likewise. Fix condition.
5807 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5809 * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
5811 1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5813 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
5814 Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
5816 1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5818 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
5819 * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
5822 1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5824 * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
5826 1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5828 * math/libm-test.c (catanh_test): Change epsilon.
5829 Reported by H.J. Lu.
5831 1997-12-14 19:39 H.J. Lu <hjl@gnu.org>
5833 * libc.map (__getpid): Added for linuxthreads.
5835 1997-12-13 21:09 H.J. Lu <hjl@gnu.org>
5837 * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
5838 it if gcc uses static variable in DWARF2 unwind information
5839 for exception support.
5841 * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
5843 * elf/soinit.c (__libc_global_ctors, _fini): Handle
5844 HAVE_DWARF2_UNWIND_INFO_STATIC.
5846 * libc.map (__register_frame*, __deregister_frame*): Make them
5849 1997-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5851 * math/libm-test.c: Add more tests for "normal" values.
5853 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5855 * stdio-common/printf_fphex.c: Fix printing of long double number
5856 with a biased exponent of zero. Fix rounding.
5858 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5860 * sunrpc/rpc_main.c: Accept new flag -$.
5861 * sunrpc/Makefile (rpcgen-cmd): Pass it here.
5863 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5865 * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
5866 dynamic linker first, in case the interface has changed.
5868 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5870 * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
5873 1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5875 * math/tgmath.h: Check for double first, for architectures where
5876 sizeof (long double) == sizeof (double).
5878 1997-12-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5880 * math/libm-test.c: New tests for "normal" values added for most
5883 1997-12-14 21:33 Ulrich Drepper <drepper@cygnus.com>
5885 * version.h (VERSION): Bump to 2.0.91.
5887 * db2/makedb.c (process_input): Fix typo in message.
5888 * sunrpc/rpcinfo.c (pmapdump): Unify messages.
5890 * elf/dynamic-link.h: Pretty print.
5892 * elf/rtld.c: Allow multiple preloading of a shared object.
5894 * include/limits.h: Prevent multiple inclusion.
5896 * malloc/Makefile (headers): Add mcheck.h.
5897 (distribute): Remove it here.
5898 * malloc/mcheck.h: Pretty print.
5899 * malloc/mtrace.c (mallenv): Make `const'.
5900 * malloc/mtrace.pl: Don't print table head for memory leaks if there
5902 * manual/memory.texi: Update descriptor of malloc hooks.
5904 * posix/Makefile (routines): Add waitid.
5905 * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
5907 * posix/sys/wait.h: Define idtype_t type.
5908 Add prototype for waitid.
5909 * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
5910 * sysdeps/generic/waitid.c: Stub for waitid.
5911 * sysdeps/generic/bits/siginfo.h: Define sigval_t. Arrange to work
5912 the __need_siginfo_t defined.
5913 * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
5914 * sysdeps/generic/bits/types.h: Define __id_t.
5915 Correct definition of __FDMASK.
5916 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5917 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5918 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
5920 * sysdeps/posix/waitid.c: New file.
5921 Provided by Zack Weinberg.
5923 * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
5925 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
5926 Add missing parameters.
5928 * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
5929 * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
5930 * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
5931 * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
5934 * sysdeps/i386/dl-machine.h: Little cleanup.
5936 * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
5937 (__finite): Mark function as const.
5938 Add inline code for __ieee754_atan2.
5940 * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
5941 (but don't use it now).
5942 * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
5944 * sysdeps/libm-ieee754/s_catanf.c: Likewise.
5945 * sysdeps/libm-ieee754/s_catanl.c: Likewise.
5946 * sysdeps/libm-ieee754/s_catanh.c: Likewise. Correct sign of
5948 * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
5949 * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
5950 * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
5951 __ieee754_atan2 to base 10.
5952 * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
5953 * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
5955 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
5956 old_kernel_sigaction.
5958 * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
5960 * wctype/Makefile (routines): Add wctype_l.
5961 * wctype/wctype.h: Add declaration of __wctype_l.
5962 * wctype/wctype_l.c: New file.
5964 1997-12-10 00:38 Ulrich Drepper <drepper@cygnus.com>
5966 * locale/C-ctype.c: Correct data for isw* functions.
5967 * locale/programs/ld-ctype.c: Write 32bit char classes in correct
5969 * wctype/test_wctype.c: Add test for isw* functions.
5970 * wctype/wctype.c: Return value with expected byte order.
5972 1997-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5974 * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
5976 1997-12-05 20:19 H.J. Lu <hjl@gnu.org>
5978 * iconvdata/Makefile: Fix a typo.
5980 * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
5981 oldsiglist for shared library.
5983 * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
5984 sys_sigabbrev): Make them as the default version GLIBC_2.1.
5986 * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
5987 sys_siglist, sys_sigabbrev): New file. Make them as the old
5990 * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
5993 1997-11-20 18:02 H.J. Lu <hjl@gnu.ai.mit.edu>
5995 * libio/iofgets.c (_IO_fgets): Return an error only if there
5997 * libio/iogets.c (_IO_gets): Ditto.
5999 1997-11-20 07:26 H.J. Lu <hjl@gnu.ai.mit.edu>
6001 * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
6003 * libio/Makefile (routines, shared-only-routines): Add
6006 * libio/fileops.c: Don't use _IO_FILE_complete.
6007 * libio/iofdopen.c: Ditto.
6008 * libio/iofopen.c: Ditto.
6009 * libio/iofopen64.c: Ditto.
6010 * libio/iopopen.c: Ditto.
6011 * libio/iovdprintf.c: Ditto.
6013 * libio/genops.c (_IO_init): Set _vtable_offset to 0.
6015 * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
6016 and make it for _IO_fdopen/fdopen version GLIBC_2.1.
6018 * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
6019 _IO_old_fdopen, _IO_new_fdopen): New declaration.
6021 * libio/libio.h (_IO_FILE): Add more fields.
6022 (_IO_FILE_complete): Defined and make _IO_FILE be the old
6023 one if _IO_USE_OLD_IO_FILE is defined
6024 (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
6025 them _IO_FILE_complete.
6027 * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
6029 (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
6031 (_IO_FILE_complete): Commented out.
6033 * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
6034 * libio/oldiofclose.c: Ditto.
6035 * libio/oldiofopen.c: Ditto.
6036 * libio/oldstdfiles.c: Ditto.
6038 * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
6039 for the old _IO_FILE.
6041 * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
6042 (_IO_check_libio): Set _vtable_offset for old stdin, stdout
6045 * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
6048 * libio/stdio.c (stdin, stdout, stdin): Don't use
6051 * libio/oldiofdopen.c: New.
6053 * stdio-common/vfprintf.c (buffered_vfprintf): Set
6054 hp->_vtable_offset to 0.
6056 1997-11-18 08:03 H.J. Lu <hjl@gnu.ai.mit.edu>
6058 * libc.map (_IO_file_open): Added.
6060 * libio/libioP.h (_IO_file_open): Declared.
6062 * libio/fileops.c (_IO_file_open): New.
6063 (_IO_file_fopen): Call _IO_file_open ().
6065 * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
6066 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
6068 1997-12-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6070 * signal/signal.h: Fix selection of signal semantics to match
6073 1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6075 * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
6076 * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
6078 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
6079 [$(subdir)=signal]: Remove rt_sigreturn.
6080 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
6081 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
6082 * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
6084 1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6086 * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>. Fix
6089 1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6091 * iconvdata/extra-module.mk: Expand extra-objs now.
6093 1997-12-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6095 * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
6096 inline functions by feature tests to avoid warning about missing
6097 prototype declarations.
6099 1997-12-09 15:08 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6101 * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
6102 return code for non existent +name entries.
6103 * nis/nss_compat/compat-pwd.c: Likewise.
6104 * nis/nss_compat/compat-spwd.c: Likewise.
6106 1997-12-10 13:52 Philip Blundell <pb@nexus.co.uk>
6108 * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
6112 (__errno_location): Likewise.
6114 * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
6116 * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
6118 1997-12-09 08:10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6120 * sunrpc/publickey.c: Use new NSS interface.
6122 1997-12-09 03:08 Ulrich Drepper <drepper@cygnus.com>
6124 * manual/malloc.texi: Document mtrace/muntrace and the concept.
6126 1997-12-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6128 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
6129 value, to match spirit of the standard.
6130 * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
6131 * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
6132 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
6134 1997-12-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6136 * manual/signal.texi (Signal Stack): Remove spurious @item.
6138 1997-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6140 * rt/aio.h: Remove double semicolon.
6142 * rt/librt.map: Add aio_init.
6144 1997-12-08 03:24 Ulrich Drepper <drepper@cygnus.com>
6146 * Makeconfig: Define $(rt) to rt if linuxthreads is available.
6147 * Makefile (subdirs): Replace rt by $(rt).
6149 * shlib-versions: Use version .2 for NSS modules.
6151 * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
6153 * pwd/fgetpwent_r.c: Likewise.
6154 * spwd/fgetspent_r.c: Likewise.
6155 * spwd/sgetspent_r.c: Likewise.
6156 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
6157 Store error number in *ERRNOP. Little optimization.
6158 * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
6159 * hesiod/nss_hesiod/hesiod-service.c: Likewise.
6160 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
6161 (__internal_getnetgrent_r): New argument.
6162 Call __internal_setnetgrent_reuse with new argument.
6163 (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
6164 * inet/netgroup.h: Add argument to prototypes.
6165 * nis/nisplus-parser.h: Likewise.
6166 * nis/nss_compat/compat-grp.c: Change everything to store error
6167 code through provided pointer and not use errno.
6168 * nis/nss_compat/compat-pwd.c: Likewise.
6169 * nis/nss_compat/compat-spwd.c: Likewise.
6170 * nis/nss_nis/nis-alias.c: Likewise.
6171 * nis/nss_nis/nis-ethers.c: Likewise.
6172 * nis/nss_nis/nis-grp.c: Likewise.
6173 * nis/nss_nis/nis-hosts.c: Likewise.
6174 * nis/nss_nis/nis-netgrp.c: Likewise.
6175 * nis/nss_nis/nis-network.c: Likewise.
6176 * nis/nss_nis/nis-proto.c: Likewise.
6177 * nis/nss_nis/nis-publickey.c: Likewise.
6178 * nis/nss_nis/nis-pwd.c: Likewise.
6179 * nis/nss_nis/nis-rpc.c: Likewise.
6180 * nis/nss_nis/nis-service.c: Likewise.
6181 * nis/nss_nis/nis-spwd.c: Likewise.
6182 * nis/nss_nisplus/nisplus-alias.c: Likewise.
6183 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
6184 * nis/nss_nisplus/nisplus-grp.c: Likewise.
6185 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6186 * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
6187 * nis/nss_nisplus/nisplus-network.c: Likewise.
6188 * nis/nss_nisplus/nisplus-parser.c: Likewise.
6189 * nis/nss_nisplus/nisplus-proto.c: Likewise.
6190 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
6191 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
6192 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
6193 * nis/nss_nisplus/nisplus-service.c: Likewise.
6194 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
6195 * nss/nss_db/db-XXX.c: Likewise.
6196 * nss/nss_db/db-alias.c: Likewise.
6197 * nss/nss_db/db-netgrp.c: Likewise.
6198 * nss/nss_files/files-XXX.c: Likewise
6199 * nss/nss_files/files-alias.c: Likewise
6200 * nss/nss_files/files-netgrp.c: Likewise
6201 * nss/nss_files/files-parse.c: Likewise
6202 * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
6203 parameter of get functions.
6204 * nss/getXXent_r.c: Likewise.
6206 * localedata/tst-fmon.c: Print debug info if test fails.
6208 * rt/Makefile (routines): Add aio_notify.
6209 * rt/aio.h: Remove non-public definitions. Add aioinit stuff.
6210 * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
6211 * rt/aio_fsync.c: Likewise.
6212 * rt/aio_misc.c: Likewise.
6213 * rt/aio_misc.h: Likewise.
6214 * rt/aio_read.c: Likewise.
6215 * rt/aio_read64.c: Likewise.
6216 * rt/aio_suspend.c: Likewise.
6217 * rt/aio_write.c: Likewise.
6218 * rt/aio_write64.c: Likewise.
6219 * rt/lio_listio.c: Likewise.
6220 * rt/lio_listio64.c: Likewise.
6221 * rt/aio_notify.c: New file.
6223 * sysdeps/generic/bits/sigset.h: Pretty print.
6225 * sysdeps/posix/pwrite.c: Define weak alias only if function is
6226 really defined as __pwrite.
6228 * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
6230 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6232 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
6233 (sysdep_routines): Add rt_sigpending and rt_sigreturn.
6234 * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
6236 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6237 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6238 * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
6239 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6240 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
6241 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6242 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. Take care
6244 * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
6246 * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
6247 __NR_pread is not defined.
6248 * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
6249 __NR_pwrite is not defined.
6251 1997-12-07 11:15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6253 * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
6254 handle for /etc/group back in some more cases.
6255 * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
6256 handle for /etc/passwd back in some more cases.
6257 * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
6258 handle for /etc/shadow back in some more cases.
6260 1997-12-06 17:00 H.J. Lu <hjl@gnu.org>
6262 * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
6264 * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
6265 * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
6267 1997-12-06 04:38 Ulrich Drepper <drepper@cygnus.com>
6269 * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
6270 handling. Don't use macros, we need functions. Use inline functions
6272 * sysdeps/wordsize-64/inttypes.h: Likewise.
6273 * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
6275 * sysdeps/wordsize-64/Makefile: Likewise.
6276 * sysdeps/wordsize-32/Dist: Likewise.
6277 * sysdeps/wordsize-64/Dist: Likewise.
6278 * sysdeps/wordsize-32/strtoimax.c: New file.
6279 * sysdeps/wordsize-32/strtoumax.c: New file.
6280 * sysdeps/wordsize-32/wcstoimax.c: New file.
6281 * sysdeps/wordsize-32/wcstoumax.c: New file.
6282 * sysdeps/wordsize-64/strtoimax.c: New file.
6283 * sysdeps/wordsize-64/strtoumax.c: New file.
6284 * sysdeps/wordsize-64/wcstoimax.c: New file.
6285 * sysdeps/wordsize-64/wcstoumax.c: New file.
6287 1997-12-04 10:40 Philip Blundell <pb@nexus.co.uk>
6289 * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
6290 that transparent union works.
6291 * sysdeps/generic/wait4.c (__wait4): Likewise.
6292 * sysdeps/generic/wait.c (__wait): Likewise.
6294 * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
6297 * sysdeps/generic/syscall.c (syscall): Return value and arg are
6298 long, to match prototype.
6300 * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
6303 * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
6305 * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
6307 * sysdeps/generic/bits/time.h: Use __time_t not time_t.
6309 * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
6312 * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
6314 * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
6316 * io/sys/stat.h (S_ISLNK): Always false if we don't have
6319 * sysdeps/standalone/close.c (_STDIO_H): Define before including
6321 * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
6323 1997-12-06 01:09 Ulrich Drepper <drepper@cygnus.com>
6325 * posix/sys/wait.h: Don't use transparent unions in C++.
6327 1997-12-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6329 * time/time.h: Add strfxtime.
6331 * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
6332 sysv_signal, strfxtime, pread64, pwrite64.
6334 1997-11-30 21:57 Richard Henderson <rth@cygnus.com>
6336 Alpha changes for EGCS:
6337 * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
6338 * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
6339 * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
6341 * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
6343 1997-12-05 00:01 Ulrich Drepper <drepper@cygnus.com>
6345 The kernel expects the arguments in a different order.
6346 * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
6347 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
6350 * gen-FAQ.pl: New file.
6351 * Makefile (FAQ): Add rule to generate from FAQ.in.
6353 * iconvdata/Makefile: Treat libJIS like the other modules.
6355 * rt/librt.map: New file.
6357 * sysdeps/wordsize-32/bits/environments.h: Add test for direct
6359 * sysdeps/wordsize-64/bits/environments.h: Likewise. Correct
6362 1997-12-04 22:29 Ulrich Drepper <drepper@cygnus.com>
6364 * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
6365 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
6366 * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
6367 Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
6369 1997-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6371 * string/bits/string2.h: Fix spellings.
6373 * string/string.h: Fix spellings.
6375 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6377 * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
6378 declaration to __syscall_rt_sigaction.
6380 * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
6381 non-existant <sigcontext.h>.
6383 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6385 * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
6388 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6390 * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
6392 * Makeconfig (shared-thread-library): Correct spelling.
6394 * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
6397 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6399 * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
6400 constants from Linux headers. Pointed out by
6401 csmall@scooter.o.i.net. [PR libc/369]
6403 1997-12-04 10:21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6405 * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
6407 1997-12-04 00:06 Zack Weinberg <zack@rabi.phys.columbia.edu>
6409 * configure.in: If --enable-add-ons is given without an
6410 argument, set the addons list to all subdirs with a configure
6413 1997-12-03 23:50 Ulrich Drepper <drepper@cygnus.com>
6415 * Makeconfig: Add shared-thread-library variable.
6417 * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
6418 * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
6420 * sysdeps/m68k/fpu/e_acos.c: Likewise.
6421 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
6422 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
6423 * sysdeps/m68k/fpu/e_pow.c: Likewise.
6424 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
6425 * sysdeps/m68k/fpu/k_cos.c: Likewise.
6426 * sysdeps/m68k/fpu/k_sin.c: Likewise.
6427 * sysdeps/m68k/fpu/k_tan.c: Likewise.
6428 * sysdeps/m68k/fpu/s_atan.c: Likewise.
6429 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
6430 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
6431 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
6432 * sysdeps/m68k/fpu/s_csin.c: Likewise.
6433 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
6434 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
6435 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
6436 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
6437 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
6438 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
6439 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
6440 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
6441 * sysdeps/m68k/fpu/s_modf.c: Likewise.
6442 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
6443 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
6444 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
6446 * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
6447 __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
6448 * signal/Makefile (headers): Add bits/siginfo.h.
6449 (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
6450 (distribute): Add testrtsig.h.
6451 * signal/allocrtsig.c: New file.
6452 * signal/signal.h: Define `union sigval'. Include <bits/siginfo.h>.
6453 Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
6454 __libc_current_sigrtmax.
6455 * sysdeps/generic/sigqueue.c: New file.
6456 * sysdeps/generic/sigtimedwait.c: New file.
6457 * sysdeps/generic/sigwaitinfo.c: New file.
6458 * sysdeps/generic/testrtsig.h: New file.
6459 * sysdeps/generic/bits/siginfo.h: New file.
6460 * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
6461 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
6462 old_kernel_sigaction and rename sa_handler member to k_sa_handler.
6463 * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
6464 * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
6465 * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
6466 * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
6467 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
6468 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
6469 * sysdeps/unix/sysv/linux/sigpending.c: New file.
6470 * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
6471 * sysdeps/unix/sysv/linux/sigqueue.c: New file.
6472 * sysdeps/unix/sysv/linux/sigreturn.c: New file.
6473 * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
6474 * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
6475 * sysdeps/unix/sysv/linux/testrtsig.h: New file.
6476 * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
6477 * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
6478 * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
6479 * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
6480 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
6481 and _POSIX_REALTIME_SIGNALS.
6482 * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
6483 * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
6485 * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
6486 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
6489 * Makefile (subdirs): Add rt.
6490 * shlib-versions: Add entry for librt.
6491 * rt/Makefile: New file.
6492 * rt/aio.h: New file.
6493 * rt/aio_cancel.c: New file.
6494 * rt/aio_error.c: New file.
6495 * rt/aio_fsync.c: New file.
6496 * rt/aio_misc.c: New file.
6497 * rt/aio_misc.h: New file.
6498 * rt/aio_read.c: New file.
6499 * rt/aio_read64.c: New file.
6500 * rt/aio_return.c: New file.
6501 * rt/aio_suspend.c: New file.
6502 * rt/aio_write.c: New file.
6503 * rt/aio_write64.c: New file.
6504 * rt/lio_listio.c: New file.
6505 * rt/lio_listio64.c: New file.
6506 * sysdeps/generic/aio_sigqueue.c: New file.
6507 * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
6508 * sysdeps/unix/sysv/linux/Dist: Add new files
6509 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
6510 (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
6511 rt_sigqueueinfo, rt_sigaction.
6513 * posix/Makefile (headers): Add bits/environments.h.
6514 * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
6515 and _CS_LFS_CFLAGS on 64bit platforms.
6516 * posix/unistd.h: Define _XOPEN_LEGACY. Explain _XOPEN_REALTIME
6517 and _XOPEN_REALTIME_THREADS. Include bits/environments.h.
6518 * sysdeps/generic/bits/confname.h: Define _SC_* constants for
6519 compilation modules.
6520 * sysdeps/wordsize-32/bits/environments.h: New file.
6521 * sysdeps/wordsize-64/bits/environments.h: New file.
6523 * posix/getopt.c: Remove declaration of getpid and __libc_pid.
6524 * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
6526 * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
6529 * string/string.h: Add declaration of __strverscmp.
6530 * string/strverscmp.c: Rename function ot __strverscmp and make old
6533 * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
6534 * sysdeps/generic/enbl-secure.c: Likewise.
6535 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6537 * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
6539 * sysdeps/unix/sysv/linux/sys/pci.h: New file.
6541 1997-12-03 Ulrich Drepper <drepper@cygnus.com>
6543 * posix/sys/wait.h: Use __transparent_union__ instead of
6544 transparent_union. Reported by Roland McGrath.
6546 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6548 * resolv/inet_neta.c (inet_neta): Change type of first parameter
6549 to u_int32_t. Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
6552 * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
6554 * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
6556 1997-12-03 20:40 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6558 * grp/initgroups.c: Increase buffer if it is too small.
6560 1997-12-03 Ulrich Drepper <drepper@cygnus.com>
6562 * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
6563 fields, this is no ISO C. Reported by Andreas Jaeger.
6565 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6567 * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
6569 1997-12-03 08:58 Philip Blundell <pb@nexus.co.uk>
6571 * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
6572 _SYS_UTSNAME_H not _UTSNAME_H.
6574 1997-11-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6576 * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
6579 1997-11-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6581 * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
6582 * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
6583 * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
6585 * math/libm-test.c (csqrt_test): Add testcase.
6587 1997-12-03 15:44 Ulrich Drepper <drepper@cygnus.com>
6589 * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
6590 * sysdeps/unix/sysv/linux/sys/Dist: Add it.
6591 * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
6593 1997-11-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6595 * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
6597 1997-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6599 * math/libm-test.c (acos_test): Add more tests.
6600 (asin_test): Likewise.
6601 (atan_test): Likewise.
6602 (exp_test): Likewise.
6603 (sin_test): Likewise.
6604 (sqrt_test): Likewise.
6605 (cpow_test): Likewise.
6606 (csqrt_test): Likewise.
6607 (cexp_test): Correct typo in gcc version test.
6609 1997-12-02 17:14 Philip Blundell <pb@nexus.co.uk>
6611 * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
6613 * sysdeps/arm/setjmp.S: Likewise.
6615 * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
6617 1997-12-02 18:07 Philip Blundell <pb@nexus.co.uk>
6619 * stdio/stdio.h: Add prototype for tmpfile64().
6621 1997-12-02 17:47 Philip Blundell <pb@nexus.co.uk>
6623 * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
6624 prototype to keep in step with libio version.
6626 * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
6628 1997-12-02 17:41 Philip Blundell <pb@nexus.co.uk>
6630 * sysdeps/generic/Makefile: Don't try to use make_siglist if
6633 1997-12-02 01:18 Ulrich Drepper <drepper@cygnus.com>
6635 * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
6636 load GOT ptr before jumping to _exit.
6637 Reported by Xavier Leroy.
6639 1997-12-01 17:27 Ulrich Drepper <drepper@cygnus.com>
6641 * Makefile (subdirs): Add iconvdata and localedata.
6643 * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
6645 * iconv/gconv_conf.c (read_conf_file): Little optimization.
6647 * iconvdata/8bit-gap.c: New file.
6648 * iconvdata/8bit-generic.c: Renamed from ...
6649 * iconvdata/iso8859-generic.c: ...this.
6650 * iconvdata/configure: Removed.
6651 * iconvdata/Makefile: Add new modules and better rules.
6652 * iconvdata/iso6937.c: Minor bug fixes.
6653 * iconvdata/iso8859-1.c: Likewise.
6654 * iconvdata/t61.c: Likewise.
6655 * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
6657 * iconvdata/iso8859-3.c: Likewise.
6658 * iconvdata/iso8859-4.c: Likewise.
6659 * iconvdata/iso8859-5.c: Likewise.
6660 * iconvdata/iso8859-6.c: Likewise.
6661 * iconvdata/iso8859-7.c: Likewise.
6662 * iconvdata/iso8859-8.c: Likewise.
6663 * iconvdata/iso8859-9.c: Likewise.
6664 * iconvdata/iso8859-10.c: Likewise.
6665 * iconvdata/ebcdic-at-de-a.c: New file.
6666 * iconvdata/ebcdic-at-de.c: New file.
6667 * iconvdata/ebcdic-ca-fr.c: New file.
6668 * iconvdata/hp-roman8.c: New file.
6669 * iconvdata/koi-8.c: New file.
6670 * iconvdata/koi8-r.c: New file.
6671 * iconvdata/koi8-h.c: New file.
6672 * iconvdata/latin-greek-1.c: New file.
6673 * iconvdata/latin-greek-1.h: New file.
6674 * iconvdata/latin-greek.c: New file.
6675 * iconvdata/latin-greek.h: New file.
6676 * iconvdata/jis0201.c: New file.
6677 * iconvdata/jis0201.h: New file.
6678 * iconvdata/jis0208.c: New file.
6679 * iconvdata/jis0208.h: New file.
6680 * iconvdata/jis0212.c: New file.
6681 * iconvdata/jis0212.h: New file.
6682 * iconvdata/sjis.c: New file.
6683 * iconvdata/gap.pl: New file. Script to generate table header.
6684 * iconvdata/gaptab.pl: New file.
6685 * iconvdata/gconv-modules: Add info about new modules.
6687 * locale/programs/charmap.c: Also examine alias names given in charmap
6690 * localedata/*: Add to here from add-on. We need the information
6691 to generate tables for iconv.
6693 Update from db-2.3.14.
6694 * db2/Makefile: Updated.
6695 * db2/config.h: Likewise.
6696 * db2/db.h: Likewise.
6697 * db2/db_int.h: Likewise.
6698 * db2/btree/bt_cursor.c: Likewise.
6699 * db2/btree/bt_delete.c: Likewise.
6700 * db2/btree/bt_put.c: Likewise.
6701 * db2/btree/bt_search.c: Likewise.
6702 * db2/btree/bt_split.c: Likewise.
6703 * db2/btree/btree_auto.c: Likewise.
6704 * db2/common/db_appinit.c: Likewise.
6705 * db2/common/db_apprec.c: Likewise.
6706 * db2/common/db_err.c: Likewise.
6707 * db2/common/db_region.c: Likewise.
6708 * db2/db/db_auto.c: Likewise.
6709 * db2/db/db_dispatch.c: Likewise.
6710 * db2/db/db_ret.c: Likewise.
6711 * db2/dbm/dbm.c: Likewise.
6712 * db2/hash/hash_auto.c: Likewise.
6713 * db2/include/btree_ext.h: Likewise.
6714 * db2/include/common_ext.h: Likewise.
6715 * db2/include/db.h.src: Likewise.
6716 * db2/include/db_cxx.h: Likewise.
6717 * db2/include/db_ext.h: Likewise.
6718 * db2/include/db_int.h.src: Likewise.
6719 * db2/include/lock.h: Likewise.
6720 * db2/include/log.h: Likewise.
6721 * db2/include/mp.h: Likewise.
6722 * db2/include/mp_ext.h: Likewise.
6723 * db2/include/os_ext.h: Likewise.
6724 * db2/include/os_func.h: Likewise.
6725 * db2/lock/lock.c: Likewise.
6726 * db2/lock/lock_deadlock.c: Likewise.
6727 * db2/log/log.c: Likewise.
6728 * db2/log/log_archive.c: Likewise.
6729 * db2/log/log_auto.c: Likewise.
6730 * db2/log/log_get.c: Likewise.
6731 * db2/log/log_put.c: Likewise.
6732 * db2/mp/mp_bh.c: Likewise.
6733 * db2/mp/mp_fget.c: Likewise.
6734 * db2/mp/mp_fopen.c: Likewise.
6735 * db2/mp/mp_fput.c: Likewise.
6736 * db2/mp/mp_fset.c: Likewise.
6737 * db2/mp/mp_open.c: Likewise.
6738 * db2/mp/mp_pr.c: Likewise.
6739 * db2/mp/mp_region.c: Likewise.
6740 * db2/mp/mp_sync.c: Likewise.
6741 * db2/mutex/README: Likewise.
6742 * db2/mutex/mutex.c: Likewise.
6743 * db2/os/os_open.c: Likewise.
6744 * db2/os/os_func.c: Removed.
6745 * db2/os/os_config.c: New file.
6746 * db2/os/os_spin.c: New file.
6747 * db2/txn/txn.c: Likewise.
6748 * db2/txn/txn_auto.c: Likewise.
6750 1997-11-30 06:01 Ulrich Drepper <drepper@cygnus.com>
6752 * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
6753 __typeof for C++ since this fails for class members.
6754 Reported by Neal Becker <neal@ctd.comsat.com>.
6756 1997-11-28 11:21 Zack Weinberg <zack@rabi.phys.columbia.edu>
6758 * configure.in: Check for a working makeinfo (3.11 or better).
6759 * config.make.in: Add MAKEINFO to be substituted.
6760 * manual/Makefile: Don't update info if makeinfo is too old.
6762 1997-11-30 05:21 Ulrich Drepper <drepper@cygnus.com>
6764 * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
6765 * sysdeps/alpha/__longjmp.S: Likewise.
6766 * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
6767 not <bits/termios.h>.
6769 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
6770 __llseek and make llseek and lseek64 weak aliases.
6771 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6772 Patches by a sun <asun@zoology.washington.edu>.
6774 1997-11-29 19:19 Zack Weinberg <zack@rabi.phys.columbia.edu>
6776 * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
6777 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6778 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6779 * misc/sys/syslog.h: Clean up BSD header.
6781 1997-11-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6783 * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
6785 * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
6787 * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
6788 * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
6790 * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
6791 csqrt (-1), ctanh(i*pi/4).
6793 1997-11-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6795 * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
6797 1997-11-28 13:28 Philip Blundell <Philip.Blundell@pobox.com>
6799 * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
6801 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6803 * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
6805 1997-11-26 21:28 Ulrich Drepper <drepper@cygnus.com>
6807 * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
6808 and use. Define GETCWD_RETURN_TYPE instead and use it.
6809 * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
6810 of GETCWD_STORYGE_CLASS and put the return type and the
6811 `internal_function' in the right order for gcc 2.7.2.
6813 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6815 * sysdeps/unix/sysv/linux/sys/module.h: Remove file. It's
6816 incompatible with Linux 2.1.x. Packages using modules
6817 (e.g. modutils) should/do provide their own version. Suggested by
6820 * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
6822 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
6823 [$(subdir)=socket]: Remove sys/module.h.
6825 1997-11-26 04:28 Ulrich Drepper <drepper@cygnus.com>
6827 * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
6828 computing s_scale. Patch by a sun <asun@zoology.washington.edu>.
6830 * iconv/gconv_close.c: Correct freeing of descriptor data.
6831 * iconv/gconv_simple.c: Return correct error values for illegal or
6832 incomplete characters.
6834 * Makefile (iconvdata/%): Special goal to simplify iconvdata
6836 * iconvdata/Makefile: New file.
6837 * iconvdata/configure: Likewise.
6838 * iconvdata/extra-module.mk: Likewise.
6839 * iconvdata/gconv-modules: Likewise.
6840 * iconvdata/iso6937.c: Likewise.
6841 * iconvdata/iso8859-1.c: Likewise.
6842 * iconvdata/iso8859-10.c: Likewise.
6843 * iconvdata/iso8859-10.h: Likewise.
6844 * iconvdata/iso8859-2.c: Likewise.
6845 * iconvdata/iso8859-2.h: Likewise.
6846 * iconvdata/iso8859-3.c: Likewise.
6847 * iconvdata/iso8859-3.h: Likewise.
6848 * iconvdata/iso8859-4.c: Likewise.
6849 * iconvdata/iso8859-4.h: Likewise.
6850 * iconvdata/iso8859-5.c: Likewise.
6851 * iconvdata/iso8859-5.h: Likewise.
6852 * iconvdata/iso8859-6.c: Likewise.
6853 * iconvdata/iso8859-6.h: Likewise.
6854 * iconvdata/iso8859-7.c: Likewise.
6855 * iconvdata/iso8859-7.h: Likewise.
6856 * iconvdata/iso8859-8.c: Likewise.
6857 * iconvdata/iso8859-8.h: Likewise.
6858 * iconvdata/iso8859-9.c: Likewise.
6859 * iconvdata/iso8859-9.h: Likewise.
6860 * iconvdata/iso8859-generic.c: Likewise.
6861 * iconvdata/t61.c: Likewise.
6863 * string/Makefile (routines): Add strcasestr.
6864 * string/string.h: Add prototype for strcasestr.
6865 * sysdeps/generic/strcasestr.c: New file.
6866 * wcsmbs/mbrtowc.c: Simplify special case a bit.
6867 * wcsmbs/wcrtomb.c: Likewise.
6868 * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
6869 * wcsmbs/wcsnrtombs.c: Likewise.
6870 * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
6871 partial character is read.
6872 * wcsmbs/wcsrtombs.c: Likewise.
6873 * wcsmbs/wmemrtombs.c: Likewise.
6874 * wcsmbs/wmemrtowcs.c: Likewise.
6876 * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
6877 * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
6878 * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
6879 * sysdeps/i386/elf/setjmp.S: Likewise.
6880 * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
6883 * sysdeps/posix/mk-stdiolim.c: Output file with comment.
6884 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
6886 * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
6887 * sysvipc/sys/ipc.h: Likewise.
6888 * sysvipc/sys/msg.h: Likewise.
6889 * sysvipc/sys/sem.h: Likewise.
6890 * sysvipc/sys/shm.h: Likewise.
6892 * sysdeps/alpha/bits/endian.h: Issue error message if the header is
6894 * sysdeps/alpha/bits/setjmp.h: Likewise.
6895 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
6896 * sysdeps/arm/bits/endian.h: Likewise.
6897 * sysdeps/arm/bits/setjmp.h: Likewise.
6898 * sysdeps/generic/bits/byteswap.h: Likewise.
6899 * sysdeps/generic/bits/confname.h: Likewise.
6900 * sysdeps/generic/bits/dirent.h: Likewise.
6901 * sysdeps/generic/bits/dlfcn.h: Likewise.
6902 * sysdeps/generic/bits/endian.h: Likewise.
6903 * sysdeps/generic/bits/fenv.h: Likewise.
6904 * sysdeps/generic/bits/huge_val.h: Likewise.
6905 * sysdeps/generic/bits/in.h: Likewise.
6906 * sysdeps/generic/bits/ioctl-types.h: Likewise.
6907 * sysdeps/generic/bits/ioctls.h: Likewise.
6908 * sysdeps/generic/bits/ipc.h: Likewise.
6909 * sysdeps/generic/bits/msq.h: Likewise.
6910 * sysdeps/generic/bits/poll.h: Likewise.
6911 * sysdeps/generic/bits/resource.h: Likewise.
6912 * sysdeps/generic/bits/sched.h: Likewise.
6913 * sysdeps/generic/bits/sem.h: Likewise.
6914 * sysdeps/generic/bits/setjmp.h: Likewise.
6915 * sysdeps/generic/bits/shm.h: Likewise.
6916 * sysdeps/generic/bits/sigaction.h: Likewise.
6917 * sysdeps/generic/bits/sigcontext.h: Likewise.
6918 * sysdeps/generic/bits/socket.h: Likewise.
6919 * sysdeps/generic/bits/stat.h: Likewise.
6920 * sysdeps/generic/bits/statfs.h: Likewise.
6921 * sysdeps/generic/bits/stdio_lim.h: Likewise.
6922 * sysdeps/generic/bits/termios.h: Likewise.
6923 * sysdeps/generic/bits/time.h: Likewise.
6924 * sysdeps/generic/bits/uio.h: Likewise.
6925 * sysdeps/generic/bits/utmp.h: Likewise.
6926 * sysdeps/generic/bits/utmpx.h: Likewise.
6927 * sysdeps/generic/bits/utsname.h: Likewise.
6928 * sysdeps/generic/bits/waitflags.h: Likewise.
6929 * sysdeps/generic/bits/waitstatus.h: Likewise.
6930 * sysdeps/gnu/bits/utmp.h: Likewise.
6931 * sysdeps/gnu/bits/utmpx.h: Likewise.
6932 * sysdeps/i386/bits/byteswap.h: Likewise.
6933 * sysdeps/i386/bits/endian.h: Likewise.
6934 * sysdeps/i386/bits/huge_val.h: Likewise.
6935 * sysdeps/i386/bits/setjmp.h: Likewise.
6936 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6937 * sysdeps/ieee754/bits/huge_val.h: Likewise.
6938 * sysdeps/m68k/bits/byteswap.h: Likewise.
6939 * sysdeps/m68k/bits/endian.h: Likewise.
6940 * sysdeps/m68k/bits/setjmp.h: Likewise.
6941 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
6942 * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
6943 * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
6944 * sysdeps/mach/hurd/bits/stat.h: Likewise.
6945 * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
6946 * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
6947 * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
6948 * sysdeps/mips/bits/dlfcn.h: Likewise.
6949 * sysdeps/mips/bits/endian.h: Likewise.
6950 * sysdeps/mips/bits/setjmp.h: Likewise.
6951 * sysdeps/mips/dec/bits/endian.h: Likewise.
6952 * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
6953 * sysdeps/mips/mipsel/bits/endian.h: Likewise.
6954 * sysdeps/mips/p40/bits/endian.h: Likewise.
6955 * sysdeps/powerpc/bits/endian.h: Likewise.
6956 * sysdeps/powerpc/bits/fenv.h: Likewise.
6957 * sysdeps/powerpc/bits/setjmp.h: Likewise.
6958 * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
6959 * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
6960 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
6961 * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
6962 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
6963 * sysdeps/unix/bsd/bits/dirent.h: Likewise.
6964 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6965 * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
6966 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
6967 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
6968 * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
6969 * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
6970 * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
6971 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
6972 * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
6973 * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
6974 * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
6975 * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
6976 * sysdeps/unix/common/bits/dirent.h: Likewise.
6977 * sysdeps/unix/sysv/bits/dirent.h: Likewise.
6978 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6979 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6980 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6981 * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
6982 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
6983 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
6984 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
6985 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
6986 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
6987 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
6988 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6989 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6990 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
6991 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
6992 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
6993 * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
6994 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
6995 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
6996 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
6997 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6998 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6999 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7000 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7001 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
7002 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
7003 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7004 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7005 * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
7006 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
7007 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
7008 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7009 * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
7010 * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
7011 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
7012 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7013 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
7014 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
7015 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
7016 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
7017 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
7018 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
7019 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7020 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
7021 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
7022 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
7023 * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
7024 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7025 * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
7026 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
7027 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7028 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7029 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
7030 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
7031 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
7032 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7033 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
7034 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
7035 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
7036 * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
7037 * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
7038 * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
7039 * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
7040 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
7041 * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
7042 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
7043 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
7044 * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
7045 * sysdeps/vax/bits/huge_val.h: Likewise.
7046 * sysdeps/vax/bits/setjmp.h: Likewise.
7047 * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
7048 * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
7050 1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7052 * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
7054 1997-11-25 Paul Eggert <eggert@shade.twinsun.com>
7056 * strftime.c (strftime):
7057 No longer any need to undef or declare if emacs is defined.
7058 (my_strftime): When checking a -1 returned by mktime, don't blow up
7059 if localtime_r returns NULL.
7061 1997-11-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7063 * README.template: Fix spelling.
7065 1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7067 * configure.in: Enhance --enable-add-ons description a wee bit.
7069 1997-11-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7071 * glibcbug.in: Add more information of build environment and flags.
7073 1997-11-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7075 * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
7078 1997-11-24 03:01 Ulrich Drepper <drepper@cygnus.com>
7080 * elf/dl-support.c: Call __libc_init_secure to make sure
7081 __libc_enable_secure is defined early.
7082 * sysdeps/generic/enbl-secure.c: Change function name to
7083 __libc_init_secure and make it global instead of a constructor.
7085 * iconv/gconv.c: Fix lots of bugs.
7086 * iconv/gconv.h: Likewise.
7087 * iconv/gconv_builtin.h: Likewise.
7088 * iconv/gconv_close.c: Likewise.
7089 * iconv/gconv_conf.c: Likewise.
7090 * iconv/gconv_db.c: Likewise.
7091 * iconv/gconv_dl.c: Likewise.
7092 * iconv/gconv_open.c: Likewise.
7093 * iconv/gconv_simple.c: Likewise.
7094 * iconv/iconv.c: Likewise.
7095 * iconv/iconv_close.c: Likewise.
7096 * iconv/iconv_open.c: Likewise.
7098 * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
7099 * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
7100 * wcsmbs/wmemrtombs.c: New file.
7101 * wcsmbs/wmemrtowcs.c: New file.
7103 1997-11-22 19:28 Ulrich Drepper <drepper@cygnus.com>
7105 * iconv/gconv_simple.c: Fix lots of bugs.
7106 * iconv/iconv_open.c: Normalize names before passing them to
7109 * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
7111 * libio/iopopen.c: Check for correct mode argument and punt otherwise.
7112 * stdio-common/test-popen.c: Add test for above change.
7114 * math/libm-test.c: Print test results also using %a format,
7115 specified in PRINTF_XEXPR macro.
7116 * math/test-double.c: Define PRINTF_XEXPR.
7117 * math/test-float.c: Likewise.
7118 * math/test-ldouble.c: Likewise.
7119 * math/test-idouble.c: Likewise.
7120 * math/test-ifloat.c: Likewise.
7121 * math/test-ildoubl.c: Likewise.
7123 * stdio-common/vfscanf.c: Recognize a in format specifier only as
7124 modifier if used before s, S, or [. Otherwise it's the hexadecimal
7127 * stdlib/strtod.c: Little code cleanup.
7129 * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
7130 compiling in math subdir.
7132 * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
7133 instead of __LIBC_M81_MATH_INLINES.
7134 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
7135 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
7136 * sysdeps/m68k/fpu/e_pow.c: Likewise.
7137 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
7138 * sysdeps/m68k/fpu/k_cos.c: Likewise.
7139 * sysdeps/m68k/fpu/k_sin.c: Likewise.
7140 * sysdeps/m68k/fpu/k_tan.c: Likewise.
7141 * sysdeps/m68k/fpu/s_atan.c: Likewise.
7142 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
7143 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
7144 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
7145 * sysdeps/m68k/fpu/s_csin.c: Likewise.
7146 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
7147 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
7148 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
7149 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
7150 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
7151 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
7152 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
7153 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
7154 * sysdeps/m68k/fpu/s_modf.c: Likewise.
7155 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
7156 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
7157 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
7158 * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
7159 __LIBC_INTERNAL_MATH_INLINES is defined.
7161 * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
7162 of compare macros from ISO C 9X. Optimize generic versions a bit.
7163 Define __signbit inline functions and __ieee754_sqrt which can be
7164 used if the ompiler is fixed.
7166 * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
7168 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7170 * Makerules ($(common-objpfx)stub-$(subdir)): Look for
7171 sysdeps/generic in the whole dep file, not only in the first line.
7173 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7175 * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
7177 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7179 * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
7182 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7184 * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
7187 1997-11-20 16:51 Ulrich Drepper <drepper@cygnus.com>
7189 * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
7192 1997-11-19 21:36 Ulrich Drepper <drepper@cygnus.com>
7194 * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
7195 readlink succeeds but the return value is too long.
7197 * stdio-common/printf_fphex.c: Determine sign of number correctly.
7199 1997-11-19 02:45 Ulrich Drepper <drepper@cygnus.com>
7201 * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
7204 1997-11-18 23:08 Ulrich Drepper <drepper@cygnus.com>
7206 * sysdeps/generic/sys/ucontext.h: Stub context file.
7208 * libio/iofprintf.c: Removed. We use the stdio-common version.
7210 * manual/Makefile (distribute): Add stdio-fp.c.
7212 * sysdeps/powerpc/Dist: Add ppc-mcount.S.
7214 * db2/Makefile (distribute): Add include/os_func.h, README and
7217 * hesiod/Makefile (distribute): Add README.hesiod.
7219 1997-11-18 22:14 Ulrich Drepper <drepper@cygnus.com>
7221 * iconv/gconv.c: Correctly call transformation function.
7223 * manual/maint.texi: Document need of binutils 2.8.1.0.17.
7225 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7227 * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
7228 wrong results for e.g. remquo (3,2, &x)).
7229 * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
7230 * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
7232 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7234 * configure.in (ld --version-script): Test if the same symbol
7235 maybe defined in all versions (needed by recent changes to
7236 libc.map and supported with binutils 2.8.1.0.17) and issue warning
7237 if versioning is not supported/enabled.
7238 (bash test): Correct test case.
7240 * math/libm-test.c: Added counting/reporting of number of test cases.
7242 * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
7245 * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
7247 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7249 * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
7251 1997-11-18 18:04 Ulrich Drepper <drepper@cygnus.com>
7253 * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
7254 Replace revoke call by use of REVOKE.
7255 * sysdeps/unix/sysv/linux/pty.c: New file. Define REVOKE as
7256 empty and #include generic version.
7257 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7259 1997-11-18 16:02 Ulrich Drepper <drepper@cygnus.com>
7261 * libc.map: Add socket functions with __libc_* names.
7262 Reported by Andreas Jaeger.
7264 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7266 * libc.map: Tidy up (remove duplicates, sort entries).
7268 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7270 * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
7272 1997-11-18 06:45 Ulrich Drepper <drepper@cygnus.com>
7274 * sysdeps/generic/pty.c: Make thread safe. Fix bug when calling
7275 again after successful call.
7276 Patch by Marc Lehmann <pcg@goof.com>.
7278 1997-11-17 Paul Eggert <eggert@twinsun.com>
7280 * time/mktime.c, time/strftime.c (_REENTRANT): #define,
7281 as some hosts need this to declare localtime_r properly.
7283 1997-11-18 06:08 Ulrich Drepper <drepper@cygnus.com>
7285 * libc.map: Add iconv_open, iconv, and iconv_close.
7287 1997-11-18 02:31 Ulrich Drepper <drepper@cygnus.com>
7289 * iconv/Makefile: New file.
7290 * iconv/gconv.c: New file.
7291 * iconv/gconv.h: New file.
7292 * iconv/gconv_builtin.c: New file.
7293 * iconv/gconv_builtin.h: New file.
7294 * iconv/gconv_close.c: New file.
7295 * iconv/gconv_conf.c: New file.
7296 * iconv/gconv_db.c: New file.
7297 * iconv/gconv_dl.c: New file.
7298 * iconv/gconv_open.c: New file.
7299 * iconv/gconv_simple.c: New file.
7300 * iconv/iconv.c: New file.
7301 * iconv/iconv.h: New file.
7302 * iconv/iconv_close.c: New file.
7303 * iconv/iconv_open.c: New file.
7304 * include/gconv.h: New file.
7306 * Makeconfig: Define gconvdir.
7307 * Makefile (subdirs): Add iconv.
7309 * string/bits/string2.h: Add optimization for strtok_r.
7311 * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
7313 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
7314 Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
7316 * configure.in: Correct test for bash2.
7317 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7319 * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
7320 (CFLAGS-locfile.c): Likewise.
7321 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7323 * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
7324 non-existing entry if the table is full.
7326 * posix/regex.h: Pretty print.
7328 * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
7330 * sysdeps/posix/ctermid.c: Simplify a bit.
7332 * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
7334 1997-11-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7336 * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
7337 <sys/types.h> instead of <asm/types.h>.
7339 1997-11-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7341 * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
7343 1997-11-16 17:09 H.J. Lu <hjl@gnu.ai.mit.edu>
7345 * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
7346 fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
7347 (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
7348 (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
7349 fclose): Added to GLIBC_2.1.
7351 * libio/Makefile (routines, shared-only-routines): Add
7352 oldiofclose. Remove oldfreopen.
7354 * libio/freopen.c (freopen): When PIC is defined, call
7355 _IO_old_freopen () for old stdio.
7357 * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
7358 (_IO_fclose, fclose): Use _IO_new_fclose as default version
7361 * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
7362 instead of _IO_file_close_it.
7364 * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
7366 (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
7369 * libio/libioP.h (_IO_old_do_flush): New.
7371 * libio/oldfileops.c (_IO_old_file_close_it,
7372 _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
7373 Call _IO_old_do_flush () instead of _IO_do_flush ().
7374 (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
7377 * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
7378 instead of _IO_file_init ().
7379 Bind old symbols to version GLIBC_2.0.
7381 * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
7382 (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
7384 (_IO_check_libio): New function in .init.
7386 * libio/oldiofclose.c: New file.
7388 * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
7389 _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
7390 (DEF_STDFILE): Don't use default_symbol_version.
7392 * libio/stdio.c (stdin, stdout, stderr): Set to
7394 (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
7397 * csu/Makefile (distribute): Add init.c.
7398 (extra-objs): Add init.o for ELF.
7399 (start-installed-name): Add $(objpfx)init.o.
7401 * csu/init.c: New file.
7403 1997-11-12 08:02 H.J. Lu <hjl@gnu.ai.mit.edu>
7405 * elf/dl-lookup.c (do_lookup): Don't use the hidden base
7406 definition as the default.
7408 1997-08-27 Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>
7410 * erand48_r.c (__erand48_r): Implement for 32 bit short int.
7412 1997-11-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7414 * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
7417 1997-11-16 21:01 Philip Blundell <Philip.Blundell@pobox.com>
7419 * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
7420 to preserve condition codes on function call.
7422 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7424 * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
7426 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7428 * math/libm-test.c (asin_test): Add epsilon for float.
7429 (tan_test): Add epsilon for float.
7430 (log1p_test): Add epsilon for float.
7431 (inverse_functions): Add epsilons.
7433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
7436 * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
7438 1997-11-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7440 * md5-crypt/Makefile (extra-objs): Make recursively expanded
7441 variable, since $(object-suffixes) is not defined yet.
7443 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7445 * db2/Makefile (distribute): db185/db185_int.src ->
7448 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7450 * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
7453 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7455 * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
7457 * sysdeps/generic/e_acosl.c: Likewise.
7458 * sysdeps/generic/e_asinl.c: Likewise.
7459 * sysdeps/generic/e_atan2l.c: Likewise.
7460 * sysdeps/generic/e_expl.c: Likewise.
7461 * sysdeps/generic/e_fmodl.c: Likewise.
7462 * sysdeps/generic/e_j0l.c: Likewise.
7463 * sysdeps/generic/e_j1l.c: Likewise.
7464 * sysdeps/generic/e_jnl.c: Likewise.
7465 * sysdeps/generic/e_lgammal_r.c: Likewise.
7466 * sysdeps/generic/e_log10l.c: Likewise.
7467 * sysdeps/generic/e_logl.c: Likewise.
7468 * sysdeps/generic/e_powl.c: Likewise.
7469 * sysdeps/generic/e_sqrtl.c: Likewise.
7470 * sysdeps/generic/e_exp2l.c: Likewise.
7472 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7474 * Make-dist (+sysdep-names): Remove extra paren.
7475 * Makefile (distribute): Add stub-tag.h.
7476 * elf/Makefile (distribute): Add atomicity.h.
7477 * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
7478 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
7479 [$(subdir)=socket]: Add net/if_packet.h.
7480 * sysdeps/alpha/Dist: Remove setjmp_aux.c.
7481 * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
7482 net/if_packet.h, scsi/sg.h.
7484 1997-11-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7486 * Makefile (install): Quote $(CC) expansion.
7488 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7490 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
7491 working /proc cwd and no restrictions on path length. Following
7492 some ideas from Andi Kleen <ak@muc.de> (PR 350).
7494 1997-11-14 19:14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7496 * nis/nss_compat/compat-grp.c: Remove buggy assert call.
7497 * nis/nss_compat/compat-pwd.c: Likewise.
7498 * nis/nss_compat/compat-spwd.c: Likewise.
7500 1997-11-14 22:23 Ulrich Drepper <drepper@cygnus.com>
7502 * sysdeps/libm-i387/s_fdim.S: New file.
7503 * sysdeps/libm-i387/s_fdimf.S: New file.
7504 * sysdeps/libm-i387/s_fdiml.S: New file.
7505 * sysdeps/libm-i387/i686/s_fdim.S: New file.
7506 * sysdeps/libm-i387/i686/s_fdimf.S: New file.
7507 * sysdeps/libm-i387/i686/s_fdiml.S: New file.
7509 1997-11-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7511 * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
7512 pointer to unsigned char.
7514 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7516 * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
7518 * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
7520 * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
7522 1997-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7524 * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
7526 * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
7527 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
7529 1997-11-14 05:44 Ulrich Drepper <drepper@cygnus.com>
7531 * sysdeps/libm-i387/s_fmin.S: New file.
7532 * sysdeps/libm-i387/s_fminf.S: New file.
7533 * sysdeps/libm-i387/s_fminl.S: New file.
7534 * sysdeps/libm-i387/s_fmax.S: New file.
7535 * sysdeps/libm-i387/s_fmaxf.S: New file.
7536 * sysdeps/libm-i387/s_fmaxl.S: New file.
7537 * sysdeps/libm-i387/i686/s_fmin.S: New file.
7538 * sysdeps/libm-i387/i686/s_fminf.S: New file.
7539 * sysdeps/libm-i387/i686/s_fminl.S: New file.
7540 * sysdeps/libm-i387/i686/s_fmax.S: New file.
7541 * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
7542 * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
7544 1997-11-14 03:06 Ulrich Drepper <drepper@cygnus.com>
7546 * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
7547 * sysdeps/unix/sysv/linux/send.S: Likewise.
7548 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
7549 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
7550 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
7551 * sysdeps/unix/sysv/linux/recv.S: Likewise.
7552 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
7553 * sysdeps/unix/sysv/linux/connect.S: Likewise.
7554 Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
7556 See ChangeLog.7 for earlier changes.