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