]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
05ef7ce9
UD
11999-11-02 Andreas Jaeger <aj@suse.de>
2
3 * Versions.def: Add version GLIBC_2.2 for libm.
4 * math/fenv.h: Add prototypes for fegetexcept, feenableexcept and
5 fedisableexcept.
6 * sysdeps/generic/feenablxcpt.c: Stub file.
7 * sysdeps/generic/fedisblxcpt.c: Stub file.
8 * sysdeps/generic/fegetexcept.c: Stub file.
9 * sysdeps/i386/fpu/fedisblxcpt.c: New file.
10 * sysdeps/i386/fpu/feenablxcpt.c: New file.
11 * sysdeps/i386/fpu/fegetexcept.c: New file.
12 * math/Makefile (libm-support): Add new files.
13 * math/Versions: Add new functions with version GLIBC_2.2.
14 * manual/arith.texi (Control Functions): Document fegetexcept,
15 feenableexcept and fedisableexcept.
16
b2f46c3c
UD
171999-11-01 Wolfram Gloger <wg@malloc.de>
18
19 * malloc/malloc.h: Describe __malloc_initialize_hook.
20 * manual/memory.texi: Document __malloc_initialize_hook.
21
e78c8e4c
UD
221999-11-11 Ulrich Drepper <drepper@cygnus.com>
23
b2f46c3c 24 * sysdeps/unix/sysv/linux/setrlimit.c: Correctly use rlimits.
e78c8e4c
UD
25
261999-11-09 Andreas Jaeger <aj@suse.de>
27
28 * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
29 implementation for ttyname_r call; fix inverted condition; return
30 ut_user.
31 Closes PR libc/1438.
32
7ad6d73d
UD
331999-11-10 Ulrich Drepper <drepper@cygnus.com>
34
35 * math/fenv.h: Include bits/fenvinline.h if optimizing.
36 * sysdeps/powerpc/fpu/bits/fenv.h: Remove inline functions. Moved to..
37 * sysdeps/powerpc/fpu/bits/fenvinline.h: ...here. New file.
38 * sysdeps/generic/bits/fenv.h: New file.
39
1fc6f813
UD
401999-11-10 Ulrich Drepper <drepper@cygnus.com>
41
42 * misc/tst-efgcvt.c (output_r_error): Remove extra parameter to
43 printf call.
44
c9e17a9c
UD
451999-11-10 Andreas Jaeger <aj@suse.de>
46
47 * misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r.
48
b9d3d9f7
UD
491999-11-10 Andreas Jaeger <aj@suse.de>
50
51 * string/strsignal.c (strsignal): Correct check for snprintf
52 return value.
53 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
54
55 * misc/efgcvt_r.c (APPEND): Correct check for too small buffer
56 according to changed snprintf return value.
57 Reported by Lawrence K. Chen <lchen@opentext.com>.
58
59 * misc/tst-efgcvt.c (special): Add tests for a too small buffer
60 for ecvt_r and fcvt_r.
61
2864e767
UD
621999-11-09 Ulrich Drepper <drepper@cygnus.com>
63
64 * elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to
65 directory with the reference since this is as secure as using the
66 object with the dependency.
67 (_dl_dst_substitute): Likewise.
68
69 * elf/dl-load.c (_dl_dst_count): Change strings in first two
70 strncmp calls to allow reuse.
71 (_dl_dst_substitute): Likewise.
72
731999-11-01 Arnold D. Robbins <arnold@skeeve.com>
74
75 * posix/regex.c (init_syntax_once): move below definition of
76 ISALNUM etc., then use ISALNUM to init the table, so that
77 the word ops will work if i18n'ed.
78 (SYNTAX): And subscript with 0xFF for 8bit character sets.
79
801999-11-09 Andreas Jaeger <aj@suse.de>
81
82 * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
83 implementation for ttyname_r call; fix inverted condition; return
84 ut_user. Closes PR libc/1438.
85
861999-11-09 Ulrich Drepper <drepper@cygnus.com>
87
88 * timezone/checktab.awk: Update from tzcode1999h.
89 * timezone/africa: Update from tzdata1999i.
90 * timezone/asia: Likewise.
91 * timezone/australasia: Likewise.
92 * timezone/backward: Likewise.
93 * timezone/europe: Likewise.
94 * timezone/northamerica: Likewise.
95 * timezone/southamerica: Likewise.
96 * timezone/iso3166.tab: Likewise.
97 * timezone/zone.tab: Likewise.
98
99 * sysdeps/unix/sysv/linux/bits/resource.h: Define values also as
100 macros. Patch by brg@csua.berkeley.edu [PR libc/1439].
101
1021999-11-09 Andreas Jaeger <aj@suse.de>
103
104 * posix/Makefile (tests): Added tst-getlogin.
105
106 * posix/tst-getlogin.c: New file, contains simple tests for
107 getlogin and getlogin_r.
108
1091999-11-09 Andreas Schwab <schwab@suse.de>
110
111 * misc/syslog.c: For LOG_PERROR only append a newline if
112 necessary.
113
f2b9733f
UD
1141999-11-08 Ulrich Drepper <drepper@cygnus.com>
115
116 * elf/elf.h: Add STT_REGISTER, STT_HP_OPAQUE, and STT_ST_STUB
117 definitions.
118
727211c4
UD
1191999-11-08 Andreas Jaeger <aj@suse.de>
120
121 * locale/findlocale.c (_nl_find_locale): Free normalized_codeset;
122 this fixes a memory leak (closes PR libc/1435).
123
124 * intl/l10nflist.c (_nl_normalize_codeset): Update comment to
125 reflect memory allocation.
126
127 * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory
128 allocation in _nl_explode_name.
129
1301999-11-06 Andreas Jaeger <aj@suse.de>
131
132 * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock
133 to initialize it.
134 Reported by wes@surety.com, closes PR libc/1432.
135
1361999-11-05 Geoff Keating <geoffk@cygnus.com>
137
138 * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of
139 enumerator lists (-pedantic complains).
140 (feraiseexcept): Use i#*X as the constraint. Fix a bug in the
141 test for 'one bit set'.
142 (feclearexcept): Likewise.
143
a9c27b3e
UD
1441999-11-05 Ulrich Drepper <drepper@cygnus.com>
145
36e7206e
UD
146 * sysdeps/unix/sysv/linux/setrlimit.c: New file.
147
a9c27b3e
UD
148 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust
149 for kernel changes.
150 * sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make
151 unsigned.
152
36e7206e 1531999-10-04 Tim Waugh <twaugh@redhat.com>
a9c27b3e
UD
154
155 * posix/wordexp-test.c: More tests.
156
157 * posix/wordexp.c (wordexp): Explicit null words should be kept.
158
1591999-11-04 Shinya Hanataka <hanataka@abyss.rim.or.jp>
160
161 * locale/programs/linereader.c (get_string): Correct type of buf2
162 variable.
163 * locale/programs/ld-ctype.c (ctype_output): Store index correctly
164 for _NL_CTYPE_INDIGITS_MB_LEN, _NL_CTYPE_INDIGITS_WC_LEN,
165 _NL_CTYPE_INDIGITS*_MB, _NL_CTYPE_OUTDIGIT*_MB, and
166 _NL_CTYPE_OUTDIGIT*_WC.
167 (allocate_arrays): Completely initialize mapping tables.
168 * locale/programs/ld-time.c (time_startup): We need the wide car
169 string.
170 (time_finish): Correct handling of era.
171 (time_output): Fix a few array indeces.
172 (time_read): Pass the repertoire map to lr_token.
173
9532eb67
UD
1741999-11-03 Ulrich Drepper <drepper@cygnus.com>
175
176 * Versions.def: Add version for libthread_db.
177
dbd3e862
UD
1781999-11-02 Andreas Jaeger <aj@suse.de>
179
180 * manual/header.texi (Library Summary): The command @indexfonts
181 doesn't exist anymore, use @smallfonts instead.
182
a9cb398f
UD
1831999-11-02 Ulrich Drepper <drepper@cygnus.com>
184
185 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h
186 instead of duplicating definitions.
187
03fc7ab6
UD
1881999-11-01 Ulrich Drepper <drepper@cygnus.com>
189
190 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used
191 by the debugger.
192 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
193 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise.
194 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
195 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
196 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
197
3b82ab1c
UD
1981999-11-01 Ulrich Drepper <drepper@cygnus.com>
199
bebb184e
UD
200 * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25.
201
ecda4bda
UD
202 * sysdeps/unix/sysv/linux/kernel-features.h
203 (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition.
976780fd
UD
204 * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file.
205
3b82ab1c
UD
206 * manual/texinfo.tex: Updated.
207
2d52e869
UD
2081999-11-01 Andreas Jaeger <aj@suse.de>
209
210 * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility.
211
212 * inet/gethstbynm2_r.c: Reorder addresses.
213
ea1bfb07
UD
2141999-09-11 Paul Eggert <eggert@twinsun.com>
215
216 * posix/glob.h (glob): If #defining to glob64, do this before
217 declaring it, so that all declarations and uses match, and do not
218 declare glob64, to avoid a declaration clash.
219 (globfree): Likewise with globfree64.
220
2211999-09-08 Eli Zaretskii <eliz@is.elta.co.il>
222
223 * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]:
224 Keep the trailing slash unless DIRNAME is just "x:/".
225
56bd5855
UD
2261999-10-11 Andreas Jaeger <aj@suse.de>
227
228 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added.
229 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
230 Closes PR libc/1384.
231
882ed1be
UD
2321999-10-20 Andreas Schwab <schwab@suse.de>
233
234 * math/Makefile (libm-tests-generated): Remove libm-test.stmp.
235 (generated): Add it here.
236 (before-compile): Add libm-test.c.
237 ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on
238 libm-test.stmp.
239 ($(objpfx)libm-test.stmp): Use $(objpfx) instead of
240 $(objdir)/math/.
241
63ae7b63
UD
2421999-10-31 Ulrich Drepper <drepper@cygnus.com>
243
1830a0d5
UD
244 * Makefile (pdf): New goal.
245 * manual/Makefile: Add definitions and rules for PDF generation.
246
63ae7b63
UD
247 * Versions.def (libm): Add GLIBC_2.1.3.
248
249 ISO C99 TR1 changes various fe* functions to return an error value.
250 * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag,
251 feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv.
252 * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias.
253 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
254 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
255 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
256 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
257 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
258 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
259 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
260 * sysdeps/arm/fpu/fegetenv.c: Likewise.
261 * sysdeps/arm/fpu/fesetenv.c: Likewise.
262 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
263 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
264 * sysdeps/generic/fclrexcpt.c: Likewise.
265 * sysdeps/generic/fegetenv.c: Likewise.
266 * sysdeps/generic/fesetenv.c: Likewise.
267 * sysdeps/generic/feupdateenv.c: Likewise.
268 * sysdeps/generic/fgetexcptflg.c: Likewise.
269 * sysdeps/generic/fraiseexcpt.c: Likewise.
270 * sysdeps/generic/fsetexcptflg.c: Likewise.
271 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
272 * sysdeps/i386/fpu/fegetenv.c: Likewise.
273 * sysdeps/i386/fpu/fesetenv.c: Likewise.
274 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
275 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
276 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
277 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
278 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
279 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
280 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
281 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
282 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
283 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
284 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
285 * sysdeps/mips/fclrexcpt.c: Likewise.
286 * sysdeps/mips/fegetenv.c: Likewise.
287 * sysdeps/mips/fesetenv.c: Likewise.
288 * sysdeps/mips/feupdateenv.c: Likewise.
289 * sysdeps/mips/fgetexcptflg.c: Likewise.
290 * sysdeps/powerpc/fclrexcpt.c: Likewise.
291 * sysdeps/powerpc/fegetenv.c: Likewise.
292 * sysdeps/powerpc/fesetenv.c: Likewise.
293 * sysdeps/powerpc/feupdateenv.c: Likewise.
294 * sysdeps/powerpc/fgetexcptflg.c: Likewise.
295 * sysdeps/powerpc/fraiseexcpt.c: Likewise.
296 * sysdeps/powerpc/fsetexcptflg.c: Likewise.
297 * sysdeps/sparc/fpu/fclrexcpt.c: Likewise.
298 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
299 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
300 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
301 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
302 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
303 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
304 * math/fenv.h: Adjust prototypes.: Likewise.
305 * manual/arith.texi: Adjust documentation for these changes.
306
307 * manual/arith.texi: Document feraiseexcept.
308
309 * sysdeps/powerpc/fegetenv.c: Moved to...
310 * sysdeps/powerpc/fpu/fegetenv.c: ...here.
311 * sysdeps/powerpc/fegetround.c: Moved to...
312 * sysdeps/powerpc/fpu/fegetround.c: ...here.
313 * sysdeps/powerpc/feholdexcpt.c: Moved to...
314 * sysdeps/powerpc/fpu/feholdexcpt.c: ...here.
315 * sysdeps/powerpc/fesetenv.c: Moved to...
316 * sysdeps/powerpc/fpu/fesetenv.c: ...here.
317 * sysdeps/powerpc/fenv_libc.h: Moved to...
318 * sysdeps/powerpc/fpu/fenv_libc.h: ...here.
319 * sysdeps/powerpc/feupdateenv.c: Moved to...
320 * sysdeps/powerpc/fpu/feupdateenv.c: ...here.
321 * sysdeps/powerpc/fgetexcptflg.c: Moved to...
322 * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here.
323 * sysdeps/powerpc/fraiseexcpt.c: Moved to...
324 * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here.
325 * sysdeps/powerpc/fsetexcptflg.c: Moved to...
326 * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here.
327 * sysdeps/powerpc/ftestexcept.c: Moved to...
328 * sysdeps/powerpc/fpu/ftestexcept.c: ...here.
329 * sysdeps/powerpc/fesetround.c: Moved to...
330 * sysdeps/powerpc/fpu/fesetround.c: ...here
331 * sysdeps/powerpc/fenv_const.c: Moved to...
332 * sysdeps/powerpc/fpu/fenv_const.c: ...here.
333
7210de33
UD
334 * sysdeps/mips/fclrexcpt.c: Moved to...
335 * sysdeps/mips/fpu/fclrexcpt.c: ...here.
336 * sysdeps/mips/fegetenv.c: Moved to...
337 * sysdeps/mips/fpu/fegetenv.c: ...here.
338 * sysdeps/mips/fegetround.c: Moved to...
339 * sysdeps/mips/fpu/fegetround.c: ...here.
340 * sysdeps/mips/fesetenv.c: Moved to...
341 * sysdeps/mips/fpu/fesetenv.c: ...here.
342 * sysdeps/mips/fesetround.c: Moved to...
343 * sysdeps/mips/fpu/fesetround.c: ...here.
344 * sysdeps/mips/feupdateenv.c: Moved to...
345 * sysdeps/mips/fpu/feupdateenv.c: ...here.
346 * sysdeps/mips/fgetexcptflg.c: Moved to...
347 * sysdeps/mips/fpu/fgetexcptflg.c: ...here.
348 * sysdeps/mips/ftestexcept.c: Moved to...
349 * sysdeps/mips/fpu/ftestexcept.c: ...here.
350
63ae7b63
UD
3511999-10-29 Jakub Jelinek <jakub@redhat.com>
352
353 * stdlib/longlong.h: Avoid UDIV_TIME redefinition.
354 * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus
355 libraries from statically linked programs.
356 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309
357 fix for sigaction on SPARC.
358 Patches by David S. Miller <davem@redhat.com>.
359
360 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare
361 gregset_t and other required structures and defines for SPARC 64bit
362 ABI as well, not only 32bit ABI.
363
3641999-10-31 Andreas Jaeger <aj@suse.de>
365
366 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X
367 by __USE_ISOC99 and update comments.
368
369 * math/complex.h: Update comments for ISO C99.
370 * math/fenv.h: Likewise.
371 * math/test-fenv.c: Likewise.
372 * math/tgmath.h: Likewise.
373 * libio/stdio.h: Likewise.
374 * posix/sys/types.h: Likewise.
375 * sysdeps/generic/inttypes.h: Likewise.
376 * sysdeps/generic/stdint.h: Likewise.
377
ec751a23
UD
3781999-10-31 Ulrich Drepper <drepper@cygnus.com>
379
b4cbd371
UD
380 * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE.
381
ec751a23
UD
382 * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also
383 recognize _ISOC99_SOURCE.
384 * libio/stdio.h: Likewise.
385 * math/math.h: Likewise.
386 * math/bits/mathcalls.h: Likewise.
387 * math/stdio.h: Likewise.
388 * stdlib/stdlib.h: Likewise.
389 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
390 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
391 * sysdeps/arm/bits/huge_val.h: Likewise.
392 * sysdeps/generic/bits/mathdef.h: Likewise.
393 * sysdeps/i386/bits/huge_val.h: Likewise.
394 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
395 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
396 * sysdeps/ieee754/bits/huge_val.h: Likewise.
397 * sysdeps/m68k/bits/huge_val.h: Likewise.
398 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
399 * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
400 * sysdeps/powerpc/bits/mathdef.h: Likewise.
401 * sysdeps/powerpc/bits/mathinline.h: Likewise.
402 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
403 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
404 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
405 * wcsmbs/wchar.h: Likewise.
406
407 * sysdeps/powerpc/bits/mathdef.h: Moved to...
408 * sysdeps/powerpc/fpu/bits/mathdef.h: ...here.
409 * sysdeps/powerpc/bits/mathinline.h: Moved to...
410 * sysdeps/powerpc/fpu/bits/mathinline.h: ...here.
592d2832
UD
411 * sysdeps/powerpc/bits/fenv.h: Moved to...
412 * sysdeps/powerpc/fpu/bits/fenv.h: ...here.
ec751a23
UD
413
4141999-10-31 Andreas Jaeger <aj@suse.de>
415
416 * manual/math.texi (Errors in Math Functions): Correct TeX code.
417
4181999-10-31 Andreas Jaeger <aj@suse.de>
419
420 * math/libm-test.inc: Change comments to use ISO C99 instead of
421 ISO C9x.
422 * math/w_lgamma.c: Likewise.
423 * math/w_lgammaf.c: Likewise.
424 * math/w_lgammal.c: Likewise.
425 * math/test-fenv.c: Likewise.
426 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
427 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
428 * sysdeps/generic/printf_fphex.c: Likewise.
429
4301999-10-31 Andreas Jaeger <aj@suse.de>
431
432 * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment.
433
434 * manual/math.texi: Change ISO C9x to ISO C99.
435 * manual/startup.texi: Likewise.
436 * manual/stdio.texi: Likewise.
437
4381999-10-31 Andreas Jaeger <aj@suse.de>
439
440 * manual/arith.texi: Change ISO C9x to ISO C99.
441 * manual/time.texi (Low-Level Time String Parsing): Likewise.
442
0c34b1e9
UD
4431999-10-30 Ulrich Drepper <drepper@cygnus.com>
444
8adcb4a8
UD
445 * socket/Makefile (distribute): Add ifreq.h.
446
0c34b1e9
UD
447 * manual/time.texi (Formatting Date and Time): Revise comments about
448 origins of the formats with ISO C99 references.
449
4501999-10-30 Andreas Jaeger <aj@suse.de>
451
452 * sysdeps/unix/sysv/linux/ifreq.h: New file.
453
4541999-10-29 Andreas Jaeger <aj@suse.de>
455
456 * manual/arith.texi (Parsing of Floats): Document the hexadecimal
457 input format; mention that strtof and strtold are part of ISO C99.
458
c603b15b
UD
4591999-10-29 Ulrich Drepper <drepper@cygnus.com>
460
aaa1276e
UD
461 * manual/math.texi (Errors in Math Functions): New section.
462 * math/libm-err-tab.pl: Moved to...
463 * manual/libm-err-tab.pl: ...here.
464 * manual/Makefile: Add rules for math function error table generation.
465
2aa562e8
UD
466 * stdlib/tst-strtod.c: Add more hexadecimal tests.
467
c603b15b 468 * stdlib/strtod.c: Handle hexadecimal numbers with leading digit
6491b809 469 != 1 correctly and more than one digit before decimal point..
c603b15b 470
f720d3d2
UD
4711999-10-27 Andreas Jaeger <aj@suse.de>
472
473 * sysdeps/generic/ifreq.h: New file.
474
475 * resolv/res_hconf.c: Add missing includes to get all prototypes.
476 (_res_hconf_reorder_addrs): Rewrite. This never worked before.
477 Reported by John DiMarco <jdd@cs.toronto.edu>.
478
479 (_res_hconf_reorder_addrs): Made thread safe.
480 (free_mem): New function, needed for malloc debugging.
481
4821999-10-29 Andreas Jaeger <aj@suse.de>
483
484 * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ...
485 * sysdeps/generic/opensock.c (__opensock): ...here in a new file.
486 * sysdeps/unix/sysv/linux/if_index.c: Change all callers of
487 opensock to use __opensock.
488
489 * socket/Makefile (routines): Add opensock.
490
491 * include/sys/socket.h (__opensock): Add prototype declaration.
492
26d63253
UD
4931999-10-29 Andreas Jaeger <aj@suse.de>
494
495 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing
496 N_* constants.
497 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
498
499 * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added
500 new constant from Linux 2.3.25pre1.
501
502 * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added.
503
cd33623e
UD
5041999-10-29 Andreas Jaeger <aj@suse.de>
505
07221bc3 506 * math/libm-err-tab.pl: New file to generate a table of
cd33623e
UD
507 libm-test-ulps values.
508
5091999-10-29 Ulrich Drepper <drepper@cygnus.com>
510
511 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file.
512 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect
513 struct sigcontext* object as second parameter for profil_counter.
514 Patches by Jakub Jelinek <jakub@redhat.com>.
515
5161999-10-29 Andreas Jaeger <aj@suse.de>
517
518 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs.
519 * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
520
521 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts,
522 efs, qnx4 and reiser file systems.
523
5241999-10-29 Andreas Jaeger <aj@suse.de>
525
526 * locale/Makefile (others): Set to localedef and locale for make
527 clean.
528
529 * debug/Makefile (generated): Add xtrace for make clean to work.
530
5311999-10-29 Andreas Jaeger <aj@suse.de>
532
533 * stdlib/tst-strtod.c: Add two testcases for hexadecimal input.
534
5351999-10-25 Andreas Jaeger <aj@suse.de>
536
537 * math/libm-test.inc: Added code to ignore the given max ulps.
538 (print_max_error): Check for ignore_max_ulp.
539 (check_float_internal): Likewise.
540 (parse_opt): Parse --ignore-max-ulp.
541 (main): Initialize ignore_max_ulp.
542
061d137b
UD
5431999-10-26 Andreas Jaeger <aj@suse.de>
544
545 * stdlib/msort.c: Include <alloca.h> for prototype.
546 Remove K&R compatibility and _quicksort prototype.
547
548 * stdlib/qsort.c: Make code and comments 64 bit clean; clarify
549 some comments.
fd7d5da8 550 Reported by Bernd Loechner <loechner@informatik.uni-kl.de>.
061d137b
UD
551 Remove K&R compatibility.
552 Move prototype declaration to include/stdlib.h.
553 Include <alloca.h> for prototype; include <limits.h> for CHAR_BIT.
554
555 * include/stdlib.h: Prototype declaration for _quicksort.
556
253d0b23
UD
5571999-10-27 Andreas Jaeger <aj@suse.de>
558
559 * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was
560 shifted a bit too much.
561 Reported by Eugen Dedu <dedu@ese-metz.fr>.
562
86cfe82d
UD
5631999-10-25 Ulrich Drepper <drepper@cygnus.com>
564
31a13ab3 565 * resolv/gethnamaddr.c: Account bytes needed for alignment in
79b3c4ff 566 buflen. Patch by Olaf Kirch <okir@lst.de>.
31a13ab3 567
654de60c
UD
568 * md5-crypt/md5test.c: Correct names of MD5 functions after
569 removing of public names.
570
86cfe82d
UD
571 * configure.in: Don't allow --enable-kernel without parameter.
572
76b47e64
UD
5731999-10-25 Ulrich Drepper <drepper@cygnus.com>
574
575 * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0
576 problems.
577
a9b5d2ee
UD
5781999-10-25 Thorsten Kukuk <kukuk@suse.de>
579
76b47e64
UD
580 * md5-crypt/md5.h: Remove prototypes for public interface. md5 is
581 only used internally.
a9b5d2ee
UD
582 * md5-crypt/md5-crypt.c: Use internal names for md5 functions,
583 remove weak alias for public names.
584 * md5-crypt/md5.c: Remove weak aliase.
585
5861999-10-25 Andreas Jaeger <aj@suse.de>
587
588 * math/README.libm-test: New file, documents libm-test.inc.
589
5901999-10-25 Andreas Jaeger <aj@suse.de>
591
592 * math/gen-libm-test.pl: Only generate a new ulps file when -n is
593 given.
594 (print_ulps_file): Fix loops to not read @tests and @functions
595 since those are not initialized with -n now.
596 (parse_ulps): Set $results{..}{"kind"}.
597
3a8e65a0
UD
5981999-10-25 Andreas Jaeger <aj@suse.de>
599
600 * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.
601
602 * math/libm-test.inc (check_float_internal): Don't print ulps for
603 wrong sign of zero.
604
fc4de705
UD
6051999-10-20 Andreas Jaeger <aj@suse.de>
606
607 * manual/socket.texi (Address Formats): Describe usage of AF_UNIX
608 versus AF_LOCAL.
609 Patch by Robert Bihlmeyer <robbe@orcus.priv.at>.
610
15daa639
UD
6111999-10-24 Ulrich Drepper <drepper@cygnus.com>
612
613 * math/libm-test.inc: Disable some boundary case tests for inline
614 function testing.
615
616 * math/math.h: Pretty printing.
617
618 * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN.
619 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
620 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
621 * sysdeps/i386/fpu/e_log10.S: Likewise.
622 * sysdeps/i386/fpu/e_log10f.S: Likewise.
623 * sysdeps/i386/fpu/e_log10l.S: Likewise.
624 * sysdeps/i386/fpu/s_log1p.S: Likewise.
625 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
626 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
627 * sysdeps/i386/fpu/s_log2.S: Likewise.
628 * sysdeps/i386/fpu/s_log2f.S: Likewise.
629 * sysdeps/i386/fpu/s_log2l.S: Likewise.
630
631 * sysdeps/i386/fpu/libm-test-ulps: New file.
632
633 * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return
634 value for x == 0.
635 (pow): Correct case x == 0.
636 (__sgn1l): Correct handling of -0.0.
637
6381999-10-22 Andreas Jaeger <aj@suse.de>
639
640 * math/libm-test.inc (asinh_test): Add test for NaN as input parameter.
641 (atan_test): Likewise.
642 (atanh_test): Likewise.
643 (atan2_test): Likewise.
644 (carg_test): Likewise.
645 (ceil_test): Likewise.
646 (cos_test): Likewise.
647 (cosh_test): Likewise.
648 (cpow_test): Likewise.
649 (erf_test): Likewise.
650 (erfc_test): Likewise.
651 (exp_test): Likewise.
652 (exp10_test): Likewise.
653 (exp2_test): Likewise.
654 (expm1_test): Likewise.
655 (fabs_test): Likewise.
656 (floor_test): Likewise.
657 (fmod_test): Likewise.
658 (gamma_test): Likewise.
659 (lgamma_test): Likewise.
660 (log10_test): Likewise.
661 (log1p_test): Likewise.
662 (log2_test): Likewise.
663 (logb_test): Likewise.
664 (nearbyint_test): Likewise.
665 (remainder_test): Likewise.
666 (remquo_test): Likewise.
667 (sin_test): Likewise.
668 (sincos_test): Likewise.
669 (sinh_test): Likewise.
670 (sqrt_test): Likewise.
671 (tan_test): Likewise.
672 (tanh_test): Likewise.
673 (tgamma_test): Likewise.
674
e11d6a7d
UD
6751999-10-21 Ulrich Drepper <drepper@cygnus.com>
676
eb3bf573
UD
677 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y.
678
679 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special.
680
681 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check
682 for -Inf and return NaN.
683
e11d6a7d
UD
684 * configure.in: Correct test for Cygnus gcc versions.
685
0cdc8e6f
UD
6861999-10-21 Andreas Jaeger <aj@suse.de>
687
688 * math/libm-test.inc (cimag_test): New function, tests cimag.
689 (creal_test): New function, tests creal.
690 (conj_test): New function, tests conj.
691 (main): Add new functions.
692
6815fabc
UD
6931999-10-20 Andreas Jaeger <aj@suse.de>
694
695 * math/libm-test.inc: Rewrite to allow different deltas for real
696 and imaginary part of complex functions.
697 * math/gen-libm-test.pl: Likewise.
698
f30e0cd3
UD
6991999-10-19 Ulrich Drepper <drepper@cygnus.com>
700
701 * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
702 aliases.
703
704 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.
705
706 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
707 for -Inf and return NaN.
708
709 * math/gen-libm-test.pl: Fix program name in help message.
710
711 * math/libm-test.inc (check_complex): It's Imaginary, not Complex.
712
713 * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.
714
715 * sysdeps/i386/Implies: Correct order of libm directories.
716
fe559c5e
UD
7171999-10-19 Andreas Jaeger <aj@suse.de>
718
719 * include/bits/ipc.h: Remove K&R compatibility.
720 * include/libintl.h: Likewise.
721 * include/math.h: Likewise.
722 * include/mntent.h: Likewise
723 * include/netdb.h: Likewise.
724 * include/pwd.h: Likewise.
725 * include/sched.h: Likewise.
726 * include/shadow.h: Likewise
727 * include/stdlib.h: Likewise.
728 * include/sys/file.h: Likewise.
729 * include/sys/gmon.h: Likewise.
730 * include/sys/ioctl.h: Likewise.
731 * include/sys/mman.h: Likewise.
732 * include/sys/resource.h: Likewise.
733 * include/sys/socket.h: Likewise.
734 * include/sys/stat.h: Likewise.
735 * include/sys/sysinfo.h: Likewise.
736 * include/sys/time.h: Likewise.
737 * include/sys/times.h: Likewise.
738 * include/sys/uio.h: Likewise.
739 * include/sys/wait.h: Likewise.
740 * include/termios.h: Likewise.
741 * include/time.h: Likewise.
742 * include/ulimit.h: Likewise.
743 * include/utmp.h: Likewise.
744 * include/wchar.h: Likewise.
745 * include/wctype.h: Likewise.
746
7471999-10-19 Andreas Jaeger <aj@suse.de>
748
749 * math/libm-test.inc: Remove one K&R compatibility.
750 (main): Enable nexttoward_test.
751
752 * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
753 libm-test-ulps.h; pretty print output a bit.
754
7551999-10-19 Andreas Jaeger <aj@suse.de>
756
757 * iconv/iconv_prog.c (main): Set exit value in case that reading
758 from stdin failed [PR libc/1404].
759
8847214f
UD
7601999-10-18 Andreas Jaeger <aj@suse.de>
761
762 Added improved math testsuite:
763 * math/libm-test.inc: New file, contains all tests from
764 libm-test.c but in a different form.
765 * math/libm-test.c: Removed.
766 * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file.
767 * math/gen-libm-test.pl: New file: Preprocessor.
768 * math/test-double.c: Adopted to new testsuite.
769 * math/test-idouble.c: Likewise.
770 * math/test-float.c: Likewise.
771 * math/test-ifloat.c: Likewise.
772 * math/test-ldouble.c: Likewise.
773 * math/test-ildoubl.c: Likewise.
774 * math/Makefile: Added rules to generate new suite.
775
4d3a563f
UD
7761999-10-18 Ulrich Drepper <drepper@cygnus.com>
777
4dba81ea
UD
778 * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
779 Patch by J. Richard Sladkey <jrs@world.std.com>.
780
4d3a563f
UD
781 * scripts/config.sub: Update from latest autoconf version.
782 * scripts/config.guess: Likewise.
783
7841999-10-18 Andreas Jaeger <aj@suse.de>
785
786 * inet/arpa/inet.h: Remove K&R compatibility.
787 * math/fenv.h: Likewise.
788
7891999-10-18 Andreas Jaeger <aj@suse.de>
790
791 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
792 kernel_sigaction): Remove K&R compatibility.
793 * sysdeps/unix/sysv/linux/net/if.h: Likewise.
794 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
795 * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
796 * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
797 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
798 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
799 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
800 * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
801 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
802 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
803 * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
804 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
805 * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
806 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
807 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
808 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
809 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
810
8111999-10-18 Andreas Jaeger <aj@suse.de>
812
813 * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
814 Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
815
8161999-10-18 Ulrich Drepper <drepper@cygnus.com>
817
818 * po/gl.po: New file.
819
8201999-10-18 Andreas Schwab <schwab@suse.de>
821
822 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
823 namespace selection.
824
8251999-10-18 Andreas Schwab <schwab@suse.de>
826
827 * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
828 clash with the TERM environment variable.
829
8301999-10-18 Andreas Jaeger <aj@suse.de>
831
832 * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
833 returns now NaN + i NaN.
834 * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
835 * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
836
8371999-10-18 Andreas Jaeger <aj@suse.de>
838
839 * include/aio.h: Remove K&R compatiblity.
840 * include/alloca.h: Likewise.
841 * include/db.h: Likewise.
842 * include/dirent.h: Likewise.
843 * include/fcntl.h: Likewise.
844 * include/fpu_control.h: Likewise.
845 * include/glob.h: Likewise.
846 * include/grp.h: Likewise.
847 * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
848 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
849 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
850 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
851
852 * include/execinfo.h: Add __THROW.
853
8541999-10-18 Ulrich Drepper <drepper@cygnus.com>
855
856 * sysdeps/mips/Implies: Remove wordsize-32 reference.
857 * sysdeps/mips/mips3/Implies: Add it here.
858
ef5d6645
UD
8591999-10-17 Ulrich Drepper <drepper@cygnus.com>
860
861 * elf/elf.h: Add various platform and architecture extensions.
862
863 * locale/lc-collate.c (_nl_postload_collate): Disable code for now.
864 * locale/setlocale.c (setlocale): Don't call _nl_find_locale for
865 LC_ALL.
866
867 * socket/sys/socket.h: Remove K&R compatibility.
868
8691999-10-16 Andreas Jaeger <aj@suse.de>
870
871 * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
872
8731999-10-15 Andreas Jaeger <aj@suse.de>
874
875 * stdlib/Makefile (tests): Added tst-xpg-basename.
876
877 * stdlib/tst-xpg-basename.c: New test file.
878
3e1e749e
UD
8791999-10-14 Cristian Gafton <gafton@redhat.com>
880
881 * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
882
907ea199
UD
8831999-10-14 Andreas Jaeger <aj@suse.de>
884
1bf60c01
UD
885 * resolv/inet_addr.c (inet_aton): Fix last patch. The little
886 endian version works for both endiannesses.
887
907ea199
UD
888 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
889 seconds.
890
d4c5cf80
UD
8911999-10-12 Ulrich Drepper <drepper@cygnus.com>
892
252470b6
UD
893 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
894 register names unconditionally, only if __USE_GNU.
895
08920a50
UD
896 * debug/Makefile: Fix rules to generate pcprofiledump.
897
43c1dd0f
UD
898 * include/ucontext.h: New file.
899
d4c5cf80
UD
900 * locale/setlocale.c: Fix gcc warning about uninitialized variable.
901
39d1d4e5
UD
9021999-10-12 Andreas Jaeger <aj@suse.de>
903
904 * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
905
906 * math/basic-test.c: Fix typo.
907
908 * locale/programs/xstrdup.c: Include string.h for glibc
909 compilation to get string prototypes.
910
911 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
912 gregset_t and fpregset_t.
913
914 * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
915 warnings. Correct value for x == 0.
916
917 * argp/argp-help.c: Remove broken definition of flockfile and
918 funlockfile.
919
9201999-10-12 Andreas Schwab <schwab@suse.de>
921
922 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
923 generic Linux version.
924
9251999-10-12 Ulrich Drepper <drepper@cygnus.com>
926
927 * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
928
48ac0597
UD
9291999-10-11 Ulrich Drepper <drepper@cygnus.com>
930
6df659be
UD
931 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
932 and fpregset_t definitions.
933
48ac0597
UD
934 * malloc/memprof.c (GETSP): Define for PowerPC.
935 (GETTIME): Fix generic version.
936
0d57f695
UD
9371999-10-10 Philip Blundell <philb@gnu.org>
938
939 * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
940 __BYTE_ORDER.
941
217eb19b
UD
9421999-10-11 Ulrich Drepper <drepper@cygnus.com>
943
acf47bbe
UD
944 * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
945 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
946 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
947 * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
38a29b57 948
217eb19b
UD
949 * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
950
951 * sysdeps/powerpc/e_sqrt.c: Moved to...
952 * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
953 * sysdeps/powerpc/e_sqrtf.c: Moved to...
954 * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
955
956 * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
957 * sysdeps/powerpc/sub_n.S: Likewise.
958 * sysdeps/powerpc/strlen.S: Likewise.
959 * sysdeps/powerpc/strcpy.S: Likewise.
960 * sysdeps/powerpc/strcmp.S: Likewise.
961 * sysdeps/powerpc/strchr.S: Likewise.
962 * sysdeps/powerpc/stpcpy.S: Likewise.
963 * sysdeps/powerpc/setjmp.S: Likewise.
964 * sysdeps/powerpc/rshift.S: Likewise.
965 * sysdeps/powerpc/ppc-mcount.S: Likewise.
966 * sysdeps/powerpc/mul_1.S: Likewise.
967 * sysdeps/powerpc/memset.S: Likewise.
968 * sysdeps/powerpc/lshift.S: Likewise.
969 * sysdeps/powerpc/dl-start.S: Likewise.
970 * sysdeps/powerpc/bzero.S: Likewise.
971 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
972 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
973 * sysdeps/powerpc/addmul_1.S: Likewise.
974 * sysdeps/powerpc/add_n.S: Likewise.
975 * sysdeps/powerpc/__longjmp.S: Likewise.
976 * sysdeps/powerpc/elf/start.S: Likewise.
977
9781999-10-11 Cristian Gafton <gafton@redhat.com>
979
980 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
df08cc56 981 SA_SIGINFO.
217eb19b 982
be9cd93a
UD
9831999-10-10 Ulrich Drepper <drepper@cygnus.com>
984
cc97b1e5
UD
985 * stdlib/atexit.c (initial): New variable. Use to initialize
986 __exit_funcs.
bca9f4ab 987 * stdlib/exit.c (exit): Beware to not free statically allocated
cc97b1e5
UD
988 list element [PR libc/1305].
989
64ad0de2
UD
990 * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
991 slash before the basename [PR libc/1383].
992
993 * argp/argp.h: Fix typo in last patch.
994
be9cd93a
UD
995 * sysdeps/powerpc/sysdep.h: New file.
996 * sysdeps/unix/powerpc/sysdep.h: New file.
997 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
998 sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
999 * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
1000 instead of bare numbers.
1001 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
1002 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
1003 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
1004
1005 * sysdeps/hppa/sysdep.h: New file.
1006
a73b0d84
UD
10071999-10-10 Andreas Jaeger <aj@suse.de>
1008
1009 * misc/sgtty.h: Fix typo in last patch.
1010
a3b799d6
UD
10111999-10-09 Ulrich Drepper <drepper@cygnus.com>
1012
2293395f
UD
1013 * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
1014 * sysdeps/powerpc/s_copysign.S: Move to...
1015 * sysdeps/powerpc/fpu/s_copysign.S: ...here. Use portable asm syntax.
1016 * sysdeps/powerpc/s_copysignf.S: Move to...
1017 * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
1018 * sysdeps/powerpc/s_fabs.S: Move to...
1019 * sysdeps/powerpc/fpu/s_fabs.S: ...here. Use portable asm syntax.
1020 * sysdeps/powerpc/s_fabsf.S: Move to...
1021 * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
1022 * sysdeps/powerpc/s_fdim.c: Move to...
1023 * sysdeps/powerpc/fpu/s_fdim.c: ...here.
1024 * sysdeps/powerpc/s_fdimf.c: Move to...
1025 * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
1026 * sysdeps/powerpc/s_fmax.S: Move to...
1027 * sysdeps/powerpc/fpu/s_fmax.S: ...here. Use portable asm syntax.
1028 * sysdeps/powerpc/s_fmaxf.S: Move to...
1029 * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
1030 * sysdeps/powerpc/s_fmin.S: Move to...
1031 * sysdeps/powerpc/fpu/s_fmin.S: ...here. Use portable asm syntax.
1032 * sysdeps/powerpc/s_fminf.S: Move to...
1033 * sysdeps/powerpc/fpu/s_fminf.S: ...here.
1034 * sysdeps/powerpc/s_isnan.S: Move to...
1035 * sysdeps/powerpc/fpu/s_isnan.c: ...here.
1036 * sysdeps/powerpc/s_isnanf.S: Move to...
1037 * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
1038 * sysdeps/powerpc/s_llrint.c: Move to...
1039 * sysdeps/powerpc/fpu/s_llrint.c: ...here.
1040 * sysdeps/powerpc/s_llrintf.c: Move to...
1041 * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
1042 * sysdeps/powerpc/s_llround.c: Move to...
1043 * sysdeps/powerpc/fpu/s_llround.c: ...here.
1044 * sysdeps/powerpc/s_llroundf.c: Move to...
1045 * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
1046 * sysdeps/powerpc/s_lrint.c: Move to...
1047 * sysdeps/powerpc/fpu/s_lrint.c: ...here.
1048 * sysdeps/powerpc/s_lrintf.S: Move to...
1049 * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
1050 * sysdeps/powerpc/s_lround.c: Move to...
1051 * sysdeps/powerpc/fpu/s_lround.c: ...here.
1052 * sysdeps/powerpc/s_lroundf.c: Move to...
1053 * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
1054 * sysdeps/powerpc/s_rint.c: Move to...
1055 * sysdeps/powerpc/fpu/s_rint.c: ...here.
1056 * sysdeps/powerpc/s_rintf.c: Move to...
1057 * sysdeps/powerpc/fpu/s_rintf.c: ...here.
1058 * sysdeps/powerpc/t_sqrt.c: Move to...
1059 * sysdeps/powerpc/fpu/t_sqrt: ...here.
1060 * sysdeps/powerpc/w_sqrt.c: Move to...
1061 * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
1062 * sysdeps/powerpc/w_sqrtf.c: Move to...
1063 * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
1064 * configure.in: Support platforms which have no .text pseudo-op.
1065 Patches partly by Jimi X <jimix@pobox.com>.
1066
883c331a
UD
1067 * Makeconfig: Look also in all subdirs for shlib-versions files.
1068
a3b799d6
UD
1069 * malloc/memprof.sh: Fix --help string a bit.
1070
1071 * argp/argp.h: Remove K&R compatiblity.
a4a1492e
UD
1072 * assert/assert.h: Likewise.
1073 * catgets/nl_types.h: Likewise.
1074 * ctype/ctype.h: Likewise.
1075 * db/db.h: Likewise.
1076 * db/ndbm.h: Likewise.
1077 * db2/db.h: Likewise.
1078 * db2/db_185.h: Likewise.
1079 * debug/execinfo.h: Likewise.
1080 * dirent/dirent.h: Likewise.
1081 * dlfcn/dlfcn.h: Likewise.
1082 * gmon/sys/gmon.h: Likewise.
1083 * grp/grp.h: Likewise.
1084 * iconv/gconv.h: Likewise.
1085 * iconv/iconv.h: Likewise.
1086 * include/execinfo.h: Likewise.
1087 * inet/aliases.h: Likewise.
1088 * inet/netinet/ether.h: Likewise.
1089 * inet/netinet/in.h: Likewise.
1090 * intl/libintl.h: Likewise.
1091 * io/fcntl.h: Likewise.
1092 * io/fts.h: Likewise.
1093 * io/ftw.h: Likewise.
1094 * io/utime.h: Likewise.
1095 * io/sys/poll.h: Likewise.
1096 * io/sys/stat.h: Likewise.
1097 * io/sys/statfs.h: Likewise.
1098 * io/sys/statvfs.h: Likewise.
1099 * libio/libio.h: Likewise.
1100 * libio/stdio.h: Likewise.
1101 * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
1102 * locale/locale.h: Likewise.
1103 * login/pty.h: Likewise.
1104 * login/utmp.h: Likewise.
1105 * malloc/mcheck.h: Likewise.
1106 * math/complex.h: Likewise.
1107 * math/math.h: Likewise.
1108 * math/math_private.h: Likewise.
1109 * misc/err.h: Likewise.
1110 * misc/fstab.h: Likewise.
1111 * misc/libgen.h: Likewise.
1112 * misc/mntent.h: Likewise.
1113 * misc/regexp.h: Likewise.
1114 * misc/search.h: Likewise.
1115 * misc/sgtty.h: Likewise.
1116 * misc/ttyent.h: Likewise.
1117 * misc/sys/cdefs.h: Likewise.
1118 * misc/sys/file.h: Likewise.
1119 * misc/sys/ioctl.h: Likewise.
1120 * misc/sys/mman.h: Likewise.
1121 * misc/sys/select.h: Likewise.
1122 * misc/sys/syslog.h: Likewise.
1123 * misc/sys/uio.h: Likewise.
1124 * misc/sys/ustat.h: Likewise.
1125 * nss/nss.h: Likewise.
1126 * posix/sched.h: Likewise.
1127 * posix/unistd.h: Likewise.
1128 * posix/wordexp.h: Likewise.
1129 * posix/sys/times.h: Likewise.
1130 * posix/sys/utsname.h: Likewise.
1131 * posix/sys/wait.h: Likewise.
1132 * pwd/pwd.h: Likewise.
1133 * resolv/netdb.h: Likewise.
1134 * resolv/resolv.h: Likewise.
1135 * resource/ulimit.h: Likewise.
1136 * resource/sys/resource.h: Likewise.
1137 * resource/sys/vlimit.h: Likewise.
1138 * resource/sys/vtimes.h: Likewise.
1139 * rt/aio.h: Likewise.
1140 * setjmp/setjmp.h: Likewise.
1141 * shadow/shadow.h: Likewise.
1142 * signal/signal.h: Likewise.
1143 * socket/socket.h: Likewise.
1144 * stdio/stdio.h: Likewise.
1145 * stdio-common/_itoa.h: Likewise.
1146 * stdio-common/_itowa.h: Likewise.
1147 * stdio-common/printf.h: Likewise.
1148 * stdlib/alloca.h: Likewise.
1149 * stdlib/fmtmsg.h: Likewise.
1150 * stdlib/monetary.h: Likewise.
1151 * stdlib/stdlib.h: Likewise.
1152 * stdlib/ucontext.h: Likewise.
1153 * streams/stropts.h: Likewise.
1154 * string/argz.h: Likewise.
1155 * string/envz.h: Likewise.
1156 * string/string.h: Likewise.
1157 * string/strings.h: Likewise.
1158 * string/bits/string2.h: Likewise.
1159 * sunrpc/rpc/auth.h: Likewise.
1160 * sunrpc/rpc/auth_des.h: Likewise.
1161 * sunrpc/rpc/auth_unix.h: Likewise.
1162 * sunrpc/rpc/clnt.h: Likewise.
1163 * sunrpc/rpc/des_crypt.h: Likewise.
1164 * sunrpc/rpc/netdb.h: Likewise.
1165 * sunrpc/rpc/pmap_clnt.h: Likewise.
1166 * sunrpc/rpc/pmap_prot.h: Likewise.
1167 * sunrpc/rpc/pmap_rmt.h: Likewise.
1168 * sunrpc/rpc/rpc_msg.h: Likewise.
1169 * sunrpc/rpc/svc.h: Likewise.
1170 * sunrpc/rpc/svc_auth.h: Likewise.
1171 * sunrpc/rpc/xdr.h: Likewise.
1172 * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
a73b0d84 1173 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
a4a1492e
UD
1174 * sysvipc/sys/ipc.h: Likewise.
1175 * sysvipc/sys/msg.h: Likewise.
1176 * sysvipc/sys/sem.h: Likewise.
1177 * sysvipc/sys/shm.h: Likewise.
1178 * termios/termios.h: Likewise.
1179 * time/time.h: Likewise.
1180 * time/sys/time.h: Likewise.
1181 * time/sys/timeb.h: Likewise.
1182 * wcsmbs/wchar.h: Likewise.
1183 * wctype/wctype.h: Likewise.
a3b799d6 1184
e9e2f705
RM
11851999-10-05 Roland McGrath <roland@baalperazim.frob.com>
1186
1187 * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
1188 _GNU_SOURCE be defined.
1189
b5c6276a
UD
11901999-10-08 Ulrich Drepper <drepper@cygnus.com>
1191
c813f986
UD
1192 * ctype/ctype.h: Pretty print.
1193
0f5219d4
UD
1194 * po/cs.po: Fix typos.
1195
b5c6276a 1196 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
0f5219d4 1197 handling of empty entries. [PR libc/1345]
b5c6276a
UD
1198 Patch by Thorsten Kukuk <kukuk@suse.de>.
1199
12001999-10-08 Andreas Schwab <schwab@suse.de>
1201
1202 * debug/xtrace.sh: Fix quoting bugs. Implement --help and --version.
1203
12041999-10-08 Andreas Schwab <schwab@suse.de>
1205
1206 * debug/pcprofiledump.c: Fix typos.
1207
12081999-10-07 Andreas Jaeger <aj@suse.de>
1209
1210 * math/Makefile (tests): Added basic-tests.
1211
1212 * math/basic-test.c: New file. Contains function basic_tests from
1213 libm-test.
1214
12151999-10-07 Andreas Schwab <schwab@suse.de>
1216
1217 * malloc/memprof.sh: Fix quoting bugs.
1218
12191999-10-08 Ulrich Drepper <drepper@cygnus.com>
1220
1221 * timezone/europe: Update from tzdata1999h.
1222
3b0fcc20
UD
12231999-10-07 Ulrich Drepper <drepper@cygnus.com>
1224
10507e55
UD
1225 * elf/elf.h: Update from last gABI draft.
1226
3b0fcc20
UD
1227 * elf/elf.h: Remove EM_486 entry.
1228 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
1229 test for EM_486.
1230
cab30d75
UD
12311999-10-07 Ulrich Drepper <drepper@cygnus.com>
1232
1233 * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
1234 Add rules for both programs.
1235 * debug/pcprofiledump.c: New file.
1236 * debug/xtrace.sh: New file.
1237 * debug/pcprofile.c: Allow creating output file. Add magic signature
1238 to let reader recognize file format.
1239
42d7c593
UD
12401999-10-06 Ulrich Drepper <drepper@cygnus.com>
1241
1242 * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
1243
12441999-10-05 Andreas Jaeger <aj@suse.de>
1245
1246 * locale/programs/ld-identification.c: Fix typo in comment.
1247 * locale/programs/ld-messages.c: Likewise.
1248 * locale/programs/ld-monetary.c: Likewise.
1249 * locale/programs/ld-name.c: Likewise.
1250
1251 * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
1252 (collate_read): Remove unnecessary comparisons with ignore_content.
1253
1254 * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
1255 assigned elements.
1256 (ctype_read): Remove unnecessary comparisons with ignore_content.
1257 Fix typos in comments.
1258
1259 * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
1260 comparisons with ignore_content.
1261
811ba236
UD
12621999-10-05 Ulrich Drepper <drepper@cygnus.com>
1263
42d7c593
UD
1264 * po/cs.po: Update.
1265
811ba236
UD
1266 * time/time.h: Move __gmtime_r declaration to ...
1267 * include/time.h: ...here.
1268
a2d63612
UD
12691999-10-05 Andreas Jaeger <aj@suse.de>
1270
1271 * manual/message.texi (The message catalog files): Fix description
1272 to match gencat implementation and Unix98: Message fields are
1273 separated by a single blank space.
1274
12751999-10-05 Andreas Jaeger <aj@suse.de>
1276
1277 * manual/string.texi (Search Functions): Add missing end for
1278 memrchr description.
1279
43fc8f18
UD
12801999-10-04 Ulrich Drepper <drepper@cygnus.com>
1281
479620b9
UD
1282 * malloc/memprof.sh: Various small cleanups. Add short options.
1283 Write error messages to stderr.
1284
926de5eb
UD
1285 * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
1286
1287 * malloc/memprof.sh: Take options to control memprofstat.
1288
43fc8f18
UD
1289 * malloc/Makefile: Add rule to generate memprof script.
1290 * malloc/memprof.sh: New file.
1291
1292 * elf/ldd.bash.in: Add "Usage: " in help message to comply with
1293 GNU standard.
1294
c159de62
UD
12951999-10-04 Andreas Jaeger <aj@suse.de>
1296
1297 * configure.in: Allow makeinfo 4.*.
1298
8f48bfcc
UD
12991999-10-04 Ulrich Drepper <drepper@cygnus.com>
1300
e41db95b
UD
1301 * stdio-common/vfprintf.c: Correct last patch and use outchar
1302 instead of PUTC to output single characters.
1e9f6e98
UD
1303 * stdio-common/Makefile (tests): Add bug13.
1304 * stdio-common/bug13.c: New file.
e41db95b 1305
f5f7239f
UD
1306 * configure.in: Add additional options --with-gd-include and
1307 --with-gd-lib to help people with strange installations.
1308
8f48bfcc
UD
1309 * malloc/Makefile: Add libdl dependency to libmemprof.so.
1310 * malloc/Depend: New file.
1311
ce33f7be
UD
13121999-10-04 Andreas Jaeger <aj@suse.de>
1313
1314 * timezone/README: Change wording to not mention the current
1315 version. This way we can't forget to update the file.
1316
13171999-10-04 Andreas Jaeger <aj@suse.de>
fbda91b1 1318
ce33f7be
UD
1319 * manual/time.texi (Basic CPU Time): Fix typo.
1320 Reported by Ben Pfaff <pfaffben@msu.edu>.
1321
13221999-10-04 Ulrich Drepper <drepper@cygnus.com>
fbda91b1 1323
ce33f7be
UD
1324 * string/string.h: Move __memrchr declaration to ...
1325 * include/string.h: ...here.
fbda91b1
UD
1326
13271999-10-03 Ulrich Drepper <drepper@cygnus.com>
1328
1329 * string/Makefile (routines): Add memrchr.
1330
1331 * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
1332 Correct order of tests for matching bytes.
1333
1334 * string/tester.c: Add tests for memrchr.
1335
1336 * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
1337 Start from the last character and take decrement not increment
1338 into account for correction in return line. Add memrchr alias.
1339 * sysdeps/i386/bits/string.h: Likewise.
1340
53304b0b
RM
13411999-10-04 Roland McGrath <roland@baalperazim.frob.com>
1342
1343 * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
1344
22baad3c
UD
13451999-10-03 Ulrich Drepper <drepper@cygnus.com>
1346
1347 * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
1348
1349 * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
1350 conventions.
1351
1352 * string/Versions: Export memrchr.
1353
b73549de
RM
13541999-10-04 Roland McGrath <roland@baalperazim.frob.com>
1355
8e755477 1356 * misc/Versions (GLIBC_2.2): Add getloadavg.
54e9386d
RM
1357 * misc/Makefile (routines): Add getloadavg.
1358 * sysdeps/generic/getloadavg.c: New file.
1359 * sysdeps/mach/getloadavg.c: New file.
1360 * sysdeps/unix/sysv/linux/getloadavg.c: New file.
1361
b73549de
RM
1362 * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
1363 * sysdeps/i386/bits/string.h (__memrchr): New function.
1364 * string/string.h: Declare memrchr, __memrchr.
1365 * manual/string.texi (Search Functions): Document memrchr.
1366
c8f3e6db
UD
13671999-10-03 Ulrich Drepper <drepper@cygnus.com>
1368
1369 * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
1370 CFLAGS-memprofstat.c, and LIBGD variables.
1371 * config.make.in: Add LIBGD.
1372 * malloc/Makefile: Add rules to generate libmemprof.so and
1373 memprofstat.
1374 * malloc/memprof.c: New file.
1375 * malloc/memprofstat.c: New file.
1376
81ca53df
UD
13771999-10-02 Ulrich Drepper <drepper@cygnus.com>
1378
fcb59416
UD
1379 * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
1380
1381 * resolv/inet_ntop.c (inet_ntop4): Little optimization.
1382 (inet_ntop6): Likewise.
1383
0c03cb9b
UD
1384 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
1385 overruns.
1386
81ca53df
UD
1387 * resolv/tst-aton.c (main): Add more tests.
1388
1389 * resolv/inet_addr.c (inet_aton): Correct some problems with to
1390 large numbers. Optimize a bit.
1391
20cc4c87
UD
13921999-10-01 Ulrich Drepper <drepper@cygnus.com>
1393
a465f6bd
UD
1394 * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
1395 account for added '0'.
1396
20cc4c87
UD
1397 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
1398 handling of IPv6 tunnel address handling with bind 8.2.1. Allow
1399 len argument to be greater than needed address size.
1400
a7123f0e
UD
14011999-10-01 Andreas Jaeger <aj@suse.de>
1402
1403 * locale/programs/ld-collate.c (insert_value): Add cast to avoid
1404 warning.
1405 * intl/finddomain.c (_nl_find_domain): Likewise.
1406
14071999-09-30 Andreas Schwab <schwab@suse.de>
1408
1409 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
1410
14111999-09-30 Andreas Jaeger <aj@suse.de>
1412
1413 * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
1414 * sysdeps/i386/rshift.S: Likewise.
1415 * sysdeps/i386/strchrnul.S: Likewise.
1416 * sysdeps/i386/strchr.S: Likewise.
1417 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
1418 PR libc/1339.
1419
14201999-09-30 Andreas Jaeger <aj@suse.de>
1421
1422 * manual/examples/pipe.c: Close other end of pipe to make example work.
1423
14241999-10-01 Ulrich Drepper <drepper@cygnus.com>
1425
1426 * timezone/checktab.awk: Update from tzcode1999g.
1427 * timezone/tzselect.ksh: Likewise.
1428 * timezone/africa: Update from tzdata1999g.
1429 * timezone/asia: Likewise.
1430 * timezone/australasia: Likewise.
1431 * timezone/europe: Likewise.
1432 * timezone/northamerica: Likewise.
1433 * timezone/southamerica: Likewise.
1434 * timezone/iso3166.tab: Likewise.
1435 * timezone/zone.tab: Likewise.
1436
9133b79b
UD
14371999-09-27 Andreas Jaeger <aj@suse.de>
1438
1439 * resolv/netdb.h: Remove declaration of getnodebyname. It has
a7123f0e 1440 been renamed to getipnodebyname. Move flags around.
9133b79b
UD
1441
14421999-09-27 Andreas Schwab <schwab@suse.de>
1443
1444 * manual/message.texi (Locating gettext catalog): Fix typos.
1445
14461999-09-27 Andreas Jaeger <aj@suse.de>
1447
1448 * manual/socket.texi (Out-of-Band Data): Correct example program,
1449 rename some variables for clarity.
1450 Reported by James Antill <james@and.org>, close PR libc/1329.
1451
df099740
UD
14521999-09-27 Ulrich Drepper <drepper@cygnus.com>
1453
508d9ff8
UD
1454 * locale/programs/ld-collate.c (insert_value): Add hack to not
1455 crash in incomplete collate implementation.
1456
df099740
UD
1457 * locale/programs/ld-collate.c (read_directions): Read new token
1458 after accepting sorting rule.
1459
549b3c3a
UD
14601999-09-26 Ulrich Drepper <drepper@cygnus.com>
1461
1462 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
1463 error message printing. Correctly test whether all characters of
1464 current token are used.
1465 (ctype_read): NUL terminate last_str.
1466
756409c4
UD
14671999-09-26 Thorsten Kukuk <kukuk@suse.de>
1468
1469 * nscd/connections.c: Invalidate caches on request.
1470 * nscd/nscd-client.h: Add INVALIDATE to request_type.
1471 * nscd/nscd.c: Add invalidate cache option.
1472 * nscd/nscd.conf: Change log directory to /var/log (FHS).
1473
079c00e6
UD
14741999-09-24 Ulrich Drepper <drepper@cygnus.com>
1475
1476 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
1477 not ovverwrite last group member with NULL pointer.
1478 Reported by Thomas Winder <thomas.winder@newlogic.at>.
1479
a1648746
UD
14801999-09-24 Andreas Jaeger <aj@suse.de>
1481
1482 * stdio-common/tst-printf.c (main): Add a testcase for large
1483 precision. Reported by Tymm Twillman <tymm@coe.missouri.edu>.
1484
14851999-09-24 Andreas Schwab <schwab@suse.de>
1486
1487 * math/bits/mathcalls.h: Fix last change. Also declare __finite.
1488
14891999-09-24 Andreas Jaeger <aj@suse.de>
1490
1491 * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
1492 normalized_codeset. Reported by Belicky Zsolt <zsolt@prolan.hu>.
1493
14941999-09-23 Mark Kettenis <kettenis@gnu.org>
1495
1496 * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
1497 variable. Define MORECORE_CLEARS to 2.
1498
1499 * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
1500 doesn't clear the contents of memory that is reallocated after
1501 decrementing the break value first. Update comment about
1502 MORECORE_CLEARS, explaining the meaning of the values it can be
1503 set to.
1504
d614ad09
UD
15051999-09-23 Ulrich Drepper <drepper@cygnus.com>
1506
1507 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
1508 one more case.
1509
5892e305
UD
1510 * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
1511 (log): Likewise.
1512 (log10): Likewise.
1513 (log1p): Likewise.
1514 (log2): Likewise.
1515
9df54168
UD
15161999-09-22 Andreas Jaeger <aj@suse.de>
1517
1518 * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
1519 reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
a1648746 1520
9df54168
UD
15211999-09-22 Andreas Schwab <schwab@suse.de>
1522
1523 * stdio-common/vfscanf.c: Fix width handling when scanning floats.
1524
15251999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1526
1527 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
1528 the source directory. Fixes PR libc/1059.
1529
5b5255f1
UD
15301999-09-21 Ulrich Drepper <drepper@cygnus.com>
1531
1532 * locale/programs/repertoire.c (repertoire_find_value): Abort if
1533 rep parameter is NULL.
1534 (repertoire_find_symbol): Likewise.
1535 (repertoire_find_seq): Likewise.
1536
3fa27fcb
UD
15371999-09-20 Jean-Louis Martineau <martinea@IRO.UMontreal.CA>
1538
1539 * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
1540 returned errno value in some cases.
1541
3a4cbb41
UD
15421999-09-19 Ulrich Drepper <drepper@cygnus.com>
1543
55587efd
UD
1544 * iconvdata/Makefile (modules): Add GBK.
1545 (distribute): Add gbk.c.
1546 * iconvdata/gbk.c: New file.
1547 * iconvdata/gconv-modules: Add GBK entry.
1548 Contributed by Sean Chen <sean.chen@turbolinux.com>.
1549
90952c77
UD
1550 * locale/programs/ld-monetary.c (monetary_output): Remove
1551 byte-order code.
1552
1553 * locale/programs/ld-time.c (time_output): Correct expected number
1554 of iov entries.
1555
3a4cbb41
UD
1556 * manual/filesys.texi (Testing File Access): Correct description of
1557 SUID.
1558
3fa27fcb 15591999-080-25 H.J. Lu <hjl@gnu.org>
3a4cbb41
UD
1560
1561 * csu/defs.awk (.end): Only match with leading white spaces.
1562 (.align): Likewise.
1563
b5c69d99
UD
15641999-09-19 Ulrich Drepper <drepper@cygnus.com>
1565
1d8004b2
UD
1566 * stdlib/isomac.c: Add va_copy to allowed macros.
1567
b5c69d99
UD
1568 * po/pl.po: Updated.
1569
15701999-09-17 Andreas Schwab <schwab@suse.de>
1571
1572 * Makefile (clean): Also remove $(postclean) files.
1573
15741999-09-15 Andreas Jaeger <aj@suse.de>
1575
1576 * pwd/Makefile (otherlibs): Add for building with static-nss.
1577 * inet/Makefile (otherlibs): Likewise.
1578
15791999-09-15 Andreas Jaeger <aj@suse.de>
1580
1581 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
1582 function definition to avoid a compilation failure.
1583
15841999-09-15 Andreas Jaeger <aj@suse.de>
1585
1586 * stdlib/tst-environ.c (main): Add getenv regression test for
1587 environment variable that's one character long.
1588
15891999-09-15 Andreas Jaeger <aj@suse.de>
1590
1591 * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
1592 signal definitions to let glibc compile with older Linux versions
1593 (2.0.10 to 2.1.100 or so).
1594
50b076f4
RM
15951999-09-18 Roland McGrath <roland@baalperazim.frob.com>
1596
1597 * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
1598 return zero to indicate no children died yet (assuming WNOHANG).
1599
1600 * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
1601
16021999-09-17 Roland McGrath <roland@baalperazim.frob.com>
1603
1604 * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
1605
1606 * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
1607 Return _hurd_pgrp instead of 0.
1608
349447da
RM
16091999-09-19 Roland McGrath <roland@baalperazim.frob.com>
1610
55ffcab7
RM
1611 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
1612 pages rather than just reprotecting them. This way we don't hold on
1613 to the backing space.
1614
349447da
RM
1615 * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
1616 Use __munmap instead of __vm_deallocate.
1617
8a386ec1
UD
16181999-09-18 Ulrich Drepper <drepper@cygnus.com>
1619
1620 * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
1621 returned errno value in some cases.
1622
c68d04fe
UD
16231999-09-17 Andreas Jaeger <aj@suse.de>
1624
1625 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
1626 to override user settings.
1627
16281999-09-17 Andreas Schwab <schwab@suse.de>
1629
1630 * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
1631 using a pointer to it.
1632
a40ef91f
UD
16331999-09-16 Ulrich Drepper <drepper@cygnus.com>
1634
1635 * time/getdate.c (__getdate_r): Pass correct year to check_mday.
1636 Reported by Vern Staats <staatsvr@asc.hpc.mil>.
1637
577567c1
UD
16381999-09-14 Ulrich Drepper <drepper@cygnus.com>
1639
95e83595
UD
1640 * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
1641
577567c1 1642 * elf/elf.h (PF_MASKOS): New definition.
6fba2b2b 1643 (EM_VAX): New definition.
577567c1 1644
59e33904
UD
16451999-08-09 Scott Bambrough <scottb@netwinder.org>
1646
1647 * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
1648 'unsigned char ftype[8]', and 'unsigned int init_flag' to
8a386ec1 1649 struct user_fp. These were added in version 2.2.12 of the
59e33904
UD
1650 ARM Linux kernel.
1651 * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
1652 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
1653 The generic procfs.h included <asm/elf.h>. This causes
1654 structure redefinition errors when <sys/user.h> and <sys/procfs.h>
1655 are included in the same source file. Found when building GDB.
1656
4a33c2f5
UD
16571999-09-13 Ulrich Drepper <drepper@cygnus.com>
1658
1659 * locale/langinfo.h: Remove byte-order dependent names.
1660 * locale/categories.def: Update after removal of byte-order dependent
1661 names.
1662 * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
1663 with magic number in other byte order.
1664 * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
1665 * locale/C-collate.c: Remove initializers for other byte-order.
1666 * locale/C-ctype.c: Likewise.
1667 * locale/C-monetary.c: Likewise.
1668 * locale/C-paper.c: Likewise.
1669 * locale/C-time.c: Likewise.
1670 * locale/lc-collate.c: Remove byte-order oriented initialization.
1671 * locale/lc-ctype.c: Likewise.
1672 * locale/lc-monetary.c: Likewise.
1673 * locale/lc-time.c: Likewise.
1674 * locale/programs/ld-address.c: Don't generate output in both
1675 byte-orders.
1676 * locale/programs/ld-ctype.c: Likewise.
1677 * locale/programs/ld-paper.c: Likewise.
1678 * locale/programs/ld-time.c: Likewise.
1679 * time/strftime.c (NLW): Don't use different byte-orders.
1680 * wctype/cname-lookup.h (cname_lookup): Likewise.
1681
1682 * Makeconfig (localedir): Define using libdir, not datadir.
1683 (msgcatdir): New variable.
1684 * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
1685 * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
1686 msgcatdir.
1687 * intl/Makefile (install-others): Install locale.alias in msgcatdir.
1688 (CPPFLAGS): Define paths using msgcatdir.
1689 * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
1690 * po/Makefile (mo-installed): Define using msgcatdir.
1691
1692 * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
1693
b9eb05d6
UD
16941999-09-12 Ulrich Drepper <drepper@cygnus.com>
1695
3e95f660
UD
1696 * stdio-common/vfprintf.c: Remove limitation on size of precision
1697 for integers.
1698
78148569
UD
1699 * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
1700 glibc by defining internal_function if it isn't already.
1701
a0bf6ac7
UD
1702 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
1703 fails don't rely on errno value.
1704 (getanswer_r): Set *ERRNOP in error cases.
1705
1706 * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
1707 (gaih_inet_serv): Return EIA_NODATA if name is known but has no
1708 associated data. Test for matching numeric address and family.
1709 (getaddrinfo): Remember EAI_NODATA result and return this in case
1710 everything fails.
1711 Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
1712
b9eb05d6
UD
1713 * locale/programs/ld-address.c: Fix handling of non-existing
1714 definitions for this category. Correctly ignore content of this
1715 category is this is necessary.
1716 * locale/programs/ld-collate.c: Likewise.
1717 * locale/programs/ld-ctype.c: Likewise.
1718 * locale/programs/ld-identification.c: Likewise.
1719 * locale/programs/ld-measurement.c: Likewise.
1720 * locale/programs/ld-messages.c: Likewise.
1721 * locale/programs/ld-monetary.c: Likewise.
1722 * locale/programs/ld-name.c: Likewise.
1723 * locale/programs/ld-numeric.c: Likewise.
1724 * locale/programs/ld-paper.c: Likewise.
1725 * locale/programs/ld-telephone.c: Likewise.
1726 * locale/programs/ld-time.c: Likewise.
1727 * locale/programs/locfile.h (handle_copy): Take extra parameter
1728 with result pointer. Fill in name of locale from which to copy.
1729 Correctly read token after `END'.
1730
1731 * locale/programs/localedef.c (main): Correct handling copy.
1732 (add_to_readlist): Take extra parameter which says whether we
1733 are supposed to read the file or not.
1734 (find_locale): Call add_to_readlist with extra parameter set to 0.
1735
1736 * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
1737 instead of wrong number in array definitions.
1738 (add_to_readlist): Update prototype.
1739
1740 * locale/programs/locfile.c (locfile_read): Mark categories not
1741 available in source file as read.
1742 (write_all_categories): Fix typo.
1743
9e5dcaa8
UD
1744 * locale/programs/locales.h: Removed.
1745
8fc1e2ca
UD
17461999-09-10 Ulrich Drepper <drepper@cygnus.com>
1747
0f0e233c
UD
1748 * elf/elf.h (SHF_MASKOS): Added.
1749
8fc1e2ca
UD
1750 * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
1751
17521999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1753
1754 * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
1755
17561999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1757
1758 * configure.in: Fix make version test for make 3.77.95 and later
1759 versions.
1760 Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
1761
68337808
UD
17621999-09-10 Ulrich Drepper <drepper@cygnus.com>
1763
1764 * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
1765
1766 * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
1767 WINT_MAX values.
1768
1769 * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
1770
17711999-09-09 Andreas Schwab <schwab@suse.de>
1772
1773 * elf/link.h: Fix comment.
1774
17751999-09-10 Ulrich Drepper <drepper@cygnus.com>
1776
1777 * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
1778
1779 * math/math.h: Pretty print.
1780
ec6275c0
UD
17811999-09-10 Andreas Schwab <schwab@suse.de>
1782
1783 * sysdeps/generic/getenv.c (getenv): Fix lookup for single
1784 character variable on bigendian platforms without unaligned memory
1785 access.
1786
766d2fca
UD
17871999-09-07 Cristian Gafton <gafton@redhat.com>
1788
1789 * sysdeps/unix/sysv/linux/sys/raw.h: New file
1790 * sysdeps/unix/sysv/linux/Dist: Add raw.h.
1791 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
1792
39d31947
UD
17931999-09-06 Ulrich Drepper <drepper@cygnus.com>
1794
8bf0fdaf
UD
1795 * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
1796
39d31947
UD
1797 * time/ap.c: Removed. It was not used.
1798 * time/date.c: Likewise.
1799 * sysdeps/unix/nlist.c: Likewise.
1800 * sysdeps/generic/nlist.c: Likewise.
1801 * sysdeps/generic/varargs.h: Likewise.
1802 * stdio-common/scanf11.c: Likewise.
1803 * stdio-common/scanf6.c: Likewise.
1804 * scripts/=__ify: Likewise.
1805 * scripts/printsources: Likewise.
1806 * resolv/getnetnamadr.c: Likewise.
1807 * posix/id.c: Likewise.
1808 * misc/ioctltst.c: Likewise.
1809 * misc/nlist.h: Likewise.
1810 * math/test-math.h: Likewise.
1811 * include/nlist.h: Likewise.
1812
7fcc87f4
UD
18131999-09-06 Andreas Schwab <schwab@suse.de>
1814
1815 * time/tzset.c (compute_change): Replace slow loop to compute T by
1816 simple algorithm.
1817
07c7a055
UD
18181999-09-06 Ulrich Drepper <drepper@cygnus.com>
1819
1820 * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
1821 escape sequences out even if the character itself does not fit
1822 into the buffer.
1823
1824 * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
1825
bd952512
UD
18261999-08-31 H.J. Lu <hjl@gnu.org>
1827
1828 * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
1829
9024032c
RM
18301999-09-05 Roland McGrath <roland@baalperazim.frob.com>
1831
1832 * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
1833 it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
349447da 1834 (_hurd_priority_which_map):
9024032c 1835
4fe53b3a
UD
18361999-09-04 Ulrich Drepper <drepper@cygnus.com>
1837
1838 * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
1839
18401999-09-03 Andreas Schwab <schwab@suse.de>
1841
1842 * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
1843 fork from __syscall_fork to __libc_fork.
1844 * posix/Versions: Add __libc_fork and __vfork to version
1845 GLIBC_2.1.2.
1846
9cb6e878
UD
18471999-08-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1848
1849 * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
1850 dependencies in sort.
1851
18521999-09-01 H.J. Lu <hjl@gnu.org>
1853
1854 * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
1855
1856 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
1857 <sys/user.h> instead of <asm/user.h>.
1858
f01a6a08
UD
18591999-09-02 Ulrich Drepper <drepper@cygnus.com>
1860
1861 * elf/elf.h: Update PARISC-specific flags and symbolic names.
1862
fa53da17
UD
18631999-09-01 Ulrich Drepper <drepper@cygnus.com>
1864
1865 * elf/elf.h: Update PARISC relocations.
1866
86352425
UD
18671999-08-31 Scott Bambrough <scottb@netwinder.org>
1868
1869 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
1870 #ifdef statement to prevent it from being included twice.
1871 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
1872 #include <bits/armsigctx.h>.
1873
52bc074f
UD
18741999-08-31 Andreas Schwab <schwab@suse.de>
1875
1876 * locale/C-collate.c: Add missing initialisations.
1877 * locale/C-ctype.c: Likewise.
1878
a4f4b72b
UD
18791999-08-31 Ulrich Drepper <drepper@cygnus.com>
1880
1881 * time/strftime.c (my_strftime): Remove unneeded variable len.
1882
1883 * time/strptime.c: Undo last change.
1884
0742e501
UD
18851999-08-30 Ulrich Drepper <drepper@cygnus.com>
1886
4b10dd6c
UD
1887 * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
1888 Change charset.h to charmap.h.
1889 (categories): Add new categories. Leave out collate for now.
1890 Update build rules.
1891 * locale/categories.def: Add definitions for new categories.
1892 * locale/langinfo.h: Likewise.
1893 * locale/locale.h: Likewise.
1894 * locale/C-address.c: New file.
1895 * locale/C-identification.c: New file.
1896 * locale/C-measurement.c: New file.
1897 * locale/C-name.c: New file.
1898 * locale/C-paper.c: New file.
1899 * locale/C-telephone.c: New file.
1900 * locale/lc-address.c: Likewise.
1901 * locale/lc-identification.c: Likewise.
1902 * locale/lc-measurement.c: Likewise.
1903 * locale/lc-name.c: Likewise.
1904 * locale/lc-paper.c: Likewise.
1905 * locale/lc-telephone.c: Likewise.
1906 * locale/C-ctype.c: Update for locale rewrite.
1907 * locale/C-messages.c: Likewise.
1908 * locale/C-monetary.c: Likewise.
1909 * locale/C-time.c: Likewise.
1910 * locale/lc-collate.c: Likewise.
1911 * locale/lc-ctype.c: Likewise.
1912 * locale/lc-monetary.c: Likewise.
1913 * locale/lc-time.c: Likewise.
1914 * locale/localeinfo.h: Likewise.
1915 * locale/newlocale.c: Likewise.
1916 * locale/setlocale.c: Likewise.
1917 * locale/weight.h: Likewise.
1918 * locale/findlocale.c: Unconditionally use mmap.
1919 Handle new categories.
1920 * locale/loadlocale.c: Likewise.
1921 * locale/iso-3166.def: New file.
1922 * locale/iso-639.def: New file.
1923 * locale/programs/charmap-kw.gperf: Add new keywords.
1924 * locale/programs/locfile-kw.gperf: Likewise.
1925 * locale/programs/locfile-token.h: Define new tokens.
1926 * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
1927 * locale/programs/charmap.h: New file.
1928 * locale/programs/charset.h: Removed.
1929 * locale/programs/config.h: Add __LC_LAST.
1930 * locale/programs/lc-address.c: New file.
1931 * locale/programs/lc-identification.c: New file.
1932 * locale/programs/lc-measurement.c: New file.
1933 * locale/programs/lc-name.c: New file.
1934 * locale/programs/lc-paper.c: New file.
1935 * locale/programs/lc-telephone.c: New file.
1936 * locale/programs/lc-collate.c: Update for locale rewrite.
1937 * locale/programs/lc-ctype.c: Likewise.
1938 * locale/programs/lc-messages.c: Likewise.
1939 * locale/programs/lc-monetary.c: Likewise.
1940 * locale/programs/lc-numeric.c: Likewise.
1941 * locale/programs/lc-time.c: Likewise.
1942 * locale/programs/locale.c: Likewise.
1943 * locale/programs/localedef.c: Likewise.
1944 * locale/programs/locfile.c: Likewise.
1945 * locale/programs/repertoire.c: Likewise.
1946 * locale/programs/repertoire.h: Likewise.
1947 * locale/programs/locfile.c: Update prototypes.
1948 Update handle_copy definition.
1949 * locale/programs/linereader.c: Add handling of wide char strings and
1950 new definition file syntax.
1951 * locale/programs/linereader.h (struct token): Add elements for wide
1952 character strings.
1953 * locale/programs/locale-spec.c: Disable handling of collation
1954 elements for now.
1955 * locale/programs/simple-hash.h: Cleanup.
1956 * locale/programs/stringtrans.h: Handle quite of end of line.
1957 * string/strcoll.c: Fall back on strcmp for now.
1958 * string/strxfrm.c: Fall back on strncpy/strlen for now.
1959 * time/strftime.c: Use new wide character data for wcsftime.
1960 * time/strptime.c: Remove _nl_C_LC_TIME declaration.
1961 * wctype/cname-lookup.h: Update for new LC_CTYPE data.
1962
1d1740d6
UD
1963 * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
1964 compiling for i386 to avoid i686-like GOT pointer computation.
1965
9a93ac00
UD
1966 * db2/db_int.h: Change tsl_t type to u_int32_t.
1967 * db2/mutex/mutex.c: Allow Alpha mutex definitions.
1968 * db2/mutex/alpha.h: New file.
1969 * db2/mutex/sparc.gcc: Fix store code for v9. Simplify clear code.
1970 * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
1971 known.
1972 Patches by Richard Henderson.
1973
0742e501
UD
1974 * stdlib/tst-environ.c: Add cast to avoid warning.
1975 * timezone/test-tz.c: Use setenv instead of putenv.
1976
b7851313
UD
19771999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1978
1979 * manual/libc.texinfo: Update version and date.
1980
1981 * manual/locale.texi (Formatting Numbers): Fix @node pointers.
1982
1983 * manual/filesys.texi (Working with Directory Trees): Add missing @code.
1984 (File System Interface): Correct entry.
1985 (Permission Bits): Add missing commata after @xref.
1986
10b91857
UD
19871999-08-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1988
1989 * timezone/tst-timezone.c (main): Don't pass const strings to
1990 putenv to avoid warnings.
1991
1992 * posix/regexbug1.c: Include <stdio.h> for puts prototype.
1993
1e275b9e
UD
19941999-08-29 Thorsten Kukuk <kukuk@suse.de>
1995
1996 * nis/Versions: Add _nss_*_getipnodebyname_r.
1997 * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
1998 * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
1999 * nss/Versions: Add _nss_files_getipnodebyname_r.
2000
74bced63
UD
20011999-08-28 H.J. Lu <hjl@gnu.org>
2002
2003 * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
2004 memory for buffer.
1e275b9e 2005
fcb8e79c
UD
20061999-08-27 Ulrich Drepper <drepper@cygnus.com>
2007
2008 * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
2009 kernel.
2010 * inet/netinet/in.h: Likewise.
2011 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2012 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2013
d01d6319
UD
20141999-08-28 Ulrich Drepper <drepper@cygnus.com>
2015
2016 * malloc/malloc.c (ptmalloc_init): Don't use variables to set
2017 thresholds for SUID binaries. [PR libc/1277]
2018
cd61d12c
UD
2019 * posix/regexbug1.c: Add one more similar case.
2020
d01d6319
UD
20211999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2022
2023 * manual/install.texi (Running make install): Give examples for
2024 timezone and locale installation.
2025
20261999-08-28 Zack Weinberg <zack@bitmover.com>
2027
2028 * glibcbug.in: Get CCVERSION from autoconf substitution.
2029 * configure.in: Calculate and substitute CCVERSION.
2030
20311999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2032
2033 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
fcb8e79c 2034 partially reverting a patch from 1998-12-29. We just can't change
d01d6319
UD
2035 the flags, kernels with different flags lead to
2036 incompatibilities.
2037
a125d9b4
UD
20381999-08-26 Andreas Schwab <schwab@suse.de>
2039
2040 * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
2041
8a3c8443
UD
20421999-08-27 Ulrich Drepper <drepper@cygnus.com>
2043
2044 * inet/rexec.c (rexec): Free memory if strings were allocated in
2045 ruserpass. Reported by Andrew Morton <morton@nortelnetworks.com>.
2046
04b9968b
UD
20471999-08-27 Ulrich Drepper <drepper@cygnus.com>
2048
4744a411
UD
2049 * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
2050
2e8a853b 2051 * manual/argp.texi: Fixing language and typos.
04b9968b
UD
2052 * manual/conf.texi: Likewise.
2053 * manual/contrib.texi: Likewise.
6dd5b57e 2054 * manual/ctype.texi: Likewise.
04b9968b
UD
2055 * manual/filesys.texi: Likewise.
2056 * manual/install.texi: Likewise.
2057 * manual/job.texi: Likewise.
2058 * manual/lang.texi: Likewise.
2059 * manual/llio.texi: Likewise.
6dd5b57e 2060 * manual/locale.texi: Likewise.
04b9968b
UD
2061 * manual/math.texi: Likewise.
2062 * manual/nss.texi: Likewise.
2063 * manual/pipe.texi: Likewise.
2064 * manual/signal.texi: Likewise.
2065 * manual/socket.texi: Likewise.
2066 * manual/stdio.texi: Likewise.
2067 * manual/sysinfo.texi: Likewise.
2068 * manual/users.texi: Likewise.
2069 Patches by Neil Booth <NeilB@earthling.net>.
2070
cf752fe2
UD
20711999-08-25 Ulrich Drepper <drepper@cygnus.com>
2072
77faa354
UD
2073 * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
2074 unsigned to avoid warning. [PR libc/1271].
2075
2076 * conform/conformtest.pl: Allow testing regex.h which requires
2077 sys/types.h being included.
2078
b395c02d
UD
2079 * conform/data/regex.h-data: Allow *_t types.
2080 * conform/data/pwd.h-data: Likewise.
a4a1492e 2081 * conform/data/sched.h-data: Likewise.
b395c02d
UD
2082 * conform/data/pthread.h-data: Likewise.
2083 * conform/data/search.h-data: Likewise.
2084
2085 * misc/search.h: Avoid namespace pollution.
2086
7f42d3dd
UD
2087 * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
2088 pwd.h, and pthread.h.
2089 * conform/data/pthread.h-data: New file.
2090 * conform/data/pwd.h-data: New file.
2091 * conform/data/regex.h-data: New file.
2092 * conform/data/sched.h-data: New file.
2093 * conform/data/search.h-data: New file.
2094
2095 * NAMESPACE: Add REG_ for regex.h.
2096
2097 * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
2098 they are removed.
2099
050838a4
UD
2100 * configure.in (libc_cv_asm_global_directive): Indent .text in
2101 test code so that the lame HPUX compiler recognizes it.
2102 * sysdeps/hppa/bits/endian.h: New file.
2103 * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
2104 * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
2105 * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
2106 * sysdeps/unix/sysv/hpux/bits/types.h: New file.
2107
01c771d0
UD
2108 * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
2109 Patch by John Tobey <jtobey@banta-im.com>.
2110
2111 * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
2112
cf752fe2
UD
2113 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
2114 old_siocfifconf definition to toplevel.
2115 (__protocol_available): Remove old_siocfifconf definition.
2116
2a947279
UD
21171999-08-25 Mark Kettenis <kettenis@gnu.org>
2118
2119 * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
2120 really dealing with a master pseudo terminal, and really returning
2121 the name of the associated slave pseudo terminal by checking the
2122 device number.
2123 * sysdeps/unix/sysv/linux/pty-private.h: Removed.
2124 * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
2125
2f444823
UD
21261999-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2127
2128 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
2129 underscore in _llseek entry.
2130
2131 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
2132 entry.
2133
2134 * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
2135 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
2136
2137 * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
2138 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
2139
71d3bda9
UD
21401999-08-25 Ulrich Drepper <drepper@cygnus.com>
2141
2142 * inet/Makefile (routines): Add getipnodebynm.
2143 * inet/getipnodebynm.c: New file.
2144 * nss/digits_dots.c: If HAVE_TYPE is define type contains the
2145 interface type.
2146 * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
2147 EXTRA_ARGS_VALUE is not already done.
2148 (internal_getent): Allow extra parameters and pass them to parse_line.
2149 (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
2150 (_nss_files_get##name##_r): Likewise.
2151 * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
2152 and EXTRA_ARGS_VALUE to pass flags and type to parser.
2153 Add getipnodebyname function.
2154 * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
2155 EXTRA_ARGS_VALUE is not already done.
2156 (parse_line): Add EXTRA_ARGS_DECL to parameter list.
2157 * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
2158 to parse_line.
2159 (_nss_db_get##name##_r): Pass extra parameters to lookup.
2160 (_nss_db_get,ENTNAME_r): Likewise.
2161 * sysdeps/generic/if_index.c (__protocol_available): New function.
2162 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2163
4ebc35ac
UD
21641999-08-24 Ulrich Drepper <drepper@cygnus.com>
2165
ad659702
UD
2166 * login/pty-private.h: Move to...
2167 * sysdeps/generic/pty-private.h: ...here.
2168 * sysdeps/unix/sysv/linux/pty-private.h: New file. Linux specific
2169 version.
2170 * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
2171 available.
2172
5c8d1fc0
UD
2173 * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
2174 of __overflow.
2175
7b5fd91d
UD
2176 * conform/conformtest.pl (@headers): Add monetary.h-data,
2177 mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
2178 * conform/data/monetary.h-data: New file.
2179 * conform/data/mqueue.h-data: New file.
2180 * conform/data/ndbm.h-data: New file.
2181 * conform/data/nl_types.h.h-data: New file.
2182 * conform/data/poll.h-data: New file.
2183
248286e5
UD
2184 * stdio-common/Makefile (test): Add tst-cookie.
2185 * stdio-common/tst-cookie.c: New file.
2186
4ebc35ac
UD
2187 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
2188 changed in last patch. Reported by Ralf Baechle.
2189
db72c1e4
UD
21901999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2191
2192 * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
2193
2194 * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
2195 Patches by Ralf Baechle <ralf@uni-koblenz.de>
2196
08c70af0
UD
21971999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2198
2199 * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
2200 Linux 2.3.15.
2201
da1067a9
UD
22021999-08-24 Ulrich Drepper <drepper@cygnus.com>
2203
abd31612
UD
2204 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
2205 syscall.
2206 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2207
52cf7d34
UD
2208 * misc/libgen.h: Don't take basename macro as taking arguments.
2209
2210 * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
2211 for gcc >= 2.95.
2212 * sysdeps/i386/bits/huge_val.h: Likewise.
2213 * sysdeps/i386/bits/huge_val.h: Likewise.
2214 * sysdeps/ieee754/bits/huge_val.h: Likewise.
2215 * sysdeps/m68k/bits/huge_val.h: Likewise.
2216 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
2217 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
2218
da1067a9
UD
2219 * conform/Makefile: New file.
2220 * conform/conformtest.pl: New file.
2221 * conform/data/aio.h-data: New file.
2222 * conform/data/assert.h-data: New file.
2223 * conform/data/cpio.h-data: New file.
2224 * conform/data/ctype.h-data: New file.
2225 * conform/data/dirent.h-data: New file.
2226 * conform/data/dlfcn.h-data: New file.
2227 * conform/data/errno.h-data: New file.
2228 * conform/data/fcntl.h-data: New file.
2229 * conform/data/float.h-data: New file.
2230 * conform/data/fmtmsg.h-data: New file.
2231 * conform/data/fnmatch.h-data: New file.
2232 * conform/data/ftw.h-data: New file.
2233 * conform/data/glob.h-data: New file.
2234 * conform/data/grp.h-data: New file.
2235 * conform/data/iconv.h-data: New file.
2236 * conform/data/inttypes.h-data: New file.
2237 * conform/data/iso646.h-data: New file.
2238 * conform/data/langinfo.h-data: New file.
2239 * conform/data/libgen.h-data: New file.
2240 * conform/data/locale.h-data: New file.
2241 * conform/data/math.h-data: New file.
2242
1b13e783
UD
22431999-08-23 Ulrich Drepper <drepper@cygnus.com>
2244
2245 * posix/execvp.c (execvp): Correct copying of file name.
2246
a41301f0
RM
22471999-08-23 Mark Kettenis <kettenis@gnu.org>
2248
2249 * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
2250
1d0b89a4
UD
22511999-08-23 Ulrich Drepper <drepper@cygnus.com>
2252
a41301f0 2253 * stdio-common/Makefile: Move addition to routines to the right place.
1d0b89a4 2254
b7e519e7
UD
22551999-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2256
2257 * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file. Neccessary
2258 since mips*-linux has ECANCELED.
2259
22601999-08-23 Andreas Schwab <schwab@suse.de>
2261
2262 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
2263 SIGCONTEXT_EXTRA_ARGS.
2264 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
2265 * sysdeps/generic/sigcontextinfo.h: Likewise.
2266 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
2267 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
2268 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2269 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
1d0b89a4
UD
2270 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
2271 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
b7e519e7 2272
a2860282
UD
22731999-08-23 Ulrich Drepper <drepper@cygnus.com>
2274
2275 * posix/regexbug1.c: Make it an error if the test fails.
2276
22771999-08-23 Andreas Schwab <schwab@suse.de>
a2860282
UD
2278
2279 * posix/regex.c (re_match_2_internal): Correct check for charset
2280 after exactn in loop.
2281
c90a2db6
UD
22821999-08-22 Ulrich Drepper <drepper@cygnus.com>
2283
c107ccd4
UD
2284 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
2285 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2286 Patch by Joel Klecker.
2287
c90a2db6
UD
2288 * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
2289 (__gconv_find_transform): Update prototype.
2290 (__gconv_open): Likewise.
2291 * iconv/gconv_open.c: Take extra parameter and pass it to
2292 __gconv_find_transform.
2293 * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
2294 flags. If GCONV_AVOID_NOCONV flag is set don't return copying
2295 transformation.
2296 * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
2297 * wcsmbs/wcsmbsload.c: Likewise.
2298 * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
2299 iconv for glibc.
2300 * intl/gettextP.h: Likewise.
2301 * intl/loadmsgcat.c: Likewise.
2302
2303 * posix/regexbug1.c: New file.
2304 * posix/Makefile (tests): Add regexbug1.
2305
dc32a7c4
RM
23061999-08-22 Mark Kettenis <kettenis@gnu.org>
2307
2308 * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
2309 * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
2310 installing PORT in the descriptor cell.
2311
23121999-08-19 Roland McGrath <roland@baalperazim.frob.com>
2313
2314 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
2315 TIMEOUT as outputs of the asm to indicate that the signal thread
2316 might mutate them.
2317 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
2318 mach_msg if only sending or only receiving (i.e., not an RPC). When
2319 making an RPC that might get interrupted, save OPTION and the portion
2320 of the message buffer that gets clobbered by an EINTR reply message,
2321 and properly restore them before attempting to retry the request
2322 message send.
2323
ab58d620
UD
23241999-08-21 Mark Kettenis <kettenis@gnu.org>
2325
2326 * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
2327 definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
2328 CHAR_T, UCHAR_T and WIN_T to make the code compile again when
2329 stdio is used instead of libio.
2330 * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
2331 definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
2332 to make the code compile again when stdio is used instead of
2333 libio.
2334 (vfprintf): Only check for correct orientation if ORIENT is
2335 defined.
2336 * stdio-common/Makefile (routines): Only add vfwprintf and
2337 vfwscanf if we're using libio.
2338
23391999-08-21 Mark Kettenis <kettenis@gnu.org>
2340
2341 * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
2342 any additional prototype just as we do for libio.
2343
23441999-08-21 Mark Kettenis <kettenis@gnu.org>
2345
2346 * include/bits/xopen_lim.h: Do not define STREAM_MAX and
2347 TZNAME_MAX. These limits are not X/Open specific.
2348 * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
2349 is defined.
2350
23511999-08-21 Mark Kettenis <kettenis@gnu.org>
2352
2353 * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
2354 UIO_MAXIOV is left undefined in sys/uio.h.
2355 * stdio-common/stdio_lim.h.in: Adapt for change above.
2356
23571999-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2358
2359 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
2360 * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
2361 Patches by Ralf Baechle <ralf@uni-koblenz.de>
2362
fd292f70
UD
23631999-08-21 Ulrich Drepper <drepper@cygnus.com>
2364
2365 * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
2366
f05ce195
UD
23671999-08-20 Ulrich Drepper <drepper@cygnus.com>
2368
c086e2d2
UD
2369 * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
2370
52cea457
UD
2371 * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
2372 call. It should not be necessary andis harmful for Alpha.
2373
a2b3aa73
UD
2374 * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
2375 type. [PR libc/1269]
f95a0015 2376
d13ec59a
UD
2377 * posix/execvp.c (execvp): Allocate array name of correct size.
2378 Optimize inner loop. Use execve directly, not execv.
2379
f05ce195
UD
2380 * elf/elf.h: Corrected SHT_ values from new draft.
2381
6570e194
UD
2382 * intl/gettextP.h (struct loaded_domain): Add conv element.
2383 * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
2384 Instead of returning found message directly convert it using iconv
2385 if a conversion was found when opening the file.
2386 * intl/loadinfo.h: Protect against multiple inclusion.
2387 Declare _nl_find_msg.
2388 * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
2389 in the message file and if necessary find approrpiate
2390 conversion to match currently selected charset.
5a02dce6 2391 * include/libintl.h: Declare __dgettext and __dcgettext.
511a0091 2392 * include/iconv.h: New file.
6570e194 2393
6c85d1e9
UD
23941999-08-20 Andreas Schwab <schwab@suse.de>
2395
2396 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
2397
7195db12
UD
23981999-08-19 Ulrich Drepper <drepper@cygnus.com>
2399
68ea6c18
UD
2400 * sysdeps/unix/sysv/linux/execve.c: New file. This version terminates
2401 all threads [PR libc/1223].
2402
2b638910
UD
2403 * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
2404 [PR libc/1165].
2405
22e65f8f
UD
2406 * configure.in: Search for programs with prefix gnu* and g* first.
2407 [PR libc/1104].
2408
e5cd813b
UD
2409 * dirent/Makefile (routines): Add getdents64.
2410 * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
2411 Remove getdents64.
2412 * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
2413 compiled with _FILE_OFFSET_BITS=64.
2414 * sysdeps/generic/getdents64.c: New file.
2415 * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
2416 __lseek for getdirentries64 definition.
2417
2418 * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
2419
2420 * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
2421 _FILE_OFFSET_BITS=64.
2422
6229c88e
UD
2423 * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
2424 parameter.
2425
2426 * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
2427 after we have the lock.
7195db12
UD
2428
2429 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
2430 Patch by Richard Henderson.
2431
e1b13a63
UD
24321999-08-19 Andreas Schwab <schwab@suse.de>
2433
2434 * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
2435 and call _IO_fwide, to get the wide stream state initialized
2436 correctly. Don't set _IO_JUMPS.
2437 * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
2438 * libio/vswprintf.c (_IO_vswprintf): Likewise. Pass
2439 _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
2440 directly.
2441
24421999-08-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2443
2444 * math/libm-test.c (jn_test): Fix typo in description.
2445 (erfc_test): Add some more tests.
2446 (erf_test): Add some more tests.
2447
24481999-08-19 Andreas Schwab <schwab@suse.de>
2449
2450 * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
2451 expression using $(exceptions).
2452
70b2845f
UD
24531999-08-18 Ulrich Drepper <drepper@cygnus.com>
2454
96ff4937
UD
2455 * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
2456
310f9518
UD
2457 * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
2458 allocated so far. [PR libc/1261].
2459
e62ee1e4
UD
2460 * math/libm-test.c (j0_test): Adjust deltas for m68k.
2461 (jn_test): Likewise.
2462
8353b5f6
UD
2463 * dirent/dirent.h: Only define ino64_t if not already done.
2464 * posix/sys/types.h: Likewise.
2465
70b2845f
UD
2466 * ctype/ctype.h: Avoid useless #endif #if pairs.
2467
2468 * dirent/dirent.h: Define ino_t and ino64_t if not done already.
2469 (seekdir): Fix type of second parameter.
2470 * sysdeps/generic/seekdir.c: Likewise.
2471 * sysdeps/mach/hurd/seekdir.c: Likewise.
2472 * sysdeps/unix/seekdir.c: Likewise.
2473
2474 * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
2475
ad1b5f19
UD
24761999-08-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2477
2478 * manual/install.texi (Configuring and compiling): Clarify ix86
2479 situation.
2480
219aa9e9
UD
24811999-08-18 Ulrich Drepper <drepper@cygnus.com>
2482
2483 * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
2484 * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
2485 * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
2486 stdio_lim.h. Define LONG_BIT and WORD_BIT.
2487
2488 * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
2489
2490 * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
2491
2492 * misc/search.h: Don't define NULL.
2493
2494 * posix/sys/types.h: Define blksize_t if it hasn't happened.
2495 Only define key_t and blkcnt_t if it hasn't happened before.
2496 Define blksize_t if not happened before.
2497 * io/sys/stat.h: Don't define pid_t. Define blkcnt_t and blksize_t.
2498 * sysdeps/generic/bits/types.h: Define __blksize_t.
2499 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2500 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2501 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2502 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2503 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2504 * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
2505 st_blksize member.
2506 (struct stat64): Likewise.
2507 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2508 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
2509 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2510 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2511 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2512 * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
2513 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
2514
2515 * stdlib/getsubopt.c: Correct type of second argument.
2516 * stdlib/stdlib.h: Likewise.
2517
2518 * stdlib/monetary.h: Don't include sys/types.h. Define only size_t
2519 and ssize_t.
2520
2521 * sysdeps/generic/putenv.c: Correct type of parameter.
2522 * stdlib/stdlib.h: Likewise.
2523
2524 * sysdeps/generic/msgsnd.c: Correct type of second parameter.
2525 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
2526 * sysvips/sys/msg.h: Likewise.
2527
2528 * sysdeps/generic/semop.c: Correct type of third parameter.
2529 * sysdeps/unix/sysv/linux/semop.c: Likewise.
2530 * sysvipc/sys/sem.h: Likewise. Don't include sys/types.h, define
2531 size_t.
2532
2533 * sysdeps/generic/shmget.c: Correct type of second parameter.
2534 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
2535 * sysvips/sys/shm.h: Likewise. Don't include unistd.h and sys/types.h.
2536 Declare __getpagesize here.
2537
2538 * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
2539 sys/types.h.
2540 * sysdeps/gnu/bits/ipc.h: Likewise.
2541 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
2542 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
2543 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2544 * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
2545 already done.
2546
2547 * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
2548
2549 * debug/versions: Export __cyg_profile_func_enter and
2550 __cyg_profile_func_exit.
2551
2552 * math/bits/mathcalls.h: Pretty print.
2553
5d08d218
UD
25541999-08-17 Ulrich Drepper <drepper@cygnus.com>
2555
b43f26bb
UD
2556 * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
2557 case for new tzdata.
2558
5a05b367
UD
2559 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
2560 unsigned.
2561 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2562 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2563 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2564 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2565
2566 * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
2567
2568 * sysdeps/generic/ualarm.c (ualarm): Change return value and
2569 parameter type to useconds_t.
2570 * sysdeps/unix/bsd/ualarm.c: Likewise.
2571
2572 * sysdeps/generic/usleep.c (usleep): Change parameter type to
2573 useconds_t.
2574 * sysdeps/unix/sysv/linux/usleep.c: Likewise.
2575 * sysdeps/mach/usleep.c: Likewise.
2576
77f855ed
UD
2577 * locale/weight.h: Include <errno.h>.
2578
7707af89
UD
2579 * posix/sys/types.h: Define type useconds_t if not done already.
2580 * posix/unistd.h: Likewise. Use this in ualarm and usleep
2581 declarations.
2582 * sysdeps/generic/bits/types.h: Define type __useconds_t.
2583 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2584 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2585 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2586 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2587 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2588
56c55d5d
UD
2589 * dirent/dirent.h (telldir): Change return type to long int.
2590 * sysdeps/generic/telldir.c: Likewise.
2591 * sysdeps/mach/hurd/telldir.c: Likewise.
2592 * sysdeps/unix/telldir.c: Likewise.
2593 * sysdeps/unix/bsd/telldir.c: Likewise. Fix locking problem.
2594
5d08d218
UD
2595 * locale/weight.h: Set errno if an invalid character is found.
2596
23f7e58e
UD
25971999-08-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2598
2599 * math/libm-test.c (erfc_test): Add test for example from PR
2600 libc/1259.
2601 (erf_test): Likewise.
5d08d218 2602
d198009a
UD
26031999-08-17 Ulrich Drepper <drepper@cygnus.com>
2604
f1b10858
UD
2605 * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
2606 rewrite. Patch by Alan Stern <stern@kitsilano.rowland.org>.
2607
38c097ca
UD
2608 * timezone/private.h: Update from tzcode1999e.
2609 * timezone/zic.c: Likewise.
2610
2611 * timezone/africa: Update from tzdata1999e.
2612 * timezone/antarctica: Likewise.
2613 * timezone/asia: Likewise.
2614 * timezone/australasia: Likewise.
2615 * timezone/europe: Likewise.
2616 * timezone/leapseconds: Likewise.
2617 * timezone/northamerica: Likewise.
2618 * timezone/southamerica: Likewise.
2619
d198009a
UD
2620 * stdio-common/vfprintf.c (process_string_arg): Correct last patch
2621 and write correct number of bytes in case of %ls with precision.
2622 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2623
34e3c127
UD
26241999-08-16 Ulrich Drepper <drepper@cygnus.com>
2625
aa6adf82
UD
2626 * nscd/nscd.init: Test for kernel version and make LSB compliant.
2627 Patch by Christian Gafton.
2628
23d914d9
UD
2629 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
2630 O_RSYNC. Patch by Christian Gafton.
2631
22318b7b
UD
2632 * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
2633 possibly unterminated strings for %ls when a precision is
2634 specified.
2635 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
2636
34e3c127
UD
2637 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
2638 update_conversion_ptrs.
2639 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2640
0bd537d8
UD
26411999-08-15 Ulrich Drepper <drepper@cygnus.com>
2642
34e3c127
UD
2643 * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
2644 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
0bd537d8
UD
2645
2646 * wcsmbs/Makefile (tests): Add tst-wcsnlen.
2647 * wcsmbs/tst-wcsnlen.c: New file.
2648
0fb653cc
UD
26491999-08-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2650
2651 * libio/ioputs.c (_IO_puts): Add missing brace.
2652
02228370
UD
26531999-07-20 Geoff Keating <geoffk@cygnus.com>
2654
2655 * math/libm-test.c: Tweak deltas for a clean run on ppc.
2656
c9eaa8b9
UD
26571999-08-10 H.J. Lu <hjl@gnu.org>
2658
2659 * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
2660 (vfprintf): Likewise.
2661 * stdio-common/vfscanf.c (ORIENT): Likewise.
2662 * libio/genops.c (__underflow): Likewise.
2663 (__uflow): Likewise.
2664 * libio/iofputs.c (_IO_fputs): Likewise.
2665 * libio/ioftell.c (_IO_ftell): Likewise.
2666 * libio/iofwrite.c (_IO_fwrite): Likewise.
2667 * libio/ioputs.c (_IO_puts): Likewise.
2668 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
2669 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
2670
7d7fe004
UD
26711999-08-15 Ulrich Drepper <drepper@cygnus.com>
2672
2673 * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
2674
6444b087
UD
26751999-08-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2676
2677 * manual/job.texi (Process Group Functions): Document getpgid,
2678 getsid.
2679
3a9eb648
UD
26801999-08-15 Ulrich Drepper <drepper@cygnus.com>
2681
2682 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
2683 initialize si_pid from it.
2684 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
2685 parameter.
2686 * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
2687 * rt/aio_misc.h (struct waitlist): Add caller_pid element.
2688 (struct requestlist): Likewise.
2689 Adjust prototypes of __aio_notify_only and __aio_sigqueue.
13ee446d 2690 * rt/aio_notify.c (__aio_notify_only): Take extra parameter. Pass it
3a9eb648
UD
2691 to __aio_sigqueue.
2692 (__aio_notify): Pass caller PID to __aio_notify_only.
2693 * rt/aio_suspend.c: Initialize caller_pid.
2694 * rt/lio_listio.c: Likewise.
2695 * rt/lio_listio64.c: Likewise.
2696
2697 * rt/lio_listio.c: If nothing has to be done free mutex before
2698 signalling.
2699 * rt/lio_listio64.c: Likewise.
2700
0cc70fcf
UD
27011999-08-10 H.J. Lu <hjl@gnu.org>
2702
13ee446d
UD
2703 * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
2704 handling.
0cc70fcf
UD
2705
27061999-08-15 Ulrich Drepper <drepper@cygnus.com>
2707
2708 * elf/elf.h: Define ElfXX_Versym.
2709 * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
2710 definition.
2711
2712 * stdio-common/vfprintf.c (process_string_arg): Handle precisions
2713 for string output correctly in the wide character case.
2714 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
2715
2716 * intl/locale.alias: Add catalan.
2717
27181999-08-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2719
13ee446d 2720 * manual/install.texi (Configuring and compiling): Mention CFLAGS.
0cc70fcf
UD
2721
27221999-08-15 Ulrich Drepper <drepper@cygnus.com>
2723
2724 * po/pt_BR.po: New file.
2725
27261999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2727
2728 * math/libm-test.c (yn_test): Adjust deltas for i386.
2729 (ccosh_test): Likewise.
2730 (jn_test): Likewise.
2731
27321999-08-15 Ulrich Drepper <drepper@cygnus.com>
2733
2734 * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
2735
ed9c47d9
UD
27361999-08-13 Ulrich Drepper <drepper@cygnus.com>
2737
2738 * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
2739 problem.
2740
2b80a372
UD
27411999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2742
2743 * configure.in: install-sh lives now in scripts subdir.
2744 PR libc/1255 (bug 4).
2745
f9181e0e
UD
27461999-08-13 Ulrich Drepper <drepper@cygnus.com>
2747
0697cdc3
UD
2748 * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
2749 version.
2750
f9181e0e
UD
2751 * po/fr.po: Update.
2752
5a260152
UD
27531999-08-11 Thorsten Kukuk <kukuk@suse.de>
2754
2755 * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
2756
c8bb15ce
UD
27571999-08-13 Ulrich Drepper <drepper@cygnus.com>
2758
5a260152 2759 * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
c8bb15ce
UD
2760 exponent.
2761
27621999-08-10 Andreas Schwab <schwab@suse.de>
2763
2764 * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
2765 header.
2766
e79137b2
UD
27671999-08-09 Scott Bambrough <scottb@netwinder.org>
2768
2769 * elf/elf.h: Added definition of ELFOSABI_ARM.
2770 * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
2771 VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
2772 object's header and ABI values are acceptable.
2773 (VALID_ELF_HEADER): New macro; provide default definition.
2774 (VALID_ELF_OSABI): New macro; provide default definition.
2775 (VALID_ELF_ABIVERSION): New macro; provide default definition.
2776 * sysdeps/arm/dl-machine.h Define ARM specific versions of
2777 VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
2778
27791999-08-09 Andreas Schwab <schwab@suse.de>
2780
2781 * inet/tst-ipnode.c (main): Don't compare integer with NULL.
2782
27831999-08-09 Thorsten Kukuk <kukuk@suse.de>
2784
2785 * sunrpc/svc_run.c (svc_run): Free my_pollfd.
2786
27871999-08-09 Andreas Schwab <schwab@suse.de>
2788
2789 * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
2790
87843f15
UD
27911999-08-08 Ulrich Drepper <drepper@cygnus.com>
2792
91873684
UD
2793 * sysdeps/ieee754/ieee754.h: Handle platforms with special
2794 __FLOAT_WORD_ORDER. Patch by Joel Klecker <jk@espy.org>.
2795
87843f15
UD
2796 * string/bits/string2.h: Mark void* operations as extensions.
2797 * sysdeps/i386/i486/bits/string.h: Likewise.
2798
2799 * debug/Makefile (routines): Add noophooks.
2800 (extra-libs): Add libpcprofile. Add rules to build libpcprofile.
2801 * debug/noophooks.c: New file.
2802 * debug/pcprofile.c: New file.
2803
7aa6d208
UD
28041999-08-06 Ulrich Drepper <drepper@cygnus.com>
2805
754549b3
UD
2806 * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
2807 systems which allow using the functions also on non-seekable
2808 devices.
2809
3ac3f380
UD
2810 * resolv/res_send.c (res_send): Recompute timeout for poll for
2811 each jump to `wait'.
2812
f79973fa
UD
2813 * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
2814 braces to avoid warnings.
2815 (IN6ADDR_LOOPBACK_INIT): Likewise.
2816
7aa6d208
UD
2817 * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
2818 MSG_DONTWAIT).
2819
f341c297
UD
28201999-08-06 H.J. Lu <hjl@gnu.org>
2821
2822 * malloc/malloc.c: Initialize __libc_pagesize early.
2823
93160baa
UD
28241999-08-06 Ulrich Drepper <drepper@cygnus.com>
2825
544e1130
UD
2826 * string/string-inlines.c: Undefined __USE_STRING_INLINES before
2827 defining it.
2828
5ab1c033 2829 * inet/Makefile (tests): Add tst-ipnode.
93160baa
UD
2830 * inet/tst-ipnode.c: New file.
2831
c79772f5
UD
28321999-08-06 Andreas Schwab <schwab@suse.de>
2833
2834 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
2835 New definitions.
2836 (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
2837 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
2838 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
2839 New definitions.
2840 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
2841 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
2842
652df710
UD
28431999-08-06 Jakub Jelinek <jj@ultra.linux.cz>
2844
2845 * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
2846 * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
2847 * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
2848
0cebbf51
UD
28491999-08-06 Ulrich Drepper <drepper@cygnus.com>
2850
2851 * resolv/res_send.c (res_send): Don't test file descriptor for
2852 range, we use poll now. [PR libc/1240]
2853
6eead9b4
UD
28541999-08-05 Ulrich Drepper <drepper@cygnus.com>
2855
2856 * libio/genops.c (_IO_flush_all): Don't access elements beyond what
2857 2.0 defined if they are not available.
2858
b85f2e87
UD
28591999-08-05 Thorsten Kukuk <kukuk@suse.de>
2860
2861 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
2862 Define.
2863
4bea7a2e
UD
28641999-08-04 Ulrich Drepper <drepper@cygnus.com>
2865
2866 * rt/aio_read.c: Fix return value.
2867 * rt/aio_read64.c: Likewise.
2868 Reported by Christian Gafton.
2869
f6948bdc
UD
2870 * rt/aio_write.c: Fix return value.
2871 * rt/aio_write64.c: Likewise.
d65ddb34 2872 * rt/aio_fsync.c: Likewise.
f6948bdc 2873
4bea7a2e
UD
2874 * rt/aio_misc.c: Set errno at correct place.
2875
cfafc6fd
UD
2876 * rt/aio_fsync.c: Test OP parameter for correct values.
2877
4a900f3b
UD
2878 * hesiod/hesiod.c: Avoid emitting rcsid in object file.
2879
2f638d5e
UD
28801999-08-04 Andreas Schwab <schwab@suse.de>
2881
2882 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
2883 Initialize result to one.
2884 (GET_NPROCS_CONF_PARSER): Likewise.
2885
630b9a59
UD
28861999-08-03 Ulrich Drepper <drepper@cygnus.com>
2887
2888 * inet/ether_hton.c: Pass errno pointer to NSS function.
2889 * inet/getnetgrent_r.c: Likewise.
2890 Reported by Marty Leisner <leisner@rochester.rr.com>.
2891
d6f6ffa1
UD
28921999-08-02 Thorsten Kukuk <kukuk@suse.de>
2893
2894 * nis/nis_callback.c: Fix port problem on big-endian machines
2895 * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
2896 fields are always 32 bit.
2897 Patches from Paul Mackerras <paulus@cs.anu.edu.au>
2898
2899 * nis/nss_nis/nis-service.c: Remove htons, port is always in
2900 network-byte-order.
2901 * nis/nss_nisplus/nisplus-service.c: Rename number to port.
2902
4bdd6453
UD
29031999-08-03 Andreas Schwab <schwab@suse.de>
2904
2905 * sysdeps/posix/sigset.c: Unblock the signal after setting its
2906 disposition. Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
2907 avoid two calls to sigprocmask.
2908
d03db7f0
UD
29091999-08-02 Ulrich Drepper <drepper@cygnus.com>
2910
2911 * sysdeps/generic/s_nexttowardf.c: Fix typo.
2912
7b19af68
UD
29131999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
2914
2915 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
2916 Only allow rt signal frames. No SA_SIGINFO signals will have the
2917 siginfo_t just not filled out with SI_NOINFO code.
2918 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
2919 (register_dump): Take the above change into account.
2920 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
2921 (rt_signal_frame): Likewise.
2922
2923 * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
2924
249fd241
UD
29251999-08-02 Thorsten Kukuk <kukuk@suse.de>
2926
b533f96f 2927 * nis/nis_callback.c (internal_nis_do_callback): Use poll()
249fd241
UD
2928 instead of select().
2929
29301999-08-02 Ulrich Drepper <drepper@cygnus.com>
2931
2932 * sysdeps/generic/s_nextafter.c: Define __nexttoward and
2933 nexttoward so something else so that aliasing works.
2934
29351999-08-02 Thorsten Kukuk <kukuk@suse.de>
2936
2937 * sysdeps/generic/math_ldbl.h: Fix typo.
2938 * sysdeps/generic/strtold.c: Remove unbalanced #endif.
2939 * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
2940
29411999-08-02 Ulrich Drepper <drepper@cygnus.com>
2942
2943 * elf/resolvfail.c: Include stdio.h. Also test dlerror.
2944
4f2793d4
UD
29451999-08-01 Ulrich Drepper <drepper@cygnus.com>
2946
ff5fad16
UD
2947 * elf/Makefile (tests): Add resolvfail. Add rules to build the
2948 program.
2949 * elf/resolvfail.c: New file.
2950
4f2793d4
UD
2951 * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
2952 pass it to _dl_lookup_symbol.
2953
2954 * elf/dl-error.c (_dl_signal_error): Optimize string generation a
2955 bit. Reword message.
2956
2957 * dlfcn/dlerror.c: Make code thread-safe.
2958
549c48e7
RM
29591999-07-31 Roland McGrath <roland@baalperazim.frob.com>
2960
2961 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
2962 initializer in CHECK: a bit size, not the type code repeated!
2963
8685bf13
UD
29641999-07-31 Ulrich Drepper <drepper@cygnus.com>
2965
2966 * string/tester.c: Add tests with constant arguments for strcpy
2967 and stpcpy.
2968
83f6a990
UD
29691999-07-31 H.J. Lu <hjl@gnu.org>
2970
2971 * string/bits/string2.h (__strcpy_small): Fix a typo.
2972
899a2827
UD
29731999-07-31 Ulrich Drepper <drepper@cygnus.com>
2974
f01010de
UD
2975 * Makeconfig (link-libc): Always define it, not only for shared
2976 builds.
2977
899a2827
UD
2978 * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
2979 * sysdeps/i386/fpu/e_powf.S: Likewise.
2980 * sysdeps/i386/fpu/e_powl.S: Likewise. [PR libc/1213].
2981
2982 * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
2983 * sysdeps/generic/e_gammal_r.c: Likewise. [PR libc/1212].
2984
bdb04ee8
UD
29851999-07-30 Andreas Schwab <schwab@suse.de>
2986
2987 * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
2988 definition.
2989 (__get_nprocs): Use it.
2990 (__get_nprocs_conf): Define as separate function if
2991 GET_NPROCS_CONF_PARSER is defined.
2992 * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
2993
2994 * include/sys/sysinfo.h: New file.
2995 * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
2996 interface.
2997 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
2998
29991999-07-30 H.J. Lu <hjl@gnu.org>
3000
3001 * libio/iofflush.c (fflush_unlocked): Weak aliase if
3002 _IO_MTSAFE_IO is not defined.
3003 * libio/clearerr.c (clearerr_unlocked): Likewise.
3004 * libio/feof.c (feof_unlocked): Likewise.
3005 * libio/ferror.c (ferror_unlocked): Likewise.
3006 * libio/fputc.c (fputc_unlocked): Likewise.
3007 * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
3008 * libio/getchar.c (getchar_unlocked): Likewise.
3009 * libio/putc.c (putc_unlocked): Likewise.
3010 * libio/putchar.c (putchar_unlocked): Likewise.
3011
30121999-07-30 Thorsten Kukuk <kukuk@suse.de>
3013
3014 * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
3015 svc_max_pollfd and svc_pollfd to GLIBC_2.2
3016 * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
3017 for svc_run/poll interface.
3018 * sunrpc/rpc/types.h: Add rpc*_t typedefs.
3019 * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
3020 global variable.
3021 * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
3022 rewrite other svc_getreq* functions to use svc_getreq_common.
3023 * sunrpc/svc_run.c: Use poll().
3024
30251999-07-30 Andreas Schwab <schwab@suse.de>
3026
3027 * Makerules: Put sysd-versions and Versions.all on
3028 postclean-generated instead of common-generated.
3029
30301999-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3031
3032 * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
3033 around and CLOCKS_PER_SEC is 1e6.
3034
94ffedf6
UD
30351999-07-30 Ulrich Drepper <drepper@cygnus.com>
3036
3d558f4e
UD
3037 * configure.in: Add test for local label subtraction.
3038 * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
3039 * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
3040 labels to reduce number of runtime relocations and move jump
3041 tables in read-only seciton.
3042
94ffedf6
UD
3043 * malloc/malloc.c (ptmalloc_init): Correct last patch. The
3044 assignment cannot be moved.
3045
53308042
UD
30461999-07-29 H.J. Lu <hjl@gnu.org>
3047
66f8fa9b
UD
3048 * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
3049 if no threads are used.
3050
3051 * libio/iofwrite.c: Add weak alias for _unlocked function if not
3052 _IO_MTSAFE_IO.
3053 * libio/iofread.c: Likewise.
3054 * libio/iofgets.c: Likewise.
3055 * libio/iofputs.c: Likewise.
3056
3057 * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
3058 definition.
3059
53308042
UD
3060 * stdlib/mbtowc.c: Include <string.h>.
3061 * stdlib/wctomb.c: Likewise.
3062 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
3063 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
3064
3065 * misc/mntent_r.c: Include <alloca.h>.
3066 * elf/dl-runtime.c: Likewise.
3067
f9a2a636
UD
30681999-07-29 Andreas Schwab <schwab@suse.de>
3069
3070 * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
3071 all floating point formats supported by gcc. Error out for
3072 unhandled precisions.
3073 * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
3074 * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
3075 * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
3076
ea3e6a3a
UD
30771999-07-29 Ulrich Drepper <drepper@cygnus.com>
3078
de4a40d0
UD
3079 * sysdeps/generic/setenv.c: Move setenv code in new function
3080 __add_to_environ. Add new parameter specifying already
3081 constructed string for the environment.
3082 (setenv): Call __add_to_environ with new parameter set to NULL.
3083 (unsetenv): Really test all elements for duplicated name. Missed those
3084 cases where the two are following each other.
3085 * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
3086 * include/stdlib.h: Add prototype of __add_to_environ.
3087 * stdlib/tst-environ.c: New file.
dbc75fb3 3088 * stdlib/Makefile (tests): Add tst-environ.
de4a40d0 3089
9031847d
UD
3090 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
3091
ea3e6a3a
UD
3092 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
3093 argument in realloc call.
3094 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
3095 Likewise.
3096 Reported by Danny Braniss <danny@cs.huji.ac.il>.
3097
b113c12c
UD
30981999-07-28 Ulrich Drepper <drepper@cygnus.com>
3099
3100 * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
3101 to print.
3102 * misc/efgcvt_r.c: Likewise.
3103 * misc/qefgcvt.c: Likewise.
3104 * misc/qefgcvt_r.c: Likewise.
3105 * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
3106 anymore.
3107
aa847ee5
UD
31081999-07-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3109
3110 * manual/math.texi (FP Function Optimization): Mention drawbacks.
3111
9f097308
UD
31121999-07-28 Ulrich Drepper <drepper@cygnus.com>
3113
3114 * stdlib/mblen.c: Use static state.
3115 Reported by Bruno Haible <haible@ilog.fr>.
3116
3117 * stdlib/mbtowc.c: Reset state for s == NULL.
3118 * stdlib/wctomb.c: Likewise.
3119 Reported by Bruno Haible <haible@ilog.fr>.
3120
3121 * stdlib/mbstowcs.c: Do not use global state.
3122 Reported by Bruno Haible <haible@ilog.fr>.
3123
97a0d44d
UD
31241999-07-28 Andeas Schwab <schwab@suse.de>
3125
3126 * iconvdata/Makefile: Don't try to run iconv tests when cross
3127 compiling.
3128
50d3390d
RM
31291999-07-27 Mark Kettenis <kettenis@gnu.org>
3130
3131 * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
3132 assembler code to switch stacks and call init1 outside this
3133 function. Inside `init' the code was optimized away by gcc
3134 2.95 since it was "clearly" unreachable.
3135 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
3136 Do something similar for the trampoline code.
3137
7396d844
UD
31381999-07-27 Ulrich Drepper <drepper@cygnus.com>
3139
3140 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
3141 for the hinted protocol.
3142
e69dbc25
UD
31431999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3144
3145 * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
3146
a1eca9f3
UD
31471999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
3148
3149 * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
3150 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
3151 * elf/dl-load.c (_dl_map_object): Likewise.
3152 * elf/do-lookup.h (do_lookup*): Likewise.
3153 * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
7396d844 3154 * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
a1eca9f3
UD
3155 as uint64_t.
3156 * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
3157
b7375f6c
UD
31581999-07-26 Ulrich Drepper <drepper@cygnus.com>
3159
650364fa
UD
3160 * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
3161 * sysdeps/generic/getpgrp.c: Likewise.
3162 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
3163 * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
3164 Patch by John Tobey <jtobey@banta-im.com>.
3165
b7375f6c
UD
3166 * sysdeps/posix/wait3.c: Help compiling in presence of
3167 __transparent_union__. Reported by John Tobey <jtobey@banta-im.com>.
3168
8cb079d4
UD
31691999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
3170
3171 * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
3172 as much as possible. Declare them using .register pseudo-op if they
3173 are still used.
3174 * sysdeps/sparc/sparc64/lshift.S: Likewise.
3175 * sysdeps/sparc/sparc64/memchr.S: Likewise.
3176 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3177 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3178 * sysdeps/sparc/sparc64/memset.S: Likewise.
3179 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3180 * sysdeps/sparc/sparc64/rshift.S: Likewise.
3181 * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
3182 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3183 * sysdeps/sparc/sparc64/strcat.S: Likewise.
3184 * sysdeps/sparc/sparc64/strchr.S: Likewise.
3185 * sysdeps/sparc/sparc64/strcmp.S: Likewise.
3186 * sysdeps/sparc/sparc64/strcpy.S: Likewise.
3187 * sysdeps/sparc/sparc64/strcspn.S: Likewise.
3188 * sysdeps/sparc/sparc64/strlen.S: Likewise.
3189 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3190 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3191 * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
3192 * sysdeps/sparc/sparc64/strspn.S: Likewise.
3193 * sysdeps/sparc/sparc64/sub_n.S: Likewise.
3194 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3195 Optimize trampoline code for .plt4-.plt32767.
3196 Fix trampolines for .plt32768+.
3197
f05f5ca3
UD
31981999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
3199
3200 * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
3201 -mcpu=v8.
3202 * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
3203 * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
3204 libc's private use (as assembly routine clobber it anyway).
3205
32061999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3207
3208 * README.template (configurations): The crypt add-on has a new
3209 ftp site.
3210 * manual/install.texi (Installation): Likewise.
3211
be1dd949
UD
32121999-07-26 Ulrich Drepper <drepper@cygnus.com>
3213
252ff6b6
UD
3214 * time/time.h: Add forward for struct sigevent. Unix98 maybe
3215 requires to have a full definition but we wait for a bug report
3216 based on the test suite.
3217
be1dd949
UD
3218 * sysdeps/generic/clock_getres.c: New file.
3219 * sysdeps/generic/clock_gettime.c: New file.
3220 * sysdeps/generic/clock_settime.c: New file.
3221 * sysdeps/generic/timer_create.c: New file.
3222 * sysdeps/generic/timer_delete.c: New file.
3223 * sysdeps/generic/timer_getoverr.c: New file.
3224 * sysdeps/generic/timer_gettime.c: New file.
3225 * sysdeps/generic/timer_settime.c: New file.
3226
3227 * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
3228 CLOCK_REALTIME, and TIMER_ABSTIME.
3229 * sysdeps/mach/hurd/bits/time.h: Likewise.
3230 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
3231 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
3232
3233 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
3234
3235 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
3236 si_timer2.
3237
3238 * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
3239
3240 * time/Makefile (routines): Add clock_getres, clock_gettime,
3241 clock_setres, timer_create, timer_delete, timer_getoverr,
3242 timer_gettime, and timer_settime.
3243
3244 * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
3245 POSIX.1b. Add prototypes for clock and timer functions.
3246
ed664e8e
RM
32471999-07-26 Roland McGrath <roland@baalperazim.frob.com>
3248
3249 * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
3250 Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
3251
b8a423c2
UD
32521999-07-26 Ulrich Drepper <drepper@cygnus.com>
3253
ff5c72ff
UD
3254 * stdlib/wcstombs.c: Do not use global state.
3255 Reported by Bruno Haible <haible@ilog.fr>.
3256
eea35053
UD
3257 * wcsmbs/wctob.c: Avoid sign extension when returning character.
3258 Reported by Bruno Haible <haible@ilog.fr>.
3259
b8a423c2
UD
3260 * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
3261 of wide characters to convert do it right and don't overestimate
3262 by multiplying with MB_CUR_MAX.
3263 Reported by Bruno Haible <haible@ilog.fr>.
3264
b18ac18e
UD
32651999-07-26 Jakub Jelinek <jj@ultra.linux.jz>
3266
3267 * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
3268 (__stpcpy_small): Likewise.
3269 Union has no __uc member but __c.
3270
c4bf3226
AS
32711999-07-26 Andreas Schwab <schwab@suse.de>
3272
3273 * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
3274
722c33bb
UD
32751999-07-25 Ulrich Drepper <drepper@cygnus.com>
3276
f1778711
UD
3277 * libio/iofclose.c (_IO_new_fclose): Only fall back on
3278 _IO_old_fclose if doing versioning.
3279
c7f7281e
UD
3280 * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
3281 them appropriately.
3282 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3283
b0b422e8
UD
3284 * misc/mntent_r.c: Allow spaces and tabs in entry names by
3285 encoding these characters.
63f7cb44 3286 * misc/tst-mntent.c: Add test case for addmntent and getmntent.
b0b422e8 3287
722c33bb
UD
3288 * string/bits/string2.h: Fix aliasing problems.
3289 * sysdeps/i386/i486/bits/string.h: Likewise.
3290 * sysdeps/i386/bits/string.h: Likewise.
3291
32921998-12-28 Geoff Keating <geoffk@ozemail.com.au>
3293
3294 * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
3295 * elf/rtld.c (dl_main): Don't call malloc() between
3296 re-relocating the dynamic linker and running the application's crt0.
3297
32981999-07-21 Paul D. Smith <psmith@gnu.org>
3299
3300 * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
3301 glob.h to get __P() macro.
3302
3303 * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
3304 not ANSI.
3305 (__strchrnul): This won't exist outside GLIBC, so create one.
3306
33071999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
3308
3309 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
3310 __ino64_t should be 32bit unsigned type on sparc32.
3311 Define __off64_t to __quad_t instead of __int64_t.
3312 Make __pic_pid_t unsigned on sparc32.
3313
33141999-07-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3315
3316