1 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
3 * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
5 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
7 * iconvdata/Makefile: Put generated headers in build directory.
9 1998-04-23 22:43 Ulrich Drepper <drepper@cygnus.com>
11 * elf/dl-load.c (fillin_rpath): Handle empty element returned by
12 strsep as current directory.
14 * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
15 Java. Add definitions for unicodelittle implementation.
16 * iconv/gconv_int.h: Add declaration for unicodelittle functions.
17 * iconv/gconv_simple.c: Define unicodelittle functions.
19 * iconv/iconv_prog.c: Make program print information about position
20 of illegal character in input.
22 * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
23 comparison of charset name.
24 * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
25 * iconvdata/ebcdic-at-de-a.c: Likewise.
26 * iconvdata/ebcdic-at-de.c: Likewise.
27 * iconvdata/ebcdic-ca-fr.c: Likewise.
28 * iconvdata/euccn.c: Likewise.
29 * iconvdata/eucjp.c: Likewise.
30 * iconvdata/euckr.c: Likewise.
31 * iconvdata/euctw.c: Likewise.
32 * iconvdata/hp-roman8.c: Likewise.
33 * iconvdata/iso6937.c: Likewise.
34 * iconvdata/iso8859-1.c: Likewise.
35 * iconvdata/iso8859-10.c: Likewise.
36 * iconvdata/iso8859-2.c: Likewise.
37 * iconvdata/iso8859-3.c: Likewise.
38 * iconvdata/iso8859-4.c: Likewise.
39 * iconvdata/iso8859-5.c: Likewise.
40 * iconvdata/iso8859-6.c: Likewise.
41 * iconvdata/iso8859-7.c: Likewise.
42 * iconvdata/iso8859-8.c: Likewise.
43 * iconvdata/iso8859-9.c: Likewise.
44 * iconvdata/johab.c: Likewise.
45 * iconvdata/koi-8.c: Likewise.
46 * iconvdata/koi8-r.c: Likewise.
47 * iconvdata/latin-greek-1.c: Likewise.
48 * iconvdata/latin-greek.c: Likewise.
49 * iconvdata/sjis.c: Likewise.
50 * iconvdata/t61.c: Likewise.
51 * iconvdata/uhc.c: Likewise.
53 * iconvdata/iso646.c: Add support for more ISO 646 variants.
54 * iconvdata/TESTS: Add tests for ISO646 module.
55 * iconvdata/gconv-modules: Add new modules.
56 * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
57 * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
58 * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
59 * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
60 * iconvdata/testdate/DIN_66003: Likewise.
61 * iconvdata/testdate/DIN_66003..UTF8: Likewise.
62 * iconvdata/testdate/DS_2089: Likewise.
63 * iconvdata/testdate/DS_2089..UTF8: Likewise.
64 * iconvdata/testdate/ES: Likewise.
65 * iconvdata/testdate/ES..UTF8: Likewise.
66 * iconvdata/testdate/ES2: Likewise.
67 * iconvdata/testdate/ES2..UTF8: Likewise.
68 * iconvdata/testdate/GB_1988-80: Likewise.
69 * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
70 * iconvdata/testdate/IT: Likewise.
71 * iconvdata/testdate/IT..UTF8: Likewise.
72 * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
73 * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
74 * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
75 * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
76 * iconvdata/testdate/JUS_I.B1.002: Likewise.
77 * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
78 * iconvdata/testdate/KSC5636: Likewise.
79 * iconvdata/testdate/KSC5636..UTF8: Likewise.
80 * iconvdata/testdate/MSZ_7795.3: Likewise.
81 * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
82 * iconvdata/testdate/NC_NC00-10: Likewise.
83 * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
84 * iconvdata/testdate/NF_Z_62-010: Likewise.
85 * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
86 * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
87 * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
88 * iconvdata/testdate/NS_4551-1: Likewise.
89 * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
90 * iconvdata/testdate/NS_4551-2: Likewise.
91 * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
92 * iconvdata/testdate/PT: Likewise.
93 * iconvdata/testdate/PT..UTF8: Likewise.
94 * iconvdata/testdate/PT2: Likewise.
95 * iconvdata/testdate/PT2..UTF8: Likewise.
96 * iconvdata/testdate/SEN_850200_B: Likewise.
97 * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
98 * iconvdata/testdate/SEN_850200_C: Likewise.
99 * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
101 * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
102 * iconvdata/cns11643l1.h: Likewise.
103 * iconvdata/latin-greek-1.h: Likewise.
104 * iconvdata/latin-greek.h: Likewise.
105 * iconvdata/koi8-r.h: Likewise.
106 * iconvdata/jis0212.h: Likewise.
107 * iconvdata/gb2312.h: Likewise.
108 * iconvdata/ksc5601.h: Likewise.
110 * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
112 * iconvdata/Makefile: Add rules for lots of more modules.
113 * iconvdata/cp1250.c: New file.
114 * iconvdata/cp1251.c: New file.
115 * iconvdata/cp1252.c: New file.
116 * iconvdata/cp1253.c: New file.
117 * iconvdata/cp1254.c: New file.
118 * iconvdata/cp1255.c: New file.
119 * iconvdata/cp1256.c: New file.
120 * iconvdata/cp1257.c: New file.
121 * iconvdata/ebcdic-dk-no-a.c: New file.
122 * iconvdata/ebcdic-dk-no.c: New file.
123 * iconvdata/ebcdic-es-a.c: New file.
124 * iconvdata/ebcdic-es-s.c: New file.
125 * iconvdata/ebcdic-es.c: New file.
126 * iconvdata/ebcdic-fi-se-a.c: New file.
127 * iconvdata/ebcdic-fi-se.c: New file.
128 * iconvdata/ebcdic-fr.c: New file.
129 * iconvdata/ebcdic-is-friss.c: New file.
130 * iconvdata/ebcdic-it.c: New file.
131 * iconvdata/ebcdic-pt.c: New file.
132 * iconvdata/ebcdic-uk.c: New file.
133 * iconvdata/ebcdic-us.c: New file.
134 * iconvdata/ibm037.c: New file.
135 * iconvdata/ibm038.c: New file.
136 * iconvdata/ibm1004.c: New file.
137 * iconvdata/ibm1026.c: New file.
138 * iconvdata/ibm1047.c: New file.
139 * iconvdata/ibm256.c: New file.
140 * iconvdata/ibm273.c: New file.
141 * iconvdata/ibm274.c: New file.
142 * iconvdata/ibm275.c: New file.
143 * iconvdata/ibm277.c: New file.
144 * iconvdata/ibm278.c: New file.
145 * iconvdata/ibm280.c: New file.
146 * iconvdata/ibm281.c: New file.
147 * iconvdata/ibm284.c: New file.
148 * iconvdata/ibm285.c: New file.
149 * iconvdata/ibm290.c: New file.
150 * iconvdata/ibm297.c: New file.
151 * iconvdata/ibm420.c: New file.
152 * iconvdata/ibm423.c: New file.
153 * iconvdata/ibm424.c: New file.
154 * iconvdata/ibm437.c: New file.
155 * iconvdata/ibm500.c: New file.
156 * iconvdata/ibm850.c: New file.
157 * iconvdata/ibm851.c: New file.
158 * iconvdata/ibm852.c: New file.
159 * iconvdata/ibm855.c: New file.
160 * iconvdata/ibm857.c: New file.
161 * iconvdata/ibm860.c: New file.
162 * iconvdata/ibm861.c: New file.
163 * iconvdata/ibm862.c: New file.
164 * iconvdata/ibm863.c: New file.
165 * iconvdata/ibm864.c: New file.
166 * iconvdata/ibm865.c: New file.
167 * iconvdata/ibm868.c: New file.
168 * iconvdata/ibm869.c: New file.
169 * iconvdata/ibm870.c: New file.
170 * iconvdata/ibm871.c: New file.
171 * iconvdata/ibm875.c: New file.
172 * iconvdata/ibm880.c: New file.
173 * iconvdata/ibm891.c: New file.
174 * iconvdata/ibm903.c: New file.
175 * iconvdata/ibm904.c: New file.
176 * iconvdata/ibm905.c: New file.
177 * iconvdata/ibm918.c: New file.
179 * locale/iso-4217.def: Update.
180 * localedata/locales/pt_BR: Correct. Patches by Andreas Jaeger.
182 * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
185 1998-04-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
187 * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
190 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
192 * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
193 * Makefile: Likewise.
194 * posix/Makefile: Likewise.
195 * sysdeps/mach/hurd/Makefile: Likewise.
197 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
199 * sysdeps/mach/hurd/bits/dirent.h: New file.
200 * sysdeps/mach/hurd/readdir64.c: New file.
201 * sysdeps/mach/hurd/readdir64_r.c: New file.
203 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
205 * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
206 dprintf): Synchronize declarations with libio/stdio.h.
208 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
210 * elf/dlerror.c (dlerror): Don't assume that
211 __libc_internal_tsd_get is defined. __libc_getspecific is already
212 well-protected, so just use it directly.
214 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
216 * io/ftw.h (ftw): Fix typo.
218 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
220 * sysdeps/gnu/utmp_file.c: Fix typo.
222 1998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
224 * iconvdata/run-iconv-test.sh: Fix more portability bugs. When
225 one part of a test fails move on to the next test.
227 1998-04-24 5:45 Richard Henderson <rth@cygnus.com>
229 * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
231 1998-04-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
233 * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
234 as pointers, not signed integers.
236 1998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
238 * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
240 1998-04-21 21:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
242 * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
243 asm symbol name of functions.
244 * include/features.h: Kill redundant test.
246 * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
247 * io/ftw.h: Likewise.
248 * io/sys/stat.h: Likewise.
249 * io/sys/statfs.h: Likewise.
250 * io/sys/statvfs.h: Likewise.
251 * libio/stdio.h: Likewise.
252 * resource/sys/resource.h: Likewise.
253 * rt/aio.h: Likewise.
255 * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
257 * signal/signal.h: Use new macros for BSD vs. SysV signal().
259 * misc/Makefile: Drop bsd-compat.c. Make libbsd-compat.a
261 * misc/bsd-compat.c: Removed.
263 1998-04-21 20:32 Ulrich Drepper <drepper@cygnus.com>
265 * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
266 function declaration.
267 * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
268 and use them in conversion function.
269 * iconvdata/Makefile (modules): Re-add ISO6446.
270 * iconvdata/TEST: Add tests for ASCII variants.
271 * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
272 * iconvdata/testdata/ANSI_X3.4-1968: New file.
273 * iconvdata/testdata/BS_4730: New file.
274 * iconvdata/testdata/BS_4730..UTF8: New file.
276 1998-04-21 19:05 Ulrich Drepper <drepper@cygnus.com>
278 * iconv/gconv.h (struct gconv_step): Add element stateful.
279 * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
280 to zero for all internal conversions.
281 * iconv/skeleton.c: Initialize stateful depending on whether or not
282 RESET_STATE is defined to one or zero respectively.
283 * stdlib/mblen.c: Use stateful element of currently selected
284 converter for result if S is NULL.
285 * stdlib/mbtowc.c: Likewise.
286 * stdlib/wctomb.c: Likewise.
288 1998-04-21 18:00 Ulrich Drepper <drepper@cygnus.com>
290 * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
292 * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
294 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
295 character in comparison with uint32_t.
296 (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
297 (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
300 * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
303 * iconv/skeleton.c: Also reset converted counter in case of an error.
304 Call reset function using correct value for output buffer start.
306 * iconvdata/Makefile: Re-enable tests.
308 * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
309 value for to-conversion.
311 * iconvdata/TESTS: Add new third column.
312 * iconvdata/run-iconv-test.sh: Add support for charsets which are
314 * iconvdata/testdata/suntzus: New file.
316 * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
317 while reading. Correctly used base. Little optimization.
318 (__strtoul_internal): Likewise.
320 * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
321 was wrong. Use explicit variable.
323 1998-04-20 23:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
325 * configure.in: Check for awk.
326 * config.make.in: Add AWK to be substituted.
328 * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
329 * manual/users.texi: Fix typo exposed by above rewrite.
331 * Makefile: Invoke awk using AWK variable.
332 * csu/Makefile: Likewise.
333 * elf/Makefile: Likewise.
334 * mach/Makefile: Likewise.
335 * manual/Makefile: Likewise.
336 * sysdeps/gnu/Makefile: Likewise.
337 * sysdeps/mach/hurd/Makefile: Likewise.
338 * sysdeps/unix/Makefile: Likewise.
339 * timezone/Makefile: Likewise.
341 1998-04-10 Gordon Matzigkeit <gord@profitpress.com>
343 * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
344 array index translation.
345 (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
348 * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
350 * sysdeps/mach/hurd/errlist.c: New file.
351 (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
352 (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
353 semantics, so rename it.
355 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
357 * iconvdata/run-iconv-test.sh: Make portable. Always test all
360 1998-04-21 12:30 H.J. Lu <hjl@gnu.org>
362 * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
363 * wcsmbs/wcsnrtombs.c: Likewise.
365 1998-04-21 Ulrich Drepper <drepper@cygnus.com>
367 * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
369 * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
371 * time/strftime.c (my_strftime): Initialize pad variable in
374 * iconvdata/big5.c: Don't use character constants in comparisons
377 1998-04-20 18:00 Ulrich Drepper <drepper@cygnus.com>
379 * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
380 __libc_siglongjmp to GLIBC_2.1.
382 * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
385 * iconv/Makefile: Don't run tests now.
387 * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
388 with correct output buffer.
390 Major rewrite of the low-level gconv functionality.
391 * iconv/gconv.c: Rewritten.
392 * iconv/gconv.h: Likewise.
393 * iconv/gconv_builtin.c: Likewise.
394 * iconv/gconv_builtin.h: Likewise.
395 * iconv/gconv_conf.c: Likewise.
396 * iconv/gconv_int.h: Likewise.
397 * iconv/gconv_open.c: Likewise.
398 * iconv/gconv_simple.c: Likewise.
399 * iconv/iconv.c: Likewise.
400 * iconvdata/8bit-gap.c: Likewise.
401 * iconvdata/8bit-generic.c: Likewise.
402 * iconvdata/Makefile: Likewise.
403 * iconvdata/big5.c: Likewise.
404 * iconvdata/cns11643.c: Likewise.
405 * iconvdata/cns11643.h: Likewise.
406 * iconvdata/cns11643l1.c: Likewise.
407 * iconvdata/cns11643l1.h: Likewise.
408 * iconvdata/ebcdic-at-de-a.c: Likewise.
409 * iconvdata/ebcdic-at-de.c: Likewise.
410 * iconvdata/ebcdic-ca-fr.c: Likewise.
411 * iconvdata/euccn.c: Likewise.
412 * iconvdata/eucjp.c: Likewise.
413 * iconvdata/euckr.c: Likewise.
414 * iconvdata/euctw.c: Likewise.
415 * iconvdata/gb2312.c: Likewise.
416 * iconvdata/gb2312.h: Likewise.
417 * iconvdata/hp-roman8.c: Likewise.
418 * iconvdata/iso646.c: Likewise.
419 * iconvdata/iso6937.c: Likewise.
420 * iconvdata/iso8859-1.c: Likewise.
421 * iconvdata/iso8859-10.c: Likewise.
422 * iconvdata/iso8859-2.c: Likewise.
423 * iconvdata/iso8859-3.c: Likewise.
424 * iconvdata/iso8859-4.c: Likewise.
425 * iconvdata/iso8859-5.c: Likewise.
426 * iconvdata/iso8859-6.c: Likewise.
427 * iconvdata/iso8859-7.c: Likewise.
428 * iconvdata/iso8859-8.c: Likewise.
429 * iconvdata/iso8859-9.c: Likewise.
430 * iconvdata/jis0201.c: Likewise.
431 * iconvdata/jis0201.h: Likewise.
432 * iconvdata/jis0208.c: Likewise.
433 * iconvdata/jis0208.h: Likewise.
434 * iconvdata/jis0212.c: Likewise.
435 * iconvdata/jis0212.h: Likewise.
436 * iconvdata/johab.c: Likewise.
437 * iconvdata/koi-8.c: Likewise.
438 * iconvdata/koi8-r.c: Likewise.
439 * iconvdata/ksc5601.c: Likewise.
440 * iconvdata/ksc5601.h: Likewise.
441 * iconvdata/latin-greek-1.c: Likewise.
442 * iconvdata/latin-greek.c: Likewise.
443 * iconvdata/run-iconv-test.sh: Likewise.
444 * iconvdata/sjis.c: Likewise.
445 * iconvdata/t61.c: Likewise.
446 * iconvdata/uhc.c: Likewise.
447 * wcsmbs/btowc.c: Likewise.
448 * wcsmbs/mbrtowc.c: Likewise.
449 * wcsmbs/mbsnrtowcs.c: Likewise.
450 * wcsmbs/mbsrtowcs.c: Likewise.
451 * wcsmbs/wcrtomb.c: Likewise.
452 * wcsmbs/wcsmbsload.c: Likewise.
453 * wcsmbs/wcsnrtombs.c: Likewise.
454 * wcsmbs/wcsrtombs.c: Likewise.
455 * wcsmbs/wctob.c: Likewise.
456 * iconv/loop.c: New file.
457 * iconv/skeleton.c: New file.
459 * stdlib/mblen.c: Handle empty input string correctly.
460 * stdlib/mbtowc.c: Likewise.
462 * posix/getopt.c: Various cleanups.
464 * sysdeps/arm/bits/setjmp.h: Add copyright text.
465 * sysdeps/i386/bits/setjmp.h: Likewise.
466 * sysdeps/m68k/bits/setjmp.h: Likewise.
467 * sysdeps/powerpc/bits/setjmp.h: Likewise.
468 * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
470 * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
471 and make longjmp weak alias.
473 1998-04-18 20:29 Philip Blundell <Philip.Blundell@pobox.com>
475 * iconv/Makefile (routines): Only include gconv_dl if building for
476 an ELF system - dynamic linking is not available on a.out.
477 (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
479 * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
480 routines from gconv_dl.
482 1998-04-17 Gordon Matzigkeit <gord@profitpress.com>
484 * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
485 we can compile without libio.
487 1998-04-20 16:28 Ulrich Drepper <drepper@cygnus.com>
489 * sysdeps/mach/hurd/Subdirs: Remove login.
491 1998-04-11 Gordon Matzigkeit <gord@profitpress.com>
493 * db2/compat.h: Include <errno.h>, to make sure we get the
494 definition of EFTYPE before we define it ourselves.
496 1998-04-10 Gordon Matzigkeit <gord@profitpress.com>
498 * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
499 * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
500 Fix typo to allow inclusion from sys/ioctl.h again.
502 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
504 * iconvdata/*.[ch]: Clean up namespace. Optimize character lookup.
506 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
508 * libc.map: Export __strerror_r. Remove _strerror_internal.
510 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
512 * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
513 Also undefine __strcasestr.
515 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
517 * posix/regex.c: Rename __re_max_failures back to re_max_failures,
518 aliases do not work with global variables due to copy relocations.
520 1998-04-20 15:12 Ulrich Drepper <drepper@cygnus.com>
522 * manual/creature.texi: Fix type. Patch by Andreas Schwab.
524 1998-04-20 13:47 Ulrich Drepper <drepper@cygnus.com>
526 * signal/sighold.c: Include stddef.h for NULL definition.
527 * signal/sigrelse.c: Likewise.
528 * sysdeps/posix/sigignore.c: Likewise.
529 * sysdeps/posix/sigset.c: Likewise.
530 * sysdeps/posix/waitid.c: Likewise.
531 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
532 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
533 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
534 * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
535 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
537 1998-04-13 Mark Kettenis <kettenis@phys.uva.nl>
539 * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
540 * login/getutent.c (getutxent): Remove alias.
541 * login/getutent_r.c (setutxent, pututxline, endutxent):
543 * login/getutid.c (getutxid): Remove alias.
544 * login/getutline.c (getutxline): Remove alias.
545 * login/utmp.h: Add prototypes for __updwtmp, __getutent,
546 __getutid, __getutline and __pututline.
547 * login/utmpx.h: Moved to ...
548 * sysdeps/gnu/utmpx.h: ... here. [__USE_GNU]: Define UTMPX_FILE,
549 UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
551 * login/updwtmp.c: Moved to ...
552 * sysdeps/generic/updwtmp.c: ... here. (updwtmp): Generalized by
553 allowing file name transformation.
554 * sysdeps/gnu/updwtmp.c: New file. Use generic implementation with
555 additional file name transformation.
556 * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
557 * login/utmp_file.c: Moved to ...
558 * sysdeps/generic/utmp_file.c: ... here. (setutent_file):
559 Generalized by allowing file name transformation. Do not
560 print error message. Library functions should not print them.
561 Reported by Jim Meyering.
562 * sysdeps/gnu/utmp_file.c: New file. Use generic implementation
563 with additional file name transformation.
564 * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
565 * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
566 setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
567 pututxline, utmpxname and updwtmpx. (sysdep_headers): Add utmpx.h
569 * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
570 (_PATH_UTMPX): Define to _PATH_UTMP. (_PATH_WTMPX): Define to
571 _PATH_WTMPX. (RUN_LVL): Define only if __USE_GNU. (ACCOUNTING):
573 * sysdeps/generic/setutxent.c: New file.
574 * sysdeps/generic/getutxent.c: New file.
575 * sysdeps/generic/endutxent.c: New file.
576 * sysdeps/generic/getutxid.c: New file.
577 * sysdeps/generic/getutxline.c: New file.
578 * sysdeps/generic/pututxline.c: New file.
579 * sysdeps/generic/utmpxname.c: New file.
580 * sysdeps/generic/updwtmpx.c: New file.
581 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
582 * sysdeps/generic/bits/utmpx.h: Remove.
584 1998-04-20 Ulrich Drepper <drepper@cygnus.com>
586 * posix/wordexp-test.c (main): Initialize ifs element of ts for
589 1998-04-17 07:53 H.J. Lu <hjl@gnu.org>
591 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
593 1998-04-17 11:32 Ulrich Drepper <drepper@cygnus.com>
595 * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
596 variable using _G_stat64.
597 * libio/fileops.c: Remove macro definition of fstat, it is in the
599 Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
601 1998-04-17 Philip Blundell <pb@nexus.co.uk>
603 * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
604 <willy@odie.barnet.ac.uk>.
606 1998-04-16 Philip Blundell <Philip.Blundell@pobox.com>
608 * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
609 required by IPv6 Basic API.
610 (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
611 (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
612 (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
613 (IN6_IS_ADDR_MC_GLOBAL): Likewise.
615 1998-04-15 16:41 Ulrich Drepper <drepper@cygnus.com>
617 Don't name internal representation since it might be different from
618 the external form (namely on little endian machines).
619 * iconv/gconv_builtin.h: Add UCS4 support. Change references to
620 UCS4 into references to INTERNAL.
621 * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
622 Add endianess support to UCS functions. Change references to
623 UCS4 into references to INTERNAL.
624 * iconv/gconv_int.h: Change references to UCS4 into references to
626 * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
627 * iconvdata/gconv-modules: Change accordingly.
628 * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
630 * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
632 * iconvdata/8bit-gap.c: Likewise.
633 * iconvdata/8bit-generic.c: Likewise.
634 * iconvdata/big5.c: Likewise.
635 * iconvdata/euccn.c: Likewise.
636 * iconvdata/eucjp.c: Likewise.
637 * iconvdata/euckr.c: Likewise.
638 * iconvdata/euctw.c: Likewise.
639 * iconvdata/iso646.c: Likewise.
640 * iconvdata/iso6937.c: Likewise.
641 * iconvdata/iso8859-1.c: Likewise.
642 * iconvdata/johab.c: Likewise.
643 * iconvdata/sjis.c: Likewise.
644 * iconvdata/t61.c: Likewise.
645 * iconvdata/uhc.c: Likewise.
647 * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
648 * iconvdata/8bit-generic.c: Likewise.
650 * iconvdata/TESTS: Add more tests.
652 * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
654 1998-04-15 11:47 Ulrich Drepper <drepper@cygnus.com>
656 * iconvdata/Makefile: Better rules to run tests.
658 * iconvdata/testdata/ISO-8859-1..UTF8: New file.
659 * iconvdata/testdata/ISO-8859-10: Likewise.
660 * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
661 * iconvdata/testdata/ISO-8859-2: Likewise.
662 * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
663 * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
664 * iconvdata/testdata/ISO-8859-3: Likewise.
665 * iconvdata/testdata/ISO-8859-4: Likewise.
666 * iconvdata/testdata/ISO-8859-5: Likewise.
667 * iconvdata/testdata/ISO-8859-6: Likewise.
668 * iconvdata/testdata/ISO-8859-7: Likewise.
669 * iconvdata/testdata/ISO-8859-8: Likewise.
670 * iconvdata/testdata/ISO-8859-9: Likewise.
672 1998-04-15 Ulrich Drepper <drepper@cygnus.com>
674 * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
675 intermediate result (if available).
677 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
680 * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
681 (distribute): Add run-iconv-test.sh and testdata/*.
683 * stdlib/testmb.c (main): Simplify mbc array handling.
685 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
687 * elf/dl-minimal.c (__strtol_internal): Correct range check. Fix
688 return value on overflow.
690 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
692 * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
695 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
697 * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
698 of non-standard function setbuffer.
700 1998-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
702 * stdio-common/perror.c: Include <string.h> for __strerror_r.
704 1998-04-14 23:54 Ulrich Drepper <drepper@cygnus.com>
706 * iconvdata/Makefile: Add rules to run tests.
707 * iconvdata/TESTS: New file.
708 * iconvdata/run-iconv-test.sh: New file.
709 * iconvdata/testdata/ISO-8859-1: New file.
711 * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
714 1998-04-14 18:22 Ulrich Drepper <drepper@cygnus.com>
716 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
717 counter element of step.
719 * iconv/gconv_dl.c: Don't mark get_sym as internal function.
721 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
723 (__gconv_transform_ucs4_utf8): Likewise. Remove unnecessary variable
725 (__gconv_transform_utf8_ucs4): Correct test for empty input.
727 1998-04-14 Ulrich Drepper <drepper@cygnus.com>
729 * Makefile: Include makeconfig before defining rule to regenerate
732 * configure.in: Remove restriction on compiling without static
735 1998-04-14 16:34 Ulrich Drepper <drepper@cygnus.com>
737 * test-skeleton.c: Provide hook for initializing code before the fork.
738 * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
741 * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
742 * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
743 * libio/libioP.h: Adopt _IO_cleanup prototype.
745 * stdlib/Makefile (tests): Add test-canon2.
746 * stdlib/test-canon2.c: New file.
747 * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
748 be NULL. Use __lxstat, not __lstat. Correctly recognize long
750 (__realpath): Make real function which checks RESOLVED parameter for
753 1998-04-14 Ulrich Drepper <drepper@cygnus.com>
755 * catgets/open_catalog.c (__open_catalog): Fix problems with
756 reading non-files. Always close file.
757 Reported by Cristian Gafton <gafton@redhat.com>.
759 * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
761 1998-04-14 13:28 Ulrich Drepper <drepper@cygnus.com>
763 * libc.map: Add various low-level I/O functions.
765 1998-04-14 10:35 Ulrich Drepper <drepper@cygnus.com>
767 * string/Makefile (routines): Remove strerror_r.
768 * string/strerror_r.c: Removed.
769 * string/strerror.c: Call __strerror_r for doing the real work.
770 * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
771 add weak alias strerror_r.
772 * sysdeps/mach/_strerror.c: Likewise.
773 * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
774 * elf/dl-error.c (_dl_signal_error): Likewise.
775 * elf/dl-profile.c (_dl_start_profile): Likewise.
776 * gmon/gmon.c (write_gmon): Likewise.
777 * stdio-common/perror.c: Likewise.
778 * stdio-common/vfprintf.c: Likewise.
780 1998-04-10 Mark Kettenis <kettenis@phys.uva.nl>
782 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
783 (sysdep_headers): Add netatalk/at.h.
785 1998-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
787 * manual/socket.texi, manual/creature.texi, manual/time.texi:
790 1998-04-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
792 * posix/regex.c: Rename __re_syntax_options back to
793 re_syntax_options, aliases do not work with global variables due
795 (regex_compile): Use syntax parameter instead of
798 1998-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
800 * configure.in: Document that enable-force-install is default.
802 1998-04-13 Ulrich Drepper <drepper@cygnus.com>
804 * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
806 * sysdeps/posix/mkstemp.c: Likewise.
808 1998-04-13 17:40 Ulrich Drepper <drepper@cygnus.com>
810 * iconvdata/8bit-gap.c: Simplify step data handling.
811 * iconvdata/8bit-generic.c: Likewise.
812 * iconvdata/big5.c: Likewise.
813 * iconvdata/euccn.c: Likewise.
814 * iconvdata/eucjp.c: Likewise.
815 * iconvdata/euckr.c: Likewise.
816 * iconvdata/euctw.c: Likewise.
817 * iconvdata/iso6937.c: Likewise.
818 * iconvdata/iso8859-1.c: Likewise.
819 * iconvdata/jis0208.h: Likewise.
820 * iconvdata/jis0212.c: Likewise.
821 * iconvdata/jis0212.h: Likewise.
822 * iconvdata/johab.c: Likewise.
823 * iconvdata/ksc5601.h: Likewise.
824 * iconvdata/sjis.c: Likewise.
825 * iconvdata/t61.c: Likewise.
826 * iconvdata/uhc.c: Likewise.
828 1998-04-13 16:36 Ulrich Drepper <drepper@cygnus.com>
830 * manual/texinfo.texi: Updated from last version.
832 1998-04-13 14:52 Ulrich Drepper <drepper@cygnus.com>
834 * iconvdata/cns11643.c: New file.
835 * iconvdata/cns11643.h: New file.
836 * iconvdata/cns11643l1.c: New file.
837 * iconvdata/cns11643l1.h: New file.
838 * iconvdata/euctw.c: New file.
839 * iconvdata/Makefile: Add rules for EUC-TW and CNS.
840 * iconvdata/gconv-modules: Likewise.
842 * iconvdata/eucjp.c: Several bug fixes and improvements.
843 * iconvdata/gb2312.h: Likewise.
844 * iconvdata/jis0201.h: Likewise.
845 * iconvdata/jis0208.h: Likewise.
846 * iconvdata/jis0212.h: Likewise.
848 1998-04-13 09:11 Ulrich Drepper <drepper@cygnus.com>
850 * iconvdata/eucjp.c: New file.
851 * iconvdata/euccn.c: New file.
852 * iconvdata/gb2312.h: New file.
853 * iconvdata/gb2312.c: New file.
854 * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
855 * iconvdata/gconv-modules: Likewise.
857 * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
859 1998-04-12 Ulrich Drepper <drepper@cygnus.com>
861 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
862 (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
863 Patch by Mark Hatle <fray@kernel.crashing.org>.
865 1998-04-12 22:47 Philip Blundell <Philip.Blundell@pobox.com>
867 * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
869 (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
870 (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
872 1998-04-12 Ulrich Drepper <drepper@cygnus.com>
874 * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
876 * iconvdata/Makefile: Add rules for big5 conversion.
877 * iconvdata/gconv-modules: Likewise.
878 * iconvdata/big5.c: New file.
880 * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
881 Patch by Jim Meyering.
883 1998-04-11 Ulrich Drepper <drepper@cygnus.com>
885 * rt/tst-aio.c: Add test for aio_read and lio_listio.
887 * rt/lio_listio.c: Correct total counter handling.
889 * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
892 * test-skeleton.c (main): Make stdout unbuffered. Improve message
893 of signal on exit even more.
895 * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
896 instead of call to pthread_cond_init.
897 * rt/lio_listio.c (lio_listio): Likewise.
898 * rt/lio_listio64.c (lio_listio64): Likewise.
900 * nis/nis_findserv.c: Include sys/socket.h.
902 1998-04-11 09:33 Ulrich Drepper <drepper@cygnus.com>
904 * Makeconfig (rtobjdir): New variable.
905 (rpath-link): Add rtobjdir and thread directory, if available.
907 * test-skeleton.c: Add support to remove temporary files.
908 Always define test_dir. Improve message about expected signal.
910 * rt/Makefile (tests): Add tst-aio.
911 Add rules for tst-aio to be linked with librt and thread library.
912 * rt/aio_misc.c: Correct fundamental bugs.
913 * rt/aio_suspend.c: Correct bug in test for available request.
914 Initialize conditional variable.
915 * rt/lio_listio.c: Initialize conditional variable.
916 * rt/lio_listio64.c: Likewise.
917 * rt/tst-aio.c: New file.
919 * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
920 * sysdeps/libm-ieee754/w_gamma.c: Likewise. Adopt for ISO C 9x.
921 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
922 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
923 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
924 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
925 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
927 1998-04-11 14:49 Mark Kettenis <kettenis@landau.phys.uva.nl>
929 * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
931 1998-04-10 Ulrich Drepper <drepper@cygnus.com>
933 * elf/dl-load.c (open_path): Use correct name for test whether
934 directory in load path exists.
936 * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
937 * sysdeps/libm-ieee754/e_pow.c: Fix typo.
938 Patches by Tom Rini <trini@kernel.crashing.org>.
940 * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
941 * wcsmbs/wcstod_l.c: Likewise.
942 * wcsmbs/wcstold_l.c: Likewise.
944 * include/byteswap.h: New file.
946 * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
947 .bss segment size. Patch by Joe Keane <jgk@jgk.org>.
949 * inet/getnameinfo.c (getnameinfo): Change parameter to match
950 declaration. Patch by Richard Henderson.
952 1998-04-10 12:40 Zack Weinberg <zack@rabi.phys.columbia.edu>
954 * manual/process.texi (SIGCHLD example): Save errno.
956 1998-04-09 Ulrich Drepper <drepper@cygnus.com>
958 * posix/regex.c: Define regerror really as __regerror.
959 * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
960 regerror and regfree.
962 * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
963 * stdlib/strtod_l.c: Likewise.
964 * stdlib/strtold_l.c: Likewise.
966 * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
968 * sysdeps/i386/i486/bits/string.h: Remove unused variables.
970 * misc/syslog.c (closelog_internal): Set LogTag to NULL.
971 Patch by Christian Gafton.
973 1998-04-09 14:27 Ulrich Drepper <drepper@cygnus.com>
975 * manual/socket.texi (Interface Naming): Correct @deftypefun line
978 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
980 * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
982 * manual/socket.texi (Interface Naming): Fix typo.
984 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
986 * manual/examples/filesrv.c (main): Remove filename first.
988 * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
991 * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
994 * manual/examples/filecli.c (main): Use AF_LOCAL
997 1998-04-09 Ulrich Drepper <drepper@cygnus.com>
999 * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
1001 * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
1002 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
1003 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
1004 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
1005 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
1006 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
1008 * login/utmp_daemon.c (open_socket): Use __connect not connect.
1010 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1012 * configure.in: Add new option --enable-force-install. Substitute
1014 * config.make.in (force-install): Set from configure.
1015 * Makerules (force-install): New phony target.
1016 * Makeconfig (+force): New variable.
1017 * Makefile: Use it in dependency list of installation targets.
1018 * db/Makefile: Likewise.
1019 * db2/Makefile: Likewise.
1020 * elf/Makefile: Likewise.
1021 * hurd/Makefile: Likewise.
1022 * iconv/Makefile: Likewise.
1023 * iconvdata/Makefile: Likewise.
1024 * intl/Makefile: Likewise.
1025 * localedata/Makefile: Likewise.
1026 * login/Makefile: Likewise.
1027 * po/Makefile: Likewise.
1028 * sunrpc/Makefile: Likewise.
1029 * sysdeps/mach/hurd/Makefile: Likewise.
1030 * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
1031 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1032 * timezone/Makefile: Likewise.
1034 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1036 * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
1037 alloc_size. Pass return value of getcwd syscall to realloc.
1039 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1041 * manual/socket.texi: Spelling fixes.
1043 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1045 * elf/dl-load.c (print_search_path): Remove unused variable.
1047 1998-04-08 Ulrich Drepper <drepper@cygnus.com>
1049 * login/utmp_file.c: use __ftruncate not ftruncate.
1050 * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
1051 for system call and make ftruncate weak alias.
1052 * posix/unistd.h: Add prototype for __ftruncate.
1053 * login/utmp_daemon.c (open_socket): Use __socket not socket.
1054 * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
1055 instead of snprintf and readv.
1056 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
1058 * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
1061 1998-04-08 20:06 Ulrich Drepper <drepper@cygnus.com>
1063 * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
1064 * iconv/gconv_db.c: Use __ protected regex functions.
1065 * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
1066 * posix/getopt_init.c: Use __getpid not getpid.
1067 * posix/regex.c: Rename all global functions to start with __ and
1068 make old names weak aliases.
1069 * posix/regex.h: Adopt prototypes for this.
1070 * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
1071 a weak alias and use __getcwd instead of getcwd.
1072 * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
1073 * stdlib/strtod.c: Use __btowc instead of btowc.
1074 * stdlib/strtol.c: Likewise.
1075 * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
1076 * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
1077 and sys_errlist are weak.
1078 * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
1079 * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
1080 * wcsmbs/mbsnrtowcs.c: Likewise.
1081 * wcsmbs/mbsrtowcs.c: Likewise.
1082 * wcsmbs/wcsnrtombs.c: Likewise.
1083 * wcsmbs/wcsrtombs.c: Likewise.
1084 * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
1086 * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
1087 * wctype/wctype.c: Define function as __wctype and make wctype
1089 * wctype/wctype.h: Declare __wctype.
1091 1998-04-08 Ulrich Drepper <drepper@cygnus.com>
1093 * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
1095 1998-04-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1097 * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
1099 (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
1101 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
1103 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1104 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1105 * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
1106 make it a weak alias.
1107 * posix/unistd.h: Declare __lseek64.
1109 * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
1110 (_IO_file_stat): Fix typo.
1111 (_IO_file_xsgetn): Update fd->_offset. Read a multiple of the
1112 block size from the file. Use __mempcpy if _LIBC.
1114 1998-04-07 20:32 Ulrich Drepper <drepper@cygnus.com>
1116 * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
1117 * wcsmbs/mbrtowc.c: Likewise.
1118 * wcsmbs/mbsnrtowcs.c: Likewise.
1119 * wcsmbs/mbsrtowcs.c: Likewise.
1120 * wcsmbs/wcrtomb.c: Likewise.
1121 * wcsmbs/wcsnrtombs.c: Likewise.
1122 * wcsmbs/wcsrtombs.c: Likewise.
1123 * wcsmbs/wctob.c: Likewise.
1125 * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
1126 position of next output character correctly.
1127 (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
1129 * stdio-common/vfprintf.c (vfprintf): Clear state before used.
1131 * stdlib/strtod.c: Don't use mbtowc.
1133 1998-04-07 19:07 H.J. Lu <hjl@gnu.org>
1135 * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
1136 what we want is smaller than a buffer.
1138 1998-04-07 18:14 Ulrich Drepper <drepper@cygnus.com>
1140 * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
1143 1998-04-07 Ulrich Drepper <drepper@cygnus.com>
1145 * configure.in: Recognize --with-headers flag and determine
1146 commandline options to be used in compilation.
1147 * Makeconfig (+includes): Use $(sysincludes).
1148 * config.make.in (sysincludes): Define from SYSINCLUDES.
1149 * glibcbug.in: Use SYSINCLUDES information.
1150 Patches by Zack Weinberg.
1152 1998-04-07 19:03 Zack Weinberg <zack@rabi.phys.columbia.edu>
1154 * glibcbug.in: On linux, report version of kernel headers seen
1157 1998-04-07 16:18 Ulrich Drepper <drepper@cygnus.com>
1159 * libc.map: Add __asprintf to GLIBC_2.1.
1160 * elf/dlerror.c: Use __asprintf, not asprintf.
1161 * libio/stdio.h: Declare __asprintf.
1162 * stdio-common/asprintf.c: Define as __asprintf and make asprintf
1165 * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
1166 to avoid inclusion from libc_pic.a.
1168 * elf/dl-runtime.c: Undo last patch.
1170 * stdlib/strtod.c: Don't use mbtowc, use btowc.
1172 * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
1173 as default, use NULL.
1175 1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1177 * resolv/Makefile: Include ../Makeconfig - needed for building
1180 1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1182 * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
1183 static-nss since we don't want hesiod in the static NSS.
1185 * nss/Makefile: Build only nss_files as static.
1187 * nss/function.def: Remove support for service db.
1189 1998-04-04 09:44 H.J. Lu <hjl@gnu.org>
1191 * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
1193 1998-04-04 18:29 Tim Waugh <tim@cyberelk.demon.co.uk>
1195 * posix/wordexp-test.c: Make IFS per test-case.
1197 1998-04-07 17:50 Zack Weinberg <zack@rabi.phys.columbia.edu>
1199 * glibcbug.in: Report version of gcc in use. Remove unused variable
1202 1998-04-07 Gordon Matzigkeit <gord@profitpress.com>
1204 * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
1205 `-print-file-name' to find as and ld.
1207 1998-04-07 Ulrich Drepper <drepper@cygnus.com>
1209 * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
1210 template is wrong. Remove unused varaible `ignored'.
1212 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1214 * libc.map: Export __libc_sa_len.
1216 * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
1218 1998-04-07 08:51 Ulrich Drepper <drepper@cygnus.com>
1220 * iconv/gconv.c: Take care for NULL arguments.
1221 * iconv/gconv_dl.c: Make find_func function global.
1222 * iconv/gconv_int.h: Add prototype for __gconv_find_func.
1223 Add prototypes for ASCII conversion functions.
1224 * iconv/gconv_simple.c: Add ASCII conversion functions.
1225 * locale/C-ctype.c: Correct charset name.
1227 * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
1228 (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
1230 * wcsmbs/btowc.c: Rewrite to use iconv functionality.
1231 * wcsmbs/mbrtowc.c: Likewise.
1232 * wcsmbs/mbsnrtowcs.c: Likewise.
1233 * wcsmbs/mbsrtowcs.c: Likewise.
1234 * wcsmbs/wcrtomb.c: Likewise.
1235 * wcsmbs/wcsnrtombs.c: Likewise.
1236 * wcsmbs/wcsrtombs.c: Likewise.
1237 * wcsmbs/wctob.c: Likewise.
1238 * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen. Remove
1239 prototypes for wmemr*.
1240 * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
1241 * wcsmbs/wcsnlen.c: New file.
1242 * wcsmbs/wcsmbsload.c: New file.
1243 * wcsmbs/wcsmbsload.h: New file.
1245 * manual/filesys.texi: Mention risks of tmpnam and mktemp.
1247 * manual/install.texi: Describe some more critical points.
1249 * string/string.h: Add prototype for __strnlen.
1250 * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
1252 * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
1253 much less predictable names.
1254 * sysdeps/posix/mkstemp.c: Likewise.
1256 1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1258 * manual/libc.texinfo (Top): Change "file namespace" to "local
1261 * manual/socket.texi: Change file namespace to local namespace.
1262 (Out-of-Band Data): Remove unneeded variable link.
1263 (Host Address Functions): Use uint32_t consequently and add a
1264 number of clarifications for IPv4/IPv6, classless addresses.
1265 (Internet Namespace): Added some paragraphs about IPv6.
1266 Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
1268 1998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
1270 Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
1272 * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
1273 (NI_NUMERICHOST, et al.): Tidy up and add comments.
1274 (AI_NUMERICHOST): Define.
1275 (getnodebyname): New prototype.
1276 (AI_V4MAPPED, et al.): New constants.
1278 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
1279 * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
1280 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
1282 * sysdeps/unix/sysv/linux/sa_len.c: New file.
1283 * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
1285 * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
1287 * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
1288 * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
1289 * socket/Makefile (headers): Add bits/sockunion.h.
1290 * socket/sys/socket.h: Include <bits/sockunion.h>
1291 * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
1292 <sys/socket.h>, to avoid getting sockaddr_union defined.
1293 * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
1294 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1295 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1297 * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
1298 (2.2.x kernels won't have it).
1300 1998-04-06 21:21 Ulrich Drepper <drepper@cygnus.com>
1302 * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
1303 * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
1304 * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
1305 Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
1307 1998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
1309 * manual/socket.texi (Socket Addresses): Fix a typo.
1310 (Interface Naming): New section.
1312 1998-04-05 23:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
1314 * configure.in: Check for CC using $ac_tool_prefix, to handle
1315 cross-compilation. Use AC_CHECK_TOOL to find MiG.
1316 * config.make.in: Add MIG to be substituted.
1317 * mach/Machrules: Don't define MIG variable.
1319 Patch by Gordon Matzigkeit <gord@profitpress.com>.
1321 1998-04-05 Mark Kettenis <kettenis@phys.uva.nl>
1323 * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
1324 strdupa to copy rpath.
1326 1998-04-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1328 * configure.in: Fix gcc version check.
1330 * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
1333 1998-03-31 Mark Kettenis <kettenis@phys.uva.nl>
1335 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
1338 * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
1340 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
1341 * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
1342 * sysdeps/unix/grantpt.c (grantpt): Change check of return value
1343 of __ptsname_r accordingly.
1344 * login/openpty.c (openpty): Likewise.
1346 1998-06-04 18:47 H.J. Lu <hjl@gnu.org>
1348 * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
1350 1998-04-06 13:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1352 * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
1354 * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
1356 1998-04-06 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1358 * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
1359 return value for better error checking.
1361 1998-04-06 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
1363 * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
1364 _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
1366 * elf/elf.h (EM_SPARC64): Remove.
1367 (EM_SPARC32PLUS, EM_SPARCV9): Add.
1368 (HWCAP_SPARC_V9): Add.
1370 * elf/ldsodefs.h (_dl_hwcap): Declare.
1371 * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
1372 Weaken so dlopen from static progies works.
1373 (WEAKADDR): New macro.
1374 (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
1375 (LD_SO_PRELOAD): New macro.
1376 (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
1377 (elf_machine_rela): Weaken _dl_rtld_map.
1379 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
1380 to __clone, and remove the later's alias.
1381 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1383 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
1384 the kernel's structure.
1386 * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
1387 Sparc needs a custom value of __KERNEL_NCCS.
1389 1998-04-06 Richard Henderson <rth@cygnus.com>
1391 * sysdeps/generic/libc-start.c: Allow init and fini to be null.
1393 * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
1394 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1396 1998-04-06 Richard Henderson <rth@cygnus.com>
1398 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
1399 as the buffer is not properly aligned.
1400 Reported by Juan Cespedes <cespedes@debian.org>.
1402 1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1404 * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
1407 1998-04-05 Ulrich Drepper <drepper@cygnus.com>
1409 * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
1410 and wc*tomb* functions.
1412 1998-04-04 15:16 Philip Blundell <Philip.Blundell@pobox.com>
1414 * sysdeps/unix/start.c: Fix typo.
1416 1998-04-04 Ulrich Drepper <drepper@cygnus.com>
1418 * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
1420 1998-04-03 23:38 Ulrich Drepper <drepper@cygnus.com>
1422 * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
1423 expressions and using array variables.
1424 * sysdeps/libm-ieee754/e_asin.c: Likewise.
1425 * sysdeps/libm-ieee754/e_j0.c: Likewise.
1426 * sysdeps/libm-ieee754/e_j1.c: Likewise.
1427 * sysdeps/libm-ieee754/e_log.c: Likewise.
1428 * sysdeps/libm-ieee754/e_pow.c: Likewise.
1429 * sysdeps/libm-ieee754/k_cos.c: Likewise.
1430 * sysdeps/libm-ieee754/k_sin.c: Likewise.
1431 * sysdeps/libm-ieee754/k_tan.c: Likewise.
1432 * sysdeps/libm-ieee754/s_atan.c: Likewise.
1433 * sysdeps/libm-ieee754/s_erf.c: Likewise.
1434 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
1435 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
1436 Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
1438 1998-04-03 23:17 Ulrich Drepper <drepper@cygnus.com>
1440 * iconv/gconv.c: Rewrite of the low-level of gconv.
1441 * iconv/gconv.h: Likewise.
1442 * iconv/gconv_builtin.h: Likewise.
1443 * iconv/gconv_close.c: Likewise.
1444 * iconv/gconv_db.: Likewise.
1445 * iconv/gconv_dl.c: Likewise.
1446 * iconv/gconv_int.h: Likewise.
1447 * iconv/gconv_open.c: Likewise.
1448 * iconv/gconv_simple.c: Likewise.
1449 * iconvdata/8bit-gap.c: Adapt for rewrite.
1450 * iconvdata/8bit-generic.c: Likewise.
1451 * iconvdata/euckr.c: Likewise.
1452 * iconvdata/iso646.c: Likewise.
1453 * iconvdata/iso6937.c: Likewise.
1454 * iconvdata/iso8859-1.c: Likewise.
1455 * iconvdata/johab.c: Likewise.
1456 * iconvdata/sjis.c: Likewise.
1457 * iconvdata/t61.c: Likewise.
1458 * iconvdata/uhc.c: Likewise.
1460 1998-04-03 15:34 Ulrich Drepper <drepper@cygnus.com>
1462 * iconv/gconv_int.h: New file. Internal header.
1463 * iconv/Makefile (distribute): Add gconv_int.h.
1464 * iconv/gconv.h: Remove definition which are now in gconv_int.h.
1465 * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
1466 * iconv/gconv_close.c: Likewise.
1467 * iconv/gconv_conf.c: Likewise.
1468 * iconv/gconv_db.c: Likewise.
1469 * iconv/gconv_dl.c: Likewise.
1470 * iconv/gconv_int.h: Likewise.
1471 * iconv/gconv_open.c: Likewise.
1472 * iconv/iconv.c: Likewise.
1473 * iconv/iconv_close.c: Likewise.
1474 * iconv/iconv_open.c: Likewise.
1475 * iconv/iconv_prog.c: Likewise.
1477 1998-04-03 Ulrich Drepper <drepper@cygnus.com>
1479 * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
1482 1998-04-03 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1484 * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
1486 1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
1488 Based on patch from Pat Beirne:
1489 * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
1490 PIC and non-PIC now. Correctly negate error number.
1491 (errno): Use `%' not `@' in .type directives.
1493 1998-04-03 Ulrich Drepper <drepper@cygnus.com>
1495 * sysdeps/i386/strtok.S: Change to use single exit point.
1496 * sysdeps/i386/i686/strtok.S: Likewise.
1498 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1500 * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
1503 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1505 * Makerules (installed-libcs): Fix typo.
1507 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1509 * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
1510 (UHC-routines): Remove ksc5601.
1512 1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
1514 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
1515 introduced in last change.
1517 1998-04-03 06:22 Ulrich Drepper <drepper@cygnus.com>
1519 * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
1522 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
1524 * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
1526 * stdlib/isomac.c: Use -isystem instead of -I for system include
1529 1998-03-30 08:05 H.J. Lu <hjl@gnu.org>
1531 * resolv/res_comp.c (underscorechar): New.
1532 (middlechar): Allow '_'.
1534 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
1536 * intl/explodename.c (stdlib.h): Include that file only if
1537 STDC_HEADERS or _LIBC.
1538 (string.h): Include that file only if HAVE_STRING_H or _LIBC.
1539 Patch by Philippe De Muyter <phdm@macqel.be>.
1541 1998-04-01 21:08 Zack Weinberg <zack@rabi.phys.columbia.edu>
1543 * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
1544 (AC_PROG_CHECK_VER): New macro.
1545 * configure.in: Use AC_PROG_CHECK_VER to check versions of
1546 gcc, gmake, msgfmt, makeinfo. Remove superfluous tests.
1548 1998-04-02 15:13 Ulrich Drepper <drepper@cygnus.com>
1550 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
1551 * sysdeps/i386/i686/strtok.S: New file
1552 * sysdeps/i386/i686/strtok_r.S: New file
1554 1998-04-02 Mark Kettenis <kettenis@phys.uva.nl>
1556 * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
1558 * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
1559 parameter as __off64_t instead of __off_t.
1560 (ftello): Make alias for ftello64 instead of ftello. Change
1561 return type to __off64_t.
1563 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
1565 * sysdeps/i386/bits/string.h: Fix various typos.
1566 Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
1568 * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
1570 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
1572 * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
1573 lchown syscall correctly. [PR libc/541].
1575 1998-04-02 11:45 Ulrich Drepper <drepper@cygnus.com>
1577 * localedata/Makefile: Correct testsuite rules.
1579 * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
1580 * iconvdata/iso646.c: Fix conversion from UCS4.
1582 * elf/ldsodefs.h: Mark internal function with internal_function.
1583 * elf/dl-addr.c: Likewise.
1584 * elf/dl-close.c: Likewise.
1585 * elf/dl-debug.c: Likewise.
1586 * elf/dl-deps.c: Likewise.
1587 * elf/dl-error.c: Likewise.
1588 * elf/dl-fini.c: Likewise.
1589 * elf/dl-init.c: Likewise.
1590 * elf/dl-load.c: Likewise.
1591 * elf/dl-lookup.c: Likewise.
1592 * elf/dl-object.c: Likewise.
1593 * elf/dl-open.c: Likewise.
1594 * elf/dl-profile.c: Likewise.
1595 * elf/dl-reloc.c: Likewise.
1596 * elf/dl-runtime.c: Likewise.
1597 * elf/dl-symbol.c: Likewise.
1598 * elf/dl-version.c: Likewise.
1599 * elf/dlerror.c: Likewise.
1600 * sysdeps/generic/dl-sysdep.c: Likewise.
1601 * sysdeps/i386/dl-machine.h: Likewise.
1602 * intl/finddomain.c: Likewise.
1603 * intl/gettextP.h: Likewise.
1604 * intl/loadmsgcat.c: Likewise.
1606 1998-04-01 17:38 Ulrich Drepper <drepper@cygnus.com>
1608 * iconv/gconv_simple.c: New builtins for UCS en/decoding.
1609 * iconv/gconv_builtin.h: Add definitions for new builtins.
1610 * iconv/gconv.h: Add prototypes for new builtins.
1612 * iconvdata/Makefile (modules): Add ISO646.
1613 Add rules for ISO646 module.
1614 (distribute): Add iso646.c.
1615 * iconvdata/gconv-modules: Add module and alias definition for
1617 * iconvdata/iso646.c: New file.
1619 1998-04-01 16:10 Ulrich Drepper <drepper@cygnus.com>
1621 * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
1622 * iconv/iconv_prog.c: Implement --list option to print available
1623 coded character sets.
1625 1998-04-01 18:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
1627 Make fread() read large blocks straight to the user buffer.
1629 * libio/fileops.c (_IO_file_xsgetn): New function.
1630 (_IO_file_jumps): Use it.
1631 * libio/libioP.h: Prototype it.
1633 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
1635 * iconv/gconv_conf.c (builtin_aliases): New variable.
1636 (__gconv_read_conf): Add builtin aliases.
1637 * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
1638 noop macro before including gconv_builtin.h.
1639 * iconv/gconv_builtin.h: Add alias names.
1641 * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
1642 number of converted bytes correctly.
1644 1998-04-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1646 * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
1647 we only wait for a replay.
1649 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
1651 * iconvdata/Makefile: Finally fix dependencies for JOHAB and
1654 1998-04-1 16:52 Philip Blundell <pb@nexus.co.uk>
1656 * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
1657 use PLTJMP() rather than explicit (PLT).
1659 * sysdeps/arm/elf/start.S: Leave most of the initialisation for
1660 __libc_start_main().
1662 Based on patch from Pat Beirne:
1663 * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
1664 Always define, not only #ifndef PIC.
1665 (DO_CALL): Pass fifth argument correctly in R4.
1666 (PSEUDO): Correct test for error, call syscall_error through PLT
1669 1998-03-31 10:51 Philip Blundell <pb@nexus.co.uk>
1671 * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
1674 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
1676 * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
1679 1998-04-01 13:20 Mark Kettenis <kettenis@phys.uva.nl>
1681 * io/Makefile (static-only-routines): Add stat64, fstat64 and
1684 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1686 * manual/Makefile: Use object-suffixes-for-libc instead of
1688 * rpm/Makefile (install-lib): Likewise.
1690 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1692 * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
1694 * sysdeps/unix/sysv/linux/configure.in: Match $machine against
1695 `m68*', not only `m68k'.
1697 1998-04-01 10:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1699 * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
1701 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
1704 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
1706 * iconvdata/Makefile: Use libKSC shared object in JOHAB and
1709 * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
1712 1998-03-30 08:43 H.J. Lu <hjl@gnu.org>
1714 * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
1717 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
1719 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
1721 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
1723 Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
1725 1998-03-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1727 * Makerules (install): Change comment for libc.so following the
1728 libc_nonshared changes.
1730 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
1732 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
1734 * iconvdata/gap.pl: Avoid using %#06x.
1736 1998-03-31 19:55 Zack Weinberg <zack@rabi.phys.columbia.edu>
1738 * Makerules: Use $? instead of S^ when invoking ar.
1740 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
1742 * db2/compat.h: Allow EFTYPE being defined.
1743 * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
1744 * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
1745 * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
1746 * sysdeps/mach/bits/libc-lock.h: Fix typo.
1747 (__libc_once): Correctly unlock semaphore.
1748 * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
1749 * sysdeps/unix/bsd/getpt.c: Fix typo.
1750 Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
1752 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
1754 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
1757 1998-03-31 18:11 Ulrich Drepper <drepper@cygnus.com>
1759 * include/mntent.h: New file.
1761 * elf/Makefile (trusted-dirs.h): Append slash to filename.
1762 * elf/dl-load.c: Rewrite search path handling.
1763 * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
1764 * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
1765 * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
1766 * elf/ldsodefs.h: Add prototype.
1768 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
1770 * nss/nsswitch.c (__nss_lookup): Adjust comment.
1772 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
1775 * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
1777 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
1779 (HWCAP_IMPORTANT): New definition.
1781 1998-03-30 17:26 H.J. Lu <hjl@gnu.org>
1783 * elf/dl-open.c (_dl_open): Fix a typo.
1784 (_dl_global_scope_alloc): Make it static.
1786 1998-03-30 17:20 Ulrich Drepper <drepper@cygnus.com>
1788 * Makerules: Remove duplicate rules to handle stamp.oS.
1790 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1792 * manual/examples/inetsrv.c (main): Change prototype of
1793 make_socket following change in mkisock.c.
1795 * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
1797 (main): Change prototype of init_sockaddr following change in
1800 * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
1801 * manual/examples/isockad.c (init_sockaddr): Likewise.
1803 * manual/examples/mkfsock.c (make_named_socket): Removed blank
1804 lines for clarification.
1805 (make_named_socket): Use strncpy instead of strcpy.
1806 Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
1808 1998-03-30 13:28 Ulrich Drepper <drepper@cygnus.com>
1810 * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
1811 determining libs to remove.
1812 (postclean): Add soversions.mk.
1813 * Makerules (common-mostlyclean): Add tests-static and generated
1816 1998-03-30 12:53 Ulrich Drepper <drepper@cygnus.com>
1818 * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
1820 (__strncat_g): Add i686 specific code.
1822 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1824 * manual/install.texi (Reporting Bugs): Ask to include section
1827 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1829 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
1830 guard against direct inclusion.
1832 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1834 Rework support for libc_nonshared.a:
1835 * Makeconfig (object-suffixes-for-libc): New variable.
1836 * Rules: Remove handling of static-only and shared-only routines.
1837 * Makerules: Handle them here instead. Use
1838 object-suffixes-for-libc instead of object-suffixes when dealing
1840 (object-suffixes-for-rules): Remove variable.
1841 (elide-routines.oS): Elide all routines except static-only
1843 ($(objpfx)stamp.oS): Special rule for when static-only-routines is
1845 (installed-libcs): Remove special case for .oS.
1848 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1850 * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
1851 do-tst-rpmatch): New targets.
1853 (install-locales): Ignore comment lines.
1855 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1857 * elf/Makefile ($(objpfx)ld.so): Depend on version script.
1858 ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
1859 ($(objpfx)rtldtbl.h): Likewise.
1860 (CPPFLAGS-dl-load.c): Fix reference to object directory.
1862 1998-03-30 09:36 Ulrich Drepper <drepper@cygnus.com>
1864 * manual/string.texi (Finding Tokens in a String): Extend strsep
1865 description and correct example.
1867 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1869 * manual/socket.texi: Remove misguided explicit line breaks and
1870 fix the formatting problem instead by reformulating the
1872 * manual/filesys.texi: Likewise.
1873 * manual/conf.texi: Likewise. Don't typeset table with index
1874 fonts, that looks worse than a minimally overfull line.
1876 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1878 * nscd/Makefile (nscd-modules): Move definition outside of
1881 * pwd/Makefile: Use have-thread-library to test for thread
1884 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1886 * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
1888 * iconvdata/uhc.c (gconv): Remove unused variable idx.
1890 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
1892 * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
1894 1998-03-29 Ulrich Drepper <drepper@cygnus.com>
1896 * nss/getXXent_r.c: Correctly handle failing setXXent function.
1898 * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
1899 Reported by Andreas Jaeger.
1901 1998-03-29 20:59 Ulrich Drepper <drepper@cygnus.com>
1903 * elf/Makefile: Fix typo.
1904 (distribute): Add dl-librecon.h.
1905 * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
1906 * elf/ldd.sh.in: Likewise.
1907 * elf/ldsodefs.h: Declare _dl_correct_cache_id.
1908 * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
1909 Use strsep correctly.
1910 (process_envvars): Allow platform specific variables.
1911 * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
1912 (_dl_load_cache_lookup): Test cache IDs found against
1913 _dl_correct_cache_id.
1914 * sysdeps/generic/dl-librecon.h: New file.
1915 * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
1917 * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
1919 1998-03-29 16:50 Ulrich Drepper <drepper@cygnus.com>
1921 * config.make.in (ldd-rewrite-script): New variable.
1922 * configure.in: Substitute ldd-rewrite-script.
1923 * elf/Makefile: Rewrite rules to generate ldd script.
1924 * elf/ldd.bash.in: Allow handling of non-ELF binaries.
1925 * elf/ldd.sh.in: Likewise.
1926 * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
1927 * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
1928 point to sed script for libc4 handling insertion for ix86, m68, SPARC.
1929 * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
1930 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
1932 1998-03-26 15:20 Zack Weinberg <zack@rabi.phys.columbia.edu>
1934 * inet/rcmd.c (iruserok): Remain setuid to the local user
1935 while .rhosts is actually read, to make .rhosts-over-NFS work
1936 (PR libc/524). Use iruserfopen() for security checks on both
1937 hosts.equiv and .rhosts. General cleanup.
1938 (iruserfopen): New function, performs careful checking on
1939 hosts.equiv/.rhosts files. Disallows all the old forbidden
1940 stuff plus hard links to files.
1942 1998-03-29 09:26 Ulrich Drepper <drepper@cygnus.com>
1944 * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
1946 * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
1948 1998-03-29 02:02 H.J. Lu <hjl@gnu.org>
1950 * sysdeps/i386/i486/bits/string.h: Fix typos.
1952 1998-03-28 00:13 H.J. Lu <hjl@gnu.org>
1954 * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
1957 * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
1959 * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
1960 Added. Used by libm.so on alpha.
1962 1998-03-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1964 * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
1967 1998-03-27 07:29 H.J. Lu <hjl@gnu.org>
1969 * Makerules (object-suffixes-for-rules): Add .oS only for
1970 building shared library.
1971 Add ranlib rule for nonshared library.
1974 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
1975 into for shared library only.
1976 (CPPFLAGS-.oS): Add -DPIC.
1977 (libtypes): Use $(object-suffixes-for-rules) instead of
1980 1998-03-28 Ulrich Drepper <drepper@cygnus.com>
1982 * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
1983 and install lddlibc4.
1985 1998-03-28 09:13 Zack Weinberg <zack@rabi.phys.columbia.edu>
1987 * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
1989 * iconvdata/gaptab.pl: Likewise.
1991 1998-03-27 22:46 Ulrich Drepper <drepper@cygnus.com>
1993 * Rules: Allow Makefiles to specify test-static for tests which
1994 cannot be linked dynamically.
1995 * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
1998 * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
2000 * misc/error.c: Pretty print.
2002 1998-03-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2004 * Makerules (libc_nonshared-name): Remove variable.
2005 (installed-libcs): Use libc-name instead.
2006 ($(inst_libdir)/libc.so): Likewise. Remove explicit reference to
2009 * Makeconfig (link-libc): Link against libc_nonshared.a instead of
2010 libc.a. Remove explicit reference to dynamic linker.
2012 1998-03-27 Ulrich Drepper <drepper@cygnus.com>
2014 * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
2016 * iconv/iconv_prog.c: Correctly test for write failure.
2017 * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
2018 * iconvdata/gconv-modules: Likewise.
2019 * iconvdata/euckr.c: New file.
2020 * iconvdata/johab.c: New file.
2021 * iconvdata/ksc5601.c: New file.
2022 * iconvdata/ksc5601.h: New file.
2023 * iconvdata/uhc.c: New file.
2024 Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
2026 * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
2027 * stdio/fopen.c: Correct handling of 'x' flag.
2028 Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
2030 1998-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2032 * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
2033 * sunrpc/rpcsvc/key_prot.x: Likewise.
2034 * sunrpc/key_prot.c: Likewise.
2036 1998-03-27 13:49 Ulrich Drepper <drepper@cygnus.com>
2038 * sysdeps/i386/bits/string.h: Correct things which never worked.
2039 * sysdeps/i386/i486/bits/string.h: Add clobber marks.
2040 Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
2042 1998-03-27 Ulrich Drepper <drepper@cygnus.com>
2044 * intl/textdomain.c [_LIBC]: Define strdup only if not yet
2045 defined. Reported by Thorsten Kukuk.
2047 1998-03-26 18:50 Ulrich Drepper <drepper@cygnus.com>
2049 * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
2051 1998-03-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2053 * manual/install.texi (Supported Configurations): Add
2054 arm-linuxaout and arm-none.
2056 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
2058 * version.h (VERSION): Bump to 2.0.93.
2060 1998-03-25 07:30 H.J. Lu <hjl@gnu.org>
2062 * configure.in (libc_cv_ar_S): New to indicate if ar S works.
2064 * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
2066 * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
2067 (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
2069 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
2071 * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
2073 1998-03-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2075 Put the static-only routines in a separate library.
2076 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
2078 (all-object-suffixes): Add .oS.
2079 * Makerules (libc_static-name): New variable.
2080 (installed-libcs): Add libc_nonshared.a.
2081 ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
2082 (object-suffixes-for-rules): New variable. Use it instead of
2083 object-suffixes for generating compilation rules.
2084 (rmobjs): Also remove *.oS.
2085 * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
2086 ($(objpfx)stamp.oS): New target.
2088 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
2090 * Makefile (FAQ): Automatically check in regenerated FAQ.
2092 1998-03-26 10:16 Zack Weinberg <zack@rabi.phys.columbia.edu>
2094 * Makefile (INSTALL): Depend on install.texi, not maint.texi.
2096 1998-03-25 Ulrich Drepper <drepper@cygnus.com>
2098 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
2099 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
2101 * sysdeps/generic/stub_warning: Removed.
2103 * Makefile (distribute): Add include/des.h.
2105 * manual/Makefile (distribute): Change dir-add.texi to
2108 * glibcbug.in: Create files safely when mktemp is not available.
2110 * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
2111 Patch by a sun <asun@saul1.u.washington.edu>.
2113 1998-03-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2115 * libc.map: Rename getname to getnetname.
2117 1998-03-25 13:35 Ulrich Drepper <drepper@cygnus.com>
2119 * manual/maint.texi: Use supported platform in examples.
2121 * manual/install.texi: Document some installation tips.
2123 1998-03-25 10:56 Ulrich Drepper <drepper@cygnus.com>
2125 * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
2126 Fix a bug so that it returns an error if a numeric parameter is
2127 unset and WRDE_UNDEF is set.
2128 Patch by Andreas Schwab and Tim Waugh.
2129 * posix/wordexp-test.c: Add new new test.
2131 1998-03-25 Ulrich Drepper <drepper@cygnus.com>
2133 * posix/regex.c (regex_compile): Last patch wasn't entirely
2134 correct. Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
2136 1998-03-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2138 * manual/filesys.texi (Scanning Directory Content): Fix typo.
2140 1998-03-25 09:24 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
2142 * sysdeps/i386/bits/string.h: Fix all assembler statements so that
2143 clobbered registers don't appear as operands.
2145 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
2147 * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
2150 * posix/regex.c (regex_compile): Don't allow non-alphabet
2151 characters in character set name.
2153 1998-03-25 00:00 Tim Waugh <tim@cyberelk.demon.co.uk>
2155 * posix/wordexp.c (w_newword): New function.
2156 (do_parse_glob): New function.
2157 (parse_glob): Use do_parse_glob. Now handles the case where a
2158 variable expansion causes a field-split.
2159 (wordexp): Use w_newword.
2160 (parse_arith): Likewise.
2161 (exec_comm): Likewise.
2162 (parse_comm): Likewise.
2163 (parse_param): Likewise.
2164 (parse_backtick): Likewise.
2166 1998-03-24 19:36 Tim Waugh <tim@cyberelk.demon.co.uk>
2168 * posix/wordexp-tst.sh: Another test.
2170 * posix/wordexp-test.c: Two new tests.
2172 * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
2173 directly (the code using realloc was buggy).
2174 (parse_param): Fix typo in comment.
2176 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
2178 * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
2180 1998-03-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2182 * libc.map: Add more rpc auth functions/variables.
2184 * nscd/nscd.c: Add -g option to argp options.
2186 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
2188 * configure.in: Be prepared for gcc 2.9.10 and up.
2189 * configure.in: Add missing disabling of quote characters in
2190 compiler version check. Reported by HJ Lu.
2192 1998-03-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2194 * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
2196 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
2198 * intl/locale.alias: Fix spelling of romanian.
2200 * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
2201 (distribute): Remove des.h.
2202 * include/des.h: New file.
2203 * sunrpc/des.h: Moved to ...
2204 * sunrpc/rpc/rpc_des.h: ...here.
2206 1998-03-22 NIIBE Yutaka <gniibe@mri.co.jp>
2208 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
2211 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
2213 * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
2214 parameter const. Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
2216 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
2218 * elf/ldsodesf.h: New file.
2219 * elf/Makefile (distribute): Add ldsodefs.h.
2220 * elf/link.h: Separate internal information in exter header.
2221 * elf/rtld.c: Include elf/ldsodefs.h not link.h.
2222 * elf/dl-minimal.c: Likewise.
2223 * sysdeps/generic/dl-sysdep.c: Likewise.
2224 * elf/sprof.c: Likewise.
2225 * elf/dlsym.c: Likewise.
2226 * elf/dlvsym.c: Likewise.
2227 * elf/dlerror.c: Likewise.
2228 * elf/dladdr.c: Likewise.
2229 * elf/dlclose.c: Likewise.
2230 * elf/dlopen.c: Likewise.
2231 * elf/dl-addr.c: Likewise.
2232 * elf/dl-close.c: Likewise.
2233 * elf/dl-debug.c: Likewise.
2234 * elf/dl-deps.c: Likewise.
2235 * elf/dl-error.c: Likewise.
2236 * elf/dl-fini.c: Likewise.
2237 * elf/dl-init.c: Likewise.
2238 * elf/dl-load.c: Likewise.
2239 * elf/dl-lookup.c: Likewise.
2240 * elf/dl-object.c: Likewise.
2241 * elf/dl-open.c: Likewise.
2242 * elf/dl-profile.c: Likewise.
2243 * elf/dl-reloc.c: Likewise.
2244 * elf/dl-runtime.c: Likewise.
2245 * elf/dl-support.c: Likewise.
2246 * elf/dl-symbol.c: Likewise.
2247 * elf/dl-version.c: Likewise.
2248 * sysdeps/generic/dl-cache.c: Likewise.
2249 * sysdeps/generic/libc-start.c: Likewise.
2250 * iconv/gconv_dl.c: Likewise.
2251 * nss/nsswitch.c: Likewise.
2253 1998-03-23 13:45 Ulrich Drepper <drepper@cygnus.com>
2255 * manual/nss.texi: The database is not called network but networks.
2256 Reported by Herbert Xu <herbert@gondor.apana.org.au>.
2258 1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2260 * configure.in: Correct test for compiler version.
2261 Check that LD_LIBRARY_PATH doesn't contain current path.
2263 1998-03-23 07:52 H.J. Lu <hjl@gnu.org>
2265 * elf/dl-close.c (_dl_close): Fix byte count while removing
2266 the shared object from the global scope list and optimize
2269 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2271 * manual/filesys.texi (Scanning Directory Content): Add missing
2273 (Scanning Directory Content): Fix text.
2275 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2277 * manual/memory.texi (Heap Consistency Checking): Add paragraph
2278 explaining difference of -lmcheck and MALLOC_CHECK_.
2280 1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2282 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
2285 1998-03-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2287 * test-skeleton.c (main): Fix test for exit signal.
2289 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2291 * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
2293 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2295 * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
2298 1998-03-23 11:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2300 * libc.map: Export __strtok_r.
2302 1998-03-23 Ulrich Drepper <drepper@cygnus.com>
2304 * posix/regex.c (re_compile_fastmap): Remove unused variable
2305 num_regs and adjust comment.
2306 Patch by Jim Meyering <meyering@ascend.com>.
2308 * math/math.h (M_*l): Extend long double constants to be usable
2309 for 128 bit floats. Patch by Richard Henderson.
2311 1998-03-23 11:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2313 * sysdeps/m68k/m68020/wordcopy.S: New file.
2315 1998-03-22 Ulrich Drepper <drepper@cygnus.com>
2317 * posix/wordexp.c: Rewrite parse_param.
2318 Patch by Tim Waugh and Andreas Schwab.
2320 1998-03-21 23:46 Zack Weinberg <zack@rabi.phys.columbia.edu>
2322 * Rules: Update timestamps on empty object files.
2324 1998-03-21 09:15 Ulrich Drepper <drepper@cygnus.com>
2326 * manual/filesys.texi (Scanning Directory Content): Add description
2327 of 64 bits scandir function and friends.
2329 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
2331 * glibcbug.in: Use mktemp to generate unique file name for
2334 * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
2335 ptsname_r. Use cast for execve call.
2337 1998-03-20 16:24 Ulrich Drepper <drepper@cygnus.com>
2339 * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
2340 * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
2341 * io/sys/statvfs.h: New file.
2342 * sysdeps/generic/fstatvfs.h: New file.
2343 * sysdeps/generic/statvfs.h: New file.
2344 * sysdeps/generic/fstatvfs64.h: New file.
2345 * sysdeps/generic/statvfs64.h: New file.
2346 * sysdeps/generic/bits/statvfs.h: New file.
2347 * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
2348 * sysdeps/unix/sysv/linux/statvfs.c: New file.
2349 * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
2351 * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
2352 and f_ffree elements.
2354 * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print. Define
2355 mount options in enum.
2357 1998-03-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2359 * configure.in: Check for recent egcs/gcc.
2361 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
2363 * libc.map: Add alphasort64, scandir64, versionsort64.
2364 * dirent/Makefile (routines): Add scandir64, alphasort64, and
2366 * dirent/alphasort64.c: New file.
2367 * dirent/scandir64.c: New file.
2368 * dirent/versionsort64.c: New file.
2369 * dirent/dirent.h: Add LFS support for scandir, alphasort, and
2371 * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
2372 old name weak alias.
2373 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2375 * dirent/alphasort.c: Use strcoll instead of strcmp.
2377 * dirent/scandir.c: Optimize a bit.
2379 * dirent/versionsort.c: Pretty print.
2381 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
2383 * string/string.h: Add prototype for __strtok_r.
2385 1998-03-20 12:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2387 * posix/Makefile: Fix typo in last change.
2389 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
2391 * dirent/dirent.h (scandir): Make argument of select function const.
2392 * dirent/scandir.c (scandir): Likewise.
2393 Reported by David.Faure@insa-lyon.fr [PR libc/512].
2395 1998-03-19 14:28 Ulrich Drepper <drepper@cygnus.com>
2397 * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
2399 * sysdeps/i386/strtok_r.c: Likewise.
2401 * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
2402 * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
2403 * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
2404 * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
2405 * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
2406 * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
2408 1998-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2410 * intl/localealias.c: Remove unneeded define for strdup.
2412 1998-03-19 13:45 Ulrich Drepper <drepper@cygnus.com>
2414 * manual/argp.texi: Adjust for better TeX output.
2415 * manual/arith.texi: Likewise.
2416 * manual/conf.texi: Likewise.
2417 * manual/filesys.texi: Likewise.
2418 * manual/header.texi: Likewise.
2419 * manual/lgpl.texinfo: Likewise.
2420 * manual/math.texi: Likewise.
2421 * manual/message.texi: Likewise.
2422 * manual/pattern.texi: Likewise.
2423 * manual/process.texi: Likewise.
2424 * manual/signal.texi: Likewise.
2425 * manual/socket.texi: Likewise.
2426 * manual/startup.texi: Likewise.
2427 * manual/stdio.texi: Likewise.
2428 * manual/terminal.texi: Likewise.
2429 * manual/examples/rprintf.c: Likewise.
2430 * manual/examples/testopt.c: Likewise.
2431 Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
2433 1998-03-19 20:45 Tim Waugh <tim@cyberelk.demon.co.uk>
2435 * posix/wordexp.c (parse_param): Don't immediately stop parsing a
2436 parameter name after seeing a digit if it's enclosed in braces.
2438 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
2440 * sysdeps/i386/i686/Implies: Add libm-i387/i686.
2442 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2444 * manual/memory.texi (Heap Consistency Checking): Document
2445 MALLOC_CHECK_. Based on a text by Wolfram Gloger.
2447 1998-03-18 17:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
2449 * manual/Makefile: Add missing rules.
2451 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
2453 * timezone/Makefile (generated): Define to remove all stamp files.
2455 * sysdeps/generic/strsep.c: Also undefine __strsep.
2457 * string/strdup.c: Undefine __strdup and strdup first.
2458 * string/strndup.c: Likewise.
2460 * string/bits/string2.h: Correct strtok_r and strsep.
2461 Add strndup optimization.
2463 * sysdeps/generic/strsep.c: Little optimization.
2465 1998-03-18 14:25 Ulrich Drepper <drepper@cygnus.com>
2467 * string/bits/string2.h: Add optimization for strdup.
2468 Always define __strsep and __strtok_r and make real names available
2469 when feature select macros are defined.
2471 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2473 * manual/install.texi (Installation): Use i486-linux as example
2474 instead of the unsupported sunos4.
2475 (Reporting Bugs): Mention glibcbug script.
2476 (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
2478 1998-03-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2480 * posix/wordexp-tst.sh: Make portable. Add more tests.
2482 * posix/Makefile (do-globtest do-wordexp-test): New targets.
2484 1998-03-18 13:38 Ulrich Drepper <drepper@cygnus.com>
2486 * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
2487 * sysdeps/generic/libc-start.c: ...here, replacing former content.
2489 * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
2492 * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
2494 1998-03-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2496 * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
2497 in enumerator for strict standard compliance.
2498 * sysdeps/generic/bits/resource.h: Likewise.
2500 1998-03-18 10:04 Philip Blundell <pb@nexus.co.uk>
2502 * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
2503 (PLTJMP): New macro.
2505 * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
2506 longjmp() when floating point enabled.
2507 * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
2508 * sysdeps/arm/__longjmp.S: Remove floating point code.
2509 * sysdeps/arm/setjmp.S: Likewise.
2511 * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
2512 * sysdeps/arm/bsd-_setjmp.S: Likewise.
2514 * sysdeps/arm/memset.S: New file; optimised ARM implementation of
2517 * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
2520 1998-03-17 16:16 Philip Blundell <pb@nexus.co.uk>
2522 Based on patches from Pat Beirne and Scott Bambrough:
2524 * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
2526 * sysdeps/arm/bits/fenv.h: New file.
2528 * sysdeps/arm/dl-machine.h: New file. Add ELF support.
2529 * sysdeps/arm/elf/setjmp.S: Likewise.
2530 * sysdeps/arm/elf/start.S: Likewise.
2531 * sysdeps/arm/init-first.c: Likewise.
2532 * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
2533 * sysdeps/arm/sysdep.h: Change format of .type directive. Correct
2534 comment about floating point to reflect current reality.
2536 * sysdeps/unix/arm/brk.S: Support PIC.
2537 * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
2539 * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
2540 return; call syscall_error through PLT.
2541 * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
2543 1998-03-04 12:01 Philip Blundell <pb@nexus.co.uk>
2545 * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
2546 * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
2547 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
2549 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
2551 * dirent/list.c (test): Return error value.
2552 (main): Exit with error value.
2554 * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
2556 * Makefile (distribute): Add test-skeleton.c.
2557 * test-skeleton.c: New file.
2558 * dirent/Makefile (tests): Add opendir-tst1.
2559 * dirent/opendir-tst1.c: New file.
2561 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
2563 * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
2564 Optimize memory handling.
2565 * sysdeps/unix/closedir.c: Optmize memory handling.
2567 1998-03-17 Ulrich Drepper <drepper@cygnus.com>
2569 * posix/wordexp.c (parse_param): Fix off-by-on error in $@
2570 handling. Optimize a bit.
2572 1998-03-18 00:25 Tim Waugh <tim@cyberelk.demon.co.uk>
2574 * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
2575 (parse_param): Fold in Andreas' fixes to do with when the end of
2576 the parameter name has been reached, and quoting inside ${...}.
2577 (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
2580 1998-03-16 22:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
2582 * manual/maint.texi: Split out installation and contribution
2583 sections to their own appendices. Misc cleanups.
2584 * manual/install.texi: New file. Mention add-ons. Refer to FAQ.
2585 * manual/contrib.texi: New file.
2586 * manual/libc.texinfo: Pull in new appendices.
2587 * manual/header.texi: Correct node pointer.
2589 1998-03-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2591 * manual/process.texi (Process Completion): Clarify return value
2592 of waitpid a bit. Patch by Zack Weinberg. [PR libc/490]
2594 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2596 * posix/wordexp-test.c: Add more tests.
2597 (testit): Fix logic.
2599 * posix/wordexp.c (exec_comm): In the child, redirect stderr to
2600 /dev/null instead of closing it, close pipe. Always chop off all
2601 trailing newlines. Kill and reap child before returning error.
2602 (w_addword, parse_glob): Fix memory leak.
2603 (wordexp): Fix dangling pointer problem.
2605 1998-03-16 Ulrich Drepper <drepper@cygnus.com>
2607 * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
2609 * posix/wordexp-test.c (main): Fix little thinkos and typos.
2611 * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
2612 directory index by only the language.
2614 1998-03-16 13:02 Tim Waugh <tim@cyberelk.demon.co.uk>
2616 * posix/wordexp-tst.sh: Store test results in the
2617 ${common_objpfx}posix directory.
2619 * posix/wordexp-test.c: Remove temporary directory afterwards.
2621 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2623 * libc.map: Export internal versions of cancelable functions.
2625 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2627 * Makerules (MAKEFLAGS): Append `r'.
2629 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2631 * Makeconfig: Define have-thread-library, shared-thread-library
2632 and static-thread-library if a thread library is available. Don't
2634 * nscd/Makefile: Compile nscd if have-thread-library. Rename
2635 nscd-routines to nscd-modules. Use shared-thread-library and
2636 static-thread-library in dependencies.
2637 * rt/Makefile: Only compile librt if have-thread-library is
2639 * Makefile (subdirs): Always include rt subdir.
2641 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2643 * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
2645 1998-03-14 21:55 Ulrich Drepper <drepper@cygnus.com>
2647 * configure.in: Recognize variations for 32 MIPS processors.
2648 Don't assume ELF systems always have .weak, test for .weakext.
2650 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
2652 * configure.in: Irix6 is an ELF platform.
2654 1998-03-14 11:47 H.J. Lu <hjl@gnu.org>
2656 * elf/dl-close.c (_dl_close): Stop unmapping the segments after
2657 unmapping the last loaded segment.
2659 1998-03-14 15:54 Ulrich Drepper <drepper@cygnus.com>
2661 * configure.in: Set base_os for Irix6.
2662 Correct test for .weakext.
2664 1998-03-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2666 * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
2667 (new_line) to _dl_debug_message call.
2669 1998-03-14 00:52 Tim Waugh <tim@cyberelk.demon.co.uk>
2671 * posix/wordexp.c (parse_param): Perform field-splitting after
2672 expanding positional parameter.
2674 * posix/wordexp-tst.sh: Test that field-splitting is performed
2675 after expanding positional parameter.
2677 * posix/wordexp.c (parse_param): Fixed memory leak in
2678 field-splitting after parameter expansion.
2680 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
2682 * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
2683 (get_toplvl_escape): Correctly terminate loop at EOF.
2684 Patch by Cristian Gafton <gafton@redhat.com>.
2686 1998-03-13 16:55 Ulrich Drepper <drepper@cygnus.com>
2688 * string/tester.c (test_strpbrk): Add more strpbrk tests.
2689 (test_strsep): Likewise. Correct horrible bugs.
2691 * string/bits/string2.h (strcspn): Optimize also reject string of
2694 (strpbrk): Likewise.
2695 (strsep): Likewise. Correct bug with successive separators and
2696 separators at the end of the string.
2697 * sysdeps/generic/strsep.c: Correct bug with successive separators
2698 and separators at the end of the string.
2700 1998-03-13 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
2702 * posix/wordexp.c (parse_param): Positional parameters ($1, $2
2703 etc) now handled, as well as $$ (pid).
2705 * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
2706 (distribute): Add wordexp-tst.sh.
2708 * posix/wordexp-tst.sh: New file.
2710 * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
2711 number of positional parameters. Renamed substitute_length to
2713 Don't free(env) is env is NULL.
2715 1998-03-13 16:50 Ulrich Drepper <drepper@cygnus.com>
2717 * libc.map: Add pthread_attr_init to GLIBC_2.1.
2719 1998-03-13 15:01 Ulrich Drepper <drepper@cygnus.com>
2721 * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
2722 for output file replacing gmon.out.
2723 Patch by Dean Gaudet <dgaudet@arctic.org>.
2725 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2727 * elf/dl-misc.c (_dl_debug_message): Fix printing of pid. Clean
2728 up namespace. Optimize finding end of line.
2730 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2732 * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
2733 securely. Optimized.
2734 (process_dl_debug): Add ':' to list of separators. Optimized.
2736 1998-03-13 10:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2738 * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
2739 isless, islessequal, islessgreater, isunordered): Return zero or
2742 1998-03-12 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
2744 * posix/wordexp-test.c: More tests.
2745 (main): Set up arena for pathname expansion tests (in a temporary
2747 (testit): Don't check word count or word vector if return value is
2750 * posix/wordexp.c (exec_comm): Always chop off terminating
2751 linefeed (just like bash does).
2752 (parse_param): Change lots of occurrences of "if (!*env)" to "if
2754 (parse_param): For assignment inside parameter expansion, use all
2755 expanded words in assignment rather than just the first.
2756 (parse_param): Corrected return value for parameter expansion of
2757 an unset variable when WRDE_UNDEF is in effect.
2758 (parse_dollars): Don't field-split if quoted.
2759 (wordexp): Opening brace character isn't allowed unquoted.
2761 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
2763 * elf/dlerror.c: Fix concurrency problems with error string and
2766 * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
2767 filter/auxiliary are being loaded.
2769 1998-03-12 14:24 Ulrich Drepper <drepper@cygnus.com>
2771 * elf/dlerror.c (last_object_name): Removed.
2772 (dlerror): Don't use last_object_name.
2773 (_dl_error_run): Omit second argument to _dl_catch_error.
2774 * elf/dl-error.c (struct catch): Remove objname member.
2775 (_dl_signal_error): Construct string including objname when given.
2776 (_dl_catch_error): Remove objname handling.
2777 * elf/link.h (_dl_catch_error): Fix prototype and comment.
2778 * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
2779 * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
2780 * nss/nsswitch.c (nss_dlerror_run): Likewise.
2781 * iconv/gconv_dl.c (dlerror_run): Likewise.
2782 [Corrects PR libc/501].
2784 1998-03-12 Matthias Urlichs <smurf@noris.de>
2786 * nscd/nscd.c: Ignore SIGPIPE.
2788 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
2790 * nscd/nscd_getgr_r.c: Use __ protected names.
2791 * nscd/nscd_getpw_r.c: Likewise.
2793 1998-03-12 Matthias Urlichs <smurf@noris.de>
2795 * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
2796 * nscd/nscd_getpw_r.c: Fix length calculation in result check,
2797 null bytes are not transmitted.
2799 1998-03-12 00:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2801 * powerpc/syscalls.list: Correct typo.
2802 * alpha/syscalls.list: Likewise.
2803 * mips/syscalls.list: Likewise.
2805 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
2807 * socket/sys/socket.h: Add prototype for __socket.
2809 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
2811 * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
2813 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
2816 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
2818 * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
2821 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
2822 AF_* and PF_* constants.
2824 * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
2826 1998-03-11 15:27 Ulrich Drepper <drepper@cygnus.com>
2828 * elf/rtld.c: Update help message.
2829 Install link maps for preloaded objects using main_map as loader.
2831 * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
2832 * elf/dl-profile.c: Likewise.
2834 * elf/dlsym.c: Little optimization.
2835 * elf/dlvsym.c: Likewise.
2837 1998-03-11 14:56 Ulrich Drepper <drepper@cygnus.com>
2839 * posix/wordexp-test.c: Move test for parameter list at the very
2842 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
2844 * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
2845 WRDE_REUSE flag is set.
2846 (parse_param): Allow `*', `@', and numbers in parameter names.
2847 (parse_dollars): Differentiate between arithmetic expansion and a
2848 command substitution that starts immediately with a sub-shell
2849 (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
2850 (parse_param): Memory allocated with __alloca in a block was
2851 referenced outside that block. Adjusted to use malloc/free.
2852 (parse_param): Adjusted field-splitting algorithm so that there is
2853 not necessarily a field split at the end of a parameter expansion.
2855 1998-03-10 19:52 Tim Waugh <tim@cyberelk.demon.co.uk>
2857 * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
2858 don't free words that have already been allocated.
2859 (parse_param): A dollar sign on its own will never have a pattern
2860 associated with it (like "${HOME%%/}" has), so don't try to free it.
2861 (parse_glob): Attempt to glob when an unquoted `[' is found
2862 (rather than an unquoted '{' (!)). Also for unquoted '?'.
2863 (parse_glob): Sorted out quoting in a glob-able word.
2864 (parse_param): Added $* and $@ handling.
2866 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
2868 * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
2871 1998-03-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2873 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
2876 1998-03-12 Matthias Urlichs <smurf@noris.de>
2878 * elf/dl-misc.c: Default for debug output should be stderr.
2879 * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
2880 * elf/dl-lookup.c: reference_name may be NULL or empty.
2882 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2884 * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
2886 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
2888 * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
2890 * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
2892 1998-03-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2894 * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
2895 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
2897 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2899 * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
2902 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
2904 * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
2907 * misc/syslog.c (vsyslog): Don't try to send if not connected to
2909 (closelog_internal): Don't do anything if not connected.
2911 1998-03-10 17:54 Ulrich Drepper <drepper@cygnus.com>
2913 * libc.map: Add _dl_debug_message.
2914 * elf/dl-misc.c: Make _dl_debug_message a function. Print the PID
2916 * elf/fini.c: Correctly use new _dl_debug_message function.
2917 * elf/init.c: Likewise.
2918 * elf/dl-lookup.c: Likewise.
2919 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
2920 * elf/dl-load.c: Likewise. Add more debugging prints.
2921 * elf/dl-reloc.c: Likewise.
2922 * elf/dl-version.c: Likewise.
2923 * elf/dl-support.c: Add variables for debugging.
2924 * elf/rtld.c: Likewise. Recognize new debug options.
2925 * elf/link.h: Declare new variables.
2927 * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
2929 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
2931 * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
2932 kernel headers. Patch by a sun <asun@saul7.u.washington.edu>.
2934 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
2936 * posix/wordexp-test.c (command_line_test): New function to allow
2937 testing of specific cases from the command-line.
2939 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
2941 * elf/dl-init.c (_dl_init_next): Print nicer messages.
2942 * elf/dl-fini.c (_dl_fini): Likewise.
2943 * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
2945 * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
2946 symbol in debug message.
2947 (_dl_lookup_versioned_symbol_skip): Likewise.
2949 1998-03-10 19:43 Matthias Urlichs <urlichs@noris.de>
2951 * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
2952 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
2953 * manual/filesys/texi: Document this.
2955 1998-03-10 10:49 Ulrich Drepper <drepper@cygnus.com>
2957 * manual/filesys.texi: Document the change below.
2959 1998-03-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2961 * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
2962 Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
2964 1998-03-10 00:10 Ulrich Drepper <drepper@cygnus.com>
2966 * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
2967 instead scope. If debugging display information about symbol
2969 (_dl_lookup_symbol): Call do_lookup with correct parameters.
2970 (_dl_lookup_symbol_skip): Likewise.
2971 (_dl_lookup_versioned_symbol): Likewise.
2972 (_dl_lookup_versioned_symbol_skip): Likewise.
2973 * elf/dl-support.c: Define _dl_debug_symbols.
2974 * elf/link.h: Add declaration for _dl_debug_symbols.
2975 * elf/rtld.c: Define _dl_debug_symbols.
2976 (process_dl_debug): Recognize symbols option.
2978 1998-03-09 23:36 Ulrich Drepper <drepper@cygnus.com>
2980 * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
2982 * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
2983 with correct parameters.
2984 [!PIC]: Initialize __libc_multiple_libcs.
2986 1998-03-09 18:21 Ulrich Drepper <drepper@cygnus.com>
2988 * elf/dl-support.c (_dl_debug_bindings): Add definition.
2989 * elf/rtld.c (_dl_debug_bindings): Add definition.
2990 (process_dl_debug): Recognize bindings option. Update help message.
2991 * elf/link.h (struct link_map): Add l_versyms member.
2992 (_dl_debug_bindings): Add declaration.
2993 * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
2994 * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
2996 * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
2997 (sym_val): Remove a member, add m as link_map.
2998 (do_lookup): Return result appropriately.
2999 (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
3000 Call do_lookup correctly.
3001 (_dl_lookup_symbol_skip): Likewise.
3002 (_dl_lookup_versioned_symbol): Likewise.
3003 (_dl_lookup_versioned_symbol_skip): Likewise.
3005 1998-03-09 08:21 Ulrich Drepper <drepper@cygnus.com>
3007 * sysdeps/unix/sysv/linux/chown.c: Moved to ...
3008 * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
3010 * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
3011 * libc.map: Add chown to GLIBC_2.1.
3012 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
3013 * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
3015 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3017 * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
3019 * sysdeps/alpha/ffs.c: Likewise.
3020 * sysdeps/am29k/ffs.c: Likewise.
3021 * sysdeps/i386/ffs.c: Likewise.
3022 * sysdeps/i960/ffs.c: Likewise.
3023 * sysdeps/m68k/ffs.c: Likewise.
3024 * sysdeps/m88k/ffs.c: Likewise.
3025 * sysdeps/powerpc/ffs.c: Likewise.
3026 * sysdeps/rs6000/ffs.c: Likewise.
3027 * sysdeps/vax/ffs.s: Likewise.
3028 * string/string.h: Declare __ffs.
3029 * libc.map: Export it.
3030 * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
3031 __builtin_ffs, which is not guaranteed to be namespace clean.
3033 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3035 * elf/sprof.c: Rewrite symbol handling to use the normal symbol
3036 table, which is much more likely to exist than debugging symbols.
3037 (printsym): Remove const.
3038 (load_shobj): Don't use _dl_pagesize. Fix mapping of section
3041 * libc.map: Export __profile_frequency, used by elf/sprof, to
3042 avoid infinite recursion during startup.
3044 1998-03-09 12:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3046 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
3049 * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
3051 1998-03-09 Ulrich Drepper <drepper@cygnus.com>
3053 * elf/dl-support.c: Add definition of _dl_debug_impcalls.
3055 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
3057 * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
3058 LD_PRELOAD, and LD_VERBOSE.
3059 (dl_main): Use global variables set by process_envvars instead of
3061 * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
3062 LD_LIBRARY_PATH value, this comes with the parameter.
3063 * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
3064 ("LD_LIBRARY_PATH") to _dl_init_paths.
3066 1998-03-08 22:55 Ulrich Drepper <drepper@cygnus.com>
3068 * elf/rtld.c (dl_main): Delay initialization of path structure if
3069 the dynamically linker is invoked implicitly until we read the
3072 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
3074 * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
3076 1998-03-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3078 * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
3081 * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
3083 1998-03-08 14:58 Ulrich Drepper <drepper@cygnus.com>
3085 * Makeconfig (nisobjdir): Set to path to nis directory.
3086 (rpath-link): Add nisobjdir.
3087 Patch by Sven Verdoolaege <skimo@kotnet.org>.
3089 * elf/Makefile: Pretty print.
3090 * elf/dl-lookup.c: Include unistd.h.
3091 * elf/dl-runtime.c: Likewise.
3093 * localedata/Makefile (test-srcs): Add tst-rpmatch.
3094 (distribute): Add tst-rpmatch.sh.
3095 (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
3097 New tests for rpmatch function by
3098 Jochen Hein <jochen.hein@delphi.central.de>.
3099 * localedata/tst-rpmatch.c: New file.
3100 * localedata/tst-rpmatch.sh: New file.
3102 * localedata/locales/de_DE: Correct yesexpr and noexpr.
3103 * localedata/locales/de_AT: Likewise.
3105 * posix/getopt.c: Update contact address.
3106 * posix/getopt1.c: Pretty print.
3108 * sysdeps/generic/libc-start.c: Do most of the initialization now
3109 here instead of in start.S.
3110 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
3111 * sysdeps/i386/elf/start.S: Remove most of the initialization code.
3113 * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
3114 profil_counter to be public.
3116 1998-03-08 13:06 Tim Waugh <tim@cyberelk.demon.co.uk>
3118 * posix/wordexp.c (parse_arith): Now works for negative numbers too.
3119 (parse_param): Coded parameter length expansion (${#var}).
3120 (parse_param): Handling for "=", "+", "-", and the ":" versions added.
3121 (parse_param): Cleaned up (fixed) error handling.
3123 * posix/wordexp-test.c: IFS now includes non-whitespace character
3124 (comma). Added more tests.
3126 1998-03-07 Ulrich Drepper <drepper@cygnus.com>
3128 * elf/link.h: Fix typos.
3129 Reported by Andreas Jaeger.
3131 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
3132 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
3134 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
3136 * argp/argp-help.c: Remove last bits of using gettext instead of
3139 1998-03-06 17:04 Ulrich Drepper <drepper@cygnus.com>
3141 * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
3143 * csu/Makefile (routines): Add libc-start.
3144 * elf/dl-error.c: Remove declaration of _dl_argv. Include <unitsd.h>.
3145 * elf/dl-lookup.c: Likewise.
3146 * elf/dl-version.c: Likewise.
3147 * sysdeps/i386/dl-machine.h: Likewise.
3148 * elf/link.h: Declare _dl_argv, _dl_debug_fd.
3149 Declare _dl_sysdep_output. Make _dl_sysdep_fatal, _dl_sysdep_error and
3150 _dl_sysdep_message macros which use _dl_sysdep_output.
3151 * elf/dl-fini.c: Write out which destructor is called while debugging.
3152 * elf/dl-init.c: Likewise for constructor.
3153 * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
3154 * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
3155 _dl_sysdep_message. Add _dl_sysdep_output.
3156 * elf/rtld.c: Recognize LD_DEBUG_OUTPUT. Set _dl_debug_fd if
3157 this file can be opened.
3158 For LD_DEBUG=libs also set _dl_debug_impcalls.
3159 * sysdeps/generic/dl-cache.c: Include unistd.h.
3160 * sysdeps/generic/libc-start.c: New file.
3161 * sysdeps/unix/sysv/linux/libc-start.c: New file.
3162 * sysdeps/i386/elf/start.S: Don't call main directly, call
3163 __libc_start_main instead.
3165 * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
3167 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
3169 * nss/nsswitch.c (__nss_nscd_not_available): Removed.
3171 1998-03-06 12:42 Ulrich Drepper <drepper@cygnus.com>
3173 * argp/argp.h (struct argp): Add new field domain.
3174 * argp/argp-help.c: Change all gettext calls to dgettext and use
3175 domain field from appropriate argp in call.
3176 * argp/argp-parse.c: Likewise.
3178 1998-03-06 11:35 Ulrich Drepper <drepper@cygnus.com>
3180 * posix/wordexp-test.c: Change testsuite so that it can run even
3183 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3185 * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
3187 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3189 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3190 Don't store into global errno if we already store through
3192 * sysdeps/unix/i386/sysdep.S: Likewise.
3193 * sysdeps/unix/alpha/sysdep.S: Likewise.
3194 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3195 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3196 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. Add
3197 missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
3200 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3202 * sysdeps/generic/sysdep.h (L): Remove definition.
3203 * sysdeps/i386/sysdep.h (L): Define it here instead.
3205 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3207 * nis/nis_call.c (__do_niscall): Safe and reset errno.
3209 * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
3211 1998-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3213 * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
3214 declaration style to avoid warnings.
3216 1998-03-06 11:48 Mark M._Kettenis <kettenis@hall.phys.uva.nl>
3218 * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
3221 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
3223 * posix/Makefile (tests): Add wordexp-test.
3224 * posix/wordexp-test.c: New file. Testsuite for wrodexp.
3225 Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
3227 1998-03-05 16:04 Ulrich Drepper <drepper@cygnus.com>
3229 * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
3232 * elf/link.h (struct r_search_path_elem): Add two new field for
3234 * elf/rtld.c: Recognize LD_DEBUG environment variable and set
3235 variable accordingly.
3236 * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
3237 is considered next along with information about load paths.
3238 * sysdeps/generic/dl-cache.c: Likewise.
3239 * elf/dl-support.c: Define _dl_debug_libs.
3240 * elf/genrtldtbl.awk: Add initializers for two new field in
3241 struct r_search_path_elem.
3243 1998-03-06 10:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3245 * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
3246 * sysdeps/m68k/lshift.S: Likewise.
3247 * sysdeps/m68k/rshift.S: Likewise.
3248 * sysdeps/m68k/sub_n.S: Likewise.
3249 * sysdeps/m68k/m68020/addmul_1.S: Likewise.
3250 * sysdeps/m68k/m68020/mul_1.S: Likewise.
3251 * sysdeps/m68k/m68020/submul_1.S: Likewise.
3253 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
3254 [_LIBC_REENTRANT]: Don't store into global errno.
3256 * sysdeps/m68k/sysdep.h: New file.
3257 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it. Use the macros
3258 ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
3259 (DO_CALL): Change to expect syscall name as argument.
3260 (PSEUDO): Pass syscall_name to DO_CALL.
3261 (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
3264 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
3266 * elf/rtld.c: Speed up processing of environment variables. Do
3267 only one run on the environment by avoiding to call getenv.
3268 * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
3269 function. Used by patch above.
3271 1998-03-05 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3273 * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
3275 * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
3276 * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
3277 * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
3279 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
3281 * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
3282 module cannot be found. Reported by Andreas Jaeger.
3284 1998-03-05 11:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3286 * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
3287 on platforms which default to unsigned chars.
3288 * nscd/nscd_getpw_r.c: Likewise.
3289 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
3292 1998-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3294 * elf/Makefile (install-bin): Change = to += for sprof to install
3297 1998-03-04 16:12 H.J. Lu <hjl@gnu.org>
3299 * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
3301 1998-03-04 16:19 Ulrich Drepper <drepper@cygnus.com>
3303 * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
3305 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3307 * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
3308 that a failure to connect to nscd doesn't change errno.
3310 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3312 * manual/maint.texi (Reporting Bugs): Change
3313 bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
3315 * locale/iso-4217.def: Likewise
3317 1998-03-04 12:43 Ulrich Drepper <drepper@cygnus.com>
3319 * manual/texinfo.tex: Updated.
3321 1998-03-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3323 * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
3325 * sysdeps/posix/pathconf.c: Likewise.
3326 * posix/getconf.c: Print `undefined' if pathconf returns -1
3327 without setting errno.
3329 1998-03-04 Ulrich Drepper <drepper@cygnus.com>
3331 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
3333 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
3334 Patches by Elliot Lee <sopwith@cuc.edu>.
3336 1998-03-04 09:43 Ulrich Drepper <drepper@cygnus.com>
3338 * elf/link.h (struct link_map): Add new field l_reloc_result.
3339 * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
3340 of relocation for the object to be profiled.
3341 * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
3343 * elf/rtld.c (_dl_start): Add comment that we must not allocate an
3345 * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
3346 contains a result from a previous run use this instead of computing
3348 * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
3350 1998-03-04 11:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3352 * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
3353 offsets into the GOT.
3354 (RTLD_START): Likewise.
3356 1998-03-03 17:55 Ulrich Drepper <drepper@cygnus.com>
3358 * elf/sprof.c: Cleanup a bit.
3360 1998-03-03 08:01 H.J. Lu <hjl@gnu.org>
3362 * sysdeps/generic/sysdep.h (L): New. Define.
3364 * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
3366 * sysdeps/i386/i586/addmul_1.S: Fix a typo.
3368 * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
3369 to have only one exit point for functions.
3370 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3371 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
3372 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
3373 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3374 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3376 1998-03-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3378 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
3379 reset errno so that errno isn't set to ENOSYS in the first call.
3380 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
3381 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3382 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
3383 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
3385 1998-03-02 17:55 Ulrich Drepper <drepper@cygnus.com>
3387 * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
3388 * sysdeps/i386/addmul_1.S: Likewise.
3389 * sysdeps/i386/lshift.S: Likewise.
3390 * sysdeps/i386/mul_1.S: Likewise.
3391 * sysdeps/i386/rshift.S: Likewise.
3392 * sysdeps/i386/sub_n.S: Likewise.
3393 * sysdeps/i386/submul_1.S: Likewise.
3394 * sysdeps/i386/i586/add_n.S: Likewise.
3395 * sysdeps/i386/i586/addmul_1.S: Likewise.
3396 * sysdeps/i386/i586/lshift.S: Likewise.
3397 * sysdeps/i386/i586/mul_1.S: Likewise.
3398 * sysdeps/i386/i586/rshift.S: Likewise.
3399 * sysdeps/i386/i586/sub_n.S: Likewise.
3400 * sysdeps/i386/i586/submul_1.S: Likewise.
3402 * sysdeps/i386/sysdep.h: Extend last change.
3404 * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
3405 to have only one exit point for functions.
3407 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
3409 * configure.in: Fix msgfmt test. Fix handling of //s in sysdeps
3412 1998-03-02 13:28 Ulrich Drepper <drepper@cygnus.com>
3414 * Makerules: Generate libc.so with absolute paths for the used
3417 * config.make.in: Add MAKEINFO definition.
3419 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
3421 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
3422 (ENTRY): Use STABS_FUN.
3423 (END): Use STABS_FUN_END.
3424 (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
3426 * elf/Makefile: Add rules to build sprof program.
3427 * elf/sprof.c: New file.
3429 1998-02-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3431 * misc/syslog.c (openlog_internal): Insert missing closing brace.
3433 1998-02-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3435 * configure.in: Check for working msgfmt version (from GNU gettext
3438 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
3440 * configure.in: Avoid //s in sysdirs.
3441 Patch by Roland McGrath.
3443 * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
3445 1998-03-02 07:17 H.J. Lu <hjl@gnu.org>
3447 * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
3448 setting _dl_global_scope for RTLD_GLOBAL.
3450 1998-02-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3452 * sysdeps/unix/make-syscalls.sh: Fix last change so that all
3453 possible lists of object-suffixes are taken care of.
3455 1998-03-02 10:16 Ulrich Drepper <drepper@cygnus.com>
3457 * timezone/private.h: Update from tzcode1998c.
3458 * timezone/zic.c: Likewise.
3459 * timezone/antarctica: Updated from tzdata1998c.
3460 * timezone/asia: Likewise.
3461 * timezone/australasia: Likewise.
3462 * timezone/europe: Likewise.
3463 * timezone/southamerica: Likewise.
3465 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
3467 * posix/glob.c (glob_in_dir): Add support for cases insensitive
3468 VMS. Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
3470 1998-03-01 19:05 H.J. Lu (hjl@gnu.org)
3472 * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
3473 Changed type of TWO43, TWO52 from float to double.
3474 * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
3475 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
3476 Changed type of TWO43 from float to double.
3477 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
3480 1998-03-01 18:52 H.J. Lu (hjl@gnu.org)
3482 * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
3483 osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
3484 osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
3486 1998-03-01 09:11 Richard Henderson <rth@cygnus.com>
3488 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
3490 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
3491 Clean up random whitespace.
3492 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
3493 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
3494 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
3495 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
3497 1998-03-01 08:31 Richard Henderson <rth@cygnus.com>
3499 * shlib-versions: Match alpha*.
3500 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
3501 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
3503 * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
3504 Implement copysign* with and without __ prefix.
3505 Likewise for fabs; use builtin for gcc 2.8.
3509 * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
3510 (R_SPARC*): Match current v9 ABI.
3512 * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
3514 * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
3515 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3516 * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
3517 * sysdeps/generic/getresgid.c: Use prototype form because of warning.
3518 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3519 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
3520 * sysdeps/unix/grantpt.c (argv): Fix consts.
3521 * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
3522 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3524 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
3526 * misc/syslog.c: Change to allow user the interpretation of the
3527 outcome even with syslog having no return value.
3529 1998-02-05 20:41 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
3531 * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
3532 that the number of program headers is >0 (which is wrong for the
3535 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
3537 * Makefile (distribute): Add README.libm.
3539 1998-02-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3541 * time/clocktest.c (main): Correct typo: "--" -> "==".
3543 1998-02-25 20:53 H.J. Lu <hjl@gnu.org>
3545 * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
3547 (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
3550 * math/libm.map (__atan2): Added.
3552 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
3554 * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
3555 Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
3557 * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
3560 1998-02-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3562 * manual/arith.texi (Old-style number conversion): Correct
3563 typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
3565 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
3567 * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
3568 but does not require it. Handle missing argv[] values gracefully.
3569 * posix/execl.c: Likewise.
3570 * posix/execle.c: Likewise.
3572 1998-02-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3574 * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
3576 * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
3578 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
3580 * libc.map: Add __adjtimex.
3582 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3584 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
3587 1998-02-24 08:10 H.J. Lu <hjl@gnu.org>
3589 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
3592 * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
3594 * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
3595 * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
3597 * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
3600 * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
3602 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
3603 Added adjtimex and old_adjtimex.
3605 * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):