]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a9b5d2ee
UD
11999-10-25 Thorsten Kukuk <kukuk@suse.de>
2
3 * md5-crypt/md5.h: Remove prototypes for public interface. md5 is
4 used only internal.
5 * md5-crypt/md5-crypt.c: Use internal names for md5 functions,
6 remove weak alias for public names.
7 * md5-crypt/md5.c: Remove weak aliase.
8
91999-10-25 Andreas Jaeger <aj@suse.de>
10
11 * math/README.libm-test: New file, documents libm-test.inc.
12
131999-10-25 Andreas Jaeger <aj@suse.de>
14
15 * math/gen-libm-test.pl: Only generate a new ulps file when -n is
16 given.
17 (print_ulps_file): Fix loops to not read @tests and @functions
18 since those are not initialized with -n now.
19 (parse_ulps): Set $results{..}{"kind"}.
20
3a8e65a0
UD
211999-10-25 Andreas Jaeger <aj@suse.de>
22
23 * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.
24
25 * math/libm-test.inc (check_float_internal): Don't print ulps for
26 wrong sign of zero.
27
fc4de705
UD
281999-10-20 Andreas Jaeger <aj@suse.de>
29
30 * manual/socket.texi (Address Formats): Describe usage of AF_UNIX
31 versus AF_LOCAL.
32 Patch by Robert Bihlmeyer <robbe@orcus.priv.at>.
33
15daa639
UD
341999-10-24 Ulrich Drepper <drepper@cygnus.com>
35
36 * math/libm-test.inc: Disable some boundary case tests for inline
37 function testing.
38
39 * math/math.h: Pretty printing.
40
41 * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN.
42 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44 * sysdeps/i386/fpu/e_log10.S: Likewise.
45 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47 * sysdeps/i386/fpu/s_log1p.S: Likewise.
48 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50 * sysdeps/i386/fpu/s_log2.S: Likewise.
51 * sysdeps/i386/fpu/s_log2f.S: Likewise.
52 * sysdeps/i386/fpu/s_log2l.S: Likewise.
53
54 * sysdeps/i386/fpu/libm-test-ulps: New file.
55
56 * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return
57 value for x == 0.
58 (pow): Correct case x == 0.
59 (__sgn1l): Correct handling of -0.0.
60
611999-10-22 Andreas Jaeger <aj@suse.de>
62
63 * math/libm-test.inc (asinh_test): Add test for NaN as input parameter.
64 (atan_test): Likewise.
65 (atanh_test): Likewise.
66 (atan2_test): Likewise.
67 (carg_test): Likewise.
68 (ceil_test): Likewise.
69 (cos_test): Likewise.
70 (cosh_test): Likewise.
71 (cpow_test): Likewise.
72 (erf_test): Likewise.
73 (erfc_test): Likewise.
74 (exp_test): Likewise.
75 (exp10_test): Likewise.
76 (exp2_test): Likewise.
77 (expm1_test): Likewise.
78 (fabs_test): Likewise.
79 (floor_test): Likewise.
80 (fmod_test): Likewise.
81 (gamma_test): Likewise.
82 (lgamma_test): Likewise.
83 (log10_test): Likewise.
84 (log1p_test): Likewise.
85 (log2_test): Likewise.
86 (logb_test): Likewise.
87 (nearbyint_test): Likewise.
88 (remainder_test): Likewise.
89 (remquo_test): Likewise.
90 (sin_test): Likewise.
91 (sincos_test): Likewise.
92 (sinh_test): Likewise.
93 (sqrt_test): Likewise.
94 (tan_test): Likewise.
95 (tanh_test): Likewise.
96 (tgamma_test): Likewise.
97
e11d6a7d
UD
981999-10-21 Ulrich Drepper <drepper@cygnus.com>
99
eb3bf573
UD
100 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y.
101
102 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special.
103
104 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check
105 for -Inf and return NaN.
106
e11d6a7d
UD
107 * configure.in: Correct test for Cygnus gcc versions.
108
0cdc8e6f
UD
1091999-10-21 Andreas Jaeger <aj@suse.de>
110
111 * math/libm-test.inc (cimag_test): New function, tests cimag.
112 (creal_test): New function, tests creal.
113 (conj_test): New function, tests conj.
114 (main): Add new functions.
115
6815fabc
UD
1161999-10-20 Andreas Jaeger <aj@suse.de>
117
118 * math/libm-test.inc: Rewrite to allow different deltas for real
119 and imaginary part of complex functions.
120 * math/gen-libm-test.pl: Likewise.
121
f30e0cd3
UD
1221999-10-19 Ulrich Drepper <drepper@cygnus.com>
123
124 * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
125 aliases.
126
127 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.
128
129 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
130 for -Inf and return NaN.
131
132 * math/gen-libm-test.pl: Fix program name in help message.
133
134 * math/libm-test.inc (check_complex): It's Imaginary, not Complex.
135
136 * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.
137
138 * sysdeps/i386/Implies: Correct order of libm directories.
139
fe559c5e
UD
1401999-10-19 Andreas Jaeger <aj@suse.de>
141
142 * include/bits/ipc.h: Remove K&R compatibility.
143 * include/libintl.h: Likewise.
144 * include/math.h: Likewise.
145 * include/mntent.h: Likewise
146 * include/netdb.h: Likewise.
147 * include/pwd.h: Likewise.
148 * include/sched.h: Likewise.
149 * include/shadow.h: Likewise
150 * include/stdlib.h: Likewise.
151 * include/sys/file.h: Likewise.
152 * include/sys/gmon.h: Likewise.
153 * include/sys/ioctl.h: Likewise.
154 * include/sys/mman.h: Likewise.
155 * include/sys/resource.h: Likewise.
156 * include/sys/socket.h: Likewise.
157 * include/sys/stat.h: Likewise.
158 * include/sys/sysinfo.h: Likewise.
159 * include/sys/time.h: Likewise.
160 * include/sys/times.h: Likewise.
161 * include/sys/uio.h: Likewise.
162 * include/sys/wait.h: Likewise.
163 * include/termios.h: Likewise.
164 * include/time.h: Likewise.
165 * include/ulimit.h: Likewise.
166 * include/utmp.h: Likewise.
167 * include/wchar.h: Likewise.
168 * include/wctype.h: Likewise.
169
1701999-10-19 Andreas Jaeger <aj@suse.de>
171
172 * math/libm-test.inc: Remove one K&R compatibility.
173 (main): Enable nexttoward_test.
174
175 * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
176 libm-test-ulps.h; pretty print output a bit.
177
1781999-10-19 Andreas Jaeger <aj@suse.de>
179
180 * iconv/iconv_prog.c (main): Set exit value in case that reading
181 from stdin failed [PR libc/1404].
182
8847214f
UD
1831999-10-18 Andreas Jaeger <aj@suse.de>
184
185 Added improved math testsuite:
186 * math/libm-test.inc: New file, contains all tests from
187 libm-test.c but in a different form.
188 * math/libm-test.c: Removed.
189 * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file.
190 * math/gen-libm-test.pl: New file: Preprocessor.
191 * math/test-double.c: Adopted to new testsuite.
192 * math/test-idouble.c: Likewise.
193 * math/test-float.c: Likewise.
194 * math/test-ifloat.c: Likewise.
195 * math/test-ldouble.c: Likewise.
196 * math/test-ildoubl.c: Likewise.
197 * math/Makefile: Added rules to generate new suite.
198
4d3a563f
UD
1991999-10-18 Ulrich Drepper <drepper@cygnus.com>
200
4dba81ea
UD
201 * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
202 Patch by J. Richard Sladkey <jrs@world.std.com>.
203
4d3a563f
UD
204 * scripts/config.sub: Update from latest autoconf version.
205 * scripts/config.guess: Likewise.
206
2071999-10-18 Andreas Jaeger <aj@suse.de>
208
209 * inet/arpa/inet.h: Remove K&R compatibility.
210 * math/fenv.h: Likewise.
211
2121999-10-18 Andreas Jaeger <aj@suse.de>
213
214 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
215 kernel_sigaction): Remove K&R compatibility.
216 * sysdeps/unix/sysv/linux/net/if.h: Likewise.
217 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
218 * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
219 * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
220 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
221 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
222 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
223 * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
224 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
225 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
226 * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
227 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
228 * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
229 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
230 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
231 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
232 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
233
2341999-10-18 Andreas Jaeger <aj@suse.de>
235
236 * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
237 Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
238
2391999-10-18 Ulrich Drepper <drepper@cygnus.com>
240
241 * po/gl.po: New file.
242
2431999-10-18 Andreas Schwab <schwab@suse.de>
244
245 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
246 namespace selection.
247
2481999-10-18 Andreas Schwab <schwab@suse.de>
249
250 * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
251 clash with the TERM environment variable.
252
2531999-10-18 Andreas Jaeger <aj@suse.de>
254
255 * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
256 returns now NaN + i NaN.
257 * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
258 * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
259
2601999-10-18 Andreas Jaeger <aj@suse.de>
261
262 * include/aio.h: Remove K&R compatiblity.
263 * include/alloca.h: Likewise.
264 * include/db.h: Likewise.
265 * include/dirent.h: Likewise.
266 * include/fcntl.h: Likewise.
267 * include/fpu_control.h: Likewise.
268 * include/glob.h: Likewise.
269 * include/grp.h: Likewise.
270 * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
271 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
272 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
273 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
274
275 * include/execinfo.h: Add __THROW.
276
2771999-10-18 Ulrich Drepper <drepper@cygnus.com>
278
279 * sysdeps/mips/Implies: Remove wordsize-32 reference.
280 * sysdeps/mips/mips3/Implies: Add it here.
281
ef5d6645
UD
2821999-10-17 Ulrich Drepper <drepper@cygnus.com>
283
284 * elf/elf.h: Add various platform and architecture extensions.
285
286 * locale/lc-collate.c (_nl_postload_collate): Disable code for now.
287 * locale/setlocale.c (setlocale): Don't call _nl_find_locale for
288 LC_ALL.
289
290 * socket/sys/socket.h: Remove K&R compatibility.
291
2921999-10-16 Andreas Jaeger <aj@suse.de>
293
294 * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
295
2961999-10-15 Andreas Jaeger <aj@suse.de>
297
298 * stdlib/Makefile (tests): Added tst-xpg-basename.
299
300 * stdlib/tst-xpg-basename.c: New test file.
301
3e1e749e
UD
3021999-10-14 Cristian Gafton <gafton@redhat.com>
303
304 * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
305
907ea199
UD
3061999-10-14 Andreas Jaeger <aj@suse.de>
307
1bf60c01
UD
308 * resolv/inet_addr.c (inet_aton): Fix last patch. The little
309 endian version works for both endiannesses.
310
907ea199
UD
311 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
312 seconds.
313
d4c5cf80
UD
3141999-10-12 Ulrich Drepper <drepper@cygnus.com>
315
252470b6
UD
316 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
317 register names unconditionally, only if __USE_GNU.
318
08920a50
UD
319 * debug/Makefile: Fix rules to generate pcprofiledump.
320
43c1dd0f
UD
321 * include/ucontext.h: New file.
322
d4c5cf80
UD
323 * locale/setlocale.c: Fix gcc warning about uninitialized variable.
324
39d1d4e5
UD
3251999-10-12 Andreas Jaeger <aj@suse.de>
326
327 * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
328
329 * math/basic-test.c: Fix typo.
330
331 * locale/programs/xstrdup.c: Include string.h for glibc
332 compilation to get string prototypes.
333
334 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
335 gregset_t and fpregset_t.
336
337 * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
338 warnings. Correct value for x == 0.
339
340 * argp/argp-help.c: Remove broken definition of flockfile and
341 funlockfile.
342
3431999-10-12 Andreas Schwab <schwab@suse.de>
344
345 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
346 generic Linux version.
347
3481999-10-12 Ulrich Drepper <drepper@cygnus.com>
349
350 * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
351
48ac0597
UD
3521999-10-11 Ulrich Drepper <drepper@cygnus.com>
353
6df659be
UD
354 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
355 and fpregset_t definitions.
356
48ac0597
UD
357 * malloc/memprof.c (GETSP): Define for PowerPC.
358 (GETTIME): Fix generic version.
359
0d57f695
UD
3601999-10-10 Philip Blundell <philb@gnu.org>
361
362 * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
363 __BYTE_ORDER.
364
217eb19b
UD
3651999-10-11 Ulrich Drepper <drepper@cygnus.com>
366
acf47bbe
UD
367 * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
368 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
369 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
370 * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
38a29b57 371
217eb19b
UD
372 * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
373
374 * sysdeps/powerpc/e_sqrt.c: Moved to...
375 * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
376 * sysdeps/powerpc/e_sqrtf.c: Moved to...
377 * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
378
379 * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
380 * sysdeps/powerpc/sub_n.S: Likewise.
381 * sysdeps/powerpc/strlen.S: Likewise.
382 * sysdeps/powerpc/strcpy.S: Likewise.
383 * sysdeps/powerpc/strcmp.S: Likewise.
384 * sysdeps/powerpc/strchr.S: Likewise.
385 * sysdeps/powerpc/stpcpy.S: Likewise.
386 * sysdeps/powerpc/setjmp.S: Likewise.
387 * sysdeps/powerpc/rshift.S: Likewise.
388 * sysdeps/powerpc/ppc-mcount.S: Likewise.
389 * sysdeps/powerpc/mul_1.S: Likewise.
390 * sysdeps/powerpc/memset.S: Likewise.
391 * sysdeps/powerpc/lshift.S: Likewise.
392 * sysdeps/powerpc/dl-start.S: Likewise.
393 * sysdeps/powerpc/bzero.S: Likewise.
394 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
395 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
396 * sysdeps/powerpc/addmul_1.S: Likewise.
397 * sysdeps/powerpc/add_n.S: Likewise.
398 * sysdeps/powerpc/__longjmp.S: Likewise.
399 * sysdeps/powerpc/elf/start.S: Likewise.
400
4011999-10-11 Cristian Gafton <gafton@redhat.com>
402
403 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
df08cc56 404 SA_SIGINFO.
217eb19b 405
be9cd93a
UD
4061999-10-10 Ulrich Drepper <drepper@cygnus.com>
407
cc97b1e5
UD
408 * stdlib/atexit.c (initial): New variable. Use to initialize
409 __exit_funcs.
bca9f4ab 410 * stdlib/exit.c (exit): Beware to not free statically allocated
cc97b1e5
UD
411 list element [PR libc/1305].
412
64ad0de2
UD
413 * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
414 slash before the basename [PR libc/1383].
415
416 * argp/argp.h: Fix typo in last patch.
417
be9cd93a
UD
418 * sysdeps/powerpc/sysdep.h: New file.
419 * sysdeps/unix/powerpc/sysdep.h: New file.
420 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
421 sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
422 * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
423 instead of bare numbers.
424 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
425 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
426 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
427
428 * sysdeps/hppa/sysdep.h: New file.
429
a73b0d84
UD
4301999-10-10 Andreas Jaeger <aj@suse.de>
431
432 * misc/sgtty.h: Fix typo in last patch.
433
a3b799d6
UD
4341999-10-09 Ulrich Drepper <drepper@cygnus.com>
435
2293395f
UD
436 * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
437 * sysdeps/powerpc/s_copysign.S: Move to...
438 * sysdeps/powerpc/fpu/s_copysign.S: ...here. Use portable asm syntax.
439 * sysdeps/powerpc/s_copysignf.S: Move to...
440 * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
441 * sysdeps/powerpc/s_fabs.S: Move to...
442 * sysdeps/powerpc/fpu/s_fabs.S: ...here. Use portable asm syntax.
443 * sysdeps/powerpc/s_fabsf.S: Move to...
444 * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
445 * sysdeps/powerpc/s_fdim.c: Move to...
446 * sysdeps/powerpc/fpu/s_fdim.c: ...here.
447 * sysdeps/powerpc/s_fdimf.c: Move to...
448 * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
449 * sysdeps/powerpc/s_fmax.S: Move to...
450 * sysdeps/powerpc/fpu/s_fmax.S: ...here. Use portable asm syntax.
451 * sysdeps/powerpc/s_fmaxf.S: Move to...
452 * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
453 * sysdeps/powerpc/s_fmin.S: Move to...
454 * sysdeps/powerpc/fpu/s_fmin.S: ...here. Use portable asm syntax.
455 * sysdeps/powerpc/s_fminf.S: Move to...
456 * sysdeps/powerpc/fpu/s_fminf.S: ...here.
457 * sysdeps/powerpc/s_isnan.S: Move to...
458 * sysdeps/powerpc/fpu/s_isnan.c: ...here.
459 * sysdeps/powerpc/s_isnanf.S: Move to...
460 * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
461 * sysdeps/powerpc/s_llrint.c: Move to...
462 * sysdeps/powerpc/fpu/s_llrint.c: ...here.
463 * sysdeps/powerpc/s_llrintf.c: Move to...
464 * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
465 * sysdeps/powerpc/s_llround.c: Move to...
466 * sysdeps/powerpc/fpu/s_llround.c: ...here.
467 * sysdeps/powerpc/s_llroundf.c: Move to...
468 * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
469 * sysdeps/powerpc/s_lrint.c: Move to...
470 * sysdeps/powerpc/fpu/s_lrint.c: ...here.
471 * sysdeps/powerpc/s_lrintf.S: Move to...
472 * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
473 * sysdeps/powerpc/s_lround.c: Move to...
474 * sysdeps/powerpc/fpu/s_lround.c: ...here.
475 * sysdeps/powerpc/s_lroundf.c: Move to...
476 * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
477 * sysdeps/powerpc/s_rint.c: Move to...
478 * sysdeps/powerpc/fpu/s_rint.c: ...here.
479 * sysdeps/powerpc/s_rintf.c: Move to...
480 * sysdeps/powerpc/fpu/s_rintf.c: ...here.
481 * sysdeps/powerpc/t_sqrt.c: Move to...
482 * sysdeps/powerpc/fpu/t_sqrt: ...here.
483 * sysdeps/powerpc/w_sqrt.c: Move to...
484 * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
485 * sysdeps/powerpc/w_sqrtf.c: Move to...
486 * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
487 * configure.in: Support platforms which have no .text pseudo-op.
488 Patches partly by Jimi X <jimix@pobox.com>.
489
883c331a
UD
490 * Makeconfig: Look also in all subdirs for shlib-versions files.
491
a3b799d6
UD
492 * malloc/memprof.sh: Fix --help string a bit.
493
494 * argp/argp.h: Remove K&R compatiblity.
a4a1492e
UD
495 * assert/assert.h: Likewise.
496 * catgets/nl_types.h: Likewise.
497 * ctype/ctype.h: Likewise.
498 * db/db.h: Likewise.
499 * db/ndbm.h: Likewise.
500 * db2/db.h: Likewise.
501 * db2/db_185.h: Likewise.
502 * debug/execinfo.h: Likewise.
503 * dirent/dirent.h: Likewise.
504 * dlfcn/dlfcn.h: Likewise.
505 * gmon/sys/gmon.h: Likewise.
506 * grp/grp.h: Likewise.
507 * iconv/gconv.h: Likewise.
508 * iconv/iconv.h: Likewise.
509 * include/execinfo.h: Likewise.
510 * inet/aliases.h: Likewise.
511 * inet/netinet/ether.h: Likewise.
512 * inet/netinet/in.h: Likewise.
513 * intl/libintl.h: Likewise.
514 * io/fcntl.h: Likewise.
515 * io/fts.h: Likewise.
516 * io/ftw.h: Likewise.
517 * io/utime.h: Likewise.
518 * io/sys/poll.h: Likewise.
519 * io/sys/stat.h: Likewise.
520 * io/sys/statfs.h: Likewise.
521 * io/sys/statvfs.h: Likewise.
522 * libio/libio.h: Likewise.
523 * libio/stdio.h: Likewise.
524 * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
525 * locale/locale.h: Likewise.
526 * login/pty.h: Likewise.
527 * login/utmp.h: Likewise.
528 * malloc/mcheck.h: Likewise.
529 * math/complex.h: Likewise.
530 * math/math.h: Likewise.
531 * math/math_private.h: Likewise.
532 * misc/err.h: Likewise.
533 * misc/fstab.h: Likewise.
534 * misc/libgen.h: Likewise.
535 * misc/mntent.h: Likewise.
536 * misc/regexp.h: Likewise.
537 * misc/search.h: Likewise.
538 * misc/sgtty.h: Likewise.
539 * misc/ttyent.h: Likewise.
540 * misc/sys/cdefs.h: Likewise.
541 * misc/sys/file.h: Likewise.
542 * misc/sys/ioctl.h: Likewise.
543 * misc/sys/mman.h: Likewise.
544 * misc/sys/select.h: Likewise.
545 * misc/sys/syslog.h: Likewise.
546 * misc/sys/uio.h: Likewise.
547 * misc/sys/ustat.h: Likewise.
548 * nss/nss.h: Likewise.
549 * posix/sched.h: Likewise.
550 * posix/unistd.h: Likewise.
551 * posix/wordexp.h: Likewise.
552 * posix/sys/times.h: Likewise.
553 * posix/sys/utsname.h: Likewise.
554 * posix/sys/wait.h: Likewise.
555 * pwd/pwd.h: Likewise.
556 * resolv/netdb.h: Likewise.
557 * resolv/resolv.h: Likewise.
558 * resource/ulimit.h: Likewise.
559 * resource/sys/resource.h: Likewise.
560 * resource/sys/vlimit.h: Likewise.
561 * resource/sys/vtimes.h: Likewise.
562 * rt/aio.h: Likewise.
563 * setjmp/setjmp.h: Likewise.
564 * shadow/shadow.h: Likewise.
565 * signal/signal.h: Likewise.
566 * socket/socket.h: Likewise.
567 * stdio/stdio.h: Likewise.
568 * stdio-common/_itoa.h: Likewise.
569 * stdio-common/_itowa.h: Likewise.
570 * stdio-common/printf.h: Likewise.
571 * stdlib/alloca.h: Likewise.
572 * stdlib/fmtmsg.h: Likewise.
573 * stdlib/monetary.h: Likewise.
574 * stdlib/stdlib.h: Likewise.
575 * stdlib/ucontext.h: Likewise.
576 * streams/stropts.h: Likewise.
577 * string/argz.h: Likewise.
578 * string/envz.h: Likewise.
579 * string/string.h: Likewise.
580 * string/strings.h: Likewise.
581 * string/bits/string2.h: Likewise.
582 * sunrpc/rpc/auth.h: Likewise.
583 * sunrpc/rpc/auth_des.h: Likewise.
584 * sunrpc/rpc/auth_unix.h: Likewise.
585 * sunrpc/rpc/clnt.h: Likewise.
586 * sunrpc/rpc/des_crypt.h: Likewise.
587 * sunrpc/rpc/netdb.h: Likewise.
588 * sunrpc/rpc/pmap_clnt.h: Likewise.
589 * sunrpc/rpc/pmap_prot.h: Likewise.
590 * sunrpc/rpc/pmap_rmt.h: Likewise.
591 * sunrpc/rpc/rpc_msg.h: Likewise.
592 * sunrpc/rpc/svc.h: Likewise.
593 * sunrpc/rpc/svc_auth.h: Likewise.
594 * sunrpc/rpc/xdr.h: Likewise.
595 * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
a73b0d84 596 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
a4a1492e
UD
597 * sysvipc/sys/ipc.h: Likewise.
598 * sysvipc/sys/msg.h: Likewise.
599 * sysvipc/sys/sem.h: Likewise.
600 * sysvipc/sys/shm.h: Likewise.
601 * termios/termios.h: Likewise.
602 * time/time.h: Likewise.
603 * time/sys/time.h: Likewise.
604 * time/sys/timeb.h: Likewise.
605 * wcsmbs/wchar.h: Likewise.
606 * wctype/wctype.h: Likewise.
a3b799d6 607
e9e2f705
RM
6081999-10-05 Roland McGrath <roland@baalperazim.frob.com>
609
610 * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
611 _GNU_SOURCE be defined.
612
b5c6276a
UD
6131999-10-08 Ulrich Drepper <drepper@cygnus.com>
614
c813f986
UD
615 * ctype/ctype.h: Pretty print.
616
0f5219d4
UD
617 * po/cs.po: Fix typos.
618
b5c6276a 619 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
0f5219d4 620 handling of empty entries. [PR libc/1345]
b5c6276a
UD
621 Patch by Thorsten Kukuk <kukuk@suse.de>.
622
6231999-10-08 Andreas Schwab <schwab@suse.de>
624
625 * debug/xtrace.sh: Fix quoting bugs. Implement --help and --version.
626
6271999-10-08 Andreas Schwab <schwab@suse.de>
628
629 * debug/pcprofiledump.c: Fix typos.
630
6311999-10-07 Andreas Jaeger <aj@suse.de>
632
633 * math/Makefile (tests): Added basic-tests.
634
635 * math/basic-test.c: New file. Contains function basic_tests from
636 libm-test.
637
6381999-10-07 Andreas Schwab <schwab@suse.de>
639
640 * malloc/memprof.sh: Fix quoting bugs.
641
6421999-10-08 Ulrich Drepper <drepper@cygnus.com>
643
644 * timezone/europe: Update from tzdata1999h.
645
3b0fcc20
UD
6461999-10-07 Ulrich Drepper <drepper@cygnus.com>
647
10507e55
UD
648 * elf/elf.h: Update from last gABI draft.
649
3b0fcc20
UD
650 * elf/elf.h: Remove EM_486 entry.
651 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
652 test for EM_486.
653
cab30d75
UD
6541999-10-07 Ulrich Drepper <drepper@cygnus.com>
655
656 * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
657 Add rules for both programs.
658 * debug/pcprofiledump.c: New file.
659 * debug/xtrace.sh: New file.
660 * debug/pcprofile.c: Allow creating output file. Add magic signature
661 to let reader recognize file format.
662
42d7c593
UD
6631999-10-06 Ulrich Drepper <drepper@cygnus.com>
664
665 * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
666
6671999-10-05 Andreas Jaeger <aj@suse.de>
668
669 * locale/programs/ld-identification.c: Fix typo in comment.
670 * locale/programs/ld-messages.c: Likewise.
671 * locale/programs/ld-monetary.c: Likewise.
672 * locale/programs/ld-name.c: Likewise.
673
674 * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
675 (collate_read): Remove unnecessary comparisons with ignore_content.
676
677 * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
678 assigned elements.
679 (ctype_read): Remove unnecessary comparisons with ignore_content.
680 Fix typos in comments.
681
682 * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
683 comparisons with ignore_content.
684
811ba236
UD
6851999-10-05 Ulrich Drepper <drepper@cygnus.com>
686
42d7c593
UD
687 * po/cs.po: Update.
688
811ba236
UD
689 * time/time.h: Move __gmtime_r declaration to ...
690 * include/time.h: ...here.
691
a2d63612
UD
6921999-10-05 Andreas Jaeger <aj@suse.de>
693
694 * manual/message.texi (The message catalog files): Fix description
695 to match gencat implementation and Unix98: Message fields are
696 separated by a single blank space.
697
6981999-10-05 Andreas Jaeger <aj@suse.de>
699
700 * manual/string.texi (Search Functions): Add missing end for
701 memrchr description.
702
43fc8f18
UD
7031999-10-04 Ulrich Drepper <drepper@cygnus.com>
704
479620b9
UD
705 * malloc/memprof.sh: Various small cleanups. Add short options.
706 Write error messages to stderr.
707
926de5eb
UD
708 * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
709
710 * malloc/memprof.sh: Take options to control memprofstat.
711
43fc8f18
UD
712 * malloc/Makefile: Add rule to generate memprof script.
713 * malloc/memprof.sh: New file.
714
715 * elf/ldd.bash.in: Add "Usage: " in help message to comply with
716 GNU standard.
717
c159de62
UD
7181999-10-04 Andreas Jaeger <aj@suse.de>
719
720 * configure.in: Allow makeinfo 4.*.
721
8f48bfcc
UD
7221999-10-04 Ulrich Drepper <drepper@cygnus.com>
723
e41db95b
UD
724 * stdio-common/vfprintf.c: Correct last patch and use outchar
725 instead of PUTC to output single characters.
1e9f6e98
UD
726 * stdio-common/Makefile (tests): Add bug13.
727 * stdio-common/bug13.c: New file.
e41db95b 728
f5f7239f
UD
729 * configure.in: Add additional options --with-gd-include and
730 --with-gd-lib to help people with strange installations.
731
8f48bfcc
UD
732 * malloc/Makefile: Add libdl dependency to libmemprof.so.
733 * malloc/Depend: New file.
734
ce33f7be
UD
7351999-10-04 Andreas Jaeger <aj@suse.de>
736
737 * timezone/README: Change wording to not mention the current
738 version. This way we can't forget to update the file.
739
7401999-10-04 Andreas Jaeger <aj@suse.de>
fbda91b1 741
ce33f7be
UD
742 * manual/time.texi (Basic CPU Time): Fix typo.
743 Reported by Ben Pfaff <pfaffben@msu.edu>.
744
7451999-10-04 Ulrich Drepper <drepper@cygnus.com>
fbda91b1 746
ce33f7be
UD
747 * string/string.h: Move __memrchr declaration to ...
748 * include/string.h: ...here.
fbda91b1
UD
749
7501999-10-03 Ulrich Drepper <drepper@cygnus.com>
751
752 * string/Makefile (routines): Add memrchr.
753
754 * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
755 Correct order of tests for matching bytes.
756
757 * string/tester.c: Add tests for memrchr.
758
759 * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
760 Start from the last character and take decrement not increment
761 into account for correction in return line. Add memrchr alias.
762 * sysdeps/i386/bits/string.h: Likewise.
763
53304b0b
RM
7641999-10-04 Roland McGrath <roland@baalperazim.frob.com>
765
766 * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
767
22baad3c
UD
7681999-10-03 Ulrich Drepper <drepper@cygnus.com>
769
770 * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
771
772 * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
773 conventions.
774
775 * string/Versions: Export memrchr.
776
b73549de
RM
7771999-10-04 Roland McGrath <roland@baalperazim.frob.com>
778
8e755477 779 * misc/Versions (GLIBC_2.2): Add getloadavg.
54e9386d
RM
780 * misc/Makefile (routines): Add getloadavg.
781 * sysdeps/generic/getloadavg.c: New file.
782 * sysdeps/mach/getloadavg.c: New file.
783 * sysdeps/unix/sysv/linux/getloadavg.c: New file.
784
b73549de
RM
785 * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
786 * sysdeps/i386/bits/string.h (__memrchr): New function.
787 * string/string.h: Declare memrchr, __memrchr.
788 * manual/string.texi (Search Functions): Document memrchr.
789
c8f3e6db
UD
7901999-10-03 Ulrich Drepper <drepper@cygnus.com>
791
792 * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
793 CFLAGS-memprofstat.c, and LIBGD variables.
794 * config.make.in: Add LIBGD.
795 * malloc/Makefile: Add rules to generate libmemprof.so and
796 memprofstat.
797 * malloc/memprof.c: New file.
798 * malloc/memprofstat.c: New file.
799
81ca53df
UD
8001999-10-02 Ulrich Drepper <drepper@cygnus.com>
801
fcb59416
UD
802 * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
803
804 * resolv/inet_ntop.c (inet_ntop4): Little optimization.
805 (inet_ntop6): Likewise.
806
0c03cb9b
UD
807 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
808 overruns.
809
81ca53df
UD
810 * resolv/tst-aton.c (main): Add more tests.
811
812 * resolv/inet_addr.c (inet_aton): Correct some problems with to
813 large numbers. Optimize a bit.
814
20cc4c87
UD
8151999-10-01 Ulrich Drepper <drepper@cygnus.com>
816
a465f6bd
UD
817 * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
818 account for added '0'.
819
20cc4c87
UD
820 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
821 handling of IPv6 tunnel address handling with bind 8.2.1. Allow
822 len argument to be greater than needed address size.
823
a7123f0e
UD
8241999-10-01 Andreas Jaeger <aj@suse.de>
825
826 * locale/programs/ld-collate.c (insert_value): Add cast to avoid
827 warning.
828 * intl/finddomain.c (_nl_find_domain): Likewise.
829
8301999-09-30 Andreas Schwab <schwab@suse.de>
831
832 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
833
8341999-09-30 Andreas Jaeger <aj@suse.de>
835
836 * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
837 * sysdeps/i386/rshift.S: Likewise.
838 * sysdeps/i386/strchrnul.S: Likewise.
839 * sysdeps/i386/strchr.S: Likewise.
840 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
841 PR libc/1339.
842
8431999-09-30 Andreas Jaeger <aj@suse.de>
844
845 * manual/examples/pipe.c: Close other end of pipe to make example work.
846
8471999-10-01 Ulrich Drepper <drepper@cygnus.com>
848
849 * timezone/checktab.awk: Update from tzcode1999g.
850 * timezone/tzselect.ksh: Likewise.
851 * timezone/africa: Update from tzdata1999g.
852 * timezone/asia: Likewise.
853 * timezone/australasia: Likewise.
854 * timezone/europe: Likewise.
855 * timezone/northamerica: Likewise.
856 * timezone/southamerica: Likewise.
857 * timezone/iso3166.tab: Likewise.
858 * timezone/zone.tab: Likewise.
859
9133b79b
UD
8601999-09-27 Andreas Jaeger <aj@suse.de>
861
862 * resolv/netdb.h: Remove declaration of getnodebyname. It has
a7123f0e 863 been renamed to getipnodebyname. Move flags around.
9133b79b
UD
864
8651999-09-27 Andreas Schwab <schwab@suse.de>
866
867 * manual/message.texi (Locating gettext catalog): Fix typos.
868
8691999-09-27 Andreas Jaeger <aj@suse.de>
870
871 * manual/socket.texi (Out-of-Band Data): Correct example program,
872 rename some variables for clarity.
873 Reported by James Antill <james@and.org>, close PR libc/1329.
874
df099740
UD
8751999-09-27 Ulrich Drepper <drepper@cygnus.com>
876
508d9ff8
UD
877 * locale/programs/ld-collate.c (insert_value): Add hack to not
878 crash in incomplete collate implementation.
879
df099740
UD
880 * locale/programs/ld-collate.c (read_directions): Read new token
881 after accepting sorting rule.
882
549b3c3a
UD
8831999-09-26 Ulrich Drepper <drepper@cygnus.com>
884
885 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
886 error message printing. Correctly test whether all characters of
887 current token are used.
888 (ctype_read): NUL terminate last_str.
889
756409c4
UD
8901999-09-26 Thorsten Kukuk <kukuk@suse.de>
891
892 * nscd/connections.c: Invalidate caches on request.
893 * nscd/nscd-client.h: Add INVALIDATE to request_type.
894 * nscd/nscd.c: Add invalidate cache option.
895 * nscd/nscd.conf: Change log directory to /var/log (FHS).
896
079c00e6
UD
8971999-09-24 Ulrich Drepper <drepper@cygnus.com>
898
899 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
900 not ovverwrite last group member with NULL pointer.
901 Reported by Thomas Winder <thomas.winder@newlogic.at>.
902
a1648746
UD
9031999-09-24 Andreas Jaeger <aj@suse.de>
904
905 * stdio-common/tst-printf.c (main): Add a testcase for large
906 precision. Reported by Tymm Twillman <tymm@coe.missouri.edu>.
907
9081999-09-24 Andreas Schwab <schwab@suse.de>
909
910 * math/bits/mathcalls.h: Fix last change. Also declare __finite.
911
9121999-09-24 Andreas Jaeger <aj@suse.de>
913
914 * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
915 normalized_codeset. Reported by Belicky Zsolt <zsolt@prolan.hu>.
916
9171999-09-23 Mark Kettenis <kettenis@gnu.org>
918
919 * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
920 variable. Define MORECORE_CLEARS to 2.
921
922 * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
923 doesn't clear the contents of memory that is reallocated after
924 decrementing the break value first. Update comment about
925 MORECORE_CLEARS, explaining the meaning of the values it can be
926 set to.
927
d614ad09
UD
9281999-09-23 Ulrich Drepper <drepper@cygnus.com>
929
930 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
931 one more case.
932
5892e305
UD
933 * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
934 (log): Likewise.
935 (log10): Likewise.
936 (log1p): Likewise.
937 (log2): Likewise.
938
9df54168
UD
9391999-09-22 Andreas Jaeger <aj@suse.de>
940
941 * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
942 reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
a1648746 943
9df54168
UD
9441999-09-22 Andreas Schwab <schwab@suse.de>
945
946 * stdio-common/vfscanf.c: Fix width handling when scanning floats.
947
9481999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
949
950 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
951 the source directory. Fixes PR libc/1059.
952
5b5255f1
UD
9531999-09-21 Ulrich Drepper <drepper@cygnus.com>
954
955 * locale/programs/repertoire.c (repertoire_find_value): Abort if
956 rep parameter is NULL.
957 (repertoire_find_symbol): Likewise.
958 (repertoire_find_seq): Likewise.
959
3fa27fcb
UD
9601999-09-20 Jean-Louis Martineau <martinea@IRO.UMontreal.CA>
961
962 * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
963 returned errno value in some cases.
964
3a4cbb41
UD
9651999-09-19 Ulrich Drepper <drepper@cygnus.com>
966
55587efd
UD
967 * iconvdata/Makefile (modules): Add GBK.
968 (distribute): Add gbk.c.
969 * iconvdata/gbk.c: New file.
970 * iconvdata/gconv-modules: Add GBK entry.
971 Contributed by Sean Chen <sean.chen@turbolinux.com>.
972
90952c77
UD
973 * locale/programs/ld-monetary.c (monetary_output): Remove
974 byte-order code.
975
976 * locale/programs/ld-time.c (time_output): Correct expected number
977 of iov entries.
978
3a4cbb41
UD
979 * manual/filesys.texi (Testing File Access): Correct description of
980 SUID.
981
3fa27fcb 9821999-080-25 H.J. Lu <hjl@gnu.org>
3a4cbb41
UD
983
984 * csu/defs.awk (.end): Only match with leading white spaces.
985 (.align): Likewise.
986
b5c69d99
UD
9871999-09-19 Ulrich Drepper <drepper@cygnus.com>
988
1d8004b2
UD
989 * stdlib/isomac.c: Add va_copy to allowed macros.
990
b5c69d99
UD
991 * po/pl.po: Updated.
992
9931999-09-17 Andreas Schwab <schwab@suse.de>
994
995 * Makefile (clean): Also remove $(postclean) files.
996
9971999-09-15 Andreas Jaeger <aj@suse.de>
998
999 * pwd/Makefile (otherlibs): Add for building with static-nss.
1000 * inet/Makefile (otherlibs): Likewise.
1001
10021999-09-15 Andreas Jaeger <aj@suse.de>
1003
1004 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
1005 function definition to avoid a compilation failure.
1006
10071999-09-15 Andreas Jaeger <aj@suse.de>
1008
1009 * stdlib/tst-environ.c (main): Add getenv regression test for
1010 environment variable that's one character long.
1011
10121999-09-15 Andreas Jaeger <aj@suse.de>
1013
1014 * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
1015 signal definitions to let glibc compile with older Linux versions
1016 (2.0.10 to 2.1.100 or so).
1017
50b076f4
RM
10181999-09-18 Roland McGrath <roland@baalperazim.frob.com>
1019
1020 * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
1021 return zero to indicate no children died yet (assuming WNOHANG).
1022
1023 * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
1024
10251999-09-17 Roland McGrath <roland@baalperazim.frob.com>
1026
1027 * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
1028
1029 * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
1030 Return _hurd_pgrp instead of 0.
1031
349447da
RM
10321999-09-19 Roland McGrath <roland@baalperazim.frob.com>
1033
55ffcab7
RM
1034 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
1035 pages rather than just reprotecting them. This way we don't hold on
1036 to the backing space.
1037
349447da
RM
1038 * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
1039 Use __munmap instead of __vm_deallocate.
1040
8a386ec1
UD
10411999-09-18 Ulrich Drepper <drepper@cygnus.com>
1042
1043 * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
1044 returned errno value in some cases.
1045
c68d04fe
UD
10461999-09-17 Andreas Jaeger <aj@suse.de>
1047
1048 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
1049 to override user settings.
1050
10511999-09-17 Andreas Schwab <schwab@suse.de>
1052
1053 * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
1054 using a pointer to it.
1055
a40ef91f
UD
10561999-09-16 Ulrich Drepper <drepper@cygnus.com>
1057
1058 * time/getdate.c (__getdate_r): Pass correct year to check_mday.
1059 Reported by Vern Staats <staatsvr@asc.hpc.mil>.
1060
577567c1
UD
10611999-09-14 Ulrich Drepper <drepper@cygnus.com>
1062
95e83595
UD
1063 * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
1064
577567c1 1065 * elf/elf.h (PF_MASKOS): New definition.
6fba2b2b 1066 (EM_VAX): New definition.
577567c1 1067
59e33904
UD
10681999-08-09 Scott Bambrough <scottb@netwinder.org>
1069
1070 * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
1071 'unsigned char ftype[8]', and 'unsigned int init_flag' to
8a386ec1 1072 struct user_fp. These were added in version 2.2.12 of the
59e33904
UD
1073 ARM Linux kernel.
1074 * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
1075 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
1076 The generic procfs.h included <asm/elf.h>. This causes
1077 structure redefinition errors when <sys/user.h> and <sys/procfs.h>
1078 are included in the same source file. Found when building GDB.
1079
4a33c2f5
UD
10801999-09-13 Ulrich Drepper <drepper@cygnus.com>
1081
1082 * locale/langinfo.h: Remove byte-order dependent names.
1083 * locale/categories.def: Update after removal of byte-order dependent
1084 names.
1085 * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
1086 with magic number in other byte order.
1087 * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
1088 * locale/C-collate.c: Remove initializers for other byte-order.
1089 * locale/C-ctype.c: Likewise.
1090 * locale/C-monetary.c: Likewise.
1091 * locale/C-paper.c: Likewise.
1092 * locale/C-time.c: Likewise.
1093 * locale/lc-collate.c: Remove byte-order oriented initialization.
1094 * locale/lc-ctype.c: Likewise.
1095 * locale/lc-monetary.c: Likewise.
1096 * locale/lc-time.c: Likewise.
1097 * locale/programs/ld-address.c: Don't generate output in both
1098 byte-orders.
1099 * locale/programs/ld-ctype.c: Likewise.
1100 * locale/programs/ld-paper.c: Likewise.
1101 * locale/programs/ld-time.c: Likewise.
1102 * time/strftime.c (NLW): Don't use different byte-orders.
1103 * wctype/cname-lookup.h (cname_lookup): Likewise.
1104
1105 * Makeconfig (localedir): Define using libdir, not datadir.
1106 (msgcatdir): New variable.
1107 * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
1108 * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
1109 msgcatdir.
1110 * intl/Makefile (install-others): Install locale.alias in msgcatdir.
1111 (CPPFLAGS): Define paths using msgcatdir.
1112 * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
1113 * po/Makefile (mo-installed): Define using msgcatdir.
1114
1115 * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
1116
b9eb05d6
UD
11171999-09-12 Ulrich Drepper <drepper@cygnus.com>
1118
3e95f660
UD
1119 * stdio-common/vfprintf.c: Remove limitation on size of precision
1120 for integers.
1121
78148569
UD
1122 * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
1123 glibc by defining internal_function if it isn't already.
1124
a0bf6ac7
UD
1125 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
1126 fails don't rely on errno value.
1127 (getanswer_r): Set *ERRNOP in error cases.
1128
1129 * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
1130 (gaih_inet_serv): Return EIA_NODATA if name is known but has no
1131 associated data. Test for matching numeric address and family.
1132 (getaddrinfo): Remember EAI_NODATA result and return this in case
1133 everything fails.
1134 Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
1135
b9eb05d6
UD
1136 * locale/programs/ld-address.c: Fix handling of non-existing
1137 definitions for this category. Correctly ignore content of this
1138 category is this is necessary.
1139 * locale/programs/ld-collate.c: Likewise.
1140 * locale/programs/ld-ctype.c: Likewise.
1141 * locale/programs/ld-identification.c: Likewise.
1142 * locale/programs/ld-measurement.c: Likewise.
1143 * locale/programs/ld-messages.c: Likewise.
1144 * locale/programs/ld-monetary.c: Likewise.
1145 * locale/programs/ld-name.c: Likewise.
1146 * locale/programs/ld-numeric.c: Likewise.
1147 * locale/programs/ld-paper.c: Likewise.
1148 * locale/programs/ld-telephone.c: Likewise.
1149 * locale/programs/ld-time.c: Likewise.
1150 * locale/programs/locfile.h (handle_copy): Take extra parameter
1151 with result pointer. Fill in name of locale from which to copy.
1152 Correctly read token after `END'.
1153
1154 * locale/programs/localedef.c (main): Correct handling copy.
1155 (add_to_readlist): Take extra parameter which says whether we
1156 are supposed to read the file or not.
1157 (find_locale): Call add_to_readlist with extra parameter set to 0.
1158
1159 * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
1160 instead of wrong number in array definitions.
1161 (add_to_readlist): Update prototype.
1162
1163 * locale/programs/locfile.c (locfile_read): Mark categories not
1164 available in source file as read.
1165 (write_all_categories): Fix typo.
1166
9e5dcaa8
UD
1167 * locale/programs/locales.h: Removed.
1168
8fc1e2ca
UD
11691999-09-10 Ulrich Drepper <drepper@cygnus.com>
1170
0f0e233c
UD
1171 * elf/elf.h (SHF_MASKOS): Added.
1172
8fc1e2ca
UD
1173 * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
1174
11751999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1176
1177 * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
1178
11791999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1180
1181 * configure.in: Fix make version test for make 3.77.95 and later
1182 versions.
1183 Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
1184
68337808
UD
11851999-09-10 Ulrich Drepper <drepper@cygnus.com>
1186
1187 * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
1188
1189 * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
1190 WINT_MAX values.
1191
1192 * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
1193
11941999-09-09 Andreas Schwab <schwab@suse.de>
1195
1196 * elf/link.h: Fix comment.
1197
11981999-09-10 Ulrich Drepper <drepper@cygnus.com>
1199
1200 * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
1201
1202 * math/math.h: Pretty print.
1203
ec6275c0
UD
12041999-09-10 Andreas Schwab <schwab@suse.de>
1205
1206 * sysdeps/generic/getenv.c (getenv): Fix lookup for single
1207 character variable on bigendian platforms without unaligned memory
1208 access.
1209
766d2fca
UD
12101999-09-07 Cristian Gafton <gafton@redhat.com>
1211
1212 * sysdeps/unix/sysv/linux/sys/raw.h: New file
1213 * sysdeps/unix/sysv/linux/Dist: Add raw.h.
1214 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
1215
39d31947
UD
12161999-09-06 Ulrich Drepper <drepper@cygnus.com>
1217
8bf0fdaf
UD
1218 * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
1219
39d31947
UD
1220 * time/ap.c: Removed. It was not used.
1221 * time/date.c: Likewise.
1222 * sysdeps/unix/nlist.c: Likewise.
1223 * sysdeps/generic/nlist.c: Likewise.
1224 * sysdeps/generic/varargs.h: Likewise.
1225 * stdio-common/scanf11.c: Likewise.
1226 * stdio-common/scanf6.c: Likewise.
1227 * scripts/=__ify: Likewise.
1228 * scripts/printsources: Likewise.
1229 * resolv/getnetnamadr.c: Likewise.
1230 * posix/id.c: Likewise.
1231 * misc/ioctltst.c: Likewise.
1232 * misc/nlist.h: Likewise.
1233 * math/test-math.h: Likewise.
1234 * include/nlist.h: Likewise.
1235
7fcc87f4
UD
12361999-09-06 Andreas Schwab <schwab@suse.de>
1237
1238 * time/tzset.c (compute_change): Replace slow loop to compute T by
1239 simple algorithm.
1240
07c7a055
UD
12411999-09-06 Ulrich Drepper <drepper@cygnus.com>
1242
1243 * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
1244 escape sequences out even if the character itself does not fit
1245 into the buffer.
1246
1247 * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
1248
bd952512
UD
12491999-08-31 H.J. Lu <hjl@gnu.org>
1250
1251 * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
1252
9024032c
RM
12531999-09-05 Roland McGrath <roland@baalperazim.frob.com>
1254
1255 * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
1256 it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
349447da 1257 (_hurd_priority_which_map):
9024032c 1258
4fe53b3a
UD
12591999-09-04 Ulrich Drepper <drepper@cygnus.com>
1260
1261 * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
1262
12631999-09-03 Andreas Schwab <schwab@suse.de>
1264
1265 * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
1266 fork from __syscall_fork to __libc_fork.
1267 * posix/Versions: Add __libc_fork and __vfork to version
1268 GLIBC_2.1.2.
1269
9cb6e878
UD
12701999-08-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1271
1272 * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
1273 dependencies in sort.
1274
12751999-09-01 H.J. Lu <hjl@gnu.org>
1276
1277 * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
1278
1279 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
1280 <sys/user.h> instead of <asm/user.h>.
1281
f01a6a08
UD
12821999-09-02 Ulrich Drepper <drepper@cygnus.com>
1283
1284 * elf/elf.h: Update PARISC-specific flags and symbolic names.
1285
fa53da17
UD
12861999-09-01 Ulrich Drepper <drepper@cygnus.com>
1287
1288 * elf/elf.h: Update PARISC relocations.
1289
86352425
UD
12901999-08-31 Scott Bambrough <scottb@netwinder.org>
1291
1292 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
1293 #ifdef statement to prevent it from being included twice.
1294 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
1295 #include <bits/armsigctx.h>.
1296
52bc074f
UD
12971999-08-31 Andreas Schwab <schwab@suse.de>
1298
1299 * locale/C-collate.c: Add missing initialisations.
1300 * locale/C-ctype.c: Likewise.
1301
a4f4b72b
UD
13021999-08-31 Ulrich Drepper <drepper@cygnus.com>
1303
1304 * time/strftime.c (my_strftime): Remove unneeded variable len.
1305
1306 * time/strptime.c: Undo last change.
1307
0742e501
UD
13081999-08-30 Ulrich Drepper <drepper@cygnus.com>
1309
4b10dd6c
UD
1310 * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
1311 Change charset.h to charmap.h.
1312 (categories): Add new categories. Leave out collate for now.
1313 Update build rules.
1314 * locale/categories.def: Add definitions for new categories.
1315 * locale/langinfo.h: Likewise.
1316 * locale/locale.h: Likewise.
1317 * locale/C-address.c: New file.
1318 * locale/C-identification.c: New file.
1319 * locale/C-measurement.c: New file.
1320 * locale/C-name.c: New file.
1321 * locale/C-paper.c: New file.
1322 * locale/C-telephone.c: New file.
1323 * locale/lc-address.c: Likewise.
1324 * locale/lc-identification.c: Likewise.
1325 * locale/lc-measurement.c: Likewise.
1326 * locale/lc-name.c: Likewise.
1327 * locale/lc-paper.c: Likewise.
1328 * locale/lc-telephone.c: Likewise.
1329 * locale/C-ctype.c: Update for locale rewrite.
1330 * locale/C-messages.c: Likewise.
1331 * locale/C-monetary.c: Likewise.
1332 * locale/C-time.c: Likewise.
1333 * locale/lc-collate.c: Likewise.
1334 * locale/lc-ctype.c: Likewise.
1335 * locale/lc-monetary.c: Likewise.
1336 * locale/lc-time.c: Likewise.
1337 * locale/localeinfo.h: Likewise.
1338 * locale/newlocale.c: Likewise.
1339 * locale/setlocale.c: Likewise.
1340 * locale/weight.h: Likewise.
1341 * locale/findlocale.c: Unconditionally use mmap.
1342 Handle new categories.
1343 * locale/loadlocale.c: Likewise.
1344 * locale/iso-3166.def: New file.
1345 * locale/iso-639.def: New file.
1346 * locale/programs/charmap-kw.gperf: Add new keywords.
1347 * locale/programs/locfile-kw.gperf: Likewise.
1348 * locale/programs/locfile-token.h: Define new tokens.
1349 * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
1350 * locale/programs/charmap.h: New file.
1351 * locale/programs/charset.h: Removed.
1352 * locale/programs/config.h: Add __LC_LAST.
1353 * locale/programs/lc-address.c: New file.
1354 * locale/programs/lc-identification.c: New file.
1355 * locale/programs/lc-measurement.c: New file.
1356 * locale/programs/lc-name.c: New file.
1357 * locale/programs/lc-paper.c: New file.
1358 * locale/programs/lc-telephone.c: New file.
1359 * locale/programs/lc-collate.c: Update for locale rewrite.
1360 * locale/programs/lc-ctype.c: Likewise.
1361 * locale/programs/lc-messages.c: Likewise.
1362 * locale/programs/lc-monetary.c: Likewise.
1363 * locale/programs/lc-numeric.c: Likewise.
1364 * locale/programs/lc-time.c: Likewise.
1365 * locale/programs/locale.c: Likewise.
1366 * locale/programs/localedef.c: Likewise.
1367 * locale/programs/locfile.c: Likewise.
1368 * locale/programs/repertoire.c: Likewise.
1369 * locale/programs/repertoire.h: Likewise.
1370 * locale/programs/locfile.c: Update prototypes.
1371 Update handle_copy definition.
1372 * locale/programs/linereader.c: Add handling of wide char strings and
1373 new definition file syntax.
1374 * locale/programs/linereader.h (struct token): Add elements for wide
1375 character strings.
1376 * locale/programs/locale-spec.c: Disable handling of collation
1377 elements for now.
1378 * locale/programs/simple-hash.h: Cleanup.
1379 * locale/programs/stringtrans.h: Handle quite of end of line.
1380 * string/strcoll.c: Fall back on strcmp for now.
1381 * string/strxfrm.c: Fall back on strncpy/strlen for now.
1382 * time/strftime.c: Use new wide character data for wcsftime.
1383 * time/strptime.c: Remove _nl_C_LC_TIME declaration.
1384 * wctype/cname-lookup.h: Update for new LC_CTYPE data.
1385
1d1740d6
UD
1386 * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
1387 compiling for i386 to avoid i686-like GOT pointer computation.
1388
9a93ac00
UD
1389 * db2/db_int.h: Change tsl_t type to u_int32_t.
1390 * db2/mutex/mutex.c: Allow Alpha mutex definitions.
1391 * db2/mutex/alpha.h: New file.
1392 * db2/mutex/sparc.gcc: Fix store code for v9. Simplify clear code.
1393 * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
1394 known.
1395 Patches by Richard Henderson.
1396
0742e501
UD
1397 * stdlib/tst-environ.c: Add cast to avoid warning.
1398 * timezone/test-tz.c: Use setenv instead of putenv.
1399
b7851313
UD
14001999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1401
1402 * manual/libc.texinfo: Update version and date.
1403
1404 * manual/locale.texi (Formatting Numbers): Fix @node pointers.
1405
1406 * manual/filesys.texi (Working with Directory Trees): Add missing @code.
1407 (File System Interface): Correct entry.
1408 (Permission Bits): Add missing commata after @xref.
1409
10b91857
UD
14101999-08-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1411
1412 * timezone/tst-timezone.c (main): Don't pass const strings to
1413 putenv to avoid warnings.
1414
1415 * posix/regexbug1.c: Include <stdio.h> for puts prototype.
1416
1e275b9e
UD
14171999-08-29 Thorsten Kukuk <kukuk@suse.de>
1418
1419 * nis/Versions: Add _nss_*_getipnodebyname_r.
1420 * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
1421 * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
1422 * nss/Versions: Add _nss_files_getipnodebyname_r.
1423
74bced63
UD
14241999-08-28 H.J. Lu <hjl@gnu.org>
1425
1426 * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
1427 memory for buffer.
1e275b9e 1428
fcb8e79c
UD
14291999-08-27 Ulrich Drepper <drepper@cygnus.com>
1430
1431 * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
1432 kernel.
1433 * inet/netinet/in.h: Likewise.
1434 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1435 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1436
d01d6319
UD
14371999-08-28 Ulrich Drepper <drepper@cygnus.com>
1438
1439 * malloc/malloc.c (ptmalloc_init): Don't use variables to set
1440 thresholds for SUID binaries. [PR libc/1277]
1441
cd61d12c
UD
1442 * posix/regexbug1.c: Add one more similar case.
1443
d01d6319
UD
14441999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1445
1446 * manual/install.texi (Running make install): Give examples for
1447 timezone and locale installation.
1448
14491999-08-28 Zack Weinberg <zack@bitmover.com>
1450
1451 * glibcbug.in: Get CCVERSION from autoconf substitution.
1452 * configure.in: Calculate and substitute CCVERSION.
1453
14541999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1455
1456 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
fcb8e79c 1457 partially reverting a patch from 1998-12-29. We just can't change
d01d6319
UD
1458 the flags, kernels with different flags lead to
1459 incompatibilities.
1460
a125d9b4
UD
14611999-08-26 Andreas Schwab <schwab@suse.de>
1462
1463 * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
1464
8a3c8443
UD
14651999-08-27 Ulrich Drepper <drepper@cygnus.com>
1466
1467 * inet/rexec.c (rexec): Free memory if strings were allocated in
1468 ruserpass. Reported by Andrew Morton <morton@nortelnetworks.com>.
1469
04b9968b
UD
14701999-08-27 Ulrich Drepper <drepper@cygnus.com>
1471
4744a411
UD
1472 * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
1473
2e8a853b 1474 * manual/argp.texi: Fixing language and typos.
04b9968b
UD
1475 * manual/conf.texi: Likewise.
1476 * manual/contrib.texi: Likewise.
6dd5b57e 1477 * manual/ctype.texi: Likewise.
04b9968b
UD
1478 * manual/filesys.texi: Likewise.
1479 * manual/install.texi: Likewise.
1480 * manual/job.texi: Likewise.
1481 * manual/lang.texi: Likewise.
1482 * manual/llio.texi: Likewise.
6dd5b57e 1483 * manual/locale.texi: Likewise.
04b9968b
UD
1484 * manual/math.texi: Likewise.
1485 * manual/nss.texi: Likewise.
1486 * manual/pipe.texi: Likewise.
1487 * manual/signal.texi: Likewise.
1488 * manual/socket.texi: Likewise.
1489 * manual/stdio.texi: Likewise.
1490 * manual/sysinfo.texi: Likewise.
1491 * manual/users.texi: Likewise.
1492 Patches by Neil Booth <NeilB@earthling.net>.
1493
cf752fe2
UD
14941999-08-25 Ulrich Drepper <drepper@cygnus.com>
1495
77faa354
UD
1496 * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
1497 unsigned to avoid warning. [PR libc/1271].
1498
1499 * conform/conformtest.pl: Allow testing regex.h which requires
1500 sys/types.h being included.
1501
b395c02d
UD
1502 * conform/data/regex.h-data: Allow *_t types.
1503 * conform/data/pwd.h-data: Likewise.
a4a1492e 1504 * conform/data/sched.h-data: Likewise.
b395c02d
UD
1505 * conform/data/pthread.h-data: Likewise.
1506 * conform/data/search.h-data: Likewise.
1507
1508 * misc/search.h: Avoid namespace pollution.
1509
7f42d3dd
UD
1510 * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
1511 pwd.h, and pthread.h.
1512 * conform/data/pthread.h-data: New file.
1513 * conform/data/pwd.h-data: New file.
1514 * conform/data/regex.h-data: New file.
1515 * conform/data/sched.h-data: New file.
1516 * conform/data/search.h-data: New file.
1517
1518 * NAMESPACE: Add REG_ for regex.h.
1519
1520 * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
1521 they are removed.
1522
050838a4
UD
1523 * configure.in (libc_cv_asm_global_directive): Indent .text in
1524 test code so that the lame HPUX compiler recognizes it.
1525 * sysdeps/hppa/bits/endian.h: New file.
1526 * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
1527 * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
1528 * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
1529 * sysdeps/unix/sysv/hpux/bits/types.h: New file.
1530
01c771d0
UD
1531 * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
1532 Patch by John Tobey <jtobey@banta-im.com>.
1533
1534 * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
1535
cf752fe2
UD
1536 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
1537 old_siocfifconf definition to toplevel.
1538 (__protocol_available): Remove old_siocfifconf definition.
1539
2a947279
UD
15401999-08-25 Mark Kettenis <kettenis@gnu.org>
1541
1542 * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
1543 really dealing with a master pseudo terminal, and really returning
1544 the name of the associated slave pseudo terminal by checking the
1545 device number.
1546 * sysdeps/unix/sysv/linux/pty-private.h: Removed.
1547 * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
1548
2f444823
UD
15491999-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1550
1551 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
1552 underscore in _llseek entry.
1553
1554 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
1555 entry.
1556
1557 * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
1558 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
1559
1560 * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
1561 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
1562
71d3bda9
UD
15631999-08-25 Ulrich Drepper <drepper@cygnus.com>
1564
1565 * inet/Makefile (routines): Add getipnodebynm.
1566 * inet/getipnodebynm.c: New file.
1567 * nss/digits_dots.c: If HAVE_TYPE is define type contains the
1568 interface type.
1569 * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
1570 EXTRA_ARGS_VALUE is not already done.
1571 (internal_getent): Allow extra parameters and pass them to parse_line.
1572 (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
1573 (_nss_files_get##name##_r): Likewise.
1574 * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
1575 and EXTRA_ARGS_VALUE to pass flags and type to parser.
1576 Add getipnodebyname function.
1577 * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
1578 EXTRA_ARGS_VALUE is not already done.
1579 (parse_line): Add EXTRA_ARGS_DECL to parameter list.
1580 * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
1581 to parse_line.
1582 (_nss_db_get##name##_r): Pass extra parameters to lookup.
1583 (_nss_db_get,ENTNAME_r): Likewise.
1584 * sysdeps/generic/if_index.c (__protocol_available): New function.
1585 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1586
4ebc35ac
UD
15871999-08-24 Ulrich Drepper <drepper@cygnus.com>
1588
ad659702
UD
1589 * login/pty-private.h: Move to...
1590 * sysdeps/generic/pty-private.h: ...here.
1591 * sysdeps/unix/sysv/linux/pty-private.h: New file. Linux specific
1592 version.
1593 * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
1594 available.
1595
5c8d1fc0
UD
1596 * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
1597 of __overflow.
1598
7b5fd91d
UD
1599 * conform/conformtest.pl (@headers): Add monetary.h-data,
1600 mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
1601 * conform/data/monetary.h-data: New file.
1602 * conform/data/mqueue.h-data: New file.
1603 * conform/data/ndbm.h-data: New file.
1604 * conform/data/nl_types.h.h-data: New file.
1605 * conform/data/poll.h-data: New file.
1606
248286e5
UD
1607 * stdio-common/Makefile (test): Add tst-cookie.
1608 * stdio-common/tst-cookie.c: New file.
1609
4ebc35ac
UD
1610 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
1611 changed in last patch. Reported by Ralf Baechle.
1612
db72c1e4
UD
16131999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1614
1615 * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
1616
1617 * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
1618 Patches by Ralf Baechle <ralf@uni-koblenz.de>
1619
08c70af0
UD
16201999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1621
1622 * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
1623 Linux 2.3.15.
1624
da1067a9
UD
16251999-08-24 Ulrich Drepper <drepper@cygnus.com>
1626
abd31612
UD
1627 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
1628 syscall.
1629 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1630
52cf7d34
UD
1631 * misc/libgen.h: Don't take basename macro as taking arguments.
1632
1633 * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
1634 for gcc >= 2.95.
1635 * sysdeps/i386/bits/huge_val.h: Likewise.
1636 * sysdeps/i386/bits/huge_val.h: Likewise.
1637 * sysdeps/ieee754/bits/huge_val.h: Likewise.
1638 * sysdeps/m68k/bits/huge_val.h: Likewise.
1639 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
1640 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
1641
da1067a9
UD
1642 * conform/Makefile: New file.
1643 * conform/conformtest.pl: New file.
1644 * conform/data/aio.h-data: New file.
1645 * conform/data/assert.h-data: New file.
1646 * conform/data/cpio.h-data: New file.
1647 * conform/data/ctype.h-data: New file.
1648 * conform/data/dirent.h-data: New file.
1649 * conform/data/dlfcn.h-data: New file.
1650 * conform/data/errno.h-data: New file.
1651 * conform/data/fcntl.h-data: New file.
1652 * conform/data/float.h-data: New file.
1653 * conform/data/fmtmsg.h-data: New file.
1654 * conform/data/fnmatch.h-data: New file.
1655 * conform/data/ftw.h-data: New file.
1656 * conform/data/glob.h-data: New file.
1657 * conform/data/grp.h-data: New file.
1658 * conform/data/iconv.h-data: New file.
1659 * conform/data/inttypes.h-data: New file.
1660 * conform/data/iso646.h-data: New file.
1661 * conform/data/langinfo.h-data: New file.
1662 * conform/data/libgen.h-data: New file.
1663 * conform/data/locale.h-data: New file.
1664 * conform/data/math.h-data: New file.
1665
1b13e783
UD
16661999-08-23 Ulrich Drepper <drepper@cygnus.com>
1667
1668 * posix/execvp.c (execvp): Correct copying of file name.
1669
a41301f0
RM
16701999-08-23 Mark Kettenis <kettenis@gnu.org>
1671
1672 * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
1673
1d0b89a4
UD
16741999-08-23 Ulrich Drepper <drepper@cygnus.com>
1675
a41301f0 1676 * stdio-common/Makefile: Move addition to routines to the right place.
1d0b89a4 1677
b7e519e7
UD
16781999-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1679
1680 * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file. Neccessary
1681 since mips*-linux has ECANCELED.
1682
16831999-08-23 Andreas Schwab <schwab@suse.de>
1684
1685 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
1686 SIGCONTEXT_EXTRA_ARGS.
1687 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
1688 * sysdeps/generic/sigcontextinfo.h: Likewise.
1689 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
1690 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
1691 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1692 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
1d0b89a4
UD
1693 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
1694 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
b7e519e7 1695
a2860282
UD
16961999-08-23 Ulrich Drepper <drepper@cygnus.com>
1697
1698 * posix/regexbug1.c: Make it an error if the test fails.
1699
17001999-08-23 Andreas Schwab <schwab@suse.de>
a2860282
UD
1701
1702 * posix/regex.c (re_match_2_internal): Correct check for charset
1703 after exactn in loop.
1704
c90a2db6
UD
17051999-08-22 Ulrich Drepper <drepper@cygnus.com>
1706
c107ccd4
UD
1707 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
1708 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1709 Patch by Joel Klecker.
1710
c90a2db6
UD
1711 * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
1712 (__gconv_find_transform): Update prototype.
1713 (__gconv_open): Likewise.
1714 * iconv/gconv_open.c: Take extra parameter and pass it to
1715 __gconv_find_transform.
1716 * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
1717 flags. If GCONV_AVOID_NOCONV flag is set don't return copying
1718 transformation.
1719 * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
1720 * wcsmbs/wcsmbsload.c: Likewise.
1721 * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
1722 iconv for glibc.
1723 * intl/gettextP.h: Likewise.
1724 * intl/loadmsgcat.c: Likewise.
1725
1726 * posix/regexbug1.c: New file.
1727 * posix/Makefile (tests): Add regexbug1.
1728
dc32a7c4
RM
17291999-08-22 Mark Kettenis <kettenis@gnu.org>
1730
1731 * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
1732 * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
1733 installing PORT in the descriptor cell.
1734
17351999-08-19 Roland McGrath <roland@baalperazim.frob.com>
1736
1737 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
1738 TIMEOUT as outputs of the asm to indicate that the signal thread
1739 might mutate them.
1740 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
1741 mach_msg if only sending or only receiving (i.e., not an RPC). When
1742 making an RPC that might get interrupted, save OPTION and the portion
1743 of the message buffer that gets clobbered by an EINTR reply message,
1744 and properly restore them before attempting to retry the request
1745 message send.
1746
ab58d620
UD
17471999-08-21 Mark Kettenis <kettenis@gnu.org>
1748
1749 * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
1750 definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
1751 CHAR_T, UCHAR_T and WIN_T to make the code compile again when
1752 stdio is used instead of libio.
1753 * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
1754 definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
1755 to make the code compile again when stdio is used instead of
1756 libio.
1757 (vfprintf): Only check for correct orientation if ORIENT is
1758 defined.
1759 * stdio-common/Makefile (routines): Only add vfwprintf and
1760 vfwscanf if we're using libio.
1761
17621999-08-21 Mark Kettenis <kettenis@gnu.org>
1763
1764 * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
1765 any additional prototype just as we do for libio.
1766
17671999-08-21 Mark Kettenis <kettenis@gnu.org>
1768
1769 * include/bits/xopen_lim.h: Do not define STREAM_MAX and
1770 TZNAME_MAX. These limits are not X/Open specific.
1771 * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
1772 is defined.
1773
17741999-08-21 Mark Kettenis <kettenis@gnu.org>
1775
1776 * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
1777 UIO_MAXIOV is left undefined in sys/uio.h.
1778 * stdio-common/stdio_lim.h.in: Adapt for change above.
1779
17801999-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1781
1782 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
1783 * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
1784 Patches by Ralf Baechle <ralf@uni-koblenz.de>
1785
fd292f70
UD
17861999-08-21 Ulrich Drepper <drepper@cygnus.com>
1787
1788 * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
1789
f05ce195
UD
17901999-08-20 Ulrich Drepper <drepper@cygnus.com>
1791
c086e2d2
UD
1792 * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
1793
52cea457
UD
1794 * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
1795 call. It should not be necessary andis harmful for Alpha.
1796
a2b3aa73
UD
1797 * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
1798 type. [PR libc/1269]
f95a0015 1799
d13ec59a
UD
1800 * posix/execvp.c (execvp): Allocate array name of correct size.
1801 Optimize inner loop. Use execve directly, not execv.
1802
f05ce195
UD
1803 * elf/elf.h: Corrected SHT_ values from new draft.
1804
6570e194
UD
1805 * intl/gettextP.h (struct loaded_domain): Add conv element.
1806 * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
1807 Instead of returning found message directly convert it using iconv
1808 if a conversion was found when opening the file.
1809 * intl/loadinfo.h: Protect against multiple inclusion.
1810 Declare _nl_find_msg.
1811 * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
1812 in the message file and if necessary find approrpiate
1813 conversion to match currently selected charset.
5a02dce6 1814 * include/libintl.h: Declare __dgettext and __dcgettext.
511a0091 1815 * include/iconv.h: New file.
6570e194 1816
6c85d1e9
UD
18171999-08-20 Andreas Schwab <schwab@suse.de>
1818
1819 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
1820
7195db12
UD
18211999-08-19 Ulrich Drepper <drepper@cygnus.com>
1822
68ea6c18
UD
1823 * sysdeps/unix/sysv/linux/execve.c: New file. This version terminates
1824 all threads [PR libc/1223].
1825
2b638910
UD
1826 * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
1827 [PR libc/1165].
1828
22e65f8f
UD
1829 * configure.in: Search for programs with prefix gnu* and g* first.
1830 [PR libc/1104].
1831
e5cd813b
UD
1832 * dirent/Makefile (routines): Add getdents64.
1833 * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
1834 Remove getdents64.
1835 * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
1836 compiled with _FILE_OFFSET_BITS=64.
1837 * sysdeps/generic/getdents64.c: New file.
1838 * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
1839 __lseek for getdirentries64 definition.
1840
1841 * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
1842
1843 * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
1844 _FILE_OFFSET_BITS=64.
1845
6229c88e
UD
1846 * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
1847 parameter.
1848
1849 * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
1850 after we have the lock.
7195db12
UD
1851
1852 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
1853 Patch by Richard Henderson.
1854
e1b13a63
UD
18551999-08-19 Andreas Schwab <schwab@suse.de>
1856
1857 * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
1858 and call _IO_fwide, to get the wide stream state initialized
1859 correctly. Don't set _IO_JUMPS.
1860 * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
1861 * libio/vswprintf.c (_IO_vswprintf): Likewise. Pass
1862 _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
1863 directly.
1864
18651999-08-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1866
1867 * math/libm-test.c (jn_test): Fix typo in description.
1868 (erfc_test): Add some more tests.
1869 (erf_test): Add some more tests.
1870
18711999-08-19 Andreas Schwab <schwab@suse.de>
1872
1873 * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
1874 expression using $(exceptions).
1875
70b2845f
UD
18761999-08-18 Ulrich Drepper <drepper@cygnus.com>
1877
96ff4937
UD
1878 * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
1879
310f9518
UD
1880 * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
1881 allocated so far. [PR libc/1261].
1882
e62ee1e4
UD
1883 * math/libm-test.c (j0_test): Adjust deltas for m68k.
1884 (jn_test): Likewise.
1885
8353b5f6
UD
1886 * dirent/dirent.h: Only define ino64_t if not already done.
1887 * posix/sys/types.h: Likewise.
1888
70b2845f
UD
1889 * ctype/ctype.h: Avoid useless #endif #if pairs.
1890
1891 * dirent/dirent.h: Define ino_t and ino64_t if not done already.
1892 (seekdir): Fix type of second parameter.
1893 * sysdeps/generic/seekdir.c: Likewise.
1894 * sysdeps/mach/hurd/seekdir.c: Likewise.
1895 * sysdeps/unix/seekdir.c: Likewise.
1896
1897 * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
1898
ad1b5f19
UD
18991999-08-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1900
1901 * manual/install.texi (Configuring and compiling): Clarify ix86
1902 situation.
1903
219aa9e9
UD
19041999-08-18 Ulrich Drepper <drepper@cygnus.com>
1905
1906 * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
1907 * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
1908 * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
1909 stdio_lim.h. Define LONG_BIT and WORD_BIT.
1910
1911 * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
1912
1913 * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
1914
1915 * misc/search.h: Don't define NULL.
1916
1917 * posix/sys/types.h: Define blksize_t if it hasn't happened.
1918 Only define key_t and blkcnt_t if it hasn't happened before.
1919 Define blksize_t if not happened before.
1920 * io/sys/stat.h: Don't define pid_t. Define blkcnt_t and blksize_t.
1921 * sysdeps/generic/bits/types.h: Define __blksize_t.
1922 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1923 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1924 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1925 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1926 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1927 * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
1928 st_blksize member.
1929 (struct stat64): Likewise.
1930 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1931 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
1932 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
1933 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1934 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1935 * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
1936 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
1937
1938 * stdlib/getsubopt.c: Correct type of second argument.
1939 * stdlib/stdlib.h: Likewise.
1940
1941 * stdlib/monetary.h: Don't include sys/types.h. Define only size_t
1942 and ssize_t.
1943
1944 * sysdeps/generic/putenv.c: Correct type of parameter.
1945 * stdlib/stdlib.h: Likewise.
1946
1947 * sysdeps/generic/msgsnd.c: Correct type of second parameter.
1948 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
1949 * sysvips/sys/msg.h: Likewise.
1950
1951 * sysdeps/generic/semop.c: Correct type of third parameter.
1952 * sysdeps/unix/sysv/linux/semop.c: Likewise.
1953 * sysvipc/sys/sem.h: Likewise. Don't include sys/types.h, define
1954 size_t.
1955
1956 * sysdeps/generic/shmget.c: Correct type of second parameter.
1957 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
1958 * sysvips/sys/shm.h: Likewise. Don't include unistd.h and sys/types.h.
1959 Declare __getpagesize here.
1960
1961 * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
1962 sys/types.h.
1963 * sysdeps/gnu/bits/ipc.h: Likewise.
1964 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
1965 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1966 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1967 * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
1968 already done.
1969
1970 * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
1971
1972 * debug/versions: Export __cyg_profile_func_enter and
1973 __cyg_profile_func_exit.
1974
1975 * math/bits/mathcalls.h: Pretty print.
1976
5d08d218
UD
19771999-08-17 Ulrich Drepper <drepper@cygnus.com>
1978
b43f26bb
UD
1979 * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
1980 case for new tzdata.
1981
5a05b367
UD
1982 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
1983 unsigned.
1984 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1985 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1986 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1987 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1988
1989 * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
1990
1991 * sysdeps/generic/ualarm.c (ualarm): Change return value and
1992 parameter type to useconds_t.
1993 * sysdeps/unix/bsd/ualarm.c: Likewise.
1994
1995 * sysdeps/generic/usleep.c (usleep): Change parameter type to
1996 useconds_t.
1997 * sysdeps/unix/sysv/linux/usleep.c: Likewise.
1998 * sysdeps/mach/usleep.c: Likewise.
1999
77f855ed
UD
2000 * locale/weight.h: Include <errno.h>.
2001
7707af89
UD
2002 * posix/sys/types.h: Define type useconds_t if not done already.
2003 * posix/unistd.h: Likewise. Use this in ualarm and usleep
2004 declarations.
2005 * sysdeps/generic/bits/types.h: Define type __useconds_t.
2006 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2007 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2008 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2009 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2010 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2011
56c55d5d
UD
2012 * dirent/dirent.h (telldir): Change return type to long int.
2013 * sysdeps/generic/telldir.c: Likewise.
2014 * sysdeps/mach/hurd/telldir.c: Likewise.
2015 * sysdeps/unix/telldir.c: Likewise.
2016 * sysdeps/unix/bsd/telldir.c: Likewise. Fix locking problem.
2017
5d08d218
UD
2018 * locale/weight.h: Set errno if an invalid character is found.
2019
23f7e58e
UD
20201999-08-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2021
2022 * math/libm-test.c (erfc_test): Add test for example from PR
2023 libc/1259.
2024 (erf_test): Likewise.
5d08d218 2025
d198009a
UD
20261999-08-17 Ulrich Drepper <drepper@cygnus.com>
2027
f1b10858
UD
2028 * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
2029 rewrite. Patch by Alan Stern <stern@kitsilano.rowland.org>.
2030
38c097ca
UD
2031 * timezone/private.h: Update from tzcode1999e.
2032 * timezone/zic.c: Likewise.
2033
2034 * timezone/africa: Update from tzdata1999e.
2035 * timezone/antarctica: Likewise.
2036 * timezone/asia: Likewise.
2037 * timezone/australasia: Likewise.
2038 * timezone/europe: Likewise.
2039 * timezone/leapseconds: Likewise.
2040 * timezone/northamerica: Likewise.
2041 * timezone/southamerica: Likewise.
2042
d198009a
UD
2043 * stdio-common/vfprintf.c (process_string_arg): Correct last patch
2044 and write correct number of bytes in case of %ls with precision.
2045 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2046
34e3c127
UD
20471999-08-16 Ulrich Drepper <drepper@cygnus.com>
2048
aa6adf82
UD
2049 * nscd/nscd.init: Test for kernel version and make LSB compliant.
2050 Patch by Christian Gafton.
2051
23d914d9
UD
2052 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
2053 O_RSYNC. Patch by Christian Gafton.
2054
22318b7b
UD
2055 * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
2056 possibly unterminated strings for %ls when a precision is
2057 specified.
2058 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
2059
34e3c127
UD
2060 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
2061 update_conversion_ptrs.
2062 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2063
0bd537d8
UD
20641999-08-15 Ulrich Drepper <drepper@cygnus.com>
2065
34e3c127
UD
2066 * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
2067 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
0bd537d8
UD
2068
2069 * wcsmbs/Makefile (tests): Add tst-wcsnlen.
2070 * wcsmbs/tst-wcsnlen.c: New file.
2071
0fb653cc
UD
20721999-08-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2073
2074 * libio/ioputs.c (_IO_puts): Add missing brace.
2075
02228370
UD
20761999-07-20 Geoff Keating <geoffk@cygnus.com>
2077
2078 * math/libm-test.c: Tweak deltas for a clean run on ppc.
2079
c9eaa8b9
UD
20801999-08-10 H.J. Lu <hjl@gnu.org>
2081
2082 * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
2083 (vfprintf): Likewise.
2084 * stdio-common/vfscanf.c (ORIENT): Likewise.
2085 * libio/genops.c (__underflow): Likewise.
2086 (__uflow): Likewise.
2087 * libio/iofputs.c (_IO_fputs): Likewise.
2088 * libio/ioftell.c (_IO_ftell): Likewise.
2089 * libio/iofwrite.c (_IO_fwrite): Likewise.
2090 * libio/ioputs.c (_IO_puts): Likewise.
2091 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
2092 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
2093
7d7fe004
UD
20941999-08-15 Ulrich Drepper <drepper@cygnus.com>
2095
2096 * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
2097
6444b087
UD
20981999-08-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2099
2100 * manual/job.texi (Process Group Functions): Document getpgid,
2101 getsid.
2102
3a9eb648
UD
21031999-08-15 Ulrich Drepper <drepper@cygnus.com>
2104
2105 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
2106 initialize si_pid from it.
2107 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
2108 parameter.
2109 * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
2110 * rt/aio_misc.h (struct waitlist): Add caller_pid element.
2111 (struct requestlist): Likewise.
2112 Adjust prototypes of __aio_notify_only and __aio_sigqueue.
13ee446d 2113 * rt/aio_notify.c (__aio_notify_only): Take extra parameter. Pass it
3a9eb648
UD
2114 to __aio_sigqueue.
2115 (__aio_notify): Pass caller PID to __aio_notify_only.
2116 * rt/aio_suspend.c: Initialize caller_pid.
2117 * rt/lio_listio.c: Likewise.
2118 * rt/lio_listio64.c: Likewise.
2119
2120 * rt/lio_listio.c: If nothing has to be done free mutex before
2121 signalling.
2122 * rt/lio_listio64.c: Likewise.
2123
0cc70fcf
UD
21241999-08-10 H.J. Lu <hjl@gnu.org>
2125
13ee446d
UD
2126 * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
2127 handling.
0cc70fcf
UD
2128
21291999-08-15 Ulrich Drepper <drepper@cygnus.com>
2130
2131 * elf/elf.h: Define ElfXX_Versym.
2132 * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
2133 definition.
2134
2135 * stdio-common/vfprintf.c (process_string_arg): Handle precisions
2136 for string output correctly in the wide character case.
2137 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
2138
2139 * intl/locale.alias: Add catalan.
2140
21411999-08-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2142
13ee446d 2143 * manual/install.texi (Configuring and compiling): Mention CFLAGS.
0cc70fcf
UD
2144
21451999-08-15 Ulrich Drepper <drepper@cygnus.com>
2146
2147 * po/pt_BR.po: New file.
2148
21491999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2150
2151 * math/libm-test.c (yn_test): Adjust deltas for i386.
2152 (ccosh_test): Likewise.
2153 (jn_test): Likewise.
2154
21551999-08-15 Ulrich Drepper <drepper@cygnus.com>
2156
2157 * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
2158
ed9c47d9
UD
21591999-08-13 Ulrich Drepper <drepper@cygnus.com>
2160
2161 * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
2162 problem.
2163
2b80a372
UD
21641999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2165
2166 * configure.in: install-sh lives now in scripts subdir.
2167 PR libc/1255 (bug 4).
2168
f9181e0e
UD
21691999-08-13 Ulrich Drepper <drepper@cygnus.com>
2170
0697cdc3
UD
2171 * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
2172 version.
2173
f9181e0e
UD
2174 * po/fr.po: Update.
2175
5a260152
UD
21761999-08-11 Thorsten Kukuk <kukuk@suse.de>
2177
2178 * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
2179
c8bb15ce
UD
21801999-08-13 Ulrich Drepper <drepper@cygnus.com>
2181
5a260152 2182 * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
c8bb15ce
UD
2183 exponent.
2184
21851999-08-10 Andreas Schwab <schwab@suse.de>
2186
2187 * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
2188 header.
2189
e79137b2
UD
21901999-08-09 Scott Bambrough <scottb@netwinder.org>
2191
2192 * elf/elf.h: Added definition of ELFOSABI_ARM.
2193 * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
2194 VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
2195 object's header and ABI values are acceptable.
2196 (VALID_ELF_HEADER): New macro; provide default definition.
2197 (VALID_ELF_OSABI): New macro; provide default definition.
2198 (VALID_ELF_ABIVERSION): New macro; provide default definition.
2199 * sysdeps/arm/dl-machine.h Define ARM specific versions of
2200 VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
2201
22021999-08-09 Andreas Schwab <schwab@suse.de>
2203
2204 * inet/tst-ipnode.c (main): Don't compare integer with NULL.
2205
22061999-08-09 Thorsten Kukuk <kukuk@suse.de>
2207
2208 * sunrpc/svc_run.c (svc_run): Free my_pollfd.
2209
22101999-08-09 Andreas Schwab <schwab@suse.de>
2211
2212 * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
2213
87843f15
UD
22141999-08-08 Ulrich Drepper <drepper@cygnus.com>
2215
91873684
UD
2216 * sysdeps/ieee754/ieee754.h: Handle platforms with special
2217 __FLOAT_WORD_ORDER. Patch by Joel Klecker <jk@espy.org>.
2218
87843f15
UD
2219 * string/bits/string2.h: Mark void* operations as extensions.
2220 * sysdeps/i386/i486/bits/string.h: Likewise.
2221
2222 * debug/Makefile (routines): Add noophooks.
2223 (extra-libs): Add libpcprofile. Add rules to build libpcprofile.
2224 * debug/noophooks.c: New file.
2225 * debug/pcprofile.c: New file.
2226
7aa6d208
UD
22271999-08-06 Ulrich Drepper <drepper@cygnus.com>
2228
754549b3
UD
2229 * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
2230 systems which allow using the functions also on non-seekable
2231 devices.
2232
3ac3f380
UD
2233 * resolv/res_send.c (res_send): Recompute timeout for poll for
2234 each jump to `wait'.
2235
f79973fa
UD
2236 * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
2237 braces to avoid warnings.
2238 (IN6ADDR_LOOPBACK_INIT): Likewise.
2239
7aa6d208
UD
2240 * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
2241 MSG_DONTWAIT).
2242
f341c297
UD
22431999-08-06 H.J. Lu <hjl@gnu.org>
2244
2245 * malloc/malloc.c: Initialize __libc_pagesize early.
2246
93160baa
UD
22471999-08-06 Ulrich Drepper <drepper@cygnus.com>
2248
544e1130
UD
2249 * string/string-inlines.c: Undefined __USE_STRING_INLINES before
2250 defining it.
2251
5ab1c033 2252 * inet/Makefile (tests): Add tst-ipnode.
93160baa
UD
2253 * inet/tst-ipnode.c: New file.
2254
c79772f5
UD
22551999-08-06 Andreas Schwab <schwab@suse.de>
2256
2257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
2258 New definitions.
2259 (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
2260 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
2261 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
2262 New definitions.
2263 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
2264 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
2265
652df710
UD
22661999-08-06 Jakub Jelinek <jj@ultra.linux.cz>
2267
2268 * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
2269 * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
2270 * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
2271
0cebbf51
UD
22721999-08-06 Ulrich Drepper <drepper@cygnus.com>
2273
2274 * resolv/res_send.c (res_send): Don't test file descriptor for
2275 range, we use poll now. [PR libc/1240]
2276
6eead9b4
UD
22771999-08-05 Ulrich Drepper <drepper@cygnus.com>
2278
2279 * libio/genops.c (_IO_flush_all): Don't access elements beyond what
2280 2.0 defined if they are not available.
2281
b85f2e87
UD
22821999-08-05 Thorsten Kukuk <kukuk@suse.de>
2283
2284 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
2285 Define.
2286
4bea7a2e
UD
22871999-08-04 Ulrich Drepper <drepper@cygnus.com>
2288
2289 * rt/aio_read.c: Fix return value.
2290 * rt/aio_read64.c: Likewise.
2291 Reported by Christian Gafton.
2292
f6948bdc
UD
2293 * rt/aio_write.c: Fix return value.
2294 * rt/aio_write64.c: Likewise.
d65ddb34 2295 * rt/aio_fsync.c: Likewise.
f6948bdc 2296
4bea7a2e
UD
2297 * rt/aio_misc.c: Set errno at correct place.
2298
cfafc6fd
UD
2299 * rt/aio_fsync.c: Test OP parameter for correct values.
2300
4a900f3b
UD
2301 * hesiod/hesiod.c: Avoid emitting rcsid in object file.
2302
2f638d5e
UD
23031999-08-04 Andreas Schwab <schwab@suse.de>
2304
2305 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
2306 Initialize result to one.
2307 (GET_NPROCS_CONF_PARSER): Likewise.
2308
630b9a59
UD
23091999-08-03 Ulrich Drepper <drepper@cygnus.com>
2310
2311 * inet/ether_hton.c: Pass errno pointer to NSS function.
2312 * inet/getnetgrent_r.c: Likewise.
2313 Reported by Marty Leisner <leisner@rochester.rr.com>.
2314
d6f6ffa1
UD
23151999-08-02 Thorsten Kukuk <kukuk@suse.de>
2316
2317 * nis/nis_callback.c: Fix port problem on big-endian machines
2318 * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
2319 fields are always 32 bit.
2320 Patches from Paul Mackerras <paulus@cs.anu.edu.au>
2321
2322 * nis/nss_nis/nis-service.c: Remove htons, port is always in
2323 network-byte-order.
2324 * nis/nss_nisplus/nisplus-service.c: Rename number to port.
2325
4bdd6453
UD
23261999-08-03 Andreas Schwab <schwab@suse.de>
2327
2328 * sysdeps/posix/sigset.c: Unblock the signal after setting its
2329 disposition. Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
2330 avoid two calls to sigprocmask.
2331
d03db7f0
UD
23321999-08-02 Ulrich Drepper <drepper@cygnus.com>
2333
2334 * sysdeps/generic/s_nexttowardf.c: Fix typo.
2335
7b19af68
UD
23361999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
2337
2338 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
2339 Only allow rt signal frames. No SA_SIGINFO signals will have the
2340 siginfo_t just not filled out with SI_NOINFO code.
2341 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
2342 (register_dump): Take the above change into account.
2343 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
2344 (rt_signal_frame): Likewise.
2345
2346 * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
2347
249fd241
UD
23481999-08-02 Thorsten Kukuk <kukuk@suse.de>
2349
b533f96f 2350 * nis/nis_callback.c (internal_nis_do_callback): Use poll()
249fd241
UD
2351 instead of select().
2352
23531999-08-02 Ulrich Drepper <drepper@cygnus.com>
2354
2355 * sysdeps/generic/s_nextafter.c: Define __nexttoward and
2356 nexttoward so something else so that aliasing works.
2357
23581999-08-02 Thorsten Kukuk <kukuk@suse.de>
2359
2360 * sysdeps/generic/math_ldbl.h: Fix typo.
2361 * sysdeps/generic/strtold.c: Remove unbalanced #endif.
2362 * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
2363
23641999-08-02 Ulrich Drepper <drepper@cygnus.com>
2365
2366 * elf/resolvfail.c: Include stdio.h. Also test dlerror.
2367
4f2793d4
UD
23681999-08-01 Ulrich Drepper <drepper@cygnus.com>
2369
ff5fad16
UD
2370 * elf/Makefile (tests): Add resolvfail. Add rules to build the
2371 program.
2372 * elf/resolvfail.c: New file.
2373
4f2793d4
UD
2374 * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
2375 pass it to _dl_lookup_symbol.
2376
2377 * elf/dl-error.c (_dl_signal_error): Optimize string generation a
2378 bit. Reword message.
2379
2380 * dlfcn/dlerror.c: Make code thread-safe.
2381
549c48e7
RM
23821999-07-31 Roland McGrath <roland@baalperazim.frob.com>
2383
2384 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
2385 initializer in CHECK: a bit size, not the type code repeated!
2386
8685bf13
UD
23871999-07-31 Ulrich Drepper <drepper@cygnus.com>
2388
2389 * string/tester.c: Add tests with constant arguments for strcpy
2390 and stpcpy.
2391
83f6a990
UD
23921999-07-31 H.J. Lu <hjl@gnu.org>
2393
2394 * string/bits/string2.h (__strcpy_small): Fix a typo.
2395
899a2827
UD
23961999-07-31 Ulrich Drepper <drepper@cygnus.com>
2397
f01010de
UD
2398 * Makeconfig (link-libc): Always define it, not only for shared
2399 builds.
2400
899a2827
UD
2401 * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
2402 * sysdeps/i386/fpu/e_powf.S: Likewise.
2403 * sysdeps/i386/fpu/e_powl.S: Likewise. [PR libc/1213].
2404
2405 * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
2406 * sysdeps/generic/e_gammal_r.c: Likewise. [PR libc/1212].
2407
bdb04ee8
UD
24081999-07-30 Andreas Schwab <schwab@suse.de>
2409
2410 * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
2411 definition.
2412 (__get_nprocs): Use it.
2413 (__get_nprocs_conf): Define as separate function if
2414 GET_NPROCS_CONF_PARSER is defined.
2415 * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
2416
2417 * include/sys/sysinfo.h: New file.
2418 * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
2419 interface.
2420 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
2421
24221999-07-30 H.J. Lu <hjl@gnu.org>
2423
2424 * libio/iofflush.c (fflush_unlocked): Weak aliase if
2425 _IO_MTSAFE_IO is not defined.
2426 * libio/clearerr.c (clearerr_unlocked): Likewise.
2427 * libio/feof.c (feof_unlocked): Likewise.
2428 * libio/ferror.c (ferror_unlocked): Likewise.
2429 * libio/fputc.c (fputc_unlocked): Likewise.
2430 * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
2431 * libio/getchar.c (getchar_unlocked): Likewise.
2432 * libio/putc.c (putc_unlocked): Likewise.
2433 * libio/putchar.c (putchar_unlocked): Likewise.
2434
24351999-07-30 Thorsten Kukuk <kukuk@suse.de>
2436
2437 * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
2438 svc_max_pollfd and svc_pollfd to GLIBC_2.2
2439 * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
2440 for svc_run/poll interface.
2441 * sunrpc/rpc/types.h: Add rpc*_t typedefs.
2442 * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
2443 global variable.
2444 * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
2445 rewrite other svc_getreq* functions to use svc_getreq_common.
2446 * sunrpc/svc_run.c: Use poll().
2447
24481999-07-30 Andreas Schwab <schwab@suse.de>
2449
2450 * Makerules: Put sysd-versions and Versions.all on
2451 postclean-generated instead of common-generated.
2452
24531999-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2454
2455 * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
2456 around and CLOCKS_PER_SEC is 1e6.
2457
94ffedf6
UD
24581999-07-30 Ulrich Drepper <drepper@cygnus.com>
2459
3d558f4e
UD
2460 * configure.in: Add test for local label subtraction.
2461 * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
2462 * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
2463 labels to reduce number of runtime relocations and move jump
2464 tables in read-only seciton.
2465
94ffedf6
UD
2466 * malloc/malloc.c (ptmalloc_init): Correct last patch. The
2467 assignment cannot be moved.
2468
53308042
UD
24691999-07-29 H.J. Lu <hjl@gnu.org>
2470
66f8fa9b
UD
2471 * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
2472 if no threads are used.
2473
2474 * libio/iofwrite.c: Add weak alias for _unlocked function if not
2475 _IO_MTSAFE_IO.
2476 * libio/iofread.c: Likewise.
2477 * libio/iofgets.c: Likewise.
2478 * libio/iofputs.c: Likewise.
2479
2480 * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
2481 definition.
2482
53308042
UD
2483 * stdlib/mbtowc.c: Include <string.h>.
2484 * stdlib/wctomb.c: Likewise.
2485 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
2486 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
2487
2488 * misc/mntent_r.c: Include <alloca.h>.
2489 * elf/dl-runtime.c: Likewise.
2490
f9a2a636
UD
24911999-07-29 Andreas Schwab <schwab@suse.de>
2492
2493 * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
2494 all floating point formats supported by gcc. Error out for
2495 unhandled precisions.
2496 * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
2497 * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
2498 * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
2499
ea3e6a3a
UD
25001999-07-29 Ulrich Drepper <drepper@cygnus.com>
2501
de4a40d0
UD
2502 * sysdeps/generic/setenv.c: Move setenv code in new function
2503 __add_to_environ. Add new parameter specifying already
2504 constructed string for the environment.
2505 (setenv): Call __add_to_environ with new parameter set to NULL.
2506 (unsetenv): Really test all elements for duplicated name. Missed those
2507 cases where the two are following each other.
2508 * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
2509 * include/stdlib.h: Add prototype of __add_to_environ.
2510 * stdlib/tst-environ.c: New file.
dbc75fb3 2511 * stdlib/Makefile (tests): Add tst-environ.
de4a40d0 2512
9031847d
UD
2513 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
2514
ea3e6a3a
UD
2515 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
2516 argument in realloc call.
2517 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
2518 Likewise.
2519 Reported by Danny Braniss <danny@cs.huji.ac.il>.
2520
b113c12c
UD
25211999-07-28 Ulrich Drepper <drepper@cygnus.com>
2522
2523 * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
2524 to print.
2525 * misc/efgcvt_r.c: Likewise.
2526 * misc/qefgcvt.c: Likewise.
2527 * misc/qefgcvt_r.c: Likewise.
2528 * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
2529 anymore.
2530
aa847ee5
UD
25311999-07-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2532
2533 * manual/math.texi (FP Function Optimization): Mention drawbacks.
2534
9f097308
UD
25351999-07-28 Ulrich Drepper <drepper@cygnus.com>
2536
2537 * stdlib/mblen.c: Use static state.
2538 Reported by Bruno Haible <haible@ilog.fr>.
2539
2540 * stdlib/mbtowc.c: Reset state for s == NULL.
2541 * stdlib/wctomb.c: Likewise.
2542 Reported by Bruno Haible <haible@ilog.fr>.
2543
2544 * stdlib/mbstowcs.c: Do not use global state.
2545 Reported by Bruno Haible <haible@ilog.fr>.
2546
97a0d44d
UD
25471999-07-28 Andeas Schwab <schwab@suse.de>
2548
2549 * iconvdata/Makefile: Don't try to run iconv tests when cross
2550 compiling.
2551
50d3390d
RM
25521999-07-27 Mark Kettenis <kettenis@gnu.org>
2553
2554 * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
2555 assembler code to switch stacks and call init1 outside this
2556 function. Inside `init' the code was optimized away by gcc
2557 2.95 since it was "clearly" unreachable.
2558 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2559 Do something similar for the trampoline code.
2560
7396d844
UD
25611999-07-27 Ulrich Drepper <drepper@cygnus.com>
2562
2563 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
2564 for the hinted protocol.
2565
e69dbc25
UD
25661999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2567
2568 * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
2569
a1eca9f3
UD
25701999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
2571
2572 * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
2573 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
2574 * elf/dl-load.c (_dl_map_object): Likewise.
2575 * elf/do-lookup.h (do_lookup*): Likewise.
2576 * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
7396d844 2577 * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
a1eca9f3
UD
2578 as uint64_t.
2579 * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
2580
b7375f6c
UD
25811999-07-26 Ulrich Drepper <drepper@cygnus.com>
2582
650364fa
UD
2583 * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
2584 * sysdeps/generic/getpgrp.c: Likewise.
2585 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
2586 * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
2587 Patch by John Tobey <jtobey@banta-im.com>.
2588
b7375f6c
UD
2589 * sysdeps/posix/wait3.c: Help compiling in presence of
2590 __transparent_union__. Reported by John Tobey <jtobey@banta-im.com>.
2591
8cb079d4
UD
25921999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
2593
2594 * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
2595 as much as possible. Declare them using .register pseudo-op if they
2596 are still used.
2597 * sysdeps/sparc/sparc64/lshift.S: Likewise.
2598 * sysdeps/sparc/sparc64/memchr.S: Likewise.
2599 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
2600 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2601 * sysdeps/sparc/sparc64/memset.S: Likewise.
2602 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2603 * sysdeps/sparc/sparc64/rshift.S: Likewise.
2604 * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
2605 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2606 * sysdeps/sparc/sparc64/strcat.S: Likewise.
2607 * sysdeps/sparc/sparc64/strchr.S: Likewise.
2608 * sysdeps/sparc/sparc64/strcmp.S: Likewise.
2609 * sysdeps/sparc/sparc64/strcpy.S: Likewise.
2610 * sysdeps/sparc/sparc64/strcspn.S: Likewise.
2611 * sysdeps/sparc/sparc64/strlen.S: Likewise.
2612 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2613 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2614 * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
2615 * sysdeps/sparc/sparc64/strspn.S: Likewise.
2616 * sysdeps/sparc/sparc64/sub_n.S: Likewise.
2617 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2618 Optimize trampoline code for .plt4-.plt32767.
2619 Fix trampolines for .plt32768+.
2620
f05f5ca3
UD
26211999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
2622
2623 * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
2624 -mcpu=v8.
2625 * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
2626 * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
2627 libc's private use (as assembly routine clobber it anyway).
2628
26291999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2630
2631 * README.template (configurations): The crypt add-on has a new
2632 ftp site.
2633 * manual/install.texi (Installation): Likewise.
2634
be1dd949
UD
26351999-07-26 Ulrich Drepper <drepper@cygnus.com>
2636
252ff6b6
UD
2637 * time/time.h: Add forward for struct sigevent. Unix98 maybe
2638 requires to have a full definition but we wait for a bug report
2639 based on the test suite.
2640
be1dd949
UD
2641 * sysdeps/generic/clock_getres.c: New file.
2642 * sysdeps/generic/clock_gettime.c: New file.
2643 * sysdeps/generic/clock_settime.c: New file.
2644 * sysdeps/generic/timer_create.c: New file.
2645 * sysdeps/generic/timer_delete.c: New file.
2646 * sysdeps/generic/timer_getoverr.c: New file.
2647 * sysdeps/generic/timer_gettime.c: New file.
2648 * sysdeps/generic/timer_settime.c: New file.
2649
2650 * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
2651 CLOCK_REALTIME, and TIMER_ABSTIME.
2652 * sysdeps/mach/hurd/bits/time.h: Likewise.
2653 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
2654 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
2655
2656 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
2657
2658 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
2659 si_timer2.
2660
2661 * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
2662
2663 * time/Makefile (routines): Add clock_getres, clock_gettime,
2664 clock_setres, timer_create, timer_delete, timer_getoverr,
2665 timer_gettime, and timer_settime.
2666
2667 * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
2668 POSIX.1b. Add prototypes for clock and timer functions.
2669
ed664e8e
RM
26701999-07-26 Roland McGrath <roland@baalperazim.frob.com>
2671
2672 * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
2673 Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
2674
b8a423c2
UD
26751999-07-26 Ulrich Drepper <drepper@cygnus.com>
2676
ff5c72ff
UD
2677 * stdlib/wcstombs.c: Do not use global state.
2678 Reported by Bruno Haible <haible@ilog.fr>.
2679
eea35053
UD
2680 * wcsmbs/wctob.c: Avoid sign extension when returning character.
2681 Reported by Bruno Haible <haible@ilog.fr>.
2682
b8a423c2
UD
2683 * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
2684 of wide characters to convert do it right and don't overestimate
2685 by multiplying with MB_CUR_MAX.
2686 Reported by Bruno Haible <haible@ilog.fr>.
2687
b18ac18e
UD
26881999-07-26 Jakub Jelinek <jj@ultra.linux.jz>
2689
2690 * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
2691 (__stpcpy_small): Likewise.
2692 Union has no __uc member but __c.
2693
c4bf3226
AS
26941999-07-26 Andreas Schwab <schwab@suse.de>
2695
2696 * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
2697
722c33bb
UD
26981999-07-25 Ulrich Drepper <drepper@cygnus.com>
2699
f1778711
UD
2700 * libio/iofclose.c (_IO_new_fclose): Only fall back on
2701 _IO_old_fclose if doing versioning.
2702
c7f7281e
UD
2703 * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
2704 them appropriately.
2705 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2706
b0b422e8
UD
2707 * misc/mntent_r.c: Allow spaces and tabs in entry names by
2708 encoding these characters.
63f7cb44 2709 * misc/tst-mntent.c: Add test case for addmntent and getmntent.
b0b422e8 2710
722c33bb
UD
2711 * string/bits/string2.h: Fix aliasing problems.
2712 * sysdeps/i386/i486/bits/string.h: Likewise.
2713 * sysdeps/i386/bits/string.h: Likewise.
2714
27151998-12-28 Geoff Keating <geoffk@ozemail.com.au>
2716
2717 * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
2718 * elf/rtld.c (dl_main): Don't call malloc() between
2719 re-relocating the dynamic linker and running the application's crt0.
2720
27211999-07-21 Paul D. Smith <psmith@gnu.org>
2722
2723 * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
2724 glob.h to get __P() macro.
2725
2726 * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
2727 not ANSI.
2728 (__strchrnul): This won't exist outside GLIBC, so create one.
2729
27301999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
2731
2732 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
2733 __ino64_t should be 32bit unsigned type on sparc32.
2734 Define __off64_t to __quad_t instead of __int64_t.
2735 Make __pic_pid_t unsigned on sparc32.
2736
27371999-07-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2738
2739