1 2000-01-22 Andreas Jaeger <aj@suse.de>
3 * sunrpc/rpc/svc.h: Fix description for svc_register.
5 2000-01-23 Mark Kettenis <kettenis@gnu.org>
7 * inet/rexec.c (rexec_af): Use SA_LEN instead of __libc_sa_len.
9 2000-01-22 Thorsten Kukuk <kukuk@suse.de>
11 * sunrpc/xdr_rec.c: Don't set frag_sent if no more data,
12 fixes part 2 of bug 1549.
13 * sunrpc/rpc_des.h: Remove unused defines.
15 2000-01-22 Mark Kettenis <kettenis@gnu.org>
17 * intl/Makefile ($(objpfx)msgs.h): Do $(make-target-directory) first.
19 2000-01-22 Thorsten Kukuk <kukuk@suse.de>
21 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove sys/io.h.
22 * sysdeps/unix/sysv/linux/alpha/Makefile: Add sys/io.h.
23 * sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
24 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
25 * sysdeps/unix/sysv/linux/sys/io.h: Move from here ...
26 * sysdeps/unix/sysv/linux/i386/sys/io.h: ... to here, add inb, outb
27 and other inline functions for port access.
28 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for port
31 2000-01-23 Ulrich Drepper <drepper@cygnus.com>
33 * iconv/gconv_simple.c: Fix two problems in UTF-8 decoder.
34 Patch by Bruno Haibe <haible@ilog.fr>.
36 2000-01-05 Roland McGrath <roland@baalperazim.frob.com>
38 * sysdeps/mach/hurd/errnos.awk: Rediddle to collect lines and print
39 them all at the end, eliding the final comma.
40 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42 2000-01-21 Ulrich Drepper <drepper@cygnus.com>
44 * intl/libintl.h: Add format_arg attributes to declarations of new
47 * intl/Makefile (routines): Add dcigettext, dcngettext, dngettxt,
49 (distribute): Add plural.y, po2test.sed, and tst-gettext.sh.
50 (test-srcs): Add tst-gettext.
51 (before-compile): Add $(objpfx)msgs.h.
52 Add rules for plural.c and msgs.h generation and running tst-gettext.\
53 * intl/Versions [GLIBC_2.2]: Add __dcngettext, dcngettext, dngettext,
55 * intl/dcgettext.c: Move most code into dcigettext.c. Add call
56 dcigettext with appropriate parameters.
57 * intl/dcigettext.c: New file.
58 * intl/dcngettext.c: New file.
59 * intl/dngettext.c: New file.
60 * intl/ngettext.c: New file.
61 * intl/gettextP.h (struct expression): Define.
62 (struct loaded_domain): Add plural and nplurals members.
63 Add prototypes for new internal functions.
64 * intl/libintl.h: Declare new functions. Add optimizations for them.
65 * intl/loadinfo.h: Add new parameter to _nl_find_msg declaration.
66 * intl/loadmsgcat.c (_nl_load_domain): Search for plural information in
67 header entry and parse and store the expression.
68 * intl/plural.y: New file.
69 * intl/po2test.sed: New file.
70 * intl/tst-gettext.c: New file.
71 * intl/tst-gettext.sh: New file.
72 * manual/message.texi: Document new interfaces.
74 * intl/gettext.c: Call __dcgettext directly.
76 2000-01-20 Ulrich Drepper <drepper@cygnus.com>
78 * manual/getopt.texi (Using the getopt function): Fix description of
79 return value for format string starting with '-' (PR libc/1551).
80 Patch by Raúl Núñez de Arenas Coronado <dervishd@jazzfree.com>
82 * sunrpc/clnt_perr.c (rpc_errlist): Fix index for RPC_PROGVERSMISMATCH.
83 Patch by jens.moeller@westgeo.com (PR libc/1550).
85 * locale/programs/ld-collate.c (struct element_t): Add wclast
86 and compute it where necessary.
87 (collate_output): Insert indirect references in the right order.
89 * math/Makefile (tests): Add test-misc.
90 * math/test-misc.c: New file.
92 2000-01-19 Ulrich Drepper <drepper@cygnus.com>
94 * sysdeps/ieee754/ldbl-96/s_modfl.c: Correct handling of arguments
95 with exponent >31 and < 63 (PR libc/1548).
97 * locale/programs/ld-collate.c (output_weightwc): Return index
98 measured in words, not bytes. Don't write out words for ignored
100 (collate_output): Correct various problems with alignment in the
102 * locale/weight.h: Adjust for last change in ld-collate.c of adding
105 * stdlib/strfmon.c: Don't report an error if final NUL is at the
106 end of the buffer. Set errno correctly if floating-point number
107 would overflow buffer.
109 * posix/regex.h: Update comment of RE_SYNTAX_POSIX_MINIMAL_EXTENDED.
111 * locale/weight.h (findidx): Little optimization. Correctly return
112 offset in indirect table.
113 * locale/programs/ld-collate.c (struct element_t): Add mblast
114 and compute it where necessary.
115 (insert_weights): Correctly handle missing weights in ellipsis
117 (handle_ellipsis): Correctly enqueue new element.
118 (collate_output): Insert indirect references in the right order.
120 2000-01-18 Ulrich Drepper <drepper@cygnus.com>
122 * wcsmbs/mbrtowc.c: Create temporary state object if no output is
124 * wcsmbs/mbsrtowcs.c: Likewise.
125 * wcsmbs/wcrtomb.c: Likewise.
126 * wcsmbs/wcsrtombs.c: Likewise.
128 * wcsmbs/wcrtomb.c: Compute result correctly for successful call
131 * wcsmbs/mbsrtowcs.c: Compute return value correctly after change
134 * wcsmbs/mbrtowc.c: Don't set errno if byte sequence is only
135 incomplete but correct.
137 * locale/programs/charmap.c: NUL-terminate names of generated
138 entries for ellipsis.
140 2000-01-18 Andreas Jaeger <aj@suse.de>
142 * sysdeps/unix/sysv/linux/i386/lxstat.c: New file, handles 32bit UIDs.
143 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
144 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Move
145 _STAT_VER_KERNEL handling up; don't save errno.
146 * sysdeps/unix/sysv/linux/arm/fxstat.c: New file.
147 * sysdeps/unix/sysv/linux/arm/lxstat.c: Likewise.
148 * sysdeps/unix/sysv/linux/arm/xstat.c: Likewise.
149 * sysdeps/unix/sysv/linux/m68k/fxstat.c: Likewise.
150 * sysdeps/unix/sysv/linux/m68k/lxstat.c: Likewise.
151 * sysdeps/unix/sysv/linux/m68k/xstat.c: Likewise.
152 * sysdeps/unix/sysv/linux/sparc/sparc32/fxstat.c: Likewise.
153 * sysdeps/unix/sysv/linux/sparc/sparc32/lxstat.c: Likewise.
154 * sysdeps/unix/sysv/linux/sparc/sparc32/xstat.c: Likewise.
156 2000-01-18 Ulrich Drepper <drepper@cygnus.com>
158 * iconv/loop.c (COUNT_CONVERTED): Remove macro, comment, and all uses.
159 Remove done variable and all uses.
160 * iconv/skeleton.c: Update comment for *written modification.
161 * iconv/gconv_int.h (__gconv): Update comment.
162 Reported by Bruno Haible.
164 2000-01-18 Bruno Haible <haible@ilog.fr>
166 * posix/fnmatch.c (ISWCTYPE): New macro.
167 (__wcschrnul): New function.
168 (BTOWC): New macro. Define it instead of __btowc.
169 (is_char_class) [!_LIBC]: Fix 'mstate_t' typo. Fix 2nd arg to
170 wcsrtombs. Call wctype, not __wctype.
171 * posix/fnmatch_loop.c (FCT): Use ISWCTYPE instead of __iswctype, and
172 BTOWC instead of __btowc.
174 2000-01-18 Andreas Jaeger <aj@suse.de>
176 * inet/Versions: Add new functions added on 2000-01-17.
178 2000-01-18 Jakub Jelinek <jakub@redhat.com>
180 * dirent/dirent.h (getdentries): Correct prototype to use __off64_t.
182 2000-01-18 Ulrich Drepper <drepper@cygnus.com>
184 * timezone/antarctica: Update from tzdata2000a.
185 * timezone/asia: Likewise.
186 * timezone/australasia: Likewise.
187 * timezone/backward: Likewise.
188 * timezone/northamerica: Likewise.
189 * timezone/southamerica: Likewise.
190 * timezone/zone.tab: Likewise.
192 * nscd/connections.c (dbs): Use
193 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP for .lock.
196 * nscd/hstcache.c (cache_addhst): Don't automatically add IPv6
197 address. Suggested by Philip Blundell.
199 * posix/TESTS: Fix expected result for test cases with * with no
202 * sysdeps/unix/sysv/linux/fstatvfs.c: Move actual code in...
203 * sysdeps/unix/sysv/linux/internal_statvfs.c: ...here. New file.
204 * sysdeps/unix/sysv/linux/statvfs.c: Don't use fstatvfs since the
205 open call would require read permission.
206 Patch by James Antill <james@and.org>.
208 * sysdeps/unix/sysv/linux/Dist: Add internal_fnmatch.c.
210 * inet/getnameinfo.c: Terminate host name for NI_NOFQDN.
211 * sysdeps/posix/getaddrinfo.c: Correct modifications done for
212 PR1515. Patches by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
214 * posix/regex.h (RE_SYNTAX_POSIX_EXTENDED): Add RE_CONTEXT_INVALID_OPS.
215 * posix/regex.c (regex_compile): Return appropriate errors for
216 unterminated brace expressions. Detect invalid characters
217 in brace expressions.
218 * posix/bits/posix2_lim.h: Define RE_DUP_MAX correctly.
219 * sysdeps/posix/sysconf.c: Include regex.h.
220 Reported by Geoff Clare <gwc@unisoft.com> (PR libc/1522).
222 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
224 * sysdeps/posix/getaddrinfo.c (gaih_local): If name is given and
225 AI_NUMERICHOST flag is set, return an error.
226 Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
228 * inet/rcmd.c: Implement rcmd_af, rresvport_af, ruserok_af, and
230 * inet/rexec.c: Implement rexec_af.
231 Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
233 * resolv/netdb.h: Add declarations of rcmd_af, rexec_af, ruserok_af,
236 2000-01-17 Jakub Jelinek <jakub@redhat.com>
238 * sysdeps/unix/sysv/linux/bits/ipc.h: New file.
239 * sysdeps/unix/sysv/linux/bits/sem.h: New file.
240 * sysdeps/unix/sysv/linux/bits/shm.h: New file.
241 * sysdeps/unix/sysv/linux/bits/msg.h: New file.
242 * sysdeps/unix/sysv/linux/bits/alpha/ipc.h: Update for new ipc.
243 * sysdeps/unix/sysv/linux/bits/alpha/sem.h: New file.
244 * sysdeps/unix/sysv/linux/bits/alpha/shm.h: New file.
245 * sysdeps/unix/sysv/linux/bits/alpha/msg.h: New file.
246 * sysdeps/unix/sysv/linux/bits/sparc/ipc.h: New file.
247 * sysdeps/unix/sysv/linux/bits/sparc/sem.h: New file.
248 * sysdeps/unix/sysv/linux/bits/sparc/shm.h: New file.
249 * sysdeps/unix/sysv/linux/bits/sparc/msg.h: New file.
251 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl):
253 (__new_msgctl): New function.
254 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl):
256 (__new_semctl): New function.
257 * sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl):
259 (__new_shmctl): New function.
261 * sysdeps/unix/sysv/linux/msgget.c: Define __LIBC_IPC_INTERNAL.
262 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
263 * sysdeps/unix/sysv/linux/semget.c: Likewise.
264 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
265 * sysdeps/unix/sysv/linux/semop.c: Likewise.
266 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
267 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
268 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
270 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: New file.
271 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: New file.
272 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: New file.
274 * sysdeps/unix/sysv/linux/Versions: Add msgctl, semctl, shmctl.
276 2000-01-17 Jakub Jelinek <jakub@redhat.com>
278 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
279 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
280 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove setres[ug]id.
281 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Kill warnings.
282 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Define needed
285 * sysdeps/unix/sysv/linux/pwrite64.c: Use proper prototype.
286 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
288 * sysdeps/unix/sysv/linux/kernel-features.h: [gs]etres[ug]id are
289 available on sparc since 2.3.39.
291 * sysdeps/unix/sysv/linux/execve.c: Kill warnings.
293 2000-01-17 Jakub Jelinek <jakub@redhat.com>
295 * sysdeps/unix/sysv/linux/i386/chown.c (__syscall_chown): Use proper
297 (__real_chown): Return EINVAL if owner or group are out of the range
299 * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
300 * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
301 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Return
302 EINVAL if ruid, euid or suid are out of the range -1U .. 65534.
303 * sysdeps/unix/sysv/linux/i386/setresgid.c (__setresgid): Similarly.
304 * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Simplify.
305 * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
306 * sysdeps/unix/sysv/linux/m68k/chown.c (__syscall_chown): Use proper
308 Don't include non-existant header.
309 (__chown): Return EINVAL if owner or group are out of the range
311 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setresuid,
312 setresgid): Inherit standard linux/syscalls.list definitions.
313 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Remove.
314 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Remove.
315 * sysdeps/unix/sysv/linux/syscalls.list (setresgid): Provide
318 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
320 * locale/iso-639.def: Update Hebrew, Yiddish, and Indonesian entry
321 from 1989 change in ISO 639.
323 2000-01-12 Andreas Jaeger <aj@suse.de>
325 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): New
326 function; needed for 32bit uid support.
328 * sysdeps/unix/sysv/linux/i386/xstat.c: New file, handles 32bit
331 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
333 * intl/locale.alias: Add entries for galician.
335 * locale/programs/ld-ctype.c (get_character): If tok_ucs4 found, first
336 try to get sequence from charmap with Uxxxxxxxx name.
337 (charclass_ucs4_ellipsis): Likewise.
338 (charclass_charcode_ellipsis): Allow byte sequence missing.
339 (read_writestring): Free allocated memory in case of an error.
340 (set_class_defaults): Don't search repertoire map for wide character
341 default values; we know it's UCS4.
343 * locale/programs/repertoire.c (repertoire_find_value): Just return an
344 error if no repertoire map was loaded.
345 (repertoire_find_symbol): Likewise.
346 (repertoire_find_seq): Likewise.
348 * posix/fnmatch.c: Put internal_fnmatch in separate file. Include
349 twice, to define singlebyte and multibyte version.
350 (fnmatch): Differentiate between singlebyte and multibyte locale and
351 call appropriate internal function.
352 * posix/fnmatch_loop.c: New file.
353 * posix/Makefile (distribute): Add fnmatch_loop.c.
355 * locale/programs/repertoire.c (repertoire_read): Don't print
356 error message when repertoire map is missing.
357 (repertoire_complain): Print error message for missing map, but only
359 * locale/programs/repertoire.h (repertoire_complain): Add prototype.
361 * locale/programs/linereader.c (get_string): Prefer getting names
362 from charseq entries. Try finding Uxxxxxxxx names in charmap
363 before trying to map from repertoire.
365 2000-01-16 Ulrich Drepper <drepper@cygnus.com>
367 * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix missing brace
368 error in last change.
369 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
371 * stdlib/longlong.h: Fix typo in last patch.
373 2000-01-12 Andreas Jaeger <aj@suse.de>
375 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
376 Added for Linux 2.3.39+.
378 * sysdeps/unix/sysv/linux/getresgid.c: Support 32bit UIDs and
380 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
381 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
382 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
383 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
384 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
385 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
386 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
387 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
388 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
389 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
390 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
391 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
392 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
393 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
394 * sysdeps/unix/sysv/linux/setegid.c: Likewise.
396 * sysdeps/unix/sysv/linux/arm/chown.c: New file.
397 * sysdeps/unix/sysv/linux/arm/fchown.c: New file.
398 * sysdeps/unix/sysv/linux/arm/geteuid.c: New file.
399 * sysdeps/unix/sysv/linux/arm/getegid.c: New file.
400 * sysdeps/unix/sysv/linux/arm/getuid.c: New file.
401 * sysdeps/unix/sysv/linux/arm/getgid.c: New file.
402 * sysdeps/unix/sysv/linux/arm/lchown.c: New file.
403 * sysdeps/unix/sysv/linux/i386/fchown.c: New file.
404 * sysdeps/unix/sysv/linux/i386/getegid.c: New file.
405 * sysdeps/unix/sysv/linux/i386/geteuid.c: New file.
406 * sysdeps/unix/sysv/linux/i386/getgid.c: New file.
407 * sysdeps/unix/sysv/linux/i386/getuid.c: New file.
408 * sysdeps/unix/sysv/linux/i386/lchown.c: New file.
409 * sysdeps/unix/sysv/linux/m68k/chown.c: New file.
410 * sysdeps/unix/sysv/linux/m68k/fchown.c: New file.
411 * sysdeps/unix/sysv/linux/m68k/getegid.c: New file.
412 * sysdeps/unix/sysv/linux/m68k/geteuid.c: New file.
413 * sysdeps/unix/sysv/linux/m68k/getgid.c: New file.
414 * sysdeps/unix/sysv/linux/m68k/getuid.c: New file.
415 * sysdeps/unix/sysv/linux/m68k/lchown.c: New file.
416 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: New file.
417 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: New file.
418 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: New file.
419 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: New file.
420 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: New file.
421 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: New file.
422 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: New file.
423 Based on a patch by Chris Wing <wingc@engin.umich.edu>.
425 2000-01-14 Jakub Jelinek <jakub@redhat.com>
427 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: New file.
429 2000-01-13 Jakub Jelinek <jakub@redhat.com>
431 * sysdeps/generic/backtrace.c: Include signal.h which
432 sigcontextinfo.h headers are used to expect.
433 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h
434 (register_dump): Fix a typo in the printout.
435 Avoid using reg_window, so that asm/ptrace.h is not necessary.
436 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
437 (ADVANCE_STACK_FRAME): Likewise.
439 * stdlib/longlong.h: Avoid using __sparc_v9__ ifdefs.
440 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
441 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
443 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Include bits/wordsize.h
444 to make it clear this file depends on __WORDSIZE.
445 * sysdeps/unix/sysv/linux/ftruncate64.c (__have_no_truncate64):
446 Renamed from have_no_truncate64.
447 * sysdeps/unix/sysv/linux/truncate64.c (__have_no_truncate64):
450 2000-01-16 Ulrich Drepper <drepper@cygnus.com>
452 * Makeconfig (rpath-dirs): Remove db2.
453 (dbojdir): Remove variable.
455 * locale/programs/locfile.h (handle_copy): Take repertoire map
456 name as parameter, not pointer to repertoire structure.
457 * locale/programs/ld-address.c: Change caller.
458 * locale/programs/ld-ctype.c: Likewise.
459 * locale/programs/ld-identification.c: Likewise.
460 * locale/programs/ld-measurement.c: Likewise.
461 * locale/programs/ld-messages.c: Likewise.
462 * locale/programs/ld-monetary.c: Likewise.
463 * locale/programs/ld-name.c: Likewise.
464 * locale/programs/ld-numeric.c: Likewise.
465 * locale/programs/ld-paper.c: Likewise.
466 * locale/programs/ld-telephone.c: Likewise.
467 * locale/programs/ld-time.c: Likewise.
469 2000-01-13 Ulrich Drepper <drepper@cygnus.com>
471 * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code generated if
472 mmap2 is available when compiling but no at runtime.
474 2000-01-12 Ulrich Drepper <drepper@cygnus.com>
476 * iconvdata/iso-ir-165.c: New file.
477 * iconvdata/iso-ir-165.h: New file.
478 * iconvdata/Makefile: Add rules to build libISOIR165.
480 * Makefile (install): Correct passing -r parameter to ldconfig.
482 * iconvdata/gconv-modules: Add aliases ISO-IR-199 and ISO-IR-203.
483 Reported by Bruno Haible <haible@ilog.fr>.
485 2000-01-11 Andreas Schwab <schwab@suse.de>
487 * sysdeps/i386/fpu/libm-test-ulps: Adjust some epsilons.
489 2000-01-10 Thorsten Kukuk <kukuk@suse.de>
491 * nss/getent.c: Add ipv6 support for hosts.
493 2000-01-05 Philip Blundell <pb@futuretv.com>
495 * sysdeps/unix/sysv/linux/arm/Versions: Add getrlimit, setrlimit,
496 getrlimit64, setrlimit64 for GLIBC_2.1.3.
497 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
499 * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: New file.
500 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
501 * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
502 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Likewise.
503 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Likewise.
504 * sysdeps/unix/sysv/linux/arm/getrlimit.c: Likewise.
506 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
507 (sysdep_routines): Add oldgetrlimit64, oldsetrlimit64.
508 [subdir=misc] (sysdep_headers): Add sys/elf.h.
510 2000-01-09 Andreas Jaeger <aj@suse.de>
512 * manual/install.texi (Tools for Compilation): Update required
514 (Configuring and compiling): Restore old comments about
515 configparms; modify to reflect current usage.
517 2000-01-09 Philip Blundell <philb@gnu.org>
519 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't attempt name
520 resolution if the hints included AI_NUMERICHOST.
522 2000-01-11 Andreas Schwab <schwab@suse.de>
524 * sysdeps/mips/__longjmp.c (__longjmp): Change call to abort into
525 infinite loop to avoid pulling in stdio in the dynamic linker.
526 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
528 2000-01-10 Andreas Jaeger <aj@suse.de>
530 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Follow
531 change from 1999-10-07 to elf/elf.h and rename EM_MIPS_RS4_BE to
533 * sysdeps/mips/mips64/dl-machine.h: Likewise.
535 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Remove greg_t,
536 gregset_t, fpregset_t, and NGREG definitions.
538 * sysdeps/mips/Implies: Add wordsize-32.
540 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Add missing
543 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Remove K&R support, add
546 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Remove K&R support.
547 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
548 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
549 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
550 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
551 * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
552 * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
554 2000-01-09 Philip Blundell <philb@gnu.org>
556 * sysdeps/arm/dl-machine.h (CLEAR_CACHE): System calls clobber R0.
557 (dl_platform_init): Allow _dl_platform to be NULL.
559 * sysdeps/unix/sysv/linux/arm/sysdep.h (UNDOARGS_5): Fix error in
562 2000-01-08 Ulrich Drepper <drepper@cygnus.com>
564 * nscd/connections.c (handle_request): Handle systems without
566 (nscd_run): Likewise.
568 2000-01-07 Andreas Jaeger <aj@suse.de>
570 Add support for Berkeley db 3.0.x and merge db support:
571 * nss/nss_db/dummy-db.h (struct db30): New.
575 * nss/makedb.c: Move all database routines to db-open.c.
576 (main): Adjust to interface changes.
577 Load database early to initialize version dependend variables.
579 * nss/db-open.c: Merge database routines from makedb.c.
580 Define version dependend constansts as variables.
581 (load_db): Check also for db 3.
582 (internal_setent): Call dbopen.
583 (db_cursor): New function from makedb; handles db 3 now.
584 (dbopen): New function from makedb; handles db 3.
586 * nss/nss_db/db-XXX.c: Use db_notfound since the value is
587 different in different DB versions.
589 * nss/nss_db/nss_db.h: Add version dependend constants as
590 variables, add exportet interfaces from db-open.c.
592 * nss/Makefile ($(objpfx)makedb): Link against db-open.
594 2000-01-07 Ulrich Drepper <drepper@cygnus.com>
596 * misc/error.c: Don't use `defined _LIBC', only `_LIBC'.
597 Reported by Jim Meyering.
599 * time/strftime.c: Pretty printing.
601 2000-01-07 Andreas Jaeger <aj@suse.de>
603 * manual/socket.texi (Host Names): Fix example.
604 Reported by Marco Budde <budde@telos.de>.
606 2000-01-06 Ulrich Drepper <drepper@cygnus.com>
608 * localedata/Makefile (install-locales): Create locale directory
609 if it does not exist.
611 * locale/programs/charmap.c (charmap_read): Call lr_open here and
612 not in parse_charmap. Try also the directories on the I18NPATH.
613 (parse_charmap): Change accordingly.
615 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
617 * sysdeps/unix/sysv/linux/i386/Dist: Distribute oldgetrlimit64.c
618 and oldsetrlimit64.c.
620 * sysdeps/unix/sysv/linux/arm/Dist: Distribute sys/elf.h and
623 * manual/texinfo.tex: Updated from latest official version.
625 * debug/Makefile (distribute): Add frame.h.
627 2000-01-05 Philip Blundell <philb@gnu.org>
629 * sysdeps/arm/frame.h: New file.
630 * sysdeps/generic/frame.h: Likewise.
631 * sysdeps/generic/segfault.c (struct layout): Delete definition;
632 include the above file instead.
633 * sysdeps/generic/backtrace.c (struct layout): Likewise.
634 (__backtrace): Use ADVANCE_STACK_FRAME.
635 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
636 (ADVANCE_STACK_FRAME): New macro.
637 (GET_FRAME): Apply above to returned value.
639 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Add `fault_address'.
641 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
643 * sysdeps/posix/getaddrinfo.c: Add support for SOCK_RAW.
644 Patch by YOSHIFUJI Hideaki <yoshifuji@ecei.tohoku.ac.jp>.
646 * io/ftw.c (process_entry): Cache object dev/inode only for
647 directories (PR libc/1514).
649 2000-01-05 Andreas Schwab <schwab@suse.de>
651 * locale/programs/charmap.c (charmap_read): Fix typo.
653 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
655 * locale/programs/charset.c: Removed.
657 * iconvdata/Makefile: Add rules for ISO-8859-16 module.
658 * iconvdata/gconv-modules: Likewise.
659 * iconvdata/iso8859-16.c: New file.
661 2000-01-05 Andreas Schwab <schwab@suse.de>
663 * iconv/iconv_prog.c (process_block): Add cast to avoid warning.
665 2000-01-05 Andreas Jaeger <aj@suse.de>
667 * intl/locale.alias: Add lithunian entry.
668 Reported by Kestutis Kupciunas <kesha@soften.ktu.lt>, PR libc/1507.
670 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
672 * locale/programs/stringtrans.c: Removed.
673 * locale/programs/stringtrans.h: Removed.
674 * locale/programs/linereader.c: Remove #include of stringtrans.h.
676 * locale/findlocale.c (_nl_find_locale): Don't try using mmap is
677 _POSIX_MAPPED_FILES is not defined.
679 * locale/findlocale.c (_nl_find_locale): Correct memory allocation
682 * locale/setlocale.c (new_composite_name): Use _nl_C_name and
683 _nl_POSIX_name instead of "C" and "POSIX" strings.
685 * ctype/ctype-info.c (__ctype32_tolower): Use _nl_C_CTYPE_tolower.
686 (__ctype32_toupper): Use _nl_C_CTYPE_toupper.
687 * locale/C-ctype.c (_nl_C_LC_CTYPE_tolower32): Removed. We can
688 reuse the _nl_C_LC_CTYPE_tolower table.
689 (_nl_C_LC_CTYPE_toupper32): Likewise.
690 (_nl_C_LC_CTYPE): Use normal table to initialize tolower32 and
693 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISNCTRL bit for
695 (_nl_C_LC_CTYPE_class32): Likewise.
697 * rt/aio.h (struct aioinit): Replace one aio_reserved value with
699 * rt/aio_misc.c: Rewrite to not automatically terminate worker threads
700 after the operation is done. Let them linger for a user-definable
702 * rt/aio_cancel.c: Likewise.
703 Patch by Willian M Shubert <william.m.shubert@intel.com>.
705 * sysdeps/i386/i686/add_n.S: New file.
707 2000-01-02 Philip Blundell <philb@gnu.org>
709 * sysdeps/unix/sysv/linux/arm/ioperm.c: Use sysctl by preference
710 to obtain port mapping information. Avoid use of mprotect.
712 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
714 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Add
715 definition from 2.3.36.
717 2000-01-04 Andreas Jaeger <aj@suse.de>
719 * nss/nss_db/dummy-db.h (struct db24): Add missing field flags.
720 (struct db27): Add missing fields byteswapped, join and flags;
721 remove wrong member handleq.
722 (struct dbc27): Correct lock field.
724 * nss/makedb.c: Remove __P.
726 2000-01-04 Andreas Jaeger <aj@suse.de>
728 * nss/nss_db/db-open.c (internal_setent): Check for db_open for
729 success, fix a memory leak and clean up function.
731 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
733 * Makefile (install): Pass $(install_root) to ldconfig.
734 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
736 2000-01-03 Jakub Jelinek <jakub@redhat.com>
738 * soft-fp/op-1.h: Fix division for machines using not normalizing
739 version of udiv_qrnnd in longlong.h.
740 * soft-fp/sysdeps/mips/sfp-machine.h: Likewise.
741 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Likewise.
742 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Likewise.
743 Patch by Eddie C. Dost <ecd@skynet.be>.
745 * soft-fp/soft-fp.h (QItype, UQItype): New types used by longlong.h.
747 2000-01-03 Andreas Schwab <schwab@suse.de>
749 * sysdeps/generic/dl-sysdep.c: Initialize __libc_multiple_libcs,
750 needed for change in common symbol handing in newer binutils.
752 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
754 * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code for running on
755 kernel without mmap2 syscall.
757 2000-01-03 Philip Blundell <philb@gnu.org>
759 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MMAP2_SYSCALL,
760 __ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL): Define on
761 ARM for kernels >= 2.3.35.
763 2000-01-03 Philip Blundell <philb@gnu.org>
765 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove mmap64 alias.
766 Optimise error handling a little.
767 * sysdeps/unix/sysv/linux/arm/mmap64.S: New file.
769 2000-01-03 Andreas Jaeger <aj@suse.de>
771 * include/resolv.h: Remove declarations for __ns_name_ntop and
772 __ns_name_unpack since those are available in resolv/arpa/nameser.h.
774 2000-01-03 Andreas Jaeger <aj@suse.de>
776 * time/tst-strptime.c (test_tm): Add tests for all fields of
779 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
781 * string/bits/string2.h (__strsep_g): Don't handle empty __S special.
783 2000-01-03 Andreas Jaeger <aj@suse.de>
785 * string/tester.c (test_strsep): Add one more test.
787 2000-01-03 Philip Blundell <philb@gnu.org>
789 * string/tester.c (test_mempcpy): New function.
791 (test_memcpy): Test unaligned cases too.
793 * sysdeps/arm/bits/string.h (_HAVE_STRING_ARCH_mempcpy): Define.
795 * sysdeps/arm/fpu/bits/mathdef.h: New file.
797 2000-01-02 Ulrich Drepper <drepper@cygnus.com>
799 * posix/Makefile (tests): Add tst-mmap.
800 * posix/tst-mmap.c: New file.
802 * sysdeps/unix/sysv/linux/i386/mmap64.S: Pop registers after mmap2
803 call before handling error.
805 * sysdeps/unix/sysv/linux/i386/mmap64.S: Handle unaligned offsets.
806 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
808 * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs): Add mapping for
810 (__ksc5601_sym_from_ucs): Add mapping back from U00AE and U20AC.
811 * iconvdata/ksc5601.h (KSC5601_SYMBOL): Adjust for the two new
813 * iconvdata/testdata/EUC-KR: Add Euro and Registered sign.
814 * iconvdata/testdata/ISO-2022-KR: Likewise.
816 * sysdeps/unix/sysv/linux/llseek.c: Formulate warning message stronger.
818 * iconvdata/gconv-modules: Remove BALTIC. It's the same as
820 * iconvdata/Makefile (distribute): Remove baltic.c.
821 (modules): Remove BALTIC.
822 (gen-8bit-gap-modules): Remove baltic.
823 * iconvdata/baltic.c: Removed.
825 * sysdeps/posix/system.c: Correct return value for LINE == NULL.
827 * signal/Versions [GLIBC_2.1.3] (libc): Export __sigsuspend.
829 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Fix
830 typos (__ASSUME_TRUNCATE64_SYSCALL -> __ASSUME_MMAP2_SYSCALL).
831 Reported by Philip Blundell <Philip.Blundell@pobox.com>.
833 * nss/Makefile: Add rules to build makedb.
834 * nss/nss_db/nss_db.h: Add definitions needed for makedb.
835 * nss/nss_db/dummy-db.h: Likewise.
836 * nss/makedb.c: New file. Copied from file in db2, modified to not
837 depend on being linked against libdb.
839 2000-01-01 Ulrich Drepper <drepper@cygnus.com>
841 * Makeconfig (all-subdirs): Remove db and db2.
845 * nss/nss_db/db-XXX.c: Move internal_setent and internal_endent
846 functions from here...
847 * nss/db-alias.c: ...and here...
848 * nss/db-netgrp.c: ...and here...
849 * nss/nss_db/db-open.c: ...to here. New file.
850 * nss/nss_db/dummy-db.h: New file.
851 * nss/nss_db/nss_db.h: New file.
852 * nss/Depend: Depend in dlfcn, not db2.
853 * nss/Makefile (libnss_db-routines): Add db-open.
854 (distribute): Add nss_db.h dummy-db.h.
855 (libnss_db.so): Replace libdb dependency by $(libdl).
856 Based on a patch by Zack Weinberg.
858 * locale/programs/ld-ctype.c: Implement rest of transliteration
860 * locale/programs/locfile-kw.gperf: New keyword translit_ignore.
861 * locale/programs/locfile-token.h: Add tok_translit_ignore.
863 1999-12-31 Ulrich Drepper <drepper@cygnus.com>
865 * locale/programs/ld-collate.c (collate_output): Emit correct
866 information for collation elements.
867 Don't write over end of array idx.
868 * posix/regex.c: Handle also collation elements at end of range.
870 * posix/PTESTS: Fix a few typos.
872 * posix/bits/posix2_lim.h: Remove _POSIX2_EQUIV_CLASS_MAX. I have
873 no idea where this came from.
874 * sysdeps/posix/sysconf.c: Remove _POSIX2_EQUIV_CLASS_MAX handling.
876 1999-12-31 Andreas Jaeger <aj@suse.de>
878 * libio/strfile.h: Remove K&R compatibility.
879 * locale/langinfo.h: Likewise.
880 * locale/localeconv.c (localeconv): Likewise.
881 * locale/programs/simple-hash.h: Likewise.
882 * nis/nis_xdr.h: Likewise.
883 * nis/rpcsvc/nislib.h: Likewise.
884 * nis/rpcsvc/nis_callback.h: Likewise.
885 * nis/rpcsvc/nis.h: Likewise.
886 * nis/ypclnt.c: Likewise.
887 * nscd/nscd_proto.h: Likewise.
888 * nscd/nscd.c: Likewise.
889 * sysdeps/generic/inttypes.h: Likewise.
890 * sysdeps/gnu/utmpx.h: Likewise.
892 * nis/nis_intern.h: Remove K&R compatibility; add missing ints.
893 * sunrpc/rpcsvc/rusers.x: Likewise.
895 * nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat.
897 * elf/dl-misc.c: Remove __libc_write prototype since it's already
899 * elf/dl-profile.c: Likewise.
900 * elf/dl-load.c: Likewise for __libc_read.
902 * elf/dl-profile.c: Remove __P.
903 * elf/sprof.c: Likewise.
904 * elf/sln.c: Likewise.
906 1999-12-31 Ulrich Drepper <drepper@cygnus.com>
908 * locale/langinfo.h: Add constants for wide character collation
910 * locale/categories.def: Add appropriate entries for collate symbol
912 * locale/C-collate.c: Add initializers for new entries.
913 Remove commented out code.
914 * locale/elem-hash.h: New file.
915 * locale/Makefile (distribute): Add elem-hash.h.
916 * locale/programs/ld-collate.c: Implement output of collate symbol
919 * posix/regex.c: Implement collation class handling.
921 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
923 * posix/regex.c (regex_compile): Implement equivalence class handling.
925 1999-12-30 Geoffrey Keating <geoffk@cygnus.com>
927 * sysdeps/powerpc/dl-machine.c: Many minor formatting changes.
928 (OPCODE_LWZU): New macro.
929 (OPCODE_ADDIS_HI): New macro.
930 (OPCODE_LIS_HI): New macro.
931 (__elf_machine_runtime_setup): Change PLT code-generation scheme
932 for thread safety even with very large PLTs, better efficiency,
933 and to fix a cache-flushing bug. Also support the Motorola
934 8xx processors which have a different cache line size than all
936 (__elf_machine_fixup_plt): Likewise.
937 (__process_machine_rela): Don't use elf_machine_fixup_plt.
939 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
941 * wcsmbs/wcscoll.c: Use multibyte character version.
942 * wcsmbs/wcsxfrm.c: Likewise.
943 * string/strcoll.c: Prepare to be used for the wide character version.
944 * string/strxfrm.c: Likewise.
945 * locale/weightwc.h: New file.
947 1999-12-30 Geoff Keating <geoffk@cygnus.com>
949 * sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove
950 the (void) casts as now feraiseexcept returns a value.
951 (feclearexcept): Likewise.
953 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0',
954 it interferes with the macros for AIX.
956 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
958 * locale/programs/ld-collate.c (collate_finish): Always define
959 weight for UNDEFINED if not defined by the user but don't complain
960 unless it is needed in the multibyte character table.
961 (collate_output): Add extra dummy elements in wide char tables in the
962 same way done for multibyte. Always output undefined entry in
963 wide character table.
965 * locale/Makefile (categories): Remove commented-out old definition.
967 * locale/programs/ld-collate.c (insert_value): Don't pass wide string
968 to new_element if the wide char is not valid.
969 (handle_ellipsis): Likewise.
970 (collate_read): It's no problem if the string in the collating element
971 definition cannot be represented as multibyte or wide char string.
973 1999-12-13 Andreas Jaeger <aj@suse.de>
975 * resolv/resolv.h: Remove K&R compatibility.
977 * resolv/res_libc.c: Move definition of _res after res_init,
978 res_init should use the threaded specific context.
980 * resolv/Makefile (+cflags): Remove -Wno-comment since it's not
983 1999-12-29 Ulrich Drepper <drepper@cygnus.com>
985 * locale/langinfo.h: Add constants for wide character collation data.
986 * locale/categories.def: Add appropriate entries for collate entries.
987 * locale/C-collate.c: Add initializers for new entries.
988 * locale/programs/ld-collate.c: Implement output of wide character
991 * locale/programs/ld-ctype.c (allocate_arrays): Change algorithm to
992 compute wide character table size a bit: it now gives up a bit of
993 total table size for fewer levels.
995 * soft-fp/*: Tons of new files to implement floating-point arithmetic
997 Contributed by Richard Henderson, Jakub Jelinek and others.
999 1999-12-29 Andreas Jaeger <aj@suse.de>
1001 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Don't include
1002 <asm/io.h>; remove K&R compatibility; add missing ints.
1004 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove K&R compatibility,
1007 * sysdeps/unix/sysv/linux/sys/io.h: Don't include <asm/io.h>.
1009 1999-12-29 Andreas Jaeger <aj@suse.de>
1011 * manual/getopt.texi (Using Getopt): Document ordering of options.
1013 1999-12-29 Andreas Jaeger <aj@suse.de>
1015 * sysdeps/unix/sysv/linux/llseek.c: Emit link time warning for llseek.
1016 Requested by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1018 1999-12-14 Andreas Jaeger <aj@suse.de>
1020 * sysdeps/unix/sysv/linux/scsi/scsi.h: Add new defines from Linux
1023 1999-12-28 Jakub Jelinek <jakub@redhat.com>
1025 * elf/sprof.c (load_shobj): Fix error message.
1026 (generate_call_graph): Cast %*s length argument to int.
1027 * locale/programs/localedef.c (construct_output_path): Likewise.
1028 * locale/programs/ld-ctype.c (ctype_finish): Use proper format
1030 (ctype_class_new): Likewise.
1031 * locale/programs/ld-time.c (time_finish): Likewise.
1032 * sunrpc/svc_simple.c (register_rpc): Likewise.
1033 * nscd/connections.c (nscd_run, start_threads): Use long instead of
1034 int to avoid cast warnings.
1035 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l): Kill
1037 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Remove unused
1040 * time/strftime.c (my_strftime): Provide wide era string when
1043 * sysdeps/sparc/fpu/bits/mathinline.h (__signbit, __signbitl):
1044 Separate into 32bit and 64bit versions.
1046 1999-12-28 Ulrich Drepper <drepper@cygnus.com>
1048 * iconvdata/Makefile (modules): Add ISO-2022-CN.
1049 Add link rules for this module.
1050 (distribute): Add iso-2022-cn.c and cns11643l2.h.
1051 * iconvdata/cns11643l2.h: New file.
1052 * iconvdata/iso-2022-cn.c: New file.
1053 * iconvdata/gconv-modules: Add entries for ISO-2022-CN module.
1055 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Make string argument
1057 (ucs4_to_cns11643l1): Likewise.
1058 * iconvdata/euc-tw.c: Correct parameter passed to cns11643l1_to_ucs4.
1060 * iconvdata/iso-2022-kr.c: Remove unnecessary test from conversion
1062 Optimize recognition of escape sequences a bit.
1064 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit
1065 and oldsetrlimit definitions.
1067 1999-12-27 Ulrich Drepper <drepper@cygnus.com>
1069 * iconvdata/run-iconv-test.sh: Improve test output a bit to allow
1070 identifying errors more easily.
1072 * iconvdata/testdata/EUC-CN..UTF8: New file.
1073 * iconvdata/testdata/GBK..UTF8: New file.
1075 * iconvdata/gbk.c: In mapping from UCS4: don't crash for undefined
1076 mappings. Fix last patch.
1077 * iconvdata/TESTS: Add GBK.
1078 * iconvdata/testdata/GBK: New file.
1080 * iconvdata/gb2312.h (ucs4_to_gb2312): Fix mapping of 0x0101,
1081 0x2312, and 0x2500..0x254b.
1082 * iconvdata/TESTS: Add EUC-CN.
1083 * iconvdata/testdata/EUC-CN: New file.
1085 * iconvdata/gbgbk.c: New file.
1086 * iconvdata/Makefile (modules): Add GBGBK.
1087 (distribute): Add gbgbk.c.
1088 * iconvdata/gconv-modules: Add entries for GBGBK modules.
1090 * iconvdata/euc-cn.c: Fix comment.
1092 * iconvdata/gbk.c: Optimize the switch statement in the conversion
1095 * locale/programs/charmap.c (charmap_new_char): Recognize special
1096 character names Uxxxx and Pxxxx and initialize the UCS4 value from
1099 1999-12-17 Andreas Jaeger <aj@suse.de>
1101 * stdlib/Versions: Export __cxa_atexit and __cxa_finalize.
1103 1999-12-16 Mark Mitchell <mark@codesourcery.com>
1105 * stdlib/Makefile (routines): Add cxa_atexit and cxa_finalize.
1106 * stdlib/exit.h (flavor): Add ef_cxa.
1107 (exit_function): Add cxa variant.
1108 * stdlib/exit.c (exit): Handle ef_cxa exit functions.
1109 * stdlib/cxa_atexit.c: New file.
1110 * stdlib/cxa_finalize.c: New file.
1112 1999-12-27 Ulrich Drepper <drepper@cygnus.com>
1114 * iconvdata/gb2312.c: Update mapping of GB 0x212c from latest
1117 1999-12-26 Ulrich Drepper <drepper@cygnus.com>
1119 * sysdeps/unix/sysv/linux/fxstat64.c: Rename have_no_stat64 to
1121 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1122 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1124 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Remove inclusion
1125 of <asm/resource.h>.
1127 1999-12-26 Philip Blundell <philb@gnu.org>
1129 * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove vm86. Set
1130 argument count for `syscall' to 7.
1131 * sysdeps/unix/sysv/linux/arm/sysdep.h: Add support for syscalls
1132 with more than five arguments.
1133 (DOARGS_5, UNDOARGS_5): Don't corrupt the calling stack frame.
1135 1999-12-26 Ulrich Drepper <drepper@cygnus.com>
1137 * locale/programs/ld-collate.c (collate_output): Don't start with empty
1138 extrapool and indirectpool obstacks since we need the offsets to be
1140 (collate_read): Call load_locale, not find_locale.
1141 * locale/programs/ld-ctype.c (ctype_finish): If LC_CTYPE category
1142 wasn't defined in the file also initialize repertoire if possible.
1143 * locale/programs/ld-time.c (time_finish): Fix message string.
1144 * locale/programs/linereader.c: Cast parameters of lr_error to
1145 correct type to prevnet warning.
1146 * locale/programs/localedef.c (load_locale): New file.
1147 * locale/programs/localedef.h: Add its prototype.
1148 * locale/programs/repertoire.c (repertoire_new_char): Add missing
1149 parameters to lr_error call.
1151 * localedata/Makefile: Enable running tests again.
1152 * localedata/tests/test2.def: Adjust syntax to new specification.
1153 * localedata/tests/test3.def: Likewise.
1154 * localedata/tst-trans.sh: Redirect output of program into file.
1156 * string/strcoll.c: Fix many error in new implementation to make it
1157 pass (at least) the test suite.
1159 * locale/Makefile: Don't link localedef statically anymore.
1161 * locale/ld-collate.c (struct element_t): Add field is_character and
1162 use it to distinguish real character from collating elements and
1164 (new_element): Take new parameter to initialize is_character. Change
1166 (handle_ellipsis): Use is_character field to make sure ellipsis is
1167 only used with characters.
1168 (collate_read): Fix reading of collating elements.
1170 * string/strxfrm.c: Correct loop end detection and memory access
1171 in the little optimization at the end.
1173 * locale/programs/ld-monetary.c (monetary_finish): Correct code to
1174 emit warnings. Provide default value for mon_decimal_point.
1176 * locale/programs/ld-collate.c (collate_finish): Don't crash if this
1177 category wasn't defined.
1178 (collate_output): Likewise.
1180 * locale/programs/ld-address.c: Don't emit message about not defined
1181 category if be_quiet.
1182 * locale/programs/ld-ctype.c: Likewise.
1183 * locale/programs/ld-identification.c: Likewise.
1184 * locale/programs/ld-measurement.c: Likewise.
1185 * locale/programs/ld-messages.c: Likewise.
1186 * locale/programs/ld-monetary.c: Likewise.
1187 * locale/programs/ld-name.c: Likewise.
1188 * locale/programs/ld-numeric.c: Likewise.
1189 * locale/programs/ld-paper.c: Likewise.
1190 * locale/programs/ld-telephone.c: Likewise.
1191 * locale/programs/ld-time.c: Likewise.
1193 * locale/programs/locfile.c (write_locale_data): Correct memory
1194 allocation for fname.
1196 1999-12-25 Ulrich Drepper <drepper@cygnus.com>
1198 * locale/programs/ld-collate.c (read_directions): Fix a few messages.
1199 (collate_finish): Test that position is used in all sections for
1202 * string/strxfrm.c: Optimize a bit. We don't need the highest bit
1203 of the index returned by findidx.
1205 * string/strcoll.c: Complete rewrite for new collate implementation.
1206 * wcsmbs/wcscoll.c: Don't use strcoll.c, implement dummy implementation
1209 * locale/C-collate.c (_nl_C_LC_COLLATE): Add one more entry for the
1211 * locale/langinfo.h: Likewise.
1212 * locale/categories.def: Likewise. Remove reference to postload
1214 * locale/lc-collate.c (_nl_postload_collate): Removed. Also remove
1215 __collate_tablemb, __collate_weightmb, and __collate_extramb.
1216 * locale/localeinfo.h: Remove declaration for removed variables above.
1217 Remove prototype for _nl_get_era_entry.
1218 * locale/weight.h: Complete rewrite for new collate implementation.
1219 * locale/programs/ld-collate.c: Many changes to make output file
1220 usable in strxfrm/strcoll.
1221 * string/strxfrm.c: Complete rewrite for new collate implementation.
1222 * wcsmbs/wcsxfrm.c: Don't use strxfrm.c, implement dummy implementation
1225 1999-12-25 Shinya Hanataka <hanataka@abyss.rim.or.jp>
1227 * locale/programs/ld-ctype.c (allocate_arrays): Correctly assign
1228 transformation values for chars >255.
1229 * wctype/wctrans.c: Return pointer unmodified.
1231 1999-12-24 Ulrich Drepper <drepper@cygnus.com>
1233 * sysdeps/posix/system.c (__libc_system): Check whether command
1234 processor is available if LINE is NULL. Don't return immediately
1235 if wait call returned with EINTR.
1236 Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1497 and libc/1498).
1238 1999-12-23 Ulrich Drepper <drepper@cygnus.com>
1240 * locale/programs/ld-monetary.c (monetary_finish): Add cast to
1243 * locale/programs/ld-collate.c: Implement writing out multibyte
1246 * locale/setlocale.c (setlocale): Allow setting LC_COLLATE again.
1247 * locale/localeinfo.h: Declare variables only for currently implemented
1248 collate functionality. Remove FORWARD_CHAR and ELLIPSIS_CHAR.
1249 * locale/lc-collate.c: Define variables only for currently implemented
1251 * locale/langinfo.h: Define symbols only for currently implemented
1253 * locale/categories.def: Define elements for currently implemented
1255 * locale/C-collate.c: Comment out definitions of arrays with symbol
1256 name definitions etc.
1257 (_nl_C_LC_COLLATE): Update for currently defined information.
1259 * intl/libintl.h: Remove dcgettext macro definition.
1260 * intl/gettextP.h: Declare _nl_msg_cat_cntr.
1262 * locale/iso-4217.def: Add NAD. Remove a few obsolete entries.
1264 * sysdeps/generic/glob.c (glob): Pass alternate file access functions
1265 also in recursive call. Patch by Joe Orton <joe@orton.demon.co.uk>.
1267 1999-12-22 Jakub Jelinek <jakub@redhat.com>
1269 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Use proper type
1270 for __fenv_stfsr argument.
1271 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
1272 truncate64, ftruncate64, fstat64, lstat64, stat64 and mmap2.
1274 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: New file.
1275 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
1276 (XSTAT_IS_XSTAT64): Define.
1277 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Add
1278 __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite
1279 and __libc_pwrite64.
1280 Remove oldgetrlimit and oldsetrlimit.
1281 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: New file.
1282 * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: New file.
1283 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: New file.
1285 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Pass the buf
1286 pointer to the syscall, not address of that pointer.
1287 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
1288 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
1289 (__syscall_stat64): Provide proper prototype.
1291 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Share
1292 has_no_truncate64 between truncate64 and ftruncate64.
1293 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
1295 * sysdeps/unix/sysv/linux/kernel-features.h
1296 (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL,
1297 __ASSUME_STAT64_SYSCALL): Define on Sparc for kernels >= 2.3.35.
1299 1999-12-22 Andreas Jaeger <aj@suse.de>
1301 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __libc_lseek64,
1302 __libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64.
1304 1999-12-21 Shinya Hanataka <hanataka@abyss.rim.or.jp>
1306 * locale/lc-time.c: Extend structure era_entry.
1307 * locale/localeinfo.h: Likewise.
1308 * locale/lc-time.c: Handle '-' direction used in locale's era part
1310 * time/strptime.c: Likewise.
1311 * time/strftime.c: Likewise.
1312 * locale/programs/ld-time.c: Consider negative values in era part
1314 * time/strptime.c (strptime_internal): Merged Yoshiyama's
1315 %E[CyY] implementation.
1317 1999-12-21 Akira Yoshiyama <yosshy@debian.or.jp>
1319 * time/strptime.c (strptime_internal): Fix segV bugs of a couple
1320 of recursive() call.
1321 * time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY'
1324 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
1326 * sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value.
1327 Patch by Scott Bambrough <scottb@netwinder.org>.
1329 1999-12-21 Andreas Schwab <schwab@suse.de>
1331 * sysdeps/unix/sysv/linux/pread.c: Fix typo.
1333 * include/unistd.h: Declare __libc_lseek.
1335 1999-12-21 Andreas Jaeger <aj@suse.de>
1337 * stdlib/longlong.h: Remove __P.
1339 1999-12-21 Andreas Jaeger <aj@suse.de>
1341 * sysdeps/powerpc/fpu/libm-ulps: New file.
1343 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
1345 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Include sys/ucontext.h
1346 and remove definitions for NREGS, greg_t, gregset_t, and fpregset_t.
1348 1999-12-21 Andreas Jaeger <aj@suse.de>
1350 * sysdeps/unix/sysv/linux/m68k/putpmsg.c: Add missing #.
1351 * sysdeps/unix/sysv/linux/mips/putpmsg.c: Likewise.
1352 * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: Likewise.
1353 * sysdeps/unix/sysv/linux/mips/getmsg.c: Add missing #.
1354 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1355 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1356 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1357 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1358 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1359 * sysdeps/unix/sysv/linux/m68k/getpmsg.c: Add missing #.
1360 * sysdeps/unix/sysv/linux/mips/getpmsg.c: Likewise.
1361 * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: Likewise.
1363 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
1365 * sysdeps/unix/sysv/linux/i386/getmsg.c: New file.
1366 * sysdeps/unix/sysv/linux/i386/getpmsg.c: New file.
1367 * sysdeps/unix/sysv/linux/i386/putmsg.c: New file.
1368 * sysdeps/unix/sysv/linux/i386/putpmsg.c: New file.
1369 * sysdeps/unix/sysv/linux/m68k/getmsg.c: New file.
1370 * sysdeps/unix/sysv/linux/m68k/getpmsg.c: New file.
1371 * sysdeps/unix/sysv/linux/m68k/putmsg.c: New file.
1372 * sysdeps/unix/sysv/linux/m68k/putpmsg.c: New file.
1373 * sysdeps/unix/sysv/linux/mips/getmsg.c: New file.
1374 * sysdeps/unix/sysv/linux/mips/getpmsg.c: New file.
1375 * sysdeps/unix/sysv/linux/mips/putmsg.c: New file.
1376 * sysdeps/unix/sysv/linux/mips/putpmsg.c: New file.
1377 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: New file.
1378 * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: New file.
1379 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: New file.
1380 * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: New file.
1381 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getpmsg and
1384 1999-12-20 Ulrich Drepper <drepper@cygnus.com>
1386 * sysdeps/unix/sysv/linux/lxstat64.c: Include "kernel-features.h"
1387 before testing for __ASSUME_STAT64_SYSCALL.
1388 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1389 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1391 1999-12-20 Andreas Schwab <schwab@suse.de>
1393 * manual/install.texi (Running make install): Clearify that
1394 install_root should be an absolute file name.
1396 1999-12-20 Ulrich Drepper <drepper@cygnus.com>
1398 * iconv/gconv.c (__gconv): Deal with outbuf being NULL.
1400 * iconv/iconv.c (iconv): Allow omitting output buffer if no input
1401 buffer is given to place conversion descriptor in initial state.
1402 * iconvdata/gconv-modules: Correct aliases CSPC850MULTILINGUAL and
1404 * iconvdata/gconv-modules: Add aliases GB2312 and csGB2312
1405 (according to IANA registry).
1406 Reported by Bruno Haible <haible@ilog.fr>.
1408 * iconvdata/johab.c: Correct completely broken conversion to JOHAB.
1410 * locale/categories.def: Remove most of the collate definitions.
1411 * locale/langinfo.h: Comment out corresponding definitions.
1412 * locale/programs/locale-spec.c (locale_special): Don't recognize the
1414 * locale/programs/ld-collate.c: Correct and optimize computation of
1415 weights. Set up list of all definitions correctly. Start writing
1416 function to generate output file.
1418 * locale/programs/ld-ctype.c (allocate_arrays): Increment counter in
1419 loop to compute default mapping.
1421 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
1423 * sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for
1424 cancelation wrapper.
1425 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
1426 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
1427 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1429 1999-12-19 Andreas Jaeger <aj@suse.de>
1431 * sysdeps/generic/libc-start.c: Remove declaration of
1432 __libc_open. Move declaration of __libc_fcntl to ...
1433 * include/fcntl.h: ...here.
1435 * include/unistd.h: Move __libc_open and __libc_open64 to ...
1436 * include/fcntl.h: ...here.
1438 * malloc/malloc.h (__attribute_malloc__): Only define if hasn't
1441 * malloc/Versions: __libc_freeres was exported with glibc 2.1.3,
1444 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
1446 * sysdeps/unix/sysv/linux/bits/resource.h: Remove <asm/resource.h>
1449 1999-12-19 Andreas Jaeger <aj@suse.de>
1451 * include/string.h: Mark __strndup with __attribute_malloc__.
1453 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
1455 * locale/langinfo.h: Always define CODESET.
1456 (CODESET): Define also as macro.
1458 * stdio-common/printf_fp.c (__printf_fp): Allocate buffer to
1459 generate mantissa output in using malloc if it is larger than
1461 Reported by Jim Meyering <meyering@ascend.com>.
1463 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
1465 * misc/sys/cdefs.h: Define __attribute_malloc__ according to
1466 available gcc version.
1467 * string/string.h: Mark strdup, __strdup, and strndup with
1468 __attribute_malloc__.
1469 * stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with
1470 __attribute_malloc__.
1471 * malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc,
1472 and __default_morecore with __attribute_malloc__.
1473 Provide default definition for __attribute_malloc__.
1474 * libio/stdio.h: Make tempnam with __attribute_malloc__.
1476 * include/unistd.h: Declare __libc_open64, __libc_lseek64,
1477 __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64.
1478 * io/Versions: Export __libc_open64 and __libc_lseek64.
1479 * posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite,
1480 and __libc_pwrite64.
1481 * sysdeps/generic/open64.c: Define __libc_* variant for cancelation
1483 * sysdeps/generic/pread.c: Likewise.
1484 * sysdeps/generic/pread64.c: Likewise.
1485 * sysdeps/generic/pwrite.c: Likewise.
1486 * sysdeps/generic/pwrite64.c: Likewise.
1487 * sysdeps/posix/open64.c: Likewise.
1488 * sysdeps/posix/pread.c: Likewise.
1489 * sysdeps/posix/pread64.c: Likewise.
1490 * sysdeps/posix/pwrite.c: Likewise.
1491 * sysdeps/posix/pwrite64.c: Likewise.
1492 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1493 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1494 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1495 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1496 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1497 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
1498 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
1499 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
1500 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
1502 * sysdeps/posix/open64.c: Help gcc generating better code.
1504 * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open
1507 1999-12-11 H.J. Lu <hjl@gnu.org>
1509 * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl
1512 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
1514 * iconvdata/isiri-3342.c: New file.
1515 * iconvdata/Makefile (modules): Add ISIRI-3342.
1516 (distribute): Add isiri-3342.c.
1517 (gen-8bit-gap-modules): Add isiri-3342.
1518 * iconvdata/gconv-modules: Add entries for ISIRI-3342.
1520 * malloc/Versions: Export __libc_freeres for GLIBC_2.1.
1522 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Declare local variable
1523 result if necessary.
1525 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Don't depend on the
1526 unreliable kernel headers.
1527 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
1528 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
1529 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: New file.
1530 * sysdeps/unix/sysv/linux/mips/bits/resource.h: New file.
1532 1999-12-18 Andreas Jaeger <aj@suse.de>
1534 * config.make.in (datadir): Added.
1535 Closes PR libc/1491. Patch by dervishd@jazzfree.com.
1537 1999-12-18 Andreas Jaeger <aj@suse.de>
1539 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Save and
1541 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
1543 1999-12-18 Andreas Jaeger <aj@suse.de>
1545 * sysdeps/unix/sysv/linux/fxstat64.c: Rewrite to use fstat64
1546 syscall if available.
1547 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise for lstat64.
1548 * sysdeps/unix/sysv/linux/xstat64.c: Likewise for stat64.
1550 * sysdeps/unix/sysv/linux/kernel-features.h
1551 (__ASSUME_STAT64_SYSCALL): New.
1553 1999-12-17 Scott Bambrough <scottb@netwinder.org>
1555 * sysdeps/arm/dl-machine.h (CLEAR_CACHE): New macro to force a
1557 * elf/dl-reloc.c (_dl_relocate_object): Add call to flush cache
1558 after .text segment fixups.
1560 1999-12-16 Andreas Jaeger <aj@suse.de>
1562 * rt/aio.h: Remove erroneous __restrict declarations.
1564 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
1566 * scripts/rellns-sh: Find pwd program also in /usr/bin and let shell
1567 do the job if it is there neither.
1568 Patch by David R. Conrad <drc@adni.net> (PR libc/1485).
1570 1999-12-16 Andreas Jaeger <aj@suse.de>
1572 * sysdeps/ieee754/bits/nan.h (NAN): Rename union to avoid
1573 duplicate definition with function __nan.
1574 Closes PR libc/1487 reported by <diana@kai.com>.
1576 1999-12-17 Ulrich Drepper <drepper@cygnus.com>
1578 * string/bits/string2.h (__strsep): Help gcc optimizing string access.
1580 * locale/programs/ld-collate.c: Implement handling of absolute
1581 ellipsis. Parsing of file and constructing the internal data
1582 structures should now be complete.
1583 (collate_finish): Start adding support to generate the data
1584 structures which are written out to the file.
1586 * intl/dcgettext.c: Rewrite to handle caching of previous results here
1587 instead of in the dcgettext macro.
1588 * intl/libintl.h (dcgettext): Don't define for systems using this
1589 glibc or systems with tsearch.
1591 * sysdeps/generic/mathdef.h: Protect definitions for math.h
1592 against double inclusion.
1593 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
1594 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1595 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1596 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
1598 * sysdeps/i386/fpu/libm-test-ulps: Add more deltas (are mobile PIIs
1601 1999-12-17 Andreas Jaeger <aj@suse.de>
1603 * rt/aio.h (struct aiocb64): Add member __next_prio to sync the
1606 * rt/Makefile (tests): Added tst-aio64.
1607 Added dependency rules for tst-aio64.
1609 * rt/tst-aio64.c: New file, copied from tst-aio.c and changed for
1612 1999-12-15 Thorsten Kukuk <kukuk@suse.de>
1614 * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: Removed.
1615 * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: Removed.
1616 * sysdeps/unix/sysv/linux/bits/resource.h: Change RLIM_INFINITY back to
1617 old value (signed long).
1618 * sysdeps/unix/sysv/linux/i386/bits/resource.h: New, with unsigned
1620 * sysdeps/unix/sysv/linux/getrlimit.c: Moved from here to ...
1621 * sysdeps/unix/sysv/linux/i386/getrlimit.c: ... here.
1622 * sysdeps/unix/sysv/linux/getrlimit64.c: Moved from here to ...
1623 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: ... here.
1624 * sysdeps/unix/sysv/linux/oldgetrlimit64.c: Moved from here to ...
1625 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: ... here.
1626 * sysdeps/unix/sysv/linux/oldsetrlimit64.c: Moved from here to ...
1627 * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: ... here.
1628 * sysdeps/unix/sysv/linux/setrlimit.c: Moved from here to ...
1629 * sysdeps/unix/sysv/linux/i386/setrlimit.c: ... here.
1630 * sysdeps/unix/sysv/linux/setrlimit64.c: Moved from here to ...
1631 * sysdeps/unix/sysv/linux/i386/setrlimit64.c: ... here.
1632 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: New.
1633 * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: Removed.
1634 * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: Removed.
1636 1999-12-17 Andreas Jaeger <aj@suse.de>
1638 * elf/ldconfig.c: Add new option -l to manualy link shared
1640 (options): Added option.
1641 (parse_opt): Set option.
1642 (main): Handle option.
1643 (manual_link): New function.
1645 1999-12-17 Thorsten Kukuk <kukuk@suse.de>
1647 * string/bits/string2.h: Fix patch from 1999-12-07.
1649 1999-12-16 Ulrich Drepper <drepper@cygnus.com>
1651 * sysdeps/generic/strsep.c: If delim string has only one character
1652 don't run over end of string.
1654 * locale/programs/ld-collate.c (insert_weights): Also update next
1655 pointer of last cursor element.
1656 (insert_value): Return nonzero value if nothing got inserted.
1657 (handle_ellipsis): Don't do anything if to-value cannot be inserted.
1659 1999-12-10 Jakub Jelinek <jakub@redhat.com>
1661 * stdlib/longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT
1664 1999-12-10 Jakub Jelinek <jakub@redhat.com>
1666 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
1667 Copy sa_flags into kernel sigaction structure.
1669 1999-12-14 Andreas Jaeger <aj@suse.de>
1671 * string/tester.c (test_strsep): More tests for access beyond
1672 the final NUL. The first two tests come from PR libc/1486 by
1673 martinea@iro.umontreal.ca.
1675 1999-12-14 Thorsten Kukuk <kukuk@suse.de>
1677 * nis/ypclnt.c: Correct handling of cached client handles.
1678 (__xdr_ypresp_all): Call callback function for errors, too,
1680 * nis/nss_compat/compat-grp.c: Make sure errno is always set correct.
1681 * nis/nss_compat/compat-initgroups.c: Likewise.
1682 * nis/nss_compat/compat-spwd.c: Likewise.
1683 * nis/nss_nis/nis-alias.c: Likewise.
1684 * nis/nss_nis/nis-ethers.c: Likewise.
1685 * nis/nss_nis/nis-grp.c: Likewise.
1686 * nis/nss_nis/nis-hosts.c: Likewise.
1687 * nis/nss_nis/nis-netgrp.c: Likewise.
1688 * nis/nss_nis/nis-publickey.c: Likewise.
1689 * nis/nss_nis/nis-service.c: Likewise. Also use services.byservicename
1690 Map if available, optimize query if name/port and protocol is known.
1692 1999-12-12 Ulrich Drepper <drepper@cygnus.com>
1694 * locale/programs/ld-collate.c (collate_read): Make symbolic
1695 ellipsis work. Remove old and unused code.
1697 1999-12-11 Ulrich Drepper <drepper@cygnus.com>
1699 * locale/programs/ld-collate.c (collate_read): Implement
1700 reorder-section handling.
1702 1999-12-10 Ulrich Drepper <drepper@cygnus.com>
1704 * locale/programs/ld-collate.c: Implement "copy" in LC_COLLATE.
1706 * locale/programs/ld-collate.c (collate_read): Add handling of
1709 * locale/programs/ld-collate.c: Many changes to implement parsing
1710 of collation definition (still not complete).
1712 1999-12-09 Andreas Jaeger <aj@suse.de>
1714 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Always set
1715 errno to ENOENT when returning NSS_STATUS_NOTFOUND.
1716 Reported by Christian Starkjohann <cs@obdev.at>.
1718 1999-12-09 Andreas Jaeger <aj@suse.de>
1720 * sysdeps/i386/fpu/libm-test-ulps: Added some ulps.
1722 1999-12-09 Jakub Jelinek <jakub@redhat.com>
1724 * stdlib/longlong.h: Update from latest egcs version.
1726 * sysdeps/sparc/fpu/fegetenv.c: Add semicolons.
1728 * sysdeps/unix/sysv/linux/bits/errno.h (__errno_location): __THROW
1729 has to preceede __attribute__, otherwise g++ barfs.
1731 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Make things compile
1734 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Changed to
1736 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1738 1999-12-05 Wolfram Gloger <wg@malloc.de>
1740 * malloc/malloc.c (arena_get2): If generating a new arena fails,
1741 try to generate a minimal one and hope for mmap_chunk() to succeed
1744 1999-11-07 Wolfram Gloger <wg@malloc.de>
1746 * malloc/thread-m.h [NO_THREADS]: The mutex_* macros now let
1747 mutex_t work as an `in-use' flag even without threads.
1748 * malloc/malloc.c (USE_ARENAS): New feature flag, controls support
1749 for multiple arenas separately from NO_THREADS.
1750 (mALLOc, chunk_realloc, mEMALIGn, cALLOc) [USE_ARENAS]: try to
1751 fall back to an mmap()ed arena when sbrk() has failed.
1753 1999-12-09 Ulrich Drepper <drepper@cygnus.com>
1755 * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
1756 getrlimit64, setrlimit64 for GLIBC_2.1.3.
1757 * sysdeps/unix/sysv/linux/i386/Versions: Add getrlimit, setrlimit,
1758 getrlimit64, setrlimit64 for GLIBC_2.1.3.
1759 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules for
1760 oldgetrlimit and oldsetrlimit.
1761 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldgetrlimit and
1763 * sysdeps/unix/sysv/linux/Makefile: Move oldgetrlimit and
1764 oldsetrlimit rules into 32-bit arch subdirs.
1765 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1767 * locale/programs/ld-collate.c (insert_value): If this is the
1768 first symbol the cursor can be the same as the next pointer.
1770 1999-12-08 Ulrich Drepper <drepper@cygnus.com>
1772 * locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping
1774 (allocate_arrays): Allocate memory for map32. Correctly install
1775 default values in it and install defined mappings.
1777 * locale/programs/ld-monetary.c (monetary_finish): Provide default
1778 value for mon_grouping.
1780 * elf/readlib.c: Include a.out.h last since the Linux/Alpha
1781 headers are not clean enough.
1783 * sysdeps/unix/sysv/linux/getrlimit.c: Remove K&R compatibility.
1785 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1786 __ASSUME_TRUNCATE64_SYSCALL and __ASSUME_MMAP2_SYSCALL for 2.3.31
1788 * sysdeps/unix/sysv/linux/ftruncate64.c: New file.
1789 * sysdeps/unix/sysv/linux/truncate64.c: New file.
1790 * sysdeps/unix/sysv/linux/i386/mmap.S: Allow using mmap2.
1791 * sysdeps/unix/sysv/linux/i386/mmap64.S: New file.
1793 * ctype/Versions: Add __ctype32_tolower and __ctype32_toupper.
1794 * ctype/ctype-info.c: Define __ctype32_tolower and __ctype32_toupper.
1795 * locale/C-ctype.c: Add _nl_C_LC_CTYPE_toupper32 and
1796 _nl_C_LC_CTYPE_tolower32 tables.
1797 Don't compile it names of 14652 classes and maps.
1798 * locale/langinfo.h: Define _NL_CTYPE_TOUPPER32 and
1799 _NL_CTYPE_TOLOWER32.
1800 * locale/lc-ctype.c (_nl_postload_ctype): Initialize __ctype32_toupper
1801 and __ctype32_tolower.
1802 * locale/programs/ld-ctype.c (struct locale_ctype_t): Add map32.
1803 (ctype_output): Write out map32 values.
1804 (allocate_arrays): Compute mapping tables correctly.
1805 * wctype/wcfuncs.c (towlower): Use __ctype32_tolower.
1806 (towupper): Use __ctype32_toupper.
1807 * wctype/wctype.h: Optimize towupper and towlower for values < 256.
1809 * locale/programs/ld-ctype.c (set_class_defaults): Correctly
1810 determine tolower mapping for 8bit table if the tolower keyword is
1813 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
1814 only IPv6 address. Reported by Artur Frysiak <wiget@pld.org.pl>.
1816 1999-12-07 Jakub Jelinek <jakub@redhat.com>
1818 * string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small,
1819 __stpcpy_small): Cast switch expressions to int to shut up compiler
1822 1999-12-07 Scott Bambrough <scottb@netwinder.org>
1824 * sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24
1827 1999-12-06 Andreas Schwab <schwab@suse.de>
1829 * sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the
1830 ugetrlimit syscall exists.
1832 * sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on
1834 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
1836 1999-12-07 Ulrich Drepper <drepper@cygnus.com>
1838 * iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment
1839 pointers if character is illegal.
1840 Reported by Bruno Haible <haible@ilog.fr>.
1842 * iconv/gconv_db.c (gen_steps): Set __counter initialy to 1.
1843 (increment_counter): New function. Broken out of find_derivation.
1844 (find_derivation): No need for a lock. Increment counter only when
1845 the derivation was already available.
1846 * iconv/gconv_dl.c: Add debugging functions.
1847 (known_compare): We have to use strcmp.
1848 Reported by Bruno Haible <haible@ilog.fr>.
1850 1999-12-06 Ulrich Drepper <drepper@cygnus.com>
1852 * iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo.
1853 * iconvdata/iso_2033.c (CHARSET_NAME): Fix typo.
1854 * iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo.
1855 * iconvdata/gconv-modules: Correct ISO646-PT2 alias. Add
1857 Reported by Bruno Haible <haible@ilog.fr>.
1859 * locale/programs/xstrdup.c: It's _LIBC, not __LIBC.
1861 1999-12-03 Andreas Jaeger <aj@suse.de>
1863 * nss/getXXbyYY.c: Include <resolv.h>
1864 (FUNCTION_NAME): Use res_ninit instead of res_init.
1866 * nss/getXXbyYY_r.c [NEED__RES]: Include <resolv.h> for _res
1867 declaration and prototypes.
1868 Remove extra _res declaration.
1869 (INTERNAL): Use thread aware res_ninit function.
1871 * inet/gethstbyad_r.c: Include <resolv.h>.
1873 * resolv/res_data.c: Update from Bind 8.2.2-P5. Moved res_init to
1874 res_libc.c. Disabled unneeded functions.
1876 * resolv/res_libc.c: New file.
1878 * Versions.def: Add version GLIBC_2.2 for libpthread.
1879 Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv.
1881 * include/resolv.h: Add internal interfaces.
1883 * resolv/Makefile (routines): Add new files.
1884 (libresolv-routines): Likewise.
1885 (distribute): Likewise.
1887 * resolv/gethnamaddr.c: Use thread safe resolver functions.
1888 * resolv/nss_dns/dns-host.c: Likewise.
1889 * resolv/nss_dns/dns-network.c: Likewise.
1891 * resolv/arpa/nameser.h: Update from Bind 8.2.2-P5.
1892 * resolv/nsap_addr.c: Likewise.
1893 * resolv/res_comp.c: Likewise.
1894 * resolv/res_debug.c: Likewise.
1895 * resolv/res_init.c: Likewise.
1896 * resolv/res_mkquery.c: Likewise.
1897 * resolv/res_query.c: Likewise.
1898 * resolv/res_send.c: Likewise.
1899 * resolv/resolv.h: Likewise.
1901 * resolv/Versions: Add __res_state and __res_ninit with version
1903 Add new interfaces with version GLIBC_2.2 to libresolv.
1905 * resolv/Banner: Update.
1907 * include/arpa/nameser_compat.h: New file.
1909 * resolv/ns_name.c: New file from Bind 8.2.2-P5.
1910 * resolv/ns_netint.c: Likewise.
1911 * resolv/ns_parse.c: Likewise.
1912 * resolv/ns_print.c: Likewise.
1913 * resolv/ns_samedomain.c: Likewise.
1914 * resolv/ns_ttl.c: Likewise.
1915 * resolv/arpa/nameser_compat.h: Likewise.
1916 * resolv/res_debug.h: Likewise.
1918 Some patches are based on work done by Adam D. Bradley
1919 <artdodge@cs.bu.edu>.
1921 1999-11-30 Andreas Jaeger <aj@suse.de>
1924 * elf/Makefile (extra-objs): Added ldconfig-modules.
1925 (ldconfig-modules): New.
1926 Added vpath for xstrdup and xmalloc.
1927 Check for use-ldconfig instead of has-ldconfig.
1928 ($(objpfx)ldconfig): New rule with dependencies.
1929 (distribute): Add new files.
1931 * sysdeps/unix/sysv/linux/sparc/readelflib.c: New file,
1932 developed together with Jakub Jelinek <jakub@redhat.com>.
1933 * sysdeps/generic/readelflib.c: Likewise.
1935 * elf/cache.c: New file.
1936 * elf/ldconfig.c: New file.
1937 * elf/ldconfig.h: New file.
1938 * elf/readlib.c: New file.
1940 * Makefile (install): Remove flag -d in ldconfig call.
1942 * configure.in: Rename has_ldconfig to use_ldconfig, set it to no
1945 * config.make.in (has-ldconfig): Renamed to use-ldconfig, changed
1948 * sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig,
1949 set always use_ldconfig instead.
1951 1999-12-03 Ulrich Drepper <drepper@cygnus.com>
1953 * sysdeps/generic/bits/stropts.h: Update with LiS types and
1954 values. Patch by David Grothe <dave@gcom.com>.
1956 * sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t):
1958 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1959 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1960 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1962 1999-12-02 Akira Yoshiyama <yosshy@debian.or.jp>
1964 * locale/lc-time.c (_nl_get_era_entry): Separate eras
1965 initialization as _nl_init_era_entry().
1966 * locale/lc-time.c (_nl_get_era_nf_entry): New function.
1967 * locale/lc-time.c (_nl_get_era_year_offset): New function.
1968 * locale/lc-time.c (_nl_get_era_year_start): New function.
1969 * locale/localeinfo.h: Declare new functions.
1970 Define ERA_NAME_FORMAT_MEMBERS, ERA_M_NAME, ERA_M_FORMAT, ERA_W_NAME,
1973 1999-12-02 Ulrich Drepper <drepper@cygnus.com>
1975 * posix/regex.c (SYNTAX): Make more portable.
1976 Patch by Aharon Robbins <arnold@skeeve.com>.
1978 1999-11-18 Roland McGrath <roland@baalperazim.frob.com>
1980 * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is
1981 nonzero, use cthread_fork to create the signal thread.
1982 * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize
1983 _hurd_msgport_thread here (to self).
1984 * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end
1985 is zero, instead compute child signal thread's starting SP from parent
1986 signal thread's current SP and the threadvar_stack variables.
1987 * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach.
1988 These are now referenced weakly by _hurdsig_init.
1990 * hurd/report-wait.c (_S_msg_report_wait): Fix typo:
1991 &_hurd_itimer_thread not &_hurd_msgport_thread.
1993 1999-10-01 Roland McGrath <roland@baalperazim.frob.com>
1995 * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
1996 without HURD_DPORT_USE to clean up warnings.
1997 * hurd/dtable.c (get_dtable_port): Likewise.
1999 * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
2000 (install_ctty): Do the changing of the cttyid port cell here, inside
2001 the critical section while we holding the dtable lock.
2002 (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
2003 the port cell and calling rectty_dtable.
2004 (_hurd_locked_install_cttyid): New function, split out of install_ctty.
2005 (install_ctty): Use it inside a critical section, with the lock held.
2006 * sysdeps/mach/hurd/setsid.c (__setsid): Use
2007 _hurd_locked_install_cttyid to effect the cttyid and dtable changes
2008 after proc_setsid, having held the dtable lock throughout.
2009 * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
2010 cttyid port for null and bail out early if so. The dtable lock
2011 serializes us after any cttyid change and its associated dtable update.
2013 1999-11-14 Roland McGrath <roland@baalperazim.frob.com>
2015 * sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
2016 Its presence lets librpcsvc compile ok. This from Mark Kettenis.
2017 We don't install this file for users.
2018 * sysdeps/mach/hurd/Dist: Add it.
2019 * sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
2020 Append nfs/nfs.h here.
2022 1999-12-01 Andreas Jaeger <aj@suse.de>
2024 * sysdeps/generic/if_index.c (__protocol_available): Add missing
2027 * stdio/stdio.h: Fix typo.
2028 Patches by Marcus G. Daniels <mgd@santafe.edu>.
2030 1999-12-01 Andreas Jaeger <aj@suse.de>
2032 * scripts/test-installation.pl (installation_problem): Filter out
2035 1999-12-01 Andreas Schwab <schwab@suse.de>
2037 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of
2038 __rlim_t and __rlim64_t.
2039 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2040 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2042 1999-12-01 Andreas Schwab <schwab@suse.de>
2044 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2045 oldgetrlimit64 and oldsetrlimit64 for subdir = resource.
2046 * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
2047 getrlimit64 and setrlimit64 to version GLIBC_2.1.3.
2048 * sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and
2049 new kernel version. Add symbol versions.
2050 * sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and
2052 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
2053 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2054 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit
2056 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2057 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
2058 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
2059 * sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file.
2060 * sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file.
2061 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
2062 * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file.
2063 * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file.
2064 * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New
2066 * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New
2069 1999-12-01 Ulrich Drepper <drepper@cygnus.com>
2071 * sysdeps/generic/usleep.c: Fix typo.
2073 * sysdeps/generic/sys/ptrace.h: Remove K&R compatibility.
2075 * sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
2078 * sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not
2081 * malloc/set-freeres.c: Really use already_called variable.
2083 * libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing
2084 function call directly.
2085 * libio/iosetvbuf.c: Likewise.
2087 1999-11-29 Ulrich Drepper <drepper@cygnus.com>
2089 * configure.in: Add AIX 4.3 support.
2091 * iconvdata/gconv-modules: Correct alias for ISO-8859-10. This
2092 standard was issued in 1992.
2093 Reported by Bruno Haible <haible@ilog.fr>.
2095 1999-11-29 Thorsten Kukuk <kukuk@suse.de>
2097 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for
2100 1999-11-29 Andreas Jaeger <aj@suse.de>
2102 * manual/time.texi (Basic CPU Time): Better describe wrap around.
2103 Patch by Andries Brouwer <Andries.Brouwer@cwi.nl>.
2105 1999-11-29 Ulrich Drepper <drepper@cygnus.com>
2107 * iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases.
2108 Patch by Bruno Haible <haible@ilog.fr>.
2110 1999-11-29 Thorsten Kukuk <kukuk@suse.de>
2112 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Remove K&R compatibility.
2114 1999-11-29 Andreas Schwab <schwab@suse.de>
2116 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable
2117 __v to __bswap_32_v.
2118 (__bswap_64): Rename local variables __v and __r to __bswap_64_v
2119 and __bswap_64_r to avoid clash with __bswap_32 macro.
2121 1999-11-28 Ulrich Drepper <drepper@cygnus.com>
2123 * iconvdata/t.61.c (CHARSET_NAME): Correct name to what is used in
2126 1999-11-26 Ulrich Drepper <drepper@cygnus.com>
2128 * locale/programs/ld-ctype.c (allocate_arrays): Complete last
2129 patch. Use wch instead of idx to compute index.
2130 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2132 * inet/rcmd.c (ruserok): Use iruserok2 not iruserok.
2134 * locale/iso-3166.def: Update from latest official list.
2136 1999-11-26 Thorsten Kukuk <kukuk@suse.de>
2138 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include
2139 asm/ptrace.h, since this will not be done with 2.3.xx automatically
2140 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2142 1999-11-26 Andreas Jaeger <aj@suse.de>
2144 * libio/libioP.h: Remove duplicate declaration of _IO_wsetb.
2146 1999-11-26 Andreas Jaeger <aj@suse.de>
2148 * inet/rcmd.c: Include stdlib for declaration of free.
2151 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
2153 * iconv/gconv.c (__gconv): Always initialize
2154 cd->__data[last_step].__outbuf and cd->__data[last_step].__outbufend.
2156 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Update number of
2158 * iconvdata/iso-2022-jp.c: Likewise.
2160 1999-11-25 H.J. Lu <hjl@gnu.org>
2162 * stdlib/exit.c (exit): Run funtions only if
2163 __exit_funcs->idx > 0.
2165 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
2167 * manual/charset.texi (iconv Examples): Add iconv call to flush
2168 state. Reported by Andrew Clausen <clausen@alphalink.com.au>.
2170 1999-11-25 Andreas Jaeger <aj@suse.de>
2172 * manual/install.texi (Running make install): Better describe
2174 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2176 1999-11-25 Andreas Jaeger <aj@suse.de>
2178 * include/sys/mman.h: Remove K&R compatibility.
2180 1999-11-15 Andreas Jaeger <aj@suse.de>
2182 * misc/sys/mman.h: Use __REDIRECT for mmap, correct prototype to
2185 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
2187 * iconv/iconv_prog.c (process_block): For stateful charsets write
2188 out byte sequence to get to initial state at the end of the file.
2190 1999-11-25 Andreas Schwab <schwab@suse.de>
2192 * Makeconfig: Include sys-dirs and sys-sorted earlier.
2193 ($(common-objpfx)soversions.mk): Wait until subdirs is complete.
2194 ($(common-objpfx)sysd-sorted): Emit marker when this file is
2197 1999-11-24 Ulrich Drepper <drepper@cygnus.com>
2199 * manual/setjmp.texi: Many changes to correct bad English introduced
2201 * manual/time.texi: Likewise.
2202 Patches by Neil Booth <neil@rosenet.ne.jp>.
2204 * include/string.h: Remove K&R compatibility.
2206 1999-11-23 Ulrich Drepper <drepper@cygnus.com>
2208 * sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition.
2210 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added.
2212 * string/stratcliff.c: Add one more strchr test for something
2213 which was reported to not work (which proofed to be wrong).
2215 * iconv/skeleton.c: It's __is_last, not is_last.
2217 * locale/programs/ld-ctype.c (ctype_finish): Correct method to find
2219 (allocate_arrays): Likewise.
2220 (find_idx): Correctly increase array size.
2221 Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2223 1999-11-23 Thorsten Kukuk <kukuk@suse.de>
2225 * iconv/skeleton.c: Don't access next_step->fct if data->is_last
2228 1999-11-23 Andreas Jaeger <aj@suse.de>
2230 * include/sys/select.h: Remove K&R compatibility.
2231 * include/sys/statfs.h: Likewise.
2232 * include/gnu/libc-version.h: Likewise.
2233 * include/db_185.h: Likewise.
2234 * include/dlfcn.h: Likewise.
2235 * include/search.h: Likewise.
2236 * include/setjmp.h: Likewise.
2237 * include/signal.h: Likewise.
2238 * include/stdio.h: Likewise.
2239 * include/unistd.h: Likewise.
2241 1999-11-23 Andreas Jaeger <aj@suse.de>
2243 * include/aio.h: Remove __THROW from internal interfaces. __THROW
2244 is only need in external header files that might be compiled by a
2246 * include/alloca.h: Likewise.
2247 * include/db.h: Likewise.
2248 * include/dirent.h: Likewise.
2249 * include/execinfo.h: Likewise.
2250 * include/fpu_control.h: Likewise.
2251 * include/glob.h: Likewise.
2252 * include/grp.h: Likewise.
2253 * include/libintl.h: Likewise.
2254 * include/math.h: Likewise.
2255 * include/math.h: Likewise.
2256 * include/mntent.h: Likewise.
2257 * include/mntent.h: Likewise.
2258 * include/netdb.h: Likewise.
2259 * include/pwd.h: Likewise.
2260 * include/sched.h: Likewise.
2261 * include/shadow.h: Likewise.
2262 * include/stdlib.h: Likewise.
2263 * include/sys/file.h: Likewise.
2264 * include/sys/gmon.h: Likewise.
2265 * include/sys/ioctl.h: Likewise.
2266 * include/sys/socket.h: Likewise.
2267 * include/sys/stat.h: Likewise.
2268 * include/sys/sysinfo.h: Likewise.
2269 * include/sys/time.h: Likewise.
2270 * include/sys/times.h: Likewise.
2271 * include/sys/uio.h: Likewise.
2272 * include/sys/wait.h: Likewise.
2273 * include/termios.h: Likewise.
2274 * include/time.h: Likewise.
2275 * include/ulimit.h: Likewise.
2276 * include/utmp.h: Likewise.
2277 * include/wchar.h: Likewise.
2279 1999-11-22 Andreas Jaeger <aj@suse.de>
2281 * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output.
2282 Patch by Jerry Perkins <jrperkins@iname.com>, closes PR
2285 1999-11-22 Jakub Jelinek <jakub@redhat.com>
2287 * sysdeps/generic/siglist.h: Avoid declaring the same field
2288 twice if SIGPWR is defined to SIGLOST.
2289 * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument,
2290 not signed, so we should not special case it for negative args.
2291 * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic
2292 memmove, use the one provided in memcpy.S.
2293 * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping
2294 copies like memmove, while the previous version worked like memcpy.
2295 Implement optimized assembly memmove.
2296 * sysdeps/sparc/sparc64/memmove.c: New file.
2298 1999-11-23 Ulrich Drepper <drepper@cygnus.com>
2300 * po/cs.po: Update from translators.
2302 1999-11-23 Andreas Jaeger <aj@suse.de>
2304 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function.
2305 (elf_machine_got): Removed, not needed anymore.
2306 (ELF_MACHINE_RELOC_NOPLT): Removed.
2307 (ELF_MACHINE_JMP_SLOT): Added.
2308 (_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__.
2309 (_RTLD_EPILOGUE): Likewise.
2310 (RESOLVE_GOTSYM): Use R_MIPS_REL32.
2311 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2312 Based on patches from Maciej W. Rozycki <macro@ds2.pg.gda.pl> and
2313 Ralf Baechle <baechle@uni-koblenz.de>.
2315 * sysdeps/mips/mips64/dl-machine.h: Apply same patches.
2317 1999-11-22 Ulrich Drepper <drepper@cygnus.com>
2319 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset
2320 name from the locale name. Only use the value in the LC_CTYPE
2323 * locale/loadlocale.c (_nl_load_locale): Allow index of entry in
2324 file be equal to file size.
2326 * stdlib/longlong.h: Add count_trailing_zeros back.
2328 * stdlib/longlong.h: Update from latest egcs version.
2330 1999-11-22 Andreas Jaeger <aj@suse.de>
2332 * locale/programs/ld-collate.c (insert_value): Correct order of
2333 arguments for lr_error call.
2335 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add
2336 __syscall_setrlimit.
2338 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Include <sys/types.h>
2340 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2342 1999-11-21 Ulrich Drepper <drepper@cygnus.com>
2344 * sysdeps/i386/fpu/libm-test-ulps: Increase error value for latest
2347 * locale/programs/ld-ctype.c (ctype_read): Correctly implement
2348 14652-style definition of new maps and classes.
2350 1999-11-20 Ulrich Drepper <drepper@cygnus.com>
2352 * locale/programs/ld-monetary.c (monetary_finish): Don't print
2353 individual error message if nothing is defined.
2355 * locale/programs/ld-time.c (time_startup): Test for lr being
2358 * locale/programs/ld-numeric.c (numeric_finish): Don't crash if
2359 decimal_point is not defined.
2361 * wctype/wctrans.c (wctrans): Use correct base index to access
2362 extra mapping tables.
2364 * locale/loadlocale.c (_nl_load_locale): Use actual number of
2365 entries from file and not the fixed (minimal number from the
2368 * locale/programs/ld-ctype.c (ctype_read): Fix reading of <U....>
2371 1999-11-18 Paul Eggert <eggert@twinsun.com>
2373 * time/strftime.c (my_strftime): Some old compilers object to
2374 '\a', so don't bother optimizing for it.
2376 1999-11-19 Ulrich Drepper <drepper@cygnus.com>
2378 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify
2379 the rlimits structure passed in.
2381 1999-11-19 Andreas Jaeger <aj@suse.de>
2383 * include/sys/resource.h (__setrlimit): Add prototype.
2385 1999-11-19 Ulrich Drepper <drepper@cygnus.com>
2387 * elf/dl-load.c (_dl_init_paths): Allocate correct number of
2388 entries for rtld_search_dirs[0].
2389 Patch by David Mosberger <davidm@hpl.hp.com>.
2391 1999-11-18 Ulrich Drepper <drepper@cygnus.com>
2393 * locale/programs/ld-ctype.c: Don't predefine the character
2394 classes and mappings of ISO 14652.
2396 * locale/programs/ld-ctype.c: Punt if character class definitions
2397 to not consists of tok_bsymbol (for now).
2399 * time/strptime.c (day_of_the_week): Make sure result is never
2401 (strptime_internal): Allow %C without %y.
2403 1999-11-18 Andreas Jaeger <aj@suse.de>
2405 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Sorted entries and added
2408 * sysdeps/unix/sysv/linux/getpt.c: Include linux_fsinfo.h instead
2409 of defining *_SUPER_MAGIC.
2410 * sysdeps/unix/sysv/linux/grantpt.c: Likewise.
2412 1999-11-18 Ulrich Drepper <drepper@cygnus.com>
2414 * locale/programs/locale.c: Don't handle LC_ALL together with the
2415 other categories when printing the value.
2416 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
2418 * locale/locale.h: Correct comment about LC_ALL.
2420 1999-11-17 Ulrich Drepper <drepper@cygnus.com>
2422 * locale/programs/ld-ctype.c (ctype_output): Correct computation of
2423 nelems. Correctly compute index for additional character classes.
2424 (ctype_read): Handle charclass and charconv definitions. Also
2425 recognize arbitrary strings as mapping names.
2426 * locale/programs/ld-time.c (time_finish): Correctly skip over wide
2427 character era strings.
2428 * locale/lc-time.c (_nl_get_era_entry): Correctly skip era name
2429 and format for wide characters.
2430 * time/strftime.c: Correctly determine era information for wide
2432 * wctype/wctrans.c: Fix after removal of second endianess table.
2433 * wctype/wctype.h (_ISwbit): Correctly handle bits > 16.
2434 Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2436 * wcsmbs/wcwidth.h (internal_wcwidth): Reject non-printable characters.
2437 * wcsmbs/wcswidth.c (wcswidth): Don't forget to decrement counter n.
2439 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove greg_t,
2440 gregset_t, fpregset_t, and NGREG definitions.
2442 * locale/programs/ld-ctype.c: Implement character width information
2445 1999-11-09 Andreas Jaeger <aj@suse.de>
2447 * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Add support for devfs.
2449 * sysdeps/unix/sysv/linux/getpt.c (__getpt): Check for devfs.
2450 Patch by German Jose Gomez Garcia <german@pinon.ccu.uniovi.es>.
2452 * sysdeps/unix/sysv/linux/linux_fsinfo.h (DEVFS_SUPER_MAGIC): Added.
2454 1999-11-17 Ulrich Drepper <drepper@cygnus.com>
2456 * sysdeps/gnu/netinet/tcp.h: Add TCP_CORK definition.
2458 1999-11-07 Andreas Jaeger <aj@suse.de>
2460 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: New file with some
2461 defines from Linux scsi_ioctl.h header.
2463 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Added
2465 * sysdeps/unix/sysv/linux/Dist: Likewise.
2467 * sysdeps/unix/sysv/linux/scsi/sg.h: Synced with Linux 2.3.26;
2470 * sysdeps/unix/sysv/linux/scsi/scsi.h (TYPE_ENCLOSURE): Added to
2471 sync with Linux 2.3.26.
2473 1999-11-17 Andreas Jaeger <aj@suse.de>
2475 * shlib-versions: Allow mipsel for libm.
2476 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2478 1999-11-16 Andreas Jaeger <aj@suse.de>
2480 * math/fenv.h: Fix typos in comments. Reported by Andreas Schwab.
2482 1999-11-16 Ulrich Drepper <drepper@cygnus.com>
2484 * locale/programs/ld-ctype.c (set_class_defaults): Set default
2485 value for alpha and alnum correctly.
2487 * locale/programs/ld-address.c (address_output): Fix output of
2490 1999-11-15 Ulrich Drepper <drepper@cygnus.com>
2492 * timezone/asia: Update from tzdata1999j.
2493 * timezone/australasia: Likewise.
2494 * timezone/europe: Likewise.
2495 * timezone/northamerica: Likewise.
2496 * timezone/southamerica: Likewise.
2497 * timezone/zone.tab: Likewise.
2499 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
2501 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove duplicate definitions.
2502 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
2503 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
2504 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise.
2505 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2507 1999-11-15 Andreas Jaeger <aj@suse.de>
2509 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
2510 __syscall_setrlimit.
2511 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2513 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
2515 * scripts/versions.awk: Don't expect to read predecessor versions,
2517 * Versions.def: Remove predecessors. They now get computed.
2519 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
2521 * sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
2522 * sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit
2524 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
2525 * sysdeps/powerpc/stackinfo.h: New file.
2526 Patches by Franz Sirl <Franz.Sirl@lauterbach.com>.
2528 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
2530 * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to
2533 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
2535 * hurd/Versions (GLIBC_2.1.3): Define, adding directory_name_split and
2536 hurd_directory_name_split.
2537 * Versions.def (libc): Add GLIBC_2.1.3.
2539 1999-11-09 Roland McGrath <roland@baalperazim.frob.com>
2541 * hurd/report-wait.c (describe_port): Return char * and use __stpcpy
2542 to return the location of the null byte written into the string.
2543 (describe_number): Likewise.
2544 (describe_number): Remove assert, not always used with #.
2545 If FLAVOR is null, don't use it.
2546 (describe_number): Take signed argument and print a - if negative.
2547 (_S_msg_report_wait): Report system call number for system calls that
2548 aren't mach_msg. Soup up reporting for mach_msg: If destination port
2549 matches SS->intr_port, bracket port description with [...] to indicate
2550 a Hurd interruptible RPC; if destination port is null, examine the
2551 receive port and report that state; if receive port is also null,
2552 check for timeout and report its value.
2553 * sysdeps/mach/hurd/i386/intr-msg.h (MSG_EXAMINE): Return int that is
2554 zero iff we managed to examine the stack; take new args RCV_NAME,
2555 SEND_NAME, OPTION, and TIMEOUT to fill in with mach_msg args.
2557 * hurd/report-wait.c (describe_port): Recognize MACH_PORT_NULL and
2558 MACH_PORT_DEAD specially.
2560 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
2562 * hurd/hurdlookup.c (__hurd_directory_name_split): New function.
2563 (__directory_name_split): New function.
2564 * hurd/hurd.h: Declare them.
2565 * sysdeps/mach/hurd/rmdir.c: Use __directory_name_split instead of
2566 __file_name_split, so we ignore trailing slashes properly.
2567 * sysdeps/mach/hurd/rename.c: Likewise.
2569 1999-11-13 Thorsten Kukuk <kukuk@suse.de>
2571 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add SIGPWR define
2572 from current kernel headers.
2574 * sunrpc/key_call.c: Use /usr/etc/keyenvoy only if we don't have
2575 SO_PASSCRED defined.
2577 1999-11-12 Ulrich Drepper <drepper@cygnus.com>
2579 * locale/C-ctype.c: Fix typo in char class name.
2581 * configure.in: Allow user so specify --enable-kernel=current.
2583 1999-11-12 Thorsten Kukuk <kukuk@suse.de>
2585 * nis/nss_nisplus/nisplus-publickey.c: Check for snprintf return value.
2587 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Follow changes from
2589 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
2590 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
2591 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2592 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
2594 1999-11-12 Ulrich Drepper <drepper@cygnus.com>
2596 * intl/locale.alias: Add Estonian entries.
2597 Patch by Marko Kreen <marko@et.ee> [PR libc/1444].
2599 1999-11-02 Andreas Jaeger <aj@suse.de>
2601 * Versions.def: Add version GLIBC_2.2 for libm.
2602 * math/fenv.h: Add prototypes for fegetexcept, feenableexcept and
2604 * sysdeps/generic/feenablxcpt.c: Stub file.
2605 * sysdeps/generic/fedisblxcpt.c: Stub file.
2606 * sysdeps/generic/fegetexcept.c: Stub file.
2607 * sysdeps/i386/fpu/fedisblxcpt.c: New file.
2608 * sysdeps/i386/fpu/feenablxcpt.c: New file.
2609 * sysdeps/i386/fpu/fegetexcept.c: New file.
2610 * math/Makefile (libm-support): Add new files.
2611 * math/Versions: Add new functions with version GLIBC_2.2.
2612 * manual/arith.texi (Control Functions): Document fegetexcept,
2613 feenableexcept and fedisableexcept.
2615 1999-11-01 Wolfram Gloger <wg@malloc.de>
2617 * malloc/malloc.h: Describe __malloc_initialize_hook.
2618 * manual/memory.texi: Document __malloc_initialize_hook.
2620 1999-11-11 Ulrich Drepper <drepper@cygnus.com>
2622 * sysdeps/unix/sysv/linux/setrlimit.c: Correctly use rlimits.
2624 1999-11-09 Andreas Jaeger <aj@suse.de>
2626 * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
2627 implementation for ttyname_r call; fix inverted condition; return
2629 Closes PR libc/1438.
2631 1999-11-10 Ulrich Drepper <drepper@cygnus.com>
2633 * math/fenv.h: Include bits/fenvinline.h if optimizing.
2634 * sysdeps/powerpc/fpu/bits/fenv.h: Remove inline functions. Moved to..
2635 * sysdeps/powerpc/fpu/bits/fenvinline.h: ...here. New file.
2636 * sysdeps/generic/bits/fenv.h: New file.
2638 1999-11-10 Ulrich Drepper <drepper@cygnus.com>
2640 * misc/tst-efgcvt.c (output_r_error): Remove extra parameter to
2643 1999-11-10 Andreas Jaeger <aj@suse.de>
2645 * misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r.
2647 1999-11-10 Andreas Jaeger <aj@suse.de>
2649 * string/strsignal.c (strsignal): Correct check for snprintf
2651 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
2653 * misc/efgcvt_r.c (APPEND): Correct check for too small buffer
2654 according to changed snprintf return value.
2655 Reported by Lawrence K. Chen <lchen@opentext.com>.
2657 * misc/tst-efgcvt.c (special): Add tests for a too small buffer
2658 for ecvt_r and fcvt_r.
2660 1999-11-09 Ulrich Drepper <drepper@cygnus.com>
2662 * elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to
2663 directory with the reference since this is as secure as using the
2664 object with the dependency.
2665 (_dl_dst_substitute): Likewise.
2667 * elf/dl-load.c (_dl_dst_count): Change strings in first two
2668 strncmp calls to allow reuse.
2669 (_dl_dst_substitute): Likewise.
2671 1999-11-01 Arnold D. Robbins <arnold@skeeve.com>
2673 * posix/regex.c (init_syntax_once): move below definition of
2674 ISALNUM etc., then use ISALNUM to init the table, so that
2675 the word ops will work if i18n'ed.
2676 (SYNTAX): And subscript with 0xFF for 8bit character sets.
2678 1999-11-09 Andreas Jaeger <aj@suse.de>
2680 * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
2681 implementation for ttyname_r call; fix inverted condition; return
2682 ut_user. Closes PR libc/1438.
2684 1999-11-09 Ulrich Drepper <drepper@cygnus.com>
2686 * timezone/checktab.awk: Update from tzcode1999h.
2687 * timezone/africa: Update from tzdata1999i.
2688 * timezone/asia: Likewise.
2689 * timezone/australasia: Likewise.
2690 * timezone/backward: Likewise.
2691 * timezone/europe: Likewise.
2692 * timezone/northamerica: Likewise.
2693 * timezone/southamerica: Likewise.
2694 * timezone/iso3166.tab: Likewise.
2695 * timezone/zone.tab: Likewise.
2697 * sysdeps/unix/sysv/linux/bits/resource.h: Define values also as
2698 macros. Patch by brg@csua.berkeley.edu [PR libc/1439].
2700 1999-11-09 Andreas Jaeger <aj@suse.de>
2702 * posix/Makefile (tests): Added tst-getlogin.
2704 * posix/tst-getlogin.c: New file, contains simple tests for
2705 getlogin and getlogin_r.
2707 1999-11-09 Andreas Schwab <schwab@suse.de>
2709 * misc/syslog.c: For LOG_PERROR only append a newline if
2712 1999-11-08 Ulrich Drepper <drepper@cygnus.com>
2714 * elf/elf.h: Add STT_REGISTER, STT_HP_OPAQUE, and STT_ST_STUB
2717 1999-11-08 Andreas Jaeger <aj@suse.de>
2719 * locale/findlocale.c (_nl_find_locale): Free normalized_codeset;
2720 this fixes a memory leak (closes PR libc/1435).
2722 * intl/l10nflist.c (_nl_normalize_codeset): Update comment to
2723 reflect memory allocation.
2725 * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory
2726 allocation in _nl_explode_name.
2728 1999-11-06 Andreas Jaeger <aj@suse.de>
2730 * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock
2732 Reported by wes@surety.com, closes PR libc/1432.
2734 1999-11-05 Geoff Keating <geoffk@cygnus.com>
2736 * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of
2737 enumerator lists (-pedantic complains).
2738 (feraiseexcept): Use i#*X as the constraint. Fix a bug in the
2739 test for 'one bit set'.
2740 (feclearexcept): Likewise.
2742 1999-11-05 Ulrich Drepper <drepper@cygnus.com>
2744 * sysdeps/unix/sysv/linux/setrlimit.c: New file.
2746 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust
2748 * sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make
2751 1999-10-04 Tim Waugh <twaugh@redhat.com>
2753 * posix/wordexp-test.c: More tests.
2755 * posix/wordexp.c (wordexp): Explicit null words should be kept.
2757 1999-11-04 Shinya Hanataka <hanataka@abyss.rim.or.jp>
2759 * locale/programs/linereader.c (get_string): Correct type of buf2
2761 * locale/programs/ld-ctype.c (ctype_output): Store index correctly
2762 for _NL_CTYPE_INDIGITS_MB_LEN, _NL_CTYPE_INDIGITS_WC_LEN,
2763 _NL_CTYPE_INDIGITS*_MB, _NL_CTYPE_OUTDIGIT*_MB, and
2764 _NL_CTYPE_OUTDIGIT*_WC.
2765 (allocate_arrays): Completely initialize mapping tables.
2766 * locale/programs/ld-time.c (time_startup): We need the wide car
2768 (time_finish): Correct handling of era.
2769 (time_output): Fix a few array indeces.
2770 (time_read): Pass the repertoire map to lr_token.
2772 1999-11-03 Ulrich Drepper <drepper@cygnus.com>
2774 * Versions.def: Add version for libthread_db.
2776 1999-11-02 Andreas Jaeger <aj@suse.de>
2778 * manual/header.texi (Library Summary): The command @indexfonts
2779 doesn't exist anymore, use @smallfonts instead.
2781 1999-11-02 Ulrich Drepper <drepper@cygnus.com>
2783 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h
2784 instead of duplicating definitions.
2786 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
2788 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used
2790 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
2791 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise.
2792 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
2793 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2794 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
2796 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
2798 * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25.
2800 * sysdeps/unix/sysv/linux/kernel-features.h
2801 (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition.
2802 * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file.
2804 * manual/texinfo.tex: Updated.
2806 1999-11-01 Andreas Jaeger <aj@suse.de>
2808 * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility.
2810 * inet/gethstbynm2_r.c: Reorder addresses.
2812 1999-09-11 Paul Eggert <eggert@twinsun.com>
2814 * posix/glob.h (glob): If #defining to glob64, do this before
2815 declaring it, so that all declarations and uses match, and do not
2816 declare glob64, to avoid a declaration clash.
2817 (globfree): Likewise with globfree64.
2819 1999-09-08 Eli Zaretskii <eliz@is.elta.co.il>
2821 * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]:
2822 Keep the trailing slash unless DIRNAME is just "x:/".
2824 1999-10-11 Andreas Jaeger <aj@suse.de>
2826 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added.
2827 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2828 Closes PR libc/1384.
2830 1999-10-20 Andreas Schwab <schwab@suse.de>
2832 * math/Makefile (libm-tests-generated): Remove libm-test.stmp.
2833 (generated): Add it here.
2834 (before-compile): Add libm-test.c.
2835 ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on
2837 ($(objpfx)libm-test.stmp): Use $(objpfx) instead of
2840 1999-10-31 Ulrich Drepper <drepper@cygnus.com>
2842 * Makefile (pdf): New goal.
2843 * manual/Makefile: Add definitions and rules for PDF generation.
2845 * Versions.def (libm): Add GLIBC_2.1.3.
2847 ISO C99 TR1 changes various fe* functions to return an error value.
2848 * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag,
2849 feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv.
2850 * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias.
2851 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
2852 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
2853 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
2854 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
2855 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
2856 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
2857 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
2858 * sysdeps/arm/fpu/fegetenv.c: Likewise.
2859 * sysdeps/arm/fpu/fesetenv.c: Likewise.
2860 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
2861 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
2862 * sysdeps/generic/fclrexcpt.c: Likewise.
2863 * sysdeps/generic/fegetenv.c: Likewise.
2864 * sysdeps/generic/fesetenv.c: Likewise.
2865 * sysdeps/generic/feupdateenv.c: Likewise.
2866 * sysdeps/generic/fgetexcptflg.c: Likewise.
2867 * sysdeps/generic/fraiseexcpt.c: Likewise.
2868 * sysdeps/generic/fsetexcptflg.c: Likewise.
2869 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
2870 * sysdeps/i386/fpu/fegetenv.c: Likewise.
2871 * sysdeps/i386/fpu/fesetenv.c: Likewise.
2872 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
2873 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
2874 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2875 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
2876 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
2877 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
2878 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
2879 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
2880 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
2881 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
2882 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
2883 * sysdeps/mips/fclrexcpt.c: Likewise.
2884 * sysdeps/mips/fegetenv.c: Likewise.
2885 * sysdeps/mips/fesetenv.c: Likewise.
2886 * sysdeps/mips/feupdateenv.c: Likewise.
2887 * sysdeps/mips/fgetexcptflg.c: Likewise.
2888 * sysdeps/powerpc/fclrexcpt.c: Likewise.
2889 * sysdeps/powerpc/fegetenv.c: Likewise.
2890 * sysdeps/powerpc/fesetenv.c: Likewise.
2891 * sysdeps/powerpc/feupdateenv.c: Likewise.
2892 * sysdeps/powerpc/fgetexcptflg.c: Likewise.
2893 * sysdeps/powerpc/fraiseexcpt.c: Likewise.
2894 * sysdeps/powerpc/fsetexcptflg.c: Likewise.
2895 * sysdeps/sparc/fpu/fclrexcpt.c: Likewise.
2896 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
2897 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
2898 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
2899 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
2900 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2901 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
2902 * math/fenv.h: Adjust prototypes.: Likewise.
2903 * manual/arith.texi: Adjust documentation for these changes.
2905 * manual/arith.texi: Document feraiseexcept.
2907 * sysdeps/powerpc/fegetenv.c: Moved to...
2908 * sysdeps/powerpc/fpu/fegetenv.c: ...here.
2909 * sysdeps/powerpc/fegetround.c: Moved to...
2910 * sysdeps/powerpc/fpu/fegetround.c: ...here.
2911 * sysdeps/powerpc/feholdexcpt.c: Moved to...
2912 * sysdeps/powerpc/fpu/feholdexcpt.c: ...here.
2913 * sysdeps/powerpc/fesetenv.c: Moved to...
2914 * sysdeps/powerpc/fpu/fesetenv.c: ...here.
2915 * sysdeps/powerpc/fenv_libc.h: Moved to...
2916 * sysdeps/powerpc/fpu/fenv_libc.h: ...here.
2917 * sysdeps/powerpc/feupdateenv.c: Moved to...
2918 * sysdeps/powerpc/fpu/feupdateenv.c: ...here.
2919 * sysdeps/powerpc/fgetexcptflg.c: Moved to...
2920 * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here.
2921 * sysdeps/powerpc/fraiseexcpt.c: Moved to...
2922 * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here.
2923 * sysdeps/powerpc/fsetexcptflg.c: Moved to...
2924 * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here.
2925 * sysdeps/powerpc/ftestexcept.c: Moved to...
2926 * sysdeps/powerpc/fpu/ftestexcept.c: ...here.
2927 * sysdeps/powerpc/fesetround.c: Moved to...
2928 * sysdeps/powerpc/fpu/fesetround.c: ...here
2929 * sysdeps/powerpc/fenv_const.c: Moved to...
2930 * sysdeps/powerpc/fpu/fenv_const.c: ...here.
2932 * sysdeps/mips/fclrexcpt.c: Moved to...
2933 * sysdeps/mips/fpu/fclrexcpt.c: ...here.
2934 * sysdeps/mips/fegetenv.c: Moved to...
2935 * sysdeps/mips/fpu/fegetenv.c: ...here.
2936 * sysdeps/mips/fegetround.c: Moved to...
2937 * sysdeps/mips/fpu/fegetround.c: ...here.
2938 * sysdeps/mips/fesetenv.c: Moved to...
2939 * sysdeps/mips/fpu/fesetenv.c: ...here.
2940 * sysdeps/mips/fesetround.c: Moved to...
2941 * sysdeps/mips/fpu/fesetround.c: ...here.
2942 * sysdeps/mips/feupdateenv.c: Moved to...
2943 * sysdeps/mips/fpu/feupdateenv.c: ...here.
2944 * sysdeps/mips/fgetexcptflg.c: Moved to...
2945 * sysdeps/mips/fpu/fgetexcptflg.c: ...here.
2946 * sysdeps/mips/ftestexcept.c: Moved to...
2947 * sysdeps/mips/fpu/ftestexcept.c: ...here.
2949 1999-10-29 Jakub Jelinek <jakub@redhat.com>
2951 * stdlib/longlong.h: Avoid UDIV_TIME redefinition.
2952 * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus
2953 libraries from statically linked programs.
2954 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309
2955 fix for sigaction on SPARC.
2956 Patches by David S. Miller <davem@redhat.com>.
2958 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare
2959 gregset_t and other required structures and defines for SPARC 64bit
2960 ABI as well, not only 32bit ABI.
2962 1999-10-31 Andreas Jaeger <aj@suse.de>
2964 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X
2965 by __USE_ISOC99 and update comments.
2967 * math/complex.h: Update comments for ISO C99.
2968 * math/fenv.h: Likewise.
2969 * math/test-fenv.c: Likewise.
2970 * math/tgmath.h: Likewise.
2971 * libio/stdio.h: Likewise.
2972 * posix/sys/types.h: Likewise.
2973 * sysdeps/generic/inttypes.h: Likewise.
2974 * sysdeps/generic/stdint.h: Likewise.
2976 1999-10-31 Ulrich Drepper <drepper@cygnus.com>
2978 * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE.
2980 * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also
2981 recognize _ISOC99_SOURCE.
2982 * libio/stdio.h: Likewise.
2983 * math/math.h: Likewise.
2984 * math/bits/mathcalls.h: Likewise.
2985 * math/stdio.h: Likewise.
2986 * stdlib/stdlib.h: Likewise.
2987 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
2988 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
2989 * sysdeps/arm/bits/huge_val.h: Likewise.
2990 * sysdeps/generic/bits/mathdef.h: Likewise.
2991 * sysdeps/i386/bits/huge_val.h: Likewise.
2992 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2993 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
2994 * sysdeps/ieee754/bits/huge_val.h: Likewise.
2995 * sysdeps/m68k/bits/huge_val.h: Likewise.
2996 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2997 * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
2998 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2999 * sysdeps/powerpc/bits/mathinline.h: Likewise.
3000 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
3001 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3002 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
3003 * wcsmbs/wchar.h: Likewise.
3005 * sysdeps/powerpc/bits/mathdef.h: Moved to...
3006 * sysdeps/powerpc/fpu/bits/mathdef.h: ...here.
3007 * sysdeps/powerpc/bits/mathinline.h: Moved to...
3008 * sysdeps/powerpc/fpu/bits/mathinline.h: ...here.
3009 * sysdeps/powerpc/bits/fenv.h: Moved to...
3010 * sysdeps/powerpc/fpu/bits/fenv.h: ...here.
3012 1999-10-31 Andreas Jaeger <aj@suse.de>
3014 * manual/math.texi (Errors in Math Functions): Correct TeX code.
3016 1999-10-31 Andreas Jaeger <aj@suse.de>
3018 * math/libm-test.inc: Change comments to use ISO C99 instead of
3020 * math/w_lgamma.c: Likewise.
3021 * math/w_lgammaf.c: Likewise.
3022 * math/w_lgammal.c: Likewise.
3023 * math/test-fenv.c: Likewise.
3024 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3025 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3026 * sysdeps/generic/printf_fphex.c: Likewise.
3028 1999-10-31 Andreas Jaeger <aj@suse.de>
3030 * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment.
3032 * manual/math.texi: Change ISO C9x to ISO C99.
3033 * manual/startup.texi: Likewise.
3034 * manual/stdio.texi: Likewise.
3036 1999-10-31 Andreas Jaeger <aj@suse.de>
3038 * manual/arith.texi: Change ISO C9x to ISO C99.
3039 * manual/time.texi (Low-Level Time String Parsing): Likewise.
3041 1999-10-30 Ulrich Drepper <drepper@cygnus.com>
3043 * socket/Makefile (distribute): Add ifreq.h.
3045 * manual/time.texi (Formatting Date and Time): Revise comments about
3046 origins of the formats with ISO C99 references.
3048 1999-10-30 Andreas Jaeger <aj@suse.de>
3050 * sysdeps/unix/sysv/linux/ifreq.h: New file.
3052 1999-10-29 Andreas Jaeger <aj@suse.de>
3054 * manual/arith.texi (Parsing of Floats): Document the hexadecimal
3055 input format; mention that strtof and strtold are part of ISO C99.
3057 1999-10-29 Ulrich Drepper <drepper@cygnus.com>
3059 * manual/math.texi (Errors in Math Functions): New section.
3060 * math/libm-err-tab.pl: Moved to...
3061 * manual/libm-err-tab.pl: ...here.
3062 * manual/Makefile: Add rules for math function error table generation.
3064 * stdlib/tst-strtod.c: Add more hexadecimal tests.
3066 * stdlib/strtod.c: Handle hexadecimal numbers with leading digit
3067 != 1 correctly and more than one digit before decimal point..
3069 1999-10-27 Andreas Jaeger <aj@suse.de>
3071 * sysdeps/generic/ifreq.h: New file.
3073 * resolv/res_hconf.c: Add missing includes to get all prototypes.
3074 (_res_hconf_reorder_addrs): Rewrite. This never worked before.
3075 Reported by John DiMarco <jdd@cs.toronto.edu>.
3077 (_res_hconf_reorder_addrs): Made thread safe.
3078 (free_mem): New function, needed for malloc debugging.
3080 1999-10-29 Andreas Jaeger <aj@suse.de>
3082 * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ...
3083 * sysdeps/generic/opensock.c (__opensock): ...here in a new file.
3084 * sysdeps/unix/sysv/linux/if_index.c: Change all callers of
3085 opensock to use __opensock.
3087 * socket/Makefile (routines): Add opensock.
3089 * include/sys/socket.h (__opensock): Add prototype declaration.
3091 1999-10-29 Andreas Jaeger <aj@suse.de>
3093 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing
3095 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3097 * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added
3098 new constant from Linux 2.3.25pre1.
3100 * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added.
3102 1999-10-29 Andreas Jaeger <aj@suse.de>
3104 * math/libm-err-tab.pl: New file to generate a table of
3105 libm-test-ulps values.
3107 1999-10-29 Ulrich Drepper <drepper@cygnus.com>
3109 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file.
3110 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect
3111 struct sigcontext* object as second parameter for profil_counter.
3112 Patches by Jakub Jelinek <jakub@redhat.com>.
3114 1999-10-29 Andreas Jaeger <aj@suse.de>
3116 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs.
3117 * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
3119 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts,
3120 efs, qnx4 and reiser file systems.
3122 1999-10-29 Andreas Jaeger <aj@suse.de>
3124 * locale/Makefile (others): Set to localedef and locale for make
3127 * debug/Makefile (generated): Add xtrace for make clean to work.
3129 1999-10-29 Andreas Jaeger <aj@suse.de>
3131 * stdlib/tst-strtod.c: Add two testcases for hexadecimal input.
3133 1999-10-25 Andreas Jaeger <aj@suse.de>
3135 * math/libm-test.inc: Added code to ignore the given max ulps.
3136 (print_max_error): Check for ignore_max_ulp.
3137 (check_float_internal): Likewise.
3138 (parse_opt): Parse --ignore-max-ulp.
3139 (main): Initialize ignore_max_ulp.
3141 1999-10-26 Andreas Jaeger <aj@suse.de>
3143 * stdlib/msort.c: Include <alloca.h> for prototype.
3144 Remove K&R compatibility and _quicksort prototype.
3146 * stdlib/qsort.c: Make code and comments 64 bit clean; clarify
3148 Reported by Bernd Loechner <loechner@informatik.uni-kl.de>.
3149 Remove K&R compatibility.
3150 Move prototype declaration to include/stdlib.h.
3151 Include <alloca.h> for prototype; include <limits.h> for CHAR_BIT.
3153 * include/stdlib.h: Prototype declaration for _quicksort.
3155 1999-10-27 Andreas Jaeger <aj@suse.de>
3157 * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was
3158 shifted a bit too much.
3159 Reported by Eugen Dedu <dedu@ese-metz.fr>.
3161 1999-10-25 Ulrich Drepper <drepper@cygnus.com>
3163 * resolv/gethnamaddr.c: Account bytes needed for alignment in
3164 buflen. Patch by Olaf Kirch <okir@lst.de>.
3166 * md5-crypt/md5test.c: Correct names of MD5 functions after
3167 removing of public names.
3169 * configure.in: Don't allow --enable-kernel without parameter.
3171 1999-10-25 Ulrich Drepper <drepper@cygnus.com>
3173 * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0
3176 1999-10-25 Thorsten Kukuk <kukuk@suse.de>
3178 * md5-crypt/md5.h: Remove prototypes for public interface. md5 is
3179 only used internally.
3180 * md5-crypt/md5-crypt.c: Use internal names for md5 functions,
3181 remove weak alias for public names.
3182 * md5-crypt/md5.c: Remove weak aliase.
3184 1999-10-25 Andreas Jaeger <aj@suse.de>
3186 * math/README.libm-test: New file, documents libm-test.inc.
3188 1999-10-25 Andreas Jaeger <aj@suse.de>
3190 * math/gen-libm-test.pl: Only generate a new ulps file when -n is
3192 (print_ulps_file): Fix loops to not read @tests and @functions
3193 since those are not initialized with -n now.
3194 (parse_ulps): Set $results{..}{"kind"}.
3196 1999-10-25 Andreas Jaeger <aj@suse.de>
3198 * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.
3200 * math/libm-test.inc (check_float_internal): Don't print ulps for
3203 1999-10-20 Andreas Jaeger <aj@suse.de>
3205 * manual/socket.texi (Address Formats): Describe usage of AF_UNIX
3207 Patch by Robert Bihlmeyer <robbe@orcus.priv.at>.
3209 1999-10-24 Ulrich Drepper <drepper@cygnus.com>
3211 * math/libm-test.inc: Disable some boundary case tests for inline
3214 * math/math.h: Pretty printing.
3216 * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN.
3217 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3218 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3219 * sysdeps/i386/fpu/e_log10.S: Likewise.
3220 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3221 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3222 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3223 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3224 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3225 * sysdeps/i386/fpu/s_log2.S: Likewise.
3226 * sysdeps/i386/fpu/s_log2f.S: Likewise.
3227 * sysdeps/i386/fpu/s_log2l.S: Likewise.
3229 * sysdeps/i386/fpu/libm-test-ulps: New file.
3231 * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return
3233 (pow): Correct case x == 0.
3234 (__sgn1l): Correct handling of -0.0.
3236 1999-10-22 Andreas Jaeger <aj@suse.de>
3238 * math/libm-test.inc (asinh_test): Add test for NaN as input parameter.
3239 (atan_test): Likewise.
3240 (atanh_test): Likewise.
3241 (atan2_test): Likewise.
3242 (carg_test): Likewise.
3243 (ceil_test): Likewise.
3244 (cos_test): Likewise.
3245 (cosh_test): Likewise.
3246 (cpow_test): Likewise.
3247 (erf_test): Likewise.
3248 (erfc_test): Likewise.
3249 (exp_test): Likewise.
3250 (exp10_test): Likewise.
3251 (exp2_test): Likewise.
3252 (expm1_test): Likewise.
3253 (fabs_test): Likewise.
3254 (floor_test): Likewise.
3255 (fmod_test): Likewise.
3256 (gamma_test): Likewise.
3257 (lgamma_test): Likewise.
3258 (log10_test): Likewise.
3259 (log1p_test): Likewise.
3260 (log2_test): Likewise.
3261 (logb_test): Likewise.
3262 (nearbyint_test): Likewise.
3263 (remainder_test): Likewise.
3264 (remquo_test): Likewise.
3265 (sin_test): Likewise.
3266 (sincos_test): Likewise.
3267 (sinh_test): Likewise.
3268 (sqrt_test): Likewise.
3269 (tan_test): Likewise.
3270 (tanh_test): Likewise.
3271 (tgamma_test): Likewise.
3273 1999-10-21 Ulrich Drepper <drepper@cygnus.com>
3275 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y.
3277 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special.
3279 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check
3280 for -Inf and return NaN.
3282 * configure.in: Correct test for Cygnus gcc versions.
3284 1999-10-21 Andreas Jaeger <aj@suse.de>
3286 * math/libm-test.inc (cimag_test): New function, tests cimag.
3287 (creal_test): New function, tests creal.
3288 (conj_test): New function, tests conj.
3289 (main): Add new functions.
3291 1999-10-20 Andreas Jaeger <aj@suse.de>
3293 * math/libm-test.inc: Rewrite to allow different deltas for real
3294 and imaginary part of complex functions.
3295 * math/gen-libm-test.pl: Likewise.
3297 1999-10-19 Ulrich Drepper <drepper@cygnus.com>
3299 * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
3302 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.
3304 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
3305 for -Inf and return NaN.
3307 * math/gen-libm-test.pl: Fix program name in help message.
3309 * math/libm-test.inc (check_complex): It's Imaginary, not Complex.
3311 * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.
3313 * sysdeps/i386/Implies: Correct order of libm directories.
3315 1999-10-19 Andreas Jaeger <aj@suse.de>
3317 * include/bits/ipc.h: Remove K&R compatibility.
3318 * include/libintl.h: Likewise.
3319 * include/math.h: Likewise.
3320 * include/mntent.h: Likewise
3321 * include/netdb.h: Likewise.
3322 * include/pwd.h: Likewise.
3323 * include/sched.h: Likewise.
3324 * include/shadow.h: Likewise
3325 * include/stdlib.h: Likewise.
3326 * include/sys/file.h: Likewise.
3327 * include/sys/gmon.h: Likewise.
3328 * include/sys/ioctl.h: Likewise.
3329 * include/sys/mman.h: Likewise.
3330 * include/sys/resource.h: Likewise.
3331 * include/sys/socket.h: Likewise.
3332 * include/sys/stat.h: Likewise.
3333 * include/sys/sysinfo.h: Likewise.
3334 * include/sys/time.h: Likewise.
3335 * include/sys/times.h: Likewise.
3336 * include/sys/uio.h: Likewise.
3337 * include/sys/wait.h: Likewise.
3338 * include/termios.h: Likewise.
3339 * include/time.h: Likewise.
3340 * include/ulimit.h: Likewise.
3341 * include/utmp.h: Likewise.
3342 * include/wchar.h: Likewise.
3343 * include/wctype.h: Likewise.
3345 1999-10-19 Andreas Jaeger <aj@suse.de>
3347 * math/libm-test.inc: Remove one K&R compatibility.
3348 (main): Enable nexttoward_test.
3350 * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
3351 libm-test-ulps.h; pretty print output a bit.
3353 1999-10-19 Andreas Jaeger <aj@suse.de>
3355 * iconv/iconv_prog.c (main): Set exit value in case that reading
3356 from stdin failed [PR libc/1404].
3358 1999-10-18 Andreas Jaeger <aj@suse.de>
3360 Added improved math testsuite:
3361 * math/libm-test.inc: New file, contains all tests from
3362 libm-test.c but in a different form.
3363 * math/libm-test.c: Removed.
3364 * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file.
3365 * math/gen-libm-test.pl: New file: Preprocessor.
3366 * math/test-double.c: Adopted to new testsuite.
3367 * math/test-idouble.c: Likewise.
3368 * math/test-float.c: Likewise.
3369 * math/test-ifloat.c: Likewise.
3370 * math/test-ldouble.c: Likewise.
3371 * math/test-ildoubl.c: Likewise.
3372 * math/Makefile: Added rules to generate new suite.
3374 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
3376 * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
3377 Patch by J. Richard Sladkey <jrs@world.std.com>.
3379 * scripts/config.sub: Update from latest autoconf version.
3380 * scripts/config.guess: Likewise.
3382 1999-10-18 Andreas Jaeger <aj@suse.de>
3384 * inet/arpa/inet.h: Remove K&R compatibility.
3385 * math/fenv.h: Likewise.
3387 1999-10-18 Andreas Jaeger <aj@suse.de>
3389 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
3390 kernel_sigaction): Remove K&R compatibility.
3391 * sysdeps/unix/sysv/linux/net/if.h: Likewise.
3392 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3393 * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
3394 * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
3395 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
3396 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
3397 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3398 * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
3399 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
3400 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
3401 * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
3402 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3403 * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
3404 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
3405 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3406 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3407 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
3409 1999-10-18 Andreas Jaeger <aj@suse.de>
3411 * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
3412 Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
3414 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
3416 * po/gl.po: New file.
3418 1999-10-18 Andreas Schwab <schwab@suse.de>
3420 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
3421 namespace selection.
3423 1999-10-18 Andreas Schwab <schwab@suse.de>
3425 * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
3426 clash with the TERM environment variable.
3428 1999-10-18 Andreas Jaeger <aj@suse.de>
3430 * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
3431 returns now NaN + i NaN.
3432 * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
3433 * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
3435 1999-10-18 Andreas Jaeger <aj@suse.de>
3437 * include/aio.h: Remove K&R compatiblity.
3438 * include/alloca.h: Likewise.
3439 * include/db.h: Likewise.
3440 * include/dirent.h: Likewise.
3441 * include/fcntl.h: Likewise.
3442 * include/fpu_control.h: Likewise.
3443 * include/glob.h: Likewise.
3444 * include/grp.h: Likewise.
3445 * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
3446 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3447 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
3448 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3450 * include/execinfo.h: Add __THROW.
3452 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
3454 * sysdeps/mips/Implies: Remove wordsize-32 reference.
3455 * sysdeps/mips/mips3/Implies: Add it here.
3457 1999-10-17 Ulrich Drepper <drepper@cygnus.com>
3459 * elf/elf.h: Add various platform and architecture extensions.
3461 * locale/lc-collate.c (_nl_postload_collate): Disable code for now.
3462 * locale/setlocale.c (setlocale): Don't call _nl_find_locale for
3465 * socket/sys/socket.h: Remove K&R compatibility.
3467 1999-10-16 Andreas Jaeger <aj@suse.de>
3469 * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
3471 1999-10-15 Andreas Jaeger <aj@suse.de>
3473 * stdlib/Makefile (tests): Added tst-xpg-basename.
3475 * stdlib/tst-xpg-basename.c: New test file.
3477 1999-10-14 Cristian Gafton <gafton@redhat.com>
3479 * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
3481 1999-10-14 Andreas Jaeger <aj@suse.de>
3483 * resolv/inet_addr.c (inet_aton): Fix last patch. The little
3484 endian version works for both endiannesses.
3486 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
3489 1999-10-12 Ulrich Drepper <drepper@cygnus.com>
3491 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
3492 register names unconditionally, only if __USE_GNU.
3494 * debug/Makefile: Fix rules to generate pcprofiledump.
3496 * include/ucontext.h: New file.
3498 * locale/setlocale.c: Fix gcc warning about uninitialized variable.
3500 1999-10-12 Andreas Jaeger <aj@suse.de>
3502 * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
3504 * math/basic-test.c: Fix typo.
3506 * locale/programs/xstrdup.c: Include string.h for glibc
3507 compilation to get string prototypes.
3509 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
3510 gregset_t and fpregset_t.
3512 * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
3513 warnings. Correct value for x == 0.
3515 * argp/argp-help.c: Remove broken definition of flockfile and
3518 1999-10-12 Andreas Schwab <schwab@suse.de>
3520 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
3521 generic Linux version.
3523 1999-10-12 Ulrich Drepper <drepper@cygnus.com>
3525 * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
3527 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
3529 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
3530 and fpregset_t definitions.
3532 * malloc/memprof.c (GETSP): Define for PowerPC.
3533 (GETTIME): Fix generic version.
3535 1999-10-10 Philip Blundell <philb@gnu.org>
3537 * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
3540 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
3542 * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
3543 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
3544 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
3545 * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
3547 * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
3549 * sysdeps/powerpc/e_sqrt.c: Moved to...
3550 * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
3551 * sysdeps/powerpc/e_sqrtf.c: Moved to...
3552 * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
3554 * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
3555 * sysdeps/powerpc/sub_n.S: Likewise.
3556 * sysdeps/powerpc/strlen.S: Likewise.
3557 * sysdeps/powerpc/strcpy.S: Likewise.
3558 * sysdeps/powerpc/strcmp.S: Likewise.
3559 * sysdeps/powerpc/strchr.S: Likewise.
3560 * sysdeps/powerpc/stpcpy.S: Likewise.
3561 * sysdeps/powerpc/setjmp.S: Likewise.
3562 * sysdeps/powerpc/rshift.S: Likewise.
3563 * sysdeps/powerpc/ppc-mcount.S: Likewise.
3564 * sysdeps/powerpc/mul_1.S: Likewise.
3565 * sysdeps/powerpc/memset.S: Likewise.
3566 * sysdeps/powerpc/lshift.S: Likewise.
3567 * sysdeps/powerpc/dl-start.S: Likewise.
3568 * sysdeps/powerpc/bzero.S: Likewise.
3569 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
3570 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
3571 * sysdeps/powerpc/addmul_1.S: Likewise.
3572 * sysdeps/powerpc/add_n.S: Likewise.
3573 * sysdeps/powerpc/__longjmp.S: Likewise.
3574 * sysdeps/powerpc/elf/start.S: Likewise.
3576 1999-10-11 Cristian Gafton <gafton@redhat.com>
3578 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
3581 1999-10-10 Ulrich Drepper <drepper@cygnus.com>
3583 * stdlib/atexit.c (initial): New variable. Use to initialize
3585 * stdlib/exit.c (exit): Beware to not free statically allocated
3586 list element [PR libc/1305].
3588 * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
3589 slash before the basename [PR libc/1383].
3591 * argp/argp.h: Fix typo in last patch.
3593 * sysdeps/powerpc/sysdep.h: New file.
3594 * sysdeps/unix/powerpc/sysdep.h: New file.
3595 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
3596 sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
3597 * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
3598 instead of bare numbers.
3599 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
3600 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
3601 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
3603 * sysdeps/hppa/sysdep.h: New file.
3605 1999-10-10 Andreas Jaeger <aj@suse.de>
3607 * misc/sgtty.h: Fix typo in last patch.
3609 1999-10-09 Ulrich Drepper <drepper@cygnus.com>
3611 * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
3612 * sysdeps/powerpc/s_copysign.S: Move to...
3613 * sysdeps/powerpc/fpu/s_copysign.S: ...here. Use portable asm syntax.
3614 * sysdeps/powerpc/s_copysignf.S: Move to...
3615 * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
3616 * sysdeps/powerpc/s_fabs.S: Move to...
3617 * sysdeps/powerpc/fpu/s_fabs.S: ...here. Use portable asm syntax.
3618 * sysdeps/powerpc/s_fabsf.S: Move to...
3619 * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
3620 * sysdeps/powerpc/s_fdim.c: Move to...
3621 * sysdeps/powerpc/fpu/s_fdim.c: ...here.
3622 * sysdeps/powerpc/s_fdimf.c: Move to...
3623 * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
3624 * sysdeps/powerpc/s_fmax.S: Move to...
3625 * sysdeps/powerpc/fpu/s_fmax.S: ...here. Use portable asm syntax.
3626 * sysdeps/powerpc/s_fmaxf.S: Move to...
3627 * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
3628 * sysdeps/powerpc/s_fmin.S: Move to...
3629 * sysdeps/powerpc/fpu/s_fmin.S: ...here. Use portable asm syntax.
3630 * sysdeps/powerpc/s_fminf.S: Move to...
3631 * sysdeps/powerpc/fpu/s_fminf.S: ...here.
3632 * sysdeps/powerpc/s_isnan.S: Move to...
3633 * sysdeps/powerpc/fpu/s_isnan.c: ...here.
3634 * sysdeps/powerpc/s_isnanf.S: Move to...
3635 * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
3636 * sysdeps/powerpc/s_llrint.c: Move to...
3637 * sysdeps/powerpc/fpu/s_llrint.c: ...here.
3638 * sysdeps/powerpc/s_llrintf.c: Move to...
3639 * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
3640 * sysdeps/powerpc/s_llround.c: Move to...
3641 * sysdeps/powerpc/fpu/s_llround.c: ...here.
3642 * sysdeps/powerpc/s_llroundf.c: Move to...
3643 * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
3644 * sysdeps/powerpc/s_lrint.c: Move to...
3645 * sysdeps/powerpc/fpu/s_lrint.c: ...here.
3646 * sysdeps/powerpc/s_lrintf.S: Move to...
3647 * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
3648 * sysdeps/powerpc/s_lround.c: Move to...
3649 * sysdeps/powerpc/fpu/s_lround.c: ...here.
3650 * sysdeps/powerpc/s_lroundf.c: Move to...
3651 * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
3652 * sysdeps/powerpc/s_rint.c: Move to...
3653 * sysdeps/powerpc/fpu/s_rint.c: ...here.
3654 * sysdeps/powerpc/s_rintf.c: Move to...
3655 * sysdeps/powerpc/fpu/s_rintf.c: ...here.
3656 * sysdeps/powerpc/t_sqrt.c: Move to...
3657 * sysdeps/powerpc/fpu/t_sqrt: ...here.
3658 * sysdeps/powerpc/w_sqrt.c: Move to...
3659 * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
3660 * sysdeps/powerpc/w_sqrtf.c: Move to...
3661 * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
3662 * configure.in: Support platforms which have no .text pseudo-op.
3663 Patches partly by Jimi X <jimix@pobox.com>.
3665 * Makeconfig: Look also in all subdirs for shlib-versions files.
3667 * malloc/memprof.sh: Fix --help string a bit.
3669 * argp/argp.h: Remove K&R compatiblity.
3670 * assert/assert.h: Likewise.
3671 * catgets/nl_types.h: Likewise.
3672 * ctype/ctype.h: Likewise.
3673 * db/db.h: Likewise.
3674 * db/ndbm.h: Likewise.
3675 * db2/db.h: Likewise.
3676 * db2/db_185.h: Likewise.
3677 * debug/execinfo.h: Likewise.
3678 * dirent/dirent.h: Likewise.
3679 * dlfcn/dlfcn.h: Likewise.
3680 * gmon/sys/gmon.h: Likewise.
3681 * grp/grp.h: Likewise.
3682 * iconv/gconv.h: Likewise.
3683 * iconv/iconv.h: Likewise.
3684 * include/execinfo.h: Likewise.
3685 * inet/aliases.h: Likewise.
3686 * inet/netinet/ether.h: Likewise.
3687 * inet/netinet/in.h: Likewise.
3688 * intl/libintl.h: Likewise.
3689 * io/fcntl.h: Likewise.
3690 * io/fts.h: Likewise.
3691 * io/ftw.h: Likewise.
3692 * io/utime.h: Likewise.
3693 * io/sys/poll.h: Likewise.
3694 * io/sys/stat.h: Likewise.
3695 * io/sys/statfs.h: Likewise.
3696 * io/sys/statvfs.h: Likewise.
3697 * libio/libio.h: Likewise.
3698 * libio/stdio.h: Likewise.
3699 * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
3700 * locale/locale.h: Likewise.
3701 * login/pty.h: Likewise.
3702 * login/utmp.h: Likewise.
3703 * malloc/mcheck.h: Likewise.
3704 * math/complex.h: Likewise.
3705 * math/math.h: Likewise.
3706 * math/math_private.h: Likewise.
3707 * misc/err.h: Likewise.
3708 * misc/fstab.h: Likewise.
3709 * misc/libgen.h: Likewise.
3710 * misc/mntent.h: Likewise.
3711 * misc/regexp.h: Likewise.
3712 * misc/search.h: Likewise.
3713 * misc/sgtty.h: Likewise.
3714 * misc/ttyent.h: Likewise.
3715 * misc/sys/cdefs.h: Likewise.
3716 * misc/sys/file.h: Likewise.
3717 * misc/sys/ioctl.h: Likewise.
3718 * misc/sys/mman.h: Likewise.
3719 * misc/sys/select.h: Likewise.
3720 * misc/sys/syslog.h: Likewise.
3721 * misc/sys/uio.h: Likewise.
3722 * misc/sys/ustat.h: Likewise.
3723 * nss/nss.h: Likewise.
3724 * posix/sched.h: Likewise.
3725 * posix/unistd.h: Likewise.
3726 * posix/wordexp.h: Likewise.
3727 * posix/sys/times.h: Likewise.
3728 * posix/sys/utsname.h: Likewise.
3729 * posix/sys/wait.h: Likewise.
3730 * pwd/pwd.h: Likewise.
3731 * resolv/netdb.h: Likewise.
3732 * resolv/resolv.h: Likewise.
3733 * resource/ulimit.h: Likewise.
3734 * resource/sys/resource.h: Likewise.
3735 * resource/sys/vlimit.h: Likewise.
3736 * resource/sys/vtimes.h: Likewise.
3737 * rt/aio.h: Likewise.
3738 * setjmp/setjmp.h: Likewise.
3739 * shadow/shadow.h: Likewise.
3740 * signal/signal.h: Likewise.
3741 * socket/socket.h: Likewise.
3742 * stdio/stdio.h: Likewise.
3743 * stdio-common/_itoa.h: Likewise.
3744 * stdio-common/_itowa.h: Likewise.
3745 * stdio-common/printf.h: Likewise.
3746 * stdlib/alloca.h: Likewise.
3747 * stdlib/fmtmsg.h: Likewise.
3748 * stdlib/monetary.h: Likewise.
3749 * stdlib/stdlib.h: Likewise.
3750 * stdlib/ucontext.h: Likewise.
3751 * streams/stropts.h: Likewise.
3752 * string/argz.h: Likewise.
3753 * string/envz.h: Likewise.
3754 * string/string.h: Likewise.
3755 * string/strings.h: Likewise.
3756 * string/bits/string2.h: Likewise.
3757 * sunrpc/rpc/auth.h: Likewise.
3758 * sunrpc/rpc/auth_des.h: Likewise.
3759 * sunrpc/rpc/auth_unix.h: Likewise.
3760 * sunrpc/rpc/clnt.h: Likewise.
3761 * sunrpc/rpc/des_crypt.h: Likewise.
3762 * sunrpc/rpc/netdb.h: Likewise.
3763 * sunrpc/rpc/pmap_clnt.h: Likewise.
3764 * sunrpc/rpc/pmap_prot.h: Likewise.
3765 * sunrpc/rpc/pmap_rmt.h: Likewise.
3766 * sunrpc/rpc/rpc_msg.h: Likewise.
3767 * sunrpc/rpc/svc.h: Likewise.
3768 * sunrpc/rpc/svc_auth.h: Likewise.
3769 * sunrpc/rpc/xdr.h: Likewise.
3770 * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
3771 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3772 * sysvipc/sys/ipc.h: Likewise.
3773 * sysvipc/sys/msg.h: Likewise.
3774 * sysvipc/sys/sem.h: Likewise.
3775 * sysvipc/sys/shm.h: Likewise.
3776 * termios/termios.h: Likewise.
3777 * time/time.h: Likewise.
3778 * time/sys/time.h: Likewise.
3779 * time/sys/timeb.h: Likewise.
3780 * wcsmbs/wchar.h: Likewise.
3781 * wctype/wctype.h: Likewise.
3783 1999-10-05 Roland McGrath <roland@baalperazim.frob.com>
3785 * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
3786 _GNU_SOURCE be defined.
3788 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
3790 * ctype/ctype.h: Pretty print.
3792 * po/cs.po: Fix typos.
3794 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
3795 handling of empty entries. [PR libc/1345]
3796 Patch by Thorsten Kukuk <kukuk@suse.de>.
3798 1999-10-08 Andreas Schwab <schwab@suse.de>
3800 * debug/xtrace.sh: Fix quoting bugs. Implement --help and --version.
3802 1999-10-08 Andreas Schwab <schwab@suse.de>
3804 * debug/pcprofiledump.c: Fix typos.
3806 1999-10-07 Andreas Jaeger <aj@suse.de>
3808 * math/Makefile (tests): Added basic-tests.
3810 * math/basic-test.c: New file. Contains function basic_tests from
3813 1999-10-07 Andreas Schwab <schwab@suse.de>
3815 * malloc/memprof.sh: Fix quoting bugs.
3817 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
3819 * timezone/europe: Update from tzdata1999h.
3821 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
3823 * elf/elf.h: Update from last gABI draft.
3825 * elf/elf.h: Remove EM_486 entry.
3826 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
3829 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
3831 * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
3832 Add rules for both programs.
3833 * debug/pcprofiledump.c: New file.
3834 * debug/xtrace.sh: New file.
3835 * debug/pcprofile.c: Allow creating output file. Add magic signature
3836 to let reader recognize file format.
3838 1999-10-06 Ulrich Drepper <drepper@cygnus.com>
3840 * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
3842 1999-10-05 Andreas Jaeger <aj@suse.de>
3844 * locale/programs/ld-identification.c: Fix typo in comment.
3845 * locale/programs/ld-messages.c: Likewise.
3846 * locale/programs/ld-monetary.c: Likewise.
3847 * locale/programs/ld-name.c: Likewise.
3849 * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
3850 (collate_read): Remove unnecessary comparisons with ignore_content.
3852 * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
3854 (ctype_read): Remove unnecessary comparisons with ignore_content.
3855 Fix typos in comments.
3857 * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
3858 comparisons with ignore_content.
3860 1999-10-05 Ulrich Drepper <drepper@cygnus.com>
3864 * time/time.h: Move __gmtime_r declaration to ...
3865 * include/time.h: ...here.
3867 1999-10-05 Andreas Jaeger <aj@suse.de>
3869 * manual/message.texi (The message catalog files): Fix description
3870 to match gencat implementation and Unix98: Message fields are
3871 separated by a single blank space.
3873 1999-10-05 Andreas Jaeger <aj@suse.de>
3875 * manual/string.texi (Search Functions): Add missing end for
3876 memrchr description.
3878 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
3880 * malloc/memprof.sh: Various small cleanups. Add short options.
3881 Write error messages to stderr.
3883 * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
3885 * malloc/memprof.sh: Take options to control memprofstat.
3887 * malloc/Makefile: Add rule to generate memprof script.
3888 * malloc/memprof.sh: New file.
3890 * elf/ldd.bash.in: Add "Usage: " in help message to comply with
3893 1999-10-04 Andreas Jaeger <aj@suse.de>
3895 * configure.in: Allow makeinfo 4.*.
3897 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
3899 * stdio-common/vfprintf.c: Correct last patch and use outchar
3900 instead of PUTC to output single characters.
3901 * stdio-common/Makefile (tests): Add bug13.
3902 * stdio-common/bug13.c: New file.
3904 * configure.in: Add additional options --with-gd-include and
3905 --with-gd-lib to help people with strange installations.
3907 * malloc/Makefile: Add libdl dependency to libmemprof.so.
3908 * malloc/Depend: New file.
3910 1999-10-04 Andreas Jaeger <aj@suse.de>
3912 * timezone/README: Change wording to not mention the current
3913 version. This way we can't forget to update the file.
3915 1999-10-04 Andreas Jaeger <aj@suse.de>
3917 * manual/time.texi (Basic CPU Time): Fix typo.
3918 Reported by Ben Pfaff <pfaffben@msu.edu>.
3920 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
3922 * string/string.h: Move __memrchr declaration to ...
3923 * include/string.h: ...here.
3925 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
3927 * string/Makefile (routines): Add memrchr.
3929 * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
3930 Correct order of tests for matching bytes.
3932 * string/tester.c: Add tests for memrchr.
3934 * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
3935 Start from the last character and take decrement not increment
3936 into account for correction in return line. Add memrchr alias.
3937 * sysdeps/i386/bits/string.h: Likewise.
3939 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
3941 * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
3943 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
3945 * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
3947 * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
3950 * string/Versions: Export memrchr.
3952 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
3954 * misc/Versions (GLIBC_2.2): Add getloadavg.
3955 * misc/Makefile (routines): Add getloadavg.
3956 * sysdeps/generic/getloadavg.c: New file.
3957 * sysdeps/mach/getloadavg.c: New file.
3958 * sysdeps/unix/sysv/linux/getloadavg.c: New file.
3960 * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
3961 * sysdeps/i386/bits/string.h (__memrchr): New function.
3962 * string/string.h: Declare memrchr, __memrchr.
3963 * manual/string.texi (Search Functions): Document memrchr.
3965 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
3967 * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
3968 CFLAGS-memprofstat.c, and LIBGD variables.
3969 * config.make.in: Add LIBGD.
3970 * malloc/Makefile: Add rules to generate libmemprof.so and
3972 * malloc/memprof.c: New file.
3973 * malloc/memprofstat.c: New file.
3975 1999-10-02 Ulrich Drepper <drepper@cygnus.com>
3977 * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
3979 * resolv/inet_ntop.c (inet_ntop4): Little optimization.
3980 (inet_ntop6): Likewise.
3982 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
3985 * resolv/tst-aton.c (main): Add more tests.
3987 * resolv/inet_addr.c (inet_aton): Correct some problems with to
3988 large numbers. Optimize a bit.
3990 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
3992 * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
3993 account for added '0'.
3995 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
3996 handling of IPv6 tunnel address handling with bind 8.2.1. Allow
3997 len argument to be greater than needed address size.
3999 1999-10-01 Andreas Jaeger <aj@suse.de>
4001 * locale/programs/ld-collate.c (insert_value): Add cast to avoid
4003 * intl/finddomain.c (_nl_find_domain): Likewise.
4005 1999-09-30 Andreas Schwab <schwab@suse.de>
4007 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
4009 1999-09-30 Andreas Jaeger <aj@suse.de>
4011 * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
4012 * sysdeps/i386/rshift.S: Likewise.
4013 * sysdeps/i386/strchrnul.S: Likewise.
4014 * sysdeps/i386/strchr.S: Likewise.
4015 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
4018 1999-09-30 Andreas Jaeger <aj@suse.de>
4020 * manual/examples/pipe.c: Close other end of pipe to make example work.
4022 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
4024 * timezone/checktab.awk: Update from tzcode1999g.
4025 * timezone/tzselect.ksh: Likewise.
4026 * timezone/africa: Update from tzdata1999g.
4027 * timezone/asia: Likewise.
4028 * timezone/australasia: Likewise.
4029 * timezone/europe: Likewise.
4030 * timezone/northamerica: Likewise.
4031 * timezone/southamerica: Likewise.
4032 * timezone/iso3166.tab: Likewise.
4033 * timezone/zone.tab: Likewise.
4035 1999-09-27 Andreas Jaeger <aj@suse.de>
4037 * resolv/netdb.h: Remove declaration of getnodebyname. It has
4038 been renamed to getipnodebyname. Move flags around.
4040 1999-09-27 Andreas Schwab <schwab@suse.de>
4042 * manual/message.texi (Locating gettext catalog): Fix typos.
4044 1999-09-27 Andreas Jaeger <aj@suse.de>
4046 * manual/socket.texi (Out-of-Band Data): Correct example program,
4047 rename some variables for clarity.
4048 Reported by James Antill <james@and.org>, close PR libc/1329.
4050 1999-09-27 Ulrich Drepper <drepper@cygnus.com>
4052 * locale/programs/ld-collate.c (insert_value): Add hack to not
4053 crash in incomplete collate implementation.
4055 * locale/programs/ld-collate.c (read_directions): Read new token
4056 after accepting sorting rule.
4058 1999-09-26 Ulrich Drepper <drepper@cygnus.com>
4060 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
4061 error message printing. Correctly test whether all characters of
4062 current token are used.
4063 (ctype_read): NUL terminate last_str.
4065 1999-09-26 Thorsten Kukuk <kukuk@suse.de>
4067 * nscd/connections.c: Invalidate caches on request.
4068 * nscd/nscd-client.h: Add INVALIDATE to request_type.
4069 * nscd/nscd.c: Add invalidate cache option.
4070 * nscd/nscd.conf: Change log directory to /var/log (FHS).
4072 1999-09-24 Ulrich Drepper <drepper@cygnus.com>
4074 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
4075 not ovverwrite last group member with NULL pointer.
4076 Reported by Thomas Winder <thomas.winder@newlogic.at>.
4078 1999-09-24 Andreas Jaeger <aj@suse.de>
4080 * stdio-common/tst-printf.c (main): Add a testcase for large
4081 precision. Reported by Tymm Twillman <tymm@coe.missouri.edu>.
4083 1999-09-24 Andreas Schwab <schwab@suse.de>
4085 * math/bits/mathcalls.h: Fix last change. Also declare __finite.
4087 1999-09-24 Andreas Jaeger <aj@suse.de>
4089 * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
4090 normalized_codeset. Reported by Belicky Zsolt <zsolt@prolan.hu>.
4092 1999-09-23 Mark Kettenis <kettenis@gnu.org>
4094 * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
4095 variable. Define MORECORE_CLEARS to 2.
4097 * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
4098 doesn't clear the contents of memory that is reallocated after
4099 decrementing the break value first. Update comment about
4100 MORECORE_CLEARS, explaining the meaning of the values it can be
4103 1999-09-23 Ulrich Drepper <drepper@cygnus.com>
4105 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
4108 * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
4114 1999-09-22 Andreas Jaeger <aj@suse.de>
4116 * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
4117 reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
4119 1999-09-22 Andreas Schwab <schwab@suse.de>
4121 * stdio-common/vfscanf.c: Fix width handling when scanning floats.
4123 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4125 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
4126 the source directory. Fixes PR libc/1059.
4128 1999-09-21 Ulrich Drepper <drepper@cygnus.com>
4130 * locale/programs/repertoire.c (repertoire_find_value): Abort if
4131 rep parameter is NULL.
4132 (repertoire_find_symbol): Likewise.
4133 (repertoire_find_seq): Likewise.
4135 1999-09-20 Jean-Louis Martineau <martinea@IRO.UMontreal.CA>
4137 * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
4138 returned errno value in some cases.
4140 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
4142 * iconvdata/Makefile (modules): Add GBK.
4143 (distribute): Add gbk.c.
4144 * iconvdata/gbk.c: New file.
4145 * iconvdata/gconv-modules: Add GBK entry.
4146 Contributed by Sean Chen <sean.chen@turbolinux.com>.
4148 * locale/programs/ld-monetary.c (monetary_output): Remove
4151 * locale/programs/ld-time.c (time_output): Correct expected number
4154 * manual/filesys.texi (Testing File Access): Correct description of
4157 1999-080-25 H.J. Lu <hjl@gnu.org>
4159 * csu/defs.awk (.end): Only match with leading white spaces.
4162 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
4164 * stdlib/isomac.c: Add va_copy to allowed macros.
4166 * po/pl.po: Updated.
4168 1999-09-17 Andreas Schwab <schwab@suse.de>
4170 * Makefile (clean): Also remove $(postclean) files.
4172 1999-09-15 Andreas Jaeger <aj@suse.de>
4174 * pwd/Makefile (otherlibs): Add for building with static-nss.
4175 * inet/Makefile (otherlibs): Likewise.
4177 1999-09-15 Andreas Jaeger <aj@suse.de>
4179 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
4180 function definition to avoid a compilation failure.
4182 1999-09-15 Andreas Jaeger <aj@suse.de>
4184 * stdlib/tst-environ.c (main): Add getenv regression test for
4185 environment variable that's one character long.
4187 1999-09-15 Andreas Jaeger <aj@suse.de>
4189 * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
4190 signal definitions to let glibc compile with older Linux versions
4191 (2.0.10 to 2.1.100 or so).
4193 1999-09-18 Roland McGrath <roland@baalperazim.frob.com>
4195 * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
4196 return zero to indicate no children died yet (assuming WNOHANG).
4198 * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
4200 1999-09-17 Roland McGrath <roland@baalperazim.frob.com>
4202 * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
4204 * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
4205 Return _hurd_pgrp instead of 0.
4207 1999-09-19 Roland McGrath <roland@baalperazim.frob.com>
4209 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
4210 pages rather than just reprotecting them. This way we don't hold on
4211 to the backing space.
4213 * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
4214 Use __munmap instead of __vm_deallocate.
4216 1999-09-18 Ulrich Drepper <drepper@cygnus.com>
4218 * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
4219 returned errno value in some cases.
4221 1999-09-17 Andreas Jaeger <aj@suse.de>
4223 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
4224 to override user settings.
4226 1999-09-17 Andreas Schwab <schwab@suse.de>
4228 * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
4229 using a pointer to it.
4231 1999-09-16 Ulrich Drepper <drepper@cygnus.com>
4233 * time/getdate.c (__getdate_r): Pass correct year to check_mday.
4234 Reported by Vern Staats <staatsvr@asc.hpc.mil>.
4236 1999-09-14 Ulrich Drepper <drepper@cygnus.com>
4238 * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
4240 * elf/elf.h (PF_MASKOS): New definition.
4241 (EM_VAX): New definition.
4243 1999-08-09 Scott Bambrough <scottb@netwinder.org>
4245 * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
4246 'unsigned char ftype[8]', and 'unsigned int init_flag' to
4247 struct user_fp. These were added in version 2.2.12 of the
4249 * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
4250 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
4251 The generic procfs.h included <asm/elf.h>. This causes
4252 structure redefinition errors when <sys/user.h> and <sys/procfs.h>
4253 are included in the same source file. Found when building GDB.
4255 1999-09-13 Ulrich Drepper <drepper@cygnus.com>
4257 * locale/langinfo.h: Remove byte-order dependent names.
4258 * locale/categories.def: Update after removal of byte-order dependent
4260 * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
4261 with magic number in other byte order.
4262 * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
4263 * locale/C-collate.c: Remove initializers for other byte-order.
4264 * locale/C-ctype.c: Likewise.
4265 * locale/C-monetary.c: Likewise.
4266 * locale/C-paper.c: Likewise.
4267 * locale/C-time.c: Likewise.
4268 * locale/lc-collate.c: Remove byte-order oriented initialization.
4269 * locale/lc-ctype.c: Likewise.
4270 * locale/lc-monetary.c: Likewise.
4271 * locale/lc-time.c: Likewise.
4272 * locale/programs/ld-address.c: Don't generate output in both
4274 * locale/programs/ld-ctype.c: Likewise.
4275 * locale/programs/ld-paper.c: Likewise.
4276 * locale/programs/ld-time.c: Likewise.
4277 * time/strftime.c (NLW): Don't use different byte-orders.
4278 * wctype/cname-lookup.h (cname_lookup): Likewise.
4280 * Makeconfig (localedir): Define using libdir, not datadir.
4281 (msgcatdir): New variable.
4282 * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
4283 * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
4285 * intl/Makefile (install-others): Install locale.alias in msgcatdir.
4286 (CPPFLAGS): Define paths using msgcatdir.
4287 * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
4288 * po/Makefile (mo-installed): Define using msgcatdir.
4290 * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
4292 1999-09-12 Ulrich Drepper <drepper@cygnus.com>
4294 * stdio-common/vfprintf.c: Remove limitation on size of precision
4297 * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
4298 glibc by defining internal_function if it isn't already.
4300 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
4301 fails don't rely on errno value.
4302 (getanswer_r): Set *ERRNOP in error cases.
4304 * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
4305 (gaih_inet_serv): Return EIA_NODATA if name is known but has no
4306 associated data. Test for matching numeric address and family.
4307 (getaddrinfo): Remember EAI_NODATA result and return this in case
4309 Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
4311 * locale/programs/ld-address.c: Fix handling of non-existing
4312 definitions for this category. Correctly ignore content of this
4313 category is this is necessary.
4314 * locale/programs/ld-collate.c: Likewise.
4315 * locale/programs/ld-ctype.c: Likewise.
4316 * locale/programs/ld-identification.c: Likewise.
4317 * locale/programs/ld-measurement.c: Likewise.
4318 * locale/programs/ld-messages.c: Likewise.
4319 * locale/programs/ld-monetary.c: Likewise.
4320 * locale/programs/ld-name.c: Likewise.
4321 * locale/programs/ld-numeric.c: Likewise.
4322 * locale/programs/ld-paper.c: Likewise.
4323 * locale/programs/ld-telephone.c: Likewise.
4324 * locale/programs/ld-time.c: Likewise.
4325 * locale/programs/locfile.h (handle_copy): Take extra parameter
4326 with result pointer. Fill in name of locale from which to copy.
4327 Correctly read token after `END'.
4329 * locale/programs/localedef.c (main): Correct handling copy.
4330 (add_to_readlist): Take extra parameter which says whether we
4331 are supposed to read the file or not.
4332 (find_locale): Call add_to_readlist with extra parameter set to 0.
4334 * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
4335 instead of wrong number in array definitions.
4336 (add_to_readlist): Update prototype.
4338 * locale/programs/locfile.c (locfile_read): Mark categories not
4339 available in source file as read.
4340 (write_all_categories): Fix typo.
4342 * locale/programs/locales.h: Removed.
4344 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
4346 * elf/elf.h (SHF_MASKOS): Added.
4348 * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
4350 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4352 * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
4354 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4356 * configure.in: Fix make version test for make 3.77.95 and later
4358 Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
4360 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
4362 * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
4364 * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
4367 * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
4369 1999-09-09 Andreas Schwab <schwab@suse.de>
4371 * elf/link.h: Fix comment.
4373 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
4375 * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
4377 * math/math.h: Pretty print.
4379 1999-09-10 Andreas Schwab <schwab@suse.de>
4381 * sysdeps/generic/getenv.c (getenv): Fix lookup for single
4382 character variable on bigendian platforms without unaligned memory
4385 1999-09-07 Cristian Gafton <gafton@redhat.com>
4387 * sysdeps/unix/sysv/linux/sys/raw.h: New file
4388 * sysdeps/unix/sysv/linux/Dist: Add raw.h.
4389 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
4391 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
4393 * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
4395 * time/ap.c: Removed. It was not used.
4396 * time/date.c: Likewise.
4397 * sysdeps/unix/nlist.c: Likewise.
4398 * sysdeps/generic/nlist.c: Likewise.
4399 * sysdeps/generic/varargs.h: Likewise.
4400 * stdio-common/scanf11.c: Likewise.
4401 * stdio-common/scanf6.c: Likewise.
4402 * scripts/=__ify: Likewise.
4403 * scripts/printsources: Likewise.
4404 * resolv/getnetnamadr.c: Likewise.
4405 * posix/id.c: Likewise.
4406 * misc/ioctltst.c: Likewise.
4407 * misc/nlist.h: Likewise.
4408 * math/test-math.h: Likewise.
4409 * include/nlist.h: Likewise.
4411 1999-09-06 Andreas Schwab <schwab@suse.de>
4413 * time/tzset.c (compute_change): Replace slow loop to compute T by
4416 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
4418 * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
4419 escape sequences out even if the character itself does not fit
4422 * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
4424 1999-08-31 H.J. Lu <hjl@gnu.org>
4426 * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
4428 1999-09-05 Roland McGrath <roland@baalperazim.frob.com>
4430 * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
4431 it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
4432 (_hurd_priority_which_map):
4434 1999-09-04 Ulrich Drepper <drepper@cygnus.com>
4436 * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
4438 1999-09-03 Andreas Schwab <schwab@suse.de>
4440 * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
4441 fork from __syscall_fork to __libc_fork.
4442 * posix/Versions: Add __libc_fork and __vfork to version
4445 1999-08-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4447 * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
4448 dependencies in sort.
4450 1999-09-01 H.J. Lu <hjl@gnu.org>
4452 * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
4454 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
4455 <sys/user.h> instead of <asm/user.h>.
4457 1999-09-02 Ulrich Drepper <drepper@cygnus.com>
4459 * elf/elf.h: Update PARISC-specific flags and symbolic names.
4461 1999-09-01 Ulrich Drepper <drepper@cygnus.com>
4463 * elf/elf.h: Update PARISC relocations.
4465 1999-08-31 Scott Bambrough <scottb@netwinder.org>
4467 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
4468 #ifdef statement to prevent it from being included twice.
4469 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
4470 #include <bits/armsigctx.h>.
4472 1999-08-31 Andreas Schwab <schwab@suse.de>
4474 * locale/C-collate.c: Add missing initialisations.
4475 * locale/C-ctype.c: Likewise.
4477 1999-08-31 Ulrich Drepper <drepper@cygnus.com>
4479 * time/strftime.c (my_strftime): Remove unneeded variable len.
4481 * time/strptime.c: Undo last change.
4483 1999-08-30 Ulrich Drepper <drepper@cygnus.com>
4485 * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
4486 Change charset.h to charmap.h.
4487 (categories): Add new categories. Leave out collate for now.
4489 * locale/categories.def: Add definitions for new categories.
4490 * locale/langinfo.h: Likewise.
4491 * locale/locale.h: Likewise.
4492 * locale/C-address.c: New file.
4493 * locale/C-identification.c: New file.
4494 * locale/C-measurement.c: New file.
4495 * locale/C-name.c: New file.
4496 * locale/C-paper.c: New file.
4497 * locale/C-telephone.c: New file.
4498 * locale/lc-address.c: Likewise.
4499 * locale/lc-identification.c: Likewise.
4500 * locale/lc-measurement.c: Likewise.
4501 * locale/lc-name.c: Likewise.
4502 * locale/lc-paper.c: Likewise.
4503 * locale/lc-telephone.c: Likewise.
4504 * locale/C-ctype.c: Update for locale rewrite.
4505 * locale/C-messages.c: Likewise.
4506 * locale/C-monetary.c: Likewise.
4507 * locale/C-time.c: Likewise.
4508 * locale/lc-collate.c: Likewise.
4509 * locale/lc-ctype.c: Likewise.
4510 * locale/lc-monetary.c: Likewise.
4511 * locale/lc-time.c: Likewise.
4512 * locale/localeinfo.h: Likewise.
4513 * locale/newlocale.c: Likewise.
4514 * locale/setlocale.c: Likewise.
4515 * locale/weight.h: Likewise.
4516 * locale/findlocale.c: Unconditionally use mmap.
4517 Handle new categories.
4518 * locale/loadlocale.c: Likewise.
4519 * locale/iso-3166.def: New file.
4520 * locale/iso-639.def: New file.
4521 * locale/programs/charmap-kw.gperf: Add new keywords.
4522 * locale/programs/locfile-kw.gperf: Likewise.
4523 * locale/programs/locfile-token.h: Define new tokens.
4524 * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
4525 * locale/programs/charmap.h: New file.
4526 * locale/programs/charset.h: Removed.
4527 * locale/programs/config.h: Add __LC_LAST.
4528 * locale/programs/lc-address.c: New file.
4529 * locale/programs/lc-identification.c: New file.
4530 * locale/programs/lc-measurement.c: New file.
4531 * locale/programs/lc-name.c: New file.
4532 * locale/programs/lc-paper.c: New file.
4533 * locale/programs/lc-telephone.c: New file.
4534 * locale/programs/lc-collate.c: Update for locale rewrite.
4535 * locale/programs/lc-ctype.c: Likewise.
4536 * locale/programs/lc-messages.c: Likewise.
4537 * locale/programs/lc-monetary.c: Likewise.
4538 * locale/programs/lc-numeric.c: Likewise.
4539 * locale/programs/lc-time.c: Likewise.
4540 * locale/programs/locale.c: Likewise.
4541 * locale/programs/localedef.c: Likewise.
4542 * locale/programs/locfile.c: Likewise.
4543 * locale/programs/repertoire.c: Likewise.
4544 * locale/programs/repertoire.h: Likewise.
4545 * locale/programs/locfile.c: Update prototypes.
4546 Update handle_copy definition.
4547 * locale/programs/linereader.c: Add handling of wide char strings and
4548 new definition file syntax.
4549 * locale/programs/linereader.h (struct token): Add elements for wide
4551 * locale/programs/locale-spec.c: Disable handling of collation
4553 * locale/programs/simple-hash.h: Cleanup.
4554 * locale/programs/stringtrans.h: Handle quite of end of line.
4555 * string/strcoll.c: Fall back on strcmp for now.
4556 * string/strxfrm.c: Fall back on strncpy/strlen for now.
4557 * time/strftime.c: Use new wide character data for wcsftime.
4558 * time/strptime.c: Remove _nl_C_LC_TIME declaration.
4559 * wctype/cname-lookup.h: Update for new LC_CTYPE data.
4561 * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
4562 compiling for i386 to avoid i686-like GOT pointer computation.
4564 * db2/db_int.h: Change tsl_t type to u_int32_t.
4565 * db2/mutex/mutex.c: Allow Alpha mutex definitions.
4566 * db2/mutex/alpha.h: New file.
4567 * db2/mutex/sparc.gcc: Fix store code for v9. Simplify clear code.
4568 * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
4570 Patches by Richard Henderson.
4572 * stdlib/tst-environ.c: Add cast to avoid warning.
4573 * timezone/test-tz.c: Use setenv instead of putenv.
4575 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4577 * manual/libc.texinfo: Update version and date.
4579 * manual/locale.texi (Formatting Numbers): Fix @node pointers.
4581 * manual/filesys.texi (Working with Directory Trees): Add missing @code.
4582 (File System Interface): Correct entry.
4583 (Permission Bits): Add missing commata after @xref.
4585 1999-08-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4587 * timezone/tst-timezone.c (main): Don't pass const strings to
4588 putenv to avoid warnings.
4590 * posix/regexbug1.c: Include <stdio.h> for puts prototype.
4592 1999-08-29 Thorsten Kukuk <kukuk@suse.de>
4594 * nis/Versions: Add _nss_*_getipnodebyname_r.
4595 * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
4596 * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
4597 * nss/Versions: Add _nss_files_getipnodebyname_r.
4599 1999-08-28 H.J. Lu <hjl@gnu.org>
4601 * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
4604 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
4606 * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
4608 * inet/netinet/in.h: Likewise.
4609 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4610 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4612 1999-08-28 Ulrich Drepper <drepper@cygnus.com>
4614 * malloc/malloc.c (ptmalloc_init): Don't use variables to set
4615 thresholds for SUID binaries. [PR libc/1277]
4617 * posix/regexbug1.c: Add one more similar case.
4619 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4621 * manual/install.texi (Running make install): Give examples for
4622 timezone and locale installation.
4624 1999-08-28 Zack Weinberg <zack@bitmover.com>
4626 * glibcbug.in: Get CCVERSION from autoconf substitution.
4627 * configure.in: Calculate and substitute CCVERSION.
4629 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4631 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
4632 partially reverting a patch from 1998-12-29. We just can't change
4633 the flags, kernels with different flags lead to
4636 1999-08-26 Andreas Schwab <schwab@suse.de>
4638 * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
4640 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
4642 * inet/rexec.c (rexec): Free memory if strings were allocated in
4643 ruserpass. Reported by Andrew Morton <morton@nortelnetworks.com>.
4645 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
4647 * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
4649 * manual/argp.texi: Fixing language and typos.
4650 * manual/conf.texi: Likewise.
4651 * manual/contrib.texi: Likewise.
4652 * manual/ctype.texi: Likewise.
4653 * manual/filesys.texi: Likewise.
4654 * manual/install.texi: Likewise.
4655 * manual/job.texi: Likewise.
4656 * manual/lang.texi: Likewise.
4657 * manual/llio.texi: Likewise.
4658 * manual/locale.texi: Likewise.
4659 * manual/math.texi: Likewise.
4660 * manual/nss.texi: Likewise.
4661 * manual/pipe.texi: Likewise.
4662 * manual/signal.texi: Likewise.
4663 * manual/socket.texi: Likewise.
4664 * manual/stdio.texi: Likewise.
4665 * manual/sysinfo.texi: Likewise.
4666 * manual/users.texi: Likewise.
4667 Patches by Neil Booth <NeilB@earthling.net>.
4669 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
4671 * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
4672 unsigned to avoid warning. [PR libc/1271].
4674 * conform/conformtest.pl: Allow testing regex.h which requires
4675 sys/types.h being included.
4677 * conform/data/regex.h-data: Allow *_t types.
4678 * conform/data/pwd.h-data: Likewise.
4679 * conform/data/sched.h-data: Likewise.
4680 * conform/data/pthread.h-data: Likewise.
4681 * conform/data/search.h-data: Likewise.
4683 * misc/search.h: Avoid namespace pollution.
4685 * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
4686 pwd.h, and pthread.h.
4687 * conform/data/pthread.h-data: New file.
4688 * conform/data/pwd.h-data: New file.
4689 * conform/data/regex.h-data: New file.
4690 * conform/data/sched.h-data: New file.
4691 * conform/data/search.h-data: New file.
4693 * NAMESPACE: Add REG_ for regex.h.
4695 * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
4698 * configure.in (libc_cv_asm_global_directive): Indent .text in
4699 test code so that the lame HPUX compiler recognizes it.
4700 * sysdeps/hppa/bits/endian.h: New file.
4701 * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
4702 * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
4703 * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
4704 * sysdeps/unix/sysv/hpux/bits/types.h: New file.
4706 * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
4707 Patch by John Tobey <jtobey@banta-im.com>.
4709 * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
4711 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
4712 old_siocfifconf definition to toplevel.
4713 (__protocol_available): Remove old_siocfifconf definition.
4715 1999-08-25 Mark Kettenis <kettenis@gnu.org>
4717 * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
4718 really dealing with a master pseudo terminal, and really returning
4719 the name of the associated slave pseudo terminal by checking the
4721 * sysdeps/unix/sysv/linux/pty-private.h: Removed.
4722 * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
4724 1999-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4726 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
4727 underscore in _llseek entry.
4729 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
4732 * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
4733 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
4735 * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
4736 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
4738 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
4740 * inet/Makefile (routines): Add getipnodebynm.
4741 * inet/getipnodebynm.c: New file.
4742 * nss/digits_dots.c: If HAVE_TYPE is define type contains the
4744 * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
4745 EXTRA_ARGS_VALUE is not already done.
4746 (internal_getent): Allow extra parameters and pass them to parse_line.
4747 (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
4748 (_nss_files_get##name##_r): Likewise.
4749 * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
4750 and EXTRA_ARGS_VALUE to pass flags and type to parser.
4751 Add getipnodebyname function.
4752 * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
4753 EXTRA_ARGS_VALUE is not already done.
4754 (parse_line): Add EXTRA_ARGS_DECL to parameter list.
4755 * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
4757 (_nss_db_get##name##_r): Pass extra parameters to lookup.
4758 (_nss_db_get,ENTNAME_r): Likewise.
4759 * sysdeps/generic/if_index.c (__protocol_available): New function.
4760 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4762 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
4764 * login/pty-private.h: Move to...
4765 * sysdeps/generic/pty-private.h: ...here.
4766 * sysdeps/unix/sysv/linux/pty-private.h: New file. Linux specific
4768 * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
4771 * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
4774 * conform/conformtest.pl (@headers): Add monetary.h-data,
4775 mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
4776 * conform/data/monetary.h-data: New file.
4777 * conform/data/mqueue.h-data: New file.
4778 * conform/data/ndbm.h-data: New file.
4779 * conform/data/nl_types.h.h-data: New file.
4780 * conform/data/poll.h-data: New file.
4782 * stdio-common/Makefile (test): Add tst-cookie.
4783 * stdio-common/tst-cookie.c: New file.
4785 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
4786 changed in last patch. Reported by Ralf Baechle.
4788 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4790 * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
4792 * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
4793 Patches by Ralf Baechle <ralf@uni-koblenz.de>
4795 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4797 * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
4800 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
4802 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
4804 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4806 * misc/libgen.h: Don't take basename macro as taking arguments.
4808 * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
4810 * sysdeps/i386/bits/huge_val.h: Likewise.
4811 * sysdeps/i386/bits/huge_val.h: Likewise.
4812 * sysdeps/ieee754/bits/huge_val.h: Likewise.
4813 * sysdeps/m68k/bits/huge_val.h: Likewise.
4814 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
4815 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
4817 * conform/Makefile: New file.
4818 * conform/conformtest.pl: New file.
4819 * conform/data/aio.h-data: New file.
4820 * conform/data/assert.h-data: New file.
4821 * conform/data/cpio.h-data: New file.
4822 * conform/data/ctype.h-data: New file.
4823 * conform/data/dirent.h-data: New file.
4824 * conform/data/dlfcn.h-data: New file.
4825 * conform/data/errno.h-data: New file.
4826 * conform/data/fcntl.h-data: New file.
4827 * conform/data/float.h-data: New file.
4828 * conform/data/fmtmsg.h-data: New file.
4829 * conform/data/fnmatch.h-data: New file.
4830 * conform/data/ftw.h-data: New file.
4831 * conform/data/glob.h-data: New file.
4832 * conform/data/grp.h-data: New file.
4833 * conform/data/iconv.h-data: New file.
4834 * conform/data/inttypes.h-data: New file.
4835 * conform/data/iso646.h-data: New file.
4836 * conform/data/langinfo.h-data: New file.
4837 * conform/data/libgen.h-data: New file.
4838 * conform/data/locale.h-data: New file.
4839 * conform/data/math.h-data: New file.
4841 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
4843 * posix/execvp.c (execvp): Correct copying of file name.
4845 1999-08-23 Mark Kettenis <kettenis@gnu.org>
4847 * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
4849 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
4851 * stdio-common/Makefile: Move addition to routines to the right place.
4853 1999-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4855 * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file. Neccessary
4856 since mips*-linux has ECANCELED.
4858 1999-08-23 Andreas Schwab <schwab@suse.de>
4860 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
4861 SIGCONTEXT_EXTRA_ARGS.
4862 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
4863 * sysdeps/generic/sigcontextinfo.h: Likewise.
4864 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
4865 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
4866 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4867 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
4868 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
4869 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
4871 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
4873 * posix/regexbug1.c: Make it an error if the test fails.
4875 1999-08-23 Andreas Schwab <schwab@suse.de>
4877 * posix/regex.c (re_match_2_internal): Correct check for charset
4878 after exactn in loop.
4880 1999-08-22 Ulrich Drepper <drepper@cygnus.com>
4882 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
4883 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4884 Patch by Joel Klecker.
4886 * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
4887 (__gconv_find_transform): Update prototype.
4888 (__gconv_open): Likewise.
4889 * iconv/gconv_open.c: Take extra parameter and pass it to
4890 __gconv_find_transform.
4891 * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
4892 flags. If GCONV_AVOID_NOCONV flag is set don't return copying
4894 * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
4895 * wcsmbs/wcsmbsload.c: Likewise.
4896 * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
4898 * intl/gettextP.h: Likewise.
4899 * intl/loadmsgcat.c: Likewise.
4901 * posix/regexbug1.c: New file.
4902 * posix/Makefile (tests): Add regexbug1.
4904 1999-08-22 Mark Kettenis <kettenis@gnu.org>
4906 * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
4907 * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
4908 installing PORT in the descriptor cell.
4910 1999-08-19 Roland McGrath <roland@baalperazim.frob.com>
4912 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
4913 TIMEOUT as outputs of the asm to indicate that the signal thread
4915 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
4916 mach_msg if only sending or only receiving (i.e., not an RPC). When
4917 making an RPC that might get interrupted, save OPTION and the portion
4918 of the message buffer that gets clobbered by an EINTR reply message,
4919 and properly restore them before attempting to retry the request
4922 1999-08-21 Mark Kettenis <kettenis@gnu.org>
4924 * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
4925 definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
4926 CHAR_T, UCHAR_T and WIN_T to make the code compile again when
4927 stdio is used instead of libio.
4928 * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
4929 definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
4930 to make the code compile again when stdio is used instead of
4932 (vfprintf): Only check for correct orientation if ORIENT is
4934 * stdio-common/Makefile (routines): Only add vfwprintf and
4935 vfwscanf if we're using libio.
4937 1999-08-21 Mark Kettenis <kettenis@gnu.org>
4939 * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
4940 any additional prototype just as we do for libio.
4942 1999-08-21 Mark Kettenis <kettenis@gnu.org>
4944 * include/bits/xopen_lim.h: Do not define STREAM_MAX and
4945 TZNAME_MAX. These limits are not X/Open specific.
4946 * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
4949 1999-08-21 Mark Kettenis <kettenis@gnu.org>
4951 * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
4952 UIO_MAXIOV is left undefined in sys/uio.h.
4953 * stdio-common/stdio_lim.h.in: Adapt for change above.
4955 1999-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4957 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
4958 * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
4959 Patches by Ralf Baechle <ralf@uni-koblenz.de>
4961 1999-08-21 Ulrich Drepper <drepper@cygnus.com>
4963 * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
4965 1999-08-20 Ulrich Drepper <drepper@cygnus.com>
4967 * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
4969 * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
4970 call. It should not be necessary andis harmful for Alpha.
4972 * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
4973 type. [PR libc/1269]
4975 * posix/execvp.c (execvp): Allocate array name of correct size.
4976 Optimize inner loop. Use execve directly, not execv.
4978 * elf/elf.h: Corrected SHT_ values from new draft.
4980 * intl/gettextP.h (struct loaded_domain): Add conv element.
4981 * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
4982 Instead of returning found message directly convert it using iconv
4983 if a conversion was found when opening the file.
4984 * intl/loadinfo.h: Protect against multiple inclusion.
4985 Declare _nl_find_msg.
4986 * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
4987 in the message file and if necessary find approrpiate
4988 conversion to match currently selected charset.
4989 * include/libintl.h: Declare __dgettext and __dcgettext.
4990 * include/iconv.h: New file.
4992 1999-08-20 Andreas Schwab <schwab@suse.de>
4994 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
4996 1999-08-19 Ulrich Drepper <drepper@cygnus.com>
4998 * sysdeps/unix/sysv/linux/execve.c: New file. This version terminates
4999 all threads [PR libc/1223].
5001 * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
5004 * configure.in: Search for programs with prefix gnu* and g* first.
5007 * dirent/Makefile (routines): Add getdents64.
5008 * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
5010 * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
5011 compiled with _FILE_OFFSET_BITS=64.
5012 * sysdeps/generic/getdents64.c: New file.
5013 * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
5014 __lseek for getdirentries64 definition.
5016 * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
5018 * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
5019 _FILE_OFFSET_BITS=64.
5021 * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
5024 * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
5025 after we have the lock.
5027 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
5028 Patch by Richard Henderson.
5030 1999-08-19 Andreas Schwab <schwab@suse.de>
5032 * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
5033 and call _IO_fwide, to get the wide stream state initialized
5034 correctly. Don't set _IO_JUMPS.
5035 * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
5036 * libio/vswprintf.c (_IO_vswprintf): Likewise. Pass
5037 _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
5040 1999-08-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5042 * math/libm-test.c (jn_test): Fix typo in description.
5043 (erfc_test): Add some more tests.
5044 (erf_test): Add some more tests.
5046 1999-08-19 Andreas Schwab <schwab@suse.de>
5048 * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
5049 expression using $(exceptions).
5051 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
5053 * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
5055 * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
5056 allocated so far. [PR libc/1261].
5058 * math/libm-test.c (j0_test): Adjust deltas for m68k.
5059 (jn_test): Likewise.
5061 * dirent/dirent.h: Only define ino64_t if not already done.
5062 * posix/sys/types.h: Likewise.
5064 * ctype/ctype.h: Avoid useless #endif #if pairs.
5066 * dirent/dirent.h: Define ino_t and ino64_t if not done already.
5067 (seekdir): Fix type of second parameter.
5068 * sysdeps/generic/seekdir.c: Likewise.
5069 * sysdeps/mach/hurd/seekdir.c: Likewise.
5070 * sysdeps/unix/seekdir.c: Likewise.
5072 * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
5074 1999-08-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5076 * manual/install.texi (Configuring and compiling): Clarify ix86
5079 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
5081 * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
5082 * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
5083 * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
5084 stdio_lim.h. Define LONG_BIT and WORD_BIT.
5086 * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
5088 * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
5090 * misc/search.h: Don't define NULL.
5092 * posix/sys/types.h: Define blksize_t if it hasn't happened.
5093 Only define key_t and blkcnt_t if it hasn't happened before.
5094 Define blksize_t if not happened before.
5095 * io/sys/stat.h: Don't define pid_t. Define blkcnt_t and blksize_t.
5096 * sysdeps/generic/bits/types.h: Define __blksize_t.
5097 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5098 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5099 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5100 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5101 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5102 * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
5104 (struct stat64): Likewise.
5105 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5106 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
5107 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5108 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5109 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5110 * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
5111 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
5113 * stdlib/getsubopt.c: Correct type of second argument.
5114 * stdlib/stdlib.h: Likewise.
5116 * stdlib/monetary.h: Don't include sys/types.h. Define only size_t
5119 * sysdeps/generic/putenv.c: Correct type of parameter.
5120 * stdlib/stdlib.h: Likewise.
5122 * sysdeps/generic/msgsnd.c: Correct type of second parameter.
5123 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
5124 * sysvips/sys/msg.h: Likewise.
5126 * sysdeps/generic/semop.c: Correct type of third parameter.
5127 * sysdeps/unix/sysv/linux/semop.c: Likewise.
5128 * sysvipc/sys/sem.h: Likewise. Don't include sys/types.h, define
5131 * sysdeps/generic/shmget.c: Correct type of second parameter.
5132 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
5133 * sysvips/sys/shm.h: Likewise. Don't include unistd.h and sys/types.h.
5134 Declare __getpagesize here.
5136 * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
5138 * sysdeps/gnu/bits/ipc.h: Likewise.
5139 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
5140 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
5141 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5142 * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
5145 * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
5147 * debug/versions: Export __cyg_profile_func_enter and
5148 __cyg_profile_func_exit.
5150 * math/bits/mathcalls.h: Pretty print.
5152 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
5154 * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
5155 case for new tzdata.
5157 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
5159 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5160 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5161 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5162 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5164 * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
5166 * sysdeps/generic/ualarm.c (ualarm): Change return value and
5167 parameter type to useconds_t.
5168 * sysdeps/unix/bsd/ualarm.c: Likewise.
5170 * sysdeps/generic/usleep.c (usleep): Change parameter type to
5172 * sysdeps/unix/sysv/linux/usleep.c: Likewise.
5173 * sysdeps/mach/usleep.c: Likewise.
5175 * locale/weight.h: Include <errno.h>.
5177 * posix/sys/types.h: Define type useconds_t if not done already.
5178 * posix/unistd.h: Likewise. Use this in ualarm and usleep
5180 * sysdeps/generic/bits/types.h: Define type __useconds_t.
5181 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5182 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5183 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5184 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5185 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5187 * dirent/dirent.h (telldir): Change return type to long int.
5188 * sysdeps/generic/telldir.c: Likewise.
5189 * sysdeps/mach/hurd/telldir.c: Likewise.
5190 * sysdeps/unix/telldir.c: Likewise.
5191 * sysdeps/unix/bsd/telldir.c: Likewise. Fix locking problem.
5193 * locale/weight.h: Set errno if an invalid character is found.
5195 1999-08-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5197 * math/libm-test.c (erfc_test): Add test for example from PR
5199 (erf_test): Likewise.
5201 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
5203 * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
5204 rewrite. Patch by Alan Stern <stern@kitsilano.rowland.org>.
5206 * timezone/private.h: Update from tzcode1999e.
5207 * timezone/zic.c: Likewise.
5209 * timezone/africa: Update from tzdata1999e.
5210 * timezone/antarctica: Likewise.
5211 * timezone/asia: Likewise.
5212 * timezone/australasia: Likewise.
5213 * timezone/europe: Likewise.
5214 * timezone/leapseconds: Likewise.
5215 * timezone/northamerica: Likewise.
5216 * timezone/southamerica: Likewise.
5218 * stdio-common/vfprintf.c (process_string_arg): Correct last patch
5219 and write correct number of bytes in case of %ls with precision.
5220 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5222 1999-08-16 Ulrich Drepper <drepper@cygnus.com>
5224 * nscd/nscd.init: Test for kernel version and make LSB compliant.
5225 Patch by Christian Gafton.
5227 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
5228 O_RSYNC. Patch by Christian Gafton.
5230 * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
5231 possibly unterminated strings for %ls when a precision is
5233 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
5235 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
5236 update_conversion_ptrs.
5237 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5239 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5241 * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
5242 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5244 * wcsmbs/Makefile (tests): Add tst-wcsnlen.
5245 * wcsmbs/tst-wcsnlen.c: New file.
5247 1999-08-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5249 * libio/ioputs.c (_IO_puts): Add missing brace.
5251 1999-07-20 Geoff Keating <geoffk@cygnus.com>
5253 * math/libm-test.c: Tweak deltas for a clean run on ppc.
5255 1999-08-10 H.J. Lu <hjl@gnu.org>
5257 * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
5258 (vfprintf): Likewise.
5259 * stdio-common/vfscanf.c (ORIENT): Likewise.
5260 * libio/genops.c (__underflow): Likewise.
5261 (__uflow): Likewise.
5262 * libio/iofputs.c (_IO_fputs): Likewise.
5263 * libio/ioftell.c (_IO_ftell): Likewise.
5264 * libio/iofwrite.c (_IO_fwrite): Likewise.
5265 * libio/ioputs.c (_IO_puts): Likewise.
5266 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
5267 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
5269 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5271 * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
5273 1999-08-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5275 * manual/job.texi (Process Group Functions): Document getpgid,
5278 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5280 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
5281 initialize si_pid from it.
5282 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
5284 * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
5285 * rt/aio_misc.h (struct waitlist): Add caller_pid element.
5286 (struct requestlist): Likewise.
5287 Adjust prototypes of __aio_notify_only and __aio_sigqueue.
5288 * rt/aio_notify.c (__aio_notify_only): Take extra parameter. Pass it
5290 (__aio_notify): Pass caller PID to __aio_notify_only.
5291 * rt/aio_suspend.c: Initialize caller_pid.
5292 * rt/lio_listio.c: Likewise.
5293 * rt/lio_listio64.c: Likewise.
5295 * rt/lio_listio.c: If nothing has to be done free mutex before
5297 * rt/lio_listio64.c: Likewise.
5299 1999-08-10 H.J. Lu <hjl@gnu.org>
5301 * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
5304 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5306 * elf/elf.h: Define ElfXX_Versym.
5307 * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
5310 * stdio-common/vfprintf.c (process_string_arg): Handle precisions
5311 for string output correctly in the wide character case.
5312 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
5314 * intl/locale.alias: Add catalan.
5316 1999-08-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5318 * manual/install.texi (Configuring and compiling): Mention CFLAGS.
5320 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5322 * po/pt_BR.po: New file.
5324 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5326 * math/libm-test.c (yn_test): Adjust deltas for i386.
5327 (ccosh_test): Likewise.
5328 (jn_test): Likewise.
5330 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5332 * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
5334 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
5336 * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
5339 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5341 * configure.in: install-sh lives now in scripts subdir.
5342 PR libc/1255 (bug 4).
5344 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
5346 * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
5351 1999-08-11 Thorsten Kukuk <kukuk@suse.de>
5353 * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
5355 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
5357 * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
5360 1999-08-10 Andreas Schwab <schwab@suse.de>
5362 * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
5365 1999-08-09 Scott Bambrough <scottb@netwinder.org>
5367 * elf/elf.h: Added definition of ELFOSABI_ARM.
5368 * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
5369 VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
5370 object's header and ABI values are acceptable.
5371 (VALID_ELF_HEADER): New macro; provide default definition.
5372 (VALID_ELF_OSABI): New macro; provide default definition.
5373 (VALID_ELF_ABIVERSION): New macro; provide default definition.
5374 * sysdeps/arm/dl-machine.h Define ARM specific versions of
5375 VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
5377 1999-08-09 Andreas Schwab <schwab@suse.de>
5379 * inet/tst-ipnode.c (main): Don't compare integer with NULL.
5381 1999-08-09 Thorsten Kukuk <kukuk@suse.de>
5383 * sunrpc/svc_run.c (svc_run): Free my_pollfd.
5385 1999-08-09 Andreas Schwab <schwab@suse.de>
5387 * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
5389 1999-08-08 Ulrich Drepper <drepper@cygnus.com>
5391 * sysdeps/ieee754/ieee754.h: Handle platforms with special
5392 __FLOAT_WORD_ORDER. Patch by Joel Klecker <jk@espy.org>.
5394 * string/bits/string2.h: Mark void* operations as extensions.
5395 * sysdeps/i386/i486/bits/string.h: Likewise.
5397 * debug/Makefile (routines): Add noophooks.
5398 (extra-libs): Add libpcprofile. Add rules to build libpcprofile.
5399 * debug/noophooks.c: New file.
5400 * debug/pcprofile.c: New file.
5402 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
5404 * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
5405 systems which allow using the functions also on non-seekable
5408 * resolv/res_send.c (res_send): Recompute timeout for poll for
5409 each jump to `wait'.
5411 * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
5412 braces to avoid warnings.
5413 (IN6ADDR_LOOPBACK_INIT): Likewise.
5415 * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
5418 1999-08-06 H.J. Lu <hjl@gnu.org>
5420 * malloc/malloc.c: Initialize __libc_pagesize early.
5422 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
5424 * string/string-inlines.c: Undefined __USE_STRING_INLINES before
5427 * inet/Makefile (tests): Add tst-ipnode.
5428 * inet/tst-ipnode.c: New file.
5430 1999-08-06 Andreas Schwab <schwab@suse.de>
5432 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
5434 (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
5435 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
5436 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
5438 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
5439 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
5441 1999-08-06 Jakub Jelinek <jj@ultra.linux.cz>
5443 * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
5444 * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
5445 * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
5447 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
5449 * resolv/res_send.c (res_send): Don't test file descriptor for
5450 range, we use poll now. [PR libc/1240]
5452 1999-08-05 Ulrich Drepper <drepper@cygnus.com>
5454 * libio/genops.c (_IO_flush_all): Don't access elements beyond what
5455 2.0 defined if they are not available.
5457 1999-08-05 Thorsten Kukuk <kukuk@suse.de>
5459 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
5462 1999-08-04 Ulrich Drepper <drepper@cygnus.com>
5464 * rt/aio_read.c: Fix return value.
5465 * rt/aio_read64.c: Likewise.
5466 Reported by Christian Gafton.
5468 * rt/aio_write.c: Fix return value.
5469 * rt/aio_write64.c: Likewise.
5470 * rt/aio_fsync.c: Likewise.
5472 * rt/aio_misc.c: Set errno at correct place.
5474 * rt/aio_fsync.c: Test OP parameter for correct values.
5476 * hesiod/hesiod.c: Avoid emitting rcsid in object file.
5478 1999-08-04 Andreas Schwab <schwab@suse.de>
5480 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
5481 Initialize result to one.
5482 (GET_NPROCS_CONF_PARSER): Likewise.
5484 1999-08-03 Ulrich Drepper <drepper@cygnus.com>
5486 * inet/ether_hton.c: Pass errno pointer to NSS function.
5487 * inet/getnetgrent_r.c: Likewise.
5488 Reported by Marty Leisner <leisner@rochester.rr.com>.
5490 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
5492 * nis/nis_callback.c: Fix port problem on big-endian machines
5493 * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
5494 fields are always 32 bit.
5495 Patches from Paul Mackerras <paulus@cs.anu.edu.au>
5497 * nis/nss_nis/nis-service.c: Remove htons, port is always in
5499 * nis/nss_nisplus/nisplus-service.c: Rename number to port.
5501 1999-08-03 Andreas Schwab <schwab@suse.de>
5503 * sysdeps/posix/sigset.c: Unblock the signal after setting its
5504 disposition. Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
5505 avoid two calls to sigprocmask.
5507 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
5509 * sysdeps/generic/s_nexttowardf.c: Fix typo.
5511 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
5513 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
5514 Only allow rt signal frames. No SA_SIGINFO signals will have the
5515 siginfo_t just not filled out with SI_NOINFO code.
5516 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
5517 (register_dump): Take the above change into account.
5518 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
5519 (rt_signal_frame): Likewise.
5521 * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
5523 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
5525 * nis/nis_callback.c (internal_nis_do_callback): Use poll()
5526 instead of select().
5528 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
5530 * sysdeps/generic/s_nextafter.c: Define __nexttoward and
5531 nexttoward so something else so that aliasing works.
5533 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
5535 * sysdeps/generic/math_ldbl.h: Fix typo.
5536 * sysdeps/generic/strtold.c: Remove unbalanced #endif.
5537 * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
5539 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
5541 * elf/resolvfail.c: Include stdio.h. Also test dlerror.
5543 1999-08-01 Ulrich Drepper <drepper@cygnus.com>
5545 * elf/Makefile (tests): Add resolvfail. Add rules to build the
5547 * elf/resolvfail.c: New file.
5549 * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
5550 pass it to _dl_lookup_symbol.
5552 * elf/dl-error.c (_dl_signal_error): Optimize string generation a
5553 bit. Reword message.
5555 * dlfcn/dlerror.c: Make code thread-safe.
5557 1999-07-31 Roland McGrath <roland@baalperazim.frob.com>
5559 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
5560 initializer in CHECK: a bit size, not the type code repeated!
5562 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
5564 * string/tester.c: Add tests with constant arguments for strcpy
5567 1999-07-31 H.J. Lu <hjl@gnu.org>
5569 * string/bits/string2.h (__strcpy_small): Fix a typo.
5571 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
5573 * Makeconfig (link-libc): Always define it, not only for shared
5576 * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
5577 * sysdeps/i386/fpu/e_powf.S: Likewise.
5578 * sysdeps/i386/fpu/e_powl.S: Likewise. [PR libc/1213].
5580 * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
5581 * sysdeps/generic/e_gammal_r.c: Likewise. [PR libc/1212].
5583 1999-07-30 Andreas Schwab <schwab@suse.de>
5585 * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
5587 (__get_nprocs): Use it.
5588 (__get_nprocs_conf): Define as separate function if
5589 GET_NPROCS_CONF_PARSER is defined.
5590 * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
5592 * include/sys/sysinfo.h: New file.
5593 * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
5595 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5597 1999-07-30 H.J. Lu <hjl@gnu.org>
5599 * libio/iofflush.c (fflush_unlocked): Weak aliase if
5600 _IO_MTSAFE_IO is not defined.
5601 * libio/clearerr.c (clearerr_unlocked): Likewise.
5602 * libio/feof.c (feof_unlocked): Likewise.
5603 * libio/ferror.c (ferror_unlocked): Likewise.
5604 * libio/fputc.c (fputc_unlocked): Likewise.
5605 * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
5606 * libio/getchar.c (getchar_unlocked): Likewise.
5607 * libio/putc.c (putc_unlocked): Likewise.
5608 * libio/putchar.c (putchar_unlocked): Likewise.
5610 1999-07-30 Thorsten Kukuk <kukuk@suse.de>
5612 * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
5613 svc_max_pollfd and svc_pollfd to GLIBC_2.2
5614 * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
5615 for svc_run/poll interface.
5616 * sunrpc/rpc/types.h: Add rpc*_t typedefs.
5617 * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
5619 * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
5620 rewrite other svc_getreq* functions to use svc_getreq_common.
5621 * sunrpc/svc_run.c: Use poll().
5623 1999-07-30 Andreas Schwab <schwab@suse.de>
5625 * Makerules: Put sysd-versions and Versions.all on
5626 postclean-generated instead of common-generated.
5628 1999-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5630 * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
5631 around and CLOCKS_PER_SEC is 1e6.
5633 1999-07-30 Ulrich Drepper <drepper@cygnus.com>
5635 * configure.in: Add test for local label subtraction.
5636 * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
5637 * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
5638 labels to reduce number of runtime relocations and move jump
5639 tables in read-only seciton.
5641 * malloc/malloc.c (ptmalloc_init): Correct last patch. The
5642 assignment cannot be moved.
5644 1999-07-29 H.J. Lu <hjl@gnu.org>
5646 * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
5647 if no threads are used.
5649 * libio/iofwrite.c: Add weak alias for _unlocked function if not
5651 * libio/iofread.c: Likewise.
5652 * libio/iofgets.c: Likewise.
5653 * libio/iofputs.c: Likewise.
5655 * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
5658 * stdlib/mbtowc.c: Include <string.h>.
5659 * stdlib/wctomb.c: Likewise.
5660 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
5661 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
5663 * misc/mntent_r.c: Include <alloca.h>.
5664 * elf/dl-runtime.c: Likewise.
5666 1999-07-29 Andreas Schwab <schwab@suse.de>
5668 * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
5669 all floating point formats supported by gcc. Error out for
5670 unhandled precisions.
5671 * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
5672 * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
5673 * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
5675 1999-07-29 Ulrich Drepper <drepper@cygnus.com>
5677 * sysdeps/generic/setenv.c: Move setenv code in new function
5678 __add_to_environ. Add new parameter specifying already
5679 constructed string for the environment.
5680 (setenv): Call __add_to_environ with new parameter set to NULL.
5681 (unsetenv): Really test all elements for duplicated name. Missed those
5682 cases where the two are following each other.
5683 * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
5684 * include/stdlib.h: Add prototype of __add_to_environ.
5685 * stdlib/tst-environ.c: New file.
5686 * stdlib/Makefile (tests): Add tst-environ.
5688 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
5690 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
5691 argument in realloc call.
5692 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
5694 Reported by Danny Braniss <danny@cs.huji.ac.il>.
5696 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
5698 * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
5700 * misc/efgcvt_r.c: Likewise.
5701 * misc/qefgcvt.c: Likewise.
5702 * misc/qefgcvt_r.c: Likewise.
5703 * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
5706 1999-07-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5708 * manual/math.texi (FP Function Optimization): Mention drawbacks.
5710 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
5712 * stdlib/mblen.c: Use static state.
5713 Reported by Bruno Haible <haible@ilog.fr>.
5715 * stdlib/mbtowc.c: Reset state for s == NULL.
5716 * stdlib/wctomb.c: Likewise.
5717 Reported by Bruno Haible <haible@ilog.fr>.
5719 * stdlib/mbstowcs.c: Do not use global state.
5720 Reported by Bruno Haible <haible@ilog.fr>.
5722 1999-07-28 Andeas Schwab <schwab@suse.de>
5724 * iconvdata/Makefile: Don't try to run iconv tests when cross
5727 1999-07-27 Mark Kettenis <kettenis@gnu.org>
5729 * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
5730 assembler code to switch stacks and call init1 outside this
5731 function. Inside `init' the code was optimized away by gcc
5732 2.95 since it was "clearly" unreachable.
5733 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
5734 Do something similar for the trampoline code.
5736 1999-07-27 Ulrich Drepper <drepper@cygnus.com>
5738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
5739 for the hinted protocol.
5741 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5743 * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
5745 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
5747 * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
5748 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
5749 * elf/dl-load.c (_dl_map_object): Likewise.
5750 * elf/do-lookup.h (do_lookup*): Likewise.
5751 * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
5752 * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
5754 * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
5756 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
5758 * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
5759 * sysdeps/generic/getpgrp.c: Likewise.
5760 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
5761 * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
5762 Patch by John Tobey <jtobey@banta-im.com>.
5764 * sysdeps/posix/wait3.c: Help compiling in presence of
5765 __transparent_union__. Reported by John Tobey <jtobey@banta-im.com>.
5767 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
5769 * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
5770 as much as possible. Declare them using .register pseudo-op if they
5772 * sysdeps/sparc/sparc64/lshift.S: Likewise.
5773 * sysdeps/sparc/sparc64/memchr.S: Likewise.
5774 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5775 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5776 * sysdeps/sparc/sparc64/memset.S: Likewise.
5777 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5778 * sysdeps/sparc/sparc64/rshift.S: Likewise.
5779 * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
5780 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5781 * sysdeps/sparc/sparc64/strcat.S: Likewise.
5782 * sysdeps/sparc/sparc64/strchr.S: Likewise.
5783 * sysdeps/sparc/sparc64/strcmp.S: Likewise.
5784 * sysdeps/sparc/sparc64/strcpy.S: Likewise.
5785 * sysdeps/sparc/sparc64/strcspn.S: Likewise.
5786 * sysdeps/sparc/sparc64/strlen.S: Likewise.
5787 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5788 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5789 * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
5790 * sysdeps/sparc/sparc64/strspn.S: Likewise.
5791 * sysdeps/sparc/sparc64/sub_n.S: Likewise.
5792 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5793 Optimize trampoline code for .plt4-.plt32767.
5794 Fix trampolines for .plt32768+.
5796 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
5798 * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
5800 * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
5801 * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
5802 libc's private use (as assembly routine clobber it anyway).
5804 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5806 * README.template (configurations): The crypt add-on has a new
5808 * manual/install.texi (Installation): Likewise.
5810 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
5812 * time/time.h: Add forward for struct sigevent. Unix98 maybe
5813 requires to have a full definition but we wait for a bug report
5814 based on the test suite.
5816 * sysdeps/generic/clock_getres.c: New file.
5817 * sysdeps/generic/clock_gettime.c: New file.
5818 * sysdeps/generic/clock_settime.c: New file.
5819 * sysdeps/generic/timer_create.c: New file.
5820 * sysdeps/generic/timer_delete.c: New file.
5821 * sysdeps/generic/timer_getoverr.c: New file.
5822 * sysdeps/generic/timer_gettime.c: New file.
5823 * sysdeps/generic/timer_settime.c: New file.
5825 * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
5826 CLOCK_REALTIME, and TIMER_ABSTIME.
5827 * sysdeps/mach/hurd/bits/time.h: Likewise.
5828 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5829 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
5831 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
5833 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
5836 * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
5838 * time/Makefile (routines): Add clock_getres, clock_gettime,
5839 clock_setres, timer_create, timer_delete, timer_getoverr,
5840 timer_gettime, and timer_settime.
5842 * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
5843 POSIX.1b. Add prototypes for clock and timer functions.
5845 1999-07-26 Roland McGrath <roland@baalperazim.frob.com>
5847 * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
5848 Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
5850 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
5852 * stdlib/wcstombs.c: Do not use global state.
5853 Reported by Bruno Haible <haible@ilog.fr>.
5855 * wcsmbs/wctob.c: Avoid sign extension when returning character.
5856 Reported by Bruno Haible <haible@ilog.fr>.
5858 * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
5859 of wide characters to convert do it right and don't overestimate
5860 by multiplying with MB_CUR_MAX.
5861 Reported by Bruno Haible <haible@ilog.fr>.
5863 1999-07-26 Jakub Jelinek <jj@ultra.linux.jz>
5865 * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
5866 (__stpcpy_small): Likewise.
5867 Union has no __uc member but __c.
5869 1999-07-26 Andreas Schwab <schwab@suse.de>
5871 * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
5873 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
5875 * libio/iofclose.c (_IO_new_fclose): Only fall back on
5876 _IO_old_fclose if doing versioning.
5878 * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
5880 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5882 * misc/mntent_r.c: Allow spaces and tabs in entry names by
5883 encoding these characters.
5884 * misc/tst-mntent.c: Add test case for addmntent and getmntent.
5886 * string/bits/string2.h: Fix aliasing problems.
5887 * sysdeps/i386/i486/bits/string.h: Likewise.
5888 * sysdeps/i386/bits/string.h: Likewise.
5890 1998-12-28 Geoff Keating <geoffk@ozemail.com.au>
5892 * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
5893 * elf/rtld.c (dl_main): Don't call malloc() between
5894 re-relocating the dynamic linker and running the application's crt0.
5896 1999-07-21 Paul D. Smith <psmith@gnu.org>
5898 * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
5899 glob.h to get __P() macro.
5901 * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
5903 (__strchrnul): This won't exist outside GLIBC, so create one.
5905 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
5907 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
5908 __ino64_t should be 32bit unsigned type on sparc32.
5909 Define __off64_t to __quad_t instead of __int64_t.
5910 Make __pic_pid_t unsigned on sparc32.
5912 1999-07-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5914 * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
5917 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
5919 * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
5920 of an error. Patch by Changwoo Ryu <cwryu@debian.org>.
5922 1999-07-24 Ulrich Drepper <drepper@cygnus.com>
5924 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
5927 * resolv/res_send.c: Add locks for res_send and res_close use.
5929 * elf/Makefile (dl-routines): Add preinit.
5930 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
5931 * elf/link.h (struct link_map): Add new field l_preinitcount.
5932 * elf/dl-preinit.c: New file.
5933 * elf/dynamic-link.h: Initialize l_preinitcount.
5934 * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
5936 * elf/dl-fini.c: Handle DT_FINI_ARRAY.
5937 * elf/link.h (struct link_map): Remove l_init_running. Add l_runcount
5939 * elf/dl-init.c: Handle DT_INIT_ARRAY.
5940 * elf/dynamic-link.h: Change parameters. Now only get link_map
5941 pointer. Calculate l_initcount.
5943 * elf/link.h (struct link_map): Add l_runpath_dirs.
5944 * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
5945 * elf/dl-load.c: Pretty print.
5946 (decompose_rpath): Take new parameter with info from where the path
5947 comes. Pass it the fillin_rpath.
5948 (_dl_init_paths): Initialize l_runpath_dirs.
5949 (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
5950 Search using RUNPATH after LD_LIBRARY_PATH.
5951 * elf/dl-support.c: Adjust comment.
5952 * elf/rtld.c: Adjust help message.
5954 1999-07-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5956 * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
5959 1999-07-23 Roland McGrath <roland@baalperazim.frob.com>
5961 * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
5962 match BSD value; previous value of 1<<8 was a typo. I bet nothing
5963 ever used this, so I'm not going to worry about compatibility.
5964 [__USE_GNU] (IUCLC, OLCUC): New macros.
5966 1999-07-23 Ulrich Drepper <drepper@cygnus.com>
5968 * include/libintl.h: Undefine N_ and _ first to avoid warnings.
5970 * elf/elf.h: Add ET_LOOS and ET_HIOS.
5971 Add various EM_* constants.
5972 Add SHN_LOOS and SHN_HIOS.
5973 Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
5974 Add SHF_MERGE and SHF_STRINGS.
5975 (ElfXX_Sym): Update description of st_other field.
5977 Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
5979 Update comment on DT_RPATH. Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
5980 DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
5981 Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
5983 * posix/unistd.h: Move declaration of __libc_enable_secure to...
5984 * include/unistd.h: ...here.
5986 * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
5987 * elf/dl-deps.c (expand_dst): Likewise.
5989 * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
5990 based on DT_FLAGS value.
5992 * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
5993 Add test for symbols marked STV_HIDDEN.
5994 * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
5995 add undef_map. Compute reference_name locally. Update call to
5997 (_dl_lookup_symbol_skip): Likewise.
5998 (_dl_lookup_versioned_symbol): Likewise.
5999 (_dl_lookup_versioned_symbol_skip): Likewise.
6000 * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
6001 * elf/dl-runtime.c: Likewise.
6002 * elf/dl-sym.c: Likewise.
6003 * elf/dl-symbol.c: Likewise.
6004 * elf/ldsodefs.h: Adjust prototypes.
6006 * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
6007 handle appropriately. Add comment about DT_TEXTREL.
6008 * elf/dl-runtime.c: Likewise.
6010 1999-07-21 Roland McGrath <roland@baalperazim.frob.com>
6012 * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
6013 * elf/ldsodefs.h: Declare it.
6014 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
6016 (elf_machine_lazy_rel): Likewise. Take new arg MAP.
6017 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6018 (elf_machine_lazy_rel): Likewise.
6019 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
6020 (elf_machine_lazy_rel): Likewise.
6021 * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
6022 (elf_machine_lazy_rel): Likewise.
6023 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
6024 (elf_machine_lazy_rel): Likewise.
6025 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6026 (elf_machine_lazy_rel): Likewise.
6027 * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
6028 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
6029 (elf_machine_lazy_rel): Likewise.
6030 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
6031 (elf_machine_lazy_rel): Likewise.
6032 * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
6033 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
6034 _dl_reloc_bad_type instead of _dl_signal_error.
6035 * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
6037 1999-07-20 Mark Kettenis <kettenis@gnu.org>
6039 * sysdeps/mach/_strerror.c: Include <libintl.h>.
6041 1999-07-19 Roland McGrath <roland@baalperazim.frob.com>
6043 * hurd/hurdsig.c (_hurd_internal_post_signal): If a
6044 hurd_signal_preemptor matches but its `preemptor' field is null, use
6045 its `handler' field directly. This is to comply with behavior
6046 documented in <hurd/sigpreempt.h>.
6048 1999-07-21 Andreas Schwab <schwab@suse.de>
6050 * libio/fileops.c (_IO_new_file_underflow): Set error indicator
6051 when reading from write-only stream.
6052 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
6053 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6055 1999-07-21 Andreas Schwab <schwab@suse.de>
6057 * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
6060 1999-07-21 Mark Kettenis <kettenis@gnu.org>
6062 * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
6064 * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
6066 (__libc_write): Call __pwrite instead of __pread.
6068 1999-07-20 Mark Kettenis <kettenis@gnu.org>
6070 * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
6071 __vm_allocate calls.
6073 * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>. Fix typo.
6074 * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
6076 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
6077 _hurd_fd_read with new OFFSET argument set to -1.
6078 (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
6081 1999-07-17 Roland McGrath <roland@baalperazim.frob.com>
6083 * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
6084 descriptor table sent in the RPC.
6086 1999-07-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6088 * time/strptime.c [!_LIBC]: Fix __mon_day size. Reported by
6089 bill@taniwha.org [PR libc/1211].
6091 1999-07-19 Andreas Schwab <schwab@suse.de>
6093 * libio/Makefile (routines): Add fwprintf.
6095 PowerPC has own version of w_sqrt.c and w_sqrtf.c.
6096 * math/w_sqrt.c: Moved to ...
6097 * sysdeps/generic/w_sqrt.c: ... here.
6098 * math/w_sqrtf.c: Moved to ...
6099 * sysdeps/generic/w_sqrtf.c: ... here.
6101 * Make-dist (generic-dirs): New variable.
6102 (try-sysdeps, +sysdep-names): Use it.
6103 * extra-lib.mk (all-$(lib)-routines): New variable. Use it
6104 instead of $(lib)-routines.
6105 * elf/Makefile (distribute): Add dl-cache.h.
6106 * db2/Makefile (distribute): Add all new files.
6107 * iconvdata/Makefile (distribute): Don't distribute CVS
6109 * math/Makefile (distribute): Remove machine/endian.h, add
6111 * stdio-common/Makefile (distribute): Add _itowa.h.
6112 * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
6113 * sysdeps/gnu/Dist: Add eval.c
6114 * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
6115 dlfcn]: Add to this instead of libdl-routines.
6116 * sysdeps/ieee754/ldbl-128/Dist: New file.
6117 * sysdeps/mach/hurd/Dist: Add siglist.h
6118 * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
6120 1999-07-18 Ulrich Drepper <drepper@cygnus.com>
6122 * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
6124 * inet/Makefile (routines): Add getipnodebyad and freehostent.
6125 * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
6126 * inet/freehostent.c: New file.
6127 * inet/getipnodebyad.c: New file.
6128 * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
6129 and getipnodebyname. The latter comes soon.
6130 * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
6131 Add support for getipnode* functions.
6133 * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
6134 Set h_aliases to NULL and not to a pointer to an array with a NULL
6135 pointer following XNS 5.2.
6137 * posix/sched.h: Remove internal interfaces.
6138 * include/sched.h: Add internal interfaces.
6140 * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
6142 * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
6144 * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
6145 and return an error in this case.
6146 * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
6149 1999-07-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6151 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
6152 1999-07-17 and adjust len parameter.
6153 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
6154 * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
6155 * manual/socket.texi (Host Names): Likewise.
6156 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
6157 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
6159 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6160 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6161 (ht_gethostbyaddr): Likewise.
6162 (_gethtbyaddr): Likewise.
6164 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
6166 * resolv/netdb.h: Adjust parameters of gethostbyaddr and
6168 * include/netdb.h: Likewise.
6169 * inet/gethstbyad.c: Correct type of len parameter.
6170 * inet/gethstbyad_r.c: Likewise.
6172 * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
6174 1999-07-17 Zack Weinberg <zack@rabi.columbia.edu>
6176 * include/libc-symbol.h: Clean up definitions of weak_alias,
6177 strong_alias, symbol_version, etc. etc.
6178 * posix/getopt.h: Use ctype.h to get features.h included, and don't
6179 include it at all if __GNU_LIBRARY__ is already defined.
6181 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
6183 * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
6185 * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
6187 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
6188 type for tv_usec element.
6189 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6190 * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
6191 * sysdeps/generic/bits/time.h: Likewise.
6192 * sysdeps/mach/hurd/bits/time.h: Likewise.
6193 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6194 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6195 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6196 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6197 * sysdeps/generic/bits/types.h: Likewise.
6198 * posix/sys/types.h: Define suseconds_t for X/Open.
6200 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
6202 * stdio-common/bug1.c: Avoid memory leak.
6204 * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
6205 program deterministic.
6206 * sysdeps/i386/fpu/e_powf.S: Likewise.
6207 * sysdeps/i386/fpu/e_powl.S: Likewise.
6209 1999-07-15 Jakub Jelinek <jj@ultra.linux.cz>
6211 * math/Makefile: Add t_sincosl and k_sincosl support routines.
6212 * math/math_private.h (__kernel_sincosl): New declaration.
6213 * sysdeps/generic/t_sincosl.c: New file.
6214 * sysdeps/generic/k_sincosl.c: New file.
6215 * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
6216 * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
6217 * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
6218 * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
6219 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
6220 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
6222 * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
6225 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
6227 * posix/unistd.h: Use __PMT for exit.
6229 1999-07-15 Philip Blundell <pb@nexus.co.uk>
6231 * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
6232 _outw, _outl): Added to GLIBC_2.1.2.
6234 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
6236 * posix/fnmatch.h: Use __name instead of __string in prototype to
6237 allow use outside glibc.
6239 1999-07-14 Ulrich Drepper <drepper@cygnus.com>
6241 * time/tst-strptime.c (main): Add one more test case. Produce
6242 output even when result is ok.
6244 * time/strptime.c (get_number): Handle number parsing more
6245 consistent with strftime. Only parse a given number of digits.
6246 (get_alt_number): Fix implementation. Was broken.
6247 (strptime_internal): Add third parameter to get_number and
6248 get_alt_number calls.
6250 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
6252 * elf/ldd.bash.in: Add support for multiple dynamic linkers.
6253 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
6254 try both 32bit and 64bit dynamic linker.
6255 * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
6256 script on all sparc targets.
6258 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
6260 * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
6263 1999-07-13 Andreas Schwab <schwab@suse.de>
6265 * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
6266 inlining. Fixes PR libc/1198.
6268 1999-07-14 Andreas Schwab <schwab@suse.de>
6270 * Makerules (common-generated): Don't prepend $(common-objpfx).
6272 1999-07-12 Jakub Jelinek <jj@ultra.linux.cz>
6274 * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
6275 as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
6276 * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
6277 quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
6279 * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
6281 * sysdeps/arm/Implies: Likewise.
6282 * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
6283 ieee754/ldbl-96 instead of ieee754.
6284 * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
6285 * sysdeps/generic/e_atanhl.c: New file.
6286 * sysdeps/generic/e_coshl.c: New file.
6287 * sysdeps/generic/e_sinhl.c: New file.
6288 * sysdeps/generic/e_gammal_r.c: New file.
6289 * sysdeps/generic/e_hypotl.c: New file.
6290 * sysdeps/generic/s_cbrtl.c: New file.
6291 * sysdeps/generic/s_asinhl.c: New file.
6292 * sysdeps/generic/s_tanhl.c: New file.
6293 * sysdeps/generic/w_expl.c: New file.
6294 * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
6296 * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
6297 ieee754/ldbl-96 instead of ieee754.
6298 * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
6299 * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
6301 * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
6303 * sysdeps/mips/mips64/Implies: Likewise.
6304 * sysdeps/powerpc/Implies: Likewise.
6305 * sysdeps/sparc/Implies: Remove.
6306 * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
6308 * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
6309 and ieee754/ldbl-128.
6311 * sysdeps/sparc/bits/wordsize.h: Remove.
6312 * sysdeps/sparc/fpu/bits/mathinline.h: New file.
6313 * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
6315 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
6316 * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
6317 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
6318 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
6319 * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
6322 * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
6323 of carries. Optimize.
6325 * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
6326 * sysdeps/generic/e_exp10.c: ...here.
6327 * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
6328 * sysdeps/generic/e_exp10f.c: ...here.
6329 * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
6330 * sysdeps/generic/e_exp10l.c: ...here.
6331 * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
6332 * sysdeps/generic/e_scalb.c: ...here.
6333 * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
6334 * sysdeps/generic/e_scalbf.c: ...here.
6335 * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
6336 * sysdeps/generic/e_scalbl.c: ...here.
6337 * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
6338 * sysdeps/generic/s_cacos.c: ...here.
6339 * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
6340 * sysdeps/generic/s_cacosf.c: ...here.
6341 * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
6342 * sysdeps/generic/s_cacosh.c: ...here.
6343 * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
6344 * sysdeps/generic/s_cacoshf.c: ...here.
6345 * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
6346 * sysdeps/generic/s_cacoshl.c: ...here.
6347 * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
6348 * sysdeps/generic/s_cacosl.c: ...here.
6349 * sysdeps/libm-ieee754/s_casin.c: Moved to ...
6350 * sysdeps/generic/s_casin.c: ...here.
6351 * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
6352 * sysdeps/generic/s_casinf.c: ...here.
6353 * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
6354 * sysdeps/generic/s_casinh.c: ...here.
6355 * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
6356 * sysdeps/generic/s_casinhf.c: ...here.
6357 * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
6358 * sysdeps/generic/s_casinhl.c: ...here.
6359 * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
6360 * sysdeps/generic/s_casinl.c: ...here.
6361 * sysdeps/libm-ieee754/s_catan.c: Moved to ...
6362 * sysdeps/generic/s_catan.c: ...here.
6363 * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
6364 * sysdeps/generic/s_catanf.c: ...here.
6365 * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
6366 * sysdeps/generic/s_catanh.c: ...here.
6367 * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
6368 * sysdeps/generic/s_catanhf.c: ...here.
6369 * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
6370 * sysdeps/generic/s_catanhl.c: ...here.
6371 * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
6372 * sysdeps/generic/s_catanl.c: ...here.
6373 * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
6374 * sysdeps/generic/s_ccos.c: ...here.
6375 * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
6376 * sysdeps/generic/s_ccosf.c: ...here.
6377 * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
6378 * sysdeps/generic/s_ccosh.c: ...here.
6379 * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
6380 * sysdeps/generic/s_ccoshf.c: ...here.
6381 * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
6382 * sysdeps/generic/s_ccoshl.c: ...here.
6383 * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
6384 * sysdeps/generic/s_ccosl.c: ...here.
6385 * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
6386 * sysdeps/generic/s_cexp.c: ...here.
6387 * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
6388 * sysdeps/generic/s_cexpf.c: ...here.
6389 * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
6390 * sysdeps/generic/s_cexpl.c: ...here.
6391 * sysdeps/libm-ieee754/s_clog.c: Moved to ...
6392 * sysdeps/generic/s_clog.c: ...here.
6393 * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
6394 * sysdeps/generic/s_clog10.c: ...here.
6395 * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
6396 * sysdeps/generic/s_clog10f.c: ...here.
6397 * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
6398 * sysdeps/generic/s_clog10l.c: ...here.
6399 * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
6400 * sysdeps/generic/s_clogf.c: ...here.
6401 * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
6402 * sysdeps/generic/s_clogl.c: ...here.
6403 * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
6404 * sysdeps/generic/s_cpow.c: ...here.
6405 * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
6406 * sysdeps/generic/s_cpowf.c: ...here.
6407 * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
6408 * sysdeps/generic/s_cpowl.c: ...here.
6409 * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
6410 * sysdeps/generic/s_cproj.c: ...here.
6411 * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
6412 * sysdeps/generic/s_cprojf.c: ...here.
6413 * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
6414 * sysdeps/generic/s_cprojl.c: ...here.
6415 * sysdeps/libm-ieee754/s_csin.c: Moved to ...
6416 * sysdeps/generic/s_csin.c: ...here.
6417 * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
6418 * sysdeps/generic/s_csinf.c: ...here.
6419 * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
6420 * sysdeps/generic/s_csinh.c: ...here.
6421 * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
6422 * sysdeps/generic/s_csinhf.c: ...here.
6423 * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
6424 * sysdeps/generic/s_csinhl.c: ...here.
6425 * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
6426 * sysdeps/generic/s_csinl.c: ...here.
6427 * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
6428 * sysdeps/generic/s_csqrt.c: ...here.
6429 * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
6430 * sysdeps/generic/s_csqrtf.c: ...here.
6431 * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
6432 * sysdeps/generic/s_csqrtl.c: ...here.
6433 * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
6434 * sysdeps/generic/s_ctan.c: ...here.
6435 * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
6436 * sysdeps/generic/s_ctanf.c: ...here.
6437 * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
6438 * sysdeps/generic/s_ctanh.c: ...here.
6439 * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
6440 * sysdeps/generic/s_ctanhf.c: ...here.
6441 * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
6442 * sysdeps/generic/s_ctanhl.c: ...here.
6443 * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
6444 * sysdeps/generic/s_ctanl.c: ...here.
6445 * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
6446 * sysdeps/generic/s_fdim.c: ...here.
6447 * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
6448 * sysdeps/generic/s_fdimf.c: ...here.
6449 * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
6450 * sysdeps/generic/s_fdiml.c: ...here.
6451 * sysdeps/libm-ieee754/s_fma.c: Moved to ...
6452 * sysdeps/generic/s_fma.c: ...here.
6453 * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
6454 * sysdeps/generic/s_fmaf.c: ...here.
6455 * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
6456 * sysdeps/generic/s_fmal.c: ...here.
6457 * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
6458 * sysdeps/generic/s_fmax.c: ...here.
6459 * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
6460 * sysdeps/generic/s_fmaxf.c: ...here.
6461 * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
6462 * sysdeps/generic/s_fmaxl.c: ...here.
6463 * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
6464 * sysdeps/generic/s_fmin.c: ...here.
6465 * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
6466 * sysdeps/generic/s_fminf.c: ...here.
6467 * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
6468 * sysdeps/generic/s_fminl.c: ...here.
6469 * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
6470 * sysdeps/generic/s_ldexp.c: ...here.
6471 * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
6472 * sysdeps/generic/s_ldexpf.c: ...here.
6473 * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
6474 * sysdeps/generic/s_ldexpl.c: ...here.
6475 * sysdeps/libm-ieee754/s_nan.c: Moved to ...
6476 * sysdeps/generic/s_nan.c: ...here.
6477 * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
6478 * sysdeps/generic/s_nanf.c: ...here.
6479 * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
6480 * sysdeps/generic/s_nanl.c: ...here.
6481 * sysdeps/libm-ieee754/s_significand.c: Moved to ...
6482 * sysdeps/generic/s_significand.c: ...here.
6483 * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
6484 * sysdeps/generic/s_significandf.c: ...here.
6485 * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
6486 * sysdeps/generic/s_significandl.c: ...here.
6487 Avoid conversion from int to double and then to long double.
6488 * sysdeps/libm-ieee754/w_acos.c: Moved to ...
6489 * math/w_acos.c: ...here.
6490 * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
6491 * math/w_acosf.c: ...here.
6492 * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
6493 * math/w_acosh.c: ...here.
6494 * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
6495 * math/w_acoshf.c: ...here.
6496 * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
6497 * math/w_acoshl.c: ...here.
6498 * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
6499 * math/w_acosl.c: ...here.
6500 * sysdeps/libm-ieee754/w_asin.c: Moved to ...
6501 * math/w_asin.c: ...here.
6502 * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
6503 * math/w_asinf.c: ...here.
6504 * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
6505 * math/w_asinl.c: ...here.
6506 * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
6507 * math/w_atan2.c: ...here.
6508 * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
6509 * math/w_atan2f.c: ...here.
6510 * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
6511 * math/w_atan2l.c: ...here.
6512 * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
6513 * math/w_atanh.c: ...here.
6514 * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
6515 * math/w_atanhf.c: ...here.
6516 * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
6517 * math/w_atanhl.c: ...here.
6518 * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
6519 * math/w_cosh.c: ...here.
6520 * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
6521 * math/w_coshf.c: ...here.
6522 * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
6523 * math/w_coshl.c: ...here.
6524 * sysdeps/libm-ieee754/w_drem.c: Moved to ...
6525 * math/w_drem.c: ...here.
6526 * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
6527 * math/w_dremf.c: ...here.
6528 * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
6529 * math/w_dreml.c: ...here.
6530 * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
6531 * math/w_exp10.c: ...here.
6532 * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
6533 * math/w_exp10f.c: ...here.
6534 * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
6535 * math/w_exp10l.c: ...here.
6536 * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
6537 * math/w_exp2.c: ...here.
6538 * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
6539 * math/w_exp2f.c: ...here.
6540 * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
6541 * math/w_exp2l.c: ...here.
6542 * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
6543 * math/w_fmod.c: ...here.
6544 * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
6545 * math/w_fmodf.c: ...here.
6546 * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
6547 * math/w_fmodl.c: ...here.
6548 * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
6549 * math/w_hypot.c: ...here.
6550 * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
6551 * math/w_hypotf.c: ...here.
6552 * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
6553 * math/w_hypotl.c: ...here.
6554 * sysdeps/libm-ieee754/w_j0.c: Moved to ...
6555 * math/w_j0.c: ...here.
6556 * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
6557 * math/w_j0f.c: ...here.
6558 * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
6559 * math/w_j0l.c: ...here.
6560 * sysdeps/libm-ieee754/w_j1.c: Moved to ...
6561 * math/w_j1.c: ...here.
6562 * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
6563 * math/w_j1f.c: ...here.
6564 * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
6565 * math/w_j1l.c: ...here.
6566 * sysdeps/libm-ieee754/w_jn.c: Moved to ...
6567 * math/w_jn.c: ...here.
6568 * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
6569 * math/w_jnf.c: ...here.
6570 * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
6571 * math/w_jnl.c: ...here.
6572 * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
6573 * math/w_lgamma.c: ...here.
6574 * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
6575 * math/w_lgamma_r.c: ...here.
6576 * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
6577 * math/w_lgammaf.c: ...here.
6578 * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
6579 * math/w_lgammaf_r.c: ...here.
6580 * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
6581 * math/w_lgammal.c: ...here.
6582 * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
6583 * math/w_lgammal_r.c: ...here.
6584 * sysdeps/libm-ieee754/w_log.c: Moved to ...
6585 * math/w_log.c: ...here.
6586 * sysdeps/libm-ieee754/w_log10.c: Moved to ...
6587 * math/w_log10.c: ...here.
6588 * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
6589 * math/w_log10f.c: ...here.
6590 * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
6591 * math/w_log10l.c: ...here.
6592 * sysdeps/libm-ieee754/w_logf.c: Moved to ...
6593 * math/w_logf.c: ...here.
6594 * sysdeps/libm-ieee754/w_logl.c: Moved to ...
6595 * math/w_logl.c: ...here.
6596 * sysdeps/libm-ieee754/w_pow.c: Moved to ...
6597 * math/w_pow.c: ...here.
6598 * sysdeps/libm-ieee754/w_powf.c: Moved to ...
6599 * math/w_powf.c: ...here.
6600 * sysdeps/libm-ieee754/w_powl.c: Moved to ...
6601 * math/w_powl.c: ...here.
6602 * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
6603 * math/w_remainder.c: ...here.
6604 * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
6605 * math/w_remainderf.c: ...here.
6606 * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
6607 * math/w_remainderl.c: ...here.
6608 * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
6609 * math/w_scalb.c: ...here.
6610 * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
6611 * math/w_scalbf.c: ...here.
6612 * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
6613 * math/w_scalbl.c: ...here.
6614 * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
6615 * math/w_sinh.c: ...here.
6616 * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
6617 * math/w_sinhf.c: ...here.
6618 * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
6619 * math/w_sinhl.c: ...here.
6620 * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
6621 * math/w_sqrt.c: ...here.
6622 * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
6623 * math/w_sqrtf.c: ...here.
6624 * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
6625 * math/w_sqrtl.c: ...here.
6626 * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
6627 * math/w_tgamma.c: ...here.
6628 * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
6629 * math/w_tgammaf.c: ...here.
6630 * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
6631 * math/w_tgammal.c: ...here.
6632 * sysdeps/libm-i387/e_acos.S: Moved to ...
6633 * sysdeps/i386/fpu/e_acos.S: ...here.
6634 * sysdeps/libm-i387/e_acosf.S: Moved to ...
6635 * sysdeps/i386/fpu/e_acosf.S: ...here.
6636 * sysdeps/libm-i387/e_acosh.S: Moved to ...
6637 * sysdeps/i386/fpu/e_acosh.S: ...here.
6638 * sysdeps/libm-i387/e_acoshf.S: Moved to ...
6639 * sysdeps/i386/fpu/e_acoshf.S: ...here.
6640 * sysdeps/libm-i387/e_acoshl.S: Moved to ...
6641 * sysdeps/i386/fpu/e_acoshl.S: ...here.
6642 * sysdeps/libm-i387/e_acosl.S: Moved to ...
6643 * sysdeps/i386/fpu/e_acosl.S: ...here.
6644 * sysdeps/libm-i387/e_asin.S: Moved to ...
6645 * sysdeps/i386/fpu/e_asin.S: ...here.
6646 * sysdeps/libm-i387/e_asinf.S: Moved to ...
6647 * sysdeps/i386/fpu/e_asinf.S: ...here.
6648 * sysdeps/libm-i387/e_asinl.S: Moved to ...
6649 * sysdeps/i386/fpu/e_asinl.S: ...here.
6650 * sysdeps/libm-i387/e_atan2.S: Moved to ...
6651 * sysdeps/i386/fpu/e_atan2.S: ...here.
6652 * sysdeps/libm-i387/e_atan2f.S: Moved to ...
6653 * sysdeps/i386/fpu/e_atan2f.S: ...here.
6654 * sysdeps/libm-i387/e_atan2l.S: Moved to ...
6655 * sysdeps/i386/fpu/e_atan2l.S: ...here.
6656 * sysdeps/libm-i387/e_atanh.S: Moved to ...
6657 * sysdeps/i386/fpu/e_atanh.S: ...here.
6658 * sysdeps/libm-i387/e_atanhf.S: Moved to ...
6659 * sysdeps/i386/fpu/e_atanhf.S: ...here.
6660 * sysdeps/libm-i387/e_atanhl.S: Moved to ...
6661 * sysdeps/i386/fpu/e_atanhl.S: ...here.
6662 * sysdeps/libm-i387/e_exp.S: Moved to ...
6663 * sysdeps/i386/fpu/e_exp.S: ...here.
6664 * sysdeps/libm-i387/e_exp10.S: Moved to ...
6665 * sysdeps/i386/fpu/e_exp10.S: ...here.
6666 * sysdeps/libm-i387/e_exp10f.S: Moved to ...
6667 * sysdeps/i386/fpu/e_exp10f.S: ...here.
6668 * sysdeps/libm-i387/e_exp10l.S: Moved to ...
6669 * sysdeps/i386/fpu/e_exp10l.S: ...here.
6670 * sysdeps/libm-i387/e_expf.S: Moved to ...
6671 * sysdeps/i386/fpu/e_expf.S: ...here.
6672 * sysdeps/libm-i387/e_expl.S: Moved to ...
6673 * sysdeps/i386/fpu/e_expl.S: ...here.
6674 * sysdeps/libm-i387/e_fmod.S: Moved to ...
6675 * sysdeps/i386/fpu/e_fmod.S: ...here.
6676 * sysdeps/libm-i387/e_fmodf.S: Moved to ...
6677 * sysdeps/i386/fpu/e_fmodf.S: ...here.
6678 * sysdeps/libm-i387/e_fmodl.S: Moved to ...
6679 * sysdeps/i386/fpu/e_fmodl.S: ...here.
6680 * sysdeps/libm-i387/e_hypot.S: Moved to ...
6681 * sysdeps/i386/fpu/e_hypot.S: ...here.
6682 * sysdeps/libm-i387/e_hypotf.S: Moved to ...
6683 * sysdeps/i386/fpu/e_hypotf.S: ...here.
6684 * sysdeps/libm-i387/e_log.S: Moved to ...
6685 * sysdeps/i386/fpu/e_log.S: ...here.
6686 * sysdeps/libm-i387/e_log10.S: Moved to ...
6687 * sysdeps/i386/fpu/e_log10.S: ...here.
6688 * sysdeps/libm-i387/e_log10f.S: Moved to ...
6689 * sysdeps/i386/fpu/e_log10f.S: ...here.
6690 * sysdeps/libm-i387/e_log10l.S: Moved to ...
6691 * sysdeps/i386/fpu/e_log10l.S: ...here.
6692 * sysdeps/libm-i387/e_logf.S: Moved to ...
6693 * sysdeps/i386/fpu/e_logf.S: ...here.
6694 * sysdeps/libm-i387/e_logl.S: Moved to ...
6695 * sysdeps/i386/fpu/e_logl.S: ...here.
6696 * sysdeps/libm-i387/e_pow.S: Moved to ...
6697 * sysdeps/i386/fpu/e_pow.S: ...here.
6698 * sysdeps/libm-i387/e_powf.S: Moved to ...
6699 * sysdeps/i386/fpu/e_powf.S: ...here.
6700 * sysdeps/libm-i387/e_powl.S: Moved to ...
6701 * sysdeps/i386/fpu/e_powl.S: ...here.
6702 * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
6703 * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
6704 * sysdeps/libm-i387/e_remainder.S: Moved to ...
6705 * sysdeps/i386/fpu/e_remainder.S: ...here.
6706 * sysdeps/libm-i387/e_remainderf.S: Moved to ...
6707 * sysdeps/i386/fpu/e_remainderf.S: ...here.
6708 * sysdeps/libm-i387/e_remainderl.S: Moved to ...
6709 * sysdeps/i386/fpu/e_remainderl.S: ...here.
6710 * sysdeps/libm-i387/e_scalb.S: Moved to ...
6711 * sysdeps/i386/fpu/e_scalb.S: ...here.
6712 * sysdeps/libm-i387/e_scalbf.S: Moved to ...
6713 * sysdeps/i386/fpu/e_scalbf.S: ...here.
6714 * sysdeps/libm-i387/e_scalbl.S: Moved to ...
6715 * sysdeps/i386/fpu/e_scalbl.S: ...here.
6716 * sysdeps/libm-i387/e_sqrt.S: Moved to ...
6717 * sysdeps/i386/fpu/e_sqrt.S: ...here.
6718 * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
6719 * sysdeps/i386/fpu/e_sqrtf.S: ...here.
6720 * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
6721 * sysdeps/i386/fpu/e_sqrtl.S: ...here.
6722 * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
6723 * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
6724 * sysdeps/libm-i387/s_asinh.S: Moved to ...
6725 * sysdeps/i386/fpu/s_asinh.S: ...here.
6726 * sysdeps/libm-i387/s_asinhf.S: Moved to ...
6727 * sysdeps/i386/fpu/s_asinhf.S: ...here.
6728 * sysdeps/libm-i387/s_asinhl.S: Moved to ...
6729 * sysdeps/i386/fpu/s_asinhl.S: ...here.
6730 * sysdeps/libm-i387/s_atan.S: Moved to ...
6731 * sysdeps/i386/fpu/s_atan.S: ...here.
6732 * sysdeps/libm-i387/s_atanf.S: Moved to ...
6733 * sysdeps/i386/fpu/s_atanf.S: ...here.
6734 * sysdeps/libm-i387/s_atanl.S: Moved to ...
6735 * sysdeps/i386/fpu/s_atanl.S: ...here.
6736 * sysdeps/libm-i387/s_cbrt.S: Moved to ...
6737 * sysdeps/i386/fpu/s_cbrt.S: ...here.
6738 * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
6739 * sysdeps/i386/fpu/s_cbrtf.S: ...here.
6740 * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
6741 * sysdeps/i386/fpu/s_cbrtl.S: ...here.
6742 * sysdeps/libm-i387/s_ceil.S: Moved to ...
6743 * sysdeps/i386/fpu/s_ceil.S: ...here.
6744 * sysdeps/libm-i387/s_ceilf.S: Moved to ...
6745 * sysdeps/i386/fpu/s_ceilf.S: ...here.
6746 * sysdeps/libm-i387/s_ceill.S: Moved to ...
6747 * sysdeps/i386/fpu/s_ceill.S: ...here.
6748 * sysdeps/libm-i387/s_cexp.S: Moved to ...
6749 * sysdeps/i386/fpu/s_cexp.S: ...here.
6750 * sysdeps/libm-i387/s_cexpf.S: Moved to ...
6751 * sysdeps/i386/fpu/s_cexpf.S: ...here.
6752 * sysdeps/libm-i387/s_cexpl.S: Moved to ...
6753 * sysdeps/i386/fpu/s_cexpl.S: ...here.
6754 * sysdeps/libm-i387/s_copysign.S: Moved to ...
6755 * sysdeps/i386/fpu/s_copysign.S: ...here.
6756 * sysdeps/libm-i387/s_copysignf.S: Moved to ...
6757 * sysdeps/i386/fpu/s_copysignf.S: ...here.
6758 * sysdeps/libm-i387/s_copysignl.S: Moved to ...
6759 * sysdeps/i386/fpu/s_copysignl.S: ...here.
6760 * sysdeps/libm-i387/s_cos.S: Moved to ...
6761 * sysdeps/i386/fpu/s_cos.S: ...here.
6762 * sysdeps/libm-i387/s_cosf.S: Moved to ...
6763 * sysdeps/i386/fpu/s_cosf.S: ...here.
6764 * sysdeps/libm-i387/s_cosl.S: Moved to ...
6765 * sysdeps/i386/fpu/s_cosl.S: ...here.
6766 * sysdeps/libm-i387/s_exp2.S: Moved to ...
6767 * sysdeps/i386/fpu/s_exp2.S: ...here.
6768 * sysdeps/libm-i387/s_exp2f.S: Moved to ...
6769 * sysdeps/i386/fpu/s_exp2f.S: ...here.
6770 * sysdeps/libm-i387/s_exp2l.S: Moved to ...
6771 * sysdeps/i386/fpu/s_exp2l.S: ...here.
6772 * sysdeps/libm-i387/s_expm1.S: Moved to ...
6773 * sysdeps/i386/fpu/s_expm1.S: ...here.
6774 * sysdeps/libm-i387/s_expm1f.S: Moved to ...
6775 * sysdeps/i386/fpu/s_expm1f.S: ...here.
6776 * sysdeps/libm-i387/s_expm1l.S: Moved to ...
6777 * sysdeps/i386/fpu/s_expm1l.S: ...here.
6778 * sysdeps/libm-i387/s_fdim.S: Moved to ...
6779 * sysdeps/i386/fpu/s_fdim.S: ...here.
6780 * sysdeps/libm-i387/s_fdimf.S: Moved to ...
6781 * sysdeps/i386/fpu/s_fdimf.S: ...here.
6782 * sysdeps/libm-i387/s_fdiml.S: Moved to ...
6783 * sysdeps/i386/fpu/s_fdiml.S: ...here.
6784 * sysdeps/libm-i387/s_finite.S: Moved to ...
6785 * sysdeps/i386/fpu/s_finite.S: ...here.
6786 * sysdeps/libm-i387/s_finitef.S: Moved to ...
6787 * sysdeps/i386/fpu/s_finitef.S: ...here.
6788 * sysdeps/libm-i387/s_finitel.S: Moved to ...
6789 * sysdeps/i386/fpu/s_finitel.S: ...here.
6790 * sysdeps/libm-i387/s_floor.S: Moved to ...
6791 * sysdeps/i386/fpu/s_floor.S: ...here.
6792 * sysdeps/libm-i387/s_floorf.S: Moved to ...
6793 * sysdeps/i386/fpu/s_floorf.S: ...here.
6794 * sysdeps/libm-i387/s_floorl.S: Moved to ...
6795 * sysdeps/i386/fpu/s_floorl.S: ...here.
6796 * sysdeps/libm-i387/s_fma.S: Moved to ...
6797 * sysdeps/i386/fpu/s_fma.S: ...here.
6798 * sysdeps/libm-i387/s_fmaf.S: Moved to ...
6799 * sysdeps/i386/fpu/s_fmaf.S: ...here.
6800 * sysdeps/libm-i387/s_fmal.S: Moved to ...
6801 * sysdeps/i386/fpu/s_fmal.S: ...here.
6802 * sysdeps/libm-i387/s_fmax.S: Moved to ...
6803 * sysdeps/i386/fpu/s_fmax.S: ...here.
6804 * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
6805 * sysdeps/i386/fpu/s_fmaxf.S: ...here.
6806 * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
6807 * sysdeps/i386/fpu/s_fmaxl.S: ...here.
6808 * sysdeps/libm-i387/s_fmin.S: Moved to ...
6809 * sysdeps/i386/fpu/s_fmin.S: ...here.
6810 * sysdeps/libm-i387/s_fminf.S: Moved to ...
6811 * sysdeps/i386/fpu/s_fminf.S: ...here.
6812 * sysdeps/libm-i387/s_fminl.S: Moved to ...
6813 * sysdeps/i386/fpu/s_fminl.S: ...here.
6814 * sysdeps/libm-i387/s_frexp.S: Moved to ...
6815 * sysdeps/i386/fpu/s_frexp.S: ...here.
6816 * sysdeps/libm-i387/s_frexpf.S: Moved to ...
6817 * sysdeps/i386/fpu/s_frexpf.S: ...here.
6818 * sysdeps/libm-i387/s_frexpl.S: Moved to ...
6819 * sysdeps/i386/fpu/s_frexpl.S: ...here.
6820 * sysdeps/libm-i387/s_ilogb.S: Moved to ...
6821 * sysdeps/i386/fpu/s_ilogb.S: ...here.
6822 * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
6823 * sysdeps/i386/fpu/s_ilogbf.S: ...here.
6824 * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
6825 * sysdeps/i386/fpu/s_ilogbl.S: ...here.
6826 * sysdeps/libm-i387/s_llrint.S: Moved to ...
6827 * sysdeps/i386/fpu/s_llrint.S: ...here.
6828 * sysdeps/libm-i387/s_llrintf.S: Moved to ...
6829 * sysdeps/i386/fpu/s_llrintf.S: ...here.
6830 * sysdeps/libm-i387/s_llrintl.S: Moved to ...
6831 * sysdeps/i386/fpu/s_llrintl.S: ...here.
6832 * sysdeps/libm-i387/s_log1p.S: Moved to ...
6833 * sysdeps/i386/fpu/s_log1p.S: ...here.
6834 * sysdeps/libm-i387/s_log1pf.S: Moved to ...
6835 * sysdeps/i386/fpu/s_log1pf.S: ...here.
6836 * sysdeps/libm-i387/s_log1pl.S: Moved to ...
6837 * sysdeps/i386/fpu/s_log1pl.S: ...here.
6838 * sysdeps/libm-i387/s_log2.S: Moved to ...
6839 * sysdeps/i386/fpu/s_log2.S: ...here.
6840 * sysdeps/libm-i387/s_log2f.S: Moved to ...
6841 * sysdeps/i386/fpu/s_log2f.S: ...here.
6842 * sysdeps/libm-i387/s_log2l.S: Moved to ...
6843 * sysdeps/i386/fpu/s_log2l.S: ...here.
6844 * sysdeps/libm-i387/s_logb.S: Moved to ...
6845 * sysdeps/i386/fpu/s_logb.S: ...here.
6846 * sysdeps/libm-i387/s_logbf.S: Moved to ...
6847 * sysdeps/i386/fpu/s_logbf.S: ...here.
6848 * sysdeps/libm-i387/s_logbl.S: Moved to ...
6849 * sysdeps/i386/fpu/s_logbl.S: ...here.
6850 * sysdeps/libm-i387/s_lrint.S: Moved to ...
6851 * sysdeps/i386/fpu/s_lrint.S: ...here.
6852 * sysdeps/libm-i387/s_lrintf.S: Moved to ...
6853 * sysdeps/i386/fpu/s_lrintf.S: ...here.
6854 * sysdeps/libm-i387/s_lrintl.S: Moved to ...
6855 * sysdeps/i386/fpu/s_lrintl.S: ...here.
6856 * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
6857 * sysdeps/i386/fpu/s_nearbyint.S: ...here.
6858 * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
6859 * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
6860 * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
6861 * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
6862 * sysdeps/libm-i387/s_remquo.S: Moved to ...
6863 * sysdeps/i386/fpu/s_remquo.S: ...here.
6864 * sysdeps/libm-i387/s_remquof.S: Moved to ...
6865 * sysdeps/i386/fpu/s_remquof.S: ...here.
6866 * sysdeps/libm-i387/s_remquol.S: Moved to ...
6867 * sysdeps/i386/fpu/s_remquol.S: ...here.
6868 * sysdeps/libm-i387/s_rint.S: Moved to ...
6869 * sysdeps/i386/fpu/s_rint.S: ...here.
6870 * sysdeps/libm-i387/s_rintf.S: Moved to ...
6871 * sysdeps/i386/fpu/s_rintf.S: ...here.
6872 * sysdeps/libm-i387/s_rintl.S: Moved to ...
6873 * sysdeps/i386/fpu/s_rintl.S: ...here.
6874 * sysdeps/libm-i387/s_scalbn.S: Moved to ...
6875 * sysdeps/i386/fpu/s_scalbn.S: ...here.
6876 * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
6877 * sysdeps/i386/fpu/s_scalbnf.S: ...here.
6878 * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
6879 * sysdeps/i386/fpu/s_scalbnl.S: ...here.
6880 * sysdeps/libm-i387/s_significand.S: Moved to ...
6881 * sysdeps/i386/fpu/s_significand.S: ...here.
6882 * sysdeps/libm-i387/s_significandf.S: Moved to ...
6883 * sysdeps/i386/fpu/s_significandf.S: ...here.
6884 * sysdeps/libm-i387/s_significandl.S: Moved to ...
6885 * sysdeps/i386/fpu/s_significandl.S: ...here.
6886 * sysdeps/libm-i387/s_sin.S: Moved to ...
6887 * sysdeps/i386/fpu/s_sin.S: ...here.
6888 * sysdeps/libm-i387/s_sincos.S: Moved to ...
6889 * sysdeps/i386/fpu/s_sincos.S: ...here.
6890 * sysdeps/libm-i387/s_sincosf.S: Moved to ...
6891 * sysdeps/i386/fpu/s_sincosf.S: ...here.
6892 * sysdeps/libm-i387/s_sincosl.S: Moved to ...
6893 * sysdeps/i386/fpu/s_sincosl.S: ...here.
6894 * sysdeps/libm-i387/s_sinf.S: Moved to ...
6895 * sysdeps/i386/fpu/s_sinf.S: ...here.
6896 * sysdeps/libm-i387/s_sinl.S: Moved to ...
6897 * sysdeps/i386/fpu/s_sinl.S: ...here.
6898 * sysdeps/libm-i387/s_tan.S: Moved to ...
6899 * sysdeps/i386/fpu/s_tan.S: ...here.
6900 * sysdeps/libm-i387/s_tanf.S: Moved to ...
6901 * sysdeps/i386/fpu/s_tanf.S: ...here.
6902 * sysdeps/libm-i387/s_tanl.S: Moved to ...
6903 * sysdeps/i386/fpu/s_tanl.S: ...here.
6904 * sysdeps/libm-i387/s_trunc.S: Moved to ...
6905 * sysdeps/i386/fpu/s_trunc.S: ...here.
6906 * sysdeps/libm-i387/s_truncf.S: Moved to ...
6907 * sysdeps/i386/fpu/s_truncf.S: ...here.
6908 * sysdeps/libm-i387/s_truncl.S: Moved to ...
6909 * sysdeps/i386/fpu/s_truncl.S: ...here.
6910 * sysdeps/libm-ieee754/k_standard.c: Moved to ...
6911 * sysdeps/ieee754/k_standard.c: ...here.
6912 * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
6913 * sysdeps/ieee754/s_lib_version.c: ...here.
6914 * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
6915 * sysdeps/ieee754/s_matherr.c: ...here.
6916 * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
6917 * sysdeps/ieee754/s_signgam.c: ...here.
6918 * sysdeps/ieee754/dbl2mpn.c: Moved to ...
6919 * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
6920 * sysdeps/ieee754/mpn2dbl.c: Moved to ...
6921 * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
6922 * sysdeps/libm-ieee754/e_acos.c: Moved to ...
6923 * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
6924 * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
6925 * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
6926 * sysdeps/libm-ieee754/e_asin.c: Moved to ...
6927 * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
6928 * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
6929 * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
6930 * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
6931 * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
6932 * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
6933 * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
6934 * sysdeps/libm-ieee754/e_exp.c: Moved to ...
6935 * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
6936 * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
6937 * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
6938 * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
6939 * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
6940 * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
6941 * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
6942 * sysdeps/libm-ieee754/e_j0.c: Moved to ...
6943 * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
6944 * sysdeps/libm-ieee754/e_j1.c: Moved to ...
6945 * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
6946 * sysdeps/libm-ieee754/e_jn.c: Moved to ...
6947 * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
6948 * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
6949 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
6950 * sysdeps/libm-ieee754/e_log.c: Moved to ...
6951 * sysdeps/ieee754/dbl-64/e_log.c: ...here.
6952 * sysdeps/libm-ieee754/e_log10.c: Moved to ...
6953 * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
6954 * sysdeps/libm-ieee754/e_pow.c: Moved to ...
6955 * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
6956 * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
6957 * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
6958 * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
6959 * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
6960 * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
6961 * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
6962 * sysdeps/libm-ieee754/k_cos.c: Moved to ...
6963 * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
6964 * sysdeps/libm-ieee754/k_sin.c: Moved to ...
6965 * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
6966 * sysdeps/libm-ieee754/k_tan.c: Moved to ...
6967 * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
6968 * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
6969 * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
6970 * sysdeps/libm-ieee754/s_atan.c: Moved to ...
6971 * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
6972 * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
6973 * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
6974 * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
6975 * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
6976 * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
6977 * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
6978 * sysdeps/libm-ieee754/s_cos.c: Moved to ...
6979 * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
6980 * sysdeps/libm-ieee754/s_erf.c: Moved to ...
6981 * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
6982 * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
6983 * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
6984 * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
6985 * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
6986 * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
6987 * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
6988 * sysdeps/libm-ieee754/s_finite.c: Moved to ...
6989 * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
6990 * sysdeps/libm-ieee754/s_floor.c: Moved to ...
6991 * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
6992 * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
6993 * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
6994 * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
6995 * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
6996 * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
6997 * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
6998 * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
6999 * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
7000 * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
7001 * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
7002 (__isnan): Comment above function says it returns 0 or 1, but it
7003 used to return 0 or -1.
7004 * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
7005 * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
7006 * sysdeps/libm-ieee754/s_llround.c: Moved to ...
7007 * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
7008 * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
7009 * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
7010 * sysdeps/libm-ieee754/s_log2.c: Moved to ...
7011 * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
7012 * sysdeps/libm-ieee754/s_logb.c: Moved to ...
7013 * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
7014 * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
7015 * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
7016 * sysdeps/libm-ieee754/s_lround.c: Moved to ...
7017 * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
7018 * sysdeps/libm-ieee754/s_modf.c: Moved to ...
7019 * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
7020 * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
7021 * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
7022 * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
7023 * sysdeps/generic/s_nextafter.c: ...here.
7024 Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
7025 * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
7026 * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
7027 * sysdeps/libm-ieee754/s_rint.c: Moved to ...
7028 * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
7029 * sysdeps/libm-ieee754/s_round.c: Moved to ...
7030 * sysdeps/ieee754/dbl-64/s_round.c: ...here.
7031 * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
7032 * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
7033 * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
7034 * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
7035 * sysdeps/libm-ieee754/s_sin.c: Moved to ...
7036 * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
7037 * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
7038 * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
7039 * sysdeps/libm-ieee754/s_tan.c: Moved to ...
7040 * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
7041 * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
7042 * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
7043 * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
7044 * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
7045 * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
7046 * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
7047 * sysdeps/libm-ieee754/w_exp.c: Moved to ...
7048 * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
7049 * sysdeps/ieee754/mpn2flt.c: Moved to ...
7050 * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
7051 * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
7052 * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
7053 * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
7054 * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
7055 * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
7056 * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
7057 * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
7058 * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
7059 * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
7060 * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
7061 * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
7062 * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
7063 * sysdeps/libm-ieee754/e_expf.c: Moved to ...
7064 * sysdeps/ieee754/flt-32/e_expf.c: ...here.
7065 * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
7066 * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
7067 * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
7068 * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
7069 * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
7070 * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
7071 * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
7072 * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
7073 * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
7074 * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
7075 * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
7076 * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
7077 * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
7078 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
7079 * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
7080 * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
7081 * sysdeps/libm-ieee754/e_logf.c: Moved to ...
7082 * sysdeps/ieee754/flt-32/e_logf.c: ...here.
7083 * sysdeps/libm-ieee754/e_powf.c: Moved to ...
7084 * sysdeps/ieee754/flt-32/e_powf.c: ...here.
7085 * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
7086 * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
7087 * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
7088 * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
7089 * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
7090 * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
7091 * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
7092 * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
7093 * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
7094 * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
7095 * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
7096 * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
7097 * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
7098 * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
7099 * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
7100 * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
7101 * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
7102 * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
7103 * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
7104 * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
7105 * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
7106 * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
7107 * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
7108 * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
7109 * sysdeps/libm-ieee754/s_erff.c: Moved to ...
7110 * sysdeps/ieee754/flt-32/s_erff.c: ...here.
7111 * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
7112 * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
7113 * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
7114 * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
7115 * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
7116 * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
7117 * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
7118 * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
7119 * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
7120 * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
7121 * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
7122 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
7123 * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
7124 * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
7125 * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
7126 * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
7127 * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
7128 * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
7129 * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
7130 * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
7131 * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
7132 * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
7133 * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
7134 * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
7135 * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
7136 * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
7137 * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
7138 * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
7139 * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
7140 * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
7141 * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
7142 * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
7143 * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
7144 * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
7145 * sysdeps/libm-ieee754/s_modff.c: Moved to ...
7146 * sysdeps/ieee754/flt-32/s_modff.c: ...here.
7147 * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
7148 * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
7149 * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
7150 * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
7151 * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
7152 * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
7153 * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
7154 * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
7155 * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
7156 * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
7157 * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
7158 * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
7159 * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
7160 * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
7161 * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
7162 * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
7163 * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
7164 * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
7165 * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
7166 * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
7167 * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
7168 * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
7169 * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
7170 * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
7171 * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
7172 * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
7173 * sysdeps/libm-ieee754/w_expf.c: Moved to ...
7174 * sysdeps/ieee754/flt-32/w_expf.c: ...here.
7175 * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
7176 * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
7177 * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
7178 * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
7179 * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
7180 * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
7181 * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
7182 * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
7183 * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
7184 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
7185 * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
7186 * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
7187 * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
7188 * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
7189 * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
7190 * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
7191 * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
7192 * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
7193 * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
7194 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
7195 * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
7196 * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
7197 * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
7198 * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
7199 * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
7200 * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
7201 * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
7202 * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
7203 * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
7204 * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
7205 * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
7206 * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
7207 * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
7208 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
7209 * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
7210 * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
7211 * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
7212 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
7213 * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
7214 * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
7215 * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
7216 * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
7217 * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
7218 * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
7219 * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
7220 * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
7221 * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
7222 * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
7223 * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
7224 * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
7225 (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
7227 * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
7228 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
7229 (__nearbyintl): Fix for exponents 2^30.
7230 * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
7231 * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
7232 * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
7233 * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
7234 (__rintl): Fix for exponents 2^30.
7235 * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
7236 * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
7237 * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
7238 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
7239 (__scalbnl): Fix exponent for subnormal result.
7240 * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
7241 * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
7242 * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
7243 * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
7244 * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
7245 * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
7246 * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
7247 * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
7248 * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
7249 * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
7250 * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
7251 * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
7252 * sysdeps/libm-ieee754/w_expl.c: Moved to ...
7253 * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
7254 * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
7255 * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
7256 * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
7257 * sysdeps/i386/fpu/s_scalblnf.c: ...here.
7258 * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
7259 * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
7260 * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
7261 * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
7262 * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
7263 * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
7264 * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
7265 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
7266 * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
7267 * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
7268 * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
7269 * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
7270 * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
7271 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
7272 * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
7273 * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
7274 * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
7275 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
7276 * sysdeps/libm-i387/s_scalbln.c: Moved to ...
7277 * sysdeps/i386/fpu/s_scalbln.c: ...here.
7278 * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
7279 * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
7280 * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
7281 * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
7282 * sysdeps/libm-i387/t_exp.c: Moved to ...
7283 * sysdeps/i386/fpu/t_exp.c: ...here.
7284 * sysdeps/libm-ieee754/t_exp.c: Moved to ...
7285 * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
7286 * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
7287 * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
7288 * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
7289 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
7290 * sysdeps/libm-i387/s_isinfl.c: Moved to ...
7291 * sysdeps/i386/fpu/s_isinfl.c: ...here.
7292 * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
7293 * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
7294 * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
7295 * sysdeps/i386/fpu/s_scalblnl.c: ...here.
7296 * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
7297 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
7298 Fix exponent for subnormal result.
7299 * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
7300 * sysdeps/generic/s_nexttowardl.c: ...here.
7301 * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
7302 * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
7303 * sysdeps/libm-i387/s_isnanl.c: Moved to ...
7304 * sysdeps/i386/fpu/s_isnanl.c: ...here.
7305 * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
7306 * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
7307 Comment above function says it returns 0 or 1, but it used to return
7309 * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
7310 * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
7311 * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
7312 * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
7313 * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
7314 * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
7315 * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
7316 * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
7317 * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
7318 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
7319 Cannot compare exponents with different biases without adjusting.
7320 * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
7321 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
7322 Cannot compare exponents with different biases without adjusting.
7323 * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
7324 * sysdeps/i386/fpu/s_nextafterl.c: ...here.
7325 * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
7326 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
7327 * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
7328 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
7329 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
7330 * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
7331 * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
7332 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
7333 * sysdeps/libm-ieee754/Dist: Split into ...
7334 * sysdeps/ieee754/dbl-64/Dist: ...this and ...
7335 * sysdeps/ieee754/flt-32/Dist: ...this file.
7337 * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
7338 * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
7339 * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
7340 * sysdeps/ieee754/ldbl-96/strtold.c: New file.
7341 * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
7342 * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
7343 * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
7344 * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
7345 * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
7346 * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
7347 * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
7348 * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
7349 * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
7350 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
7351 * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
7352 * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
7353 * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
7354 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
7355 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
7356 * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
7357 * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
7358 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
7359 * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
7360 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
7361 * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
7362 * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
7363 * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
7364 * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
7365 * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
7366 * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
7367 * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
7368 * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
7369 * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
7370 * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
7371 * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
7372 * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
7373 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
7374 * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
7375 * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
7376 * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
7377 * sysdeps/ieee754/ldbl-128/strtold.c: New file.
7378 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
7379 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
7380 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
7381 * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
7382 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
7383 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
7385 * sysdeps/generic/math_ldbl.h: New file.
7386 * sysdeps/generic/s_nexttowardf.c: New file.
7387 * sysdeps/generic/strtold.c: New file.
7388 * sysdeps/generic/ldbl2mpn.c: New file.
7390 * math/machine/endian.h: Remove.
7391 * sysdeps/i386/fpu/Implies: Remove.
7392 * sysdeps/ieee754/Implies: Remove.
7394 * math/math_private.h: Move long double macros to math_ldbl.h
7397 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
7399 * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
7400 connections without a hostname set address to localhost address.
7402 1999-07-11 H.J. Lu <hjl@gnu.org>
7404 * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
7405 nscd's own strong version of the get[a-z]*_r function.
7406 * nscd/hstcache.c: Likewise.
7407 * nscd/pwdcache.c: Likewise.
7409 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
7411 * configure.in: Recognize 2.95 as gcc version number.
7412 Patch by Joel Klecker <jk@espy.org>.
7414 1999-07-12 Andreas Schwab <schwab@suse.de>
7416 * elf/rtld.c (dl_main): When putting back the interpreter object
7417 handle the case where a missing object might occur in the list of
7418 objects but not in the search list when in trace mode.
7420 1999-07-11 Ulrich Drepper <drepper@cygnus.com>
7422 * Versions.def (libnss_hesiod): Add GLIBC_2.2.
7423 * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
7424 _nss_hesiod_initgroups.
7426 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
7428 * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
7429 (_hurd_set_brk, init_brk): Use that instead of &__data_start.
7430 Initialize it from &__data_start if defined, or else &_end.
7432 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
7434 * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
7435 for MAP_ANON, prot==PROT_READ|PROT_WRITE.
7437 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
7439 * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
7441 1999-07-09 H.J. Lu <hjl@gnu.org>
7443 * Versions.def (GLIBC_2.1.2): Added.
7445 * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
7446 old one as GLIBC_2.0.
7447 * nss/getXXbyYY_r.c: Likewise.
7449 * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
7451 * inet/Versions (getaliasbyname_r, getaliasent_r,
7452 gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
7453 gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
7454 getnetgrent_r, getprotobyname_r, getprotobynumber_r,
7455 getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
7456 getservbyname_r): Likewise.
7457 * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
7458 * shadow/Versions (getspent_r, getspnam_r): Likewise.
7460 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
7462 * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
7464 (__memset_cc): Likewise.
7466 * sysdeps/generic/libc-start.c: For SUID binaries check whether
7467 the standard file descriptors are open.
7468 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
7470 * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
7471 * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
7472 range of mmap. If not fail.
7473 Patches by Daniel Jacobowitz <dan@debian.org>.
7475 * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
7476 before the relocation happened.
7477 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
7479 * Versions.def (libnsl): Add GLIBC_2.2.
7480 * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
7482 1999-07-08 Cristian Gafton <gafton@redhat.com>
7484 * nis/yp_xdr.c (xdr_ypall): New function.
7486 1999-07-09 Andreas Schwab <schwab@suse.de>
7488 * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
7490 * dlfcn/Makefile (headers): Add bits/dlfcn.h.
7492 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
7494 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
7495 * hesiod/hesiod-grp.c: Add initgroups support.
7496 Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
7498 1999-07-08 Andreas Schwab <schwab@suse.de>
7500 * libio/iofopncook.c (fopencookie): Set _fileno to -2.
7502 * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
7505 * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
7507 * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
7509 1999-07-08 Andreas Schwab <schwab@suse.de>
7511 * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
7513 1999-07-08 Andreas Schwab <schwab@suse.de>
7515 * libio/fileno.c: Return -1 instead of EOF and set errno if the
7516 stream is not a real file stream.
7518 1999-07-08 Andreas Schwab <schwab@suse.de>
7520 * manual/charset.texi: Fix typos.
7522 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
7524 * sysdeps/gnu/Makefile (libdl-routines): Add eval.
7526 1999-07-06 Zack Weinberg <zack@rabi.columbia.edu>
7528 * dlfcn: New directory. Move the following files from elf:
7529 dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
7530 dlopenold.c, dlsym.c, dlvsym.c.
7531 * dlfcn/Makefile: New file.
7532 * dlfcn/Versions: New file.
7533 * dlfcn/dlsym.c: All ELF-specific code split out to new
7535 * dlfcn/dlvsym.c: All ELF-specific code split out to new
7537 * elf/dl-sym.c: New file. _dl_sym and _dl_vsym are
7540 * dlfcn/dladdr.c: Remove all references to ELF data structures
7542 * dlfcn/dlclose.c: Likewise.
7543 * dlfcn/dlerror.c: Likewise.
7544 * dlfcn/dlopen.c: Likewise.
7545 * dlfcn/dlopenold.c: Likewise.
7547 * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
7548 yes, empty otherwise.
7549 (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
7550 depending on build-shared.
7551 (subdirs): Add $(dlfcn).
7552 (rpath-dirs): Add dlfcn.
7553 * elf/Makefile: Remove all references to libdl or its
7554 components, except the ones relating to the test cases.
7555 (routines): Add dl-sym.
7556 * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
7559 * elf/dl-close.c (_dl_close): Change argument to void *.
7560 * elf/dl-open.c (_dl_open): Change return type to void *.
7561 * elf/eval.c: Removed.
7562 * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
7563 _dlerror_run, _dl_open, _dl_close, _dl_addr, and
7564 _dl_mcount_wrapper_check to include/dlfcn.h. Delete
7566 * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
7567 Include real header from dlfcn directory.
7568 * include/ldsodefs.h: Removed.
7570 * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
7571 * nss/getXXbyYY_r.c: Likewise.
7572 * nss/getXXent_r.c: Likewise.
7573 * iconv/gconv.c: Likewise. Don't include ldsodefs.h.
7574 * iconv/gconv_db.c: Likewise. Don't include ldsodefs.h.
7575 * iconv/skeleton.c: Don't include ldsodefs.h.
7576 * nss/nsswitch.h: Don't include ldsodefs.h. Include dlfcn.h.
7578 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
7580 * sysdeps/generic/setenv.c: Describe problem.
7582 * malloc/malloc.c (request2size): Also set errno if failing.
7584 * malloc/malloc.c (request2size): Take care of overflow in
7587 * sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd
7588 (NULL, != 0) correctly.
7590 * elf/dl-load.c: Use a few more __builtin_expect.
7592 * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
7595 1999-07-07 Andreas Schwab <schwab@suse.de>
7597 * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
7598 (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
7599 (_PATH_DEVPTMX): Use _PATH_DEV.
7601 1999-07-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7603 * malloc/tst-malloc.c: New file. Tests some basic functionality.
7604 * malloc/Makefile (tests): Add tst-malloc.
7606 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
7608 * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
7611 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
7613 Patch by Jay Estabrook.
7615 * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
7617 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
7618 Patch by Cristian Gafton.
7620 1999-07-02 Cristian Gafton <gafton@redhat.com>
7622 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
7623 instead of "return NULL" to make C++ happy.
7625 1999-07-04 Mark Kettenis <kettenis@gnu.org>
7627 * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
7628 allowed by the file access mode of the open file.
7630 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
7632 * sysdeps/generic/setfpucw.c: Include math.h to get all needed
7635 1999-07-03 Jakub Jelinek <jj@ultra.linux.cz>
7637 * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
7638 * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
7639 * sysdeps/sparc/sparc64/rshift.S: Likewise.
7640 * sysdeps/sparc/sparc64/mul_1.S: Optimize.
7642 1999-07-04 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
7644 * malloc/malloc.c (request2size): Check for overflow and return
7645 NULL whenever it is encountered.
7647 1999-07-04 Zack Weinberg <zack@rabi.columbia.edu>
7649 * sysdeps/posix/tempname.c (__gen_tempname): Add
7650 ability to create directories. Replace OPENIT and LARGEFILE
7651 args with a single flags parameter.
7652 * sysdeps/generic/tempname.c: Likewise.
7653 * include/stdio.h: Adjust prototype of __gen_tempname to
7654 match. Define symbolic constants for second argument.
7656 * misc/mkdtemp.c: New file, provides new function mkdtemp().
7657 * stdlib/stdlib.h: Prototype it.
7658 * misc/Versions: Export it.
7659 * misc/Makefile (routines): Add mktemp.
7660 * manual/filesys.texi: Document it.
7662 * misc/mktemp.c: Adjust call of __gen_tempname to match new
7664 * misc/mkstemp.c: Likewise.
7665 * stdio-common/tempnam.c: Likewise.
7666 * stdio-common/tmpfile.c: Likewise.
7667 * stdio-common/tmpfile64.c: Likewise.
7668 * stdio-common/tmpnam.c: Likewise.
7669 * stdio-common/tmpnam_r.c: Likewise.
7671 1999-07-05 Jakub Jelinek <jj@ultra.linux.cz>
7673 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
7674 R_SPARC_OLO10 relocations.
7675 * elf/elf.h (R_SPARC_OLO10): Fix comment.
7677 1999-07-02 Tim Waugh <tim@cyberelk.demon.co.uk>
7679 * posix/wordexp-test.c: Revert bogus 'unset IFS' change. It
7680 doesn't belong in the tests, but in the wordexp implementation.
7682 * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
7685 1999-07-01 Cristian Gafton <gafton@redhat.com>
7687 * time/strptime.c (strptime): Initialize the tm struct first to avoid
7688 returning bogus results on incomplete data.
7689 (strptime_internal): day_of_the_week() requres both tm_mon and
7690 tm_mday to be initialized.
7691 Compute them first if they are not given.
7692 (strptime_internal): (have_mon, have_mday): New variables.
7694 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7696 * inet/rcmd.c (__icheckhost): Fix typo in last patch.
7698 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7700 * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
7701 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7703 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7705 * posix/wordexp.c (parse_tilde): Handle failing call to
7706 get.*_r functions correctly for non-existing entry.
7707 * sysdeps/posix/cuserid.c (cuserid): Likewise.
7708 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
7710 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
7712 * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
7713 getxxbyYY_r functions correctly for non-existing entry.
7714 * sunrpc/getrpcport.c: Likewise.
7715 * sunrpc/clnt_simp.c: Likewise.
7716 * inet/rexec.c: Likewise.
7717 * sunrpc/clnt_gen.c: Likewise.
7718 * inet/rcmd.c: Likewise.
7719 * sysdeps/generic/glob.c: Likewise.
7721 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7723 * pwd/Makefile (tests): Add rules for tst-getpw.
7725 * pwd/tst-getpw.c: New program to test getpw.
7727 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7729 * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
7732 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7734 * manual/arith.texi (System V Number Conversion): Fix the
7735 description which confused pointer and value to pointer.
7736 Reported by Andries.Brouwer@cwi.nl.
7738 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7740 * pwd/getpw.c (__getpw): Check for NULL result pointer.
7742 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7744 * manual/users.texi (Lookup User): Document POSIX return
7745 semantics for getpwuid_r and getgrgid_r.
7747 * manual/socket.texi (Host Names): Document that the result
7748 pointer is null in case of error or host not found and fix a
7749 typo. Give a small example.
7751 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
7753 * pwd/getpw.c: Add warning since no buffer size is given and
7754 therefore no overrun tests are possible.
7756 1999-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7758 * pwd/pwd.h: Add getpw prototype declaration.
7760 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
7762 * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
7763 * wcsmbs/wcschr.c: Likewise.
7765 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
7767 * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
7769 * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
7770 * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
7771 Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
7773 * elf/dl-dst.h: Fix typo.
7774 * elf/dl-open.c: Likewise.
7776 1999-06-26 Zack Weinberg <zack@rabi.columbia.edu>
7778 * elf/dl-libc.c: New file, provides three functions:
7779 __libc_dlopen, __libc_dlclose, __libc_dlsym.
7780 * include/dlfcn.h: Prototype them. Prototype _dl_addr.
7781 * elf/Makefile (routines): Add dl-libc.c.
7782 * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
7784 * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
7786 * iconv/gconv.c: Include dlfcn.h.
7787 * iconv/gconv_db.c: Likewise.
7788 * malloc/mtrace.c: Likewise. Don't include ldsodefs.h.
7790 * iconv/gconv_int.h (struct __gconv_loaded_object): Change
7791 `handle' to a void *.
7792 (__gconv_find_func): Delete prototype.
7794 * iconv/gconv_dl.c: Don't include ldsodefs.h. Remove
7795 dlerror_run and related functions and structs. Use
7796 __libc_dlopen, __libc_dlsym, __libc_dlclose.
7797 * nss/nsswitch.c: Likewise.
7799 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
7801 * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
7804 * sunrpc/getrpcport.c: Test for gethostbyname_r function
7807 * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
7809 * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
7810 functions correctly.
7812 * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
7814 * inet/rcmd.c: Test for gethostbyname_r result correctly. Optimize
7817 * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
7819 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7821 * manual/string.texi (Copying and Concatenation): Mention that
7822 strndup is a GNU extension.
7824 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7826 * pwd/getpw.c (__getpw): Fix check for error return.
7828 1999-06-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7830 * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
7831 occurence of the aux object start with the current list entry, not
7832 the new one. Adjust tail pointer in the unique list. Explain how
7833 the meaning of the variables changes [PR libc/1168].
7835 1999-06-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7837 * sysdeps/m68k/fpu/Dist: New file.
7839 1999-06-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7841 * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
7843 * sysdeps/m68k/fpu/mathimpl.h: ... here. New file.
7844 * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
7845 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
7846 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
7847 * sysdeps/m68k/fpu/e_pow.c: Likewise.
7848 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
7849 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
7850 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
7851 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
7852 * sysdeps/m68k/fpu/s_csin.c: Likewise.
7853 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
7854 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
7855 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
7856 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
7857 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
7858 * sysdeps/m68k/fpu/s_modf.c: Likewise.
7860 1999-06-25 Roland McGrath <roland@baalperazim.frob.com>
7862 * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
7863 hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
7864 _EXTERN_INLINE, use a macro specific to each file,
7865 _HURD_FD_H_EXTERN_INLINE and the like.
7866 * hurd/Makefile (inline-headers): New variable.
7867 (routines): Remove hurdinline. Add $(inlines).
7868 (inlines): New variable.
7869 ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
7870 (generated): Append those here.
7871 * hurd/hurdinline.c: File removed.
7873 * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
7875 * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
7877 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7879 * nscd/connections.c (nscd_run): Use correct type for optlen variable.
7881 1999-06-25 Ulrich Drepper <drepper@cygnus.com>
7883 * string/bits/string2.h (strnlen): Remove extra prototype.
7885 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7887 * manual/filesys.texi (Working on Directory Trees): Fix typos.
7888 Reported by Andries.Brouwer@cwi.nl.
7890 1999-06-24 Ulrich Drepper <drepper@cygnus.com>
7892 * nscd/connections.c (handle_request): Use correct type for optlen
7895 * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
7896 * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
7898 1999-06-24 Thorsten Kukuk <kukuk@suse.de>
7900 * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
7901 * nscd/pwdcache.c: Likewise.
7902 * nscd/hstcache.c: Likewise.
7904 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
7906 * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
7908 * posix/getopt.h: Include stdio.h.
7910 * manual/arith.texi: Document restriction of ndigit parameter of
7912 * misc/efgcvt.c: Define NDIGIT_MAX.
7913 (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
7914 Do not dynamically allocate the static buffers. They are small enough.
7915 * misc/efgcvt_r.c: Define NDIGIT_MAX.
7916 (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
7917 * misc/qefgcvt.c: Define NDIGIT_MAX.
7918 * misc/qefgcvt_r.c: Likewise.
7919 * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
7921 1999-06-23 Zack Weinberg <zack@rabi.columbia.edu>
7923 * libio/stdio.h: Define stdin, stdout, stderr as macros.
7924 * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
7925 These are *pragmas* not macros.
7926 * wcsmbs/wchar.h: Fix comment.
7928 * grp/grp.h: Use __foo_t_defined convention to typedef things
7930 * io/sys/stat.h: Likewise.
7931 * libio/stdio.h: Likewise.
7932 * posix/unistd.h: Likewise.
7933 * posix/sys/types.h: Likewise.
7934 * posix/sys/wait.h: Likewise.
7935 * pwd/pwd.h: Likewise.
7936 * signal/signal.h: Likewise.
7937 * sysdeps/generic/stdint.h: Likewise.
7938 * sysdeps/gnu/utmpx.h: Likewise.
7939 * termios/termios.h: Likewise.
7941 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
7943 * stdio/fputc.c: Don't define alias if fputc is defined as a
7945 * stdio/putc.c: Define weak alias here since it is not done
7948 1999-06-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7950 * assert/assert.h: Don't produce `defined' as part of macro
7953 1999-06-23 Roland McGrath <roland@baalperazim.frob.com>
7955 * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
7956 OFFSET argument of (off_t) -1.
7957 * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
7958 OFFSET argument of (off_t) -1.
7960 * sysdeps/mach/hurd/pwrite.c: New file.
7961 * sysdeps/mach/hurd/pread.c: New file.
7963 * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
7964 pass it in the RPC instead of always -1.
7965 * hurd/fd-write.c (_hurd_fd_write): Likewise.
7966 * hurd/hurd/fd.h: Update decls.
7968 1999-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7970 * libio/wscanf.c: Include <wchar.h> for prototype.
7972 1999-06-22 Ulrich Drepper <drepper@cygnus.com>
7974 * manual/io.texi. Fix typos.
7975 * manual/stdio.texi: Likewise.
7976 Patches by Brian Youmans <3diff@gnu.org>.
7978 1999-06-22 Geoff Keating <geoffk@ozemail.com.au>
7980 * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
7981 bits of two words differ.
7983 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7985 * libio/Makefile (routines): Add putwchar and putwchar_u.
7987 * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
7988 * libio/putwchar_u.c: Likewise. Use _IO_stdout instead of
7989 stdout. Fix parameter name.
7991 * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
7992 * libio/getchar_u.c: Likewise.
7994 * libio/putchar_u.c: Use _IO_stdout instead of stdout.
7996 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7998 * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
7999 macro expansion---it's undefined. Properly parenthesize
8000 substituted parameters.
8001 (__GLIBC_PREREQ): Likewise.
8003 1999-06-21 Ulrich Drepper <drepper@cygnus.com>
8005 * Makeconfig (CPPFLAGS): Revert last change. It has too many
8008 * stdlib/longlong.h: Provide __P definition if not already
8011 * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
8013 1999-06-18 Thorsten Kukuk <kukuk@suse.de>
8015 * sysdeps/alpha/atomicity.h: Correct counting of subsections.
8017 1999-06-17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8019 * stdlib/tst-strtoll.c: Avoid warning about huge constant.
8021 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8023 * stdio-common/vfprintf.c (group_member): Make parameters and
8024 return types pointers to CHAR_T instead of UCHAR_T.
8025 (vfprintf): Change type of work_buffer, workend and string to
8026 CHAR_T pointer/array.
8027 (process_arg, process_string_arg): Adjust/remove casts. Add
8028 missing use of L_ macro.
8029 (printf_unknown): Add missing uses of L_ macro.
8031 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8033 * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
8036 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8038 * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF. Call
8039 _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
8040 (__wunderflow): Likewise.
8041 (_IO_switch_to_wget_mode): Likewise.
8042 (_IO_init_wmarker): Likewise.
8044 * libio/wfileops.c (_IO_wfile_seekoff): Call
8045 _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
8046 (_IO_wfile_jumps): Fix pbackfail entry.
8048 * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
8049 function if the stream is currently unoriented.
8051 1999-06-19 Zack Weinberg <zack@rabi.columbia.edu>
8053 * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
8054 Wrap all wide stream functions with #ifdef __USE_ISOC9X. Use
8055 __gnuc_va_list in v*w(printf|scanf) prototypes.
8057 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8059 * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
8060 1999-03-29 to iopopen also here.
8061 Reported by Richard Braakman <dark@xs4all.nl>.
8063 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8065 * include/features.h: Use __GNUC_PREREQ.
8066 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
8068 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8070 * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
8071 Change EOF to WEOF and remove cast.
8072 (UNGETC): Remove macro.
8073 (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
8074 * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
8075 Change ISASCII to isascii and MBRLEN to mbrlen.
8076 (parse_one_spec): Compare info.spec always against wchar_t
8078 * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
8079 (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
8080 (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
8082 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8084 * libio/Makefile (shared-only-routines): Add oldiofgetpos,
8085 oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
8086 (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
8087 oldiofsetpos64 only if doing versioning.
8089 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
8091 * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
8093 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8095 * libio/libio.h: Fix last patch.
8097 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
8099 * libio/libio.h (_IO_putwc): Correct type of first argument.
8100 * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
8101 putwc_unlocked, putwchar_unlocked): Likewise.
8102 * libio/fputwc.c: Likewise.
8103 * libio/fputwc_unlocked.c: Likewise.
8104 * libio/putwc.c: Likewise.
8105 * libio/putwc_unlocked.c: Likewise.
8106 * libio/putwchar.c: Likewise.
8107 * libio/putwchar_unlocked.c: Likewise.
8109 1999-06-19 Roland McGrath <roland@baalperazim.frob.com>
8111 * sysdeps/gnu/siglist.h: File moved to ...
8112 * sysdeps/generic/siglist.h: ... here. This file should be usable for
8113 any platform, since it just associates the SIG* macros with text names
8114 and descriptions. For any signal macros do not exist on every
8115 platform, we can use #ifdef tests here and still use this single
8116 common file for all platforms.
8117 * sysdeps/generic/siglist.c: Rewrite using <siglist.h>. This file
8118 should be usable for all platforms after the binary compatibility
8119 stuff in the current sysdeps/gnu version is no longer required.
8120 * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
8121 * sysdeps/generic/make_siglist.c: File removed.
8122 * sysdeps/mach/hurd/siglist.h: Use #include_next.
8123 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
8125 1999-06-16 Roland McGrath <roland@baalperazim.frob.com>
8127 * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
8128 * sysdeps/gnu/siglist.c: ... here.
8129 Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
8130 Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
8131 * sysdeps/gnu/siglist.h: New file, contents from linux version.
8132 Add entry for SIGLOST protected by #ifdef.
8133 * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
8134 and define OLD_SIGLIST_SIZE_STR.
8135 * sysdeps/mach/hurd/siglist.h: New file, likewise.
8137 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
8139 * include/features.h: Define new macros __GNUC_PREREQ and
8140 __GLIBC_PREREQ which can be used to test the version of gcc
8141 and glibc respectively.
8143 * assert/assert.h: Use __GNUC_PREREQ.
8144 * intl/libintl.h: Likewise.
8145 * math/complex.h: Likewise.
8146 * math/tgmath.h: Likewise.
8147 * misc/sys/cdefs.h: Likewise.
8148 * posix/sys/types.h: Likewise.
8149 * socket/sys/socket.h: Likewise.
8150 * string/bits/string2.h: Likewise.
8151 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
8152 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
8154 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
8156 * include/libintl.h: Declare _libc_intl_domainname here.
8157 Define _ and N_ here.
8158 * include/libc-symbols.h: Don't include <libintl.h>. Don't
8159 define _ and N_. Don't declare _libc_intl_domainname.
8160 * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
8162 * db2/config.h: Don't include sys/stat.h or define
8163 HAVE_ST_BLKSIZE here...
8164 * db2/compat.h: ...do it here.
8166 * linuxthreads/internals.h: Include bits/libc-tsd.h after all
8168 * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
8169 * iconv/iconv.c: Include stddef.h for NULL.
8170 * malloc/malloc.h: Include features.h.
8171 * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
8173 * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
8174 into the generated file.
8175 * sysdeps/gnu/errlist.awk: Likewise.
8176 * sysdeps/gnu/errlist.c: Rebuilt.
8178 * assert/assert-perr.c: Include libintl.h.
8179 * assert/assert.c: Likewise.
8180 * elf/dl-open.c: Likewise.
8181 * elf/dlsym.c: Likewise.
8182 * elf/dlvsym.c: Likewise.
8183 * iconv/iconv_prog.c: Likewise.
8184 * inet/rcmd.c: Likewise.
8185 * inet/ruserpass.c: Likewise.
8186 * locale/programs/charset.c: Likewise.
8187 * locale/programs/ld-collate.c: Likewise.
8188 * locale/programs/ld-ctype.c: Likewise.
8189 * locale/programs/ld-messages.c: Likewise.
8190 * locale/programs/ld-monetary.c: Likewise.
8191 * locale/programs/ld-numeric.c: Likewise.
8192 * locale/programs/ld-time.c: Likewise.
8193 * locale/programs/locfile.c: Likewise.
8194 * locale/programs/repertoire.c: Likewise.
8195 * login/programs/database.c: Likewise.
8196 * login/programs/request.c: Likewise.
8197 * malloc/mcheck.c: Likewise.
8198 * misc/error.c: Likewise.
8199 * nis/nis_call.c: Likewise.
8200 * nis/nis_callback.c: Likewise.
8201 * nis/nis_error.c: Likewise.
8202 * nis/nis_local_names.c: Likewise.
8203 * nis/nis_print.c: Likewise.
8204 * nis/nis_print_group_entry.c: Likewise.
8205 * nis/ypclnt.c: Likewise.
8206 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
8207 * nscd/cache.c: Likewise.
8208 * nscd/connections.c: Likewise.
8209 * nscd/grpcache.c: Likewise.
8210 * nscd/hstcache.c: Likewise.
8211 * nscd/nscd_conf.c: Likewise.
8212 * nscd/nscd_stat.c: Likewise.
8213 * nscd/pwdcache.c: Likewise.
8214 * posix/id.c: Likewise.
8215 * resolv/herror.c: Likewise.
8216 * stdio-common/psignal.c: Likewise.
8217 * string/strsignal.c: Likewise.
8218 * sunrpc/auth_unix.c: Likewise.
8219 * sunrpc/clnt_perr.c: Likewise.
8220 * sunrpc/clnt_raw.c: Likewise.
8221 * sunrpc/clnt_tcp.c: Likewise.
8222 * sunrpc/clnt_udp.c: Likewise.
8223 * sunrpc/clnt_unix.c: Likewise.
8224 * sunrpc/get_myaddr.c: Likewise.
8225 * sunrpc/pm_getmaps.c: Likewise.
8226 * sunrpc/pmap_clnt.c: Likewise.
8227 * sunrpc/pmap_rmt.c: Likewise.
8228 * sunrpc/rpc_main.c: Likewise.
8229 * sunrpc/rpc_scan.c: Likewise.
8230 * sunrpc/svc_run.c: Likewise.
8231 * sunrpc/svc_simple.c: Likewise.
8232 * sunrpc/svc_tcp.c: Likewise.
8233 * sunrpc/svc_udp.c: Likewise.
8234 * sunrpc/svc_unix.c: Likewise.
8235 * sunrpc/xdr_rec.c: Likewise.
8236 * sunrpc/xdr_ref.c: Likewise.
8237 * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
8238 * sysdeps/posix/gai_strerror.c: Likewise.
8239 * sysdeps/unix/siglist.c: Likewise.
8240 * sysdeps/unix/sysv/linux/siglist.c: Likewise.
8241 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
8242 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
8243 * timezone/zic.c: Likewise.
8245 1999-06-18 H.J. Lu <hjl@gnu.org>
8247 * localedata/Makefile (charmaps): Exclude SCCS.
8248 (locales): Likewise.
8249 (repertoiremaps): Likewise.
8251 1999-06-18 Ulrich Drepper <drepper@cygnus.com>
8253 * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
8254 * sysdeps/generic/bsd-setjmp.c: Likewise.
8256 * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
8258 * iconv/gconv_open.c: Include string.h for memset prototype.
8260 * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
8263 * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
8264 assignment to avoid warning on 64bit platforms.
8266 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
8268 * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
8270 * nss/getXXbyYY_r.c: Return error code not -1.
8271 * nss/getXXent_r.c: Likewise.
8272 * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
8274 * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
8275 value > 0 for error.
8276 * nscd/nscd_gethst_r.c: Likewise.
8277 * nscd/nscd_getpw_r.c: Likewise.
8279 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8281 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
8284 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8286 * nscd/nscd_nischeck.c: Fix typos.
8288 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
8290 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
8291 always when oact is NULL.
8292 Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
8294 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8296 * math/libm-test.c (jn_test): Adjust delta.
8298 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8300 * libio/vwprintf.c: Include <wchar.h> for prototypes.
8301 * libio/wprintf.c: Likewise.
8303 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8305 * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
8306 to not write beyond allocated memory.
8307 Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
8309 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
8311 * malloc/mtrace.c: Keep lock while printing output lines.
8312 Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
8314 1999-06-16 Ulrich Drepper <drepper@cygnus.com>
8316 * configure.in: Add warnings about broken code.
8318 * Versions.def: Add GLIBC_2.2 for libc.
8320 * iconv/gconv.h: Make header suitable for inclusion in public header
8321 by protecting all names with __.
8322 * iconv/gconv.c: Adapt for symbol name changes.
8323 * iconv/gconv.h: Likewise.
8324 * iconv/gconv_builtin.c: Likewise.
8325 * iconv/gconv_close.c: Likewise.
8326 * iconv/gconv_db.c: Likewise.
8327 * iconv/gconv_dl.c: Likewise.
8328 * iconv/gconv_int.h: Likewise.
8329 * iconv/gconv_open.c: Likewise.
8330 * iconv/gconv_simple.c: Likewise.
8331 * iconv/iconv.c: Likewise.
8332 * iconv/iconv_close.c: Likewise.
8333 * iconv/iconv_open.c: Likewise.
8334 * iconv/loop.c: Likewise.
8335 * iconv/skeleton.c: Likewise.
8336 * iconvdata/8bit-gap.c: Likewise.
8337 * iconvdata/8bit-generic.c: Likewise.
8338 * iconvdata/ansi_x3.110.c: Likewise.
8339 * iconvdata/big5.c: Likewise.
8340 * iconvdata/cns11643.h: Likewise.
8341 * iconvdata/cns11643l1.h: Likewise.
8342 * iconvdata/euc-cn.c: Likewise.
8343 * iconvdata/euc-jp.c: Likewise.
8344 * iconvdata/euc-kr.c: Likewise.
8345 * iconvdata/euc-tw.c: Likewise.
8346 * iconvdata/gb2312.h: Likewise.
8347 * iconvdata/iso-2022-jp.c: Likewise.
8348 * iconvdata/iso-2022-kr.c: Likewise.
8349 * iconvdata/iso646.c: Likewise.
8350 * iconvdata/iso8859-1.c: Likewise.
8351 * iconvdata/iso_6937-2.c: Likewise.
8352 * iconvdata/iso_6937.c: Likewise.
8353 * iconvdata/jis0201.h: Likewise.
8354 * iconvdata/jis0208.h: Likewise.
8355 * iconvdata/jis0212.h: Likewise.
8356 * iconvdata/johab.c: Likewise.
8357 * iconvdata/ksc5601.h: Likewise.
8358 * iconvdata/sjis.c: Likewise.
8359 * iconvdata/t.61.c: Likewise.
8360 * iconvdata/uhc.c: Likewise.
8361 * stdlib/mblen.c: Likewise.
8362 * stdlib/mbtowc.c: Likewise.
8363 * stdlib/wctomb.c: Likewise.
8364 * wcsmbs/btowc.c: Likewise.
8365 * wcsmbs/mbrtowc.c: Likewise.
8366 * wcsmbs/mbsnrtowcs.c: Likewise.
8367 * wcsmbs/mbsrtowcs.c: Likewise.
8368 * wcsmbs/wchar.h: Likewise.
8369 * wcsmbs/wcrtomb.c: Likewise.
8370 * wcsmbs/wcsmbsload.c: Likewise.
8371 * wcsmbs/wcsmbsload.h: Likewise.
8372 * wcsmbs/wcsnrtombs.c: Likewise.
8373 * wcsmbs/wcsrtombs.c: Likewise.
8374 * wcsmbs/wctob.c: Likewise.
8376 * include/limits.h (MB_LEN_MAX): Increase to 16.
8378 * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct. Define
8380 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
8381 * include/wchar.h: Change mbstate_t to __mbstate_t.
8383 * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
8384 oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
8385 getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
8386 iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
8387 putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
8388 vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
8390 (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
8391 * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
8392 _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
8393 fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
8394 fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
8395 getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
8396 putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
8397 vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
8399 * libio/libio.h: Define codecvt struct. Define _IO_wide_data.
8400 Extend _IO_file contain pointer to codecvt, widedata and mode.
8401 (_IO_getwc_unlocked): New macro.
8402 (_IO_putwc_unlocked): New macro.
8403 (_IO_fwide): New macro.
8404 * libio/libioP.h: Add new prototypes and adjust existing declarations.
8405 * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
8406 buffers based on mode.
8407 (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
8409 (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
8410 flag to be enough to signal unallocated buffer. For wide oriented
8411 stream don't make it linebuffered. Don't use _IO_do_flush, use
8412 _IO_new_do_write directly.
8413 (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
8414 (_IO_file_seek): Likewise.
8415 * libio/genops.c (_IO_least_marker): Make global.
8416 (__underflow): Orient stream if not already done.
8417 (__uflow): Likewise.
8418 (_IO_default_seekpos): Change to type _IO_off64_t.
8419 (_IO_default_seekoff): Likewise.
8420 (_IO_default_seek): Likewise.
8421 (_IO_no_init): New function. Similar to _IO_init but allows to orient
8423 * libio/iolibio.h: Add prototype for _IO_vswprintf. Change _IO_pos_BAD
8425 * libio/ftello.c: Use _IO_off_t. For now abort when use with wide
8427 * libio/ftello64.c: Likewise.
8428 * libio/ioftell.c: Likewise.
8429 * libio/iofopncook.c: Likewise.
8430 * libio/ioseekoff.c: Likewise.
8431 * libio/ioseekpos.c: Likewise.
8432 * libio/oldfileops.c: Likewise.
8433 * libio/iofgetpos.c: Store state of conversion if necessary.
8434 * libio/iofgetpos64.c: Likewise.
8435 * libio/iofsetpos.c: Restore conversion state if necessary.
8436 * libio/iofsetpos64.c: Likewise.
8437 * libio/iofdopen.c: Initialize so that stream can be wide oriented.
8438 * libio/iofopen.c: Likewise.
8439 * libio/iofopen64.c: Likewise.
8440 * libio/iopopen.c: Likewise.
8441 * libio/iovdprintf.c: Likewise.
8442 * libio/iovsprintf.c: Likewise.
8443 * libio/iovsscanf.c: Likewise.
8444 * libio/memstream.c: Likewise.
8445 * libio/obprintf.c: Likewise.
8446 * libio/iofputs.c: Orient stream if not already happened.
8447 * libio/iofputs_u.c: Likewise.
8448 * libio/iofwrite.c: Likewise.
8449 * libio/iofwrite_u.c: Likewise.
8450 * libio/ioputs.c: Likewise.
8451 * libio/iosetbuffer.c: Handle not yet oriented stream.
8452 * libio/iosetvbuf.c: Likewise.
8453 * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
8454 * libio/stdfiles.c: Likewise.
8455 * libio/strops.c (_IO_str_overflow): Correctly free buffer after
8457 (_IO_str_seekoff): Use _IO_off64_t.
8458 * libio/vasprintf.c: Pre-orient stream.
8459 * libio/vsnprintf.c: Likewise.
8460 * libio/fputwc.c: New file.
8461 * libio/fputwc_u.c: New file.
8462 * libio/fwprintf.c: New file.
8463 * libio/fwscanf.c: New file.
8464 * libio/getwc.c: New file.
8465 * libio/getwc_u.c: New file.
8466 * libio/getwchar.c: New file.
8467 * libio/getwchar_u.c: New file.
8468 * libio/iofgetws.c: New file.
8469 * libio/iofgetws_u.c: New file.
8470 * libio/iofputws.c: New file.
8471 * libio/iofputws_u.c: New file.
8472 * libio/iofwide.c: New file.
8473 * libio/iogetwline.c: New file.
8474 * libio/ioungetwc.c: New file.
8475 * libio/iovswscanf.c: New file.
8476 * libio/iowpadn.c: New file.
8477 * libio/oldiofgetpos.c: New file.
8478 * libio/oldiofgetpos64.c: New file.
8479 * libio/oldiofsetpos.c: New file.
8480 * libio/oldiofsetpos64.c: New file.
8481 * libio/putwc.c: New file.
8482 * libio/putwc_u.c: New file.
8483 * libio/putwchar.c: New file.
8484 * libio/putwchar_u.c: New file.
8485 * libio/swprintf.c: New file.
8486 * libio/swscanf.c: New file.
8487 * libio/tst_swprintf.c: New file.
8488 * libio/tst_swscanf.c: New file.
8489 * libio/tst_wprintf.c: New file.
8490 * libio/tst_wscanf.c: New file.
8491 * libio/tst_wscanf.input: New file.
8492 * libio/vswprintf.c: New file.
8493 * libio/vwprintf.c: New file.
8494 * libio/vwscanf.c: New file.
8495 * libio/wfiledoalloc.c: New file.
8496 * libio/wfileops.c: New file.
8497 * libio/wgenops.c: New file.
8498 * libio/wprintf.c: New file.
8499 * libio/wscanf.c: New file.
8500 * libio/wstrops.c: New file.
8501 * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
8502 vfwprintf, and vfwscanf.
8503 * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
8505 * stdio-common/_itowa.c: New file.
8506 * stdio-common/_itowa.h: New file.
8507 * stdio-common/itoa-digits.c: Minimal optimization.
8508 * stdio-common/itowa-digits.c: New file.
8509 * stdio-common/printf-parse.h: Allow use in wide character context.
8510 * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
8511 * stdio-common/printf.h (printf_info): Add wide bit.
8512 * stdio-common/printf_fp.c: Determine from wide bit whether stream
8513 is wide oriented or not.
8514 * stdio-common/printf_size.c: Likewise.
8515 * sysdeps/generic/printf_fphex.c: Likewise.
8516 * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
8517 * stdio-common/vfprintf.c: Rewrite to allow use in wide character
8519 * stdio-common/vfscand.c: Likewise.
8520 * stdio-common/vfwprintf.c: New file.
8521 * stdio-common/vfwscanf.c: New file.
8523 * time/Makefile (routines): Add wcsftime.
8524 (tests): Add tst_wcsftime.
8525 * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
8526 * time/strftime.c: Make usable as wcsftime.
8527 * time/wcsftime.c: New file.
8528 * time/tst_wcsftime.c: New file.
8530 * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
8531 * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
8532 * wcsmbs/wcschrnul.c: New file.
8533 * wcsmbs/wmemcpy.c: New file.
8534 * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
8535 * wcsmbs/wmemmove.c: Likewise for wmemmove.
8537 * manual/stdio.texi: Document is_char and wide element if printf_info.
8539 * manual/time.texi: Document wcsftime.
8541 * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
8542 __wmemmove, __wcschrnul, and __vfwscanf.
8544 * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
8545 * locale/C-time.c: Adapt for above change.
8546 * locale/categories.def: Likewise.
8547 * locale/localeinfo.h: Likewise.
8548 * localedata/Makefile: Don't run tests for now.
8550 * manual/errno.texi: Fix typos.
8551 * manual/memory.texi: Likewise.
8552 * manual/ctype.texi: Likewise.
8553 Patches by Brian Youmans <3diff@gnu.org>.
8555 1999-06-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8557 * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
8559 1999-06-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8561 * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
8563 * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
8564 * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
8566 1999-06-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8568 * db2/db/db.c: Restore __nss_db_open alias.
8569 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
8571 * db2/os/os_rw.c (__os_write): Maintain const correctness.
8572 * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
8574 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
8576 * stdio-common/printf-parse.h (parse_one_spec): Don't set
8577 is_longlong if not necessary.
8579 1999-06-15 H.J. Lu <hjl@gnu.org>
8581 * Make-dist (sysdep_dirs): Exclude SCCS.
8582 * MakeTAGS (sysdep_dirs): Likewise.
8584 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
8586 * posix/regex.c (re_error_msgid): Remove extra commas.
8588 1999-06-14 Geoff Keating <geoffk@ozemail.com.au>
8590 * stdlib/tst-strtoll.c: New file.
8591 * stdlib/Makefile (tests): Add tst-strtoll.c
8592 * stdlib/strtol.c: It is not generally true that if
8593 (unsigned)a*(unsigned)b overflows, then the result is
8596 1999-06-14 Thorsten Kukuk <kukuk@suse.de>
8598 * nscd/connections.c (handle_request): Only root is allowed to
8599 send GETSTAT request in non secure mode.
8600 * nscd/nscd.c: Print error message if other then root try to
8603 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8605 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
8607 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8609 * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
8610 Closes PR libc/1164, reported by sascha@schumann.2ns.de.
8612 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8614 * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
8615 for character to search, to help the compiler.
8616 * sysdeps/generic/strchrnul.c: Likewise.
8617 * sysdeps/generic/memchr.c: Likewise.
8618 * sysdeps/generic/memccpy.c: Likewise.
8619 * sysdeps/generic/rawmemchr.c: Likewise. Fix comment.
8621 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8623 * sysdeps/m68k/memchr.S: New file.
8624 * sysdeps/m68k/rawmemchr.S: New file.
8625 * sysdeps/m68k/strchr.S: New file.
8626 * sysdeps/m68k/strchrnul.S: New file.
8628 1999-06-13 Geoff Keating <geoffk@ozemail.com.au>
8630 * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
8631 add `memory' clobber; optimise for constant `val'.
8632 (atomic_add): Likewise.
8633 (test_and_set): Remove `volatile'; add `memory' clobber; be more
8634 like the original `test_and_set'.
8635 (compare_and_swap): Remove `volatile'; add `memory' clobber;
8636 optimise for constant `oldval'.
8637 (always_swap): Remove `volatile'; add `memory' clobber.
8639 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8641 * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
8642 functions for gcc <= 2.7.x.
8644 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
8646 * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
8649 1999-06-13 Ulrich Drepper <drepper@cygnus.com>
8651 * db2/Makefile (distribute): Remove files which do not exist
8654 * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
8655 definitions to calm down gcc.
8657 * db2/db.h: Update from db 2.7.5.
8658 * db2/db_185.h: Likewise.
8659 * db2/db_int.h: Likewise.
8660 * db2/btree/bt_compare.c: Likewise.
8661 * db2/btree/bt_conv.c: Likewise.
8662 * db2/btree/bt_curadj.c: Likewise.
8663 * db2/btree/bt_cursor.c: Likewise.
8664 * db2/btree/bt_delete.c: Likewise.
8665 * db2/btree/bt_open.c: Likewise.
8666 * db2/btree/bt_page.c: Likewise.
8667 * db2/btree/bt_put.c: Likewise.
8668 * db2/btree/bt_rec.c: Likewise.
8669 * db2/btree/bt_recno.c: Likewise.
8670 * db2/btree/bt_rsearch.c: Likewise.
8671 * db2/btree/bt_search.c: Likewise.
8672 * db2/btree/bt_split.c: Likewise.
8673 * db2/btree/bt_stat.c: Likewise.
8674 * db2/btree/btree_auto.c: Likewise.
8675 * db2/common/db_appinit.c: Likewise.
8676 * db2/common/db_apprec.c: Likewise.
8677 * db2/common/db_err.c: Likewise.
8678 * db2/common/db_region.c: Likewise.
8679 * db2/common/db_salloc.c: Likewise.
8680 * db2/db/db.c: Likewise.
8681 * db2/db/db.src: Likewise.
8682 * db2/db/db_am.c: Likewise.
8683 * db2/db/db_auto.c: Likewise.
8684 * db2/db/db_dispatch.c: Likewise.
8685 * db2/db/db_dup.c: Likewise.
8686 * db2/db/db_iface.c: Likewise.
8687 * db2/db/db_join.c: Likewise.
8688 * db2/db/db_overflow.c: Likewise.
8689 * db2/db/db_pr.c: Likewise.
8690 * db2/db/db_rec.c: Likewise.
8691 * db2/db/db_ret.c: Likewise.
8692 * db2/db185/db185.c: Likewise.
8693 * db2/dbm/dbm.c: Likewise.
8694 * db2/hash/hash.c: Likewise.
8695 * db2/hash/hash_auto.c: Likewise.
8696 * db2/hash/hash_dup.c: Likewise.
8697 * db2/hash/hash_page.c: Likewise.
8698 * db2/hash/hash_rec.c: Likewise.
8699 * db2/hash/hash_stat.c: Likewise.
8700 * db2/include/btree.h: Likewise.
8701 * db2/include/btree_ext.h: Likewise.
8702 * db2/include/clib_ext.h: Likewise.
8703 * db2/include/common_ext.h: Likewise.
8704 * db2/include/db_am.h: Likewise.
8705 * db2/include/db_auto.h: Likewise.
8706 * db2/include/db_cxx.h: Likewise.
8707 * db2/include/db_ext.h: Likewise.
8708 * db2/include/db_join.h: Likewise.
8709 * db2/include/db_page.h: Likewise.
8710 * db2/include/hash.h: Likewise.
8711 * db2/include/hash_ext.h: Likewise.
8712 * db2/include/lock.h: Likewise.
8713 * db2/include/lock_ext.h: Likewise.
8714 * db2/include/log.h: Likewise.
8715 * db2/include/log_ext.h: Likewise.
8716 * db2/include/mp.h: Likewise.
8717 * db2/include/mp_ext.h: Likewise.
8718 * db2/include/os.h: Likewise.
8719 * db2/include/os_ext.h: Likewise.
8720 * db2/include/os_func.h: Likewise.
8721 * db2/include/txn.h: Likewise.
8722 * db2/include/txn_auto.h: Likewise.
8723 * db2/include/txn_ext.h: Likewise.
8724 * db2/include/xa.h: Likewise.
8725 * db2/include/xa_ext.h: Likewise.
8726 * db2/lock/lock.c: Likewise.
8727 * db2/lock/lock_conflict.c: Likewise.
8728 * db2/lock/lock_deadlock.c: Likewise.
8729 * db2/lock/lock_region.c: Likewise.
8730 * db2/lock/lock_util.c: Likewise.
8731 * db2/log/log.c: Likewise.
8732 * db2/log/log_archive.c: Likewise.
8733 * db2/log/log_auto.c: Likewise.
8734 * db2/log/log_findckp.c: Likewise.
8735 * db2/log/log_get.c: Likewise.
8736 * db2/log/log_put.c: Likewise.
8737 * db2/log/log_rec.c: Likewise.
8738 * db2/log/log_register.c: Likewise.
8739 * db2/mp/mp_bh.c: Likewise.
8740 * db2/mp/mp_fget.c: Likewise.
8741 * db2/mp/mp_fopen.c: Likewise.
8742 * db2/mp/mp_fput.c: Likewise.
8743 * db2/mp/mp_fset.c: Likewise.
8744 * db2/mp/mp_open.c: Likewise.
8745 * db2/mp/mp_pr.c: Likewise.
8746 * db2/mp/mp_region.c: Likewise.
8747 * db2/mp/mp_sync.c: Likewise.
8748 * db2/mutex/mutex.c: Likewise.
8749 * db2/mutex/uts4_cc.s: Likewise.
8750 * db2/os/os_abs.c: Likewise.
8751 * db2/os/os_alloc.c: Likewise.
8752 * db2/os/os_config.c: Likewise.
8753 * db2/os/os_dir.c: Likewise.
8754 * db2/os/os_fid.c: Likewise.
8755 * db2/os/os_fsync.c: Likewise.
8756 * db2/os/os_map.c: Likewise.
8757 * db2/os/os_oflags.c: Likewise.
8758 * db2/os/os_open.c: Likewise.
8759 * db2/os/os_rw.c: Likewise.
8760 * db2/os/os_seek.c: Likewise.
8761 * db2/os/os_sleep.c: Likewise.
8762 * db2/os/os_spin.c: Likewise.
8763 * db2/os/os_stat.c: Likewise.
8764 * db2/os/os_tmpdir.c: Likewise.
8765 * db2/os/os_unlink.c: Likewise.
8766 * db2/progs/db_archive/db_archive.c: Likewise.
8767 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
8768 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
8769 * db2/progs/db_dump/db_dump.c: Likewise.
8770 * db2/progs/db_load/db_load.c: Likewise.
8771 * db2/progs/db_printlog/README: Likewise.
8772 * db2/progs/db_printlog/commit.awk: Likewise.
8773 * db2/progs/db_printlog/count.awk: Likewise.
8774 * db2/progs/db_printlog/db_printlog.c: Likewise.
8775 * db2/progs/db_printlog/pgno.awk: Likewise.
8776 * db2/progs/db_printlog/range.awk: Likewise.
8777 * db2/progs/db_printlog/status.awk: Likewise.
8778 * db2/progs/db_printlog/txn.awk: Likewise.
8779 * db2/progs/db_recover/db_recover.c: Likewise.
8780 * db2/progs/db_stat/db_stat.c: Likewise.
8781 * db2/txn/txn.c: Likewise.
8782 * db2/txn/txn.src: Likewise.
8783 * db2/txn/txn_auto.c: Likewise.
8784 * db2/txn/txn_rec.c: Likewise.
8785 * db2/xa/xa.c: Likewise.
8786 * db2/xa/xa_db.c: Likewise.
8787 * db2/xa/xa_map.c: Likewise.
8789 * db2/btree/bt_close.c: Removed.
8790 * db2/db/db_thread.c: Likewise.
8791 * db2/hash/hash_debug.c: Likewise.
8792 * db2/include/db.h.src: Likewise.
8793 * db2/include/db_int.h.src: Likewise.
8794 * db2/include/os_jump.h: Likewise.
8795 * db2/mutex/alpha.dec: Likewise.
8796 * db2/mutex/alpha.gcc: Likewise.
8797 * db2/mutex/parisc.hp: Likewise.
8798 * db2/mutex/uts4.cc.s: Likewise.
8800 * db2/Makefile: Add new routines, remove old for 2.7.5.
8801 * db2/Versions: Add internal function names for the helper programs.
8802 * db2/makedb.c: Update for new cursor callback.
8803 * Versions.def: Define versions for libdb.
8805 1999-06-13 Thorsten Kukuk <kukuk@suse.de>
8807 * nscd/connections.c (nscd_run): Get user ID for all non-db services.
8808 * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
8809 * nscd/nscd_nischeck.c: New file.
8810 * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
8812 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8814 * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
8815 MSG_* flags from Linux 2.2.9.
8817 1999-06-12 Mark Kettenis <kettenis@gnu.org>
8819 * Makeconfig (static-start-installed-name): Set to
8820 $(start-installed-name) if not defined.
8821 (+link-static): Use $(static-start-installed-name) instead of
8822 $(start-installed-name).
8823 * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
8826 1999-06-12 Mark Kettenis <kettenis@gnu.org>
8828 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
8829 inserting a send right into the child instead of unconditionally
8830 copying the send right.
8832 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
8834 * locale/lc-time.c: Add free_mem function to free if necessary
8835 statically allocated memory.
8837 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
8839 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
8840 bias from the raw exponent.
8842 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
8844 * inet/arpa/tftp.h: Move attribute declaration in right position.
8846 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
8848 * nscd/nscd.c: Add -S options for separate caching of data for
8849 every user. So one user couldn't see the data another user
8850 has gotten with his credentials.
8851 * nscd/nscd.h: Add new prototypes.
8852 * nscd/cache.c: Compare owner of cache entry if in secure mode.
8853 * nscd/connections.c: Check on shutdown if caller really was root.
8854 In secure mode get uid of caller.
8855 * nscd/grpcache.c: Add support for new secure group mode.
8856 * nscd/hstcache.c: Add support for new secure hosts mode.
8857 * nscd/pwdcache.c: Add support for new secure passwd mode.
8859 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
8861 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
8862 of user-provided buffer.
8864 1999-06-11 Mark Kettenis <kettenis@gnu.org>
8866 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
8867 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
8869 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
8871 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
8874 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
8875 returning after last entry.
8876 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
8878 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
8880 * misc/sysexits.h: Remove advertising clause of copyright.
8881 * resolv/getnetnamadr.c: Likewise.
8882 * sysdeps/vax/bcopy.s: Likewise.
8883 * sysdeps/vax/bzero.s: Likewise.
8884 * sysdeps/vax/ffs.s: Likewise.
8885 * sysdeps/vax/memchr.s: Likewise.
8886 * sysdeps/vax/memcmp.s: Likewise.
8887 * sysdeps/vax/memmove.s: Likewise.
8888 * sysdeps/vax/memset.s: Likewise.
8889 * sysdeps/vax/strcat.s: Likewise.
8890 * sysdeps/vax/strchr.s: Likewise.
8891 * sysdeps/vax/strcmp.s: Likewise.
8892 * sysdeps/vax/strcpy.s: Likewise.
8893 * sysdeps/vax/strcspn.s: Likewise.
8894 * sysdeps/vax/strlen.s: Likewise.
8895 * sysdeps/vax/strncat.s: Likewise.
8896 * sysdeps/vax/strncmp.s: Likewise.
8897 * sysdeps/vax/strncpy.s: Likewise.
8898 * sysdeps/vax/strpbrk.s: Likewise.
8899 * sysdeps/vax/strrchr.s: Likewise.
8900 * sysdeps/vax/strsep.s: Likewise.
8901 * sysdeps/vax/strspn.s: Likewise.
8902 * sysdeps/vax/strstr.s: Likewise.
8904 * libio/iofopncook.c: Adjust for renaming of structure elements.
8905 * libio/libio.h: Define cookie functions with all the names.
8907 * pwd/fgetpwent_r.c: Set errno in the correct way.
8908 * shadow/fgetspent_r.c: Likewise.
8909 * pwd/fgetpwent.c: Handle long lines correctly. Little
8910 optimizations. Free static buffer when debugging memory handling.
8911 * shadow/fgetspent.c: Likewise.
8913 * grp/fgetgrent.c: Little optimization in loop.
8915 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8917 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
8920 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
8922 * stdlib/longlong.h: gas changed sethi handling when without
8923 %hi(). Fix assembly.
8924 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
8925 port specific cache id checks.
8926 * sysdeps/generic/dl-cache.h: New file.
8927 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
8929 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
8931 * gmon/gmon.c: Remove advertising clause of copyright.
8932 * gmon/mcount.c: Likewise.
8933 * gmon/sys/gmon.h: Likewise.
8934 * inet/arpa/ftp.h: Likewise.
8935 * inet/arpa/telnet.h: Likewise.
8936 * inet/arpa/tftp.h: Likewise.
8937 * inet/inet_lnaof.c: Likewise.
8938 * inet/inet_mkadr.c: Likewise.
8939 * inet/inet_net.c: Likewise.
8940 * inet/inet_netof.c: Likewise.
8941 * inet/protocols/routed.h: Likewise.
8942 * inet/protocols/rwhod.h: Likewise.
8943 * inet/protocols/talkd.h: Likewise.
8944 * inet/protocols/timed.h: Likewise.
8945 * inet/rcmd.c: Likewise.
8946 * inet/rexec.c: Likewise.
8947 * inet/ruserpass.c: Likewise.
8948 * io/fts.c: Likewise.
8949 * io/fts.h: Likewise.
8950 * login/login_tty.c: Likewise.
8951 * misc/fstab.h: Likewise.
8952 * misc/getttyent.c: Likewise.
8953 * misc/getusershell.c: Likewise.
8954 * misc/sys/queue.h: Likewise.
8955 * misc/sys/syslog.h: Likewise.
8956 * misc/syslog.c: Likewise.
8957 * misc/ttyent.h: Likewise.
8958 * misc/ttyslot.c: Likewise.
8959 * resolv/arpa/nameser.h: Likewise.
8960 * resolv/gethnamaddr.c: Likewise.
8961 * resolv/herror.c: Likewise.
8962 * resolv/inet_addr.c: Likewise.
8963 * resolv/mapv4v6addr.h: Likewise.
8964 * resolv/mapv4v6hostent.h: Likewise.
8965 * resolv/nss_dns/dns-host.c: Likewise.
8966 * resolv/nss_dns/dns-network.c: Likewise.
8967 * resolv/res_comp.c: Likewise.
8968 * resolv/res_data.c: Likewise.
8969 * resolv/res_debug.c: Likewise.
8970 * resolv/res_init.c: Likewise.
8971 * resolv/res_mkquery.c: Likewise.
8972 * resolv/res_query.c: Likewise.
8973 * resolv/res_send.c: Likewise.
8974 * resolv/resolv.h: Likewise.
8975 * sysdeps/generic/div.c: Likewise.
8976 * sysdeps/generic/netinet/ip.h: Likewise.
8977 * sysdeps/generic/netinet/tcp.h: Likewise.
8978 * sysdeps/generic/paths.h: Likewise.
8979 * sysdeps/generic/prof-freq.c: Likewise.
8980 * sysdeps/generic/sys/ttydefaults.h: Likewise.
8981 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8982 * sysdeps/gnu/netinet/tcp.h: Likewise.
8983 * sysdeps/ieee754/support.c: Likewise.
8984 * sysdeps/mach/hurd/sys/param.h: Likewise.
8985 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
8986 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8987 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
8988 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8989 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
8990 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
8991 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
8992 * sysdeps/unix/sysv/linux/paths.h: Likewise.
8993 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
8994 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
8995 * sysdeps/vax/DEFS.h: Likewise.
8996 * termios/sys/ttychars.h: Likewise.
8997 * misc/daemon.c: Likewise. Call fork.
8999 * grp/fgetgrent.c (buffer): Make file local variable.
9000 (free_mem): New function. Call for malloc debugging.
9002 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
9004 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9006 * grp/Makefile: Add rules for tst_fgetgrent.
9008 * grp/tst_fgetgrent.c: Rewritten to read only one file.
9010 * grp/tst_fgetgrent.sh: New file.
9012 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
9014 * grp/Makefile (tests): Add tst_fgetgrent.
9015 * grp/tst_fgetgrent.c: New file.
9016 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
9018 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
9020 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
9021 be POSIX compliant. Prior definition was broken for Hurd.
9022 Reported by Mark Kettenis <kettenis@gnu.org>.
9024 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
9026 * ctype/ctype.h: Protect __tobody code by __extension__.
9028 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
9030 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
9031 reading and reset in case the buffer was too small.
9033 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
9036 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9038 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
9039 another SIOGIFNAME typo.
9041 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
9043 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
9045 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
9048 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9050 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
9051 the precision if the mantissa is zero.
9053 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9055 * manual/lang.texi (Floating Point Parameters): GCC already
9056 supports long double for a long time.
9058 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9060 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
9061 yn_test): Increase some epsilons.
9063 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
9065 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
9068 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
9070 * sysdeps/unix/sysv/linux/kernel-features.h: Define
9071 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
9072 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
9073 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
9075 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
9076 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
9077 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
9078 * sysdeps/libm-ieee754/w_j1.c: Likewise.
9079 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
9080 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
9081 * sysdeps/libm-ieee754/w_jn.c: Likewise.
9082 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
9083 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
9085 * stdio-common/vfprintf.c: Correct typos.
9087 * math/libm-test.c (jn_test): Adjust delta.
9088 (y1_test): Likewise.
9089 (yn_test): Likewise.
9091 * elf/do-lookup.h: It should never happen that if we expect a versioned
9092 symbol from a file the file has no version table. This should have
9093 been checked in dl-version.c.
9094 * elf/dl-lookup.c: Include assert.h.
9096 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
9099 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
9101 1999-06-06 Andi Kleen <ak@muc.de>
9103 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
9106 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9108 * math/libm-test.c (yn_test): Change one delta.
9109 (jn_test): Likewise.
9110 (j1_test): Likewise.
9111 (y0_test): Likewise.
9113 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
9115 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
9116 avoid multiple calls to getpagesize() which might be a syscall.
9118 1999-06-06 Philip Blundell <philb@gnu.org>
9120 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
9122 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9124 * manual/install.texi (Running make install): Correct typo in
9125 dynamic linker invocation.
9127 1999-06-05 Philip Blundell <philb@gnu.org>
9129 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
9130 problems with GOT addressing.
9132 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
9134 * malloc/malloc.c (check_action): Change into bitmap so that both
9135 diagnostic and abort can be requested by setting it to 3.
9136 (mALLOC_SET_STATe): Disable malloc checking if necessary.
9138 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
9140 * configure.in: Few changes for HPUX.
9142 * scripts/config.guess: Update from latest version.
9143 * scripts/config.sub: Likewise.
9145 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9147 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
9148 map files. Closes PR libc/1147.
9150 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9152 * math/libm-test.c (main): Add new test functions.
9153 (jn_test): New tests.
9154 (j1_test): Add some more tests.
9155 (j0_test): Add some more tests.
9156 (y0_test): Add some more tests.
9157 (y1_test): Add some more tests.
9159 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9161 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
9162 Patch by mhagger@dera.gov.uk [PR libc/1145].
9164 * math/libm-test.c (y1_test): New tests.
9165 (y0_test): Likewise.
9166 (j1_test): Likewise.
9167 (j0_test): Likewise.
9168 (main): Added new tests.
9170 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
9172 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
9173 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
9174 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
9175 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
9176 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
9177 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
9179 1999-06-02 David S. Miller <davem@redhat.com>
9181 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
9184 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
9186 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
9187 and elide compatibility code if possible.
9189 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
9191 * manual/llio.texi: Remove menu entry for removed section.
9193 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9195 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
9198 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9200 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
9203 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
9205 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
9207 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9209 * manual/stdio.texi: Fix some typos.
9211 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9213 * malloc/malloc.h: Properly handle future GCC versions.
9215 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9217 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
9218 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
9219 text of error message.
9221 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
9223 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
9225 * manual/filesys.texi: Extend (f)truncate documentation.
9226 * manual/llio.texi: Remove duplicate (f)truncate definition.
9228 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9230 * manual/stdio.texi (Formatted Output Functions): Mention
9231 semantics of snprintf in glibc 2.0.
9232 Reported by Ben Pfaff <pfaffben@msu.edu>.
9234 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
9236 * include/features.h (__GLIBC_MINOR__): Bump to 2.
9238 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
9240 * math/libm-test.c: Adjust a few more deltas for the poor ARM
9243 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9245 * configure.in: Fix typo.
9247 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9249 * manual/socket.texi (Host Names): Remove statement that h_errno
9250 needs to be declared since this isn't true anymore.
9251 Closes PR libc/1138.
9253 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
9255 * config.h.in: Add __LINUX_KERNEL_VERSION.
9256 * configure.in: Recognize --enable-kernel.
9257 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
9258 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
9260 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
9261 given perform runtime test.
9263 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
9264 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
9265 minimal supported kernel is known to have the feature.
9266 * sysdeps/unix/sysv/linux/poll.c: Likewise.
9267 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9268 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9269 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9270 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9271 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
9272 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9273 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9274 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9275 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9276 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9277 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
9278 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
9279 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
9280 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
9282 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
9284 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
9286 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
9288 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
9290 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
9291 Optimized sparc64 routines.
9293 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
9295 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
9296 they are the same as ints.
9297 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
9299 * version.h (VERSION): Bump to 2.1.90.
9300 (RELEASE): Mark as development.
9302 * stdio-common/vfprintf.c (vfprintf): Don't implement special
9303 handling for long long if it is the same as long.
9304 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
9306 * stdlib/strtol.c: Moved to ...
9307 * sysdeps/generic/strtol.c: ...here.
9308 * stdlib/strtoul.c: Moved to ...
9309 * sysdeps/generic/strtoul.c: ...here.
9310 * stdlib/strtoll.c: Moved to ...
9311 * sysdeps/generic/strtoll.c: ...here.
9312 * stdlib/strtoull.c: Moved to ...
9313 * sysdeps/generic/strtoull.c: ...here.
9314 * stdlib/strtol_l.c: Moved to ...
9315 * sysdeps/generic/strtol_l.c: ...here.
9316 * stdlib/strtoul_l.c: Moved to ...
9317 * sysdeps/generic/strtoul_l.c: ...here.
9318 * stdlib/strtoll_l.c: Moved to ...
9319 * sysdeps/generic/strtoll_l.c: ...here.
9320 * stdlib/strtoull_l.c: Moved to ...
9321 * sysdeps/generic/strtoull_l.c: ...here.
9323 * sysdeps/wordsize-64/strtol.c: New file.
9324 * sysdeps/wordsize-64/strtoul.c: New file.
9325 * sysdeps/wordsize-64/strtoll.c: New file.
9326 * sysdeps/wordsize-64/strtoull.c: New file.
9327 * sysdeps/wordsize-64/strtol_l.c: New file.
9328 * sysdeps/wordsize-64/strtoul_l.c: New file.
9329 * sysdeps/wordsize-64/strtoll_l.c: New file.
9330 * sysdeps/wordsize-64/strtoull_l.c: New file.
9332 * wcsmbs/wcstol.c: Moved to ...
9333 * sysdeps/generic/wcstol.c: ...here.
9334 * wcsmbs/wcstoul.c: Moved to ...
9335 * sysdeps/generic/wcstoul.c: ...here.
9336 * wcsmbs/wcstoll.c: Moved to ...
9337 * sysdeps/generic/wcstoll.c: ...here.
9338 * wcsmbs/wcstoull.c: Moved to ...
9339 * sysdeps/generic/wcstoull.c: ...here.
9340 * wcsmbs/wcstol_l.c: Moved to ...
9341 * sysdeps/generic/wcstol_l.c: ...here.
9342 * wcsmbs/wcstoul_l.c: Moved to ...
9343 * sysdeps/generic/wcstoul_l.c: ...here.
9344 * wcsmbs/wcstoll_l.c: Moved to ...
9345 * sysdeps/generic/wcstoll_l.c: ...here.
9346 * wcsmbs/wcstoull_l.c: Moved to ...
9347 * sysdeps/generic/wcstoull_l.c: ...here.
9349 * sysdeps/wordsize-64/wcstol.c: New file.
9350 * sysdeps/wordsize-64/wcstoul.c: New file.
9351 * sysdeps/wordsize-64/wcstoll.c: New file.
9352 * sysdeps/wordsize-64/wcstoull.c: New file.
9353 * sysdeps/wordsize-64/wcstol_l.c: New file.
9354 * sysdeps/wordsize-64/wcstoul_l.c: New file.
9355 * sysdeps/wordsize-64/wcstoll_l.c: New file.
9356 * sysdeps/wordsize-64/wcstoull_l.c: New file.
9358 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
9360 * sysdeps/sparc/bits/wordsize.h: New file.
9361 * sysdeps/sparc/fpu/bits/fenv.h: New file.
9362 * sysdeps/sparc/fpu/fpu_control.h: New file.
9363 * sysdeps/sparc/gmp-mparam.h: New file.
9365 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
9366 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
9367 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
9368 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
9369 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
9370 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
9372 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
9373 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
9374 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
9375 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
9377 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
9378 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
9379 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
9380 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
9381 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
9383 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
9385 * login/openpty.c (openpty): Make sure pty does not because
9388 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
9390 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
9392 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
9393 Do proper error return.
9395 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9397 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
9398 of __P in the rest of glibc; define __MALLOC_PMT and use it.
9399 Reported by Stephan Kulow <coolo@kde.org>.
9401 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
9403 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
9405 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
9407 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9409 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
9410 names to protect from user's macro namespace.
9411 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
9412 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
9413 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
9414 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
9415 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
9417 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
9418 sysdeps/arm/fpu/fesetenv.c: Likewise.
9419 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
9420 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
9421 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
9422 * sysdeps/mips/fesetenv.c: Likewise.
9424 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
9426 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
9428 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
9430 * configure.in: Recognize and allow gcc 2.95.
9432 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
9434 * sysdeps/generic/bits/elfclass.h: Version common to
9435 wordsize-32 and wordsize-64.
9436 * sysdeps/generic/bits/environments.h: Ditto.
9437 * sysdeps/generic/stdint.h: Ditto.
9438 * sysdeps/generic/inttypes.h: Ditto.
9440 * sysdeps/generic/bits/wordsize.h: New file.
9441 * stdlib/Makefile: Add bits/wordsize.h to headers.
9443 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
9445 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
9446 headers to be used for 32bit and 64bit ABI compilations.
9447 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
9448 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
9449 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
9450 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
9451 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
9453 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
9454 * sysdeps/wordsize-64/bits/environments.h: Remove.
9455 * sysdeps/wordsize-64/stdint.h: Remove.
9456 * sysdeps/wordsize-64/inttypes.h: Remove.
9457 * sysdeps/wordsize-64/bits/wordsize.h: New file.
9459 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
9460 * sysdeps/wordsize-32/bits/environments.h: Remove.
9461 * sysdeps/wordsize-32/stdint.h: Remove.
9462 * sysdeps/wordsize-32/inttypes.h: Remove.
9463 * sysdeps/wordsize-32/bits/wordsize.h: New file.
9465 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
9467 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
9468 __align_cpy_16): New functions.
9469 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
9471 * sysdeps/sparc/sparc32/Versions: New file.
9472 * sysdeps/sparc/sparc64/Versions: New file.
9473 * sysdeps/sparc/Versions: Remove.
9475 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
9477 * sysdeps/unix/sysv/linux/configure.in:
9478 On sparc64-*-linux*, set slibdir to /lib64 if prefix
9479 is /usr, plus set libdir to ${exec_prefix}/lib64.
9480 * sysdeps/unix/sysv/linux/configure: Regenerated.
9481 * config.make.in: Propagate libdir settings from configure
9483 * shlib-versions: sparc64-*-linux* dynamic linker is
9484 /lib64/ld-linux.so.2.
9486 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
9488 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
9491 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
9493 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
9494 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
9496 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
9497 contains garbage in bits 8-63.
9498 * sysdeps/sparc/sparc64/memset.S: Ditto.
9499 * sysdeps/sparc/sparc64/strchr.S: Ditto.
9501 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
9503 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
9505 1999-05-17 David S. Miller <davem@redhat.com>
9507 * sysdeps/sparc/sparc32/atomicity.h: New file.
9508 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
9509 * sysdeps/sparc/sparc64/atomicity.h: New file.
9510 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
9513 1999-05-18 Richard Henderson <rth@twiddle.net>
9515 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
9517 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
9519 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
9520 posix/sys/types.h: Handle the case of __GNUC__=3,
9521 __GNUC_MINOR__=(anything).
9523 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9525 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
9528 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
9530 * elf/Makefile (distribute): Remove dl-origin.h.
9531 Add dl-dst.h and gen-trusted-dirs.awk.
9533 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9535 * sysdeps/i386/i486/Versions: New file with inline functions from
9536 sysdeps/i386/i486/bits/string.h for now.
9538 * sysdeps/i386/Versions: Add inline functions from
9539 sysdeps/i386/bits/string.h.
9541 * string/Versions: Add inline functions from <bits/string2.h>.
9543 * string/Makefile (routines): Add string-inlines.
9544 * string/string-inlines.c: New file, used for implementation of
9545 extern inline functions.
9547 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
9548 non inlined versions of functions.
9549 * string/bits/string2.h: Likewise.
9550 * sysdeps/i386/bits/string.h: Likewise.
9552 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
9554 * inet/arpa/tftp.h: Add second packed attribute.
9556 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
9558 * malloc/malloc.c: Cleanup to bring in line with released
9559 stand-alone version `ptmalloc'. Update some comments.
9560 (internal_function): Move fallback definition so that the source
9561 compiles outside of libc, and use it in more places.
9562 (malloc_atfork): Fix when malloc_check is in use.
9564 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9566 * stdlib/tst-strtod.c: Fix typo.
9568 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9570 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
9571 const incorrectness.
9573 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
9575 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
9577 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
9579 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
9580 * sunrpc/key_call.c: Fix memory leak, close file handle.
9581 * nis/nis_creategroup.c: Use malloc instead of calloc,
9582 set ctime and mtime.
9583 * nis/nis_subr.c: Check for realloc result.
9584 * nis/nis_file.c: Fix memory leak.
9585 * nis/nis_table.c: Pretty print.
9586 * nis/nis_getservlist.c: Likewise.
9587 * nis/nis_ismember.c: Likewise.
9588 * nis/nis_lookup.c: Likewise.
9589 * nis/nis_ping.c: Likewise.
9590 * nis/nis_removemember.c: Likewise.
9591 * nis/nis_util.c: Likewise, check calloc result.
9593 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
9595 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
9596 * sysdeps/generic/sys/socketvar.h: ... here.
9597 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
9598 * sysdeps/generic/netinet/in_systm.h: ... here.
9599 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
9601 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
9602 * inet/Makefile (headers): Add netinet/in_systm.h here.
9603 * socket/Makefile (headers): Add sys/socketvar.h here.
9605 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
9607 * stdlib/strtol.c: Optimize inner loop of long long versions.
9609 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
9610 Unix98. Add forward declaration of struct utmp.
9612 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
9614 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
9617 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
9618 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
9619 memory allocation results.
9621 1999-05-14 Mark Kettenis <kettenis@gnu.org>
9623 * sysdeps/generic/getutmp.c: Include <string.h>
9624 (getutmp): Rewrite to only copy those members that are really
9625 present in `struct utmp'.
9626 * sysdeps/generic/getutmpx.c: Likewise.
9628 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
9630 * nss/getXXbyYY.c: Add free_mem function which disposes all
9631 statically allocated memory when debugging.
9632 * nss/getXXent.c: Likewise.
9633 * nss/nsswitch.c: Likewise.
9635 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
9637 * sysdeps/gnu/getutmpx.c: New file.
9638 * sysdeps/gnu/getutmp.c: New file.
9640 1999-05-13 H.J. Lu <hjl@gnu.org>
9642 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
9643 (getutmp): Likewise.
9645 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
9648 * sysdeps/gnu/utmpx.h (getutmp): Added.
9649 (getutmpx): Likewise.
9651 * sysdeps/generic/getutmp.c: New file.
9653 * sysdeps/generic/getutmpx.c: New file.
9655 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9657 * glibcbug.in (BUGGLIBC): Change address to
9658 libc-alpha@sourceware.cygnus.com.
9660 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9662 * resolv/arpa/nameser.h: Add C++ protectors.
9664 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9666 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
9667 Elad Tsur <eladts@post.tau.ac.il>.
9669 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
9671 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
9672 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
9673 lazily if LD_BIND_NOW is not set.
9674 * elf/dl-support.c (_dl_lazy): New variable.
9675 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
9676 * elf/rtld.c (_dl_lazy): new global variable.
9677 ( dl_main): Remove lazy, replace it by _dl_lazy.
9679 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9681 * locale/setlocale.c (new_composite_name): Check also whether the
9682 first category name differs.
9684 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9686 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
9689 1999-05-11 Philip Blundell <pb@nexus.co.uk>
9691 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
9692 structure; storage suitable for any socket address.
9693 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
9695 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
9696 sockaddr_storage): Likewise.
9698 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
9701 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
9703 * hesiod/Versions: Change _nss_hesiod_getpwuid and
9704 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
9705 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
9707 1999-05-09 Mark Kettenis <kettenis@gnu.org>
9709 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
9710 if the file is empty.
9712 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
9714 * elf/do-lookup.h: Fix typo in comment.
9716 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
9717 f_bsize to help some broken programs.
9719 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
9721 * stdio-common/vfprintf.c: Fix typo.
9723 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
9725 * elf/link.h (struct link_map): New field l_phdr_allocated.
9726 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
9727 the program header being part of any loaded segment. If it is not
9728 allocate memory and set l_phdr_allocated flag.
9729 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
9731 * nss/digits_dots.c: Correct return value interpretation of
9732 inet_ntoa. Fix PR libc/1109.
9734 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
9736 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
9738 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
9740 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
9741 * stdlib/fpioconst.c: Move #endif before end of struct.
9743 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
9745 * Versions.def (ld.so): Add GLIBC_2.1.1.
9746 * elf/Makefile (routines): Add dl-origin.
9747 (tests): Add origtest. Add dependencies for the program.
9748 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
9749 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
9750 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
9751 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
9752 DT_AUXILIARY, and DT_FILTER filenames.
9753 * elf/dl-load.c (expand_dynamic_string_token): Explode into
9754 two functions and three macros.
9755 (_dl_dst_count, _dl_dst_substitute): New functions.
9756 * elf/dl-dst.h: New file.
9757 * elf/dl-open.c (_dl_open): Take extra parameter with address of
9758 caller. Pass address in args structure.
9759 (dl_open_worker): Recognize and expand DSTs in filename.
9760 * elf/ldsodefs.h (_dl_open): Adapt prototype.
9761 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
9762 (__dlopen_check): Pass caller address to dlopen_doit in args.
9763 * elf/dlopendoit.c: Likewise.
9764 * iconv/gconv_dl.c: Adapt call of _dl_open.
9765 * nss/nsswitch.c: Likewise.
9766 * elf/origtest.c: New file.
9767 * sysdeps/generic/dl-origin.h: Moved to...
9768 * sysdeps/generic/dl-origin.c: ...here.
9769 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
9770 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
9772 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
9773 with specific bases and only few bits set in second word.
9775 * timezone/Makefile (install-others): Create target directory
9776 before creating tzfiles.
9778 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
9780 * nis/nis_file.c (readColdStartFile): Allocate memory only after
9781 the file is opened successfully.
9783 * nis/nis_table.c: Fix some memory leaks.
9785 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
9787 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
9790 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
9791 around DST. Correctly ignore ORIGIN IN SUID binaries.
9793 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
9795 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
9796 * sysdeps/generic/strtok.c: Likewise.
9798 * string/tester.c: Add test of rawmemchr.
9800 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
9801 specification. It's not necessary.
9803 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
9804 * elf/gen-trusted-dirs.awk: New file.
9805 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
9806 from SYSTEM_DIRS macro.
9807 (system_dirs_len): New variable. Contains lengths of system_dirs
9809 (fillin_rpath): Rewrite for systems_dirs being a simple string.
9810 Improve string comparisons. Change parameter trusted to be a flag.
9812 (_dt_init_paths): Improve using new format for system_dirs.
9814 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
9815 $ORIGIN for SUID binaries.
9817 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
9819 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9821 * sunrpc/Makefile: Generate dependencies for all flavors of
9823 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
9826 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9828 * elf/dlopenold.c: Move #if down after includes to get
9831 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9833 * sysdeps/generic/bzero.c: Undefine __bzero.
9835 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
9837 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
9838 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
9839 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
9840 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
9842 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
9843 parameter to struct gaih_servtuple *. Adapt appropriately.
9844 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
9845 This fixes a memory leak.
9846 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
9848 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
9849 and fpregset_t definition. They are defined in ucontext.h.
9851 1999-04-14 Scott Bambrough <scottb@netwinder.org>
9853 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
9854 and struct ether_header must be packed on the ARM. The default
9855 alignment constraints add padding to the end of the structures.
9857 1999-04-14 Scott Bambrough <scottb@netwinder.org>
9859 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
9860 default alignment constraints add padding to the end of the
9861 structure and between members.
9863 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
9865 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
9866 _dl_cache_libcmp instead of strcmp.
9868 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
9870 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
9872 1998-03-30 Joel Klecker <espy@debian.org>
9874 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
9875 (sysdep-others,install-bin): Add lddlibc4.
9877 1999-05-02 H.J. Lu <hjl@gnu.org>
9879 * timezone/zic.c (dolink): Remove the symlink destination first.
9881 * catgets/open_catalog.c (__open_catalog): Set catalog->status
9882 to "nonexisting" if failed to open the file.
9884 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
9886 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
9889 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
9890 Prevent warnings from multiplication with 0x01010101 by another cast.
9892 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9894 * string/bits/string2.h (memset): Revert to previous version if
9895 unaligned writes are not available.
9897 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
9899 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
9900 better code in presence of the asm.
9902 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9904 * stdlib/fmtmsg.c (keywords): Increase array size for faster
9907 * locale/localeinfo.h (_nl_category_names): Increase array element
9908 size for faster indexing.
9909 * locale/setlocale.c (_nl_category_names): Adjusted.
9911 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9913 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
9915 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9917 * sysdeps/m68k/stackinfo.h: New file.
9919 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
9921 * string/tester.c (test_strchrnul): New function.
9922 (test_memset): Test one more special case.
9924 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
9927 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
9930 * string/bits/string2.h: Fix bugs I introduced in last change.
9932 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
9934 Extend memset optimization.
9935 Correct i686 version of memchr.
9937 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
9939 * sysdeps/i386/bzero.c: Add #undef __bzero.
9941 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
9942 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
9943 exec server simulated a SIGTRAP before we even started up, so gdb is
9946 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
9948 * nss/digits_dots.c: Always initialize not_ok.
9950 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
9952 * string/bits/string2.h (memset): Avoid arithmetic overflow at
9953 compile time, which produces obnoxious warnings. If GCCv2 is
9954 in use, map __bzero to __builtin_memset to enable that
9957 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
9959 * string/bits/string2.h: Add more memset optimizations.
9961 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
9963 * resolv/inet_pton.c (inet_pton4): Little optimizations.
9964 (inet_pton6): Likewise.
9966 * nss/getXXbyYY_r.c: Include assert.h.
9967 * nss/getXXbyYY.c: Likewise.
9969 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9971 * termios/tcgetsid.c (tcgetsid): Rename variable to
9972 tiocgsid_does_not_work.
9974 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
9976 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
9978 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9980 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
9981 This allows e.g. gethostbyname to accept "10.1234".
9982 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
9984 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
9985 non quad IPv4 numbers.
9987 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9989 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
9991 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
9993 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
9994 * argp/argp-parse.c (_argp_hang): Likewise.
9995 * argp/argp-pv.c (argp_program_version): Likewise.
9996 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
9997 * inet/ether_hton.c (ether_hton, startp): Likewise.
9998 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
9999 * inet/getnetgrent_r.c (setup, startp): Likewise.
10000 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
10001 * intl/localealias.c (string_space, string_space_act, string_space_max,
10002 nmap, maxmap): Likewise.
10003 * libio/iopopen.c (proc_file_chain): Likewise.
10004 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
10005 * locale/lc-collate.c (__collate_table, __collate_extra,
10006 __collate_element_hash, __collate_element_strings,
10007 __collate_element_values): Likewise.
10008 * malloc/mcheck.c (mcheck_used): Likewise.
10009 * malloc/mtrace.c (added_atexit_handler): Likewise.
10010 * malloc/set-freeres.c (already_called): Likewise.
10011 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
10012 * misc/syslog.c (LogStat, LogTag): Likewise.
10013 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
10014 * nss/getXXbyYY_r.c (startp): Likewise.
10015 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
10016 * posix/regex.c (init_syntax_once) [done]: Likewise.
10018 * string/strfry.c (init): Likewise.
10019 * sunrpc/svc_run.c (svc_top): Likewise.
10020 * posix/euidaccess.c (have_ids): Likewise.
10021 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
10022 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
10023 * time/getdate.c (getdate_err): Likewise.
10024 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
10026 * time/tzset.c (old_tz, is_initialized): Likewise.
10028 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
10029 of static data with zero.
10030 * signal/allocrtsig.c (init): Likewise.
10032 * string/Makefile (routines): Add strchrnul.
10033 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
10034 * string/string.c: Add strchrnul prototype.
10035 * include/string.h: Add __strchrnul prototype.
10036 * sysdeps/generic/strchrnul.c: New file.
10037 * sysdeps/i386/strchrnul.S: New file.
10038 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
10039 * sysdeps/i386/i486/bits/string.c: Likewise.
10040 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
10041 * inet/ether_line.c (ether_line): Likewise.
10042 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
10043 * nss/nsswitch.c (nss_parse_file): Likewise.
10044 * posix/execvp.c (execvp): Likewise.
10045 * posix/fnmatch.c (internal_fnmatch): Likewise.
10046 * resolv/res_hconf.c (_res_hconv_init): Likewise.
10047 * resolv/res_init.c (res_init): Likewise.
10048 * stdlib/fmtmsg.c (init): Likewise.
10049 * stdlib/getsubopt.c (getsubopt): Likewise.
10051 * catgets/catgets.c (catopen): Only allocate one memory block.
10052 (catclose): Only one free call necessary.
10054 * catgets/open_catalog.c (__open_catalog): Simplify handling of
10057 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
10058 of real functions. Simplify _tolower and _toupper.
10060 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
10063 * iconv/gconv.h (struct gconv_info): Change data element from pointer
10064 to array of size 0.
10065 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
10066 * iconv/gconv_close.c (__gconv_close): Don't free data.
10068 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
10071 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
10072 for error while inserting in tree.
10074 * include/time.h: Pretty print.
10076 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
10077 in table and lots of relocations.
10078 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
10079 string pointers in table and lots of relocations.
10081 * intl/finddomain.c: Remove definition of strchr macro.
10083 * io/ftw.c (nftw_arr, ftw_arr): Make const.
10085 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
10087 * locale/localeinfo.h (_nl_category_names): Change into an array with
10088 fixed width char string elements.
10089 * locale/setlocale.c (_nl_category_names): Likewise.
10090 (_nl_current): Make global.
10091 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
10093 * malloc/Makefile (distribute): Add stackinfo.h.
10094 * sysdeps/generic/stackinfo.h: New file.
10095 * sysdeps/i386/stackinfo.h: New file.
10096 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
10097 * posix/execle.c: Likewise.
10098 * posix/execlp.c: Likewise.
10100 * nis/nis_table.c (__create_ib_request): Always use realloc.
10102 * posix/execvp.c (execute): Rename to script_execute and keep only
10103 code to execute using shell.
10104 (execvp): Call execv directly and only fall back on script_execute.
10106 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
10107 and always use xdigits instead.
10109 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
10112 * stdlib/fpioconst.h (__tens): New declaration.
10113 (struct mp_power): Remove array, add arrayoff element.
10114 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
10115 __tens array and add in _fpioconst_pow10 offsets into __tens.
10116 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
10117 * stdlib/strtod.c: Likewise.
10119 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
10121 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
10123 * stdlib/atexit.c (__exit_funcs): Don't initialize.
10125 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
10127 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
10128 a single and an array with offsets.
10130 * sunrpc/des_soft.c (partab): Make it const.
10132 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
10133 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
10134 (__key_decryptsession_pk_LOCAL): Likewise.
10135 (__key_gendes_LOCAL): Likewise.
10136 (MESSENGER): Mark const.
10137 (key_call_private_main): Don't initialize with 0.
10138 (use_keyenvoy): Don't initialize with 0.
10139 (key_call): Rewrite to reverse logic of use_doors variable.
10141 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
10142 (startp): Don't initialize with zero.
10144 * sunrpc/openchild.c (_openchild): Make first argument const.
10146 * sunrpc/pmap_rmt.c (timeout): Mark const.
10147 * sunrpc/xcrypt.c (hex): Likewise.
10149 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
10150 initialization of global variables.
10151 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
10152 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10153 * termios/tcgetsid.c: Likewise.
10155 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
10158 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
10159 block. Add function to free memory if wanted.
10160 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
10162 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
10164 * wcsmbs/wmemset.c: Little code optimization.
10166 1999-04-23 Paul Eggert <eggert@twinsun.com>
10168 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
10171 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
10173 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
10174 implementation and just always fail with ENOSYS. This entry point is
10175 obsolete. Add link warning to that effect.
10177 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
10179 * hurd/get-host.c: Include <hurd/lookup.h>.
10181 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
10183 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
10186 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10188 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
10189 ISO C9x and Unix98.
10191 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
10193 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
10194 Patch by Peter Miller <millerp@canb.auug.org.au>.
10196 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
10198 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
10199 prefers loopback device.
10201 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
10203 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
10204 no_leading_period change.
10206 * posix/testfnm.c: More test cases.
10208 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
10210 * include/dirent.h: Remove __getdirentries declaration, add __getdents
10212 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
10213 * sysdeps/unix/readdir_r.c: Likewise.
10214 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10215 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
10216 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
10217 __getdirentries. Remove fourth argument.
10218 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
10219 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
10220 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
10221 Add getdirentries and getdirentries64.
10222 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
10224 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
10225 pointer in case of an invalid [[: expression.
10227 * posix/testfnm.c: Add more test cases.
10229 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
10231 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
10232 set, pass EXEC_SIGTRAP flag in exec RPC.
10234 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
10236 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
10237 extra parameter. Fix several more bugs involving wildcard and
10239 (fnmatch): New function. Call internal_fnmatch.
10241 * posix/testfnm.c: More test cases.
10243 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10245 * manual/install.texi (Configuring and compiling): Explain that
10246 files are changed in the source directory.
10247 Closes PR libc/981.
10248 (Configuring and compiling): Explain situation with PARALLELMFLAGS
10249 in the source directory.
10251 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10253 * locale/programs/ld-ctype.c: Spelling fixes.
10254 (ctype_finish): Fix argument of error message format.
10255 * locale/programs/ld-messages.c: Spelling fixes.
10256 * locale/programs/ld-monetary.c: Spelling fixes.
10257 * locale/programs/ld-time.c (time_finish): Make sure that name and
10258 format of era_entries are adjacent.
10259 (time_output): Reduce the size of the io vector.
10261 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10263 * manual/filesys.texi (Attribute Meanings): Move a misplaced
10266 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10268 * locale/programs/ld-collate.c (collate_output): Convert
10269 undefined_offset to an array index. Fix computation of other
10270 endian extra table.
10272 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
10274 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
10275 return success with empty value.
10277 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
10279 * posix/fnmatch.c: Include string.h also for glibc.
10280 (fnmatch, case '?'): Optimize if cascades a bit.
10281 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
10283 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
10285 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
10287 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
10288 * iconv/gconv_int.h: Declare UTF16 functions.
10289 * iconv/gconv_simple.c: Add UTF16 conversion functions.
10291 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10293 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
10294 be used correctly as parameter for parse_dollars/parse_tilde.
10296 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10298 * manual/conf.texi (Utility Limits): Remove duplicate description
10301 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
10303 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
10304 outbufend for dst==NULL.
10306 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
10308 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
10310 Fixes PR libc/1084.
10312 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
10313 Fixes PR libc/1083.
10315 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
10317 * sunrpc/Makefile: Remove special handling of bootparam.x,
10318 add rpcsvc/bootparam.h to headers.
10319 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
10320 * sunrpc/rpcsvc/bootparam.x: Renamed to...
10321 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
10323 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
10325 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
10326 detect and handle invalid descriptors.
10328 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
10330 * timezone/zic.c (dolink): Append complete path not only filename
10333 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10335 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
10337 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
10339 * iconvdata/gconv-modules: Rename CP874 to IBM874.
10340 * iconvdata/Makefile: Likewise.
10341 * iconvdata/cp874.h: Removed.
10342 * iconvdata/cp874.c: Renamed to...
10343 * iconvdata/ibm874.c: ...this.
10345 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
10347 * sysdeps/unix/sysv/linux/bits/types.h: Correct
10348 signed/unsigned-ness of blkcnt and fsblkcnt.
10349 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10350 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
10352 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
10353 SOL_AAL, and SOL_IRDA.
10355 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10357 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
10358 include "linux_fsinfo.h".
10359 Based on a patch by H.J. Lu <hjl@gnu.org>.
10361 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
10363 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
10365 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
10367 * nscd/cache.c (prune_cache): Only disable file checking for
10368 future if the file does not exist.
10369 Update file_mtime if cache was flushed.
10371 1999-04-15 David S. Miller <davem@redhat.com>
10373 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
10374 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
10376 1999-04-15 Scott Bambrough <scottb@netwinder.org>
10378 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
10379 compilation of file.
10381 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
10383 * Versions.def: Add GLIBC_2.1.1 to libpthread.
10385 * iconvdata/Makefile (modules): Add KOI8-U.
10386 (distribute): Add koi8-u.c.
10387 (gen-8bit-gap-modules): Add koi8-u.
10388 * iconvdata/gconv-modules: Add KOI8-U entries.
10389 * iconvdata/koi8-u.c: New file.
10391 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
10393 * sunrpc/auth_des.c: 64bit fixes, security fixes.
10394 * sunrpc/auth_none.c: Pretty print.
10395 * sunrpc/auth_unix.c: Likewise.
10396 * sunrpc/authdes_prot.c: Likewise.
10397 * sunrpc/authuxprot.c: Likewise.
10398 * sunrpc/bindrsvprt.c: Likewise.
10399 * sunrpc/clnt_gen.c: Likewise.
10400 * sunrpc/rpc/xdr.h: Likewise.
10401 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
10402 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
10403 * sunrpc/rtime.c: Use new rpc_timeval.
10404 * sunrpc/svc_authux.c: Don't use *long pointers.
10405 * sunrpc/svcauth_des.c: Likewise + security fixes.
10406 * sunrpc/xdr_mem.c: Don't use *long pointers.
10407 * sunrpc/xdr_rec.c: Likewise.
10408 * sunrpc/xdr_sizeof.c: Likewise.
10409 * sunrpc/xdr_stdio.c: Likewise.
10411 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
10413 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
10414 so that it is redone for each sending.
10416 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10418 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
10420 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
10422 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
10423 known to not exist don't try to load shared objects.
10424 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
10426 * nscd/cache.c (prune_cache): The table might not be unused. In
10427 this case do nothing.
10429 * catgets/gencat.c (read_input_file): Don't drop white spaces
10430 between number/identifier and string.
10431 Patch by Dima Barsky <dima@pwd.hp.com>.
10432 If no white space at all follows number/identifier remove existing
10433 message with the number/identifier.
10435 1999-04-14 H.J. Lu <hjl@gnu.org>
10437 * sunrpc/clnt_udp.c (is_network_up): New function.
10438 (clntudp_call): Call is_network_up () to check if any network
10439 interface is up in case of timeout.
10441 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10443 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
10444 * wctype/Makefile (tests): Add test_wcfuncs.
10446 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
10448 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
10450 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
10452 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
10453 instead of CFLAGS. For gnulib and string directories use
10454 -Wa,-Av9a gcc ASFLAGS.
10455 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
10456 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
10457 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
10458 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
10459 the same way as sparc-*.
10461 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
10463 * locale/programs/locfile.c (locfile_read): Fix typo.
10464 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
10466 1999-04-14 Scott Bambrough <scottb@netwinder.org>
10468 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
10469 restarted after being interrupted by a signal. The parameters on
10470 the stack were corrupted by the signal handler.
10472 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
10473 restarted after being interrupted by a signal. The parameters on
10474 the stack were corrupted by the signal handler.
10476 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10478 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
10479 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
10481 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
10483 * posix/wordexp-test.c: In field-splitting test cases where
10484 subshells were involved, unset IFS first: some shells (ash) use
10485 IFS even when no expansion is performed.
10487 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10489 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
10490 the real end of the chunk, not some random point inbetween.
10491 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
10492 obstack when growing. Use fast version of obstack_blank when
10494 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
10495 allocating the vtable pointer.
10496 (_IO_obstack_vprintf): Adjust for above change and avoid
10497 unnecessary casts. Use fast version of obstack_blank when
10499 Fixes PR libc/1075.
10501 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
10503 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
10504 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
10506 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
10508 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
10509 is seen, as well as fixing semantics. Don't reset the word count
10510 to zero when an invalid character is seen, but leave it as it was
10511 (this makes a difference with WRDE_APPEND).
10513 * posix/wordexp-test.c: More test cases.
10515 * posix/wordexp.c (parse_param): In words like ${var#pattern},
10516 always expand pattern when it is needed. Also, handle quoting in
10519 1999-04-12 Philip Blundell <philb@gnu.org>
10521 * elf/elf.h: Update ARM definitions to match current gas2.
10523 * sysdeps/arm/bits/endian.h: Support big endian operation.
10525 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
10526 Don't bother range checking the port number.
10528 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
10530 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
10531 the syscall name in assembler output for ease of debugging.
10533 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
10534 compiler behaviour.
10535 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
10536 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
10537 (sysdep_routines): Add sigrestorer.
10539 * string/tester.c (test_strcpy): Add new tests for unaligned
10541 * sysdeps/arm/bits/string.h: Delete inline implementations of
10544 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
10546 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
10548 1999-04-10 Mark Kettenis <kettenis@gnu.org>
10550 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
10552 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
10554 * iconvdata/Makefile (modules): Add TIS-620.
10555 (distribute): Add tis-620.c.
10556 (gen-8bit-gap-modules): tis-620.
10557 * iconvdata/tis-620.c: New file.
10558 * iconvdata/gconv-modules: Add TIS-620 entries.
10560 * iconvdata/asmo_449.c: Correct comment.
10562 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10564 * manual/install.texi (Configuring and compiling): Comment out
10565 description of --disable-static since this doesn't work currently
10566 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
10568 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
10570 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
10572 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
10574 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10576 * scripts/test-installation.pl (installation_problem): Skip
10577 libnss1_* libraries from glibc-compat add-on.
10579 1999-04-07 H.J. Lu <hjl@gnu.org>
10581 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
10583 * posix/Versions (__waitpid): Likewise.
10585 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10587 * manual/install.texi (Reporting Bugs): Add section about reported
10588 bugs and correct email address of glibcbug script.
10590 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
10592 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
10593 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
10594 xdr_u_longlong_t. Based on patch from Dan Shechter
10595 <damageboy@isdn.net.il>.
10596 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
10597 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
10599 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
10601 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10603 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
10604 directly if getdents returns with error set.
10606 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10608 * locale/langinfo.h (THOUSEP): Rename second occurence of
10609 THOUSANDS_SEP to THOUSEP.
10610 Reported by Roman Belenov <roman@nstl.nnov.ru>.
10612 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
10614 * hurd/STATUS: File removed. Moved items that are still relevant into
10615 TODO list in hurd source.
10617 1999-03-26 Mark Kettenis <kettenis@gnu.org>
10619 * sysdeps/mach/hurd/bits/time.h: New file.
10620 * sysdeps/mach/hurd/getrusage.c: New file.
10621 * sysdeps/mach/hurd/clk_tck.c: New file.
10622 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
10623 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
10624 (sysdep_routines): Add clk_tck.
10625 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
10628 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
10630 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
10631 (closelog): But instead here.
10632 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
10634 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10636 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
10637 the source directory. Fixes PR libc/1059.
10639 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10641 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
10642 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10644 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
10646 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
10647 * iconvdata/testdata/ISO-8859-14: New file.
10648 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
10649 * iconvdata/testdata/ISO-8859-15: New file.
10650 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
10652 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
10654 * iconvdata/testdata/CP1258: New file.
10655 * iconvdata/testdata/CP1258..UTF8: New file.
10656 * iconvdata/TESTS: Add CP1258 entry.
10658 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
10660 * timezone/africa: Update from tzdata1999d.
10661 * timezone/europe: Likewise.
10662 * timezone/northamerica: Likewise.
10664 1999-03-31 Mark Kettenis <kettenis@gnu.org>
10666 * login/programs/pt_chown.c (main): Save effective user ID before
10667 dropping priviliges and use this to check if the program is
10668 properly installed.
10670 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
10672 * iconvdata/testdata/CP1254: Update for charmap changes.
10673 * iconvdata/testdata/CP1254..UTF8: Likewise.
10674 * iconvdata/testdata/CP1255: Likewise.
10675 * iconvdata/testdata/CP1255..UTF8: Likewise.
10676 * iconvdata/testdata/CP1256: Likewise.
10677 * iconvdata/testdata/CP1256..UTF8: Likewise.
10678 * iconvdata/testdata/CP1257: Likewise.
10679 * iconvdata/testdata/CP1257..UTF8: Likewise.
10681 * iconvdata/Makefile (distribute): Remove cp1258.h.
10682 (gen-8bit-gap-modules): Add cp1258.
10683 * iconvdata/cp1258.h: Removed.
10685 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
10687 * timezone/tst-timezone.c (tests): Add more cases.
10688 (check_tzvars): Mark errors clearer.
10691 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
10693 * login/programs/pt_chown.c: Drop privileges if invoked with
10694 arguments. Don't close the master pty.
10696 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
10698 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
10699 Minor optimization.
10701 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
10703 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
10704 relocation for SUID binaries.
10706 1999-03-29 Paul Eggert <eggert@twinsun.com>
10708 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
10709 while in child process.
10711 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
10713 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
10714 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
10715 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
10716 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
10717 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
10719 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
10720 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
10721 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
10722 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
10723 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
10724 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
10725 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
10726 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
10727 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
10728 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
10729 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
10730 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
10731 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
10732 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
10733 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
10734 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
10735 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
10736 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
10737 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
10738 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
10739 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
10740 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
10741 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
10742 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
10743 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
10744 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
10746 * sysdeps/sparc/sparc32/bcopy.c: New file.
10747 * sysdeps/sparc/sparc32/bzero.c: New file.
10748 * sysdeps/sparc/sparc32/memchr.S: New file.
10749 * sysdeps/sparc/sparc32/memcpy.S: New file.
10750 * sysdeps/sparc/sparc32/memmove.c: New file.
10751 * sysdeps/sparc/sparc32/memset.S: New file.
10752 * sysdeps/sparc/sparc32/stpcpy.S: New file.
10753 * sysdeps/sparc/sparc32/strchr.S: New file.
10754 * sysdeps/sparc/sparc32/strrchr.c: New file.
10755 * sysdeps/sparc/sparc32/strcpy.S: New file.
10756 * sysdeps/sparc/sparc32/strlen.S: New file.
10757 * sysdeps/sparc/sparc32/strcat.S: New file.
10758 * sysdeps/sparc/sparc32/strcmp.S: New file.
10760 * sysdeps/sparc/sparc64/bcopy.c: New file.
10761 * sysdeps/sparc/sparc64/bzero.c: New file.
10762 * sysdeps/sparc/sparc64/memchr.S: New file.
10763 * sysdeps/sparc/sparc64/memcmp.S: New file.
10764 * sysdeps/sparc/sparc64/memcpy.S: New file.
10765 * sysdeps/sparc/sparc64/memset.S: New file.
10766 * sysdeps/sparc/sparc64/stpcpy.S: New file.
10767 * sysdeps/sparc/sparc64/strcat.S: New file.
10768 * sysdeps/sparc/sparc64/strchr.S: New file.
10769 * sysdeps/sparc/sparc64/strcmp.S: New file.
10770 * sysdeps/sparc/sparc64/strcpy.S: New file.
10771 * sysdeps/sparc/sparc64/strcspn.S: New file.
10772 * sysdeps/sparc/sparc64/strlen.S: New file.
10773 * sysdeps/sparc/sparc64/strncpy.S: New file.
10774 * sysdeps/sparc/sparc64/strpbrk.S: New file.
10775 * sysdeps/sparc/sparc64/strrchr.c: New file.
10776 * sysdeps/sparc/sparc64/strspn.S: New file.
10777 * sysdeps/sparc/sparc64/stpncpy.S: New file.
10778 * sysdeps/sparc/sparc64/strncmp.S: New file.
10780 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
10781 Append -fPIC, don't replace.
10783 * configure.in: Recognize sparcv8plus / sparcv9.
10785 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10787 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
10788 char * to avoid C++ warning.
10789 Patch by yasushi@cs.washington.edu [PR libc/1035].
10791 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10793 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
10794 declared in stdlib.h, correct return value of mkstemp.
10795 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
10797 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
10800 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10802 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
10805 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
10806 inline functions. Closes PR libc/1049.
10808 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10810 * timezone/README: Update from tzdata1999c and tzcode1999c.
10812 * timezone/africa: Update from tzdata1999c.
10813 * timezone/antarctica: Likewise.
10814 * timezone/asia: Likewise.
10815 * timezone/australasia: Likewise.
10816 * timezone/europe: Likewise.
10817 * timezone/northamerica: Likewise.
10818 * timezone/southamerica: Likewise.
10819 * timezone/zone.tab: Likewise.
10821 * timezone/zic.c: Update from tzcode1999c.
10823 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10825 * Makerules: Add $(common-objpfx)Versions.all to common-generated
10826 outside of ifndef avoid-generated.
10828 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
10830 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
10832 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
10834 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
10835 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
10837 1999-03-26 Mark Kettenis <kettenis@gnu.org>
10839 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
10840 if we build the profiled library.
10842 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10844 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
10845 Jaeger <aj@arthur.rhein-neckar.de>
10847 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
10849 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
10850 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
10851 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
10853 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
10855 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
10856 works properly in subdirs.
10858 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
10860 * sysdeps/mach/hurd/Makefile: Undo last change.
10861 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
10862 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
10864 * mach/Machrules (+preinit, +postinit, +interp,
10865 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
10866 linked just like other shared libraries.
10867 (interface.so): Fix typo in defn, so it works.
10868 ($(objpfx)$(interface.so)): Make it depend on libc.so.
10870 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
10872 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
10873 $(link-rpcuserlibs).
10875 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10877 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
10878 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
10879 targets if not building shared libraries.
10881 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10883 * configure.in: Also look in $PATH when searching for
10884 install-info. Remove autoconf bug workaround and require autoconf
10887 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10889 * db/Makefile: Don't try to install shared library link if not
10890 building with shared libs.
10892 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10894 * rt/Makefile: Link against static library if no shared lib is
10897 * localedata/Makefile: The shells scripts implementing the test
10898 require the dynamic linker which is not available with
10899 --disable-shared. Skip the test if --disable-shared is given.
10901 * linuxthreads/Makefile: Link test against static libpthread if no
10902 shared lib is available.
10904 * iconvdata/Makefile (tests): Run iconv-test only if we're
10905 building shared libraries.
10906 * elf/Makefile (tests): Likewise for elf tests.
10908 * posix/Makefile: The test frameworks globtest and wordexp-test
10909 require the dynamic linker which is not available with
10910 --disable-shared. Skip the test if --disable-shared is given.
10912 * grp/Makefile (otherlibs): For static nss build link against
10915 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10917 * debug/Makefile (install-bin): Install and build catchsegv only
10918 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
10921 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10923 * time/tzfile.c (__tzfile_read): Handle the case where there are
10924 transitions but no DST.
10926 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
10928 * mach/Machrules (extra-libs-others): Add $(interface-library) here
10929 too, so it gets built in the others pass rather than the lib pass.
10930 This is necessary since the RPC libraries need to be linked against
10933 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
10935 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
10938 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
10939 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
10940 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
10941 versions of lib{mach,hurd}user.so without reference to libc.so,
10942 then link libc.so against that to get deps and symbol versions, then
10943 finally link real lib*user.so against libc.so.
10945 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
10946 Support whole-file locking (only) by using the file_lock RPC. This
10947 has very wrong semantics, but is better than nothing for the time
10948 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
10949 protocols that will be somewhat hairy to specify.)
10951 1999-03-17 Mark Kettenis <kettenis@gnu.org>
10953 * sysdeps/mach/hurd/ptsname.c: New file.
10955 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10957 * timezone/asia: Fix rule in Asia/Nicosia entry.
10959 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10961 * manual/getopt.texi (Using Getopt): Explain "::" in option
10962 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
10964 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
10966 * sunrpc/clnt_unix.c: Fix creation of parameters for
10967 sendmsg/recvmsg on non intel platforms.
10968 * sunrpc/svc_unix.c: Likewise.
10970 1999-03-18 Philip Blundell <philb@gnu.org>
10972 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
10975 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10977 * timezone/africa: Update from tzdata1999b.
10978 * timezone/asia: Likewise.
10979 * timezone/australasia: Likewise.
10980 * timezone/europe: Likewise.
10981 * timezone/northamerica: Likewise.
10982 * timezone/southamerica: Likewise.
10983 * timezone/zone.tab: Likewise.
10985 * timezone/README: Mention tzdata1999b.
10987 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
10989 * sysdeps/generic/segfault.c (write_strsignal): New function.
10990 (catch_segfault): Use it instead of calling strsignal.
10992 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10994 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
10995 char to avoid warning.
10997 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
10999 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
11001 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
11002 outbuf to unsigned char to avoid warning.
11004 1999-03-11 David S. Miller <davem@redhat.com>
11006 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
11008 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
11010 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
11012 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
11014 (gconv_step_data): Likewise.
11015 * iconv/gconv_int.h (__gconv): Likewise.
11016 (__BUILINT_TRANS): Likewise.
11017 * iconv/gconv.c (__gconv): Likewise.
11018 * iconv/iconv.c (iconv): Add casts for call of __gconv.
11019 * iconv/skeleton.c: Change local parameters and variable from `char' to
11020 `unsigned char'. Remove casts from calls into modules.
11021 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
11022 `char' to `unsigned char'.
11023 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
11024 * wcsmbs/mbrtowc.c: Likewise.
11025 * wcsmbs/mbsnrtowcs.c: Likewise.
11026 * wcsmbs/mbsrtowcs.c: Likewise.
11027 * wcsmbs/wcrtomb.c: Likewise.
11028 * wcsmbs/wcsnrtombs.c: Likewise.
11029 * wcsmbs/wcsrtombs.c: Likewise.
11030 * wcsmbs/wctob.c: Likewise.
11032 1999-03-15 Mark Kettenis <kettenis@gnu.org>
11034 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
11035 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
11036 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
11037 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
11038 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
11039 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
11041 1999-03-15 Mark Kettenis <kettenis@gnu.org>
11043 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
11044 _hurd_select if TIMEMOUT is -1.
11046 1999-03-15 Mark Kettenis <kettenis@gnu.org>
11048 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
11050 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
11052 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
11053 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
11055 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11057 * manual/libc.texinfo: Undo last change for now.
11059 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
11061 * intl/locale.alias: Add entries for Croatian.
11062 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
11064 1999-03-13 Mark Kettenis <kettenis@gnu.org>
11066 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
11067 if the opened master pty really is a pty. `isatty' checks for
11068 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
11069 if we are out of pty's.
11071 1999-03-13 Mark Kettenis <kettenis@gnu.org>
11073 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
11074 opened file is closed on exec.
11075 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
11078 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11080 * manual/llio.texi (File Position Primitive): Reformat @end
11081 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
11083 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
11085 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
11087 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11088 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
11090 * locale/programs/localedef.c (main): Initialize `cat' to please
11093 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
11095 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
11096 check for root-owned symlinks and reject them too.
11098 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11100 * stdio-common/printf_fphex.c: Move to ...
11101 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
11102 extended precision number.
11103 * sysdeps/m68k/printf_fphex.c: New file.
11105 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11107 * manual/stdio.texi: Fix typos.
11109 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
11111 * version.h (VERSION): Bump to 2.1.1.
11113 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
11115 * nis/ypclnt.c: Try only twice to connect to NIS server.
11117 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
11119 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
11121 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11123 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
11124 (DENORM_EXP): New define. Use it as the exponent for a denormal.
11125 * stdlib/strtold.c: Moved to ...
11126 * sysdeps/generic/strtold.c: ... here.
11127 * sysdeps/m68k/strtold.c: New file.
11129 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11131 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
11132 point if the precision is zero, even if the mantissa is non-zero.
11134 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
11136 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
11137 arguments into the request message buffer inside `send_rpc'
11138 subfunction. We must repeat the marshalling when retrying the RPC
11139 after a SIGTTOU delivery.
11141 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
11142 path when there is no ctty port.
11143 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
11144 Move sigstate check inside loop so we recheck after handling a signal.
11146 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11148 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
11149 O_EXLOCK are BSD extensions.
11150 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
11152 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
11154 * manual/signal.texi (Termination in Handler): Correct example.
11155 Install default handler before reraising the signal.
11156 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
11158 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
11160 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
11161 null, in which case send an empty string.
11163 1999-03-02 Mark Kettenis <kettenis@gnu.org>
11165 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
11166 backward compatibility EH functions to be linked when using
11167 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
11169 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11171 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
11172 /dev/pts status may change during runtime.
11174 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11176 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
11177 change. /dev/pts status can change during runtime.
11179 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
11181 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
11182 poll reports error.
11183 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
11184 add some more sanity checks.
11185 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
11188 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
11190 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
11191 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
11192 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
11193 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
11194 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
11196 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
11197 * nis/nis_print.c: Fix ctime argument for platforms where
11198 sizeof (time_t) != sizeof (int).
11200 1999-03-07 Mark Kettenis <kettenis@gnu.org>
11202 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
11203 CLOCKS_PER_SEC instead of CLK_TCK.
11205 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
11207 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
11208 whether /dev/pts is available.
11209 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
11212 * posix/globtest.sh: Make common_objpfx path absolute and and db2
11213 and hesiod directory to library path [PR libc/1007].
11215 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11217 * resolv/inet_addr.c (inet_aton): Don't allow componets >
11218 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
11220 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
11222 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
11223 DT_PLTGOT has already been relocated.
11224 (__elf_machine_fixup_plt): Likewise.
11227 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
11229 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
11231 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
11233 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
11234 and fold string to uppercase [PR libc/1005].
11236 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11238 * elf/dl-load.c (lose): Fix return type.
11240 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
11242 * sysdeps/mach/hurd/bits/fcntl.h
11243 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
11244 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
11245 set O_NOTRANS as well.
11246 (__hurd_file_name_lookup_retry): At successful end of lookup,
11247 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
11248 it is a translated node not owned by root.
11249 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
11250 on the file name passed to LOOKUP.
11252 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
11254 * manual/time.texi (High Resolution Timer): Correct computation in
11255 example. Reported by jjf@devel.cemsys.com.
11257 1999-03-02 Philip Blundell <pb@nexus.co.uk>
11259 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
11260 entry is already relocated.
11262 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11264 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
11265 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
11267 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11269 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
11270 uc_link which is the right name according to Unix98.
11271 Reported by Craig Metz [PR libc/1001].
11272 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
11273 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
11274 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
11275 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
11276 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise.
11277 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
11279 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11281 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
11284 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11286 * iconvdata/Makefile: Always include iconv-rules, but disable rule
11287 to regenerate it if avoid-generated.
11289 * Makeconfig: Always include sys-dirs, but disable rule to
11290 regenerate it when avoid-generated.
11292 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
11293 rule to generate sysd-syscalls.
11295 * elf/Makefile (generated): Remove $(objpfx) from names.
11297 1999-02-28 Mark Kettenis <kettenis@gnu.org>
11299 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
11300 actual length if the adress length is smaller than the input
11301 value. Change type of *LEN paramater to socklen_t.
11302 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
11303 * sysdeps/mach/hurd/accept.c (accept): Likewise.
11304 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
11305 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
11306 paramater to socklen_t.
11308 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
11310 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
11311 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
11314 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
11316 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
11317 __get_phys_pages): Cast &HBI to silence warning.
11319 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
11320 * hurd/hurdchdir.c: New file.
11321 * hurd/hurdfchdir.c: New file.
11322 * sysdeps/mach/hurd/chroot.c: Call
11323 _hurd_change_directory_port_from_name to do the work.
11324 * sysdeps/mach/hurd/chdir.c: Likewise.
11325 * sysdeps/mach/hurd/fchdir.c: Call
11326 _hurd_change_directory_port_from_fd to do the work.
11327 * hurd/fchroot.c: Likewise.
11328 * hurd/hurd.h: Declare them.
11330 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
11332 * elf/dl-load.c (lose): Add more comments to explain the `why'.
11333 (_dl_map_object): Remove redundant test.
11335 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
11337 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
11338 try to _hurd_port_free a lower-numbered descriptor that was not in any
11341 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11343 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
11344 declaration for ____wcstod_l_internal.
11346 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
11347 __strtod_internal prototype.
11348 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
11349 (____strtold_l_internal): Add prototype declaration.
11350 (__strtold_l): Call correct function.
11352 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
11354 * elf/elf.h: Add 32bit HPPA definitions.
11356 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11358 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
11359 non-checked heap is restored when malloc checking was requested by
11361 (struct malloc_state): Add using_malloc_checking.
11362 (MALLOC_STATE_VERSION): Increment minor.
11363 (using_malloc_checking, disallow_malloc_check): New variables.
11364 (__malloc_check_init): Use them.
11365 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
11366 that it can the chunk is properly instrumented when malloc
11367 checking is enabled. Set the new using_malloc_checking field.
11368 (malloc_hook_ini): Correct signature when _LIBC is not defined.
11370 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11372 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
11373 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
11376 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
11377 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
11378 if ld.so is the main program.
11380 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
11382 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
11383 large for work_buffer, allocate new buffer.
11384 (printf_unknown): Likewise. [PR libc/988]
11386 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
11388 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
11389 instead of stat and fstat.
11390 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11392 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11394 * elf/dl-error.c (_dl_signal_cerror): New function.
11395 (_dl_signal_error): Don't call receiver function.
11396 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
11397 instead of _dl_signal_error when reporting references to undefined
11398 symbols or versions.
11399 (_dl_lookup_versioned_symbol): Likewise.
11400 (_dl_lookup_versioned_symbol_skip): Likewise.
11401 * elf/dl-version.c (match_symbol): Likewise.
11403 * elf/ldsodefs.h: Declare _dl_signal_cerror.
11405 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
11407 * misc/getttyent.c (getttyent): Release lock on stream later to
11408 also protect global variable zapchar.
11410 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
11411 __times [PR libc/990].
11413 1999-02-21 David S. Miller <davem@redhat.com>
11415 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
11416 parentheses in Feb 2 changes.
11417 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
11419 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11421 * sysdeps/generic/glob.c (glob): Save previous errno.
11423 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
11425 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
11426 lookup functions if it is too small.
11428 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
11430 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
11431 for tracing to the scope lists.
11432 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
11433 DT_SYMTAB is always available according to ELF spec.
11435 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
11436 call test whether there is any scope left.
11437 (_dl_lookup_versioned_symbol_skip): Likewise.
11439 * elf/Makefile (distribute): Add do-lookup.h.
11440 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
11441 * elf/dl-lookup.c: Move do_lookup function in separate file and
11442 include the file twice, for handling versioning and without it.
11444 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
11445 entry is already relocated.
11446 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
11447 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
11448 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
11449 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
11451 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
11453 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
11456 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
11457 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
11458 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
11459 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
11460 rel and rela relocations can both happen and skip one test if this
11462 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
11464 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
11466 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
11468 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
11469 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
11470 (_dl_map_object): DT_STRTAB entry is already relocated.
11471 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
11473 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
11475 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
11476 DT_VERSYM entries are already relocated.
11477 (profile_fixup): Likewise.
11478 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
11480 (match_symbol): DT_STRTAB entry is already relocated.
11481 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
11482 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
11483 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
11484 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
11485 (find_needed): DT_STRTAB entry is already relocated.
11486 (dl_main): Pass extra argument to elf_get_dynamic_info.
11487 DT_STRTAB entry is already relocated.
11488 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
11489 DT_PLTGOT entries are already relocated.
11490 (elf_machine_rela): Likewise for DT_SYMTAB.
11491 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
11493 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11494 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
11495 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11496 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11497 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
11498 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
11499 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
11500 * sysdeps/mips/mips64/dl-machine.h: Likewise.
11502 * grp/initgroups.c (initgroups): If function in current module was
11503 successful don't stop but continue to process to get all the groups.
11505 * elf/dl-load.c (_dl_map_object_from_fd): Use global
11506 _dl_pf_to_proot array to convert p_flags value.
11507 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11509 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
11510 loop to clear `info'.
11512 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
11513 do the work and don't use inline assembler.
11515 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
11517 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
11518 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
11519 noreturn, and prevent it from being inlined.
11520 Define LOSE appropriately.
11521 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
11522 Optimize decoding of p_flags for certain platforms.
11524 1999-02-19 Philip Blundell <pb@nexus.co.uk>
11526 * Makeconfig (link-libc): When doing a static link, make sure that
11527 libgcc.a is included both before and after libc.a.
11529 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
11531 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
11532 sp_warn, sp_inact, sp_expire and sp_flag.
11534 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
11536 * elf/link.h (link_map): Add l_dev and l_ino.
11537 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
11538 loaded shared object with all loaded objects. Initialize l_ino
11539 and l_dev in case it's new.
11540 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
11542 * elf/Makefile: Compile and run new test.
11543 * elf/multiload.c: New file.
11545 * nss/nsswitch.h (service_user): Change name field from const char *
11547 (name_database_entry): Likewise.
11548 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
11549 for change of `service_user'.
11550 (nss_getline): Adjust memory allocation for change of
11551 `name_database_entry'.
11553 * catgets/catgets.c: Correctly handle NLSPATH from environment
11556 * io/Makefile (routines): Add lock64.
11557 * io/Versions: Add lockf64 for GLIBC_2.1.1.
11558 * sysdeps/generic/lockf64.c: New file.
11560 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
11562 * string/bits/string2.h: Only use strncmp optimization if count
11563 argument is constant.
11565 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
11567 * sysdeps/mach/hurd/revoke.c: New file.
11569 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
11571 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
11572 int to avoid warning about `ISO C restricts enumerator values to
11575 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11577 * elf/dlfcn.h: Fix typo.
11578 * sysdeps/generic/bits/dlfcn.h: Likewise.
11579 * sysdeps/mips/bits/dlfcn.h: Likewise.
11581 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
11583 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
11584 for the case N == 0.
11586 * db2/Makefile (distribute): Add LICENSE.
11588 1999-02-03 Jeff Bailey <jbailey@nisa.net>
11590 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
11593 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
11595 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
11597 * time/mktime.c: Use ISO C form for function definitions and
11598 remove unnecessary prototypes.
11600 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
11602 * time/time.h: Avoid unneccesary #ifdef.
11604 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
11606 * stdio-common/_itoa.c (_itoa): Correct parameters to
11609 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11611 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
11612 before (e.g. in glob.h).
11613 Closes PR libc/959.
11615 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11617 * sysdeps/mips/fpu_control.h: Fix typo.
11618 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
11621 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
11623 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
11624 the "unused" ends of the sockets. Let pipes be bidirectional.
11626 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
11628 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
11631 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11633 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
11634 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
11636 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
11637 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
11639 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
11641 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
11643 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11645 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
11646 check for priority mask.
11648 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
11650 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
11651 Reported by Craig Metz <cmetz@inner.net> .
11653 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11655 * stdio-common/Makefile (tests): tllformat added.
11657 * stdio-common/tllformat.c: New program, based on tiformat.c with
11658 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
11660 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11662 * posix/test-vfork.c: Fix exit status test.
11664 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11666 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
11667 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
11669 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11671 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
11672 of separare explicit comparisons.
11674 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11676 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
11679 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
11682 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
11684 * po/el.po: Update from translation team.
11686 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11688 * intl/locale.alias: Fix slovenian entry [PR libc/948].
11690 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11692 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
11693 * inet/ruserpass.c: Likewise.
11694 * locale/programs/stringtrans.c: Likewise.
11695 * locale/programs/localedef.c: Likewise.
11696 * nscd/grpcache.c: Likewise.
11697 * nss/nss_files/files-XXX.c: Likewise.
11698 * stdlib/canonicalize.c: Likewise.
11699 * sysdeps/posix/sigwait.c: Likewise.
11701 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11703 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
11704 even on 64 bit platforms.
11706 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
11707 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
11709 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
11711 * intl/dcgettext.c: Include locale.h is available.
11713 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
11715 * po/nl.po: Update from translation team.
11717 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
11719 * Makefile: Allow calling goals for po subdir.
11721 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
11722 signal definitions.
11724 * po/el.po: New file.
11726 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11728 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
11729 when processing DT_SYMBOLIC objects.
11731 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11733 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
11734 program headers without PT_PHDR only require that they are
11735 contained within one of the loaded segments. Don't use assert,
11736 since that would be a bug in the object, not the dynamic linker.
11738 1999-02-08 Richard Henderson <rth@cygnus.com>
11740 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
11741 restore all call-clobbered fp regs.
11743 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
11745 * po/cs.po: New file.
11747 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
11750 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
11752 * signal/signal.h: Don't declare __libc_allocate_rtsig.
11753 * include/signal.h: Declare __libc_allocate_rtsig here.
11755 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
11756 point functions, not do_lookup since the later can be called more
11759 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
11761 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
11762 macro, so that architectures which need to add some special
11763 offset to stack pointer can share this file.
11765 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
11766 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
11767 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
11768 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
11770 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
11771 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
11772 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
11773 between sparc32 and sparc64.
11775 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
11776 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
11777 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
11778 between sparc32 and sparc64.
11780 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
11781 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
11782 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
11783 between sparc32 and sparc64.
11785 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
11786 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
11787 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
11788 between sparc32 and sparc64.
11790 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
11792 * Versions.def: New version GLIBC_2.1.1 for libc.
11793 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
11794 * stdlib/labs.c: Moved to...
11795 * sysdeps/generic/labs.c: ...here.
11796 * stdlib/llabs.c: Moved to...
11797 * sysdeps/generic/llabs.c: ...here.
11798 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
11799 header. Declare _Exit.
11800 * sysdeps/generic/_exit.c: Add alias _Exit.
11801 * sysdeps/mach/hurd/_exit.c: Likewise.
11802 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
11803 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
11804 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
11805 * sysdeps/unix/_exit.c: Likewise.
11806 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
11807 imaxdiv and imaxabs. Declare lldiv_t if necessary.
11808 * sysdeps/wordsize-64/inttypes.h: Likewise.
11809 * sysdeps/wordsize-32/llabs.c: New file.
11810 * sysdeps/wordsize-32/lldiv.c: New file.
11811 * sysdeps/wordsize-64/labs.c: New file.
11812 * sysdeps/wordsize-64/ldiv.c: New file.
11813 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
11814 * manual/startup.texi: Document _Exit.
11816 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11818 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
11820 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
11822 * Versions.def: Add versions for ld.so.
11823 * csu/Versions: Remove __libc_stack_end here.
11824 * elf/Versions: Split libc definitions in libc and ld.so definitions.
11825 * elf/Makefile (ld-map): Change to ld.so.map.
11826 * scripts/versions.awk: Recognize dot in library names.
11828 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
11829 Don't use __tolower and __toupper in inline functions.
11830 Add optimizing macros for tolower and toupper.
11831 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
11832 (_toupper): Don't use __toupper.
11833 * ctype/ctype.c (tolower): Don't use __tolower.
11834 (toupper): Don't use toupper.
11836 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
11838 * resolv/Versions (libresolv): Export __ns_name_unpack and
11840 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
11841 make it global. Change all users. Similar for ns_name_ntop.
11842 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
11843 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
11844 directly to detect too small buffer.
11845 * resolv/nss_dns/dns-network.c: Likewise.
11847 * stdio-common/Makefile (tests): Add scanf12.
11848 * stdio-common/scanf12.c: New file.
11849 * stdio-common/scanf12.input: New file.
11850 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
11851 floating-point correctly if the number is invalid.
11853 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
11855 * stdio-common/printf_fp.c: Likewise.
11856 * stdio-common/printf_fphex.c: Likewise.
11857 * stdio-common/vfprintf.c: Likewise.
11860 See ChangeLog.9 for earlier changes.