]> sourceware.org Git - glibc.git/blame - ChangeLog
* sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>. (_dl_argv): Declare. ...
[glibc.git] / ChangeLog
CommitLineData
8443afdc
MK
12001-03-24 Mark Kettenis <kettenis@gnu.org>
2
3 * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
4 (_dl_argv): Declare.
5 (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
6
cb207240
AJ
72001-03-22 Andreas Jaeger <aj@suse.de>
8
9 * iconvdata/Makefile (generated): Add iconv-test.xxx.
10
11 * posix/Makefile (generated): Add bug-regex2.mtrace and
12 bug-regex2-mem.
13
844b79a6
UD
142001-03-21 Ulrich Drepper <drepper@redhat.com>
15
16 * csu/version.c (__gnu_get_libc_release): Add prototype.
17 (__gnu_get_libc_version): Likewise.
18 * include/gnu/libc-version.h: Remove prototypes for not exported
19 functions.
20
313e5fb3
UD
212001-03-21 Jes Sorensen <jes@linuxcare.com>
22
23 * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
24 for internationalized printfs to work.
25
e686e1a1
UD
262001-03-09 Bruno Haible <haible@clisp.cons.org>
27
28 * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
29 avoid compiler warning.
30 (_nl_find_msg): Add casts to avoid compiler warnings.
31
4c48b267
UD
322001-03-21 Ulrich Drepper <drepper@redhat.com>
33
34 * gmon/Makefile (routines): Add sprofil.
35 (tests): Add tst-sprofil.
36 (noprof): Add sprofil.
37 * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
38
392001-03-20 David Mosberger <davidm@hpl.hp.com>
40
41 * sysdeps/generic/sprofil.c: New file.
42 * sysdeps/posix/sprofil.c: New file.
43 * gmon/tst-sprofil.c: New file.
44 * gmon/sys/profil.h: New file.
45
cf4431ed
UD
462001-03-20 Andreas Schwab <schwab@suse.de>
47
48 * include/unistd.h: Adjust prototype of __gethostname.
49
df4cada7
UD
502001-03-20 Jakub Jelinek <jakub@redhat.com>
51
52 * sysdeps/sparc/stackinfo.h: New file.
53
9113b2a2
AJ
542001-03-21 Andreas Jaeger <aj@suse.de>
55
56 * elf/global.c (main): Use proper prototype.
57
c200ecdf
UD
582001-03-20 Ulrich Drepper <drepper@redhat.com>
59
f1e4a4a4
UD
60 * sunrpc/Makefile (routines): Add rpc_thread.
61 (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
62 * sunrpc/rpc_thread.c: New file.
63 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
64 * sunrpc/auth_none.c: Don't use global variables. Access state in
65 thread-local storage.
66 * sunrpc/clnt_perr.c: Likewise.
67 * sunrpc/clnt_raw.c: Likewise.
68 * sunrpc/clnt_simp.c: Likewise.
69 * sunrpc/key_call.c: Likewise.
70 * sunrpc/rpc_common.c: Likewise.
71 * sunrpc/svc.c: Likewise.
72 * sunrpc/svc_raw.c: Likewise.
73 * sunrpc/svc_simple.c: Likewise.
74 * sunrpc/svcauth_des.c: Likewise.
75 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
76 _HURD_THREADVAR_RPC_VARS.
77 * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
78 * include/rpc/rpc.h: Define data structures for internal thread-local
79 "global" variables.
80 Based on patches by Eric Norum <eric.norum@usask.ca>.
81
55c91021
UD
82 * elf/dl-load.c: Various little optimizations.
83
c200ecdf
UD
84 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
85 LINUX_LINK_MAX only if the statfs function is not implemented for
86 the filesystem.
87
88 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
89 LINUX_LINK_MAX only if the fstatfs function is not implemented for
90 the filesystem.
91
2541eda0
UD
922001-03-19 Ulrich Drepper <drepper@redhat.com>
93
94 * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
95
96 * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
97 (_dl_dst_substitute): Likewise.
98
4a4d50f3
UD
992001-03-17 Bruno Haible <haible@clisp.cons.org>
100
101 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
102
1032001-03-17 Bruno Haible <haible@clisp.cons.org>
104
105 * intl/gettextP.h (struct expression): Add operators lnot, less_than,
106 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
107 union by a 'nargs' counter and an 'args[]' array.
108 * intl/plural.y: Don't include stdarg.h.
109 (new_exp): Take an array of arguments instead of varargs.
110 (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
111 ('?' ':'): Make right-associative.
112 (EQUOP2): New token, replaces '=' and '!'.
113 (CMPOP2): New token.
114 (ADDOP2): New token, replaces '+' and '-'.
115 (MULOP2): New token, replaces '*', '/' and '%'.
116 ('!'): New token.
117 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
118 (start): Call YYABORT here.
119 (FREE_EXPRESSION): Update.
120 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
121 Update for new token symbols.
122 * intl/loadmsgcat.c (plvar, plone, germanic_plural,
123 init_germanic_plural): Update.
124 * intl/dcigettext.c (_nl_find_msg): Optimize for space.
125 (plural_eval): Recognize comparison and '!' operators. Optimize for
126 space.
127
1282001-03-10 Bruno Haible <haible@clisp.cons.org>
129
130 * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
131 NULL any more.
132
1332001-01-05 Bruno Haible <haible@clisp.cons.org>
134
135 * intl/loadmsgcat.c: Include headers needed for alloca().
136 (freea): New macro.
137 (_nl_load_domain): Add fallback code for platforms lacking alloca.
138 * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
139 (freea): New macro.
140 (read_alias_file): Simplify fallback code for platforms lacking
141 alloca.
142
1432001-01-07 Bruno Haible <haible@clisp.cons.org>
144
145 * intl/gettextP.h (__gettextdebug): Remove declaration.
146 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
147 syntax.
148 (gettext_free_exp__, gettextparse__): New non-libc declarations.
149 * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
150 not __gettextparse, __gettext_free_exp.
151 * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
152
1532001-02-24 Bruno Haible <haible@clisp.cons.org>
154
155 * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
156
1572001-01-05 Bruno Haible <haible@clisp.cons.org>
158
159 * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
160 lacking strtoul, like SunOS4.
161
1622001-01-05 Bruno Haible <haible@clisp.cons.org>
163
164 * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
165
1662001-01-05 Bruno Haible <haible@clisp.cons.org>
167
168 * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
169 syntax.
170 * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
171 * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
172 * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
173 syntax.
174
1752001-01-07 Bruno Haible <haible@clisp.cons.org>
176
177 * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
178 bindtextdomain__, bind_textdomain_codeset__): New declarations, from
179 old libgettext.h.
180 * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
181 * intl/dcgettext.c: Likewise.
182 * intl/dcigettext.c: Likewise.
183 * intl/dcngettext.c: Likewise.
184 * intl/dngettext.c: Likewise.
185 * intl/finddomain.c: Likewise.
186 * intl/ngettext.c: Likewise.
187 * intl/textdomain.c: Likewise.
188 * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
189 Include gettextP.h.
190 * intl/gettext.c: Likewise. Don't include locale.h.
191
1922001-03-17 Bruno Haible <haible@clisp.cons.org>
193
194 * intl/gettextP.h (ZERO): New macro.
195 (struct binding): Always use ZERO.
196 * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
197 lack it, like SunOS4.
198 (set_binding_values): Use offsetof, not sizeof.
199 * intl/dcigettext.c (offsetof): Provide fallback for platforms that
200 lack it, like SunOS4.
201 (ZERO): Remove macro.
202 (struct transmem_list): Use ZERO.
203 (DCIGETTEXT): Use offsetof, not sizeof.
204
2052001-03-17 Bruno Haible <haible@clisp.cons.org>
206
207 * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
208 nls_uint32.
209 * intl/bindtextdom.c: Don't include gettext.h.
210 * intl/dcgettext.c: Likewise.
211 * intl/dcigettext.c: Likewise.
212 * intl/dcngettext.c: Likewise.
213 * intl/dngettext.c: Likewise.
214 * intl/finddomain.c: Likewise.
215 * intl/localealias.c: Likewise.
216 * intl/ngettext.c: Likewise.
217 * intl/plural.y: Likewise.
218 * intl/textdomain.c: Likewise.
219
2202001-03-17 Bruno Haible <haible@clisp.cons.org>
221
222 * intl/gettext.h: Don't include <stdio.h>.
223
2242001-03-17 Bruno Haible <haible@clisp.cons.org>
225
226 * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
227 * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
228
f2615995
UD
2292001-03-19 Ulrich Drepper <drepper@redhat.com>
230
231 * sysdeps/unix/i386/i686/tempname.c: New file.
232
233 * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
234 defined use this macro to get some bits of randomness instead of
235 the usual gettimeofday or time calls.
236
2372001-03-16 Paul Eggert <eggert@twinsun.com>
238
239 * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
240 not defined, and if UINT64_MAX is not defined.
241
96c0d65d
UD
2422001-03-19 Ulrich Drepper <drepper@redhat.com>
243
244 * elf/cache.c: Mark and have translated a few more messages.
245
2462001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
247
248 * elf/cache.c: Add case for FLAG_S390_LIB64.
249 * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
250 * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
251 * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
252
3c504879
UD
2532001-03-19 Ulrich Drepper <drepper@redhat.com>
254
255 * string/Makefile (tests): Add tst-strxfrm.
256 * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert.
257 * string/Depend: New file.
258
2592001-03-19 Paul Eggert <eggert@twinsun.com>
260
261 * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
262 when given the empty string in nontrivial locales.
263
b28dcd8e
UD
2642001-03-17 H.J. Lu <hjl@gnu.org>
265
266 * manual/Makefile (install): Use $(INSTALL_DATA) instead of
267 cp to install `dir'.
268
b5d51280
UD
2692001-03-19 Andreas Schwab <schwab@suse.de>
270
271 * Makerules (build-shlib): Make sure exit codes get checked
272 properly.
273
639c3248
UD
2742001-03-18 Ulrich Drepper <drepper@redhat.com>
275
276 * Makerules (build-shlib): Remove unnecessary slashes introduced in
277 last change.
278
279 * configure.in: Test for -Bgroup option of linker.
280 * config.make.in: Define have-Bgroup.
281
282 * conform/data/unistd.h-data: Require gethostname.
283 * posix/unistd.h: Make gethostname prototype available for
284 __USE_XOPEN2K.
285
286 * crypt/Makefile: When generating DSO link with libc_nonshared.a.
287 * debug/Makefile: Likewise.
288 * dlfcn/Makefile: Likewise.
289 * hesiod/Makefile: Likewise.
290 * iconvdata/extra-module.mk: Likewise.
291 * locale/Makefile: Likewise.
292 * login/Makefile: Likewise.
293 * math/Makefile: Likewise.
294 * nis/Makefile: Likewise.
295 * nss/Makefile: Likewise.
296 * resolv/Makefile: Likewise.
297 * rt/Makefile: Likewise.
298
2bd7e9c3
UD
2992001-03-17 Ulrich Drepper <drepper@redhat.com>
300
301 * inet/Makefile (tests): Remove left-over comment.
302
639c3248
UD
303 * posix/unistd.h (gethostname): Change type of second parameter
304 back to size_t as per upcoming XPG6.
2bd7e9c3
UD
305 * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
306 parameter back to size_t as per upcoming XPG6.
307 * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
308 * sysdeps/unix/sysv/gethostname.c: Likewise.
309 * sysdeps/mach/hurd/gethostname.c: Likewise.
310 * sysdeps/generic/gethostname.c: Likewise.
311
7c91639e
UD
3122001-03-16 Ulrich Drepper <drepper@redhat.com>
313
276ae1f2
UD
314 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
315 Handle NaN here.
316
7c91639e
UD
317 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
318 Internationalize.
319
e1f578d6
UD
3202001-02-06 Jakub Jelinek <jakub@redhat.com>
321
322 * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
323 looking for name matches.
324
a88775bd
UD
3252001-02-26 Jakub Jelinek <jakub@redhat.com>
326
327 * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
328 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
329 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
330 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
331 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
332 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
333 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
334 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
335 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
336 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
337 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
338 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
339
a66f0958
UD
3402001-03-16 Ulrich Drepper <drepper@redhat.com>
341
342 * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
343 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
344
345 * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
346 erfcl.
347 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
348
aeba9785
UD
3492001-03-16 David Mosberger <davidm@hpl.hp.com>
350
351 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
352 Drop hack that was needed for 2.1.1 kernel headers.
353
354 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
355
356 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
357 overlay with kernel's "struct sigcontext".
358
359 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
360 sys/rse.h for "misc" subdir.
361 (sysdep_routines): Add __start_context for "stdlib" subdir.
362
363 * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
364 kernel file of the same name).
365
366 * stdlib/Makefile (tests): Add tst-setcontext.
367 * stdlib/tst-setcontext.c: New file (based on a sample program by
368 Uli Drepper).
369
370 * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
371 * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
372 * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
373 * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
a66f0958 374 * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
aeba9785
UD
375
376 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
377 instead of shift & and.
378
b8a8413c
UD
3792001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
380
381 * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
382 * sysdeps/s390/bits/huge_val.h: ...here.
383 * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
384 * sysdeps/s390/s390-64/ffs.c: Move to...
385 * sysdeps/s390/ffs.c: ...here.
386 * sysdeps/s390/s390-32/ffs.c: Remove.
387
b15ff9d6
UD
3882001-03-16 Jakub Jelinek <jakub@redhat.com>
389
390 * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
391 update osversion from more recent library.
392
ffeac417
UD
3932001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
394
395 * sysdeps/unix/sysv/linux/s390/Dist: Move to...
396 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
397 * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
398 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
399 * sysdeps/unix/sysv/linux/s390/Versions: Move to...
400 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
401 * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
402 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
403 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
404 * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
405 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
406 * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
407 * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
408 * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
409 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
410 * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
411 * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
412 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
413 * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
414 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
415 * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
416 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
417 * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
418 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
419 * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
420 * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
421 * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
422 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
423 * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
424 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
425 * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
426 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
427 * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
428 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
429 * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
430 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
431 * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
432 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
433 * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
434 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
435 * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
436 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
437 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
438 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
439 * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
440 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
441 * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
442 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
443 * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
444 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
445 * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
446 * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
447 * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
448 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
449 * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
450 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
451 * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
452 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
453 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
454 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
455 * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
456 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
457 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
458 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
459 * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
460 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
461 * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
462 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
463 * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
464 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
465 * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
466 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
467 * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
468 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
469 * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
470 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
471 * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
472 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
473 * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
474 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
475 * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
476 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
477 * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
478 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
479 * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
480 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
481 * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
482 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
483 * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
484 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
485 * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
486 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
487 * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
488 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
489 * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
490 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
491 * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
492 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
493 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
494 * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
495 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
496 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
497 * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
498 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
499 * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
500 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
501 * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
502 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
503 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
504 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
505 * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
506 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
507 * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
508 * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
509
5102001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
511
512 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
513 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
514 * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
515 * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
516 * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
517 * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
518 * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
519 * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
520 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
521 * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
522 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
523 * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
524 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
525 * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
526 * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
527 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
528 * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
529 * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
530 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
531 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
532 * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
533 * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
534 * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
535 * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
536 * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
537 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
538 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
539 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
540 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
541 * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
542 * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
543 * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
544 * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
545 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
546 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
547 * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
548 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
549 * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
550 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
551 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
552 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
553 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
554 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
555 * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
556 * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
557 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
558 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
559 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
560 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
561 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
562 * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
563 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
564 * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
565
5662001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
567
568 * sysdeps/s390/Dist: Move to...
569 * sysdeps/s390/390-32/Dist: ...here.
570 * sysdeps/s390/Implies: Move to...
571 * sysdeps/s390/s390-32/Implies: ...here.
572 * sysdeps/s390/Makefile: Move to...
573 * sysdeps/s390/s390-32/Makefile: ...here.
574 * sysdeps/s390/Versions: Move to...
575 * sysdeps/s390-32/s390/Versions: ...here.
576 * sysdeps/s390/add_n.S: Move to...
577 * sysdeps/s390/s390-32/add_n.S: ...here.
578 * sysdeps/s390/addmul_1.S: Move to...
579 * sysdeps/s390/s390-32/addmul_1.S: ...here.
580 * sysdeps/s390/atomicity.h: Move to...
581 * sysdeps/s390/s390-32/atomicity.h: ...here.
582 * sysdeps/s390/backtrace.c: Move to...
583 * sysdeps/s390/s390-32/backtrace.c: ...here.
584 * sysdeps/s390/bcopy.S: Move to...
585 * sysdeps/s390/s390-32/bcopy.S: ...here.
586 * sysdeps/s390/bits/byteswap.h: Move to...
587 * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
588 * sysdeps/s390/bits/huge_val.h: Move to...
589 * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
590 * sysdeps/s390/bsd-_setjmp.S: Move to...
591 * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
592 * sysdeps/s390/bsd-setjmp.S: Move to...
593 * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
594 * sysdeps/s390/bzero.S: Move to...
595 * sysdeps/s390/s390-32/bzero.S: ...here.
596 * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
597 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
598 * sysdeps/s390/elf/bsd-setjmp.S: Move to...
599 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
600 * sysdeps/s390/elf/start.S: Move to...
601 * sysdeps/s390/s390-32/elf/start.S: ...here.
602 * sysdeps/s390/ffs.c: Move to...
603 * sysdeps/s390/s390-32/ffs.c: ...here.
604 * sysdeps/s390/memchr.S: Move to...
605 * sysdeps/s390/s390-32/memchr.S: ...here.
606 * sysdeps/s390/memcpy.S: Move to...
607 * sysdeps/s390/s390-32/memcpy.S: ...here.
608 * sysdeps/s390/memset.S: Move to...
609 * sysdeps/s390/s390-32/memset.S: ...here.
610 * sysdeps/s390/mul_1.S: Move to...
611 * sysdeps/s390/s390-32/mul_1.S: ...here.
612 * sysdeps/s390/s390-mcount.S: Move to...
613 * sysdeps/s390/s390-32/s390-mcount.S: ...here.
614 * sysdeps/s390/strcpy.S: Move to...
615 * sysdeps/s390/s390-32/strcpy.S: ...here.
616 * sysdeps/s390/strncpy.S: Move to...
617 * sysdeps/s390/s390-32/strncpy.S: ...here.
618 * sysdeps/s390/sub_n.S: Move to...
619 * sysdeps/s390/s390-32/sub_n.S: ...here.
620
6212001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
622
623 * sysdeps/s390/s390-64/Dist: New file.
624 * sysdeps/s390/s390-64/Implies: New file.
625 * sysdeps/s390/s390-64/Makefile: New file.
626 * sysdeps/s390/s390-64/__longjmp.c: New file.
627 * sysdeps/s390/s390-64/add_n.S: New file.
628 * sysdeps/s390/s390-64/atomicity.h: New file.
629 * sysdeps/s390/s390-64/backtrace.c: New file.
630 * sysdeps/s390/s390-64/bcopy.S: New file.
631 * sysdeps/s390/s390-64/bits/byteswap.h: New file.
632 * sysdeps/s390/s390-64/bits/huge_val.h: New file.
633 * sysdeps/s390/s390-64/bits/setjmp.h: New file.
634 * sysdeps/s390/s390-64/bits/string.h: New file.
635 * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
636 * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
637 * sysdeps/s390/s390-64/bzero.S: New file.
638 * sysdeps/s390/s390-64/dl-machine.h: New file.
639 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
640 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
641 * sysdeps/s390/s390-64/elf/setjmp.S: New file.
642 * sysdeps/s390/s390-64/elf/start.S: New file.
643 * sysdeps/s390/s390-64/ffs.c: New file.
644 * sysdeps/s390/s390-64/initfini.c: New file.
645 * sysdeps/s390/s390-64/memchr.S: New file.
646 * sysdeps/s390/s390-64/memcpy.S: New file.
647 * sysdeps/s390/s390-64/memset.S: New file.
648 * sysdeps/s390/s390-64/s390x-mcount.S: New file.
649 * sysdeps/s390/s390-64/setjmp.S: New file.
650 * sysdeps/s390/s390-64/strcpy.S: New file.
651 * sysdeps/s390/s390-64/strncpy.S: New file.
652 * sysdeps/s390/s390-64/sub_n.S: New file.
653 * sysdeps/s390/s390-64/sysdep.h: New file.
654
6552001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
656
657 * scripts/config.guess: Add support for Linux on 64 bit S/390.
658 * scripts/config.sub: Likewise.
659
6602001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
661
662 * configure.in: Add support for 64 bit S/390.
663
664 * elf/elf.h: Add new relocations for 64 bit S/390.
665
666 * shlib-versions: Add rules for Linux on 64 bit S/390.
667
6682001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
669
670 * sysdeps/s390/__longjmp.c: Move to...
671 * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
672 to load the floating point registers that should be saved
673 according to the ABI.
674
675 * sysdeps/s390/bits/setjmp.h: Move to...
676 * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
677 the use of long long in the __jmp_buf type definition.
678
679 * sysdeps/s390/bits/string.h: Move to...
680 * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
681 #ifndef _FORCE_INLINES.
682
683 * sysdeps/s390/dl-machine.h: Move to...
684 * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
685 executables EI_CLASS in elf_machine_matches_host.
686
687 * sysdeps/s390/elf/setjmp.S: Move to...
688 * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
689 branches to globally defined symbol __sigsetjmp by branches to
690 a local label (this avoids the generation of a R_390_PC16DBL
691 relocation in -fpic code).
692
693 * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
694 calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
695
696 * sysdeps/s390/initfini.c: Move to...
697 * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
698 ".align 4,0x07".
699
700 * sysdeps/s390/setjmp.S: Move to...
701 * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
702 floating point registers that should be saved according to the ABI.
703
704 * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
705
706 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
707 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
708 sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
709
7102001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
711
712 * configure.in: Change machine=s390 to machine=s390/s390-32.
713
714 * elf/elf.h: Correct comment for R_390_PLT16DBL.
715
a986484f
UD
7162001-03-12 Jakub Jelinek <jakub@redhat.com>
717
718 * csu/Makefile (abi-tag.h): Define OS and version separately, allow
719 version to be overriden from config.h.
720 * csu/abi-note.S: Use OS and version separately, include config.h.
721 * elf/dl-load.c (_dl_osversion): New.
722 (_dl_map_object_from_fd): Kill some warnings.
723 (open_verify): Check .note.ABI-tag of the library if present.
724 * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
725 * elf/cache.c (struct cache_entry): Add osversion.
726 (print_entry): Print osversion.
727 (print_cache): Pass osversion to it.
728 (compare): Sort according to osversion.
729 (save_cache): Set osversion.
730 (add_to_cache): Add osversion argument.
731 * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
732 process_elf_file): Add osversion argument.
733 * elf/readlib.c (process_file): Likewise.
734 * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
735 * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
736 process_elf32_file, process_elf64_file): Likewise.
737 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
738 process_elf32_file, process_elf64_file): Likewise.
739 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
740 process_elf32_file, process_elf64_file): Likewise.
741 * elf/ldconfig.c (manual_link): Pass it.
742 (search_dir): Issue diagnostic if two libs with the same soname in
743 the same directory have different .note.ABI-tag. Record osversion in
744 dlib_entry and use it from there.
745 (struct lib_entry): Remove.
746 (struct dlib_entry): Add osversion.
747 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
748 osversion.
749 * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
750 field with osversion.
751 * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
752 * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
753 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
754 version in _dl_osversion.
755 * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
756 * Makerules (build-shlib-helper, build-module-helper): New.
757 (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
758 early.
759 * config.h.in (__ABI_TAG_VERSION): Add.
760 * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
761 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
762 Handle LD_ASSUME_KERNEL.
763 * sysdeps/unix/sysv/linux/dl-librecon.h: New.
764
955994e1
UD
7652001-03-15 Ulrich Drepper <drepper@redhat.com>
766
328c5f65
UD
767 * timezone/antarctica: Update from tzdata2001a.
768 * timezone/asia: Likewise.
769 * timezone/australasia: Likewise.
770 * timezone/backward: Likewise.
771 * timezone/etcetera: Likewise.
772 * timezone/europe: Likewise.
773 * timezone/leapseconds: Likewise.
774 * timezone/northamerica: Likewise.
775 * timezone/southamerica: Likewise.
776 * timezone/systemv: Likewise.
777 * timezone/yearistype: Likewise.
778 * timezone/zone.tab: Likewise.
779 * timezone/tzdump.c: Update from tzcode2001a.
780
7812001-03-15 H.J. Lu <hjl@gnu.org>
782
783 * intl/Makefile: Fix a typo.
784
7852001-03-14 David Mosberger <davidm@hpl.hp.com>
786
787 * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
788 writing arc structures.
789
7902001-03-15 H.J. Lu <hjl@gnu.org>
791
792 * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
793 cross-compiling.
794
7952001-03-13 Andreas Schwab <schwab@suse.de>
796
797 * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
798
7992001-03-15 Ulrich Drepper <drepper@redhat.com>
800
801 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
802 for control message fitting into message data.
803 Patch by James Antill <james@and.org>.
804
821a6bb4
UD
805 * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
806 FNM_EXTMATCH.
807
808 * posix/fnmatch_loop.c: Optimize handling of ?() and @().
809 * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
810
811 * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
812 * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
813 avoid running binaries with libc versions without FNM_EXTMATCH support.
814
815 * include/wchar.h: Add prototype for __wcscat.
816 * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
817
955994e1
UD
818 * posix/fnmatch.h (FNM_EXTMATCH): Define.
819 * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
820 (posixly_correct): Move global variable here.
821 (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
822 (fnmatch): Pretty printing.
823 * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
824 * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
825 * posix/tst-fnmatch.input: Add tests for extended matching.
826
827 * posix/testfnm.c: Add test for patterns with multiple ** before /.
828 * posix/fnmatch_loop.c: Fix problem with the test above.
829
0493a6d7
UD
8302001-03-14 Ulrich Drepper <drepper@redhat.com>
831
832 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
833 reference to usqrt.
834
835 * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
836
cd6e89b2
AJ
8372001-03-12 Andreas Jaeger <aj@suse.de>
838
839 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
0493a6d7 840 Use EM_X86_64 instead of EM_X8664.
cd6e89b2 841
ca58f1db
UD
8422001-03-12 Ulrich Drepper <drepper@redhat.com>
843
a2d61ef8
UD
844 * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
845
ca58f1db
UD
846 * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
847 conditions.
848
849 * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
850 conditions.
851
852 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
853 correctly.
854 (__cos): Likewise.
855
856 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
857 correctly.
858 (__ieee754_acos): Likewise.
859
f993e803
AJ
8602001-03-12 Andreas Jaeger <aj@suse.de>
861
8cbdd648
AJ
862 * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
863 Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
864
f993e803 865 * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
ca58f1db 866 redefinition.
f993e803 867
efd822f9
RM
8682001-03-11 Roland McGrath <roland@frob.com>
869
870 * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
871
e4d82761
UD
8722001-03-11 Ulrich Drepper <drepper@redhat.com>
873
ca58f1db
UD
874 * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
875 LITTLE_ENDI.
876
877 * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
878 parameter list.
879
e4d82761
UD
880 Last-bit accurate math library implementation by IBM Haifa.
881 Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
882 <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
883 Anna Reitman <reitman@il.ibm.com>.
884 * math/Makefile (dbl-only-routines): New variable.
885 (libm-routines): Add $(dbl-only-routines).
886 * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
887 * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
888 implementation.
889 * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
890 implementation.
891 * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
892 implementation.
893 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
894 __kernel_cos.
895 * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
896 implementation.
897 * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
898 remainder implementation.
899 * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
900 implementation.
901 * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
902 implementation.
903 * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
904 * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
905 * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
906 implementation.
907 * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
908 * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
909 implementation.
910 * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
911 and __kernel_cos.
912 * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
913 implementation.
914 * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
915 * sysdeps/ieee754/dbl-64/MathLib.h: New file.
916 * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
917 * sysdeps/ieee754/dbl-64/atnat.h: New file.
918 * sysdeps/ieee754/dbl-64/atnat2.h: New file.
919 * sysdeps/ieee754/dbl-64/branred.c: New file.
920 * sysdeps/ieee754/dbl-64/branred.h: New file.
921 * sysdeps/ieee754/dbl-64/dla.h: New file.
922 * sysdeps/ieee754/dbl-64/doasin.c: New file.
923 * sysdeps/ieee754/dbl-64/doasin.h: New file.
924 * sysdeps/ieee754/dbl-64/dosincos.c: New file.
925 * sysdeps/ieee754/dbl-64/dosincos.h: New file.
926 * sysdeps/ieee754/dbl-64/endian.h: New file.
927 * sysdeps/ieee754/dbl-64/halfulp.c: New file.
928 * sysdeps/ieee754/dbl-64/mpa.c: New file.
929 * sysdeps/ieee754/dbl-64/mpa.h: New file.
930 * sysdeps/ieee754/dbl-64/mpa2.h: New file.
931 * sysdeps/ieee754/dbl-64/mpatan.c: New file.
932 * sysdeps/ieee754/dbl-64/mpatan.h: New file.
933 * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
934 * sysdeps/ieee754/dbl-64/mpexp.c: New file.
935 * sysdeps/ieee754/dbl-64/mpexp.h: New file.
936 * sysdeps/ieee754/dbl-64/mplog.c: New file.
937 * sysdeps/ieee754/dbl-64/mplog.h: New file.
938 * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
939 * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
940 * sysdeps/ieee754/dbl-64/mptan.c: New file.
941 * sysdeps/ieee754/dbl-64/mydefs.h: New file.
942 * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
943 * sysdeps/ieee754/dbl-64/root.tbl: New file.
944 * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
945 * sysdeps/ieee754/dbl-64/sincos32.c: New file.
946 * sysdeps/ieee754/dbl-64/sincos32.h: New file.
947 * sysdeps/ieee754/dbl-64/slowexp.c: New file.
948 * sysdeps/ieee754/dbl-64/slowpow.c: New file.
949 * sysdeps/ieee754/dbl-64/uasncs.h: New file.
950 * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
951 * sysdeps/ieee754/dbl-64/uexp.h: New file.
952 * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
953 * sysdeps/ieee754/dbl-64/ulog.h: New file.
954 * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
955 * sysdeps/ieee754/dbl-64/upow.h: New file.
956 * sysdeps/ieee754/dbl-64/upow.tbl: New file.
957 * sysdeps/ieee754/dbl-64/urem.h: New file.
958 * sysdeps/ieee754/dbl-64/uroot.h: New file.
959 * sysdeps/ieee754/dbl-64/usncs.h: New file.
960 * sysdeps/ieee754/dbl-64/utan.h: New file.
961 * sysdeps/ieee754/dbl-64/utan.tbl: New file.
962 * sysdeps/i386/fpu/branred.c: New file.
963 * sysdeps/i386/fpu/doasin.c: New file.
964 * sysdeps/i386/fpu/dosincos.c: New file.
965 * sysdeps/i386/fpu/halfulp.c: New file.
966 * sysdeps/i386/fpu/mpa.c: New file.
967 * sysdeps/i386/fpu/mpatan.c: New file.
968 * sysdeps/i386/fpu/mpatan2.c: New file.
969 * sysdeps/i386/fpu/mpexp.c: New file.
970 * sysdeps/i386/fpu/mplog.c: New file.
971 * sysdeps/i386/fpu/mpsqrt.c: New file.
972 * sysdeps/i386/fpu/mptan.c: New file.
973 * sysdeps/i386/fpu/sincos32.c: New file.
974 * sysdeps/i386/fpu/slowexp.c: New file.
975 * sysdeps/i386/fpu/slowpow.c: New file.
976 * sysdeps/ia64/fpu/branred.c: New file.
977 * sysdeps/ia64/fpu/doasin.c: New file.
978 * sysdeps/ia64/fpu/dosincos.c: New file.
979 * sysdeps/ia64/fpu/halfulp.c: New file.
980 * sysdeps/ia64/fpu/mpa.c: New file.
981 * sysdeps/ia64/fpu/mpatan.c: New file.
982 * sysdeps/ia64/fpu/mpatan2.c: New file.
983 * sysdeps/ia64/fpu/mpexp.c: New file.
984 * sysdeps/ia64/fpu/mplog.c: New file.
985 * sysdeps/ia64/fpu/mpsqrt.c: New file.
986 * sysdeps/ia64/fpu/mptan.c: New file.
987 * sysdeps/ia64/fpu/sincos32.c: New file.
988 * sysdeps/ia64/fpu/slowexp.c: New file.
989 * sysdeps/ia64/fpu/slowpow.c: New file.
990 * sysdeps/m68k/fpu/branred.c: New file.
991 * sysdeps/m68k/fpu/doasin.c: New file.
992 * sysdeps/m68k/fpu/dosincos.c: New file.
993 * sysdeps/m68k/fpu/halfulp.c: New file.
994 * sysdeps/m68k/fpu/mpa.c: New file.
995 * sysdeps/m68k/fpu/mpatan.c: New file.
996 * sysdeps/m68k/fpu/mpatan2.c: New file.
997 * sysdeps/m68k/fpu/mpexp.c: New file.
998 * sysdeps/m68k/fpu/mplog.c: New file.
999 * sysdeps/m68k/fpu/mpsqrt.c: New file.
1000 * sysdeps/m68k/fpu/mptan.c: New file.
1001 * sysdeps/m68k/fpu/sincos32.c: New file.
1002 * sysdeps/m68k/fpu/slowexp.c: New file.
1003 * sysdeps/m68k/fpu/slowpow.c: New file.
1004
1005 * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
1006 codepages.
1007
f6b8deb0
AJ
10082001-03-11 Andreas Jaeger <aj@suse.de>
1009
1010 * elf/elf.h (EM_*): Synch with official list.
1011
667b0577
UD
10122001-03-07 David Mosberger <davidm@hpl.hp.com>
1013
1014 * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
1015
10162001-03-07 Jes Sorensen <jes@linuxcare.com>
1017
1018 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
1019 variables addr & len.
1020
10212001-02-22 Jes Sorensen <jes@linuxcare.com>
1022
1023 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
1024 punctuation in asm constraint.
1025
10262001-03-07 Mark Kettenis <kettenis@gnu.org>
1027
1028 * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
1029 <time.h> to get definition of `struct timespec'.
1030
10312001-03-08 Jakub Jelinek <jakub@redhat.com>
1032
1033 * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
1034 LD_WARN=1, not if LD_WARN is unset.
1035
10362001-03-07 Andreas Schwab <schwab@suse.de>
1037
1038 * elf/ldconfig.h: Moved to ...
1039 * sysdeps/generic/ldconfig.h: ... here.
1040 * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
1041 * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
1042 * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
1043 * elf/readlib.c (interpreters, known_libs): Use
1044 SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
1045 instead of hard coding old names.
1046
f79bdc33
UD
10472001-03-09 Ulrich Drepper <drepper@redhat.com>
1048
1049 * catgets/Makefile (generated): Add test-gencat.h.
1050 (sample.SJIS.cat): Also generate header.
1051 * catgets/sample.SJIS: Add new set and message, both with symbolic
1052 names.
1053 * catgets/test-gencat.sh: Also compare generated header with what
1054 we expect.
1055
10562001-03-07 Jakub Jelinek <jakub@redhat.com>
1057
1058 * catgets/gencat.c (read_input_file): Preserve properly symbolic
1059 names.
1060
10612001-03-06 Andreas Jaeger <aj@suse.de>
1062
1063 * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
1064 needed.
1065 (elf_machine_pltrel_p): Likewise.
1066 * sysdeps/powerpc/dl-machine.h: Likewise.
1067 * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
1068
10692001-03-09 Ulrich Drepper <drepper@redhat.com>
1070
1071 * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
1072 dl-procinfo.h.
1073
10742001-03-05 Philip Blundell <philb@gnu.org>
1075
1076 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
1077 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
1078 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
1079 (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
1080 dl-procinfo.
1081
10822001-03-09 Ulrich Drepper <drepper@redhat.com>
1083
1084 * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
1085 is not available.
1086 * dlfcn/tstcxaatexit.c (main): Likewise.
1087
94a3395c
AJ
10882001-03-10 Andreas Jaeger <aj@suse.de>
1089
1090 * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
1091
9672b937
AJ
10922001-03-09 Andreas Jaeger <aj@suse.de>
1093
1094 * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
1095 both new and old EM_S390 values.
1096 (EM_S390_OLD): New constant.
1097
1098 * elf/elf.h (EM_S390): Use official value.
1099
1ca17c10
UD
11002001-03-09 Ulrich Drepper <drepper@redhat.com>
1101
1102 * conform/data/sys/socket.h-data: Allow SO* symbols.
1103
3eb4be93
AS
11042001-03-07 Andreas Schwab <schwab@suse.de>
1105
1106 * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
1107 routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
1108
3897dbb6
AJ
11092001-03-07 Andreas Jaeger <aj@suse.de>
1110
1111 * resolv/Makefile (routines): Only build gai_sigqueue when threads
1112 are available.
1113
b9fb7870
AJ
11142001-03-07 Jakub Jelinek <jakub@redhat.com>
1115
504216a0
AJ
1116 * elf/ldconfig.c (_dl_sysdep_message): Remove.
1117 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
1118 ldsodefs.h.
1119 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1120
b9fb7870
AJ
1121 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
1122 _dl_error_printf instead of _dl_sysdep_error.
1123 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1124 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
1125 Use _dl_printf instead of _dl_sysdep_message.
1126 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
1127 Likewise.
1128
150f9fb8
AJ
11292001-03-06 Ben Collins <bcollins@debian.org>
1130
1131 * manual/arith.texi (Integers): Fix documentation of fast and
1132 least integer typedefs.
1133
e10546cb
AJ
11342001-03-06 Jakub Jelinek <jakub@redhat.com>
1135
1136 * resolv/Depend: New file.
1137 * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
1138 when libpthread is built.
1139
b12860f1
AJ
11402001-03-06 Andreas Jaeger <aj@suse.de>
1141
ffb555a1
AJ
1142 * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
1143
b12860f1
AJ
1144 * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
1145 Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
1146
d127a875
UD
11472001-03-05 Ulrich Drepper <drepper@redhat.com>
1148
1149 * stdlib/Versions: Remove __new_exitfn again. Not needed.
1150
647dd1ed
AJ
11512001-03-05 Andreas Jaeger <aj@suse.de>
1152
1153 * stdlib/msort.c (qsort): Don't use alloca in a function call.
1154
3e90e361
UD
11552001-03-05 Ulrich Drepper <drepper@redhat.com>
1156
1157 * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
1158 __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still
1159 always return zero.
1160 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
1161 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
1162 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1163 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
1164 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1165 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1166 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1167
278689e8
AJ
11682001-03-04 Andreas Jaeger <aj@suse.de>
1169
1170 * stdlib/longlong.h: Don't use multi-line strings.
1171 * iconvdata/tst-loading.c: Likewise.
1172
1173 * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
1174 string.
1175
73807ef9
UD
11762001-03-04 Ulrich Drepper <drepper@redhat.com>
1177
2b432733
UD
1178 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
1179
d127a875 1180 * rt/lio_listio.c: Add a few asserts.
d5198f8d 1181
273a3cfb
UD
1182 * elf/global.c: New file.
1183 * elf/globalmod1.c: New file.
1184 * elf/Makefile: Add rules to build and run global.
1185
bd575f16
UD
1186 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
1187 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
1188 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1189 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1190 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
1191
3bde1a69
UD
1192 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
1193 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1194
1195 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
1196
1197 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
1198 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
1199
1200 * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
1201
73807ef9
UD
1202 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
1203
fb0ff31b
AJ
12042001-03-04 Andreas Jaeger <aj@suse.de>
1205
f01817b0 1206 * resolv/tst-aton.c: Add testcase for IP with four periods.
fb0ff31b 1207
f01817b0 1208 * resolv/inet_addr.c: Don't recognize an IP with four periods.
fb0ff31b
AJ
1209 Patch by Andre' Breiler <A.Breiler@gmx.net>.
1210
1746f2b0
UD
12112001-02-27 Philip Blundell <pb@futuretv.com>
1212
1213 * elf/elf.h: Add new ARM definitions from latest (B-01)
1214 specification. Correct naming of EF_ARM_ALIGN8 et al.
1215
12162001-03-04 Ulrich Drepper <drepper@redhat.com>
1217
1218 * stdio-common/tst-printf.sh: Remove bashisms.
1219 Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
1220
28b20578
UD
12212001-03-03 Ulrich Drepper <drepper@redhat.com>
1222
2ace5721 1223 * Versions.def: Add libanl definition.
1746f2b0 1224 * shlib-versions: Add entry for libanl.
2ace5721
UD
1225 * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
1226 (routines): Add gai_sigqueue.
1227 (extra-libs): Add libanl.
1228 (libanl-routines): New variable.
1229 Add rules to build libanl and ga_test.
1230 * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
1231 [libanl]: New library.
1232 * resolv/netdb.h: Add definitions for libanl.
1233 * resolv/getaddrinfo_a.c: New file.
1234 * resolv/gai_cancel.c: New file.
1235 * resolv/gai_error.c: New file.
1236 * resolv/gai_misc.c: New file.
1237 * resolv/gai_misc.h: New file.
1238 * resolv/gai_notify.c: New file.
1239 * resolv/gai_suspend.c: New file.
1240 * resolv/ga_test.c: New file.
1241 * sysdeps/generic/gai_sigqueue.c: New file.
1242 * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
1243 * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
1244 and provide only that definition.
1245 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
1246 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
1247 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
1248 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1249 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1250 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
1251
1252 * rt/aio_misc.c: Fix typos in comments.
1253 * rt/lio_listio.c: Pretty printing. Little optimization in request
1254 list handling.
1255
1256 * elf/rtld.c: Remove commented out code.
1257
28b20578
UD
1258 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
1259 Update for real 2.4 kernels.
1260
c1d32f33
UD
12612001-03-01 Ulrich Drepper <drepper@redhat.com>
1262
1263 * elf/dl-load.c: Pretty printing.
1264
1265 * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
1266 twice.
1267
7b97934b
UD
12682001-02-28 Ulrich Drepper <drepper@redhat.com>
1269
1270 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
1271 relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
1272
1273 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
1274
c1d32f33 1275 * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
7b97934b
UD
1276 machines.
1277
1278 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
1279
b76a75de
UD
12802001-02-27 Ulrich Drepper <drepper@redhat.com>
1281
40619178
UD
1282 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
1283 _dl_debug_mask.
1284
b5ba0659
UD
1285 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
1286 _dl_debug_printf.
1287 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
1288 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
1289 _dl_debug_printf_c, and _dl_printf.
1290 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
1291 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
1292 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
1293 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
1294 * elf/dl-close.c: Replace use of old output functions with the new
1295 ones.
1296 * elf/dl-deps.c: Likewise.
1297 * elf/dl-error.c: Likewise.
1298 * elf/dl-fini.c: Likewise.
1299 * elf/dl-init.c: Likewise.
1300 * elf/dl-load.c: Likewise.
1301 * elf/dl-lookup.c: Likewise.
1302 * elf/dl-minimal.c: Likewise.
1303 * elf/dl-open.c: Likewise.
1304 * elf/dl-profile.c: Likewise.
1305 * elf/dl-reloc.c: Likewise.
1306 * elf/dl-version.c: Likewise.
1307 * elf/do-lookup.h: Likewise.
1308 * elf/rtld.c: Likewise.
1309 * sysdeps/generic/dl-cache.c: Likewise.
1310 * sysdeps/generic/dl-sysdep.c: Likewise.
1311 * sysdeps/generic/libc-start.c: Likewise.
1312 * sysdeps/i386/dl-machine.h: Likewise.
35fc382a
UD
1313 * sysdeps/arm/dl-machine.h: Likewise.
1314 * sysdeps/hppa/dl-machine.h: Likewise.
1315 * sysdeps/m68k/dl-machine.h: Likewise.
1316 * sysdeps/powerpc/dl-machine.h: Likewise.
1317 * sysdeps/s390/dl-machine.h: Likewise.
1318 * sysdeps/sh/dl-machine.h: Likewise.
b5ba0659
UD
1319 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1320 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
1321 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1322
1323 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
1324
1325 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
1326 supported by assembler.
1327
edd8e70f
UD
1328 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
1329 declaractions.
1330
ba9fcb3f
UD
1331 * elf/rtld.c: Little optimizations in handling _dl_lazy.
1332
1333 * elf/cache.c (save_cache): Portability changes.
1334 * elf/dl-profile.c (_dl_start_profile): Likewise.
1335
1336 * elf/sln.c: Cleanups. Remove arbitrary limits.
1337
b76a75de
UD
1338 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
1339 * elf/dl-deps.c: Likewise.
1340 * elf/dl-fini.c: Likewise.
1341 * elf/dl-init.c: Likewise.
1342 * elf/dl-load.c: Likewise.
1343 * elf/dl-lookup.c: Likewise.
1344 * elf/dl-open.c: Likewise.
1345 * elf/dl-reloc.c: Likewise.
1346 * elf/dl-support.c: Likewise.
1347 * elf/dl-version.c: Likewise.
1348 * elf/do-lookup.h: Likewise.
1349 * elf/rtld.c: Likewise.
1350 * sysdeps/generic/dl-cache.c: Likewise.
1351 * sysdeps/generic/ldsodefs.h: Likewise.
1352 * sysdeps/generic/libc-start.c: Likewise.
1353 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
1354 Export _dl_debug_mask.
1355 * Versions.def: Define GLIBC_2.2.3 for ld.
1356
4d8bbe63
GM
13572001-02-26 Greg McGary <greg@mcgary.org>
1358
1359 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
1360
46c3f8cd
UD
13612001-02-26 Paul Eggert <eggert@twinsun.com>
1362
1363 Modify mkstemp.c and tempname.c so that they can be used by
1364 GNU applications on non-glibc platforms.
1365
1366 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
1367
1368 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
1369 Include <stddef.h>, <stdint.h>, <string.h> only if
1370 STDC_HEADERS || _LIBC.
1371 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
1372 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
1373 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
1374 (__set_errno): Define this macro if <errno.h> doesn't.
1375 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
1376 Define these macros if <stdio.h> doesn't.
1377 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
1378 Define these macros if <sys/stat.h> doesn't.
1379 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
1380 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
1381 lxstat64, __xstat64): Define if not _LIBC.
1382 (struct_stat64): New macro.
1383 (direxists, __gen_tempname): Use it, to avoid a
1384 portability problem with Solaris 8.
1385 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
1386 (__gen_tempname): Invoke gettimeofday only if
1387 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
1388 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
1389 octal values like 0600.
1390
c08bc50a
UD
13912001-02-26 Ulrich Drepper <drepper@redhat.com>
1392
08b3d7ad
UD
1393 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
1394 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1395
1396 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
1397 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1398
00b16c4a
UD
1399 * posix/wordexp-test.c (testit): Remove warnings.
1400
c08bc50a
UD
1401 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
1402 (tests): Add tstatexit and tstcxaatexit.
1403 (module-names): Add modatexit and modcxaatexit.
1404 Add rules to build and run tstatexit and tstcxaatexit.
1405 * dlfcn/modatexit.c: New file.
1406 * dlfcn/modcxaatexit.c: New file.
1407 * dlfcn/tstatexit.c: New file.
1408 * dlfcn/tstcxaatexit.c: New file.
1409
1410 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
1411 .hidden is available.
1412 * io/stat.c: If .hidden is available use it to avoid exporting
1413 functions.
1414 * io/fstat.c: Likewise.
1415 * io/lstat.c: Likewise.
1416 * io/stat64.c: Likewise.
1417 * io/fstat64.c: Likewise.
1418 * io/lstat64.c: Likewise.
1419 * sysdeps/generic/mknod.c: Likewise.
1420
1421 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
1422 * sysdeps/generic/bb_init_func.c: Likewise.
1423 * sysdeps/generic/libc-start.c: Likewise.
1424
1425 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
1426 (atexit): Implement using __cxa_atexit.
1427 Use .hidden if availble to avoid exporting atexit.
1428 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
1429 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
1430 * stdlib/Makefile (routines): Add old_atexit.
1431 (static-only-routines): Add atexit.
1432 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
1433 * stdlib/old_atexit.c: New file.
1434
1435 * intl/Makefile: Remove bogus endif.
1436
5af65d0e
AJ
14372001-02-26 Andreas Jaeger <aj@suse.de>
1438
1439 * iconvdata/Makefile (tests): Fix typo in last patch.
1440
89e89345
AJ
1441 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
1442 available.
1443 Reported by Achim Gottinger <achim@gentoo.org>.
1444
199745d1
AJ
14452001-02-25 Andreas Jaeger <aj@suse.de>
1446
1447 * intl/Makefile (plural.c): Reorder rules so that they work if
1448 BISON doesn't exist.
1449
6c9ea999
UD
14502001-02-25 Ulrich Drepper <drepper@redhat.com>
1451
1452 * intl/locale.alias: Don't use nb_NO but define aliases for it.
1453
ef5166a6
UD
14542001-02-23 Ulrich Drepper <drepper@redhat.com>
1455
1456 * sysdeps/i386/strtok.S: Continue to return NULL after the first
1457 time this happened.
1458
d436a9f7
UD
14592001-02-23 Andreas Jaeger <aj@suse.de>
1460
1461 * string/tester.c (test_strtok_r): Add testcase.
1462 (test_strtok_r): Always initialize cp for proper checking.
1463
1464 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
1465 returning NULL correctly.
1466 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
1467 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
1468
14692001-02-23 Ulrich Drepper <drepper@redhat.com>
1470
1471 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
1472 including <stddef.h>.
1473 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
1474 * include/libc-symbols.h (weak_alias): Don't use .weak if
1475 HAVE_ASM_GLOBAL_DOT_NAME is defined.
1476 Patches by Michael Keezer <mkeezer@redhat.com>.
1477
1478 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
1479 Patch by Michael Keezer <mkeezer@redhat.com>.
1480
1481 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
1482 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
1483 (sysdep_routines): Remove restf.S and savef.S.
1484 * sysdeps/unix/sysv/aix/restf.S. Removed.
1485 * sysdeps/unix/sysv/aix/savef.S. Removed.
1486 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
1487 alternative names used on some platforms.
1488 * sysdeps/powerpc/fprsave.S: Likewise.
1489 * sysdeps/powerpc/gprrest0.S: Likewise.
1490 * sysdeps/powerpc/gprrest1.S: Likewise.
1491 * sysdeps/powerpc/gprsave0.S: Likewise.
1492 * sysdeps/powerpc/gprsave1.S: Likewise.
1493 Patch by Michael Keezer <mkeezer@redhat.com>.
1494
578af338
UD
14952001-02-22 Ulrich Drepper <drepper@redhat.com>
1496
1497 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
1498
ab5dd2d9
AJ
14992001-02-22 Andreas Jaeger <aj@suse.de>
1500
1501 * string/tst-strtok.c (main): Fix error messages.
1502
bcbd6c73
AJ
15032001-02-22 Andreas Jaeger <aj@suse.de>
1504
1505 * math/Makefile: Remove omit-long-double-fcts.
1506
e947e316
AJ
15072001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1508
1509 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
1510 avoid problems on MIPS I.
1511 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
1512
1513 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
1514 noreorder".
1515
1999031e
UD
15162001-02-21 Ulrich Drepper <drepper@redhat.com>
1517
bd8fbd57
UD
1518 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
1519
37ada9da
UD
1520 * sysdeps/generic/ftime.c: Include <time.h>.
1521
578af338 1522 * configure.in: Don't check for libgd if user passed --without-gd.
6dab8688
UD
1523 Patch by Achim Gottinger <achim@gentoo.org>.
1524
1999031e
UD
1525 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
1526 first time this happened.
b716cb4e 1527 * string/Makefile (tests): Add tst-strtok.
1999031e
UD
1528
15292001-02-21 Andreas Jaeger <aj@suse.de>
1530
1531 * string/tst-strtok.c: New testcase, reported by
1532 Andrew Church <achurch@achurch.org>.
1533
b85b1334
UD
15342001-02-20 Ulrich Drepper <drepper@redhat.com>
1535
1536 * libio/iofwide.c: Remove fwide alias.
1537
b702b4ee
AJ
15382001-02-20 Andreas Jaeger <aj@suse.de>
1539
1540 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
1541 is available.
1542 Reported by Achim Gottinger <achim@gentoo.org>.
1543
2d7faa72
UD
15442001-02-19 Ulrich Drepper <drepper@redhat.com>
1545
2fad2c60
UD
1546 * iconv/tst-iconv1.c (main): Remove debugging code.
1547
f14bd805
UD
1548 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
1549 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1550
d210ca02
UD
1551 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
1552 parameters.
8d18644b
UD
1553 * sysdeps/generic/e_scalbf.c: Likewise.
1554 * sysdeps/generic/e_scalbl.c: Likewise.
d210ca02 1555
2d7faa72
UD
1556 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
1557 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
1558 in libc.
1559 (routines): Replace libm_error with libc_libm_error.
1560 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
1561 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
1562
4c48dc93
UD
15632001-02-18 Mark Kettenis <kettenis@gnu.org>
1564
1565 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
1566 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
1567
15682001-02-17 H.J. Lu <hjl@gnu.org>
1569
1570 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
1571 scratch registers across the system call.
1572
4595829c
AJ
15732001-02-19 Andreas Jaeger <aj@suse.de>
1574
1575 * malloc/Makefile (tests): Run mtrace only when perl is available.
1576 Reported by Achim Gottinger <achim@gentoo.org>.
1577
8da2915d
UD
15782001-02-19 Ulrich Drepper <drepper@redhat.com>
1579
cf61f83f
UD
1580 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
1581 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1582
1583 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
1584 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
1585 * math/libm-test.inc (j1_test): Mark constants as long double.
1586 (jn_test): Likewise.
1587 (y1_test): Likewise.
1588 (yn_test): Likewise.
1589
8da2915d
UD
1590 * libio/iogetline.c: Move return until after last statement.
1591
1592 * localedata/show-ucs-data.c: Don't show < > for better readability.
1593
1594 * sysdeps/ia64/fpu/Dist: New file.
1595 * sysdeps/ia64/fpu/Makefile: New file.
1596 * sysdeps/ia64/fpu/Versions: New file.
1597 * sysdeps/ia64/fpu/e_acos.S: New file.
1598 * sysdeps/ia64/fpu/e_acosf.S: New file.
1599 * sysdeps/ia64/fpu/e_acosl.S: New file.
1600 * sysdeps/ia64/fpu/e_asin.S: New file.
1601 * sysdeps/ia64/fpu/e_asinf.S: New file.
1602 * sysdeps/ia64/fpu/e_asinl.S: New file.
1603 * sysdeps/ia64/fpu/e_atan2.S: New file.
1604 * sysdeps/ia64/fpu/e_atan2f.S: New file.
1605 * sysdeps/ia64/fpu/e_atan2l.c: New file.
1606 * sysdeps/ia64/fpu/e_cosh.S: New file.
1607 * sysdeps/ia64/fpu/e_coshf.S: New file.
1608 * sysdeps/ia64/fpu/e_coshl.S: New file.
1609 * sysdeps/ia64/fpu/e_exp.S: New file.
1610 * sysdeps/ia64/fpu/e_expf.S: New file.
1611 * sysdeps/ia64/fpu/e_expl.c: New file.
1612 * sysdeps/ia64/fpu/e_fmod.S: New file.
1613 * sysdeps/ia64/fpu/e_fmodf.S: New file.
1614 * sysdeps/ia64/fpu/e_fmodl.S: New file.
1615 * sysdeps/ia64/fpu/e_hypot.S: New file.
1616 * sysdeps/ia64/fpu/e_hypotf.S: New file.
1617 * sysdeps/ia64/fpu/e_hypotl.S: New file.
1618 * sysdeps/ia64/fpu/e_log.S: New file.
1619 * sysdeps/ia64/fpu/e_log10.c: New file.
1620 * sysdeps/ia64/fpu/e_log10f.c: New file.
1621 * sysdeps/ia64/fpu/e_log10l.c: New file.
1622 * sysdeps/ia64/fpu/e_logf.S: New file.
1623 * sysdeps/ia64/fpu/e_logl.c: New file.
1624 * sysdeps/ia64/fpu/e_pow.S: New file.
1625 * sysdeps/ia64/fpu/e_powf.S: New file.
1626 * sysdeps/ia64/fpu/e_powl.S: New file.
1627 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
1628 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
1629 * sysdeps/ia64/fpu/e_remainder.S: New file.
1630 * sysdeps/ia64/fpu/e_remainderf.S: New file.
1631 * sysdeps/ia64/fpu/e_remainderl.S: New file.
1632 * sysdeps/ia64/fpu/e_scalb.S: New file.
1633 * sysdeps/ia64/fpu/e_scalbf.S: New file.
1634 * sysdeps/ia64/fpu/e_scalbl.S: New file.
1635 * sysdeps/ia64/fpu/e_sinh.S: New file.
1636 * sysdeps/ia64/fpu/e_sinhf.S: New file.
1637 * sysdeps/ia64/fpu/e_sinhl.S: New file.
1638 * sysdeps/ia64/fpu/e_sqrt.S: New file.
1639 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
1640 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
1641 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
1642 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
1643 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
1644 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
1645 * sysdeps/ia64/fpu/libm_error.c: New file.
1646 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
1647 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
1648 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
1649 * sysdeps/ia64/fpu/libm_reduce.S: New file.
1650 * sysdeps/ia64/fpu/libm_support.h: New file.
1651 * sysdeps/ia64/fpu/libm_tan.S: New file.
1652 * sysdeps/ia64/fpu/s_atan.S: New file.
1653 * sysdeps/ia64/fpu/s_atanf.S: New file.
1654 * sysdeps/ia64/fpu/s_atanl.S: New file.
1655 * sysdeps/ia64/fpu/s_cbrt.S: New file.
1656 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
1657 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
1658 * sysdeps/ia64/fpu/s_ceil.S: New file.
1659 * sysdeps/ia64/fpu/s_ceilf.S: New file.
1660 * sysdeps/ia64/fpu/s_ceill.S: New file.
1661 * sysdeps/ia64/fpu/s_cos.S: New file.
1662 * sysdeps/ia64/fpu/s_cosf.S: New file.
1663 * sysdeps/ia64/fpu/s_cosl.S: New file.
1664 * sysdeps/ia64/fpu/s_expm1.S: New file.
1665 * sysdeps/ia64/fpu/s_expm1f.S: New file.
1666 * sysdeps/ia64/fpu/s_expm1l.S: New file.
1667 * sysdeps/ia64/fpu/s_floor.S: New file.
1668 * sysdeps/ia64/fpu/s_floorf.S: New file.
1669 * sysdeps/ia64/fpu/s_floorl.S: New file.
1670 * sysdeps/ia64/fpu/s_frexp.c: New file.
1671 * sysdeps/ia64/fpu/s_frexpf.c: New file.
1672 * sysdeps/ia64/fpu/s_frexpl.c: New file.
1673 * sysdeps/ia64/fpu/s_ilogb.S: New file.
1674 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
1675 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
1676 * sysdeps/ia64/fpu/s_ldexp.S: New file.
1677 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
1678 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
1679 * sysdeps/ia64/fpu/s_log1p.S: New file.
1680 * sysdeps/ia64/fpu/s_log1pf.S: New file.
1681 * sysdeps/ia64/fpu/s_log1pl.S: New file.
1682 * sysdeps/ia64/fpu/s_logb.S: New file.
1683 * sysdeps/ia64/fpu/s_logbf.S: New file.
1684 * sysdeps/ia64/fpu/s_logbl.S: New file.
1685 * sysdeps/ia64/fpu/s_matherrf.c: New file.
1686 * sysdeps/ia64/fpu/s_matherrl.c: New file.
1687 * sysdeps/ia64/fpu/s_modf.S: New file.
1688 * sysdeps/ia64/fpu/s_modff.S: New file.
1689 * sysdeps/ia64/fpu/s_modfl.S: New file.
1690 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
1691 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
1692 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
1693 * sysdeps/ia64/fpu/s_rint.S: New file.
1694 * sysdeps/ia64/fpu/s_rintf.S: New file.
1695 * sysdeps/ia64/fpu/s_rintl.S: New file.
1696 * sysdeps/ia64/fpu/s_round.S: New file.
1697 * sysdeps/ia64/fpu/s_roundf.S: New file.
1698 * sysdeps/ia64/fpu/s_roundl.S: New file.
1699 * sysdeps/ia64/fpu/s_scalbn.S: New file.
1700 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
1701 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
1702 * sysdeps/ia64/fpu/s_significand.S: New file.
1703 * sysdeps/ia64/fpu/s_significandf.S: New file.
1704 * sysdeps/ia64/fpu/s_significandl.S: New file.
1705 * sysdeps/ia64/fpu/s_sin.c: New file.
1706 * sysdeps/ia64/fpu/s_sincos.c: New file.
1707 * sysdeps/ia64/fpu/s_sincosf.c: New file.
1708 * sysdeps/ia64/fpu/s_sincosl.c: New file.
1709 * sysdeps/ia64/fpu/s_sinf.c: New file.
1710 * sysdeps/ia64/fpu/s_sinl.c: New file.
1711 * sysdeps/ia64/fpu/s_tan.S: New file.
1712 * sysdeps/ia64/fpu/s_tanf.S: New file.
1713 * sysdeps/ia64/fpu/s_tanl.S: New file.
1714 * sysdeps/ia64/fpu/s_trunc.S: New file.
1715 * sysdeps/ia64/fpu/s_truncf.S: New file.
1716 * sysdeps/ia64/fpu/s_truncl.S: New file.
1717 * sysdeps/ia64/fpu/w_acos.c: New file.
1718 * sysdeps/ia64/fpu/w_acosf.c: New file.
1719 * sysdeps/ia64/fpu/w_acosl.c: New file.
1720 * sysdeps/ia64/fpu/w_asin.c: New file.
1721 * sysdeps/ia64/fpu/w_asinf.c: New file.
1722 * sysdeps/ia64/fpu/w_asinl.c: New file.
1723 * sysdeps/ia64/fpu/w_atan2.c: New file.
1724 * sysdeps/ia64/fpu/w_atan2f.c: New file.
1725 * sysdeps/ia64/fpu/w_atan2l.c: New file.
1726 * sysdeps/ia64/fpu/w_cosh.c: New file.
1727 * sysdeps/ia64/fpu/w_coshf.c: New file.
1728 * sysdeps/ia64/fpu/w_coshl.c: New file.
1729 * sysdeps/ia64/fpu/w_exp.c: New file.
1730 * sysdeps/ia64/fpu/w_expf.c: New file.
1731 * sysdeps/ia64/fpu/w_fmod.c: New file.
1732 * sysdeps/ia64/fpu/w_fmodf.c: New file.
1733 * sysdeps/ia64/fpu/w_fmodl.c: New file.
1734 * sysdeps/ia64/fpu/w_hypot.c: New file.
1735 * sysdeps/ia64/fpu/w_hypotf.c: New file.
1736 * sysdeps/ia64/fpu/w_hypotl.c: New file.
1737 * sysdeps/ia64/fpu/w_log.c: New file.
1738 * sysdeps/ia64/fpu/w_log10.c: New file.
1739 * sysdeps/ia64/fpu/w_log10f.c: New file.
1740 * sysdeps/ia64/fpu/w_log10l.c: New file.
1741 * sysdeps/ia64/fpu/w_logf.c: New file.
1742 * sysdeps/ia64/fpu/w_logl.c: New file.
1743 * sysdeps/ia64/fpu/w_pow.c: New file.
1744 * sysdeps/ia64/fpu/w_powf.c: New file.
1745 * sysdeps/ia64/fpu/w_powl.c: New file.
1746 * sysdeps/ia64/fpu/w_remainder.c: New file.
1747 * sysdeps/ia64/fpu/w_remainderf.c: New file.
1748 * sysdeps/ia64/fpu/w_remainderl.c: New file.
1749 * sysdeps/ia64/fpu/w_scalb.c: New file.
1750 * sysdeps/ia64/fpu/w_scalbf.c: New file.
1751 * sysdeps/ia64/fpu/w_scalbl.c: New file.
1752 * sysdeps/ia64/fpu/w_sqrt.c: New file.
1753 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
1754 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
1755 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
1756 implementation.
1757 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
1758 Change FP_ILOGBNAN for new implementation.
1759 * Verions.def: Add 2.2.3 versions.
1760
e208f556
UD
17612001-02-18 Ulrich Drepper <drepper@redhat.com>
1762
1763 * math/libm-test.inc (scalb_test): Require invalid exception being
1764 raised for invalid parameters.
1765 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
1766 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1767 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1768
c967ec3e
MK
17692001-02-18 Mark Kettenis <kettenis@gnu.org>
1770
1771 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
1772 value to long int.
1773 (__get_avphys_pages): Likewise.
1774
6571c570
UD
17752001-02-18 Ulrich Drepper <drepper@redhat.com>
1776
1777 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
1778 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
1779 * sysdeps/i386/fpu/e_powf.S: Likewise.
1780 * sysdeps/i386/fpu/e_powl.S: Likewise.
1781
1782 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
1783
63640cb7
UD
17842001-02-17 Ulrich Drepper <drepper@redhat.com>
1785
4ebacc5a
UD
1786 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
1787
63640cb7 1788 * sysdeps/generic/s_exp2l.c: Renamed to...
6571c570 1789 * sysdeps/generic/e_exp2l.c: ...this. New file.
63640cb7 1790 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
6571c570 1791 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
63640cb7 1792 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
6571c570 1793 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
63640cb7 1794 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
6571c570 1795 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
63640cb7 1796 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
6571c570 1797 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
63640cb7 1798 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
6571c570 1799 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
63640cb7 1800 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
6571c570 1801 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
63640cb7 1802 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
6571c570 1803 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
63640cb7 1804 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
6571c570 1805 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
63640cb7 1806
d60a7756
AJ
18072001-02-17 Andreas Jaeger <aj@suse.de>
1808
1809 * configure.in: Allow gcc 3.
1810
78b385b8
UD
18112001-02-16 Ulrich Drepper <drepper@redhat.com>
1812
e2750935
UD
1813 * math/w_acos.c: Move to ...
1814 * sysdeps/generic/w_acos.c: ...here. New file.
1815 * math/w_acosf.c: Move to ...
1816 * sysdeps/generic/w_acosf.c: ...here. New file.
1817 * math/w_acosh.c: Move to ...
1818 * sysdeps/generic/w_acosh.c: ...here. New file.
1819 * math/w_acoshf.c: Move to ...
1820 * sysdeps/generic/w_acoshf.c: ...here. New file.
1821 * math/w_acoshl.c: Move to ...
1822 * sysdeps/generic/w_acoshl.c: ...here. New file.
1823 * math/w_acosl.c: Move to ...
1824 * sysdeps/generic/w_acosl.c: ...here. New file.
1825 * math/w_asin.c: Move to ...
1826 * sysdeps/generic/w_asin.c: ...here. New file.
1827 * math/w_asinf.c: Move to ...
1828 * sysdeps/generic/w_asinf.c: ...here. New file.
1829 * math/w_asinl.c: Move to ...
1830 * sysdeps/generic/w_asinl.c: ...here. New file.
1831 * math/w_atan2.c: Move to ...
1832 * sysdeps/generic/w_atan2.c: ...here. New file.
1833 * math/w_atan2f.c: Move to ...
1834 * sysdeps/generic/w_atan2f.c: ...here. New file.
1835 * math/w_atan2l.c: Move to ...
1836 * sysdeps/generic/w_atan2l.c: ...here. New file.
1837 * math/w_atanh.c: Move to ...
1838 * sysdeps/generic/w_atanh.c: ...here. New file.
1839 * math/w_atanhf.c: Move to ...
1840 * sysdeps/generic/w_atanhf.c: ...here. New file.
1841 * math/w_atanhl.c: Move to ...
1842 * sysdeps/generic/w_atanhl.c: ...here. New file.
1843 * math/w_cosh.c: Move to ...
1844 * sysdeps/generic/w_cosh.c: ...here. New file.
1845 * math/w_coshf.c: Move to ...
1846 * sysdeps/generic/w_coshf.c: ...here. New file.
1847 * math/w_coshl.c: Move to ...
1848 * sysdeps/generic/w_coshl.c: ...here. New file.
1849 * math/w_drem.c: Move to ...
1850 * sysdeps/generic/w_drem.c: ...here. New file.
1851 * math/w_dremf.c: Move to ...
1852 * sysdeps/generic/w_dremf.c: ...here. New file.
1853 * math/w_dreml.c: Move to ...
1854 * sysdeps/generic/w_dreml.c: ...here. New file.
1855 * math/w_exp10.c: Move to ...
1856 * sysdeps/generic/w_exp10.c: ...here. New file.
1857 * math/w_exp10f.c: Move to ...
1858 * sysdeps/generic/w_exp10f.c: ...here. New file.
1859 * math/w_exp10l.c: Move to ...
1860 * sysdeps/generic/w_exp10l.c: ...here. New file.
1861 * math/w_exp2.c: Move to ...
1862 * sysdeps/generic/w_exp2.c: ...here. New file.
1863 * math/w_exp2f.c: Move to ...
1864 * sysdeps/generic/w_exp2f.c: ...here. New file.
1865 * math/w_exp2l.c: Move to ...
1866 * sysdeps/generic/w_exp2l.c: ...here. New file.
1867 * math/w_fmod.c: Move to ...
1868 * sysdeps/generic/w_fmod.c: ...here. New file.
1869 * math/w_fmodf.c: Move to ...
1870 * sysdeps/generic/w_fmodf.c: ...here. New file.
1871 * math/w_fmodl.c: Move to ...
1872 * sysdeps/generic/w_fmodl.c: ...here. New file.
1873 * math/w_hypot.c: Move to ...
1874 * sysdeps/generic/w_hypot.c: ...here. New file.
1875 * math/w_hypotf.c: Move to ...
1876 * sysdeps/generic/w_hypotf.c: ...here. New file.
1877 * math/w_hypotl.c: Move to ...
1878 * sysdeps/generic/w_hypotl.c: ...here. New file.
1879 * math/w_j0.c: Move to ...
1880 * sysdeps/generic/w_j0.c: ...here. New file.
1881 * math/w_j0f.c: Move to ...
1882 * sysdeps/generic/w_j0f.c: ...here. New file.
1883 * math/w_j0l.c: Move to ...
1884 * sysdeps/generic/w_j0l.c: ...here. New file.
1885 * math/w_j1.c: Move to ...
1886 * sysdeps/generic/w_j1.c: ...here. New file.
1887 * math/w_j1f.c: Move to ...
1888 * sysdeps/generic/w_j1f.c: ...here. New file.
1889 * math/w_j1l.c: Move to ...
1890 * sysdeps/generic/w_j1l.c: ...here. New file.
1891 * math/w_jn.c: Move to ...
1892 * sysdeps/generic/w_jn.c: ...here. New file.
1893 * math/w_jnf.c: Move to ...
1894 * sysdeps/generic/w_jnf.c: ...here. New file.
1895 * math/w_jnl.c: Move to ...
1896 * sysdeps/generic/w_jnl.c: ...here. New file.
1897 * math/w_lgamma.c: Move to ...
1898 * sysdeps/generic/w_lgamma.c: ...here. New file.
1899 * math/w_lgammaf.c: Move to ...
1900 * sysdeps/generic/w_lgammaf.c: ...here. New file.
1901 * math/w_lgammaf_r.c: Move to ...
1902 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
1903 * math/w_lgammal.c: Move to ...
1904 * sysdeps/generic/w_lgammal.c: ...here. New file.
1905 * math/w_lgammal_r.c: Move to ...
1906 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
1907 * math/w_lgamma_r.c: Move to ...
1908 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
1909 * math/w_log10.c: Move to ...
1910 * sysdeps/generic/w_log10.c: ...here. New file.
1911 * math/w_log10f.c: Move to ...
1912 * sysdeps/generic/w_log10f.c: ...here. New file.
1913 * math/w_log10l.c: Move to ...
1914 * sysdeps/generic/w_log10l.c: ...here. New file.
1915 * math/w_log.c: Move to ...
1916 * sysdeps/generic/w_log.c: ...here. New file.
1917 * math/w_logf.c: Move to ...
1918 * sysdeps/generic/w_logf.c: ...here. New file.
1919 * math/w_logl.c: Move to ...
1920 * sysdeps/generic/w_logl.c: ...here. New file.
1921 * math/w_pow.c: Move to ...
1922 * sysdeps/generic/w_pow.c: ...here. New file.
1923 * math/w_powf.c: Move to ...
1924 * sysdeps/generic/w_powf.c: ...here. New file.
1925 * math/w_powl.c: Move to ...
1926 * sysdeps/generic/w_powl.c: ...here. New file.
1927 * math/w_remainder.c: Move to ...
1928 * sysdeps/generic/w_remainder.c: ...here. New file.
1929 * math/w_remainderf.c: Move to ...
1930 * sysdeps/generic/w_remainderf.c: ...here. New file.
1931 * math/w_remainderl.c: Move to ...
1932 * sysdeps/generic/w_remainderl.c: ...here. New file.
1933 * math/w_scalb.c: Move to ...
1934 * sysdeps/generic/w_scalb.c: ...here. New file.
1935 * math/w_scalbf.c: Move to ...
1936 * sysdeps/generic/w_scalbf.c: ...here. New file.
1937 * math/w_scalbl.c: Move to ...
1938 * sysdeps/generic/w_scalbl.c: ...here. New file.
1939 * math/w_sinh.c: Move to ...
1940 * sysdeps/generic/w_sinh.c: ...here. New file.
1941 * math/w_sinhf.c: Move to ...
1942 * sysdeps/generic/w_sinhf.c: ...here. New file.
1943 * math/w_sinhl.c: Move to ...
1944 * sysdeps/generic/w_sinhl.c: ...here. New file.
1945 * math/w_sqrtl.c: Move to ...
1946 * sysdeps/generic/w_sqrtl.c: ...here. New file.
1947 * math/w_tgamma.c: Move to ...
1948 * sysdeps/generic/w_tgamma.c: ...here. New file.
1949 * math/w_tgammaf.c: Move to ...
1950 * sysdeps/generic/w_tgammaf.c: ...here. New file.
1951 * math/w_tgammal.c: Move to ...
1952 * sysdeps/generic/w_tgammal.c: ...here. New file.
1953
78b385b8
UD
1954 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
1955 formats for postal_fmt.
1956
19572001-02-16 Jakub Jelinek <jakub@redhat.com>
1958
1959 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
1960 __ftruncate64 alias.
1961 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
1962 Likewise.
1963
19642001-02-15 David Mosberger <davidm@hpl.hp.com>
1965
1966 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
1967 do "loadrs". Writing to bspstore already takes care of
1968 invalidating the "clean" partition.
1969
75a11ec0
AS
19702001-02-16 Andreas Schwab <schwab@suse.de>
1971
1972 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
1973 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
1974
2d0aea11
UD
19752001-02-15 Jakub Jelinek <jakub@redhat.com>
1976
1977 * posix/regex.c (init_syntax_once): Add prototype.
1978 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
1979 (re_search_2): Avoid warning.
1980 (count_mbs_length): Add prototype.
1981 * posix/tst-regex3.c: New file.
1982 * posix/Makefile (tests): Add bug-regex3.
1983
581cc571
UD
19842001-02-15 Ulrich Drepper <drepper@redhat.com>
1985
093b0a7d
UD
1986 * stdio-common/Makefile (tests): Add tst-gets.
1987 * stdio-common/tst-gets.c: New file.
1988 * stdio-common/tst-gets.input: New file.
1989
3f1866e3
UD
1990 * elf/elf.h (DT_CHECKSUM): Define.
1991
581cc571
UD
1992 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
1993 default symbol.
1994 * sysdeps/generic/strtoull.c: Likewise.
1995
8a216c1b
UD
19962001-02-14 Wolfram Gloger <wg@malloc.de>
1997
1998 * malloc/malloc.c (new_heap): When allocating large chunk aligned
1999 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
2000 between the heaps.
2001
3126bc1e
UD
20022001-02-14 Ulrich Drepper <drepper@redhat.com>
2003
cd53c157
UD
2004 * math/libm-test.inc (j0_test): Check whether sincos is available.
2005 (j1_test): Likewise.
2006 (jn_test): Likewise.
2007 (y0_test): Likewise.
2008 (y1_test): Likewise.
2009 (yn_test): Likewise.
2010
2011 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
2012 fake filesystem routines to handle this.
2013
36874b21
UD
2014 * time/sys/time.h: Make settimeofday and adjtime available if
2015 _BSD_SOURCE.
2016
2017 * time/sys/time.h: Make timer* macros available for BSD.
2018
a19cac65
UD
2019 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
2020 Patch by Yong Li <rigel863@yahoo.com>.
2021
3126bc1e
UD
2022 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
2023 name.
2024
2025 * posix/Makefile (tests): Add tst-gnuglob.
2026 * posix/tst-gnuglob.c: New file.
2027
25bbbb54
UD
20282001-02-13 H.J. Lu <hjl@gnu.org>
2029
2030 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
2031
cf6960d7
UD
20322001-02-13 Ulrich Drepper <drepper@redhat.com>
2033
be8c46fc
UD
2034 * locale/programs/ld-paper.c (paper_output): Pretty printing.
2035
cf6960d7
UD
2036 * iconvdata/Makefile (modules): Add GBBIG5.
2037 (distribute): Add gbbig5.c.
cf6960d7
UD
2038 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
2039
9adc32d8
UD
2040 * iconvdata/gbbig5.c: New file.
2041 Contributed by Yong Li <rigel863@yahoo.com>.
2042
cf6960d7
UD
20432001-02-13 Philip Blundell <pb@futuretv.com>
2044
2045 * manual/crypt.texi: Remove outdated references to crypt add-on.
2046
2047 * manual/creature.texi: Improve wording slightly.
2048
f1a26a85
UD
20492001-02-13 Ulrich Drepper <drepper@redhat.com>
2050
2958e6cc
UD
2051 * io/ftw.c: Always use readdir64.
2052 * io/ftw64.c: Likewise.
2053 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2054 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
be8c46fc 2055 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
2958e6cc
UD
2056 callback to dirent. Still allow compiling outside glibc.
2057 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
2058 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2059
2060 * malloc/mtrace.c: Use fopen64.
2061 * posix/spawni.c: Use __open64.
2062 * sysdeps/unix/opendir.c: Likewise.
2063 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
2064
2065 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
2066 name a weak alias.
2067 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
2068 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
2069 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
2070 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
2071
2072 * resolv/res_data.c: Add cast to avoid warning.
2073
2074 * include/unistd.h: Declare __ftruncate64.
2075
be8c46fc 2076 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
2958e6cc 2077
f1a26a85
UD
2078 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
2079 instead of __lseek.
2080
e22a1a38
AJ
20812001-02-13 Andreas Jaeger <aj@suse.de>
2082
2083 * login/getutent_r.c: Include <stdlib.h> for NULL.
2084 * login/getutid_r.c: Likewise.
2085
8de5da94
UD
20862001-02-12 Ulrich Drepper <drepper@redhat.com>
2087
2088 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
f1a26a85
UD
2089 * sysdeps/dbl-64/e_j1.c: Likewise.
2090 * sysdeps/dbl-64/e_jn.c: Likewise.
8de5da94 2091 * sysdeps/flt-32/e_j0f.c: Likewise.
f1a26a85 2092 * sysdeps/flt-32/e_j1f.c: Likewise.
8de5da94
UD
2093 * sysdeps/ldbl-96/e_j0l.c: Likewise.
2094
0e3af135
UD
20952000-12-02 H.J. Lu <hjl@gnu.org>
2096
2097 * resolv/res_libc.c (res_init): Don't make it default.
2098
b3294a93
UD
20992001-02-12 Ulrich Drepper <drepper@redhat.com>
2100
2101 * manual/debug.texi: Improved the wording.
2102 Patch by Philip Blundell <pb@futuretv.com>.
2103
b647f210
AJ
21042001-02-12 Andreas Jaeger <aj@suse.de>
2105
2106 * posix/Makefile (tests): Don't run bug-regex2 when
2107 cross-compiling.
2108
2109 * libio/Makefile (tests): Don't run test-freopen when
2110 cross-compiling.
2111
2112 * manual/stdio.texi (Streams and I18N): Fix typos.
2113
0fc95b82
UD
21142001-02-12 Ulrich Drepper <drepper@redhat.com>
2115
adc37d79
UD
2116 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
2117
2118 * math/libm-test.inc (j0_test): Make expected results long double
2119 constants.
2120 (y0_test): Likewise.
2121
0fc95b82
UD
2122 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
2123 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2124
21252001-02-11 Jakub Jelinek <jakub@redhat.com>
2126
2127 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
2128 which was exported from libc.
2129 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
2130
9279500a
AJ
21312001-02-12 Andreas Jaeger <aj@suse.de>
2132
2133 * manual/arith.texi (Parsing of Integers): Fix some wordings.
2134
5b8d5ae1
UD
21352001-02-11 Ulrich Drepper <drepper@redhat.com>
2136
e4cf5229
UD
2137 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
2138 and get_avphys_page to long int.
2139 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
2140 * include/sys/sysinfo.h: Likewise.
2141 * sysdeps/generic/sys/sysinfo.h: Likewise.
2142 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
2143
5b8d5ae1
UD
2144 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
2145 cannot return as many values as the user asked for.
2146
27844eed
AJ
21472001-02-11 Andreas Jaeger <aj@suse.de>
2148
2149 * manual/resource.texi (Memory Resources): Fix typo.
2150
2151 * libio/Makefile ($(objpfx)test-freopen.out): Pass
2152 run-program-prefix.
2153
2154 * libio/test-freopen.sh: Use run_program_prefix.
2155
7e2e677e
AJ
21562001-02-10 Andreas Jaeger <aj@suse.de>
2157
e1e3ba54
AJ
2158 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
2159 cross-compiling.
2160 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
2161
2162 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
2163 only builds.
2164
2165 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
2166
d727629d
AJ
2167 * posix/Makefile: Fix typo, it's build-static-nss.
2168
7e2e677e
AJ
2169 * iconv/Makefile (extra-objs): New.
2170
157aa14d
MK
21712001-02-10 Mark Kettenis <kettenis@gnu.org>
2172
24ed578e
MK
2173 * sysdeps/unix/stime.c: Include <time.h>.
2174
157aa14d
MK
2175 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
2176
227c0e22
AJ
21772001-02-10 Andreas Jaeger <aj@suse.de>
2178
2179 * manual/string.texi (Search Functions): Fix typo.
2180
87b56f36
UD
21812001-02-10 Mark Kettenis <kettenis@gnu.org>
2182
2183 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
2184 (timeval_to_clock_t): Add clk_tck argument and use that instead of
2185 CLK_TCK.
2186 (__times): Use __getclktck to get the number of clock ticks per
2187 second and use its return value instead of CLK_TCK.
2188
51410f14
UD
21892001-02-10 Mark Kettenis <kettenis@gnu.org>
2190
2191 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
2192
2fcc6286
MK
21932001-02-10 Mark Kettenis <kettenis@gnu.org>
2194
2195 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
2196
3a705946
AJ
21972001-02-10 Andreas Jaeger <aj@suse.de>
2198
2199 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
2200 warning.
2201
770d454d
UD
22022001-02-09 Ulrich Drepper <drepper@redhat.com>
2203
2204 * posix/Makefile: Add rules to build and run bug-regex2.
1068784c 2205 * posix/bug-regex2.c: New file.
770d454d
UD
2206
22072001-02-10 Jakub Jelinek <jakub@redhat.com>
2208
2209 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
2210 (regex_compile): Likewise.
2211 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
2212 (re_match_2_internal): Use just is_binary instead of two variables.
2213 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
2214
257bdad0
UD
22152001-02-09 Ulrich Drepper <drepper@redhat.com>
2216
4ec29cb0
UD
2217 * version.h (VERSION): Bump to 2.2.2.
2218
e8ef6f28
UD
2219 * iconv/Makefile (distribute): Add iconv_charmap.c and
2220 dummy-repertoire.c.
2221 * elf/Makefile (distribute): Add firstobj.c.
2222 * Makefile (distribute): Add include/pthread.h.
2223
1468be21
UD
2224 * configure.in: Require makeinfo version 4.
2225
257bdad0
UD
2226 * libio/tst_wscanf.c (main): Add cast to avoid warning.
2227 * libio/tst_swscanf.c (main): Likewise..
2228
7c5bb945
UD
22292001-02-09 Jakub Jelinek <jakub@redhat.com>
2230
2231 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
2232 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
2233 __NO_MATH_INLINES.
2234 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
2235 if not RTLD_BOOTSTRAP.
2236 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2237 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2238
f126ef67
UD
22392001-02-09 Ulrich Drepper <drepper@redhat.com>
2240
2241 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
2242 lr_ungetc to push back last read character.
2243 * locale/programs/linereader.h (lr_ungetc): Don't push back is
2244 character is EOF.
2245 (lr_ignore_rest): Don't warn about garbage if it is really the end
2246 of the file.
2247
2248 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
2249 definition.
2250
6b58cbc0
UD
22512001-02-08 Ulrich Drepper <drepper@redhat.com>
2252
90feeaa2
UD
2253 * Makerules (build-shlib): Work around different order of
2254 processing of -B option in different gcc versions.
2255
441f7d1e
UD
2256 * posix/regex.c: Fix alignment problem.
2257 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2258
6b58cbc0
UD
2259 * sysdeps/alpha/strrchr.S: Little optimization.
2260 Patch by Richard Henderson <rth@redhat.com>.
2261
2262 * sysdeps/alpha/alphaev67/strrchr.S: New file.
441f7d1e 2263 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
6b58cbc0
UD
2264
22652001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
2266
2267 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
2268 in the assembler end directive.
2269
f6af7428
AJ
22702001-02-08 Andreas Jaeger <aj@suse.de>
2271
2272 * manual/stdio.texi (Closing Streams): Fix typos.
2273
054d2bf7
UD
22742001-02-07 Ulrich Drepper <drepper@redhat.com>
2275
d97dfe5f
UD
2276 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
2277 Patch by Richard Henderson <rth@redhat.com>.
2278 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
2279
917e27b8 2280 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
6b58cbc0 2281 pointer in FILE structure before calling _IO_init.
917e27b8
UD
2282 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
2283 strfmon_l if necessary.
2284 Reported by Jury Gerold <gjury@grips.com>.
2285
054d2bf7
UD
2286 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
2287 Patch by Pekka.Pietikainen@cern.ch.
2288
2289 * posix/regex.c: Correct several problems with 64-bit architectures
2290 introduced in the MBS changes.
2291 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2292
22932001-02-07 Jakub Jelinek <jakub@redhat.com>
2294
2295 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
2296 not defined.
2297 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
2298
867aee06
AJ
22992001-02-07 Andreas Jaeger <aj@suse.de>
2300
2301 * manual/install.texi (Tools for Compilation): Fix typo.
2302 Reported by Pavel Machek <pavel@bug.ucw.cz>.
2303
5bfcc4d1
UD
23042001-02-07 Ulrich Drepper <drepper@redhat.com>
2305
2306 * stdlib/strtod.c: Never stop prematurely reading digits before the
2307 decimal point is found. Compute exponent limit for negative exponents
6b58cbc0 2308 correctly. For numbers ending in all zeros eat the zeros even before
5bfcc4d1
UD
2309 the decimal point if the exponent is negative [PR libc/2072].
2310 * stdlib/Makefile (tests): Add bug-strtod.
2311 * stdlib/bug-strtod.c: New file.
2312
18e532f1
AJ
23132001-02-07 Andreas Jaeger <aj@suse.de>
2314
2315 * posix/bug-regex1.c: Include <wchar.h> for fwide.
2316
d7fce7e0
UD
23172001-02-06 Ulrich Drepper <drepper@redhat.com>
2318
5bfcc4d1
UD
2319 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
2320 Store index.
2321 (compile_range): Handle index being passed, not pointer.
2322 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2323
d7fce7e0
UD
2324 * posix/regex.c: Fix a cast in the code for bracket handling which
2325 caused 8-bit uncleanliness.
2326 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
2327
2328 * posix/Makefile (tests): Add bug-regex1.
2329 * posix/bug-regex1.c: New file.
2330 Contributed by Jim Meyering <jim@meyering.net>.
2331
2332 * posix/regex.c: Many cleanups for incorrect format strings.
2333
cba7a888
AJ
23342001-02-06 Andreas Jaeger <aj@suse.de>
2335
2336 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
2337
fdc6c28a
UD
23382001-02-06 Ulrich Drepper <drepper@redhat.com>
2339
2340 * locale/programs/locale.c (write_locales): Use scandir to read
2341 directory so that the entries are sorted.
2342
bd7f30a9
AJ
23432001-02-06 Andreas Jaeger <aj@suse.de>
2344
2345 * include/pthread.h: New file.
2346
2347 * wctype/wctype.h: Move internal interfaces from here to...
2348 * include/wctype.h: ...here.
2349
2350 * wcsmbs/wchar.h: Move __wcslen from here to...
2351 * include/wchar.h: ...here.
2352
2353 * posix/sys/wait.h: Move __wait from here to...
2354 * include/sys/wait.h: ...here.
2355
2356 * string/string.h: Move __ffs and __strerror_r from here to...
2357 * include/string.h: ...here.
2358
2359 * stdlib/stdlib.h: Move __on_exit from here to...
2360 * include/stdlib.h: ...here.
2361
2362 * libio/stdio.h: Move __vsnprintf from here to...
2363 * include/stdio.h: ...here.
2364
18bd8944
AS
23652001-02-06 Andreas Schwab <schwab@suse.de>
2366
2367 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
2368 headers.
2369
2370 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
2371 of $(inst_datadir).
2372
9a1b5e2c
UD
23732001-02-06 Ulrich Drepper <drepper@redhat.com>
2374
2375 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
2376
d4620e04
AJ
23772001-02-06 Andreas Jaeger <aj@suse.de>
2378
2379 * elf/firstobj.c: Add prototype.
2380
2381 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
2382 (truncate_wchar): Likewise.
2383
91cd8340
UD
23842001-02-06 Ulrich Drepper <drepper@redhat.com>
2385
2386 * locale/programs/locale.c: Implement --verbose option for -a
2387 which prints detailed information about the locales.
2388
216c1386
UD
23892001-02-05 Ulrich Drepper <drepper@redhat.com>
2390
2391 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
2392 variable to uint32_t.
2393 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
2394
02cd8aee
UD
23952001-02-04 Bruno Haible <haible@clisp.cons.org>
2396
2397 * locale/C-translit.h.in: Add transliterations for CJK units of
2398 measurement.
2399
403cb8a1
UD
24002001-02-05 Ulrich Drepper <drepper@redhat.com>
2401
68162753
UD
2402 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
2403 string. Include <inttypes.h> instead of <stdint.h>.
2404
403cb8a1
UD
2405 * localedata/Makefile (tests): Add bug-iconv-trans.
2406 Define bug-iconv-trans-ENV.
2407 * localedata/bug-iconv-trans.c: New file.
2408
24092001-02-04 Bruno Haible <haible@clisp.cons.org>
2410
2411 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
2412 pointer, to avoid accumulating output from incomplete (unsuccessful)
2413 transliteration attempts.
2414
ae113383
UD
24152001-02-05 Ulrich Drepper <drepper@redhat.com>
2416
5a35dfca
UD
2417 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
2418 string. Include <inttypes.h> instead of <stdint.h>.
2419
ae113383
UD
2420 * configure.in: Add check for bison.
2421 * config.make.in: Define BISON variable.
2422 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
2423 Rename YFLAGS to BISONFLAGS.
2424
414a6b0d
AJ
24252001-02-05 Andreas Jaeger <aj@suse.de>
2426
725c76a6
AJ
2427 * io/test-lfs.c (do_test): Test lseek64 return value, call
2428 test_ftello.
2429 (test_ftello): New function to test ftello64 and fseeko64.
2430
d9bfd1a5
AJ
2431 * signal/signal.h: Move __sigaction from here to...
2432 * include/signal.h: ...here.
2433
414a6b0d
AJ
2434 * io/fcntl.h: Move __fcntl and __open to...
2435 * include/fcntl.h: ...here.
2436
0c8b61e6
UD
24372001-02-04 Philip Blundell <philb@gnu.org>
2438
2439 * configure.in: Distinguish ARM from Thumb.
2440
24412001-02-04 Philip Blundell <philb@gnu.org>
2442
2443 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
2444 PC24 relocs with negative value.
2445
93693c4d
UD
24462001-02-04 Ulrich Drepper <drepper@redhat.com>
2447
2448 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
2449 files in locale/programs. Add CFLAGS definition to allow compiling
2450 localedef files.
2451 * iconv/dummy-repertoire.c: New file.
2452 * iconv/iconv_charmap.c: New file.
2453 * iconv/iconv_prog.h: New file.
2454 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
2455 (main): If parameter for -f and -t contain slashes try first to resolve
2456 the strings as filenames of charmap files. Use them for conversion
2457 in this case.
2458 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
2459 iconv getting charmap names as parameters.
2460 * locale/programs/linereader.c (lr_token): Take extra parameters
2461 verbose and pass it to get_string.
2462 (get_string): Take extra parameters verbose.
2463 * locale/programs/charmap.c (parse_charmap): Take extra parameters
2464 verbose and be_quiet. Change all callers of lr_token and
2465 parse_charmap.
2466 * locale/programs/charmap.h: Likewise.
2467 * locale/programs/ld-address.c: Likewise.
2468 * locale/programs/ld-collate.c: Likewise.
2469 * locale/programs/ld-ctype.c: Likewise.
2470 * locale/programs/ld-identification.c: Likewise.
2471 * locale/programs/ld-measurement.c: Likewise.
2472 * locale/programs/ld-messages.c: Likewise.
2473 * locale/programs/ld-monetary.c: Likewise.
2474 * locale/programs/ld-name.c: Likewise.
2475 * locale/programs/ld-numeric.c: Likewise.
2476 * locale/programs/ld-paper.c: Likewise.
2477 * locale/programs/ld-telephone.c: Likewise.
2478 * locale/programs/ld-time.c: Likewise.
2479 * locale/programs/linereader.c: Likewise.
2480 * locale/programs/linereader.h: Likewise.
2481 * locale/programs/localedef.c: Likewise.
2482 * locale/programs/locfile.c: Likewise.
2483 * locale/programs/locfile.h: Likewise.
2484 * locale/programs/repertoire.c: Likewise.
2485
b3c3fe42
UD
24862001-02-03 Ulrich Drepper <drepper@redhat.com>
2487
377c725f
UD
2488 * iconv/iconv_prog.c (main): If output file name is "-" write to
2489 stdout.
2490 (main): If -f or -t argument is missing use charset of the current
2491 locale.
b3c3fe42 2492
72a2ebb4
AJ
24932001-02-03 Andreas Jaeger <aj@suse.de>
2494
a4540639
AJ
2495 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
2496 boundary for SSE/SSE-2 alignment.
2497
72a2ebb4 2498 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
3c7bfc37 2499 annexc.
72a2ebb4 2500
3b46325b
UD
25012001-02-03 Ulrich Drepper <drepper@redhat.com>
2502
99b9b8ec 2503 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
a5f9233e 2504 Remove comma at end of enum.
99b9b8ec 2505
bd929413
UD
2506 * elf/dl-init.c: Add a few __builtin_expect.
2507
3b46325b
UD
2508 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
2509
4b1fef84
UD
25102001-02-02 Ulrich Drepper <drepper@redhat.com>
2511
3b46325b 2512 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
0c7dfa14
UD
2513 errno is ECONNREFUSED.
2514
2515 * posix/Makefile: Define MBS_SUPPORT for regex.c.
e4c785c8
UD
2516 * posix/regex.c: Implement multibyte character handling.
2517 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
2518
4b1fef84
UD
2519 * string/tst-svc.input: Add two more test cases.
2520 * string/tst-svc.expect: Modify to reflect new test cases.
2521
25222001-02-01 Jakub Jelinek <jakub@redhat.com>
2523
2524 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
2525 tp->name tests with tp->name[0] tests.
2526
25272001-01-29 Ben Collins <bcollins@debian.org>
2528
2529 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
2530 Fix check for name == NULL.
2531
5d916713
UD
25322001-02-01 Ulrich Drepper <drepper@redhat.com>
2533
b71e7ce8
UD
2534 * elf/Makefile: Add rules to build and run initfirst test.
2535 * elf/initfirst.c: New file.
2536 * elf/firstobj.c: New file.
2537
5d916713
UD
2538 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
2539 * configure.in: Test for -z initfirst linker option.
2540 * config.make.in: Add have-z-initfirst.
2541 * elf/dl-init.c (_dl_init): Split out actual initialization code in
2542 new function call_init. If _dl_initfirst is non-NULL initialize first.
2543 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
2544 remember object in _dl_initfirst.
2545 * elf/soinit.c: Remove special support for calling
2546 __pthread_initialize_minimal.
2547
2548 * conform/conformtest.pl: Add missing $prepend in type test.
2549
70dc5068
UD
25502001-01-31 Ulrich Drepper <drepper@redhat.com>
2551
5d916713
UD
2552 * elf/elf.h (SHT_CHECKSUM): New definition.
2553
70dc5068
UD
2554 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
2555 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5d916713 2556 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
70dc5068
UD
2557
25582001-01-31 Mark Kettenis <kettenis@gnu.org>
2559
2560 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
2561 to get definition of `struct timeval'.
2562
f798bf32
UD
25632001-01-31 Ulrich Drepper <drepper@redhat.com>
2564
2565 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
2566 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
2567
306eeae5
UD
25682001-01-30 Ulrich Drepper <drepper@redhat.com>
2569
2570 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
2571 seen, not flags.
2572
2573 * nis/nis_findserv.c: Include <time.h>.
2574
c7fb46a9
UD
25752001-01-30 Yong Li <yong.li@asu.edu>
2576
c7fb46a9
UD
2577 * iconv/iconv_prog.c (main): Correct error handling method name.
2578
7e118246
UD
25792001-01-29 Ben Collins <bcollins@debian.org>
2580
2581 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
2582 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
2583 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
2584 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
2585
3f66a0cf
UD
25862001-01-30 Ulrich Drepper <drepper@redhat.com>
2587
7e118246
UD
2588 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
2589 Patch by Marko Myllynen <myllynen@lut.fi>.
2590
2591 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
2592 (int instead of char).
2593 (__strpbrk_c3): Likewise.
2594 Reported by GOTO Masanori <gotom@debian.or.jp>.
2595
3f66a0cf
UD
2596 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
2597 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
2598 * include/sys/socket.h: Add SA_LEN here for internal use.
7e118246 2599 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
3f66a0cf 2600
9949bc63
UD
26012001-01-29 Ulrich Drepper <drepper@redhat.com>
2602
48d99185
UD
2603 * malloc/Makefile: Don't build memusagestat if cross-compiling.
2604
40576b87
UD
2605 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
2606
9949bc63
UD
2607 * math/libm-test.inc (rint_test): Add a few more tests for round
2608 to even rounding.
2609
4a2c9975
UD
26102001-01-28 Ulrich Drepper <drepper@redhat.com>
2611
38447cbe
UD
2612 * conform/data/pthread.h-data: Correct return type of pthread_exit.
2613
140ec510
UD
2614 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
2615
dfae0b7d
UD
2616 * conform/data/stdlib.h-data: Add _Exit.
2617
3584d5fb
UD
2618 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
2619 if not already happened.
2620 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
2621 Don't include <limits.h> and <bits/sockaddr.h>.
2622
59c8d6e1
UD
2623 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
2624
3c5912ee
UD
2625 * conform/data/spawn.h-data: Allow all of <sched.h>.
2626
c9a0e4ab
UD
2627 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
2628 unused variable.
2629
0e5d0c0a
UD
2630 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
2631 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
2632
1df66084
UD
2633 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
2634
48ba4bd2 2635 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
3bf3d361 2636 * libio/stdio.h: Define va_list correctly.
f9b9f291 2637
ddd1037e
UD
2638 * conform/data/pthread.h-data: Make priority protocol related
2639 functions optional. Fix typos.
2640
4a2c9975
UD
2641 * posix/sched.h: Define sched_priority as __sched_priority.
2642 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
2643 to __sched_priority.
2644 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2645
2ff458eb
UD
26462001-01-27 Ulrich Drepper <drepper@redhat.com>
2647
eb6c0470
UD
2648 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
2649 of <sys/time.h>.
2650
4fef60b3
UD
2651 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
2652 * sysdeps/unix/time.c: Likewise.
f8e25d3e 2653
73b6bffc
UD
2654 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
2655 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
2656 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
2657 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
2658 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
2659 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
2660 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
2661 * time/time.h: Likewise.
2662
2663 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
2664 * conform/data/complex.h-data: New file.
2665 * conform/data/tgmath.h-data: New file.
2666
2667 * conform/data/wchar.h-data: Add missing functions.
2668
2669 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
2670
2671 * conform/data/termios.h-data: Add missing const in tcsetattr()
2672 prototype.
2673
2674 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
2675 Don't define pid_t here.
2676
2677 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
2678
8be918b7
UD
2679 * conform/data/sys/time.h-data: Allow sys/select.h.
2680 * conform/data/sys/un.h-data: Fix typo.
2681 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
2682 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
2683 <sys/time.h>.
2684 * sysdeps/unix/clock_nanosleep.c: Likewise.
2685 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
2686 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
2687 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
2688 * sysdeps/unix/clock_settime.c: Likewise.
2689
2690 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
2691 * login/getutent.c: Likewise.
2692 * login/getutid.c: Likewise.
2693 * login/getutline.c: Likewise.
2694
2695 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
2696
09a2231b
UD
2697 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
2698 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
2699 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
2700 f_fsid field after change in struct statvfs.
2701 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
2702 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
2703 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
2704
2705 * conform/data/sys/stat.h-data: Remove isfdtype. Use
2706 optional-macro.
2707
6f0ea379
UD
2708 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
2709 recvfrom, send, and socketpair prototypes. Add allow lines.
2710 * socket/sys/socket.h: Include <sys/uio.h>.
2711 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
2712 Fix type of second parameter of listen.
2713 Don't declare isfdtype unless __USE_MISC.
2714 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
2715 * sysdeps/mach/hurd/listen.c: Likewise.
2716 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
2717 ss_family and __ss_family.
2718 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
2719 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2720 (struct msghdr): Change type of msg_iovlen to int and type of
2721 msg_controllen to socklen_t.
2722 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
2723 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
2724 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
d1ce5f2a
UD
2725 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
2726 (rresvport_af): Likewise.
6f0ea379 2727
257abbe2
UD
2728 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
2729 * conform/conformtest.pl: Implement handling of symbol.
2730
2ff458eb
UD
2731 * signal/signal.h: Fix handling of __need_* symbols.
2732 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
2733 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
2734 * include/sys/select.h: Use fd_set not __fd_set.
2735 * sysdeps/generic/bits/select.h: Likewise.
2736 * sysdeps/i386/bits/select.h: Likewise.
2737 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
2738 __FDELT, __FDMASK, and __fd_set here.
2739 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
2740 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
2741 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2742 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2743 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
2744 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2745 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2746 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2747 * time/sys/time.h: Define struct timeval before including <time.h>
2748 and <sys/select.h>.
2749
2750 * conform/data/sys/time.h-data: fd_set is a typedef.
2751 * conform/data/sys/select.h-data: New file.
2752 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
2753 * conform/conformtest.pl (@headers): Add sys/select.h.
2754 (type, optional-type): Unless testing a typedef instantiate object.
2755 Implement optional-function.
2756
2757 * math/test-misc.c: Include <float.h>.
2758
ded0a899
AJ
27592001-01-27 Andreas Jaeger <aj@suse.de>
2760
2761 * misc/efgcvt_r.c: Include <float.h>.
2762
5876389a
UD
27632001-01-26 Ulrich Drepper <drepper@redhat.com>
2764
61f9d0a3
UD
2765 * conform/data/stdlib.h-data: Account for XPG6 changes.
2766 * stdlib/stdlib.h (__random): Change return value type to long.
2767 (posix_memalign): Cleanup parameter names.
2768 (setenv, unsetenv): Make available for __USE_XOPEN2K.
2769 Change return type of unsetenv to int.
2770 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
842d709c 2771 * include/stdlib.h: Change return type of unsetenv to int.
344be96a 2772 Change return type of random to long int.
61f9d0a3
UD
2773 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
2774 Return -1 and set errno if parameter is invalid.
2775 * stdlib/random.c (__random): Change return value type to long.
2776
69bd45bd
UD
2777 * conform/data/stdio.h-data: Account for changes in XPG6.
2778
edf9cc89
UD
2779 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
2780 prototype.
2781
5a9339d5
UD
2782 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
2783 * conform/data/signal.h-data: Fix sigev_notify_function entry.
2784 Fix typo (SIGVALRM -> SIGVTALRM).
2785 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
2786 with real type.
2787 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
2788 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
2789 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2790 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2791 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
2792
da238298
UD
2793 * conform/conformtest.pl: Implement optional-element. Define
2794 $mustprepend{"sched.h"}.
da238298
UD
2795 * conform/data/sched.h-data: Make sporadic scheduler definitions
2796 optional.
2797
2798 * pwd/pwd.h: Don't define getpwent_r for XPG.
2799
3eee1304
UD
2800 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
2801 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
2802 * sysdeps/mach/hurd/poll.c: Likewise.
2803 * sysdeps/unix/bsd/poll.c: Likewise.
2804 * sysdeps/unix/sysv/linux/poll.c: Likewise.
2805 * sysdeps/unix/sysv/aix/poll.c: Likewise.
2806 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
2807 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
2808 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
2809 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
2810 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
2811 * conform/data/poll.h-data: Fix typo in poll prototype.
2812
feb4f759
UD
2813 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
2814 only if __USE_MISC.
2815 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
2816
84d7b1ea
UD
2817 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
2818
126f53e8
UD
2819 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
2820
ccd4b479
UD
2821 * conform/conformtest.pl: Implement optional-type.
2822
2823 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
2824 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
2825 defining uint32_t here. Define IPPORT_RESERVED.
2826 (struct hostent): Type of h_length element is int.
2827 (getnameinfo): Type of flags parameter is unsigned int.
2828 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
2829 * conform/data/netdb.h-data: Add many missing definitions.
2830
12b64309
UD
2831 * conform/conformtest.pl: Implement optional-macro.
2832 * conform/data/math.h-data: Update for XPG6.
2833
2834 * math/math.h (HUGE): Define as FLT_MAX value but don't use
2835 FLT_MAX. Don't include <float.h>.
2836 (MAXFLOAT): Likewise.
2837
2838 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
2839
a7927149
UD
2840 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
2841
ef7aba4c
UD
2842 * conform/data/limits.h-data: Mark constants as optional wherever
2843 appropriate.
2844
dbc3e61b
UD
2845 * posix/bits/posix2_lim.h: Set correct values for
2846 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
2847 EQUIV_CLASS_MAX.
2848
0c0b9451
UD
2849 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
2850 Required by POSIX.
2851
58593d2e
UD
2852 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
2853
5876389a
UD
2854 * conform/data/netinet/in.h-data: Add reserved prefixes.
2855
2856 * conform/data/arpa/inet.h-data: Fix a few typos.
2857
4422df02
AJ
28582001-01-26 Andreas Jaeger <aj@suse.de>
2859
f46a097c
AJ
2860 * sysdeps/generic/strtol.c: Include <locale.h>
2861 * stdlib/strtod.c: Likewise
2862 * stdlib/strfmon.c: Likewise.
6d6e4021
AJ
2863 * string/strcoll.c: Likewise.
2864 * string/strxfrm.c: Likewise.
2865 * wctype/wcfuncs_l.c: Likewise.
2866 * wctype/wctype_l.c: Likewise.
2867 * wctype/wctrans_l.c: Likewise.
f46a097c 2868
4422df02
AJ
2869 * include/bits/locale.h: New file.
2870
020275b5
UD
28712001-01-26 Ulrich Drepper <drepper@redhat.com>
2872
d0376ea7
UD
2873 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
2874 and NOSTR.
2875
3e154a6f
UD
2876 * locale/Makefile (headers): Add bits/locale.h.
2877 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
2878 and use __LC_ constants instead of LC_.
2879 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
2880 using __LC_ constants.
2881 * locale/bits/locale.h: New file.
2882 * locale/loadlocale.c: Include <locale.h>.
2883 * locale/nl_langinfo.h: Likewise.
2884
97ac0eaf
UD
2885 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
2886
1e4380f8
UD
2887 * io/sys/stat.h: Define S_IFSOCK for XPG6.
2888
2889 * conform/data/fcntl.h-data: posix_madvise is not expected here.
2890
7cc9fcf4
UD
2891 * conform/conformtest.pl: Fix handling of macro-str.
2892
aaca79eb
UD
2893 * conform/data/inttypes.h-data: Add missing definition and all of
2894 stdint.h-data.
2895
020275b5
UD
2896 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
2897
bec7805d
UD
28982001-01-25 Ulrich Drepper <drepper@redhat.com>
2899
020275b5
UD
2900 * conform/conformtest.pl (@headers): Add stdint.h.
2901 * conform/data/stdint.h-data: New file.
2902
ad4f2ebf
UD
2903 * conform/conformtest.pl: Recognize options --headers and
2904 --dialect. Add dialect-specific CFLAGS.
2905
9d48fef0
UD
2906 * conform/conformtest.pl: Implement handling of recursive
2907 allow-header.
2908
2909 * conform/data/locale.h-data: Add new struct lconv members.
2910
8a6c2217
UD
2911 * posix/wordexp.h: Correct definition of wordexp_t.
2912 * posix/wordexp.c: Moved to ...
2913 * sysdeps/generic/wordexp.c: ...here. New file.
2914 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
2915 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
2916 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
2917 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
2918 wordexp.
2919 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
2920 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
2921
deea1b29
UD
2922 * math/tgmath.h: Pretty printing.
2923
4f2689f4
UD
2924 * math/Makefile (tests): Add test-tgmath.
2925 (CFLAGS-test-tgmath.c): New variable.
2926 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
2927
bec7805d
UD
2928 * conform/conformtest.pl: Handle allow-header in secondary headers
2929 correctly.
2930
2931 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
2932 #ifdef.
2933
2934 * conform/data/netinet/in.h-data: Use correct comment character.
2935 * conform/data/sys/stat.h-data: Likewise.
2936
e7c3d12b
UD
29372001-01-25 Jakub Jelinek <jakub@redhat.com>
2938
2939 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
2940 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
2941 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
2942 __builtin_classify_type, add ##f suffixes where appropriate.
2943 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
2944 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
2945 __builtin_classify_type.
2946 (fma): Fix spelling of first argument.
2947
4de9dbfa
UD
29482001-01-25 Ulrich Drepper <drepper@redhat.com>
2949
773bd1e1
UD
2950 * conform/data/unistd.h-data: Mark functions removed in XPG6
2951 correctly.
2952
2953 * posix/unistd.h: Don't make functions removed in XPG6 available if
d921b304
UD
2954 __USE_XOPEN2K.
2955
2eba94b2
UD
2956 * conform/conformtest.pl: Implement optional-constant.
2957 * conform/data/unistd.h-data: Use optional-constant wherever
2958 appropriate.
2959
6b3e8333
UD
2960 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
2961 constants and add _SC_STREAMS.
2962 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
2963
87d2f3f0
UD
2964 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
2965 make old name weak alias.
2966 * sysdeps/generic/statvfs64.c: Likewise.
2967 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
2968 make old name weak alias.
2969 * sysdeps/generic/fstatvfs64.c: Likewise.
c1fac803 2970 * include/sys/statvfs.h: New file.
87d2f3f0 2971
2da161d4
UD
2972 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
2973 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
2974 _PC_REC_XFER_ALIGN.
2975 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
2976 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
2977 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
87d2f3f0 2978 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2da161d4 2979
7287c36d
UD
2980 * conform/conformtest.pl: Run Unix tests for XPG6.
2981 Implement handling of known namespace violations.
2982 Improve printing of results.
2983
2984 * posix/unistd.h (usleep): Correct return type.
2985 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
2986 * sysdeps/unix/bsd/usleep.c: Correct return type.
2987 * sysdeps/mach/usleep.c: Correct return type.
2988 * sysdeps/generic/usleep.c: Correct return type.
2989
2990 * posix/unistd.h (sync): Correct return type.
2991 * sysdeps/generic/sync.c: Likewise.
2992 * sysdeps/mach/hurd/sync.c: Likewise.
2993
2994 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
2995
49833554
UD
2996 * posix/unistd.h: Make seteuid and setegid available for XPG6.
2997
d9826675
UD
2998 * wcsmbs/wchar.h: Get FILE definition for XPG5.
2999
4de9dbfa
UD
3000 * conform/data/ctype.h-data: Use correct comment form.
3001 * conform/data/errno.h-data: Likewise.
3002 * conform/data/math.h-data: Likewise.
3003 * conform/data/mqueue.h-data: Likewise.
3004 * conform/data/netdb.h-data: Likewise.
3005 * conform/data/pthread.h-data: Likewise.
3006
dc5fd907
UD
30072001-01-24 Ulrich Drepper <drepper@redhat.com>
3008
c39fb5e4
UD
3009 * conform/data/wordexp.h-data: Fix typo.
3010
d753ffef
UD
3011 * conform/conformtest.pl: Handle allow-header correctly.
3012
3013 * conform/data/time.h-data: Use correct comment form.
3014
19533127
UD
3015 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
3016
45ef592d
UD
3017 * configure.in: Comment out binutils version test.
3018
dc5fd907
UD
3019 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
3020 separators.
3021 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
3022
3023 * stdlib/tst-strtod.c (locale_test): New function.
3024 (main): Call locale_test.
98d3e993 3025 * stdlib/Makefile (tst-strtod-ENV): New variable.
dc5fd907 3026
99f1b15b
MK
30272001-01-24 Mark Kettenis <kettenis@gnu.org>
3028
3029 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
3030 declaration of value such that we actually return the value of the
3031 environment variable.
3032
1f3109a5
AJ
30332001-01-24 Andreas Jaeger <aj@suse.de>
3034
3035 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
3036 prototype.
3037 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3038
dc5fd907 3039 * include/sys/sysctl.h: New file.
1f3109a5 3040
ecf525cd
AJ
30412001-01-23 Andreas Jaeger <aj@suse.de>
3042
1f3109a5
AJ
3043 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
3044 isomac.
7eff7a05 3045
b0ed91ae
AJ
3046 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
3047 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
3048 closes PR libc/2039.
3049
ecf525cd
AJ
3050 * manual/install.texi (Tools for Compilation): Change required
3051 binutils version.
3052
7d0673ae
AJ
30532001-01-22 Andreas Jaeger <aj@suse.de>
3054
ea9f119b
AJ
3055 * configure.in: Add test for new enough binutils version, move
3056 compiler/binutils test up.
3057
7d0673ae
AJ
3058 * Versions.def: Add version GLIBC_2.2.2.
3059
3132d11a
UD
30602001-01-21 Ulrich Drepper <drepper@redhat.com>
3061
3062 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
3063 available.
3064 * iconvdata/testdata/IBM932: New file.
3065 * iconvdata/testdata/IBM932..UTF8: New file.
3066 * iconvdata/testdata/IBM943: New file.
3067 * iconvdata/testdata/IBM943..UTF8: New file.
3068 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
3069
608d481e
UD
30702001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3071
3072 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
3073
30742001-01-21 Ulrich Drepper <drepper@redhat.com>
3075
3076 * malloc/malloc.c: Remove a few unnecessary initializers of global
3077 variables.
3078
a5fdf99b
UD
30792000-12-09 H.J. Lu <hjl@gnu.org>
3080
3081 * nss/Makefile (routines): Add digits_dots.
3082 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
3083 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
3084 into a function.
3085 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
3086 function.
3087 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
3088 (TYPE_VAR_P): Likewise.
3089 (FLAGS_VAR): Likewise.
3090 (AF_VAR_P): Likewise.
3091 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
3092 instead of including digits_dots.c.
3093 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
3094 (TYPE_VAR_P): Likewise.
3095 (FLAGS_VAR): Likewise.
3096 (AF_VAR_P): Likewise.
3097 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
3098 instead of including digits_dots.c.
3099
df18ec9a
UD
31002001-01-21 Ulrich Drepper <drepper@redhat.com>
3101
3102 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
3103
01ed3747
AJ
31042001-01-21 Andreas Jaeger <aj@suse.de>
3105
3106 * elf/constload2.c: Add prototype for init.
3107
27cb6b28
UD
31082001-01-21 Ulrich Drepper <drepper@redhat.com>
3109
d17c01f9
UD
3110 * stdlib/stdlib.h (drand48_data): Make available only for
3111 __USE_MISC. Rename elements to protect namespace. Change type
3112 and position of a and init element.
3113 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
3114 differently. Adjust for drand48_data change. Don't compute a here,
3115 it comes from drand48_data.
3116 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
3117 differently. Adjust for drand48_data change. Compute a here.
3118 * stdlib/srand48_r.c: Likewise.
3119 * stdlib/drand48.c: Adjust for drand48_data change.
3120 * stdlib/lrand48.c: Likewise.
3121 * stdlib/mrand48.c: Likewise.
3122 * stdlib/seek48.c: Likewise.
3123 * stdlib/drand48_r.c: Likewise.
3124 * stdlib/lrand48_r.c: Likewise.
3125 * stdlib/mrand48_r.c: Likewise.
3126 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
3127 differently.
3128 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
3129 * stdlib/jrand48_r.c: Likewise.
3130
27cb6b28
UD
3131 * po/sv.po: Update from translation team.
3132
d28c955e
AJ
31332001-01-21 Andreas Jaeger <aj@suse.de>
3134
3135 * stdio-common/vfprintf.c (vfprintf): Add casts.
3136
21a568e2
UD
31372001-01-20 Ulrich Drepper <drepper@redhat.com>
3138
3b7caeac
UD
3139 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
3140 the ASCII test.
3141 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
3142
3143 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
3144 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
3145 * iconvdata/ibm932.c: New file.
3146 * iconvdata/ibm932.h: New file.
3147 * iconvdata/ibm943.c: New file.
3148 * iconvdata/ibm943.h: New file.
3149 Patches by Masahide Washizawa <washi@jp.ibm.com>.
3150
b72f9d51
UD
3151 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
3152 preventing optimization from being done. Set the correct type bit
3153 in seen. Don't define and use _dl_base_addr unless
1b6020c1
UD
3154 NEED_DL_BASE_ADDR is defined.
3155
21a568e2
UD
3156 * io/ftw.c (ftw_dir): Add slash after directory name if there
3157 wasn't any. Reported by loris <loris@iol.it>.
3158 * io/Makefile (tests): Add bug-ftw2.
3159 * io/bug-ftw2.c: New file.
3160
ec4ae3b8
UD
31612001-01-19 Ulrich Drepper <drepper@redhat.com>
3162
df152cc8
UD
3163 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
3164 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
3165 * stdlib/tst-rand48.c: New file.
3166 * stdlib/Makefile (tests): Add tst-rand48.
3167
ec4ae3b8
UD
3168 * locale/newlocale.c (__newlocale): Fix test for setting all
3169 categories.
3170
db11c38c
MK
31712001-01-19 Mark Kettenis <kettenis@gnu.org>
3172
3173 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
3174 but change looking up the initial directory port in a similar way
3175 as done by _hurd_change_directory_port_from_name.
3176 * hurd/fchroot.c (fchroot): Likewise.
3177
2e42b53c
UD
31782001-01-18 Ulrich Drepper <drepper@redhat.com>
3179
4e56fdbc
UD
3180 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
3181 defined don't look whether the AT_*ID values were set.
3182 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
3183 (_dl_show_auxv): Rewrite to avoid switch statement.
3184 * sysdeps/unix/sysv/linux/kernel-features.h: Define
3185 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
3186 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
3187 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
3188
5287b1d8
UD
3189 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
3190 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3191 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3192
1e71bd52
UD
3193 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
3194 strtoul.
3195 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
3196 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
3197 anything.
3198 * dlfcn/eval.c (__strtol_internal): Define here.
3199 (eval): Use __strtol_internal instead of strtol.
3200
2e42b53c
UD
3201 * elf/elf.h: Add a few more EF_MIPS_* constants.
3202
2244ddf2
UD
32032001-01-17 Ulrich Drepper <drepper@redhat.com>
3204
3205 * manual/Makefile (chapters): Add debug.
3206 * manual/debug.texi: New file.
3207 * manual/examples/execinfo.c: New file.
3208 Patch by suckfish@ihug.co.nz.
3209
ee490531
AS
32102001-01-17 Andreas Schwab <schwab@suse.de>
3211
3212 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
3213 invalid asm.
3214
d26253b4
AJ
32152001-01-17 Andreas Jaeger <aj@suse.de>
3216
3217 * nscd/connections.c (nscd_run): Use proper format specifier.
3218
f806546c
UD
32192001-01-16 Ulrich Drepper <drepper@redhat.com>
3220
629cd0b8
UD
3221 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
3222 x86_platforms data into new file after prepending _dl_. Change
3223 users.
3224 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
3225 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
3226 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
3227 dl-procinfo.c.
3228
eca90c85
UD
3229 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
3230
376c348c
UD
3231 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
3232 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
3233 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
f806546c 3234 (_setjmp): Likewise.
376c348c
UD
3235 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
3236 * sysdeps/i386/bsd-setjmp.S: Real implementation.
3237 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
3238 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
3239 version.
f806546c 3240
17b32c74
AJ
32412001-01-16 Andreas Jaeger <aj@suse.de>
3242
3243 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
3244 misapplied last patch.
3245
ad7069d7
UD
32462001-01-15 Ulrich Drepper <drepper@redhat.com>
3247
a9e4124c
UD
3248 * stdlib/random.c (__initstate): Clean up a cast.
3249 (__setstate): Likewise.
3250
ad7069d7
UD
3251 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
3252 syscall handling. The generic Linux version should work.
3253
d5049d86
AJ
32542001-01-15 Andreas Jaeger <aj@suse.de>
3255
dab64536
AJ
3256 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
3257
376c348c 3258 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
d5049d86 3259
232b4655
UD
32602001-01-14 Jakub Jelinek <jakub@redhat.com>
3261
3262 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
3263 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
3264 New functions.
3265 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
3266 If number is 0, list all.
3267 (services_keys): Likewise. Lookup aliases as well.
3268 (databases): New table.
3269 (build_doc): Prepare argp doc text with list of supported databases.
3270 (main): Change to table driven processing.
3271
32722001-01-14 Thorsten Kukuk <kukuk@suse.de>
3273
5b6bed49 3274 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
232b4655
UD
3275 functions.
3276
32772001-01-03 Jakub Jelinek <jakub@redhat.com>
3278
3279 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
3280 encode value which does not fit in the 32bit type.
3281
6589ba79
AJ
32822001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
3283
3284 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
3285 Change type of CTX to (struct sigcontext *).
3286 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
3287 (GET_FRAME): Likewise.
3288 (GET_STACK): Likewise.
3289 (SIGCONTEXT): Likewise. Add 2nd arg _code.
3290 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
3291
b82d4f72
UD
32922001-01-13 Ulrich Drepper <drepper@redhat.com>
3293
3294 * manual/texinfo.tex: Update from upstream version.
3295
3f738366
UD
32962001-01-13 Jakub Jelinek <jakub@redhat.com>
3297
3298 * inet/ether_ntoh.c (lookup_function): Change arguments to match
3299 _nss_*_getntohost_r prototype.
3300 (ether_ntohost): Pass errno pointer to NSS function.
3301
6589ba79 33022001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3f738366
UD
3303
3304 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
3305 (MAP_LOCKED): New definition.
3306 (MAP_NORESERVE): New definition.
3307
234669e2
UD
33082001-01-12 Ulrich Drepper <drepper@redhat.com>
3309
3310 * assert/assert.h: Use static_cast instead of C-style cast for C++.
3311 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
3312
6589ba79 33132001-01-12 Ben Collins <bcollins@debian.org>
ff0eee29
UD
3314
3315 * sysdeps/generic/segfault.c (install_handler): Use access, not
3316 __access.
3317
a7cdbcb8
AJ
33182001-01-12 Andreas Jaeger <aj@suse.de>
3319
3320 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
3321 * posix/wordexp.c (do_parse_glob): Likewise.
3322 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
3323 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
3324 * elf/dl-open.c (_dl_open): Likewise.
3325 * elf/dl-close.c (_dl_close): Likewise.
3326 * elf/dl-load.c (_dl_map_object): Likewise.
3327 * iconv/iconv_prog.c (process_fd): Likewise.
03769626 3328 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
a7cdbcb8
AJ
3329
3330 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
3331 of a zero-length array.
3332
5ef50d00
UD
33332001-01-11 Jakub Jelinek <jakub@redhat.com>
3334
3335 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
3336 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
3337 * stdlib/cxa_on_exit.c: Remove.
3338 * stdlib/Makefile: Revert last patch.
3339 * stdlib/Versions: Likewise.
3340 * include/stdlib.h: Likewise.
3341 * stdlib/exit.h: Revert last patch.
3342 (struct exit_function): Add second argument to cxa fn.
3343 * stdlib/exit.c: Revert last patch.
3344 (exit): Add hidden second argument.
3345
7e36861e
UD
33462001-01-11 H.J. Lu <hjl@gnu.org>
3347
3348 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
3349 * elf/dl-open.c (_dl_open): Here.
3350 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
3351 Make it static.
3352 (_dl_static_init): Initialize the variables every time when possible.
3353 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
3354 Undefine it first.
3355
3bbddbe4
UD
33562001-01-11 Ulrich Drepper <drepper@redhat.com>
3357
3358 * stdlib/Makefile (routines): Add cxa_on_exit.
3359 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
3360 * stdlib/cxa_on_exit.c: New file.
3361 * include/stdlib.h: Add prototype for __cxa_on_exit.
3362 * stdlib/exit.c: Handle ef_cxa2.
3363 * stdlib/exit.h (enum): Add ef_cxa2.
3364 (struct exit_function): Add cxa2.
3365
3366 * Versions.def [ld]: Add GLIBC_2.2.1.
3367
beb5387c
UD
33682001-01-10 H.J. Lu <hjl@gnu.org>
3369
3370 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
3371 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
3372 dl-static.
3373 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
3374 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
3375 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
3376 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
3377 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
3378
c926001f
UD
33792001-01-11 Ulrich Drepper <drepper@redhat.com>
3380
3381 * libio/stdio.h: Remove definition of off_t.
3382
64ed4533
AJ
33832001-01-11 Andreas Jaeger <aj@suse.de>
3384
3385 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
3386 <mkuhn@acm.org>.
3387
b9483044
UD
33882001-01-10 Ulrich Drepper <drepper@redhat.com>
3389
3390 * sunrpc/Makefile (distribute): Add errqueue.h.
3391
b1eab230
UD
33922001-01-10 H.J. Lu <hjl@gnu.org>
3393
3394 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
3395 r9, r10 and r11 for language specific registers.
3396
33972001-01-10 Jakub Jelinek <jakub@redhat.com>
3398
3399 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
3400 UDP socket.
3401 (clntudp_call): Handle MSG_ERRQUEUE.
3402 * sysdeps/generic/errqueue.h: New file.
3403 * sysdeps/unix/sysv/linux/errqueue.h: New file.
3404
963100c9
UD
34052001-01-10 H.J. Lu <hjl@gnu.org>
3406
3407 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
3408
e32f6125
UD
34092001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
3410
3411 * CONFORMANCE: Update.
3412
4dd98cad
UD
34132001-01-09 Ulrich Drepper <drepper@redhat.com>
3414
88d88a58
UD
3415 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
3416 Minimal cleanups. Add assert to ensure memory handling is correct.
3417
4ab5b7b5
UD
3418 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
3419 Reported by Ben Collins <bcollins@debian.org>.
3420
4dd98cad
UD
3421 * time/strftime.c (my_strftime): Mark previous GNU extensions
3422 which are now in C99 as such.
3423
0b795736
UD
34242001-01-08 Ulrich Drepper <drepper@redhat.com>
3425
92effacf
UD
3426 * elf/rtld.c (process_envvars): Place output files for profiling
3427 in SUID binaries in /var/profile.
3428
27f9ede1
UD
3429 * elf/dl-load.c (_dl_map_object): Don't look in cache for
3430 preloading in SUID binaries.
3431
f2a8d16b
UD
3432 * elf/dl-profile.c (_dl_start_profile): Open the output file with
3433 O_NOFOLLOW if possible.
3434
0101a56f
UD
3435 * include/stdlib.h: Add __posix_openpt declaration.
3436 * stdlib/stdlib.h: Add posix_openpt declaration.
3437 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
3438 * sysdeps/generic/getpt.c: Define posix_openpt.
3439 * sysdeps/unix/bsd/getpt.c: Likewise.
3440 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
3441
354e6102
UD
3442 * time/Makefile (tests): Add tst-mktime.
3443 * time/tst-mktime.c: New file.
3444
3445 * posix/tst-dir.c (main): One more mkdir() test.
3446
f93e323f
UD
3447 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
3448 Remove getpagesize syscall. We assume that the pagesize is always
3449 determined from the auxiliary vector.
3450
0b795736
UD
3451 * intl/dcigettext.c: Fix a few warnings.
3452 Patch by Bruno Haible <haible@ilog.fr>.
3453
34542001-01-08 Andreas Jaeger <aj@suse.de>
3455
3456 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
3457 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
3458
9b2c7523
UD
34592001-01-08 Ulrich Drepper <drepper@redhat.com>
3460
2090dd73
UD
3461 * sysdeps/generic/segfault.c (install_handler): Check output file
3462 name with access().
3463
52ee6223
UD
3464 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
3465 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
3466
0eb8a89b
UD
3467 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
3468
cf1bb6d5
UD
3469 * malloc/memusage.c (me): Use access() to determine whether we
3470 should write the output file or not.
3471
9b2c7523
UD
3472 * libio/bits/stdio.h (printf): Define macro to map printf call to
3473 fprintf which gcc can optimize.
1950ebc6 3474 * stdio-common/printf.c: Undefine printf.
9b2c7523 3475
af58d8a2
UD
34762001-01-07 Ulrich Drepper <drepper@redhat.com>
3477
bf2c10de 3478 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
6589ba79 3479 patch. We must use unsigned int for l member of union.
bf2c10de 3480
51ac41a7
UD
3481 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
3482 _dl_aux_init for shared libraries.
3483
af58d8a2
UD
3484 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
3485 * sysdeps/gnu/glob64.c: ...here. New file.
3486
6589ba79 34872001-01-07 Ben Collins <bcollins@debian.org>
9495793d
UD
3488
3489 * manual/examples/longopt.c: Make the "struct option" a little
3490 more like it should be, adding usage of required_argument,
3491 noargument and such, and also setting the options string right.
3492
3493 * manual/sysinfo.texi (Load Average): New section, documents
3494 getloadavg().
3495
531950ce
UD
34962001-01-06 Ulrich Drepper <drepper@redhat.com>
3497
22f02123
UD
3498 * version.h (VERSION): Bump to 2.2.1.
3499
b41486e9 3500 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
dabb1db4
UD
3501 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
3502 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
3503 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
3504 * Makefile (distribute): Add include/libc-internal.h.
3505 * libio/Makefile (distribute): Avoid overwriting.
b41486e9 3506
531950ce
UD
3507 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
3508 buffer and table handling.
3509
e4a5f77d
UD
35102001-01-05 H.J. Lu <hjl@gnu.org>
3511
3512 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
3513 vector checking to ...
3514 (_dl_aux_init): Here. New function. Defined only if
3515 HAVE_AUX_VECTOR is defined.
3516
3517 * sysdeps/generic/libc-start.c (__libc_start_main): Call
3518 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
3519
3520 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
3521 _dl_aux_init.
3522
3523 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
3524 (HAVE_AUX_VECTOR): Defined.
3525 (_dl_aux_init): Declared.
3526
6589ba79 35272001-01-05 Ben Collins <bcollins@debian.org>
bf798a95
UD
3528
3529 * manual/string.texi (Finding Tokens in a String): Document XPG
3530 basename() and dirname(), as well as GNU basename().
3531
35322001-01-05 Jakub Jelinek <jakub@redhat.com>
3533
3534 * Makeconfig (preprocess-version): Replace -traditional with
3535 -x assembler-with-cpp.
3536
35372001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
3538
3539 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
3540 for GCC 2.97 or later.
3541
6589ba79 35422001-01-05 Ben Collins <bcollins@debian.org>
bf798a95
UD
3543
3544 * manual/stdio.texi (getline): Clarify the return value in the
3545 case of EOF being reached before a newline.
3546
35472001-01-04 Jakub Jelinek <jakub@redhat.com>
3548
3549 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
3550 FALSE otherwise.
3551 (pmap_set, pmap_unset): Check __get_myaddress return value.
3552
35532001-01-05 Mark Kettenis <kettenis@gnu.org>
3554
3555 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
3556 (struct ether_addr): Declare ether_addr_octet member as
3557 `u_int8_t'. Add __attribute__ ((__packed__)).
3558
4c587216
MK
35592001-01-06 Mark Kettenis <kettenis@gnu.org>
3560
3561 * sysdeps/mach/hurd/readdir64.c: New file.
3562 * sysdeps/mach/hurd/readdir64_r.c: New file.
3563
ce08cce9
MK
35642001-01-07 Mark Kettenis <kettenis@gnu.org>
3565
3566 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
3567 `struct statfs' and `struct statvfs' being identical.
3568 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
3569
7b3d21b2
MK
35702001-01-06 Mark Kettenis <kettenis@gnu.org>
3571
3572 * sysdeps/mach/hurd/fstatfs64.c: New file.
3573 * sysdeps/mach/hurd/fstatvfs64.c: New file.
3574 * sysdeps/mach/hurd/statfs64.c: New file.
3575 * sysdeps/mach/hurd/statvfs64.c: New file.
3576 * sysdeps/mach/hurd/statfsconv.c: New file.
3577 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
3578
f1813b56
UD
35792001-01-06 Ulrich Drepper <drepper@redhat.com>
3580
3581 * iconv/skeleton.c: Reset outbuf for next round of the loop.
3582 Reported by Owen Taylor <otaylor@redhat.com>.
3583 * iconv/Makefile (tests): Add tst-iconv3.
3584 * iconv/tst-iconv3.c: New file.
3585
3586 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
3587 * iconvdata/ibm933.c: Likewise.
3588 * iconvdata/ibm935.c: Likewise.
3589 * iconvdata/ibm937.c: Likewise.
3590 * iconvdata/ibm939.c: Likewise.
3591 * iconvdata/ibm930.h: Adjust single byte table for optimization.
3592 * iconvdata/ibm933.h: Likewise.
3593 * iconvdata/ibm935.h: Likewise.
3594 * iconvdata/ibm939.h: Likewise.
3595
3596 * iconvdata/testdata/IBM930: Add misssing SI.
3597 * iconvdata/testdata/IBM933: Likewise.
3598 * iconvdata/testdata/IBM935: Likewise.
3599 * iconvdata/testdata/IBM937: Likewise.
3600 * iconvdata/testdata/IBM939: Likewise.
3601
aa44a9de
AJ
36022001-01-06 Andreas Jaeger <aj@suse.de>
3603
f1813b56
UD
3604 * configure.in: Check for old add-ons that shouldn't be used with
3605 current glibc anymore.
aa44a9de 3606
655bfb8b
MK
36072001-01-06 Mark Kettenis <kettenis@gnu.org>
3608
3609 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
3610 instead of -1 on failure. Don't forget to copy file name into
3611 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
3612 of the directory.
3613
74ec0232
MK
36142001-01-06 Mark Kettenis <kettenis@gnu.org>
3615
3616 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
3617 copy st_atime member.
3618
c4f66413
UD
36192001-01-05 Ulrich Drepper <drepper@redhat.com>
3620
25f227b9
UD
3621 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
3622 for searches from the root directory.
3623 Reported by loris <loris@iol.it> [PR libc/1991].
3624 * io/Makefile (tests): Add bug-ftw1.
3625 * io/bug-ftw1.c: New file.
3626
155fd00c 3627 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
6589ba79 3628 if it is not available. Instead use it only if it is available.
155fd00c
UD
3629 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
3630
c4f66413
UD
3631 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
3632 overflowing output buffer.
3633 (internal_ucs4_loop_unaligned): Likewise.
3634 (ucs4_internal_loop): Likewise.
3635 (ucs4_internal_loop_unaligned): Likewise.
3636 (internal_ucs4le_loop): Likewise.
3637 (internal_ucs4le_loop_unaligned): Likewise.
3638 (ucs4le_internal_loop): Likewise.
3639 (ucs4le_internal_loop_unaligned): Likewise.
3640 Reported by Owen Taylor <otaylor@redhat.com>.
3641 * iconv/Makefile (tests): Add tst-iconv2.
3642 * iconv/tst-iconv2.c: New file.
3643
f8f900ec
UD
36442001-01-04 H.J. Lu <hjl@gnu.org>
3645
6589ba79 3646 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
f8f900ec
UD
3647 (_dl_clktck): Declared.
3648 (non_dynamic_init): Take 3 arguments.
3649 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
3650
36512001-01-01 Bruno Haible <haible@clisp.cons.org>
3652
3653 Finish implementation of plural form handling.
3654 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
3655 'domainname'. Remove 'plindex' field. Add 'domain' and
3656 'translation_length' fields.
3657 (transcmp): Don't compare 'plindex' fields.
3658 (plural_lookup): New function.
6589ba79 3659 (DCIGETTEXT): Change cache handing in the plural case. Don't call
f8f900ec
UD
3660 plural_eval before the translation and its catalog file have been
3661 found. Remove plindex from cache key. Add 'translation_length' and
3662 'domain' to cache result.
3663 (_nl_find_msg): Remove index argument, return length of translation
6589ba79 3664 to the caller instead. Weaken comparison of string lengths, to account
f8f900ec
UD
3665 for plural entries. Call iconv() on the entire result string, not
3666 only on the portion needed so far.
3667 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
3668 argument.
3669 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
3670
eda6c725
UD
36712001-01-04 Ulrich Drepper <drepper@redhat.com>
3672
3673 * intl/plural.y (yylex): Minimal improvement in number scanner.
3674
61402fd6
UD
36752000-07-31 Bruno Haible <haible@clisp.cons.org>
3676
3677 * intl/plural.y: Include config.h. Needed to define 'inline' away for
3678 C compilers that don't support it.
3679 (yylex): Don't use gcc specific case range syntax.
3680 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
3681 compilers.
3682
36832000-10-12 Bruno Haible <haible@clisp.cons.org>
3684
3685 * intl/finddomain.c: Remove unneeded includes.
3686
36872000-10-12 Bruno Haible <haible@clisp.cons.org>
3688
3689 * intl/localealias.c (memcpy): Return first argument, just like the
3690 real memcpy function does.
3691 * intl/bindtextdom.c (memcpy): Likewise.
3692 * intl/finddomain.c (memcpy): Likewise.
3693 * intl/l10nflist.c (memcpy): Likewise.
3694 * intl/textdomain.c (memcpy): Likewise.
3695 From Paul Eggert <eggert@twinsun.com>.
3696
03fbfeb5
UD
36972001-01-03 Jakub Jelinek <jakub@redhat.com>
3698
3699 * resolv/resolv.h (struct __res_state): Add nsinit field.
3700 * resolv/res_send.c (res_nsend): Use it instead of nscount.
3701 * resolv/res_init.c (__res_vinit): Initialize it.
3702 (res_nclose): Clear it instead of nscount.
3703
06a60d9c
UD
37042001-01-04 Ulrich Drepper <drepper@redhat.com>
3705
03fbfeb5
UD
3706 * malloc/mtrace.pl: Fix matching of addresses.
3707 Patch by Aharon Robbins <arnold@skeeve.com>.
3708
06a60d9c
UD
3709 * Versions.def (ld): Add GLIBC_2.2.
3710
3711 * catgets/gencat.c: Copyright 2001.
3712 * csu/version.c: Likewise.
3713 * debug/catchsegv.sh: Likewise.
3714 * debug/xtrace.sh: Likewise.
3715 * elf/ldconfig.c: Likewise.
3716 * elf/sprof.c: Likewise.
3717 * iconv/iconv_prog.c: Likewise.
3718 * locale/locale.c: Likewise.
3719 * locale/localedef.c: Likewise.
3720 * malloc/memusage.sh: Likewise.
3721 * malloc/mtrace.pl: Likewise.
3722 * nscd/nscd.c: Likewise.
3723 * posix/getconf.c: Likewise.
3724
37252001-01-04 Mark Kettenis <kettenis@gnu.org>
3726
3727 * include/stdio.h: Only provide __getwc_unlocked prototype if
3728 USE_IN_LIBIO is defined.
3729
6589ba79 37302001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
06a60d9c
UD
3731
3732 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
3733 handling.
3734
37352001-01-03 Andreas Schwab <schwab@suse.de>
3736
3737 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
3738 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
3739
3740 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
3741 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
3742 strtoull alias.
3743 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
3744 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
3745 wcstoull alias.
3746
3747 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
3748 directory.
3749 * sysdeps/generic/strtol_l.c: Likewise.
3750 * sysdeps/generic/strtoul_l.c: Likewise.
3751 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
3752
3753 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
3754 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
3755 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
3756 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
3757
7f28638c
AJ
37582001-01-04 Andreas Jaeger <aj@suse.de>
3759
3760 * nss/nsswitch.c: Include files for missing prototypes, remove
3761 buggy declaration of prototypes.
3762
6589ba79 37632001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6ea8a113
AJ
3764
3765 * resolv/Versions: Fix bracing.
3766 * sysdeps/powerpc/soft-fp/Versions: Likewise.
dc0722b2 3767 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
6ea8a113 3768
6589ba79 37692001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
f49b52b6
UD
3770
3771 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
3772
fb0dd050
UD
37732001-01-02 Ulrich Drepper <drepper@redhat.com>
3774
3775 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
3776 Suggested by Minko Markov <mmarkov@home.com>.
3777
6589ba79 37782001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
fb0dd050
UD
3779
3780 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
3781 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
3782 the failing symbol.
3783 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
3784
6589ba79 37852001-01-02 Ben Collins <bcollins@debian.org>
fb0dd050
UD
3786
3787 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
3788 if TZ is not set and TZDEFAULT is not present.
3789
6589ba79 37902001-01-01 Ben Collins <bcollins@debian.org>
fb0dd050
UD
3791
3792 * string/strings.h: Make sure we declare our functions even if
3793 string.h is already included, based on whether or not __USE_BSD is
3794 defined.
3795
37962001-01-02 Ulrich Drepper <drepper@redhat.com>
3797
3798 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
3799 other dlopen() and dlsym().
3800 Based on a patch by Ben Collins <bcollins@debian.org>.
3801
38022001-01-02 Andreas Jaeger <aj@suse.de>
3803
3804 * dlfcn/errmsg1.c (main): Call dlerror initially.
3805 Reported by Ben Collins <bcollins@debian.org>.
3806
3470b826
UD
38072001-01-02 Ulrich Drepper <drepper@redhat.com>
3808
3809 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
3810 value is ignored if the selected locale is the C locale.
3811 * intl/tst-gettext.c: Set locale for above change.
3812 * intl/tst-translit.c: Likewise.
3813
78db6513
AJ
38142001-01-02 Andreas Jaeger <aj@suse.de>
3815
1dc72e4f
AJ
3816 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
3817 (_IO_switch_to_wget_mode): Likewise.
3818 (_IO_sputbackwc): Likewise.
3819 (_IO_sungetwc): Use wint_t for result.
3820
3821 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
3822
3823 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
3824 signedness.
3825
3826 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
3827 to (int) to avoid warnings.
3828 * stdio-common/printf_fp.c (putc): Likewise.
3829 * stdio-common/printf_size.c (putc): Likewise.
3830
78db6513
AJ
3831 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
3832 constant unsigned.
3833
8261c754
AJ
38342001-01-01 Andreas Jaeger <aj@suse.de>
3835
3836 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
3837
a2e48a25
AJ
38382000-12-31 Andreas Jaeger <aj@suse.de>
3839
66539a73
AJ
3840 * include/libc-internal.h: Add prototype for __libc_freeres.
3841
72f70279
AJ
3842 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
3843 for prototypes, remove redundant prototypes.
3844 * gmon/gmon.c: Likewise.
3845 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
3846 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
66539a73 3847 * malloc/mtrace.c: Likewise.
72f70279
AJ
3848
3849 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
3850 prototypes.
3851 * elf/soinit.c: Likewise.
3852 * sysdeps/generic/prof-freq.c: Likewise.
3853 * sysdeps/mach/hurd/profil.c: Likewise.
3854 * debug/noophooks.c: Likewise.
3855 * debug/pcprofile.c: Likewise.
3856 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
3857 * sysdeps/generic/get_clockfreq.c: Likewise.
66539a73 3858 * malloc/set-freeres.c: Likewise.
72f70279
AJ
3859
3860 * locale/localeinfo.h: Add internal prototypes.
3861
3862 * elf/rtld.c (dl_main): Fix prototype.
3863
9346aad7
AJ
3864 * iconvdata/tst-table-to.c (main): Use return instead of exit to
3865 avoid warning.
3866
3867 * nis/rpcsvc/yp_prot.h: Remove __P.
3868 * nis/rpcsvc/ypupd.h: Likewise.
3869 * nis/rpcsvc/yp.h: Likewise.
3870
fa39f7f7
AJ
3871 * sunrpc/rpc_main.c: Add noreturn attributes.
3872 * sunrpc/rpc_scan.h: Likewise.
3873
3874 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
3875
3876 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
3877
3878 * sunrpc/proto.h: Add noreturn attributes to error and crash.
3879
e4aced47
AJ
3880 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
3881
3882 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
3883
3884 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
3885
3886 * include/rpc/rpc_msg.h: Add prototypes for some functions.
3887 * include/rpc/auth.h: Likewise.
3888 * include/rpc/auth_des.h: Likewise.
3889 * include/rpc/clnt.h: Likewise.
3890 * include/rpc/rpc.h: Likewise.
3891 * include/rpc/svc.h: Likewise.
3892 * include/rpc/svc_auth.h: Likewise.
3893
3894 * include/rpc/des_crypt.h: New file.
3895
a2e48a25
AJ
3896 * malloc/memusagestat.c (main): Use return instead of exit to
3897 avoid warning.
3898 * io/pwd.c (main): Likewise.
3899 * iconvdata/tst-table-from.c (main): Likewise.
3900 * ctype/test_ctype.c (main): Likewise.
3901 * setjmp/tst-setjmp.c (main): Likewise.
3902 * signal/tst-signal.c (main): Likewise.
3903 * stdlib/tst-strtol.c (main): Likewise.
3904 * stdlib/tst-strtod.c (main): Likewise.
3905 * stdlib/tst-strtoll.c (main): Likewise.
3906 * stdlib/tst-xpg-basename.c (main): Likewise.
3907 * dirent/tst-seekdir.c (main): Likewise.
3908 * grp/testgrp.c (main): Likewise.
3909 * inet/test_ifindex.c (main): Likewise.
3910 * io/test-utime.c (main): Likewise.
3911 * posix/test-vfork.c (main): Likewise.
3912 * posix/testfnm.c (main): Likewise.
3913 * stdio-common/temptest.c (main): Likewise.
3914 * stdio-common/test_rdwr.c (main): Likewise.
3915 * stdio-common/tst-fileno.c (main): Likewise.
3916 * stdio-common/tst-sscanf.c (main): Likewise.
3917 * stdio-common/tstscanf.c (main): Likewise.
3918 * string/bug-strncat1.c (main): Likewise.
3919 * string/bug-strpbrk1.c (main): Likewise.
3920 * string/bug-strspn1.c (main): Likewise.
3921 * string/test-ffs.c (main): Likewise.
3922 * string/tst-inlcall.c (main): Likewise.
3923 * string/tst-svc.c (main): Likewise.
3924 * timezone/test-tz.c (main): Likewise.
3925 * wctype/test_wcfuncs.c (main): Likewise.
3926 * wctype/test_wctype.c (main): Likewise.
3927
3928 * stdlib/tst-random.c: Add attribute noreturn to fail.
3929
09f5e163
UD
39302000-12-28 Wolfram Gloger <wg@malloc.de>
3931
3932 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
3933 destination overlap. Assume dest is always below source if
3934 overlapping.
3935
c77a4478
UD
39362000-12-30 Ulrich Drepper <drepper@redhat.com>
3937
3938 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
3939 object was not yet initialized.
3940
39412000-12-28 H.J. Lu <hjl@gnu.org>
3942
3943 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
3944 is always consistent even if its dependency is failed.
3945
3946 * elf/dl-open.c (_dl_open): Increment the open count before
3947 calling _dl_close () in case of failure.
3948
3949 * elf/neededtest4.c: New file.
3950 * elf/neededobj5.c: New file.
3951 * elf/neededobj6.c: New file.
3952
3953 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
3954 (tests): Add neededtest4.
3955 (modules-names): Add neededobj5 and neededobj6.
3956 ($(objpfx)neededobj6.so): New target.
3957 ($(objpfx)neededtest4): New target.
3958 ($(objpfx)neededtest4.out): New target.
3959
d9af8867
UD
39602000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
3961
3962 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
3963 * stdlib/monetary.h: Add strfmon format attributes.
3964
547d4019
RM
39652000-12-28 Roland McGrath <roland@frob.com>
3966
3967 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
3968 __mempcpy does it for us.
3969
11e0f1cf
AJ
39702000-12-28 Andreas Jaeger <aj@suse.de>
3971
dde52fca
AJ
3972 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
3973
3974 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
3975 __new_setrlimit.
3976
3977 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
3978 __old_getrlimit64.
3979
3980 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
3981 __new_getrlimit.
3982
3983 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
3984 __chown_is_lchown and __real_chown.
3985
8da8e2db
AJ
3986 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
3987 _dl_reloc_bad_type.
3988
11e0f1cf
AJ
3989 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
3990 up GCC's warning about "deprecated use of label at end of compound
3991 statement."
3992 * sunrpc/rpc_cout.c (emit_inline): Likewise.
3993
11e0f1cf
AJ
3994 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
3995 prototypes.
3996 Remove struct bb and __bb_head since those are declared by
3997 sys/gmon.h.
3998
6589ba79 39992000-12-22 Ben Collins <bcollins@debian.org>
01f8c9f2
AJ
4000
4001 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
4002
4003 * manual/argp.texi: Document argp_domain as part of struct argp.
4004
a7cfa341
AJ
40052000-12-28 Andreas Jaeger <aj@suse.de>
4006
a2820ec4
AJ
4007 * catgets/Makefile (generated): Add sample.SJIS.cat.
4008
12f942cd
AJ
4009 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
4010
728c24ff
AJ
4011 * elf/dl-minimal.c: Add prototypes.
4012
4013 * include/locale.h: Add internal prototypes.
4014 * include/sys/gmon.h: Likewise.
4015
a7cfa341
AJ
4016 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
4017
6589ba79 40182000-12-27 Ben Collins <bcollins@debian.org>
7231f6f9
UD
4019
4020 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
4021 when reallocating the error strings.
4022 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
4023
bb548f63
UD
40242000-12-27 Ulrich Drepper <drepper@redhat.com>
4025
f116c77f
UD
4026 * dlfcn/Makefile (tests): Add errmsg1.
4027 (modules-names): Add errmsg1mod.
4028 Add rules to run errmsg1.
4029 * dlfcn/errmsg1.c: New file.
4030 * dlfcn/errmsg1mod.c: New file.
4031
9c99fa3d
UD
4032 * dlfcn/dlerror.c (dlerror): Always create output string which
4033 includes object file name.
4034
bb548f63
UD
4035 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
4036 if we would go through it only once.
4037 Patch by Rick Gorton <rick.gorton@api-networks.com>.
4038
4039 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
4040 Patch by Richard Henderson <rth@redhat.com>.
4041
40422000-12-27 Jakub Jelinek <jakub@redhat.com>
4043
4044 * malloc/malloc.c (memmove): Add prototypes.
4045 (MALLOC_MEMMOVE): Define.
4046 (chunk_realloc): Use it instead of MALLOC_COPY if source and
4047 destination might overlap.
4048
ce351e07
AJ
40492000-12-27 Andreas Jaeger <aj@suse.de>
4050
4051 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
4052 function.
4053 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4054 * locale/programs/locale.c (show_locale_vars): Likewise.
4055 (show_info): Likewise.
4056 * locale/programs/ld-collate.c (collate_output): Likewise.
4057 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
4058 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4059 * stdlib/rpmatch.c (rpmatch): Likewise.
4060
4061 * setjmp/tst-setjmp.c: Make local functions static.
4062 * setjmp/jmpbug.c: Likewise.
4063 * signal/tst-signal.c: Likewise.
4064 * stdio-common/tfformat.c: Likewise.
4065 * string/tst-svc.c: Likewise.
4066 * time/clocktest.c: Likewise.
4067 * time/tst-getdate.c: Likewise.
4068 * dirent/list.c: Likewise.
4069 * dirent/opendir-tst1.c: Likewise.
4070 * posix/runtests.c: Likewise.
4071 * posix/tst-getaddrinfo.c: Likewise.
4072 * posix/tst-chmod.c: Likewise.
4073 * posix/wordexp-test.c: Likewise.
4074 * misc/tst-efgcvt.c: Likewise.
4075 * timezone/tst-timezone.c: Likewise.
4076 * rt/tst-clock.c: Likewise.
4077 * rt/tst-shm.c: Likewise.
4078 * rt/tst-aio2.c: Likewise.
4079 * rt/tst-aio3.c: Likewise.
4080 * rt/tst-aio4.c: Likewise.
4081 * rt/tst-aio5.c: Likewise.
4082
4083 * dlfcn/failtest.c: Add prototype for foo.
4084
4085 * dlfcn/glrefmain.c: Add prototype for do_test.
4086
4087 * dlfcn/tst-dladdr.c: Add prototype for do_test.
4088
4089 * string/test-ffs.c (main): Add prototype for nested function.
4090
4091 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
4092
4093 * nss/XXX-lookup.c: Add prototype to shut up GCC.
4094
4095 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
4096 setetherent prototype.
4097 Add internal interfaces.
4098
4099 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
4100 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
4101
4102 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
4103
4104 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
4105
4106 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
4107 prototypes, remove struct etherent since it's declared in ether.h.
4108 Fix ntohost declaration.
4109
4110 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
4111
4112 * include/getopt.h: Add internal interfaces.
4113 * include/termios.h: Likewise.
4114 * include/resolv.h: Likewise.
4115 * include/netdb.h: Likewise.
4116 * include/grp.h: Likewise.
4117 * include/pwd.h: Likewise.
4118 * include/shadow.h: Likewise.
4119 * include/rpc/netdb.h: Likewise.
784d802e 4120 * include/setjmp.h: Likewise.
ce351e07
AJ
4121
4122 * include/stdio.h: Add prototypes for compatibility functions.
4123 * include/grp.h: Likewise.
4124 * include/pwd.h: Likewise.
4125 * include/shadow.h: Likewise.
4126
4127 * include/fenv.h: Define internal interfaces.
4128
96749bc2
UD
41292000-12-27 Ulrich Drepper <drepper@redhat.com>
4130
4131 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
4132 argument case separately.
4133 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
4134
27ee0a55
AJ
41352000-12-27 Andreas Jaeger <aj@suse.de>
4136
4137 * include/sys/wait.h: Add some prototypes.
4138 * Rules (dummy.c): Create also prototype to shut up GCC.
4139
38eb40ea
AJ
41402000-12-27 Andreas Jaeger <aj@suse.de>
4141
4142 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
4143 it's not needed at the moment.
4144 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
4145 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
4146
03bac9ac
AJ
41472000-12-26 Andreas Jaeger <aj@suse.de>
4148
4149 * libio/getc_u.c: Include stdio.h via system path to get internal
4150 prototypes.
4151 * libio/getwc_u.c: Likewise.
4152
4153 * stdlib/strfmon.c: Fix prototype of __printf_fp.
4154
4155 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
4156 __printf_fp prototypes to ...
4157 * include/printf.h: ...here.
4158
4159 * include/stdio.h: Add some internal prototypes to shut up GCC.
4160 * include/stdlib.h: Likewise.
4161
4162 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
4163 declaration.
4164
4165 * include/signal.h: Add prototypes for internal sigpause
4166 interfaces.
4167
945c975d
UD
41682000-12-26 Ulrich Drepper <drepper@redhat.com>
4169
4170 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
4171 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
4172
fc1fb585
UD
4173 * string/Makefile (tests): Add tst-bswap.
4174 * string/tst-bswap.c: New file.
4175
be76803a
UD
41762000-12-11 Bruno Haible <haible@clisp.cons.org>
4177
4178 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
4179
41802000-12-26 Ulrich Drepper <drepper@redhat.com>
4181
4182 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
4183 Patch by Ed Connell <Ed.Connell@sas.com>.
4184
214414c8
UD
41852000-12-24 Ulrich Drepper <drepper@redhat.com>
4186
4187 * locale/iso-639.def: Correct one entry. Add two missing entries.
4188
4189 * locale/iso-4217.def: Change entry for Eritrea.
4190 Reported by Daniel Yacob <yacob@geez.org>.
4191
6589ba79 41922000-12-23 Ben Collins <bcollins@debian.org>
640a3be1
UD
4193
4194 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
4195 description.
4196
4197 * manual/stdio.texi (Dynamic Output): Document the return value of
4198 asprintf. Also make the asprintf/snprintf examples a little
4199 better (check for some error returns).
4200
b708b1ca
AJ
42012000-12-22 Andreas Jaeger <aj@suse.de>
4202
4203 * include/stdio.h: Add __ftrylockfile prototype.
4204
912f97da
UD
42052000-12-21 H.J. Lu <hjl@gnu.org>
4206
4207 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
4208 Make sign_exponent element signed.
4209
4210 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
4211 Fix a typo.
4212
4213 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
4214
cc657ce5
AJ
42152000-12-21 Andreas Jaeger <aj@suse.de>
4216
4217 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
4218 * inet/ether_hton.c: Likewise
4219 * inet/ether_ntoh.c: Likewise.
4220
4221 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
4222 declaration to match prototype.
4223
4224 * include/netinet/ether.h (struct etherent): Declare here so that
4225 all implementations use the same struct.
4226
4227 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
4228 prototypes.
4229 (struct ether): Removed.
4230 Use struct etherent instead of ether everywhere.
4231
4232 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
4233
4234 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
4235
4236 * sunrpc/publickey.c: Include auth_des.h for prototypes.
4237
ddc3ed9d
UD
42382000-12-20 Ulrich Drepper <drepper@redhat.com>
4239
4240 * math/test-misc.c: Add more tests for nextafter functions.
4241
4242 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
4243 normal correctly. Correct test for sign.
4244 Based on a patch by HJ Lu.
4245
0a4c7b18
UD
42462000-12-19 Ulrich Drepper <drepper@redhat.com>
4247
4248 * Makeconfig (preprocess-version): Add -traditional to gcc call.
4249 Cleanup sed calls.
4250
6c9914d8
AJ
42512000-12-19 Andreas Jaeger <aj@suse.de>
4252
4253 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
4254
4255 * nis/nis_intern.h: Add prototype for __do_niscall3.
4256
4257 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
4258 match prototype.
4259
4260 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
4261
4262 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
4263
4264 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
4265
9b4b880b
UD
42662000-12-18 Ulrich Drepper <drepper@redhat.com>
4267
cc46d0cf
UD
4268 * math/test-misc.c: Add more tests for nextafter.
4269 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
4270 * sysdeps/ieee754/ldbl-96/math_ldbl.h
4271 (ieee_long_double_shape_type): Make sign_exponent element signed.
4272
aa9e3c39
UD
4273 * manual/message.texi: Add Estonian to plural overview list.
4274 Correct rule for Slavic languages.
4275 Patch by Stanislav Brabec <utx@penguin.cz>.
4276
9b4b880b
UD
4277 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
4278
51eecc4a
AJ
42792000-12-18 Andreas Jaeger <aj@suse.de>
4280
cc657ce5 4281 * test-skeleton.c: Use temp_name_list instead of name_list to
51eecc4a
AJ
4282 avoid collision with name_list from inet/netgroup.h.
4283
4284 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
4285
4286 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
4287 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
4288 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
4289 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
4290
4291 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
4292 declaration to match prototype.
4293 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
4294 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
4295 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
4296 Likewise.
4297 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
4298 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
4299 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
4300 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
4301 (_nss_nis_getservbyport_r): Likewise.
4302 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
4303 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
4304 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
4305 (_nss_nis_setnetent): Likewise
4306 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4307 (_nss_nis_endnetgrent): Likewise.
4308 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
4309 Likewise.
4310 (_nss_nisplus_setnetgrent): Likewise.
4311 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
4312 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
4313 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
4314 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
4315 Likewise.
4316 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
4317 Likewise.
4318 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
4319 Likewise.
4320 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
4321 Likewise.
4322 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
4323 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
4324 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
4325 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
4326 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
4327 (_nss_dns_getnetbyaddr_r): Likewise.
4328
715ed1e9
AJ
43292000-12-17 Andreas Jaeger <aj@suse.de>
4330
b6e20712
AJ
4331 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
4332 parameter.
4333
4334 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
4335 unused attribute to shut up gcc warnings.
4336
4337 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
4338 * sysdeps/generic/k_tanl.c: Likewise.
4339 * sysdeps/generic/k_cosl.c: Likewise.
4340 * sysdeps/generic/e_j0l.c: Likewise.
4341 * sysdeps/generic/e_j1l.c: Likewise.
4342 * sysdeps/generic/e_jnl.c: Likewise.
4343 * sysdeps/generic/e_lgammal_r.c: Likewise.
4344
715ed1e9
AJ
4345 * elf/vismain.c: Move prototypes for functions in vismod*.c to
4346 vismod.h.
4347 * elf/vismod.h: New file.
4348 * elf/Makefile (distribute): Add vismod.h.
4349 * elf/vismod1.c: Include vismod.h.
4350 * elf/vismod2.c: Likewise.
4351 * elf/vismod3.c: Likewise.
4352
4353 * elf/constload3.c: Add prototype declarations to shut up gcc.
4354 * elf/failobj.c: Likewise.
4355 * elf/nodelmod3.c: Likewise.
4356 * elf/filtmod1.c: Likewise.
4357 * elf/filtmod2.c: Likewise.
4358 * elf/reldepmod1.c: Likewise.
4359 * elf/reldepmod2.c: Likewise.
4360 * elf/reldepmod3.c: Likewise.
4361 * elf/reldepmod4.c: Likewise.
4362 * elf/unload2dep.c: Likewise.
4363 * elf/unload2mod.c: Likewise.
4364 * elf/ltglobmod1.c: Likewise.
4365 * elf/pathoptobj.c: Likewise.
5c80f57c
AJ
4366 * elf/neededobj1.c: Likewise.
4367 * elf/neededobj2.c: Likewise.
4368 * elf/neededobj3.c: Likewise.
4369 * elf/neededobj4.c: Likewise.
4370 * elf/nextmod1.c: Likewise.
4371 * elf/nextmod2.c: Likewise.
715ed1e9
AJ
4372
4373 * locale/programs/ld-collate.c (collate_finish): Don't use labels
4374 at end of compound statement.
4375 * locale/programs/locale.c (show_info): Likewise.
4376 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
4377
0a70515e
UD
43782000-12-16 Jakub Jelinek <jakub@redhat.com>
4379
4380 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
4381 with a pointer not returned by obstack_ functions.
4382
3d73829c
UD
43832000-12-16 Ulrich Drepper <drepper@redhat.com>
4384
0a70515e
UD
4385 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
4386 version.
4387 (struct stat64): Likewise.
4388 Reported by Michael Keezer <mkeezer@redhat.com>.
4389
3d73829c
UD
4390 * timezone/asia: Update from tzdata2000h.
4391 * timezone/australasia: Likewise.
4392 * timezone/backward: Likewise.
4393 * timezone/europe: Likewise.
4394 * timezone/northamerica: Likewise.
4395 * timezone/southamerica: Likewise.
4396 * timezone/zone.tab: Likewise.
4397
43982000-12-14 Jakub Jelinek <jakub@redhat.com>
4399
4400 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
4401 and dir.stream is NULL, only free dir.content.
4402 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
4403 * io/ftwtest-sh: Test with --early-exit.
4404
887e7ab6
UD
44052000-12-13 Jakub Jelinek <jakub@redhat.com>
4406
4407 * misc/efgcvt.c (FCVT_MAXDIG): Define.
4408 (FCVT_BUFPTR): New variable.
4409 (fcvt): If fcvt_r returns -1 on the static short buffer,
4410 try to malloc a sufficiently large one and retry.
4411 (free_mem): New function.
4412 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
4413 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
4414
44152000-12-15 Ulrich Drepper <drepper@redhat.com>
4416
4417 * misc/dirname.c (dirname): Fix search for second to last slash.
4418
44192000-12-13 Andreas Jaeger <aj@suse.de>
4420
4421 * misc/tst-dirname.c (main): Fix typo in test to really use
4422 the examples from Unix98.
4423 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
4424
bafd1567
UD
44252000-12-09 H.J. Lu <hjl@gnu.org>
4426
4427 * sysdeps/ia64/fpu/s_fabs.S: New file.
4428 * sysdeps/ia64/fpu/s_fabsf.S: New file.
4429 * sysdeps/ia64/fpu/s_fabsl.S: New file.
4430
1a511d31
AJ
44312000-12-15 Andreas Jaeger <aj@suse.de>
4432
4433 * stdio-common/scanf9.c (main): Reformat and change to avoid
4434 warnings.
4435
4436 * stdio-common/tstdiomisc.c: Make local functions static.
4437 * stdio-common/tst-printf.c: Likewise.
4438
4439 * elf/constload2.c: Add prototype declarations to shut up gcc.
4440 * elf/dep1.c: Likewise.
4441 * elf/dep2.c: Likewise.
4442 * elf/dep3.c: Likewise.
4443 * elf/dep4.c: Likewise.
4444 * elf/ltglobmod2.c: Likewise.
4445
4446 * libio/fmemopen.c: Make local functions static.
4447
4448 * elf/Makefile (distribute): Added testobj.h.
4449
4450 * elf/testobj.h: New file.
4451
4452 * elf/testobj1.c: Include testobj.h and move prototype
4453 declarations to testobj.h.
4454 * elf/testobj2.c: Likewise.
4455 * elf/testobj3.c: Likewise.
4456 * elf/testobj4.c: Likewise.
4457 * elf/testobj5.c: Likewise.
4458 * elf/testobj6.c: Likewise.
4459 * elf/testobj1_1.c: Likewise.
4460 * elf/preloadtest.c: Likewise.
4461
6589ba79 44622000-12-15 Ben Collins <bcollins@debian.org>
8ab5926a
AJ
4463
4464 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
4465 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
4466
940f0754
AJ
44672000-12-14 H.J. Lu <hjl@gnu.org>
4468
4469 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
4470 field in a float is 8 bits, not 11 bits.
4471
7b84d129
AJ
44722000-12-13 Jakub Jelinek <jakub@redhat.com>
4473
4474 * math/test-misc.c (main): Adjust m for IEEE quad long double.
4475
13193a38
AJ
44762000-12-13 Andreas Jaeger <aj@suse.de>
4477
b71f84a0
AJ
4478 * manual/message.texi (Using gettextized software): Fix typo.
4479
4480 * manual/charset.texi (Converting a Character): Fix mbstouwcs
4481 program to compile.
4482 Patch by Martin Buchholz <martin@xemacs.org>.
4483
13193a38
AJ
4484 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
4485 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
4486
1e3869d8
AJ
44872000-12-11 Andreas Jaeger <aj@suse.de>
4488
4489 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
4490 kernel_sigset_t and use it.
4491 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
4492
bafd1567 44932000-12-10 Richard Henderson <rth@redhat.com>
874b4dd5
UD
4494
4495 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
4496 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
4497 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
4498
a31530e3
UD
44992000-12-10 Jakub Jelinek <jakub@redhat.com>
4500
4501 * sysdeps/alpha/htonl.S: Fix a typo.
4502
adc85e2f
UD
45032000-12-10 Jakub Jelinek <jakub@redhat.com>
4504
4505 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
4506
9068de33
AJ
45072000-12-10 Andreas Jaeger <aj@suse.de>
4508
4509 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
4e8d52c9
AJ
4510 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
4511 Drepper <drepper@redhat.com>.
9068de33 4512
0a12bf88
AJ
45132000-12-09 Andreas Jaeger <aj@suse.de>
4514
4515 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
4516
4517 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
4518 generic version.
4519 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
4520
4521 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
4522 string.
4523
4524 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
4525 format string.
4526
4527 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
4528 * nscd/connections.c (handle_request): Likewise.
4529 * nscd/pwdcache.c (addpwbyname): Likewise.
4530 * nscd/grpcache.c (addgrbyname): Likewise.
4531
4532 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
4533
1d5c2feb
UD
45342000-12-09 Ulrich Drepper <drepper@redhat.com>
4535
c13f651e
UD
4536 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
4537
1d5c2feb
UD
4538 * Makeconfig (default_cflags): Make -O2 the default for stable
4539 releases.
4540
45412000-12-08 H.J. Lu <hjl@gnu.org>
4542
4543 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
4544 * sysdeps/ia64/fpu/s_isinf.S: This.
4545 Add a .pred.rel.mutex note to avoid false report.
4546
4547 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
4548 * sysdeps/ia64/fpu/s_isnan.S: This.
4549
4550 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
4551 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
4552 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
4553 * sysdeps/ia64/fpu/s_isinff.S: New file.
4554 * sysdeps/ia64/fpu/s_isinfl.S: New file.
4555 * sysdeps/ia64/fpu/s_isnanf.S: New file.
4556 * sysdeps/ia64/fpu/s_isnanl.S: New file.
4557 * sysdeps/ia64/fpu/s_finite.S: New file.
4558 * sysdeps/ia64/fpu/s_finitef.S: New file.
4559 * sysdeps/ia64/fpu/s_finitel.S: New file.
4560 * sysdeps/ia64/fpu/s_signbit.S: New file.
4561 * sysdeps/ia64/fpu/s_signbitf.S: New file.
4562 * sysdeps/ia64/fpu/s_signbitl.S: New file.
4563 * sysdeps/ia64/fpu/s_copysign.S: New file.
4564 * sysdeps/ia64/fpu/s_copysignf.S: New file.
4565 * sysdeps/ia64/fpu/s_copysignl.S: New file.
4566
d9163744
UD
45672000-12-08 Ulrich Drepper <drepper@redhat.com>
4568
a9a56960
UD
4569 * math/libm-test.inc (main): Fix typos in messages.
4570
d9163744
UD
4571 * string/stratcliff.c: Add test for rawmemchr.
4572
7b70fef6
UD
45732000-12-08 Jakub Jelinek <jakub@redhat.com>
4574
4575 * elf/dl-open.c (_dl_open): If objname points right after errstring,
4576 allocate it together with errstring using alloca.
4577 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
4578 to "", because it might point to local stack.
4579
8b801829
UD
45802000-12-05 H.J. Lu <hjl@gnu.org>
4581
4582 * nss/Makefile (routines): Add getnssent and getnssent_r.
4583 * nss/nsswitch.h (__nss_setent): New internal NSS function.
4584 (__nss_endent): Likewise.
4585 (__nss_getent_r): Likewise.
4586 (__nss_getent): Likewise.
4587 * nss/getnssent_r.c: New file.
4588 * nss/getnssent.c: New file.
4589 * nss/getXXent.c (H_ERRNO_VAR): Updated.
4590 (GETFUNC_NAME): Updated to call __nss_getent ().
4591 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
4592 (STAYOPEN_TMPVAR): Updated.
4593 (STAYOPEN_VAR): Updated.
4594 (SETFUNC_NAME): Updated to call __nss_setent ().
4595 (ENDFUNC_NAME): Updated to call __nss_endent ().
4596 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
4597
b8fefd49
AJ
45982000-12-08 Andreas Jaeger <aj@suse.de>
4599
4600 * nscd/dbg_log.h (dbg_log): Correct attribute.
4601
104d0bd3
UD
46022000-12-08 Jakub Jelinek <jakub@redhat.com>
4603
4604 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
4605 cp + len. Compute where from dirname.
4606 Reported by <jreiser@BitWagon.com>.
4607
46082000-12-08 Richard Henderson <rth@twiddle.net>
4609
4610 * sysdeps/alpha/_mcount.S: Fix typo.
4611 * sysdeps/alpha/strncpy.S: Likewise.
4612
4613 * sysdeps/alpha/alphaev6/Implies: New file.
4614 * sysdeps/alpha/alphaev67/Implies: New file.
4615 * sysdeps/alpha/alphaev67/ffs.S: New file.
4616 * sysdeps/alpha/alphaev67/ffsll.S: New file.
4617 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
4618 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
4619 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
4620 * sysdeps/alpha/rawmemchr.S: New file.
4621 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
4622 * sysdeps/alpha/strcpy.S: Likewise.
4623
4624 From GMP 3.1.1:
4625 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
4626
4627 From rick.gorton@alpha-processor.com:
4628 * sysdeps/alpha/alphaev6/memchr.S: New file.
4629 * sysdeps/alpha/alphaev6/memcpy.S: New file.
4630 * sysdeps/alpha/alphaev6/memset.S: New file.
4631 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
4632 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
4633 * sysdeps/alpha/alphaev67/strcat.S: New file.
4634 * sysdeps/alpha/alphaev67/strchr.S: New file.
4635 * sysdeps/alpha/alphaev67/strlen.S: New file.
4636 * sysdeps/alpha/alphaev67/strncat.S: New file.
4637 * sysdeps/alpha/htonl.S: Use a shorter sequence.
4638
46392000-12-08 Jakub Jelinek <jakub@redhat.com>
4640
4641 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
4642 Reported by <pspencer@fields.utoronto.ca>.
4643
46442000-12-07 Jes Sorensen <jes@linuxcare.com>
4645
4646 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
4647 Pointed out by Hans Boehm.
4648
46492000-12-07 H.J. Lu <hjl@gnu.org>
4650
4651 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
4652
46532000-12-07 Andreas Jaeger <aj@suse.de>
4654
4655 * misc/error.c: Add format attributes for __error and __error_at_line.
4656
4657 * nscd/dbg_log.h: Add format attribute.
4658
46592000-12-08 Ulrich Drepper <drepper@redhat.com>
4660
4661 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
4662 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4663
4e9b4067
UD
46642000-12-07 Dan Pop <Dan.Pop@cern.ch>
4665
4666 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
4667
e3690263
UD
46682000-12-06 Ulrich Drepper <drepper@redhat.com>
4669
4670 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
4671 (sysdep_routines): Add uitrunc.
4672 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
4673 Patches by Michael Keezer <mkeezer@redhat.com>.
4674
1ca315fc
RM
46752000-12-06 Roland McGrath <roland@frob.com>
4676
4677 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
4678 argument data, since it will be used to copy out too (for INOUT).
4679 Reported by Marcus Brinkmann <marcus@gnu.org>.
4680
4681 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
4682 (__ioctl): Use uintptr_t instead of unsigned long int.
4683
9068de33 46842000-12-06 Jim Wilson <wilson@redhat.com>
9cf90923 4685
1ca315fc 4686 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
9cf90923 4687
23a5c823
UD
46882000-12-06 Ulrich Drepper <drepper@redhat.com>
4689
4690 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
4691 x.5 rounding correctly.
4692
d36c3615
UD
46932000-12-06 Mark Kettenis <kettenis@gnu.org>
4694
4695 * stdio-common/perror.c (perror): Conditionalize code dealing with
4696 wide-oriented streams on USE_IN_LIBIO.
4697
f4abea70
MK
46982000-12-06 Mark Kettenis <kettenis@gnu.org>
4699
4700 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
4701 as internal_function.
4702
298c70f4
UD
47032000-12-05 Ulrich Drepper <drepper@redhat.com>
4704
4705 * sysdeps/alpha/elf/start.S (__data_start): Define.
4706
0e96315a
UD
47072000-12-05 H.J. Lu <hjl@gnu.org>
4708
4709 * nss/getXXent_r.c (setup): Change the return type to int.
4710
256ba888
UD
47112000-12-05 Ulrich Drepper <drepper@redhat.com>
4712
4713 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
4714 (sysdep_routines): Add restf and savef.
4715 * sysdeps/unix/sysv/aix/restf.c: New file.
4716 * sysdeps/unix/sysv/aix/savef.c: New file.
4717 Patches by Michael Keezer <mkeezer@redhat.com>.
4718
4719 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
4720 if O_DIRECTORY is not defined.
4721 Patch by Michael Keezer <mkeezer@redhat.com>.
4722
4723 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
4724 Patch by Michael Keezer <mkeezer@redhat.com>.
4725
4726 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
4727 than 4 bytes in escape sequence.
4728 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4729
48896b9d
AJ
47302000-12-05 Andreas Jaeger <aj@suse.de>
4731
2e3b9976
AJ
4732 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
4733 set mips2.
4734
9fbbbe69
AJ
4735 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
4736
4737 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
4738
4739 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
d32ffbec 4740 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
9fbbbe69 4741
48896b9d
AJ
4742 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
4743 internal_function.
4744 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
4745 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
4746
4747 * sysdeps/generic/dl-cache.c: Remove declaration of
4748 _dl_sysdep_read_whole_file.
4749
4750 * elf/dl-load.c (_dl_map_object): Remove declaration of
4751 _dl_load_cache_lookup.
4752
4753 * sysdeps/generic/ldsodefs.h: Add declarations of
4754 _dl_load_cache_lookup, _dl_unload_cache,
4755 _dl_sysdep_read_whole_file, _dl_sysdep_start and
4756 _dl_sysdep_start_cleanup.
4757
4758 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
4759 now.
4760
4761 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
4762 * sysdeps/generic/dl-environ.c: Likewise.
4763
4764 * stdio-common/printf_fp.c: Include <gmp.h> instead of
4765 <stdlib/gmp.h>.
4766 * math/atest-exp.c: Likewise.
4767 * math/atest-exp2.c: Likewise.
4768 * math/atest-sincos.c: Likewise.
4769 * stdio-common/_itoa.c: Likewise.
4770 * stdio-common/_itowa.c: Likewise.
4771
4772 * include/gmp.h: New file with internal prototypes.
4773
4774 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
4775 here to...
4776 * include/setjmp.h: ...here.
4777
4778 * locale/Makefile (routines): Remove codeset_name since it's not
4779 needed anywhere.
4780
4781 * locale/codeset_name.c: Removed.
4782
2e98651f
UD
47832000-12-05 Ulrich Drepper <drepper@redhat.com>
4784
4785 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
4786
36c12d87
AJ
47872000-12-05 Andreas Jaeger <aj@suse.de>
4788
4789 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
4790
9068de33 47912000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
e22669a3 4792
2e98651f 4793 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
e22669a3
AJ
4794 available.
4795
cf3141a5
AJ
47962000-12-05 Andreas Jaeger <aj@suse.de>
4797
4798 * nss/test-netdb.c: Mark local functions as static to avoid
4799 warnings.
4800 (main): Use return to silence warning.
4801
4802 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
4803
4804 * stdio-common/test-popen.c: Mark local functions as static to
4805 avoid warnings.
4806 (main): Use return to silence warning.
4807
4808 * stdlib/testsort.c (compare): Mark as static to avoid warning.
4809
4810 * assert/test-assert.c: Mark local functions as static to avoid
4811 warnings.
4812 * assert/test-assert-perr.c: Likewise.
4813
4814 * math/libm-test.inc (main): Use return to silence warnings.
4815
6d0c4914
UD
48162000-12-04 Ulrich Drepper <drepper@redhat.com>
4817
8267e47b
UD
4818 * math/fenv.h: Fix typo in comment.
4819
b210e4cc
UD
4820 * math/test-misc.c (main): Add a few more over and underflow tests
4821 for scalb.
4822
6d0c4914
UD
4823 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
4824 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4825 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4826 * math/w_scalb.c: Don't use matherr except in SVID mode.
4827 * math/w_scalbf.c: Likewise.
4828 * math/w_scalbl.c: Likewise.
4829 * math/test-misc.c: Add test for NaN and scalbl.
4830 Reported by Fred J. Tydeman <tydeman@tybor.com>.
4831
2aa15430
UD
48322000-12-04 Ulrich Drepper <drepper@redhat.com>
4833
4834 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
4835 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
4836 * include/libc-symbols.h (strong_alias): Define special version
4837 for HAVE_ASM_GLOBAL_DOT_NAME.
4838 (weak_alias): Likewise.
4839 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
4840 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
4841 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
4842 getutxline, pututxline, and utmpxname.
4843 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
4844 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
4845 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
4846 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
4847 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
4848 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
4849 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
4850 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
4851 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
4852 Patches by Michael Keezer <mkeezer@redhat.com>.
4853
62ab42d6
UD
48542000-12-04 H.J. Lu <hjl@gnu.org>
4855
4856 * configure.in: Change --with-oldest-abi=ABI to
4857 --enable-oldest-abi=ABI.
4858
48592000-12-02 Bruno Haible <haible@clisp.cons.org>
4860
4861 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
4862 fwprintf instead of fprintf.
4863
767b6275
UD
48642000-12-04 Ulrich Drepper <drepper@redhat.com>
4865
4866 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
4867 DECIMAL_DIG definitions.
4868 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
4869 * sysdeps/generic/bits/mathdef.h: Likewise
4870 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
4871 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
4872 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
4873 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
4874 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
4875 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
4876
79569444
UD
48772000-12-03 Ulrich Drepper <drepper@redhat.com>
4878
767b6275
UD
4879 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
4880
4881 * math/atest-exp.c: Mark local functions as static to avoid warnings.
4882 * math/atest-exp2.c: Likewise.
4883 * math/atest-sincos.c: Likewise.
4884
09881ccc
UD
4885 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
4886 Reported by Fred J. Tydeman <tydeman@tybor.com>.
4887
f8da88b0
UD
4888 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
4889 the handling of denormalized numbers.
4890
4891 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
4892 numbers on x86.
4893 * sysdeps/i386/fpu/fpclassifyl.c: New file.
3d165855 4894
8cd806cf
UD
4895 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
4896 pseudo denormal representation of LDBL_MIN.
4897
76aecea1
UD
4898 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
4899 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
4900
4901 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
4902 * iconvdata/jis0208.c: Likewise.
4903 * iconvdata/jis0212.c: Likewise.
4904 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4905
0df757b1
UD
4906 * math/test-misc.c (main): More tests for frexp and some for
4907 fpclassify and isnormal.
4908
be2925fc
UD
4909 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
4910 test for subnormal.
4911 Reported by Fred J. Tydeman <tydeman@tybor.com>.
4912
79569444
UD
4913 * math/test-misc.c (main): Add tests for frexp.
4914 Reported by Fred J. Tydeman <tydeman@tybor.com>.
4915 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
4916
06f55c0c
UD
49172000-12-02 H.J. Lu <hjl@gnu.org>
4918
4919 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
4920 '\0' to wcschr.
4921
ec6f8477
UD
49222000-12-02 Ulrich Drepper <drepper@redhat.com>
4923
00f5fcbb
UD
4924 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
4925 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4926 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4927
ec6f8477
UD
4928 * sysdeps/generic/glob.c: Adjust types of several variables to
4929 avoid warnings.
4930
68f672c9
UD
49312000-12-01 Ulrich Drepper <drepper@redhat.com>
4932
4933 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
4934
2082d3c6
RM
49352000-11-30 Roland McGrath <roland@frob.com>
4936
4937 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
4938 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
4939 allow multiple instances using the same function name in one file.
4940
6b3f2b3d
UD
49412000-12-01 Ulrich Drepper <drepper@redhat.com>
4942
8cd806cf 4943 * configure.in: Correct test for pserver CVS access.
6b3f2b3d 4944
38d7adc4
UD
49452000-11-28 H.J. Lu <hjl@gnu.org>
4946
4947 * libio/libio.h: Remove extra "#if ... #endif".
4948
411adb10
UD
49492000-11-29 H.J. Lu <hjl@gnu.org>
4950
4951 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
4952
62ab42d6
UD
49532000-12-01 H.J. Lu <hjl@gnu.org>
4954
4955 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
4956 * nss/getXXent_r.c: Likewise.
4957 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4958
49592000-11-30 H.J. Lu <hjl@gnu.org>
4960
4961 * scripts/abi-versions.awk (oldest_abi): New variable.
4962 Handle the oldest ABI supported.
4963
4964 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
4965 for scripts/abi-versions.awk.
4966
4967 * configure.in: Add --with-oldest-abi=ABI.
4968 * configure: Rebuild.
4969
4970 * config.make.in (oldest-abi): New.
4971
4972 * config.h.in (GLIBC_OLDEST_ABI): New.
4973
4974 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
4975
411adb10
UD
49762000-11-30 Jakub Jelinek <jakub@redhat.com>
4977
4978 * locale/setlocale.c (setname): Free for all categories, not just
4979 LC_ALL.
4980 (setlocale): Store a copy of string passed by user, not the string
4981 itself.
4982
62e82a34
RM
49832000-11-30 Roland McGrath <roland@frob.com>
4984
4985 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
4986 rather than _hurd_fd_subinit, so it happens after it's safe to use
4987 libc facilities like malloc.
4988
559dce19
AJ
49892000-11-28 Andreas Jaeger <aj@suse.de>
4990
4991 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
4992 declaration, adjust declaration of __syscall_getdents to match
4993 kernel.
4994
a0f5c800
AJ
49952000-11-29 H.J. Lu <hjl@gnu.org>
4996
4997 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
4998
ecefc9b5
AJ
49992000-11-29 Andreas Jaeger <aj@suse.de>
5000
411adb10 5001 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
ecefc9b5 5002
5eefad82
UD
50032000-11-28 Ulrich Drepper <drepper@redhat.com>
5004
20bb2883
UD
5005 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
5006 * dlfcn/defaultmod2.c: Likewise.
5007 * dlfcn/dlopen.c: Likewise.
5008 * dlfcn/dlopenold.c: Likewise.
5009 * dlfcn/failtestmod.c: Likewise.
5010 * dlfcn/glreflib1.c: Likewise.
5011 * dlfcn/glreflib2.c: Likewise.
5012 * dlfcn/eval.c: Likewise. Add attributes.
5013
5014 * ctype/ctype-extn.c: Define isblank and not __isblank.
5015
5eefad82
UD
5016 * time/strftime.c: Add const where necessary to avoid warnings.
5017 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
5018
9068de33 50192000-11-22 Paul Eggert <eggert@twinsun.com>
bffef76e
UD
5020
5021 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
5022 size of (size_t) -1; it's not portable.
5023
aea6353a
UD
50242000-11-28 Ulrich Drepper <drepper@redhat.com>
5025
5026 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
5027 crappy i486 FPU.
5028 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
5029
6f9ebf8a
UD
50302000-11-14 Jes Sorensen <jes@linuxcare.com>
5031
5032 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
5033
5034 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
5035 _mcount is required by profiled binaries.
5036
5037 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
5038 * sysdeps/ia64/machine-gmon.h: ...here.
5039
9068de33 50402000-11-28 Masahide Washizawa <washi@jp.ibm.com>
271469ae
UD
5041
5042 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
5043 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
5044 and ibm1129.h.
5045 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
5046 IBM1129.
5047 * iconvdata/ibm922.c: New file.
5048 * iconvdata/ibm922.h: New file.
5049 * iconvdata/ibm1124.c: New file.
5050 * iconvdata/ibm1124.h: New file.
5051 * iconvdata/ibm1129.c: New file.
5052 * iconvdata/ibm1129.h: New file.
5053 * iconvdata/testdata/IBM922: New file.
5054 * iconvdata/testdata/IBM922..UTF8: New file.
5055 * iconvdata/testdata/IBM1124: New file.
5056 * iconvdata/testdata/IBM1124..UTF8: New file.
5057 * iconvdata/testdata/IBM1129: New file.
5058 * iconvdata/testdata/IBM1129..UTF8: New file.
5059
14d5391f
UD
50602000-11-28 Ulrich Drepper <drepper@redhat.com>
5061
5062 * catgets/gencat.c (normalize_line): Take extra parameter with escape
5063 character. Change callers.
5064 (open_conversion): Determine mapping of 0x5c as wchar_t value.
5065 * catgets/Makefile: Add rules to build and run test-gencat.
5066 * catgets/sample.SJIS: New file.
5067 * catgets/test-gencat.c: New file.
5068 * catgets/test-gencat.sh: New file.
5069 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5070
d83c8d14
AJ
50712000-11-28 Andreas Jaeger <aj@suse.de>
5072
5073 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
5074 Linux version.
5075
69f2f477
UD
50762000-11-28 Ulrich Drepper <drepper@redhat.com>
5077
5078 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
5079
2f0c68f5
AJ
50802000-11-28 Andreas Jaeger <aj@suse.de>
5081
5082 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
5083 __flexarr.
5084 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
5085 Likewise.
5086
a1620a4c
UD
50872000-11-27 Ulrich Drepper <drepper@redhat.com>
5088
49f3a758
UD
5089 * misc/getusershell.c: Make strings in okshells array const.
5090 * misc/regexp.c: Add const to cast to avoid warnings.
5091 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
5092 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
5093 __setresuid.
5094 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
5095 setresgid.
5096 * misc/error.c: Add prototypes for __error and __error_at_line.
5097 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
5098 statement to avoid warning.
8c0b7170
UD
5099 * test-skeleton.c: Mark timeout_handler with noreturn.
5100 * iconv/skeleton.c (get16u): Add const to cast.
5101 (get32u): Likewise.
5102 * iconvdata/gb18030.c: Likewise.
5103 * iconvdata/iso-2022-cn-ext.c: Likewise.
5104 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
5105 * iconvdata/big5.c: Likewise.
5106 * iconvdata/big5hkscs.c: Likewise.
5107 * iconvdata/iso_6937.c: Likewise.
5108 * iconvdata/iso_6937-2.c: Likewise.
5109 * iconvdata/t.61.c: Likewise.
5110 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
5111 * iconvdata/unicode.c: Likewise.
5112 * iconvdata/utf-16.c: Likewise.
5113 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
5114 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
5115 with little code shuffling.
5116
d6b544fe
UD
5117 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
5118 the problems introduced when the user selects -O3.
5119
a1620a4c
UD
5120 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
5121 * misc/sys/cdefs.h: Define __flexarr.
5122 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
5123
5124 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
5125 * iconv/skeleton.c: Likewise.
5126 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
5127 * iconv/loop.c (get16): Add const to cast.
5128 (get32): Likewise.
5129
d54fb3b6
AJ
51302000-11-27 Andreas Jaeger <aj@suse.de>
5131
5132 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
5133 to avoid warning.
5134 * login/programs/utmpdump.c (print_entry): Likewise.
5135
f8028a97
AJ
51362000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5137
5138 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
5139 in a single asm as they may be used to access other stored
5140 registers.
5141 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
5142
1435536e
AJ
51432000-11-27 Andreas Jaeger <aj@suse.de>
5144
5145 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
5146 * rt/tst-aio64.c: Likewise.
5147
d2defdc4
UD
51482000-11-27 Ulrich Drepper <drepper@redhat.com>
5149
5150 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
5151 for gencat run.
5152 (libc.cat): Likewise.
5153 * catgets/gencat.c: Implement handling of message catalogs encoded
5154 with stateful character sets.
5155 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5156
c3301189
UD
51572000-11-26 Ulrich Drepper <drepper@redhat.com>
5158
ff8becee
UD
5159 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
5160
c3301189
UD
5161 * inet/getnameinfo.c: Adjust casts to avoid warnings.
5162 * inet/rcmd.c: Likewise.
5163 * inet/ruserpass.c: Likewise.
5164 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
5165 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5166 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
5167 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
5168 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
5169 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
5170 * include/aliases.h: Add prototypes for internal __getalias* functions.
5171 * include/netdb.h: Add prototypes for __old_gethostent_r,
5172 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
5173 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
5174 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
5175 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
5176 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
5177 __old_getrpcbynumber_r, __old_getrpcent_r.
5178
5179 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
5180 __getrpcent_r prototypes.
5181
03fb20b5
UD
51822000-11-25 Ulrich Drepper <drepper@redhat.com>
5183
8b6e6767
UD
5184 * string/strcoll.c: Add casts to avoid warnings.
5185 * string/strnlen.c: Likewise.
5186 * string/strxfrm.c: Likewise.
5187 * sysdeps/generic/_strerror.c: Likewise.
5188 * sysdeps/generic/memrchr.c: Likewise.
5189 * sysdeps/generic/strcasestr.c: Likewise.
5190 * sysdeps/generic/strstr.c: Likewise.
5191
5192 * locale/weight.h (findidx): Add const to cast to avoid warning.
5193
a850e77f
UD
5194 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
5195 * elf/loadtest.c: Likewise.
5196 * elf/multiload.c: Likewise.
5197 * elf/next.c: Likewise.
5198 * elf/nodelete.c: Likewise.
5199 * elf/noload.c: Likewise.
5200 * elf/order.c: Likewise.
5201 * elf/origtest.c: Likewise.
5202 * elf/preloadtest.c: Likewise.
5203 * elf/restest1.c: Likewise.
5204
68784f80
UD
5205 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
5206 parameter of asm must be in %ecx.
5207
c3560dfd
UD
5208 * string/tester.c: Mark test functions as static to avoid warnings.
5209
03fb20b5
UD
5210 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
5211 preserve value over different gconv-modules files.
5212
9c0592ab
UD
52132000-11-24 Ulrich Drepper <drepper@redhat.com>
5214
2a068d20
UD
5215 * locale/findlocale.c: Add casts to avoid warnings.
5216 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
5217 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
5218 to avoid warnings.
5219 * misc/tsearch.c (const_node): New type.
5220 (trecurse): Correct casts to avoid warnings.
5221 (__twalk): Likewise.
5222 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
5223 LONG_BIT.
5224
5225 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
5226
9c0592ab
UD
5227 * test-skeleton.c: Mark local functions as static to avoid warnings.
5228
52292000-11-23 H.J. Lu <hjl@gnu.org>
5230
5231 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
5232 support the background job.
5233 Fix a typo.
5234
2debc8c5
UD
52352000-11-24 Ulrich Drepper <drepper@redhat.com>
5236
5237 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
9c0592ab 5238 has same names but lower cost.
2debc8c5
UD
5239
52402000-11-23 Jakub Jelinek <jakub@redhat.com>
5241
5242 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
5243 which never occur during bootstrap.
5244 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5245
bde15123
AJ
52462000-11-23 Andreas Jaeger <aj@suse.de>
5247
ba4cf0e9
AJ
5248 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
5249
5250 * nss/Versions: Remove _nss_files_getipnodebyname_r.
5251
bde15123
AJ
5252 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
5253
de71a46a
UD
52542000-11-18 Martin Buchholz <martin@xemacs.org>
5255
5256 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
5257 (called++) return;'
5258
9068de33 52592000-11-21 Alan Modra <alan@linuxcare.com.au>
de71a46a
UD
5260
5261 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
5262
5263 * csu/abi-note.S: Correct comment for operating system number.
5264
1eaa106e
UD
52652000-11-22 Ulrich Drepper <drepper@redhat.com>
5266
5267 * Versions.def: Add GLIBC_2.2.1 for glibc.
5268
52692000-11-22 Andreas Schwab <schwab@suse.de>
5270
5271 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
5272 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
5273
f14811c7
UD
52742000-11-22 Ulrich Drepper <drepper@redhat.com>
5275
5276 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
5277 absolute time for pthread_cond_timedwait call.
5278 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
5279
5280 * rt/Makefile (tests): Add tst-aio6.
5281 * rt/tst-aio6.c: New file.
5282
7d494a09
AJ
52832000-11-23 Andreas Jaeger <aj@suse.de>
5284
5285 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
5286
d4859cfd
AJ
52872000-11-22 Andreas Jaeger <aj@suse.de>
5288
de71a46a 5289 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
d4859cfd 5290
9068de33 52912000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
e747394b
AJ
5292
5293 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
5294
53f78fbd
AS
52952000-11-21 Andreas Schwab <schwab@suse.de>
5296
5297 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
5298 * sysdeps/arm/setjmp.S: Likewise.
5299 * sysdeps/arm/fpu/setjmp.S: Likewise.
5300 * sysdeps/i386/setjmp.S: Likewise.
5301 * sysdeps/i386/elf/setjmp.S: Likewise.
5302 * sysdeps/s390/setjmp.S: Likewise.
5303 * sysdeps/s390/elf/setjmp.S: Likewise.
5304 * sysdeps/sh/sh3/setjmp.S: Likewise.
5305 * sysdeps/sh/sh4/setjmp.S: Likewise.
5306 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
5307 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5308 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
5309 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
5310
3ba1da94
AJ
53112000-11-21 Andreas Jaeger <aj@suse.de>
5312
0ab14408 5313 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
307ea00a 5314 NORETURN, fix parameter list.
0ab14408 5315
3ba1da94
AJ
5316 * string/bug-strncat1.c (main): Fix typo.
5317 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
5318
6cc7d725
UD
53192000-11-20 Ulrich Drepper <drepper@redhat.com>
5320
5321 * configure.in: Add --enable-all-warnings.
5322 * config.make.in (all-warnings): New variable.
5323 * Makeconfig (+gccwarn): Define with many more warnings if
5324 all-warnings is yes.
5325
59553897
UD
53262000-11-20 Jakub Jelinek <jakub@redhat.com>
5327
5328 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
5329 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
5330 * malloc/tst-valloc.c (main): Cast valloc return value to long.
5331 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
5332 * math/test-fpucw.c (main): Use %lx in format string, cast
5333 control words to long.
5334 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
5335 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
5336 large that it is unsigned warning.
5337
5338 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
5339 it to long on sparc64.
5340
53412000-11-20 Andreas Jaeger <aj@suse.de>
5342
5343 * nscd/nscd.h (termination_handler): Add noreturn attribute.
5344 (receiv_print_stats): Likewise.
5345
5346 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
5347
17427edd
UD
53482000-11-20 Ulrich Drepper <drepper@redhat.com>
5349
ce3019cc
UD
5350 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
5351
17427edd
UD
5352 * csu/gmon-start.c: Always have prototype for __gmon_start.
5353 * csu/version.c: Add prototypes for __libc_print_version and
5354 __libc_main.
5355 * iconv/gconv.c: Include gconv_int.h and gconv.h.
5356 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
5357 and __to_name.
5358 * iconv/gconv_builtin.h: Add ASCII module definitions.
5359 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
5360 (add_module): Add cast to avoid warning. Rework construction of
5361 strings for new module.
5362 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
5363 (derivation_compare): Likewise.
5364 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
5365 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
5366 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
5367 (struct gconv_alias): Remove const from fromname and toname.
5368 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
5369 for loop functions.
5370 (internal_ucs4_loop): Use correct const-ness.
5371 (ucs4_internal_loop): Likewise.
5372 (internal_ucs4le_loop): Likewise.
5373 (ucs4le_internal_loop_single): Likewise.
5374 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
5375 to_idx, to_tbl, winbuf, winbufend const. Change casts in
5376 assignments appropriately.
5377 (struct known_trans): Remove const from fname.
5378 (trans_compare): Make s1 and s2 const.
5379 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
5380 avoid warning.
5381 * iconv/skeleton.c: Remove cast in calls of loop functions.
5382 * iconvdata/gconv-modules: Remove US-ASCII definitions.
5383 * iconvdata/iso646.c: Remove US_ASCII support.
5384 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
5385 * include/unistd.h: Add __libc_check_standard_fds prototype.
5386 * string/bits/string2.h (__mempcpy_args): Add const to casts.
5387 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
5388 _fini.
5389 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
5390 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
5391 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
5392 warning.
5393 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
5394 __libc_init_first and _dl_start.
ad5b53b1
UD
5395 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
5396 (DCIGETTEXT): Make domaindata variable const.
5397 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
5398 to avoid warning.
17427edd 5399
73ea3b1b
AJ
54002000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
5401
17427edd 5402 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
73ea3b1b
AJ
5403
5404 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
5405 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
5406 __unused? members.
5407
5408 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
5409 value defined in /usr/include/asm-mips/fcntl.h.
5410
bb2fc850
UD
54112000-11-18 Ulrich Drepper <drepper@redhat.com>
5412
fd3e6373
UD
5413 * stdio-common/Makefile (tests): Add test-vfprintf.
5414 (test-vfprintf-ENV): New variable.
5415 * stdio-common/test-vfprintf.c: New file.
5416
bb2fc850
UD
5417 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
5418
5419 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
5420 (tst-mbrtowc-ENV): New variable.
5421 (tst-wcrtomb-ENV): New variable.
5422 * wcsmbs/tst-mbrtowc.c: New file.
5423 * wcsmbs/tst-wcrtomb.c: New file.
5424
7b32d065
UD
54252000-11-16 Andreas Jaeger <aj@suse.de>
5426
5427 * manual/install.texi (Tools for Compilation): Update
5428 documentation for GCC 2.95.2.
5429
7813b61a
UD
54302000-11-18 Ulrich Drepper <drepper@redhat.com>
5431
5432 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
5433 if IPv4 and IPv6 requests timed out.
5434
565bc88a
UD
54352000-11-18 Akim Demaille <akim@epita.fr>
5436
5437 * malloc/obstack.h: Formatting changes.
5438 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
5439 prevents type checking.
5440 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
5441 cast the value to (void *): assigning a `foo *' to a `void *'
5442 variable is valid.
5443 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
5444
bda5433d
UD
54452000-11-17 Ulrich Drepper <drepper@redhat.com>
5446
5447 * scripts/config.guess: Update from upstream maintainer.
5448 * scripts/config.sub: Likewise.
5449
3b1de3ba
UD
54502000-11-16 Ulrich Drepper <drepper@redhat.com>
5451
7b32d065 5452 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
3b1de3ba 5453 * libio/freopen64.c (freopen64): Likewise.
0bdfed74 5454 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3b1de3ba 5455
897d4284
UD
5456 * libio/Makefile: Add rules to build and run test-freopen.
5457 * libio/test-freopen.c: New file.
5458 * libio/test-freopen.sh: New file.
5459
40306912
UD
54602000-11-15 H.J. Lu <hjl@gnu.org>
5461
5462 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
5463 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
5464 (DL_DT_FINI_ADDRESS): Likewise.
5465
5466 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
5467 return type to ElfW(Addr).
5468 (_dl_function_address): New prototype.
5469 (DL_FUNCTION_ADDRESS): Defined.
5470 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
5471 (DL_DT_FINI_ADDRESS): Likewise.
5472
5473 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
5474
5475 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
5476 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
5477
5478 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
5479 (_dl_function_address): This.
5480
5481 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
5482 function pointer for DT_FINI.
5483 * elf/dl-close.c (_dl_close): Likewise.
5484
5485 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
5486 function pointer for DT_INIT.
5487
54882000-11-16 Jakub Jelinek <jakub@redhat.com>
5489
5490 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
5491 end of wexpbuf buffer.
5492
96ea2a11
AJ
54932000-11-16 Andreas Jaeger <aj@suse.de>
5494
5495 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
5496 definition of F_GETLK, F_SETLK, F_SETLKW.
5497
8a70a03e
AJ
54982000-11-16 Andreas Jaeger <aj@suse.de>
5499
5500 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
5501 it's not defined.
5502
85857f93
UD
55032000-11-15 Jakub Jelinek <jakub@redhat.com>
5504
5505 * dlfcn/default.c (main): Add test for dladdr of main returning
5506 argv[0] in dli_fname field.
5507
55082000-11-15 Jakub Jelinek <jakub@redhat.com>
5509
5510 * Makeconfig (run-program-prefix): Move test-static test into the
5511 variable.
5512
5513 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
5514 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
5515 schedule instructions.
5516 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
5517 schedule instructions, fix a bug in copying auxiliary data.
5518
821dcbcc
UD
55192000-11-15 Ulrich Drepper <drepper@redhat.com>
5520
85857f93
UD
5521 * manual/startup.texi (Program Arguments): Fix type of main's envp
5522 parameter.
5523