]> sourceware.org Git - glibc.git/blob - ChangeLog
Update.
[glibc.git] / ChangeLog
1 2001-05-17 David Mosberger <davidm@hpl.hp.com>
2
3 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
4
5 2001-05-17 Ulrich Drepper <drepper@redhat.com>
6
7 * elf/dl-profile.c (_dl_mcount): Check whether state is
8 GMON_PROF_ON before doing anything.
9
10 2001-05-17 H.J. Lu <hjl@gnu.org>
11
12 * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
13
14 2001-05-17 Ulrich Drepper <drepper@redhat.com>
15
16 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
17 CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
18 Reported by Mark Burton <markb@ordern.com>.
19
20 2001-05-17 Jakub Jelinek <jakub@redhat.com>
21
22 * elf/ldconfig.c (add_dir): Only warn about stat failure if
23 opt_verbose.
24 (search_dir): Likewise.
25
26 2001-05-17 Ulrich Drepper <drepper@redhat.com>
27
28 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
29 parameter of xaddl. Patch by H . J . Lu <hjl@lucon.org>.
30
31 2001-05-14 Bruno Haible <haible@clisp.cons.org>
32
33 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
34 without previous announcement, reject it regularly, don't abort.
35
36 2001-05-16 Ulrich Drepper <drepper@redhat.com>
37
38 * math/tgmath.h: Fix handling of int parameters to binary and
39 ternary functions. Reported by mitr@volny.cz.
40
41 * math/test-tgmath.c: Add tests for calls with integer parameters.
42
43 2001-05-15 Jakub Jelinek <jakub@redhat.com>
44
45 * sunrpc/rpc_thread.c (rpc_default): Remove.
46 (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
47 rpc_default.
48 (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
49 __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
50 * sunrpc/auth_none.c (authnone_private): Fix a typo.
51
52 2001-05-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
53
54 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
55
56 2001-05-16 Bruce Mitchener <bruce@cubik.org>
57
58 * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
59
60 2001-05-15 Andreas Jaeger <aj@suse.de>
61
62 * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
63 Stephen L Moshier <moshier@mediaone.net>.
64
65 * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
66
67 * math/libm-test.inc: Add comment with ToDo.
68
69 * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
70 accurate algorithm. Patch by Stephen L Moshier <moshier@mediaone.net>.
71
72 * sysdeps/i386/fpu/e_expl.S: Removed.
73
74 2001-05-14 Roland McGrath <roland@frob.com>
75
76 * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
77 static pattern rule also that also covers
78 $(objpx)g$(static-start-installed-name).
79 [$(start-installed-name) != $(static-start-installed-name)]
80 (extra-objs, omit-deps, install-lib): Add
81 $(static-start-installed-name) and g$(static-start-installed-name).
82 * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
83 just setting static-start-installed-name is now sufficient.
84 (extra-objs): Add static-start.o here.
85 (CFLAGS-initfini.s): Remove obsolete variable.
86 * sysdeps/mach/hurd/i386/Makeconfig: New file.
87 Define static-start-installed-name here.
88
89 * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
90 * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
91
92 * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
93 associated hair. Instead, just use $(wildcard ...) in the include.
94
95 * configure.in (critic_missing, aux_missing): Collect in these vars
96 the names of the missing programs, and include them in the error msgs.
97 * configure: Regenerated.
98
99 2001-05-14 Andreas Jaeger <aj@suse.de>
100
101 * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
102
103 * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
104
105 2001-05-14 Stephen L Moshier <moshier@mediaone.net>
106
107 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
108
109 2001-05-11 Jakub Jelinek <jakub@redhat.com>
110
111 * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
112 as well if swapping strings.
113 Make sure stop is not past end of second string.
114 * posix/bug-regex4.c: New test.
115 * posix/Makefile (tests): Add bug-regex4.
116
117 2001-05-10 Andreas Jaeger <aj@suse.de>
118
119 * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
120 requirement.
121
122 2001-05-12 Andreas Jaeger <aj@suse.de>
123
124 * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
125 internal prototypes.
126 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
127 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
128 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
129 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
130 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
131 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
132 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
133
134 * math/math_private.h: Add prototypes for internal functions of
135 the IBM Accurate Mathematical Library.
136
137 * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
138 prototypes.
139 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
140
141 * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
142 internal prototypes.
143 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
144 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
145 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
146 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
147 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
148 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
149 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
150 * sysdeps/generic/e_rem_pio2l.c: Likewise.
151 (__ieee754_rem_pio2l): Fix prototype.
152
153 * math/math_private.h (__copysign): Add internal prototype.
154
155 2001-05-11 Andreas Jaeger <aj@suse.de>
156
157 * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
158 * sysdeps/unix/sysv/linux/mips/configure.in: ...here. New file.
159
160 2001-05-11 Andreas Jaeger <aj@suse.de>
161
162 * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
163 MIPS.
164
165 * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
166 format directive. Patch by Steven J. Hill <sjhill@cotw.com>.
167
168 2001-05-11 Roland McGrath <roland@frob.com>
169
170 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
171 $(build-module) here, since we don't need the full magilla.
172 Just use $(build-module-helper) and append our special options.
173
174 2001-05-09 Andreas Schwab <schwab@suse.de>
175
176 * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
177 reached EOF.
178
179 2001-05-07 H.J. Lu <hjl@gnu.org>
180
181 * elf/ldconfig.c (dir_entry): Add ino and dev.
182 (add_single_dir): Compare ino and dev to check if 2 directory
183 paths are the same or not. Free entry->path for duplicates.
184 (add_dir): Initialize ino and dev for entry.
185 (search_dir): Handle symlink to directory.
186
187 2001-05-07 Andreas Jaeger <aj@suse.de>
188
189 * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
190
191 * math/libm-test.inc (exp_test): Add some more tests.
192 (pow_test): Run double only test also for long double.
193
194 * math/test-ldouble.c (TEST_LDOUBLE): Define.
195 * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
196
197 * sysdeps/generic/bits/confname.h: Remove extra comma at end of
198 enumeration.
199 Closes PR libc/2240.
200
201 * scripts/config.guess: Imported from gnu.org.
202 * scripts/config.sub: Likewise.
203
204 2001-05-05 Jakub Jelinek <jakub@redhat.com>
205
206 * include/features.h (__USE_EXTERN_INLINES): Don't define if
207 __NO_INLINE__ is defined.
208 * ctype/ctype.h (tolower, toupper): Change the guard condition to
209 __USE_EXTERN_INLINES check only.
210 * stdlib/stdlib.h (strtod, ...): Likewise.
211 * wcsmbs/wchar.h (mbrlen): Likewise.
212 * string/string.h: Only include bits/string.h and bits/string2.h
213 if __NO_INLINE__ is not defined.
214
215 2001-05-07 Andreas Jaeger <aj@suse.de>
216
217 * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
218 of @LIBDIR@.
219
220 2001-05-04 H.J. Lu <hjl@gnu.org>
221
222 * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
223 not @LIBDIR@.
224
225 2001-05-06 Andreas Jaeger <aj@suse.de>
226
227 * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
228 * sysdeps/i386/fpu/e_fmodl.S: Removed.
229 * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
230 * sysdeps/i386/fpu/e_atan2l.S: Removed.
231 * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
232 * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
233 * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
234 * sysdeps/i386/fpu/e_acosl.S: Removed.
235 * sysdeps/i386/fpu/s_atanl.S: Removed.
236 * sysdeps/i386/fpu/e_sqrtl.S: Removed.
237
238 2001-05-05 Mark Kettenis <kettenis@gnu.org>
239
240 * sysdeps/mach/hurd/bits/environments.h: Add comment from
241 sysdeps/generic/bits/environments.h. Define _POSIX_V6_* values.
242
243 2001-04-30 Jakub Jelinek <jakub@redhat.com>
244
245 * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
246 that _CS_LFS_CFLAGS can fall through to the empty returned string
247 case. Add FALLTHROUGH comment.
248
249 2001-04-29 Ralf Baechle <ralf@gnu.org>
250
251 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
252 definitions match the kernel definitions.
253 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
254 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
255
256 2001-04-29 Ben Collins <bcollins@debian.org>
257
258 * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
259 warnings.
260 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
261 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
262 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
263 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
264 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
265 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
266 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
267 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
268 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
269 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
270 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
271 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
272 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
273 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
274 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
275 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
276 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
277 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
278 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
279 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
280 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
281 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
282 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
283
284 2001-04-29 Andreas Schwab <schwab@suse.de>
285
286 * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
287 in last change.
288
289 2001-04-29 Andreas Jaeger <aj@suse.de>
290
291 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
292 Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
293
294 * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
295 Linux 2.4.4.
296 (AF_WANPIPE): Likewise.
297 (MSG_MORE): New.
298
299 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
300 for Linux generic version.
301 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
302 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
303 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
304 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
305
306 * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
307
308 2001-04-27 Ulrich Drepper <drepper@redhat.com>
309
310 * nis/nss-nis.h: Correct test for invalid error number.
311 * nis/nss-nisplus.h: Likewise.
312
313 * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
314
315 2001-04-26 Ulrich Drepper <drepper@redhat.com>
316
317 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
318
319 * string/strcoll.c: Fix two memory allocation problems.
320 * string/Makefile (tests): Add bug-strcoll1.
321 * string/bug-strcoll1.c: New file.
322
323 * malloc/mcheck.c (mcheck): Call malloc once before setting the
324 hooks to allow the internal check hooks to be set up if necessary.
325
326 * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
327 and rename to __yperr2nss_tab. Change YPERR_COUNT into variable
328 __yperr2nss_count.
329 * nis/nss-nis.c: New file.
330 * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
331 and rename to __niserr2nss_tab. Change NISERR_COUNT into variable
332 __niserr2nss_count.
333 * nis/nss-nisplus.c: New file.
334 * nis/Makefile (libnss_compat-routines): Add nss-nis.
335 (libnss_nis-routines): Likewise.
336 (libnss_nisplus-routines): Add nss-nisplus.
337
338 * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
339 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
340 * nis/nss_nisplus/nisplus-grp.c: Likewise.
341 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
342 * nis/nss_nisplus/nisplus-network.c: Likewise.
343 * nis/nss_nisplus/nisplus-proto.c: Likewise.
344 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
345 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
346 * nis/nss_nisplus/nisplus-service.c: Likewise.
347 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
348 * nis/nss_nis/nis-alias.c: Likewise.
349 * nis/nss_nis/nis-ethers.c: Likewise.
350 * nis/nss_nis/nis-grp.c: Likewise.
351 * nis/nss_nis/nis-network.c: Likewise.
352 * nis/nss_nis/nis-proto.c: Likewise.
353 * nis/nss_nis/nis-pwd.c: Likewise.
354 * nis/nss_nis/nis-spwd.c: Likewise.
355 * nis/nss_compat/compat-grp.c: Likewise.
356 * nis/nss_compat/compat-initgroups.c: Likewise.
357 * nis/nss_compat/compat-pwd.c: Likewise.
358 * nis/nss_compat/compat-spwd.c: Likewise.
359
360 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
361 optimizations. Patch by Jakub Jelinek <jakub@redhat.com>.
362
363 2001-04-26 Andreas Jaeger <aj@suse.de>
364
365 * po/zh_TW.po: Update.
366 Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
367
368 2001-04-25 Ulrich Drepper <drepper@redhat.com>
369
370 * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
371 compiler command line.
372 * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
373 command line for malloc.c.
374
375 2001-04-25 Jakub Jelinek <jakub@redhat.com>
376
377 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
378 * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
379 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
380 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
381 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here. Adjust
382 struct msghdr for __WORDSIZE == 32.
383 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
384 * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
385 for __WORDSIZE == 32.
386 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
387 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
388 file.
389 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
390 Rename from longjmp, make longjmp weak alias to it.
391
392 2001-04-24 David S. Miller <davem@redhat.com>
393
394 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
395
396 2001-04-25 Matthew Wilcox <willy@ldl.fc.hp.com>
397
398 * sysdeps/hppa/stackinfo.h: New file.
399 * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
400 * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
401 * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
402 * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
403 of PA kernel features.
404
405 2001-04-25 Ulrich Drepper <drepper@redhat.com>
406
407 * locale/programs/localedef.c (main): Always set a file name for
408 the initial locale.
409 * locale/programs/locfile.c (locfile_read): filename is allowed to
410 be NULL.
411
412 2001-04-12 Paul Bame <paul_bame@hp.com>
413
414 * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
415 enable flags.
416
417 2001-04-24 Ulrich Drepper <drepper@redhat.com>
418
419 * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
420 _XBS5_LPBIG_OFFBIG): Define to -1.
421 Fix typos.
422
423 * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
424 * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
425 * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
426 * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
427
428 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
429 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
430
431 2001-03-21 Alan Modra <alan@one.net.au>
432
433 * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
434 value from application so that constructors in non-PIC libs work.
435
436 2000-12-13 Jes Sorensen <jes@linuxcare.com>
437
438 * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
439 function pointer, hence load the jump address and gp from the
440 function pointer before jumping.
441
442 2001-04-24 Andreas Jaeger <aj@suse.de>
443
444 * sysdeps/generic/send.c (__send): Return ssize_t.
445 * sysdeps/mach/hurd/send.c (__send): Likewise.
446 * sysdeps/mach/hurd/recv.c (recv): Likewise.
447 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
448 * sysdeps/generic/sendto.c (sendto): Likewise.
449 * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
450 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
451 * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
452 * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
453
454 * socket/sys/socket.h: send* and recv* return ssize_t.
455
456 * include/sys/socket.h: send returns ssize_t.
457
458 * sysdeps/i386/fpu_control.h: Fix comments.
459
460 2001-04-24 Ulrich Drepper <drepper@redhat.com>
461
462 * sysdeps/ia64/Dist: Add hp-timing.c.
463 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
464 * posix/Makefile (distribute): Add tst-getconf.sh.
465 * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
466
467 2001-04-23 Ulrich Drepper <drepper@redhat.com>
468
469 * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
470 * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
471 * sysdeps/ia64/hp-timing.c: New file.
472 * sysdeps/ia64/hp-timing.h: New file.
473 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
474 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
475
476 * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
477 using #ifdef whether the clock is available.
478 * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
479
480 * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
481 it into data section.
482
483 * sysdeps/unix/i386/i586/clock_getres.c: Removed.
484 * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
485 * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
486 * sysdeps/unix/i386/i586/clock_settime.c: Removed.
487 * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
488 * sysdeps/generic/cpuclock-init.h: Removed.
489 * sysdeps/unix/i386/i686/Implies: Removed.
490 * sysdeps/unix/i386/i686/tempname.c: Removed.
491 * sysdeps/i386/i686/Versions: New file.
492 * sysdeps/unix/i386/i586/Versions: Removed.
493
494 * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
495 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
496 * sysdeps/unix/clock_gettime.c: Likewise.
497 * sysdeps/unix/clock_nanosleep.c: Likewise.
498 * sysdeps/unix/clock_settime.c: Likewise.
499 * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
500 RANDOM_BITS use CPU clock.
501
502 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
503 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
504 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
505 * sysdeps/sparc/Versions: New file.
506
507 * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
508 hp-timing.h definitions.
509 * sysdeps/generic/dl-sysdep.c: Likewise.
510
511 * include/libc-internal.h: Include hp-timing.h. Use hp_timing_t in
512 __get_clockfreq prototype.
513
514 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
515 Use hp_timing_t type.
516 * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
517
518 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
519
520 * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
521 whether named file is a regular file or a block device.
522 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
523
524 2001-04-23 Andreas Jaeger <aj@suse.de>
525
526 * nscd/nscd.h: Add noreturn attribute for start_threads.
527
528 2001-04-22 Ulrich Drepper <drepper@redhat.com>
529
530 * posix/getconf.c: Fix names of XBS5 LFS test variables.
531 Add missing configuration variables from XPG6.
532 * posix/tst-getconf.c: New file.
533 * posix/Makefile (generated): Add tst-getconf.out.
534 (tests): Add ($objpfx)tst-getconf.out.
535 Add rule to run tst-getconf.sh.
536 * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
537 from XPG6.
538 * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
539 _PC_SYMLINK_MAX.
540 * sysdeps/posix/pathconf.c: Likewise.
541 * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
542 and _SC_SYMLOOP_MAX.
543
544 2001-04-22 Philip Blundell <philb@gnu.org>
545
546 * sysdeps/arm/fpu/feenablxcpt.c: New file.
547 * sysdeps/arm/fpu/fedisablxcpt.c: New file.
548 * sysdeps/arm/fpu/fegetexcpt.c: New file.
549
550 2001-04-22 Philip Blundell <philb@gnu.org>
551
552 * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
553 Renamed from struct user_fp.
554 (struct user_regs): New.
555 (struct user): Use struct user_regs rather than struct pt_regs to
556 avoid dependency on asm/ptrace.h. Use struct user_fpregs in place
557 of struct user_fp and struct user_fp_struct.
558 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
559 not sys/elf.h.
560
561 2001-04-22 Philip Blundell <philb@gnu.org>
562
563 * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
564 sys/procfs.h, and tell the user to include that file instead.
565 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
566 surrounded with #if 0.
567 (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
568 from sys/elf.h.
569 (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
570 elf_fpregset_t respectively.
571
572 2001-04-22 Philip Blundell <philb@gnu.org>
573
574 * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
575 address that faulted.
576
577 2001-04-21 Ulrich Drepper <drepper@redhat.com>
578
579 * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
580 values.
581 * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
582 * posix/confstr.c: Handle _CS_POSIX_V6_* values.
583 * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
584 * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
585
586 * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
587 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
588 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
589 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
590
591 2001-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
592
593 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
594 offset.
595
596 2001-04-21 Ulrich Drepper <drepper@redhat.com>
597
598 * posix/getopt.h: Treat __cplusplus like __STDC__.
599
600 2001-04-20 John S. Marvin <jsm@fc.hp.com>
601
602 * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
603 entry point stub.
604
605 2001-04-20 Richard Hirst <rhirst@linuxcare.com>
606
607 * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
608 and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
609
610 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
611 entry so the ptrace.c wrapper is used.
612
613 2001-04-20 Alan Modra <amodra@one.net.au>
614
615 * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
616 (DL_FUNCTION_ADDRESS): Define.
617 (DL_DT_INIT_ADDRESS): Define.
618 (DL_DT_FINI_ADDRESS): Define.
619 * sysdeps/hppa/Versions: Add _dl_function_address.
620 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
621 * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
622 _dl_function_address.
623
624 2001-04-21 Andreas Jaeger <aj@suse.de>
625
626 * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
627 * resolv/gai_misc.c (handle_requests): Likewise.
628 * malloc/obstack.c (print_and_abort): Likewise.
629 * malloc/mcheck.c (mabort): Likewise.
630
631 * sysdeps/unix/i386/i586/clock_settime.c: Include
632 "libc-internal.h" for __get_clockfreq declaration.
633
634 2001-04-21 Ulrich Drepper <drepper@redhat.com>
635
636 * elf/dl-support.c: Include cpuclock-init.h. Use CPUCLOCK_VARDEF and
637 CPUCLOCK_INIT if defined.
638 * sysdeps/generic/dl-sysdep.c: Likewise.
639 * sysdeps/generic/cpuclock-init.h: New file.
640 * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
641 * sysdeps/unix/i386/i586/Versions: New file.
642 * sysdeps/unix/i386/i586/clock_settime.c: New file.
643 * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
644 separately by calling __pthread_clock_gettime if this function is
645 available. Subtract offset from tsc value before computing time value.
646
647 2001-04-20 Ulrich Drepper <drepper@redhat.com>
648
649 * iconv/iconv_prog.c (print_known_names): If printing goes not to
650 a tty print in a more machine-friendly way.
651
652 * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
653 Contributed by Stephen L Moshier <moshier@mediaone.net>.
654
655 2001-04-20 Andreas Jaeger <aj@suse.de>
656
657 * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
658
659 2001-04-20 Andreas Schwab <schwab@suse.de>
660
661 * sysdeps/m68k/fpu/libm-test-ulps: Update.
662
663 2001-04-19 Alan Modra <amodra@one.net.au>
664
665 * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
666 * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
667 (CFLAGS-.os): Remove.
668
669 * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
670
671 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
672 gregset): Correct for new kernel definitions.
673
674 2001-04-19 Alan Modra <alan@linuxcare.com.au>
675
676 * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
677 generate unwind info by hand.
678
679 2001-04-19 Ulrich Drepper <drepper@redhat.com>
680
681 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
682
683 * configure.in: Correct regular expression for msgfmt.
684 Patch by Bruno Haible <haible@ilog.fr>.
685
686 2001-04-19 Andreas Jaeger <aj@suse.de>
687
688 * po/el.po: Add comment explaining what's broken.
689
690 * po/Makefile (BROKEN_LINGUAS): New.
691 (ALL_LINGUAS): Don't add broken languages.
692
693 2001-04-19 Roland McGrath <roland@frob.com>
694
695 * sysdeps/mach/hurd/mlock.c: New file.
696 * sysdeps/mach/hurd/munlock.c: New file.
697 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
698
699 * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
700 * sysdeps/generic/mlock.c: New file.
701 * sysdeps/generic/munlock.c: New file.
702 * sysdeps/generic/mlockall.c: New file.
703 * sysdeps/generic/munlockall.c: New file.
704 * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
705 * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
706 mlockall, munlockall): Change caller field to - from EXTRA.
707 Don't use __ names; not used (and not declared in include/sys/mman.h).
708
709 * hurd/privports.c (__get_privileged_ports): Renamed with __.
710 Use __ names for calls we make.
711 (get_privileged_ports): Add alias.
712 * hurd/hurd.h: Declare it with the __ name.
713 * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
714 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
715 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
716
717 * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
718 nothing if it's zero.
719
720 2001-04-19 Matthew Wilcox <willy@ldl.fc.hp.com>
721
722 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
723 Change to return a signed result for compatibility with other
724 architectures, and correctness.
725
726 2001-04-19 Ulrich Drepper <drepper@redhat.com>
727
728 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
729 HPPA always had them. Patch by Matthew Wilcox <matthew@wil.cx>.
730
731 2001-04-19 Andreas Jaeger <aj@suse.de>
732
733 * configure.in: Require gettext 0.10.36 or newer.
734
735 * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
736
737 * po/zh_TW.po: Remove extraneous backslashes.
738
739 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
740 variables b and n.
741
742 2001-04-18 Jakub Jelinek <jakub@redhat.com>
743
744 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
745 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
746 * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
747 * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
748 Copy first word of uc_sigmask into __uc_sigmask.
749 * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
750 Save uc_link around trap. Copy __uc_sigmask into first word of
751 uc_sigmask, clear the rest. Make sure setcontext to the created
752 context doesn't do this though.
753 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
754 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
755 uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
756 64bit version, make uc_sigmask __sigset_t in the 32bit version.
757
758 2001-04-19 Andreas Jaeger <aj@suse.de>
759
760 * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
761
762 * rt/Makefile (otherlibs): Added for static NSS.
763
764 * glibcbug.in (BUGGLIBC): Send to new alias.
765
766 2001-04-02 Andreas Schwab <schwab@suse.de>
767
768 * Makerules (build-module): Make sure exit codes get checked
769 properly and remove unnecessary slashes.
770
771 2001-04-17 Ulrich Drepper <drepper@redhat.com>
772
773 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
774 Handle kernels which report only three digits after the decimal point.
775 Reported by Van Okamura <van.okamura@oracle.com>.
776
777 * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
778
779 2001-04-17 David S. Miller <davem@redhat.com>
780
781 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
782 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
783
784 2001-04-17 Jakub Jelinek <jakub@redhat.com>
785
786 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
787 desired exceptions are raised for exceptional values.
788 * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
789 cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
790 clog_test, log_test, log1p_test, tan_test): Increase precision of
791 expected values to satisfy ldbl-128.
792 * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
793 * sysdeps/arm/libm-test-ulps: Likewise.
794 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
795 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
796 * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
797 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
798 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
799 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
800 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
801 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
802 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
803
804 2001-04-17 Andreas Jaeger <aj@suse.de>
805
806 * configure.in: Move test for critical programs up.
807
808 2001-04-16 Stephen L Moshier <moshier@mediaone.net>
809
810 * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
811 Correct the values. (pSx, qSx): Replace by shorter approximation.
812 Use f suffix on float constants.
813
814 2001-04-16 Ulrich Drepper <drepper@redhat.com>
815
816 * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
817 Contributed by Stephen L Moshier <moshier@mediaone.net>.
818
819 * string/string.h: Replace const in attribute list with __const__.
820
821 2001-04-16 Roland McGrath <roland@frob.com>
822
823 * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
824 instead of the constant NGROUPS_MAX. That way, the limit can be
825 raised in the kernel configuration without having to recompile libc.
826
827 * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
828 define NGROUPS_MAX; we don't use it here.
829
830 2001-04-16 Andreas Jaeger <aj@suse.de>
831
832 * math/libm-test.inc (atan2_test): Add more testcases.
833
834 * iconv/gconv_db.c: Include gconv_charset.h for
835 __gconv_lookup_alias prototype.
836
837 2001-04-13 Ulrich Drepper <drepper@redhat.com>
838
839 * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
840 Contributed by Stephen L Moshier <moshier@mediaone.net>.
841
842 2001-04-13 Jes Sorensen <jes@linuxcare.com>
843
844 * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
845
846 2001-04-13 Jes Sorensen <jes@linuxcare.com>
847
848 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
849 explicitly pad struct siginfo instead of relying on compiler padding.
850
851 2001-04-12 Ulrich Drepper <drepper@redhat.com>
852
853 * sysdeps/ia64/Dist: Add elf/entry.h.
854
855 * iconvdata/Makefile (distribute): Add TESTS2.
856
857 2001-04-13 Jakub Jelinek <jakub@redhat.com>
858
859 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
860 Calculate load address differently.
861
862 2001-04-12 Bruno Haible <haible@clisp.cons.org>
863
864 * iconvdata/TESTS2: New file.
865 * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
866 * iconvdata/testdata/alfabeta..UTF-8: New file.
867 * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
868 * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
869 * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
870 * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
871
872 2001-04-11 Bruno Haible <haible@clisp.cons.org>
873
874 * iconvdata/utf-32.c: New file.
875 * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
876 * iconvdata/Makefile (modules): Add UTF-32.
877 (distribute): Add utf-32.c.
878
879 2001-04-11 Bruno Haible <haible@clisp.cons.org>
880
881 * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
882 changing it in the state. After incrementing 'inptr', store it back.
883 * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
884 store it back.
885
886 2001-04-11 Bruno Haible <haible@clisp.cons.org>
887
888 * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
889 MIN_NEEDED_FROM.
890
891 2001-04-11 David Mosberger <davidm@hpl.hp.com>
892
893 * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
894 * sysdeps/ia64/htons.S: Likewise.
895
896 * sysdeps/ia64/memset.S: Add unwind directives.
897 * sysdeps/ia64/strncpy.S: Likewise.
898 * sysdeps/ia64/strcat.S: Likewise.
899
900 * sysdeps/ia64/memccpy.S: Add unwind directives. Drop superfluous
901 restore of ar.pfs.
902 * sysdeps/ia64/strchr.S: Likewise.
903 * sysdeps/ia64/memmove.S: Likewise.
904 * sysdeps/ia64/memcpy.S: Likewise.
905 * sysdeps/ia64/memcmp.S: Likewise.
906 * sysdeps/ia64/memchr.S: Likewise.
907 * sysdeps/ia64/strcmp.S: Likewise.
908 * sysdeps/ia64/strlen.S: Likewise.
909 * sysdeps/ia64/strcpy.S: Likewise.
910 * sysdeps/ia64/strncmp.S: Likewise.
911
912 2001-04-11 Jakub Jelinek <jakub@redhat.com>
913
914 * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
915 fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
916 fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
917 fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
918
919 2001-04-11 Andreas Jaeger <aj@suse.de>
920
921 * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
922
923 2001-04-11 Andreas Schwab <schwab@suse.de>
924
925 * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
926
927 2001-04-11 Ulrich Drepper <drepper@redhat.com>
928
929 * sysdeps/arm/stackinfo.h: New file.
930
931 2001-04-08 Thorsten Kukuk <kukuk@suse.de>
932
933 * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
934 rpcgen to generate thread safe code.
935
936 2001-04-10 Andreas Jaeger <aj@suse.de>
937
938 * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
939
940 2001-04-10 Ulrich Drepper <drepper@redhat.com>
941
942 * elf/dl-minimal.c (__assert_fail): Change error string. It's
943 most of the time no bug in ld.so.
944 (__assert_perror_fail): Likewise.
945
946 2001-04-11 Hans-Peter Nilsson <hp@axis.com>
947
948 * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
949 from struct to unsigned int.
950
951 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
952
953 * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
954 AT_IGNOREPPC): New defines.
955 * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
956 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
957 Define for newer powerpc kernels.
958 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
959 DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
960
961 2000-4-10 kaz Kojima <kkojima@rr.iij4u.or.jp>
962
963 * sysdeps/sh/stackinfo.h: New file.
964
965 2001-04-10 Ulrich Drepper <drepper@redhat.com>
966
967 * locale/tst-C-locale.c (run_test): Add tests for locale objects.
968 * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
969 __ctype_tolower, and __ctype_toupper elements.
970
971 * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
972 Reported by Konstantin Osipov <rabid@spylog.ru>.
973
974 * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
975 the lousy AMD FPU.
976
977 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
978
979 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
980 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
981 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
982 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
983
984 2001-04-10 Ulrich Drepper <drepper@redhat.com>
985
986 * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
987 message. Based on a patch by HJ Lu.
988
989 2001-04-10 Andreas Schwab <schwab@suse.de>
990
991 * math/libm-test.inc (csinh_test): Don't require the invalid
992 exception for csinh (x + iNaN), but make it optional.
993
994 2001-04-09 David Mosberger <davidm@hpl.hp.com>
995
996 * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
997
998 * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
999 * sysdeps/ia64/elf/entry.h: New file.
1000 * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
1001 __start.
1002 * elf/rtld.c: Don't declare ENTRY_POINT. Use ENTRY_POINT instead
1003 of &ENTRY_POINT.
1004 * sysdeps/generic/dl-sysdep.c: Likewise.
1005 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1006 * sysdeps/ia64/elf/start.S: Save base address of register backing
1007 store in __libc_ia64_register_backing_store_base.
1008
1009 2001-04-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
1010
1011 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
1012 value of getcontext.
1013 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1014 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
1015 value of setcontext.
1016 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1017 * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
1018 call by changing the saved context.
1019
1020 2001-04-10 Ulrich Drepper <drepper@redhat.com>
1021
1022 * sysdeps/alpha/stackinfo.h: New file.
1023 * sysdeps/ia64/stackinfo.h: New file.
1024
1025 2001-04-10 Andreas Schwab <schwab@suse.de>
1026
1027 * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
1028 values.
1029 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
1030
1031 2001-04-09 Ulrich Drepper <drepper@redhat.com>
1032
1033 * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
1034 * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
1035
1036 * libio/Makefile (distribute): Add fd_to_filename.h.
1037
1038 2001-04-05 David S. Miller <davem@redhat.com>
1039
1040 Add hp-timing support for sparcv9/sparc64 targets.
1041 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
1042 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
1043 * sysdeps/sparc/sparc64/hp-timing.c: New file
1044 * sysdeps/sparc/sparc64/hp-timing.h: New file
1045 * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
1046 * sysdeps/sparc/sparc64/Makefile: Likewise.
1047
1048 2001-04-09 Jakub Jelinek <jakub@redhat.com>
1049
1050 * sysdeps/generic/fd_to_filename.h: New file.
1051 * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
1052 * libio/freopen.c (freopen): If FILENAME is NULL, try to get
1053 filename from the open file descriptor.
1054 * libio/freopen64.c (freopen64): Likewise.
1055
1056 2001-04-09 Bruno Haible <haible@clisp.cons.org>
1057
1058 * misc/error.c (error): fflush stdout also if
1059 error_print_progname != NULL.
1060 (error_at_line): Likewise.
1061
1062 2001-04-07 Bruno Haible <haible@clisp.cons.org>
1063
1064 * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
1065 (struct binding): Add codeset_cntr field.
1066 (_nl_load_domain): Add domainbinding argument.
1067 (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
1068 (_nl_find_msg): New declaration, moved here from loadinfo.h.
1069 * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
1070 (_nl_make_l10nflist): Remove domainbinding argument.
1071 (_nl_find_msg): Move declaration to gettextP.h.
1072 * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
1073 to 0. Increment it when ->codeset is changed.
1074 * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
1075 (_nl_find_msg): Add domainbinding argument. Reinitialize the converter
1076 if domainbinding->codeset_cntr has been incremented.
1077 * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
1078 _nl_make_l10nflist(). Pass it to _nl_load_domain() instead.
1079 * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
1080 * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
1081 from _nl_load_domain. Append //TRANSLIT also when using libiconv.
1082 (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
1083 (_nl_load_domain): Add domainbinding argument. Call
1084 _nl_init_domain_conv.
1085 (_nl_unload_domain): Call _nl_free_domain_conv.
1086 * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
1087 (test-srcs): Add tst-codeset.
1088 (tests): Depend on tst-codeset.out.
1089 (tst-codeset.out): New rule.
1090 (CFLAGS-tst-codeset.c): New variable.
1091 * intl/tst-codeset.sh: New file.
1092 * intl/tstcodeset.po: New file.
1093 * intl/tst-codeset.c: New file.
1094 * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
1095 calls.
1096
1097 2001-04-07 Roland McGrath <roland@frob.com>
1098
1099 * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
1100
1101 2001-03-31 Roland McGrath <roland@frob.com>
1102
1103 * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
1104 copying send rights into child. When we hit our name for our proc
1105 port, just copy NEWPROC directly instead of repeating proc_task2proc
1106 to install the child's port.
1107
1108 2001-04-08 Roland McGrath <roland@frob.com>
1109
1110 * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
1111 in second column, to provide default values for third column.
1112 * shlib-versions: Add comments about using DEFAULT in second column.
1113 (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
1114 (cris-.*-linux.*): Likewise.
1115
1116 2001-04-09 Ulrich Drepper <drepper@redhat.com>
1117
1118 * Makefile (distribute): Add scripts/documented.sh.
1119 * scripts/documented.sh: New file.
1120
1121 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1122
1123 * sysdeps/unix/sysv/linux/cris/Dist: New file.
1124 * sysdeps/unix/sysv/linux/cris/Makefile: New file.
1125 * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
1126 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
1127 * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
1128 * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
1129 * sysdeps/unix/sysv/linux/cris/brk.c: New file.
1130 * sysdeps/unix/sysv/linux/cris/chown.c: New file.
1131 * sysdeps/unix/sysv/linux/cris/clone.S: New file.
1132 * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
1133 * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
1134 * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
1135 * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
1136 * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
1137 * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
1138 * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
1139 * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
1140 * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
1141 * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
1142 * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
1143 * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
1144 * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
1145 * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
1146 * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
1147 * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
1148 * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
1149 * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
1150 * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
1151 * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
1152 * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
1153 * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
1154 * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
1155 * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
1156 * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
1157 * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
1158 * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
1159 * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
1160 * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
1161 * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
1162 * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
1163 * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
1164 * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
1165 * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
1166 * sysdeps/unix/sysv/linux/cris/socket.S: New file.
1167 * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
1168 * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
1169 * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
1170 * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
1171 * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
1172 * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
1173
1174 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1175
1176 * sysdeps/cris/Dist: New file.
1177 * sysdeps/cris/Implies: New file.
1178 * sysdeps/cris/Makefile: New file.
1179 * sysdeps/cris/__longjmp.S: New file.
1180 * sysdeps/cris/_mcount.S: New file.
1181 * sysdeps/cris/bits/endian.h: New file.
1182 * sysdeps/cris/bits/setjmp.h: New file.
1183 * sysdeps/cris/bits/string.h: New file.
1184 * sysdeps/cris/dl-machine.h: New file.
1185 * sysdeps/cris/elf/start.S: New file.
1186 * sysdeps/cris/machine-gmon.h: New file.
1187 * sysdeps/cris/memcopy.h: New file.
1188 * sysdeps/cris/memusage.h: New file.
1189 * sysdeps/cris/setjmp.S: New file.
1190 * sysdeps/cris/sysdep.h: New file.
1191 * sysdeps/cris/wordcopy.c: New file.
1192
1193 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1194
1195 * elf/elf.h: Add new relocations for CRIS.
1196
1197 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1198
1199 * shlib-versions: Add cases for Linux on CRIS.
1200
1201 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1202
1203 * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
1204 ';' for comments and '@' for line separator.
1205
1206 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1207
1208 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
1209 typo; s/==/=/ for assignment.
1210
1211 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1212
1213 * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
1214
1215 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1216
1217 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
1218 empty input before checking full output.
1219
1220 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1221
1222 * iconv/gconv.c (__gconv): Don't derefer parameter cd before
1223 checking if == -1L.
1224
1225 2001-04-08 Ulrich Drepper <drepper@redhat.com>
1226
1227 * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
1228
1229 2001-04-07 Stephen L Moshier <moshier@mediaone.net>
1230
1231 * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
1232 return values.
1233
1234 2001-04-07 Ulrich Drepper <drepper@redhat.com>
1235
1236 * stdlib/tst-setcontext.c (main): Add a test for setcontext.
1237
1238 * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
1239 * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
1240 * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
1241 * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
1242 * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
1243 * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
1244
1245 2001-04-07 Andreas Jaeger <aj@suse.de>
1246
1247 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
1248 instead of separate sin and cos.
1249 (__ieee754_j1l): Likewise.
1250
1251 2001-04-06 Ulrich Drepper <drepper@redhat.com>
1252
1253 * sysdeps/ia64/abort-instr.h: New file. Code by David Mosberger.
1254
1255 * sysdeps/ia64/atomicity.h: New file. Copied from libstdc++.
1256
1257 * sysdeps/i386/i486/atomicity.h: Clean up the asms.
1258
1259 * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
1260 available.
1261 * sysdeps/generic/e_scalbf.c: Likewise.
1262 * sysdeps/generic/e_scalbl.c: Likewise.
1263 Patch by Mark Hatle <fray@mvista.com>.
1264
1265 2001-04-05 David S. Miller <davem@redhat.com>
1266
1267 * sysdeps/sparc/abort-instr.h: New file.
1268
1269 2001-04-05 Matt Wilson <msw@redhat.com>
1270
1271 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
1272 added code to parse new 2.4 format.
1273 (GET_NPROCS_CONF_PARSER): Likewise.
1274
1275 2001-04-05 David S. Miller <davem@redhat.com>
1276
1277 * scripts/config.sub: Recognize sparcv9b like sparcv9.
1278 * configure.in: Add sparcv9b.
1279 * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
1280 * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
1281 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
1282
1283 2001-04-06 David Mosberger <davidm@hpl.hp.com>
1284
1285 * stdlib/tst-setcontext.c: Move st2[] to global scope.
1286 (f2): Verify that stack pointer is inside st2[].
1287
1288 * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
1289 * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
1290
1291 2001-04-06 Ulrich Drepper <drepper@redhat.com>
1292
1293 * timezone/antarctica: Update from tzdata2001b.
1294 * timezone/asia: Likewise.
1295 * timezone/australasia: Likewise.
1296 * timezone/europe: Likewise.
1297 * timezone/northamerica: Likewise.
1298
1299 * iconv/iconv_open.c: Move strip and upstr definitions...
1300 * iconv/gconv_charset.h: ...here. New file.
1301 * iconv/gconv_db.c (once): Move to file level.
1302 (do_lookup_alias): Split out from __gconv_find_transform.
1303 (__gconv_find_transform): Call do_lookup_alias.
1304 (__gconv_loopup_alias): New function.
1305 * locale/langinfo.h: Define _NL_*_CODESET values for all categories
1306 but LC_CTYPE.
1307 * locale/categories.def: Add entries for new _NL_*_CODESET values.
1308 * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
1309 * locale/C-address.c: Initialize _NL_*_CODESET element.
1310 * locale/C-collate.c: Likewise.
1311 * locale/C-identification.c: Likewise.
1312 * locale/C-measurement.c: Likewise.
1313 * locale/C-messages.c: Likewise.
1314 * locale/C-monetary.c: Likewise.
1315 * locale/C-name.c: Likewise.
1316 * locale/C-numeric.c: Likewise.
1317 * locale/C-paper.c: Likewise.
1318 * locale/C-telephone.c: Likewise.
1319 * locale/C-time.c: Likewise.
1320 * locale/localeinfo.h: Declare _nl_C_codeset.
1321 * locale/C_name.c: Define _nl_C_codeset.
1322 * locale/findlocale.c: Before accepting locale check that the used
1323 charset does not conflict with what the locale name said.
1324 * locale/programs/ld-address.c: Emit codeset information.
1325 * locale/programs/ld-collate.c: Likewise.
1326 * locale/programs/ld-identification.c: Likewise.
1327 * locale/programs/ld-measurement.c: Likewise.
1328 * locale/programs/ld-messages.c: Likewise.
1329 * locale/programs/ld-monetary.c: Likewise.
1330 * locale/programs/ld-name.c: Likewise.
1331 * locale/programs/ld-numeric.c: Likewise.
1332 * locale/programs/ld-paper.c: Likewise.
1333 * locale/programs/ld-telephone.c: Likewise.
1334 * locale/programs/ld-time.c: Likewise.
1335
1336 * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
1337 if the locale data couldn't be found.
1338
1339 * string/Makefile: Define tst-strxfrm-ENV.
1340
1341 * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
1342
1343 2001-04-06 Andreas Jaeger <aj@suse.de>
1344
1345 * include/sys/profil.h: New file.
1346
1347 * dlfcn/modatexit.c: Add prototypes to silence GCC.
1348 * dlfcn/modcxaatexit.c: Likewise.
1349 * elf/globalmod1.c: Likewise.
1350
1351 2001-04-05 David S. Miller <davem@redhat.com>
1352
1353 * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
1354 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
1355 capability flags table and HWCAP_IMPORTANT, increase
1356 _DL_HWCAP_COUNT to 6.
1357 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1358
1359 2001-04-04 David Mosberger <davidm@hpl.hp.com>
1360
1361 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
1362 initialization of stack_end (bug reported by Zheng Gengbin
1363 <gzheng@students.uiuc.edu>).
1364
1365 2001-04-05 Ulrich Drepper <drepper@redhat.com>
1366
1367 * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
1368
1369 2001-04-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
1370
1371 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
1372
1373 2001-04-05 Ulrich Drepper <drepper@redhat.com>
1374
1375 * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
1376 * sysdeps/i386/fpu/e_asinl.S: Removed. Too inaccurate.
1377
1378 * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
1379
1380 2001-04-04 Ulrich Drepper <drepper@redhat.com>
1381
1382 * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
1383 define simple replacements here. Patch by Michael Keezer.
1384
1385 * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
1386 * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
1387 Contributed by Stephen L Moshier <moshier@mediaone.net>.
1388
1389 * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
1390 anymore.
1391
1392 2001-04-01 Andreas Jaeger <aj@suse.de>
1393
1394 * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
1395 alias.
1396
1397 * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
1398
1399 2001-04-04 Ulrich Drepper <drepper@redhat.com>
1400
1401 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
1402 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
1403
1404 2001-04-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
1405
1406 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
1407 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
1408 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
1409 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
1410 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
1411 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
1412 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
1413 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
1414 * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
1415
1416 2001-04-04 Andreas Jaeger <aj@suse.de>
1417
1418 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
1419 place.
1420
1421 2001-04-04 Ulrich Drepper <drepper@redhat.com>
1422
1423 * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
1424 * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
1425 * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
1426 (unsigned_dec): Likewise.
1427 Patch by atai@jezebel.dreamhost.com.
1428
1429 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
1430 pointer to int as last parameter of yp_match.
1431 Patch by kanazawa@flab.fujitsu.co.jp.
1432
1433 2001-04-03 Ulrich Drepper <drepper@redhat.com>
1434
1435 * resolv/netdb.h (gai_strerror): Make return value const.
1436 * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
1437 * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
1438 Add strings for new error values.
1439
1440 2001-03-29 Michael Keezer <mkeezer@redhat.com>
1441
1442 * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
1443 * login/tst-utmp.c: Handle case where ut_tv is not available but
1444 ut_time is.
1445 * sysdeps/unix/sysv/aix/utmpx.h: New file.
1446 * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
1447 _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
1448 * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
1449 * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
1450 to access RTCU timer reg.
1451 * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
1452 added dl-libc, dl-open,dl-sym, dl-close to misc.
1453 * sysdeps/unix/sysv/aix/start.c: New file. Start code.
1454 * sysdeps/unix/sysv/aix/dlldr.h: New file. AIX __loadx defines.
1455 * sysdeps/unix/sysv/aix/dl-close.c: New file. AIX dl-close.
1456 * sysdeps/unix/sysv/aix/dl-open.c: New file. AIX dl-open.
1457 * sysdeps/unix/sysv/aix/dl-sym.c: New file. AIX dl-sym.
1458 * sysdeps/unix/sysv/aix/dl-libc.c: New file. libc_dl-xxx support.
1459 * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
1460 GLIBC_2_2).
1461 * sysdeps/generic/strtoull.c: Likewise.
1462 * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
1463 * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
1464 sysdeps/generic/memset.c.
1465 * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
1466
1467 2001-04-03 Ulrich Drepper <drepper@redhat.com>
1468
1469 * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
1470 * locale/programs/charmap.c: Define null_pointer if
1471 NEED_NULL_POINTER is defined.
1472
1473 * misc/dirname.c (dirname): Handle multiple slashes correctly.
1474
1475 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
1476
1477 * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
1478
1479 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
1480
1481 * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
1482 * sysdeps/s390/s390-64/bcopy.S: Likewise.
1483 * sysdeps/s390/s390-32/mempcy.S: Likewise.
1484 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1485
1486 2001-04-02 Bruno Haible <haible@clisp.cons.org>
1487
1488 * manual/message.texi (Advanced gettext functions): More specific
1489 syntax in the plural formula examples.
1490
1491 2001-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1492
1493 * sysdeps/powerpc/atomicity.h: Silence warnings.
1494 * sysdeps/powerpc/dl-machine.h: Likewise.
1495 * sysdeps/powerpc/register-dump.h: Likewise.
1496 * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
1497
1498 2001-04-02 Andreas Jaeger <aj@suse.de>
1499
1500 * misc/tst-dirname.c (main): Add more tests, derived from a bug
1501 report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
1502
1503 2001-04-01 Andreas Jaeger <aj@suse.de>
1504
1505 * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
1506 is installed there.
1507 * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
1508
1509 2001-04-01 H.J. Lu <hjl@gnu.org>
1510
1511 * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
1512 tmpnam (NULL).
1513 * stdlib/isomac.c (macrofile): Likewise.
1514
1515 2001-03-30 Thorsten Kukuk <kukuk@suse.de>
1516
1517 * inet/rcmd.c: Allow AF_UNSPEC as parameter.
1518 * nis/ypclnt.c (yp_all): Print error message only at last try,
1519 check for protocoll error only if we don't have a network error.
1520
1521 2001-04-02 Andreas Schwab <schwab@suse.de>
1522
1523 * resolv/res_data.c (res_isourserver): Fix cast.
1524
1525 2001-04-02 Andreas Jaeger <aj@suse.de>
1526
1527 * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
1528 __umount2.
1529
1530 * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
1531 strings.
1532 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1533
1534 * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
1535 initializers.
1536 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
1537
1538 * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
1539 warning about unused variable.
1540
1541 * string/string.h (strndupa): Add cast for C++ conformance.
1542 (strdupa): Likewise.
1543 Fixes PR libc/2173, reported by tbrowder@home.com.
1544
1545 2001-03-30 Roland McGrath <roland@frob.com>
1546
1547 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
1548 options after $(build-module), which is no longer a single command.
1549 (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
1550 (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
1551 variables using it. Reported by Mark Kettenis <kettenis@gnu.org>.
1552
1553 2001-03-11 Roland McGrath <roland@frob.com>
1554
1555 * elf/rtld.c (dl_main): Add cast to quiet warning.
1556 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1557 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
1558 (__gconv_read_conf): Likewise.
1559 * iconv/gconv_db.c (gen_steps): Likewise.
1560 (__gconv_find_transform): Likewise.
1561 * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
1562 (fopen_uncompressed): Use const in second argument's type.
1563
1564 2001-03-11 Roland McGrath <roland@frob.com>
1565
1566 * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
1567
1568 * mach/mach_error.h: Fix ancient #endif syntax.
1569 * hurd/hurdmalloc.c: Likewise.
1570
1571 * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
1572 compare_and_swap): Add volatile qualifier to first arg, to bring
1573 these prototypes in line with all the other implementations.
1574 Add a #warning to remind the builder that these are not atomic.
1575
1576 2001-03-04 Roland McGrath <roland@frob.com>
1577
1578 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
1579 member of TEMP_F so its type is _IO_FILE * as expected.
1580
1581 * hurd/fopenport.c (seekio): Conditionalize type of POS argument
1582 on [USE_IN_LIBIO]. Check the value for overflow, since for libio
1583 it might exceed off_t's range.
1584
1585 2001-02-25 Roland McGrath <roland@frob.com>
1586
1587 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
1588 * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
1589
1590 * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
1591 macro instead of an inline function,
1592 (MSG_EXAMINE): Likewise.
1593
1594 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
1595
1596 * hurd/get-host.c: Include <string.h> for decls of built-ins.
1597 * hurd/hurdchdir.c: Likewise.
1598 * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
1599 * sysdeps/mach/hurd/opendir.c: Likewise.
1600
1601 * mach/mach_init.c: Include <unistd.h> for _exit decl.
1602
1603 * mach/errsystems.awk: Give output file a trailing newline.
1604
1605 * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
1606 the script will use our compiler for the cpp stage.
1607
1608 With --enable-all-warnings we get a whole bunch of warnings,
1609 and these are just a few fixes; there are more needed to silence it.
1610 * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
1611 decls before extern inline defns to quiet gcc warning.
1612 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
1613 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
1614
1615 2001-03-31 Andreas Jaeger <aj@suse.de>
1616
1617 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
1618 (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
1619 (ARPHRD_CISCO): New.
1620 Changes from Linux 2.4.3.
1621
1622 2001-03-30 Isamu Hasegawa <isamu@yamato.ibm.com>
1623
1624 * posix/regex.c: Avoid an access violation if malloc failes.
1625
1626 2001-03-30 Andreas Jaeger <aj@suse.de>
1627
1628 * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
1629
1630 2001-03-29 Ulrich Drepper <drepper@redhat.com>
1631
1632 * posix/regex.c: Remove unnecessary ifs.
1633
1634 * math/bits/mathcalls.h: Remove infnan declaration.
1635
1636 2001-03-29 H.J. Lu <hjl@gnu.org>
1637
1638 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
1639 and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
1640 * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
1641 .
1642 2001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com>
1643
1644 * posix/regex.c: Fix typo and add a sentinel.
1645
1646 2001-03-29 Ulrich Drepper <drepper@redhat.com>
1647
1648 * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
1649 O_NOFOLLOW. Suggested by Christoph Roland.
1650
1651 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
1652
1653 * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
1654 * sysdeps/s390/s390-32/bits/string.h: Remove.
1655 * sysdeps/s390/s390-64/bits/string.h: Remove.
1656 * sysdeps/s390/s390-32/strcmp.S: New file.
1657 * sysdeps/s390/s390-64/strcmp.S: New file.
1658
1659 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
1660
1661 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
1662 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1663
1664 2001-03-27 Ulrich Drepper <drepper@redhat.com>
1665
1666 * version.h (VERSION): Bump to 2.2.3.
1667
1668 * stdlib/isomac.c (fmt): Don't define _LIBC.
1669 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
1670 LOW_HALF only if _LIBC is defined.
1671
1672 * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
1673
1674 * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
1675 and +().
1676 * posix/tst-fnmatch.input: Add test cases for matching empty strings.
1677
1678 * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions...
1679 * include/endian.h: ...to here.
1680
1681 2001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp>
1682
1683 * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
1684 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
1685
1686 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
1687
1688 * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
1689
1690 2001-03-26 Ulrich Drepper <drepper@redhat.com>
1691
1692 * sysdeps/ia64/fpu/Dist: Add new files to distribute.
1693 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
1694 * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
1695
1696 * gmon/Makefile (headers): Add sys/profil.h.
1697
1698 2001-03-18 Andreas Jaeger <aj@suse.de>
1699
1700 * manual/install.texi (Tools for Compilation): Advise to use GCC
1701 2.95.3.
1702 (Supported Configurations): Mention s390x.
1703
1704 2001-03-26 Ben Collins <bcollins@debian.org>
1705
1706 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
1707 defines to match other architectures.
1708
1709 2001-03-26 Ulrich Drepper <drepper@redhat.com>
1710
1711 * libio/Makefile (tests): Add tst-ext.
1712 * libio/tst-ext.c: New file.
1713
1714 * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
1715
1716 2001-03-25 Ulrich Drepper <drepper@redhat.com>
1717
1718 Add changes which were in this form in the original patch by
1719 Eric Norum <eric.norum@usask.ca>.
1720 * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
1721 svc_max_pollfd.
1722 * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
1723 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
1724 __rpc_thread_svc_max_pollfd.
1725 Define svc_fdset, get_rpc_createerr, svc_pollfd, and
1726 svc_max_pollfd.
1727 * sunrpc/rpc_thread.c: Handle first thread special, it uses the
1728 global variables.
1729 Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
1730 __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
1731 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset,
1732 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
1733 __rpc_thread_svc_max_pollfd.
1734 * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
1735 get_rpc_createerr.
1736 * sunrpc/clnt_perr.c: Likewise.
1737 * sunrpc/clnt_simp.c: Likewise.
1738 * sunrpc/clnt_tcp.c: Likewise.
1739 * sunrpc/clnt_udp.c: Likewise.
1740 * sunrpc/clnt_unix.c: Likewise.
1741 * sunrpc/pm_getport.c: Likewise.
1742
1743 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
1744 syscall checks for negative n so don't test here as well.
1745
1746 2001-03-23 Jes Sorensen <jes@linuxcare.com>
1747
1748 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
1749 * sysdeps/ia64/sysdep.h: ...here.
1750
1751 * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
1752 * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
1753
1754 * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
1755 declare instead of LEAF(). Suggestion from David Mosberger.
1756
1757 2001-03-21 David Mosberger <davidm@hpl.hp.com>
1758
1759 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
1760 directives.
1761 (PSEUDO): Drop .psr and .lsb directives.
1762
1763 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind
1764 directives.
1765 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
1766
1767 * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
1768 directives etc.
1769 * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
1770 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
1771 * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
1772 longer needed). Add unwind directives.
1773
1774 * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
1775 ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
1776
1777 2001-03-21 Paul Eggert <eggert@twinsun.com>
1778
1779 * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
1780 (RE_SYNTAX_POSIX_EGREP): Use it.
1781 * posix/regex.c (regex_compile): Implement it.
1782
1783 2001-03-21 Paul Eggert <eggert@twinsun.com>
1784
1785 * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
1786 Rewrite to avoid duplicate code.
1787
1788 2001-03-21 H.J. Lu <hjl@gnu.org>
1789
1790 * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
1791 for cross-compiling.
1792 ($(objpfx)tst-pathopt.out): Undo the last change.
1793
1794 2001-03-24 Mark Kettenis <kettenis@gnu.org>
1795
1796 * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
1797 sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
1798
1799 * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
1800 (_dl_argv): Declare.
1801 (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
1802
1803 2001-03-22 Andreas Jaeger <aj@suse.de>
1804
1805 * iconvdata/Makefile (generated): Add iconv-test.xxx.
1806
1807 * posix/Makefile (generated): Add bug-regex2.mtrace and
1808 bug-regex2-mem.
1809
1810 2001-03-21 Ulrich Drepper <drepper@redhat.com>
1811
1812 * csu/version.c (__gnu_get_libc_release): Add prototype.
1813 (__gnu_get_libc_version): Likewise.
1814 * include/gnu/libc-version.h: Remove prototypes for not exported
1815 functions.
1816
1817 2001-03-21 Jes Sorensen <jes@linuxcare.com>
1818
1819 * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
1820 for internationalized printfs to work.
1821
1822 2001-03-09 Bruno Haible <haible@clisp.cons.org>
1823
1824 * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
1825 avoid compiler warning.
1826 (_nl_find_msg): Add casts to avoid compiler warnings.
1827
1828 2001-03-21 Ulrich Drepper <drepper@redhat.com>
1829
1830 * gmon/Makefile (routines): Add sprofil.
1831 (tests): Add tst-sprofil.
1832 (noprof): Add sprofil.
1833 * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
1834
1835 2001-03-20 David Mosberger <davidm@hpl.hp.com>
1836
1837 * sysdeps/generic/sprofil.c: New file.
1838 * sysdeps/posix/sprofil.c: New file.
1839 * gmon/tst-sprofil.c: New file.
1840 * gmon/sys/profil.h: New file.
1841
1842 2001-03-20 Andreas Schwab <schwab@suse.de>
1843
1844 * include/unistd.h: Adjust prototype of __gethostname.
1845
1846 2001-03-20 Jakub Jelinek <jakub@redhat.com>
1847
1848 * sysdeps/sparc/stackinfo.h: New file.
1849
1850 2001-03-21 Andreas Jaeger <aj@suse.de>
1851
1852 * elf/global.c (main): Use proper prototype.
1853
1854 2001-03-20 Ulrich Drepper <drepper@redhat.com>
1855
1856 * sunrpc/Makefile (routines): Add rpc_thread.
1857 (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
1858 * sunrpc/rpc_thread.c: New file.
1859 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
1860 * sunrpc/auth_none.c: Don't use global variables. Access state in
1861 thread-local storage.
1862 * sunrpc/clnt_perr.c: Likewise.
1863 * sunrpc/clnt_raw.c: Likewise.
1864 * sunrpc/clnt_simp.c: Likewise.
1865 * sunrpc/key_call.c: Likewise.
1866 * sunrpc/rpc_common.c: Likewise.
1867 * sunrpc/svc.c: Likewise.
1868 * sunrpc/svc_raw.c: Likewise.
1869 * sunrpc/svc_simple.c: Likewise.
1870 * sunrpc/svcauth_des.c: Likewise.
1871 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
1872 _HURD_THREADVAR_RPC_VARS.
1873 * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
1874 * include/rpc/rpc.h: Define data structures for internal thread-local
1875 "global" variables.
1876 Based on patches by Eric Norum <eric.norum@usask.ca>.
1877
1878 * elf/dl-load.c: Various little optimizations.
1879
1880 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
1881 LINUX_LINK_MAX only if the statfs function is not implemented for
1882 the filesystem.
1883
1884 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
1885 LINUX_LINK_MAX only if the fstatfs function is not implemented for
1886 the filesystem.
1887
1888 2001-03-19 Ulrich Drepper <drepper@redhat.com>
1889
1890 * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
1891
1892 * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
1893 (_dl_dst_substitute): Likewise.
1894
1895 2001-03-17 Bruno Haible <haible@clisp.cons.org>
1896
1897 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
1898
1899 2001-03-17 Bruno Haible <haible@clisp.cons.org>
1900
1901 * intl/gettextP.h (struct expression): Add operators lnot, less_than,
1902 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
1903 union by a 'nargs' counter and an 'args[]' array.
1904 * intl/plural.y: Don't include stdarg.h.
1905 (new_exp): Take an array of arguments instead of varargs.
1906 (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
1907 ('?' ':'): Make right-associative.
1908 (EQUOP2): New token, replaces '=' and '!'.
1909 (CMPOP2): New token.
1910 (ADDOP2): New token, replaces '+' and '-'.
1911 (MULOP2): New token, replaces '*', '/' and '%'.
1912 ('!'): New token.
1913 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
1914 (start): Call YYABORT here.
1915 (FREE_EXPRESSION): Update.
1916 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
1917 Update for new token symbols.
1918 * intl/loadmsgcat.c (plvar, plone, germanic_plural,
1919 init_germanic_plural): Update.
1920 * intl/dcigettext.c (_nl_find_msg): Optimize for space.
1921 (plural_eval): Recognize comparison and '!' operators. Optimize for
1922 space.
1923
1924 2001-03-10 Bruno Haible <haible@clisp.cons.org>
1925
1926 * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
1927 NULL any more.
1928
1929 2001-01-05 Bruno Haible <haible@clisp.cons.org>
1930
1931 * intl/loadmsgcat.c: Include headers needed for alloca().
1932 (freea): New macro.
1933 (_nl_load_domain): Add fallback code for platforms lacking alloca.
1934 * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
1935 (freea): New macro.
1936 (read_alias_file): Simplify fallback code for platforms lacking
1937 alloca.
1938
1939 2001-01-07 Bruno Haible <haible@clisp.cons.org>
1940
1941 * intl/gettextP.h (__gettextdebug): Remove declaration.
1942 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
1943 syntax.
1944 (gettext_free_exp__, gettextparse__): New non-libc declarations.
1945 * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
1946 not __gettextparse, __gettext_free_exp.
1947 * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
1948
1949 2001-02-24 Bruno Haible <haible@clisp.cons.org>
1950
1951 * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
1952
1953 2001-01-05 Bruno Haible <haible@clisp.cons.org>
1954
1955 * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
1956 lacking strtoul, like SunOS4.
1957
1958 2001-01-05 Bruno Haible <haible@clisp.cons.org>
1959
1960 * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
1961
1962 2001-01-05 Bruno Haible <haible@clisp.cons.org>
1963
1964 * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
1965 syntax.
1966 * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
1967 * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
1968 * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
1969 syntax.
1970
1971 2001-01-07 Bruno Haible <haible@clisp.cons.org>
1972
1973 * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
1974 bindtextdomain__, bind_textdomain_codeset__): New declarations, from
1975 old libgettext.h.
1976 * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
1977 * intl/dcgettext.c: Likewise.
1978 * intl/dcigettext.c: Likewise.
1979 * intl/dcngettext.c: Likewise.
1980 * intl/dngettext.c: Likewise.
1981 * intl/finddomain.c: Likewise.
1982 * intl/ngettext.c: Likewise.
1983 * intl/textdomain.c: Likewise.
1984 * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
1985 Include gettextP.h.
1986 * intl/gettext.c: Likewise. Don't include locale.h.
1987
1988 2001-03-17 Bruno Haible <haible@clisp.cons.org>
1989
1990 * intl/gettextP.h (ZERO): New macro.
1991 (struct binding): Always use ZERO.
1992 * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
1993 lack it, like SunOS4.
1994 (set_binding_values): Use offsetof, not sizeof.
1995 * intl/dcigettext.c (offsetof): Provide fallback for platforms that
1996 lack it, like SunOS4.
1997 (ZERO): Remove macro.
1998 (struct transmem_list): Use ZERO.
1999 (DCIGETTEXT): Use offsetof, not sizeof.
2000
2001 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2002
2003 * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
2004 nls_uint32.
2005 * intl/bindtextdom.c: Don't include gettext.h.
2006 * intl/dcgettext.c: Likewise.
2007 * intl/dcigettext.c: Likewise.
2008 * intl/dcngettext.c: Likewise.
2009 * intl/dngettext.c: Likewise.
2010 * intl/finddomain.c: Likewise.
2011 * intl/localealias.c: Likewise.
2012 * intl/ngettext.c: Likewise.
2013 * intl/plural.y: Likewise.
2014 * intl/textdomain.c: Likewise.
2015
2016 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2017
2018 * intl/gettext.h: Don't include <stdio.h>.
2019
2020 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2021
2022 * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
2023 * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
2024
2025 2001-03-19 Ulrich Drepper <drepper@redhat.com>
2026
2027 * sysdeps/unix/i386/i686/tempname.c: New file.
2028
2029 * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
2030 defined use this macro to get some bits of randomness instead of
2031 the usual gettimeofday or time calls.
2032
2033 2001-03-16 Paul Eggert <eggert@twinsun.com>
2034
2035 * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
2036 not defined, and if UINT64_MAX is not defined.
2037
2038 2001-03-19 Ulrich Drepper <drepper@redhat.com>
2039
2040 * elf/cache.c: Mark and have translated a few more messages.
2041
2042 2001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
2043
2044 * elf/cache.c: Add case for FLAG_S390_LIB64.
2045 * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
2046 * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
2047 * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
2048
2049 2001-03-19 Ulrich Drepper <drepper@redhat.com>
2050
2051 * string/Makefile (tests): Add tst-strxfrm.
2052 * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert.
2053 * string/Depend: New file.
2054
2055 2001-03-19 Paul Eggert <eggert@twinsun.com>
2056
2057 * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
2058 when given the empty string in nontrivial locales.
2059
2060 2001-03-17 H.J. Lu <hjl@gnu.org>
2061
2062 * manual/Makefile (install): Use $(INSTALL_DATA) instead of
2063 cp to install `dir'.
2064
2065 2001-03-19 Andreas Schwab <schwab@suse.de>
2066
2067 * Makerules (build-shlib): Make sure exit codes get checked
2068 properly.
2069
2070 2001-03-18 Ulrich Drepper <drepper@redhat.com>
2071
2072 * Makerules (build-shlib): Remove unnecessary slashes introduced in
2073 last change.
2074
2075 * configure.in: Test for -Bgroup option of linker.
2076 * config.make.in: Define have-Bgroup.
2077
2078 * conform/data/unistd.h-data: Require gethostname.
2079 * posix/unistd.h: Make gethostname prototype available for
2080 __USE_XOPEN2K.
2081
2082 * crypt/Makefile: When generating DSO link with libc_nonshared.a.
2083 * debug/Makefile: Likewise.
2084 * dlfcn/Makefile: Likewise.
2085 * hesiod/Makefile: Likewise.
2086 * iconvdata/extra-module.mk: Likewise.
2087 * locale/Makefile: Likewise.
2088 * login/Makefile: Likewise.
2089 * math/Makefile: Likewise.
2090 * nis/Makefile: Likewise.
2091 * nss/Makefile: Likewise.
2092 * resolv/Makefile: Likewise.
2093 * rt/Makefile: Likewise.
2094
2095 2001-03-17 Ulrich Drepper <drepper@redhat.com>
2096
2097 * inet/Makefile (tests): Remove left-over comment.
2098
2099 * posix/unistd.h (gethostname): Change type of second parameter
2100 back to size_t as per upcoming XPG6.
2101 * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
2102 parameter back to size_t as per upcoming XPG6.
2103 * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
2104 * sysdeps/unix/sysv/gethostname.c: Likewise.
2105 * sysdeps/mach/hurd/gethostname.c: Likewise.
2106 * sysdeps/generic/gethostname.c: Likewise.
2107
2108 2001-03-16 Ulrich Drepper <drepper@redhat.com>
2109
2110 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
2111 Handle NaN here.
2112
2113 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
2114 Internationalize.
2115
2116 2001-02-06 Jakub Jelinek <jakub@redhat.com>
2117
2118 * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
2119 looking for name matches.
2120
2121 2001-02-26 Jakub Jelinek <jakub@redhat.com>
2122
2123 * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
2124 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
2125 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
2126 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2127 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
2128 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
2129 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
2130 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
2131 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
2132 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
2133 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
2134 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2135
2136 2001-03-16 Ulrich Drepper <drepper@redhat.com>
2137
2138 * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
2139 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2140
2141 * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
2142 erfcl.
2143 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2144
2145 2001-03-16 David Mosberger <davidm@hpl.hp.com>
2146
2147 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
2148 Drop hack that was needed for 2.1.1 kernel headers.
2149
2150 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
2151
2152 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
2153 overlay with kernel's "struct sigcontext".
2154
2155 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
2156 sys/rse.h for "misc" subdir.
2157 (sysdep_routines): Add __start_context for "stdlib" subdir.
2158
2159 * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
2160 kernel file of the same name).
2161
2162 * stdlib/Makefile (tests): Add tst-setcontext.
2163 * stdlib/tst-setcontext.c: New file (based on a sample program by
2164 Uli Drepper).
2165
2166 * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
2167 * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
2168 * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
2169 * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
2170 * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
2171
2172 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
2173 instead of shift & and.
2174
2175 2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
2176
2177 * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
2178 * sysdeps/s390/bits/huge_val.h: ...here.
2179 * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
2180 * sysdeps/s390/s390-64/ffs.c: Move to...
2181 * sysdeps/s390/ffs.c: ...here.
2182 * sysdeps/s390/s390-32/ffs.c: Remove.
2183
2184 2001-03-16 Jakub Jelinek <jakub@redhat.com>
2185
2186 * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
2187 update osversion from more recent library.
2188
2189 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2190
2191 * sysdeps/unix/sysv/linux/s390/Dist: Move to...
2192 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
2193 * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
2194 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
2195 * sysdeps/unix/sysv/linux/s390/Versions: Move to...
2196 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
2197 * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
2198 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
2199 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
2200 * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
2201 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
2202 * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
2203 * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
2204 * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
2205 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
2206 * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
2207 * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
2208 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
2209 * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
2210 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
2211 * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
2212 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
2213 * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
2214 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
2215 * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
2216 * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
2217 * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
2218 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
2219 * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
2220 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
2221 * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
2222 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
2223 * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
2224 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
2225 * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
2226 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
2227 * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
2228 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
2229 * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
2230 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
2231 * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
2232 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
2233 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
2234 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
2235 * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
2236 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
2237 * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
2238 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
2239 * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
2240 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
2241 * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
2242 * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
2243 * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
2244 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
2245 * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
2246 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
2247 * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
2248 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
2249 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
2250 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
2251 * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
2252 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
2253 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
2254 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
2255 * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
2256 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
2257 * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
2258 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
2259 * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
2260 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
2261 * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
2262 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
2263 * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
2264 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
2265 * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
2266 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
2267 * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
2268 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
2269 * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
2270 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
2271 * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
2272 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
2273 * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
2274 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
2275 * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
2276 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
2277 * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
2278 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
2279 * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
2280 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
2281 * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
2282 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
2283 * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
2284 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
2285 * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
2286 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
2287 * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
2288 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
2289 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
2290 * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
2291 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
2292 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
2293 * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
2294 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
2295 * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
2296 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
2297 * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
2298 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
2299 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
2300 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
2301 * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
2302 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
2303 * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
2304 * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
2305
2306 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2307
2308 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
2309 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
2310 * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
2311 * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
2312 * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
2313 * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
2314 * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
2315 * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
2316 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
2317 * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
2318 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
2319 * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
2320 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
2321 * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
2322 * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
2323 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
2324 * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
2325 * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
2326 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
2327 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
2328 * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
2329 * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
2330 * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
2331 * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
2332 * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
2333 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
2334 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
2335 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
2336 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
2337 * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
2338 * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
2339 * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
2340 * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
2341 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
2342 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
2343 * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
2344 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
2345 * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
2346 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
2347 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
2348 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
2349 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
2350 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
2351 * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
2352 * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
2353 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
2354 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
2355 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
2356 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
2357 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
2358 * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
2359 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
2360 * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
2361
2362 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2363
2364 * sysdeps/s390/Dist: Move to...
2365 * sysdeps/s390/390-32/Dist: ...here.
2366 * sysdeps/s390/Implies: Move to...
2367 * sysdeps/s390/s390-32/Implies: ...here.
2368 * sysdeps/s390/Makefile: Move to...
2369 * sysdeps/s390/s390-32/Makefile: ...here.
2370 * sysdeps/s390/Versions: Move to...
2371 * sysdeps/s390-32/s390/Versions: ...here.
2372 * sysdeps/s390/add_n.S: Move to...
2373 * sysdeps/s390/s390-32/add_n.S: ...here.
2374 * sysdeps/s390/addmul_1.S: Move to...
2375 * sysdeps/s390/s390-32/addmul_1.S: ...here.
2376 * sysdeps/s390/atomicity.h: Move to...
2377 * sysdeps/s390/s390-32/atomicity.h: ...here.
2378 * sysdeps/s390/backtrace.c: Move to...
2379 * sysdeps/s390/s390-32/backtrace.c: ...here.
2380 * sysdeps/s390/bcopy.S: Move to...
2381 * sysdeps/s390/s390-32/bcopy.S: ...here.
2382 * sysdeps/s390/bits/byteswap.h: Move to...
2383 * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
2384 * sysdeps/s390/bits/huge_val.h: Move to...
2385 * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
2386 * sysdeps/s390/bsd-_setjmp.S: Move to...
2387 * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
2388 * sysdeps/s390/bsd-setjmp.S: Move to...
2389 * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
2390 * sysdeps/s390/bzero.S: Move to...
2391 * sysdeps/s390/s390-32/bzero.S: ...here.
2392 * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
2393 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
2394 * sysdeps/s390/elf/bsd-setjmp.S: Move to...
2395 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
2396 * sysdeps/s390/elf/start.S: Move to...
2397 * sysdeps/s390/s390-32/elf/start.S: ...here.
2398 * sysdeps/s390/ffs.c: Move to...
2399 * sysdeps/s390/s390-32/ffs.c: ...here.
2400 * sysdeps/s390/memchr.S: Move to...
2401 * sysdeps/s390/s390-32/memchr.S: ...here.
2402 * sysdeps/s390/memcpy.S: Move to...
2403 * sysdeps/s390/s390-32/memcpy.S: ...here.
2404 * sysdeps/s390/memset.S: Move to...
2405 * sysdeps/s390/s390-32/memset.S: ...here.
2406 * sysdeps/s390/mul_1.S: Move to...
2407 * sysdeps/s390/s390-32/mul_1.S: ...here.
2408 * sysdeps/s390/s390-mcount.S: Move to...
2409 * sysdeps/s390/s390-32/s390-mcount.S: ...here.
2410 * sysdeps/s390/strcpy.S: Move to...
2411 * sysdeps/s390/s390-32/strcpy.S: ...here.
2412 * sysdeps/s390/strncpy.S: Move to...
2413 * sysdeps/s390/s390-32/strncpy.S: ...here.
2414 * sysdeps/s390/sub_n.S: Move to...
2415 * sysdeps/s390/s390-32/sub_n.S: ...here.
2416
2417 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2418
2419 * sysdeps/s390/s390-64/Dist: New file.
2420 * sysdeps/s390/s390-64/Implies: New file.
2421 * sysdeps/s390/s390-64/Makefile: New file.
2422 * sysdeps/s390/s390-64/__longjmp.c: New file.
2423 * sysdeps/s390/s390-64/add_n.S: New file.
2424 * sysdeps/s390/s390-64/atomicity.h: New file.
2425 * sysdeps/s390/s390-64/backtrace.c: New file.
2426 * sysdeps/s390/s390-64/bcopy.S: New file.
2427 * sysdeps/s390/s390-64/bits/byteswap.h: New file.
2428 * sysdeps/s390/s390-64/bits/huge_val.h: New file.
2429 * sysdeps/s390/s390-64/bits/setjmp.h: New file.
2430 * sysdeps/s390/s390-64/bits/string.h: New file.
2431 * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
2432 * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
2433 * sysdeps/s390/s390-64/bzero.S: New file.
2434 * sysdeps/s390/s390-64/dl-machine.h: New file.
2435 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
2436 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
2437 * sysdeps/s390/s390-64/elf/setjmp.S: New file.
2438 * sysdeps/s390/s390-64/elf/start.S: New file.
2439 * sysdeps/s390/s390-64/ffs.c: New file.
2440 * sysdeps/s390/s390-64/initfini.c: New file.
2441 * sysdeps/s390/s390-64/memchr.S: New file.
2442 * sysdeps/s390/s390-64/memcpy.S: New file.
2443 * sysdeps/s390/s390-64/memset.S: New file.
2444 * sysdeps/s390/s390-64/s390x-mcount.S: New file.
2445 * sysdeps/s390/s390-64/setjmp.S: New file.
2446 * sysdeps/s390/s390-64/strcpy.S: New file.
2447 * sysdeps/s390/s390-64/strncpy.S: New file.
2448 * sysdeps/s390/s390-64/sub_n.S: New file.
2449 * sysdeps/s390/s390-64/sysdep.h: New file.
2450
2451 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2452
2453 * scripts/config.guess: Add support for Linux on 64 bit S/390.
2454 * scripts/config.sub: Likewise.
2455
2456 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2457
2458 * configure.in: Add support for 64 bit S/390.
2459
2460 * elf/elf.h: Add new relocations for 64 bit S/390.
2461
2462 * shlib-versions: Add rules for Linux on 64 bit S/390.
2463
2464 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2465
2466 * sysdeps/s390/__longjmp.c: Move to...
2467 * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
2468 to load the floating point registers that should be saved
2469 according to the ABI.
2470
2471 * sysdeps/s390/bits/setjmp.h: Move to...
2472 * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
2473 the use of long long in the __jmp_buf type definition.
2474
2475 * sysdeps/s390/bits/string.h: Move to...
2476 * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
2477 #ifndef _FORCE_INLINES.
2478
2479 * sysdeps/s390/dl-machine.h: Move to...
2480 * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
2481 executables EI_CLASS in elf_machine_matches_host.
2482
2483 * sysdeps/s390/elf/setjmp.S: Move to...
2484 * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
2485 branches to globally defined symbol __sigsetjmp by branches to
2486 a local label (this avoids the generation of a R_390_PC16DBL
2487 relocation in -fpic code).
2488
2489 * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
2490 calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
2491
2492 * sysdeps/s390/initfini.c: Move to...
2493 * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
2494 ".align 4,0x07".
2495
2496 * sysdeps/s390/setjmp.S: Move to...
2497 * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
2498 floating point registers that should be saved according to the ABI.
2499
2500 * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
2501
2502 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
2503 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
2504 sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
2505
2506 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2507
2508 * configure.in: Change machine=s390 to machine=s390/s390-32.
2509
2510 * elf/elf.h: Correct comment for R_390_PLT16DBL.
2511
2512 2001-03-12 Jakub Jelinek <jakub@redhat.com>
2513
2514 * csu/Makefile (abi-tag.h): Define OS and version separately, allow
2515 version to be overriden from config.h.
2516 * csu/abi-note.S: Use OS and version separately, include config.h.
2517 * elf/dl-load.c (_dl_osversion): New.
2518 (_dl_map_object_from_fd): Kill some warnings.
2519 (open_verify): Check .note.ABI-tag of the library if present.
2520 * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
2521 * elf/cache.c (struct cache_entry): Add osversion.
2522 (print_entry): Print osversion.
2523 (print_cache): Pass osversion to it.
2524 (compare): Sort according to osversion.
2525 (save_cache): Set osversion.
2526 (add_to_cache): Add osversion argument.
2527 * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
2528 process_elf_file): Add osversion argument.
2529 * elf/readlib.c (process_file): Likewise.
2530 * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
2531 * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
2532 process_elf32_file, process_elf64_file): Likewise.
2533 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
2534 process_elf32_file, process_elf64_file): Likewise.
2535 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
2536 process_elf32_file, process_elf64_file): Likewise.
2537 * elf/ldconfig.c (manual_link): Pass it.
2538 (search_dir): Issue diagnostic if two libs with the same soname in
2539 the same directory have different .note.ABI-tag. Record osversion in
2540 dlib_entry and use it from there.
2541 (struct lib_entry): Remove.
2542 (struct dlib_entry): Add osversion.
2543 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
2544 osversion.
2545 * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
2546 field with osversion.
2547 * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
2548 * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
2549 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
2550 version in _dl_osversion.
2551 * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
2552 * Makerules (build-shlib-helper, build-module-helper): New.
2553 (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
2554 early.
2555 * config.h.in (__ABI_TAG_VERSION): Add.
2556 * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
2557 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
2558 Handle LD_ASSUME_KERNEL.
2559 * sysdeps/unix/sysv/linux/dl-librecon.h: New.
2560
2561 2001-03-15 Ulrich Drepper <drepper@redhat.com>
2562
2563 * timezone/antarctica: Update from tzdata2001a.
2564 * timezone/asia: Likewise.
2565 * timezone/australasia: Likewise.
2566 * timezone/backward: Likewise.
2567 * timezone/etcetera: Likewise.
2568 * timezone/europe: Likewise.
2569 * timezone/leapseconds: Likewise.
2570 * timezone/northamerica: Likewise.
2571 * timezone/southamerica: Likewise.
2572 * timezone/systemv: Likewise.
2573 * timezone/yearistype: Likewise.
2574 * timezone/zone.tab: Likewise.
2575 * timezone/tzdump.c: Update from tzcode2001a.
2576
2577 2001-03-15 H.J. Lu <hjl@gnu.org>
2578
2579 * intl/Makefile: Fix a typo.
2580
2581 2001-03-14 David Mosberger <davidm@hpl.hp.com>
2582
2583 * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
2584 writing arc structures.
2585
2586 2001-03-15 H.J. Lu <hjl@gnu.org>
2587
2588 * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
2589 cross-compiling.
2590
2591 2001-03-13 Andreas Schwab <schwab@suse.de>
2592
2593 * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
2594
2595 2001-03-15 Ulrich Drepper <drepper@redhat.com>
2596
2597 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
2598 for control message fitting into message data.
2599 Patch by James Antill <james@and.org>.
2600
2601 * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
2602 FNM_EXTMATCH.
2603
2604 * posix/fnmatch_loop.c: Optimize handling of ?() and @().
2605 * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
2606
2607 * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
2608 * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
2609 avoid running binaries with libc versions without FNM_EXTMATCH support.
2610
2611 * include/wchar.h: Add prototype for __wcscat.
2612 * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
2613
2614 * posix/fnmatch.h (FNM_EXTMATCH): Define.
2615 * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
2616 (posixly_correct): Move global variable here.
2617 (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
2618 (fnmatch): Pretty printing.
2619 * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
2620 * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
2621 * posix/tst-fnmatch.input: Add tests for extended matching.
2622
2623 * posix/testfnm.c: Add test for patterns with multiple ** before /.
2624 * posix/fnmatch_loop.c: Fix problem with the test above.
2625
2626 2001-03-14 Ulrich Drepper <drepper@redhat.com>
2627
2628 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
2629 reference to usqrt.
2630
2631 * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
2632
2633 2001-03-12 Andreas Jaeger <aj@suse.de>
2634
2635 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2636 Use EM_X86_64 instead of EM_X8664.
2637
2638 2001-03-12 Ulrich Drepper <drepper@redhat.com>
2639
2640 * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
2641
2642 * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
2643 conditions.
2644
2645 * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
2646 conditions.
2647
2648 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
2649 correctly.
2650 (__cos): Likewise.
2651
2652 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
2653 correctly.
2654 (__ieee754_acos): Likewise.
2655
2656 2001-03-12 Andreas Jaeger <aj@suse.de>
2657
2658 * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
2659 Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
2660
2661 * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
2662 redefinition.
2663
2664 2001-03-11 Roland McGrath <roland@frob.com>
2665
2666 * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
2667
2668 2001-03-11 Ulrich Drepper <drepper@redhat.com>
2669
2670 * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
2671 LITTLE_ENDI.
2672
2673 * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
2674 parameter list.
2675
2676 Last-bit accurate math library implementation by IBM Haifa.
2677 Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
2678 <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
2679 Anna Reitman <reitman@il.ibm.com>.
2680 * math/Makefile (dbl-only-routines): New variable.
2681 (libm-routines): Add $(dbl-only-routines).
2682 * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
2683 * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
2684 implementation.
2685 * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
2686 implementation.
2687 * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
2688 implementation.
2689 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
2690 __kernel_cos.
2691 * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
2692 implementation.
2693 * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
2694 remainder implementation.
2695 * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
2696 implementation.
2697 * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
2698 implementation.
2699 * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
2700 * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
2701 * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
2702 implementation.
2703 * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
2704 * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
2705 implementation.
2706 * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
2707 and __kernel_cos.
2708 * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
2709 implementation.
2710 * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
2711 * sysdeps/ieee754/dbl-64/MathLib.h: New file.
2712 * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
2713 * sysdeps/ieee754/dbl-64/atnat.h: New file.
2714 * sysdeps/ieee754/dbl-64/atnat2.h: New file.
2715 * sysdeps/ieee754/dbl-64/branred.c: New file.
2716 * sysdeps/ieee754/dbl-64/branred.h: New file.
2717 * sysdeps/ieee754/dbl-64/dla.h: New file.
2718 * sysdeps/ieee754/dbl-64/doasin.c: New file.
2719 * sysdeps/ieee754/dbl-64/doasin.h: New file.
2720 * sysdeps/ieee754/dbl-64/dosincos.c: New file.
2721 * sysdeps/ieee754/dbl-64/dosincos.h: New file.
2722 * sysdeps/ieee754/dbl-64/endian.h: New file.
2723 * sysdeps/ieee754/dbl-64/halfulp.c: New file.
2724 * sysdeps/ieee754/dbl-64/mpa.c: New file.
2725 * sysdeps/ieee754/dbl-64/mpa.h: New file.
2726 * sysdeps/ieee754/dbl-64/mpa2.h: New file.
2727 * sysdeps/ieee754/dbl-64/mpatan.c: New file.
2728 * sysdeps/ieee754/dbl-64/mpatan.h: New file.
2729 * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
2730 * sysdeps/ieee754/dbl-64/mpexp.c: New file.
2731 * sysdeps/ieee754/dbl-64/mpexp.h: New file.
2732 * sysdeps/ieee754/dbl-64/mplog.c: New file.
2733 * sysdeps/ieee754/dbl-64/mplog.h: New file.
2734 * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
2735 * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
2736 * sysdeps/ieee754/dbl-64/mptan.c: New file.
2737 * sysdeps/ieee754/dbl-64/mydefs.h: New file.
2738 * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
2739 * sysdeps/ieee754/dbl-64/root.tbl: New file.
2740 * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
2741 * sysdeps/ieee754/dbl-64/sincos32.c: New file.
2742 * sysdeps/ieee754/dbl-64/sincos32.h: New file.
2743 * sysdeps/ieee754/dbl-64/slowexp.c: New file.
2744 * sysdeps/ieee754/dbl-64/slowpow.c: New file.
2745 * sysdeps/ieee754/dbl-64/uasncs.h: New file.
2746 * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
2747 * sysdeps/ieee754/dbl-64/uexp.h: New file.
2748 * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
2749 * sysdeps/ieee754/dbl-64/ulog.h: New file.
2750 * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
2751 * sysdeps/ieee754/dbl-64/upow.h: New file.
2752 * sysdeps/ieee754/dbl-64/upow.tbl: New file.
2753 * sysdeps/ieee754/dbl-64/urem.h: New file.
2754 * sysdeps/ieee754/dbl-64/uroot.h: New file.
2755 * sysdeps/ieee754/dbl-64/usncs.h: New file.
2756 * sysdeps/ieee754/dbl-64/utan.h: New file.
2757 * sysdeps/ieee754/dbl-64/utan.tbl: New file.
2758 * sysdeps/i386/fpu/branred.c: New file.
2759 * sysdeps/i386/fpu/doasin.c: New file.
2760 * sysdeps/i386/fpu/dosincos.c: New file.
2761 * sysdeps/i386/fpu/halfulp.c: New file.
2762 * sysdeps/i386/fpu/mpa.c: New file.
2763 * sysdeps/i386/fpu/mpatan.c: New file.
2764 * sysdeps/i386/fpu/mpatan2.c: New file.
2765 * sysdeps/i386/fpu/mpexp.c: New file.
2766 * sysdeps/i386/fpu/mplog.c: New file.
2767 * sysdeps/i386/fpu/mpsqrt.c: New file.
2768 * sysdeps/i386/fpu/mptan.c: New file.
2769 * sysdeps/i386/fpu/sincos32.c: New file.
2770 * sysdeps/i386/fpu/slowexp.c: New file.
2771 * sysdeps/i386/fpu/slowpow.c: New file.
2772 * sysdeps/ia64/fpu/branred.c: New file.
2773 * sysdeps/ia64/fpu/doasin.c: New file.
2774 * sysdeps/ia64/fpu/dosincos.c: New file.
2775 * sysdeps/ia64/fpu/halfulp.c: New file.
2776 * sysdeps/ia64/fpu/mpa.c: New file.
2777 * sysdeps/ia64/fpu/mpatan.c: New file.
2778 * sysdeps/ia64/fpu/mpatan2.c: New file.
2779 * sysdeps/ia64/fpu/mpexp.c: New file.
2780 * sysdeps/ia64/fpu/mplog.c: New file.
2781 * sysdeps/ia64/fpu/mpsqrt.c: New file.
2782 * sysdeps/ia64/fpu/mptan.c: New file.
2783 * sysdeps/ia64/fpu/sincos32.c: New file.
2784 * sysdeps/ia64/fpu/slowexp.c: New file.
2785 * sysdeps/ia64/fpu/slowpow.c: New file.
2786 * sysdeps/m68k/fpu/branred.c: New file.
2787 * sysdeps/m68k/fpu/doasin.c: New file.
2788 * sysdeps/m68k/fpu/dosincos.c: New file.
2789 * sysdeps/m68k/fpu/halfulp.c: New file.
2790 * sysdeps/m68k/fpu/mpa.c: New file.
2791 * sysdeps/m68k/fpu/mpatan.c: New file.
2792 * sysdeps/m68k/fpu/mpatan2.c: New file.
2793 * sysdeps/m68k/fpu/mpexp.c: New file.
2794 * sysdeps/m68k/fpu/mplog.c: New file.
2795 * sysdeps/m68k/fpu/mpsqrt.c: New file.
2796 * sysdeps/m68k/fpu/mptan.c: New file.
2797 * sysdeps/m68k/fpu/sincos32.c: New file.
2798 * sysdeps/m68k/fpu/slowexp.c: New file.
2799 * sysdeps/m68k/fpu/slowpow.c: New file.
2800
2801 * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
2802 codepages.
2803
2804 2001-03-11 Andreas Jaeger <aj@suse.de>
2805
2806 * elf/elf.h (EM_*): Synch with official list.
2807
2808 2001-03-07 David Mosberger <davidm@hpl.hp.com>
2809
2810 * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
2811
2812 2001-03-07 Jes Sorensen <jes@linuxcare.com>
2813
2814 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
2815 variables addr & len.
2816
2817 2001-02-22 Jes Sorensen <jes@linuxcare.com>
2818
2819 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
2820 punctuation in asm constraint.
2821
2822 2001-03-07 Mark Kettenis <kettenis@gnu.org>
2823
2824 * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
2825 <time.h> to get definition of `struct timespec'.
2826
2827 2001-03-08 Jakub Jelinek <jakub@redhat.com>
2828
2829 * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
2830 LD_WARN=1, not if LD_WARN is unset.
2831
2832 2001-03-07 Andreas Schwab <schwab@suse.de>
2833
2834 * elf/ldconfig.h: Moved to ...
2835 * sysdeps/generic/ldconfig.h: ... here.
2836 * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
2837 * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
2838 * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
2839 * elf/readlib.c (interpreters, known_libs): Use
2840 SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
2841 instead of hard coding old names.
2842
2843 2001-03-09 Ulrich Drepper <drepper@redhat.com>
2844
2845 * catgets/Makefile (generated): Add test-gencat.h.
2846 (sample.SJIS.cat): Also generate header.
2847 * catgets/sample.SJIS: Add new set and message, both with symbolic
2848 names.
2849 * catgets/test-gencat.sh: Also compare generated header with what
2850 we expect.
2851
2852 2001-03-07 Jakub Jelinek <jakub@redhat.com>
2853
2854 * catgets/gencat.c (read_input_file): Preserve properly symbolic
2855 names.
2856
2857 2001-03-06 Andreas Jaeger <aj@suse.de>
2858
2859 * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
2860 needed.
2861 (elf_machine_pltrel_p): Likewise.
2862 * sysdeps/powerpc/dl-machine.h: Likewise.
2863 * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
2864
2865 2001-03-09 Ulrich Drepper <drepper@redhat.com>
2866
2867 * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
2868 dl-procinfo.h.
2869
2870 2001-03-05 Philip Blundell <philb@gnu.org>
2871
2872 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
2873 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
2874 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
2875 (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
2876 dl-procinfo.
2877
2878 2001-03-09 Ulrich Drepper <drepper@redhat.com>
2879
2880 * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
2881 is not available.
2882 * dlfcn/tstcxaatexit.c (main): Likewise.
2883
2884 2001-03-10 Andreas Jaeger <aj@suse.de>
2885
2886 * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
2887
2888 2001-03-09 Andreas Jaeger <aj@suse.de>
2889
2890 * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
2891 both new and old EM_S390 values.
2892 (EM_S390_OLD): New constant.
2893
2894 * elf/elf.h (EM_S390): Use official value.
2895
2896 2001-03-09 Ulrich Drepper <drepper@redhat.com>
2897
2898 * conform/data/sys/socket.h-data: Allow SO* symbols.
2899
2900 2001-03-07 Andreas Schwab <schwab@suse.de>
2901
2902 * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
2903 routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
2904
2905 2001-03-07 Andreas Jaeger <aj@suse.de>
2906
2907 * resolv/Makefile (routines): Only build gai_sigqueue when threads
2908 are available.
2909
2910 2001-03-07 Jakub Jelinek <jakub@redhat.com>
2911
2912 * elf/ldconfig.c (_dl_sysdep_message): Remove.
2913 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
2914 ldsodefs.h.
2915 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2916
2917 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
2918 _dl_error_printf instead of _dl_sysdep_error.
2919 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2920 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
2921 Use _dl_printf instead of _dl_sysdep_message.
2922 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
2923 Likewise.
2924
2925 2001-03-06 Ben Collins <bcollins@debian.org>
2926
2927 * manual/arith.texi (Integers): Fix documentation of fast and
2928 least integer typedefs.
2929
2930 2001-03-06 Jakub Jelinek <jakub@redhat.com>
2931
2932 * resolv/Depend: New file.
2933 * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
2934 when libpthread is built.
2935
2936 2001-03-06 Andreas Jaeger <aj@suse.de>
2937
2938 * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
2939
2940 * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
2941 Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
2942
2943 2001-03-05 Ulrich Drepper <drepper@redhat.com>
2944
2945 * stdlib/Versions: Remove __new_exitfn again. Not needed.
2946
2947 2001-03-05 Andreas Jaeger <aj@suse.de>
2948
2949 * stdlib/msort.c (qsort): Don't use alloca in a function call.
2950
2951 2001-03-05 Ulrich Drepper <drepper@redhat.com>
2952
2953 * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
2954 __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still
2955 always return zero.
2956 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2957 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
2958 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2959 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
2960 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2961 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2962 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2963
2964 2001-03-04 Andreas Jaeger <aj@suse.de>
2965
2966 * stdlib/longlong.h: Don't use multi-line strings.
2967 * iconvdata/tst-loading.c: Likewise.
2968
2969 * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
2970 string.
2971
2972 2001-03-04 Ulrich Drepper <drepper@redhat.com>
2973
2974 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
2975
2976 * rt/lio_listio.c: Add a few asserts.
2977
2978 * elf/global.c: New file.
2979 * elf/globalmod1.c: New file.
2980 * elf/Makefile: Add rules to build and run global.
2981
2982 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
2983 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
2984 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2985 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2986 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
2987
2988 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
2989 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2990
2991 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
2992
2993 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
2994 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
2995
2996 * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
2997
2998 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
2999
3000 2001-03-04 Andreas Jaeger <aj@suse.de>
3001
3002 * resolv/tst-aton.c: Add testcase for IP with four periods.
3003
3004 * resolv/inet_addr.c: Don't recognize an IP with four periods.
3005 Patch by Andre' Breiler <A.Breiler@gmx.net>.
3006
3007 2001-02-27 Philip Blundell <pb@futuretv.com>
3008
3009 * elf/elf.h: Add new ARM definitions from latest (B-01)
3010 specification. Correct naming of EF_ARM_ALIGN8 et al.
3011
3012 2001-03-04 Ulrich Drepper <drepper@redhat.com>
3013
3014 * stdio-common/tst-printf.sh: Remove bashisms.
3015 Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
3016
3017 2001-03-03 Ulrich Drepper <drepper@redhat.com>
3018
3019 * Versions.def: Add libanl definition.
3020 * shlib-versions: Add entry for libanl.
3021 * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
3022 (routines): Add gai_sigqueue.
3023 (extra-libs): Add libanl.
3024 (libanl-routines): New variable.
3025 Add rules to build libanl and ga_test.
3026 * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
3027 [libanl]: New library.
3028 * resolv/netdb.h: Add definitions for libanl.
3029 * resolv/getaddrinfo_a.c: New file.
3030 * resolv/gai_cancel.c: New file.
3031 * resolv/gai_error.c: New file.
3032 * resolv/gai_misc.c: New file.
3033 * resolv/gai_misc.h: New file.
3034 * resolv/gai_notify.c: New file.
3035 * resolv/gai_suspend.c: New file.
3036 * resolv/ga_test.c: New file.
3037 * sysdeps/generic/gai_sigqueue.c: New file.
3038 * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
3039 * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
3040 and provide only that definition.
3041 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
3042 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
3043 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
3044 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3045 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3046 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
3047
3048 * rt/aio_misc.c: Fix typos in comments.
3049 * rt/lio_listio.c: Pretty printing. Little optimization in request
3050 list handling.
3051
3052 * elf/rtld.c: Remove commented out code.
3053
3054 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
3055 Update for real 2.4 kernels.
3056
3057 2001-03-01 Ulrich Drepper <drepper@redhat.com>
3058
3059 * elf/dl-load.c: Pretty printing.
3060
3061 * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
3062 twice.
3063
3064 2001-02-28 Ulrich Drepper <drepper@redhat.com>
3065
3066 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
3067 relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
3068
3069 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
3070
3071 * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
3072 machines.
3073
3074 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
3075
3076 2001-02-27 Ulrich Drepper <drepper@redhat.com>
3077
3078 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
3079 _dl_debug_mask.
3080
3081 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
3082 _dl_debug_printf.
3083 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
3084 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
3085 _dl_debug_printf_c, and _dl_printf.
3086 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
3087 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
3088 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
3089 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
3090 * elf/dl-close.c: Replace use of old output functions with the new
3091 ones.
3092 * elf/dl-deps.c: Likewise.
3093 * elf/dl-error.c: Likewise.
3094 * elf/dl-fini.c: Likewise.
3095 * elf/dl-init.c: Likewise.
3096 * elf/dl-load.c: Likewise.
3097 * elf/dl-lookup.c: Likewise.
3098 * elf/dl-minimal.c: Likewise.
3099 * elf/dl-open.c: Likewise.
3100 * elf/dl-profile.c: Likewise.
3101 * elf/dl-reloc.c: Likewise.
3102 * elf/dl-version.c: Likewise.
3103 * elf/do-lookup.h: Likewise.
3104 * elf/rtld.c: Likewise.
3105 * sysdeps/generic/dl-cache.c: Likewise.
3106 * sysdeps/generic/dl-sysdep.c: Likewise.
3107 * sysdeps/generic/libc-start.c: Likewise.
3108 * sysdeps/i386/dl-machine.h: Likewise.
3109 * sysdeps/arm/dl-machine.h: Likewise.
3110 * sysdeps/hppa/dl-machine.h: Likewise.
3111 * sysdeps/m68k/dl-machine.h: Likewise.
3112 * sysdeps/powerpc/dl-machine.h: Likewise.
3113 * sysdeps/s390/dl-machine.h: Likewise.
3114 * sysdeps/sh/dl-machine.h: Likewise.
3115 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3116 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
3117 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3118
3119 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
3120
3121 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
3122 supported by assembler.
3123
3124 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
3125 declaractions.
3126
3127 * elf/rtld.c: Little optimizations in handling _dl_lazy.
3128
3129 * elf/cache.c (save_cache): Portability changes.
3130 * elf/dl-profile.c (_dl_start_profile): Likewise.
3131
3132 * elf/sln.c: Cleanups. Remove arbitrary limits.
3133
3134 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
3135 * elf/dl-deps.c: Likewise.
3136 * elf/dl-fini.c: Likewise.
3137 * elf/dl-init.c: Likewise.
3138 * elf/dl-load.c: Likewise.
3139 * elf/dl-lookup.c: Likewise.
3140 * elf/dl-open.c: Likewise.
3141 * elf/dl-reloc.c: Likewise.
3142 * elf/dl-support.c: Likewise.
3143 * elf/dl-version.c: Likewise.
3144 * elf/do-lookup.h: Likewise.
3145 * elf/rtld.c: Likewise.
3146 * sysdeps/generic/dl-cache.c: Likewise.
3147 * sysdeps/generic/ldsodefs.h: Likewise.
3148 * sysdeps/generic/libc-start.c: Likewise.
3149 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
3150 Export _dl_debug_mask.
3151 * Versions.def: Define GLIBC_2.2.3 for ld.
3152
3153 2001-02-26 Greg McGary <greg@mcgary.org>
3154
3155 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
3156
3157 2001-02-26 Paul Eggert <eggert@twinsun.com>
3158
3159 Modify mkstemp.c and tempname.c so that they can be used by
3160 GNU applications on non-glibc platforms.
3161
3162 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
3163
3164 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
3165 Include <stddef.h>, <stdint.h>, <string.h> only if
3166 STDC_HEADERS || _LIBC.
3167 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
3168 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
3169 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
3170 (__set_errno): Define this macro if <errno.h> doesn't.
3171 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
3172 Define these macros if <stdio.h> doesn't.
3173 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
3174 Define these macros if <sys/stat.h> doesn't.
3175 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
3176 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
3177 lxstat64, __xstat64): Define if not _LIBC.
3178 (struct_stat64): New macro.
3179 (direxists, __gen_tempname): Use it, to avoid a
3180 portability problem with Solaris 8.
3181 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
3182 (__gen_tempname): Invoke gettimeofday only if
3183 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
3184 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
3185 octal values like 0600.
3186
3187 2001-02-26 Ulrich Drepper <drepper@redhat.com>
3188
3189 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
3190 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3191
3192 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
3193 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3194
3195 * posix/wordexp-test.c (testit): Remove warnings.
3196
3197 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
3198 (tests): Add tstatexit and tstcxaatexit.
3199 (module-names): Add modatexit and modcxaatexit.
3200 Add rules to build and run tstatexit and tstcxaatexit.
3201 * dlfcn/modatexit.c: New file.
3202 * dlfcn/modcxaatexit.c: New file.
3203 * dlfcn/tstatexit.c: New file.
3204 * dlfcn/tstcxaatexit.c: New file.
3205
3206 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
3207 .hidden is available.
3208 * io/stat.c: If .hidden is available use it to avoid exporting
3209 functions.
3210 * io/fstat.c: Likewise.
3211 * io/lstat.c: Likewise.
3212 * io/stat64.c: Likewise.
3213 * io/fstat64.c: Likewise.
3214 * io/lstat64.c: Likewise.
3215 * sysdeps/generic/mknod.c: Likewise.
3216
3217 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
3218 * sysdeps/generic/bb_init_func.c: Likewise.
3219 * sysdeps/generic/libc-start.c: Likewise.
3220
3221 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
3222 (atexit): Implement using __cxa_atexit.
3223 Use .hidden if availble to avoid exporting atexit.
3224 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
3225 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
3226 * stdlib/Makefile (routines): Add old_atexit.
3227 (static-only-routines): Add atexit.
3228 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
3229 * stdlib/old_atexit.c: New file.
3230
3231 * intl/Makefile: Remove bogus endif.
3232
3233 2001-02-26 Andreas Jaeger <aj@suse.de>
3234
3235 * iconvdata/Makefile (tests): Fix typo in last patch.
3236
3237 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
3238 available.
3239 Reported by Achim Gottinger <achim@gentoo.org>.
3240
3241 2001-02-25 Andreas Jaeger <aj@suse.de>
3242
3243 * intl/Makefile (plural.c): Reorder rules so that they work if
3244 BISON doesn't exist.
3245
3246 2001-02-25 Ulrich Drepper <drepper@redhat.com>
3247
3248 * intl/locale.alias: Don't use nb_NO but define aliases for it.
3249
3250 2001-02-23 Ulrich Drepper <drepper@redhat.com>
3251
3252 * sysdeps/i386/strtok.S: Continue to return NULL after the first
3253 time this happened.
3254
3255 2001-02-23 Andreas Jaeger <aj@suse.de>
3256
3257 * string/tester.c (test_strtok_r): Add testcase.
3258 (test_strtok_r): Always initialize cp for proper checking.
3259
3260 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
3261 returning NULL correctly.
3262 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
3263 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
3264
3265 2001-02-23 Ulrich Drepper <drepper@redhat.com>
3266
3267 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
3268 including <stddef.h>.
3269 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
3270 * include/libc-symbols.h (weak_alias): Don't use .weak if
3271 HAVE_ASM_GLOBAL_DOT_NAME is defined.
3272 Patches by Michael Keezer <mkeezer@redhat.com>.
3273
3274 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
3275 Patch by Michael Keezer <mkeezer@redhat.com>.
3276
3277 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
3278 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
3279 (sysdep_routines): Remove restf.S and savef.S.
3280 * sysdeps/unix/sysv/aix/restf.S. Removed.
3281 * sysdeps/unix/sysv/aix/savef.S. Removed.
3282 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
3283 alternative names used on some platforms.
3284 * sysdeps/powerpc/fprsave.S: Likewise.
3285 * sysdeps/powerpc/gprrest0.S: Likewise.
3286 * sysdeps/powerpc/gprrest1.S: Likewise.
3287 * sysdeps/powerpc/gprsave0.S: Likewise.
3288 * sysdeps/powerpc/gprsave1.S: Likewise.
3289 Patch by Michael Keezer <mkeezer@redhat.com>.
3290
3291 2001-02-22 Ulrich Drepper <drepper@redhat.com>
3292
3293 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
3294
3295 2001-02-22 Andreas Jaeger <aj@suse.de>
3296
3297 * string/tst-strtok.c (main): Fix error messages.
3298
3299 2001-02-22 Andreas Jaeger <aj@suse.de>
3300
3301 * math/Makefile: Remove omit-long-double-fcts.
3302
3303 2001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3304
3305 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
3306 avoid problems on MIPS I.
3307 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
3308
3309 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
3310 noreorder".
3311
3312 2001-02-21 Ulrich Drepper <drepper@redhat.com>
3313
3314 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
3315
3316 * sysdeps/generic/ftime.c: Include <time.h>.
3317
3318 * configure.in: Don't check for libgd if user passed --without-gd.
3319 Patch by Achim Gottinger <achim@gentoo.org>.
3320
3321 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
3322 first time this happened.
3323 * string/Makefile (tests): Add tst-strtok.
3324
3325 2001-02-21 Andreas Jaeger <aj@suse.de>
3326
3327 * string/tst-strtok.c: New testcase, reported by
3328 Andrew Church <achurch@achurch.org>.
3329
3330 2001-02-20 Ulrich Drepper <drepper@redhat.com>
3331
3332 * libio/iofwide.c: Remove fwide alias.
3333
3334 2001-02-20 Andreas Jaeger <aj@suse.de>
3335
3336 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
3337 is available.
3338 Reported by Achim Gottinger <achim@gentoo.org>.
3339
3340 2001-02-19 Ulrich Drepper <drepper@redhat.com>
3341
3342 * iconv/tst-iconv1.c (main): Remove debugging code.
3343
3344 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
3345 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3346
3347 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
3348 parameters.
3349 * sysdeps/generic/e_scalbf.c: Likewise.
3350 * sysdeps/generic/e_scalbl.c: Likewise.
3351
3352 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
3353 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
3354 in libc.
3355 (routines): Replace libm_error with libc_libm_error.
3356 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
3357 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
3358
3359 2001-02-18 Mark Kettenis <kettenis@gnu.org>
3360
3361 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
3362 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
3363
3364 2001-02-17 H.J. Lu <hjl@gnu.org>
3365
3366 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
3367 scratch registers across the system call.
3368
3369 2001-02-19 Andreas Jaeger <aj@suse.de>
3370
3371 * malloc/Makefile (tests): Run mtrace only when perl is available.
3372 Reported by Achim Gottinger <achim@gentoo.org>.
3373
3374 2001-02-19 Ulrich Drepper <drepper@redhat.com>
3375
3376 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
3377 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3378
3379 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
3380 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
3381 * math/libm-test.inc (j1_test): Mark constants as long double.
3382 (jn_test): Likewise.
3383 (y1_test): Likewise.
3384 (yn_test): Likewise.
3385
3386 * libio/iogetline.c: Move return until after last statement.
3387
3388 * localedata/show-ucs-data.c: Don't show < > for better readability.
3389
3390 * sysdeps/ia64/fpu/Dist: New file.
3391 * sysdeps/ia64/fpu/Makefile: New file.
3392 * sysdeps/ia64/fpu/Versions: New file.
3393 * sysdeps/ia64/fpu/e_acos.S: New file.
3394 * sysdeps/ia64/fpu/e_acosf.S: New file.
3395 * sysdeps/ia64/fpu/e_acosl.S: New file.
3396 * sysdeps/ia64/fpu/e_asin.S: New file.
3397 * sysdeps/ia64/fpu/e_asinf.S: New file.
3398 * sysdeps/ia64/fpu/e_asinl.S: New file.
3399 * sysdeps/ia64/fpu/e_atan2.S: New file.
3400 * sysdeps/ia64/fpu/e_atan2f.S: New file.
3401 * sysdeps/ia64/fpu/e_atan2l.c: New file.
3402 * sysdeps/ia64/fpu/e_cosh.S: New file.
3403 * sysdeps/ia64/fpu/e_coshf.S: New file.
3404 * sysdeps/ia64/fpu/e_coshl.S: New file.
3405 * sysdeps/ia64/fpu/e_exp.S: New file.
3406 * sysdeps/ia64/fpu/e_expf.S: New file.
3407 * sysdeps/ia64/fpu/e_expl.c: New file.
3408 * sysdeps/ia64/fpu/e_fmod.S: New file.
3409 * sysdeps/ia64/fpu/e_fmodf.S: New file.
3410 * sysdeps/ia64/fpu/e_fmodl.S: New file.
3411 * sysdeps/ia64/fpu/e_hypot.S: New file.
3412 * sysdeps/ia64/fpu/e_hypotf.S: New file.
3413 * sysdeps/ia64/fpu/e_hypotl.S: New file.
3414 * sysdeps/ia64/fpu/e_log.S: New file.
3415 * sysdeps/ia64/fpu/e_log10.c: New file.
3416 * sysdeps/ia64/fpu/e_log10f.c: New file.
3417 * sysdeps/ia64/fpu/e_log10l.c: New file.
3418 * sysdeps/ia64/fpu/e_logf.S: New file.
3419 * sysdeps/ia64/fpu/e_logl.c: New file.
3420 * sysdeps/ia64/fpu/e_pow.S: New file.
3421 * sysdeps/ia64/fpu/e_powf.S: New file.
3422 * sysdeps/ia64/fpu/e_powl.S: New file.
3423 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
3424 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
3425 * sysdeps/ia64/fpu/e_remainder.S: New file.
3426 * sysdeps/ia64/fpu/e_remainderf.S: New file.
3427 * sysdeps/ia64/fpu/e_remainderl.S: New file.
3428 * sysdeps/ia64/fpu/e_scalb.S: New file.
3429 * sysdeps/ia64/fpu/e_scalbf.S: New file.
3430 * sysdeps/ia64/fpu/e_scalbl.S: New file.
3431 * sysdeps/ia64/fpu/e_sinh.S: New file.
3432 * sysdeps/ia64/fpu/e_sinhf.S: New file.
3433 * sysdeps/ia64/fpu/e_sinhl.S: New file.
3434 * sysdeps/ia64/fpu/e_sqrt.S: New file.
3435 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
3436 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
3437 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
3438 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
3439 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
3440 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
3441 * sysdeps/ia64/fpu/libm_error.c: New file.
3442 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
3443 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
3444 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
3445 * sysdeps/ia64/fpu/libm_reduce.S: New file.
3446 * sysdeps/ia64/fpu/libm_support.h: New file.
3447 * sysdeps/ia64/fpu/libm_tan.S: New file.
3448 * sysdeps/ia64/fpu/s_atan.S: New file.
3449 * sysdeps/ia64/fpu/s_atanf.S: New file.
3450 * sysdeps/ia64/fpu/s_atanl.S: New file.
3451 * sysdeps/ia64/fpu/s_cbrt.S: New file.
3452 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
3453 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
3454 * sysdeps/ia64/fpu/s_ceil.S: New file.
3455 * sysdeps/ia64/fpu/s_ceilf.S: New file.
3456 * sysdeps/ia64/fpu/s_ceill.S: New file.
3457 * sysdeps/ia64/fpu/s_cos.S: New file.
3458 * sysdeps/ia64/fpu/s_cosf.S: New file.
3459 * sysdeps/ia64/fpu/s_cosl.S: New file.
3460 * sysdeps/ia64/fpu/s_expm1.S: New file.
3461 * sysdeps/ia64/fpu/s_expm1f.S: New file.
3462 * sysdeps/ia64/fpu/s_expm1l.S: New file.
3463 * sysdeps/ia64/fpu/s_floor.S: New file.
3464 * sysdeps/ia64/fpu/s_floorf.S: New file.
3465 * sysdeps/ia64/fpu/s_floorl.S: New file.
3466 * sysdeps/ia64/fpu/s_frexp.c: New file.
3467 * sysdeps/ia64/fpu/s_frexpf.c: New file.
3468 * sysdeps/ia64/fpu/s_frexpl.c: New file.
3469 * sysdeps/ia64/fpu/s_ilogb.S: New file.
3470 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
3471 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
3472 * sysdeps/ia64/fpu/s_ldexp.S: New file.
3473 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
3474 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
3475 * sysdeps/ia64/fpu/s_log1p.S: New file.
3476 * sysdeps/ia64/fpu/s_log1pf.S: New file.
3477 * sysdeps/ia64/fpu/s_log1pl.S: New file.
3478 * sysdeps/ia64/fpu/s_logb.S: New file.
3479 * sysdeps/ia64/fpu/s_logbf.S: New file.
3480 * sysdeps/ia64/fpu/s_logbl.S: New file.
3481 * sysdeps/ia64/fpu/s_matherrf.c: New file.
3482 * sysdeps/ia64/fpu/s_matherrl.c: New file.
3483 * sysdeps/ia64/fpu/s_modf.S: New file.
3484 * sysdeps/ia64/fpu/s_modff.S: New file.
3485 * sysdeps/ia64/fpu/s_modfl.S: New file.
3486 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
3487 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
3488 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
3489 * sysdeps/ia64/fpu/s_rint.S: New file.
3490 * sysdeps/ia64/fpu/s_rintf.S: New file.
3491 * sysdeps/ia64/fpu/s_rintl.S: New file.
3492 * sysdeps/ia64/fpu/s_round.S: New file.
3493 * sysdeps/ia64/fpu/s_roundf.S: New file.
3494 * sysdeps/ia64/fpu/s_roundl.S: New file.
3495 * sysdeps/ia64/fpu/s_scalbn.S: New file.
3496 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
3497 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
3498 * sysdeps/ia64/fpu/s_significand.S: New file.
3499 * sysdeps/ia64/fpu/s_significandf.S: New file.
3500 * sysdeps/ia64/fpu/s_significandl.S: New file.
3501 * sysdeps/ia64/fpu/s_sin.c: New file.
3502 * sysdeps/ia64/fpu/s_sincos.c: New file.
3503 * sysdeps/ia64/fpu/s_sincosf.c: New file.
3504 * sysdeps/ia64/fpu/s_sincosl.c: New file.
3505 * sysdeps/ia64/fpu/s_sinf.c: New file.
3506 * sysdeps/ia64/fpu/s_sinl.c: New file.
3507 * sysdeps/ia64/fpu/s_tan.S: New file.
3508 * sysdeps/ia64/fpu/s_tanf.S: New file.
3509 * sysdeps/ia64/fpu/s_tanl.S: New file.
3510 * sysdeps/ia64/fpu/s_trunc.S: New file.
3511 * sysdeps/ia64/fpu/s_truncf.S: New file.
3512 * sysdeps/ia64/fpu/s_truncl.S: New file.
3513 * sysdeps/ia64/fpu/w_acos.c: New file.
3514 * sysdeps/ia64/fpu/w_acosf.c: New file.
3515 * sysdeps/ia64/fpu/w_acosl.c: New file.
3516 * sysdeps/ia64/fpu/w_asin.c: New file.
3517 * sysdeps/ia64/fpu/w_asinf.c: New file.
3518 * sysdeps/ia64/fpu/w_asinl.c: New file.
3519 * sysdeps/ia64/fpu/w_atan2.c: New file.
3520 * sysdeps/ia64/fpu/w_atan2f.c: New file.
3521 * sysdeps/ia64/fpu/w_atan2l.c: New file.
3522 * sysdeps/ia64/fpu/w_cosh.c: New file.
3523 * sysdeps/ia64/fpu/w_coshf.c: New file.
3524 * sysdeps/ia64/fpu/w_coshl.c: New file.
3525 * sysdeps/ia64/fpu/w_exp.c: New file.
3526 * sysdeps/ia64/fpu/w_expf.c: New file.
3527 * sysdeps/ia64/fpu/w_fmod.c: New file.
3528 * sysdeps/ia64/fpu/w_fmodf.c: New file.
3529 * sysdeps/ia64/fpu/w_fmodl.c: New file.
3530 * sysdeps/ia64/fpu/w_hypot.c: New file.
3531 * sysdeps/ia64/fpu/w_hypotf.c: New file.
3532 * sysdeps/ia64/fpu/w_hypotl.c: New file.
3533 * sysdeps/ia64/fpu/w_log.c: New file.
3534 * sysdeps/ia64/fpu/w_log10.c: New file.
3535 * sysdeps/ia64/fpu/w_log10f.c: New file.
3536 * sysdeps/ia64/fpu/w_log10l.c: New file.
3537 * sysdeps/ia64/fpu/w_logf.c: New file.
3538 * sysdeps/ia64/fpu/w_logl.c: New file.
3539 * sysdeps/ia64/fpu/w_pow.c: New file.
3540 * sysdeps/ia64/fpu/w_powf.c: New file.
3541 * sysdeps/ia64/fpu/w_powl.c: New file.
3542 * sysdeps/ia64/fpu/w_remainder.c: New file.
3543 * sysdeps/ia64/fpu/w_remainderf.c: New file.
3544 * sysdeps/ia64/fpu/w_remainderl.c: New file.
3545 * sysdeps/ia64/fpu/w_scalb.c: New file.
3546 * sysdeps/ia64/fpu/w_scalbf.c: New file.
3547 * sysdeps/ia64/fpu/w_scalbl.c: New file.
3548 * sysdeps/ia64/fpu/w_sqrt.c: New file.
3549 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
3550 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
3551 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
3552 implementation.
3553 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
3554 Change FP_ILOGBNAN for new implementation.
3555 * Verions.def: Add 2.2.3 versions.
3556
3557 2001-02-18 Ulrich Drepper <drepper@redhat.com>
3558
3559 * math/libm-test.inc (scalb_test): Require invalid exception being
3560 raised for invalid parameters.
3561 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
3562 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3563 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3564
3565 2001-02-18 Mark Kettenis <kettenis@gnu.org>
3566
3567 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
3568 value to long int.
3569 (__get_avphys_pages): Likewise.
3570
3571 2001-02-18 Ulrich Drepper <drepper@redhat.com>
3572
3573 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
3574 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
3575 * sysdeps/i386/fpu/e_powf.S: Likewise.
3576 * sysdeps/i386/fpu/e_powl.S: Likewise.
3577
3578 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
3579
3580 2001-02-17 Ulrich Drepper <drepper@redhat.com>
3581
3582 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
3583
3584 * sysdeps/generic/s_exp2l.c: Renamed to...
3585 * sysdeps/generic/e_exp2l.c: ...this. New file.
3586 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
3587 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
3588 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
3589 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
3590 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
3591 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
3592 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
3593 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
3594 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
3595 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
3596 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
3597 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
3598 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
3599 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
3600 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
3601 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
3602
3603 2001-02-17 Andreas Jaeger <aj@suse.de>
3604
3605 * configure.in: Allow gcc 3.
3606
3607 2001-02-16 Ulrich Drepper <drepper@redhat.com>
3608
3609 * math/w_acos.c: Move to ...
3610 * sysdeps/generic/w_acos.c: ...here. New file.
3611 * math/w_acosf.c: Move to ...
3612 * sysdeps/generic/w_acosf.c: ...here. New file.
3613 * math/w_acosh.c: Move to ...
3614 * sysdeps/generic/w_acosh.c: ...here. New file.
3615 * math/w_acoshf.c: Move to ...
3616 * sysdeps/generic/w_acoshf.c: ...here. New file.
3617 * math/w_acoshl.c: Move to ...
3618 * sysdeps/generic/w_acoshl.c: ...here. New file.
3619 * math/w_acosl.c: Move to ...
3620 * sysdeps/generic/w_acosl.c: ...here. New file.
3621 * math/w_asin.c: Move to ...
3622 * sysdeps/generic/w_asin.c: ...here. New file.
3623 * math/w_asinf.c: Move to ...
3624 * sysdeps/generic/w_asinf.c: ...here. New file.
3625 * math/w_asinl.c: Move to ...
3626 * sysdeps/generic/w_asinl.c: ...here. New file.
3627 * math/w_atan2.c: Move to ...
3628 * sysdeps/generic/w_atan2.c: ...here. New file.
3629 * math/w_atan2f.c: Move to ...
3630 * sysdeps/generic/w_atan2f.c: ...here. New file.
3631 * math/w_atan2l.c: Move to ...
3632 * sysdeps/generic/w_atan2l.c: ...here. New file.
3633 * math/w_atanh.c: Move to ...
3634 * sysdeps/generic/w_atanh.c: ...here. New file.
3635 * math/w_atanhf.c: Move to ...
3636 * sysdeps/generic/w_atanhf.c: ...here. New file.
3637 * math/w_atanhl.c: Move to ...
3638 * sysdeps/generic/w_atanhl.c: ...here. New file.
3639 * math/w_cosh.c: Move to ...
3640 * sysdeps/generic/w_cosh.c: ...here. New file.
3641 * math/w_coshf.c: Move to ...
3642 * sysdeps/generic/w_coshf.c: ...here. New file.
3643 * math/w_coshl.c: Move to ...
3644 * sysdeps/generic/w_coshl.c: ...here. New file.
3645 * math/w_drem.c: Move to ...
3646 * sysdeps/generic/w_drem.c: ...here. New file.
3647 * math/w_dremf.c: Move to ...
3648 * sysdeps/generic/w_dremf.c: ...here. New file.
3649 * math/w_dreml.c: Move to ...
3650 * sysdeps/generic/w_dreml.c: ...here. New file.
3651 * math/w_exp10.c: Move to ...
3652 * sysdeps/generic/w_exp10.c: ...here. New file.
3653 * math/w_exp10f.c: Move to ...
3654 * sysdeps/generic/w_exp10f.c: ...here. New file.
3655 * math/w_exp10l.c: Move to ...
3656 * sysdeps/generic/w_exp10l.c: ...here. New file.
3657 * math/w_exp2.c: Move to ...
3658 * sysdeps/generic/w_exp2.c: ...here. New file.
3659 * math/w_exp2f.c: Move to ...
3660 * sysdeps/generic/w_exp2f.c: ...here. New file.
3661 * math/w_exp2l.c: Move to ...
3662 * sysdeps/generic/w_exp2l.c: ...here. New file.
3663 * math/w_fmod.c: Move to ...
3664 * sysdeps/generic/w_fmod.c: ...here. New file.
3665 * math/w_fmodf.c: Move to ...
3666 * sysdeps/generic/w_fmodf.c: ...here. New file.
3667 * math/w_fmodl.c: Move to ...
3668 * sysdeps/generic/w_fmodl.c: ...here. New file.
3669 * math/w_hypot.c: Move to ...
3670 * sysdeps/generic/w_hypot.c: ...here. New file.
3671 * math/w_hypotf.c: Move to ...
3672 * sysdeps/generic/w_hypotf.c: ...here. New file.
3673 * math/w_hypotl.c: Move to ...
3674 * sysdeps/generic/w_hypotl.c: ...here. New file.
3675 * math/w_j0.c: Move to ...
3676 * sysdeps/generic/w_j0.c: ...here. New file.
3677 * math/w_j0f.c: Move to ...
3678 * sysdeps/generic/w_j0f.c: ...here. New file.
3679 * math/w_j0l.c: Move to ...
3680 * sysdeps/generic/w_j0l.c: ...here. New file.
3681 * math/w_j1.c: Move to ...
3682 * sysdeps/generic/w_j1.c: ...here. New file.
3683 * math/w_j1f.c: Move to ...
3684 * sysdeps/generic/w_j1f.c: ...here. New file.
3685 * math/w_j1l.c: Move to ...
3686 * sysdeps/generic/w_j1l.c: ...here. New file.
3687 * math/w_jn.c: Move to ...
3688 * sysdeps/generic/w_jn.c: ...here. New file.
3689 * math/w_jnf.c: Move to ...
3690 * sysdeps/generic/w_jnf.c: ...here. New file.
3691 * math/w_jnl.c: Move to ...
3692 * sysdeps/generic/w_jnl.c: ...here. New file.
3693 * math/w_lgamma.c: Move to ...
3694 * sysdeps/generic/w_lgamma.c: ...here. New file.
3695 * math/w_lgammaf.c: Move to ...
3696 * sysdeps/generic/w_lgammaf.c: ...here. New file.
3697 * math/w_lgammaf_r.c: Move to ...
3698 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
3699 * math/w_lgammal.c: Move to ...
3700 * sysdeps/generic/w_lgammal.c: ...here. New file.
3701 * math/w_lgammal_r.c: Move to ...
3702 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
3703 * math/w_lgamma_r.c: Move to ...
3704 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
3705 * math/w_log10.c: Move to ...
3706 * sysdeps/generic/w_log10.c: ...here. New file.
3707 * math/w_log10f.c: Move to ...
3708 * sysdeps/generic/w_log10f.c: ...here. New file.
3709 * math/w_log10l.c: Move to ...
3710 * sysdeps/generic/w_log10l.c: ...here. New file.
3711 * math/w_log.c: Move to ...
3712 * sysdeps/generic/w_log.c: ...here. New file.
3713 * math/w_logf.c: Move to ...
3714 * sysdeps/generic/w_logf.c: ...here. New file.
3715 * math/w_logl.c: Move to ...
3716 * sysdeps/generic/w_logl.c: ...here. New file.
3717 * math/w_pow.c: Move to ...
3718 * sysdeps/generic/w_pow.c: ...here. New file.
3719 * math/w_powf.c: Move to ...
3720 * sysdeps/generic/w_powf.c: ...here. New file.
3721 * math/w_powl.c: Move to ...
3722 * sysdeps/generic/w_powl.c: ...here. New file.
3723 * math/w_remainder.c: Move to ...
3724 * sysdeps/generic/w_remainder.c: ...here. New file.
3725 * math/w_remainderf.c: Move to ...
3726 * sysdeps/generic/w_remainderf.c: ...here. New file.
3727 * math/w_remainderl.c: Move to ...
3728 * sysdeps/generic/w_remainderl.c: ...here. New file.
3729 * math/w_scalb.c: Move to ...
3730 * sysdeps/generic/w_scalb.c: ...here. New file.
3731 * math/w_scalbf.c: Move to ...
3732 * sysdeps/generic/w_scalbf.c: ...here. New file.
3733 * math/w_scalbl.c: Move to ...
3734 * sysdeps/generic/w_scalbl.c: ...here. New file.
3735 * math/w_sinh.c: Move to ...
3736 * sysdeps/generic/w_sinh.c: ...here. New file.
3737 * math/w_sinhf.c: Move to ...
3738 * sysdeps/generic/w_sinhf.c: ...here. New file.
3739 * math/w_sinhl.c: Move to ...
3740 * sysdeps/generic/w_sinhl.c: ...here. New file.
3741 * math/w_sqrtl.c: Move to ...
3742 * sysdeps/generic/w_sqrtl.c: ...here. New file.
3743 * math/w_tgamma.c: Move to ...
3744 * sysdeps/generic/w_tgamma.c: ...here. New file.
3745 * math/w_tgammaf.c: Move to ...
3746 * sysdeps/generic/w_tgammaf.c: ...here. New file.
3747 * math/w_tgammal.c: Move to ...
3748 * sysdeps/generic/w_tgammal.c: ...here. New file.
3749
3750 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
3751 formats for postal_fmt.
3752
3753 2001-02-16 Jakub Jelinek <jakub@redhat.com>
3754
3755 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
3756 __ftruncate64 alias.
3757 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
3758 Likewise.
3759
3760 2001-02-15 David Mosberger <davidm@hpl.hp.com>
3761
3762 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
3763 do "loadrs". Writing to bspstore already takes care of
3764 invalidating the "clean" partition.
3765
3766 2001-02-16 Andreas Schwab <schwab@suse.de>
3767
3768 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
3769 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
3770
3771 2001-02-15 Jakub Jelinek <jakub@redhat.com>
3772
3773 * posix/regex.c (init_syntax_once): Add prototype.
3774 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
3775 (re_search_2): Avoid warning.
3776 (count_mbs_length): Add prototype.
3777 * posix/tst-regex3.c: New file.
3778 * posix/Makefile (tests): Add bug-regex3.
3779
3780 2001-02-15 Ulrich Drepper <drepper@redhat.com>
3781
3782 * stdio-common/Makefile (tests): Add tst-gets.
3783 * stdio-common/tst-gets.c: New file.
3784 * stdio-common/tst-gets.input: New file.
3785
3786 * elf/elf.h (DT_CHECKSUM): Define.
3787
3788 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
3789 default symbol.
3790 * sysdeps/generic/strtoull.c: Likewise.
3791
3792 2001-02-14 Wolfram Gloger <wg@malloc.de>
3793
3794 * malloc/malloc.c (new_heap): When allocating large chunk aligned
3795 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
3796 between the heaps.
3797
3798 2001-02-14 Ulrich Drepper <drepper@redhat.com>
3799
3800 * math/libm-test.inc (j0_test): Check whether sincos is available.
3801 (j1_test): Likewise.
3802 (jn_test): Likewise.
3803 (y0_test): Likewise.
3804 (y1_test): Likewise.
3805 (yn_test): Likewise.
3806
3807 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
3808 fake filesystem routines to handle this.
3809
3810 * time/sys/time.h: Make settimeofday and adjtime available if
3811 _BSD_SOURCE.
3812
3813 * time/sys/time.h: Make timer* macros available for BSD.
3814
3815 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
3816 Patch by Yong Li <rigel863@yahoo.com>.
3817
3818 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
3819 name.
3820
3821 * posix/Makefile (tests): Add tst-gnuglob.
3822 * posix/tst-gnuglob.c: New file.
3823
3824 2001-02-13 H.J. Lu <hjl@gnu.org>
3825
3826 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
3827
3828 2001-02-13 Ulrich Drepper <drepper@redhat.com>
3829
3830 * locale/programs/ld-paper.c (paper_output): Pretty printing.
3831
3832 * iconvdata/Makefile (modules): Add GBBIG5.
3833 (distribute): Add gbbig5.c.
3834 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
3835
3836 * iconvdata/gbbig5.c: New file.
3837 Contributed by Yong Li <rigel863@yahoo.com>.
3838
3839 2001-02-13 Philip Blundell <pb@futuretv.com>
3840
3841 * manual/crypt.texi: Remove outdated references to crypt add-on.
3842
3843 * manual/creature.texi: Improve wording slightly.
3844
3845 2001-02-13 Ulrich Drepper <drepper@redhat.com>
3846
3847 * io/ftw.c: Always use readdir64.
3848 * io/ftw64.c: Likewise.
3849 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3850 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3851 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
3852 callback to dirent. Still allow compiling outside glibc.
3853 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
3854 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3855
3856 * malloc/mtrace.c: Use fopen64.
3857 * posix/spawni.c: Use __open64.
3858 * sysdeps/unix/opendir.c: Likewise.
3859 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
3860
3861 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
3862 name a weak alias.
3863 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
3864 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
3865 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
3866 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
3867
3868 * resolv/res_data.c: Add cast to avoid warning.
3869
3870 * include/unistd.h: Declare __ftruncate64.
3871
3872 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
3873
3874 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
3875 instead of __lseek.
3876
3877 2001-02-13 Andreas Jaeger <aj@suse.de>
3878
3879 * login/getutent_r.c: Include <stdlib.h> for NULL.
3880 * login/getutid_r.c: Likewise.
3881
3882 2001-02-12 Ulrich Drepper <drepper@redhat.com>
3883
3884 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
3885 * sysdeps/dbl-64/e_j1.c: Likewise.
3886 * sysdeps/dbl-64/e_jn.c: Likewise.
3887 * sysdeps/flt-32/e_j0f.c: Likewise.
3888 * sysdeps/flt-32/e_j1f.c: Likewise.
3889 * sysdeps/ldbl-96/e_j0l.c: Likewise.
3890
3891 2000-12-02 H.J. Lu <hjl@gnu.org>
3892
3893 * resolv/res_libc.c (res_init): Don't make it default.
3894
3895 2001-02-12 Ulrich Drepper <drepper@redhat.com>
3896
3897 * manual/debug.texi: Improved the wording.
3898 Patch by Philip Blundell <pb@futuretv.com>.
3899
3900 2001-02-12 Andreas Jaeger <aj@suse.de>
3901
3902 * posix/Makefile (tests): Don't run bug-regex2 when
3903 cross-compiling.
3904
3905 * libio/Makefile (tests): Don't run test-freopen when
3906 cross-compiling.
3907
3908 * manual/stdio.texi (Streams and I18N): Fix typos.
3909
3910 2001-02-12 Ulrich Drepper <drepper@redhat.com>
3911
3912 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
3913
3914 * math/libm-test.inc (j0_test): Make expected results long double
3915 constants.
3916 (y0_test): Likewise.
3917
3918 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
3919 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3920
3921 2001-02-11 Jakub Jelinek <jakub@redhat.com>
3922
3923 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
3924 which was exported from libc.
3925 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
3926
3927 2001-02-12 Andreas Jaeger <aj@suse.de>
3928
3929 * manual/arith.texi (Parsing of Integers): Fix some wordings.
3930
3931 2001-02-11 Ulrich Drepper <drepper@redhat.com>
3932
3933 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
3934 and get_avphys_page to long int.
3935 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
3936 * include/sys/sysinfo.h: Likewise.
3937 * sysdeps/generic/sys/sysinfo.h: Likewise.
3938 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
3939
3940 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
3941 cannot return as many values as the user asked for.
3942
3943 2001-02-11 Andreas Jaeger <aj@suse.de>
3944
3945 * manual/resource.texi (Memory Resources): Fix typo.
3946
3947 * libio/Makefile ($(objpfx)test-freopen.out): Pass
3948 run-program-prefix.
3949
3950 * libio/test-freopen.sh: Use run_program_prefix.
3951
3952 2001-02-10 Andreas Jaeger <aj@suse.de>
3953
3954 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
3955 cross-compiling.
3956 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
3957
3958 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
3959 only builds.
3960
3961 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
3962
3963 * posix/Makefile: Fix typo, it's build-static-nss.
3964
3965 * iconv/Makefile (extra-objs): New.
3966
3967 2001-02-10 Mark Kettenis <kettenis@gnu.org>
3968
3969 * sysdeps/unix/stime.c: Include <time.h>.
3970
3971 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
3972
3973 2001-02-10 Andreas Jaeger <aj@suse.de>
3974
3975 * manual/string.texi (Search Functions): Fix typo.
3976
3977 2001-02-10 Mark Kettenis <kettenis@gnu.org>
3978
3979 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
3980 (timeval_to_clock_t): Add clk_tck argument and use that instead of
3981 CLK_TCK.
3982 (__times): Use __getclktck to get the number of clock ticks per
3983 second and use its return value instead of CLK_TCK.
3984
3985 2001-02-10 Mark Kettenis <kettenis@gnu.org>
3986
3987 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
3988
3989 2001-02-10 Mark Kettenis <kettenis@gnu.org>
3990
3991 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
3992
3993 2001-02-10 Andreas Jaeger <aj@suse.de>
3994
3995 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
3996 warning.
3997
3998 2001-02-09 Ulrich Drepper <drepper@redhat.com>
3999
4000 * posix/Makefile: Add rules to build and run bug-regex2.
4001 * posix/bug-regex2.c: New file.
4002
4003 2001-02-10 Jakub Jelinek <jakub@redhat.com>
4004
4005 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
4006 (regex_compile): Likewise.
4007 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
4008 (re_match_2_internal): Use just is_binary instead of two variables.
4009 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
4010
4011 2001-02-09 Ulrich Drepper <drepper@redhat.com>
4012
4013 * version.h (VERSION): Bump to 2.2.2.
4014
4015 * iconv/Makefile (distribute): Add iconv_charmap.c and
4016 dummy-repertoire.c.
4017 * elf/Makefile (distribute): Add firstobj.c.
4018 * Makefile (distribute): Add include/pthread.h.
4019
4020 * configure.in: Require makeinfo version 4.
4021
4022 * libio/tst_wscanf.c (main): Add cast to avoid warning.
4023 * libio/tst_swscanf.c (main): Likewise..
4024
4025 2001-02-09 Jakub Jelinek <jakub@redhat.com>
4026
4027 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
4028 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
4029 __NO_MATH_INLINES.
4030 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
4031 if not RTLD_BOOTSTRAP.
4032 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4033 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4034
4035 2001-02-09 Ulrich Drepper <drepper@redhat.com>
4036
4037 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
4038 lr_ungetc to push back last read character.
4039 * locale/programs/linereader.h (lr_ungetc): Don't push back is
4040 character is EOF.
4041 (lr_ignore_rest): Don't warn about garbage if it is really the end
4042 of the file.
4043
4044 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
4045 definition.
4046
4047 2001-02-08 Ulrich Drepper <drepper@redhat.com>
4048
4049 * Makerules (build-shlib): Work around different order of
4050 processing of -B option in different gcc versions.
4051
4052 * posix/regex.c: Fix alignment problem.
4053 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4054
4055 * sysdeps/alpha/strrchr.S: Little optimization.
4056 Patch by Richard Henderson <rth@redhat.com>.
4057
4058 * sysdeps/alpha/alphaev67/strrchr.S: New file.
4059 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
4060
4061 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
4062
4063 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
4064 in the assembler end directive.
4065
4066 2001-02-08 Andreas Jaeger <aj@suse.de>
4067
4068 * manual/stdio.texi (Closing Streams): Fix typos.
4069
4070 2001-02-07 Ulrich Drepper <drepper@redhat.com>
4071
4072 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
4073 Patch by Richard Henderson <rth@redhat.com>.
4074 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
4075
4076 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
4077 pointer in FILE structure before calling _IO_init.
4078 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
4079 strfmon_l if necessary.
4080 Reported by Jury Gerold <gjury@grips.com>.
4081
4082 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
4083 Patch by Pekka.Pietikainen@cern.ch.
4084
4085 * posix/regex.c: Correct several problems with 64-bit architectures
4086 introduced in the MBS changes.
4087 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4088
4089 2001-02-07 Jakub Jelinek <jakub@redhat.com>
4090
4091 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
4092 not defined.
4093 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
4094
4095 2001-02-07 Andreas Jaeger <aj@suse.de>
4096
4097 * manual/install.texi (Tools for Compilation): Fix typo.
4098 Reported by Pavel Machek <pavel@bug.ucw.cz>.
4099
4100 2001-02-07 Ulrich Drepper <drepper@redhat.com>
4101
4102 * stdlib/strtod.c: Never stop prematurely reading digits before the
4103 decimal point is found. Compute exponent limit for negative exponents
4104 correctly. For numbers ending in all zeros eat the zeros even before
4105 the decimal point if the exponent is negative [PR libc/2072].
4106 * stdlib/Makefile (tests): Add bug-strtod.
4107 * stdlib/bug-strtod.c: New file.
4108
4109 2001-02-07 Andreas Jaeger <aj@suse.de>
4110
4111 * posix/bug-regex1.c: Include <wchar.h> for fwide.
4112
4113 2001-02-06 Ulrich Drepper <drepper@redhat.com>
4114
4115 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
4116 Store index.
4117 (compile_range): Handle index being passed, not pointer.
4118 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4119
4120 * posix/regex.c: Fix a cast in the code for bracket handling which
4121 caused 8-bit uncleanliness.
4122 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
4123
4124 * posix/Makefile (tests): Add bug-regex1.
4125 * posix/bug-regex1.c: New file.
4126 Contributed by Jim Meyering <jim@meyering.net>.
4127
4128 * posix/regex.c: Many cleanups for incorrect format strings.
4129
4130 2001-02-06 Andreas Jaeger <aj@suse.de>
4131
4132 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
4133
4134 2001-02-06 Ulrich Drepper <drepper@redhat.com>
4135
4136 * locale/programs/locale.c (write_locales): Use scandir to read
4137 directory so that the entries are sorted.
4138
4139 2001-02-06 Andreas Jaeger <aj@suse.de>
4140
4141 * include/pthread.h: New file.
4142
4143 * wctype/wctype.h: Move internal interfaces from here to...
4144 * include/wctype.h: ...here.
4145
4146 * wcsmbs/wchar.h: Move __wcslen from here to...
4147 * include/wchar.h: ...here.
4148
4149 * posix/sys/wait.h: Move __wait from here to...
4150 * include/sys/wait.h: ...here.
4151
4152 * string/string.h: Move __ffs and __strerror_r from here to...
4153 * include/string.h: ...here.
4154
4155 * stdlib/stdlib.h: Move __on_exit from here to...
4156 * include/stdlib.h: ...here.
4157
4158 * libio/stdio.h: Move __vsnprintf from here to...
4159 * include/stdio.h: ...here.
4160
4161 2001-02-06 Andreas Schwab <schwab@suse.de>
4162
4163 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
4164 headers.
4165
4166 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
4167 of $(inst_datadir).
4168
4169 2001-02-06 Ulrich Drepper <drepper@redhat.com>
4170
4171 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
4172
4173 2001-02-06 Andreas Jaeger <aj@suse.de>
4174
4175 * elf/firstobj.c: Add prototype.
4176
4177 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
4178 (truncate_wchar): Likewise.
4179
4180 2001-02-06 Ulrich Drepper <drepper@redhat.com>
4181
4182 * locale/programs/locale.c: Implement --verbose option for -a
4183 which prints detailed information about the locales.
4184
4185 2001-02-05 Ulrich Drepper <drepper@redhat.com>
4186
4187 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
4188 variable to uint32_t.
4189 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
4190
4191 2001-02-04 Bruno Haible <haible@clisp.cons.org>
4192
4193 * locale/C-translit.h.in: Add transliterations for CJK units of
4194 measurement.
4195
4196 2001-02-05 Ulrich Drepper <drepper@redhat.com>
4197
4198 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
4199 string. Include <inttypes.h> instead of <stdint.h>.
4200
4201 * localedata/Makefile (tests): Add bug-iconv-trans.
4202 Define bug-iconv-trans-ENV.
4203 * localedata/bug-iconv-trans.c: New file.
4204
4205 2001-02-04 Bruno Haible <haible@clisp.cons.org>
4206
4207 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
4208 pointer, to avoid accumulating output from incomplete (unsuccessful)
4209 transliteration attempts.
4210
4211 2001-02-05 Ulrich Drepper <drepper@redhat.com>
4212
4213 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
4214 string. Include <inttypes.h> instead of <stdint.h>.
4215
4216 * configure.in: Add check for bison.
4217 * config.make.in: Define BISON variable.
4218 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
4219 Rename YFLAGS to BISONFLAGS.
4220
4221 2001-02-05 Andreas Jaeger <aj@suse.de>
4222
4223 * io/test-lfs.c (do_test): Test lseek64 return value, call
4224 test_ftello.
4225 (test_ftello): New function to test ftello64 and fseeko64.
4226
4227 * signal/signal.h: Move __sigaction from here to...
4228 * include/signal.h: ...here.
4229
4230 * io/fcntl.h: Move __fcntl and __open to...
4231 * include/fcntl.h: ...here.
4232
4233 2001-02-04 Philip Blundell <philb@gnu.org>
4234
4235 * configure.in: Distinguish ARM from Thumb.
4236
4237 2001-02-04 Philip Blundell <philb@gnu.org>
4238
4239 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
4240 PC24 relocs with negative value.
4241
4242 2001-02-04 Ulrich Drepper <drepper@redhat.com>
4243
4244 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
4245 files in locale/programs. Add CFLAGS definition to allow compiling
4246 localedef files.
4247 * iconv/dummy-repertoire.c: New file.
4248 * iconv/iconv_charmap.c: New file.
4249 * iconv/iconv_prog.h: New file.
4250 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
4251 (main): If parameter for -f and -t contain slashes try first to resolve
4252 the strings as filenames of charmap files. Use them for conversion
4253 in this case.
4254 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
4255 iconv getting charmap names as parameters.
4256 * locale/programs/linereader.c (lr_token): Take extra parameters
4257 verbose and pass it to get_string.
4258 (get_string): Take extra parameters verbose.
4259 * locale/programs/charmap.c (parse_charmap): Take extra parameters
4260 verbose and be_quiet. Change all callers of lr_token and
4261 parse_charmap.
4262 * locale/programs/charmap.h: Likewise.
4263 * locale/programs/ld-address.c: Likewise.
4264 * locale/programs/ld-collate.c: Likewise.
4265 * locale/programs/ld-ctype.c: Likewise.
4266 * locale/programs/ld-identification.c: Likewise.
4267 * locale/programs/ld-measurement.c: Likewise.
4268 * locale/programs/ld-messages.c: Likewise.
4269 * locale/programs/ld-monetary.c: Likewise.
4270 * locale/programs/ld-name.c: Likewise.
4271 * locale/programs/ld-numeric.c: Likewise.
4272 * locale/programs/ld-paper.c: Likewise.
4273 * locale/programs/ld-telephone.c: Likewise.
4274 * locale/programs/ld-time.c: Likewise.
4275 * locale/programs/linereader.c: Likewise.
4276 * locale/programs/linereader.h: Likewise.
4277 * locale/programs/localedef.c: Likewise.
4278 * locale/programs/locfile.c: Likewise.
4279 * locale/programs/locfile.h: Likewise.
4280 * locale/programs/repertoire.c: Likewise.
4281
4282 2001-02-03 Ulrich Drepper <drepper@redhat.com>
4283
4284 * iconv/iconv_prog.c (main): If output file name is "-" write to
4285 stdout.
4286 (main): If -f or -t argument is missing use charset of the current
4287 locale.
4288
4289 2001-02-03 Andreas Jaeger <aj@suse.de>
4290
4291 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
4292 boundary for SSE/SSE-2 alignment.
4293
4294 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
4295 annexc.
4296
4297 2001-02-03 Ulrich Drepper <drepper@redhat.com>
4298
4299 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
4300 Remove comma at end of enum.
4301
4302 * elf/dl-init.c: Add a few __builtin_expect.
4303
4304 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
4305
4306 2001-02-02 Ulrich Drepper <drepper@redhat.com>
4307
4308 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
4309 errno is ECONNREFUSED.
4310
4311 * posix/Makefile: Define MBS_SUPPORT for regex.c.
4312 * posix/regex.c: Implement multibyte character handling.
4313 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
4314
4315 * string/tst-svc.input: Add two more test cases.
4316 * string/tst-svc.expect: Modify to reflect new test cases.
4317
4318 2001-02-01 Jakub Jelinek <jakub@redhat.com>
4319
4320 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
4321 tp->name tests with tp->name[0] tests.
4322
4323 2001-01-29 Ben Collins <bcollins@debian.org>
4324
4325 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
4326 Fix check for name == NULL.
4327
4328 2001-02-01 Ulrich Drepper <drepper@redhat.com>
4329
4330 * elf/Makefile: Add rules to build and run initfirst test.
4331 * elf/initfirst.c: New file.
4332 * elf/firstobj.c: New file.
4333
4334 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
4335 * configure.in: Test for -z initfirst linker option.
4336 * config.make.in: Add have-z-initfirst.
4337 * elf/dl-init.c (_dl_init): Split out actual initialization code in
4338 new function call_init. If _dl_initfirst is non-NULL initialize first.
4339 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
4340 remember object in _dl_initfirst.
4341 * elf/soinit.c: Remove special support for calling
4342 __pthread_initialize_minimal.
4343
4344 * conform/conformtest.pl: Add missing $prepend in type test.
4345
4346 2001-01-31 Ulrich Drepper <drepper@redhat.com>
4347
4348 * elf/elf.h (SHT_CHECKSUM): New definition.
4349
4350 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
4351 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4352 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
4353
4354 2001-01-31 Mark Kettenis <kettenis@gnu.org>
4355
4356 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
4357 to get definition of `struct timeval'.
4358
4359 2001-01-31 Ulrich Drepper <drepper@redhat.com>
4360
4361 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
4362 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
4363
4364 2001-01-30 Ulrich Drepper <drepper@redhat.com>
4365
4366 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
4367 seen, not flags.
4368
4369 * nis/nis_findserv.c: Include <time.h>.
4370
4371 2001-01-30 Yong Li <yong.li@asu.edu>
4372
4373 * iconv/iconv_prog.c (main): Correct error handling method name.
4374
4375 2001-01-29 Ben Collins <bcollins@debian.org>
4376
4377 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
4378 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
4379 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
4380 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
4381
4382 2001-01-30 Ulrich Drepper <drepper@redhat.com>
4383
4384 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
4385 Patch by Marko Myllynen <myllynen@lut.fi>.
4386
4387 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
4388 (int instead of char).
4389 (__strpbrk_c3): Likewise.
4390 Reported by GOTO Masanori <gotom@debian.or.jp>.
4391
4392 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
4393 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
4394 * include/sys/socket.h: Add SA_LEN here for internal use.
4395 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
4396
4397 2001-01-29 Ulrich Drepper <drepper@redhat.com>
4398
4399 * malloc/Makefile: Don't build memusagestat if cross-compiling.
4400
4401 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
4402
4403 * math/libm-test.inc (rint_test): Add a few more tests for round
4404 to even rounding.
4405
4406 2001-01-28 Ulrich Drepper <drepper@redhat.com>
4407
4408 * conform/data/pthread.h-data: Correct return type of pthread_exit.
4409
4410 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
4411
4412 * conform/data/stdlib.h-data: Add _Exit.
4413
4414 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
4415 if not already happened.
4416 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
4417 Don't include <limits.h> and <bits/sockaddr.h>.
4418
4419 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
4420
4421 * conform/data/spawn.h-data: Allow all of <sched.h>.
4422
4423 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
4424 unused variable.
4425
4426 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
4427 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
4428
4429 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
4430
4431 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
4432 * libio/stdio.h: Define va_list correctly.
4433
4434 * conform/data/pthread.h-data: Make priority protocol related
4435 functions optional. Fix typos.
4436
4437 * posix/sched.h: Define sched_priority as __sched_priority.
4438 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
4439 to __sched_priority.
4440 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4441
4442 2001-01-27 Ulrich Drepper <drepper@redhat.com>
4443
4444 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
4445 of <sys/time.h>.
4446
4447 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
4448 * sysdeps/unix/time.c: Likewise.
4449
4450 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
4451 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
4452 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
4453 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
4454 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
4455 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
4456 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
4457 * time/time.h: Likewise.
4458
4459 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
4460 * conform/data/complex.h-data: New file.
4461 * conform/data/tgmath.h-data: New file.
4462
4463 * conform/data/wchar.h-data: Add missing functions.
4464
4465 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
4466
4467 * conform/data/termios.h-data: Add missing const in tcsetattr()
4468 prototype.
4469
4470 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
4471 Don't define pid_t here.
4472
4473 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
4474
4475 * conform/data/sys/time.h-data: Allow sys/select.h.
4476 * conform/data/sys/un.h-data: Fix typo.
4477 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
4478 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
4479 <sys/time.h>.
4480 * sysdeps/unix/clock_nanosleep.c: Likewise.
4481 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
4482 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
4483 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
4484 * sysdeps/unix/clock_settime.c: Likewise.
4485
4486 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
4487 * login/getutent.c: Likewise.
4488 * login/getutid.c: Likewise.
4489 * login/getutline.c: Likewise.
4490
4491 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
4492
4493 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
4494 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
4495 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
4496 f_fsid field after change in struct statvfs.
4497 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
4498 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
4499 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
4500
4501 * conform/data/sys/stat.h-data: Remove isfdtype. Use
4502 optional-macro.
4503
4504 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
4505 recvfrom, send, and socketpair prototypes. Add allow lines.
4506 * socket/sys/socket.h: Include <sys/uio.h>.
4507 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
4508 Fix type of second parameter of listen.
4509 Don't declare isfdtype unless __USE_MISC.
4510 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
4511 * sysdeps/mach/hurd/listen.c: Likewise.
4512 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
4513 ss_family and __ss_family.
4514 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
4515 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4516 (struct msghdr): Change type of msg_iovlen to int and type of
4517 msg_controllen to socklen_t.
4518 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
4519 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
4520 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
4521 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
4522 (rresvport_af): Likewise.
4523
4524 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
4525 * conform/conformtest.pl: Implement handling of symbol.
4526
4527 * signal/signal.h: Fix handling of __need_* symbols.
4528 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
4529 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
4530 * include/sys/select.h: Use fd_set not __fd_set.
4531 * sysdeps/generic/bits/select.h: Likewise.
4532 * sysdeps/i386/bits/select.h: Likewise.
4533 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
4534 __FDELT, __FDMASK, and __fd_set here.
4535 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
4536 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
4537 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4538 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4539 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
4540 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4541 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4542 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
4543 * time/sys/time.h: Define struct timeval before including <time.h>
4544 and <sys/select.h>.
4545
4546 * conform/data/sys/time.h-data: fd_set is a typedef.
4547 * conform/data/sys/select.h-data: New file.
4548 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
4549 * conform/conformtest.pl (@headers): Add sys/select.h.
4550 (type, optional-type): Unless testing a typedef instantiate object.
4551 Implement optional-function.
4552
4553 * math/test-misc.c: Include <float.h>.
4554
4555 2001-01-27 Andreas Jaeger <aj@suse.de>
4556
4557 * misc/efgcvt_r.c: Include <float.h>.
4558
4559 2001-01-26 Ulrich Drepper <drepper@redhat.com>
4560
4561 * conform/data/stdlib.h-data: Account for XPG6 changes.
4562 * stdlib/stdlib.h (__random): Change return value type to long.
4563 (posix_memalign): Cleanup parameter names.
4564 (setenv, unsetenv): Make available for __USE_XOPEN2K.
4565 Change return type of unsetenv to int.
4566 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
4567 * include/stdlib.h: Change return type of unsetenv to int.
4568 Change return type of random to long int.
4569 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
4570 Return -1 and set errno if parameter is invalid.
4571 * stdlib/random.c (__random): Change return value type to long.
4572
4573 * conform/data/stdio.h-data: Account for changes in XPG6.
4574
4575 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
4576 prototype.
4577
4578 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
4579 * conform/data/signal.h-data: Fix sigev_notify_function entry.
4580 Fix typo (SIGVALRM -> SIGVTALRM).
4581 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
4582 with real type.
4583 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4584 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4585 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4586 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4587 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4588
4589 * conform/conformtest.pl: Implement optional-element. Define
4590 $mustprepend{"sched.h"}.
4591 * conform/data/sched.h-data: Make sporadic scheduler definitions
4592 optional.
4593
4594 * pwd/pwd.h: Don't define getpwent_r for XPG.
4595
4596 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
4597 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
4598 * sysdeps/mach/hurd/poll.c: Likewise.
4599 * sysdeps/unix/bsd/poll.c: Likewise.
4600 * sysdeps/unix/sysv/linux/poll.c: Likewise.
4601 * sysdeps/unix/sysv/aix/poll.c: Likewise.
4602 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
4603 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
4604 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
4605 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
4606 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
4607 * conform/data/poll.h-data: Fix typo in poll prototype.
4608
4609 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
4610 only if __USE_MISC.
4611 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
4612
4613 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
4614
4615 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
4616
4617 * conform/conformtest.pl: Implement optional-type.
4618
4619 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
4620 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
4621 defining uint32_t here. Define IPPORT_RESERVED.
4622 (struct hostent): Type of h_length element is int.
4623 (getnameinfo): Type of flags parameter is unsigned int.
4624 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
4625 * conform/data/netdb.h-data: Add many missing definitions.
4626
4627 * conform/conformtest.pl: Implement optional-macro.
4628 * conform/data/math.h-data: Update for XPG6.
4629
4630 * math/math.h (HUGE): Define as FLT_MAX value but don't use
4631 FLT_MAX. Don't include <float.h>.
4632 (MAXFLOAT): Likewise.
4633
4634 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
4635
4636 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
4637
4638 * conform/data/limits.h-data: Mark constants as optional wherever
4639 appropriate.
4640
4641 * posix/bits/posix2_lim.h: Set correct values for
4642 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
4643 EQUIV_CLASS_MAX.
4644
4645 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
4646 Required by POSIX.
4647
4648 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
4649
4650 * conform/data/netinet/in.h-data: Add reserved prefixes.
4651
4652 * conform/data/arpa/inet.h-data: Fix a few typos.
4653
4654 2001-01-26 Andreas Jaeger <aj@suse.de>
4655
4656 * sysdeps/generic/strtol.c: Include <locale.h>
4657 * stdlib/strtod.c: Likewise
4658 * stdlib/strfmon.c: Likewise.
4659 * string/strcoll.c: Likewise.
4660 * string/strxfrm.c: Likewise.
4661 * wctype/wcfuncs_l.c: Likewise.
4662 * wctype/wctype_l.c: Likewise.
4663 * wctype/wctrans_l.c: Likewise.
4664
4665 * include/bits/locale.h: New file.
4666
4667 2001-01-26 Ulrich Drepper <drepper@redhat.com>
4668
4669 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
4670 and NOSTR.
4671
4672 * locale/Makefile (headers): Add bits/locale.h.
4673 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
4674 and use __LC_ constants instead of LC_.
4675 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
4676 using __LC_ constants.
4677 * locale/bits/locale.h: New file.
4678 * locale/loadlocale.c: Include <locale.h>.
4679 * locale/nl_langinfo.h: Likewise.
4680
4681 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
4682
4683 * io/sys/stat.h: Define S_IFSOCK for XPG6.
4684
4685 * conform/data/fcntl.h-data: posix_madvise is not expected here.
4686
4687 * conform/conformtest.pl: Fix handling of macro-str.
4688
4689 * conform/data/inttypes.h-data: Add missing definition and all of
4690 stdint.h-data.
4691
4692 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
4693
4694 2001-01-25 Ulrich Drepper <drepper@redhat.com>
4695
4696 * conform/conformtest.pl (@headers): Add stdint.h.
4697 * conform/data/stdint.h-data: New file.
4698
4699 * conform/conformtest.pl: Recognize options --headers and
4700 --dialect. Add dialect-specific CFLAGS.
4701
4702 * conform/conformtest.pl: Implement handling of recursive
4703 allow-header.
4704
4705 * conform/data/locale.h-data: Add new struct lconv members.
4706
4707 * posix/wordexp.h: Correct definition of wordexp_t.
4708 * posix/wordexp.c: Moved to ...
4709 * sysdeps/generic/wordexp.c: ...here. New file.
4710 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
4711 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
4712 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
4713 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
4714 wordexp.
4715 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
4716 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
4717
4718 * math/tgmath.h: Pretty printing.
4719
4720 * math/Makefile (tests): Add test-tgmath.
4721 (CFLAGS-test-tgmath.c): New variable.
4722 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
4723
4724 * conform/conformtest.pl: Handle allow-header in secondary headers
4725 correctly.
4726
4727 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
4728 #ifdef.
4729
4730 * conform/data/netinet/in.h-data: Use correct comment character.
4731 * conform/data/sys/stat.h-data: Likewise.
4732
4733 2001-01-25 Jakub Jelinek <jakub@redhat.com>
4734
4735 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
4736 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
4737 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
4738 __builtin_classify_type, add ##f suffixes where appropriate.
4739 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
4740 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
4741 __builtin_classify_type.
4742 (fma): Fix spelling of first argument.
4743
4744 2001-01-25 Ulrich Drepper <drepper@redhat.com>
4745
4746 * conform/data/unistd.h-data: Mark functions removed in XPG6
4747 correctly.
4748
4749 * posix/unistd.h: Don't make functions removed in XPG6 available if
4750 __USE_XOPEN2K.
4751
4752 * conform/conformtest.pl: Implement optional-constant.
4753 * conform/data/unistd.h-data: Use optional-constant wherever
4754 appropriate.
4755
4756 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
4757 constants and add _SC_STREAMS.
4758 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4759
4760 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
4761 make old name weak alias.
4762 * sysdeps/generic/statvfs64.c: Likewise.
4763 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
4764 make old name weak alias.
4765 * sysdeps/generic/fstatvfs64.c: Likewise.
4766 * include/sys/statvfs.h: New file.
4767
4768 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
4769 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
4770 _PC_REC_XFER_ALIGN.
4771 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
4772 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
4773 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
4774 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
4775
4776 * conform/conformtest.pl: Run Unix tests for XPG6.
4777 Implement handling of known namespace violations.
4778 Improve printing of results.
4779
4780 * posix/unistd.h (usleep): Correct return type.
4781 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
4782 * sysdeps/unix/bsd/usleep.c: Correct return type.
4783 * sysdeps/mach/usleep.c: Correct return type.
4784 * sysdeps/generic/usleep.c: Correct return type.
4785
4786 * posix/unistd.h (sync): Correct return type.
4787 * sysdeps/generic/sync.c: Likewise.
4788 * sysdeps/mach/hurd/sync.c: Likewise.
4789
4790 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
4791
4792 * posix/unistd.h: Make seteuid and setegid available for XPG6.
4793
4794 * wcsmbs/wchar.h: Get FILE definition for XPG5.
4795
4796 * conform/data/ctype.h-data: Use correct comment form.
4797 * conform/data/errno.h-data: Likewise.
4798 * conform/data/math.h-data: Likewise.
4799 * conform/data/mqueue.h-data: Likewise.
4800 * conform/data/netdb.h-data: Likewise.
4801 * conform/data/pthread.h-data: Likewise.
4802
4803 2001-01-24 Ulrich Drepper <drepper@redhat.com>
4804
4805 * conform/data/wordexp.h-data: Fix typo.
4806
4807 * conform/conformtest.pl: Handle allow-header correctly.
4808
4809 * conform/data/time.h-data: Use correct comment form.
4810
4811 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
4812
4813 * configure.in: Comment out binutils version test.
4814
4815 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
4816 separators.
4817 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
4818
4819 * stdlib/tst-strtod.c (locale_test): New function.
4820 (main): Call locale_test.
4821 * stdlib/Makefile (tst-strtod-ENV): New variable.
4822
4823 2001-01-24 Mark Kettenis <kettenis@gnu.org>
4824
4825 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
4826 declaration of value such that we actually return the value of the
4827 environment variable.
4828
4829 2001-01-24 Andreas Jaeger <aj@suse.de>
4830
4831 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
4832 prototype.
4833 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4834
4835 * include/sys/sysctl.h: New file.
4836
4837 2001-01-23 Andreas Jaeger <aj@suse.de>
4838
4839 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
4840 isomac.
4841
4842 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
4843 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
4844 closes PR libc/2039.
4845
4846 * manual/install.texi (Tools for Compilation): Change required
4847 binutils version.
4848
4849 2001-01-22 Andreas Jaeger <aj@suse.de>
4850
4851 * configure.in: Add test for new enough binutils version, move
4852 compiler/binutils test up.
4853
4854 * Versions.def: Add version GLIBC_2.2.2.
4855
4856 2001-01-21 Ulrich Drepper <drepper@redhat.com>
4857
4858 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
4859 available.
4860 * iconvdata/testdata/IBM932: New file.
4861 * iconvdata/testdata/IBM932..UTF8: New file.
4862 * iconvdata/testdata/IBM943: New file.
4863 * iconvdata/testdata/IBM943..UTF8: New file.
4864 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
4865
4866 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4867
4868 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
4869
4870 2001-01-21 Ulrich Drepper <drepper@redhat.com>
4871
4872 * malloc/malloc.c: Remove a few unnecessary initializers of global
4873 variables.
4874
4875 2000-12-09 H.J. Lu <hjl@gnu.org>
4876
4877 * nss/Makefile (routines): Add digits_dots.
4878 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
4879 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
4880 into a function.
4881 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
4882 function.
4883 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
4884 (TYPE_VAR_P): Likewise.
4885 (FLAGS_VAR): Likewise.
4886 (AF_VAR_P): Likewise.
4887 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
4888 instead of including digits_dots.c.
4889 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
4890 (TYPE_VAR_P): Likewise.
4891 (FLAGS_VAR): Likewise.
4892 (AF_VAR_P): Likewise.
4893 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
4894 instead of including digits_dots.c.
4895
4896 2001-01-21 Ulrich Drepper <drepper@redhat.com>
4897
4898 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
4899
4900 2001-01-21 Andreas Jaeger <aj@suse.de>
4901
4902 * elf/constload2.c: Add prototype for init.
4903
4904 2001-01-21 Ulrich Drepper <drepper@redhat.com>
4905
4906 * stdlib/stdlib.h (drand48_data): Make available only for
4907 __USE_MISC. Rename elements to protect namespace. Change type
4908 and position of a and init element.
4909 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
4910 differently. Adjust for drand48_data change. Don't compute a here,
4911 it comes from drand48_data.
4912 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
4913 differently. Adjust for drand48_data change. Compute a here.
4914 * stdlib/srand48_r.c: Likewise.
4915 * stdlib/drand48.c: Adjust for drand48_data change.
4916 * stdlib/lrand48.c: Likewise.
4917 * stdlib/mrand48.c: Likewise.
4918 * stdlib/seek48.c: Likewise.
4919 * stdlib/drand48_r.c: Likewise.
4920 * stdlib/lrand48_r.c: Likewise.
4921 * stdlib/mrand48_r.c: Likewise.
4922 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
4923 differently.
4924 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
4925 * stdlib/jrand48_r.c: Likewise.
4926
4927 * po/sv.po: Update from translation team.
4928
4929 2001-01-21 Andreas Jaeger <aj@suse.de>
4930
4931 * stdio-common/vfprintf.c (vfprintf): Add casts.
4932
4933 2001-01-20 Ulrich Drepper <drepper@redhat.com>
4934
4935 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
4936 the ASCII test.
4937 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
4938
4939 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
4940 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
4941 * iconvdata/ibm932.c: New file.
4942 * iconvdata/ibm932.h: New file.
4943 * iconvdata/ibm943.c: New file.
4944 * iconvdata/ibm943.h: New file.
4945 Patches by Masahide Washizawa <washi@jp.ibm.com>.
4946
4947 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
4948 preventing optimization from being done. Set the correct type bit
4949 in seen. Don't define and use _dl_base_addr unless
4950 NEED_DL_BASE_ADDR is defined.
4951
4952 * io/ftw.c (ftw_dir): Add slash after directory name if there
4953 wasn't any. Reported by loris <loris@iol.it>.
4954 * io/Makefile (tests): Add bug-ftw2.
4955 * io/bug-ftw2.c: New file.
4956
4957 2001-01-19 Ulrich Drepper <drepper@redhat.com>
4958
4959 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
4960 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
4961 * stdlib/tst-rand48.c: New file.
4962 * stdlib/Makefile (tests): Add tst-rand48.
4963
4964 * locale/newlocale.c (__newlocale): Fix test for setting all
4965 categories.
4966
4967 2001-01-19 Mark Kettenis <kettenis@gnu.org>
4968
4969 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
4970 but change looking up the initial directory port in a similar way
4971 as done by _hurd_change_directory_port_from_name.
4972 * hurd/fchroot.c (fchroot): Likewise.
4973
4974 2001-01-18 Ulrich Drepper <drepper@redhat.com>
4975
4976 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
4977 defined don't look whether the AT_*ID values were set.
4978 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
4979 (_dl_show_auxv): Rewrite to avoid switch statement.
4980 * sysdeps/unix/sysv/linux/kernel-features.h: Define
4981 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
4982 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
4983 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
4984
4985 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
4986 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4987 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4988
4989 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
4990 strtoul.
4991 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
4992 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
4993 anything.
4994 * dlfcn/eval.c (__strtol_internal): Define here.
4995 (eval): Use __strtol_internal instead of strtol.
4996
4997 * elf/elf.h: Add a few more EF_MIPS_* constants.
4998
4999 2001-01-17 Ulrich Drepper <drepper@redhat.com>
5000
5001 * manual/Makefile (chapters): Add debug.
5002 * manual/debug.texi: New file.
5003 * manual/examples/execinfo.c: New file.
5004 Patch by suckfish@ihug.co.nz.
5005
5006 2001-01-17 Andreas Schwab <schwab@suse.de>
5007
5008 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
5009 invalid asm.
5010
5011 2001-01-17 Andreas Jaeger <aj@suse.de>
5012
5013 * nscd/connections.c (nscd_run): Use proper format specifier.
5014
5015 2001-01-16 Ulrich Drepper <drepper@redhat.com>
5016
5017 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
5018 x86_platforms data into new file after prepending _dl_. Change
5019 users.
5020 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
5021 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
5022 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
5023 dl-procinfo.c.
5024
5025 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
5026
5027 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
5028 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
5029 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
5030 (_setjmp): Likewise.
5031 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
5032 * sysdeps/i386/bsd-setjmp.S: Real implementation.
5033 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
5034 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
5035 version.
5036
5037 2001-01-16 Andreas Jaeger <aj@suse.de>
5038
5039 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
5040 misapplied last patch.
5041
5042 2001-01-15 Ulrich Drepper <drepper@redhat.com>
5043
5044 * stdlib/random.c (__initstate): Clean up a cast.
5045 (__setstate): Likewise.
5046
5047 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
5048 syscall handling. The generic Linux version should work.
5049
5050 2001-01-15 Andreas Jaeger <aj@suse.de>
5051
5052 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
5053
5054 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
5055
5056 2001-01-14 Jakub Jelinek <jakub@redhat.com>
5057
5058 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
5059 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
5060 New functions.
5061 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
5062 If number is 0, list all.
5063 (services_keys): Likewise. Lookup aliases as well.
5064 (databases): New table.
5065 (build_doc): Prepare argp doc text with list of supported databases.
5066 (main): Change to table driven processing.
5067
5068 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
5069
5070 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
5071 functions.
5072
5073 2001-01-03 Jakub Jelinek <jakub@redhat.com>
5074
5075 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
5076 encode value which does not fit in the 32bit type.
5077
5078 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
5079
5080 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
5081 Change type of CTX to (struct sigcontext *).
5082 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
5083 (GET_FRAME): Likewise.
5084 (GET_STACK): Likewise.
5085 (SIGCONTEXT): Likewise. Add 2nd arg _code.
5086 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
5087
5088 2001-01-13 Ulrich Drepper <drepper@redhat.com>
5089
5090 * manual/texinfo.tex: Update from upstream version.
5091
5092 2001-01-13 Jakub Jelinek <jakub@redhat.com>
5093
5094 * inet/ether_ntoh.c (lookup_function): Change arguments to match
5095 _nss_*_getntohost_r prototype.
5096 (ether_ntohost): Pass errno pointer to NSS function.
5097
5098 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5099
5100 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
5101 (MAP_LOCKED): New definition.
5102 (MAP_NORESERVE): New definition.
5103
5104 2001-01-12 Ulrich Drepper <drepper@redhat.com>
5105
5106 * assert/assert.h: Use static_cast instead of C-style cast for C++.
5107 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
5108
5109 2001-01-12 Ben Collins <bcollins@debian.org>
5110
5111 * sysdeps/generic/segfault.c (install_handler): Use access, not
5112 __access.
5113
5114 2001-01-12 Andreas Jaeger <aj@suse.de>
5115
5116 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
5117 * posix/wordexp.c (do_parse_glob): Likewise.
5118 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
5119 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
5120 * elf/dl-open.c (_dl_open): Likewise.
5121 * elf/dl-close.c (_dl_close): Likewise.
5122 * elf/dl-load.c (_dl_map_object): Likewise.
5123 * iconv/iconv_prog.c (process_fd): Likewise.
5124 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
5125
5126 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
5127 of a zero-length array.
5128
5129 2001-01-11 Jakub Jelinek <jakub@redhat.com>
5130
5131 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
5132 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
5133 * stdlib/cxa_on_exit.c: Remove.
5134 * stdlib/Makefile: Revert last patch.
5135 * stdlib/Versions: Likewise.
5136 * include/stdlib.h: Likewise.
5137 * stdlib/exit.h: Revert last patch.
5138 (struct exit_function): Add second argument to cxa fn.
5139 * stdlib/exit.c: Revert last patch.
5140 (exit): Add hidden second argument.
5141
5142 2001-01-11 H.J. Lu <hjl@gnu.org>
5143
5144 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
5145 * elf/dl-open.c (_dl_open): Here.
5146 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
5147 Make it static.
5148 (_dl_static_init): Initialize the variables every time when possible.
5149 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
5150 Undefine it first.
5151
5152 2001-01-11 Ulrich Drepper <drepper@redhat.com>
5153
5154 * stdlib/Makefile (routines): Add cxa_on_exit.
5155 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
5156 * stdlib/cxa_on_exit.c: New file.
5157 * include/stdlib.h: Add prototype for __cxa_on_exit.
5158 * stdlib/exit.c: Handle ef_cxa2.
5159 * stdlib/exit.h (enum): Add ef_cxa2.
5160 (struct exit_function): Add cxa2.
5161
5162 * Versions.def [ld]: Add GLIBC_2.2.1.
5163
5164 2001-01-10 H.J. Lu <hjl@gnu.org>
5165
5166 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
5167 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
5168 dl-static.
5169 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
5170 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
5171 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
5172 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
5173 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
5174
5175 2001-01-11 Ulrich Drepper <drepper@redhat.com>
5176
5177 * libio/stdio.h: Remove definition of off_t.
5178
5179 2001-01-11 Andreas Jaeger <aj@suse.de>
5180
5181 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
5182 <mkuhn@acm.org>.
5183
5184 2001-01-10 Ulrich Drepper <drepper@redhat.com>
5185
5186 * sunrpc/Makefile (distribute): Add errqueue.h.
5187
5188 2001-01-10 H.J. Lu <hjl@gnu.org>
5189
5190 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
5191 r9, r10 and r11 for language specific registers.
5192
5193 2001-01-10 Jakub Jelinek <jakub@redhat.com>
5194
5195 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
5196 UDP socket.
5197 (clntudp_call): Handle MSG_ERRQUEUE.
5198 * sysdeps/generic/errqueue.h: New file.
5199 * sysdeps/unix/sysv/linux/errqueue.h: New file.
5200
5201 2001-01-10 H.J. Lu <hjl@gnu.org>
5202
5203 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
5204
5205 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
5206
5207 * CONFORMANCE: Update.
5208
5209 2001-01-09 Ulrich Drepper <drepper@redhat.com>
5210
5211 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
5212 Minimal cleanups. Add assert to ensure memory handling is correct.
5213
5214 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
5215 Reported by Ben Collins <bcollins@debian.org>.
5216
5217 * time/strftime.c (my_strftime): Mark previous GNU extensions
5218 which are now in C99 as such.
5219
5220 2001-01-08 Ulrich Drepper <drepper@redhat.com>
5221
5222 * elf/rtld.c (process_envvars): Place output files for profiling
5223 in SUID binaries in /var/profile.
5224
5225 * elf/dl-load.c (_dl_map_object): Don't look in cache for
5226 preloading in SUID binaries.
5227
5228 * elf/dl-profile.c (_dl_start_profile): Open the output file with
5229 O_NOFOLLOW if possible.
5230
5231 * include/stdlib.h: Add __posix_openpt declaration.
5232 * stdlib/stdlib.h: Add posix_openpt declaration.
5233 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
5234 * sysdeps/generic/getpt.c: Define posix_openpt.
5235 * sysdeps/unix/bsd/getpt.c: Likewise.
5236 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
5237
5238 * time/Makefile (tests): Add tst-mktime.
5239 * time/tst-mktime.c: New file.
5240
5241 * posix/tst-dir.c (main): One more mkdir() test.
5242
5243 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
5244 Remove getpagesize syscall. We assume that the pagesize is always
5245 determined from the auxiliary vector.
5246
5247 * intl/dcigettext.c: Fix a few warnings.
5248 Patch by Bruno Haible <haible@ilog.fr>.
5249
5250 2001-01-08 Andreas Jaeger <aj@suse.de>
5251
5252 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
5253 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
5254
5255 2001-01-08 Ulrich Drepper <drepper@redhat.com>
5256
5257 * sysdeps/generic/segfault.c (install_handler): Check output file
5258 name with access().
5259
5260 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
5261 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
5262
5263 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
5264
5265 * malloc/memusage.c (me): Use access() to determine whether we
5266 should write the output file or not.
5267
5268 * libio/bits/stdio.h (printf): Define macro to map printf call to
5269 fprintf which gcc can optimize.
5270 * stdio-common/printf.c: Undefine printf.
5271
5272 2001-01-07 Ulrich Drepper <drepper@redhat.com>
5273
5274 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
5275 patch. We must use unsigned int for l member of union.
5276
5277 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
5278 _dl_aux_init for shared libraries.
5279
5280 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
5281 * sysdeps/gnu/glob64.c: ...here. New file.
5282
5283 2001-01-07 Ben Collins <bcollins@debian.org>
5284
5285 * manual/examples/longopt.c: Make the "struct option" a little
5286 more like it should be, adding usage of required_argument,
5287 noargument and such, and also setting the options string right.
5288
5289 * manual/sysinfo.texi (Load Average): New section, documents
5290 getloadavg().
5291
5292 2001-01-06 Ulrich Drepper <drepper@redhat.com>
5293
5294 * version.h (VERSION): Bump to 2.2.1.
5295
5296 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
5297 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
5298 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
5299 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
5300 * Makefile (distribute): Add include/libc-internal.h.
5301 * libio/Makefile (distribute): Avoid overwriting.
5302
5303 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
5304 buffer and table handling.
5305
5306 2001-01-05 H.J. Lu <hjl@gnu.org>
5307
5308 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
5309 vector checking to ...
5310 (_dl_aux_init): Here. New function. Defined only if
5311 HAVE_AUX_VECTOR is defined.
5312
5313 * sysdeps/generic/libc-start.c (__libc_start_main): Call
5314 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
5315
5316 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
5317 _dl_aux_init.
5318
5319 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
5320 (HAVE_AUX_VECTOR): Defined.
5321 (_dl_aux_init): Declared.
5322
5323 2001-01-05 Ben Collins <bcollins@debian.org>
5324
5325 * manual/string.texi (Finding Tokens in a String): Document XPG
5326 basename() and dirname(), as well as GNU basename().
5327
5328 2001-01-05 Jakub Jelinek <jakub@redhat.com>
5329
5330 * Makeconfig (preprocess-version): Replace -traditional with
5331 -x assembler-with-cpp.
5332
5333 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
5334
5335 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
5336 for GCC 2.97 or later.
5337
5338 2001-01-05 Ben Collins <bcollins@debian.org>
5339
5340 * manual/stdio.texi (getline): Clarify the return value in the
5341 case of EOF being reached before a newline.
5342
5343 2001-01-04 Jakub Jelinek <jakub@redhat.com>
5344
5345 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
5346 FALSE otherwise.
5347 (pmap_set, pmap_unset): Check __get_myaddress return value.
5348
5349 2001-01-05 Mark Kettenis <kettenis@gnu.org>
5350
5351 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
5352 (struct ether_addr): Declare ether_addr_octet member as
5353 `u_int8_t'. Add __attribute__ ((__packed__)).
5354
5355 2001-01-06 Mark Kettenis <kettenis@gnu.org>
5356
5357 * sysdeps/mach/hurd/readdir64.c: New file.
5358 * sysdeps/mach/hurd/readdir64_r.c: New file.
5359
5360 2001-01-07 Mark Kettenis <kettenis@gnu.org>
5361
5362 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
5363 `struct statfs' and `struct statvfs' being identical.
5364 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
5365
5366 2001-01-06 Mark Kettenis <kettenis@gnu.org>
5367
5368 * sysdeps/mach/hurd/fstatfs64.c: New file.
5369 * sysdeps/mach/hurd/fstatvfs64.c: New file.
5370 * sysdeps/mach/hurd/statfs64.c: New file.
5371 * sysdeps/mach/hurd/statvfs64.c: New file.
5372 * sysdeps/mach/hurd/statfsconv.c: New file.
5373 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
5374
5375 2001-01-06 Ulrich Drepper <drepper@redhat.com>
5376
5377 * iconv/skeleton.c: Reset outbuf for next round of the loop.
5378 Reported by Owen Taylor <otaylor@redhat.com>.
5379 * iconv/Makefile (tests): Add tst-iconv3.
5380 * iconv/tst-iconv3.c: New file.
5381
5382 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
5383 * iconvdata/ibm933.c: Likewise.
5384 * iconvdata/ibm935.c: Likewise.
5385 * iconvdata/ibm937.c: Likewise.
5386 * iconvdata/ibm939.c: Likewise.
5387 * iconvdata/ibm930.h: Adjust single byte table for optimization.
5388 * iconvdata/ibm933.h: Likewise.
5389 * iconvdata/ibm935.h: Likewise.
5390 * iconvdata/ibm939.h: Likewise.
5391
5392 * iconvdata/testdata/IBM930: Add misssing SI.
5393 * iconvdata/testdata/IBM933: Likewise.
5394 * iconvdata/testdata/IBM935: Likewise.
5395 * iconvdata/testdata/IBM937: Likewise.
5396 * iconvdata/testdata/IBM939: Likewise.
5397
5398 2001-01-06 Andreas Jaeger <aj@suse.de>
5399
5400 * configure.in: Check for old add-ons that shouldn't be used with
5401 current glibc anymore.
5402
5403 2001-01-06 Mark Kettenis <kettenis@gnu.org>
5404
5405 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
5406 instead of -1 on failure. Don't forget to copy file name into
5407 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
5408 of the directory.
5409
5410 2001-01-06 Mark Kettenis <kettenis@gnu.org>
5411
5412 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
5413 copy st_atime member.
5414
5415 2001-01-05 Ulrich Drepper <drepper@redhat.com>
5416
5417 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
5418 for searches from the root directory.
5419 Reported by loris <loris@iol.it> [PR libc/1991].
5420 * io/Makefile (tests): Add bug-ftw1.
5421 * io/bug-ftw1.c: New file.
5422
5423 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
5424 if it is not available. Instead use it only if it is available.
5425 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
5426
5427 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
5428 overflowing output buffer.
5429 (internal_ucs4_loop_unaligned): Likewise.
5430 (ucs4_internal_loop): Likewise.
5431 (ucs4_internal_loop_unaligned): Likewise.
5432 (internal_ucs4le_loop): Likewise.
5433 (internal_ucs4le_loop_unaligned): Likewise.
5434 (ucs4le_internal_loop): Likewise.
5435 (ucs4le_internal_loop_unaligned): Likewise.
5436 Reported by Owen Taylor <otaylor@redhat.com>.
5437 * iconv/Makefile (tests): Add tst-iconv2.
5438 * iconv/tst-iconv2.c: New file.
5439
5440 2001-01-04 H.J. Lu <hjl@gnu.org>
5441
5442 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
5443 (_dl_clktck): Declared.
5444 (non_dynamic_init): Take 3 arguments.
5445 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
5446
5447 2001-01-01 Bruno Haible <haible@clisp.cons.org>
5448
5449 Finish implementation of plural form handling.
5450 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
5451 'domainname'. Remove 'plindex' field. Add 'domain' and
5452 'translation_length' fields.
5453 (transcmp): Don't compare 'plindex' fields.
5454 (plural_lookup): New function.
5455 (DCIGETTEXT): Change cache handing in the plural case. Don't call
5456 plural_eval before the translation and its catalog file have been
5457 found. Remove plindex from cache key. Add 'translation_length' and
5458 'domain' to cache result.
5459 (_nl_find_msg): Remove index argument, return length of translation
5460 to the caller instead. Weaken comparison of string lengths, to account
5461 for plural entries. Call iconv() on the entire result string, not
5462 only on the portion needed so far.
5463 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
5464 argument.
5465 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
5466
5467 2001-01-04 Ulrich Drepper <drepper@redhat.com>
5468
5469 * intl/plural.y (yylex): Minimal improvement in number scanner.
5470
5471 2000-07-31 Bruno Haible <haible@clisp.cons.org>
5472
5473 * intl/plural.y: Include config.h. Needed to define 'inline' away for
5474 C compilers that don't support it.
5475 (yylex): Don't use gcc specific case range syntax.
5476 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
5477 compilers.
5478
5479 2000-10-12 Bruno Haible <haible@clisp.cons.org>
5480
5481 * intl/finddomain.c: Remove unneeded includes.
5482
5483 2000-10-12 Bruno Haible <haible@clisp.cons.org>
5484
5485 * intl/localealias.c (memcpy): Return first argument, just like the
5486 real memcpy function does.
5487 * intl/bindtextdom.c (memcpy): Likewise.
5488 * intl/finddomain.c (memcpy): Likewise.
5489 * intl/l10nflist.c (memcpy): Likewise.
5490 * intl/textdomain.c (memcpy): Likewise.
5491 From Paul Eggert <eggert@twinsun.com>.
5492
5493 2001-01-03 Jakub Jelinek <jakub@redhat.com>
5494
5495 * resolv/resolv.h (struct __res_state): Add nsinit field.
5496 * resolv/res_send.c (res_nsend): Use it instead of nscount.
5497 * resolv/res_init.c (__res_vinit): Initialize it.
5498 (res_nclose): Clear it instead of nscount.
5499
5500 2001-01-04 Ulrich Drepper <drepper@redhat.com>
5501
5502 * malloc/mtrace.pl: Fix matching of addresses.
5503 Patch by Aharon Robbins <arnold@skeeve.com>.
5504
5505 * Versions.def (ld): Add GLIBC_2.2.
5506
5507 * catgets/gencat.c: Copyright 2001.
5508 * csu/version.c: Likewise.
5509 * debug/catchsegv.sh: Likewise.
5510 * debug/xtrace.sh: Likewise.
5511 * elf/ldconfig.c: Likewise.
5512 * elf/sprof.c: Likewise.
5513 * iconv/iconv_prog.c: Likewise.
5514 * locale/locale.c: Likewise.
5515 * locale/localedef.c: Likewise.
5516 * malloc/memusage.sh: Likewise.
5517 * malloc/mtrace.pl: Likewise.
5518 * nscd/nscd.c: Likewise.
5519 * posix/getconf.c: Likewise.
5520
5521 2001-01-04 Mark Kettenis <kettenis@gnu.org>
5522
5523 * include/stdio.h: Only provide __getwc_unlocked prototype if
5524 USE_IN_LIBIO is defined.
5525
5526 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5527
5528 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
5529 handling.
5530
5531 2001-01-03 Andreas Schwab <schwab@suse.de>
5532
5533 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
5534 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
5535
5536 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
5537 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
5538 strtoull alias.
5539 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
5540 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
5541 wcstoull alias.
5542
5543 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
5544 directory.
5545 * sysdeps/generic/strtol_l.c: Likewise.
5546 * sysdeps/generic/strtoul_l.c: Likewise.
5547 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
5548
5549 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
5550 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
5551 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
5552 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
5553
5554 2001-01-04 Andreas Jaeger <aj@suse.de>
5555
5556 * nss/nsswitch.c: Include files for missing prototypes, remove
5557 buggy declaration of prototypes.
5558
5559 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5560
5561 * resolv/Versions: Fix bracing.
5562 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5563 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
5564
5565 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5566
5567 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
5568
5569 2001-01-02 Ulrich Drepper <drepper@redhat.com>
5570
5571 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
5572 Suggested by Minko Markov <mmarkov@home.com>.
5573
5574 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5575
5576 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
5577 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
5578 the failing symbol.
5579 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
5580
5581 2001-01-02 Ben Collins <bcollins@debian.org>
5582
5583 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
5584 if TZ is not set and TZDEFAULT is not present.
5585
5586 2001-01-01 Ben Collins <bcollins@debian.org>
5587
5588 * string/strings.h: Make sure we declare our functions even if
5589 string.h is already included, based on whether or not __USE_BSD is
5590 defined.
5591
5592 2001-01-02 Ulrich Drepper <drepper@redhat.com>
5593
5594 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
5595 other dlopen() and dlsym().
5596 Based on a patch by Ben Collins <bcollins@debian.org>.
5597
5598 2001-01-02 Andreas Jaeger <aj@suse.de>
5599
5600 * dlfcn/errmsg1.c (main): Call dlerror initially.
5601 Reported by Ben Collins <bcollins@debian.org>.
5602
5603 2001-01-02 Ulrich Drepper <drepper@redhat.com>
5604
5605 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
5606 value is ignored if the selected locale is the C locale.
5607 * intl/tst-gettext.c: Set locale for above change.
5608 * intl/tst-translit.c: Likewise.
5609
5610 2001-01-02 Andreas Jaeger <aj@suse.de>
5611
5612 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
5613 (_IO_switch_to_wget_mode): Likewise.
5614 (_IO_sputbackwc): Likewise.
5615 (_IO_sungetwc): Use wint_t for result.
5616
5617 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
5618
5619 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
5620 signedness.
5621
5622 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
5623 to (int) to avoid warnings.
5624 * stdio-common/printf_fp.c (putc): Likewise.
5625 * stdio-common/printf_size.c (putc): Likewise.
5626
5627 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
5628 constant unsigned.
5629
5630 2001-01-01 Andreas Jaeger <aj@suse.de>
5631
5632 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
5633
5634 2000-12-31 Andreas Jaeger <aj@suse.de>
5635
5636 * include/libc-internal.h: Add prototype for __libc_freeres.
5637
5638 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
5639 for prototypes, remove redundant prototypes.
5640 * gmon/gmon.c: Likewise.
5641 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
5642 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
5643 * malloc/mtrace.c: Likewise.
5644
5645 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
5646 prototypes.
5647 * elf/soinit.c: Likewise.
5648 * sysdeps/generic/prof-freq.c: Likewise.
5649 * sysdeps/mach/hurd/profil.c: Likewise.
5650 * debug/noophooks.c: Likewise.
5651 * debug/pcprofile.c: Likewise.
5652 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5653 * sysdeps/generic/get_clockfreq.c: Likewise.
5654 * malloc/set-freeres.c: Likewise.
5655
5656 * locale/localeinfo.h: Add internal prototypes.
5657
5658 * elf/rtld.c (dl_main): Fix prototype.
5659
5660 * iconvdata/tst-table-to.c (main): Use return instead of exit to
5661 avoid warning.
5662
5663 * nis/rpcsvc/yp_prot.h: Remove __P.
5664 * nis/rpcsvc/ypupd.h: Likewise.
5665 * nis/rpcsvc/yp.h: Likewise.
5666
5667 * sunrpc/rpc_main.c: Add noreturn attributes.
5668 * sunrpc/rpc_scan.h: Likewise.
5669
5670 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
5671
5672 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
5673
5674 * sunrpc/proto.h: Add noreturn attributes to error and crash.
5675
5676 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
5677
5678 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
5679
5680 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
5681
5682 * include/rpc/rpc_msg.h: Add prototypes for some functions.
5683 * include/rpc/auth.h: Likewise.
5684 * include/rpc/auth_des.h: Likewise.
5685 * include/rpc/clnt.h: Likewise.
5686 * include/rpc/rpc.h: Likewise.
5687 * include/rpc/svc.h: Likewise.
5688 * include/rpc/svc_auth.h: Likewise.
5689
5690 * include/rpc/des_crypt.h: New file.
5691
5692 * malloc/memusagestat.c (main): Use return instead of exit to
5693 avoid warning.
5694 * io/pwd.c (main): Likewise.
5695 * iconvdata/tst-table-from.c (main): Likewise.
5696 * ctype/test_ctype.c (main): Likewise.
5697 * setjmp/tst-setjmp.c (main): Likewise.
5698 * signal/tst-signal.c (main): Likewise.
5699 * stdlib/tst-strtol.c (main): Likewise.
5700 * stdlib/tst-strtod.c (main): Likewise.
5701 * stdlib/tst-strtoll.c (main): Likewise.
5702 * stdlib/tst-xpg-basename.c (main): Likewise.
5703 * dirent/tst-seekdir.c (main): Likewise.
5704 * grp/testgrp.c (main): Likewise.
5705 * inet/test_ifindex.c (main): Likewise.
5706 * io/test-utime.c (main): Likewise.
5707 * posix/test-vfork.c (main): Likewise.
5708 * posix/testfnm.c (main): Likewise.
5709 * stdio-common/temptest.c (main): Likewise.
5710 * stdio-common/test_rdwr.c (main): Likewise.
5711 * stdio-common/tst-fileno.c (main): Likewise.
5712 * stdio-common/tst-sscanf.c (main): Likewise.
5713 * stdio-common/tstscanf.c (main): Likewise.
5714 * string/bug-strncat1.c (main): Likewise.
5715 * string/bug-strpbrk1.c (main): Likewise.
5716 * string/bug-strspn1.c (main): Likewise.
5717 * string/test-ffs.c (main): Likewise.
5718 * string/tst-inlcall.c (main): Likewise.
5719 * string/tst-svc.c (main): Likewise.
5720 * timezone/test-tz.c (main): Likewise.
5721 * wctype/test_wcfuncs.c (main): Likewise.
5722 * wctype/test_wctype.c (main): Likewise.
5723
5724 * stdlib/tst-random.c: Add attribute noreturn to fail.
5725
5726 2000-12-28 Wolfram Gloger <wg@malloc.de>
5727
5728 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
5729 destination overlap. Assume dest is always below source if
5730 overlapping.
5731
5732 2000-12-30 Ulrich Drepper <drepper@redhat.com>
5733
5734 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
5735 object was not yet initialized.
5736
5737 2000-12-28 H.J. Lu <hjl@gnu.org>
5738
5739 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
5740 is always consistent even if its dependency is failed.
5741
5742 * elf/dl-open.c (_dl_open): Increment the open count before
5743 calling _dl_close () in case of failure.
5744
5745 * elf/neededtest4.c: New file.
5746 * elf/neededobj5.c: New file.
5747 * elf/neededobj6.c: New file.
5748
5749 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
5750 (tests): Add neededtest4.
5751 (modules-names): Add neededobj5 and neededobj6.
5752 ($(objpfx)neededobj6.so): New target.
5753 ($(objpfx)neededtest4): New target.
5754 ($(objpfx)neededtest4.out): New target.
5755
5756 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
5757
5758 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
5759 * stdlib/monetary.h: Add strfmon format attributes.
5760
5761 2000-12-28 Roland McGrath <roland@frob.com>
5762
5763 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
5764 __mempcpy does it for us.
5765
5766 2000-12-28 Andreas Jaeger <aj@suse.de>
5767
5768 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
5769
5770 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
5771 __new_setrlimit.
5772
5773 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
5774 __old_getrlimit64.
5775
5776 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
5777 __new_getrlimit.
5778
5779 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
5780 __chown_is_lchown and __real_chown.
5781
5782 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
5783 _dl_reloc_bad_type.
5784
5785 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
5786 up GCC's warning about "deprecated use of label at end of compound
5787 statement."
5788 * sunrpc/rpc_cout.c (emit_inline): Likewise.
5789
5790 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
5791 prototypes.
5792 Remove struct bb and __bb_head since those are declared by
5793 sys/gmon.h.
5794
5795 2000-12-22 Ben Collins <bcollins@debian.org>
5796
5797 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
5798
5799 * manual/argp.texi: Document argp_domain as part of struct argp.
5800
5801 2000-12-28 Andreas Jaeger <aj@suse.de>
5802
5803 * catgets/Makefile (generated): Add sample.SJIS.cat.
5804
5805 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
5806
5807 * elf/dl-minimal.c: Add prototypes.
5808
5809 * include/locale.h: Add internal prototypes.
5810 * include/sys/gmon.h: Likewise.
5811
5812 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
5813
5814 2000-12-27 Ben Collins <bcollins@debian.org>
5815
5816 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
5817 when reallocating the error strings.
5818 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
5819
5820 2000-12-27 Ulrich Drepper <drepper@redhat.com>
5821
5822 * dlfcn/Makefile (tests): Add errmsg1.
5823 (modules-names): Add errmsg1mod.
5824 Add rules to run errmsg1.
5825 * dlfcn/errmsg1.c: New file.
5826 * dlfcn/errmsg1mod.c: New file.
5827
5828 * dlfcn/dlerror.c (dlerror): Always create output string which
5829 includes object file name.
5830
5831 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
5832 if we would go through it only once.
5833 Patch by Rick Gorton <rick.gorton@api-networks.com>.
5834
5835 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
5836 Patch by Richard Henderson <rth@redhat.com>.
5837
5838 2000-12-27 Jakub Jelinek <jakub@redhat.com>
5839
5840 * malloc/malloc.c (memmove): Add prototypes.
5841 (MALLOC_MEMMOVE): Define.
5842 (chunk_realloc): Use it instead of MALLOC_COPY if source and
5843 destination might overlap.
5844
5845 2000-12-27 Andreas Jaeger <aj@suse.de>
5846
5847 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
5848 function.
5849 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5850 * locale/programs/locale.c (show_locale_vars): Likewise.
5851 (show_info): Likewise.
5852 * locale/programs/ld-collate.c (collate_output): Likewise.
5853 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
5854 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5855 * stdlib/rpmatch.c (rpmatch): Likewise.
5856
5857 * setjmp/tst-setjmp.c: Make local functions static.
5858 * setjmp/jmpbug.c: Likewise.
5859 * signal/tst-signal.c: Likewise.
5860 * stdio-common/tfformat.c: Likewise.
5861 * string/tst-svc.c: Likewise.
5862 * time/clocktest.c: Likewise.
5863 * time/tst-getdate.c: Likewise.
5864 * dirent/list.c: Likewise.
5865 * dirent/opendir-tst1.c: Likewise.
5866 * posix/runtests.c: Likewise.
5867 * posix/tst-getaddrinfo.c: Likewise.
5868 * posix/tst-chmod.c: Likewise.
5869 * posix/wordexp-test.c: Likewise.
5870 * misc/tst-efgcvt.c: Likewise.
5871 * timezone/tst-timezone.c: Likewise.
5872 * rt/tst-clock.c: Likewise.
5873 * rt/tst-shm.c: Likewise.
5874 * rt/tst-aio2.c: Likewise.
5875 * rt/tst-aio3.c: Likewise.
5876 * rt/tst-aio4.c: Likewise.
5877 * rt/tst-aio5.c: Likewise.
5878
5879 * dlfcn/failtest.c: Add prototype for foo.
5880
5881 * dlfcn/glrefmain.c: Add prototype for do_test.
5882
5883 * dlfcn/tst-dladdr.c: Add prototype for do_test.
5884
5885 * string/test-ffs.c (main): Add prototype for nested function.
5886
5887 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
5888
5889 * nss/XXX-lookup.c: Add prototype to shut up GCC.
5890
5891 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
5892 setetherent prototype.
5893 Add internal interfaces.
5894
5895 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
5896 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
5897
5898 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
5899
5900 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
5901
5902 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
5903 prototypes, remove struct etherent since it's declared in ether.h.
5904 Fix ntohost declaration.
5905
5906 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
5907
5908 * include/getopt.h: Add internal interfaces.
5909 * include/termios.h: Likewise.
5910 * include/resolv.h: Likewise.
5911 * include/netdb.h: Likewise.
5912 * include/grp.h: Likewise.
5913 * include/pwd.h: Likewise.
5914 * include/shadow.h: Likewise.
5915 * include/rpc/netdb.h: Likewise.
5916 * include/setjmp.h: Likewise.
5917
5918 * include/stdio.h: Add prototypes for compatibility functions.
5919 * include/grp.h: Likewise.
5920 * include/pwd.h: Likewise.
5921 * include/shadow.h: Likewise.
5922
5923 * include/fenv.h: Define internal interfaces.
5924
5925 2000-12-27 Ulrich Drepper <drepper@redhat.com>
5926
5927 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
5928 argument case separately.
5929 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
5930
5931 2000-12-27 Andreas Jaeger <aj@suse.de>
5932
5933 * include/sys/wait.h: Add some prototypes.
5934 * Rules (dummy.c): Create also prototype to shut up GCC.
5935
5936 2000-12-27 Andreas Jaeger <aj@suse.de>
5937
5938 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
5939 it's not needed at the moment.
5940 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
5941 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
5942
5943 2000-12-26 Andreas Jaeger <aj@suse.de>
5944
5945 * libio/getc_u.c: Include stdio.h via system path to get internal
5946 prototypes.
5947 * libio/getwc_u.c: Likewise.
5948
5949 * stdlib/strfmon.c: Fix prototype of __printf_fp.
5950
5951 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
5952 __printf_fp prototypes to ...
5953 * include/printf.h: ...here.
5954
5955 * include/stdio.h: Add some internal prototypes to shut up GCC.
5956 * include/stdlib.h: Likewise.
5957
5958 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
5959 declaration.
5960
5961 * include/signal.h: Add prototypes for internal sigpause
5962 interfaces.
5963
5964 2000-12-26 Ulrich Drepper <drepper@redhat.com>
5965
5966 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
5967 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
5968
5969 * string/Makefile (tests): Add tst-bswap.
5970 * string/tst-bswap.c: New file.
5971
5972 2000-12-11 Bruno Haible <haible@clisp.cons.org>
5973
5974 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
5975
5976 2000-12-26 Ulrich Drepper <drepper@redhat.com>
5977
5978 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
5979 Patch by Ed Connell <Ed.Connell@sas.com>.
5980
5981 2000-12-24 Ulrich Drepper <drepper@redhat.com>
5982
5983 * locale/iso-639.def: Correct one entry. Add two missing entries.
5984
5985 * locale/iso-4217.def: Change entry for Eritrea.
5986 Reported by Daniel Yacob <yacob@geez.org>.
5987
5988 2000-12-23 Ben Collins <bcollins@debian.org>
5989
5990 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
5991 description.
5992
5993 * manual/stdio.texi (Dynamic Output): Document the return value of
5994 asprintf. Also make the asprintf/snprintf examples a little
5995 better (check for some error returns).
5996
5997 2000-12-22 Andreas Jaeger <aj@suse.de>
5998
5999 * include/stdio.h: Add __ftrylockfile prototype.
6000
6001 2000-12-21 H.J. Lu <hjl@gnu.org>
6002
6003 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
6004 Make sign_exponent element signed.
6005
6006 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
6007 Fix a typo.
6008
6009 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
6010
6011 2000-12-21 Andreas Jaeger <aj@suse.de>
6012
6013 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
6014 * inet/ether_hton.c: Likewise
6015 * inet/ether_ntoh.c: Likewise.
6016
6017 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
6018 declaration to match prototype.
6019
6020 * include/netinet/ether.h (struct etherent): Declare here so that
6021 all implementations use the same struct.
6022
6023 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
6024 prototypes.
6025 (struct ether): Removed.
6026 Use struct etherent instead of ether everywhere.
6027
6028 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
6029
6030 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
6031
6032 * sunrpc/publickey.c: Include auth_des.h for prototypes.
6033
6034 2000-12-20 Ulrich Drepper <drepper@redhat.com>
6035
6036 * math/test-misc.c: Add more tests for nextafter functions.
6037
6038 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
6039 normal correctly. Correct test for sign.
6040 Based on a patch by HJ Lu.
6041
6042 2000-12-19 Ulrich Drepper <drepper@redhat.com>
6043
6044 * Makeconfig (preprocess-version): Add -traditional to gcc call.
6045 Cleanup sed calls.
6046
6047 2000-12-19 Andreas Jaeger <aj@suse.de>
6048
6049 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
6050
6051 * nis/nis_intern.h: Add prototype for __do_niscall3.
6052
6053 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
6054 match prototype.
6055
6056 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
6057
6058 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
6059
6060 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
6061
6062 2000-12-18 Ulrich Drepper <drepper@redhat.com>
6063
6064 * math/test-misc.c: Add more tests for nextafter.
6065 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
6066 * sysdeps/ieee754/ldbl-96/math_ldbl.h
6067 (ieee_long_double_shape_type): Make sign_exponent element signed.
6068
6069 * manual/message.texi: Add Estonian to plural overview list.
6070 Correct rule for Slavic languages.
6071 Patch by Stanislav Brabec <utx@penguin.cz>.
6072
6073 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
6074
6075 2000-12-18 Andreas Jaeger <aj@suse.de>
6076
6077 * test-skeleton.c: Use temp_name_list instead of name_list to
6078 avoid collision with name_list from inet/netgroup.h.
6079
6080 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
6081
6082 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
6083 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
6084 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
6085 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
6086
6087 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
6088 declaration to match prototype.
6089 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
6090 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
6091 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
6092 Likewise.
6093 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
6094 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
6095 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
6096 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
6097 (_nss_nis_getservbyport_r): Likewise.
6098 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
6099 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
6100 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
6101 (_nss_nis_setnetent): Likewise
6102 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6103 (_nss_nis_endnetgrent): Likewise.
6104 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
6105 Likewise.
6106 (_nss_nisplus_setnetgrent): Likewise.
6107 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
6108 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
6109 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
6110 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
6111 Likewise.
6112 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
6113 Likewise.
6114 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
6115 Likewise.
6116 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
6117 Likewise.
6118 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
6119 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
6120 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
6121 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6122 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
6123 (_nss_dns_getnetbyaddr_r): Likewise.
6124
6125 2000-12-17 Andreas Jaeger <aj@suse.de>
6126
6127 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
6128 parameter.
6129
6130 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
6131 unused attribute to shut up gcc warnings.
6132
6133 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
6134 * sysdeps/generic/k_tanl.c: Likewise.
6135 * sysdeps/generic/k_cosl.c: Likewise.
6136 * sysdeps/generic/e_j0l.c: Likewise.
6137 * sysdeps/generic/e_j1l.c: Likewise.
6138 * sysdeps/generic/e_jnl.c: Likewise.
6139 * sysdeps/generic/e_lgammal_r.c: Likewise.
6140
6141 * elf/vismain.c: Move prototypes for functions in vismod*.c to
6142 vismod.h.
6143 * elf/vismod.h: New file.
6144 * elf/Makefile (distribute): Add vismod.h.
6145 * elf/vismod1.c: Include vismod.h.
6146 * elf/vismod2.c: Likewise.
6147 * elf/vismod3.c: Likewise.
6148
6149 * elf/constload3.c: Add prototype declarations to shut up gcc.
6150 * elf/failobj.c: Likewise.
6151 * elf/nodelmod3.c: Likewise.
6152 * elf/filtmod1.c: Likewise.
6153 * elf/filtmod2.c: Likewise.
6154 * elf/reldepmod1.c: Likewise.
6155 * elf/reldepmod2.c: Likewise.
6156 * elf/reldepmod3.c: Likewise.
6157 * elf/reldepmod4.c: Likewise.
6158 * elf/unload2dep.c: Likewise.
6159 * elf/unload2mod.c: Likewise.
6160 * elf/ltglobmod1.c: Likewise.
6161 * elf/pathoptobj.c: Likewise.
6162 * elf/neededobj1.c: Likewise.
6163 * elf/neededobj2.c: Likewise.
6164 * elf/neededobj3.c: Likewise.
6165 * elf/neededobj4.c: Likewise.
6166 * elf/nextmod1.c: Likewise.
6167 * elf/nextmod2.c: Likewise.
6168
6169 * locale/programs/ld-collate.c (collate_finish): Don't use labels
6170 at end of compound statement.
6171 * locale/programs/locale.c (show_info): Likewise.
6172 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6173
6174 2000-12-16 Jakub Jelinek <jakub@redhat.com>
6175
6176 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
6177 with a pointer not returned by obstack_ functions.
6178
6179 2000-12-16 Ulrich Drepper <drepper@redhat.com>
6180
6181 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
6182 version.
6183 (struct stat64): Likewise.
6184 Reported by Michael Keezer <mkeezer@redhat.com>.
6185
6186 * timezone/asia: Update from tzdata2000h.
6187 * timezone/australasia: Likewise.
6188 * timezone/backward: Likewise.
6189 * timezone/europe: Likewise.
6190 * timezone/northamerica: Likewise.
6191 * timezone/southamerica: Likewise.
6192 * timezone/zone.tab: Likewise.
6193
6194 2000-12-14 Jakub Jelinek <jakub@redhat.com>
6195
6196 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
6197 and dir.stream is NULL, only free dir.content.
6198 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
6199 * io/ftwtest-sh: Test with --early-exit.
6200
6201 2000-12-13 Jakub Jelinek <jakub@redhat.com>
6202
6203 * misc/efgcvt.c (FCVT_MAXDIG): Define.
6204 (FCVT_BUFPTR): New variable.
6205 (fcvt): If fcvt_r returns -1 on the static short buffer,
6206 try to malloc a sufficiently large one and retry.
6207 (free_mem): New function.
6208 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
6209 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
6210
6211 2000-12-15 Ulrich Drepper <drepper@redhat.com>
6212
6213 * misc/dirname.c (dirname): Fix search for second to last slash.
6214
6215 2000-12-13 Andreas Jaeger <aj@suse.de>
6216
6217 * misc/tst-dirname.c (main): Fix typo in test to really use
6218 the examples from Unix98.
6219 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
6220
6221 2000-12-09 H.J. Lu <hjl@gnu.org>
6222
6223 * sysdeps/ia64/fpu/s_fabs.S: New file.
6224 * sysdeps/ia64/fpu/s_fabsf.S: New file.
6225 * sysdeps/ia64/fpu/s_fabsl.S: New file.
6226
6227 2000-12-15 Andreas Jaeger <aj@suse.de>
6228
6229 * stdio-common/scanf9.c (main): Reformat and change to avoid
6230 warnings.
6231
6232 * stdio-common/tstdiomisc.c: Make local functions static.
6233 * stdio-common/tst-printf.c: Likewise.
6234
6235 * elf/constload2.c: Add prototype declarations to shut up gcc.
6236 * elf/dep1.c: Likewise.
6237 * elf/dep2.c: Likewise.
6238 * elf/dep3.c: Likewise.
6239 * elf/dep4.c: Likewise.
6240 * elf/ltglobmod2.c: Likewise.
6241
6242 * libio/fmemopen.c: Make local functions static.
6243
6244 * elf/Makefile (distribute): Added testobj.h.
6245
6246 * elf/testobj.h: New file.
6247
6248 * elf/testobj1.c: Include testobj.h and move prototype
6249 declarations to testobj.h.
6250 * elf/testobj2.c: Likewise.
6251 * elf/testobj3.c: Likewise.
6252 * elf/testobj4.c: Likewise.
6253 * elf/testobj5.c: Likewise.
6254 * elf/testobj6.c: Likewise.
6255 * elf/testobj1_1.c: Likewise.
6256 * elf/preloadtest.c: Likewise.
6257
6258 2000-12-15 Ben Collins <bcollins@debian.org>
6259
6260 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
6261 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
6262
6263 2000-12-14 H.J. Lu <hjl@gnu.org>
6264
6265 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
6266 field in a float is 8 bits, not 11 bits.
6267
6268 2000-12-13 Jakub Jelinek <jakub@redhat.com>
6269
6270 * math/test-misc.c (main): Adjust m for IEEE quad long double.
6271
6272 2000-12-13 Andreas Jaeger <aj@suse.de>
6273
6274 * manual/message.texi (Using gettextized software): Fix typo.
6275
6276 * manual/charset.texi (Converting a Character): Fix mbstouwcs
6277 program to compile.
6278 Patch by Martin Buchholz <martin@xemacs.org>.
6279
6280 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
6281 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
6282
6283 2000-12-11 Andreas Jaeger <aj@suse.de>
6284
6285 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
6286 kernel_sigset_t and use it.
6287 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
6288
6289 2000-12-10 Richard Henderson <rth@redhat.com>
6290
6291 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
6292 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
6293 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
6294
6295 2000-12-10 Jakub Jelinek <jakub@redhat.com>
6296
6297 * sysdeps/alpha/htonl.S: Fix a typo.
6298
6299 2000-12-10 Jakub Jelinek <jakub@redhat.com>
6300
6301 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
6302
6303 2000-12-10 Andreas Jaeger <aj@suse.de>
6304
6305 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
6306 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
6307 Drepper <drepper@redhat.com>.
6308
6309 2000-12-09 Andreas Jaeger <aj@suse.de>
6310
6311 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
6312
6313 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
6314 generic version.
6315 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
6316
6317 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
6318 string.
6319
6320 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
6321 format string.
6322
6323 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
6324 * nscd/connections.c (handle_request): Likewise.
6325 * nscd/pwdcache.c (addpwbyname): Likewise.
6326 * nscd/grpcache.c (addgrbyname): Likewise.
6327
6328 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
6329
6330 2000-12-09 Ulrich Drepper <drepper@redhat.com>
6331
6332 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
6333
6334 * Makeconfig (default_cflags): Make -O2 the default for stable
6335 releases.
6336
6337 2000-12-08 H.J. Lu <hjl@gnu.org>
6338
6339 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
6340 * sysdeps/ia64/fpu/s_isinf.S: This.
6341 Add a .pred.rel.mutex note to avoid false report.
6342
6343 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
6344 * sysdeps/ia64/fpu/s_isnan.S: This.
6345
6346 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
6347 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
6348 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
6349 * sysdeps/ia64/fpu/s_isinff.S: New file.
6350 * sysdeps/ia64/fpu/s_isinfl.S: New file.
6351 * sysdeps/ia64/fpu/s_isnanf.S: New file.
6352 * sysdeps/ia64/fpu/s_isnanl.S: New file.
6353 * sysdeps/ia64/fpu/s_finite.S: New file.
6354 * sysdeps/ia64/fpu/s_finitef.S: New file.
6355 * sysdeps/ia64/fpu/s_finitel.S: New file.
6356 * sysdeps/ia64/fpu/s_signbit.S: New file.
6357 * sysdeps/ia64/fpu/s_signbitf.S: New file.
6358 * sysdeps/ia64/fpu/s_signbitl.S: New file.
6359 * sysdeps/ia64/fpu/s_copysign.S: New file.
6360 * sysdeps/ia64/fpu/s_copysignf.S: New file.
6361 * sysdeps/ia64/fpu/s_copysignl.S: New file.
6362
6363 2000-12-08 Ulrich Drepper <drepper@redhat.com>
6364
6365 * math/libm-test.inc (main): Fix typos in messages.
6366
6367 * string/stratcliff.c: Add test for rawmemchr.
6368
6369 2000-12-08 Jakub Jelinek <jakub@redhat.com>
6370
6371 * elf/dl-open.c (_dl_open): If objname points right after errstring,
6372 allocate it together with errstring using alloca.
6373 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
6374 to "", because it might point to local stack.
6375
6376 2000-12-05 H.J. Lu <hjl@gnu.org>
6377
6378 * nss/Makefile (routines): Add getnssent and getnssent_r.
6379 * nss/nsswitch.h (__nss_setent): New internal NSS function.
6380 (__nss_endent): Likewise.
6381 (__nss_getent_r): Likewise.
6382 (__nss_getent): Likewise.
6383 * nss/getnssent_r.c: New file.
6384 * nss/getnssent.c: New file.
6385 * nss/getXXent.c (H_ERRNO_VAR): Updated.
6386 (GETFUNC_NAME): Updated to call __nss_getent ().
6387 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
6388 (STAYOPEN_TMPVAR): Updated.
6389 (STAYOPEN_VAR): Updated.
6390 (SETFUNC_NAME): Updated to call __nss_setent ().
6391 (ENDFUNC_NAME): Updated to call __nss_endent ().
6392 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
6393
6394 2000-12-08 Andreas Jaeger <aj@suse.de>
6395
6396 * nscd/dbg_log.h (dbg_log): Correct attribute.
6397
6398 2000-12-08 Jakub Jelinek <jakub@redhat.com>
6399
6400 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
6401 cp + len. Compute where from dirname.
6402 Reported by <jreiser@BitWagon.com>.
6403
6404 2000-12-08 Richard Henderson <rth@twiddle.net>
6405
6406 * sysdeps/alpha/_mcount.S: Fix typo.
6407 * sysdeps/alpha/strncpy.S: Likewise.
6408
6409 * sysdeps/alpha/alphaev6/Implies: New file.
6410 * sysdeps/alpha/alphaev67/Implies: New file.
6411 * sysdeps/alpha/alphaev67/ffs.S: New file.
6412 * sysdeps/alpha/alphaev67/ffsll.S: New file.
6413 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
6414 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
6415 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
6416 * sysdeps/alpha/rawmemchr.S: New file.
6417 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
6418 * sysdeps/alpha/strcpy.S: Likewise.
6419
6420 From GMP 3.1.1:
6421 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
6422
6423 From rick.gorton@alpha-processor.com:
6424 * sysdeps/alpha/alphaev6/memchr.S: New file.
6425 * sysdeps/alpha/alphaev6/memcpy.S: New file.
6426 * sysdeps/alpha/alphaev6/memset.S: New file.
6427 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
6428 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
6429 * sysdeps/alpha/alphaev67/strcat.S: New file.
6430 * sysdeps/alpha/alphaev67/strchr.S: New file.
6431 * sysdeps/alpha/alphaev67/strlen.S: New file.
6432 * sysdeps/alpha/alphaev67/strncat.S: New file.
6433 * sysdeps/alpha/htonl.S: Use a shorter sequence.
6434
6435 2000-12-08 Jakub Jelinek <jakub@redhat.com>
6436
6437 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
6438 Reported by <pspencer@fields.utoronto.ca>.
6439
6440 2000-12-07 Jes Sorensen <jes@linuxcare.com>
6441
6442 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
6443 Pointed out by Hans Boehm.
6444
6445 2000-12-07 H.J. Lu <hjl@gnu.org>
6446
6447 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
6448
6449 2000-12-07 Andreas Jaeger <aj@suse.de>
6450
6451 * misc/error.c: Add format attributes for __error and __error_at_line.
6452
6453 * nscd/dbg_log.h: Add format attribute.
6454
6455 2000-12-08 Ulrich Drepper <drepper@redhat.com>
6456
6457 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
6458 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
6459
6460 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
6461
6462 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
6463
6464 2000-12-06 Ulrich Drepper <drepper@redhat.com>
6465
6466 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
6467 (sysdep_routines): Add uitrunc.
6468 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
6469 Patches by Michael Keezer <mkeezer@redhat.com>.
6470
6471 2000-12-06 Roland McGrath <roland@frob.com>
6472
6473 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
6474 argument data, since it will be used to copy out too (for INOUT).
6475 Reported by Marcus Brinkmann <marcus@gnu.org>.
6476
6477 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
6478 (__ioctl): Use uintptr_t instead of unsigned long int.
6479
6480 2000-12-06 Jim Wilson <wilson@redhat.com>
6481
6482 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
6483
6484 2000-12-06 Ulrich Drepper <drepper@redhat.com>
6485
6486 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
6487 x.5 rounding correctly.
6488
6489 2000-12-06 Mark Kettenis <kettenis@gnu.org>
6490
6491 * stdio-common/perror.c (perror): Conditionalize code dealing with
6492 wide-oriented streams on USE_IN_LIBIO.
6493
6494 2000-12-06 Mark Kettenis <kettenis@gnu.org>
6495
6496 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
6497 as internal_function.
6498
6499 2000-12-05 Ulrich Drepper <drepper@redhat.com>
6500
6501 * sysdeps/alpha/elf/start.S (__data_start): Define.
6502
6503 2000-12-05 H.J. Lu <hjl@gnu.org>
6504
6505 * nss/getXXent_r.c (setup): Change the return type to int.
6506
6507 2000-12-05 Ulrich Drepper <drepper@redhat.com>
6508
6509 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
6510 (sysdep_routines): Add restf and savef.
6511 * sysdeps/unix/sysv/aix/restf.c: New file.
6512 * sysdeps/unix/sysv/aix/savef.c: New file.
6513 Patches by Michael Keezer <mkeezer@redhat.com>.
6514
6515 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
6516 if O_DIRECTORY is not defined.
6517 Patch by Michael Keezer <mkeezer@redhat.com>.
6518
6519 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
6520 Patch by Michael Keezer <mkeezer@redhat.com>.
6521
6522 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
6523 than 4 bytes in escape sequence.
6524 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6525
6526 2000-12-05 Andreas Jaeger <aj@suse.de>
6527
6528 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
6529 set mips2.
6530
6531 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
6532
6533 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
6534
6535 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
6536 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6537
6538 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
6539 internal_function.
6540 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
6541 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
6542
6543 * sysdeps/generic/dl-cache.c: Remove declaration of
6544 _dl_sysdep_read_whole_file.
6545
6546 * elf/dl-load.c (_dl_map_object): Remove declaration of
6547 _dl_load_cache_lookup.
6548
6549 * sysdeps/generic/ldsodefs.h: Add declarations of
6550 _dl_load_cache_lookup, _dl_unload_cache,
6551 _dl_sysdep_read_whole_file, _dl_sysdep_start and
6552 _dl_sysdep_start_cleanup.
6553
6554 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
6555 now.
6556
6557 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
6558 * sysdeps/generic/dl-environ.c: Likewise.
6559
6560 * stdio-common/printf_fp.c: Include <gmp.h> instead of
6561 <stdlib/gmp.h>.
6562 * math/atest-exp.c: Likewise.
6563 * math/atest-exp2.c: Likewise.
6564 * math/atest-sincos.c: Likewise.
6565 * stdio-common/_itoa.c: Likewise.
6566 * stdio-common/_itowa.c: Likewise.
6567
6568 * include/gmp.h: New file with internal prototypes.
6569
6570 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
6571 here to...
6572 * include/setjmp.h: ...here.
6573
6574 * locale/Makefile (routines): Remove codeset_name since it's not
6575 needed anywhere.
6576
6577 * locale/codeset_name.c: Removed.
6578
6579 2000-12-05 Ulrich Drepper <drepper@redhat.com>
6580
6581 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
6582
6583 2000-12-05 Andreas Jaeger <aj@suse.de>
6584
6585 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
6586
6587 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
6588
6589 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
6590 available.
6591
6592 2000-12-05 Andreas Jaeger <aj@suse.de>
6593
6594 * nss/test-netdb.c: Mark local functions as static to avoid
6595 warnings.
6596 (main): Use return to silence warning.
6597
6598 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
6599
6600 * stdio-common/test-popen.c: Mark local functions as static to
6601 avoid warnings.
6602 (main): Use return to silence warning.
6603
6604 * stdlib/testsort.c (compare): Mark as static to avoid warning.
6605
6606 * assert/test-assert.c: Mark local functions as static to avoid
6607 warnings.
6608 * assert/test-assert-perr.c: Likewise.
6609
6610 * math/libm-test.inc (main): Use return to silence warnings.
6611
6612 2000-12-04 Ulrich Drepper <drepper@redhat.com>
6613
6614 * math/fenv.h: Fix typo in comment.
6615
6616 * math/test-misc.c (main): Add a few more over and underflow tests
6617 for scalb.
6618
6619 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
6620 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6621 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6622 * math/w_scalb.c: Don't use matherr except in SVID mode.
6623 * math/w_scalbf.c: Likewise.
6624 * math/w_scalbl.c: Likewise.
6625 * math/test-misc.c: Add test for NaN and scalbl.
6626 Reported by Fred J. Tydeman <tydeman@tybor.com>.
6627
6628 2000-12-04 Ulrich Drepper <drepper@redhat.com>
6629
6630 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
6631 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
6632 * include/libc-symbols.h (strong_alias): Define special version
6633 for HAVE_ASM_GLOBAL_DOT_NAME.
6634 (weak_alias): Likewise.
6635 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
6636 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
6637 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
6638 getutxline, pututxline, and utmpxname.
6639 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
6640 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
6641 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
6642 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
6643 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
6644 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
6645 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
6646 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
6647 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
6648 Patches by Michael Keezer <mkeezer@redhat.com>.
6649
6650 2000-12-04 H.J. Lu <hjl@gnu.org>
6651
6652 * configure.in: Change --with-oldest-abi=ABI to
6653 --enable-oldest-abi=ABI.
6654
6655 2000-12-02 Bruno Haible <haible@clisp.cons.org>
6656
6657 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
6658 fwprintf instead of fprintf.
6659
6660 2000-12-04 Ulrich Drepper <drepper@redhat.com>
6661
6662 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
6663 DECIMAL_DIG definitions.
6664 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
6665 * sysdeps/generic/bits/mathdef.h: Likewise
6666 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
6667 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
6668 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
6669 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
6670 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
6671 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
6672
6673 2000-12-03 Ulrich Drepper <drepper@redhat.com>
6674
6675 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
6676
6677 * math/atest-exp.c: Mark local functions as static to avoid warnings.
6678 * math/atest-exp2.c: Likewise.
6679 * math/atest-sincos.c: Likewise.
6680
6681 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
6682 Reported by Fred J. Tydeman <tydeman@tybor.com>.
6683
6684 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
6685 the handling of denormalized numbers.
6686
6687 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
6688 numbers on x86.
6689 * sysdeps/i386/fpu/fpclassifyl.c: New file.
6690
6691 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
6692 pseudo denormal representation of LDBL_MIN.
6693
6694 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
6695 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
6696
6697 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
6698 * iconvdata/jis0208.c: Likewise.
6699 * iconvdata/jis0212.c: Likewise.
6700 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6701
6702 * math/test-misc.c (main): More tests for frexp and some for
6703 fpclassify and isnormal.
6704
6705 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
6706 test for subnormal.
6707 Reported by Fred J. Tydeman <tydeman@tybor.com>.
6708
6709 * math/test-misc.c (main): Add tests for frexp.
6710 Reported by Fred J. Tydeman <tydeman@tybor.com>.
6711 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
6712
6713 2000-12-02 H.J. Lu <hjl@gnu.org>
6714
6715 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
6716 '\0' to wcschr.
6717
6718 2000-12-02 Ulrich Drepper <drepper@redhat.com>
6719
6720 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
6721 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6722 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6723
6724 * sysdeps/generic/glob.c: Adjust types of several variables to
6725 avoid warnings.
6726
6727 2000-12-01 Ulrich Drepper <drepper@redhat.com>
6728
6729 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
6730
6731 2000-11-30 Roland McGrath <roland@frob.com>
6732
6733 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
6734 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
6735 allow multiple instances using the same function name in one file.
6736
6737 2000-12-01 Ulrich Drepper <drepper@redhat.com>
6738
6739 * configure.in: Correct test for pserver CVS access.
6740
6741 2000-11-28 H.J. Lu <hjl@gnu.org>
6742
6743 * libio/libio.h: Remove extra "#if ... #endif".
6744
6745 2000-11-29 H.J. Lu <hjl@gnu.org>
6746
6747 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
6748
6749 2000-12-01 H.J. Lu <hjl@gnu.org>
6750
6751 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
6752 * nss/getXXent_r.c: Likewise.
6753 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6754
6755 2000-11-30 H.J. Lu <hjl@gnu.org>
6756
6757 * scripts/abi-versions.awk (oldest_abi): New variable.
6758 Handle the oldest ABI supported.
6759
6760 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
6761 for scripts/abi-versions.awk.
6762
6763 * configure.in: Add --with-oldest-abi=ABI.
6764 * configure: Rebuild.
6765
6766 * config.make.in (oldest-abi): New.
6767
6768 * config.h.in (GLIBC_OLDEST_ABI): New.
6769
6770 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
6771
6772 2000-11-30 Jakub Jelinek <jakub@redhat.com>
6773
6774 * locale/setlocale.c (setname): Free for all categories, not just
6775 LC_ALL.
6776 (setlocale): Store a copy of string passed by user, not the string
6777 itself.
6778
6779 2000-11-30 Roland McGrath <roland@frob.com>
6780
6781 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
6782 rather than _hurd_fd_subinit, so it happens after it's safe to use
6783 libc facilities like malloc.
6784
6785 2000-11-28 Andreas Jaeger <aj@suse.de>
6786
6787 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
6788 declaration, adjust declaration of __syscall_getdents to match
6789 kernel.
6790
6791 2000-11-29 H.J. Lu <hjl@gnu.org>
6792
6793 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
6794
6795 2000-11-29 Andreas Jaeger <aj@suse.de>
6796
6797 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
6798
6799 2000-11-28 Ulrich Drepper <drepper@redhat.com>
6800
6801 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
6802 * dlfcn/defaultmod2.c: Likewise.
6803 * dlfcn/dlopen.c: Likewise.
6804 * dlfcn/dlopenold.c: Likewise.
6805 * dlfcn/failtestmod.c: Likewise.
6806 * dlfcn/glreflib1.c: Likewise.
6807 * dlfcn/glreflib2.c: Likewise.
6808 * dlfcn/eval.c: Likewise. Add attributes.
6809
6810 * ctype/ctype-extn.c: Define isblank and not __isblank.
6811
6812 * time/strftime.c: Add const where necessary to avoid warnings.
6813 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
6814
6815 2000-11-22 Paul Eggert <eggert@twinsun.com>
6816
6817 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
6818 size of (size_t) -1; it's not portable.
6819
6820 2000-11-28 Ulrich Drepper <drepper@redhat.com>
6821
6822 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
6823 crappy i486 FPU.
6824 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
6825
6826 2000-11-14 Jes Sorensen <jes@linuxcare.com>
6827
6828 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
6829
6830 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
6831 _mcount is required by profiled binaries.
6832
6833 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
6834 * sysdeps/ia64/machine-gmon.h: ...here.
6835
6836 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
6837
6838 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
6839 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
6840 and ibm1129.h.
6841 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
6842 IBM1129.
6843 * iconvdata/ibm922.c: New file.
6844 * iconvdata/ibm922.h: New file.
6845 * iconvdata/ibm1124.c: New file.
6846 * iconvdata/ibm1124.h: New file.
6847 * iconvdata/ibm1129.c: New file.
6848 * iconvdata/ibm1129.h: New file.
6849 * iconvdata/testdata/IBM922: New file.
6850 * iconvdata/testdata/IBM922..UTF8: New file.
6851 * iconvdata/testdata/IBM1124: New file.
6852 * iconvdata/testdata/IBM1124..UTF8: New file.
6853 * iconvdata/testdata/IBM1129: New file.
6854 * iconvdata/testdata/IBM1129..UTF8: New file.
6855
6856 2000-11-28 Ulrich Drepper <drepper@redhat.com>
6857
6858 * catgets/gencat.c (normalize_line): Take extra parameter with escape
6859 character. Change callers.
6860 (open_conversion): Determine mapping of 0x5c as wchar_t value.
6861 * catgets/Makefile: Add rules to build and run test-gencat.
6862 * catgets/sample.SJIS: New file.
6863 * catgets/test-gencat.c: New file.
6864 * catgets/test-gencat.sh: New file.
6865 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6866
6867 2000-11-28 Andreas Jaeger <aj@suse.de>
6868
6869 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
6870 Linux version.
6871
6872 2000-11-28 Ulrich Drepper <drepper@redhat.com>
6873
6874 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
6875
6876 2000-11-28 Andreas Jaeger <aj@suse.de>
6877
6878 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
6879 __flexarr.
6880 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
6881 Likewise.
6882
6883 2000-11-27 Ulrich Drepper <drepper@redhat.com>
6884
6885 * misc/getusershell.c: Make strings in okshells array const.
6886 * misc/regexp.c: Add const to cast to avoid warnings.
6887 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
6888 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
6889 __setresuid.
6890 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
6891 setresgid.
6892 * misc/error.c: Add prototypes for __error and __error_at_line.
6893 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
6894 statement to avoid warning.
6895 * test-skeleton.c: Mark timeout_handler with noreturn.
6896 * iconv/skeleton.c (get16u): Add const to cast.
6897 (get32u): Likewise.
6898 * iconvdata/gb18030.c: Likewise.
6899 * iconvdata/iso-2022-cn-ext.c: Likewise.
6900 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
6901 * iconvdata/big5.c: Likewise.
6902 * iconvdata/big5hkscs.c: Likewise.
6903 * iconvdata/iso_6937.c: Likewise.
6904 * iconvdata/iso_6937-2.c: Likewise.
6905 * iconvdata/t.61.c: Likewise.
6906 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
6907 * iconvdata/unicode.c: Likewise.
6908 * iconvdata/utf-16.c: Likewise.
6909 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
6910 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
6911 with little code shuffling.
6912
6913 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
6914 the problems introduced when the user selects -O3.
6915
6916 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
6917 * misc/sys/cdefs.h: Define __flexarr.
6918 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
6919
6920 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
6921 * iconv/skeleton.c: Likewise.
6922 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
6923 * iconv/loop.c (get16): Add const to cast.
6924 (get32): Likewise.
6925
6926 2000-11-27 Andreas Jaeger <aj@suse.de>
6927
6928 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
6929 to avoid warning.
6930 * login/programs/utmpdump.c (print_entry): Likewise.
6931
6932 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
6933
6934 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
6935 in a single asm as they may be used to access other stored
6936 registers.
6937 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
6938
6939 2000-11-27 Andreas Jaeger <aj@suse.de>
6940
6941 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
6942 * rt/tst-aio64.c: Likewise.
6943
6944 2000-11-27 Ulrich Drepper <drepper@redhat.com>
6945
6946 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
6947 for gencat run.
6948 (libc.cat): Likewise.
6949 * catgets/gencat.c: Implement handling of message catalogs encoded
6950 with stateful character sets.
6951 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6952
6953 2000-11-26 Ulrich Drepper <drepper@redhat.com>
6954
6955 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
6956
6957 * inet/getnameinfo.c: Adjust casts to avoid warnings.
6958 * inet/rcmd.c: Likewise.
6959 * inet/ruserpass.c: Likewise.
6960 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
6961 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6962 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
6963 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
6964 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
6965 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
6966 * include/aliases.h: Add prototypes for internal __getalias* functions.
6967 * include/netdb.h: Add prototypes for __old_gethostent_r,
6968 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
6969 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
6970 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
6971 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
6972 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
6973 __old_getrpcbynumber_r, __old_getrpcent_r.
6974
6975 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
6976 __getrpcent_r prototypes.
6977
6978 2000-11-25 Ulrich Drepper <drepper@redhat.com>
6979
6980 * string/strcoll.c: Add casts to avoid warnings.
6981 * string/strnlen.c: Likewise.
6982 * string/strxfrm.c: Likewise.
6983 * sysdeps/generic/_strerror.c: Likewise.
6984 * sysdeps/generic/memrchr.c: Likewise.
6985 * sysdeps/generic/strcasestr.c: Likewise.
6986 * sysdeps/generic/strstr.c: Likewise.
6987
6988 * locale/weight.h (findidx): Add const to cast to avoid warning.
6989
6990 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
6991 * elf/loadtest.c: Likewise.
6992 * elf/multiload.c: Likewise.
6993 * elf/next.c: Likewise.
6994 * elf/nodelete.c: Likewise.
6995 * elf/noload.c: Likewise.
6996 * elf/order.c: Likewise.
6997 * elf/origtest.c: Likewise.
6998 * elf/preloadtest.c: Likewise.
6999 * elf/restest1.c: Likewise.
7000
7001 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
7002 parameter of asm must be in %ecx.
7003
7004 * string/tester.c: Mark test functions as static to avoid warnings.
7005
7006 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
7007 preserve value over different gconv-modules files.
7008
7009 2000-11-24 Ulrich Drepper <drepper@redhat.com>
7010
7011 * locale/findlocale.c: Add casts to avoid warnings.
7012 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
7013 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
7014 to avoid warnings.
7015 * misc/tsearch.c (const_node): New type.
7016 (trecurse): Correct casts to avoid warnings.
7017 (__twalk): Likewise.
7018 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
7019 LONG_BIT.
7020
7021 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
7022
7023 * test-skeleton.c: Mark local functions as static to avoid warnings.
7024
7025 2000-11-23 H.J. Lu <hjl@gnu.org>
7026
7027 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
7028 support the background job.
7029 Fix a typo.
7030
7031 2000-11-24 Ulrich Drepper <drepper@redhat.com>
7032
7033 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
7034 has same names but lower cost.
7035
7036 2000-11-23 Jakub Jelinek <jakub@redhat.com>
7037
7038 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
7039 which never occur during bootstrap.
7040 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7041
7042 2000-11-23 Andreas Jaeger <aj@suse.de>
7043
7044 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
7045
7046 * nss/Versions: Remove _nss_files_getipnodebyname_r.
7047
7048 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
7049
7050 2000-11-18 Martin Buchholz <martin@xemacs.org>
7051
7052 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
7053 (called++) return;'
7054
7055 2000-11-21 Alan Modra <alan@linuxcare.com.au>
7056
7057 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
7058
7059 * csu/abi-note.S: Correct comment for operating system number.
7060
7061 2000-11-22 Ulrich Drepper <drepper@redhat.com>
7062
7063 * Versions.def: Add GLIBC_2.2.1 for glibc.
7064
7065 2000-11-22 Andreas Schwab <schwab@suse.de>
7066
7067 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
7068 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
7069
7070 2000-11-22 Ulrich Drepper <drepper@redhat.com>
7071
7072 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
7073 absolute time for pthread_cond_timedwait call.
7074 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
7075
7076 * rt/Makefile (tests): Add tst-aio6.
7077 * rt/tst-aio6.c: New file.
7078
7079 2000-11-23 Andreas Jaeger <aj@suse.de>
7080
7081 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
7082
7083 2000-11-22 Andreas Jaeger <aj@suse.de>
7084
7085 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
7086
7087 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
7088
7089 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
7090
7091 2000-11-21 Andreas Schwab <schwab@suse.de>
7092
7093 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
7094 * sysdeps/arm/setjmp.S: Likewise.
7095 * sysdeps/arm/fpu/setjmp.S: Likewise.
7096 * sysdeps/i386/setjmp.S: Likewise.
7097 * sysdeps/i386/elf/setjmp.S: Likewise.
7098 * sysdeps/s390/setjmp.S: Likewise.
7099 * sysdeps/s390/elf/setjmp.S: Likewise.
7100 * sysdeps/sh/sh3/setjmp.S: Likewise.
7101 * sysdeps/sh/sh4/setjmp.S: Likewise.
7102 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
7103 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7104 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
7105 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
7106
7107 2000-11-21 Andreas Jaeger <aj@suse.de>
7108
7109 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
7110 NORETURN, fix parameter list.
7111
7112 * string/bug-strncat1.c (main): Fix typo.
7113 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
7114
7115 2000-11-20 Ulrich Drepper <drepper@redhat.com>
7116
7117 * configure.in: Add --enable-all-warnings.
7118 * config.make.in (all-warnings): New variable.
7119 * Makeconfig (+gccwarn): Define with many more warnings if
7120 all-warnings is yes.
7121
7122 2000-11-20 Jakub Jelinek <jakub@redhat.com>
7123
7124 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
7125 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
7126 * malloc/tst-valloc.c (main): Cast valloc return value to long.
7127 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
7128 * math/test-fpucw.c (main): Use %lx in format string, cast
7129 control words to long.
7130 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
7131 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
7132 large that it is unsigned warning.
7133
7134 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
7135 it to long on sparc64.
7136
7137 2000-11-20 Andreas Jaeger <aj@suse.de>
7138
7139 * nscd/nscd.h (termination_handler): Add noreturn attribute.
7140 (receiv_print_stats): Likewise.
7141
7142 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
7143
7144 2000-11-20 Ulrich Drepper <drepper@redhat.com>
7145
7146 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
7147
7148 * csu/gmon-start.c: Always have prototype for __gmon_start.
7149 * csu/version.c: Add prototypes for __libc_print_version and
7150 __libc_main.
7151 * iconv/gconv.c: Include gconv_int.h and gconv.h.
7152 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
7153 and __to_name.
7154 * iconv/gconv_builtin.h: Add ASCII module definitions.
7155 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
7156 (add_module): Add cast to avoid warning. Rework construction of
7157 strings for new module.
7158 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
7159 (derivation_compare): Likewise.
7160 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
7161 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
7162 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
7163 (struct gconv_alias): Remove const from fromname and toname.
7164 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
7165 for loop functions.
7166 (internal_ucs4_loop): Use correct const-ness.
7167 (ucs4_internal_loop): Likewise.
7168 (internal_ucs4le_loop): Likewise.
7169 (ucs4le_internal_loop_single): Likewise.
7170 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
7171 to_idx, to_tbl, winbuf, winbufend const. Change casts in
7172 assignments appropriately.
7173 (struct known_trans): Remove const from fname.
7174 (trans_compare): Make s1 and s2 const.
7175 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
7176 avoid warning.
7177 * iconv/skeleton.c: Remove cast in calls of loop functions.
7178 * iconvdata/gconv-modules: Remove US-ASCII definitions.
7179 * iconvdata/iso646.c: Remove US_ASCII support.
7180 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
7181 * include/unistd.h: Add __libc_check_standard_fds prototype.
7182 * string/bits/string2.h (__mempcpy_args): Add const to casts.
7183 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
7184 _fini.
7185 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
7186 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
7187 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
7188 warning.
7189 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
7190 __libc_init_first and _dl_start.
7191 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
7192 (DCIGETTEXT): Make domaindata variable const.
7193 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
7194 to avoid warning.
7195
7196 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
7197
7198 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
7199
7200 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
7201 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
7202 __unused? members.
7203
7204 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
7205 value defined in /usr/include/asm-mips/fcntl.h.
7206
7207 2000-11-18 Ulrich Drepper <drepper@redhat.com>
7208
7209 * stdio-common/Makefile (tests): Add test-vfprintf.
7210 (test-vfprintf-ENV): New variable.
7211 * stdio-common/test-vfprintf.c: New file.
7212
7213 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
7214
7215 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
7216 (tst-mbrtowc-ENV): New variable.
7217 (tst-wcrtomb-ENV): New variable.
7218 * wcsmbs/tst-mbrtowc.c: New file.
7219 * wcsmbs/tst-wcrtomb.c: New file.
7220
7221 2000-11-16 Andreas Jaeger <aj@suse.de>
7222
7223 * manual/install.texi (Tools for Compilation): Update
7224 documentation for GCC 2.95.2.
7225
7226 2000-11-18 Ulrich Drepper <drepper@redhat.com>
7227
7228 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
7229 if IPv4 and IPv6 requests timed out.
7230
7231 2000-11-18 Akim Demaille <akim@epita.fr>
7232
7233 * malloc/obstack.h: Formatting changes.
7234 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
7235 prevents type checking.
7236 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
7237 cast the value to (void *): assigning a `foo *' to a `void *'
7238 variable is valid.
7239 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
7240
7241 2000-11-17 Ulrich Drepper <drepper@redhat.com>
7242
7243 * scripts/config.guess: Update from upstream maintainer.
7244 * scripts/config.sub: Likewise.
7245
7246 2000-11-16 Ulrich Drepper <drepper@redhat.com>
7247
7248 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
7249 * libio/freopen64.c (freopen64): Likewise.
7250 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7251
7252 * libio/Makefile: Add rules to build and run test-freopen.
7253 * libio/test-freopen.c: New file.
7254 * libio/test-freopen.sh: New file.
7255
7256 2000-11-15 H.J. Lu <hjl@gnu.org>
7257
7258 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
7259 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
7260 (DL_DT_FINI_ADDRESS): Likewise.
7261
7262 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
7263 return type to ElfW(Addr).
7264 (_dl_function_address): New prototype.
7265 (DL_FUNCTION_ADDRESS): Defined.
7266 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
7267 (DL_DT_FINI_ADDRESS): Likewise.
7268
7269 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
7270
7271 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
7272 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
7273
7274 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
7275 (_dl_function_address): This.
7276
7277 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
7278 function pointer for DT_FINI.
7279 * elf/dl-close.c (_dl_close): Likewise.
7280
7281 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
7282 function pointer for DT_INIT.
7283
7284 2000-11-16 Jakub Jelinek <jakub@redhat.com>
7285
7286 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
7287 end of wexpbuf buffer.
7288
7289 2000-11-16 Andreas Jaeger <aj@suse.de>
7290
7291 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
7292 definition of F_GETLK, F_SETLK, F_SETLKW.
7293
7294 2000-11-16 Andreas Jaeger <aj@suse.de>
7295
7296 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
7297 it's not defined.
7298
7299 2000-11-15 Jakub Jelinek <jakub@redhat.com>
7300
7301 * dlfcn/default.c (main): Add test for dladdr of main returning
7302 argv[0] in dli_fname field.
7303
7304 2000-11-15 Jakub Jelinek <jakub@redhat.com>
7305
7306 * Makeconfig (run-program-prefix): Move test-static test into the
7307 variable.
7308
7309 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
7310 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
7311 schedule instructions.
7312 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
7313 schedule instructions, fix a bug in copying auxiliary data.
7314
7315 2000-11-15 Ulrich Drepper <drepper@redhat.com>
7316
7317 * manual/startup.texi (Program Arguments): Fix type of main's envp
7318 parameter.
7319 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
7320
7321 * iconvdata/gconv-modules: Add CP950 alias.
7322
7323 2000-11-13 Jakub Jelinek <jakub@redhat.com>
7324
7325 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
7326 syscall-list.h goal.
7327 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
7328
7329 2000-11-15 Ulrich Drepper <drepper@redhat.com>
7330
7331 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
7332
7333 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
7334 output of program.
7335
7336 * intl/tst-gettext2.c: Set C locale if setting other locale
7337 failed. Use gettext() not _().
7338
7339 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
7340 successfully loaded a new locale.
7341
7342 2000-11-13 Andreas Jaeger <aj@suse.de>
7343
7344 * configure.in: Require gcc 2.95 or newer.
7345
7346 2000-11-15 Ulrich Drepper <drepper@redhat.com>
7347
7348 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
7349 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
7350
7351 2000-11-11 Jim Meyering <meyering@lucent.com>
7352
7353 * string/strndup.c (strndup): Cast return value to `char *'.
7354
7355 2000-11-15 Jim Meyering <meyering@ascend.com>
7356
7357 * sysdeps/generic/memchr.c: Remove some useless parentheses.
7358 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
7359 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
7360 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
7361 Also #undef __memchr.
7362 Use `weak_alias' only if it's defined.
7363
7364 2000-11-10 H.J. Lu <hjl@gnu.org>
7365
7366 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
7367
7368 2000-11-15 Andreas Jaeger <aj@suse.de>
7369
7370 * elf/chroot_canon.c: Include <stdint.h>.
7371
7372 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
7373 (print_entry): Likewise.
7374 (add_to_cache): Likewise.
7375
7376 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
7377
7378 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
7379 (path_hwcap): Likewise.
7380 (search_dir): Likewise.
7381
7382 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
7383
7384 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
7385
7386 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
7387 (_dl_platform_string): New.
7388 (_DL_HWCAP_PLATFORM): New.
7389 (_dl_string_platform): New.
7390 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
7391
7392 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7393 (_dl_string_platform): New.
7394 (_DL_HWCAP_PLATFORM): New.
7395 (_dl_platform_string): New.
7396
7397 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
7398 recognition.
7399 (_DL_HWCAP_COUNT): New.
7400 (_dl_string_platform): New.
7401 (_DL_HWCAP_PLATFORM): New.
7402 (_dl_platform_string): New.
7403
7404 2000-11-14 Ulrich Drepper <drepper@redhat.com>
7405
7406 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
7407
7408 2000-11-14 Andreas Jaeger <aj@suse.de>
7409
7410 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
7411
7412 2000-11-13 Roland McGrath <roland@frob.com>
7413
7414 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
7415
7416 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
7417
7418 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
7419 underrun and make sure the result is null terminated even if there
7420 is no trailing newline.
7421
7422 2000-11-13 Jakub Jelinek <jakub@redhat.com>
7423
7424 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7425
7426 2000-11-10 H.J. Lu <hjl@gnu.org>
7427
7428 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
7429
7430 2000-11-10 Andreas Jaeger <aj@suse.de>
7431
7432 * elf/ldconfig.c (create_links): Fix alloca calculation.
7433 Patch by Ben Collins <bcollins@debian.org>.
7434
7435 2000-11-09 Ulrich Drepper <drepper@redhat.com>
7436
7437 * inet/getnameinfo.c (getnameinfo): Use correct destination
7438 parameter for if_indextoname.
7439 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
7440
7441 2000-11-09 H.J. Lu <hjl@gnu.org>
7442
7443 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
7444 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
7445 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
7446 xdr_keystatus.
7447
7448 * time/Versions (GLIBC_2.1): Move getitimer to...
7449 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
7450
7451 2000-11-03 Bruno Haible <haible@clisp.cons.org>
7452
7453 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
7454 "make install", to work around a binary incompatibility between
7455 glibc 2.1 and glibc 2.2 gconv modules.
7456
7457 2000-11-09 Ulrich Drepper <drepper@redhat.com>
7458
7459 * intl/locale.alias: Add thai.
7460 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
7461
7462 2000-11-07 Akim Demaille <akim@epita.fr>
7463
7464 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
7465 argument `data' for consistency with the prototypes.
7466 Qualify it `const'.
7467 (obstack_copy, obstack_copy0): Rename the second argument as
7468 `address' for consistency. Qualify it `const'.
7469 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
7470 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
7471 `const' their input argument (`data' or `address').
7472 Adjust the corresponding macros to include `const' in casts.
7473
7474 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7475
7476 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
7477 target family.
7478
7479 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7480
7481 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
7482 socket creation.
7483
7484 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7485
7486 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
7487 ai_protocol by internal table if service was not given.
7488
7489 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7490
7491 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
7492 numerical port was specified with protocol without socktype.
7493
7494 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7495
7496 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
7497
7498 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7499
7500 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
7501
7502 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7503
7504 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
7505 sin6_scope_id field.
7506
7507 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7508
7509 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
7510
7511 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7512
7513 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
7514
7515 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7516
7517 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
7518 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
7519
7520 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
7521
7522 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
7523 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
7524
7525 2000-11-09 H.J. Lu <hjl@gnu.org>
7526
7527 * io/Versions (GLIBC_2.1.1): Remove lockf64.
7528
7529
7530 See ChangeLog.11 for earlier changes.
This page took 0.349401 seconds and 6 git commands to generate.