]> sourceware.org Git - glibc.git/blob - ChangeLog
Update.
[glibc.git] / ChangeLog
1 2000-02-24 Geoff Clare <gwc@unisoft.com>
2
3 * posix/wordexp-test.c: Updated to include tests for all the
4 problems fixed by the last changes to wordexp.c.
5
6 2000-02-24 Ulrich Drepper <drepper@redhat.com>
7
8 * posix/sys/wait.h: Handle definitions duplicated in stdlib.h
9 correctly.
10 * stdlib/stdlib.h: Handle definition of wait macros correctly.
11
12 * posix/sys/wait.h: Add missing #endif.
13
14 * stdlib/stdlib.h (setstate): Don't mark argument as const (yet).
15 * stdlib/random_r.c: Change parameter types for initstate_t and
16 setstate_r.
17 * include/stdlib.h: Change parameter types for __initstate_t and
18 __setstate_r.
19
20 2000-02-24 Andreas Jaeger <aj@suse.de>
21
22 * include/stdlib.h: Fix prototypes of __initstate and __setstate.
23
24 * manual/time.texi (Precision Time): Fix typo.
25 Patch by John Tobey <jtobey@ne.mediaone.net>, PR libc/1576.
26
27 2000-02-24 Ulrich Drepper <drepper@redhat.com>
28
29 * conform/conformtest.pl (@headers): Add string.h and strings.h.
30 * conform/data/string.h-data: New file.
31 * conform/data/strings.h-data: New file.
32
33 * string/string.h [__USE_XOPEN]: Don't declare functions from
34 <strings.h> here as well.
35
36 2000-02-23 Ulrich Drepper <drepper@redhat.com>
37
38 * posix/sys/wait.h: Pretty printing. Allow WEXITSTATUS etc be
39 defined elsewhere.
40 * stdlib/stdlib.h [__USE_XOPEN]: Define WEXITSTATUS etc.
41 * sysdeps/generic/bits/waitflags.h: Allow including from stdlib.h.
42 * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
43 * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
44 * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
45 * sysdeps/generic/bits/waitstatus.h: Likewise.
46
47 * posix/wordexp.c: Use $HOME to expand ~ (if set); fix off-by-one
48 error in expansion of ~user; correct handling of WRDE_APPEND and
49 WRDE_DOOFFS; return WRDE_SYNTAX for syntax errors in command
50 substitutions; limit removal of newlines to those that are
51 really `trailing'; allow for current word to continue after
52 a command substitution (e.g. "a$(echo b)c"); restore pwordexp
53 members properly on error returns.
54 Patch by Geoff Clare <gwc@unisoft.com>.
55
56 * locale/programs/ld-ctype.c (allocate_arrays): Make sure the end
57 of width table is 4-byte aligned.
58 (ctype_output): Write out the entire width array.
59
60 * sysdeps/unix/sysv/linux/bits/waitflags.h: Add __WALL.
61
62 2000-02-23 Andreas Jaeger <aj@suse.de>
63
64 * dlfcn/dlopen.c: Include <stddef.h> for NULL.
65 * dlfcn/dlopenold.c: Likewise.
66 * dlfcn/dlsym.c: Likewise.
67 * dlfcn/dlvsym.c: Likewise.
68 * iconv/gconv.c: Likewise.
69
70 2000-02-23 Ulrich Drepper <drepper@redhat.com>
71
72 * conform/conformtest.pl (@headers): Add stdlib.h.
73 * conform/data/stdlib.h-data: New file.
74
75 2000-02-22 Ulrich Drepper <drepper@redhat.com>
76
77 * dlfcn/dlfcn.h (RTLD_DEFAULT): Don't use NULL.
78
79 * iconv/iconv.h (iconv): Fix prototype.
80
81 * misc/libgen.h: When using gcc using renaming feature to get XPG
82 definition of basename.
83
84 * misc/search.h (struct entry): Fix type of element data.
85
86 * posix/unistd.h (getpagesize): Declare as const function.
87
88 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Define SA_NOCLDWAIT.
89 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
90 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
91 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
92
93 * signal/signal.h [__USE_XOPEN]: Define uid_t.
94 (sigstack): Correct type of first parameter.
95 * sysdeps/generic/sigstack.c (sigstack): Likewise.
96 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
97
98 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: New file. Copy of
99 old sysdeps/unix/sysv/linux/bits/siginfo.h.
100 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
101 * sysdeps/unix/sysv/linux/bits/siginfo.h [struct siginfo] (si_band):
102 Change type to `long int'.
103
104 * signal/signal.h [__USE_XOPEN]: Declare sigpause to redirect to
105 __xpg_sigpause.
106 * sysdeps/generic/sigpause.c: Define __xpg_sigpause.
107 * sysdeps/posix/sigpause.c: Likewise.
108
109 * conform/conformtest.pl: Correct bugs. Add more functionality.
110 * conform/data/dlfcn.h-data: Correct typos.
111 * conform/data/ftw.h-data: Likewise.
112 * conform/data/iconv.h-data: Likewise.
113 * conform/data/nl_types.h-data: Likewise.
114 * conform/data/search.h-data: Likewise.
115 * conform/data/semaphore.h-data: New file.
116 * conform/data/setjmp.h-data: New file.
117 * conform/data/signal.h-data: New file.
118 * conform/data/stdarg.h-data: New file.
119 * conform/data/stddef.h-data: New file.
120 * conform/data/stdio.h-data: New file.
121
122 * po/de.po: Update from translation team.
123
124 1999-12-31 Martin Buchholz <martin@xemacs.org>
125
126 * argp/argp-help.c: Fix typos.
127 * argp/argp.h: Likewise.
128 * elf/dl-object.c: Likewise.
129 * elf/dl-open.c: Likewise.
130 * elf/elf.h: Likewise.
131 * elf/rtld.c: Likewise.
132 * iconv/gconv_open.c: Likewise.
133 * localedata/tst-fmon.data: Likewise.
134 * localedata/tst-rpmatch.sh: Likewise.
135 * login/programs/xtmp.h: Likewise.
136 * manual/arith.texi: Likewise.
137 * manual/charset.texi: Likewise.
138 * manual/creature.texi: Likewise.
139 * manual/llio.texi: Likewise.
140 * manual/search.texi: Likewise.
141 * manual/signal.texi: Likewise.
142 * manual/stdio.texi: Likewise.
143 * manual/string.texi: Likewise.
144 * manual/sysinfo.texi: Likewise.
145 * manual/users.texi: Likewise.
146 * manual/examples/argp-ex2.c: Likewise.
147 * manual/examples/argp-ex3.c: Likewise.
148 * manual/examples/argp-ex4.c: Likewise.
149 * manual/examples/mkfsock.c: Likewise.
150 * math/test-fenv.c: Likewise.
151 * nscd/nscd_gethst_r.c: Likewise.
152 * nss/test-netdb.c: Likewise.
153 * posix/regex.c: Likewise.
154 * scripts/test-installation.pl: Likewise.
155 * stdlib/canonicalize.c: Likewise.
156 * stdlib/fmtmsg.c: Likewise.
157 * string/argz-replace.c: Likewise.
158 * string/argz.h: Likewise.
159 * string/bits/string2.h: Likewise.
160 * sysdeps/generic/glob.c: Likewise.
161 * sysdeps/generic/setenv.c: Likewise.
162 * sysdeps/i386/memcmp.S: Likewise.
163 * sysdeps/posix/waitid.c: Likewise.
164 * time/tzset.c: Likewise.
165
166 2000-02-21 Ulrich Drepper <drepper@redhat.com>
167
168 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add
169 getrlimit@GLIBC_2.0.
170 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
171
172 * sysdeps/unix/sysv/linux/powerpc/setrlimit64.c: Removed.
173 Reported by Kaoru Fukui <k_fukui@highway.ne.jp>.
174
175 * elf/elf.h (ELF32_ST_OTHER): Removed.
176 (ELF64_ST_OTHER): Likewise.
177
178 * sysdeps/alpha/fpu/fpu_control.h: Update comment.
179
180 * malloc/Makefile (tests): Add tst-valloc.
181 * malloc/tst-valloc.c: New file.
182
183 2000-02-21 Andreas Jaeger <aj@suse.de>
184
185 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_RXSRCRT): Renamed to
186 IPV6_RTHDR; added IPV6_RTHDR_LOOSE, IPV6_RTHDR_STRICT and
187 IPV6_RTHDR_TYPE_0 to synch with RFC 2292.
188 * sysdeps/generic/bits/in.h: Likewise.
189
190 2000-02-21 Ulrich Drepper <drepper@redhat.com>
191
192 * po/gl.po: Update from translation team.
193
194 * timezone/antarctica: Update from tzdata2000b.
195 * timezone/asia: Likewise.
196 * timezone/australasia: Likewise.
197 * timezone/europe: Likewise.
198
199 * malloc/malloc.c (vALLOc): Call ptmalloc_init before mEMALIGn
200 call to initialize malloc_getpagesize.
201 (pvALLOc): Likewise.
202
203 2000-02-20 Ulrich Drepper <drepper@redhat.com>
204
205 * po/it.po: Update from translation team.
206
207 2000-02-20 Philip Blundell <philb@gnu.org>
208
209 * sysdeps/unix/sysv/linux/arm/mmap64.S: Fix off by one error.
210
211 2000-02-20 Ulrich Drepper <drepper@redhat.com>
212
213 * sunrpc/rpc_main.c (checkfiles): Add comment to help translators.
214
215 * po/de.po: Update from translation team.
216
217 2000-02-19 Ulrich Drepper <drepper@redhat.com>
218
219 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Add definition of
220 _libc_fpreg and _libc_fpstate and use it to define fpregset_t.
221 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prgregset_t): Define
222 using elf_gregset_t.
223 (prfpregset_t): Define using elf_fpregset_t.
224
225 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Make fpregset_t
226 definition compatible with definition in 2.1.2 and before.
227 (struct ucontext): Use fpregset_t.
228 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t): Define
229 as pointer to fpregset_t.
230
231 2000-02-18 Ulrich Drepper <drepper@redhat.com>
232
233 * string/bits/string2.h (strnlen): Add cast to prevent warning.
234
235 * nscd/connections.c (handle_request): Don't abort() if unknown
236 command is sent.
237
238 2000-02-17 Ulrich Drepper <drepper@redhat.com>
239
240 * nscd/hstcache.c (cache_addhst): Don't cache name->record entries
241 if more than one IP address is available.
242
243 2000-02-17 Jakub Jelinek <jakub@redhat.com>
244
245 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel.
246
247 2000-02-16 Ulrich Drepper <drepper@redhat.com>
248
249 * locale/programs/charmap.c (charmap_read): Find charmap also in
250 the standard directory.
251
252 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct prototype for
253 __syscall_mmap2.
254
255 * sysdeps/unix/sysv/linux/execve.c: Pretty print.
256
257 * po/it.po: New file.
258 * po/pl.po: Update from translation team.
259
260 2000-02-16 Andreas Jaeger <aj@suse.de>
261
262 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix return
263 value.
264
265 2000-02-16 Andreas Jaeger <aj@suse.de>
266
267 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c (ftruncate64): Fix
268 typo.
269
270 2000-02-15 Andreas Jaeger <aj@suse.de>
271
272 * sysdeps/i386/fpu/libm-test-ulps: Add one value for AMD K7.
273
274 2000-02-15 Andreas Jaeger <aj@suse.de>
275
276 * math/libm-test.inc (nearbyint_test): Add some tests.
277 (rint_test): Likewise.
278
279 2000-02-14 Ulrich Drepper <drepper@redhat.com>
280
281 * locale/programs/repertoire.c (repertoire_new_char): NUL
282 terminated names of character in range.
283
284 * stdio-common/vfprintf.c (vfprintf): Initialize thousands_sep.
285 Define and initialize use_outdigits in the inner loops.
286
287 * sysdeps/posix/sigwait.c: Don't look for signal 0 since it does
288 not exist. Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1601).
289
290 * sysdeps/i386/fpu/s_nearbyint.S: Disable raising exception, not
291 enable it. Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1600).
292 * sysdeps/i386/fpu/s_nearbyintf.S: Likewise.
293 * sysdeps/i386/fpu/s_nearbyintl.S: Likewise.
294
295 2000-02-14 Andreas Jaeger <aj@suse.de>
296
297 * elf/rtld.c (dl_main): Fix check for references to dynamic linker.
298
299 2000-02-14 Ulrich Drepper <drepper@redhat.com>
300
301 * manual/job.texi: Fix typos.
302 * manual/process.texi: Likewise.
303 * manual/signal.texi: Likewise.
304
305 * sysdeps/powerpc/atomicity.h: Remove white space to avoid
306 compiler warning.
307
308 2000-02-14 Scott Bambrough <scottb@netwinder.org>
309
310 * sysdeps/unix/sysv/linux/arm/ioperm.c (_iopl, _ioperm): Add
311 Rebel-NetWinder to platform table so _ioperm platform lookup via
312 /proc/cpuinfo works on later version NetWinders.
313
314 2000-02-13 Ulrich Drepper <drepper@redhat.com>
315
316 * locale/programs/charmap.c (charmap_read): Remove erronous free
317 call.
318
319 * sysdeps/i386/fpu/s_cosf.S: Domain of opcode is not large enough
320 so test for overflow and handle it.
321 * sysdeps/i386/fpu/s_sinf.S: Likewise.
322 * sysdeps/i386/fpu/s_tanf.S: Likewise.
323 Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1563).
324
325 * iconvdata/Makefile (modules): Add UTF-16.
326 (distribute): Add utf-16.c.
327 * iconvdata/gconv-modules: Add entries for UTF-16, UTF-16BE, and
328 UTF-16LE.
329 * iconvdata/utf-16.c: New file.
330 * iconv/gconv_builtin.h: Remove UTF-16 entries here.
331 * iconv/gconv_simple.c: Remove conversion functions to and from UTF-16.
332 PR libc/1580 and libc/1581.
333
334 * iconv/skeleton.c: Increment __invocation_counter after every call
335 to the loops.
336
337 2000-02-12 Andreas Jaeger <aj@suse.de>
338
339 * sysdeps/unix/sysv/linux/i386/msgctl.c (__new_msgctl): Move errno
340 declaration to place where it's needed to avoid compiler warning.
341 * sysdeps/unix/sysv/linux/i386/semctl.c (__new_semctl): Likewise.
342
343 2000-02-12 Ulrich Drepper <drepper@redhat.com>
344
345 * locale/weightwc.h (findidx): Correct find index value.
346
347 * locale/nl_langinfo.h: Add casts to prevent warnings.
348
349 * wctype/iswctype_l.c: Use correct types for mapped data.
350 * wctype/wcfuncs.c: Add one more comment for clarification.
351 * wctype/wcfuncs_l.c: Use __ctype32_tolower and __ctype32_toupper.
352 * wctype/wctrans.c: Likewise.
353
354 2000-02-12 Andreas Jaeger <aj@suse.de>
355
356 * sysdeps/mips/dl-machine.h (__start): Rewritten for 2.2 startup
357 conventions.
358 (elf_machine_rel): Use R_MIPS_REL32 for RESOLVE.
359 (elf_machine_runtime_setup,elf_machine_got_rel): Move at end of
360 file and make dependend on RESOLVE.
361 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix arguments to _dl_lookup_symbol.
362 (RESOLVE_GOTSYM): Fix arguments to _dl_lookup_symbol.
363
364 2000-02-11 Ulrich Drepper <drepper@redhat.com>
365
366 * sysdeps/unix/sysv/linux/i386/shmctl.c: Fix handling of save_errno.
367
368 * locale/langinfo.h: Make CRNCYSTR a separate entry instead of an
369 alias for CURRENCY_SYMBOL.
370 * locale/programs/ld-monetary.c: Add support to write out CRNCYSTR
371 information. [PR libc/1583].
372
373 2000-02-08 Shinya Hanataka <hanataka@abyss.rim.or.jp>
374
375 * locale/weightwc.h: Fix problem with collating-element.
376
377 * locale/programs/ld-collate.c (collate_finish): Output wide
378 character collating-symbol, which has no wide strings.
379
380 * locale/programs/ld-collate.c (collate_output): Fix problem with
381 wide character collating-element.
382
383 2000-02-09 Andreas Jaeger <aj@suse.de>
384
385 * time/strptime.c (strptime_internal): Fix pointer dereference.
386 Patch by Juergen Heinzl <juergen@monocerus.demon.co.uk>, closes PR
387 libc/1591.
388
389 2000-02-08 Jakub Jelinek <jakub@redhat.com>
390
391 * sysdeps/unix/sysv/linux/alpha/msgctl.c: New file.
392 * sysdeps/unix/sysv/linux/alpha/semctl.c: New file.
393 * sysdeps/unix/sysv/linux/alpha/shmctl.c: New file.
394 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl, semctl,
395 shmctl): Make them EXTRA as __old_* and as GLIBC_2.0 symbols.
396 * sysdeps/unix/sysv/linux/alpha/Makefile: Add oldmsgctl, oldsemctl
397 and oldshmctl to sysdep-routines.
398
399 2000-02-08 Andreas Jaeger <aj@suse.de>
400
401 * locale/programs/locale.c (write_locales): Fix handling of
402 whitespace lines.
403 Fixes PR libc/1588, reported by Miroslav Holcak
404 <miroslav.holcak@vitkovice.cz>.
405
406 2000-02-07 Thorsten Kukuk <kukuk@suse.de>
407
408 * config.make.in: Add infodir.
409 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel
410 header files.
411
412 2000-02-11 Ulrich Drepper <drepper@redhat.com>
413
414 * posix/getopt.c: Suppress messages if first character of
415 optstring is a colon (PR libc/1584).
416
417 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Define ELF_* constants
418 and elf_* types to interpret values passed up from the kernel.
419 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
420
421 * locale/nl_langinfo.c: Correct return value in error case. Don't
422 set errno (PR libc/1582).
423 * manual/locale.texi: Update to reflect change.
424
425 2000-02-02 Andreas Schwab <schwab@suse.de>
426
427 * malloc/Makefile (distribute): Add memprof.h.
428 * malloc/memprof.c: Move definition of GETSP and GETTIME to new
429 header memprof.h.
430 * sysdeps/generic/memprof.h: New file.
431 * sysdeps/alpha/memprof.h: New file.
432 * sysdeps/i386/memprof.h: New file.
433 * sysdeps/m68k/memprof.h: New file.
434 * sysdeps/mips/memprof.h: New file.
435 * sysdeps/powerpc/memprof.h: New file.
436 * sysdeps/sparc/memprof.h: New file.
437
438 2000-02-01 Jakub Jelinek <jakub@redhat.com>
439
440 * sysdeps/unix/sysv/linux/getresgid.c: Move...
441 * sysdeps/unix/sysv/linux/i386/getresgid.c: ...here.
442 (getresgid): Use getresgid32 if __libc_missing_32bit_uids
443 is -1 or 0.
444 * sysdeps/unix/sysv/linux/getresuid.c: Move...
445 * sysdeps/unix/sysv/linux/i386/getresuid.c: ...here.
446 (getresuid): Use getresuid32 if __libc_missing_32bit_uids
447 is -1 or 0.
448 * sysdeps/unix/sysv/linux/i386/getuid.c: Document new tristate
449 __libc_missing_32bit_uids.
450 (__getuid): Use 32bit uid syscall if __libc_missing_32bit_uids is
451 -1 or 0.
452 * sysdeps/unix/sysv/linux/i386/chown.c (__real_chown): Likewise.
453 * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
454 * sysdeps/unix/sysv/linux/i386/getegid.c (__getegid): Likewise.
455 * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Likewise.
456 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Likewise.
457 * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Likewise.
458 * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
459 * sysdeps/unix/sysv/linux/i386/setfsgid.c (setfsgid): Likewise.
460 * sysdeps/unix/sysv/linux/i386/setfsuid.c (setfsuid): Likewise.
461 * sysdeps/unix/sysv/linux/i386/setgid.c (__setgid): Likewise.
462 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
463 * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
464 * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Likewise.
465 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Likewise.
466 * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Likewise.
467 * sysdeps/unix/sysv/linux/i386/setuid.c (__setuid): Likewise.
468 * sysdeps/unix/sysv/linux/m68k/chown.c (__chown): Likewise.
469 * sysdeps/unix/sysv/linux/arm/getresuid.c: New file.
470 * sysdeps/unix/sysv/linux/arm/getresgid.c: New file.
471 * sysdeps/unix/sysv/linux/arm/msgctl.c: New file.
472 * sysdeps/unix/sysv/linux/arm/semctl.c: New file.
473 * sysdeps/unix/sysv/linux/arm/shmctl.c: New file.
474 * sysdeps/unix/sysv/linux/i386/msgctl.c: New file.
475 * sysdeps/unix/sysv/linux/i386/semctl.c: New file.
476 * sysdeps/unix/sysv/linux/i386/shmctl.c: New file.
477 * sysdeps/unix/sysv/linux/m68k/getresgid.c: New file.
478 * sysdeps/unix/sysv/linux/m68k/getresuid.c: New file.
479 * sysdeps/unix/sysv/linux/m68k/msgctl.c: New file.
480 * sysdeps/unix/sysv/linux/m68k/semctl.c: New file.
481 * sysdeps/unix/sysv/linux/m68k/shmctl.c: New file.
482 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: New file.
483 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: New file.
484 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: New file.
485 * sysdeps/unix/sysv/linux/mips/syscalls.list (getresuid):
486 Make syscall directly, no stubs needed.
487 (getresgid): Likewise.
488 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (getresuid):
489 Likewise.
490 (getresgid): Likewise.
491
492 2000-02-11 Ulrich Drepper <drepper@redhat.com>
493
494 * iconvdata/gconv-modules: Add aliases CN-GB and CN-BIG5.
495 Reported by Bruno Haible <haible@ilog.fr>.
496
497 * stdio-common/printf-parse.h (parse_one_spec): Set wide elements.
498
499 * stdio-common/printf_fp.c: Truely support wide characater output.
500 Finally handle decimal points and thousands separator characters
501 correctly for multibyte output.
502 * stdio-common/printf_size.c: Likewise.
503 * sysdeps/generic/printf_fphex.c: Likewise.
504 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
505
506 * stdio-common/vfscanf.c: Implement I modifier for numbers to read
507 locale dependent digits.
508
509 * locale/C-monetary.c (_nl_C_LC_MONETARY): Change wide character
510 decimal point and thousands separator values to wide characters from
511 wide character strings.
512 * locale/C-numeric.c (_nl_C_LC_NUMERIC): Likewise.
513
514 * locale/indigitswc.h: Dereference wcdigits array elements.
515
516 2000-02-03 Jakub Jelinek <jakub@redhat.com>
517
518 * stdlib/canonicalize.c (canonicalize): Zero terminate
519 path to copy on error.
520
521 2000-02-01 Cristian Gafton <gafton@redhat.com>
522
523 * misc/syslog.c (closelog): Reset LogType to SOCK_DGRAM.
524
525 2000-01-31 Philip Blundell <philb@gnu.org>
526
527 * sysdeps/arm/fpu/fpu_control.h (_FPU_DEFAULT): Set the AC bit.
528
529 2000-01-31 Andreas Jaeger <aj@suse.de>
530
531 * intl/Makefile (generated): msgs.h is generated.
532
533 * localedata/Makefile (generated-dirs): Add de_DE.437.
534
535 2000-01-31 Jakub Jelinek <jakub@redhat.com>
536
537 * config.make.in: Allow default localedir to come from configure.
538 * configure.in: Export libc_cv_localedir.
539 * sysdeps/unix/sysv/linux/configure.in: For sparc64, put locale
540 stuff into $exec_prefix/lib/locale because it can be shared between
541 32bit and 64bit libraries.
542 * configure: Rebuilt.
543 * sysdeps/unix/sysv/linux/configure: Rebuilt.
544
545 2000-01-31 Andreas Jaeger <aj@suse.de>
546
547 * inet/tst-network.c: New file.
548 * inet/Makefile (tests): Add tst-network.
549
550 * inet/inet_net.c (inet_network): Don't overwrite memory or allow
551 to great last digits.
552
553 2000-02-10 Andreas Jaeger <aj@suse.de>
554
555 * sysdeps/unix/sysv/linux/mips/clone.S: Rewritten.
556 Based on a patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
557
558 2000-02-09 Andreas Jaeger <aj@suse.de>
559
560 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add new syscalls.
561
562 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing syscalls.
563
564 2000-02-08 Andreas Jaeger <aj@suse.de>
565
566 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Fix typo.
567
568 * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump):
569 Make it compile.
570
571 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Remove members
572 c_ispeed and c_ospeed which are not implemented.
573
574 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Define __libc_* variant
575 for cancelation wrapper; use __ASSUME_PWRITE_SYSCALL macro.
576 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
577 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
578 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
579
580 2000-02-05 Andreas Jaeger <aj@suse.de>
581
582 * sysdeps/unix/sysv/linux/mips/bits/mman.h (MS_SYNC): 0 will not
583 work - set to 4 in accordance with changes made in the Linux/MIPS
584 kernel. Using MS_SYNC on older kernels with MS_SYNC == 0 doesn't
585 actually work.
586
587 2000-02-04 Andreas Jaeger <aj@suse.de>
588
589 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Use correct values for
590 the defines.
591
592 2000-02-03 Andreas Jaeger <aj@suse.de>
593
594 * sysdeps/mips/abort-instr.h: New file.
595
596 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: New file.
597
598 * sysdeps/unix/sysv/linux/mips/register-dump.h: New file.
599
600 * sysdeps/mips/stackinfo.h: New file.
601
602 2000-02-01 Andreas Jaeger <aj@suse.de>
603
604 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove duplicates.
605
606 * sysdeps/unix/sysv/linux/mips/lxstat.c: Removed, we can use the
607 generic function.
608 * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise.
609
610 * sysdeps/unix/sysv/linux/mips/init-first.h: New file, from Ralf
611 Baechle <ralf@gnu.org>.
612
613 * sysdeps/unix/sysv/linux/mips/brk.c: New file.
614
615 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Add missing ints.
616
617 * sysdeps/mips/elf/start.S: Rewritten for __libc_start_main.
618
619 2000-01-31 Andreas Jaeger <aj@suse.de>
620
621 * inet/inet_net.c (inet_network): Synch with bind 8.2.2. Fixes PR
622 libc/1567.
623
624 2000-01-30 Ulrich Drepper <drepper@redhat.com>
625
626 * sysdeps/alpha/fpu/feholdexcpt.c: Correct return value according to
627 the standard.
628 * sysdeps/alpha/fpu/fesetround.c: Likewise.
629 * sysdeps/arm/fpu/feholdexcpt.c: Likewise.
630 * sysdeps/arm/fpu/fesetround.c: Likewise.
631 * sysdeps/generic/feholdexcpt.c: Likewise.
632 * sysdeps/generic/fesetround.c: Likewise.
633 * sysdeps/i386/fpu/feholdexcpt.c: Likewise.
634 * sysdeps/i386/fpu/fesetround.c: Likewise.
635 * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
636 * sysdeps/m68k/fpu/fesetround.c: Likewise.
637 * sysdeps/mips/fpu/fesetround.c: Likewise.
638 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
639 * sysdeps/powerpc/fpu/fesetround.c: Likewise.
640 * sysdeps/sparc/fpu/feholdexcpt.c: Likewise.
641 * sysdeps/sparc/fpu/fesetround.c: Likewise.
642 Patch by Miloslav Trmac <mitr@volny.cz>.
643
644 * locale/programs/ld-collate.c (struct locale_collate_t): Change
645 type of plane_size and plane_cnt to uint32_t.
646 Reported by Jakub Jelinek.
647
648 2000-01-29 Jakub Jelinek <jakub@redhat.com>
649
650 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
651 (SYSCALL_ERROR_HANDLER): Optimize.
652 (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define.
653 Include linux/sparc/sysdep.h.
654 Use a different guard define than linux/sparc/sysdep.h.
655 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove
656 stubs for inlined syscalls.
657 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
658 (SYSCALL_ERROR_HANDLER): Optimize.
659 (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define.
660 Include linux/sparc/sysdep.h.
661 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
662 stubs for inlined syscalls.
663 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
664 Use INLINE_SYSCALL.
665 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Remove.
666 * sysdeps/unix/sysv/linux/sparc/sysdep.h: New file.
667
668 2000-01-29 Ulrich Drepper <drepper@redhat.com>
669
670 * locale/loadlocale.c (_nl_load_locale): Optimize a bit. Pretty
671 print. Add checks for _POSIX_MMAPPED_FILES where necessary.
672 (_nl_unload_locale): If locale data was mmapped use munmap.
673
674 2000-01-29 Andreas Jaeger <aj@suse.de>
675
676 * sysdeps/unix/sysv/linux/i386/sys/io.h: Add missing ints, use
677 _EXTERN_INLINE, compile inline assembler functions only with gcc.
678
679 2000-01-29 Ulrich Drepper <drepper@redhat.com>
680
681 * catgets/catgets.c (catopen): Handle NL_CAT_LOCALE correctly.
682 * catgets/gencat.c (read_input_file): Remove messages correctly.
683 * catgets/open_catalog.c (__open_catalog): Handle trailing colons and
684 adjacent colons correctly. Correct loops to read territory and
685 and codeset part.
686 Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1559).
687
688 * rt/aio_misc.c (get_elem): Assign pointer to new row to correct
689 pool entry.
690 Patch by Jens Moeller <jens.moeller@waii.com> (PR libc/1558).
691
692 2000-01-28 Jakub Jelinek <jakub@redhat.com>
693
694 * sysdeps/unix/sysv/linux/arm/Versions: Export the new *rlimit
695 interface with symbol version GLIBC_2.2.
696 * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
697 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
698 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
699 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
700
701 2000-01-27 Scott Bambrough <scottb@netwinder.org>
702
703 * sysdeps/unix/sysv/linux/arm/Makefile: Backout rlimit changes for
704 resource directory.
705 * sysdeps/unix/sysv/linux/arm/syscalls.list: Backout changes for
706 versioning setrlimit and getrlimit.
707
708 2000-01-27 Andreas Jaeger <aj@suse.de>
709
710 * sysdeps/powerpc/fpu/libm-ulps: Renamed to ...
711 * sysdeps/powerpc/fpu/libm-test-ulps: ...this.
712
713 2000-01-27 Ruediger Oertel <ro@suse.de>
714
715 * sysdeps/unix/sysv/linux/i386/sys/io.h: Change "::" to ": :" for g++.
716
717 2000-01-29 Ulrich Drepper <drepper@redhat.com>
718
719 * locale/programs/ld-numeric.c (numeric_output): Increment cnt in
720 correct place to avoid uninitialized memory passed to writev.
721
722 * locale/programs/ld-monetary.c (STR_ELEM_WC): Fix test for too
723 long string in definition.Only enable returning wide character
724 strings if really needed.
725 * locale/programs/ld-numeric.c (STR_ELEM): Likewise.
726
727 * configure.in: Add check for recent enough sed version.
728
729 2000-01-28 Ulrich Drepper <drepper@redhat.com>
730
731 * stdio-common/vfprintf.c [COMPILE_WPRINT] (_i18n_itoa_word,
732 _i18n_itoa): Fix parameter lists.
733
734 * locale/C-monetary.c: Add initializers for new fields.
735 * locale/C-numeric.c: Likewise.
736 * locale/Makefile (distribute): Add indigits.h, indigitswc.h,
737 outdigits.h, and outdigitswc.h.
738 * locale/langinfo.h: Add _NL_MONETARY_DECIMAL_POINT_WC,
739 _NL_MONETARY_THOUSANDS_SEP_WC, _NL_NUMERIC_DECIMAL_POINT_WC,
740 and _NL_NUMERIC_THOUSANDS_SEP_WC.
741 * locale/indigits.h: New file.
742 * locale/indigitswc.h: New file.
743 * locale/outdigits.h: New file.
744 * locale/outdigitswc.h: New file.
745 * locale/programs/ld-monetary.c: Write out decimal point and
746 thousands separator info in wide character form.
747 * locale/programs/ld-numeric.c: Likewise.
748 * stdio-common/Makefile (routines): Add _i18n_itoa and _i18n_itowa.
749 (distribute): Add _i18n_itoa.h and _i18n_itowa.h.
750 * stdio-common/_i18n_itoa.c: New file.
751 * stdio-common/_i18n_itoa.h: New file.
752 * stdio-common/_i18n_itowa.c: New file.
753 * stdio-common/_i18n_itowa.h: New file.
754 * stdio-common/printf-parse.h: Parse 'I' flag.
755 * stdio-common/printf.h (struct printf_info): Add i18n field.
756 * stdio-common/vfprintf.c: Implement 'I' flag to print using locales'
757 outdigits.
758
759 2000-01-27 Geoff Keating <geoffk@cygnus.com>
760
761 * csu/Makefile ($(objpfx)version-info.h): Don't use echo -n
762 unnecessarily.
763
764 * sysdeps/unix/sysv/linux/kernel-features.h
765 (__ASSUME_STAT64_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL,
766 __ASSUME_NEW_GETRLIMIT_SYSCALL): Define on powerpc for kernels >=
767 2.3.35.
768
769 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: New file.
770 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: New file.
771 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: New file.
772 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: New file.
773 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: New file.
774 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: New file.
775 * sysdeps/unix/sysv/linux/powerpc/setrlimit64.c: New file.
776 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add
777 s_fstat64, s_ftruncate64, s_lstat64, s_mmap2, s_stat64,
778 s_truncate64.
779 * sysdeps/unix/sysv/linux/powerpc/truncate64.c: New file.
780 * sysdeps/unix/sysv/linux/powerpc/Versions: New file.
781
782 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]: Don't access
783 __curbrk off the small data area register. Reported by
784 Andrew Haley <aph@pasanda.cygnus.co.uk>.
785
786 2000-01-26 Andreas Jaeger <aj@suse.de>
787
788 * Make-dist (+sysdep-tscrs): Add libm-test-ulps.
789
790 2000-01-26 Ulrich Drepper <drepper@cygnus.com>
791
792 * locale/Makefile (distribute): Remove nonexisting files.
793 * sysdeps/powerpc/Dist: Move FPU specific files to...
794 * sysdeps/powerpc/fpu/Dist: ...here. New file.
795 * nss/Makefile: Distribute files for new libdb interface.
796 * math/Makefile (distribute): Add README.libm-test.
797 Patch by Andreas Jaeger.
798
799 2000-01-26 David McCann <david.mccann@alcatel.at>
800
801 * libio/libioP.h [!_G_HAVE_MMAP]: Define ALLOC_WBUF.
802
803 2000-01-25 Andreas Jaeger <aj@suse.de>
804
805 * sysdeps/unix/sysv/linux/configure.in: Set CPPFLAGS for kernel
806 version check since we're using cpp.
807
808 2000-01-26 Jakub Jelinek <jakub@redhat.com>
809
810 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getresgid):
811 Fix a typo.
812
813 2000-01-26 Andreas Jaeger <aj@suse.de>
814
815 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Avoid warning
816 about unitialised variable kbuf.
817 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
818 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
819
820 2000-01-26 Ulrich Drepper <drepper@cygnus.com>
821
822 * locale/programs/ld-collate.c (check_duplicate): Fix printing of error
823 messages.
824 (collate_read): Remove unnecessary `if'.
825
826 2000-01-25 Ulrich Drepper <drepper@cygnus.com>
827
828 * libio/fileops.c (_IO_new_file_open): Recognize ,ccs= in mode string
829 and load appropriate conversions.
830 * libio/iofwide.c (__libio_codecvt): Renamed from libio_codecvt and
831 made global.
832 * libio/libioP.h: Declare __libio_codecvt.
833 * manual/stdio.texi: Document ,ccs= option for fopen.
834 * wcsmbs/wcsmbsload.c (__wcsmbs_named_conv): New function.
835 * wcsmbs/wcsmbsload.h (__wcsmbs_named_conv): Declare.
836
837 * libio/iofclose.c: Free conversion data if stream was wide-oriented.
838
839 * sysdeps/unix/sysv/linux/i386/Dist: Add sys/io.h.
840
841 * sysdeps/unix/sysv/linux/Dist: Remove sys/io.h.
842
843 * posix/fnmatch_loop.c: Fix problem with FNM_LEADING_DIR.
844 * posix/testfnm.c: Add a few more tests. Rearrange test output.
845
846 2000-01-25 Andreas Schwab <schwab@suse.de>
847
848 * posix/testfnm.c: Add new test case. Use FNM_PATHNAME instead of
849 FNM_FILE_NAME consistently.
850
851 2000-01-25 Ulrich Drepper <drepper@cygnus.com>
852
853 * posix/fnmatch.c: Define STRCOLL appropriately for the loop
854 definition.
855 * posix/fnmatch_loop.c: Undefine STRCOLL.
856
857 * sysdeps/unix/sysv/linux/i386/fxstat.c: Correct code to handle
858 kernels with stat64 support.
859 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise
860 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
861 Patch by SL Baur <steve@xemacs.org>.
862
863 * string/strxfrm.c: Don't count in the terminating NUL byte/word.
864
865 2000-01-24 Paul Eggert <eggert@twinsun.com>
866
867 * posix/fnmatch_loop.c (FCT): Use locale's collating sequence when
868 deciding whether a character falls within a character range.
869
870 2000-01-24 Paul Eggert <eggert@twinsun.com>
871
872 * posix/fnmatch_loop.c (FCT): When matching [A-Z] and folding case,
873 lower-case A too.
874
875 2000-01-24 Thorsten Kukuk <kukuk@suse.de>
876
877 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove old[gs]etrlimit.
878
879 2000-01-23 Paul Eggert <eggert@twinsun.com>
880
881 * posix/regex.c (GET_UNSIGNED_NUMBER): Allow only ASCII digits.
882
883 2000-01-23 Paul Eggert <eggert@twinsun.com>
884
885 * posix/regex.c (compile_range): When matching a character
886 range, use the current collating sequence, as POSIX requires.
887
888 2000-01-25 Ulrich Drepper <drepper@cygnus.com>
889
890 * string/argz-stringify.c: Handle case of missing \0 at the end of
891 the given argz.
892
893 2000-01-24 Ulrich Drepper <drepper@cygnus.com>
894
895 * nscd/hstcache.c: Don't count in mapped IPv6 addresses in total
896 size anymore.
897
898 * locale/programs/ld-collate.c (collate_output): Also handle
899 IGNOREd characters in the simple way when generating the multibyte
900 table.
901
902 * locale/programs/ld-ctype.c (allocate_arrays): Move codeset_name
903 handling to ...
904 (ctype_finish): ...here. Check for missing codeset name.
905
906 * sysdeps/unix/sysv/linux/Dist: Add ipc_priv.h.
907 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
908
909 2000-01-24 Jakub Jelinek <jakub@redhat.com>
910
911 * sysdeps/unix/sysv/linux/bits/ipc.h: Move private decls...
912 * sysdeps/unix/sysv/linux/ipc_priv.h: ...here.
913 * sysdeps/unix/sysv/linux/bits/msq.h: Move private decls...
914 * sysdeps/unix/sysv/linux/msgctl.c: ...here. Include ipc_priv.h.
915 * sysdeps/unix/sysv/linux/bits/sem.h: Move private decls...
916 * sysdeps/unix/sysv/linux/semctl.c: ...here. Include ipc_priv.h.
917 * sysdeps/unix/sysv/linux/bits/shm.h: Move private decls...
918 * sysdeps/unix/sysv/linux/shmctl.c: ...here. Include ipc_priv.h.
919 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Move private decls...
920 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: ...here.
921 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove private decls.
922 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Likewise.
923 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
924 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
925 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
926 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
927 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
928 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Include ipc_priv.h.
929 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
930 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
931 * sysdeps/unix/sysv/linux/msgget.c: Likewise.
932 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
933 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
934 * sysdeps/unix/sysv/linux/semget.c: Likewise.
935 * sysdeps/unix/sysv/linux/semop.c: Likewise.
936 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
937 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
938 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
939
940 2000-01-24 Jakub Jelinek <jakub@redhat.com>
941
942 * sysdeps/unix/sysv/linux/arm/bits/resource.h: New file.
943 * sysdeps/unix/sysv/linux/arm/Makefile: Remove oldsetrlimit64.c.
944 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
945 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
946 * sysdeps/unix/sysv/linux/arm/Versions: Remove
947 setrlimit64@GLIBC_2.1.3.
948 * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
949 * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: Remove.
950 * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: Likewise.
951 * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
952 * sysdeps/unix/sysv/linux/i386/setrlimit64.c: Likewise.
953 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Call __new_getrlimit,
954 so that setrlimit64@GLIBC_2.1 can report limits above 2G.
955 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getrlimit,
956 setrlimit): Remove syscall stubs, add normal syscalls.
957 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (setrlimit):
958 Remove syscall stub.
959
960 2000-01-22 Andreas Jaeger <aj@suse.de>
961
962 * localedata/tst-locale.sh: Enable test for de_DE.437.
963
964 2000-01-23 Ulrich Drepper <drepper@cygnus.com>
965
966 * string/Versions: Export __strndup.
967
968 2000-01-23 Philip Blundell <philb@gnu.org>
969
970 Add basic support for RPC over IPv6:
971 * sunrpc/rpc/svc.h (struct SVCXPRT): Use `struct sockaddr_storage'
972 for remote address.
973 (svcudp6_create, svcudp6_bufcreate, svctcp6_create): New
974 prototypes.
975 * sunrpc/rpc/clnt.h (clnttcp6_create, clntudp6_create,
976 clntudp6_bufcreate): New prototypes.
977 * inet/netinet/in.h (bindresport6): Likewise.
978 * sunrpc/Makefile (routines): Add svc_tcp6, svc_udp6, bindrsvprt6.
979 * sunrpc/Versions: Add svcfd6_create, svctcp6_create,
980 svcudp6_create, svcudp6_bufcreate, svcudp6_enablecache,
981 bindresvport6 for GLIBC_2.2.
982 * sunrpc/rpc_main.c: Support `tcp6' and `udp6' transport types.
983 * sunrpc/rpc_svcout.c: Likewise.
984 * sunrpc/svc_tcp.c (rendezvous_request): Use memcpy rather than
985 simple assignment when copying addresses.
986 * sunrpc/svc_udp.c (cache_get): Likewise.
987 * sunrpc/svc_unix.c (rendezvous_request): Likewise.
988 * sunrpc/bindrsvprt6.c, sunrpc/clnt_tcp6.c, sunrpc/clnt_udp6.c,
989 sunrpc/svc_tcp6.c, sunrpc/svc_udp6.c: New files.
990
991 2000-01-05 Philip Blundell <philb@gnu.org>
992
993 * sysdeps/unix/sysv/linux/arm/mmap64.S: Correct check for ENOSYS.
994
995 2000-01-23 Andreas Jaeger <aj@suse.de>
996
997 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Pass right
998 parameter to fstat calls.
999
1000 2000-01-18 Roland McGrath <roland@baalperazim.frob.com>
1001
1002 * sysdeps/generic/bits/socket.h
1003 (__ss_aligntype, struct sockaddr_storage): Make these like Linux
1004 version, replacing old type name `__ss_align'.
1005
1006 2000-01-05 Roland McGrath <roland@baalperazim.frob.com>
1007
1008 * sysdeps/generic/lseek64.c (__libc_lseek64): Renamed from __lseek64.
1009 (__lseek64, lseek64): Make these weak aliases for __libc_lseek64.
1010 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Renamed from __lseek.
1011 (__lseek, lseek): Make these weak aliases for __libc_lseek.
1012 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Renamed from __fcntl.
1013 (__fcntl, fcntl): Make these weak aliases for __libc_fcntl.
1014 * sysdeps/mach/hurd/open.c (__libc_open): Renamed from __open.
1015 (__open, open): Make these weak aliases for __libc_open.
1016
1017 * sysdeps/generic/bits/socket.h (enum __socket_type): Remove
1018 trailing comma.
1019 (anonymous enum for MSG_*): Likewise.
1020 (anonymous enum for SO_*): Likewise.
1021
1022 2000-01-23 Ulrich Drepper <drepper@cygnus.com>
1023
1024 * string/bits/string2.h: Fix typo (__GNU_SOURCE -> __USE_GNU)
1025 (PR libc/1553).
1026
1027 2000-01-08 Mark Kettenis <kettenis@gnu.org>
1028
1029 * sysdeps/mach/hurd/setitimer.c (quantize_timeval): New function.
1030 (setitimer_locked): Use it to quantize the timer values. Use
1031 quantized timer values to check if the timeout changed.
1032
1033 2000-01-22 Andreas Jaeger <aj@suse.de>
1034
1035 * sunrpc/rpc/svc.h: Fix description for svc_register.
1036
1037 2000-01-23 Mark Kettenis <kettenis@gnu.org>
1038
1039 * inet/rexec.c (rexec_af): Use SA_LEN instead of __libc_sa_len.
1040
1041 2000-01-22 Thorsten Kukuk <kukuk@suse.de>
1042
1043 * sunrpc/xdr_rec.c: Don't set frag_sent if no more data,
1044 fixes part 2 of bug 1549.
1045 * sunrpc/rpc_des.h: Remove unused defines.
1046
1047 2000-01-22 Mark Kettenis <kettenis@gnu.org>
1048
1049 * intl/Makefile ($(objpfx)msgs.h): Do $(make-target-directory) first.
1050
1051 2000-01-22 Thorsten Kukuk <kukuk@suse.de>
1052
1053 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove sys/io.h.
1054 * sysdeps/unix/sysv/linux/alpha/Makefile: Add sys/io.h.
1055 * sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
1056 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
1057 * sysdeps/unix/sysv/linux/sys/io.h: Move from here ...
1058 * sysdeps/unix/sysv/linux/i386/sys/io.h: ... to here, add inb, outb
1059 and other inline functions for port access.
1060 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for port
1061 access functions.
1062
1063 2000-01-23 Ulrich Drepper <drepper@cygnus.com>
1064
1065 * iconv/gconv_simple.c: Fix two problems in UTF-8 decoder.
1066 Patch by Bruno Haible <haible@ilog.fr>.
1067
1068 2000-01-05 Roland McGrath <roland@baalperazim.frob.com>
1069
1070 * sysdeps/mach/hurd/errnos.awk: Rediddle to collect lines and print
1071 them all at the end, eliding the final comma.
1072 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1073
1074 2000-01-21 Ulrich Drepper <drepper@cygnus.com>
1075
1076 * intl/libintl.h: Add format_arg attributes to declarations of new
1077 functions.
1078
1079 * intl/Makefile (routines): Add dcigettext, dcngettext, dngettxt,
1080 ngettext, and plural.
1081 (distribute): Add plural.y, po2test.sed, and tst-gettext.sh.
1082 (test-srcs): Add tst-gettext.
1083 (before-compile): Add $(objpfx)msgs.h.
1084 Add rules for plural.c and msgs.h generation and running tst-gettext.\
1085 * intl/Versions [GLIBC_2.2]: Add __dcngettext, dcngettext, dngettext,
1086 and ngettext.
1087 * intl/dcgettext.c: Move most code into dcigettext.c. Add call
1088 dcigettext with appropriate parameters.
1089 * intl/dcigettext.c: New file.
1090 * intl/dcngettext.c: New file.
1091 * intl/dngettext.c: New file.
1092 * intl/ngettext.c: New file.
1093 * intl/gettextP.h (struct expression): Define.
1094 (struct loaded_domain): Add plural and nplurals members.
1095 Add prototypes for new internal functions.
1096 * intl/libintl.h: Declare new functions. Add optimizations for them.
1097 * intl/loadinfo.h: Add new parameter to _nl_find_msg declaration.
1098 * intl/loadmsgcat.c (_nl_load_domain): Search for plural information in
1099 header entry and parse and store the expression.
1100 * intl/plural.y: New file.
1101 * intl/po2test.sed: New file.
1102 * intl/tst-gettext.c: New file.
1103 * intl/tst-gettext.sh: New file.
1104 * manual/message.texi: Document new interfaces.
1105
1106 * intl/gettext.c: Call __dcgettext directly.
1107
1108 2000-01-20 Ulrich Drepper <drepper@cygnus.com>
1109
1110 * manual/getopt.texi (Using the getopt function): Fix description of
1111 return value for format string starting with '-' (PR libc/1551).
1112 Patch by Raúl Núñez de Arenas Coronado <dervishd@jazzfree.com>
1113
1114 * sunrpc/clnt_perr.c (rpc_errlist): Fix index for RPC_PROGVERSMISMATCH.
1115 Patch by jens.moeller@westgeo.com (PR libc/1550).
1116
1117 * locale/programs/ld-collate.c (struct element_t): Add wclast
1118 and compute it where necessary.
1119 (collate_output): Insert indirect references in the right order.
1120
1121 * math/Makefile (tests): Add test-misc.
1122 * math/test-misc.c: New file.
1123
1124 2000-01-19 Ulrich Drepper <drepper@cygnus.com>
1125
1126 * sysdeps/ieee754/ldbl-96/s_modfl.c: Correct handling of arguments
1127 with exponent >31 and < 63 (PR libc/1548).
1128
1129 * locale/programs/ld-collate.c (output_weightwc): Return index
1130 measured in words, not bytes. Don't write out words for ignored
1131 characters.
1132 (collate_output): Correct various problems with alignment in the
1133 output file.
1134 * locale/weight.h: Adjust for last change in ld-collate.c of adding
1135 alignment padding.
1136
1137 * stdlib/strfmon.c: Don't report an error if final NUL is at the
1138 end of the buffer. Set errno correctly if floating-point number
1139 would overflow buffer.
1140
1141 * posix/regex.h: Update comment of RE_SYNTAX_POSIX_MINIMAL_EXTENDED.
1142
1143 * locale/weight.h (findidx): Little optimization. Correctly return
1144 offset in indirect table.
1145 * locale/programs/ld-collate.c (struct element_t): Add mblast
1146 and compute it where necessary.
1147 (insert_weights): Correctly handle missing weights in ellipsis
1148 expression.
1149 (handle_ellipsis): Correctly enqueue new element.
1150 (collate_output): Insert indirect references in the right order.
1151
1152 2000-01-18 Ulrich Drepper <drepper@cygnus.com>
1153
1154 * wcsmbs/mbrtowc.c: Create temporary state object if no output is
1155 written.
1156 * wcsmbs/mbsrtowcs.c: Likewise.
1157 * wcsmbs/wcrtomb.c: Likewise.
1158 * wcsmbs/wcsrtombs.c: Likewise.
1159
1160 * wcsmbs/wcrtomb.c: Compute result correctly for successful call
1161 with s == NULL.
1162
1163 * wcsmbs/mbsrtowcs.c: Compute return value correctly after change
1164 in gconv function.
1165
1166 * wcsmbs/mbrtowc.c: Don't set errno if byte sequence is only
1167 incomplete but correct.
1168
1169 * locale/programs/charmap.c: NUL-terminate names of generated
1170 entries for ellipsis.
1171
1172 2000-01-18 Andreas Jaeger <aj@suse.de>
1173
1174 * sysdeps/unix/sysv/linux/i386/lxstat.c: New file, handles 32bit UIDs.
1175 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1176 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Move
1177 _STAT_VER_KERNEL handling up; don't save errno.
1178 * sysdeps/unix/sysv/linux/arm/fxstat.c: New file.
1179 * sysdeps/unix/sysv/linux/arm/lxstat.c: Likewise.
1180 * sysdeps/unix/sysv/linux/arm/xstat.c: Likewise.
1181 * sysdeps/unix/sysv/linux/m68k/fxstat.c: Likewise.
1182 * sysdeps/unix/sysv/linux/m68k/lxstat.c: Likewise.
1183 * sysdeps/unix/sysv/linux/m68k/xstat.c: Likewise.
1184 * sysdeps/unix/sysv/linux/sparc/sparc32/fxstat.c: Likewise.
1185 * sysdeps/unix/sysv/linux/sparc/sparc32/lxstat.c: Likewise.
1186 * sysdeps/unix/sysv/linux/sparc/sparc32/xstat.c: Likewise.
1187
1188 2000-01-18 Ulrich Drepper <drepper@cygnus.com>
1189
1190 * iconv/loop.c (COUNT_CONVERTED): Remove macro, comment, and all uses.
1191 Remove done variable and all uses.
1192 * iconv/skeleton.c: Update comment for *written modification.
1193 * iconv/gconv_int.h (__gconv): Update comment.
1194 Reported by Bruno Haible.
1195
1196 2000-01-18 Bruno Haible <haible@ilog.fr>
1197
1198 * posix/fnmatch.c (ISWCTYPE): New macro.
1199 (__wcschrnul): New function.
1200 (BTOWC): New macro. Define it instead of __btowc.
1201 (is_char_class) [!_LIBC]: Fix 'mstate_t' typo. Fix 2nd arg to
1202 wcsrtombs. Call wctype, not __wctype.
1203 * posix/fnmatch_loop.c (FCT): Use ISWCTYPE instead of __iswctype, and
1204 BTOWC instead of __btowc.
1205
1206 2000-01-18 Andreas Jaeger <aj@suse.de>
1207
1208 * inet/Versions: Add new functions added on 2000-01-17.
1209
1210 2000-01-18 Jakub Jelinek <jakub@redhat.com>
1211
1212 * dirent/dirent.h (getdentries): Correct prototype to use __off64_t.
1213
1214 2000-01-18 Ulrich Drepper <drepper@cygnus.com>
1215
1216 * timezone/antarctica: Update from tzdata2000a.
1217 * timezone/asia: Likewise.
1218 * timezone/australasia: Likewise.
1219 * timezone/backward: Likewise.
1220 * timezone/northamerica: Likewise.
1221 * timezone/southamerica: Likewise.
1222 * timezone/zone.tab: Likewise.
1223
1224 * nscd/connections.c (dbs): Use
1225 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP for .lock.
1226 Pretty printing.
1227
1228 * nscd/hstcache.c (cache_addhst): Don't automatically add IPv6
1229 address. Suggested by Philip Blundell.
1230
1231 * posix/TESTS: Fix expected result for test cases with * with no
1232 leading expression.
1233
1234 * sysdeps/unix/sysv/linux/fstatvfs.c: Move actual code in...
1235 * sysdeps/unix/sysv/linux/internal_statvfs.c: ...here. New file.
1236 * sysdeps/unix/sysv/linux/statvfs.c: Don't use fstatvfs since the
1237 open call would require read permission.
1238 Patch by James Antill <james@and.org>.
1239
1240 * sysdeps/unix/sysv/linux/Dist: Add internal_fnmatch.c.
1241
1242 * inet/getnameinfo.c: Terminate host name for NI_NOFQDN.
1243 * sysdeps/posix/getaddrinfo.c: Correct modifications done for
1244 PR1515. Patches by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
1245
1246 * posix/regex.h (RE_SYNTAX_POSIX_EXTENDED): Add RE_CONTEXT_INVALID_OPS.
1247 * posix/regex.c (regex_compile): Return appropriate errors for
1248 unterminated brace expressions. Detect invalid characters
1249 in brace expressions.
1250 * posix/bits/posix2_lim.h: Define RE_DUP_MAX correctly.
1251 * sysdeps/posix/sysconf.c: Include regex.h.
1252 Reported by Geoff Clare <gwc@unisoft.com> (PR libc/1522).
1253
1254 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
1255
1256 * sysdeps/posix/getaddrinfo.c (gaih_local): If name is given and
1257 AI_NUMERICHOST flag is set, return an error.
1258 Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
1259
1260 * inet/rcmd.c: Implement rcmd_af, rresvport_af, ruserok_af, and
1261 iruserok_af.
1262 * inet/rexec.c: Implement rexec_af.
1263 Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
1264
1265 * resolv/netdb.h: Add declarations of rcmd_af, rexec_af, ruserok_af,
1266 and rresvport_af.
1267
1268 2000-01-17 Jakub Jelinek <jakub@redhat.com>
1269
1270 * sysdeps/unix/sysv/linux/bits/ipc.h: New file.
1271 * sysdeps/unix/sysv/linux/bits/sem.h: New file.
1272 * sysdeps/unix/sysv/linux/bits/shm.h: New file.
1273 * sysdeps/unix/sysv/linux/bits/msg.h: New file.
1274 * sysdeps/unix/sysv/linux/bits/alpha/ipc.h: Update for new ipc.
1275 * sysdeps/unix/sysv/linux/bits/alpha/sem.h: New file.
1276 * sysdeps/unix/sysv/linux/bits/alpha/shm.h: New file.
1277 * sysdeps/unix/sysv/linux/bits/alpha/msg.h: New file.
1278 * sysdeps/unix/sysv/linux/bits/sparc/ipc.h: New file.
1279 * sysdeps/unix/sysv/linux/bits/sparc/sem.h: New file.
1280 * sysdeps/unix/sysv/linux/bits/sparc/shm.h: New file.
1281 * sysdeps/unix/sysv/linux/bits/sparc/msg.h: New file.
1282
1283 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl):
1284 Renamed from msgctl.
1285 (__new_msgctl): New function.
1286 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl):
1287 Renamed from semctl.
1288 (__new_semctl): New function.
1289 * sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl):
1290 Renamed from shmctl.
1291 (__new_shmctl): New function.
1292
1293 * sysdeps/unix/sysv/linux/msgget.c: Define __LIBC_IPC_INTERNAL.
1294 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1295 * sysdeps/unix/sysv/linux/semget.c: Likewise.
1296 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
1297 * sysdeps/unix/sysv/linux/semop.c: Likewise.
1298 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
1299 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
1300 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
1301
1302 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: New file.
1303 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: New file.
1304 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: New file.
1305
1306 * sysdeps/unix/sysv/linux/Versions: Add msgctl, semctl, shmctl.
1307
1308 2000-01-17 Jakub Jelinek <jakub@redhat.com>
1309
1310 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
1311 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
1312 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove setres[ug]id.
1313 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Kill warnings.
1314 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Define needed
1315 syscalls.
1316
1317 * sysdeps/unix/sysv/linux/pwrite64.c: Use proper prototype.
1318 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1319
1320 * sysdeps/unix/sysv/linux/kernel-features.h: [gs]etres[ug]id are
1321 available on sparc since 2.3.39.
1322
1323 * sysdeps/unix/sysv/linux/execve.c: Kill warnings.
1324
1325 2000-01-17 Jakub Jelinek <jakub@redhat.com>
1326
1327 * sysdeps/unix/sysv/linux/i386/chown.c (__syscall_chown): Use proper
1328 prototype.
1329 (__real_chown): Return EINVAL if owner or group are out of the range
1330 -1U .. 65534.
1331 * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
1332 * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
1333 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Return
1334 EINVAL if ruid, euid or suid are out of the range -1U .. 65534.
1335 * sysdeps/unix/sysv/linux/i386/setresgid.c (__setresgid): Similarly.
1336 * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Simplify.
1337 * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
1338 * sysdeps/unix/sysv/linux/m68k/chown.c (__syscall_chown): Use proper
1339 prototype.
1340 Don't include non-existant header.
1341 (__chown): Return EINVAL if owner or group are out of the range
1342 -1U .. 65534.
1343 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setresuid,
1344 setresgid): Inherit standard linux/syscalls.list definitions.
1345 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Remove.
1346 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Remove.
1347 * sysdeps/unix/sysv/linux/syscalls.list (setresgid): Provide
1348 __setresgid symbol.
1349
1350 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
1351
1352 * locale/iso-639.def: Update Hebrew, Yiddish, and Indonesian entry
1353 from 1989 change in ISO 639.
1354
1355 2000-01-12 Andreas Jaeger <aj@suse.de>
1356
1357 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): New
1358 function; needed for 32bit uid support.
1359
1360 * sysdeps/unix/sysv/linux/i386/xstat.c: New file, handles 32bit
1361 uids correctly.
1362
1363 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
1364
1365 * intl/locale.alias: Add entries for galician.
1366
1367 * locale/programs/ld-ctype.c (get_character): If tok_ucs4 found, first
1368 try to get sequence from charmap with Uxxxxxxxx name.
1369 (charclass_ucs4_ellipsis): Likewise.
1370 (charclass_charcode_ellipsis): Allow byte sequence missing.
1371 (read_writestring): Free allocated memory in case of an error.
1372 (set_class_defaults): Don't search repertoire map for wide character
1373 default values; we know it's UCS4.
1374
1375 * locale/programs/repertoire.c (repertoire_find_value): Just return an
1376 error if no repertoire map was loaded.
1377 (repertoire_find_symbol): Likewise.
1378 (repertoire_find_seq): Likewise.
1379
1380 * posix/fnmatch.c: Put internal_fnmatch in separate file. Include
1381 twice, to define singlebyte and multibyte version.
1382 (fnmatch): Differentiate between singlebyte and multibyte locale and
1383 call appropriate internal function.
1384 * posix/fnmatch_loop.c: New file.
1385 * posix/Makefile (distribute): Add fnmatch_loop.c.
1386
1387 * locale/programs/repertoire.c (repertoire_read): Don't print
1388 error message when repertoire map is missing.
1389 (repertoire_complain): Print error message for missing map, but only
1390 once.
1391 * locale/programs/repertoire.h (repertoire_complain): Add prototype.
1392
1393 * locale/programs/linereader.c (get_string): Prefer getting names
1394 from charseq entries. Try finding Uxxxxxxxx names in charmap
1395 before trying to map from repertoire.
1396
1397 2000-01-16 Ulrich Drepper <drepper@cygnus.com>
1398
1399 * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix missing brace
1400 error in last change.
1401 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1402
1403 * stdlib/longlong.h: Fix typo in last patch.
1404
1405 2000-01-12 Andreas Jaeger <aj@suse.de>
1406
1407 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
1408 Added for Linux 2.3.39+.
1409
1410 * sysdeps/unix/sysv/linux/getresgid.c: Support 32bit UIDs and
1411 32bit GIDs.
1412 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
1413 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1414 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1415 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1416 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1417 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1418 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1419 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1420 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1421 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1422 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1423 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1424 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1425 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1426 * sysdeps/unix/sysv/linux/setegid.c: Likewise.
1427
1428 * sysdeps/unix/sysv/linux/arm/chown.c: New file.
1429 * sysdeps/unix/sysv/linux/arm/fchown.c: New file.
1430 * sysdeps/unix/sysv/linux/arm/geteuid.c: New file.
1431 * sysdeps/unix/sysv/linux/arm/getegid.c: New file.
1432 * sysdeps/unix/sysv/linux/arm/getuid.c: New file.
1433 * sysdeps/unix/sysv/linux/arm/getgid.c: New file.
1434 * sysdeps/unix/sysv/linux/arm/lchown.c: New file.
1435 * sysdeps/unix/sysv/linux/i386/fchown.c: New file.
1436 * sysdeps/unix/sysv/linux/i386/getegid.c: New file.
1437 * sysdeps/unix/sysv/linux/i386/geteuid.c: New file.
1438 * sysdeps/unix/sysv/linux/i386/getgid.c: New file.
1439 * sysdeps/unix/sysv/linux/i386/getuid.c: New file.
1440 * sysdeps/unix/sysv/linux/i386/lchown.c: New file.
1441 * sysdeps/unix/sysv/linux/m68k/chown.c: New file.
1442 * sysdeps/unix/sysv/linux/m68k/fchown.c: New file.
1443 * sysdeps/unix/sysv/linux/m68k/getegid.c: New file.
1444 * sysdeps/unix/sysv/linux/m68k/geteuid.c: New file.
1445 * sysdeps/unix/sysv/linux/m68k/getgid.c: New file.
1446 * sysdeps/unix/sysv/linux/m68k/getuid.c: New file.
1447 * sysdeps/unix/sysv/linux/m68k/lchown.c: New file.
1448 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: New file.
1449 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: New file.
1450 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: New file.
1451 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: New file.
1452 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: New file.
1453 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: New file.
1454 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: New file.
1455 Based on a patch by Chris Wing <wingc@engin.umich.edu>.
1456
1457 2000-01-14 Jakub Jelinek <jakub@redhat.com>
1458
1459 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: New file.
1460
1461 2000-01-13 Jakub Jelinek <jakub@redhat.com>
1462
1463 * sysdeps/generic/backtrace.c: Include signal.h which
1464 sigcontextinfo.h headers are used to expect.
1465 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h
1466 (register_dump): Fix a typo in the printout.
1467 Avoid using reg_window, so that asm/ptrace.h is not necessary.
1468 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
1469 (ADVANCE_STACK_FRAME): Likewise.
1470
1471 * stdlib/longlong.h: Avoid using __sparc_v9__ ifdefs.
1472 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1473 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1474
1475 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Include bits/wordsize.h
1476 to make it clear this file depends on __WORDSIZE.
1477 * sysdeps/unix/sysv/linux/ftruncate64.c (__have_no_truncate64):
1478 Renamed from have_no_truncate64.
1479 * sysdeps/unix/sysv/linux/truncate64.c (__have_no_truncate64):
1480 Likewise.
1481
1482 2000-01-16 Ulrich Drepper <drepper@cygnus.com>
1483
1484 * Makeconfig (rpath-dirs): Remove db2.
1485 (dbojdir): Remove variable.
1486
1487 * locale/programs/locfile.h (handle_copy): Take repertoire map
1488 name as parameter, not pointer to repertoire structure.
1489 * locale/programs/ld-address.c: Change caller.
1490 * locale/programs/ld-ctype.c: Likewise.
1491 * locale/programs/ld-identification.c: Likewise.
1492 * locale/programs/ld-measurement.c: Likewise.
1493 * locale/programs/ld-messages.c: Likewise.
1494 * locale/programs/ld-monetary.c: Likewise.
1495 * locale/programs/ld-name.c: Likewise.
1496 * locale/programs/ld-numeric.c: Likewise.
1497 * locale/programs/ld-paper.c: Likewise.
1498 * locale/programs/ld-telephone.c: Likewise.
1499 * locale/programs/ld-time.c: Likewise.
1500
1501 2000-01-13 Ulrich Drepper <drepper@cygnus.com>
1502
1503 * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code generated if
1504 mmap2 is available when compiling but no at runtime.
1505
1506 2000-01-12 Ulrich Drepper <drepper@cygnus.com>
1507
1508 * iconvdata/iso-ir-165.c: New file.
1509 * iconvdata/iso-ir-165.h: New file.
1510 * iconvdata/Makefile: Add rules to build libISOIR165.
1511
1512 * Makefile (install): Correct passing -r parameter to ldconfig.
1513
1514 * iconvdata/gconv-modules: Add aliases ISO-IR-199 and ISO-IR-203.
1515 Reported by Bruno Haible <haible@ilog.fr>.
1516
1517 2000-01-11 Andreas Schwab <schwab@suse.de>
1518
1519 * sysdeps/i386/fpu/libm-test-ulps: Adjust some epsilons.
1520
1521 2000-01-10 Thorsten Kukuk <kukuk@suse.de>
1522
1523 * nss/getent.c: Add ipv6 support for hosts.
1524
1525 2000-01-05 Philip Blundell <pb@futuretv.com>
1526
1527 * sysdeps/unix/sysv/linux/arm/Versions: Add getrlimit, setrlimit,
1528 getrlimit64, setrlimit64 for GLIBC_2.1.3.
1529 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
1530 oldsetrlimit.
1531 * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: New file.
1532 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
1533 * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
1534 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Likewise.
1535 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Likewise.
1536 * sysdeps/unix/sysv/linux/arm/getrlimit.c: Likewise.
1537
1538 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
1539 (sysdep_routines): Add oldgetrlimit64, oldsetrlimit64.
1540 [subdir=misc] (sysdep_headers): Add sys/elf.h.
1541
1542 2000-01-09 Andreas Jaeger <aj@suse.de>
1543
1544 * manual/install.texi (Tools for Compilation): Update required
1545 compiler version.
1546 (Configuring and compiling): Restore old comments about
1547 configparms; modify to reflect current usage.
1548
1549 2000-01-09 Philip Blundell <philb@gnu.org>
1550
1551 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't attempt name
1552 resolution if the hints included AI_NUMERICHOST.
1553
1554 2000-01-11 Andreas Schwab <schwab@suse.de>
1555
1556 * sysdeps/mips/__longjmp.c (__longjmp): Change call to abort into
1557 infinite loop to avoid pulling in stdio in the dynamic linker.
1558 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
1559
1560 2000-01-10 Andreas Jaeger <aj@suse.de>
1561
1562 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Follow
1563 change from 1999-10-07 to elf/elf.h and rename EM_MIPS_RS4_BE to
1564 EM_MIPS_RS3_LE.
1565 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1566
1567 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Remove greg_t,
1568 gregset_t, fpregset_t, and NGREG definitions.
1569
1570 * sysdeps/mips/Implies: Add wordsize-32.
1571
1572 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Add missing
1573 int's.
1574
1575 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Remove K&R support, add
1576 missing int's.
1577
1578 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Remove K&R support.
1579 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1580 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1581 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1582 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1583 * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
1584 * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
1585
1586 2000-01-09 Philip Blundell <philb@gnu.org>
1587
1588 * sysdeps/arm/dl-machine.h (CLEAR_CACHE): System calls clobber R0.
1589 (dl_platform_init): Allow _dl_platform to be NULL.
1590
1591 * sysdeps/unix/sysv/linux/arm/sysdep.h (UNDOARGS_5): Fix error in
1592 last change.
1593
1594 2000-01-08 Ulrich Drepper <drepper@cygnus.com>
1595
1596 * nscd/connections.c (handle_request): Handle systems without
1597 SO_PEERCRED.
1598 (nscd_run): Likewise.
1599
1600 2000-01-07 Andreas Jaeger <aj@suse.de>
1601
1602 Add support for Berkeley db 3.0.x and merge db support:
1603 * nss/nss_db/dummy-db.h (struct db30): New.
1604 (struct dbc30): New.
1605 Added DB30* flags.
1606
1607 * nss/makedb.c: Move all database routines to db-open.c.
1608 (main): Adjust to interface changes.
1609 Load database early to initialize version dependend variables.
1610
1611 * nss/db-open.c: Merge database routines from makedb.c.
1612 Define version dependend constansts as variables.
1613 (load_db): Check also for db 3.
1614 (internal_setent): Call dbopen.
1615 (db_cursor): New function from makedb; handles db 3 now.
1616 (dbopen): New function from makedb; handles db 3.
1617
1618 * nss/nss_db/db-XXX.c: Use db_notfound since the value is
1619 different in different DB versions.
1620
1621 * nss/nss_db/nss_db.h: Add version dependend constants as
1622 variables, add exportet interfaces from db-open.c.
1623
1624 * nss/Makefile ($(objpfx)makedb): Link against db-open.
1625
1626 2000-01-07 Ulrich Drepper <drepper@cygnus.com>
1627
1628 * misc/error.c: Don't use `defined _LIBC', only `_LIBC'.
1629 Reported by Jim Meyering.
1630
1631 * time/strftime.c: Pretty printing.
1632
1633 2000-01-07 Andreas Jaeger <aj@suse.de>
1634
1635 * manual/socket.texi (Host Names): Fix example.
1636 Reported by Marco Budde <budde@telos.de>.
1637
1638 2000-01-06 Ulrich Drepper <drepper@cygnus.com>
1639
1640 * localedata/Makefile (install-locales): Create locale directory
1641 if it does not exist.
1642
1643 * locale/programs/charmap.c (charmap_read): Call lr_open here and
1644 not in parse_charmap. Try also the directories on the I18NPATH.
1645 (parse_charmap): Change accordingly.
1646
1647 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
1648
1649 * sysdeps/unix/sysv/linux/i386/Dist: Distribute oldgetrlimit64.c
1650 and oldsetrlimit64.c.
1651
1652 * sysdeps/unix/sysv/linux/arm/Dist: Distribute sys/elf.h and
1653 sys/procfs.h.
1654
1655 * manual/texinfo.tex: Updated from latest official version.
1656
1657 * debug/Makefile (distribute): Add frame.h.
1658
1659 2000-01-05 Philip Blundell <philb@gnu.org>
1660
1661 * sysdeps/arm/frame.h: New file.
1662 * sysdeps/generic/frame.h: Likewise.
1663 * sysdeps/generic/segfault.c (struct layout): Delete definition;
1664 include the above file instead.
1665 * sysdeps/generic/backtrace.c (struct layout): Likewise.
1666 (__backtrace): Use ADVANCE_STACK_FRAME.
1667 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
1668 (ADVANCE_STACK_FRAME): New macro.
1669 (GET_FRAME): Apply above to returned value.
1670
1671 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Add `fault_address'.
1672
1673 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
1674
1675 * sysdeps/posix/getaddrinfo.c: Add support for SOCK_RAW.
1676 Patch by YOSHIFUJI Hideaki <yoshifuji@ecei.tohoku.ac.jp>.
1677
1678 * io/ftw.c (process_entry): Cache object dev/inode only for
1679 directories (PR libc/1514).
1680
1681 2000-01-05 Andreas Schwab <schwab@suse.de>
1682
1683 * locale/programs/charmap.c (charmap_read): Fix typo.
1684
1685 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
1686
1687 * locale/programs/charset.c: Removed.
1688
1689 * iconvdata/Makefile: Add rules for ISO-8859-16 module.
1690 * iconvdata/gconv-modules: Likewise.
1691 * iconvdata/iso8859-16.c: New file.
1692
1693 2000-01-05 Andreas Schwab <schwab@suse.de>
1694
1695 * iconv/iconv_prog.c (process_block): Add cast to avoid warning.
1696
1697 2000-01-05 Andreas Jaeger <aj@suse.de>
1698
1699 * intl/locale.alias: Add lithunian entry.
1700 Reported by Kestutis Kupciunas <kesha@soften.ktu.lt>, PR libc/1507.
1701
1702 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
1703
1704 * locale/programs/stringtrans.c: Removed.
1705 * locale/programs/stringtrans.h: Removed.
1706 * locale/programs/linereader.c: Remove #include of stringtrans.h.
1707
1708 * locale/findlocale.c (_nl_find_locale): Don't try using mmap is
1709 _POSIX_MAPPED_FILES is not defined.
1710
1711 * locale/findlocale.c (_nl_find_locale): Correct memory allocation
1712 for loc_name copy.
1713
1714 * locale/setlocale.c (new_composite_name): Use _nl_C_name and
1715 _nl_POSIX_name instead of "C" and "POSIX" strings.
1716
1717 * ctype/ctype-info.c (__ctype32_tolower): Use _nl_C_CTYPE_tolower.
1718 (__ctype32_toupper): Use _nl_C_CTYPE_toupper.
1719 * locale/C-ctype.c (_nl_C_LC_CTYPE_tolower32): Removed. We can
1720 reuse the _nl_C_LC_CTYPE_tolower table.
1721 (_nl_C_LC_CTYPE_toupper32): Likewise.
1722 (_nl_C_LC_CTYPE): Use normal table to initialize tolower32 and
1723 toupper32 entries.
1724
1725 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISNCTRL bit for
1726 characters >= 0x80.
1727 (_nl_C_LC_CTYPE_class32): Likewise.
1728
1729 * rt/aio.h (struct aioinit): Replace one aio_reserved value with
1730 aio_idle_time.
1731 * rt/aio_misc.c: Rewrite to not automatically terminate worker threads
1732 after the operation is done. Let them linger for a user-definable
1733 time.
1734 * rt/aio_cancel.c: Likewise.
1735 Patch by Willian M Shubert <william.m.shubert@intel.com>.
1736
1737 * sysdeps/i386/i686/add_n.S: New file.
1738
1739 2000-01-02 Philip Blundell <philb@gnu.org>
1740
1741 * sysdeps/unix/sysv/linux/arm/ioperm.c: Use sysctl by preference
1742 to obtain port mapping information. Avoid use of mprotect.
1743
1744 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
1745
1746 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Add
1747 definition from 2.3.36.
1748
1749 2000-01-04 Andreas Jaeger <aj@suse.de>
1750
1751 * nss/nss_db/dummy-db.h (struct db24): Add missing field flags.
1752 (struct db27): Add missing fields byteswapped, join and flags;
1753 remove wrong member handleq.
1754 (struct dbc27): Correct lock field.
1755
1756 * nss/makedb.c: Remove __P.
1757
1758 2000-01-04 Andreas Jaeger <aj@suse.de>
1759
1760 * nss/nss_db/db-open.c (internal_setent): Check for db_open for
1761 success, fix a memory leak and clean up function.
1762
1763 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
1764
1765 * Makefile (install): Pass $(install_root) to ldconfig.
1766 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
1767
1768 2000-01-03 Jakub Jelinek <jakub@redhat.com>
1769
1770 * soft-fp/op-1.h: Fix division for machines using not normalizing
1771 version of udiv_qrnnd in longlong.h.
1772 * soft-fp/sysdeps/mips/sfp-machine.h: Likewise.
1773 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Likewise.
1774 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Likewise.
1775 Patch by Eddie C. Dost <ecd@skynet.be>.
1776
1777 * soft-fp/soft-fp.h (QItype, UQItype): New types used by longlong.h.
1778
1779 2000-01-03 Andreas Schwab <schwab@suse.de>
1780
1781 * sysdeps/generic/dl-sysdep.c: Initialize __libc_multiple_libcs,
1782 needed for change in common symbol handing in newer binutils.
1783
1784 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
1785
1786 * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code for running on
1787 kernel without mmap2 syscall.
1788
1789 2000-01-03 Philip Blundell <philb@gnu.org>
1790
1791 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MMAP2_SYSCALL,
1792 __ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL): Define on
1793 ARM for kernels >= 2.3.35.
1794
1795 2000-01-03 Philip Blundell <philb@gnu.org>
1796
1797 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove mmap64 alias.
1798 Optimise error handling a little.
1799 * sysdeps/unix/sysv/linux/arm/mmap64.S: New file.
1800
1801 2000-01-03 Andreas Jaeger <aj@suse.de>
1802
1803 * include/resolv.h: Remove declarations for __ns_name_ntop and
1804 __ns_name_unpack since those are available in resolv/arpa/nameser.h.
1805
1806 2000-01-03 Andreas Jaeger <aj@suse.de>
1807
1808 * time/tst-strptime.c (test_tm): Add tests for all fields of
1809 struct tm.
1810
1811 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
1812
1813 * string/bits/string2.h (__strsep_g): Don't handle empty __S special.
1814
1815 2000-01-03 Andreas Jaeger <aj@suse.de>
1816
1817 * string/tester.c (test_strsep): Add one more test.
1818
1819 2000-01-03 Philip Blundell <philb@gnu.org>
1820
1821 * string/tester.c (test_mempcpy): New function.
1822 (main): Call it.
1823 (test_memcpy): Test unaligned cases too.
1824
1825 * sysdeps/arm/bits/string.h (_HAVE_STRING_ARCH_mempcpy): Define.
1826
1827 * sysdeps/arm/fpu/bits/mathdef.h: New file.
1828
1829 2000-01-02 Ulrich Drepper <drepper@cygnus.com>
1830
1831 * posix/Makefile (tests): Add tst-mmap.
1832 * posix/tst-mmap.c: New file.
1833
1834 * sysdeps/unix/sysv/linux/i386/mmap64.S: Pop registers after mmap2
1835 call before handling error.
1836
1837 * sysdeps/unix/sysv/linux/i386/mmap64.S: Handle unaligned offsets.
1838 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1839
1840 * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs): Add mapping for
1841 0xa2e6 and 0xa2e7.
1842 (__ksc5601_sym_from_ucs): Add mapping back from U00AE and U20AC.
1843 * iconvdata/ksc5601.h (KSC5601_SYMBOL): Adjust for the two new
1844 mappings.
1845 * iconvdata/testdata/EUC-KR: Add Euro and Registered sign.
1846 * iconvdata/testdata/ISO-2022-KR: Likewise.
1847
1848 * sysdeps/unix/sysv/linux/llseek.c: Formulate warning message stronger.
1849
1850 * iconvdata/gconv-modules: Remove BALTIC. It's the same as
1851 ISO-8859-13.
1852 * iconvdata/Makefile (distribute): Remove baltic.c.
1853 (modules): Remove BALTIC.
1854 (gen-8bit-gap-modules): Remove baltic.
1855 * iconvdata/baltic.c: Removed.
1856
1857 * sysdeps/posix/system.c: Correct return value for LINE == NULL.
1858
1859 * signal/Versions [GLIBC_2.1.3] (libc): Export __sigsuspend.
1860
1861 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Fix
1862 typos (__ASSUME_TRUNCATE64_SYSCALL -> __ASSUME_MMAP2_SYSCALL).
1863 Reported by Philip Blundell <Philip.Blundell@pobox.com>.
1864
1865 * nss/Makefile: Add rules to build makedb.
1866 * nss/nss_db/nss_db.h: Add definitions needed for makedb.
1867 * nss/nss_db/dummy-db.h: Likewise.
1868 * nss/makedb.c: New file. Copied from file in db2, modified to not
1869 depend on being linked against libdb.
1870
1871 2000-01-01 Ulrich Drepper <drepper@cygnus.com>
1872
1873 * Makeconfig (all-subdirs): Remove db and db2.
1874 * db/*: Removed.
1875 * db2/*: Removed.
1876
1877 * nss/nss_db/db-XXX.c: Move internal_setent and internal_endent
1878 functions from here...
1879 * nss/db-alias.c: ...and here...
1880 * nss/db-netgrp.c: ...and here...
1881 * nss/nss_db/db-open.c: ...to here. New file.
1882 * nss/nss_db/dummy-db.h: New file.
1883 * nss/nss_db/nss_db.h: New file.
1884 * nss/Depend: Depend in dlfcn, not db2.
1885 * nss/Makefile (libnss_db-routines): Add db-open.
1886 (distribute): Add nss_db.h dummy-db.h.
1887 (libnss_db.so): Replace libdb dependency by $(libdl).
1888 Based on a patch by Zack Weinberg.
1889
1890 * locale/programs/ld-ctype.c: Implement rest of transliteration
1891 definition parsing.
1892 * locale/programs/locfile-kw.gperf: New keyword translit_ignore.
1893 * locale/programs/locfile-token.h: Add tok_translit_ignore.
1894
1895 1999-12-31 Ulrich Drepper <drepper@cygnus.com>
1896
1897 * locale/programs/ld-collate.c (collate_output): Emit correct
1898 information for collation elements.
1899 Don't write over end of array idx.
1900 * posix/regex.c: Handle also collation elements at end of range.
1901
1902 * posix/PTESTS: Fix a few typos.
1903
1904 * posix/bits/posix2_lim.h: Remove _POSIX2_EQUIV_CLASS_MAX. I have
1905 no idea where this came from.
1906 * sysdeps/posix/sysconf.c: Remove _POSIX2_EQUIV_CLASS_MAX handling.
1907
1908 1999-12-31 Andreas Jaeger <aj@suse.de>
1909
1910 * libio/strfile.h: Remove K&R compatibility.
1911 * locale/langinfo.h: Likewise.
1912 * locale/localeconv.c (localeconv): Likewise.
1913 * locale/programs/simple-hash.h: Likewise.
1914 * nis/nis_xdr.h: Likewise.
1915 * nis/rpcsvc/nislib.h: Likewise.
1916 * nis/rpcsvc/nis_callback.h: Likewise.
1917 * nis/rpcsvc/nis.h: Likewise.
1918 * nis/ypclnt.c: Likewise.
1919 * nscd/nscd_proto.h: Likewise.
1920 * nscd/nscd.c: Likewise.
1921 * sysdeps/generic/inttypes.h: Likewise.
1922 * sysdeps/gnu/utmpx.h: Likewise.
1923
1924 * nis/nis_intern.h: Remove K&R compatibility; add missing ints.
1925 * sunrpc/rpcsvc/rusers.x: Likewise.
1926
1927 * nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat.
1928
1929 * elf/dl-misc.c: Remove __libc_write prototype since it's already
1930 in include/unistd.h.
1931 * elf/dl-profile.c: Likewise.
1932 * elf/dl-load.c: Likewise for __libc_read.
1933
1934 * elf/dl-profile.c: Remove __P.
1935 * elf/sprof.c: Likewise.
1936 * elf/sln.c: Likewise.
1937
1938 1999-12-31 Ulrich Drepper <drepper@cygnus.com>
1939
1940 * locale/langinfo.h: Add constants for wide character collation
1941 symbol table.
1942 * locale/categories.def: Add appropriate entries for collate symbol
1943 table entries.
1944 * locale/C-collate.c: Add initializers for new entries.
1945 Remove commented out code.
1946 * locale/elem-hash.h: New file.
1947 * locale/Makefile (distribute): Add elem-hash.h.
1948 * locale/programs/ld-collate.c: Implement output of collate symbol
1949 table.
1950
1951 * posix/regex.c: Implement collation class handling.
1952
1953 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
1954
1955 * posix/regex.c (regex_compile): Implement equivalence class handling.
1956
1957 1999-12-30 Geoffrey Keating <geoffk@cygnus.com>
1958
1959 * sysdeps/powerpc/dl-machine.c: Many minor formatting changes.
1960 (OPCODE_LWZU): New macro.
1961 (OPCODE_ADDIS_HI): New macro.
1962 (OPCODE_LIS_HI): New macro.
1963 (__elf_machine_runtime_setup): Change PLT code-generation scheme
1964 for thread safety even with very large PLTs, better efficiency,
1965 and to fix a cache-flushing bug. Also support the Motorola
1966 8xx processors which have a different cache line size than all
1967 the others.
1968 (__elf_machine_fixup_plt): Likewise.
1969 (__process_machine_rela): Don't use elf_machine_fixup_plt.
1970
1971 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
1972
1973 * wcsmbs/wcscoll.c: Use multibyte character version.
1974 * wcsmbs/wcsxfrm.c: Likewise.
1975 * string/strcoll.c: Prepare to be used for the wide character version.
1976 * string/strxfrm.c: Likewise.
1977 * locale/weightwc.h: New file.
1978
1979 1999-12-30 Geoff Keating <geoffk@cygnus.com>
1980
1981 * sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove
1982 the (void) casts as now feraiseexcept returns a value.
1983 (feclearexcept): Likewise.
1984
1985 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0',
1986 it interferes with the macros for AIX.
1987
1988 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
1989
1990 * locale/programs/ld-collate.c (collate_finish): Always define
1991 weight for UNDEFINED if not defined by the user but don't complain
1992 unless it is needed in the multibyte character table.
1993 (collate_output): Add extra dummy elements in wide char tables in the
1994 same way done for multibyte. Always output undefined entry in
1995 wide character table.
1996
1997 * locale/Makefile (categories): Remove commented-out old definition.
1998
1999 * locale/programs/ld-collate.c (insert_value): Don't pass wide string
2000 to new_element if the wide char is not valid.
2001 (handle_ellipsis): Likewise.
2002 (collate_read): It's no problem if the string in the collating element
2003 definition cannot be represented as multibyte or wide char string.
2004
2005 1999-12-13 Andreas Jaeger <aj@suse.de>
2006
2007 * resolv/resolv.h: Remove K&R compatibility.
2008
2009 * resolv/res_libc.c: Move definition of _res after res_init,
2010 res_init should use the threaded specific context.
2011
2012 * resolv/Makefile (+cflags): Remove -Wno-comment since it's not
2013 needed anymore.
2014
2015 1999-12-29 Ulrich Drepper <drepper@cygnus.com>
2016
2017 * locale/langinfo.h: Add constants for wide character collation data.
2018 * locale/categories.def: Add appropriate entries for collate entries.
2019 * locale/C-collate.c: Add initializers for new entries.
2020 * locale/programs/ld-collate.c: Implement output of wide character
2021 tables.
2022
2023 * locale/programs/ld-ctype.c (allocate_arrays): Change algorithm to
2024 compute wide character table size a bit: it now gives up a bit of
2025 total table size for fewer levels.
2026
2027 * soft-fp/*: Tons of new files to implement floating-point arithmetic
2028 in software.
2029 Contributed by Richard Henderson, Jakub Jelinek and others.
2030
2031 1999-12-29 Andreas Jaeger <aj@suse.de>
2032
2033 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Don't include
2034 <asm/io.h>; remove K&R compatibility; add missing ints.
2035
2036 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove K&R compatibility,
2037 add missing ints.
2038
2039 * sysdeps/unix/sysv/linux/sys/io.h: Don't include <asm/io.h>.
2040
2041 1999-12-29 Andreas Jaeger <aj@suse.de>
2042
2043 * manual/getopt.texi (Using Getopt): Document ordering of options.
2044
2045 1999-12-29 Andreas Jaeger <aj@suse.de>
2046
2047 * sysdeps/unix/sysv/linux/llseek.c: Emit link time warning for llseek.
2048 Requested by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2049
2050 1999-12-14 Andreas Jaeger <aj@suse.de>
2051
2052 * sysdeps/unix/sysv/linux/scsi/scsi.h: Add new defines from Linux
2053 2.3.32.
2054
2055 1999-12-28 Jakub Jelinek <jakub@redhat.com>
2056
2057 * elf/sprof.c (load_shobj): Fix error message.
2058 (generate_call_graph): Cast %*s length argument to int.
2059 * locale/programs/localedef.c (construct_output_path): Likewise.
2060 * locale/programs/ld-ctype.c (ctype_finish): Use proper format
2061 specifier.
2062 (ctype_class_new): Likewise.
2063 * locale/programs/ld-time.c (time_finish): Likewise.
2064 * sunrpc/svc_simple.c (register_rpc): Likewise.
2065 * nscd/connections.c (nscd_run, start_threads): Use long instead of
2066 int to avoid cast warnings.
2067 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l): Kill
2068 warning.
2069 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Remove unused
2070 variable se.
2071
2072 * time/strftime.c (my_strftime): Provide wide era string when
2073 requested.
2074
2075 * sysdeps/sparc/fpu/bits/mathinline.h (__signbit, __signbitl):
2076 Separate into 32bit and 64bit versions.
2077
2078 1999-12-28 Ulrich Drepper <drepper@cygnus.com>
2079
2080 * iconvdata/Makefile (modules): Add ISO-2022-CN.
2081 Add link rules for this module.
2082 (distribute): Add iso-2022-cn.c and cns11643l2.h.
2083 * iconvdata/cns11643l2.h: New file.
2084 * iconvdata/iso-2022-cn.c: New file.
2085 * iconvdata/gconv-modules: Add entries for ISO-2022-CN module.
2086
2087 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Make string argument
2088 unsigned.
2089 (ucs4_to_cns11643l1): Likewise.
2090 * iconvdata/euc-tw.c: Correct parameter passed to cns11643l1_to_ucs4.
2091
2092 * iconvdata/iso-2022-kr.c: Remove unnecessary test from conversion
2093 loop to UCS4.
2094 Optimize recognition of escape sequences a bit.
2095
2096 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit
2097 and oldsetrlimit definitions.
2098
2099 1999-12-27 Ulrich Drepper <drepper@cygnus.com>
2100
2101 * iconvdata/run-iconv-test.sh: Improve test output a bit to allow
2102 identifying errors more easily.
2103
2104 * iconvdata/testdata/EUC-CN..UTF8: New file.
2105 * iconvdata/testdata/GBK..UTF8: New file.
2106
2107 * iconvdata/gbk.c: In mapping from UCS4: don't crash for undefined
2108 mappings. Fix last patch.
2109 * iconvdata/TESTS: Add GBK.
2110 * iconvdata/testdata/GBK: New file.
2111
2112 * iconvdata/gb2312.h (ucs4_to_gb2312): Fix mapping of 0x0101,
2113 0x2312, and 0x2500..0x254b.
2114 * iconvdata/TESTS: Add EUC-CN.
2115 * iconvdata/testdata/EUC-CN: New file.
2116
2117 * iconvdata/gbgbk.c: New file.
2118 * iconvdata/Makefile (modules): Add GBGBK.
2119 (distribute): Add gbgbk.c.
2120 * iconvdata/gconv-modules: Add entries for GBGBK modules.
2121
2122 * iconvdata/euc-cn.c: Fix comment.
2123
2124 * iconvdata/gbk.c: Optimize the switch statement in the conversion
2125 to GBK a bit.
2126
2127 * locale/programs/charmap.c (charmap_new_char): Recognize special
2128 character names Uxxxx and Pxxxx and initialize the UCS4 value from
2129 the value of xxxx.
2130
2131 1999-12-17 Andreas Jaeger <aj@suse.de>
2132
2133 * stdlib/Versions: Export __cxa_atexit and __cxa_finalize.
2134
2135 1999-12-16 Mark Mitchell <mark@codesourcery.com>
2136
2137 * stdlib/Makefile (routines): Add cxa_atexit and cxa_finalize.
2138 * stdlib/exit.h (flavor): Add ef_cxa.
2139 (exit_function): Add cxa variant.
2140 * stdlib/exit.c (exit): Handle ef_cxa exit functions.
2141 * stdlib/cxa_atexit.c: New file.
2142 * stdlib/cxa_finalize.c: New file.
2143
2144 1999-12-27 Ulrich Drepper <drepper@cygnus.com>
2145
2146 * iconvdata/gb2312.c: Update mapping of GB 0x212c from latest
2147 Unicode tables.
2148
2149 1999-12-26 Ulrich Drepper <drepper@cygnus.com>
2150
2151 * sysdeps/unix/sysv/linux/fxstat64.c: Rename have_no_stat64 to
2152 __have_no_stat64.
2153 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2154 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2155
2156 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Remove inclusion
2157 of <asm/resource.h>.
2158
2159 1999-12-26 Philip Blundell <philb@gnu.org>
2160
2161 * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove vm86. Set
2162 argument count for `syscall' to 7.
2163 * sysdeps/unix/sysv/linux/arm/sysdep.h: Add support for syscalls
2164 with more than five arguments.
2165 (DOARGS_5, UNDOARGS_5): Don't corrupt the calling stack frame.
2166
2167 1999-12-26 Ulrich Drepper <drepper@cygnus.com>
2168
2169 * locale/programs/ld-collate.c (collate_output): Don't start with empty
2170 extrapool and indirectpool obstacks since we need the offsets to be
2171 nonzero.
2172 (collate_read): Call load_locale, not find_locale.
2173 * locale/programs/ld-ctype.c (ctype_finish): If LC_CTYPE category
2174 wasn't defined in the file also initialize repertoire if possible.
2175 * locale/programs/ld-time.c (time_finish): Fix message string.
2176 * locale/programs/linereader.c: Cast parameters of lr_error to
2177 correct type to prevnet warning.
2178 * locale/programs/localedef.c (load_locale): New file.
2179 * locale/programs/localedef.h: Add its prototype.
2180 * locale/programs/repertoire.c (repertoire_new_char): Add missing
2181 parameters to lr_error call.
2182
2183 * localedata/Makefile: Enable running tests again.
2184 * localedata/tests/test2.def: Adjust syntax to new specification.
2185 * localedata/tests/test3.def: Likewise.
2186 * localedata/tst-trans.sh: Redirect output of program into file.
2187
2188 * string/strcoll.c: Fix many error in new implementation to make it
2189 pass (at least) the test suite.
2190
2191 * locale/Makefile: Don't link localedef statically anymore.
2192
2193 * locale/ld-collate.c (struct element_t): Add field is_character and
2194 use it to distinguish real character from collating elements and
2195 symbols.
2196 (new_element): Take new parameter to initialize is_character. Change
2197 all callers.
2198 (handle_ellipsis): Use is_character field to make sure ellipsis is
2199 only used with characters.
2200 (collate_read): Fix reading of collating elements.
2201
2202 * string/strxfrm.c: Correct loop end detection and memory access
2203 in the little optimization at the end.
2204
2205 * locale/programs/ld-monetary.c (monetary_finish): Correct code to
2206 emit warnings. Provide default value for mon_decimal_point.
2207
2208 * locale/programs/ld-collate.c (collate_finish): Don't crash if this
2209 category wasn't defined.
2210 (collate_output): Likewise.
2211
2212 * locale/programs/ld-address.c: Don't emit message about not defined
2213 category if be_quiet.
2214 * locale/programs/ld-ctype.c: Likewise.
2215 * locale/programs/ld-identification.c: Likewise.
2216 * locale/programs/ld-measurement.c: Likewise.
2217 * locale/programs/ld-messages.c: Likewise.
2218 * locale/programs/ld-monetary.c: Likewise.
2219 * locale/programs/ld-name.c: Likewise.
2220 * locale/programs/ld-numeric.c: Likewise.
2221 * locale/programs/ld-paper.c: Likewise.
2222 * locale/programs/ld-telephone.c: Likewise.
2223 * locale/programs/ld-time.c: Likewise.
2224
2225 * locale/programs/locfile.c (write_locale_data): Correct memory
2226 allocation for fname.
2227
2228 1999-12-25 Ulrich Drepper <drepper@cygnus.com>
2229
2230 * locale/programs/ld-collate.c (read_directions): Fix a few messages.
2231 (collate_finish): Test that position is used in all sections for
2232 a level or in none.
2233
2234 * string/strxfrm.c: Optimize a bit. We don't need the highest bit
2235 of the index returned by findidx.
2236
2237 * string/strcoll.c: Complete rewrite for new collate implementation.
2238 * wcsmbs/wcscoll.c: Don't use strcoll.c, implement dummy implementation
2239 locally.
2240
2241 * locale/C-collate.c (_nl_C_LC_COLLATE): Add one more entry for the
2242 indirect table.
2243 * locale/langinfo.h: Likewise.
2244 * locale/categories.def: Likewise. Remove reference to postload
2245 functions.
2246 * locale/lc-collate.c (_nl_postload_collate): Removed. Also remove
2247 __collate_tablemb, __collate_weightmb, and __collate_extramb.
2248 * locale/localeinfo.h: Remove declaration for removed variables above.
2249 Remove prototype for _nl_get_era_entry.
2250 * locale/weight.h: Complete rewrite for new collate implementation.
2251 * locale/programs/ld-collate.c: Many changes to make output file
2252 usable in strxfrm/strcoll.
2253 * string/strxfrm.c: Complete rewrite for new collate implementation.
2254 * wcsmbs/wcsxfrm.c: Don't use strxfrm.c, implement dummy implementation
2255 locally.
2256
2257 1999-12-25 Shinya Hanataka <hanataka@abyss.rim.or.jp>
2258
2259 * locale/programs/ld-ctype.c (allocate_arrays): Correctly assign
2260 transformation values for chars >255.
2261 * wctype/wctrans.c: Return pointer unmodified.
2262
2263 1999-12-24 Ulrich Drepper <drepper@cygnus.com>
2264
2265 * sysdeps/posix/system.c (__libc_system): Check whether command
2266 processor is available if LINE is NULL. Don't return immediately
2267 if wait call returned with EINTR.
2268 Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1497 and libc/1498).
2269
2270 1999-12-23 Ulrich Drepper <drepper@cygnus.com>
2271
2272 * locale/programs/ld-monetary.c (monetary_finish): Add cast to
2273 prevent warning.
2274
2275 * locale/programs/ld-collate.c: Implement writing out multibyte
2276 collation data.
2277
2278 * locale/setlocale.c (setlocale): Allow setting LC_COLLATE again.
2279 * locale/localeinfo.h: Declare variables only for currently implemented
2280 collate functionality. Remove FORWARD_CHAR and ELLIPSIS_CHAR.
2281 * locale/lc-collate.c: Define variables only for currently implemented
2282 functionality.
2283 * locale/langinfo.h: Define symbols only for currently implemented
2284 functionality.
2285 * locale/categories.def: Define elements for currently implemented
2286 functionality.
2287 * locale/C-collate.c: Comment out definitions of arrays with symbol
2288 name definitions etc.
2289 (_nl_C_LC_COLLATE): Update for currently defined information.
2290
2291 * intl/libintl.h: Remove dcgettext macro definition.
2292 * intl/gettextP.h: Declare _nl_msg_cat_cntr.
2293
2294 * locale/iso-4217.def: Add NAD. Remove a few obsolete entries.
2295
2296 * sysdeps/generic/glob.c (glob): Pass alternate file access functions
2297 also in recursive call. Patch by Joe Orton <joe@orton.demon.co.uk>.
2298
2299 1999-12-22 Jakub Jelinek <jakub@redhat.com>
2300
2301 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Use proper type
2302 for __fenv_stfsr argument.
2303 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
2304 truncate64, ftruncate64, fstat64, lstat64, stat64 and mmap2.
2305 Remove ugetrlimit.
2306 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: New file.
2307 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
2308 (XSTAT_IS_XSTAT64): Define.
2309 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Add
2310 __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite
2311 and __libc_pwrite64.
2312 Remove oldgetrlimit and oldsetrlimit.
2313 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: New file.
2314 * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: New file.
2315 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: New file.
2316
2317 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Pass the buf
2318 pointer to the syscall, not address of that pointer.
2319 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
2320 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
2321 (__syscall_stat64): Provide proper prototype.
2322
2323 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Share
2324 has_no_truncate64 between truncate64 and ftruncate64.
2325 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
2326
2327 * sysdeps/unix/sysv/linux/kernel-features.h
2328 (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL,
2329 __ASSUME_STAT64_SYSCALL): Define on Sparc for kernels >= 2.3.35.
2330
2331 1999-12-22 Andreas Jaeger <aj@suse.de>
2332
2333 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __libc_lseek64,
2334 __libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64.
2335
2336 1999-12-21 Shinya Hanataka <hanataka@abyss.rim.or.jp>
2337
2338 * locale/lc-time.c: Extend structure era_entry.
2339 * locale/localeinfo.h: Likewise.
2340 * locale/lc-time.c: Handle '-' direction used in locale's era part
2341 properly.
2342 * time/strptime.c: Likewise.
2343 * time/strftime.c: Likewise.
2344 * locale/programs/ld-time.c: Consider negative values in era part
2345 of locale as B.C..
2346 * time/strptime.c (strptime_internal): Merged Yoshiyama's
2347 %E[CyY] implementation.
2348
2349 1999-12-21 Akira Yoshiyama <yosshy@debian.or.jp>
2350
2351 * time/strptime.c (strptime_internal): Fix segV bugs of a couple
2352 of recursive() call.
2353 * time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY'
2354 parsing.
2355
2356 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
2357
2358 * sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value.
2359 Patch by Scott Bambrough <scottb@netwinder.org>.
2360
2361 1999-12-21 Andreas Schwab <schwab@suse.de>
2362
2363 * sysdeps/unix/sysv/linux/pread.c: Fix typo.
2364
2365 * include/unistd.h: Declare __libc_lseek.
2366
2367 1999-12-21 Andreas Jaeger <aj@suse.de>
2368
2369 * stdlib/longlong.h: Remove __P.
2370
2371 1999-12-21 Andreas Jaeger <aj@suse.de>
2372
2373 * sysdeps/powerpc/fpu/libm-ulps: New file.
2374
2375 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
2376
2377 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Include sys/ucontext.h
2378 and remove definitions for NREGS, greg_t, gregset_t, and fpregset_t.
2379
2380 1999-12-21 Andreas Jaeger <aj@suse.de>
2381
2382 * sysdeps/unix/sysv/linux/m68k/putpmsg.c: Add missing #.
2383 * sysdeps/unix/sysv/linux/mips/putpmsg.c: Likewise.
2384 * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: Likewise.
2385 * sysdeps/unix/sysv/linux/mips/getmsg.c: Add missing #.
2386 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2387 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2388 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2389 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2390 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2391 * sysdeps/unix/sysv/linux/m68k/getpmsg.c: Add missing #.
2392 * sysdeps/unix/sysv/linux/mips/getpmsg.c: Likewise.
2393 * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: Likewise.
2394
2395 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
2396
2397 * sysdeps/unix/sysv/linux/i386/getmsg.c: New file.
2398 * sysdeps/unix/sysv/linux/i386/getpmsg.c: New file.
2399 * sysdeps/unix/sysv/linux/i386/putmsg.c: New file.
2400 * sysdeps/unix/sysv/linux/i386/putpmsg.c: New file.
2401 * sysdeps/unix/sysv/linux/m68k/getmsg.c: New file.
2402 * sysdeps/unix/sysv/linux/m68k/getpmsg.c: New file.
2403 * sysdeps/unix/sysv/linux/m68k/putmsg.c: New file.
2404 * sysdeps/unix/sysv/linux/m68k/putpmsg.c: New file.
2405 * sysdeps/unix/sysv/linux/mips/getmsg.c: New file.
2406 * sysdeps/unix/sysv/linux/mips/getpmsg.c: New file.
2407 * sysdeps/unix/sysv/linux/mips/putmsg.c: New file.
2408 * sysdeps/unix/sysv/linux/mips/putpmsg.c: New file.
2409 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: New file.
2410 * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: New file.
2411 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: New file.
2412 * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: New file.
2413 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getpmsg and
2414 putpmsg.
2415
2416 1999-12-20 Ulrich Drepper <drepper@cygnus.com>
2417
2418 * sysdeps/unix/sysv/linux/lxstat64.c: Include "kernel-features.h"
2419 before testing for __ASSUME_STAT64_SYSCALL.
2420 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
2421 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2422
2423 1999-12-20 Andreas Schwab <schwab@suse.de>
2424
2425 * manual/install.texi (Running make install): Clearify that
2426 install_root should be an absolute file name.
2427
2428 1999-12-20 Ulrich Drepper <drepper@cygnus.com>
2429
2430 * iconv/gconv.c (__gconv): Deal with outbuf being NULL.
2431
2432 * iconv/iconv.c (iconv): Allow omitting output buffer if no input
2433 buffer is given to place conversion descriptor in initial state.
2434 * iconvdata/gconv-modules: Correct aliases CSPC850MULTILINGUAL and
2435 CSPC862LATINHEBREW.
2436 * iconvdata/gconv-modules: Add aliases GB2312 and csGB2312
2437 (according to IANA registry).
2438 Reported by Bruno Haible <haible@ilog.fr>.
2439
2440 * iconvdata/johab.c: Correct completely broken conversion to JOHAB.
2441
2442 * locale/categories.def: Remove most of the collate definitions.
2443 * locale/langinfo.h: Comment out corresponding definitions.
2444 * locale/programs/locale-spec.c (locale_special): Don't recognize the
2445 collate names yet.
2446 * locale/programs/ld-collate.c: Correct and optimize computation of
2447 weights. Set up list of all definitions correctly. Start writing
2448 function to generate output file.
2449
2450 * locale/programs/ld-ctype.c (allocate_arrays): Increment counter in
2451 loop to compute default mapping.
2452
2453 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
2454
2455 * sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for
2456 cancelation wrapper.
2457 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
2458 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
2459 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
2460
2461 1999-12-19 Andreas Jaeger <aj@suse.de>
2462
2463 * sysdeps/generic/libc-start.c: Remove declaration of
2464 __libc_open. Move declaration of __libc_fcntl to ...
2465 * include/fcntl.h: ...here.
2466
2467 * include/unistd.h: Move __libc_open and __libc_open64 to ...
2468 * include/fcntl.h: ...here.
2469
2470 * malloc/malloc.h (__attribute_malloc__): Only define if hasn't
2471 happened yet.
2472
2473 * malloc/Versions: __libc_freeres was exported with glibc 2.1.3,
2474 rename label.
2475
2476 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
2477
2478 * sysdeps/unix/sysv/linux/bits/resource.h: Remove <asm/resource.h>
2479 inclusion.
2480
2481 1999-12-19 Andreas Jaeger <aj@suse.de>
2482
2483 * include/string.h: Mark __strndup with __attribute_malloc__.
2484
2485 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
2486
2487 * locale/langinfo.h: Always define CODESET.
2488 (CODESET): Define also as macro.
2489
2490 * stdio-common/printf_fp.c (__printf_fp): Allocate buffer to
2491 generate mantissa output in using malloc if it is larger than
2492 20000 characters.
2493 Reported by Jim Meyering <meyering@ascend.com>.
2494
2495 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
2496
2497 * misc/sys/cdefs.h: Define __attribute_malloc__ according to
2498 available gcc version.
2499 * string/string.h: Mark strdup, __strdup, and strndup with
2500 __attribute_malloc__.
2501 * stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with
2502 __attribute_malloc__.
2503 * malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc,
2504 and __default_morecore with __attribute_malloc__.
2505 Provide default definition for __attribute_malloc__.
2506 * libio/stdio.h: Make tempnam with __attribute_malloc__.
2507
2508 * include/unistd.h: Declare __libc_open64, __libc_lseek64,
2509 __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64.
2510 * io/Versions: Export __libc_open64 and __libc_lseek64.
2511 * posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite,
2512 and __libc_pwrite64.
2513 * sysdeps/generic/open64.c: Define __libc_* variant for cancelation
2514 wrapper.
2515 * sysdeps/generic/pread.c: Likewise.
2516 * sysdeps/generic/pread64.c: Likewise.
2517 * sysdeps/generic/pwrite.c: Likewise.
2518 * sysdeps/generic/pwrite64.c: Likewise.
2519 * sysdeps/posix/open64.c: Likewise.
2520 * sysdeps/posix/pread.c: Likewise.
2521 * sysdeps/posix/pread64.c: Likewise.
2522 * sysdeps/posix/pwrite.c: Likewise.
2523 * sysdeps/posix/pwrite64.c: Likewise.
2524 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
2525 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2526 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2527 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2528 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2529 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
2530 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
2531 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
2532 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
2533
2534 * sysdeps/posix/open64.c: Help gcc generating better code.
2535
2536 * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open
2537 instead of __open.
2538
2539 1999-12-11 H.J. Lu <hjl@gnu.org>
2540
2541 * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl
2542 instead of __fcntl.
2543
2544 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
2545
2546 * iconvdata/isiri-3342.c: New file.
2547 * iconvdata/Makefile (modules): Add ISIRI-3342.
2548 (distribute): Add isiri-3342.c.
2549 (gen-8bit-gap-modules): Add isiri-3342.
2550 * iconvdata/gconv-modules: Add entries for ISIRI-3342.
2551
2552 * malloc/Versions: Export __libc_freeres for GLIBC_2.1.
2553
2554 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Declare local variable
2555 result if necessary.
2556
2557 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Don't depend on the
2558 unreliable kernel headers.
2559 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2560 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
2561 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: New file.
2562 * sysdeps/unix/sysv/linux/mips/bits/resource.h: New file.
2563
2564 1999-12-18 Andreas Jaeger <aj@suse.de>
2565
2566 * config.make.in (datadir): Added.
2567 Closes PR libc/1491. Patch by dervishd@jazzfree.com.
2568
2569 1999-12-18 Andreas Jaeger <aj@suse.de>
2570
2571 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Save and
2572 set errno.
2573 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
2574
2575 1999-12-18 Andreas Jaeger <aj@suse.de>
2576
2577 * sysdeps/unix/sysv/linux/fxstat64.c: Rewrite to use fstat64
2578 syscall if available.
2579 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise for lstat64.
2580 * sysdeps/unix/sysv/linux/xstat64.c: Likewise for stat64.
2581
2582 * sysdeps/unix/sysv/linux/kernel-features.h
2583 (__ASSUME_STAT64_SYSCALL): New.
2584
2585 1999-12-17 Scott Bambrough <scottb@netwinder.org>
2586
2587 * sysdeps/arm/dl-machine.h (CLEAR_CACHE): New macro to force a
2588 cache flush.
2589 * elf/dl-reloc.c (_dl_relocate_object): Add call to flush cache
2590 after .text segment fixups.
2591
2592 1999-12-16 Andreas Jaeger <aj@suse.de>
2593
2594 * rt/aio.h: Remove erroneous __restrict declarations.
2595
2596 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
2597
2598 * scripts/rellns-sh: Find pwd program also in /usr/bin and let shell
2599 do the job if it is there neither.
2600 Patch by David R. Conrad <drc@adni.net> (PR libc/1485).
2601
2602 1999-12-16 Andreas Jaeger <aj@suse.de>
2603
2604 * sysdeps/ieee754/bits/nan.h (NAN): Rename union to avoid
2605 duplicate definition with function __nan.
2606 Closes PR libc/1487 reported by <diana@kai.com>.
2607
2608 1999-12-17 Ulrich Drepper <drepper@cygnus.com>
2609
2610 * string/bits/string2.h (__strsep): Help gcc optimizing string access.
2611
2612 * locale/programs/ld-collate.c: Implement handling of absolute
2613 ellipsis. Parsing of file and constructing the internal data
2614 structures should now be complete.
2615 (collate_finish): Start adding support to generate the data
2616 structures which are written out to the file.
2617
2618 * intl/dcgettext.c: Rewrite to handle caching of previous results here
2619 instead of in the dcgettext macro.
2620 * intl/libintl.h (dcgettext): Don't define for systems using this
2621 glibc or systems with tsearch.
2622
2623 * sysdeps/generic/mathdef.h: Protect definitions for math.h
2624 against double inclusion.
2625 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
2626 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2627 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2628 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
2629
2630 * sysdeps/i386/fpu/libm-test-ulps: Add more deltas (are mobile PIIs
2631 that different?).
2632
2633 1999-12-17 Andreas Jaeger <aj@suse.de>
2634
2635 * rt/aio.h (struct aiocb64): Add member __next_prio to sync the
2636 struct with aiocb.
2637
2638 * rt/Makefile (tests): Added tst-aio64.
2639 Added dependency rules for tst-aio64.
2640
2641 * rt/tst-aio64.c: New file, copied from tst-aio.c and changed for
2642 64bit tests.
2643
2644 1999-12-15 Thorsten Kukuk <kukuk@suse.de>
2645
2646 * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: Removed.
2647 * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: Removed.
2648 * sysdeps/unix/sysv/linux/bits/resource.h: Change RLIM_INFINITY back to
2649 old value (signed long).
2650 * sysdeps/unix/sysv/linux/i386/bits/resource.h: New, with unsigned
2651 long RLIM_INFINITY.
2652 * sysdeps/unix/sysv/linux/getrlimit.c: Moved from here to ...
2653 * sysdeps/unix/sysv/linux/i386/getrlimit.c: ... here.
2654 * sysdeps/unix/sysv/linux/getrlimit64.c: Moved from here to ...
2655 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: ... here.
2656 * sysdeps/unix/sysv/linux/oldgetrlimit64.c: Moved from here to ...
2657 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: ... here.
2658 * sysdeps/unix/sysv/linux/oldsetrlimit64.c: Moved from here to ...
2659 * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: ... here.
2660 * sysdeps/unix/sysv/linux/setrlimit.c: Moved from here to ...
2661 * sysdeps/unix/sysv/linux/i386/setrlimit.c: ... here.
2662 * sysdeps/unix/sysv/linux/setrlimit64.c: Moved from here to ...
2663 * sysdeps/unix/sysv/linux/i386/setrlimit64.c: ... here.
2664 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: New.
2665 * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: Removed.
2666 * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: Removed.
2667
2668 1999-12-17 Andreas Jaeger <aj@suse.de>
2669
2670 * elf/ldconfig.c: Add new option -l to manualy link shared
2671 libraries.
2672 (options): Added option.
2673 (parse_opt): Set option.
2674 (main): Handle option.
2675 (manual_link): New function.
2676
2677 1999-12-17 Thorsten Kukuk <kukuk@suse.de>
2678
2679 * string/bits/string2.h: Fix patch from 1999-12-07.
2680
2681 1999-12-16 Ulrich Drepper <drepper@cygnus.com>
2682
2683 * sysdeps/generic/strsep.c: If delim string has only one character
2684 don't run over end of string.
2685
2686 * locale/programs/ld-collate.c (insert_weights): Also update next
2687 pointer of last cursor element.
2688 (insert_value): Return nonzero value if nothing got inserted.
2689 (handle_ellipsis): Don't do anything if to-value cannot be inserted.
2690
2691 1999-12-10 Jakub Jelinek <jakub@redhat.com>
2692
2693 * stdlib/longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT
2694 where appropriate.
2695
2696 1999-12-10 Jakub Jelinek <jakub@redhat.com>
2697
2698 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
2699 Copy sa_flags into kernel sigaction structure.
2700
2701 1999-12-14 Andreas Jaeger <aj@suse.de>
2702
2703 * string/tester.c (test_strsep): More tests for access beyond
2704 the final NUL. The first two tests come from PR libc/1486 by
2705 martinea@iro.umontreal.ca.
2706
2707 1999-12-14 Thorsten Kukuk <kukuk@suse.de>
2708
2709 * nis/ypclnt.c: Correct handling of cached client handles.
2710 (__xdr_ypresp_all): Call callback function for errors, too,
2711 like Solaris does.
2712 * nis/nss_compat/compat-grp.c: Make sure errno is always set correct.
2713 * nis/nss_compat/compat-initgroups.c: Likewise.
2714 * nis/nss_compat/compat-spwd.c: Likewise.
2715 * nis/nss_nis/nis-alias.c: Likewise.
2716 * nis/nss_nis/nis-ethers.c: Likewise.
2717 * nis/nss_nis/nis-grp.c: Likewise.
2718 * nis/nss_nis/nis-hosts.c: Likewise.
2719 * nis/nss_nis/nis-netgrp.c: Likewise.
2720 * nis/nss_nis/nis-publickey.c: Likewise.
2721 * nis/nss_nis/nis-service.c: Likewise. Also use services.byservicename
2722 Map if available, optimize query if name/port and protocol is known.
2723
2724 1999-12-12 Ulrich Drepper <drepper@cygnus.com>
2725
2726 * locale/programs/ld-collate.c (collate_read): Make symbolic
2727 ellipsis work. Remove old and unused code.
2728
2729 1999-12-11 Ulrich Drepper <drepper@cygnus.com>
2730
2731 * locale/programs/ld-collate.c (collate_read): Implement
2732 reorder-section handling.
2733
2734 1999-12-10 Ulrich Drepper <drepper@cygnus.com>
2735
2736 * locale/programs/ld-collate.c: Implement "copy" in LC_COLLATE.
2737
2738 * locale/programs/ld-collate.c (collate_read): Add handling of
2739 reorder-after.
2740
2741 * locale/programs/ld-collate.c: Many changes to implement parsing
2742 of collation definition (still not complete).
2743
2744 1999-12-09 Andreas Jaeger <aj@suse.de>
2745
2746 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Always set
2747 errno to ENOENT when returning NSS_STATUS_NOTFOUND.
2748 Reported by Christian Starkjohann <cs@obdev.at>.
2749
2750 1999-12-09 Andreas Jaeger <aj@suse.de>
2751
2752 * sysdeps/i386/fpu/libm-test-ulps: Added some ulps.
2753
2754 1999-12-09 Jakub Jelinek <jakub@redhat.com>
2755
2756 * stdlib/longlong.h: Update from latest egcs version.
2757
2758 * sysdeps/sparc/fpu/fegetenv.c: Add semicolons.
2759
2760 * sysdeps/unix/sysv/linux/bits/errno.h (__errno_location): __THROW
2761 has to preceede __attribute__, otherwise g++ barfs.
2762
2763 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Make things compile
2764 on sparc64-*-linux.
2765
2766 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Changed to
2767 use sigcontext.
2768 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2769
2770 1999-12-05 Wolfram Gloger <wg@malloc.de>
2771
2772 * malloc/malloc.c (arena_get2): If generating a new arena fails,
2773 try to generate a minimal one and hope for mmap_chunk() to succeed
2774 later.
2775
2776 1999-11-07 Wolfram Gloger <wg@malloc.de>
2777
2778 * malloc/thread-m.h [NO_THREADS]: The mutex_* macros now let
2779 mutex_t work as an `in-use' flag even without threads.
2780 * malloc/malloc.c (USE_ARENAS): New feature flag, controls support
2781 for multiple arenas separately from NO_THREADS.
2782 (mALLOc, chunk_realloc, mEMALIGn, cALLOc) [USE_ARENAS]: try to
2783 fall back to an mmap()ed arena when sbrk() has failed.
2784
2785 1999-12-09 Ulrich Drepper <drepper@cygnus.com>
2786
2787 * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
2788 getrlimit64, setrlimit64 for GLIBC_2.1.3.
2789 * sysdeps/unix/sysv/linux/i386/Versions: Add getrlimit, setrlimit,
2790 getrlimit64, setrlimit64 for GLIBC_2.1.3.
2791 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules for
2792 oldgetrlimit and oldsetrlimit.
2793 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldgetrlimit and
2794 oldsetrlimit.
2795 * sysdeps/unix/sysv/linux/Makefile: Move oldgetrlimit and
2796 oldsetrlimit rules into 32-bit arch subdirs.
2797 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2798
2799 * locale/programs/ld-collate.c (insert_value): If this is the
2800 first symbol the cursor can be the same as the next pointer.
2801
2802 1999-12-08 Ulrich Drepper <drepper@cygnus.com>
2803
2804 * locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping
2805 arrays.
2806 (allocate_arrays): Allocate memory for map32. Correctly install
2807 default values in it and install defined mappings.
2808
2809 * locale/programs/ld-monetary.c (monetary_finish): Provide default
2810 value for mon_grouping.
2811
2812 * elf/readlib.c: Include a.out.h last since the Linux/Alpha
2813 headers are not clean enough.
2814
2815 * sysdeps/unix/sysv/linux/getrlimit.c: Remove K&R compatibility.
2816
2817 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2818 __ASSUME_TRUNCATE64_SYSCALL and __ASSUME_MMAP2_SYSCALL for 2.3.31
2819 on x86.
2820 * sysdeps/unix/sysv/linux/ftruncate64.c: New file.
2821 * sysdeps/unix/sysv/linux/truncate64.c: New file.
2822 * sysdeps/unix/sysv/linux/i386/mmap.S: Allow using mmap2.
2823 * sysdeps/unix/sysv/linux/i386/mmap64.S: New file.
2824
2825 * ctype/Versions: Add __ctype32_tolower and __ctype32_toupper.
2826 * ctype/ctype-info.c: Define __ctype32_tolower and __ctype32_toupper.
2827 * locale/C-ctype.c: Add _nl_C_LC_CTYPE_toupper32 and
2828 _nl_C_LC_CTYPE_tolower32 tables.
2829 Don't compile it names of 14652 classes and maps.
2830 * locale/langinfo.h: Define _NL_CTYPE_TOUPPER32 and
2831 _NL_CTYPE_TOLOWER32.
2832 * locale/lc-ctype.c (_nl_postload_ctype): Initialize __ctype32_toupper
2833 and __ctype32_tolower.
2834 * locale/programs/ld-ctype.c (struct locale_ctype_t): Add map32.
2835 (ctype_output): Write out map32 values.
2836 (allocate_arrays): Compute mapping tables correctly.
2837 * wctype/wcfuncs.c (towlower): Use __ctype32_tolower.
2838 (towupper): Use __ctype32_toupper.
2839 * wctype/wctype.h: Optimize towupper and towlower for values < 256.
2840
2841 * locale/programs/ld-ctype.c (set_class_defaults): Correctly
2842 determine tolower mapping for 8bit table if the tolower keyword is
2843 not given.
2844
2845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
2846 only IPv6 address. Reported by Artur Frysiak <wiget@pld.org.pl>.
2847
2848 1999-12-07 Jakub Jelinek <jakub@redhat.com>
2849
2850 * string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small,
2851 __stpcpy_small): Cast switch expressions to int to shut up compiler
2852 warnings.
2853
2854 1999-12-07 Scott Bambrough <scottb@netwinder.org>
2855
2856 * sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24
2857 relocs if possible.
2858
2859 1999-12-06 Andreas Schwab <schwab@suse.de>
2860
2861 * sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the
2862 ugetrlimit syscall exists.
2863
2864 * sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on
2865 exported symbols.
2866 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
2867
2868 1999-12-07 Ulrich Drepper <drepper@cygnus.com>
2869
2870 * iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment
2871 pointers if character is illegal.
2872 Reported by Bruno Haible <haible@ilog.fr>.
2873
2874 * iconv/gconv_db.c (gen_steps): Set __counter initialy to 1.
2875 (increment_counter): New function. Broken out of find_derivation.
2876 (find_derivation): No need for a lock. Increment counter only when
2877 the derivation was already available.
2878 * iconv/gconv_dl.c: Add debugging functions.
2879 (known_compare): We have to use strcmp.
2880 Reported by Bruno Haible <haible@ilog.fr>.
2881
2882 1999-12-06 Ulrich Drepper <drepper@cygnus.com>
2883
2884 * iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo.
2885 * iconvdata/iso_2033.c (CHARSET_NAME): Fix typo.
2886 * iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo.
2887 * iconvdata/gconv-modules: Correct ISO646-PT2 alias. Add
2888 SHIFT_JIS alias.
2889 Reported by Bruno Haible <haible@ilog.fr>.
2890
2891 * locale/programs/xstrdup.c: It's _LIBC, not __LIBC.
2892
2893 1999-12-03 Andreas Jaeger <aj@suse.de>
2894
2895 * nss/getXXbyYY.c: Include <resolv.h>
2896 (FUNCTION_NAME): Use res_ninit instead of res_init.
2897
2898 * nss/getXXbyYY_r.c [NEED__RES]: Include <resolv.h> for _res
2899 declaration and prototypes.
2900 Remove extra _res declaration.
2901 (INTERNAL): Use thread aware res_ninit function.
2902
2903 * inet/gethstbyad_r.c: Include <resolv.h>.
2904
2905 * resolv/res_data.c: Update from Bind 8.2.2-P5. Moved res_init to
2906 res_libc.c. Disabled unneeded functions.
2907
2908 * resolv/res_libc.c: New file.
2909
2910 * Versions.def: Add version GLIBC_2.2 for libpthread.
2911 Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv.
2912
2913 * include/resolv.h: Add internal interfaces.
2914
2915 * resolv/Makefile (routines): Add new files.
2916 (libresolv-routines): Likewise.
2917 (distribute): Likewise.
2918
2919 * resolv/gethnamaddr.c: Use thread safe resolver functions.
2920 * resolv/nss_dns/dns-host.c: Likewise.
2921 * resolv/nss_dns/dns-network.c: Likewise.
2922
2923 * resolv/arpa/nameser.h: Update from Bind 8.2.2-P5.
2924 * resolv/nsap_addr.c: Likewise.
2925 * resolv/res_comp.c: Likewise.
2926 * resolv/res_debug.c: Likewise.
2927 * resolv/res_init.c: Likewise.
2928 * resolv/res_mkquery.c: Likewise.
2929 * resolv/res_query.c: Likewise.
2930 * resolv/res_send.c: Likewise.
2931 * resolv/resolv.h: Likewise.
2932
2933 * resolv/Versions: Add __res_state and __res_ninit with version
2934 GLIBC_2.2 to libc.
2935 Add new interfaces with version GLIBC_2.2 to libresolv.
2936
2937 * resolv/Banner: Update.
2938
2939 * include/arpa/nameser_compat.h: New file.
2940
2941 * resolv/ns_name.c: New file from Bind 8.2.2-P5.
2942 * resolv/ns_netint.c: Likewise.
2943 * resolv/ns_parse.c: Likewise.
2944 * resolv/ns_print.c: Likewise.
2945 * resolv/ns_samedomain.c: Likewise.
2946 * resolv/ns_ttl.c: Likewise.
2947 * resolv/arpa/nameser_compat.h: Likewise.
2948 * resolv/res_debug.h: Likewise.
2949
2950 Some patches are based on work done by Adam D. Bradley
2951 <artdodge@cs.bu.edu>.
2952
2953 1999-11-30 Andreas Jaeger <aj@suse.de>
2954
2955 Add ldconfig:
2956 * elf/Makefile (extra-objs): Added ldconfig-modules.
2957 (ldconfig-modules): New.
2958 Added vpath for xstrdup and xmalloc.
2959 Check for use-ldconfig instead of has-ldconfig.
2960 ($(objpfx)ldconfig): New rule with dependencies.
2961 (distribute): Add new files.
2962
2963 * sysdeps/unix/sysv/linux/sparc/readelflib.c: New file,
2964 developed together with Jakub Jelinek <jakub@redhat.com>.
2965 * sysdeps/generic/readelflib.c: Likewise.
2966
2967 * elf/cache.c: New file.
2968 * elf/ldconfig.c: New file.
2969 * elf/ldconfig.h: New file.
2970 * elf/readlib.c: New file.
2971
2972 * Makefile (install): Remove flag -d in ldconfig call.
2973
2974 * configure.in: Rename has_ldconfig to use_ldconfig, set it to no
2975 by default.
2976
2977 * config.make.in (has-ldconfig): Renamed to use-ldconfig, changed
2978 comment.
2979
2980 * sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig,
2981 set always use_ldconfig instead.
2982
2983 1999-12-03 Ulrich Drepper <drepper@cygnus.com>
2984
2985 * sysdeps/generic/bits/stropts.h: Update with LiS types and
2986 values. Patch by David Grothe <dave@gcom.com>.
2987
2988 * sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t):
2989 Make long types.
2990 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2991 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2992 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2993
2994 1999-12-02 Akira Yoshiyama <yosshy@debian.or.jp>
2995
2996 * locale/lc-time.c (_nl_get_era_entry): Separate eras
2997 initialization as _nl_init_era_entry().
2998 * locale/lc-time.c (_nl_get_era_nf_entry): New function.
2999 * locale/lc-time.c (_nl_get_era_year_offset): New function.
3000 * locale/lc-time.c (_nl_get_era_year_start): New function.
3001 * locale/localeinfo.h: Declare new functions.
3002 Define ERA_NAME_FORMAT_MEMBERS, ERA_M_NAME, ERA_M_FORMAT, ERA_W_NAME,
3003 and ERA_W_FORMAT.
3004
3005 1999-12-02 Ulrich Drepper <drepper@cygnus.com>
3006
3007 * posix/regex.c (SYNTAX): Make more portable.
3008 Patch by Aharon Robbins <arnold@skeeve.com>.
3009
3010 1999-11-18 Roland McGrath <roland@baalperazim.frob.com>
3011
3012 * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is
3013 nonzero, use cthread_fork to create the signal thread.
3014 * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize
3015 _hurd_msgport_thread here (to self).
3016 * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end
3017 is zero, instead compute child signal thread's starting SP from parent
3018 signal thread's current SP and the threadvar_stack variables.
3019 * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach.
3020 These are now referenced weakly by _hurdsig_init.
3021
3022 * hurd/report-wait.c (_S_msg_report_wait): Fix typo:
3023 &_hurd_itimer_thread not &_hurd_msgport_thread.
3024
3025 1999-10-01 Roland McGrath <roland@baalperazim.frob.com>
3026
3027 * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
3028 without HURD_DPORT_USE to clean up warnings.
3029 * hurd/dtable.c (get_dtable_port): Likewise.
3030
3031 * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
3032 (install_ctty): Do the changing of the cttyid port cell here, inside
3033 the critical section while we holding the dtable lock.
3034 (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
3035 the port cell and calling rectty_dtable.
3036 (_hurd_locked_install_cttyid): New function, split out of install_ctty.
3037 (install_ctty): Use it inside a critical section, with the lock held.
3038 * sysdeps/mach/hurd/setsid.c (__setsid): Use
3039 _hurd_locked_install_cttyid to effect the cttyid and dtable changes
3040 after proc_setsid, having held the dtable lock throughout.
3041 * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
3042 cttyid port for null and bail out early if so. The dtable lock
3043 serializes us after any cttyid change and its associated dtable update.
3044
3045 1999-11-14 Roland McGrath <roland@baalperazim.frob.com>
3046
3047 * sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
3048 Its presence lets librpcsvc compile ok. This from Mark Kettenis.
3049 We don't install this file for users.
3050 * sysdeps/mach/hurd/Dist: Add it.
3051 * sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
3052 Append nfs/nfs.h here.
3053
3054 1999-12-01 Andreas Jaeger <aj@suse.de>
3055
3056 * sysdeps/generic/if_index.c (__protocol_available): Add missing
3057 int for parameter.
3058
3059 * stdio/stdio.h: Fix typo.
3060 Patches by Marcus G. Daniels <mgd@santafe.edu>.
3061
3062 1999-12-01 Andreas Jaeger <aj@suse.de>
3063
3064 * scripts/test-installation.pl (installation_problem): Filter out
3065 libpthread_db.
3066
3067 1999-12-01 Andreas Schwab <schwab@suse.de>
3068
3069 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of
3070 __rlim_t and __rlim64_t.
3071 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3072 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3073
3074 1999-12-01 Andreas Schwab <schwab@suse.de>
3075
3076 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3077 oldgetrlimit64 and oldsetrlimit64 for subdir = resource.
3078 * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
3079 getrlimit64 and setrlimit64 to version GLIBC_2.1.3.
3080 * sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and
3081 new kernel version. Add symbol versions.
3082 * sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and
3083 oldgetrlimit.
3084 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
3085 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3086 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit
3087 and s_ugetrlimit.
3088 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3089 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
3090 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
3091 * sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file.
3092 * sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file.
3093 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
3094 * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file.
3095 * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file.
3096 * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New
3097 file.
3098 * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New
3099 file.
3100
3101 1999-12-01 Ulrich Drepper <drepper@cygnus.com>
3102
3103 * sysdeps/generic/usleep.c: Fix typo.
3104
3105 * sysdeps/generic/sys/ptrace.h: Remove K&R compatibility.
3106
3107 * sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
3108 itself.
3109
3110 * sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not
3111 _UTSNAME_H.
3112
3113 * malloc/set-freeres.c: Really use already_called variable.
3114
3115 * libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing
3116 function call directly.
3117 * libio/iosetvbuf.c: Likewise.
3118
3119 1999-11-29 Ulrich Drepper <drepper@cygnus.com>
3120
3121 * configure.in: Add AIX 4.3 support.
3122
3123 * iconvdata/gconv-modules: Correct alias for ISO-8859-10. This
3124 standard was issued in 1992.
3125 Reported by Bruno Haible <haible@ilog.fr>.
3126
3127 1999-11-29 Thorsten Kukuk <kukuk@suse.de>
3128
3129 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for
3130 SIGCLD als SIGCHLD.
3131
3132 1999-11-29 Andreas Jaeger <aj@suse.de>
3133
3134 * manual/time.texi (Basic CPU Time): Better describe wrap around.
3135 Patch by Andries Brouwer <Andries.Brouwer@cwi.nl>.
3136
3137 1999-11-29 Ulrich Drepper <drepper@cygnus.com>
3138
3139 * iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases.
3140 Patch by Bruno Haible <haible@ilog.fr>.
3141
3142 1999-11-29 Thorsten Kukuk <kukuk@suse.de>
3143
3144 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Remove K&R compatibility.
3145
3146 1999-11-29 Andreas Schwab <schwab@suse.de>
3147
3148 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable
3149 __v to __bswap_32_v.
3150 (__bswap_64): Rename local variables __v and __r to __bswap_64_v
3151 and __bswap_64_r to avoid clash with __bswap_32 macro.
3152
3153 1999-11-28 Ulrich Drepper <drepper@cygnus.com>
3154
3155 * iconvdata/t.61.c (CHARSET_NAME): Correct name to what is used in
3156 gconv-modules.
3157
3158 1999-11-26 Ulrich Drepper <drepper@cygnus.com>
3159
3160 * locale/programs/ld-ctype.c (allocate_arrays): Complete last
3161 patch. Use wch instead of idx to compute index.
3162 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3163
3164 * inet/rcmd.c (ruserok): Use iruserok2 not iruserok.
3165
3166 * locale/iso-3166.def: Update from latest official list.
3167
3168 1999-11-26 Thorsten Kukuk <kukuk@suse.de>
3169
3170 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include
3171 asm/ptrace.h, since this will not be done with 2.3.xx automatically
3172 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3173
3174 1999-11-26 Andreas Jaeger <aj@suse.de>
3175
3176 * libio/libioP.h: Remove duplicate declaration of _IO_wsetb.
3177
3178 1999-11-26 Andreas Jaeger <aj@suse.de>
3179
3180 * inet/rcmd.c: Include stdlib for declaration of free.
3181 Declare iruserok.
3182
3183 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
3184
3185 * iconv/gconv.c (__gconv): Always initialize
3186 cd->__data[last_step].__outbuf and cd->__data[last_step].__outbufend.
3187
3188 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Update number of
3189 written bytes.
3190 * iconvdata/iso-2022-jp.c: Likewise.
3191
3192 1999-11-25 H.J. Lu <hjl@gnu.org>
3193
3194 * stdlib/exit.c (exit): Run funtions only if
3195 __exit_funcs->idx > 0.
3196
3197 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
3198
3199 * manual/charset.texi (iconv Examples): Add iconv call to flush
3200 state. Reported by Andrew Clausen <clausen@alphalink.com.au>.
3201
3202 1999-11-25 Andreas Jaeger <aj@suse.de>
3203
3204 * manual/install.texi (Running make install): Better describe
3205 update from libc5.
3206 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
3207
3208 1999-11-25 Andreas Jaeger <aj@suse.de>
3209
3210 * include/sys/mman.h: Remove K&R compatibility.
3211
3212 1999-11-15 Andreas Jaeger <aj@suse.de>
3213
3214 * misc/sys/mman.h: Use __REDIRECT for mmap, correct prototype to
3215 use __off64_t.
3216
3217 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
3218
3219 * iconv/iconv_prog.c (process_block): For stateful charsets write
3220 out byte sequence to get to initial state at the end of the file.
3221
3222 1999-11-25 Andreas Schwab <schwab@suse.de>
3223
3224 * Makeconfig: Include sys-dirs and sys-sorted earlier.
3225 ($(common-objpfx)soversions.mk): Wait until subdirs is complete.
3226 ($(common-objpfx)sysd-sorted): Emit marker when this file is
3227 complete.
3228
3229 1999-11-24 Ulrich Drepper <drepper@cygnus.com>
3230
3231 * manual/setjmp.texi: Many changes to correct bad English introduced
3232 mainly by me.
3233 * manual/time.texi: Likewise.
3234 Patches by Neil Booth <neil@rosenet.ne.jp>.
3235
3236 * include/string.h: Remove K&R compatibility.
3237
3238 1999-11-23 Ulrich Drepper <drepper@cygnus.com>
3239
3240 * sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition.
3241
3242 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added.
3243
3244 * string/stratcliff.c: Add one more strchr test for something
3245 which was reported to not work (which proofed to be wrong).
3246
3247 * iconv/skeleton.c: It's __is_last, not is_last.
3248
3249 * locale/programs/ld-ctype.c (ctype_finish): Correct method to find
3250 the UCS value.
3251 (allocate_arrays): Likewise.
3252 (find_idx): Correctly increase array size.
3253 Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3254
3255 1999-11-23 Thorsten Kukuk <kukuk@suse.de>
3256
3257 * iconv/skeleton.c: Don't access next_step->fct if data->is_last
3258 is true.
3259
3260 1999-11-23 Andreas Jaeger <aj@suse.de>
3261
3262 * include/sys/select.h: Remove K&R compatibility.
3263 * include/sys/statfs.h: Likewise.
3264 * include/gnu/libc-version.h: Likewise.
3265 * include/db_185.h: Likewise.
3266 * include/dlfcn.h: Likewise.
3267 * include/search.h: Likewise.
3268 * include/setjmp.h: Likewise.
3269 * include/signal.h: Likewise.
3270 * include/stdio.h: Likewise.
3271 * include/unistd.h: Likewise.
3272
3273 1999-11-23 Andreas Jaeger <aj@suse.de>
3274
3275 * include/aio.h: Remove __THROW from internal interfaces. __THROW
3276 is only need in external header files that might be compiled by a
3277 C++ compiler.
3278 * include/alloca.h: Likewise.
3279 * include/db.h: Likewise.
3280 * include/dirent.h: Likewise.
3281 * include/execinfo.h: Likewise.
3282 * include/fpu_control.h: Likewise.
3283 * include/glob.h: Likewise.
3284 * include/grp.h: Likewise.
3285 * include/libintl.h: Likewise.
3286 * include/math.h: Likewise.
3287 * include/math.h: Likewise.
3288 * include/mntent.h: Likewise.
3289 * include/mntent.h: Likewise.
3290 * include/netdb.h: Likewise.
3291 * include/pwd.h: Likewise.
3292 * include/sched.h: Likewise.
3293 * include/shadow.h: Likewise.
3294 * include/stdlib.h: Likewise.
3295 * include/sys/file.h: Likewise.
3296 * include/sys/gmon.h: Likewise.
3297 * include/sys/ioctl.h: Likewise.
3298 * include/sys/socket.h: Likewise.
3299 * include/sys/stat.h: Likewise.
3300 * include/sys/sysinfo.h: Likewise.
3301 * include/sys/time.h: Likewise.
3302 * include/sys/times.h: Likewise.
3303 * include/sys/uio.h: Likewise.
3304 * include/sys/wait.h: Likewise.
3305 * include/termios.h: Likewise.
3306 * include/time.h: Likewise.
3307 * include/ulimit.h: Likewise.
3308 * include/utmp.h: Likewise.
3309 * include/wchar.h: Likewise.
3310
3311 1999-11-22 Andreas Jaeger <aj@suse.de>
3312
3313 * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output.
3314 Patch by Jerry Perkins <jrperkins@iname.com>, closes PR
3315 libc/1456+1457.
3316
3317 1999-11-22 Jakub Jelinek <jakub@redhat.com>
3318
3319 * sysdeps/generic/siglist.h: Avoid declaring the same field
3320 twice if SIGPWR is defined to SIGLOST.
3321 * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument,
3322 not signed, so we should not special case it for negative args.
3323 * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic
3324 memmove, use the one provided in memcpy.S.
3325 * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping
3326 copies like memmove, while the previous version worked like memcpy.
3327 Implement optimized assembly memmove.
3328 * sysdeps/sparc/sparc64/memmove.c: New file.
3329
3330 1999-11-23 Ulrich Drepper <drepper@cygnus.com>
3331
3332 * po/cs.po: Update from translators.
3333
3334 1999-11-23 Andreas Jaeger <aj@suse.de>
3335
3336 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function.
3337 (elf_machine_got): Removed, not needed anymore.
3338 (ELF_MACHINE_RELOC_NOPLT): Removed.
3339 (ELF_MACHINE_JMP_SLOT): Added.
3340 (_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__.
3341 (_RTLD_EPILOGUE): Likewise.
3342 (RESOLVE_GOTSYM): Use R_MIPS_REL32.
3343 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
3344 Based on patches from Maciej W. Rozycki <macro@ds2.pg.gda.pl> and
3345 Ralf Baechle <baechle@uni-koblenz.de>.
3346
3347 * sysdeps/mips/mips64/dl-machine.h: Apply same patches.
3348
3349 1999-11-22 Ulrich Drepper <drepper@cygnus.com>
3350
3351 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset
3352 name from the locale name. Only use the value in the LC_CTYPE
3353 locale data file.
3354
3355 * locale/loadlocale.c (_nl_load_locale): Allow index of entry in
3356 file be equal to file size.
3357
3358 * stdlib/longlong.h: Add count_trailing_zeros back.
3359
3360 * stdlib/longlong.h: Update from latest egcs version.
3361
3362 1999-11-22 Andreas Jaeger <aj@suse.de>
3363
3364 * locale/programs/ld-collate.c (insert_value): Correct order of
3365 arguments for lr_error call.
3366
3367 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add
3368 __syscall_setrlimit.
3369
3370 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Include <sys/types.h>
3371 for key_t.
3372 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3373
3374 1999-11-21 Ulrich Drepper <drepper@cygnus.com>
3375
3376 * sysdeps/i386/fpu/libm-test-ulps: Increase error value for latest
3377 gcc version.
3378
3379 * locale/programs/ld-ctype.c (ctype_read): Correctly implement
3380 14652-style definition of new maps and classes.
3381
3382 1999-11-20 Ulrich Drepper <drepper@cygnus.com>
3383
3384 * locale/programs/ld-monetary.c (monetary_finish): Don't print
3385 individual error message if nothing is defined.
3386
3387 * locale/programs/ld-time.c (time_startup): Test for lr being
3388 nonzero, not time.
3389
3390 * locale/programs/ld-numeric.c (numeric_finish): Don't crash if
3391 decimal_point is not defined.
3392
3393 * wctype/wctrans.c (wctrans): Use correct base index to access
3394 extra mapping tables.
3395
3396 * locale/loadlocale.c (_nl_load_locale): Use actual number of
3397 entries from file and not the fixed (minimal number from the
3398 langinfo.h list.
3399
3400 * locale/programs/ld-ctype.c (ctype_read): Fix reading of <U....>
3401 values in charmaps.
3402
3403 1999-11-18 Paul Eggert <eggert@twinsun.com>
3404
3405 * time/strftime.c (my_strftime): Some old compilers object to
3406 '\a', so don't bother optimizing for it.
3407
3408 1999-11-19 Ulrich Drepper <drepper@cygnus.com>
3409
3410 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify
3411 the rlimits structure passed in.
3412
3413 1999-11-19 Andreas Jaeger <aj@suse.de>
3414
3415 * include/sys/resource.h (__setrlimit): Add prototype.
3416
3417 1999-11-19 Ulrich Drepper <drepper@cygnus.com>
3418
3419 * elf/dl-load.c (_dl_init_paths): Allocate correct number of
3420 entries for rtld_search_dirs[0].
3421 Patch by David Mosberger <davidm@hpl.hp.com>.
3422
3423 1999-11-18 Ulrich Drepper <drepper@cygnus.com>
3424
3425 * locale/programs/ld-ctype.c: Don't predefine the character
3426 classes and mappings of ISO 14652.
3427
3428 * locale/programs/ld-ctype.c: Punt if character class definitions
3429 to not consists of tok_bsymbol (for now).
3430
3431 * time/strptime.c (day_of_the_week): Make sure result is never
3432 negative.
3433 (strptime_internal): Allow %C without %y.
3434
3435 1999-11-18 Andreas Jaeger <aj@suse.de>
3436
3437 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Sorted entries and added
3438 comments.
3439
3440 * sysdeps/unix/sysv/linux/getpt.c: Include linux_fsinfo.h instead
3441 of defining *_SUPER_MAGIC.
3442 * sysdeps/unix/sysv/linux/grantpt.c: Likewise.
3443
3444 1999-11-18 Ulrich Drepper <drepper@cygnus.com>
3445
3446 * locale/programs/locale.c: Don't handle LC_ALL together with the
3447 other categories when printing the value.
3448 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
3449
3450 * locale/locale.h: Correct comment about LC_ALL.
3451
3452 1999-11-17 Ulrich Drepper <drepper@cygnus.com>
3453
3454 * locale/programs/ld-ctype.c (ctype_output): Correct computation of
3455 nelems. Correctly compute index for additional character classes.
3456 (ctype_read): Handle charclass and charconv definitions. Also
3457 recognize arbitrary strings as mapping names.
3458 * locale/programs/ld-time.c (time_finish): Correctly skip over wide
3459 character era strings.
3460 * locale/lc-time.c (_nl_get_era_entry): Correctly skip era name
3461 and format for wide characters.
3462 * time/strftime.c: Correctly determine era information for wide
3463 wcsftime.
3464 * wctype/wctrans.c: Fix after removal of second endianess table.
3465 * wctype/wctype.h (_ISwbit): Correctly handle bits > 16.
3466 Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3467
3468 * wcsmbs/wcwidth.h (internal_wcwidth): Reject non-printable characters.
3469 * wcsmbs/wcswidth.c (wcswidth): Don't forget to decrement counter n.
3470
3471 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove greg_t,
3472 gregset_t, fpregset_t, and NGREG definitions.
3473
3474 * locale/programs/ld-ctype.c: Implement character width information
3475 handling.
3476
3477 1999-11-09 Andreas Jaeger <aj@suse.de>
3478
3479 * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Add support for devfs.
3480
3481 * sysdeps/unix/sysv/linux/getpt.c (__getpt): Check for devfs.
3482 Patch by German Jose Gomez Garcia <german@pinon.ccu.uniovi.es>.
3483
3484 * sysdeps/unix/sysv/linux/linux_fsinfo.h (DEVFS_SUPER_MAGIC): Added.
3485
3486 1999-11-17 Ulrich Drepper <drepper@cygnus.com>
3487
3488 * sysdeps/gnu/netinet/tcp.h: Add TCP_CORK definition.
3489
3490 1999-11-07 Andreas Jaeger <aj@suse.de>
3491
3492 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: New file with some
3493 defines from Linux scsi_ioctl.h header.
3494
3495 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Added
3496 scsi_ioctl.h.
3497 * sysdeps/unix/sysv/linux/Dist: Likewise.
3498
3499 * sysdeps/unix/sysv/linux/scsi/sg.h: Synced with Linux 2.3.26;
3500 pretty printed.
3501
3502 * sysdeps/unix/sysv/linux/scsi/scsi.h (TYPE_ENCLOSURE): Added to
3503 sync with Linux 2.3.26.
3504
3505 1999-11-17 Andreas Jaeger <aj@suse.de>
3506
3507 * shlib-versions: Allow mipsel for libm.
3508 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3509
3510 1999-11-16 Andreas Jaeger <aj@suse.de>
3511
3512 * math/fenv.h: Fix typos in comments. Reported by Andreas Schwab.
3513
3514 1999-11-16 Ulrich Drepper <drepper@cygnus.com>
3515
3516 * locale/programs/ld-ctype.c (set_class_defaults): Set default
3517 value for alpha and alnum correctly.
3518
3519 * locale/programs/ld-address.c (address_output): Fix output of
3520 country_num.
3521
3522 1999-11-15 Ulrich Drepper <drepper@cygnus.com>
3523
3524 * timezone/asia: Update from tzdata1999j.
3525 * timezone/australasia: Likewise.
3526 * timezone/europe: Likewise.
3527 * timezone/northamerica: Likewise.
3528 * timezone/southamerica: Likewise.
3529 * timezone/zone.tab: Likewise.
3530
3531 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
3532
3533 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove duplicate definitions.
3534 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3535 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3536 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise.
3537 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3538
3539 1999-11-15 Andreas Jaeger <aj@suse.de>
3540
3541 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
3542 __syscall_setrlimit.
3543 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3544
3545 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
3546
3547 * scripts/versions.awk: Don't expect to read predecessor versions,
3548 compute them.
3549 * Versions.def: Remove predecessors. They now get computed.
3550
3551 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
3552
3553 * sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
3554 * sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit
3555 prototype.
3556 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
3557 * sysdeps/powerpc/stackinfo.h: New file.
3558 Patches by Franz Sirl <Franz.Sirl@lauterbach.com>.
3559
3560 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
3561
3562 * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to
3563 GLIBC_2.1.3.
3564
3565 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
3566
3567 * hurd/Versions (GLIBC_2.1.3): Define, adding directory_name_split and
3568 hurd_directory_name_split.
3569 * Versions.def (libc): Add GLIBC_2.1.3.
3570
3571 1999-11-09 Roland McGrath <roland@baalperazim.frob.com>
3572
3573 * hurd/report-wait.c (describe_port): Return char * and use __stpcpy
3574 to return the location of the null byte written into the string.
3575 (describe_number): Likewise.
3576 (describe_number): Remove assert, not always used with #.
3577 If FLAVOR is null, don't use it.
3578 (describe_number): Take signed argument and print a - if negative.
3579 (_S_msg_report_wait): Report system call number for system calls that
3580 aren't mach_msg. Soup up reporting for mach_msg: If destination port
3581 matches SS->intr_port, bracket port description with [...] to indicate
3582 a Hurd interruptible RPC; if destination port is null, examine the
3583 receive port and report that state; if receive port is also null,
3584 check for timeout and report its value.
3585 * sysdeps/mach/hurd/i386/intr-msg.h (MSG_EXAMINE): Return int that is
3586 zero iff we managed to examine the stack; take new args RCV_NAME,
3587 SEND_NAME, OPTION, and TIMEOUT to fill in with mach_msg args.
3588
3589 * hurd/report-wait.c (describe_port): Recognize MACH_PORT_NULL and
3590 MACH_PORT_DEAD specially.
3591
3592 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
3593
3594 * hurd/hurdlookup.c (__hurd_directory_name_split): New function.
3595 (__directory_name_split): New function.
3596 * hurd/hurd.h: Declare them.
3597 * sysdeps/mach/hurd/rmdir.c: Use __directory_name_split instead of
3598 __file_name_split, so we ignore trailing slashes properly.
3599 * sysdeps/mach/hurd/rename.c: Likewise.
3600
3601 1999-11-13 Thorsten Kukuk <kukuk@suse.de>
3602
3603 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add SIGPWR define
3604 from current kernel headers.
3605
3606 * sunrpc/key_call.c: Use /usr/etc/keyenvoy only if we don't have
3607 SO_PASSCRED defined.
3608
3609 1999-11-12 Ulrich Drepper <drepper@cygnus.com>
3610
3611 * locale/C-ctype.c: Fix typo in char class name.
3612
3613 * configure.in: Allow user so specify --enable-kernel=current.
3614
3615 1999-11-12 Thorsten Kukuk <kukuk@suse.de>
3616
3617 * nis/nss_nisplus/nisplus-publickey.c: Check for snprintf return value.
3618
3619 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Follow changes from
3620 i386 version.
3621 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3622 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3623 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3624 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
3625
3626 1999-11-12 Ulrich Drepper <drepper@cygnus.com>
3627
3628 * intl/locale.alias: Add Estonian entries.
3629 Patch by Marko Kreen <marko@et.ee> [PR libc/1444].
3630
3631 1999-11-02 Andreas Jaeger <aj@suse.de>
3632
3633 * Versions.def: Add version GLIBC_2.2 for libm.
3634 * math/fenv.h: Add prototypes for fegetexcept, feenableexcept and
3635 fedisableexcept.
3636 * sysdeps/generic/feenablxcpt.c: Stub file.
3637 * sysdeps/generic/fedisblxcpt.c: Stub file.
3638 * sysdeps/generic/fegetexcept.c: Stub file.
3639 * sysdeps/i386/fpu/fedisblxcpt.c: New file.
3640 * sysdeps/i386/fpu/feenablxcpt.c: New file.
3641 * sysdeps/i386/fpu/fegetexcept.c: New file.
3642 * math/Makefile (libm-support): Add new files.
3643 * math/Versions: Add new functions with version GLIBC_2.2.
3644 * manual/arith.texi (Control Functions): Document fegetexcept,
3645 feenableexcept and fedisableexcept.
3646
3647 1999-11-01 Wolfram Gloger <wg@malloc.de>
3648
3649 * malloc/malloc.h: Describe __malloc_initialize_hook.
3650 * manual/memory.texi: Document __malloc_initialize_hook.
3651
3652 1999-11-11 Ulrich Drepper <drepper@cygnus.com>
3653
3654 * sysdeps/unix/sysv/linux/setrlimit.c: Correctly use rlimits.
3655
3656 1999-11-09 Andreas Jaeger <aj@suse.de>
3657
3658 * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
3659 implementation for ttyname_r call; fix inverted condition; return
3660 ut_user.
3661 Closes PR libc/1438.
3662
3663 1999-11-10 Ulrich Drepper <drepper@cygnus.com>
3664
3665 * math/fenv.h: Include bits/fenvinline.h if optimizing.
3666 * sysdeps/powerpc/fpu/bits/fenv.h: Remove inline functions. Moved to..
3667 * sysdeps/powerpc/fpu/bits/fenvinline.h: ...here. New file.
3668 * sysdeps/generic/bits/fenv.h: New file.
3669
3670 1999-11-10 Ulrich Drepper <drepper@cygnus.com>
3671
3672 * misc/tst-efgcvt.c (output_r_error): Remove extra parameter to
3673 printf call.
3674
3675 1999-11-10 Andreas Jaeger <aj@suse.de>
3676
3677 * misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r.
3678
3679 1999-11-10 Andreas Jaeger <aj@suse.de>
3680
3681 * string/strsignal.c (strsignal): Correct check for snprintf
3682 return value.
3683 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
3684
3685 * misc/efgcvt_r.c (APPEND): Correct check for too small buffer
3686 according to changed snprintf return value.
3687 Reported by Lawrence K. Chen <lchen@opentext.com>.
3688
3689 * misc/tst-efgcvt.c (special): Add tests for a too small buffer
3690 for ecvt_r and fcvt_r.
3691
3692 1999-11-09 Ulrich Drepper <drepper@cygnus.com>
3693
3694 * elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to
3695 directory with the reference since this is as secure as using the
3696 object with the dependency.
3697 (_dl_dst_substitute): Likewise.
3698
3699 * elf/dl-load.c (_dl_dst_count): Change strings in first two
3700 strncmp calls to allow reuse.
3701 (_dl_dst_substitute): Likewise.
3702
3703 1999-11-01 Arnold D. Robbins <arnold@skeeve.com>
3704
3705 * posix/regex.c (init_syntax_once): move below definition of
3706 ISALNUM etc., then use ISALNUM to init the table, so that
3707 the word ops will work if i18n'ed.
3708 (SYNTAX): And subscript with 0xFF for 8bit character sets.
3709
3710 1999-11-09 Andreas Jaeger <aj@suse.de>
3711
3712 * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
3713 implementation for ttyname_r call; fix inverted condition; return
3714 ut_user. Closes PR libc/1438.
3715
3716 1999-11-09 Ulrich Drepper <drepper@cygnus.com>
3717
3718 * timezone/checktab.awk: Update from tzcode1999h.
3719 * timezone/africa: Update from tzdata1999i.
3720 * timezone/asia: Likewise.
3721 * timezone/australasia: Likewise.
3722 * timezone/backward: Likewise.
3723 * timezone/europe: Likewise.
3724 * timezone/northamerica: Likewise.
3725 * timezone/southamerica: Likewise.
3726 * timezone/iso3166.tab: Likewise.
3727 * timezone/zone.tab: Likewise.
3728
3729 * sysdeps/unix/sysv/linux/bits/resource.h: Define values also as
3730 macros. Patch by brg@csua.berkeley.edu [PR libc/1439].
3731
3732 1999-11-09 Andreas Jaeger <aj@suse.de>
3733
3734 * posix/Makefile (tests): Added tst-getlogin.
3735
3736 * posix/tst-getlogin.c: New file, contains simple tests for
3737 getlogin and getlogin_r.
3738
3739 1999-11-09 Andreas Schwab <schwab@suse.de>
3740
3741 * misc/syslog.c: For LOG_PERROR only append a newline if
3742 necessary.
3743
3744 1999-11-08 Ulrich Drepper <drepper@cygnus.com>
3745
3746 * elf/elf.h: Add STT_REGISTER, STT_HP_OPAQUE, and STT_ST_STUB
3747 definitions.
3748
3749 1999-11-08 Andreas Jaeger <aj@suse.de>
3750
3751 * locale/findlocale.c (_nl_find_locale): Free normalized_codeset;
3752 this fixes a memory leak (closes PR libc/1435).
3753
3754 * intl/l10nflist.c (_nl_normalize_codeset): Update comment to
3755 reflect memory allocation.
3756
3757 * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory
3758 allocation in _nl_explode_name.
3759
3760 1999-11-06 Andreas Jaeger <aj@suse.de>
3761
3762 * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock
3763 to initialize it.
3764 Reported by wes@surety.com, closes PR libc/1432.
3765
3766 1999-11-05 Geoff Keating <geoffk@cygnus.com>
3767
3768 * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of
3769 enumerator lists (-pedantic complains).
3770 (feraiseexcept): Use i#*X as the constraint. Fix a bug in the
3771 test for 'one bit set'.
3772 (feclearexcept): Likewise.
3773
3774 1999-11-05 Ulrich Drepper <drepper@cygnus.com>
3775
3776 * sysdeps/unix/sysv/linux/setrlimit.c: New file.
3777
3778 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust
3779 for kernel changes.
3780 * sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make
3781 unsigned.
3782
3783 1999-10-04 Tim Waugh <twaugh@redhat.com>
3784
3785 * posix/wordexp-test.c: More tests.
3786
3787 * posix/wordexp.c (wordexp): Explicit null words should be kept.
3788
3789 1999-11-04 Shinya Hanataka <hanataka@abyss.rim.or.jp>
3790
3791 * locale/programs/linereader.c (get_string): Correct type of buf2
3792 variable.
3793 * locale/programs/ld-ctype.c (ctype_output): Store index correctly
3794 for _NL_CTYPE_INDIGITS_MB_LEN, _NL_CTYPE_INDIGITS_WC_LEN,
3795 _NL_CTYPE_INDIGITS*_MB, _NL_CTYPE_OUTDIGIT*_MB, and
3796 _NL_CTYPE_OUTDIGIT*_WC.
3797 (allocate_arrays): Completely initialize mapping tables.
3798 * locale/programs/ld-time.c (time_startup): We need the wide car
3799 string.
3800 (time_finish): Correct handling of era.
3801 (time_output): Fix a few array indeces.
3802 (time_read): Pass the repertoire map to lr_token.
3803
3804 1999-11-03 Ulrich Drepper <drepper@cygnus.com>
3805
3806 * Versions.def: Add version for libthread_db.
3807
3808 1999-11-02 Andreas Jaeger <aj@suse.de>
3809
3810 * manual/header.texi (Library Summary): The command @indexfonts
3811 doesn't exist anymore, use @smallfonts instead.
3812
3813 1999-11-02 Ulrich Drepper <drepper@cygnus.com>
3814
3815 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h
3816 instead of duplicating definitions.
3817
3818 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
3819
3820 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used
3821 by the debugger.
3822 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3823 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise.
3824 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3825 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3826 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
3827
3828 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
3829
3830 * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25.
3831
3832 * sysdeps/unix/sysv/linux/kernel-features.h
3833 (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition.
3834 * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file.
3835
3836 * manual/texinfo.tex: Updated.
3837
3838 1999-11-01 Andreas Jaeger <aj@suse.de>
3839
3840 * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility.
3841
3842 * inet/gethstbynm2_r.c: Reorder addresses.
3843
3844 1999-09-11 Paul Eggert <eggert@twinsun.com>
3845
3846 * posix/glob.h (glob): If #defining to glob64, do this before
3847 declaring it, so that all declarations and uses match, and do not
3848 declare glob64, to avoid a declaration clash.
3849 (globfree): Likewise with globfree64.
3850
3851 1999-09-08 Eli Zaretskii <eliz@is.elta.co.il>
3852
3853 * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]:
3854 Keep the trailing slash unless DIRNAME is just "x:/".
3855
3856 1999-10-11 Andreas Jaeger <aj@suse.de>
3857
3858 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added.
3859 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3860 Closes PR libc/1384.
3861
3862 1999-10-20 Andreas Schwab <schwab@suse.de>
3863
3864 * math/Makefile (libm-tests-generated): Remove libm-test.stmp.
3865 (generated): Add it here.
3866 (before-compile): Add libm-test.c.
3867 ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on
3868 libm-test.stmp.
3869 ($(objpfx)libm-test.stmp): Use $(objpfx) instead of
3870 $(objdir)/math/.
3871
3872 1999-10-31 Ulrich Drepper <drepper@cygnus.com>
3873
3874 * Makefile (pdf): New goal.
3875 * manual/Makefile: Add definitions and rules for PDF generation.
3876
3877 * Versions.def (libm): Add GLIBC_2.1.3.
3878
3879 ISO C99 TR1 changes various fe* functions to return an error value.
3880 * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag,
3881 feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv.
3882 * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias.
3883 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
3884 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
3885 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
3886 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
3887 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
3888 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
3889 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
3890 * sysdeps/arm/fpu/fegetenv.c: Likewise.
3891 * sysdeps/arm/fpu/fesetenv.c: Likewise.
3892 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
3893 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
3894 * sysdeps/generic/fclrexcpt.c: Likewise.
3895 * sysdeps/generic/fegetenv.c: Likewise.
3896 * sysdeps/generic/fesetenv.c: Likewise.
3897 * sysdeps/generic/feupdateenv.c: Likewise.
3898 * sysdeps/generic/fgetexcptflg.c: Likewise.
3899 * sysdeps/generic/fraiseexcpt.c: Likewise.
3900 * sysdeps/generic/fsetexcptflg.c: Likewise.
3901 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
3902 * sysdeps/i386/fpu/fegetenv.c: Likewise.
3903 * sysdeps/i386/fpu/fesetenv.c: Likewise.
3904 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
3905 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
3906 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3907 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
3908 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
3909 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
3910 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
3911 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
3912 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
3913 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
3914 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
3915 * sysdeps/mips/fclrexcpt.c: Likewise.
3916 * sysdeps/mips/fegetenv.c: Likewise.
3917 * sysdeps/mips/fesetenv.c: Likewise.
3918 * sysdeps/mips/feupdateenv.c: Likewise.
3919 * sysdeps/mips/fgetexcptflg.c: Likewise.
3920 * sysdeps/powerpc/fclrexcpt.c: Likewise.
3921 * sysdeps/powerpc/fegetenv.c: Likewise.
3922 * sysdeps/powerpc/fesetenv.c: Likewise.
3923 * sysdeps/powerpc/feupdateenv.c: Likewise.
3924 * sysdeps/powerpc/fgetexcptflg.c: Likewise.
3925 * sysdeps/powerpc/fraiseexcpt.c: Likewise.
3926 * sysdeps/powerpc/fsetexcptflg.c: Likewise.
3927 * sysdeps/sparc/fpu/fclrexcpt.c: Likewise.
3928 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
3929 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
3930 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
3931 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
3932 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3933 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
3934 * math/fenv.h: Adjust prototypes.: Likewise.
3935 * manual/arith.texi: Adjust documentation for these changes.
3936
3937 * manual/arith.texi: Document feraiseexcept.
3938
3939 * sysdeps/powerpc/fegetenv.c: Moved to...
3940 * sysdeps/powerpc/fpu/fegetenv.c: ...here.
3941 * sysdeps/powerpc/fegetround.c: Moved to...
3942 * sysdeps/powerpc/fpu/fegetround.c: ...here.
3943 * sysdeps/powerpc/feholdexcpt.c: Moved to...
3944 * sysdeps/powerpc/fpu/feholdexcpt.c: ...here.
3945 * sysdeps/powerpc/fesetenv.c: Moved to...
3946 * sysdeps/powerpc/fpu/fesetenv.c: ...here.
3947 * sysdeps/powerpc/fenv_libc.h: Moved to...
3948 * sysdeps/powerpc/fpu/fenv_libc.h: ...here.
3949 * sysdeps/powerpc/feupdateenv.c: Moved to...
3950 * sysdeps/powerpc/fpu/feupdateenv.c: ...here.
3951 * sysdeps/powerpc/fgetexcptflg.c: Moved to...
3952 * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here.
3953 * sysdeps/powerpc/fraiseexcpt.c: Moved to...
3954 * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here.
3955 * sysdeps/powerpc/fsetexcptflg.c: Moved to...
3956 * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here.
3957 * sysdeps/powerpc/ftestexcept.c: Moved to...
3958 * sysdeps/powerpc/fpu/ftestexcept.c: ...here.
3959 * sysdeps/powerpc/fesetround.c: Moved to...
3960 * sysdeps/powerpc/fpu/fesetround.c: ...here
3961 * sysdeps/powerpc/fenv_const.c: Moved to...
3962 * sysdeps/powerpc/fpu/fenv_const.c: ...here.
3963
3964 * sysdeps/mips/fclrexcpt.c: Moved to...
3965 * sysdeps/mips/fpu/fclrexcpt.c: ...here.
3966 * sysdeps/mips/fegetenv.c: Moved to...
3967 * sysdeps/mips/fpu/fegetenv.c: ...here.
3968 * sysdeps/mips/fegetround.c: Moved to...
3969 * sysdeps/mips/fpu/fegetround.c: ...here.
3970 * sysdeps/mips/fesetenv.c: Moved to...
3971 * sysdeps/mips/fpu/fesetenv.c: ...here.
3972 * sysdeps/mips/fesetround.c: Moved to...
3973 * sysdeps/mips/fpu/fesetround.c: ...here.
3974 * sysdeps/mips/feupdateenv.c: Moved to...
3975 * sysdeps/mips/fpu/feupdateenv.c: ...here.
3976 * sysdeps/mips/fgetexcptflg.c: Moved to...
3977 * sysdeps/mips/fpu/fgetexcptflg.c: ...here.
3978 * sysdeps/mips/ftestexcept.c: Moved to...
3979 * sysdeps/mips/fpu/ftestexcept.c: ...here.
3980
3981 1999-10-29 Jakub Jelinek <jakub@redhat.com>
3982
3983 * stdlib/longlong.h: Avoid UDIV_TIME redefinition.
3984 * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus
3985 libraries from statically linked programs.
3986 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309
3987 fix for sigaction on SPARC.
3988 Patches by David S. Miller <davem@redhat.com>.
3989
3990 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare
3991 gregset_t and other required structures and defines for SPARC 64bit
3992 ABI as well, not only 32bit ABI.
3993
3994 1999-10-31 Andreas Jaeger <aj@suse.de>
3995
3996 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X
3997 by __USE_ISOC99 and update comments.
3998
3999 * math/complex.h: Update comments for ISO C99.
4000 * math/fenv.h: Likewise.
4001 * math/test-fenv.c: Likewise.
4002 * math/tgmath.h: Likewise.
4003 * libio/stdio.h: Likewise.
4004 * posix/sys/types.h: Likewise.
4005 * sysdeps/generic/inttypes.h: Likewise.
4006 * sysdeps/generic/stdint.h: Likewise.
4007
4008 1999-10-31 Ulrich Drepper <drepper@cygnus.com>
4009
4010 * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE.
4011
4012 * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also
4013 recognize _ISOC99_SOURCE.
4014 * libio/stdio.h: Likewise.
4015 * math/math.h: Likewise.
4016 * math/bits/mathcalls.h: Likewise.
4017 * math/stdio.h: Likewise.
4018 * stdlib/stdlib.h: Likewise.
4019 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
4020 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
4021 * sysdeps/arm/bits/huge_val.h: Likewise.
4022 * sysdeps/generic/bits/mathdef.h: Likewise.
4023 * sysdeps/i386/bits/huge_val.h: Likewise.
4024 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
4025 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
4026 * sysdeps/ieee754/bits/huge_val.h: Likewise.
4027 * sysdeps/m68k/bits/huge_val.h: Likewise.
4028 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
4029 * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
4030 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4031 * sysdeps/powerpc/bits/mathinline.h: Likewise.
4032 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
4033 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4034 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
4035 * wcsmbs/wchar.h: Likewise.
4036
4037 * sysdeps/powerpc/bits/mathdef.h: Moved to...
4038 * sysdeps/powerpc/fpu/bits/mathdef.h: ...here.
4039 * sysdeps/powerpc/bits/mathinline.h: Moved to...
4040 * sysdeps/powerpc/fpu/bits/mathinline.h: ...here.
4041 * sysdeps/powerpc/bits/fenv.h: Moved to...
4042 * sysdeps/powerpc/fpu/bits/fenv.h: ...here.
4043
4044 1999-10-31 Andreas Jaeger <aj@suse.de>
4045
4046 * manual/math.texi (Errors in Math Functions): Correct TeX code.
4047
4048 1999-10-31 Andreas Jaeger <aj@suse.de>
4049
4050 * math/libm-test.inc: Change comments to use ISO C99 instead of
4051 ISO C9x.
4052 * math/w_lgamma.c: Likewise.
4053 * math/w_lgammaf.c: Likewise.
4054 * math/w_lgammal.c: Likewise.
4055 * math/test-fenv.c: Likewise.
4056 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4057 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4058 * sysdeps/generic/printf_fphex.c: Likewise.
4059
4060 1999-10-31 Andreas Jaeger <aj@suse.de>
4061
4062 * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment.
4063
4064 * manual/math.texi: Change ISO C9x to ISO C99.
4065 * manual/startup.texi: Likewise.
4066 * manual/stdio.texi: Likewise.
4067
4068 1999-10-31 Andreas Jaeger <aj@suse.de>
4069
4070 * manual/arith.texi: Change ISO C9x to ISO C99.
4071 * manual/time.texi (Low-Level Time String Parsing): Likewise.
4072
4073 1999-10-30 Ulrich Drepper <drepper@cygnus.com>
4074
4075 * socket/Makefile (distribute): Add ifreq.h.
4076
4077 * manual/time.texi (Formatting Date and Time): Revise comments about
4078 origins of the formats with ISO C99 references.
4079
4080 1999-10-30 Andreas Jaeger <aj@suse.de>
4081
4082 * sysdeps/unix/sysv/linux/ifreq.h: New file.
4083
4084 1999-10-29 Andreas Jaeger <aj@suse.de>
4085
4086 * manual/arith.texi (Parsing of Floats): Document the hexadecimal
4087 input format; mention that strtof and strtold are part of ISO C99.
4088
4089 1999-10-29 Ulrich Drepper <drepper@cygnus.com>
4090
4091 * manual/math.texi (Errors in Math Functions): New section.
4092 * math/libm-err-tab.pl: Moved to...
4093 * manual/libm-err-tab.pl: ...here.
4094 * manual/Makefile: Add rules for math function error table generation.
4095
4096 * stdlib/tst-strtod.c: Add more hexadecimal tests.
4097
4098 * stdlib/strtod.c: Handle hexadecimal numbers with leading digit
4099 != 1 correctly and more than one digit before decimal point..
4100
4101 1999-10-27 Andreas Jaeger <aj@suse.de>
4102
4103 * sysdeps/generic/ifreq.h: New file.
4104
4105 * resolv/res_hconf.c: Add missing includes to get all prototypes.
4106 (_res_hconf_reorder_addrs): Rewrite. This never worked before.
4107 Reported by John DiMarco <jdd@cs.toronto.edu>.
4108
4109 (_res_hconf_reorder_addrs): Made thread safe.
4110 (free_mem): New function, needed for malloc debugging.
4111
4112 1999-10-29 Andreas Jaeger <aj@suse.de>
4113
4114 * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ...
4115 * sysdeps/generic/opensock.c (__opensock): ...here in a new file.
4116 * sysdeps/unix/sysv/linux/if_index.c: Change all callers of
4117 opensock to use __opensock.
4118
4119 * socket/Makefile (routines): Add opensock.
4120
4121 * include/sys/socket.h (__opensock): Add prototype declaration.
4122
4123 1999-10-29 Andreas Jaeger <aj@suse.de>
4124
4125 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing
4126 N_* constants.
4127 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4128
4129 * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added
4130 new constant from Linux 2.3.25pre1.
4131
4132 * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added.
4133
4134 1999-10-29 Andreas Jaeger <aj@suse.de>
4135
4136 * math/libm-err-tab.pl: New file to generate a table of
4137 libm-test-ulps values.
4138
4139 1999-10-29 Ulrich Drepper <drepper@cygnus.com>
4140
4141 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file.
4142 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect
4143 struct sigcontext* object as second parameter for profil_counter.
4144 Patches by Jakub Jelinek <jakub@redhat.com>.
4145
4146 1999-10-29 Andreas Jaeger <aj@suse.de>
4147
4148 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs.
4149 * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
4150
4151 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts,
4152 efs, qnx4 and reiser file systems.
4153
4154 1999-10-29 Andreas Jaeger <aj@suse.de>
4155
4156 * locale/Makefile (others): Set to localedef and locale for make
4157 clean.
4158
4159 * debug/Makefile (generated): Add xtrace for make clean to work.
4160
4161 1999-10-29 Andreas Jaeger <aj@suse.de>
4162
4163 * stdlib/tst-strtod.c: Add two testcases for hexadecimal input.
4164
4165 1999-10-25 Andreas Jaeger <aj@suse.de>
4166
4167 * math/libm-test.inc: Added code to ignore the given max ulps.
4168 (print_max_error): Check for ignore_max_ulp.
4169 (check_float_internal): Likewise.
4170 (parse_opt): Parse --ignore-max-ulp.
4171 (main): Initialize ignore_max_ulp.
4172
4173 1999-10-26 Andreas Jaeger <aj@suse.de>
4174
4175 * stdlib/msort.c: Include <alloca.h> for prototype.
4176 Remove K&R compatibility and _quicksort prototype.
4177
4178 * stdlib/qsort.c: Make code and comments 64 bit clean; clarify
4179 some comments.
4180 Reported by Bernd Loechner <loechner@informatik.uni-kl.de>.
4181 Remove K&R compatibility.
4182 Move prototype declaration to include/stdlib.h.
4183 Include <alloca.h> for prototype; include <limits.h> for CHAR_BIT.
4184
4185 * include/stdlib.h: Prototype declaration for _quicksort.
4186
4187 1999-10-27 Andreas Jaeger <aj@suse.de>
4188
4189 * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was
4190 shifted a bit too much.
4191 Reported by Eugen Dedu <dedu@ese-metz.fr>.
4192
4193 1999-10-25 Ulrich Drepper <drepper@cygnus.com>
4194
4195 * resolv/gethnamaddr.c: Account bytes needed for alignment in
4196 buflen. Patch by Olaf Kirch <okir@lst.de>.
4197
4198 * md5-crypt/md5test.c: Correct names of MD5 functions after
4199 removing of public names.
4200
4201 * configure.in: Don't allow --enable-kernel without parameter.
4202
4203 1999-10-25 Ulrich Drepper <drepper@cygnus.com>
4204
4205 * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0
4206 problems.
4207
4208 1999-10-25 Thorsten Kukuk <kukuk@suse.de>
4209
4210 * md5-crypt/md5.h: Remove prototypes for public interface. md5 is
4211 only used internally.
4212 * md5-crypt/md5-crypt.c: Use internal names for md5 functions,
4213 remove weak alias for public names.
4214 * md5-crypt/md5.c: Remove weak aliase.
4215
4216 1999-10-25 Andreas Jaeger <aj@suse.de>
4217
4218 * math/README.libm-test: New file, documents libm-test.inc.
4219
4220 1999-10-25 Andreas Jaeger <aj@suse.de>
4221
4222 * math/gen-libm-test.pl: Only generate a new ulps file when -n is
4223 given.
4224 (print_ulps_file): Fix loops to not read @tests and @functions
4225 since those are not initialized with -n now.
4226 (parse_ulps): Set $results{..}{"kind"}.
4227
4228 1999-10-25 Andreas Jaeger <aj@suse.de>
4229
4230 * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.
4231
4232 * math/libm-test.inc (check_float_internal): Don't print ulps for
4233 wrong sign of zero.
4234
4235 1999-10-20 Andreas Jaeger <aj@suse.de>
4236
4237 * manual/socket.texi (Address Formats): Describe usage of AF_UNIX
4238 versus AF_LOCAL.
4239 Patch by Robert Bihlmeyer <robbe@orcus.priv.at>.
4240
4241 1999-10-24 Ulrich Drepper <drepper@cygnus.com>
4242
4243 * math/libm-test.inc: Disable some boundary case tests for inline
4244 function testing.
4245
4246 * math/math.h: Pretty printing.
4247
4248 * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN.
4249 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4250 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4251 * sysdeps/i386/fpu/e_log10.S: Likewise.
4252 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4253 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4254 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4255 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4256 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4257 * sysdeps/i386/fpu/s_log2.S: Likewise.
4258 * sysdeps/i386/fpu/s_log2f.S: Likewise.
4259 * sysdeps/i386/fpu/s_log2l.S: Likewise.
4260
4261 * sysdeps/i386/fpu/libm-test-ulps: New file.
4262
4263 * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return
4264 value for x == 0.
4265 (pow): Correct case x == 0.
4266 (__sgn1l): Correct handling of -0.0.
4267
4268 1999-10-22 Andreas Jaeger <aj@suse.de>
4269
4270 * math/libm-test.inc (asinh_test): Add test for NaN as input parameter.
4271 (atan_test): Likewise.
4272 (atanh_test): Likewise.
4273 (atan2_test): Likewise.
4274 (carg_test): Likewise.
4275 (ceil_test): Likewise.
4276 (cos_test): Likewise.
4277 (cosh_test): Likewise.
4278 (cpow_test): Likewise.
4279 (erf_test): Likewise.
4280 (erfc_test): Likewise.
4281 (exp_test): Likewise.
4282 (exp10_test): Likewise.
4283 (exp2_test): Likewise.
4284 (expm1_test): Likewise.
4285 (fabs_test): Likewise.
4286 (floor_test): Likewise.
4287 (fmod_test): Likewise.
4288 (gamma_test): Likewise.
4289 (lgamma_test): Likewise.
4290 (log10_test): Likewise.
4291 (log1p_test): Likewise.
4292 (log2_test): Likewise.
4293 (logb_test): Likewise.
4294 (nearbyint_test): Likewise.
4295 (remainder_test): Likewise.
4296 (remquo_test): Likewise.
4297 (sin_test): Likewise.
4298 (sincos_test): Likewise.
4299 (sinh_test): Likewise.
4300 (sqrt_test): Likewise.
4301 (tan_test): Likewise.
4302 (tanh_test): Likewise.
4303 (tgamma_test): Likewise.
4304
4305 1999-10-21 Ulrich Drepper <drepper@cygnus.com>
4306
4307 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y.
4308
4309 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special.
4310
4311 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check
4312 for -Inf and return NaN.
4313
4314 * configure.in: Correct test for Cygnus gcc versions.
4315
4316 1999-10-21 Andreas Jaeger <aj@suse.de>
4317
4318 * math/libm-test.inc (cimag_test): New function, tests cimag.
4319 (creal_test): New function, tests creal.
4320 (conj_test): New function, tests conj.
4321 (main): Add new functions.
4322
4323 1999-10-20 Andreas Jaeger <aj@suse.de>
4324
4325 * math/libm-test.inc: Rewrite to allow different deltas for real
4326 and imaginary part of complex functions.
4327 * math/gen-libm-test.pl: Likewise.
4328
4329 1999-10-19 Ulrich Drepper <drepper@cygnus.com>
4330
4331 * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
4332 aliases.
4333
4334 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.
4335
4336 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
4337 for -Inf and return NaN.
4338
4339 * math/gen-libm-test.pl: Fix program name in help message.
4340
4341 * math/libm-test.inc (check_complex): It's Imaginary, not Complex.
4342
4343 * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.
4344
4345 * sysdeps/i386/Implies: Correct order of libm directories.
4346
4347 1999-10-19 Andreas Jaeger <aj@suse.de>
4348
4349 * include/bits/ipc.h: Remove K&R compatibility.
4350 * include/libintl.h: Likewise.
4351 * include/math.h: Likewise.
4352 * include/mntent.h: Likewise
4353 * include/netdb.h: Likewise.
4354 * include/pwd.h: Likewise.
4355 * include/sched.h: Likewise.
4356 * include/shadow.h: Likewise
4357 * include/stdlib.h: Likewise.
4358 * include/sys/file.h: Likewise.
4359 * include/sys/gmon.h: Likewise.
4360 * include/sys/ioctl.h: Likewise.
4361 * include/sys/mman.h: Likewise.
4362 * include/sys/resource.h: Likewise.
4363 * include/sys/socket.h: Likewise.
4364 * include/sys/stat.h: Likewise.
4365 * include/sys/sysinfo.h: Likewise.
4366 * include/sys/time.h: Likewise.
4367 * include/sys/times.h: Likewise.
4368 * include/sys/uio.h: Likewise.
4369 * include/sys/wait.h: Likewise.
4370 * include/termios.h: Likewise.
4371 * include/time.h: Likewise.
4372 * include/ulimit.h: Likewise.
4373 * include/utmp.h: Likewise.
4374 * include/wchar.h: Likewise.
4375 * include/wctype.h: Likewise.
4376
4377 1999-10-19 Andreas Jaeger <aj@suse.de>
4378
4379 * math/libm-test.inc: Remove one K&R compatibility.
4380 (main): Enable nexttoward_test.
4381
4382 * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
4383 libm-test-ulps.h; pretty print output a bit.
4384
4385 1999-10-19 Andreas Jaeger <aj@suse.de>
4386
4387 * iconv/iconv_prog.c (main): Set exit value in case that reading
4388 from stdin failed [PR libc/1404].
4389
4390 1999-10-18 Andreas Jaeger <aj@suse.de>
4391
4392 Added improved math testsuite:
4393 * math/libm-test.inc: New file, contains all tests from
4394 libm-test.c but in a different form.
4395 * math/libm-test.c: Removed.
4396 * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file.
4397 * math/gen-libm-test.pl: New file: Preprocessor.
4398 * math/test-double.c: Adopted to new testsuite.
4399 * math/test-idouble.c: Likewise.
4400 * math/test-float.c: Likewise.
4401 * math/test-ifloat.c: Likewise.
4402 * math/test-ldouble.c: Likewise.
4403 * math/test-ildoubl.c: Likewise.
4404 * math/Makefile: Added rules to generate new suite.
4405
4406 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
4407
4408 * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
4409 Patch by J. Richard Sladkey <jrs@world.std.com>.
4410
4411 * scripts/config.sub: Update from latest autoconf version.
4412 * scripts/config.guess: Likewise.
4413
4414 1999-10-18 Andreas Jaeger <aj@suse.de>
4415
4416 * inet/arpa/inet.h: Remove K&R compatibility.
4417 * math/fenv.h: Likewise.
4418
4419 1999-10-18 Andreas Jaeger <aj@suse.de>
4420
4421 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
4422 kernel_sigaction): Remove K&R compatibility.
4423 * sysdeps/unix/sysv/linux/net/if.h: Likewise.
4424 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4425 * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
4426 * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
4427 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
4428 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
4429 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4430 * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
4431 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
4432 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
4433 * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
4434 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4435 * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
4436 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
4437 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4438 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4439 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
4440
4441 1999-10-18 Andreas Jaeger <aj@suse.de>
4442
4443 * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
4444 Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
4445
4446 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
4447
4448 * po/gl.po: New file.
4449
4450 1999-10-18 Andreas Schwab <schwab@suse.de>
4451
4452 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
4453 namespace selection.
4454
4455 1999-10-18 Andreas Schwab <schwab@suse.de>
4456
4457 * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
4458 clash with the TERM environment variable.
4459
4460 1999-10-18 Andreas Jaeger <aj@suse.de>
4461
4462 * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
4463 returns now NaN + i NaN.
4464 * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
4465 * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
4466
4467 1999-10-18 Andreas Jaeger <aj@suse.de>
4468
4469 * include/aio.h: Remove K&R compatiblity.
4470 * include/alloca.h: Likewise.
4471 * include/db.h: Likewise.
4472 * include/dirent.h: Likewise.
4473 * include/fcntl.h: Likewise.
4474 * include/fpu_control.h: Likewise.
4475 * include/glob.h: Likewise.
4476 * include/grp.h: Likewise.
4477 * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
4478 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4479 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4480 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4481
4482 * include/execinfo.h: Add __THROW.
4483
4484 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
4485
4486 * sysdeps/mips/Implies: Remove wordsize-32 reference.
4487 * sysdeps/mips/mips3/Implies: Add it here.
4488
4489 1999-10-17 Ulrich Drepper <drepper@cygnus.com>
4490
4491 * elf/elf.h: Add various platform and architecture extensions.
4492
4493 * locale/lc-collate.c (_nl_postload_collate): Disable code for now.
4494 * locale/setlocale.c (setlocale): Don't call _nl_find_locale for
4495 LC_ALL.
4496
4497 * socket/sys/socket.h: Remove K&R compatibility.
4498
4499 1999-10-16 Andreas Jaeger <aj@suse.de>
4500
4501 * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
4502
4503 1999-10-15 Andreas Jaeger <aj@suse.de>
4504
4505 * stdlib/Makefile (tests): Added tst-xpg-basename.
4506
4507 * stdlib/tst-xpg-basename.c: New test file.
4508
4509 1999-10-14 Cristian Gafton <gafton@redhat.com>
4510
4511 * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
4512
4513 1999-10-14 Andreas Jaeger <aj@suse.de>
4514
4515 * resolv/inet_addr.c (inet_aton): Fix last patch. The little
4516 endian version works for both endiannesses.
4517
4518 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
4519 seconds.
4520
4521 1999-10-12 Ulrich Drepper <drepper@cygnus.com>
4522
4523 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
4524 register names unconditionally, only if __USE_GNU.
4525
4526 * debug/Makefile: Fix rules to generate pcprofiledump.
4527
4528 * include/ucontext.h: New file.
4529
4530 * locale/setlocale.c: Fix gcc warning about uninitialized variable.
4531
4532 1999-10-12 Andreas Jaeger <aj@suse.de>
4533
4534 * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
4535
4536 * math/basic-test.c: Fix typo.
4537
4538 * locale/programs/xstrdup.c: Include string.h for glibc
4539 compilation to get string prototypes.
4540
4541 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
4542 gregset_t and fpregset_t.
4543
4544 * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
4545 warnings. Correct value for x == 0.
4546
4547 * argp/argp-help.c: Remove broken definition of flockfile and
4548 funlockfile.
4549
4550 1999-10-12 Andreas Schwab <schwab@suse.de>
4551
4552 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
4553 generic Linux version.
4554
4555 1999-10-12 Ulrich Drepper <drepper@cygnus.com>
4556
4557 * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
4558
4559 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
4560
4561 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
4562 and fpregset_t definitions.
4563
4564 * malloc/memprof.c (GETSP): Define for PowerPC.
4565 (GETTIME): Fix generic version.
4566
4567 1999-10-10 Philip Blundell <philb@gnu.org>
4568
4569 * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
4570 __BYTE_ORDER.
4571
4572 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
4573
4574 * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
4575 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
4576 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
4577 * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
4578
4579 * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
4580
4581 * sysdeps/powerpc/e_sqrt.c: Moved to...
4582 * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
4583 * sysdeps/powerpc/e_sqrtf.c: Moved to...
4584 * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
4585
4586 * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
4587 * sysdeps/powerpc/sub_n.S: Likewise.
4588 * sysdeps/powerpc/strlen.S: Likewise.
4589 * sysdeps/powerpc/strcpy.S: Likewise.
4590 * sysdeps/powerpc/strcmp.S: Likewise.
4591 * sysdeps/powerpc/strchr.S: Likewise.
4592 * sysdeps/powerpc/stpcpy.S: Likewise.
4593 * sysdeps/powerpc/setjmp.S: Likewise.
4594 * sysdeps/powerpc/rshift.S: Likewise.
4595 * sysdeps/powerpc/ppc-mcount.S: Likewise.
4596 * sysdeps/powerpc/mul_1.S: Likewise.
4597 * sysdeps/powerpc/memset.S: Likewise.
4598 * sysdeps/powerpc/lshift.S: Likewise.
4599 * sysdeps/powerpc/dl-start.S: Likewise.
4600 * sysdeps/powerpc/bzero.S: Likewise.
4601 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
4602 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
4603 * sysdeps/powerpc/addmul_1.S: Likewise.
4604 * sysdeps/powerpc/add_n.S: Likewise.
4605 * sysdeps/powerpc/__longjmp.S: Likewise.
4606 * sysdeps/powerpc/elf/start.S: Likewise.
4607
4608 1999-10-11 Cristian Gafton <gafton@redhat.com>
4609
4610 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
4611 SA_SIGINFO.
4612
4613 1999-10-10 Ulrich Drepper <drepper@cygnus.com>
4614
4615 * stdlib/atexit.c (initial): New variable. Use to initialize
4616 __exit_funcs.
4617 * stdlib/exit.c (exit): Beware to not free statically allocated
4618 list element [PR libc/1305].
4619
4620 * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
4621 slash before the basename [PR libc/1383].
4622
4623 * argp/argp.h: Fix typo in last patch.
4624
4625 * sysdeps/powerpc/sysdep.h: New file.
4626 * sysdeps/unix/powerpc/sysdep.h: New file.
4627 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
4628 sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
4629 * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
4630 instead of bare numbers.
4631 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
4632 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
4633 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
4634
4635 * sysdeps/hppa/sysdep.h: New file.
4636
4637 1999-10-10 Andreas Jaeger <aj@suse.de>
4638
4639 * misc/sgtty.h: Fix typo in last patch.
4640
4641 1999-10-09 Ulrich Drepper <drepper@cygnus.com>
4642
4643 * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
4644 * sysdeps/powerpc/s_copysign.S: Move to...
4645 * sysdeps/powerpc/fpu/s_copysign.S: ...here. Use portable asm syntax.
4646 * sysdeps/powerpc/s_copysignf.S: Move to...
4647 * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
4648 * sysdeps/powerpc/s_fabs.S: Move to...
4649 * sysdeps/powerpc/fpu/s_fabs.S: ...here. Use portable asm syntax.
4650 * sysdeps/powerpc/s_fabsf.S: Move to...
4651 * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
4652 * sysdeps/powerpc/s_fdim.c: Move to...
4653 * sysdeps/powerpc/fpu/s_fdim.c: ...here.
4654 * sysdeps/powerpc/s_fdimf.c: Move to...
4655 * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
4656 * sysdeps/powerpc/s_fmax.S: Move to...
4657 * sysdeps/powerpc/fpu/s_fmax.S: ...here. Use portable asm syntax.
4658 * sysdeps/powerpc/s_fmaxf.S: Move to...
4659 * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
4660 * sysdeps/powerpc/s_fmin.S: Move to...
4661 * sysdeps/powerpc/fpu/s_fmin.S: ...here. Use portable asm syntax.
4662 * sysdeps/powerpc/s_fminf.S: Move to...
4663 * sysdeps/powerpc/fpu/s_fminf.S: ...here.
4664 * sysdeps/powerpc/s_isnan.S: Move to...
4665 * sysdeps/powerpc/fpu/s_isnan.c: ...here.
4666 * sysdeps/powerpc/s_isnanf.S: Move to...
4667 * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
4668 * sysdeps/powerpc/s_llrint.c: Move to...
4669 * sysdeps/powerpc/fpu/s_llrint.c: ...here.
4670 * sysdeps/powerpc/s_llrintf.c: Move to...
4671 * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
4672 * sysdeps/powerpc/s_llround.c: Move to...
4673 * sysdeps/powerpc/fpu/s_llround.c: ...here.
4674 * sysdeps/powerpc/s_llroundf.c: Move to...
4675 * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
4676 * sysdeps/powerpc/s_lrint.c: Move to...
4677 * sysdeps/powerpc/fpu/s_lrint.c: ...here.
4678 * sysdeps/powerpc/s_lrintf.S: Move to...
4679 * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
4680 * sysdeps/powerpc/s_lround.c: Move to...
4681 * sysdeps/powerpc/fpu/s_lround.c: ...here.
4682 * sysdeps/powerpc/s_lroundf.c: Move to...
4683 * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
4684 * sysdeps/powerpc/s_rint.c: Move to...
4685 * sysdeps/powerpc/fpu/s_rint.c: ...here.
4686 * sysdeps/powerpc/s_rintf.c: Move to...
4687 * sysdeps/powerpc/fpu/s_rintf.c: ...here.
4688 * sysdeps/powerpc/t_sqrt.c: Move to...
4689 * sysdeps/powerpc/fpu/t_sqrt: ...here.
4690 * sysdeps/powerpc/w_sqrt.c: Move to...
4691 * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
4692 * sysdeps/powerpc/w_sqrtf.c: Move to...
4693 * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
4694 * configure.in: Support platforms which have no .text pseudo-op.
4695 Patches partly by Jimi X <jimix@pobox.com>.
4696
4697 * Makeconfig: Look also in all subdirs for shlib-versions files.
4698
4699 * malloc/memprof.sh: Fix --help string a bit.
4700
4701 * argp/argp.h: Remove K&R compatiblity.
4702 * assert/assert.h: Likewise.
4703 * catgets/nl_types.h: Likewise.
4704 * ctype/ctype.h: Likewise.
4705 * db/db.h: Likewise.
4706 * db/ndbm.h: Likewise.
4707 * db2/db.h: Likewise.
4708 * db2/db_185.h: Likewise.
4709 * debug/execinfo.h: Likewise.
4710 * dirent/dirent.h: Likewise.
4711 * dlfcn/dlfcn.h: Likewise.
4712 * gmon/sys/gmon.h: Likewise.
4713 * grp/grp.h: Likewise.
4714 * iconv/gconv.h: Likewise.
4715 * iconv/iconv.h: Likewise.
4716 * include/execinfo.h: Likewise.
4717 * inet/aliases.h: Likewise.
4718 * inet/netinet/ether.h: Likewise.
4719 * inet/netinet/in.h: Likewise.
4720 * intl/libintl.h: Likewise.
4721 * io/fcntl.h: Likewise.
4722 * io/fts.h: Likewise.
4723 * io/ftw.h: Likewise.
4724 * io/utime.h: Likewise.
4725 * io/sys/poll.h: Likewise.
4726 * io/sys/stat.h: Likewise.
4727 * io/sys/statfs.h: Likewise.
4728 * io/sys/statvfs.h: Likewise.
4729 * libio/libio.h: Likewise.
4730 * libio/stdio.h: Likewise.
4731 * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
4732 * locale/locale.h: Likewise.
4733 * login/pty.h: Likewise.
4734 * login/utmp.h: Likewise.
4735 * malloc/mcheck.h: Likewise.
4736 * math/complex.h: Likewise.
4737 * math/math.h: Likewise.
4738 * math/math_private.h: Likewise.
4739 * misc/err.h: Likewise.
4740 * misc/fstab.h: Likewise.
4741 * misc/libgen.h: Likewise.
4742 * misc/mntent.h: Likewise.
4743 * misc/regexp.h: Likewise.
4744 * misc/search.h: Likewise.
4745 * misc/sgtty.h: Likewise.
4746 * misc/ttyent.h: Likewise.
4747 * misc/sys/cdefs.h: Likewise.
4748 * misc/sys/file.h: Likewise.
4749 * misc/sys/ioctl.h: Likewise.
4750 * misc/sys/mman.h: Likewise.
4751 * misc/sys/select.h: Likewise.
4752 * misc/sys/syslog.h: Likewise.
4753 * misc/sys/uio.h: Likewise.
4754 * misc/sys/ustat.h: Likewise.
4755 * nss/nss.h: Likewise.
4756 * posix/sched.h: Likewise.
4757 * posix/unistd.h: Likewise.
4758 * posix/wordexp.h: Likewise.
4759 * posix/sys/times.h: Likewise.
4760 * posix/sys/utsname.h: Likewise.
4761 * posix/sys/wait.h: Likewise.
4762 * pwd/pwd.h: Likewise.
4763 * resolv/netdb.h: Likewise.
4764 * resolv/resolv.h: Likewise.
4765 * resource/ulimit.h: Likewise.
4766 * resource/sys/resource.h: Likewise.
4767 * resource/sys/vlimit.h: Likewise.
4768 * resource/sys/vtimes.h: Likewise.
4769 * rt/aio.h: Likewise.
4770 * setjmp/setjmp.h: Likewise.
4771 * shadow/shadow.h: Likewise.
4772 * signal/signal.h: Likewise.
4773 * socket/socket.h: Likewise.
4774 * stdio/stdio.h: Likewise.
4775 * stdio-common/_itoa.h: Likewise.
4776 * stdio-common/_itowa.h: Likewise.
4777 * stdio-common/printf.h: Likewise.
4778 * stdlib/alloca.h: Likewise.
4779 * stdlib/fmtmsg.h: Likewise.
4780 * stdlib/monetary.h: Likewise.
4781 * stdlib/stdlib.h: Likewise.
4782 * stdlib/ucontext.h: Likewise.
4783 * streams/stropts.h: Likewise.
4784 * string/argz.h: Likewise.
4785 * string/envz.h: Likewise.
4786 * string/string.h: Likewise.
4787 * string/strings.h: Likewise.
4788 * string/bits/string2.h: Likewise.
4789 * sunrpc/rpc/auth.h: Likewise.
4790 * sunrpc/rpc/auth_des.h: Likewise.
4791 * sunrpc/rpc/auth_unix.h: Likewise.
4792 * sunrpc/rpc/clnt.h: Likewise.
4793 * sunrpc/rpc/des_crypt.h: Likewise.
4794 * sunrpc/rpc/netdb.h: Likewise.
4795 * sunrpc/rpc/pmap_clnt.h: Likewise.
4796 * sunrpc/rpc/pmap_prot.h: Likewise.
4797 * sunrpc/rpc/pmap_rmt.h: Likewise.
4798 * sunrpc/rpc/rpc_msg.h: Likewise.
4799 * sunrpc/rpc/svc.h: Likewise.
4800 * sunrpc/rpc/svc_auth.h: Likewise.
4801 * sunrpc/rpc/xdr.h: Likewise.
4802 * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
4803 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4804 * sysvipc/sys/ipc.h: Likewise.
4805 * sysvipc/sys/msg.h: Likewise.
4806 * sysvipc/sys/sem.h: Likewise.
4807 * sysvipc/sys/shm.h: Likewise.
4808 * termios/termios.h: Likewise.
4809 * time/time.h: Likewise.
4810 * time/sys/time.h: Likewise.
4811 * time/sys/timeb.h: Likewise.
4812 * wcsmbs/wchar.h: Likewise.
4813 * wctype/wctype.h: Likewise.
4814
4815 1999-10-05 Roland McGrath <roland@baalperazim.frob.com>
4816
4817 * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
4818 _GNU_SOURCE be defined.
4819
4820 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
4821
4822 * ctype/ctype.h: Pretty print.
4823
4824 * po/cs.po: Fix typos.
4825
4826 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
4827 handling of empty entries. [PR libc/1345]
4828 Patch by Thorsten Kukuk <kukuk@suse.de>.
4829
4830 1999-10-08 Andreas Schwab <schwab@suse.de>
4831
4832 * debug/xtrace.sh: Fix quoting bugs. Implement --help and --version.
4833
4834 1999-10-08 Andreas Schwab <schwab@suse.de>
4835
4836 * debug/pcprofiledump.c: Fix typos.
4837
4838 1999-10-07 Andreas Jaeger <aj@suse.de>
4839
4840 * math/Makefile (tests): Added basic-tests.
4841
4842 * math/basic-test.c: New file. Contains function basic_tests from
4843 libm-test.
4844
4845 1999-10-07 Andreas Schwab <schwab@suse.de>
4846
4847 * malloc/memprof.sh: Fix quoting bugs.
4848
4849 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
4850
4851 * timezone/europe: Update from tzdata1999h.
4852
4853 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
4854
4855 * elf/elf.h: Update from last gABI draft.
4856
4857 * elf/elf.h: Remove EM_486 entry.
4858 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
4859 test for EM_486.
4860
4861 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
4862
4863 * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
4864 Add rules for both programs.
4865 * debug/pcprofiledump.c: New file.
4866 * debug/xtrace.sh: New file.
4867 * debug/pcprofile.c: Allow creating output file. Add magic signature
4868 to let reader recognize file format.
4869
4870 1999-10-06 Ulrich Drepper <drepper@cygnus.com>
4871
4872 * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
4873
4874 1999-10-05 Andreas Jaeger <aj@suse.de>
4875
4876 * locale/programs/ld-identification.c: Fix typo in comment.
4877 * locale/programs/ld-messages.c: Likewise.
4878 * locale/programs/ld-monetary.c: Likewise.
4879 * locale/programs/ld-name.c: Likewise.
4880
4881 * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
4882 (collate_read): Remove unnecessary comparisons with ignore_content.
4883
4884 * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
4885 assigned elements.
4886 (ctype_read): Remove unnecessary comparisons with ignore_content.
4887 Fix typos in comments.
4888
4889 * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
4890 comparisons with ignore_content.
4891
4892 1999-10-05 Ulrich Drepper <drepper@cygnus.com>
4893
4894 * po/cs.po: Update.
4895
4896 * time/time.h: Move __gmtime_r declaration to ...
4897 * include/time.h: ...here.
4898
4899 1999-10-05 Andreas Jaeger <aj@suse.de>
4900
4901 * manual/message.texi (The message catalog files): Fix description
4902 to match gencat implementation and Unix98: Message fields are
4903 separated by a single blank space.
4904
4905 1999-10-05 Andreas Jaeger <aj@suse.de>
4906
4907 * manual/string.texi (Search Functions): Add missing end for
4908 memrchr description.
4909
4910 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
4911
4912 * malloc/memprof.sh: Various small cleanups. Add short options.
4913 Write error messages to stderr.
4914
4915 * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
4916
4917 * malloc/memprof.sh: Take options to control memprofstat.
4918
4919 * malloc/Makefile: Add rule to generate memprof script.
4920 * malloc/memprof.sh: New file.
4921
4922 * elf/ldd.bash.in: Add "Usage: " in help message to comply with
4923 GNU standard.
4924
4925 1999-10-04 Andreas Jaeger <aj@suse.de>
4926
4927 * configure.in: Allow makeinfo 4.*.
4928
4929 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
4930
4931 * stdio-common/vfprintf.c: Correct last patch and use outchar
4932 instead of PUTC to output single characters.
4933 * stdio-common/Makefile (tests): Add bug13.
4934 * stdio-common/bug13.c: New file.
4935
4936 * configure.in: Add additional options --with-gd-include and
4937 --with-gd-lib to help people with strange installations.
4938
4939 * malloc/Makefile: Add libdl dependency to libmemprof.so.
4940 * malloc/Depend: New file.
4941
4942 1999-10-04 Andreas Jaeger <aj@suse.de>
4943
4944 * timezone/README: Change wording to not mention the current
4945 version. This way we can't forget to update the file.
4946
4947 1999-10-04 Andreas Jaeger <aj@suse.de>
4948
4949 * manual/time.texi (Basic CPU Time): Fix typo.
4950 Reported by Ben Pfaff <pfaffben@msu.edu>.
4951
4952 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
4953
4954 * string/string.h: Move __memrchr declaration to ...
4955 * include/string.h: ...here.
4956
4957 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
4958
4959 * string/Makefile (routines): Add memrchr.
4960
4961 * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
4962 Correct order of tests for matching bytes.
4963
4964 * string/tester.c: Add tests for memrchr.
4965
4966 * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
4967 Start from the last character and take decrement not increment
4968 into account for correction in return line. Add memrchr alias.
4969 * sysdeps/i386/bits/string.h: Likewise.
4970
4971 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
4972
4973 * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
4974
4975 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
4976
4977 * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
4978
4979 * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
4980 conventions.
4981
4982 * string/Versions: Export memrchr.
4983
4984 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
4985
4986 * misc/Versions (GLIBC_2.2): Add getloadavg.
4987 * misc/Makefile (routines): Add getloadavg.
4988 * sysdeps/generic/getloadavg.c: New file.
4989 * sysdeps/mach/getloadavg.c: New file.
4990 * sysdeps/unix/sysv/linux/getloadavg.c: New file.
4991
4992 * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
4993 * sysdeps/i386/bits/string.h (__memrchr): New function.
4994 * string/string.h: Declare memrchr, __memrchr.
4995 * manual/string.texi (Search Functions): Document memrchr.
4996
4997 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
4998
4999 * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
5000 CFLAGS-memprofstat.c, and LIBGD variables.
5001 * config.make.in: Add LIBGD.
5002 * malloc/Makefile: Add rules to generate libmemprof.so and
5003 memprofstat.
5004 * malloc/memprof.c: New file.
5005 * malloc/memprofstat.c: New file.
5006
5007 1999-10-02 Ulrich Drepper <drepper@cygnus.com>
5008
5009 * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
5010
5011 * resolv/inet_ntop.c (inet_ntop4): Little optimization.
5012 (inet_ntop6): Likewise.
5013
5014 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
5015 overruns.
5016
5017 * resolv/tst-aton.c (main): Add more tests.
5018
5019 * resolv/inet_addr.c (inet_aton): Correct some problems with to
5020 large numbers. Optimize a bit.
5021
5022 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
5023
5024 * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
5025 account for added '0'.
5026
5027 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
5028 handling of IPv6 tunnel address handling with bind 8.2.1. Allow
5029 len argument to be greater than needed address size.
5030
5031 1999-10-01 Andreas Jaeger <aj@suse.de>
5032
5033 * locale/programs/ld-collate.c (insert_value): Add cast to avoid
5034 warning.
5035 * intl/finddomain.c (_nl_find_domain): Likewise.
5036
5037 1999-09-30 Andreas Schwab <schwab@suse.de>
5038
5039 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
5040
5041 1999-09-30 Andreas Jaeger <aj@suse.de>
5042
5043 * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
5044 * sysdeps/i386/rshift.S: Likewise.
5045 * sysdeps/i386/strchrnul.S: Likewise.
5046 * sysdeps/i386/strchr.S: Likewise.
5047 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
5048 PR libc/1339.
5049
5050 1999-09-30 Andreas Jaeger <aj@suse.de>
5051
5052 * manual/examples/pipe.c: Close other end of pipe to make example work.
5053
5054 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
5055
5056 * timezone/checktab.awk: Update from tzcode1999g.
5057 * timezone/tzselect.ksh: Likewise.
5058 * timezone/africa: Update from tzdata1999g.
5059 * timezone/asia: Likewise.
5060 * timezone/australasia: Likewise.
5061 * timezone/europe: Likewise.
5062 * timezone/northamerica: Likewise.
5063 * timezone/southamerica: Likewise.
5064 * timezone/iso3166.tab: Likewise.
5065 * timezone/zone.tab: Likewise.
5066
5067 1999-09-27 Andreas Jaeger <aj@suse.de>
5068
5069 * resolv/netdb.h: Remove declaration of getnodebyname. It has
5070 been renamed to getipnodebyname. Move flags around.
5071
5072 1999-09-27 Andreas Schwab <schwab@suse.de>
5073
5074 * manual/message.texi (Locating gettext catalog): Fix typos.
5075
5076 1999-09-27 Andreas Jaeger <aj@suse.de>
5077
5078 * manual/socket.texi (Out-of-Band Data): Correct example program,
5079 rename some variables for clarity.
5080 Reported by James Antill <james@and.org>, close PR libc/1329.
5081
5082 1999-09-27 Ulrich Drepper <drepper@cygnus.com>
5083
5084 * locale/programs/ld-collate.c (insert_value): Add hack to not
5085 crash in incomplete collate implementation.
5086
5087 * locale/programs/ld-collate.c (read_directions): Read new token
5088 after accepting sorting rule.
5089
5090 1999-09-26 Ulrich Drepper <drepper@cygnus.com>
5091
5092 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
5093 error message printing. Correctly test whether all characters of
5094 current token are used.
5095 (ctype_read): NUL terminate last_str.
5096
5097 1999-09-26 Thorsten Kukuk <kukuk@suse.de>
5098
5099 * nscd/connections.c: Invalidate caches on request.
5100 * nscd/nscd-client.h: Add INVALIDATE to request_type.
5101 * nscd/nscd.c: Add invalidate cache option.
5102 * nscd/nscd.conf: Change log directory to /var/log (FHS).
5103
5104 1999-09-24 Ulrich Drepper <drepper@cygnus.com>
5105
5106 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
5107 not ovverwrite last group member with NULL pointer.
5108 Reported by Thomas Winder <thomas.winder@newlogic.at>.
5109
5110 1999-09-24 Andreas Jaeger <aj@suse.de>
5111
5112 * stdio-common/tst-printf.c (main): Add a testcase for large
5113 precision. Reported by Tymm Twillman <tymm@coe.missouri.edu>.
5114
5115 1999-09-24 Andreas Schwab <schwab@suse.de>
5116
5117 * math/bits/mathcalls.h: Fix last change. Also declare __finite.
5118
5119 1999-09-24 Andreas Jaeger <aj@suse.de>
5120
5121 * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
5122 normalized_codeset. Reported by Belicky Zsolt <zsolt@prolan.hu>.
5123
5124 1999-09-23 Mark Kettenis <kettenis@gnu.org>
5125
5126 * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
5127 variable. Define MORECORE_CLEARS to 2.
5128
5129 * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
5130 doesn't clear the contents of memory that is reallocated after
5131 decrementing the break value first. Update comment about
5132 MORECORE_CLEARS, explaining the meaning of the values it can be
5133 set to.
5134
5135 1999-09-23 Ulrich Drepper <drepper@cygnus.com>
5136
5137 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
5138 one more case.
5139
5140 * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
5141 (log): Likewise.
5142 (log10): Likewise.
5143 (log1p): Likewise.
5144 (log2): Likewise.
5145
5146 1999-09-22 Andreas Jaeger <aj@suse.de>
5147
5148 * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
5149 reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
5150
5151 1999-09-22 Andreas Schwab <schwab@suse.de>
5152
5153 * stdio-common/vfscanf.c: Fix width handling when scanning floats.
5154
5155 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5156
5157 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
5158 the source directory. Fixes PR libc/1059.
5159
5160 1999-09-21 Ulrich Drepper <drepper@cygnus.com>
5161
5162 * locale/programs/repertoire.c (repertoire_find_value): Abort if
5163 rep parameter is NULL.
5164 (repertoire_find_symbol): Likewise.
5165 (repertoire_find_seq): Likewise.
5166
5167 1999-09-20 Jean-Louis Martineau <martinea@IRO.UMontreal.CA>
5168
5169 * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
5170 returned errno value in some cases.
5171
5172 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
5173
5174 * iconvdata/Makefile (modules): Add GBK.
5175 (distribute): Add gbk.c.
5176 * iconvdata/gbk.c: New file.
5177 * iconvdata/gconv-modules: Add GBK entry.
5178 Contributed by Sean Chen <sean.chen@turbolinux.com>.
5179
5180 * locale/programs/ld-monetary.c (monetary_output): Remove
5181 byte-order code.
5182
5183 * locale/programs/ld-time.c (time_output): Correct expected number
5184 of iov entries.
5185
5186 * manual/filesys.texi (Testing File Access): Correct description of
5187 SUID.
5188
5189 1999-080-25 H.J. Lu <hjl@gnu.org>
5190
5191 * csu/defs.awk (.end): Only match with leading white spaces.
5192 (.align): Likewise.
5193
5194 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
5195
5196 * stdlib/isomac.c: Add va_copy to allowed macros.
5197
5198 * po/pl.po: Updated.
5199
5200 1999-09-17 Andreas Schwab <schwab@suse.de>
5201
5202 * Makefile (clean): Also remove $(postclean) files.
5203
5204 1999-09-15 Andreas Jaeger <aj@suse.de>
5205
5206 * pwd/Makefile (otherlibs): Add for building with static-nss.
5207 * inet/Makefile (otherlibs): Likewise.
5208
5209 1999-09-15 Andreas Jaeger <aj@suse.de>
5210
5211 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
5212 function definition to avoid a compilation failure.
5213
5214 1999-09-15 Andreas Jaeger <aj@suse.de>
5215
5216 * stdlib/tst-environ.c (main): Add getenv regression test for
5217 environment variable that's one character long.
5218
5219 1999-09-15 Andreas Jaeger <aj@suse.de>
5220
5221 * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
5222 signal definitions to let glibc compile with older Linux versions
5223 (2.0.10 to 2.1.100 or so).
5224
5225 1999-09-18 Roland McGrath <roland@baalperazim.frob.com>
5226
5227 * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
5228 return zero to indicate no children died yet (assuming WNOHANG).
5229
5230 * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
5231
5232 1999-09-17 Roland McGrath <roland@baalperazim.frob.com>
5233
5234 * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
5235
5236 * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
5237 Return _hurd_pgrp instead of 0.
5238
5239 1999-09-19 Roland McGrath <roland@baalperazim.frob.com>
5240
5241 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
5242 pages rather than just reprotecting them. This way we don't hold on
5243 to the backing space.
5244
5245 * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
5246 Use __munmap instead of __vm_deallocate.
5247
5248 1999-09-18 Ulrich Drepper <drepper@cygnus.com>
5249
5250 * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
5251 returned errno value in some cases.
5252
5253 1999-09-17 Andreas Jaeger <aj@suse.de>
5254
5255 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
5256 to override user settings.
5257
5258 1999-09-17 Andreas Schwab <schwab@suse.de>
5259
5260 * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
5261 using a pointer to it.
5262
5263 1999-09-16 Ulrich Drepper <drepper@cygnus.com>
5264
5265 * time/getdate.c (__getdate_r): Pass correct year to check_mday.
5266 Reported by Vern Staats <staatsvr@asc.hpc.mil>.
5267
5268 1999-09-14 Ulrich Drepper <drepper@cygnus.com>
5269
5270 * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
5271
5272 * elf/elf.h (PF_MASKOS): New definition.
5273 (EM_VAX): New definition.
5274
5275 1999-08-09 Scott Bambrough <scottb@netwinder.org>
5276
5277 * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
5278 'unsigned char ftype[8]', and 'unsigned int init_flag' to
5279 struct user_fp. These were added in version 2.2.12 of the
5280 ARM Linux kernel.
5281 * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
5282 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
5283 The generic procfs.h included <asm/elf.h>. This causes
5284 structure redefinition errors when <sys/user.h> and <sys/procfs.h>
5285 are included in the same source file. Found when building GDB.
5286
5287 1999-09-13 Ulrich Drepper <drepper@cygnus.com>
5288
5289 * locale/langinfo.h: Remove byte-order dependent names.
5290 * locale/categories.def: Update after removal of byte-order dependent
5291 names.
5292 * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
5293 with magic number in other byte order.
5294 * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
5295 * locale/C-collate.c: Remove initializers for other byte-order.
5296 * locale/C-ctype.c: Likewise.
5297 * locale/C-monetary.c: Likewise.
5298 * locale/C-paper.c: Likewise.
5299 * locale/C-time.c: Likewise.
5300 * locale/lc-collate.c: Remove byte-order oriented initialization.
5301 * locale/lc-ctype.c: Likewise.
5302 * locale/lc-monetary.c: Likewise.
5303 * locale/lc-time.c: Likewise.
5304 * locale/programs/ld-address.c: Don't generate output in both
5305 byte-orders.
5306 * locale/programs/ld-ctype.c: Likewise.
5307 * locale/programs/ld-paper.c: Likewise.
5308 * locale/programs/ld-time.c: Likewise.
5309 * time/strftime.c (NLW): Don't use different byte-orders.
5310 * wctype/cname-lookup.h (cname_lookup): Likewise.
5311
5312 * Makeconfig (localedir): Define using libdir, not datadir.
5313 (msgcatdir): New variable.
5314 * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
5315 * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
5316 msgcatdir.
5317 * intl/Makefile (install-others): Install locale.alias in msgcatdir.
5318 (CPPFLAGS): Define paths using msgcatdir.
5319 * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
5320 * po/Makefile (mo-installed): Define using msgcatdir.
5321
5322 * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
5323
5324 1999-09-12 Ulrich Drepper <drepper@cygnus.com>
5325
5326 * stdio-common/vfprintf.c: Remove limitation on size of precision
5327 for integers.
5328
5329 * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
5330 glibc by defining internal_function if it isn't already.
5331
5332 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
5333 fails don't rely on errno value.
5334 (getanswer_r): Set *ERRNOP in error cases.
5335
5336 * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
5337 (gaih_inet_serv): Return EIA_NODATA if name is known but has no
5338 associated data. Test for matching numeric address and family.
5339 (getaddrinfo): Remember EAI_NODATA result and return this in case
5340 everything fails.
5341 Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
5342
5343 * locale/programs/ld-address.c: Fix handling of non-existing
5344 definitions for this category. Correctly ignore content of this
5345 category is this is necessary.
5346 * locale/programs/ld-collate.c: Likewise.
5347 * locale/programs/ld-ctype.c: Likewise.
5348 * locale/programs/ld-identification.c: Likewise.
5349 * locale/programs/ld-measurement.c: Likewise.
5350 * locale/programs/ld-messages.c: Likewise.
5351 * locale/programs/ld-monetary.c: Likewise.
5352 * locale/programs/ld-name.c: Likewise.
5353 * locale/programs/ld-numeric.c: Likewise.
5354 * locale/programs/ld-paper.c: Likewise.
5355 * locale/programs/ld-telephone.c: Likewise.
5356 * locale/programs/ld-time.c: Likewise.
5357 * locale/programs/locfile.h (handle_copy): Take extra parameter
5358 with result pointer. Fill in name of locale from which to copy.
5359 Correctly read token after `END'.
5360
5361 * locale/programs/localedef.c (main): Correct handling copy.
5362 (add_to_readlist): Take extra parameter which says whether we
5363 are supposed to read the file or not.
5364 (find_locale): Call add_to_readlist with extra parameter set to 0.
5365
5366 * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
5367 instead of wrong number in array definitions.
5368 (add_to_readlist): Update prototype.
5369
5370 * locale/programs/locfile.c (locfile_read): Mark categories not
5371 available in source file as read.
5372 (write_all_categories): Fix typo.
5373
5374 * locale/programs/locales.h: Removed.
5375
5376 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
5377
5378 * elf/elf.h (SHF_MASKOS): Added.
5379
5380 * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
5381
5382 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5383
5384 * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
5385
5386 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5387
5388 * configure.in: Fix make version test for make 3.77.95 and later
5389 versions.
5390 Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
5391
5392 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
5393
5394 * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
5395
5396 * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
5397 WINT_MAX values.
5398
5399 * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
5400
5401 1999-09-09 Andreas Schwab <schwab@suse.de>
5402
5403 * elf/link.h: Fix comment.
5404
5405 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
5406
5407 * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
5408
5409 * math/math.h: Pretty print.
5410
5411 1999-09-10 Andreas Schwab <schwab@suse.de>
5412
5413 * sysdeps/generic/getenv.c (getenv): Fix lookup for single
5414 character variable on bigendian platforms without unaligned memory
5415 access.
5416
5417 1999-09-07 Cristian Gafton <gafton@redhat.com>
5418
5419 * sysdeps/unix/sysv/linux/sys/raw.h: New file
5420 * sysdeps/unix/sysv/linux/Dist: Add raw.h.
5421 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
5422
5423 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
5424
5425 * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
5426
5427 * time/ap.c: Removed. It was not used.
5428 * time/date.c: Likewise.
5429 * sysdeps/unix/nlist.c: Likewise.
5430 * sysdeps/generic/nlist.c: Likewise.
5431 * sysdeps/generic/varargs.h: Likewise.
5432 * stdio-common/scanf11.c: Likewise.
5433 * stdio-common/scanf6.c: Likewise.
5434 * scripts/=__ify: Likewise.
5435 * scripts/printsources: Likewise.
5436 * resolv/getnetnamadr.c: Likewise.
5437 * posix/id.c: Likewise.
5438 * misc/ioctltst.c: Likewise.
5439 * misc/nlist.h: Likewise.
5440 * math/test-math.h: Likewise.
5441 * include/nlist.h: Likewise.
5442
5443 1999-09-06 Andreas Schwab <schwab@suse.de>
5444
5445 * time/tzset.c (compute_change): Replace slow loop to compute T by
5446 simple algorithm.
5447
5448 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
5449
5450 * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
5451 escape sequences out even if the character itself does not fit
5452 into the buffer.
5453
5454 * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
5455
5456 1999-08-31 H.J. Lu <hjl@gnu.org>
5457
5458 * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
5459
5460 1999-09-05 Roland McGrath <roland@baalperazim.frob.com>
5461
5462 * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
5463 it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
5464 (_hurd_priority_which_map):
5465
5466 1999-09-04 Ulrich Drepper <drepper@cygnus.com>
5467
5468 * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
5469
5470 1999-09-03 Andreas Schwab <schwab@suse.de>
5471
5472 * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
5473 fork from __syscall_fork to __libc_fork.
5474 * posix/Versions: Add __libc_fork and __vfork to version
5475 GLIBC_2.1.2.
5476
5477 1999-08-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5478
5479 * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
5480 dependencies in sort.
5481
5482 1999-09-01 H.J. Lu <hjl@gnu.org>
5483
5484 * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
5485
5486 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
5487 <sys/user.h> instead of <asm/user.h>.
5488
5489 1999-09-02 Ulrich Drepper <drepper@cygnus.com>
5490
5491 * elf/elf.h: Update PARISC-specific flags and symbolic names.
5492
5493 1999-09-01 Ulrich Drepper <drepper@cygnus.com>
5494
5495 * elf/elf.h: Update PARISC relocations.
5496
5497 1999-08-31 Scott Bambrough <scottb@netwinder.org>
5498
5499 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
5500 #ifdef statement to prevent it from being included twice.
5501 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
5502 #include <bits/armsigctx.h>.
5503
5504 1999-08-31 Andreas Schwab <schwab@suse.de>
5505
5506 * locale/C-collate.c: Add missing initialisations.
5507 * locale/C-ctype.c: Likewise.
5508
5509 1999-08-31 Ulrich Drepper <drepper@cygnus.com>
5510
5511 * time/strftime.c (my_strftime): Remove unneeded variable len.
5512
5513 * time/strptime.c: Undo last change.
5514
5515 1999-08-30 Ulrich Drepper <drepper@cygnus.com>
5516
5517 * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
5518 Change charset.h to charmap.h.
5519 (categories): Add new categories. Leave out collate for now.
5520 Update build rules.
5521 * locale/categories.def: Add definitions for new categories.
5522 * locale/langinfo.h: Likewise.
5523 * locale/locale.h: Likewise.
5524 * locale/C-address.c: New file.
5525 * locale/C-identification.c: New file.
5526 * locale/C-measurement.c: New file.
5527 * locale/C-name.c: New file.
5528 * locale/C-paper.c: New file.
5529 * locale/C-telephone.c: New file.
5530 * locale/lc-address.c: Likewise.
5531 * locale/lc-identification.c: Likewise.
5532 * locale/lc-measurement.c: Likewise.
5533 * locale/lc-name.c: Likewise.
5534 * locale/lc-paper.c: Likewise.
5535 * locale/lc-telephone.c: Likewise.
5536 * locale/C-ctype.c: Update for locale rewrite.
5537 * locale/C-messages.c: Likewise.
5538 * locale/C-monetary.c: Likewise.
5539 * locale/C-time.c: Likewise.
5540 * locale/lc-collate.c: Likewise.
5541 * locale/lc-ctype.c: Likewise.
5542 * locale/lc-monetary.c: Likewise.
5543 * locale/lc-time.c: Likewise.
5544 * locale/localeinfo.h: Likewise.
5545 * locale/newlocale.c: Likewise.
5546 * locale/setlocale.c: Likewise.
5547 * locale/weight.h: Likewise.
5548 * locale/findlocale.c: Unconditionally use mmap.
5549 Handle new categories.
5550 * locale/loadlocale.c: Likewise.
5551 * locale/iso-3166.def: New file.
5552 * locale/iso-639.def: New file.
5553 * locale/programs/charmap-kw.gperf: Add new keywords.
5554 * locale/programs/locfile-kw.gperf: Likewise.
5555 * locale/programs/locfile-token.h: Define new tokens.
5556 * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
5557 * locale/programs/charmap.h: New file.
5558 * locale/programs/charset.h: Removed.
5559 * locale/programs/config.h: Add __LC_LAST.
5560 * locale/programs/lc-address.c: New file.
5561 * locale/programs/lc-identification.c: New file.
5562 * locale/programs/lc-measurement.c: New file.
5563 * locale/programs/lc-name.c: New file.
5564 * locale/programs/lc-paper.c: New file.
5565 * locale/programs/lc-telephone.c: New file.
5566 * locale/programs/lc-collate.c: Update for locale rewrite.
5567 * locale/programs/lc-ctype.c: Likewise.
5568 * locale/programs/lc-messages.c: Likewise.
5569 * locale/programs/lc-monetary.c: Likewise.
5570 * locale/programs/lc-numeric.c: Likewise.
5571 * locale/programs/lc-time.c: Likewise.
5572 * locale/programs/locale.c: Likewise.
5573 * locale/programs/localedef.c: Likewise.
5574 * locale/programs/locfile.c: Likewise.
5575 * locale/programs/repertoire.c: Likewise.
5576 * locale/programs/repertoire.h: Likewise.
5577 * locale/programs/locfile.c: Update prototypes.
5578 Update handle_copy definition.
5579 * locale/programs/linereader.c: Add handling of wide char strings and
5580 new definition file syntax.
5581 * locale/programs/linereader.h (struct token): Add elements for wide
5582 character strings.
5583 * locale/programs/locale-spec.c: Disable handling of collation
5584 elements for now.
5585 * locale/programs/simple-hash.h: Cleanup.
5586 * locale/programs/stringtrans.h: Handle quite of end of line.
5587 * string/strcoll.c: Fall back on strcmp for now.
5588 * string/strxfrm.c: Fall back on strncpy/strlen for now.
5589 * time/strftime.c: Use new wide character data for wcsftime.
5590 * time/strptime.c: Remove _nl_C_LC_TIME declaration.
5591 * wctype/cname-lookup.h: Update for new LC_CTYPE data.
5592
5593 * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
5594 compiling for i386 to avoid i686-like GOT pointer computation.
5595
5596 * db2/db_int.h: Change tsl_t type to u_int32_t.
5597 * db2/mutex/mutex.c: Allow Alpha mutex definitions.
5598 * db2/mutex/alpha.h: New file.
5599 * db2/mutex/sparc.gcc: Fix store code for v9. Simplify clear code.
5600 * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
5601 known.
5602 Patches by Richard Henderson.
5603
5604 * stdlib/tst-environ.c: Add cast to avoid warning.
5605 * timezone/test-tz.c: Use setenv instead of putenv.
5606
5607 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5608
5609 * manual/libc.texinfo: Update version and date.
5610
5611 * manual/locale.texi (Formatting Numbers): Fix @node pointers.
5612
5613 * manual/filesys.texi (Working with Directory Trees): Add missing @code.
5614 (File System Interface): Correct entry.
5615 (Permission Bits): Add missing commata after @xref.
5616
5617 1999-08-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5618
5619 * timezone/tst-timezone.c (main): Don't pass const strings to
5620 putenv to avoid warnings.
5621
5622 * posix/regexbug1.c: Include <stdio.h> for puts prototype.
5623
5624 1999-08-29 Thorsten Kukuk <kukuk@suse.de>
5625
5626 * nis/Versions: Add _nss_*_getipnodebyname_r.
5627 * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
5628 * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
5629 * nss/Versions: Add _nss_files_getipnodebyname_r.
5630
5631 1999-08-28 H.J. Lu <hjl@gnu.org>
5632
5633 * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
5634 memory for buffer.
5635
5636 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
5637
5638 * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
5639 kernel.
5640 * inet/netinet/in.h: Likewise.
5641 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5642 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5643
5644 1999-08-28 Ulrich Drepper <drepper@cygnus.com>
5645
5646 * malloc/malloc.c (ptmalloc_init): Don't use variables to set
5647 thresholds for SUID binaries. [PR libc/1277]
5648
5649 * posix/regexbug1.c: Add one more similar case.
5650
5651 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5652
5653 * manual/install.texi (Running make install): Give examples for
5654 timezone and locale installation.
5655
5656 1999-08-28 Zack Weinberg <zack@bitmover.com>
5657
5658 * glibcbug.in: Get CCVERSION from autoconf substitution.
5659 * configure.in: Calculate and substitute CCVERSION.
5660
5661 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5662
5663 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
5664 partially reverting a patch from 1998-12-29. We just can't change
5665 the flags, kernels with different flags lead to
5666 incompatibilities.
5667
5668 1999-08-26 Andreas Schwab <schwab@suse.de>
5669
5670 * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
5671
5672 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
5673
5674 * inet/rexec.c (rexec): Free memory if strings were allocated in
5675 ruserpass. Reported by Andrew Morton <morton@nortelnetworks.com>.
5676
5677 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
5678
5679 * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
5680
5681 * manual/argp.texi: Fixing language and typos.
5682 * manual/conf.texi: Likewise.
5683 * manual/contrib.texi: Likewise.
5684 * manual/ctype.texi: Likewise.
5685 * manual/filesys.texi: Likewise.
5686 * manual/install.texi: Likewise.
5687 * manual/job.texi: Likewise.
5688 * manual/lang.texi: Likewise.
5689 * manual/llio.texi: Likewise.
5690 * manual/locale.texi: Likewise.
5691 * manual/math.texi: Likewise.
5692 * manual/nss.texi: Likewise.
5693 * manual/pipe.texi: Likewise.
5694 * manual/signal.texi: Likewise.
5695 * manual/socket.texi: Likewise.
5696 * manual/stdio.texi: Likewise.
5697 * manual/sysinfo.texi: Likewise.
5698 * manual/users.texi: Likewise.
5699 Patches by Neil Booth <NeilB@earthling.net>.
5700
5701 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
5702
5703 * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
5704 unsigned to avoid warning. [PR libc/1271].
5705
5706 * conform/conformtest.pl: Allow testing regex.h which requires
5707 sys/types.h being included.
5708
5709 * conform/data/regex.h-data: Allow *_t types.
5710 * conform/data/pwd.h-data: Likewise.
5711 * conform/data/sched.h-data: Likewise.
5712 * conform/data/pthread.h-data: Likewise.
5713 * conform/data/search.h-data: Likewise.
5714
5715 * misc/search.h: Avoid namespace pollution.
5716
5717 * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
5718 pwd.h, and pthread.h.
5719 * conform/data/pthread.h-data: New file.
5720 * conform/data/pwd.h-data: New file.
5721 * conform/data/regex.h-data: New file.
5722 * conform/data/sched.h-data: New file.
5723 * conform/data/search.h-data: New file.
5724
5725 * NAMESPACE: Add REG_ for regex.h.
5726
5727 * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
5728 they are removed.
5729
5730 * configure.in (libc_cv_asm_global_directive): Indent .text in
5731 test code so that the lame HPUX compiler recognizes it.
5732 * sysdeps/hppa/bits/endian.h: New file.
5733 * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
5734 * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
5735 * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
5736 * sysdeps/unix/sysv/hpux/bits/types.h: New file.
5737
5738 * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
5739 Patch by John Tobey <jtobey@banta-im.com>.
5740
5741 * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
5742
5743 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
5744 old_siocfifconf definition to toplevel.
5745 (__protocol_available): Remove old_siocfifconf definition.
5746
5747 1999-08-25 Mark Kettenis <kettenis@gnu.org>
5748
5749 * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
5750 really dealing with a master pseudo terminal, and really returning
5751 the name of the associated slave pseudo terminal by checking the
5752 device number.
5753 * sysdeps/unix/sysv/linux/pty-private.h: Removed.
5754 * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
5755
5756 1999-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5757
5758 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
5759 underscore in _llseek entry.
5760
5761 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
5762 entry.
5763
5764 * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
5765 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
5766
5767 * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
5768 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5769
5770 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
5771
5772 * inet/Makefile (routines): Add getipnodebynm.
5773 * inet/getipnodebynm.c: New file.
5774 * nss/digits_dots.c: If HAVE_TYPE is define type contains the
5775 interface type.
5776 * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
5777 EXTRA_ARGS_VALUE is not already done.
5778 (internal_getent): Allow extra parameters and pass them to parse_line.
5779 (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
5780 (_nss_files_get##name##_r): Likewise.
5781 * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
5782 and EXTRA_ARGS_VALUE to pass flags and type to parser.
5783 Add getipnodebyname function.
5784 * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
5785 EXTRA_ARGS_VALUE is not already done.
5786 (parse_line): Add EXTRA_ARGS_DECL to parameter list.
5787 * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
5788 to parse_line.
5789 (_nss_db_get##name##_r): Pass extra parameters to lookup.
5790 (_nss_db_get,ENTNAME_r): Likewise.
5791 * sysdeps/generic/if_index.c (__protocol_available): New function.
5792 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5793
5794 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
5795
5796 * login/pty-private.h: Move to...
5797 * sysdeps/generic/pty-private.h: ...here.
5798 * sysdeps/unix/sysv/linux/pty-private.h: New file. Linux specific
5799 version.
5800 * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
5801 available.
5802
5803 * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
5804 of __overflow.
5805
5806 * conform/conformtest.pl (@headers): Add monetary.h-data,
5807 mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
5808 * conform/data/monetary.h-data: New file.
5809 * conform/data/mqueue.h-data: New file.
5810 * conform/data/ndbm.h-data: New file.
5811 * conform/data/nl_types.h.h-data: New file.
5812 * conform/data/poll.h-data: New file.
5813
5814 * stdio-common/Makefile (test): Add tst-cookie.
5815 * stdio-common/tst-cookie.c: New file.
5816
5817 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
5818 changed in last patch. Reported by Ralf Baechle.
5819
5820 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5821
5822 * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
5823
5824 * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
5825 Patches by Ralf Baechle <ralf@uni-koblenz.de>
5826
5827 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5828
5829 * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
5830 Linux 2.3.15.
5831
5832 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
5833
5834 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
5835 syscall.
5836 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5837
5838 * misc/libgen.h: Don't take basename macro as taking arguments.
5839
5840 * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
5841 for gcc >= 2.95.
5842 * sysdeps/i386/bits/huge_val.h: Likewise.
5843 * sysdeps/i386/bits/huge_val.h: Likewise.
5844 * sysdeps/ieee754/bits/huge_val.h: Likewise.
5845 * sysdeps/m68k/bits/huge_val.h: Likewise.
5846 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
5847 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
5848
5849 * conform/Makefile: New file.
5850 * conform/conformtest.pl: New file.
5851 * conform/data/aio.h-data: New file.
5852 * conform/data/assert.h-data: New file.
5853 * conform/data/cpio.h-data: New file.
5854 * conform/data/ctype.h-data: New file.
5855 * conform/data/dirent.h-data: New file.
5856 * conform/data/dlfcn.h-data: New file.
5857 * conform/data/errno.h-data: New file.
5858 * conform/data/fcntl.h-data: New file.
5859 * conform/data/float.h-data: New file.
5860 * conform/data/fmtmsg.h-data: New file.
5861 * conform/data/fnmatch.h-data: New file.
5862 * conform/data/ftw.h-data: New file.
5863 * conform/data/glob.h-data: New file.
5864 * conform/data/grp.h-data: New file.
5865 * conform/data/iconv.h-data: New file.
5866 * conform/data/inttypes.h-data: New file.
5867 * conform/data/iso646.h-data: New file.
5868 * conform/data/langinfo.h-data: New file.
5869 * conform/data/libgen.h-data: New file.
5870 * conform/data/locale.h-data: New file.
5871 * conform/data/math.h-data: New file.
5872
5873 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
5874
5875 * posix/execvp.c (execvp): Correct copying of file name.
5876
5877 1999-08-23 Mark Kettenis <kettenis@gnu.org>
5878
5879 * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
5880
5881 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
5882
5883 * stdio-common/Makefile: Move addition to routines to the right place.
5884
5885 1999-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5886
5887 * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file. Neccessary
5888 since mips*-linux has ECANCELED.
5889
5890 1999-08-23 Andreas Schwab <schwab@suse.de>
5891
5892 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
5893 SIGCONTEXT_EXTRA_ARGS.
5894 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
5895 * sysdeps/generic/sigcontextinfo.h: Likewise.
5896 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
5897 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
5898 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5899 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
5900 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
5901 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
5902
5903 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
5904
5905 * posix/regexbug1.c: Make it an error if the test fails.
5906
5907 1999-08-23 Andreas Schwab <schwab@suse.de>
5908
5909 * posix/regex.c (re_match_2_internal): Correct check for charset
5910 after exactn in loop.
5911
5912 1999-08-22 Ulrich Drepper <drepper@cygnus.com>
5913
5914 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
5915 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5916 Patch by Joel Klecker.
5917
5918 * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
5919 (__gconv_find_transform): Update prototype.
5920 (__gconv_open): Likewise.
5921 * iconv/gconv_open.c: Take extra parameter and pass it to
5922 __gconv_find_transform.
5923 * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
5924 flags. If GCONV_AVOID_NOCONV flag is set don't return copying
5925 transformation.
5926 * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
5927 * wcsmbs/wcsmbsload.c: Likewise.
5928 * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
5929 iconv for glibc.
5930 * intl/gettextP.h: Likewise.
5931 * intl/loadmsgcat.c: Likewise.
5932
5933 * posix/regexbug1.c: New file.
5934 * posix/Makefile (tests): Add regexbug1.
5935
5936 1999-08-22 Mark Kettenis <kettenis@gnu.org>
5937
5938 * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
5939 * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
5940 installing PORT in the descriptor cell.
5941
5942 1999-08-19 Roland McGrath <roland@baalperazim.frob.com>
5943
5944 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
5945 TIMEOUT as outputs of the asm to indicate that the signal thread
5946 might mutate them.
5947 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
5948 mach_msg if only sending or only receiving (i.e., not an RPC). When
5949 making an RPC that might get interrupted, save OPTION and the portion
5950 of the message buffer that gets clobbered by an EINTR reply message,
5951 and properly restore them before attempting to retry the request
5952 message send.
5953
5954 1999-08-21 Mark Kettenis <kettenis@gnu.org>
5955
5956 * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
5957 definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
5958 CHAR_T, UCHAR_T and WIN_T to make the code compile again when
5959 stdio is used instead of libio.
5960 * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
5961 definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
5962 to make the code compile again when stdio is used instead of
5963 libio.
5964 (vfprintf): Only check for correct orientation if ORIENT is
5965 defined.
5966 * stdio-common/Makefile (routines): Only add vfwprintf and
5967 vfwscanf if we're using libio.
5968
5969 1999-08-21 Mark Kettenis <kettenis@gnu.org>
5970
5971 * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
5972 any additional prototype just as we do for libio.
5973
5974 1999-08-21 Mark Kettenis <kettenis@gnu.org>
5975
5976 * include/bits/xopen_lim.h: Do not define STREAM_MAX and
5977 TZNAME_MAX. These limits are not X/Open specific.
5978 * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
5979 is defined.
5980
5981 1999-08-21 Mark Kettenis <kettenis@gnu.org>
5982
5983 * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
5984 UIO_MAXIOV is left undefined in sys/uio.h.
5985 * stdio-common/stdio_lim.h.in: Adapt for change above.
5986
5987 1999-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5988
5989 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
5990 * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
5991 Patches by Ralf Baechle <ralf@uni-koblenz.de>
5992
5993 1999-08-21 Ulrich Drepper <drepper@cygnus.com>
5994
5995 * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
5996
5997 1999-08-20 Ulrich Drepper <drepper@cygnus.com>
5998
5999 * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
6000
6001 * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
6002 call. It should not be necessary andis harmful for Alpha.
6003
6004 * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
6005 type. [PR libc/1269]
6006
6007 * posix/execvp.c (execvp): Allocate array name of correct size.
6008 Optimize inner loop. Use execve directly, not execv.
6009
6010 * elf/elf.h: Corrected SHT_ values from new draft.
6011
6012 * intl/gettextP.h (struct loaded_domain): Add conv element.
6013 * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
6014 Instead of returning found message directly convert it using iconv
6015 if a conversion was found when opening the file.
6016 * intl/loadinfo.h: Protect against multiple inclusion.
6017 Declare _nl_find_msg.
6018 * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
6019 in the message file and if necessary find approrpiate
6020 conversion to match currently selected charset.
6021 * include/libintl.h: Declare __dgettext and __dcgettext.
6022 * include/iconv.h: New file.
6023
6024 1999-08-20 Andreas Schwab <schwab@suse.de>
6025
6026 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
6027
6028 1999-08-19 Ulrich Drepper <drepper@cygnus.com>
6029
6030 * sysdeps/unix/sysv/linux/execve.c: New file. This version terminates
6031 all threads [PR libc/1223].
6032
6033 * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
6034 [PR libc/1165].
6035
6036 * configure.in: Search for programs with prefix gnu* and g* first.
6037 [PR libc/1104].
6038
6039 * dirent/Makefile (routines): Add getdents64.
6040 * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
6041 Remove getdents64.
6042 * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
6043 compiled with _FILE_OFFSET_BITS=64.
6044 * sysdeps/generic/getdents64.c: New file.
6045 * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
6046 __lseek for getdirentries64 definition.
6047
6048 * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
6049
6050 * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
6051 _FILE_OFFSET_BITS=64.
6052
6053 * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
6054 parameter.
6055
6056 * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
6057 after we have the lock.
6058
6059 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
6060 Patch by Richard Henderson.
6061
6062 1999-08-19 Andreas Schwab <schwab@suse.de>
6063
6064 * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
6065 and call _IO_fwide, to get the wide stream state initialized
6066 correctly. Don't set _IO_JUMPS.
6067 * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
6068 * libio/vswprintf.c (_IO_vswprintf): Likewise. Pass
6069 _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
6070 directly.
6071
6072 1999-08-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6073
6074 * math/libm-test.c (jn_test): Fix typo in description.
6075 (erfc_test): Add some more tests.
6076 (erf_test): Add some more tests.
6077
6078 1999-08-19 Andreas Schwab <schwab@suse.de>
6079
6080 * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
6081 expression using $(exceptions).
6082
6083 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
6084
6085 * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
6086
6087 * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
6088 allocated so far. [PR libc/1261].
6089
6090 * math/libm-test.c (j0_test): Adjust deltas for m68k.
6091 (jn_test): Likewise.
6092
6093 * dirent/dirent.h: Only define ino64_t if not already done.
6094 * posix/sys/types.h: Likewise.
6095
6096 * ctype/ctype.h: Avoid useless #endif #if pairs.
6097
6098 * dirent/dirent.h: Define ino_t and ino64_t if not done already.
6099 (seekdir): Fix type of second parameter.
6100 * sysdeps/generic/seekdir.c: Likewise.
6101 * sysdeps/mach/hurd/seekdir.c: Likewise.
6102 * sysdeps/unix/seekdir.c: Likewise.
6103
6104 * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
6105
6106 1999-08-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6107
6108 * manual/install.texi (Configuring and compiling): Clarify ix86
6109 situation.
6110
6111 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
6112
6113 * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
6114 * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
6115 * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
6116 stdio_lim.h. Define LONG_BIT and WORD_BIT.
6117
6118 * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
6119
6120 * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
6121
6122 * misc/search.h: Don't define NULL.
6123
6124 * posix/sys/types.h: Define blksize_t if it hasn't happened.
6125 Only define key_t and blkcnt_t if it hasn't happened before.
6126 Define blksize_t if not happened before.
6127 * io/sys/stat.h: Don't define pid_t. Define blkcnt_t and blksize_t.
6128 * sysdeps/generic/bits/types.h: Define __blksize_t.
6129 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6130 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6131 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6132 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6133 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6134 * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
6135 st_blksize member.
6136 (struct stat64): Likewise.
6137 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6138 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
6139 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
6140 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6141 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
6142 * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
6143 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
6144
6145 * stdlib/getsubopt.c: Correct type of second argument.
6146 * stdlib/stdlib.h: Likewise.
6147
6148 * stdlib/monetary.h: Don't include sys/types.h. Define only size_t
6149 and ssize_t.
6150
6151 * sysdeps/generic/putenv.c: Correct type of parameter.
6152 * stdlib/stdlib.h: Likewise.
6153
6154 * sysdeps/generic/msgsnd.c: Correct type of second parameter.
6155 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
6156 * sysvips/sys/msg.h: Likewise.
6157
6158 * sysdeps/generic/semop.c: Correct type of third parameter.
6159 * sysdeps/unix/sysv/linux/semop.c: Likewise.
6160 * sysvipc/sys/sem.h: Likewise. Don't include sys/types.h, define
6161 size_t.
6162
6163 * sysdeps/generic/shmget.c: Correct type of second parameter.
6164 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
6165 * sysvips/sys/shm.h: Likewise. Don't include unistd.h and sys/types.h.
6166 Declare __getpagesize here.
6167
6168 * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
6169 sys/types.h.
6170 * sysdeps/gnu/bits/ipc.h: Likewise.
6171 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
6172 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
6173 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6174 * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
6175 already done.
6176
6177 * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
6178
6179 * debug/versions: Export __cyg_profile_func_enter and
6180 __cyg_profile_func_exit.
6181
6182 * math/bits/mathcalls.h: Pretty print.
6183
6184 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
6185
6186 * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
6187 case for new tzdata.
6188
6189 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
6190 unsigned.
6191 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6192 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6193 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6194 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6195
6196 * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
6197
6198 * sysdeps/generic/ualarm.c (ualarm): Change return value and
6199 parameter type to useconds_t.
6200 * sysdeps/unix/bsd/ualarm.c: Likewise.
6201
6202 * sysdeps/generic/usleep.c (usleep): Change parameter type to
6203 useconds_t.
6204 * sysdeps/unix/sysv/linux/usleep.c: Likewise.
6205 * sysdeps/mach/usleep.c: Likewise.
6206
6207 * locale/weight.h: Include <errno.h>.
6208
6209 * posix/sys/types.h: Define type useconds_t if not done already.
6210 * posix/unistd.h: Likewise. Use this in ualarm and usleep
6211 declarations.
6212 * sysdeps/generic/bits/types.h: Define type __useconds_t.
6213 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6214 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6215 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6216 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6217 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6218
6219 * dirent/dirent.h (telldir): Change return type to long int.
6220 * sysdeps/generic/telldir.c: Likewise.
6221 * sysdeps/mach/hurd/telldir.c: Likewise.
6222 * sysdeps/unix/telldir.c: Likewise.
6223 * sysdeps/unix/bsd/telldir.c: Likewise. Fix locking problem.
6224
6225 * locale/weight.h: Set errno if an invalid character is found.
6226
6227 1999-08-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6228
6229 * math/libm-test.c (erfc_test): Add test for example from PR
6230 libc/1259.
6231 (erf_test): Likewise.
6232
6233 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
6234
6235 * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
6236 rewrite. Patch by Alan Stern <stern@kitsilano.rowland.org>.
6237
6238 * timezone/private.h: Update from tzcode1999e.
6239 * timezone/zic.c: Likewise.
6240
6241 * timezone/africa: Update from tzdata1999e.
6242 * timezone/antarctica: Likewise.
6243 * timezone/asia: Likewise.
6244 * timezone/australasia: Likewise.
6245 * timezone/europe: Likewise.
6246 * timezone/leapseconds: Likewise.
6247 * timezone/northamerica: Likewise.
6248 * timezone/southamerica: Likewise.
6249
6250 * stdio-common/vfprintf.c (process_string_arg): Correct last patch
6251 and write correct number of bytes in case of %ls with precision.
6252 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6253
6254 1999-08-16 Ulrich Drepper <drepper@cygnus.com>
6255
6256 * nscd/nscd.init: Test for kernel version and make LSB compliant.
6257 Patch by Christian Gafton.
6258
6259 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
6260 O_RSYNC. Patch by Christian Gafton.
6261
6262 * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
6263 possibly unterminated strings for %ls when a precision is
6264 specified.
6265 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
6266
6267 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
6268 update_conversion_ptrs.
6269 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6270
6271 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6272
6273 * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
6274 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6275
6276 * wcsmbs/Makefile (tests): Add tst-wcsnlen.
6277 * wcsmbs/tst-wcsnlen.c: New file.
6278
6279 1999-08-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6280
6281 * libio/ioputs.c (_IO_puts): Add missing brace.
6282
6283 1999-07-20 Geoff Keating <geoffk@cygnus.com>
6284
6285 * math/libm-test.c: Tweak deltas for a clean run on ppc.
6286
6287 1999-08-10 H.J. Lu <hjl@gnu.org>
6288
6289 * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
6290 (vfprintf): Likewise.
6291 * stdio-common/vfscanf.c (ORIENT): Likewise.
6292 * libio/genops.c (__underflow): Likewise.
6293 (__uflow): Likewise.
6294 * libio/iofputs.c (_IO_fputs): Likewise.
6295 * libio/ioftell.c (_IO_ftell): Likewise.
6296 * libio/iofwrite.c (_IO_fwrite): Likewise.
6297 * libio/ioputs.c (_IO_puts): Likewise.
6298 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
6299 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
6300
6301 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6302
6303 * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
6304
6305 1999-08-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6306
6307 * manual/job.texi (Process Group Functions): Document getpgid,
6308 getsid.
6309
6310 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6311
6312 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
6313 initialize si_pid from it.
6314 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
6315 parameter.
6316 * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
6317 * rt/aio_misc.h (struct waitlist): Add caller_pid element.
6318 (struct requestlist): Likewise.
6319 Adjust prototypes of __aio_notify_only and __aio_sigqueue.
6320 * rt/aio_notify.c (__aio_notify_only): Take extra parameter. Pass it
6321 to __aio_sigqueue.
6322 (__aio_notify): Pass caller PID to __aio_notify_only.
6323 * rt/aio_suspend.c: Initialize caller_pid.
6324 * rt/lio_listio.c: Likewise.
6325 * rt/lio_listio64.c: Likewise.
6326
6327 * rt/lio_listio.c: If nothing has to be done free mutex before
6328 signalling.
6329 * rt/lio_listio64.c: Likewise.
6330
6331 1999-08-10 H.J. Lu <hjl@gnu.org>
6332
6333 * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
6334 handling.
6335
6336 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6337
6338 * elf/elf.h: Define ElfXX_Versym.
6339 * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
6340 definition.
6341
6342 * stdio-common/vfprintf.c (process_string_arg): Handle precisions
6343 for string output correctly in the wide character case.
6344 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
6345
6346 * intl/locale.alias: Add catalan.
6347
6348 1999-08-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6349
6350 * manual/install.texi (Configuring and compiling): Mention CFLAGS.
6351
6352 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6353
6354 * po/pt_BR.po: New file.
6355
6356 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6357
6358 * math/libm-test.c (yn_test): Adjust deltas for i386.
6359 (ccosh_test): Likewise.
6360 (jn_test): Likewise.
6361
6362 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6363
6364 * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
6365
6366 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
6367
6368 * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
6369 problem.
6370
6371 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6372
6373 * configure.in: install-sh lives now in scripts subdir.
6374 PR libc/1255 (bug 4).
6375
6376 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
6377
6378 * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
6379 version.
6380
6381 * po/fr.po: Update.
6382
6383 1999-08-11 Thorsten Kukuk <kukuk@suse.de>
6384
6385 * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
6386
6387 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
6388
6389 * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
6390 exponent.
6391
6392 1999-08-10 Andreas Schwab <schwab@suse.de>
6393
6394 * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
6395 header.
6396
6397 1999-08-09 Scott Bambrough <scottb@netwinder.org>
6398
6399 * elf/elf.h: Added definition of ELFOSABI_ARM.
6400 * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
6401 VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
6402 object's header and ABI values are acceptable.
6403 (VALID_ELF_HEADER): New macro; provide default definition.
6404 (VALID_ELF_OSABI): New macro; provide default definition.
6405 (VALID_ELF_ABIVERSION): New macro; provide default definition.
6406 * sysdeps/arm/dl-machine.h Define ARM specific versions of
6407 VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
6408
6409 1999-08-09 Andreas Schwab <schwab@suse.de>
6410
6411 * inet/tst-ipnode.c (main): Don't compare integer with NULL.
6412
6413 1999-08-09 Thorsten Kukuk <kukuk@suse.de>
6414
6415 * sunrpc/svc_run.c (svc_run): Free my_pollfd.
6416
6417 1999-08-09 Andreas Schwab <schwab@suse.de>
6418
6419 * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
6420
6421 1999-08-08 Ulrich Drepper <drepper@cygnus.com>
6422
6423 * sysdeps/ieee754/ieee754.h: Handle platforms with special
6424 __FLOAT_WORD_ORDER. Patch by Joel Klecker <jk@espy.org>.
6425
6426 * string/bits/string2.h: Mark void* operations as extensions.
6427 * sysdeps/i386/i486/bits/string.h: Likewise.
6428
6429 * debug/Makefile (routines): Add noophooks.
6430 (extra-libs): Add libpcprofile. Add rules to build libpcprofile.
6431 * debug/noophooks.c: New file.
6432 * debug/pcprofile.c: New file.
6433
6434 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
6435
6436 * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
6437 systems which allow using the functions also on non-seekable
6438 devices.
6439
6440 * resolv/res_send.c (res_send): Recompute timeout for poll for
6441 each jump to `wait'.
6442
6443 * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
6444 braces to avoid warnings.
6445 (IN6ADDR_LOOPBACK_INIT): Likewise.
6446
6447 * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
6448 MSG_DONTWAIT).
6449
6450 1999-08-06 H.J. Lu <hjl@gnu.org>
6451
6452 * malloc/malloc.c: Initialize __libc_pagesize early.
6453
6454 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
6455
6456 * string/string-inlines.c: Undefined __USE_STRING_INLINES before
6457 defining it.
6458
6459 * inet/Makefile (tests): Add tst-ipnode.
6460 * inet/tst-ipnode.c: New file.
6461
6462 1999-08-06 Andreas Schwab <schwab@suse.de>
6463
6464 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
6465 New definitions.
6466 (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
6467 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
6468 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
6469 New definitions.
6470 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
6471 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
6472
6473 1999-08-06 Jakub Jelinek <jj@ultra.linux.cz>
6474
6475 * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
6476 * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
6477 * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
6478
6479 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
6480
6481 * resolv/res_send.c (res_send): Don't test file descriptor for
6482 range, we use poll now. [PR libc/1240]
6483
6484 1999-08-05 Ulrich Drepper <drepper@cygnus.com>
6485
6486 * libio/genops.c (_IO_flush_all): Don't access elements beyond what
6487 2.0 defined if they are not available.
6488
6489 1999-08-05 Thorsten Kukuk <kukuk@suse.de>
6490
6491 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
6492 Define.
6493
6494 1999-08-04 Ulrich Drepper <drepper@cygnus.com>
6495
6496 * rt/aio_read.c: Fix return value.
6497 * rt/aio_read64.c: Likewise.
6498 Reported by Christian Gafton.
6499
6500 * rt/aio_write.c: Fix return value.
6501 * rt/aio_write64.c: Likewise.
6502 * rt/aio_fsync.c: Likewise.
6503
6504 * rt/aio_misc.c: Set errno at correct place.
6505
6506 * rt/aio_fsync.c: Test OP parameter for correct values.
6507
6508 * hesiod/hesiod.c: Avoid emitting rcsid in object file.
6509
6510 1999-08-04 Andreas Schwab <schwab@suse.de>
6511
6512 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
6513 Initialize result to one.
6514 (GET_NPROCS_CONF_PARSER): Likewise.
6515
6516 1999-08-03 Ulrich Drepper <drepper@cygnus.com>
6517
6518 * inet/ether_hton.c: Pass errno pointer to NSS function.
6519 * inet/getnetgrent_r.c: Likewise.
6520 Reported by Marty Leisner <leisner@rochester.rr.com>.
6521
6522 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
6523
6524 * nis/nis_callback.c: Fix port problem on big-endian machines
6525 * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
6526 fields are always 32 bit.
6527 Patches from Paul Mackerras <paulus@cs.anu.edu.au>
6528
6529 * nis/nss_nis/nis-service.c: Remove htons, port is always in
6530 network-byte-order.
6531 * nis/nss_nisplus/nisplus-service.c: Rename number to port.
6532
6533 1999-08-03 Andreas Schwab <schwab@suse.de>
6534
6535 * sysdeps/posix/sigset.c: Unblock the signal after setting its
6536 disposition. Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
6537 avoid two calls to sigprocmask.
6538
6539 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
6540
6541 * sysdeps/generic/s_nexttowardf.c: Fix typo.
6542
6543 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
6544
6545 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
6546 Only allow rt signal frames. No SA_SIGINFO signals will have the
6547 siginfo_t just not filled out with SI_NOINFO code.
6548 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
6549 (register_dump): Take the above change into account.
6550 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
6551 (rt_signal_frame): Likewise.
6552
6553 * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
6554
6555 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
6556
6557 * nis/nis_callback.c (internal_nis_do_callback): Use poll()
6558 instead of select().
6559
6560 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
6561
6562 * sysdeps/generic/s_nextafter.c: Define __nexttoward and
6563 nexttoward so something else so that aliasing works.
6564
6565 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
6566
6567 * sysdeps/generic/math_ldbl.h: Fix typo.
6568 * sysdeps/generic/strtold.c: Remove unbalanced #endif.
6569 * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
6570
6571 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
6572
6573 * elf/resolvfail.c: Include stdio.h. Also test dlerror.
6574
6575 1999-08-01 Ulrich Drepper <drepper@cygnus.com>
6576
6577 * elf/Makefile (tests): Add resolvfail. Add rules to build the
6578 program.
6579 * elf/resolvfail.c: New file.
6580
6581 * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
6582 pass it to _dl_lookup_symbol.
6583
6584 * elf/dl-error.c (_dl_signal_error): Optimize string generation a
6585 bit. Reword message.
6586
6587 * dlfcn/dlerror.c: Make code thread-safe.
6588
6589 1999-07-31 Roland McGrath <roland@baalperazim.frob.com>
6590
6591 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
6592 initializer in CHECK: a bit size, not the type code repeated!
6593
6594 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
6595
6596 * string/tester.c: Add tests with constant arguments for strcpy
6597 and stpcpy.
6598
6599 1999-07-31 H.J. Lu <hjl@gnu.org>
6600
6601 * string/bits/string2.h (__strcpy_small): Fix a typo.
6602
6603 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
6604
6605 * Makeconfig (link-libc): Always define it, not only for shared
6606 builds.
6607
6608 * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
6609 * sysdeps/i386/fpu/e_powf.S: Likewise.
6610 * sysdeps/i386/fpu/e_powl.S: Likewise. [PR libc/1213].
6611
6612 * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
6613 * sysdeps/generic/e_gammal_r.c: Likewise. [PR libc/1212].
6614
6615 1999-07-30 Andreas Schwab <schwab@suse.de>
6616
6617 * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
6618 definition.
6619 (__get_nprocs): Use it.
6620 (__get_nprocs_conf): Define as separate function if
6621 GET_NPROCS_CONF_PARSER is defined.
6622 * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
6623
6624 * include/sys/sysinfo.h: New file.
6625 * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
6626 interface.
6627 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
6628
6629 1999-07-30 H.J. Lu <hjl@gnu.org>
6630
6631 * libio/iofflush.c (fflush_unlocked): Weak aliase if
6632 _IO_MTSAFE_IO is not defined.
6633 * libio/clearerr.c (clearerr_unlocked): Likewise.
6634 * libio/feof.c (feof_unlocked): Likewise.
6635 * libio/ferror.c (ferror_unlocked): Likewise.
6636 * libio/fputc.c (fputc_unlocked): Likewise.
6637 * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
6638 * libio/getchar.c (getchar_unlocked): Likewise.
6639 * libio/putc.c (putc_unlocked): Likewise.
6640 * libio/putchar.c (putchar_unlocked): Likewise.
6641
6642 1999-07-30 Thorsten Kukuk <kukuk@suse.de>
6643
6644 * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
6645 svc_max_pollfd and svc_pollfd to GLIBC_2.2
6646 * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
6647 for svc_run/poll interface.
6648 * sunrpc/rpc/types.h: Add rpc*_t typedefs.
6649 * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
6650 global variable.
6651 * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
6652 rewrite other svc_getreq* functions to use svc_getreq_common.
6653 * sunrpc/svc_run.c: Use poll().
6654
6655 1999-07-30 Andreas Schwab <schwab@suse.de>
6656
6657 * Makerules: Put sysd-versions and Versions.all on
6658 postclean-generated instead of common-generated.
6659
6660 1999-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6661
6662 * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
6663 around and CLOCKS_PER_SEC is 1e6.
6664
6665 1999-07-30 Ulrich Drepper <drepper@cygnus.com>
6666
6667 * configure.in: Add test for local label subtraction.
6668 * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
6669 * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
6670 labels to reduce number of runtime relocations and move jump
6671 tables in read-only seciton.
6672
6673 * malloc/malloc.c (ptmalloc_init): Correct last patch. The
6674 assignment cannot be moved.
6675
6676 1999-07-29 H.J. Lu <hjl@gnu.org>
6677
6678 * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
6679 if no threads are used.
6680
6681 * libio/iofwrite.c: Add weak alias for _unlocked function if not
6682 _IO_MTSAFE_IO.
6683 * libio/iofread.c: Likewise.
6684 * libio/iofgets.c: Likewise.
6685 * libio/iofputs.c: Likewise.
6686
6687 * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
6688 definition.
6689
6690 * stdlib/mbtowc.c: Include <string.h>.
6691 * stdlib/wctomb.c: Likewise.
6692 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
6693 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
6694
6695 * misc/mntent_r.c: Include <alloca.h>.
6696 * elf/dl-runtime.c: Likewise.
6697
6698 1999-07-29 Andreas Schwab <schwab@suse.de>
6699
6700 * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
6701 all floating point formats supported by gcc. Error out for
6702 unhandled precisions.
6703 * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
6704 * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
6705 * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
6706
6707 1999-07-29 Ulrich Drepper <drepper@cygnus.com>
6708
6709 * sysdeps/generic/setenv.c: Move setenv code in new function
6710 __add_to_environ. Add new parameter specifying already
6711 constructed string for the environment.
6712 (setenv): Call __add_to_environ with new parameter set to NULL.
6713 (unsetenv): Really test all elements for duplicated name. Missed those
6714 cases where the two are following each other.
6715 * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
6716 * include/stdlib.h: Add prototype of __add_to_environ.
6717 * stdlib/tst-environ.c: New file.
6718 * stdlib/Makefile (tests): Add tst-environ.
6719
6720 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
6721
6722 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
6723 argument in realloc call.
6724 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
6725 Likewise.
6726 Reported by Danny Braniss <danny@cs.huji.ac.il>.
6727
6728 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
6729
6730 * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
6731 to print.
6732 * misc/efgcvt_r.c: Likewise.
6733 * misc/qefgcvt.c: Likewise.
6734 * misc/qefgcvt_r.c: Likewise.
6735 * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
6736 anymore.
6737
6738 1999-07-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6739
6740 * manual/math.texi (FP Function Optimization): Mention drawbacks.
6741
6742 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
6743
6744 * stdlib/mblen.c: Use static state.
6745 Reported by Bruno Haible <haible@ilog.fr>.
6746
6747 * stdlib/mbtowc.c: Reset state for s == NULL.
6748 * stdlib/wctomb.c: Likewise.
6749 Reported by Bruno Haible <haible@ilog.fr>.
6750
6751 * stdlib/mbstowcs.c: Do not use global state.
6752 Reported by Bruno Haible <haible@ilog.fr>.
6753
6754 1999-07-28 Andeas Schwab <schwab@suse.de>
6755
6756 * iconvdata/Makefile: Don't try to run iconv tests when cross
6757 compiling.
6758
6759 1999-07-27 Mark Kettenis <kettenis@gnu.org>
6760
6761 * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
6762 assembler code to switch stacks and call init1 outside this
6763 function. Inside `init' the code was optimized away by gcc
6764 2.95 since it was "clearly" unreachable.
6765 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
6766 Do something similar for the trampoline code.
6767
6768 1999-07-27 Ulrich Drepper <drepper@cygnus.com>
6769
6770 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
6771 for the hinted protocol.
6772
6773 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6774
6775 * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
6776
6777 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
6778
6779 * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
6780 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
6781 * elf/dl-load.c (_dl_map_object): Likewise.
6782 * elf/do-lookup.h (do_lookup*): Likewise.
6783 * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
6784 * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
6785 as uint64_t.
6786 * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
6787
6788 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
6789
6790 * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
6791 * sysdeps/generic/getpgrp.c: Likewise.
6792 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
6793 * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
6794 Patch by John Tobey <jtobey@banta-im.com>.
6795
6796 * sysdeps/posix/wait3.c: Help compiling in presence of
6797 __transparent_union__. Reported by John Tobey <jtobey@banta-im.com>.
6798
6799 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
6800
6801 * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
6802 as much as possible. Declare them using .register pseudo-op if they
6803 are still used.
6804 * sysdeps/sparc/sparc64/lshift.S: Likewise.
6805 * sysdeps/sparc/sparc64/memchr.S: Likewise.
6806 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6807 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6808 * sysdeps/sparc/sparc64/memset.S: Likewise.
6809 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6810 * sysdeps/sparc/sparc64/rshift.S: Likewise.
6811 * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
6812 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6813 * sysdeps/sparc/sparc64/strcat.S: Likewise.
6814 * sysdeps/sparc/sparc64/strchr.S: Likewise.
6815 * sysdeps/sparc/sparc64/strcmp.S: Likewise.
6816 * sysdeps/sparc/sparc64/strcpy.S: Likewise.
6817 * sysdeps/sparc/sparc64/strcspn.S: Likewise.
6818 * sysdeps/sparc/sparc64/strlen.S: Likewise.
6819 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6820 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6821 * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
6822 * sysdeps/sparc/sparc64/strspn.S: Likewise.
6823 * sysdeps/sparc/sparc64/sub_n.S: Likewise.
6824 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6825 Optimize trampoline code for .plt4-.plt32767.
6826 Fix trampolines for .plt32768+.
6827
6828 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
6829
6830 * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
6831 -mcpu=v8.
6832 * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
6833 * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
6834 libc's private use (as assembly routine clobber it anyway).
6835
6836 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6837
6838 * README.template (configurations): The crypt add-on has a new
6839 ftp site.
6840 * manual/install.texi (Installation): Likewise.
6841
6842 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
6843
6844 * time/time.h: Add forward for struct sigevent. Unix98 maybe
6845 requires to have a full definition but we wait for a bug report
6846 based on the test suite.
6847
6848 * sysdeps/generic/clock_getres.c: New file.
6849 * sysdeps/generic/clock_gettime.c: New file.
6850 * sysdeps/generic/clock_settime.c: New file.
6851 * sysdeps/generic/timer_create.c: New file.
6852 * sysdeps/generic/timer_delete.c: New file.
6853 * sysdeps/generic/timer_getoverr.c: New file.
6854 * sysdeps/generic/timer_gettime.c: New file.
6855 * sysdeps/generic/timer_settime.c: New file.
6856
6857 * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
6858 CLOCK_REALTIME, and TIMER_ABSTIME.
6859 * sysdeps/mach/hurd/bits/time.h: Likewise.
6860 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6861 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
6862
6863 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
6864
6865 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
6866 si_timer2.
6867
6868 * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
6869
6870 * time/Makefile (routines): Add clock_getres, clock_gettime,
6871 clock_setres, timer_create, timer_delete, timer_getoverr,
6872 timer_gettime, and timer_settime.
6873
6874 * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
6875 POSIX.1b. Add prototypes for clock and timer functions.
6876
6877 1999-07-26 Roland McGrath <roland@baalperazim.frob.com>
6878
6879 * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
6880 Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
6881
6882 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
6883
6884 * stdlib/wcstombs.c: Do not use global state.
6885 Reported by Bruno Haible <haible@ilog.fr>.
6886
6887 * wcsmbs/wctob.c: Avoid sign extension when returning character.
6888 Reported by Bruno Haible <haible@ilog.fr>.
6889
6890 * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
6891 of wide characters to convert do it right and don't overestimate
6892 by multiplying with MB_CUR_MAX.
6893 Reported by Bruno Haible <haible@ilog.fr>.
6894
6895 1999-07-26 Jakub Jelinek <jj@ultra.linux.jz>
6896
6897 * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
6898 (__stpcpy_small): Likewise.
6899 Union has no __uc member but __c.
6900
6901 1999-07-26 Andreas Schwab <schwab@suse.de>
6902
6903 * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
6904
6905 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
6906
6907 * libio/iofclose.c (_IO_new_fclose): Only fall back on
6908 _IO_old_fclose if doing versioning.
6909
6910 * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
6911 them appropriately.
6912 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6913
6914 * misc/mntent_r.c: Allow spaces and tabs in entry names by
6915 encoding these characters.
6916 * misc/tst-mntent.c: Add test case for addmntent and getmntent.
6917
6918 * string/bits/string2.h: Fix aliasing problems.
6919 * sysdeps/i386/i486/bits/string.h: Likewise.
6920 * sysdeps/i386/bits/string.h: Likewise.
6921
6922 1998-12-28 Geoff Keating <geoffk@ozemail.com.au>
6923
6924 * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
6925 * elf/rtld.c (dl_main): Don't call malloc() between
6926 re-relocating the dynamic linker and running the application's crt0.
6927
6928 1999-07-21 Paul D. Smith <psmith@gnu.org>
6929
6930 * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
6931 glob.h to get __P() macro.
6932
6933 * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
6934 not ANSI.
6935 (__strchrnul): This won't exist outside GLIBC, so create one.
6936
6937 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
6938
6939 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
6940 __ino64_t should be 32bit unsigned type on sparc32.
6941 Define __off64_t to __quad_t instead of __int64_t.
6942 Make __pic_pid_t unsigned on sparc32.
6943
6944 1999-07-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6945
6946 * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
6947 in bash 2.03.
6948
6949 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
6950
6951 * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
6952 of an error. Patch by Changwoo Ryu <cwryu@debian.org>.
6953
6954 1999-07-24 Ulrich Drepper <drepper@cygnus.com>
6955
6956 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
6957 accesses.
6958
6959 * resolv/res_send.c: Add locks for res_send and res_close use.
6960
6961 * elf/Makefile (dl-routines): Add preinit.
6962 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
6963 * elf/link.h (struct link_map): Add new field l_preinitcount.
6964 * elf/dl-preinit.c: New file.
6965 * elf/dynamic-link.h: Initialize l_preinitcount.
6966 * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
6967
6968 * elf/dl-fini.c: Handle DT_FINI_ARRAY.
6969 * elf/link.h (struct link_map): Remove l_init_running. Add l_runcount
6970 and l_initcount.
6971 * elf/dl-init.c: Handle DT_INIT_ARRAY.
6972 * elf/dynamic-link.h: Change parameters. Now only get link_map
6973 pointer. Calculate l_initcount.
6974
6975 * elf/link.h (struct link_map): Add l_runpath_dirs.
6976 * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
6977 * elf/dl-load.c: Pretty print.
6978 (decompose_rpath): Take new parameter with info from where the path
6979 comes. Pass it the fillin_rpath.
6980 (_dl_init_paths): Initialize l_runpath_dirs.
6981 (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
6982 Search using RUNPATH after LD_LIBRARY_PATH.
6983 * elf/dl-support.c: Adjust comment.
6984 * elf/rtld.c: Adjust help message.
6985
6986 1999-07-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6987
6988 * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
6989 interface.
6990
6991 1999-07-23 Roland McGrath <roland@baalperazim.frob.com>
6992
6993 * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
6994 match BSD value; previous value of 1<<8 was a typo. I bet nothing
6995 ever used this, so I'm not going to worry about compatibility.
6996 [__USE_GNU] (IUCLC, OLCUC): New macros.
6997
6998 1999-07-23 Ulrich Drepper <drepper@cygnus.com>
6999
7000 * include/libintl.h: Undefine N_ and _ first to avoid warnings.
7001
7002 * elf/elf.h: Add ET_LOOS and ET_HIOS.
7003 Add various EM_* constants.
7004 Add SHN_LOOS and SHN_HIOS.
7005 Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
7006 Add SHF_MERGE and SHF_STRINGS.
7007 (ElfXX_Sym): Update description of st_other field.
7008 Add STT_COMMON.
7009 Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
7010 Add STV_* macros.
7011 Update comment on DT_RPATH. Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
7012 DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
7013 Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
7014
7015 * posix/unistd.h: Move declaration of __libc_enable_secure to...
7016 * include/unistd.h: ...here.
7017
7018 * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
7019 * elf/dl-deps.c (expand_dst): Likewise.
7020
7021 * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
7022 based on DT_FLAGS value.
7023
7024 * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
7025 Add test for symbols marked STV_HIDDEN.
7026 * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
7027 add undef_map. Compute reference_name locally. Update call to
7028 do_lookup.
7029 (_dl_lookup_symbol_skip): Likewise.
7030 (_dl_lookup_versioned_symbol): Likewise.
7031 (_dl_lookup_versioned_symbol_skip): Likewise.
7032 * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
7033 * elf/dl-runtime.c: Likewise.
7034 * elf/dl-sym.c: Likewise.
7035 * elf/dl-symbol.c: Likewise.
7036 * elf/ldsodefs.h: Adjust prototypes.
7037
7038 * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
7039 handle appropriately. Add comment about DT_TEXTREL.
7040 * elf/dl-runtime.c: Likewise.
7041
7042 1999-07-21 Roland McGrath <roland@baalperazim.frob.com>
7043
7044 * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
7045 * elf/ldsodefs.h: Declare it.
7046 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
7047 instead of assert.
7048 (elf_machine_lazy_rel): Likewise. Take new arg MAP.
7049 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7050 (elf_machine_lazy_rel): Likewise.
7051 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
7052 (elf_machine_lazy_rel): Likewise.
7053 * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
7054 (elf_machine_lazy_rel): Likewise.
7055 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
7056 (elf_machine_lazy_rel): Likewise.
7057 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7058 (elf_machine_lazy_rel): Likewise.
7059 * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
7060 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
7061 (elf_machine_lazy_rel): Likewise.
7062 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
7063 (elf_machine_lazy_rel): Likewise.
7064 * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
7065 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
7066 _dl_reloc_bad_type instead of _dl_signal_error.
7067 * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
7068
7069 1999-07-20 Mark Kettenis <kettenis@gnu.org>
7070
7071 * sysdeps/mach/_strerror.c: Include <libintl.h>.
7072
7073 1999-07-19 Roland McGrath <roland@baalperazim.frob.com>
7074
7075 * hurd/hurdsig.c (_hurd_internal_post_signal): If a
7076 hurd_signal_preemptor matches but its `preemptor' field is null, use
7077 its `handler' field directly. This is to comply with behavior
7078 documented in <hurd/sigpreempt.h>.
7079
7080 1999-07-21 Andreas Schwab <schwab@suse.de>
7081
7082 * libio/fileops.c (_IO_new_file_underflow): Set error indicator
7083 when reading from write-only stream.
7084 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
7085 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
7086
7087 1999-07-21 Andreas Schwab <schwab@suse.de>
7088
7089 * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
7090 NULL.
7091
7092 1999-07-21 Mark Kettenis <kettenis@gnu.org>
7093
7094 * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
7095 <hurd/fd.h>.
7096 * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
7097 <hurd/fd.h>.
7098 (__libc_write): Call __pwrite instead of __pread.
7099
7100 1999-07-20 Mark Kettenis <kettenis@gnu.org>
7101
7102 * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
7103 __vm_allocate calls.
7104
7105 * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>. Fix typo.
7106 * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
7107
7108 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
7109 _hurd_fd_read with new OFFSET argument set to -1.
7110 (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
7111 to -1.
7112
7113 1999-07-17 Roland McGrath <roland@baalperazim.frob.com>
7114
7115 * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
7116 descriptor table sent in the RPC.
7117
7118 1999-07-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7119
7120 * time/strptime.c [!_LIBC]: Fix __mon_day size. Reported by
7121 bill@taniwha.org [PR libc/1211].
7122
7123 1999-07-19 Andreas Schwab <schwab@suse.de>
7124
7125 * libio/Makefile (routines): Add fwprintf.
7126
7127 PowerPC has own version of w_sqrt.c and w_sqrtf.c.
7128 * math/w_sqrt.c: Moved to ...
7129 * sysdeps/generic/w_sqrt.c: ... here.
7130 * math/w_sqrtf.c: Moved to ...
7131 * sysdeps/generic/w_sqrtf.c: ... here.
7132
7133 * Make-dist (generic-dirs): New variable.
7134 (try-sysdeps, +sysdep-names): Use it.
7135 * extra-lib.mk (all-$(lib)-routines): New variable. Use it
7136 instead of $(lib)-routines.
7137 * elf/Makefile (distribute): Add dl-cache.h.
7138 * db2/Makefile (distribute): Add all new files.
7139 * iconvdata/Makefile (distribute): Don't distribute CVS
7140 directory.
7141 * math/Makefile (distribute): Remove machine/endian.h, add
7142 math_ldbl.h.
7143 * stdio-common/Makefile (distribute): Add _itowa.h.
7144 * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
7145 * sysdeps/gnu/Dist: Add eval.c
7146 * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
7147 dlfcn]: Add to this instead of libdl-routines.
7148 * sysdeps/ieee754/ldbl-128/Dist: New file.
7149 * sysdeps/mach/hurd/Dist: Add siglist.h
7150 * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
7151
7152 1999-07-18 Ulrich Drepper <drepper@cygnus.com>
7153
7154 * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
7155
7156 * inet/Makefile (routines): Add getipnodebyad and freehostent.
7157 * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
7158 * inet/freehostent.c: New file.
7159 * inet/getipnodebyad.c: New file.
7160 * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
7161 and getipnodebyname. The latter comes soon.
7162 * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
7163 Add support for getipnode* functions.
7164
7165 * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
7166 Set h_aliases to NULL and not to a pointer to an array with a NULL
7167 pointer following XNS 5.2.
7168
7169 * posix/sched.h: Remove internal interfaces.
7170 * include/sched.h: Add internal interfaces.
7171
7172 * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
7173
7174 * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
7175
7176 * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
7177 and return an error in this case.
7178 * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
7179 available.
7180
7181 1999-07-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7182
7183 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
7184 1999-07-17 and adjust len parameter.
7185 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
7186 * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
7187 * manual/socket.texi (Host Names): Likewise.
7188 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
7189 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
7190 Likewise.
7191 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7192 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
7193 (ht_gethostbyaddr): Likewise.
7194 (_gethtbyaddr): Likewise.
7195
7196 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
7197
7198 * resolv/netdb.h: Adjust parameters of gethostbyaddr and
7199 gethostbyaddr_r.
7200 * include/netdb.h: Likewise.
7201 * inet/gethstbyad.c: Correct type of len parameter.
7202 * inet/gethstbyad_r.c: Likewise.
7203
7204 * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
7205
7206 1999-07-17 Zack Weinberg <zack@rabi.columbia.edu>
7207
7208 * include/libc-symbol.h: Clean up definitions of weak_alias,
7209 strong_alias, symbol_version, etc. etc.
7210 * posix/getopt.h: Use ctype.h to get features.h included, and don't
7211 include it at all if __GNU_LIBRARY__ is already defined.
7212
7213 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
7214
7215 * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
7216
7217 * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
7218
7219 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
7220 type for tv_usec element.
7221 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
7222 * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
7223 * sysdeps/generic/bits/time.h: Likewise.
7224 * sysdeps/mach/hurd/bits/time.h: Likewise.
7225 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
7226 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
7227 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
7228 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
7229 * sysdeps/generic/bits/types.h: Likewise.
7230 * posix/sys/types.h: Define suseconds_t for X/Open.
7231
7232 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
7233
7234 * stdio-common/bug1.c: Avoid memory leak.
7235
7236 * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
7237 program deterministic.
7238 * sysdeps/i386/fpu/e_powf.S: Likewise.
7239 * sysdeps/i386/fpu/e_powl.S: Likewise.
7240
7241 1999-07-15 Jakub Jelinek <jj@ultra.linux.cz>
7242
7243 * math/Makefile: Add t_sincosl and k_sincosl support routines.
7244 * math/math_private.h (__kernel_sincosl): New declaration.
7245 * sysdeps/generic/t_sincosl.c: New file.
7246 * sysdeps/generic/k_sincosl.c: New file.
7247 * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
7248 * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
7249 * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
7250 * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
7251 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
7252 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
7253 __kernel_sincosl.
7254 * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
7255 definition.
7256
7257 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
7258
7259 * posix/unistd.h: Use __PMT for exit.
7260
7261 1999-07-15 Philip Blundell <pb@nexus.co.uk>
7262
7263 * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
7264 _outw, _outl): Added to GLIBC_2.1.2.
7265
7266 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
7267
7268 * posix/fnmatch.h: Use __name instead of __string in prototype to
7269 allow use outside glibc.
7270
7271 1999-07-14 Ulrich Drepper <drepper@cygnus.com>
7272
7273 * time/tst-strptime.c (main): Add one more test case. Produce
7274 output even when result is ok.
7275
7276 * time/strptime.c (get_number): Handle number parsing more
7277 consistent with strftime. Only parse a given number of digits.
7278 (get_alt_number): Fix implementation. Was broken.
7279 (strptime_internal): Add third parameter to get_number and
7280 get_alt_number calls.
7281
7282 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
7283
7284 * elf/ldd.bash.in: Add support for multiple dynamic linkers.
7285 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
7286 try both 32bit and 64bit dynamic linker.
7287 * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
7288 script on all sparc targets.
7289
7290 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
7291
7292 * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
7293 to int.
7294
7295 1999-07-13 Andreas Schwab <schwab@suse.de>
7296
7297 * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
7298 inlining. Fixes PR libc/1198.
7299
7300 1999-07-14 Andreas Schwab <schwab@suse.de>
7301
7302 * Makerules (common-generated): Don't prepend $(common-objpfx).
7303
7304 1999-07-12 Jakub Jelinek <jj@ultra.linux.cz>
7305
7306 * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
7307 as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
7308 * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
7309 quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
7310 macro.
7311 * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7312 instead of ieee754.
7313 * sysdeps/arm/Implies: Likewise.
7314 * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
7315 ieee754/ldbl-96 instead of ieee754.
7316 * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
7317 * sysdeps/generic/e_atanhl.c: New file.
7318 * sysdeps/generic/e_coshl.c: New file.
7319 * sysdeps/generic/e_sinhl.c: New file.
7320 * sysdeps/generic/e_gammal_r.c: New file.
7321 * sysdeps/generic/e_hypotl.c: New file.
7322 * sysdeps/generic/s_cbrtl.c: New file.
7323 * sysdeps/generic/s_asinhl.c: New file.
7324 * sysdeps/generic/s_tanhl.c: New file.
7325 * sysdeps/generic/w_expl.c: New file.
7326 * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7327 instead of ieee754.
7328 * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
7329 ieee754/ldbl-96 instead of ieee754.
7330 * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
7331 * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
7332 printf_fphex.
7333 * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7334 instead of ieee754.
7335 * sysdeps/mips/mips64/Implies: Likewise.
7336 * sysdeps/powerpc/Implies: Likewise.
7337 * sysdeps/sparc/Implies: Remove.
7338 * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
7339 ieee754/dbl-64.
7340 * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
7341 and ieee754/ldbl-128.
7342
7343 * sysdeps/sparc/bits/wordsize.h: Remove.
7344 * sysdeps/sparc/fpu/bits/mathinline.h: New file.
7345 * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
7346 only for sparc32.
7347 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
7348 * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
7349 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
7350 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
7351 * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
7352 support.
7353
7354 * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
7355 of carries. Optimize.
7356
7357 * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
7358 * sysdeps/generic/e_exp10.c: ...here.
7359 * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
7360 * sysdeps/generic/e_exp10f.c: ...here.
7361 * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
7362 * sysdeps/generic/e_exp10l.c: ...here.
7363 * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
7364 * sysdeps/generic/e_scalb.c: ...here.
7365 * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
7366 * sysdeps/generic/e_scalbf.c: ...here.
7367 * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
7368 * sysdeps/generic/e_scalbl.c: ...here.
7369 * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
7370 * sysdeps/generic/s_cacos.c: ...here.
7371 * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
7372 * sysdeps/generic/s_cacosf.c: ...here.
7373 * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
7374 * sysdeps/generic/s_cacosh.c: ...here.
7375 * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
7376 * sysdeps/generic/s_cacoshf.c: ...here.
7377 * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
7378 * sysdeps/generic/s_cacoshl.c: ...here.
7379 * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
7380 * sysdeps/generic/s_cacosl.c: ...here.
7381 * sysdeps/libm-ieee754/s_casin.c: Moved to ...
7382 * sysdeps/generic/s_casin.c: ...here.
7383 * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
7384 * sysdeps/generic/s_casinf.c: ...here.
7385 * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
7386 * sysdeps/generic/s_casinh.c: ...here.
7387 * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
7388 * sysdeps/generic/s_casinhf.c: ...here.
7389 * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
7390 * sysdeps/generic/s_casinhl.c: ...here.
7391 * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
7392 * sysdeps/generic/s_casinl.c: ...here.
7393 * sysdeps/libm-ieee754/s_catan.c: Moved to ...
7394 * sysdeps/generic/s_catan.c: ...here.
7395 * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
7396 * sysdeps/generic/s_catanf.c: ...here.
7397 * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
7398 * sysdeps/generic/s_catanh.c: ...here.
7399 * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
7400 * sysdeps/generic/s_catanhf.c: ...here.
7401 * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
7402 * sysdeps/generic/s_catanhl.c: ...here.
7403 * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
7404 * sysdeps/generic/s_catanl.c: ...here.
7405 * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
7406 * sysdeps/generic/s_ccos.c: ...here.
7407 * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
7408 * sysdeps/generic/s_ccosf.c: ...here.
7409 * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
7410 * sysdeps/generic/s_ccosh.c: ...here.
7411 * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
7412 * sysdeps/generic/s_ccoshf.c: ...here.
7413 * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
7414 * sysdeps/generic/s_ccoshl.c: ...here.
7415 * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
7416 * sysdeps/generic/s_ccosl.c: ...here.
7417 * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
7418 * sysdeps/generic/s_cexp.c: ...here.
7419 * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
7420 * sysdeps/generic/s_cexpf.c: ...here.
7421 * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
7422 * sysdeps/generic/s_cexpl.c: ...here.
7423 * sysdeps/libm-ieee754/s_clog.c: Moved to ...
7424 * sysdeps/generic/s_clog.c: ...here.
7425 * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
7426 * sysdeps/generic/s_clog10.c: ...here.
7427 * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
7428 * sysdeps/generic/s_clog10f.c: ...here.
7429 * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
7430 * sysdeps/generic/s_clog10l.c: ...here.
7431 * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
7432 * sysdeps/generic/s_clogf.c: ...here.
7433 * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
7434 * sysdeps/generic/s_clogl.c: ...here.
7435 * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
7436 * sysdeps/generic/s_cpow.c: ...here.
7437 * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
7438 * sysdeps/generic/s_cpowf.c: ...here.
7439 * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
7440 * sysdeps/generic/s_cpowl.c: ...here.
7441 * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
7442 * sysdeps/generic/s_cproj.c: ...here.
7443 * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
7444 * sysdeps/generic/s_cprojf.c: ...here.
7445 * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
7446 * sysdeps/generic/s_cprojl.c: ...here.
7447 * sysdeps/libm-ieee754/s_csin.c: Moved to ...
7448 * sysdeps/generic/s_csin.c: ...here.
7449 * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
7450 * sysdeps/generic/s_csinf.c: ...here.
7451 * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
7452 * sysdeps/generic/s_csinh.c: ...here.
7453 * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
7454 * sysdeps/generic/s_csinhf.c: ...here.
7455 * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
7456 * sysdeps/generic/s_csinhl.c: ...here.
7457 * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
7458 * sysdeps/generic/s_csinl.c: ...here.
7459 * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
7460 * sysdeps/generic/s_csqrt.c: ...here.
7461 * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
7462 * sysdeps/generic/s_csqrtf.c: ...here.
7463 * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
7464 * sysdeps/generic/s_csqrtl.c: ...here.
7465 * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
7466 * sysdeps/generic/s_ctan.c: ...here.
7467 * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
7468 * sysdeps/generic/s_ctanf.c: ...here.
7469 * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
7470 * sysdeps/generic/s_ctanh.c: ...here.
7471 * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
7472 * sysdeps/generic/s_ctanhf.c: ...here.
7473 * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
7474 * sysdeps/generic/s_ctanhl.c: ...here.
7475 * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
7476 * sysdeps/generic/s_ctanl.c: ...here.
7477 * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
7478 * sysdeps/generic/s_fdim.c: ...here.
7479 * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
7480 * sysdeps/generic/s_fdimf.c: ...here.
7481 * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
7482 * sysdeps/generic/s_fdiml.c: ...here.
7483 * sysdeps/libm-ieee754/s_fma.c: Moved to ...
7484 * sysdeps/generic/s_fma.c: ...here.
7485 * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
7486 * sysdeps/generic/s_fmaf.c: ...here.
7487 * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
7488 * sysdeps/generic/s_fmal.c: ...here.
7489 * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
7490 * sysdeps/generic/s_fmax.c: ...here.
7491 * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
7492 * sysdeps/generic/s_fmaxf.c: ...here.
7493 * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
7494 * sysdeps/generic/s_fmaxl.c: ...here.
7495 * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
7496 * sysdeps/generic/s_fmin.c: ...here.
7497 * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
7498 * sysdeps/generic/s_fminf.c: ...here.
7499 * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
7500 * sysdeps/generic/s_fminl.c: ...here.
7501 * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
7502 * sysdeps/generic/s_ldexp.c: ...here.
7503 * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
7504 * sysdeps/generic/s_ldexpf.c: ...here.
7505 * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
7506 * sysdeps/generic/s_ldexpl.c: ...here.
7507 * sysdeps/libm-ieee754/s_nan.c: Moved to ...
7508 * sysdeps/generic/s_nan.c: ...here.
7509 * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
7510 * sysdeps/generic/s_nanf.c: ...here.
7511 * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
7512 * sysdeps/generic/s_nanl.c: ...here.
7513 * sysdeps/libm-ieee754/s_significand.c: Moved to ...
7514 * sysdeps/generic/s_significand.c: ...here.
7515 * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
7516 * sysdeps/generic/s_significandf.c: ...here.
7517 * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
7518 * sysdeps/generic/s_significandl.c: ...here.
7519 Avoid conversion from int to double and then to long double.
7520 * sysdeps/libm-ieee754/w_acos.c: Moved to ...
7521 * math/w_acos.c: ...here.
7522 * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
7523 * math/w_acosf.c: ...here.
7524 * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
7525 * math/w_acosh.c: ...here.
7526 * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
7527 * math/w_acoshf.c: ...here.
7528 * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
7529 * math/w_acoshl.c: ...here.
7530 * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
7531 * math/w_acosl.c: ...here.
7532 * sysdeps/libm-ieee754/w_asin.c: Moved to ...
7533 * math/w_asin.c: ...here.
7534 * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
7535 * math/w_asinf.c: ...here.
7536 * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
7537 * math/w_asinl.c: ...here.
7538 * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
7539 * math/w_atan2.c: ...here.
7540 * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
7541 * math/w_atan2f.c: ...here.
7542 * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
7543 * math/w_atan2l.c: ...here.
7544 * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
7545 * math/w_atanh.c: ...here.
7546 * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
7547 * math/w_atanhf.c: ...here.
7548 * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
7549 * math/w_atanhl.c: ...here.
7550 * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
7551 * math/w_cosh.c: ...here.
7552 * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
7553 * math/w_coshf.c: ...here.
7554 * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
7555 * math/w_coshl.c: ...here.
7556 * sysdeps/libm-ieee754/w_drem.c: Moved to ...
7557 * math/w_drem.c: ...here.
7558 * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
7559 * math/w_dremf.c: ...here.
7560 * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
7561 * math/w_dreml.c: ...here.
7562 * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
7563 * math/w_exp10.c: ...here.
7564 * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
7565 * math/w_exp10f.c: ...here.
7566 * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
7567 * math/w_exp10l.c: ...here.
7568 * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
7569 * math/w_exp2.c: ...here.
7570 * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
7571 * math/w_exp2f.c: ...here.
7572 * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
7573 * math/w_exp2l.c: ...here.
7574 * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
7575 * math/w_fmod.c: ...here.
7576 * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
7577 * math/w_fmodf.c: ...here.
7578 * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
7579 * math/w_fmodl.c: ...here.
7580 * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
7581 * math/w_hypot.c: ...here.
7582 * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
7583 * math/w_hypotf.c: ...here.
7584 * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
7585 * math/w_hypotl.c: ...here.
7586 * sysdeps/libm-ieee754/w_j0.c: Moved to ...
7587 * math/w_j0.c: ...here.
7588 * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
7589 * math/w_j0f.c: ...here.
7590 * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
7591 * math/w_j0l.c: ...here.
7592 * sysdeps/libm-ieee754/w_j1.c: Moved to ...
7593 * math/w_j1.c: ...here.
7594 * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
7595 * math/w_j1f.c: ...here.
7596 * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
7597 * math/w_j1l.c: ...here.
7598 * sysdeps/libm-ieee754/w_jn.c: Moved to ...
7599 * math/w_jn.c: ...here.
7600 * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
7601 * math/w_jnf.c: ...here.
7602 * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
7603 * math/w_jnl.c: ...here.
7604 * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
7605 * math/w_lgamma.c: ...here.
7606 * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
7607 * math/w_lgamma_r.c: ...here.
7608 * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
7609 * math/w_lgammaf.c: ...here.
7610 * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
7611 * math/w_lgammaf_r.c: ...here.
7612 * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
7613 * math/w_lgammal.c: ...here.
7614 * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
7615 * math/w_lgammal_r.c: ...here.
7616 * sysdeps/libm-ieee754/w_log.c: Moved to ...
7617 * math/w_log.c: ...here.
7618 * sysdeps/libm-ieee754/w_log10.c: Moved to ...
7619 * math/w_log10.c: ...here.
7620 * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
7621 * math/w_log10f.c: ...here.
7622 * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
7623 * math/w_log10l.c: ...here.
7624 * sysdeps/libm-ieee754/w_logf.c: Moved to ...
7625 * math/w_logf.c: ...here.
7626 * sysdeps/libm-ieee754/w_logl.c: Moved to ...
7627 * math/w_logl.c: ...here.
7628 * sysdeps/libm-ieee754/w_pow.c: Moved to ...
7629 * math/w_pow.c: ...here.
7630 * sysdeps/libm-ieee754/w_powf.c: Moved to ...
7631 * math/w_powf.c: ...here.
7632 * sysdeps/libm-ieee754/w_powl.c: Moved to ...
7633 * math/w_powl.c: ...here.
7634 * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
7635 * math/w_remainder.c: ...here.
7636 * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
7637 * math/w_remainderf.c: ...here.
7638 * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
7639 * math/w_remainderl.c: ...here.
7640 * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
7641 * math/w_scalb.c: ...here.
7642 * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
7643 * math/w_scalbf.c: ...here.
7644 * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
7645 * math/w_scalbl.c: ...here.
7646 * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
7647 * math/w_sinh.c: ...here.
7648 * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
7649 * math/w_sinhf.c: ...here.
7650 * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
7651 * math/w_sinhl.c: ...here.
7652 * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
7653 * math/w_sqrt.c: ...here.
7654 * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
7655 * math/w_sqrtf.c: ...here.
7656 * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
7657 * math/w_sqrtl.c: ...here.
7658 * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
7659 * math/w_tgamma.c: ...here.
7660 * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
7661 * math/w_tgammaf.c: ...here.
7662 * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
7663 * math/w_tgammal.c: ...here.
7664 * sysdeps/libm-i387/e_acos.S: Moved to ...
7665 * sysdeps/i386/fpu/e_acos.S: ...here.
7666 * sysdeps/libm-i387/e_acosf.S: Moved to ...
7667 * sysdeps/i386/fpu/e_acosf.S: ...here.
7668 * sysdeps/libm-i387/e_acosh.S: Moved to ...
7669 * sysdeps/i386/fpu/e_acosh.S: ...here.
7670 * sysdeps/libm-i387/e_acoshf.S: Moved to ...
7671 * sysdeps/i386/fpu/e_acoshf.S: ...here.
7672 * sysdeps/libm-i387/e_acoshl.S: Moved to ...
7673 * sysdeps/i386/fpu/e_acoshl.S: ...here.
7674 * sysdeps/libm-i387/e_acosl.S: Moved to ...
7675 * sysdeps/i386/fpu/e_acosl.S: ...here.
7676 * sysdeps/libm-i387/e_asin.S: Moved to ...
7677 * sysdeps/i386/fpu/e_asin.S: ...here.
7678 * sysdeps/libm-i387/e_asinf.S: Moved to ...
7679 * sysdeps/i386/fpu/e_asinf.S: ...here.
7680 * sysdeps/libm-i387/e_asinl.S: Moved to ...
7681 * sysdeps/i386/fpu/e_asinl.S: ...here.
7682 * sysdeps/libm-i387/e_atan2.S: Moved to ...
7683 * sysdeps/i386/fpu/e_atan2.S: ...here.
7684 * sysdeps/libm-i387/e_atan2f.S: Moved to ...
7685 * sysdeps/i386/fpu/e_atan2f.S: ...here.
7686 * sysdeps/libm-i387/e_atan2l.S: Moved to ...
7687 * sysdeps/i386/fpu/e_atan2l.S: ...here.
7688 * sysdeps/libm-i387/e_atanh.S: Moved to ...
7689 * sysdeps/i386/fpu/e_atanh.S: ...here.
7690 * sysdeps/libm-i387/e_atanhf.S: Moved to ...
7691 * sysdeps/i386/fpu/e_atanhf.S: ...here.
7692 * sysdeps/libm-i387/e_atanhl.S: Moved to ...
7693 * sysdeps/i386/fpu/e_atanhl.S: ...here.
7694 * sysdeps/libm-i387/e_exp.S: Moved to ...
7695 * sysdeps/i386/fpu/e_exp.S: ...here.
7696 * sysdeps/libm-i387/e_exp10.S: Moved to ...
7697 * sysdeps/i386/fpu/e_exp10.S: ...here.
7698 * sysdeps/libm-i387/e_exp10f.S: Moved to ...
7699 * sysdeps/i386/fpu/e_exp10f.S: ...here.
7700 * sysdeps/libm-i387/e_exp10l.S: Moved to ...
7701 * sysdeps/i386/fpu/e_exp10l.S: ...here.
7702 * sysdeps/libm-i387/e_expf.S: Moved to ...
7703 * sysdeps/i386/fpu/e_expf.S: ...here.
7704 * sysdeps/libm-i387/e_expl.S: Moved to ...
7705 * sysdeps/i386/fpu/e_expl.S: ...here.
7706 * sysdeps/libm-i387/e_fmod.S: Moved to ...
7707 * sysdeps/i386/fpu/e_fmod.S: ...here.
7708 * sysdeps/libm-i387/e_fmodf.S: Moved to ...
7709 * sysdeps/i386/fpu/e_fmodf.S: ...here.
7710 * sysdeps/libm-i387/e_fmodl.S: Moved to ...
7711 * sysdeps/i386/fpu/e_fmodl.S: ...here.
7712 * sysdeps/libm-i387/e_hypot.S: Moved to ...
7713 * sysdeps/i386/fpu/e_hypot.S: ...here.
7714 * sysdeps/libm-i387/e_hypotf.S: Moved to ...
7715 * sysdeps/i386/fpu/e_hypotf.S: ...here.
7716 * sysdeps/libm-i387/e_log.S: Moved to ...
7717 * sysdeps/i386/fpu/e_log.S: ...here.
7718 * sysdeps/libm-i387/e_log10.S: Moved to ...
7719 * sysdeps/i386/fpu/e_log10.S: ...here.
7720 * sysdeps/libm-i387/e_log10f.S: Moved to ...
7721 * sysdeps/i386/fpu/e_log10f.S: ...here.
7722 * sysdeps/libm-i387/e_log10l.S: Moved to ...
7723 * sysdeps/i386/fpu/e_log10l.S: ...here.
7724 * sysdeps/libm-i387/e_logf.S: Moved to ...
7725 * sysdeps/i386/fpu/e_logf.S: ...here.
7726 * sysdeps/libm-i387/e_logl.S: Moved to ...
7727 * sysdeps/i386/fpu/e_logl.S: ...here.
7728 * sysdeps/libm-i387/e_pow.S: Moved to ...
7729 * sysdeps/i386/fpu/e_pow.S: ...here.
7730 * sysdeps/libm-i387/e_powf.S: Moved to ...
7731 * sysdeps/i386/fpu/e_powf.S: ...here.
7732 * sysdeps/libm-i387/e_powl.S: Moved to ...
7733 * sysdeps/i386/fpu/e_powl.S: ...here.
7734 * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
7735 * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
7736 * sysdeps/libm-i387/e_remainder.S: Moved to ...
7737 * sysdeps/i386/fpu/e_remainder.S: ...here.
7738 * sysdeps/libm-i387/e_remainderf.S: Moved to ...
7739 * sysdeps/i386/fpu/e_remainderf.S: ...here.
7740 * sysdeps/libm-i387/e_remainderl.S: Moved to ...
7741 * sysdeps/i386/fpu/e_remainderl.S: ...here.
7742 * sysdeps/libm-i387/e_scalb.S: Moved to ...
7743 * sysdeps/i386/fpu/e_scalb.S: ...here.
7744 * sysdeps/libm-i387/e_scalbf.S: Moved to ...
7745 * sysdeps/i386/fpu/e_scalbf.S: ...here.
7746 * sysdeps/libm-i387/e_scalbl.S: Moved to ...
7747 * sysdeps/i386/fpu/e_scalbl.S: ...here.
7748 * sysdeps/libm-i387/e_sqrt.S: Moved to ...
7749 * sysdeps/i386/fpu/e_sqrt.S: ...here.
7750 * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
7751 * sysdeps/i386/fpu/e_sqrtf.S: ...here.
7752 * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
7753 * sysdeps/i386/fpu/e_sqrtl.S: ...here.
7754 * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
7755 * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
7756 * sysdeps/libm-i387/s_asinh.S: Moved to ...
7757 * sysdeps/i386/fpu/s_asinh.S: ...here.
7758 * sysdeps/libm-i387/s_asinhf.S: Moved to ...
7759 * sysdeps/i386/fpu/s_asinhf.S: ...here.
7760 * sysdeps/libm-i387/s_asinhl.S: Moved to ...
7761 * sysdeps/i386/fpu/s_asinhl.S: ...here.
7762 * sysdeps/libm-i387/s_atan.S: Moved to ...
7763 * sysdeps/i386/fpu/s_atan.S: ...here.
7764 * sysdeps/libm-i387/s_atanf.S: Moved to ...
7765 * sysdeps/i386/fpu/s_atanf.S: ...here.
7766 * sysdeps/libm-i387/s_atanl.S: Moved to ...
7767 * sysdeps/i386/fpu/s_atanl.S: ...here.
7768 * sysdeps/libm-i387/s_cbrt.S: Moved to ...
7769 * sysdeps/i386/fpu/s_cbrt.S: ...here.
7770 * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
7771 * sysdeps/i386/fpu/s_cbrtf.S: ...here.
7772 * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
7773 * sysdeps/i386/fpu/s_cbrtl.S: ...here.
7774 * sysdeps/libm-i387/s_ceil.S: Moved to ...
7775 * sysdeps/i386/fpu/s_ceil.S: ...here.
7776 * sysdeps/libm-i387/s_ceilf.S: Moved to ...
7777 * sysdeps/i386/fpu/s_ceilf.S: ...here.
7778 * sysdeps/libm-i387/s_ceill.S: Moved to ...
7779 * sysdeps/i386/fpu/s_ceill.S: ...here.
7780 * sysdeps/libm-i387/s_cexp.S: Moved to ...
7781 * sysdeps/i386/fpu/s_cexp.S: ...here.
7782 * sysdeps/libm-i387/s_cexpf.S: Moved to ...
7783 * sysdeps/i386/fpu/s_cexpf.S: ...here.
7784 * sysdeps/libm-i387/s_cexpl.S: Moved to ...
7785 * sysdeps/i386/fpu/s_cexpl.S: ...here.
7786 * sysdeps/libm-i387/s_copysign.S: Moved to ...
7787 * sysdeps/i386/fpu/s_copysign.S: ...here.
7788 * sysdeps/libm-i387/s_copysignf.S: Moved to ...
7789 * sysdeps/i386/fpu/s_copysignf.S: ...here.
7790 * sysdeps/libm-i387/s_copysignl.S: Moved to ...
7791 * sysdeps/i386/fpu/s_copysignl.S: ...here.
7792 * sysdeps/libm-i387/s_cos.S: Moved to ...
7793 * sysdeps/i386/fpu/s_cos.S: ...here.
7794 * sysdeps/libm-i387/s_cosf.S: Moved to ...
7795 * sysdeps/i386/fpu/s_cosf.S: ...here.
7796 * sysdeps/libm-i387/s_cosl.S: Moved to ...
7797 * sysdeps/i386/fpu/s_cosl.S: ...here.
7798 * sysdeps/libm-i387/s_exp2.S: Moved to ...
7799 * sysdeps/i386/fpu/s_exp2.S: ...here.
7800 * sysdeps/libm-i387/s_exp2f.S: Moved to ...
7801 * sysdeps/i386/fpu/s_exp2f.S: ...here.
7802 * sysdeps/libm-i387/s_exp2l.S: Moved to ...
7803 * sysdeps/i386/fpu/s_exp2l.S: ...here.
7804 * sysdeps/libm-i387/s_expm1.S: Moved to ...
7805 * sysdeps/i386/fpu/s_expm1.S: ...here.
7806 * sysdeps/libm-i387/s_expm1f.S: Moved to ...
7807 * sysdeps/i386/fpu/s_expm1f.S: ...here.
7808 * sysdeps/libm-i387/s_expm1l.S: Moved to ...
7809 * sysdeps/i386/fpu/s_expm1l.S: ...here.
7810 * sysdeps/libm-i387/s_fdim.S: Moved to ...
7811 * sysdeps/i386/fpu/s_fdim.S: ...here.
7812 * sysdeps/libm-i387/s_fdimf.S: Moved to ...
7813 * sysdeps/i386/fpu/s_fdimf.S: ...here.
7814 * sysdeps/libm-i387/s_fdiml.S: Moved to ...
7815 * sysdeps/i386/fpu/s_fdiml.S: ...here.
7816 * sysdeps/libm-i387/s_finite.S: Moved to ...
7817 * sysdeps/i386/fpu/s_finite.S: ...here.
7818 * sysdeps/libm-i387/s_finitef.S: Moved to ...
7819 * sysdeps/i386/fpu/s_finitef.S: ...here.
7820 * sysdeps/libm-i387/s_finitel.S: Moved to ...
7821 * sysdeps/i386/fpu/s_finitel.S: ...here.
7822 * sysdeps/libm-i387/s_floor.S: Moved to ...
7823 * sysdeps/i386/fpu/s_floor.S: ...here.
7824 * sysdeps/libm-i387/s_floorf.S: Moved to ...
7825 * sysdeps/i386/fpu/s_floorf.S: ...here.
7826 * sysdeps/libm-i387/s_floorl.S: Moved to ...
7827 * sysdeps/i386/fpu/s_floorl.S: ...here.
7828 * sysdeps/libm-i387/s_fma.S: Moved to ...
7829 * sysdeps/i386/fpu/s_fma.S: ...here.
7830 * sysdeps/libm-i387/s_fmaf.S: Moved to ...
7831 * sysdeps/i386/fpu/s_fmaf.S: ...here.
7832 * sysdeps/libm-i387/s_fmal.S: Moved to ...
7833 * sysdeps/i386/fpu/s_fmal.S: ...here.
7834 * sysdeps/libm-i387/s_fmax.S: Moved to ...
7835 * sysdeps/i386/fpu/s_fmax.S: ...here.
7836 * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
7837 * sysdeps/i386/fpu/s_fmaxf.S: ...here.
7838 * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
7839 * sysdeps/i386/fpu/s_fmaxl.S: ...here.
7840 * sysdeps/libm-i387/s_fmin.S: Moved to ...
7841 * sysdeps/i386/fpu/s_fmin.S: ...here.
7842 * sysdeps/libm-i387/s_fminf.S: Moved to ...
7843 * sysdeps/i386/fpu/s_fminf.S: ...here.
7844 * sysdeps/libm-i387/s_fminl.S: Moved to ...
7845 * sysdeps/i386/fpu/s_fminl.S: ...here.
7846 * sysdeps/libm-i387/s_frexp.S: Moved to ...
7847 * sysdeps/i386/fpu/s_frexp.S: ...here.
7848 * sysdeps/libm-i387/s_frexpf.S: Moved to ...
7849 * sysdeps/i386/fpu/s_frexpf.S: ...here.
7850 * sysdeps/libm-i387/s_frexpl.S: Moved to ...
7851 * sysdeps/i386/fpu/s_frexpl.S: ...here.
7852 * sysdeps/libm-i387/s_ilogb.S: Moved to ...
7853 * sysdeps/i386/fpu/s_ilogb.S: ...here.
7854 * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
7855 * sysdeps/i386/fpu/s_ilogbf.S: ...here.
7856 * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
7857 * sysdeps/i386/fpu/s_ilogbl.S: ...here.
7858 * sysdeps/libm-i387/s_llrint.S: Moved to ...
7859 * sysdeps/i386/fpu/s_llrint.S: ...here.
7860 * sysdeps/libm-i387/s_llrintf.S: Moved to ...
7861 * sysdeps/i386/fpu/s_llrintf.S: ...here.
7862 * sysdeps/libm-i387/s_llrintl.S: Moved to ...
7863 * sysdeps/i386/fpu/s_llrintl.S: ...here.
7864 * sysdeps/libm-i387/s_log1p.S: Moved to ...
7865 * sysdeps/i386/fpu/s_log1p.S: ...here.
7866 * sysdeps/libm-i387/s_log1pf.S: Moved to ...
7867 * sysdeps/i386/fpu/s_log1pf.S: ...here.
7868 * sysdeps/libm-i387/s_log1pl.S: Moved to ...
7869 * sysdeps/i386/fpu/s_log1pl.S: ...here.
7870 * sysdeps/libm-i387/s_log2.S: Moved to ...
7871 * sysdeps/i386/fpu/s_log2.S: ...here.
7872 * sysdeps/libm-i387/s_log2f.S: Moved to ...
7873 * sysdeps/i386/fpu/s_log2f.S: ...here.
7874 * sysdeps/libm-i387/s_log2l.S: Moved to ...
7875 * sysdeps/i386/fpu/s_log2l.S: ...here.
7876 * sysdeps/libm-i387/s_logb.S: Moved to ...
7877 * sysdeps/i386/fpu/s_logb.S: ...here.
7878 * sysdeps/libm-i387/s_logbf.S: Moved to ...
7879 * sysdeps/i386/fpu/s_logbf.S: ...here.
7880 * sysdeps/libm-i387/s_logbl.S: Moved to ...
7881 * sysdeps/i386/fpu/s_logbl.S: ...here.
7882 * sysdeps/libm-i387/s_lrint.S: Moved to ...
7883 * sysdeps/i386/fpu/s_lrint.S: ...here.
7884 * sysdeps/libm-i387/s_lrintf.S: Moved to ...
7885 * sysdeps/i386/fpu/s_lrintf.S: ...here.
7886 * sysdeps/libm-i387/s_lrintl.S: Moved to ...
7887 * sysdeps/i386/fpu/s_lrintl.S: ...here.
7888 * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
7889 * sysdeps/i386/fpu/s_nearbyint.S: ...here.
7890 * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
7891 * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
7892 * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
7893 * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
7894 * sysdeps/libm-i387/s_remquo.S: Moved to ...
7895 * sysdeps/i386/fpu/s_remquo.S: ...here.
7896 * sysdeps/libm-i387/s_remquof.S: Moved to ...
7897 * sysdeps/i386/fpu/s_remquof.S: ...here.
7898 * sysdeps/libm-i387/s_remquol.S: Moved to ...
7899 * sysdeps/i386/fpu/s_remquol.S: ...here.
7900 * sysdeps/libm-i387/s_rint.S: Moved to ...
7901 * sysdeps/i386/fpu/s_rint.S: ...here.
7902 * sysdeps/libm-i387/s_rintf.S: Moved to ...
7903 * sysdeps/i386/fpu/s_rintf.S: ...here.
7904 * sysdeps/libm-i387/s_rintl.S: Moved to ...
7905 * sysdeps/i386/fpu/s_rintl.S: ...here.
7906 * sysdeps/libm-i387/s_scalbn.S: Moved to ...
7907 * sysdeps/i386/fpu/s_scalbn.S: ...here.
7908 * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
7909 * sysdeps/i386/fpu/s_scalbnf.S: ...here.
7910 * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
7911 * sysdeps/i386/fpu/s_scalbnl.S: ...here.
7912 * sysdeps/libm-i387/s_significand.S: Moved to ...
7913 * sysdeps/i386/fpu/s_significand.S: ...here.
7914 * sysdeps/libm-i387/s_significandf.S: Moved to ...
7915 * sysdeps/i386/fpu/s_significandf.S: ...here.
7916 * sysdeps/libm-i387/s_significandl.S: Moved to ...
7917 * sysdeps/i386/fpu/s_significandl.S: ...here.
7918 * sysdeps/libm-i387/s_sin.S: Moved to ...
7919 * sysdeps/i386/fpu/s_sin.S: ...here.
7920 * sysdeps/libm-i387/s_sincos.S: Moved to ...
7921 * sysdeps/i386/fpu/s_sincos.S: ...here.
7922 * sysdeps/libm-i387/s_sincosf.S: Moved to ...
7923 * sysdeps/i386/fpu/s_sincosf.S: ...here.
7924 * sysdeps/libm-i387/s_sincosl.S: Moved to ...
7925 * sysdeps/i386/fpu/s_sincosl.S: ...here.
7926 * sysdeps/libm-i387/s_sinf.S: Moved to ...
7927 * sysdeps/i386/fpu/s_sinf.S: ...here.
7928 * sysdeps/libm-i387/s_sinl.S: Moved to ...
7929 * sysdeps/i386/fpu/s_sinl.S: ...here.
7930 * sysdeps/libm-i387/s_tan.S: Moved to ...
7931 * sysdeps/i386/fpu/s_tan.S: ...here.
7932 * sysdeps/libm-i387/s_tanf.S: Moved to ...
7933 * sysdeps/i386/fpu/s_tanf.S: ...here.
7934 * sysdeps/libm-i387/s_tanl.S: Moved to ...
7935 * sysdeps/i386/fpu/s_tanl.S: ...here.
7936 * sysdeps/libm-i387/s_trunc.S: Moved to ...
7937 * sysdeps/i386/fpu/s_trunc.S: ...here.
7938 * sysdeps/libm-i387/s_truncf.S: Moved to ...
7939 * sysdeps/i386/fpu/s_truncf.S: ...here.
7940 * sysdeps/libm-i387/s_truncl.S: Moved to ...
7941 * sysdeps/i386/fpu/s_truncl.S: ...here.
7942 * sysdeps/libm-ieee754/k_standard.c: Moved to ...
7943 * sysdeps/ieee754/k_standard.c: ...here.
7944 * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
7945 * sysdeps/ieee754/s_lib_version.c: ...here.
7946 * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
7947 * sysdeps/ieee754/s_matherr.c: ...here.
7948 * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
7949 * sysdeps/ieee754/s_signgam.c: ...here.
7950 * sysdeps/ieee754/dbl2mpn.c: Moved to ...
7951 * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
7952 * sysdeps/ieee754/mpn2dbl.c: Moved to ...
7953 * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
7954 * sysdeps/libm-ieee754/e_acos.c: Moved to ...
7955 * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
7956 * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
7957 * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
7958 * sysdeps/libm-ieee754/e_asin.c: Moved to ...
7959 * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
7960 * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
7961 * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
7962 * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
7963 * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
7964 * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
7965 * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
7966 * sysdeps/libm-ieee754/e_exp.c: Moved to ...
7967 * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
7968 * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
7969 * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
7970 * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
7971 * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
7972 * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
7973 * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
7974 * sysdeps/libm-ieee754/e_j0.c: Moved to ...
7975 * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
7976 * sysdeps/libm-ieee754/e_j1.c: Moved to ...
7977 * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
7978 * sysdeps/libm-ieee754/e_jn.c: Moved to ...
7979 * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
7980 * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
7981 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
7982 * sysdeps/libm-ieee754/e_log.c: Moved to ...
7983 * sysdeps/ieee754/dbl-64/e_log.c: ...here.
7984 * sysdeps/libm-ieee754/e_log10.c: Moved to ...
7985 * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
7986 * sysdeps/libm-ieee754/e_pow.c: Moved to ...
7987 * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
7988 * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
7989 * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
7990 * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
7991 * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
7992 * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
7993 * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
7994 * sysdeps/libm-ieee754/k_cos.c: Moved to ...
7995 * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
7996 * sysdeps/libm-ieee754/k_sin.c: Moved to ...
7997 * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
7998 * sysdeps/libm-ieee754/k_tan.c: Moved to ...
7999 * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
8000 * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
8001 * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
8002 * sysdeps/libm-ieee754/s_atan.c: Moved to ...
8003 * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
8004 * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
8005 * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
8006 * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
8007 * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
8008 * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
8009 * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
8010 * sysdeps/libm-ieee754/s_cos.c: Moved to ...
8011 * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
8012 * sysdeps/libm-ieee754/s_erf.c: Moved to ...
8013 * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
8014 * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
8015 * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
8016 * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
8017 * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
8018 * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
8019 * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
8020 * sysdeps/libm-ieee754/s_finite.c: Moved to ...
8021 * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
8022 * sysdeps/libm-ieee754/s_floor.c: Moved to ...
8023 * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
8024 * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
8025 * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
8026 * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
8027 * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
8028 * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
8029 * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
8030 * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
8031 * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
8032 * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
8033 * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
8034 (__isnan): Comment above function says it returns 0 or 1, but it
8035 used to return 0 or -1.
8036 * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
8037 * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
8038 * sysdeps/libm-ieee754/s_llround.c: Moved to ...
8039 * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
8040 * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
8041 * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
8042 * sysdeps/libm-ieee754/s_log2.c: Moved to ...
8043 * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
8044 * sysdeps/libm-ieee754/s_logb.c: Moved to ...
8045 * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
8046 * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
8047 * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
8048 * sysdeps/libm-ieee754/s_lround.c: Moved to ...
8049 * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
8050 * sysdeps/libm-ieee754/s_modf.c: Moved to ...
8051 * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
8052 * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
8053 * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
8054 * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
8055 * sysdeps/generic/s_nextafter.c: ...here.
8056 Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
8057 * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
8058 * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
8059 * sysdeps/libm-ieee754/s_rint.c: Moved to ...
8060 * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
8061 * sysdeps/libm-ieee754/s_round.c: Moved to ...
8062 * sysdeps/ieee754/dbl-64/s_round.c: ...here.
8063 * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
8064 * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
8065 * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
8066 * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
8067 * sysdeps/libm-ieee754/s_sin.c: Moved to ...
8068 * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
8069 * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
8070 * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
8071 * sysdeps/libm-ieee754/s_tan.c: Moved to ...
8072 * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
8073 * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
8074 * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
8075 * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
8076 * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
8077 * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
8078 * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
8079 * sysdeps/libm-ieee754/w_exp.c: Moved to ...
8080 * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
8081 * sysdeps/ieee754/mpn2flt.c: Moved to ...
8082 * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
8083 * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
8084 * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
8085 * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
8086 * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
8087 * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
8088 * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
8089 * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
8090 * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
8091 * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
8092 * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
8093 * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
8094 * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
8095 * sysdeps/libm-ieee754/e_expf.c: Moved to ...
8096 * sysdeps/ieee754/flt-32/e_expf.c: ...here.
8097 * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
8098 * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
8099 * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
8100 * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
8101 * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
8102 * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
8103 * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
8104 * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
8105 * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
8106 * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
8107 * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
8108 * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
8109 * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
8110 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
8111 * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
8112 * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
8113 * sysdeps/libm-ieee754/e_logf.c: Moved to ...
8114 * sysdeps/ieee754/flt-32/e_logf.c: ...here.
8115 * sysdeps/libm-ieee754/e_powf.c: Moved to ...
8116 * sysdeps/ieee754/flt-32/e_powf.c: ...here.
8117 * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
8118 * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
8119 * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
8120 * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
8121 * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
8122 * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
8123 * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
8124 * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
8125 * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
8126 * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
8127 * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
8128 * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
8129 * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
8130 * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
8131 * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
8132 * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
8133 * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
8134 * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
8135 * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
8136 * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
8137 * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
8138 * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
8139 * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
8140 * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
8141 * sysdeps/libm-ieee754/s_erff.c: Moved to ...
8142 * sysdeps/ieee754/flt-32/s_erff.c: ...here.
8143 * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
8144 * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
8145 * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
8146 * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
8147 * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
8148 * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
8149 * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
8150 * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
8151 * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
8152 * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
8153 * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
8154 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
8155 * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
8156 * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
8157 * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
8158 * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
8159 * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
8160 * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
8161 * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
8162 * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
8163 * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
8164 * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
8165 * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
8166 * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
8167 * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
8168 * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
8169 * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
8170 * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
8171 * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
8172 * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
8173 * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
8174 * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
8175 * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
8176 * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
8177 * sysdeps/libm-ieee754/s_modff.c: Moved to ...
8178 * sysdeps/ieee754/flt-32/s_modff.c: ...here.
8179 * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
8180 * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
8181 * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
8182 * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
8183 * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
8184 * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
8185 * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
8186 * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
8187 * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
8188 * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
8189 * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
8190 * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
8191 * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
8192 * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
8193 * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
8194 * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
8195 * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
8196 * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
8197 * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
8198 * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
8199 * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
8200 * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
8201 * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
8202 * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
8203 * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
8204 * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
8205 * sysdeps/libm-ieee754/w_expf.c: Moved to ...
8206 * sysdeps/ieee754/flt-32/w_expf.c: ...here.
8207 * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
8208 * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
8209 * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
8210 * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
8211 * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
8212 * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
8213 * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
8214 * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
8215 * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
8216 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
8217 * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
8218 * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
8219 * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
8220 * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
8221 * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
8222 * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
8223 * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
8224 * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
8225 * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
8226 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
8227 * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
8228 * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
8229 * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
8230 * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
8231 * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
8232 * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
8233 * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
8234 * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
8235 * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
8236 * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
8237 * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
8238 * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
8239 * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
8240 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
8241 * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
8242 * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
8243 * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
8244 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
8245 * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
8246 * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
8247 * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
8248 * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
8249 * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
8250 * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
8251 * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
8252 * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
8253 * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
8254 * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
8255 * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
8256 * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
8257 (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
8258 INSERT_WORDS.
8259 * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
8260 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
8261 (__nearbyintl): Fix for exponents 2^30.
8262 * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
8263 * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
8264 * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
8265 * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
8266 (__rintl): Fix for exponents 2^30.
8267 * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
8268 * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
8269 * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
8270 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
8271 (__scalbnl): Fix exponent for subnormal result.
8272 * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
8273 * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
8274 * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
8275 * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
8276 * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
8277 * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
8278 * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
8279 * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
8280 * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
8281 * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
8282 * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
8283 * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
8284 * sysdeps/libm-ieee754/w_expl.c: Moved to ...
8285 * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
8286 * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
8287 * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
8288 * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
8289 * sysdeps/i386/fpu/s_scalblnf.c: ...here.
8290 * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
8291 * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
8292 * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
8293 * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
8294 * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
8295 * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
8296 * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
8297 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
8298 * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
8299 * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
8300 * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
8301 * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
8302 * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
8303 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
8304 * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
8305 * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
8306 * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
8307 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
8308 * sysdeps/libm-i387/s_scalbln.c: Moved to ...
8309 * sysdeps/i386/fpu/s_scalbln.c: ...here.
8310 * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
8311 * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
8312 * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
8313 * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
8314 * sysdeps/libm-i387/t_exp.c: Moved to ...
8315 * sysdeps/i386/fpu/t_exp.c: ...here.
8316 * sysdeps/libm-ieee754/t_exp.c: Moved to ...
8317 * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
8318 * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
8319 * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
8320 * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
8321 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
8322 * sysdeps/libm-i387/s_isinfl.c: Moved to ...
8323 * sysdeps/i386/fpu/s_isinfl.c: ...here.
8324 * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
8325 * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
8326 * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
8327 * sysdeps/i386/fpu/s_scalblnl.c: ...here.
8328 * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
8329 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
8330 Fix exponent for subnormal result.
8331 * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
8332 * sysdeps/generic/s_nexttowardl.c: ...here.
8333 * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
8334 * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
8335 * sysdeps/libm-i387/s_isnanl.c: Moved to ...
8336 * sysdeps/i386/fpu/s_isnanl.c: ...here.
8337 * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
8338 * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
8339 Comment above function says it returns 0 or 1, but it used to return
8340 0 or -1.
8341 * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
8342 * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
8343 * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
8344 * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
8345 * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
8346 * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
8347 * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
8348 * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
8349 * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
8350 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
8351 Cannot compare exponents with different biases without adjusting.
8352 * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
8353 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
8354 Cannot compare exponents with different biases without adjusting.
8355 * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
8356 * sysdeps/i386/fpu/s_nextafterl.c: ...here.
8357 * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
8358 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
8359 * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
8360 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
8361 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
8362 * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
8363 * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
8364 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
8365 * sysdeps/libm-ieee754/Dist: Split into ...
8366 * sysdeps/ieee754/dbl-64/Dist: ...this and ...
8367 * sysdeps/ieee754/flt-32/Dist: ...this file.
8368
8369 * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
8370 * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
8371 * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
8372 * sysdeps/ieee754/ldbl-96/strtold.c: New file.
8373 * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
8374 * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
8375 * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
8376 * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
8377 * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
8378 * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
8379 * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
8380 * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
8381 * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
8382 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
8383 * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
8384 * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
8385 * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
8386 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
8387 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
8388 * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
8389 * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
8390 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
8391 * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
8392 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
8393 * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
8394 * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
8395 * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
8396 * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
8397 * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
8398 * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
8399 * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
8400 * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
8401 * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
8402 * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
8403 * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
8404 * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
8405 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
8406 * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
8407 * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
8408 * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
8409 * sysdeps/ieee754/ldbl-128/strtold.c: New file.
8410 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
8411 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
8412 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
8413 * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
8414 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
8415 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
8416
8417 * sysdeps/generic/math_ldbl.h: New file.
8418 * sysdeps/generic/s_nexttowardf.c: New file.
8419 * sysdeps/generic/strtold.c: New file.
8420 * sysdeps/generic/ldbl2mpn.c: New file.
8421
8422 * math/machine/endian.h: Remove.
8423 * sysdeps/i386/fpu/Implies: Remove.
8424 * sysdeps/ieee754/Implies: Remove.
8425
8426 * math/math_private.h: Move long double macros to math_ldbl.h
8427 header.
8428
8429 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
8430
8431 * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
8432 connections without a hostname set address to localhost address.
8433
8434 1999-07-11 H.J. Lu <hjl@gnu.org>
8435
8436 * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
8437 nscd's own strong version of the get[a-z]*_r function.
8438 * nscd/hstcache.c: Likewise.
8439 * nscd/pwdcache.c: Likewise.
8440
8441 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
8442
8443 * configure.in: Recognize 2.95 as gcc version number.
8444 Patch by Joel Klecker <jk@espy.org>.
8445
8446 1999-07-12 Andreas Schwab <schwab@suse.de>
8447
8448 * elf/rtld.c (dl_main): When putting back the interpreter object
8449 handle the case where a missing object might occur in the list of
8450 objects but not in the search list when in trace mode.
8451
8452 1999-07-11 Ulrich Drepper <drepper@cygnus.com>
8453
8454 * Versions.def (libnss_hesiod): Add GLIBC_2.2.
8455 * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
8456 _nss_hesiod_initgroups.
8457
8458 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
8459
8460 * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
8461 (_hurd_set_brk, init_brk): Use that instead of &__data_start.
8462 Initialize it from &__data_start if defined, or else &_end.
8463
8464 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
8465
8466 * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
8467 for MAP_ANON, prot==PROT_READ|PROT_WRITE.
8468
8469 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
8470
8471 * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
8472
8473 1999-07-09 H.J. Lu <hjl@gnu.org>
8474
8475 * Versions.def (GLIBC_2.1.2): Added.
8476
8477 * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
8478 old one as GLIBC_2.0.
8479 * nss/getXXbyYY_r.c: Likewise.
8480
8481 * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
8482 GLIBC_2.1.2.
8483 * inet/Versions (getaliasbyname_r, getaliasent_r,
8484 gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
8485 gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
8486 getnetgrent_r, getprotobyname_r, getprotobynumber_r,
8487 getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
8488 getservbyname_r): Likewise.
8489 * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
8490 * shadow/Versions (getspent_r, getspnam_r): Likewise.
8491
8492 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
8493
8494 * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
8495 compilers.
8496 (__memset_cc): Likewise.
8497
8498 * sysdeps/generic/libc-start.c: For SUID binaries check whether
8499 the standard file descriptors are open.
8500 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
8501
8502 * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
8503 * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
8504 range of mmap. If not fail.
8505 Patches by Daniel Jacobowitz <dan@debian.org>.
8506
8507 * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
8508 before the relocation happened.
8509 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
8510
8511 * Versions.def (libnsl): Add GLIBC_2.2.
8512 * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
8513
8514 1999-07-08 Cristian Gafton <gafton@redhat.com>
8515
8516 * nis/yp_xdr.c (xdr_ypall): New function.
8517
8518 1999-07-09 Andreas Schwab <schwab@suse.de>
8519
8520 * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
8521
8522 * dlfcn/Makefile (headers): Add bits/dlfcn.h.
8523
8524 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
8525
8526 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
8527 * hesiod/hesiod-grp.c: Add initgroups support.
8528 Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
8529
8530 1999-07-08 Andreas Schwab <schwab@suse.de>
8531
8532 * libio/iofopncook.c (fopencookie): Set _fileno to -2.
8533
8534 * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
8535 negative numbers.
8536
8537 * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
8538 EOF.
8539 * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
8540
8541 1999-07-08 Andreas Schwab <schwab@suse.de>
8542
8543 * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
8544
8545 1999-07-08 Andreas Schwab <schwab@suse.de>
8546
8547 * libio/fileno.c: Return -1 instead of EOF and set errno if the
8548 stream is not a real file stream.
8549
8550 1999-07-08 Andreas Schwab <schwab@suse.de>
8551
8552 * manual/charset.texi: Fix typos.
8553
8554 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
8555
8556 * sysdeps/gnu/Makefile (libdl-routines): Add eval.
8557
8558 1999-07-06 Zack Weinberg <zack@rabi.columbia.edu>
8559
8560 * dlfcn: New directory. Move the following files from elf:
8561 dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
8562 dlopenold.c, dlsym.c, dlvsym.c.
8563 * dlfcn/Makefile: New file.
8564 * dlfcn/Versions: New file.
8565 * dlfcn/dlsym.c: All ELF-specific code split out to new
8566 function _dl_sym.
8567 * dlfcn/dlvsym.c: All ELF-specific code split out to new
8568 function _dl_vsym.
8569 * elf/dl-sym.c: New file. _dl_sym and _dl_vsym are
8570 implemented here.
8571
8572 * dlfcn/dladdr.c: Remove all references to ELF data structures
8573 or headers.
8574 * dlfcn/dlclose.c: Likewise.
8575 * dlfcn/dlerror.c: Likewise.
8576 * dlfcn/dlopen.c: Likewise.
8577 * dlfcn/dlopenold.c: Likewise.
8578
8579 * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
8580 yes, empty otherwise.
8581 (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
8582 depending on build-shared.
8583 (subdirs): Add $(dlfcn).
8584 (rpath-dirs): Add dlfcn.
8585 * elf/Makefile: Remove all references to libdl or its
8586 components, except the ones relating to the test cases.
8587 (routines): Add dl-sym.
8588 * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
8589 (libdl): Delete.
8590
8591 * elf/dl-close.c (_dl_close): Change argument to void *.
8592 * elf/dl-open.c (_dl_open): Change return type to void *.
8593 * elf/eval.c: Removed.
8594 * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
8595 _dlerror_run, _dl_open, _dl_close, _dl_addr, and
8596 _dl_mcount_wrapper_check to include/dlfcn.h. Delete
8597 _CALL_DL_FCT macro.
8598 * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
8599 Include real header from dlfcn directory.
8600 * include/ldsodefs.h: Removed.
8601
8602 * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
8603 * nss/getXXbyYY_r.c: Likewise.
8604 * nss/getXXent_r.c: Likewise.
8605 * iconv/gconv.c: Likewise. Don't include ldsodefs.h.
8606 * iconv/gconv_db.c: Likewise. Don't include ldsodefs.h.
8607 * iconv/skeleton.c: Don't include ldsodefs.h.
8608 * nss/nsswitch.h: Don't include ldsodefs.h. Include dlfcn.h.
8609
8610 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
8611
8612 * sysdeps/generic/setenv.c: Describe problem.
8613
8614 * malloc/malloc.c (request2size): Also set errno if failing.
8615
8616 * malloc/malloc.c (request2size): Take care of overflow in
8617 addition.
8618
8619 * sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd
8620 (NULL, != 0) correctly.
8621
8622 * elf/dl-load.c: Use a few more __builtin_expect.
8623
8624 * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
8625 is large enough.
8626
8627 1999-07-07 Andreas Schwab <schwab@suse.de>
8628
8629 * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
8630 (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
8631 (_PATH_DEVPTMX): Use _PATH_DEV.
8632
8633 1999-07-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8634
8635 * malloc/tst-malloc.c: New file. Tests some basic functionality.
8636 * malloc/Makefile (tests): Add tst-malloc.
8637
8638 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
8639
8640 * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
8641 convention.
8642
8643 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
8644 motherboards.
8645 Patch by Jay Estabrook.
8646
8647 * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
8648 ldd for SPARC.
8649 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
8650 Patch by Cristian Gafton.
8651
8652 1999-07-02 Cristian Gafton <gafton@redhat.com>
8653
8654 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
8655 instead of "return NULL" to make C++ happy.
8656
8657 1999-07-04 Mark Kettenis <kettenis@gnu.org>
8658
8659 * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
8660 allowed by the file access mode of the open file.
8661
8662 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
8663
8664 * sysdeps/generic/setfpucw.c: Include math.h to get all needed
8665 macros defined.
8666
8667 1999-07-03 Jakub Jelinek <jj@ultra.linux.cz>
8668
8669 * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
8670 * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
8671 * sysdeps/sparc/sparc64/rshift.S: Likewise.
8672 * sysdeps/sparc/sparc64/mul_1.S: Optimize.
8673
8674 1999-07-04 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
8675
8676 * malloc/malloc.c (request2size): Check for overflow and return
8677 NULL whenever it is encountered.
8678
8679 1999-07-04 Zack Weinberg <zack@rabi.columbia.edu>
8680
8681 * sysdeps/posix/tempname.c (__gen_tempname): Add
8682 ability to create directories. Replace OPENIT and LARGEFILE
8683 args with a single flags parameter.
8684 * sysdeps/generic/tempname.c: Likewise.
8685 * include/stdio.h: Adjust prototype of __gen_tempname to
8686 match. Define symbolic constants for second argument.
8687
8688 * misc/mkdtemp.c: New file, provides new function mkdtemp().
8689 * stdlib/stdlib.h: Prototype it.
8690 * misc/Versions: Export it.
8691 * misc/Makefile (routines): Add mktemp.
8692 * manual/filesys.texi: Document it.
8693
8694 * misc/mktemp.c: Adjust call of __gen_tempname to match new
8695 convention.
8696 * misc/mkstemp.c: Likewise.
8697 * stdio-common/tempnam.c: Likewise.
8698 * stdio-common/tmpfile.c: Likewise.
8699 * stdio-common/tmpfile64.c: Likewise.
8700 * stdio-common/tmpnam.c: Likewise.
8701 * stdio-common/tmpnam_r.c: Likewise.
8702
8703 1999-07-05 Jakub Jelinek <jj@ultra.linux.cz>
8704
8705 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
8706 R_SPARC_OLO10 relocations.
8707 * elf/elf.h (R_SPARC_OLO10): Fix comment.
8708
8709 1999-07-02 Tim Waugh <tim@cyberelk.demon.co.uk>
8710
8711 * posix/wordexp-test.c: Revert bogus 'unset IFS' change. It
8712 doesn't belong in the tests, but in the wordexp implementation.
8713
8714 * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
8715 split fields.
8716
8717 1999-07-01 Cristian Gafton <gafton@redhat.com>
8718
8719 * time/strptime.c (strptime): Initialize the tm struct first to avoid
8720 returning bogus results on incomplete data.
8721 (strptime_internal): day_of_the_week() requres both tm_mon and
8722 tm_mday to be initialized.
8723 Compute them first if they are not given.
8724 (strptime_internal): (have_mon, have_mday): New variables.
8725
8726 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8727
8728 * inet/rcmd.c (__icheckhost): Fix typo in last patch.
8729
8730 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8731
8732 * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
8733 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8734
8735 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8736
8737 * posix/wordexp.c (parse_tilde): Handle failing call to
8738 get.*_r functions correctly for non-existing entry.
8739 * sysdeps/posix/cuserid.c (cuserid): Likewise.
8740 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
8741
8742 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
8743
8744 * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
8745 getxxbyYY_r functions correctly for non-existing entry.
8746 * sunrpc/getrpcport.c: Likewise.
8747 * sunrpc/clnt_simp.c: Likewise.
8748 * inet/rexec.c: Likewise.
8749 * sunrpc/clnt_gen.c: Likewise.
8750 * inet/rcmd.c: Likewise.
8751 * sysdeps/generic/glob.c: Likewise.
8752
8753 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8754
8755 * pwd/Makefile (tests): Add rules for tst-getpw.
8756
8757 * pwd/tst-getpw.c: New program to test getpw.
8758
8759 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8760
8761 * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
8762 correctly.
8763
8764 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8765
8766 * manual/arith.texi (System V Number Conversion): Fix the
8767 description which confused pointer and value to pointer.
8768 Reported by Andries.Brouwer@cwi.nl.
8769
8770 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8771
8772 * pwd/getpw.c (__getpw): Check for NULL result pointer.
8773
8774 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8775
8776 * manual/users.texi (Lookup User): Document POSIX return
8777 semantics for getpwuid_r and getgrgid_r.
8778
8779 * manual/socket.texi (Host Names): Document that the result
8780 pointer is null in case of error or host not found and fix a
8781 typo. Give a small example.
8782
8783 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
8784
8785 * pwd/getpw.c: Add warning since no buffer size is given and
8786 therefore no overrun tests are possible.
8787
8788 1999-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8789
8790 * pwd/pwd.h: Add getpw prototype declaration.
8791
8792 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
8793
8794 * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
8795 * wcsmbs/wcschr.c: Likewise.
8796
8797 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
8798
8799 * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
8800 returns.
8801 * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
8802 * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
8803 Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
8804
8805 * elf/dl-dst.h: Fix typo.
8806 * elf/dl-open.c: Likewise.
8807
8808 1999-06-26 Zack Weinberg <zack@rabi.columbia.edu>
8809
8810 * elf/dl-libc.c: New file, provides three functions:
8811 __libc_dlopen, __libc_dlclose, __libc_dlsym.
8812 * include/dlfcn.h: Prototype them. Prototype _dl_addr.
8813 * elf/Makefile (routines): Add dl-libc.c.
8814 * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
8815 argument to void *.
8816 * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
8817
8818 * iconv/gconv.c: Include dlfcn.h.
8819 * iconv/gconv_db.c: Likewise.
8820 * malloc/mtrace.c: Likewise. Don't include ldsodefs.h.
8821
8822 * iconv/gconv_int.h (struct __gconv_loaded_object): Change
8823 `handle' to a void *.
8824 (__gconv_find_func): Delete prototype.
8825
8826 * iconv/gconv_dl.c: Don't include ldsodefs.h. Remove
8827 dlerror_run and related functions and structs. Use
8828 __libc_dlopen, __libc_dlsym, __libc_dlclose.
8829 * nss/nsswitch.c: Likewise.
8830
8831 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
8832
8833 * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
8834 function correctly.
8835
8836 * sunrpc/getrpcport.c: Test for gethostbyname_r function
8837 correctly.
8838
8839 * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
8840
8841 * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
8842 functions correctly.
8843
8844 * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
8845
8846 * inet/rcmd.c: Test for gethostbyname_r result correctly. Optimize
8847 file reading a bit.
8848
8849 * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
8850
8851 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8852
8853 * manual/string.texi (Copying and Concatenation): Mention that
8854 strndup is a GNU extension.
8855
8856 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8857
8858 * pwd/getpw.c (__getpw): Fix check for error return.
8859
8860 1999-06-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8861
8862 * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
8863 occurence of the aux object start with the current list entry, not
8864 the new one. Adjust tail pointer in the unique list. Explain how
8865 the meaning of the variables changes [PR libc/1168].
8866
8867 1999-06-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8868
8869 * sysdeps/m68k/fpu/Dist: New file.
8870
8871 1999-06-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8872
8873 * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
8874 definitions...
8875 * sysdeps/m68k/fpu/mathimpl.h: ... here. New file.
8876 * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
8877 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
8878 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
8879 * sysdeps/m68k/fpu/e_pow.c: Likewise.
8880 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
8881 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
8882 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
8883 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
8884 * sysdeps/m68k/fpu/s_csin.c: Likewise.
8885 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
8886 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
8887 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
8888 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
8889 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
8890 * sysdeps/m68k/fpu/s_modf.c: Likewise.
8891
8892 1999-06-25 Roland McGrath <roland@baalperazim.frob.com>
8893
8894 * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
8895 hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
8896 _EXTERN_INLINE, use a macro specific to each file,
8897 _HURD_FD_H_EXTERN_INLINE and the like.
8898 * hurd/Makefile (inline-headers): New variable.
8899 (routines): Remove hurdinline. Add $(inlines).
8900 (inlines): New variable.
8901 ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
8902 (generated): Append those here.
8903 * hurd/hurdinline.c: File removed.
8904
8905 * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
8906
8907 * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
8908
8909 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8910
8911 * nscd/connections.c (nscd_run): Use correct type for optlen variable.
8912
8913 1999-06-25 Ulrich Drepper <drepper@cygnus.com>
8914
8915 * string/bits/string2.h (strnlen): Remove extra prototype.
8916
8917 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8918
8919 * manual/filesys.texi (Working on Directory Trees): Fix typos.
8920 Reported by Andries.Brouwer@cwi.nl.
8921
8922 1999-06-24 Ulrich Drepper <drepper@cygnus.com>
8923
8924 * nscd/connections.c (handle_request): Use correct type for optlen
8925 variable.
8926
8927 * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
8928 * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
8929
8930 1999-06-24 Thorsten Kukuk <kukuk@suse.de>
8931
8932 * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
8933 * nscd/pwdcache.c: Likewise.
8934 * nscd/hstcache.c: Likewise.
8935
8936 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
8937
8938 * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
8939
8940 * posix/getopt.h: Include stdio.h.
8941
8942 * manual/arith.texi: Document restriction of ndigit parameter of
8943 ecvt and friends.
8944 * misc/efgcvt.c: Define NDIGIT_MAX.
8945 (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
8946 Do not dynamically allocate the static buffers. They are small enough.
8947 * misc/efgcvt_r.c: Define NDIGIT_MAX.
8948 (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
8949 * misc/qefgcvt.c: Define NDIGIT_MAX.
8950 * misc/qefgcvt_r.c: Likewise.
8951 * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
8952
8953 1999-06-23 Zack Weinberg <zack@rabi.columbia.edu>
8954
8955 * libio/stdio.h: Define stdin, stdout, stderr as macros.
8956 * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
8957 These are *pragmas* not macros.
8958 * wcsmbs/wchar.h: Fix comment.
8959
8960 * grp/grp.h: Use __foo_t_defined convention to typedef things
8961 only once.
8962 * io/sys/stat.h: Likewise.
8963 * libio/stdio.h: Likewise.
8964 * posix/unistd.h: Likewise.
8965 * posix/sys/types.h: Likewise.
8966 * posix/sys/wait.h: Likewise.
8967 * pwd/pwd.h: Likewise.
8968 * signal/signal.h: Likewise.
8969 * sysdeps/generic/stdint.h: Likewise.
8970 * sysdeps/gnu/utmpx.h: Likewise.
8971 * termios/termios.h: Likewise.
8972
8973 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
8974
8975 * stdio/fputc.c: Don't define alias if fputc is defined as a
8976 macro.
8977 * stdio/putc.c: Define weak alias here since it is not done
8978 anymore in fputc.c.
8979
8980 1999-06-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8981
8982 * assert/assert.h: Don't produce `defined' as part of macro
8983 expansion.
8984
8985 1999-06-23 Roland McGrath <roland@baalperazim.frob.com>
8986
8987 * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
8988 OFFSET argument of (off_t) -1.
8989 * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
8990 OFFSET argument of (off_t) -1.
8991
8992 * sysdeps/mach/hurd/pwrite.c: New file.
8993 * sysdeps/mach/hurd/pread.c: New file.
8994
8995 * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
8996 pass it in the RPC instead of always -1.
8997 * hurd/fd-write.c (_hurd_fd_write): Likewise.
8998 * hurd/hurd/fd.h: Update decls.
8999
9000 1999-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9001
9002 * libio/wscanf.c: Include <wchar.h> for prototype.
9003
9004 1999-06-22 Ulrich Drepper <drepper@cygnus.com>
9005
9006 * manual/io.texi. Fix typos.
9007 * manual/stdio.texi: Likewise.
9008 Patches by Brian Youmans <3diff@gnu.org>.
9009
9010 1999-06-22 Geoff Keating <geoffk@ozemail.com.au>
9011
9012 * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
9013 bits of two words differ.
9014
9015 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9016
9017 * libio/Makefile (routines): Add putwchar and putwchar_u.
9018
9019 * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
9020 * libio/putwchar_u.c: Likewise. Use _IO_stdout instead of
9021 stdout. Fix parameter name.
9022
9023 * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
9024 * libio/getchar_u.c: Likewise.
9025
9026 * libio/putchar_u.c: Use _IO_stdout instead of stdout.
9027
9028 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9029
9030 * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
9031 macro expansion---it's undefined. Properly parenthesize
9032 substituted parameters.
9033 (__GLIBC_PREREQ): Likewise.
9034
9035 1999-06-21 Ulrich Drepper <drepper@cygnus.com>
9036
9037 * Makeconfig (CPPFLAGS): Revert last change. It has too many
9038 weird effects.
9039
9040 * stdlib/longlong.h: Provide __P definition if not already
9041 defined.
9042
9043 * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
9044
9045 1999-06-18 Thorsten Kukuk <kukuk@suse.de>
9046
9047 * sysdeps/alpha/atomicity.h: Correct counting of subsections.
9048
9049 1999-06-17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9050
9051 * stdlib/tst-strtoll.c: Avoid warning about huge constant.
9052
9053 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9054
9055 * stdio-common/vfprintf.c (group_member): Make parameters and
9056 return types pointers to CHAR_T instead of UCHAR_T.
9057 (vfprintf): Change type of work_buffer, workend and string to
9058 CHAR_T pointer/array.
9059 (process_arg, process_string_arg): Adjust/remove casts. Add
9060 missing use of L_ macro.
9061 (printf_unknown): Add missing uses of L_ macro.
9062
9063 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9064
9065 * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
9066 warning.
9067
9068 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9069
9070 * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF. Call
9071 _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
9072 (__wunderflow): Likewise.
9073 (_IO_switch_to_wget_mode): Likewise.
9074 (_IO_init_wmarker): Likewise.
9075
9076 * libio/wfileops.c (_IO_wfile_seekoff): Call
9077 _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
9078 (_IO_wfile_jumps): Fix pbackfail entry.
9079
9080 * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
9081 function if the stream is currently unoriented.
9082
9083 1999-06-19 Zack Weinberg <zack@rabi.columbia.edu>
9084
9085 * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
9086 Wrap all wide stream functions with #ifdef __USE_ISOC9X. Use
9087 __gnuc_va_list in v*w(printf|scanf) prototypes.
9088
9089 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9090
9091 * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
9092 1999-03-29 to iopopen also here.
9093 Reported by Richard Braakman <dark@xs4all.nl>.
9094
9095 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9096
9097 * include/features.h: Use __GNUC_PREREQ.
9098 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
9099
9100 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9101
9102 * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
9103 Change EOF to WEOF and remove cast.
9104 (UNGETC): Remove macro.
9105 (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
9106 * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
9107 Change ISASCII to isascii and MBRLEN to mbrlen.
9108 (parse_one_spec): Compare info.spec always against wchar_t
9109 values.
9110 * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
9111 (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
9112 (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
9113
9114 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9115
9116 * libio/Makefile (shared-only-routines): Add oldiofgetpos,
9117 oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
9118 (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
9119 oldiofsetpos64 only if doing versioning.
9120
9121 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
9122
9123 * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
9124
9125 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9126
9127 * libio/libio.h: Fix last patch.
9128
9129 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
9130
9131 * libio/libio.h (_IO_putwc): Correct type of first argument.
9132 * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
9133 putwc_unlocked, putwchar_unlocked): Likewise.
9134 * libio/fputwc.c: Likewise.
9135 * libio/fputwc_unlocked.c: Likewise.
9136 * libio/putwc.c: Likewise.
9137 * libio/putwc_unlocked.c: Likewise.
9138 * libio/putwchar.c: Likewise.
9139 * libio/putwchar_unlocked.c: Likewise.
9140
9141 1999-06-19 Roland McGrath <roland@baalperazim.frob.com>
9142
9143 * sysdeps/gnu/siglist.h: File moved to ...
9144 * sysdeps/generic/siglist.h: ... here. This file should be usable for
9145 any platform, since it just associates the SIG* macros with text names
9146 and descriptions. For any signal macros do not exist on every
9147 platform, we can use #ifdef tests here and still use this single
9148 common file for all platforms.
9149 * sysdeps/generic/siglist.c: Rewrite using <siglist.h>. This file
9150 should be usable for all platforms after the binary compatibility
9151 stuff in the current sysdeps/gnu version is no longer required.
9152 * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
9153 * sysdeps/generic/make_siglist.c: File removed.
9154 * sysdeps/mach/hurd/siglist.h: Use #include_next.
9155 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
9156
9157 1999-06-16 Roland McGrath <roland@baalperazim.frob.com>
9158
9159 * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
9160 * sysdeps/gnu/siglist.c: ... here.
9161 Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
9162 Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
9163 * sysdeps/gnu/siglist.h: New file, contents from linux version.
9164 Add entry for SIGLOST protected by #ifdef.
9165 * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
9166 and define OLD_SIGLIST_SIZE_STR.
9167 * sysdeps/mach/hurd/siglist.h: New file, likewise.
9168
9169 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
9170
9171 * include/features.h: Define new macros __GNUC_PREREQ and
9172 __GLIBC_PREREQ which can be used to test the version of gcc
9173 and glibc respectively.
9174
9175 * assert/assert.h: Use __GNUC_PREREQ.
9176 * intl/libintl.h: Likewise.
9177 * math/complex.h: Likewise.
9178 * math/tgmath.h: Likewise.
9179 * misc/sys/cdefs.h: Likewise.
9180 * posix/sys/types.h: Likewise.
9181 * socket/sys/socket.h: Likewise.
9182 * string/bits/string2.h: Likewise.
9183 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
9184 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
9185
9186 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
9187
9188 * include/libintl.h: Declare _libc_intl_domainname here.
9189 Define _ and N_ here.
9190 * include/libc-symbols.h: Don't include <libintl.h>. Don't
9191 define _ and N_. Don't declare _libc_intl_domainname.
9192 * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
9193
9194 * db2/config.h: Don't include sys/stat.h or define
9195 HAVE_ST_BLKSIZE here...
9196 * db2/compat.h: ...do it here.
9197
9198 * linuxthreads/internals.h: Include bits/libc-tsd.h after all
9199 other headers.
9200 * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
9201 * iconv/iconv.c: Include stddef.h for NULL.
9202 * malloc/malloc.h: Include features.h.
9203 * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
9204
9205 * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
9206 into the generated file.
9207 * sysdeps/gnu/errlist.awk: Likewise.
9208 * sysdeps/gnu/errlist.c: Rebuilt.
9209
9210 * assert/assert-perr.c: Include libintl.h.
9211 * assert/assert.c: Likewise.
9212 * elf/dl-open.c: Likewise.
9213 * elf/dlsym.c: Likewise.
9214 * elf/dlvsym.c: Likewise.
9215 * iconv/iconv_prog.c: Likewise.
9216 * inet/rcmd.c: Likewise.
9217 * inet/ruserpass.c: Likewise.
9218 * locale/programs/charset.c: Likewise.
9219 * locale/programs/ld-collate.c: Likewise.
9220 * locale/programs/ld-ctype.c: Likewise.
9221 * locale/programs/ld-messages.c: Likewise.
9222 * locale/programs/ld-monetary.c: Likewise.
9223 * locale/programs/ld-numeric.c: Likewise.
9224 * locale/programs/ld-time.c: Likewise.
9225 * locale/programs/locfile.c: Likewise.
9226 * locale/programs/repertoire.c: Likewise.
9227 * login/programs/database.c: Likewise.
9228 * login/programs/request.c: Likewise.
9229 * malloc/mcheck.c: Likewise.
9230 * misc/error.c: Likewise.
9231 * nis/nis_call.c: Likewise.
9232 * nis/nis_callback.c: Likewise.
9233 * nis/nis_error.c: Likewise.
9234 * nis/nis_local_names.c: Likewise.
9235 * nis/nis_print.c: Likewise.
9236 * nis/nis_print_group_entry.c: Likewise.
9237 * nis/ypclnt.c: Likewise.
9238 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9239 * nscd/cache.c: Likewise.
9240 * nscd/connections.c: Likewise.
9241 * nscd/grpcache.c: Likewise.
9242 * nscd/hstcache.c: Likewise.
9243 * nscd/nscd_conf.c: Likewise.
9244 * nscd/nscd_stat.c: Likewise.
9245 * nscd/pwdcache.c: Likewise.
9246 * posix/id.c: Likewise.
9247 * resolv/herror.c: Likewise.
9248 * stdio-common/psignal.c: Likewise.
9249 * string/strsignal.c: Likewise.
9250 * sunrpc/auth_unix.c: Likewise.
9251 * sunrpc/clnt_perr.c: Likewise.
9252 * sunrpc/clnt_raw.c: Likewise.
9253 * sunrpc/clnt_tcp.c: Likewise.
9254 * sunrpc/clnt_udp.c: Likewise.
9255 * sunrpc/clnt_unix.c: Likewise.
9256 * sunrpc/get_myaddr.c: Likewise.
9257 * sunrpc/pm_getmaps.c: Likewise.
9258 * sunrpc/pmap_clnt.c: Likewise.
9259 * sunrpc/pmap_rmt.c: Likewise.
9260 * sunrpc/rpc_main.c: Likewise.
9261 * sunrpc/rpc_scan.c: Likewise.
9262 * sunrpc/svc_run.c: Likewise.
9263 * sunrpc/svc_simple.c: Likewise.
9264 * sunrpc/svc_tcp.c: Likewise.
9265 * sunrpc/svc_udp.c: Likewise.
9266 * sunrpc/svc_unix.c: Likewise.
9267 * sunrpc/xdr_rec.c: Likewise.
9268 * sunrpc/xdr_ref.c: Likewise.
9269 * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
9270 * sysdeps/posix/gai_strerror.c: Likewise.
9271 * sysdeps/unix/siglist.c: Likewise.
9272 * sysdeps/unix/sysv/linux/siglist.c: Likewise.
9273 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9274 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
9275 * timezone/zic.c: Likewise.
9276
9277 1999-06-18 H.J. Lu <hjl@gnu.org>
9278
9279 * localedata/Makefile (charmaps): Exclude SCCS.
9280 (locales): Likewise.
9281 (repertoiremaps): Likewise.
9282
9283 1999-06-18 Ulrich Drepper <drepper@cygnus.com>
9284
9285 * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
9286 * sysdeps/generic/bsd-setjmp.c: Likewise.
9287
9288 * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
9289
9290 * iconv/gconv_open.c: Include string.h for memset prototype.
9291
9292 * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
9293 definitions.
9294
9295 * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
9296 assignment to avoid warning on 64bit platforms.
9297
9298 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
9299
9300 * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
9301
9302 * nss/getXXbyYY_r.c: Return error code not -1.
9303 * nss/getXXent_r.c: Likewise.
9304 * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
9305 small.
9306 * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
9307 value > 0 for error.
9308 * nscd/nscd_gethst_r.c: Likewise.
9309 * nscd/nscd_getpw_r.c: Likewise.
9310
9311 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9312
9313 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
9314 disciplines.
9315
9316 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9317
9318 * nscd/nscd_nischeck.c: Fix typos.
9319
9320 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
9321
9322 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
9323 always when oact is NULL.
9324 Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
9325
9326 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9327
9328 * math/libm-test.c (jn_test): Adjust delta.
9329
9330 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9331
9332 * libio/vwprintf.c: Include <wchar.h> for prototypes.
9333 * libio/wprintf.c: Likewise.
9334
9335 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9336
9337 * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
9338 to not write beyond allocated memory.
9339 Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
9340
9341 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
9342
9343 * malloc/mtrace.c: Keep lock while printing output lines.
9344 Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
9345
9346 1999-06-16 Ulrich Drepper <drepper@cygnus.com>
9347
9348 * configure.in: Add warnings about broken code.
9349
9350 * Versions.def: Add GLIBC_2.2 for libc.
9351
9352 * iconv/gconv.h: Make header suitable for inclusion in public header
9353 by protecting all names with __.
9354 * iconv/gconv.c: Adapt for symbol name changes.
9355 * iconv/gconv.h: Likewise.
9356 * iconv/gconv_builtin.c: Likewise.
9357 * iconv/gconv_close.c: Likewise.
9358 * iconv/gconv_db.c: Likewise.
9359 * iconv/gconv_dl.c: Likewise.
9360 * iconv/gconv_int.h: Likewise.
9361 * iconv/gconv_open.c: Likewise.
9362 * iconv/gconv_simple.c: Likewise.
9363 * iconv/iconv.c: Likewise.
9364 * iconv/iconv_close.c: Likewise.
9365 * iconv/iconv_open.c: Likewise.
9366 * iconv/loop.c: Likewise.
9367 * iconv/skeleton.c: Likewise.
9368 * iconvdata/8bit-gap.c: Likewise.
9369 * iconvdata/8bit-generic.c: Likewise.
9370 * iconvdata/ansi_x3.110.c: Likewise.
9371 * iconvdata/big5.c: Likewise.
9372 * iconvdata/cns11643.h: Likewise.
9373 * iconvdata/cns11643l1.h: Likewise.
9374 * iconvdata/euc-cn.c: Likewise.
9375 * iconvdata/euc-jp.c: Likewise.
9376 * iconvdata/euc-kr.c: Likewise.
9377 * iconvdata/euc-tw.c: Likewise.
9378 * iconvdata/gb2312.h: Likewise.
9379 * iconvdata/iso-2022-jp.c: Likewise.
9380 * iconvdata/iso-2022-kr.c: Likewise.
9381 * iconvdata/iso646.c: Likewise.
9382 * iconvdata/iso8859-1.c: Likewise.
9383 * iconvdata/iso_6937-2.c: Likewise.
9384 * iconvdata/iso_6937.c: Likewise.
9385 * iconvdata/jis0201.h: Likewise.
9386 * iconvdata/jis0208.h: Likewise.
9387 * iconvdata/jis0212.h: Likewise.
9388 * iconvdata/johab.c: Likewise.
9389 * iconvdata/ksc5601.h: Likewise.
9390 * iconvdata/sjis.c: Likewise.
9391 * iconvdata/t.61.c: Likewise.
9392 * iconvdata/uhc.c: Likewise.
9393 * stdlib/mblen.c: Likewise.
9394 * stdlib/mbtowc.c: Likewise.
9395 * stdlib/wctomb.c: Likewise.
9396 * wcsmbs/btowc.c: Likewise.
9397 * wcsmbs/mbrtowc.c: Likewise.
9398 * wcsmbs/mbsnrtowcs.c: Likewise.
9399 * wcsmbs/mbsrtowcs.c: Likewise.
9400 * wcsmbs/wchar.h: Likewise.
9401 * wcsmbs/wcrtomb.c: Likewise.
9402 * wcsmbs/wcsmbsload.c: Likewise.
9403 * wcsmbs/wcsmbsload.h: Likewise.
9404 * wcsmbs/wcsnrtombs.c: Likewise.
9405 * wcsmbs/wcsrtombs.c: Likewise.
9406 * wcsmbs/wctob.c: Likewise.
9407
9408 * include/limits.h (MB_LEN_MAX): Increase to 16.
9409
9410 * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct. Define
9411 _G_iconv_t.
9412 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
9413 * include/wchar.h: Change mbstate_t to __mbstate_t.
9414
9415 * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
9416 oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
9417 getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
9418 iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
9419 putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
9420 vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
9421 and iofwide.
9422 (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
9423 * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
9424 _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
9425 fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
9426 fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
9427 getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
9428 putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
9429 vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
9430 GLIBC_2.2 for libc.
9431 * libio/libio.h: Define codecvt struct. Define _IO_wide_data.
9432 Extend _IO_file contain pointer to codecvt, widedata and mode.
9433 (_IO_getwc_unlocked): New macro.
9434 (_IO_putwc_unlocked): New macro.
9435 (_IO_fwide): New macro.
9436 * libio/libioP.h: Add new prototypes and adjust existing declarations.
9437 * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
9438 buffers based on mode.
9439 (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
9440 oriented.
9441 (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
9442 flag to be enough to signal unallocated buffer. For wide oriented
9443 stream don't make it linebuffered. Don't use _IO_do_flush, use
9444 _IO_new_do_write directly.
9445 (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
9446 (_IO_file_seek): Likewise.
9447 * libio/genops.c (_IO_least_marker): Make global.
9448 (__underflow): Orient stream if not already done.
9449 (__uflow): Likewise.
9450 (_IO_default_seekpos): Change to type _IO_off64_t.
9451 (_IO_default_seekoff): Likewise.
9452 (_IO_default_seek): Likewise.
9453 (_IO_no_init): New function. Similar to _IO_init but allows to orient
9454 in initialization.
9455 * libio/iolibio.h: Add prototype for _IO_vswprintf. Change _IO_pos_BAD
9456 to use _IO_off64_t.
9457 * libio/ftello.c: Use _IO_off_t. For now abort when use with wide
9458 char stream.
9459 * libio/ftello64.c: Likewise.
9460 * libio/ioftell.c: Likewise.
9461 * libio/iofopncook.c: Likewise.
9462 * libio/ioseekoff.c: Likewise.
9463 * libio/ioseekpos.c: Likewise.
9464 * libio/oldfileops.c: Likewise.
9465 * libio/iofgetpos.c: Store state of conversion if necessary.
9466 * libio/iofgetpos64.c: Likewise.
9467 * libio/iofsetpos.c: Restore conversion state if necessary.
9468 * libio/iofsetpos64.c: Likewise.
9469 * libio/iofdopen.c: Initialize so that stream can be wide oriented.
9470 * libio/iofopen.c: Likewise.
9471 * libio/iofopen64.c: Likewise.
9472 * libio/iopopen.c: Likewise.
9473 * libio/iovdprintf.c: Likewise.
9474 * libio/iovsprintf.c: Likewise.
9475 * libio/iovsscanf.c: Likewise.
9476 * libio/memstream.c: Likewise.
9477 * libio/obprintf.c: Likewise.
9478 * libio/iofputs.c: Orient stream if not already happened.
9479 * libio/iofputs_u.c: Likewise.
9480 * libio/iofwrite.c: Likewise.
9481 * libio/iofwrite_u.c: Likewise.
9482 * libio/ioputs.c: Likewise.
9483 * libio/iosetbuffer.c: Handle not yet oriented stream.
9484 * libio/iosetvbuf.c: Likewise.
9485 * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
9486 * libio/stdfiles.c: Likewise.
9487 * libio/strops.c (_IO_str_overflow): Correctly free buffer after
9488 failed allocation.
9489 (_IO_str_seekoff): Use _IO_off64_t.
9490 * libio/vasprintf.c: Pre-orient stream.
9491 * libio/vsnprintf.c: Likewise.
9492 * libio/fputwc.c: New file.
9493 * libio/fputwc_u.c: New file.
9494 * libio/fwprintf.c: New file.
9495 * libio/fwscanf.c: New file.
9496 * libio/getwc.c: New file.
9497 * libio/getwc_u.c: New file.
9498 * libio/getwchar.c: New file.
9499 * libio/getwchar_u.c: New file.
9500 * libio/iofgetws.c: New file.
9501 * libio/iofgetws_u.c: New file.
9502 * libio/iofputws.c: New file.
9503 * libio/iofputws_u.c: New file.
9504 * libio/iofwide.c: New file.
9505 * libio/iogetwline.c: New file.
9506 * libio/ioungetwc.c: New file.
9507 * libio/iovswscanf.c: New file.
9508 * libio/iowpadn.c: New file.
9509 * libio/oldiofgetpos.c: New file.
9510 * libio/oldiofgetpos64.c: New file.
9511 * libio/oldiofsetpos.c: New file.
9512 * libio/oldiofsetpos64.c: New file.
9513 * libio/putwc.c: New file.
9514 * libio/putwc_u.c: New file.
9515 * libio/putwchar.c: New file.
9516 * libio/putwchar_u.c: New file.
9517 * libio/swprintf.c: New file.
9518 * libio/swscanf.c: New file.
9519 * libio/tst_swprintf.c: New file.
9520 * libio/tst_swscanf.c: New file.
9521 * libio/tst_wprintf.c: New file.
9522 * libio/tst_wscanf.c: New file.
9523 * libio/tst_wscanf.input: New file.
9524 * libio/vswprintf.c: New file.
9525 * libio/vwprintf.c: New file.
9526 * libio/vwscanf.c: New file.
9527 * libio/wfiledoalloc.c: New file.
9528 * libio/wfileops.c: New file.
9529 * libio/wgenops.c: New file.
9530 * libio/wprintf.c: New file.
9531 * libio/wscanf.c: New file.
9532 * libio/wstrops.c: New file.
9533 * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
9534 vfwprintf, and vfwscanf.
9535 * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
9536 make global.
9537 * stdio-common/_itowa.c: New file.
9538 * stdio-common/_itowa.h: New file.
9539 * stdio-common/itoa-digits.c: Minimal optimization.
9540 * stdio-common/itowa-digits.c: New file.
9541 * stdio-common/printf-parse.h: Allow use in wide character context.
9542 * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
9543 * stdio-common/printf.h (printf_info): Add wide bit.
9544 * stdio-common/printf_fp.c: Determine from wide bit whether stream
9545 is wide oriented or not.
9546 * stdio-common/printf_size.c: Likewise.
9547 * sysdeps/generic/printf_fphex.c: Likewise.
9548 * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
9549 * stdio-common/vfprintf.c: Rewrite to allow use in wide character
9550 context.
9551 * stdio-common/vfscand.c: Likewise.
9552 * stdio-common/vfwprintf.c: New file.
9553 * stdio-common/vfwscanf.c: New file.
9554
9555 * time/Makefile (routines): Add wcsftime.
9556 (tests): Add tst_wcsftime.
9557 * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
9558 * time/strftime.c: Make usable as wcsftime.
9559 * time/wcsftime.c: New file.
9560 * time/tst_wcsftime.c: New file.
9561
9562 * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
9563 * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
9564 * wcsmbs/wcschrnul.c: New file.
9565 * wcsmbs/wmemcpy.c: New file.
9566 * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
9567 * wcsmbs/wmemmove.c: Likewise for wmemmove.
9568
9569 * manual/stdio.texi: Document is_char and wide element if printf_info.
9570
9571 * manual/time.texi: Document wcsftime.
9572
9573 * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
9574 __wmemmove, __wcschrnul, and __vfwscanf.
9575
9576 * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
9577 * locale/C-time.c: Adapt for above change.
9578 * locale/categories.def: Likewise.
9579 * locale/localeinfo.h: Likewise.
9580 * localedata/Makefile: Don't run tests for now.
9581
9582 * manual/errno.texi: Fix typos.
9583 * manual/memory.texi: Likewise.
9584 * manual/ctype.texi: Likewise.
9585 Patches by Brian Youmans <3diff@gnu.org>.
9586
9587 1999-06-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9588
9589 * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
9590
9591 1999-06-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9592
9593 * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
9594 word order.
9595 * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
9596 * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
9597
9598 1999-06-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9599
9600 * db2/db/db.c: Restore __nss_db_open alias.
9601 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
9602 include.
9603 * db2/os/os_rw.c (__os_write): Maintain const correctness.
9604 * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
9605
9606 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
9607
9608 * stdio-common/printf-parse.h (parse_one_spec): Don't set
9609 is_longlong if not necessary.
9610
9611 1999-06-15 H.J. Lu <hjl@gnu.org>
9612
9613 * Make-dist (sysdep_dirs): Exclude SCCS.
9614 * MakeTAGS (sysdep_dirs): Likewise.
9615
9616 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
9617
9618 * posix/regex.c (re_error_msgid): Remove extra commas.
9619
9620 1999-06-14 Geoff Keating <geoffk@ozemail.com.au>
9621
9622 * stdlib/tst-strtoll.c: New file.
9623 * stdlib/Makefile (tests): Add tst-strtoll.c
9624 * stdlib/strtol.c: It is not generally true that if
9625 (unsigned)a*(unsigned)b overflows, then the result is
9626 less than 'a'.
9627
9628 1999-06-14 Thorsten Kukuk <kukuk@suse.de>
9629
9630 * nscd/connections.c (handle_request): Only root is allowed to
9631 send GETSTAT request in non secure mode.
9632 * nscd/nscd.c: Print error message if other then root try to
9633 use getstat.
9634
9635 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9636
9637 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
9638
9639 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9640
9641 * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
9642 Closes PR libc/1164, reported by sascha@schumann.2ns.de.
9643
9644 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9645
9646 * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
9647 for character to search, to help the compiler.
9648 * sysdeps/generic/strchrnul.c: Likewise.
9649 * sysdeps/generic/memchr.c: Likewise.
9650 * sysdeps/generic/memccpy.c: Likewise.
9651 * sysdeps/generic/rawmemchr.c: Likewise. Fix comment.
9652
9653 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9654
9655 * sysdeps/m68k/memchr.S: New file.
9656 * sysdeps/m68k/rawmemchr.S: New file.
9657 * sysdeps/m68k/strchr.S: New file.
9658 * sysdeps/m68k/strchrnul.S: New file.
9659
9660 1999-06-13 Geoff Keating <geoffk@ozemail.com.au>
9661
9662 * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
9663 add `memory' clobber; optimise for constant `val'.
9664 (atomic_add): Likewise.
9665 (test_and_set): Remove `volatile'; add `memory' clobber; be more
9666 like the original `test_and_set'.
9667 (compare_and_swap): Remove `volatile'; add `memory' clobber;
9668 optimise for constant `oldval'.
9669 (always_swap): Remove `volatile'; add `memory' clobber.
9670
9671 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9672
9673 * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
9674 functions for gcc <= 2.7.x.
9675
9676 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
9677
9678 * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
9679 change.
9680
9681 1999-06-13 Ulrich Drepper <drepper@cygnus.com>
9682
9683 * db2/Makefile (distribute): Remove files which do not exist
9684 anymore.
9685
9686 * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
9687 definitions to calm down gcc.
9688
9689 * db2/db.h: Update from db 2.7.5.
9690 * db2/db_185.h: Likewise.
9691 * db2/db_int.h: Likewise.
9692 * db2/btree/bt_compare.c: Likewise.
9693 * db2/btree/bt_conv.c: Likewise.
9694 * db2/btree/bt_curadj.c: Likewise.
9695 * db2/btree/bt_cursor.c: Likewise.
9696 * db2/btree/bt_delete.c: Likewise.
9697 * db2/btree/bt_open.c: Likewise.
9698 * db2/btree/bt_page.c: Likewise.
9699 * db2/btree/bt_put.c: Likewise.
9700 * db2/btree/bt_rec.c: Likewise.
9701 * db2/btree/bt_recno.c: Likewise.
9702 * db2/btree/bt_rsearch.c: Likewise.
9703 * db2/btree/bt_search.c: Likewise.
9704 * db2/btree/bt_split.c: Likewise.
9705 * db2/btree/bt_stat.c: Likewise.
9706 * db2/btree/btree_auto.c: Likewise.
9707 * db2/common/db_appinit.c: Likewise.
9708 * db2/common/db_apprec.c: Likewise.
9709 * db2/common/db_err.c: Likewise.
9710 * db2/common/db_region.c: Likewise.
9711 * db2/common/db_salloc.c: Likewise.
9712 * db2/db/db.c: Likewise.
9713 * db2/db/db.src: Likewise.
9714 * db2/db/db_am.c: Likewise.
9715 * db2/db/db_auto.c: Likewise.
9716 * db2/db/db_dispatch.c: Likewise.
9717 * db2/db/db_dup.c: Likewise.
9718 * db2/db/db_iface.c: Likewise.
9719 * db2/db/db_join.c: Likewise.
9720 * db2/db/db_overflow.c: Likewise.
9721 * db2/db/db_pr.c: Likewise.
9722 * db2/db/db_rec.c: Likewise.
9723 * db2/db/db_ret.c: Likewise.
9724 * db2/db185/db185.c: Likewise.
9725 * db2/dbm/dbm.c: Likewise.
9726 * db2/hash/hash.c: Likewise.
9727 * db2/hash/hash_auto.c: Likewise.
9728 * db2/hash/hash_dup.c: Likewise.
9729 * db2/hash/hash_page.c: Likewise.
9730 * db2/hash/hash_rec.c: Likewise.
9731 * db2/hash/hash_stat.c: Likewise.
9732 * db2/include/btree.h: Likewise.
9733 * db2/include/btree_ext.h: Likewise.
9734 * db2/include/clib_ext.h: Likewise.
9735 * db2/include/common_ext.h: Likewise.
9736 * db2/include/db_am.h: Likewise.
9737 * db2/include/db_auto.h: Likewise.
9738 * db2/include/db_cxx.h: Likewise.
9739 * db2/include/db_ext.h: Likewise.
9740 * db2/include/db_join.h: Likewise.
9741 * db2/include/db_page.h: Likewise.
9742 * db2/include/hash.h: Likewise.
9743 * db2/include/hash_ext.h: Likewise.
9744 * db2/include/lock.h: Likewise.
9745 * db2/include/lock_ext.h: Likewise.
9746 * db2/include/log.h: Likewise.
9747 * db2/include/log_ext.h: Likewise.
9748 * db2/include/mp.h: Likewise.
9749 * db2/include/mp_ext.h: Likewise.
9750 * db2/include/os.h: Likewise.
9751 * db2/include/os_ext.h: Likewise.
9752 * db2/include/os_func.h: Likewise.
9753 * db2/include/txn.h: Likewise.
9754 * db2/include/txn_auto.h: Likewise.
9755 * db2/include/txn_ext.h: Likewise.
9756 * db2/include/xa.h: Likewise.
9757 * db2/include/xa_ext.h: Likewise.
9758 * db2/lock/lock.c: Likewise.
9759 * db2/lock/lock_conflict.c: Likewise.
9760 * db2/lock/lock_deadlock.c: Likewise.
9761 * db2/lock/lock_region.c: Likewise.
9762 * db2/lock/lock_util.c: Likewise.
9763 * db2/log/log.c: Likewise.
9764 * db2/log/log_archive.c: Likewise.
9765 * db2/log/log_auto.c: Likewise.
9766 * db2/log/log_findckp.c: Likewise.
9767 * db2/log/log_get.c: Likewise.
9768 * db2/log/log_put.c: Likewise.
9769 * db2/log/log_rec.c: Likewise.
9770 * db2/log/log_register.c: Likewise.
9771 * db2/mp/mp_bh.c: Likewise.
9772 * db2/mp/mp_fget.c: Likewise.
9773 * db2/mp/mp_fopen.c: Likewise.
9774 * db2/mp/mp_fput.c: Likewise.
9775 * db2/mp/mp_fset.c: Likewise.
9776 * db2/mp/mp_open.c: Likewise.
9777 * db2/mp/mp_pr.c: Likewise.
9778 * db2/mp/mp_region.c: Likewise.
9779 * db2/mp/mp_sync.c: Likewise.
9780 * db2/mutex/mutex.c: Likewise.
9781 * db2/mutex/uts4_cc.s: Likewise.
9782 * db2/os/os_abs.c: Likewise.
9783 * db2/os/os_alloc.c: Likewise.
9784 * db2/os/os_config.c: Likewise.
9785 * db2/os/os_dir.c: Likewise.
9786 * db2/os/os_fid.c: Likewise.
9787 * db2/os/os_fsync.c: Likewise.
9788 * db2/os/os_map.c: Likewise.
9789 * db2/os/os_oflags.c: Likewise.
9790 * db2/os/os_open.c: Likewise.
9791 * db2/os/os_rw.c: Likewise.
9792 * db2/os/os_seek.c: Likewise.
9793 * db2/os/os_sleep.c: Likewise.
9794 * db2/os/os_spin.c: Likewise.
9795 * db2/os/os_stat.c: Likewise.
9796 * db2/os/os_tmpdir.c: Likewise.
9797 * db2/os/os_unlink.c: Likewise.
9798 * db2/progs/db_archive/db_archive.c: Likewise.
9799 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
9800 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
9801 * db2/progs/db_dump/db_dump.c: Likewise.
9802 * db2/progs/db_load/db_load.c: Likewise.
9803 * db2/progs/db_printlog/README: Likewise.
9804 * db2/progs/db_printlog/commit.awk: Likewise.
9805 * db2/progs/db_printlog/count.awk: Likewise.
9806 * db2/progs/db_printlog/db_printlog.c: Likewise.
9807 * db2/progs/db_printlog/pgno.awk: Likewise.
9808 * db2/progs/db_printlog/range.awk: Likewise.
9809 * db2/progs/db_printlog/status.awk: Likewise.
9810 * db2/progs/db_printlog/txn.awk: Likewise.
9811 * db2/progs/db_recover/db_recover.c: Likewise.
9812 * db2/progs/db_stat/db_stat.c: Likewise.
9813 * db2/txn/txn.c: Likewise.
9814 * db2/txn/txn.src: Likewise.
9815 * db2/txn/txn_auto.c: Likewise.
9816 * db2/txn/txn_rec.c: Likewise.
9817 * db2/xa/xa.c: Likewise.
9818 * db2/xa/xa_db.c: Likewise.
9819 * db2/xa/xa_map.c: Likewise.
9820
9821 * db2/btree/bt_close.c: Removed.
9822 * db2/db/db_thread.c: Likewise.
9823 * db2/hash/hash_debug.c: Likewise.
9824 * db2/include/db.h.src: Likewise.
9825 * db2/include/db_int.h.src: Likewise.
9826 * db2/include/os_jump.h: Likewise.
9827 * db2/mutex/alpha.dec: Likewise.
9828 * db2/mutex/alpha.gcc: Likewise.
9829 * db2/mutex/parisc.hp: Likewise.
9830 * db2/mutex/uts4.cc.s: Likewise.
9831
9832 * db2/Makefile: Add new routines, remove old for 2.7.5.
9833 * db2/Versions: Add internal function names for the helper programs.
9834 * db2/makedb.c: Update for new cursor callback.
9835 * Versions.def: Define versions for libdb.
9836
9837 1999-06-13 Thorsten Kukuk <kukuk@suse.de>
9838
9839 * nscd/connections.c (nscd_run): Get user ID for all non-db services.
9840 * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
9841 * nscd/nscd_nischeck.c: New file.
9842 * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
9843
9844 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9845
9846 * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
9847 MSG_* flags from Linux 2.2.9.
9848
9849 1999-06-12 Mark Kettenis <kettenis@gnu.org>
9850
9851 * Makeconfig (static-start-installed-name): Set to
9852 $(start-installed-name) if not defined.
9853 (+link-static): Use $(static-start-installed-name) instead of
9854 $(start-installed-name).
9855 * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
9856 Set to crt0.o.
9857
9858 1999-06-12 Mark Kettenis <kettenis@gnu.org>
9859
9860 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
9861 inserting a send right into the child instead of unconditionally
9862 copying the send right.
9863
9864 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
9865
9866 * locale/lc-time.c: Add free_mem function to free if necessary
9867 statically allocated memory.
9868
9869 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
9870
9871 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
9872 bias from the raw exponent.
9873
9874 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
9875
9876 * inet/arpa/tftp.h: Move attribute declaration in right position.
9877
9878 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
9879
9880 * nscd/nscd.c: Add -S options for separate caching of data for
9881 every user. So one user couldn't see the data another user
9882 has gotten with his credentials.
9883 * nscd/nscd.h: Add new prototypes.
9884 * nscd/cache.c: Compare owner of cache entry if in secure mode.
9885 * nscd/connections.c: Check on shutdown if caller really was root.
9886 In secure mode get uid of caller.
9887 * nscd/grpcache.c: Add support for new secure group mode.
9888 * nscd/hstcache.c: Add support for new secure hosts mode.
9889 * nscd/pwdcache.c: Add support for new secure passwd mode.
9890
9891 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
9892
9893 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
9894 of user-provided buffer.
9895
9896 1999-06-11 Mark Kettenis <kettenis@gnu.org>
9897
9898 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
9899 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
9900
9901 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
9902
9903 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
9904 and A format.
9905
9906 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
9907 returning after last entry.
9908 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
9909
9910 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
9911
9912 * misc/sysexits.h: Remove advertising clause of copyright.
9913 * resolv/getnetnamadr.c: Likewise.
9914 * sysdeps/vax/bcopy.s: Likewise.
9915 * sysdeps/vax/bzero.s: Likewise.
9916 * sysdeps/vax/ffs.s: Likewise.
9917 * sysdeps/vax/memchr.s: Likewise.
9918 * sysdeps/vax/memcmp.s: Likewise.
9919 * sysdeps/vax/memmove.s: Likewise.
9920 * sysdeps/vax/memset.s: Likewise.
9921 * sysdeps/vax/strcat.s: Likewise.
9922 * sysdeps/vax/strchr.s: Likewise.
9923 * sysdeps/vax/strcmp.s: Likewise.
9924 * sysdeps/vax/strcpy.s: Likewise.
9925 * sysdeps/vax/strcspn.s: Likewise.
9926 * sysdeps/vax/strlen.s: Likewise.
9927 * sysdeps/vax/strncat.s: Likewise.
9928 * sysdeps/vax/strncmp.s: Likewise.
9929 * sysdeps/vax/strncpy.s: Likewise.
9930 * sysdeps/vax/strpbrk.s: Likewise.
9931 * sysdeps/vax/strrchr.s: Likewise.
9932 * sysdeps/vax/strsep.s: Likewise.
9933 * sysdeps/vax/strspn.s: Likewise.
9934 * sysdeps/vax/strstr.s: Likewise.
9935
9936 * libio/iofopncook.c: Adjust for renaming of structure elements.
9937 * libio/libio.h: Define cookie functions with all the names.
9938
9939 * pwd/fgetpwent_r.c: Set errno in the correct way.
9940 * shadow/fgetspent_r.c: Likewise.
9941 * pwd/fgetpwent.c: Handle long lines correctly. Little
9942 optimizations. Free static buffer when debugging memory handling.
9943 * shadow/fgetspent.c: Likewise.
9944
9945 * grp/fgetgrent.c: Little optimization in loop.
9946
9947 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9948
9949 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
9950 in a different way.
9951
9952 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
9953
9954 * stdlib/longlong.h: gas changed sethi handling when without
9955 %hi(). Fix assembly.
9956 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
9957 port specific cache id checks.
9958 * sysdeps/generic/dl-cache.h: New file.
9959 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
9960
9961 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
9962
9963 * gmon/gmon.c: Remove advertising clause of copyright.
9964 * gmon/mcount.c: Likewise.
9965 * gmon/sys/gmon.h: Likewise.
9966 * inet/arpa/ftp.h: Likewise.
9967 * inet/arpa/telnet.h: Likewise.
9968 * inet/arpa/tftp.h: Likewise.
9969 * inet/inet_lnaof.c: Likewise.
9970 * inet/inet_mkadr.c: Likewise.
9971 * inet/inet_net.c: Likewise.
9972 * inet/inet_netof.c: Likewise.
9973 * inet/protocols/routed.h: Likewise.
9974 * inet/protocols/rwhod.h: Likewise.
9975 * inet/protocols/talkd.h: Likewise.
9976 * inet/protocols/timed.h: Likewise.
9977 * inet/rcmd.c: Likewise.
9978 * inet/rexec.c: Likewise.
9979 * inet/ruserpass.c: Likewise.
9980 * io/fts.c: Likewise.
9981 * io/fts.h: Likewise.
9982 * login/login_tty.c: Likewise.
9983 * misc/fstab.h: Likewise.
9984 * misc/getttyent.c: Likewise.
9985 * misc/getusershell.c: Likewise.
9986 * misc/sys/queue.h: Likewise.
9987 * misc/sys/syslog.h: Likewise.
9988 * misc/syslog.c: Likewise.
9989 * misc/ttyent.h: Likewise.
9990 * misc/ttyslot.c: Likewise.
9991 * resolv/arpa/nameser.h: Likewise.
9992 * resolv/gethnamaddr.c: Likewise.
9993 * resolv/herror.c: Likewise.
9994 * resolv/inet_addr.c: Likewise.
9995 * resolv/mapv4v6addr.h: Likewise.
9996 * resolv/mapv4v6hostent.h: Likewise.
9997 * resolv/nss_dns/dns-host.c: Likewise.
9998 * resolv/nss_dns/dns-network.c: Likewise.
9999 * resolv/res_comp.c: Likewise.
10000 * resolv/res_data.c: Likewise.
10001 * resolv/res_debug.c: Likewise.
10002 * resolv/res_init.c: Likewise.
10003 * resolv/res_mkquery.c: Likewise.
10004 * resolv/res_query.c: Likewise.
10005 * resolv/res_send.c: Likewise.
10006 * resolv/resolv.h: Likewise.
10007 * sysdeps/generic/div.c: Likewise.
10008 * sysdeps/generic/netinet/ip.h: Likewise.
10009 * sysdeps/generic/netinet/tcp.h: Likewise.
10010 * sysdeps/generic/paths.h: Likewise.
10011 * sysdeps/generic/prof-freq.c: Likewise.
10012 * sysdeps/generic/sys/ttydefaults.h: Likewise.
10013 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10014 * sysdeps/gnu/netinet/tcp.h: Likewise.
10015 * sysdeps/ieee754/support.c: Likewise.
10016 * sysdeps/mach/hurd/sys/param.h: Likewise.
10017 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
10018 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10019 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
10020 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10021 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
10022 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
10023 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
10024 * sysdeps/unix/sysv/linux/paths.h: Likewise.
10025 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
10026 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
10027 * sysdeps/vax/DEFS.h: Likewise.
10028 * termios/sys/ttychars.h: Likewise.
10029 * misc/daemon.c: Likewise. Call fork.
10030
10031 * grp/fgetgrent.c (buffer): Make file local variable.
10032 (free_mem): New function. Call for malloc debugging.
10033
10034 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
10035
10036 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10037
10038 * grp/Makefile: Add rules for tst_fgetgrent.
10039
10040 * grp/tst_fgetgrent.c: Rewritten to read only one file.
10041
10042 * grp/tst_fgetgrent.sh: New file.
10043
10044 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
10045
10046 * grp/Makefile (tests): Add tst_fgetgrent.
10047 * grp/tst_fgetgrent.c: New file.
10048 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
10049
10050 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
10051
10052 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
10053 be POSIX compliant. Prior definition was broken for Hurd.
10054 Reported by Mark Kettenis <kettenis@gnu.org>.
10055
10056 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
10057
10058 * ctype/ctype.h: Protect __tobody code by __extension__.
10059
10060 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
10061
10062 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
10063 reading and reset in case the buffer was too small.
10064
10065 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
10066 of EOF.
10067
10068 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10069
10070 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
10071 another SIOGIFNAME typo.
10072
10073 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
10074
10075 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
10076
10077 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
10078 bit.
10079
10080 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10081
10082 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
10083 the precision if the mantissa is zero.
10084
10085 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10086
10087 * manual/lang.texi (Floating Point Parameters): GCC already
10088 supports long double for a long time.
10089
10090 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10091
10092 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
10093 yn_test): Increase some epsilons.
10094
10095 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
10096
10097 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
10098 parameters.
10099
10100 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
10101
10102 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10103 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
10104 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
10105 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
10106
10107 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
10108 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
10109 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
10110 * sysdeps/libm-ieee754/w_j1.c: Likewise.
10111 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
10112 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
10113 * sysdeps/libm-ieee754/w_jn.c: Likewise.
10114 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
10115 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
10116
10117 * stdio-common/vfprintf.c: Correct typos.
10118
10119 * math/libm-test.c (jn_test): Adjust delta.
10120 (y1_test): Likewise.
10121 (yn_test): Likewise.
10122
10123 * elf/do-lookup.h: It should never happen that if we expect a versioned
10124 symbol from a file the file has no version table. This should have
10125 been checked in dl-version.c.
10126 * elf/dl-lookup.c: Include assert.h.
10127
10128 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
10129 function handling.
10130
10131 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
10132
10133 1999-06-06 Andi Kleen <ak@muc.de>
10134
10135 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
10136 SA_RESTORER flag.
10137
10138 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10139
10140 * math/libm-test.c (yn_test): Change one delta.
10141 (jn_test): Likewise.
10142 (j1_test): Likewise.
10143 (y0_test): Likewise.
10144
10145 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
10146
10147 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
10148 avoid multiple calls to getpagesize() which might be a syscall.
10149
10150 1999-06-06 Philip Blundell <philb@gnu.org>
10151
10152 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
10153
10154 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10155
10156 * manual/install.texi (Running make install): Correct typo in
10157 dynamic linker invocation.
10158
10159 1999-06-05 Philip Blundell <philb@gnu.org>
10160
10161 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
10162 problems with GOT addressing.
10163
10164 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
10165
10166 * malloc/malloc.c (check_action): Change into bitmap so that both
10167 diagnostic and abort can be requested by setting it to 3.
10168 (mALLOC_SET_STATe): Disable malloc checking if necessary.
10169
10170 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
10171
10172 * configure.in: Few changes for HPUX.
10173
10174 * scripts/config.guess: Update from latest version.
10175 * scripts/config.sub: Likewise.
10176
10177 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10178
10179 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
10180 map files. Closes PR libc/1147.
10181
10182 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10183
10184 * math/libm-test.c (main): Add new test functions.
10185 (jn_test): New tests.
10186 (j1_test): Add some more tests.
10187 (j0_test): Add some more tests.
10188 (y0_test): Add some more tests.
10189 (y1_test): Add some more tests.
10190
10191 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10192
10193 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
10194 Patch by mhagger@dera.gov.uk [PR libc/1145].
10195
10196 * math/libm-test.c (y1_test): New tests.
10197 (y0_test): Likewise.
10198 (j1_test): Likewise.
10199 (j0_test): Likewise.
10200 (main): Added new tests.
10201
10202 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
10203
10204 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
10205 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
10206 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
10207 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
10208 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
10209 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
10210
10211 1999-06-02 David S. Miller <davem@redhat.com>
10212
10213 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
10214 pointers properly.
10215
10216 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
10217
10218 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
10219 and elide compatibility code if possible.
10220
10221 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
10222
10223 * manual/llio.texi: Remove menu entry for removed section.
10224
10225 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10226
10227 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
10228 variables.
10229
10230 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10231
10232 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
10233 (from Linux 2.3.4).
10234
10235 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
10236
10237 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
10238
10239 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10240
10241 * manual/stdio.texi: Fix some typos.
10242
10243 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10244
10245 * malloc/malloc.h: Properly handle future GCC versions.
10246
10247 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10248
10249 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
10250 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
10251 text of error message.
10252
10253 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
10254
10255 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
10256
10257 * manual/filesys.texi: Extend (f)truncate documentation.
10258 * manual/llio.texi: Remove duplicate (f)truncate definition.
10259
10260 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10261
10262 * manual/stdio.texi (Formatted Output Functions): Mention
10263 semantics of snprintf in glibc 2.0.
10264 Reported by Ben Pfaff <pfaffben@msu.edu>.
10265
10266 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
10267
10268 * include/features.h (__GLIBC_MINOR__): Bump to 2.
10269
10270 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
10271
10272 * math/libm-test.c: Adjust a few more deltas for the poor ARM
10273 FPU emulator.
10274
10275 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10276
10277 * configure.in: Fix typo.
10278
10279 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10280
10281 * manual/socket.texi (Host Names): Remove statement that h_errno
10282 needs to be declared since this isn't true anymore.
10283 Closes PR libc/1138.
10284
10285 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
10286
10287 * config.h.in: Add __LINUX_KERNEL_VERSION.
10288 * configure.in: Recognize --enable-kernel.
10289 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
10290 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
10291 appropriately.
10292 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
10293 given perform runtime test.
10294
10295 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
10296 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
10297 minimal supported kernel is known to have the feature.
10298 * sysdeps/unix/sysv/linux/poll.c: Likewise.
10299 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10300 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10301 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10302 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10303 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
10304 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10305 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10306 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10307 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10308 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10309 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
10310 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
10311 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
10312 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
10313
10314 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
10315
10316 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
10317
10318 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
10319
10320 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
10321
10322 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
10323 Optimized sparc64 routines.
10324
10325 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
10326
10327 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
10328 they are the same as ints.
10329 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
10330
10331 * version.h (VERSION): Bump to 2.1.90.
10332 (RELEASE): Mark as development.
10333
10334 * stdio-common/vfprintf.c (vfprintf): Don't implement special
10335 handling for long long if it is the same as long.
10336 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
10337
10338 * stdlib/strtol.c: Moved to ...
10339 * sysdeps/generic/strtol.c: ...here.
10340 * stdlib/strtoul.c: Moved to ...
10341 * sysdeps/generic/strtoul.c: ...here.
10342 * stdlib/strtoll.c: Moved to ...
10343 * sysdeps/generic/strtoll.c: ...here.
10344 * stdlib/strtoull.c: Moved to ...
10345 * sysdeps/generic/strtoull.c: ...here.
10346 * stdlib/strtol_l.c: Moved to ...
10347 * sysdeps/generic/strtol_l.c: ...here.
10348 * stdlib/strtoul_l.c: Moved to ...
10349 * sysdeps/generic/strtoul_l.c: ...here.
10350 * stdlib/strtoll_l.c: Moved to ...
10351 * sysdeps/generic/strtoll_l.c: ...here.
10352 * stdlib/strtoull_l.c: Moved to ...
10353 * sysdeps/generic/strtoull_l.c: ...here.
10354
10355 * sysdeps/wordsize-64/strtol.c: New file.
10356 * sysdeps/wordsize-64/strtoul.c: New file.
10357 * sysdeps/wordsize-64/strtoll.c: New file.
10358 * sysdeps/wordsize-64/strtoull.c: New file.
10359 * sysdeps/wordsize-64/strtol_l.c: New file.
10360 * sysdeps/wordsize-64/strtoul_l.c: New file.
10361 * sysdeps/wordsize-64/strtoll_l.c: New file.
10362 * sysdeps/wordsize-64/strtoull_l.c: New file.
10363
10364 * wcsmbs/wcstol.c: Moved to ...
10365 * sysdeps/generic/wcstol.c: ...here.
10366 * wcsmbs/wcstoul.c: Moved to ...
10367 * sysdeps/generic/wcstoul.c: ...here.
10368 * wcsmbs/wcstoll.c: Moved to ...
10369 * sysdeps/generic/wcstoll.c: ...here.
10370 * wcsmbs/wcstoull.c: Moved to ...
10371 * sysdeps/generic/wcstoull.c: ...here.
10372 * wcsmbs/wcstol_l.c: Moved to ...
10373 * sysdeps/generic/wcstol_l.c: ...here.
10374 * wcsmbs/wcstoul_l.c: Moved to ...
10375 * sysdeps/generic/wcstoul_l.c: ...here.
10376 * wcsmbs/wcstoll_l.c: Moved to ...
10377 * sysdeps/generic/wcstoll_l.c: ...here.
10378 * wcsmbs/wcstoull_l.c: Moved to ...
10379 * sysdeps/generic/wcstoull_l.c: ...here.
10380
10381 * sysdeps/wordsize-64/wcstol.c: New file.
10382 * sysdeps/wordsize-64/wcstoul.c: New file.
10383 * sysdeps/wordsize-64/wcstoll.c: New file.
10384 * sysdeps/wordsize-64/wcstoull.c: New file.
10385 * sysdeps/wordsize-64/wcstol_l.c: New file.
10386 * sysdeps/wordsize-64/wcstoul_l.c: New file.
10387 * sysdeps/wordsize-64/wcstoll_l.c: New file.
10388 * sysdeps/wordsize-64/wcstoull_l.c: New file.
10389
10390 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
10391
10392 * sysdeps/sparc/bits/wordsize.h: New file.
10393 * sysdeps/sparc/fpu/bits/fenv.h: New file.
10394 * sysdeps/sparc/fpu/fpu_control.h: New file.
10395 * sysdeps/sparc/gmp-mparam.h: New file.
10396
10397 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
10398 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
10399 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
10400 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
10401 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
10402 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
10403
10404 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
10405 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
10406 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
10407 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
10408
10409 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
10410 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
10411 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
10412 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
10413 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
10414
10415 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
10416
10417 * login/openpty.c (openpty): Make sure pty does not because
10418 controlling TTY.
10419
10420 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
10421
10422 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
10423
10424 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
10425 Do proper error return.
10426
10427 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10428
10429 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
10430 of __P in the rest of glibc; define __MALLOC_PMT and use it.
10431 Reported by Stephan Kulow <coolo@kde.org>.
10432
10433 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
10434
10435 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
10436
10437 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
10438
10439 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10440
10441 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
10442 names to protect from user's macro namespace.
10443 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
10444 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
10445 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
10446 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
10447 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
10448 Adapted.
10449 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
10450 sysdeps/arm/fpu/fesetenv.c: Likewise.
10451 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
10452 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
10453 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
10454 * sysdeps/mips/fesetenv.c: Likewise.
10455
10456 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
10457
10458 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
10459
10460 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
10461
10462 * configure.in: Recognize and allow gcc 2.95.
10463
10464 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
10465
10466 * sysdeps/generic/bits/elfclass.h: Version common to
10467 wordsize-32 and wordsize-64.
10468 * sysdeps/generic/bits/environments.h: Ditto.
10469 * sysdeps/generic/stdint.h: Ditto.
10470 * sysdeps/generic/inttypes.h: Ditto.
10471
10472 * sysdeps/generic/bits/wordsize.h: New file.
10473 * stdlib/Makefile: Add bits/wordsize.h to headers.
10474
10475 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
10476
10477 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
10478 headers to be used for 32bit and 64bit ABI compilations.
10479 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
10480 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
10481 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
10482 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
10483 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
10484
10485 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
10486 * sysdeps/wordsize-64/bits/environments.h: Remove.
10487 * sysdeps/wordsize-64/stdint.h: Remove.
10488 * sysdeps/wordsize-64/inttypes.h: Remove.
10489 * sysdeps/wordsize-64/bits/wordsize.h: New file.
10490
10491 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
10492 * sysdeps/wordsize-32/bits/environments.h: Remove.
10493 * sysdeps/wordsize-32/stdint.h: Remove.
10494 * sysdeps/wordsize-32/inttypes.h: Remove.
10495 * sysdeps/wordsize-32/bits/wordsize.h: New file.
10496
10497 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
10498
10499 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
10500 __align_cpy_16): New functions.
10501 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
10502
10503 * sysdeps/sparc/sparc32/Versions: New file.
10504 * sysdeps/sparc/sparc64/Versions: New file.
10505 * sysdeps/sparc/Versions: Remove.
10506
10507 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
10508
10509 * sysdeps/unix/sysv/linux/configure.in:
10510 On sparc64-*-linux*, set slibdir to /lib64 if prefix
10511 is /usr, plus set libdir to ${exec_prefix}/lib64.
10512 * sysdeps/unix/sysv/linux/configure: Regenerated.
10513 * config.make.in: Propagate libdir settings from configure
10514 to the Makefiles.
10515 * shlib-versions: sparc64-*-linux* dynamic linker is
10516 /lib64/ld-linux.so.2.
10517
10518 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
10519
10520 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
10521 RPC connection.
10522
10523 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
10524
10525 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
10526 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
10527
10528 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
10529 contains garbage in bits 8-63.
10530 * sysdeps/sparc/sparc64/memset.S: Ditto.
10531 * sysdeps/sparc/sparc64/strchr.S: Ditto.
10532
10533 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
10534
10535 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
10536
10537 1999-05-17 David S. Miller <davem@redhat.com>
10538
10539 * sysdeps/sparc/sparc32/atomicity.h: New file.
10540 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
10541 * sysdeps/sparc/sparc64/atomicity.h: New file.
10542 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
10543 sysdep-CFLAGS.
10544
10545 1999-05-18 Richard Henderson <rth@twiddle.net>
10546
10547 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
10548
10549 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
10550
10551 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
10552 posix/sys/types.h: Handle the case of __GNUC__=3,
10553 __GNUC_MINOR__=(anything).
10554
10555 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10556
10557 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
10558 if _FORCE_INLINES.
10559
10560 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
10561
10562 * elf/Makefile (distribute): Remove dl-origin.h.
10563 Add dl-dst.h and gen-trusted-dirs.awk.
10564
10565 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10566
10567 * sysdeps/i386/i486/Versions: New file with inline functions from
10568 sysdeps/i386/i486/bits/string.h for now.
10569
10570 * sysdeps/i386/Versions: Add inline functions from
10571 sysdeps/i386/bits/string.h.
10572
10573 * string/Versions: Add inline functions from <bits/string2.h>.
10574
10575 * string/Makefile (routines): Add string-inlines.
10576 * string/string-inlines.c: New file, used for implementation of
10577 extern inline functions.
10578
10579 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
10580 non inlined versions of functions.
10581 * string/bits/string2.h: Likewise.
10582 * sysdeps/i386/bits/string.h: Likewise.
10583
10584 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
10585
10586 * inet/arpa/tftp.h: Add second packed attribute.
10587
10588 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
10589
10590 * malloc/malloc.c: Cleanup to bring in line with released
10591 stand-alone version `ptmalloc'. Update some comments.
10592 (internal_function): Move fallback definition so that the source
10593 compiles outside of libc, and use it in more places.
10594 (malloc_atfork): Fix when malloc_check is in use.
10595
10596 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10597
10598 * stdlib/tst-strtod.c: Fix typo.
10599
10600 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10601
10602 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
10603 const incorrectness.
10604
10605 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
10606
10607 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
10608
10609 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
10610
10611 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
10612 * sunrpc/key_call.c: Fix memory leak, close file handle.
10613 * nis/nis_creategroup.c: Use malloc instead of calloc,
10614 set ctime and mtime.
10615 * nis/nis_subr.c: Check for realloc result.
10616 * nis/nis_file.c: Fix memory leak.
10617 * nis/nis_table.c: Pretty print.
10618 * nis/nis_getservlist.c: Likewise.
10619 * nis/nis_ismember.c: Likewise.
10620 * nis/nis_lookup.c: Likewise.
10621 * nis/nis_ping.c: Likewise.
10622 * nis/nis_removemember.c: Likewise.
10623 * nis/nis_util.c: Likewise, check calloc result.
10624
10625 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
10626
10627 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
10628 * sysdeps/generic/sys/socketvar.h: ... here.
10629 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
10630 * sysdeps/generic/netinet/in_systm.h: ... here.
10631 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
10632 sys/socketvar.h.
10633 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
10634 * inet/Makefile (headers): Add netinet/in_systm.h here.
10635 * socket/Makefile (headers): Add sys/socketvar.h here.
10636
10637 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
10638
10639 * stdlib/strtol.c: Optimize inner loop of long long versions.
10640
10641 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
10642 Unix98. Add forward declaration of struct utmp.
10643
10644 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
10645
10646 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
10647 calloc.
10648
10649 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
10650 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
10651 memory allocation results.
10652
10653 1999-05-14 Mark Kettenis <kettenis@gnu.org>
10654
10655 * sysdeps/generic/getutmp.c: Include <string.h>
10656 (getutmp): Rewrite to only copy those members that are really
10657 present in `struct utmp'.
10658 * sysdeps/generic/getutmpx.c: Likewise.
10659
10660 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
10661
10662 * nss/getXXbyYY.c: Add free_mem function which disposes all
10663 statically allocated memory when debugging.
10664 * nss/getXXent.c: Likewise.
10665 * nss/nsswitch.c: Likewise.
10666
10667 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
10668
10669 * sysdeps/gnu/getutmpx.c: New file.
10670 * sysdeps/gnu/getutmp.c: New file.
10671
10672 1999-05-13 H.J. Lu <hjl@gnu.org>
10673
10674 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
10675 (getutmp): Likewise.
10676
10677 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
10678 getutmpx for login.
10679
10680 * sysdeps/gnu/utmpx.h (getutmp): Added.
10681 (getutmpx): Likewise.
10682
10683 * sysdeps/generic/getutmp.c: New file.
10684
10685 * sysdeps/generic/getutmpx.c: New file.
10686
10687 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10688
10689 * glibcbug.in (BUGGLIBC): Change address to
10690 libc-alpha@sourceware.cygnus.com.
10691
10692 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10693
10694 * resolv/arpa/nameser.h: Add C++ protectors.
10695
10696 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10697
10698 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
10699 Elad Tsur <eladts@post.tau.ac.il>.
10700
10701 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
10702
10703 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
10704 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
10705 lazily if LD_BIND_NOW is not set.
10706 * elf/dl-support.c (_dl_lazy): New variable.
10707 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
10708 * elf/rtld.c (_dl_lazy): new global variable.
10709 ( dl_main): Remove lazy, replace it by _dl_lazy.
10710
10711 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10712
10713 * locale/setlocale.c (new_composite_name): Check also whether the
10714 first category name differs.
10715
10716 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10717
10718 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
10719 the generic one.
10720
10721 1999-05-11 Philip Blundell <pb@nexus.co.uk>
10722
10723 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
10724 structure; storage suitable for any socket address.
10725 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
10726 Likewise.
10727 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
10728 sockaddr_storage): Likewise.
10729
10730 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
10731 platform.
10732
10733 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
10734
10735 * hesiod/Versions: Change _nss_hesiod_getpwuid and
10736 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
10737 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
10738
10739 1999-05-09 Mark Kettenis <kettenis@gnu.org>
10740
10741 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
10742 if the file is empty.
10743
10744 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
10745
10746 * elf/do-lookup.h: Fix typo in comment.
10747
10748 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
10749 f_bsize to help some broken programs.
10750
10751 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
10752
10753 * stdio-common/vfprintf.c: Fix typo.
10754
10755 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
10756
10757 * elf/link.h (struct link_map): New field l_phdr_allocated.
10758 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
10759 the program header being part of any loaded segment. If it is not
10760 allocate memory and set l_phdr_allocated flag.
10761 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
10762
10763 * nss/digits_dots.c: Correct return value interpretation of
10764 inet_ntoa. Fix PR libc/1109.
10765
10766 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
10767
10768 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
10769
10770 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
10771
10772 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
10773 * stdlib/fpioconst.c: Move #endif before end of struct.
10774
10775 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
10776
10777 * Versions.def (ld.so): Add GLIBC_2.1.1.
10778 * elf/Makefile (routines): Add dl-origin.
10779 (tests): Add origtest. Add dependencies for the program.
10780 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
10781 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
10782 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
10783 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
10784 DT_AUXILIARY, and DT_FILTER filenames.
10785 * elf/dl-load.c (expand_dynamic_string_token): Explode into
10786 two functions and three macros.
10787 (_dl_dst_count, _dl_dst_substitute): New functions.
10788 * elf/dl-dst.h: New file.
10789 * elf/dl-open.c (_dl_open): Take extra parameter with address of
10790 caller. Pass address in args structure.
10791 (dl_open_worker): Recognize and expand DSTs in filename.
10792 * elf/ldsodefs.h (_dl_open): Adapt prototype.
10793 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
10794 (__dlopen_check): Pass caller address to dlopen_doit in args.
10795 * elf/dlopendoit.c: Likewise.
10796 * iconv/gconv_dl.c: Adapt call of _dl_open.
10797 * nss/nsswitch.c: Likewise.
10798 * elf/origtest.c: New file.
10799 * sysdeps/generic/dl-origin.h: Moved to...
10800 * sysdeps/generic/dl-origin.c: ...here.
10801 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
10802 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
10803
10804 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
10805 with specific bases and only few bits set in second word.
10806
10807 * timezone/Makefile (install-others): Create target directory
10808 before creating tzfiles.
10809
10810 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
10811
10812 * nis/nis_file.c (readColdStartFile): Allocate memory only after
10813 the file is opened successfully.
10814
10815 * nis/nis_table.c: Fix some memory leaks.
10816
10817 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
10818
10819 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
10820 variable.
10821
10822 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
10823 around DST. Correctly ignore ORIGIN IN SUID binaries.
10824
10825 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
10826
10827 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
10828 * sysdeps/generic/strtok.c: Likewise.
10829
10830 * string/tester.c: Add test of rawmemchr.
10831
10832 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
10833 specification. It's not necessary.
10834
10835 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
10836 * elf/gen-trusted-dirs.awk: New file.
10837 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
10838 from SYSTEM_DIRS macro.
10839 (system_dirs_len): New variable. Contains lengths of system_dirs
10840 strings.
10841 (fillin_rpath): Rewrite for systems_dirs being a simple string.
10842 Improve string comparisons. Change parameter trusted to be a flag.
10843 Change all callers.
10844 (_dt_init_paths): Improve using new format for system_dirs.
10845
10846 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
10847 $ORIGIN for SUID binaries.
10848
10849 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
10850
10851 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10852
10853 * sunrpc/Makefile: Generate dependencies for all flavors of
10854 librpcsvc objects.
10855 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
10856 invocations.
10857
10858 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10859
10860 * elf/dlopenold.c: Move #if down after includes to get
10861 dependencies right.
10862
10863 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10864
10865 * sysdeps/generic/bzero.c: Undefine __bzero.
10866
10867 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
10868
10869 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
10870 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
10871 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
10872 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
10873
10874 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
10875 parameter to struct gaih_servtuple *. Adapt appropriately.
10876 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
10877 This fixes a memory leak.
10878 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
10879
10880 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
10881 and fpregset_t definition. They are defined in ucontext.h.
10882
10883 1999-04-14 Scott Bambrough <scottb@netwinder.org>
10884
10885 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
10886 and struct ether_header must be packed on the ARM. The default
10887 alignment constraints add padding to the end of the structures.
10888
10889 1999-04-14 Scott Bambrough <scottb@netwinder.org>
10890
10891 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
10892 default alignment constraints add padding to the end of the
10893 structure and between members.
10894
10895 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
10896
10897 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
10898 _dl_cache_libcmp instead of strcmp.
10899
10900 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
10901 fails on a file.
10902 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
10903
10904 1998-03-30 Joel Klecker <espy@debian.org>
10905
10906 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
10907 (sysdep-others,install-bin): Add lddlibc4.
10908
10909 1999-05-02 H.J. Lu <hjl@gnu.org>
10910
10911 * timezone/zic.c (dolink): Remove the symlink destination first.
10912
10913 * catgets/open_catalog.c (__open_catalog): Set catalog->status
10914 to "nonexisting" if failed to open the file.
10915
10916 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
10917
10918 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
10919 gcc3.
10920
10921 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
10922 Prevent warnings from multiplication with 0x01010101 by another cast.
10923
10924 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10925
10926 * string/bits/string2.h (memset): Revert to previous version if
10927 unaligned writes are not available.
10928
10929 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
10930
10931 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
10932 better code in presence of the asm.
10933
10934 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10935
10936 * stdlib/fmtmsg.c (keywords): Increase array size for faster
10937 indexing.
10938
10939 * locale/localeinfo.h (_nl_category_names): Increase array element
10940 size for faster indexing.
10941 * locale/setlocale.c (_nl_category_names): Adjusted.
10942
10943 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10944
10945 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
10946
10947 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10948
10949 * sysdeps/m68k/stackinfo.h: New file.
10950
10951 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
10952
10953 * string/tester.c (test_strchrnul): New function.
10954 (test_memset): Test one more special case.
10955
10956 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
10957 25% of all cases.
10958
10959 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
10960 base types.
10961
10962 * string/bits/string2.h: Fix bugs I introduced in last change.
10963
10964 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
10965 register stall.
10966 Extend memset optimization.
10967 Correct i686 version of memchr.
10968
10969 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
10970
10971 * sysdeps/i386/bzero.c: Add #undef __bzero.
10972
10973 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
10974 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
10975 exec server simulated a SIGTRAP before we even started up, so gdb is
10976 already happy.
10977
10978 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
10979
10980 * nss/digits_dots.c: Always initialize not_ok.
10981
10982 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
10983
10984 * string/bits/string2.h (memset): Avoid arithmetic overflow at
10985 compile time, which produces obnoxious warnings. If GCCv2 is
10986 in use, map __bzero to __builtin_memset to enable that
10987 optimization.
10988
10989 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
10990
10991 * string/bits/string2.h: Add more memset optimizations.
10992
10993 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
10994
10995 * resolv/inet_pton.c (inet_pton4): Little optimizations.
10996 (inet_pton6): Likewise.
10997
10998 * nss/getXXbyYY_r.c: Include assert.h.
10999 * nss/getXXbyYY.c: Likewise.
11000
11001 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11002
11003 * termios/tcgetsid.c (tcgetsid): Rename variable to
11004 tiocgsid_does_not_work.
11005
11006 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
11007
11008 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
11009
11010 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11011
11012 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
11013 This allows e.g. gethostbyname to accept "10.1234".
11014 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
11015
11016 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
11017 non quad IPv4 numbers.
11018
11019 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11020
11021 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
11022
11023 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
11024
11025 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
11026 * argp/argp-parse.c (_argp_hang): Likewise.
11027 * argp/argp-pv.c (argp_program_version): Likewise.
11028 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
11029 * inet/ether_hton.c (ether_hton, startp): Likewise.
11030 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
11031 * inet/getnetgrent_r.c (setup, startp): Likewise.
11032 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
11033 * intl/localealias.c (string_space, string_space_act, string_space_max,
11034 nmap, maxmap): Likewise.
11035 * libio/iopopen.c (proc_file_chain): Likewise.
11036 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
11037 * locale/lc-collate.c (__collate_table, __collate_extra,
11038 __collate_element_hash, __collate_element_strings,
11039 __collate_element_values): Likewise.
11040 * malloc/mcheck.c (mcheck_used): Likewise.
11041 * malloc/mtrace.c (added_atexit_handler): Likewise.
11042 * malloc/set-freeres.c (already_called): Likewise.
11043 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
11044 * misc/syslog.c (LogStat, LogTag): Likewise.
11045 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
11046 * nss/getXXbyYY_r.c (startp): Likewise.
11047 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
11048 * posix/regex.c (init_syntax_once) [done]: Likewise.
11049 (debug): Likewise.
11050 * string/strfry.c (init): Likewise.
11051 * sunrpc/svc_run.c (svc_top): Likewise.
11052 * posix/euidaccess.c (have_ids): Likewise.
11053 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
11054 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
11055 * time/getdate.c (getdate_err): Likewise.
11056 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
11057 Likewise.
11058 * time/tzset.c (old_tz, is_initialized): Likewise.
11059
11060 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
11061 of static data with zero.
11062 * signal/allocrtsig.c (init): Likewise.
11063
11064 * string/Makefile (routines): Add strchrnul.
11065 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
11066 * string/string.c: Add strchrnul prototype.
11067 * include/string.h: Add __strchrnul prototype.
11068 * sysdeps/generic/strchrnul.c: New file.
11069 * sysdeps/i386/strchrnul.S: New file.
11070 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
11071 * sysdeps/i386/i486/bits/string.c: Likewise.
11072 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
11073 * inet/ether_line.c (ether_line): Likewise.
11074 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
11075 * nss/nsswitch.c (nss_parse_file): Likewise.
11076 * posix/execvp.c (execvp): Likewise.
11077 * posix/fnmatch.c (internal_fnmatch): Likewise.
11078 * resolv/res_hconf.c (_res_hconv_init): Likewise.
11079 * resolv/res_init.c (res_init): Likewise.
11080 * stdlib/fmtmsg.c (init): Likewise.
11081 * stdlib/getsubopt.c (getsubopt): Likewise.
11082
11083 * catgets/catgets.c (catopen): Only allocate one memory block.
11084 (catclose): Only one free call necessary.
11085
11086 * catgets/open_catalog.c (__open_catalog): Simplify handling of
11087 file descriptor.
11088
11089 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
11090 of real functions. Simplify _tolower and _toupper.
11091
11092 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
11093 variable.
11094
11095 * iconv/gconv.h (struct gconv_info): Change data element from pointer
11096 to array of size 0.
11097 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
11098 * iconv/gconv_close.c (__gconv_close): Don't free data.
11099
11100 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
11101 insert new alias.
11102
11103 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
11104 for error while inserting in tree.
11105
11106 * include/time.h: Pretty print.
11107
11108 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
11109 in table and lots of relocations.
11110 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
11111 string pointers in table and lots of relocations.
11112
11113 * intl/finddomain.c: Remove definition of strchr macro.
11114
11115 * io/ftw.c (nftw_arr, ftw_arr): Make const.
11116
11117 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
11118
11119 * locale/localeinfo.h (_nl_category_names): Change into an array with
11120 fixed width char string elements.
11121 * locale/setlocale.c (_nl_category_names): Likewise.
11122 (_nl_current): Make global.
11123 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
11124
11125 * malloc/Makefile (distribute): Add stackinfo.h.
11126 * sysdeps/generic/stackinfo.h: New file.
11127 * sysdeps/i386/stackinfo.h: New file.
11128 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
11129 * posix/execle.c: Likewise.
11130 * posix/execlp.c: Likewise.
11131
11132 * nis/nis_table.c (__create_ib_request): Always use realloc.
11133
11134 * posix/execvp.c (execute): Rename to script_execute and keep only
11135 code to execute using shell.
11136 (execvp): Call execv directly and only fall back on script_execute.
11137
11138 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
11139 and always use xdigits instead.
11140
11141 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
11142 where appropriate.
11143
11144 * stdlib/fpioconst.h (__tens): New declaration.
11145 (struct mp_power): Remove array, add arrayoff element.
11146 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
11147 __tens array and add in _fpioconst_pow10 offsets into __tens.
11148 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
11149 * stdlib/strtod.c: Likewise.
11150
11151 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
11152
11153 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
11154 of the list.
11155 * stdlib/atexit.c (__exit_funcs): Don't initialize.
11156
11157 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
11158
11159 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
11160 a single and an array with offsets.
11161
11162 * sunrpc/des_soft.c (partab): Make it const.
11163
11164 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
11165 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
11166 (__key_decryptsession_pk_LOCAL): Likewise.
11167 (__key_gendes_LOCAL): Likewise.
11168 (MESSENGER): Mark const.
11169 (key_call_private_main): Don't initialize with 0.
11170 (use_keyenvoy): Don't initialize with 0.
11171 (key_call): Rewrite to reverse logic of use_doors variable.
11172
11173 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
11174 (startp): Don't initialize with zero.
11175
11176 * sunrpc/openchild.c (_openchild): Make first argument const.
11177
11178 * sunrpc/pmap_rmt.c (timeout): Mark const.
11179 * sunrpc/xcrypt.c (hex): Likewise.
11180
11181 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
11182 initialization of global variables.
11183 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
11184 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11185 * termios/tcgetsid.c: Likewise.
11186
11187 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
11188 fxsr to osfxsr.
11189
11190 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
11191 block. Add function to free memory if wanted.
11192 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
11193
11194 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
11195
11196 * wcsmbs/wmemset.c: Little code optimization.
11197
11198 1999-04-23 Paul Eggert <eggert@twinsun.com>
11199
11200 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
11201 ifdef _LIBC.
11202
11203 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
11204
11205 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
11206 implementation and just always fail with ENOSYS. This entry point is
11207 obsolete. Add link warning to that effect.
11208
11209 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
11210
11211 * hurd/get-host.c: Include <hurd/lookup.h>.
11212
11213 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
11214
11215 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
11216 is != NULL.
11217
11218 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11219
11220 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
11221 ISO C9x and Unix98.
11222
11223 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
11224
11225 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
11226 Patch by Peter Miller <millerp@canb.auug.org.au>.
11227
11228 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
11229
11230 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
11231 prefers loopback device.
11232
11233 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
11234
11235 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
11236 no_leading_period change.
11237
11238 * posix/testfnm.c: More test cases.
11239
11240 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
11241
11242 * include/dirent.h: Remove __getdirentries declaration, add __getdents
11243 and __getdents64.
11244 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
11245 * sysdeps/unix/readdir_r.c: Likewise.
11246 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
11247 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
11248 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
11249 __getdirentries. Remove fourth argument.
11250 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
11251 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
11252 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
11253 Add getdirentries and getdirentries64.
11254 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
11255
11256 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
11257 pointer in case of an invalid [[: expression.
11258
11259 * posix/testfnm.c: Add more test cases.
11260
11261 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
11262
11263 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
11264 set, pass EXEC_SIGTRAP flag in exec RPC.
11265
11266 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
11267
11268 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
11269 extra parameter. Fix several more bugs involving wildcard and
11270 ranges.
11271 (fnmatch): New function. Call internal_fnmatch.
11272
11273 * posix/testfnm.c: More test cases.
11274
11275 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11276
11277 * manual/install.texi (Configuring and compiling): Explain that
11278 files are changed in the source directory.
11279 Closes PR libc/981.
11280 (Configuring and compiling): Explain situation with PARALLELMFLAGS
11281 in the source directory.
11282
11283 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11284
11285 * locale/programs/ld-ctype.c: Spelling fixes.
11286 (ctype_finish): Fix argument of error message format.
11287 * locale/programs/ld-messages.c: Spelling fixes.
11288 * locale/programs/ld-monetary.c: Spelling fixes.
11289 * locale/programs/ld-time.c (time_finish): Make sure that name and
11290 format of era_entries are adjacent.
11291 (time_output): Reduce the size of the io vector.
11292
11293 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11294
11295 * manual/filesys.texi (Attribute Meanings): Move a misplaced
11296 paragraph.
11297
11298 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11299
11300 * locale/programs/ld-collate.c (collate_output): Convert
11301 undefined_offset to an array index. Fix computation of other
11302 endian extra table.
11303
11304 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
11305
11306 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
11307 return success with empty value.
11308
11309 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
11310
11311 * posix/fnmatch.c: Include string.h also for glibc.
11312 (fnmatch, case '?'): Optimize if cascades a bit.
11313 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
11314
11315 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
11316
11317 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
11318
11319 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
11320 * iconv/gconv_int.h: Declare UTF16 functions.
11321 * iconv/gconv_simple.c: Add UTF16 conversion functions.
11322
11323 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11324
11325 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
11326 be used correctly as parameter for parse_dollars/parse_tilde.
11327
11328 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11329
11330 * manual/conf.texi (Utility Limits): Remove duplicate description
11331 of BC_DIM_MAX.
11332
11333 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
11334
11335 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
11336 outbufend for dst==NULL.
11337
11338 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
11339
11340 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
11341 for dst==NULL.
11342 Fixes PR libc/1084.
11343
11344 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
11345 Fixes PR libc/1083.
11346
11347 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
11348
11349 * sunrpc/Makefile: Remove special handling of bootparam.x,
11350 add rpcsvc/bootparam.h to headers.
11351 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
11352 * sunrpc/rpcsvc/bootparam.x: Renamed to...
11353 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
11354
11355 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
11356
11357 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
11358 detect and handle invalid descriptors.
11359
11360 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
11361
11362 * timezone/zic.c (dolink): Append complete path not only filename
11363 to ../ list.
11364
11365 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11366
11367 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
11368
11369 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
11370
11371 * iconvdata/gconv-modules: Rename CP874 to IBM874.
11372 * iconvdata/Makefile: Likewise.
11373 * iconvdata/cp874.h: Removed.
11374 * iconvdata/cp874.c: Renamed to...
11375 * iconvdata/ibm874.c: ...this.
11376
11377 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
11378
11379 * sysdeps/unix/sysv/linux/bits/types.h: Correct
11380 signed/unsigned-ness of blkcnt and fsblkcnt.
11381 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
11382 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
11383
11384 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
11385 SOL_AAL, and SOL_IRDA.
11386
11387 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11388
11389 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
11390 include "linux_fsinfo.h".
11391 Based on a patch by H.J. Lu <hjl@gnu.org>.
11392
11393 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
11394
11395 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
11396
11397 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
11398
11399 * nscd/cache.c (prune_cache): Only disable file checking for
11400 future if the file does not exist.
11401 Update file_mtime if cache was flushed.
11402
11403 1999-04-15 David S. Miller <davem@redhat.com>
11404
11405 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
11406 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
11407
11408 1999-04-15 Scott Bambrough <scottb@netwinder.org>
11409
11410 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
11411 compilation of file.
11412
11413 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
11414
11415 * Versions.def: Add GLIBC_2.1.1 to libpthread.
11416
11417 * iconvdata/Makefile (modules): Add KOI8-U.
11418 (distribute): Add koi8-u.c.
11419 (gen-8bit-gap-modules): Add koi8-u.
11420 * iconvdata/gconv-modules: Add KOI8-U entries.
11421 * iconvdata/koi8-u.c: New file.
11422
11423 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
11424
11425 * sunrpc/auth_des.c: 64bit fixes, security fixes.
11426 * sunrpc/auth_none.c: Pretty print.
11427 * sunrpc/auth_unix.c: Likewise.
11428 * sunrpc/authdes_prot.c: Likewise.
11429 * sunrpc/authuxprot.c: Likewise.
11430 * sunrpc/bindrsvprt.c: Likewise.
11431 * sunrpc/clnt_gen.c: Likewise.
11432 * sunrpc/rpc/xdr.h: Likewise.
11433 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
11434 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
11435 * sunrpc/rtime.c: Use new rpc_timeval.
11436 * sunrpc/svc_authux.c: Don't use *long pointers.
11437 * sunrpc/svcauth_des.c: Likewise + security fixes.
11438 * sunrpc/xdr_mem.c: Don't use *long pointers.
11439 * sunrpc/xdr_rec.c: Likewise.
11440 * sunrpc/xdr_sizeof.c: Likewise.
11441 * sunrpc/xdr_stdio.c: Likewise.
11442
11443 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
11444
11445 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
11446 so that it is redone for each sending.
11447
11448 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11449
11450 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
11451
11452 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
11453
11454 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
11455 known to not exist don't try to load shared objects.
11456 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
11457
11458 * nscd/cache.c (prune_cache): The table might not be unused. In
11459 this case do nothing.
11460
11461 * catgets/gencat.c (read_input_file): Don't drop white spaces
11462 between number/identifier and string.
11463 Patch by Dima Barsky <dima@pwd.hp.com>.
11464 If no white space at all follows number/identifier remove existing
11465 message with the number/identifier.
11466
11467 1999-04-14 H.J. Lu <hjl@gnu.org>
11468
11469 * sunrpc/clnt_udp.c (is_network_up): New function.
11470 (clntudp_call): Call is_network_up () to check if any network
11471 interface is up in case of timeout.
11472
11473 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11474
11475 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
11476 * wctype/Makefile (tests): Add test_wcfuncs.
11477
11478 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
11479
11480 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
11481 architectures.
11482 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
11483 instead of CFLAGS.
11484 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
11485 instead of CFLAGS. For gnulib and string directories use
11486 -Wa,-Av9a gcc ASFLAGS.
11487 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
11488 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
11489 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
11490 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
11491 the same way as sparc-*.
11492
11493 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
11494
11495 * locale/programs/locfile.c (locfile_read): Fix typo.
11496 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
11497
11498 1999-04-14 Scott Bambrough <scottb@netwinder.org>
11499
11500 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
11501 restarted after being interrupted by a signal. The parameters on
11502 the stack were corrupted by the signal handler.
11503
11504 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
11505 restarted after being interrupted by a signal. The parameters on
11506 the stack were corrupted by the signal handler.
11507
11508 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11509
11510 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
11511 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
11512
11513 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
11514
11515 * posix/wordexp-test.c: In field-splitting test cases where
11516 subshells were involved, unset IFS first: some shells (ash) use
11517 IFS even when no expansion is performed.
11518
11519 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11520
11521 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
11522 the real end of the chunk, not some random point inbetween.
11523 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
11524 obstack when growing. Use fast version of obstack_blank when
11525 shrinking.
11526 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
11527 allocating the vtable pointer.
11528 (_IO_obstack_vprintf): Adjust for above change and avoid
11529 unnecessary casts. Use fast version of obstack_blank when
11530 shrinking.
11531 Fixes PR libc/1075.
11532
11533 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
11534
11535 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
11536 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
11537
11538 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
11539
11540 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
11541 is seen, as well as fixing semantics. Don't reset the word count
11542 to zero when an invalid character is seen, but leave it as it was
11543 (this makes a difference with WRDE_APPEND).
11544
11545 * posix/wordexp-test.c: More test cases.
11546
11547 * posix/wordexp.c (parse_param): In words like ${var#pattern},
11548 always expand pattern when it is needed. Also, handle quoting in
11549 pattern properly.
11550
11551 1999-04-12 Philip Blundell <philb@gnu.org>
11552
11553 * elf/elf.h: Update ARM definitions to match current gas2.
11554
11555 * sysdeps/arm/bits/endian.h: Support big endian operation.
11556
11557 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
11558 Don't bother range checking the port number.
11559
11560 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
11561
11562 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
11563 the syscall name in assembler output for ease of debugging.
11564
11565 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
11566 compiler behaviour.
11567 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
11568 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
11569 (sysdep_routines): Add sigrestorer.
11570
11571 * string/tester.c (test_strcpy): Add new tests for unaligned
11572 arguments.
11573 * sysdeps/arm/bits/string.h: Delete inline implementations of
11574 strcpy and stpcpy.
11575
11576 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
11577
11578 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
11579
11580 1999-04-10 Mark Kettenis <kettenis@gnu.org>
11581
11582 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
11583
11584 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
11585
11586 * iconvdata/Makefile (modules): Add TIS-620.
11587 (distribute): Add tis-620.c.
11588 (gen-8bit-gap-modules): tis-620.
11589 * iconvdata/tis-620.c: New file.
11590 * iconvdata/gconv-modules: Add TIS-620 entries.
11591
11592 * iconvdata/asmo_449.c: Correct comment.
11593
11594 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11595
11596 * manual/install.texi (Configuring and compiling): Comment out
11597 description of --disable-static since this doesn't work currently
11598 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
11599
11600 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
11601
11602 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
11603 use binary search.
11604 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
11605
11606 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11607
11608 * scripts/test-installation.pl (installation_problem): Skip
11609 libnss1_* libraries from glibc-compat add-on.
11610
11611 1999-04-07 H.J. Lu <hjl@gnu.org>
11612
11613 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
11614 libstdc++ 2.7.2.
11615 * posix/Versions (__waitpid): Likewise.
11616
11617 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11618
11619 * manual/install.texi (Reporting Bugs): Add section about reported
11620 bugs and correct email address of glibcbug script.
11621
11622 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
11623
11624 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
11625 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
11626 xdr_u_longlong_t. Based on patch from Dan Shechter
11627 <damageboy@isdn.net.il>.
11628 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
11629 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
11630
11631 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
11632
11633 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11634
11635 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
11636 directly if getdents returns with error set.
11637
11638 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11639
11640 * locale/langinfo.h (THOUSEP): Rename second occurence of
11641 THOUSANDS_SEP to THOUSEP.
11642 Reported by Roman Belenov <roman@nstl.nnov.ru>.
11643
11644 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
11645
11646 * hurd/STATUS: File removed. Moved items that are still relevant into
11647 TODO list in hurd source.
11648
11649 1999-03-26 Mark Kettenis <kettenis@gnu.org>
11650
11651 * sysdeps/mach/hurd/bits/time.h: New file.
11652 * sysdeps/mach/hurd/getrusage.c: New file.
11653 * sysdeps/mach/hurd/clk_tck.c: New file.
11654 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
11655 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
11656 (sysdep_routines): Add clk_tck.
11657 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
11658 implemented.
11659
11660 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
11661
11662 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
11663 (closelog): But instead here.
11664 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
11665
11666 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11667
11668 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
11669 the source directory. Fixes PR libc/1059.
11670
11671 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11672
11673 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
11674 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11675
11676 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
11677
11678 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
11679 * iconvdata/testdata/ISO-8859-14: New file.
11680 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
11681 * iconvdata/testdata/ISO-8859-15: New file.
11682 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
11683
11684 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
11685
11686 * iconvdata/testdata/CP1258: New file.
11687 * iconvdata/testdata/CP1258..UTF8: New file.
11688 * iconvdata/TESTS: Add CP1258 entry.
11689
11690 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
11691
11692 * timezone/africa: Update from tzdata1999d.
11693 * timezone/europe: Likewise.
11694 * timezone/northamerica: Likewise.
11695
11696 1999-03-31 Mark Kettenis <kettenis@gnu.org>
11697
11698 * login/programs/pt_chown.c (main): Save effective user ID before
11699 dropping priviliges and use this to check if the program is
11700 properly installed.
11701
11702 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
11703
11704 * iconvdata/testdata/CP1254: Update for charmap changes.
11705 * iconvdata/testdata/CP1254..UTF8: Likewise.
11706 * iconvdata/testdata/CP1255: Likewise.
11707 * iconvdata/testdata/CP1255..UTF8: Likewise.
11708 * iconvdata/testdata/CP1256: Likewise.
11709 * iconvdata/testdata/CP1256..UTF8: Likewise.
11710 * iconvdata/testdata/CP1257: Likewise.
11711 * iconvdata/testdata/CP1257..UTF8: Likewise.
11712
11713 * iconvdata/Makefile (distribute): Remove cp1258.h.
11714 (gen-8bit-gap-modules): Add cp1258.
11715 * iconvdata/cp1258.h: Removed.
11716
11717 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
11718
11719 * timezone/tst-timezone.c (tests): Add more cases.
11720 (check_tzvars): Mark errors clearer.
11721 (main): Likewise.
11722
11723 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
11724
11725 * login/programs/pt_chown.c: Drop privileges if invoked with
11726 arguments. Don't close the master pty.
11727
11728 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
11729
11730 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
11731 Minor optimization.
11732
11733 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
11734
11735 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
11736 relocation for SUID binaries.
11737
11738 1999-03-29 Paul Eggert <eggert@twinsun.com>
11739
11740 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
11741 while in child process.
11742
11743 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
11744
11745 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
11746 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
11747 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
11748 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
11749 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
11750
11751 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
11752 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
11753 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
11754 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
11755 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
11756 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
11757 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
11758 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
11759 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
11760 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
11761 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
11762 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
11763 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
11764 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
11765 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
11766 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
11767 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
11768 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
11769 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
11770 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
11771 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
11772 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
11773 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
11774 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
11775 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
11776 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
11777
11778 * sysdeps/sparc/sparc32/bcopy.c: New file.
11779 * sysdeps/sparc/sparc32/bzero.c: New file.
11780 * sysdeps/sparc/sparc32/memchr.S: New file.
11781 * sysdeps/sparc/sparc32/memcpy.S: New file.
11782 * sysdeps/sparc/sparc32/memmove.c: New file.
11783 * sysdeps/sparc/sparc32/memset.S: New file.
11784 * sysdeps/sparc/sparc32/stpcpy.S: New file.
11785 * sysdeps/sparc/sparc32/strchr.S: New file.
11786 * sysdeps/sparc/sparc32/strrchr.c: New file.
11787 * sysdeps/sparc/sparc32/strcpy.S: New file.
11788 * sysdeps/sparc/sparc32/strlen.S: New file.
11789 * sysdeps/sparc/sparc32/strcat.S: New file.
11790 * sysdeps/sparc/sparc32/strcmp.S: New file.
11791
11792 * sysdeps/sparc/sparc64/bcopy.c: New file.
11793 * sysdeps/sparc/sparc64/bzero.c: New file.
11794 * sysdeps/sparc/sparc64/memchr.S: New file.
11795 * sysdeps/sparc/sparc64/memcmp.S: New file.
11796 * sysdeps/sparc/sparc64/memcpy.S: New file.
11797 * sysdeps/sparc/sparc64/memset.S: New file.
11798 * sysdeps/sparc/sparc64/stpcpy.S: New file.
11799 * sysdeps/sparc/sparc64/strcat.S: New file.
11800 * sysdeps/sparc/sparc64/strchr.S: New file.
11801 * sysdeps/sparc/sparc64/strcmp.S: New file.
11802 * sysdeps/sparc/sparc64/strcpy.S: New file.
11803 * sysdeps/sparc/sparc64/strcspn.S: New file.
11804 * sysdeps/sparc/sparc64/strlen.S: New file.
11805 * sysdeps/sparc/sparc64/strncpy.S: New file.
11806 * sysdeps/sparc/sparc64/strpbrk.S: New file.
11807 * sysdeps/sparc/sparc64/strrchr.c: New file.
11808 * sysdeps/sparc/sparc64/strspn.S: New file.
11809 * sysdeps/sparc/sparc64/stpncpy.S: New file.
11810 * sysdeps/sparc/sparc64/strncmp.S: New file.
11811
11812 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
11813 Append -fPIC, don't replace.
11814
11815 * configure.in: Recognize sparcv8plus / sparcv9.
11816
11817 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11818
11819 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
11820 char * to avoid C++ warning.
11821 Patch by yasushi@cs.washington.edu [PR libc/1035].
11822
11823 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11824
11825 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
11826 declared in stdlib.h, correct return value of mkstemp.
11827 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
11828
11829 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
11830 from Linux 2.2.5.
11831
11832 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11833
11834 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
11835 C++ warning.
11836
11837 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
11838 inline functions. Closes PR libc/1049.
11839
11840 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11841
11842 * timezone/README: Update from tzdata1999c and tzcode1999c.
11843
11844 * timezone/africa: Update from tzdata1999c.
11845 * timezone/antarctica: Likewise.
11846 * timezone/asia: Likewise.
11847 * timezone/australasia: Likewise.
11848 * timezone/europe: Likewise.
11849 * timezone/northamerica: Likewise.
11850 * timezone/southamerica: Likewise.
11851 * timezone/zone.tab: Likewise.
11852
11853 * timezone/zic.c: Update from tzcode1999c.
11854
11855 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11856
11857 * Makerules: Add $(common-objpfx)Versions.all to common-generated
11858 outside of ifndef avoid-generated.
11859
11860 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
11861 in iofdopen.c.
11862 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
11863 iofopen.c.
11864 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
11865 in iofclose.c.
11866 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
11867 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
11868
11869 1999-03-26 Mark Kettenis <kettenis@gnu.org>
11870
11871 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
11872 if we build the profiled library.
11873
11874 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11875
11876 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
11877 Jaeger <aj@arthur.rhein-neckar.de>
11878
11879 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
11880
11881 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
11882 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
11883 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
11884
11885 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
11886
11887 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
11888 works properly in subdirs.
11889
11890 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
11891
11892 * sysdeps/mach/hurd/Makefile: Undo last change.
11893 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
11894 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
11895
11896 * mach/Machrules (+preinit, +postinit, +interp,
11897 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
11898 linked just like other shared libraries.
11899 (interface.so): Fix typo in defn, so it works.
11900 ($(objpfx)$(interface.so)): Make it depend on libc.so.
11901
11902 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
11903
11904 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
11905 $(link-rpcuserlibs).
11906
11907 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11908
11909 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
11910 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
11911 targets if not building shared libraries.
11912
11913 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11914
11915 * configure.in: Also look in $PATH when searching for
11916 install-info. Remove autoconf bug workaround and require autoconf
11917 2.13.
11918
11919 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11920
11921 * db/Makefile: Don't try to install shared library link if not
11922 building with shared libs.
11923
11924 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11925
11926 * rt/Makefile: Link against static library if no shared lib is
11927 available.
11928
11929 * localedata/Makefile: The shells scripts implementing the test
11930 require the dynamic linker which is not available with
11931 --disable-shared. Skip the test if --disable-shared is given.
11932
11933 * linuxthreads/Makefile: Link test against static libpthread if no
11934 shared lib is available.
11935
11936 * iconvdata/Makefile (tests): Run iconv-test only if we're
11937 building shared libraries.
11938 * elf/Makefile (tests): Likewise for elf tests.
11939
11940 * posix/Makefile: The test frameworks globtest and wordexp-test
11941 require the dynamic linker which is not available with
11942 --disable-shared. Skip the test if --disable-shared is given.
11943
11944 * grp/Makefile (otherlibs): For static nss build link against
11945 necessary libs.
11946
11947 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11948
11949 * debug/Makefile (install-bin): Install and build catchsegv only
11950 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
11951 libc/965].
11952
11953 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11954
11955 * time/tzfile.c (__tzfile_read): Handle the case where there are
11956 transitions but no DST.
11957
11958 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
11959
11960 * mach/Machrules (extra-libs-others): Add $(interface-library) here
11961 too, so it gets built in the others pass rather than the lib pass.
11962 This is necessary since the RPC libraries need to be linked against
11963 libc.
11964
11965 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
11966
11967 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
11968 _itoa_word decl.
11969
11970 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
11971 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
11972 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
11973 versions of lib{mach,hurd}user.so without reference to libc.so,
11974 then link libc.so against that to get deps and symbol versions, then
11975 finally link real lib*user.so against libc.so.
11976
11977 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
11978 Support whole-file locking (only) by using the file_lock RPC. This
11979 has very wrong semantics, but is better than nothing for the time
11980 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
11981 protocols that will be somewhat hairy to specify.)
11982
11983 1999-03-17 Mark Kettenis <kettenis@gnu.org>
11984
11985 * sysdeps/mach/hurd/ptsname.c: New file.
11986
11987 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11988
11989 * timezone/asia: Fix rule in Asia/Nicosia entry.
11990
11991 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11992
11993 * manual/getopt.texi (Using Getopt): Explain "::" in option
11994 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
11995
11996 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
11997
11998 * sunrpc/clnt_unix.c: Fix creation of parameters for
11999 sendmsg/recvmsg on non intel platforms.
12000 * sunrpc/svc_unix.c: Likewise.
12001
12002 1999-03-18 Philip Blundell <philb@gnu.org>
12003
12004 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
12005 implementation.
12006
12007 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12008
12009 * timezone/africa: Update from tzdata1999b.
12010 * timezone/asia: Likewise.
12011 * timezone/australasia: Likewise.
12012 * timezone/europe: Likewise.
12013 * timezone/northamerica: Likewise.
12014 * timezone/southamerica: Likewise.
12015 * timezone/zone.tab: Likewise.
12016
12017 * timezone/README: Mention tzdata1999b.
12018
12019 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
12020
12021 * sysdeps/generic/segfault.c (write_strsignal): New function.
12022 (catch_segfault): Use it instead of calling strsignal.
12023
12024 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12025
12026 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
12027 char to avoid warning.
12028
12029 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
12030
12031 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
12032
12033 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
12034 outbuf to unsigned char to avoid warning.
12035
12036 1999-03-11 David S. Miller <davem@redhat.com>
12037
12038 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
12039 masks.
12040 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
12041
12042 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
12043
12044 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
12045 `unsigned char'.
12046 (gconv_step_data): Likewise.
12047 * iconv/gconv_int.h (__gconv): Likewise.
12048 (__BUILINT_TRANS): Likewise.
12049 * iconv/gconv.c (__gconv): Likewise.
12050 * iconv/iconv.c (iconv): Add casts for call of __gconv.
12051 * iconv/skeleton.c: Change local parameters and variable from `char' to
12052 `unsigned char'. Remove casts from calls into modules.
12053 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
12054 `char' to `unsigned char'.
12055 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
12056 * wcsmbs/mbrtowc.c: Likewise.
12057 * wcsmbs/mbsnrtowcs.c: Likewise.
12058 * wcsmbs/mbsrtowcs.c: Likewise.
12059 * wcsmbs/wcrtomb.c: Likewise.
12060 * wcsmbs/wcsnrtombs.c: Likewise.
12061 * wcsmbs/wcsrtombs.c: Likewise.
12062 * wcsmbs/wctob.c: Likewise.
12063
12064 1999-03-15 Mark Kettenis <kettenis@gnu.org>
12065
12066 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
12067 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
12068 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
12069 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
12070 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
12071 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
12072
12073 1999-03-15 Mark Kettenis <kettenis@gnu.org>
12074
12075 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
12076 _hurd_select if TIMEMOUT is -1.
12077
12078 1999-03-15 Mark Kettenis <kettenis@gnu.org>
12079
12080 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
12081
12082 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
12083
12084 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
12085 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
12086
12087 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12088
12089 * manual/libc.texinfo: Undo last change for now.
12090
12091 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
12092
12093 * intl/locale.alias: Add entries for Croatian.
12094 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
12095
12096 1999-03-13 Mark Kettenis <kettenis@gnu.org>
12097
12098 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
12099 if the opened master pty really is a pty. `isatty' checks for
12100 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
12101 if we are out of pty's.
12102
12103 1999-03-13 Mark Kettenis <kettenis@gnu.org>
12104
12105 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
12106 opened file is closed on exec.
12107 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
12108 opened socket.
12109
12110 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12111
12112 * manual/llio.texi (File Position Primitive): Reformat @end
12113 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
12114
12115 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
12116
12117 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
12118 entry is found.
12119 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12120 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
12121
12122 * locale/programs/localedef.c (main): Initialize `cat' to please
12123 the compiler.
12124
12125 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
12126
12127 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
12128 check for root-owned symlinks and reject them too.
12129
12130 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12131
12132 * stdio-common/printf_fphex.c: Move to ...
12133 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
12134 extended precision number.
12135 * sysdeps/m68k/printf_fphex.c: New file.
12136
12137 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12138
12139 * manual/stdio.texi: Fix typos.
12140
12141 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
12142
12143 * version.h (VERSION): Bump to 2.1.1.
12144
12145 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
12146
12147 * nis/ypclnt.c: Try only twice to connect to NIS server.
12148
12149 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
12150
12151 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
12152
12153 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12154
12155 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
12156 (DENORM_EXP): New define. Use it as the exponent for a denormal.
12157 * stdlib/strtold.c: Moved to ...
12158 * sysdeps/generic/strtold.c: ... here.
12159 * sysdeps/m68k/strtold.c: New file.
12160
12161 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12162
12163 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
12164 point if the precision is zero, even if the mantissa is non-zero.
12165
12166 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
12167
12168 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
12169 arguments into the request message buffer inside `send_rpc'
12170 subfunction. We must repeat the marshalling when retrying the RPC
12171 after a SIGTTOU delivery.
12172
12173 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
12174 path when there is no ctty port.
12175 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
12176 Move sigstate check inside loop so we recheck after handling a signal.
12177
12178 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12179
12180 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
12181 O_EXLOCK are BSD extensions.
12182 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
12183
12184 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
12185
12186 * manual/signal.texi (Termination in Handler): Correct example.
12187 Install default handler before reraising the signal.
12188 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
12189
12190 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
12191
12192 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
12193 null, in which case send an empty string.
12194
12195 1999-03-02 Mark Kettenis <kettenis@gnu.org>
12196
12197 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
12198 backward compatibility EH functions to be linked when using
12199 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
12200
12201 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12202
12203 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
12204 /dev/pts status may change during runtime.
12205
12206 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12207
12208 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
12209 change. /dev/pts status can change during runtime.
12210
12211 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
12212
12213 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
12214 poll reports error.
12215 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
12216 add some more sanity checks.
12217 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
12218 parser prototype.
12219
12220 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
12221
12222 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
12223 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
12224 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
12225 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
12226 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
12227 for x_getint32.
12228 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
12229 * nis/nis_print.c: Fix ctime argument for platforms where
12230 sizeof (time_t) != sizeof (int).
12231
12232 1999-03-07 Mark Kettenis <kettenis@gnu.org>
12233
12234 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
12235 CLOCKS_PER_SEC instead of CLK_TCK.
12236
12237 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
12238
12239 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
12240 whether /dev/pts is available.
12241 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
12242 dev_pts_available.
12243
12244 * posix/globtest.sh: Make common_objpfx path absolute and and db2
12245 and hesiod directory to library path [PR libc/1007].
12246
12247 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12248
12249 * resolv/inet_addr.c (inet_aton): Don't allow componets >
12250 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
12251
12252 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
12253
12254 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
12255 DT_PLTGOT has already been relocated.
12256 (__elf_machine_fixup_plt): Likewise.
12257 Minor cleanups.
12258
12259 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
12260
12261 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
12262
12263 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
12264
12265 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
12266 and fold string to uppercase [PR libc/1005].
12267
12268 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12269
12270 * elf/dl-load.c (lose): Fix return type.
12271
12272 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
12273
12274 * sysdeps/mach/hurd/bits/fcntl.h
12275 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
12276 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
12277 set O_NOTRANS as well.
12278 (__hurd_file_name_lookup_retry): At successful end of lookup,
12279 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
12280 it is a translated node not owned by root.
12281 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
12282 on the file name passed to LOOKUP.
12283
12284 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
12285
12286 * manual/time.texi (High Resolution Timer): Correct computation in
12287 example. Reported by jjf@devel.cemsys.com.
12288
12289 1999-03-02 Philip Blundell <pb@nexus.co.uk>
12290
12291 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
12292 entry is already relocated.
12293
12294 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12295
12296 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
12297 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
12298
12299 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12300
12301 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
12302 uc_link which is the right name according to Unix98.
12303 Reported by Craig Metz [PR libc/1001].
12304 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
12305 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
12306 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
12307 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
12308 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise.
12309 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
12310
12311 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12312
12313 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
12314 @ifinfo.
12315
12316 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12317
12318 * iconvdata/Makefile: Always include iconv-rules, but disable rule
12319 to regenerate it if avoid-generated.
12320
12321 * Makeconfig: Always include sys-dirs, but disable rule to
12322 regenerate it when avoid-generated.
12323
12324 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
12325 rule to generate sysd-syscalls.
12326
12327 * elf/Makefile (generated): Remove $(objpfx) from names.
12328
12329 1999-02-28 Mark Kettenis <kettenis@gnu.org>
12330
12331 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
12332 actual length if the adress length is smaller than the input
12333 value. Change type of *LEN paramater to socklen_t.
12334 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
12335 * sysdeps/mach/hurd/accept.c (accept): Likewise.
12336 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
12337 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
12338 paramater to socklen_t.
12339
12340 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
12341
12342 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
12343 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
12344 with the RPC.
12345
12346 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
12347
12348 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
12349 __get_phys_pages): Cast &HBI to silence warning.
12350
12351 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
12352 * hurd/hurdchdir.c: New file.
12353 * hurd/hurdfchdir.c: New file.
12354 * sysdeps/mach/hurd/chroot.c: Call
12355 _hurd_change_directory_port_from_name to do the work.
12356 * sysdeps/mach/hurd/chdir.c: Likewise.
12357 * sysdeps/mach/hurd/fchdir.c: Call
12358 _hurd_change_directory_port_from_fd to do the work.
12359 * hurd/fchroot.c: Likewise.
12360 * hurd/hurd.h: Declare them.
12361
12362 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
12363
12364 * elf/dl-load.c (lose): Add more comments to explain the `why'.
12365 (_dl_map_object): Remove redundant test.
12366
12367 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
12368
12369 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
12370 try to _hurd_port_free a lower-numbered descriptor that was not in any
12371 fd_set.
12372
12373 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12374
12375 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
12376 declaration for ____wcstod_l_internal.
12377
12378 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
12379 __strtod_internal prototype.
12380 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
12381 (____strtold_l_internal): Add prototype declaration.
12382 (__strtold_l): Call correct function.
12383
12384 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
12385
12386 * elf/elf.h: Add 32bit HPPA definitions.
12387
12388 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12389
12390 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
12391 non-checked heap is restored when malloc checking was requested by
12392 the user.
12393 (struct malloc_state): Add using_malloc_checking.
12394 (MALLOC_STATE_VERSION): Increment minor.
12395 (using_malloc_checking, disallow_malloc_check): New variables.
12396 (__malloc_check_init): Use them.
12397 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
12398 that it can the chunk is properly instrumented when malloc
12399 checking is enabled. Set the new using_malloc_checking field.
12400 (malloc_hook_ini): Correct signature when _LIBC is not defined.
12401
12402 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12403
12404 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
12405 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
12406 time.
12407
12408 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
12409 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
12410 if ld.so is the main program.
12411
12412 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
12413
12414 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
12415 large for work_buffer, allocate new buffer.
12416 (printf_unknown): Likewise. [PR libc/988]
12417
12418 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
12419
12420 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
12421 instead of stat and fstat.
12422 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12423
12424 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12425
12426 * elf/dl-error.c (_dl_signal_cerror): New function.
12427 (_dl_signal_error): Don't call receiver function.
12428 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
12429 instead of _dl_signal_error when reporting references to undefined
12430 symbols or versions.
12431 (_dl_lookup_versioned_symbol): Likewise.
12432 (_dl_lookup_versioned_symbol_skip): Likewise.
12433 * elf/dl-version.c (match_symbol): Likewise.
12434
12435 * elf/ldsodefs.h: Declare _dl_signal_cerror.
12436
12437 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
12438
12439 * misc/getttyent.c (getttyent): Release lock on stream later to
12440 also protect global variable zapchar.
12441
12442 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
12443 __times [PR libc/990].
12444
12445 1999-02-21 David S. Miller <davem@redhat.com>
12446
12447 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
12448 parentheses in Feb 2 changes.
12449 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
12450
12451 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12452
12453 * sysdeps/generic/glob.c (glob): Save previous errno.
12454
12455 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
12456
12457 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
12458 lookup functions if it is too small.
12459
12460 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
12461
12462 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
12463 for tracing to the scope lists.
12464 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
12465 DT_SYMTAB is always available according to ELF spec.
12466
12467 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
12468 call test whether there is any scope left.
12469 (_dl_lookup_versioned_symbol_skip): Likewise.
12470
12471 * elf/Makefile (distribute): Add do-lookup.h.
12472 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
12473 * elf/dl-lookup.c: Move do_lookup function in separate file and
12474 include the file twice, for handling versioning and without it.
12475
12476 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
12477 entry is already relocated.
12478 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
12479 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
12480 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
12481 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
12482 Likewise.
12483 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
12484 Likewise.
12485 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
12486 Likewise.
12487
12488 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
12489 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
12490 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
12491 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
12492 rel and rela relocations can both happen and skip one test if this
12493 is not possible.
12494 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
12495 appropriately.
12496 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
12497 already relocated.
12498 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
12499 relocated.
12500 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
12501 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
12502 (_dl_map_object): DT_STRTAB entry is already relocated.
12503 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
12504 already relocated.
12505 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
12506 relocated.
12507 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
12508 DT_VERSYM entries are already relocated.
12509 (profile_fixup): Likewise.
12510 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
12511 all users.
12512 (match_symbol): DT_STRTAB entry is already relocated.
12513 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
12514 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
12515 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
12516 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
12517 (find_needed): DT_STRTAB entry is already relocated.
12518 (dl_main): Pass extra argument to elf_get_dynamic_info.
12519 DT_STRTAB entry is already relocated.
12520 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
12521 DT_PLTGOT entries are already relocated.
12522 (elf_machine_rela): Likewise for DT_SYMTAB.
12523 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
12524 relocated.
12525 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12526 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12527 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12528 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12529 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
12530 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
12531 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
12532 * sysdeps/mips/mips64/dl-machine.h: Likewise.
12533
12534 * grp/initgroups.c (initgroups): If function in current module was
12535 successful don't stop but continue to process to get all the groups.
12536
12537 * elf/dl-load.c (_dl_map_object_from_fd): Use global
12538 _dl_pf_to_proot array to convert p_flags value.
12539 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12540
12541 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
12542 loop to clear `info'.
12543
12544 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
12545 do the work and don't use inline assembler.
12546
12547 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
12548
12549 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
12550 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
12551 noreturn, and prevent it from being inlined.
12552 Define LOSE appropriately.
12553 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
12554 Optimize decoding of p_flags for certain platforms.
12555
12556 1999-02-19 Philip Blundell <pb@nexus.co.uk>
12557
12558 * Makeconfig (link-libc): When doing a static link, make sure that
12559 libgcc.a is included both before and after libc.a.
12560
12561 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
12562
12563 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
12564 sp_warn, sp_inact, sp_expire and sp_flag.
12565
12566 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
12567
12568 * elf/link.h (link_map): Add l_dev and l_ino.
12569 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
12570 loaded shared object with all loaded objects. Initialize l_ino
12571 and l_dev in case it's new.
12572 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
12573 object.
12574 * elf/Makefile: Compile and run new test.
12575 * elf/multiload.c: New file.
12576
12577 * nss/nsswitch.h (service_user): Change name field from const char *
12578 to char[0].
12579 (name_database_entry): Likewise.
12580 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
12581 for change of `service_user'.
12582 (nss_getline): Adjust memory allocation for change of
12583 `name_database_entry'.
12584
12585 * catgets/catgets.c: Correctly handle NLSPATH from environment
12586 [PR libc/980].
12587
12588 * io/Makefile (routines): Add lock64.
12589 * io/Versions: Add lockf64 for GLIBC_2.1.1.
12590 * sysdeps/generic/lockf64.c: New file.
12591
12592 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
12593
12594 * string/bits/string2.h: Only use strncmp optimization if count
12595 argument is constant.
12596
12597 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
12598
12599 * sysdeps/mach/hurd/revoke.c: New file.
12600
12601 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
12602
12603 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
12604 int to avoid warning about `ISO C restricts enumerator values to
12605 range of `int''.
12606
12607 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12608
12609 * elf/dlfcn.h: Fix typo.
12610 * sysdeps/generic/bits/dlfcn.h: Likewise.
12611 * sysdeps/mips/bits/dlfcn.h: Likewise.
12612
12613 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
12614
12615 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
12616 for the case N == 0.
12617
12618 * db2/Makefile (distribute): Add LICENSE.
12619
12620 1999-02-03 Jeff Bailey <jbailey@nisa.net>
12621
12622 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
12623 generated files.
12624
12625 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
12626
12627 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
12628
12629 * time/mktime.c: Use ISO C form for function definitions and
12630 remove unnecessary prototypes.
12631
12632 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
12633
12634 * time/time.h: Avoid unneccesary #ifdef.
12635
12636 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
12637
12638 * stdio-common/_itoa.c (_itoa): Correct parameters to
12639 udiv_qrnnd_preinv.
12640
12641 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12642
12643 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
12644 before (e.g. in glob.h).
12645 Closes PR libc/959.
12646
12647 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12648
12649 * sysdeps/mips/fpu_control.h: Fix typo.
12650 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
12651 Remove __setfpucw.
12652
12653 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
12654
12655 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
12656 the "unused" ends of the sockets. Let pipes be bidirectional.
12657
12658 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
12659
12660 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
12661 invalid ai_flags.
12662
12663 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12664
12665 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
12666 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
12667
12668 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
12669 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
12670
12671 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
12672
12673 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
12674
12675 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12676
12677 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
12678 check for priority mask.
12679
12680 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
12681
12682 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
12683 Reported by Craig Metz <cmetz@inner.net> .
12684
12685 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12686
12687 * stdio-common/Makefile (tests): tllformat added.
12688
12689 * stdio-common/tllformat.c: New program, based on tiformat.c with
12690 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
12691
12692 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12693
12694 * posix/test-vfork.c: Fix exit status test.
12695
12696 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12697
12698 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
12699 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
12700
12701 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12702
12703 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
12704 of separare explicit comparisons.
12705
12706 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12707
12708 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
12709 defined.
12710
12711 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
12712 defined.
12713
12714 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
12715
12716 * po/el.po: Update from translation team.
12717
12718 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12719
12720 * intl/locale.alias: Fix slovenian entry [PR libc/948].
12721
12722 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12723
12724 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
12725 * inet/ruserpass.c: Likewise.
12726 * locale/programs/stringtrans.c: Likewise.
12727 * locale/programs/localedef.c: Likewise.
12728 * nscd/grpcache.c: Likewise.
12729 * nss/nss_files/files-XXX.c: Likewise.
12730 * stdlib/canonicalize.c: Likewise.
12731 * sysdeps/posix/sigwait.c: Likewise.
12732
12733 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12734
12735 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
12736 even on 64 bit platforms.
12737
12738 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12739 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
12740
12741 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
12742
12743 * intl/dcgettext.c: Include locale.h is available.
12744
12745 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
12746
12747 * po/nl.po: Update from translation team.
12748
12749 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
12750
12751 * Makefile: Allow calling goals for po subdir.
12752
12753 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
12754 signal definitions.
12755
12756 * po/el.po: New file.
12757
12758 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12759
12760 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
12761 when processing DT_SYMBOLIC objects.
12762
12763 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12764
12765 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
12766 program headers without PT_PHDR only require that they are
12767 contained within one of the loaded segments. Don't use assert,
12768 since that would be a bug in the object, not the dynamic linker.
12769
12770 1999-02-08 Richard Henderson <rth@cygnus.com>
12771
12772 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
12773 restore all call-clobbered fp regs.
12774
12775 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
12776
12777 * po/cs.po: New file.
12778
12779 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
12780 SUID binaries.
12781
12782 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
12783
12784 * signal/signal.h: Don't declare __libc_allocate_rtsig.
12785 * include/signal.h: Declare __libc_allocate_rtsig here.
12786
12787 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
12788 point functions, not do_lookup since the later can be called more
12789 than once.
12790
12791 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
12792
12793 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
12794 macro, so that architectures which need to add some special
12795 offset to stack pointer can share this file.
12796
12797 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
12798 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
12799 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
12800 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
12801
12802 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
12803 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
12804 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
12805 between sparc32 and sparc64.
12806
12807 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
12808 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
12809 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
12810 between sparc32 and sparc64.
12811
12812 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
12813 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
12814 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
12815 between sparc32 and sparc64.
12816
12817 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
12818 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
12819 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
12820 between sparc32 and sparc64.
12821
12822 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
12823
12824 * Versions.def: New version GLIBC_2.1.1 for libc.
12825 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
12826 * stdlib/labs.c: Moved to...
12827 * sysdeps/generic/labs.c: ...here.
12828 * stdlib/llabs.c: Moved to...
12829 * sysdeps/generic/llabs.c: ...here.
12830 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
12831 header. Declare _Exit.
12832 * sysdeps/generic/_exit.c: Add alias _Exit.
12833 * sysdeps/mach/hurd/_exit.c: Likewise.
12834 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
12835 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
12836 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
12837 * sysdeps/unix/_exit.c: Likewise.
12838 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
12839 imaxdiv and imaxabs. Declare lldiv_t if necessary.
12840 * sysdeps/wordsize-64/inttypes.h: Likewise.
12841 * sysdeps/wordsize-32/llabs.c: New file.
12842 * sysdeps/wordsize-32/lldiv.c: New file.
12843 * sysdeps/wordsize-64/labs.c: New file.
12844 * sysdeps/wordsize-64/ldiv.c: New file.
12845 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
12846 * manual/startup.texi: Document _Exit.
12847
12848 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12849
12850 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
12851
12852 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
12853
12854 * Versions.def: Add versions for ld.so.
12855 * csu/Versions: Remove __libc_stack_end here.
12856 * elf/Versions: Split libc definitions in libc and ld.so definitions.
12857 * elf/Makefile (ld-map): Change to ld.so.map.
12858 * scripts/versions.awk: Recognize dot in library names.
12859
12860 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
12861 Don't use __tolower and __toupper in inline functions.
12862 Add optimizing macros for tolower and toupper.
12863 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
12864 (_toupper): Don't use __toupper.
12865 * ctype/ctype.c (tolower): Don't use __tolower.
12866 (toupper): Don't use toupper.
12867
12868 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
12869
12870 * resolv/Versions (libresolv): Export __ns_name_unpack and
12871 __ns_name_ntop.
12872 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
12873 make it global. Change all users. Similar for ns_name_ntop.
12874 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
12875 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
12876 directly to detect too small buffer.
12877 * resolv/nss_dns/dns-network.c: Likewise.
12878
12879 * stdio-common/Makefile (tests): Add scanf12.
12880 * stdio-common/scanf12.c: New file.
12881 * stdio-common/scanf12.input: New file.
12882 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
12883 floating-point correctly if the number is invalid.
12884
12885 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
12886 functions.
12887 * stdio-common/printf_fp.c: Likewise.
12888 * stdio-common/printf_fphex.c: Likewise.
12889 * stdio-common/vfprintf.c: Likewise.
12890
12891
12892 See ChangeLog.9 for earlier changes.
This page took 0.541484 seconds and 5 git commands to generate.