1 2000-01-18 Jakub Jelinek <jakub@redhat.com>
3 * dirent/dirent.h (getdentries): Correct prototype to use __off64_t.
5 2000-01-18 Ulrich Drepper <drepper@cygnus.com>
7 * timezone/antarctica: Update from tzdata2000a.
8 * timezone/asia: Likewise.
9 * timezone/australasia: Likewise.
10 * timezone/backward: Likewise.
11 * timezone/northamerica: Likewise.
12 * timezone/southamerica: Likewise.
13 * timezone/zone.tab: Likewise.
15 * nscd/connections.c (dbs): Use
16 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP for .lock.
19 * nscd/hstcache.c (cache_addhst): Don't automatically add IPv6
20 address. Suggested by Philip Blundell.
22 * posix/TESTS: Fix expected result for test cases with * with no
25 * sysdeps/unix/sysv/linux/fstatvfs.c: Move actual code in...
26 * sysdeps/unix/sysv/linux/internal_statvfs.c: ...here. New file.
27 * sysdeps/unix/sysv/linux/statvfs.c: Don't use fstatvfs since the
28 open call would require read permission.
29 Patch by James Antill <james@and.org>.
31 * sysdeps/unix/sysv/linux/Dist: Add internal_fnmatch.c.
33 * inet/getnameinfo.c: Terminate host name for NI_NOFQDN.
34 * sysdeps/posix/getaddrinfo.c: Correct modifications done for
35 PR1515. Patches by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
37 * posix/regex.h (RE_SYNTAX_POSIX_EXTENDED): Add RE_CONTEXT_INVALID_OPS.
38 * posix/regex.c (regex_compile): Return appropriate errors for
39 unterminated brace expressions. Detect invalid characters
41 * posix/bits/posix2_lim.h: Define RE_DUP_MAX correctly.
42 * sysdeps/posix/sysconf.c: Include regex.h.
43 Reported by Geoff Clare <gwc@unisoft.com> (PR libc/1522).
45 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
47 * sysdeps/posix/getaddrinfo.c (gaih_local): If name is given and
48 AI_NUMERICHOST flag is set, return an error.
49 Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
51 * inet/rcmd.c: Implement rcmd_af, rresvport_af, ruserok_af, and
53 * inet/rexec.c: Implement rexec_af.
54 Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
56 * resolv/netdb.h: Add declarations of rcmd_af, rexec_af, ruserok_af,
59 2000-01-17 Jakub Jelinek <jakub@redhat.com>
61 * sysdeps/unix/sysv/linux/bits/ipc.h: New file.
62 * sysdeps/unix/sysv/linux/bits/sem.h: New file.
63 * sysdeps/unix/sysv/linux/bits/shm.h: New file.
64 * sysdeps/unix/sysv/linux/bits/msg.h: New file.
65 * sysdeps/unix/sysv/linux/bits/alpha/ipc.h: Update for new ipc.
66 * sysdeps/unix/sysv/linux/bits/alpha/sem.h: New file.
67 * sysdeps/unix/sysv/linux/bits/alpha/shm.h: New file.
68 * sysdeps/unix/sysv/linux/bits/alpha/msg.h: New file.
69 * sysdeps/unix/sysv/linux/bits/sparc/ipc.h: New file.
70 * sysdeps/unix/sysv/linux/bits/sparc/sem.h: New file.
71 * sysdeps/unix/sysv/linux/bits/sparc/shm.h: New file.
72 * sysdeps/unix/sysv/linux/bits/sparc/msg.h: New file.
74 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl):
76 (__new_msgctl): New function.
77 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl):
79 (__new_semctl): New function.
80 * sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl):
82 (__new_shmctl): New function.
84 * sysdeps/unix/sysv/linux/msgget.c: Define __LIBC_IPC_INTERNAL.
85 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
86 * sysdeps/unix/sysv/linux/semget.c: Likewise.
87 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
88 * sysdeps/unix/sysv/linux/semop.c: Likewise.
89 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
90 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
91 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
93 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: New file.
94 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: New file.
95 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: New file.
97 * sysdeps/unix/sysv/linux/Versions: Add msgctl, semctl, shmctl.
99 2000-01-17 Jakub Jelinek <jakub@redhat.com>
101 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
102 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
103 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove setres[ug]id.
104 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Kill warnings.
105 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Define needed
108 * sysdeps/unix/sysv/linux/pwrite64.c: Use proper prototype.
109 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
111 * sysdeps/unix/sysv/linux/kernel-features.h: [gs]etres[ug]id are
112 available on sparc since 2.3.39.
114 * sysdeps/unix/sysv/linux/execve.c: Kill warnings.
116 2000-01-17 Jakub Jelinek <jakub@redhat.com>
118 * sysdeps/unix/sysv/linux/i386/chown.c (__syscall_chown): Use proper
120 (__real_chown): Return EINVAL if owner or group are out of the range
122 * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
123 * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
124 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Return
125 EINVAL if ruid, euid or suid are out of the range -1U .. 65534.
126 * sysdeps/unix/sysv/linux/i386/setresgid.c (__setresgid): Similarly.
127 * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Simplify.
128 * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
129 * sysdeps/unix/sysv/linux/m68k/chown.c (__syscall_chown): Use proper
131 Don't include non-existant header.
132 (__chown): Return EINVAL if owner or group are out of the range
134 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setresuid,
135 setresgid): Inherit standard linux/syscalls.list definitions.
136 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Remove.
137 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Remove.
138 * sysdeps/unix/sysv/linux/syscalls.list (setresgid): Provide
141 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
143 * locale/iso-639.def: Update Hebrew, Yiddish, and Indonesian entry
144 from 1989 change in ISO 639.
146 2000-01-12 Andreas Jaeger <aj@suse.de>
148 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): New
149 function; needed for 32bit uid support.
151 * sysdeps/unix/sysv/linux/i386/xstat.c: New file, handles 32bit
154 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
156 * intl/locale.alias: Add entries for galician.
158 * locale/programs/ld-ctype.c (get_character): If tok_ucs4 found, first
159 try to get sequence from charmap with Uxxxxxxxx name.
160 (charclass_ucs4_ellipsis): Likewise.
161 (charclass_charcode_ellipsis): Allow byte sequence missing.
162 (read_writestring): Free allocated memory in case of an error.
163 (set_class_defaults): Don't search repertoire map for wide character
164 default values; we know it's UCS4.
166 * locale/programs/repertoire.c (repertoire_find_value): Just return an
167 error if no repertoire map was loaded.
168 (repertoire_find_symbol): Likewise.
169 (repertoire_find_seq): Likewise.
171 * posix/fnmatch.c: Put internal_fnmatch in separate file. Include
172 twice, to define singlebyte and multibyte version.
173 (fnmatch): Differentiate between singlebyte and multibyte locale and
174 call appropriate internal function.
175 * posix/fnmatch_loop.c: New file.
176 * posix/Makefile (distribute): Add fnmatch_loop.c.
178 * locale/programs/repertoire.c (repertoire_read): Don't print
179 error message when repertoire map is missing.
180 (repertoire_complain): Print error message for missing map, but only
182 * locale/programs/repertoire.h (repertoire_complain): Add prototype.
184 * locale/programs/linereader.c (get_string): Prefer getting names
185 from charseq entries. Try finding Uxxxxxxxx names in charmap
186 before trying to map from repertoire.
188 2000-01-16 Ulrich Drepper <drepper@cygnus.com>
190 * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix missing brace
191 error in last change.
192 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
194 * stdlib/longlong.h: Fix typo in last patch.
196 2000-01-12 Andreas Jaeger <aj@suse.de>
198 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
199 Added for Linux 2.3.39+.
201 * sysdeps/unix/sysv/linux/getresgid.c: Support 32bit UIDs and
203 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
204 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
205 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
206 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
207 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
208 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
209 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
210 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
211 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
212 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
213 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
214 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
215 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
216 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
217 * sysdeps/unix/sysv/linux/setegid.c: Likewise.
219 * sysdeps/unix/sysv/linux/arm/chown.c: New file.
220 * sysdeps/unix/sysv/linux/arm/fchown.c: New file.
221 * sysdeps/unix/sysv/linux/arm/geteuid.c: New file.
222 * sysdeps/unix/sysv/linux/arm/getegid.c: New file.
223 * sysdeps/unix/sysv/linux/arm/getuid.c: New file.
224 * sysdeps/unix/sysv/linux/arm/getgid.c: New file.
225 * sysdeps/unix/sysv/linux/arm/lchown.c: New file.
226 * sysdeps/unix/sysv/linux/i386/fchown.c: New file.
227 * sysdeps/unix/sysv/linux/i386/getegid.c: New file.
228 * sysdeps/unix/sysv/linux/i386/geteuid.c: New file.
229 * sysdeps/unix/sysv/linux/i386/getgid.c: New file.
230 * sysdeps/unix/sysv/linux/i386/getuid.c: New file.
231 * sysdeps/unix/sysv/linux/i386/lchown.c: New file.
232 * sysdeps/unix/sysv/linux/m68k/chown.c: New file.
233 * sysdeps/unix/sysv/linux/m68k/fchown.c: New file.
234 * sysdeps/unix/sysv/linux/m68k/getegid.c: New file.
235 * sysdeps/unix/sysv/linux/m68k/geteuid.c: New file.
236 * sysdeps/unix/sysv/linux/m68k/getgid.c: New file.
237 * sysdeps/unix/sysv/linux/m68k/getuid.c: New file.
238 * sysdeps/unix/sysv/linux/m68k/lchown.c: New file.
239 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: New file.
240 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: New file.
241 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: New file.
242 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: New file.
243 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: New file.
244 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: New file.
245 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: New file.
246 Based on a patch by Chris Wing <wingc@engin.umich.edu>.
248 2000-01-14 Jakub Jelinek <jakub@redhat.com>
250 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: New file.
252 2000-01-13 Jakub Jelinek <jakub@redhat.com>
254 * sysdeps/generic/backtrace.c: Include signal.h which
255 sigcontextinfo.h headers are used to expect.
256 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h
257 (register_dump): Fix a typo in the printout.
258 Avoid using reg_window, so that asm/ptrace.h is not necessary.
259 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
260 (ADVANCE_STACK_FRAME): Likewise.
262 * stdlib/longlong.h: Avoid using __sparc_v9__ ifdefs.
263 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
264 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
266 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Include bits/wordsize.h
267 to make it clear this file depends on __WORDSIZE.
268 * sysdeps/unix/sysv/linux/ftruncate64.c (__have_no_truncate64):
269 Renamed from have_no_truncate64.
270 * sysdeps/unix/sysv/linux/truncate64.c (__have_no_truncate64):
273 2000-01-16 Ulrich Drepper <drepper@cygnus.com>
275 * Makeconfig (rpath-dirs): Remove db2.
276 (dbojdir): Remove variable.
278 * locale/programs/locfile.h (handle_copy): Take repertoire map
279 name as parameter, not pointer to repertoire structure.
280 * locale/programs/ld-address.c: Change caller.
281 * locale/programs/ld-ctype.c: Likewise.
282 * locale/programs/ld-identification.c: Likewise.
283 * locale/programs/ld-measurement.c: Likewise.
284 * locale/programs/ld-messages.c: Likewise.
285 * locale/programs/ld-monetary.c: Likewise.
286 * locale/programs/ld-name.c: Likewise.
287 * locale/programs/ld-numeric.c: Likewise.
288 * locale/programs/ld-paper.c: Likewise.
289 * locale/programs/ld-telephone.c: Likewise.
290 * locale/programs/ld-time.c: Likewise.
292 2000-01-13 Ulrich Drepper <drepper@cygnus.com>
294 * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code generated if
295 mmap2 is available when compiling but no at runtime.
297 2000-01-12 Ulrich Drepper <drepper@cygnus.com>
299 * iconvdata/iso-ir-165.c: New file.
300 * iconvdata/iso-ir-165.h: New file.
301 * iconvdata/Makefile: Add rules to build libISOIR165.
303 * Makefile (install): Correct passing -r parameter to ldconfig.
305 * iconvdata/gconv-modules: Add aliases ISO-IR-199 and ISO-IR-203.
306 Reported by Bruno Haible <haible@ilog.fr>.
308 2000-01-11 Andreas Schwab <schwab@suse.de>
310 * sysdeps/i386/fpu/libm-test-ulps: Adjust some epsilons.
312 2000-01-10 Thorsten Kukuk <kukuk@suse.de>
314 * nss/getent.c: Add ipv6 support for hosts.
316 2000-01-05 Philip Blundell <pb@futuretv.com>
318 * sysdeps/unix/sysv/linux/arm/Versions: Add getrlimit, setrlimit,
319 getrlimit64, setrlimit64 for GLIBC_2.1.3.
320 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
322 * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: New file.
323 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
324 * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
325 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Likewise.
326 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Likewise.
327 * sysdeps/unix/sysv/linux/arm/getrlimit.c: Likewise.
329 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
330 (sysdep_routines): Add oldgetrlimit64, oldsetrlimit64.
331 [subdir=misc] (sysdep_headers): Add sys/elf.h.
333 2000-01-09 Andreas Jaeger <aj@suse.de>
335 * manual/install.texi (Tools for Compilation): Update required
337 (Configuring and compiling): Restore old comments about
338 configparms; modify to reflect current usage.
340 2000-01-09 Philip Blundell <philb@gnu.org>
342 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't attempt name
343 resolution if the hints included AI_NUMERICHOST.
345 2000-01-11 Andreas Schwab <schwab@suse.de>
347 * sysdeps/mips/__longjmp.c (__longjmp): Change call to abort into
348 infinite loop to avoid pulling in stdio in the dynamic linker.
349 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
351 2000-01-10 Andreas Jaeger <aj@suse.de>
353 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Follow
354 change from 1999-10-07 to elf/elf.h and rename EM_MIPS_RS4_BE to
356 * sysdeps/mips/mips64/dl-machine.h: Likewise.
358 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Remove greg_t,
359 gregset_t, fpregset_t, and NGREG definitions.
361 * sysdeps/mips/Implies: Add wordsize-32.
363 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Add missing
366 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Remove K&R support, add
369 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Remove K&R support.
370 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
371 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
372 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
373 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
374 * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
375 * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
377 2000-01-09 Philip Blundell <philb@gnu.org>
379 * sysdeps/arm/dl-machine.h (CLEAR_CACHE): System calls clobber R0.
380 (dl_platform_init): Allow _dl_platform to be NULL.
382 * sysdeps/unix/sysv/linux/arm/sysdep.h (UNDOARGS_5): Fix error in
385 2000-01-08 Ulrich Drepper <drepper@cygnus.com>
387 * nscd/connections.c (handle_request): Handle systems without
389 (nscd_run): Likewise.
391 2000-01-07 Andreas Jaeger <aj@suse.de>
393 Add support for Berkeley db 3.0.x and merge db support:
394 * nss/nss_db/dummy-db.h (struct db30): New.
398 * nss/makedb.c: Move all database routines to db-open.c.
399 (main): Adjust to interface changes.
400 Load database early to initialize version dependend variables.
402 * nss/db-open.c: Merge database routines from makedb.c.
403 Define version dependend constansts as variables.
404 (load_db): Check also for db 3.
405 (internal_setent): Call dbopen.
406 (db_cursor): New function from makedb; handles db 3 now.
407 (dbopen): New function from makedb; handles db 3.
409 * nss/nss_db/db-XXX.c: Use db_notfound since the value is
410 different in different DB versions.
412 * nss/nss_db/nss_db.h: Add version dependend constants as
413 variables, add exportet interfaces from db-open.c.
415 * nss/Makefile ($(objpfx)makedb): Link against db-open.
417 2000-01-07 Ulrich Drepper <drepper@cygnus.com>
419 * misc/error.c: Don't use `defined _LIBC', only `_LIBC'.
420 Reported by Jim Meyering.
422 * time/strftime.c: Pretty printing.
424 2000-01-07 Andreas Jaeger <aj@suse.de>
426 * manual/socket.texi (Host Names): Fix example.
427 Reported by Marco Budde <budde@telos.de>.
429 2000-01-06 Ulrich Drepper <drepper@cygnus.com>
431 * localedata/Makefile (install-locales): Create locale directory
432 if it does not exist.
434 * locale/programs/charmap.c (charmap_read): Call lr_open here and
435 not in parse_charmap. Try also the directories on the I18NPATH.
436 (parse_charmap): Change accordingly.
438 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
440 * sysdeps/unix/sysv/linux/i386/Dist: Distribute oldgetrlimit64.c
441 and oldsetrlimit64.c.
443 * sysdeps/unix/sysv/linux/arm/Dist: Distribute sys/elf.h and
446 * manual/texinfo.tex: Updated from latest official version.
448 * debug/Makefile (distribute): Add frame.h.
450 2000-01-05 Philip Blundell <philb@gnu.org>
452 * sysdeps/arm/frame.h: New file.
453 * sysdeps/generic/frame.h: Likewise.
454 * sysdeps/generic/segfault.c (struct layout): Delete definition;
455 include the above file instead.
456 * sysdeps/generic/backtrace.c (struct layout): Likewise.
457 (__backtrace): Use ADVANCE_STACK_FRAME.
458 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
459 (ADVANCE_STACK_FRAME): New macro.
460 (GET_FRAME): Apply above to returned value.
462 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Add `fault_address'.
464 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
466 * sysdeps/posix/getaddrinfo.c: Add support for SOCK_RAW.
467 Patch by YOSHIFUJI Hideaki <yoshifuji@ecei.tohoku.ac.jp>.
469 * io/ftw.c (process_entry): Cache object dev/inode only for
470 directories (PR libc/1514).
472 2000-01-05 Andreas Schwab <schwab@suse.de>
474 * locale/programs/charmap.c (charmap_read): Fix typo.
476 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
478 * locale/programs/charset.c: Removed.
480 * iconvdata/Makefile: Add rules for ISO-8859-16 module.
481 * iconvdata/gconv-modules: Likewise.
482 * iconvdata/iso8859-16.c: New file.
484 2000-01-05 Andreas Schwab <schwab@suse.de>
486 * iconv/iconv_prog.c (process_block): Add cast to avoid warning.
488 2000-01-05 Andreas Jaeger <aj@suse.de>
490 * intl/locale.alias: Add lithunian entry.
491 Reported by Kestutis Kupciunas <kesha@soften.ktu.lt>, PR libc/1507.
493 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
495 * locale/programs/stringtrans.c: Removed.
496 * locale/programs/stringtrans.h: Removed.
497 * locale/programs/linereader.c: Remove #include of stringtrans.h.
499 * locale/findlocale.c (_nl_find_locale): Don't try using mmap is
500 _POSIX_MAPPED_FILES is not defined.
502 * locale/findlocale.c (_nl_find_locale): Correct memory allocation
505 * locale/setlocale.c (new_composite_name): Use _nl_C_name and
506 _nl_POSIX_name instead of "C" and "POSIX" strings.
508 * ctype/ctype-info.c (__ctype32_tolower): Use _nl_C_CTYPE_tolower.
509 (__ctype32_toupper): Use _nl_C_CTYPE_toupper.
510 * locale/C-ctype.c (_nl_C_LC_CTYPE_tolower32): Removed. We can
511 reuse the _nl_C_LC_CTYPE_tolower table.
512 (_nl_C_LC_CTYPE_toupper32): Likewise.
513 (_nl_C_LC_CTYPE): Use normal table to initialize tolower32 and
516 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISNCTRL bit for
518 (_nl_C_LC_CTYPE_class32): Likewise.
520 * rt/aio.h (struct aioinit): Replace one aio_reserved value with
522 * rt/aio_misc.c: Rewrite to not automatically terminate worker threads
523 after the operation is done. Let them linger for a user-definable
525 * rt/aio_cancel.c: Likewise.
526 Patch by Willian M Shubert <william.m.shubert@intel.com>.
528 * sysdeps/i386/i686/add_n.S: New file.
530 2000-01-02 Philip Blundell <philb@gnu.org>
532 * sysdeps/unix/sysv/linux/arm/ioperm.c: Use sysctl by preference
533 to obtain port mapping information. Avoid use of mprotect.
535 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
537 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Add
538 definition from 2.3.36.
540 2000-01-04 Andreas Jaeger <aj@suse.de>
542 * nss/nss_db/dummy-db.h (struct db24): Add missing field flags.
543 (struct db27): Add missing fields byteswapped, join and flags;
544 remove wrong member handleq.
545 (struct dbc27): Correct lock field.
547 * nss/makedb.c: Remove __P.
549 2000-01-04 Andreas Jaeger <aj@suse.de>
551 * nss/nss_db/db-open.c (internal_setent): Check for db_open for
552 success, fix a memory leak and clean up function.
554 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
556 * Makefile (install): Pass $(install_root) to ldconfig.
557 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
559 2000-01-03 Jakub Jelinek <jakub@redhat.com>
561 * soft-fp/op-1.h: Fix division for machines using not normalizing
562 version of udiv_qrnnd in longlong.h.
563 * soft-fp/sysdeps/mips/sfp-machine.h: Likewise.
564 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Likewise.
565 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Likewise.
566 Patch by Eddie C. Dost <ecd@skynet.be>.
568 * soft-fp/soft-fp.h (QItype, UQItype): New types used by longlong.h.
570 2000-01-03 Andreas Schwab <schwab@suse.de>
572 * sysdeps/generic/dl-sysdep.c: Initialize __libc_multiple_libcs,
573 needed for change in common symbol handing in newer binutils.
575 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
577 * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code for running on
578 kernel without mmap2 syscall.
580 2000-01-03 Philip Blundell <philb@gnu.org>
582 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MMAP2_SYSCALL,
583 __ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL): Define on
584 ARM for kernels >= 2.3.35.
586 2000-01-03 Philip Blundell <philb@gnu.org>
588 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove mmap64 alias.
589 Optimise error handling a little.
590 * sysdeps/unix/sysv/linux/arm/mmap64.S: New file.
592 2000-01-03 Andreas Jaeger <aj@suse.de>
594 * include/resolv.h: Remove declarations for __ns_name_ntop and
595 __ns_name_unpack since those are available in resolv/arpa/nameser.h.
597 2000-01-03 Andreas Jaeger <aj@suse.de>
599 * time/tst-strptime.c (test_tm): Add tests for all fields of
602 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
604 * string/bits/string2.h (__strsep_g): Don't handle empty __S special.
606 2000-01-03 Andreas Jaeger <aj@suse.de>
608 * string/tester.c (test_strsep): Add one more test.
610 2000-01-03 Philip Blundell <philb@gnu.org>
612 * string/tester.c (test_mempcpy): New function.
614 (test_memcpy): Test unaligned cases too.
616 * sysdeps/arm/bits/string.h (_HAVE_STRING_ARCH_mempcpy): Define.
618 * sysdeps/arm/fpu/bits/mathdef.h: New file.
620 2000-01-02 Ulrich Drepper <drepper@cygnus.com>
622 * posix/Makefile (tests): Add tst-mmap.
623 * posix/tst-mmap.c: New file.
625 * sysdeps/unix/sysv/linux/i386/mmap64.S: Pop registers after mmap2
626 call before handling error.
628 * sysdeps/unix/sysv/linux/i386/mmap64.S: Handle unaligned offsets.
629 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
631 * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs): Add mapping for
633 (__ksc5601_sym_from_ucs): Add mapping back from U00AE and U20AC.
634 * iconvdata/ksc5601.h (KSC5601_SYMBOL): Adjust for the two new
636 * iconvdata/testdata/EUC-KR: Add Euro and Registered sign.
637 * iconvdata/testdata/ISO-2022-KR: Likewise.
639 * sysdeps/unix/sysv/linux/llseek.c: Formulate warning message stronger.
641 * iconvdata/gconv-modules: Remove BALTIC. It's the same as
643 * iconvdata/Makefile (distribute): Remove baltic.c.
644 (modules): Remove BALTIC.
645 (gen-8bit-gap-modules): Remove baltic.
646 * iconvdata/baltic.c: Removed.
648 * sysdeps/posix/system.c: Correct return value for LINE == NULL.
650 * signal/Versions [GLIBC_2.1.3] (libc): Export __sigsuspend.
652 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Fix
653 typos (__ASSUME_TRUNCATE64_SYSCALL -> __ASSUME_MMAP2_SYSCALL).
654 Reported by Philip Blundell <Philip.Blundell@pobox.com>.
656 * nss/Makefile: Add rules to build makedb.
657 * nss/nss_db/nss_db.h: Add definitions needed for makedb.
658 * nss/nss_db/dummy-db.h: Likewise.
659 * nss/makedb.c: New file. Copied from file in db2, modified to not
660 depend on being linked against libdb.
662 2000-01-01 Ulrich Drepper <drepper@cygnus.com>
664 * Makeconfig (all-subdirs): Remove db and db2.
668 * nss/nss_db/db-XXX.c: Move internal_setent and internal_endent
669 functions from here...
670 * nss/db-alias.c: ...and here...
671 * nss/db-netgrp.c: ...and here...
672 * nss/nss_db/db-open.c: ...to here. New file.
673 * nss/nss_db/dummy-db.h: New file.
674 * nss/nss_db/nss_db.h: New file.
675 * nss/Depend: Depend in dlfcn, not db2.
676 * nss/Makefile (libnss_db-routines): Add db-open.
677 (distribute): Add nss_db.h dummy-db.h.
678 (libnss_db.so): Replace libdb dependency by $(libdl).
679 Based on a patch by Zack Weinberg.
681 * locale/programs/ld-ctype.c: Implement rest of transliteration
683 * locale/programs/locfile-kw.gperf: New keyword translit_ignore.
684 * locale/programs/locfile-token.h: Add tok_translit_ignore.
686 1999-12-31 Ulrich Drepper <drepper@cygnus.com>
688 * locale/programs/ld-collate.c (collate_output): Emit correct
689 information for collation elements.
690 Don't write over end of array idx.
691 * posix/regex.c: Handle also collation elements at end of range.
693 * posix/PTESTS: Fix a few typos.
695 * posix/bits/posix2_lim.h: Remove _POSIX2_EQUIV_CLASS_MAX. I have
696 no idea where this came from.
697 * sysdeps/posix/sysconf.c: Remove _POSIX2_EQUIV_CLASS_MAX handling.
699 1999-12-31 Andreas Jaeger <aj@suse.de>
701 * libio/strfile.h: Remove K&R compatibility.
702 * locale/langinfo.h: Likewise.
703 * locale/localeconv.c (localeconv): Likewise.
704 * locale/programs/simple-hash.h: Likewise.
705 * nis/nis_xdr.h: Likewise.
706 * nis/rpcsvc/nislib.h: Likewise.
707 * nis/rpcsvc/nis_callback.h: Likewise.
708 * nis/rpcsvc/nis.h: Likewise.
709 * nis/ypclnt.c: Likewise.
710 * nscd/nscd_proto.h: Likewise.
711 * nscd/nscd.c: Likewise.
712 * sysdeps/generic/inttypes.h: Likewise.
713 * sysdeps/gnu/utmpx.h: Likewise.
715 * nis/nis_intern.h: Remove K&R compatibility; add missing ints.
716 * sunrpc/rpcsvc/rusers.x: Likewise.
718 * nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat.
720 * elf/dl-misc.c: Remove __libc_write prototype since it's already
722 * elf/dl-profile.c: Likewise.
723 * elf/dl-load.c: Likewise for __libc_read.
725 * elf/dl-profile.c: Remove __P.
726 * elf/sprof.c: Likewise.
727 * elf/sln.c: Likewise.
729 1999-12-31 Ulrich Drepper <drepper@cygnus.com>
731 * locale/langinfo.h: Add constants for wide character collation
733 * locale/categories.def: Add appropriate entries for collate symbol
735 * locale/C-collate.c: Add initializers for new entries.
736 Remove commented out code.
737 * locale/elem-hash.h: New file.
738 * locale/Makefile (distribute): Add elem-hash.h.
739 * locale/programs/ld-collate.c: Implement output of collate symbol
742 * posix/regex.c: Implement collation class handling.
744 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
746 * posix/regex.c (regex_compile): Implement equivalence class handling.
748 1999-12-30 Geoffrey Keating <geoffk@cygnus.com>
750 * sysdeps/powerpc/dl-machine.c: Many minor formatting changes.
751 (OPCODE_LWZU): New macro.
752 (OPCODE_ADDIS_HI): New macro.
753 (OPCODE_LIS_HI): New macro.
754 (__elf_machine_runtime_setup): Change PLT code-generation scheme
755 for thread safety even with very large PLTs, better efficiency,
756 and to fix a cache-flushing bug. Also support the Motorola
757 8xx processors which have a different cache line size than all
759 (__elf_machine_fixup_plt): Likewise.
760 (__process_machine_rela): Don't use elf_machine_fixup_plt.
762 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
764 * wcsmbs/wcscoll.c: Use multibyte character version.
765 * wcsmbs/wcsxfrm.c: Likewise.
766 * string/strcoll.c: Prepare to be used for the wide character version.
767 * string/strxfrm.c: Likewise.
768 * locale/weightwc.h: New file.
770 1999-12-30 Geoff Keating <geoffk@cygnus.com>
772 * sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove
773 the (void) casts as now feraiseexcept returns a value.
774 (feclearexcept): Likewise.
776 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0',
777 it interferes with the macros for AIX.
779 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
781 * locale/programs/ld-collate.c (collate_finish): Always define
782 weight for UNDEFINED if not defined by the user but don't complain
783 unless it is needed in the multibyte character table.
784 (collate_output): Add extra dummy elements in wide char tables in the
785 same way done for multibyte. Always output undefined entry in
786 wide character table.
788 * locale/Makefile (categories): Remove commented-out old definition.
790 * locale/programs/ld-collate.c (insert_value): Don't pass wide string
791 to new_element if the wide char is not valid.
792 (handle_ellipsis): Likewise.
793 (collate_read): It's no problem if the string in the collating element
794 definition cannot be represented as multibyte or wide char string.
796 1999-12-13 Andreas Jaeger <aj@suse.de>
798 * resolv/resolv.h: Remove K&R compatibility.
800 * resolv/res_libc.c: Move definition of _res after res_init,
801 res_init should use the threaded specific context.
803 * resolv/Makefile (+cflags): Remove -Wno-comment since it's not
806 1999-12-29 Ulrich Drepper <drepper@cygnus.com>
808 * locale/langinfo.h: Add constants for wide character collation data.
809 * locale/categories.def: Add appropriate entries for collate entries.
810 * locale/C-collate.c: Add initializers for new entries.
811 * locale/programs/ld-collate.c: Implement output of wide character
814 * locale/programs/ld-ctype.c (allocate_arrays): Change algorithm to
815 compute wide character table size a bit: it now gives up a bit of
816 total table size for fewer levels.
818 * soft-fp/*: Tons of new files to implement floating-point arithmetic
820 Contributed by Richard Henderson, Jakub Jelinek and others.
822 1999-12-29 Andreas Jaeger <aj@suse.de>
824 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Don't include
825 <asm/io.h>; remove K&R compatibility; add missing ints.
827 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove K&R compatibility,
830 * sysdeps/unix/sysv/linux/sys/io.h: Don't include <asm/io.h>.
832 1999-12-29 Andreas Jaeger <aj@suse.de>
834 * manual/getopt.texi (Using Getopt): Document ordering of options.
836 1999-12-29 Andreas Jaeger <aj@suse.de>
838 * sysdeps/unix/sysv/linux/llseek.c: Emit link time warning for llseek.
839 Requested by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
841 1999-12-14 Andreas Jaeger <aj@suse.de>
843 * sysdeps/unix/sysv/linux/scsi/scsi.h: Add new defines from Linux
846 1999-12-28 Jakub Jelinek <jakub@redhat.com>
848 * elf/sprof.c (load_shobj): Fix error message.
849 (generate_call_graph): Cast %*s length argument to int.
850 * locale/programs/localedef.c (construct_output_path): Likewise.
851 * locale/programs/ld-ctype.c (ctype_finish): Use proper format
853 (ctype_class_new): Likewise.
854 * locale/programs/ld-time.c (time_finish): Likewise.
855 * sunrpc/svc_simple.c (register_rpc): Likewise.
856 * nscd/connections.c (nscd_run, start_threads): Use long instead of
857 int to avoid cast warnings.
858 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l): Kill
860 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Remove unused
863 * time/strftime.c (my_strftime): Provide wide era string when
866 * sysdeps/sparc/fpu/bits/mathinline.h (__signbit, __signbitl):
867 Separate into 32bit and 64bit versions.
869 1999-12-28 Ulrich Drepper <drepper@cygnus.com>
871 * iconvdata/Makefile (modules): Add ISO-2022-CN.
872 Add link rules for this module.
873 (distribute): Add iso-2022-cn.c and cns11643l2.h.
874 * iconvdata/cns11643l2.h: New file.
875 * iconvdata/iso-2022-cn.c: New file.
876 * iconvdata/gconv-modules: Add entries for ISO-2022-CN module.
878 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Make string argument
880 (ucs4_to_cns11643l1): Likewise.
881 * iconvdata/euc-tw.c: Correct parameter passed to cns11643l1_to_ucs4.
883 * iconvdata/iso-2022-kr.c: Remove unnecessary test from conversion
885 Optimize recognition of escape sequences a bit.
887 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit
888 and oldsetrlimit definitions.
890 1999-12-27 Ulrich Drepper <drepper@cygnus.com>
892 * iconvdata/run-iconv-test.sh: Improve test output a bit to allow
893 identifying errors more easily.
895 * iconvdata/testdata/EUC-CN..UTF8: New file.
896 * iconvdata/testdata/GBK..UTF8: New file.
898 * iconvdata/gbk.c: In mapping from UCS4: don't crash for undefined
899 mappings. Fix last patch.
900 * iconvdata/TESTS: Add GBK.
901 * iconvdata/testdata/GBK: New file.
903 * iconvdata/gb2312.h (ucs4_to_gb2312): Fix mapping of 0x0101,
904 0x2312, and 0x2500..0x254b.
905 * iconvdata/TESTS: Add EUC-CN.
906 * iconvdata/testdata/EUC-CN: New file.
908 * iconvdata/gbgbk.c: New file.
909 * iconvdata/Makefile (modules): Add GBGBK.
910 (distribute): Add gbgbk.c.
911 * iconvdata/gconv-modules: Add entries for GBGBK modules.
913 * iconvdata/euc-cn.c: Fix comment.
915 * iconvdata/gbk.c: Optimize the switch statement in the conversion
918 * locale/programs/charmap.c (charmap_new_char): Recognize special
919 character names Uxxxx and Pxxxx and initialize the UCS4 value from
922 1999-12-17 Andreas Jaeger <aj@suse.de>
924 * stdlib/Versions: Export __cxa_atexit and __cxa_finalize.
926 1999-12-16 Mark Mitchell <mark@codesourcery.com>
928 * stdlib/Makefile (routines): Add cxa_atexit and cxa_finalize.
929 * stdlib/exit.h (flavor): Add ef_cxa.
930 (exit_function): Add cxa variant.
931 * stdlib/exit.c (exit): Handle ef_cxa exit functions.
932 * stdlib/cxa_atexit.c: New file.
933 * stdlib/cxa_finalize.c: New file.
935 1999-12-27 Ulrich Drepper <drepper@cygnus.com>
937 * iconvdata/gb2312.c: Update mapping of GB 0x212c from latest
940 1999-12-26 Ulrich Drepper <drepper@cygnus.com>
942 * sysdeps/unix/sysv/linux/fxstat64.c: Rename have_no_stat64 to
944 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
945 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
947 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Remove inclusion
950 1999-12-26 Philip Blundell <philb@gnu.org>
952 * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove vm86. Set
953 argument count for `syscall' to 7.
954 * sysdeps/unix/sysv/linux/arm/sysdep.h: Add support for syscalls
955 with more than five arguments.
956 (DOARGS_5, UNDOARGS_5): Don't corrupt the calling stack frame.
958 1999-12-26 Ulrich Drepper <drepper@cygnus.com>
960 * locale/programs/ld-collate.c (collate_output): Don't start with empty
961 extrapool and indirectpool obstacks since we need the offsets to be
963 (collate_read): Call load_locale, not find_locale.
964 * locale/programs/ld-ctype.c (ctype_finish): If LC_CTYPE category
965 wasn't defined in the file also initialize repertoire if possible.
966 * locale/programs/ld-time.c (time_finish): Fix message string.
967 * locale/programs/linereader.c: Cast parameters of lr_error to
968 correct type to prevnet warning.
969 * locale/programs/localedef.c (load_locale): New file.
970 * locale/programs/localedef.h: Add its prototype.
971 * locale/programs/repertoire.c (repertoire_new_char): Add missing
972 parameters to lr_error call.
974 * localedata/Makefile: Enable running tests again.
975 * localedata/tests/test2.def: Adjust syntax to new specification.
976 * localedata/tests/test3.def: Likewise.
977 * localedata/tst-trans.sh: Redirect output of program into file.
979 * string/strcoll.c: Fix many error in new implementation to make it
980 pass (at least) the test suite.
982 * locale/Makefile: Don't link localedef statically anymore.
984 * locale/ld-collate.c (struct element_t): Add field is_character and
985 use it to distinguish real character from collating elements and
987 (new_element): Take new parameter to initialize is_character. Change
989 (handle_ellipsis): Use is_character field to make sure ellipsis is
990 only used with characters.
991 (collate_read): Fix reading of collating elements.
993 * string/strxfrm.c: Correct loop end detection and memory access
994 in the little optimization at the end.
996 * locale/programs/ld-monetary.c (monetary_finish): Correct code to
997 emit warnings. Provide default value for mon_decimal_point.
999 * locale/programs/ld-collate.c (collate_finish): Don't crash if this
1000 category wasn't defined.
1001 (collate_output): Likewise.
1003 * locale/programs/ld-address.c: Don't emit message about not defined
1004 category if be_quiet.
1005 * locale/programs/ld-ctype.c: Likewise.
1006 * locale/programs/ld-identification.c: Likewise.
1007 * locale/programs/ld-measurement.c: Likewise.
1008 * locale/programs/ld-messages.c: Likewise.
1009 * locale/programs/ld-monetary.c: Likewise.
1010 * locale/programs/ld-name.c: Likewise.
1011 * locale/programs/ld-numeric.c: Likewise.
1012 * locale/programs/ld-paper.c: Likewise.
1013 * locale/programs/ld-telephone.c: Likewise.
1014 * locale/programs/ld-time.c: Likewise.
1016 * locale/programs/locfile.c (write_locale_data): Correct memory
1017 allocation for fname.
1019 1999-12-25 Ulrich Drepper <drepper@cygnus.com>
1021 * locale/programs/ld-collate.c (read_directions): Fix a few messages.
1022 (collate_finish): Test that position is used in all sections for
1025 * string/strxfrm.c: Optimize a bit. We don't need the highest bit
1026 of the index returned by findidx.
1028 * string/strcoll.c: Complete rewrite for new collate implementation.
1029 * wcsmbs/wcscoll.c: Don't use strcoll.c, implement dummy implementation
1032 * locale/C-collate.c (_nl_C_LC_COLLATE): Add one more entry for the
1034 * locale/langinfo.h: Likewise.
1035 * locale/categories.def: Likewise. Remove reference to postload
1037 * locale/lc-collate.c (_nl_postload_collate): Removed. Also remove
1038 __collate_tablemb, __collate_weightmb, and __collate_extramb.
1039 * locale/localeinfo.h: Remove declaration for removed variables above.
1040 Remove prototype for _nl_get_era_entry.
1041 * locale/weight.h: Complete rewrite for new collate implementation.
1042 * locale/programs/ld-collate.c: Many changes to make output file
1043 usable in strxfrm/strcoll.
1044 * string/strxfrm.c: Complete rewrite for new collate implementation.
1045 * wcsmbs/wcsxfrm.c: Don't use strxfrm.c, implement dummy implementation
1048 1999-12-25 Shinya Hanataka <hanataka@abyss.rim.or.jp>
1050 * locale/programs/ld-ctype.c (allocate_arrays): Correctly assign
1051 transformation values for chars >255.
1052 * wctype/wctrans.c: Return pointer unmodified.
1054 1999-12-24 Ulrich Drepper <drepper@cygnus.com>
1056 * sysdeps/posix/system.c (__libc_system): Check whether command
1057 processor is available if LINE is NULL. Don't return immediately
1058 if wait call returned with EINTR.
1059 Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1497 and libc/1498).
1061 1999-12-23 Ulrich Drepper <drepper@cygnus.com>
1063 * locale/programs/ld-monetary.c (monetary_finish): Add cast to
1066 * locale/programs/ld-collate.c: Implement writing out multibyte
1069 * locale/setlocale.c (setlocale): Allow setting LC_COLLATE again.
1070 * locale/localeinfo.h: Declare variables only for currently implemented
1071 collate functionality. Remove FORWARD_CHAR and ELLIPSIS_CHAR.
1072 * locale/lc-collate.c: Define variables only for currently implemented
1074 * locale/langinfo.h: Define symbols only for currently implemented
1076 * locale/categories.def: Define elements for currently implemented
1078 * locale/C-collate.c: Comment out definitions of arrays with symbol
1079 name definitions etc.
1080 (_nl_C_LC_COLLATE): Update for currently defined information.
1082 * intl/libintl.h: Remove dcgettext macro definition.
1083 * intl/gettextP.h: Declare _nl_msg_cat_cntr.
1085 * locale/iso-4217.def: Add NAD. Remove a few obsolete entries.
1087 * sysdeps/generic/glob.c (glob): Pass alternate file access functions
1088 also in recursive call. Patch by Joe Orton <joe@orton.demon.co.uk>.
1090 1999-12-22 Jakub Jelinek <jakub@redhat.com>
1092 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Use proper type
1093 for __fenv_stfsr argument.
1094 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
1095 truncate64, ftruncate64, fstat64, lstat64, stat64 and mmap2.
1097 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: New file.
1098 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
1099 (XSTAT_IS_XSTAT64): Define.
1100 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Add
1101 __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite
1102 and __libc_pwrite64.
1103 Remove oldgetrlimit and oldsetrlimit.
1104 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: New file.
1105 * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: New file.
1106 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: New file.
1108 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Pass the buf
1109 pointer to the syscall, not address of that pointer.
1110 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
1111 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
1112 (__syscall_stat64): Provide proper prototype.
1114 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Share
1115 has_no_truncate64 between truncate64 and ftruncate64.
1116 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
1118 * sysdeps/unix/sysv/linux/kernel-features.h
1119 (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL,
1120 __ASSUME_STAT64_SYSCALL): Define on Sparc for kernels >= 2.3.35.
1122 1999-12-22 Andreas Jaeger <aj@suse.de>
1124 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __libc_lseek64,
1125 __libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64.
1127 1999-12-21 Shinya Hanataka <hanataka@abyss.rim.or.jp>
1129 * locale/lc-time.c: Extend structure era_entry.
1130 * locale/localeinfo.h: Likewise.
1131 * locale/lc-time.c: Handle '-' direction used in locale's era part
1133 * time/strptime.c: Likewise.
1134 * time/strftime.c: Likewise.
1135 * locale/programs/ld-time.c: Consider negative values in era part
1137 * time/strptime.c (strptime_internal): Merged Yoshiyama's
1138 %E[CyY] implementation.
1140 1999-12-21 Akira Yoshiyama <yosshy@debian.or.jp>
1142 * time/strptime.c (strptime_internal): Fix segV bugs of a couple
1143 of recursive() call.
1144 * time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY'
1147 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
1149 * sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value.
1150 Patch by Scott Bambrough <scottb@netwinder.org>.
1152 1999-12-21 Andreas Schwab <schwab@suse.de>
1154 * sysdeps/unix/sysv/linux/pread.c: Fix typo.
1156 * include/unistd.h: Declare __libc_lseek.
1158 1999-12-21 Andreas Jaeger <aj@suse.de>
1160 * stdlib/longlong.h: Remove __P.
1162 1999-12-21 Andreas Jaeger <aj@suse.de>
1164 * sysdeps/powerpc/fpu/libm-ulps: New file.
1166 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
1168 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Include sys/ucontext.h
1169 and remove definitions for NREGS, greg_t, gregset_t, and fpregset_t.
1171 1999-12-21 Andreas Jaeger <aj@suse.de>
1173 * sysdeps/unix/sysv/linux/m68k/putpmsg.c: Add missing #.
1174 * sysdeps/unix/sysv/linux/mips/putpmsg.c: Likewise.
1175 * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: Likewise.
1176 * sysdeps/unix/sysv/linux/mips/getmsg.c: Add missing #.
1177 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1178 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1179 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1180 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1181 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1182 * sysdeps/unix/sysv/linux/m68k/getpmsg.c: Add missing #.
1183 * sysdeps/unix/sysv/linux/mips/getpmsg.c: Likewise.
1184 * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: Likewise.
1186 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
1188 * sysdeps/unix/sysv/linux/i386/getmsg.c: New file.
1189 * sysdeps/unix/sysv/linux/i386/getpmsg.c: New file.
1190 * sysdeps/unix/sysv/linux/i386/putmsg.c: New file.
1191 * sysdeps/unix/sysv/linux/i386/putpmsg.c: New file.
1192 * sysdeps/unix/sysv/linux/m68k/getmsg.c: New file.
1193 * sysdeps/unix/sysv/linux/m68k/getpmsg.c: New file.
1194 * sysdeps/unix/sysv/linux/m68k/putmsg.c: New file.
1195 * sysdeps/unix/sysv/linux/m68k/putpmsg.c: New file.
1196 * sysdeps/unix/sysv/linux/mips/getmsg.c: New file.
1197 * sysdeps/unix/sysv/linux/mips/getpmsg.c: New file.
1198 * sysdeps/unix/sysv/linux/mips/putmsg.c: New file.
1199 * sysdeps/unix/sysv/linux/mips/putpmsg.c: New file.
1200 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: New file.
1201 * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: New file.
1202 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: New file.
1203 * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: New file.
1204 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getpmsg and
1207 1999-12-20 Ulrich Drepper <drepper@cygnus.com>
1209 * sysdeps/unix/sysv/linux/lxstat64.c: Include "kernel-features.h"
1210 before testing for __ASSUME_STAT64_SYSCALL.
1211 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1212 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1214 1999-12-20 Andreas Schwab <schwab@suse.de>
1216 * manual/install.texi (Running make install): Clearify that
1217 install_root should be an absolute file name.
1219 1999-12-20 Ulrich Drepper <drepper@cygnus.com>
1221 * iconv/gconv.c (__gconv): Deal with outbuf being NULL.
1223 * iconv/iconv.c (iconv): Allow omitting output buffer if no input
1224 buffer is given to place conversion descriptor in initial state.
1225 * iconvdata/gconv-modules: Correct aliases CSPC850MULTILINGUAL and
1227 * iconvdata/gconv-modules: Add aliases GB2312 and csGB2312
1228 (according to IANA registry).
1229 Reported by Bruno Haible <haible@ilog.fr>.
1231 * iconvdata/johab.c: Correct completely broken conversion to JOHAB.
1233 * locale/categories.def: Remove most of the collate definitions.
1234 * locale/langinfo.h: Comment out corresponding definitions.
1235 * locale/programs/locale-spec.c (locale_special): Don't recognize the
1237 * locale/programs/ld-collate.c: Correct and optimize computation of
1238 weights. Set up list of all definitions correctly. Start writing
1239 function to generate output file.
1241 * locale/programs/ld-ctype.c (allocate_arrays): Increment counter in
1242 loop to compute default mapping.
1244 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
1246 * sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for
1247 cancelation wrapper.
1248 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
1249 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
1250 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1252 1999-12-19 Andreas Jaeger <aj@suse.de>
1254 * sysdeps/generic/libc-start.c: Remove declaration of
1255 __libc_open. Move declaration of __libc_fcntl to ...
1256 * include/fcntl.h: ...here.
1258 * include/unistd.h: Move __libc_open and __libc_open64 to ...
1259 * include/fcntl.h: ...here.
1261 * malloc/malloc.h (__attribute_malloc__): Only define if hasn't
1264 * malloc/Versions: __libc_freeres was exported with glibc 2.1.3,
1267 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
1269 * sysdeps/unix/sysv/linux/bits/resource.h: Remove <asm/resource.h>
1272 1999-12-19 Andreas Jaeger <aj@suse.de>
1274 * include/string.h: Mark __strndup with __attribute_malloc__.
1276 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
1278 * locale/langinfo.h: Always define CODESET.
1279 (CODESET): Define also as macro.
1281 * stdio-common/printf_fp.c (__printf_fp): Allocate buffer to
1282 generate mantissa output in using malloc if it is larger than
1284 Reported by Jim Meyering <meyering@ascend.com>.
1286 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
1288 * misc/sys/cdefs.h: Define __attribute_malloc__ according to
1289 available gcc version.
1290 * string/string.h: Mark strdup, __strdup, and strndup with
1291 __attribute_malloc__.
1292 * stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with
1293 __attribute_malloc__.
1294 * malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc,
1295 and __default_morecore with __attribute_malloc__.
1296 Provide default definition for __attribute_malloc__.
1297 * libio/stdio.h: Make tempnam with __attribute_malloc__.
1299 * include/unistd.h: Declare __libc_open64, __libc_lseek64,
1300 __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64.
1301 * io/Versions: Export __libc_open64 and __libc_lseek64.
1302 * posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite,
1303 and __libc_pwrite64.
1304 * sysdeps/generic/open64.c: Define __libc_* variant for cancelation
1306 * sysdeps/generic/pread.c: Likewise.
1307 * sysdeps/generic/pread64.c: Likewise.
1308 * sysdeps/generic/pwrite.c: Likewise.
1309 * sysdeps/generic/pwrite64.c: Likewise.
1310 * sysdeps/posix/open64.c: Likewise.
1311 * sysdeps/posix/pread.c: Likewise.
1312 * sysdeps/posix/pread64.c: Likewise.
1313 * sysdeps/posix/pwrite.c: Likewise.
1314 * sysdeps/posix/pwrite64.c: Likewise.
1315 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1316 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1317 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1318 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1319 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1320 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
1321 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
1322 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
1323 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
1325 * sysdeps/posix/open64.c: Help gcc generating better code.
1327 * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open
1330 1999-12-11 H.J. Lu <hjl@gnu.org>
1332 * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl
1335 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
1337 * iconvdata/isiri-3342.c: New file.
1338 * iconvdata/Makefile (modules): Add ISIRI-3342.
1339 (distribute): Add isiri-3342.c.
1340 (gen-8bit-gap-modules): Add isiri-3342.
1341 * iconvdata/gconv-modules: Add entries for ISIRI-3342.
1343 * malloc/Versions: Export __libc_freeres for GLIBC_2.1.
1345 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Declare local variable
1346 result if necessary.
1348 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Don't depend on the
1349 unreliable kernel headers.
1350 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
1351 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
1352 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: New file.
1353 * sysdeps/unix/sysv/linux/mips/bits/resource.h: New file.
1355 1999-12-18 Andreas Jaeger <aj@suse.de>
1357 * config.make.in (datadir): Added.
1358 Closes PR libc/1491. Patch by dervishd@jazzfree.com.
1360 1999-12-18 Andreas Jaeger <aj@suse.de>
1362 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Save and
1364 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
1366 1999-12-18 Andreas Jaeger <aj@suse.de>
1368 * sysdeps/unix/sysv/linux/fxstat64.c: Rewrite to use fstat64
1369 syscall if available.
1370 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise for lstat64.
1371 * sysdeps/unix/sysv/linux/xstat64.c: Likewise for stat64.
1373 * sysdeps/unix/sysv/linux/kernel-features.h
1374 (__ASSUME_STAT64_SYSCALL): New.
1376 1999-12-17 Scott Bambrough <scottb@netwinder.org>
1378 * sysdeps/arm/dl-machine.h (CLEAR_CACHE): New macro to force a
1380 * elf/dl-reloc.c (_dl_relocate_object): Add call to flush cache
1381 after .text segment fixups.
1383 1999-12-16 Andreas Jaeger <aj@suse.de>
1385 * rt/aio.h: Remove erroneous __restrict declarations.
1387 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
1389 * scripts/rellns-sh: Find pwd program also in /usr/bin and let shell
1390 do the job if it is there neither.
1391 Patch by David R. Conrad <drc@adni.net> (PR libc/1485).
1393 1999-12-16 Andreas Jaeger <aj@suse.de>
1395 * sysdeps/ieee754/bits/nan.h (NAN): Rename union to avoid
1396 duplicate definition with function __nan.
1397 Closes PR libc/1487 reported by <diana@kai.com>.
1399 1999-12-17 Ulrich Drepper <drepper@cygnus.com>
1401 * string/bits/string2.h (__strsep): Help gcc optimizing string access.
1403 * locale/programs/ld-collate.c: Implement handling of absolute
1404 ellipsis. Parsing of file and constructing the internal data
1405 structures should now be complete.
1406 (collate_finish): Start adding support to generate the data
1407 structures which are written out to the file.
1409 * intl/dcgettext.c: Rewrite to handle caching of previous results here
1410 instead of in the dcgettext macro.
1411 * intl/libintl.h (dcgettext): Don't define for systems using this
1412 glibc or systems with tsearch.
1414 * sysdeps/generic/mathdef.h: Protect definitions for math.h
1415 against double inclusion.
1416 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
1417 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1418 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1419 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
1421 * sysdeps/i386/fpu/libm-test-ulps: Add more deltas (are mobile PIIs
1424 1999-12-17 Andreas Jaeger <aj@suse.de>
1426 * rt/aio.h (struct aiocb64): Add member __next_prio to sync the
1429 * rt/Makefile (tests): Added tst-aio64.
1430 Added dependency rules for tst-aio64.
1432 * rt/tst-aio64.c: New file, copied from tst-aio.c and changed for
1435 1999-12-15 Thorsten Kukuk <kukuk@suse.de>
1437 * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: Removed.
1438 * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: Removed.
1439 * sysdeps/unix/sysv/linux/bits/resource.h: Change RLIM_INFINITY back to
1440 old value (signed long).
1441 * sysdeps/unix/sysv/linux/i386/bits/resource.h: New, with unsigned
1443 * sysdeps/unix/sysv/linux/getrlimit.c: Moved from here to ...
1444 * sysdeps/unix/sysv/linux/i386/getrlimit.c: ... here.
1445 * sysdeps/unix/sysv/linux/getrlimit64.c: Moved from here to ...
1446 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: ... here.
1447 * sysdeps/unix/sysv/linux/oldgetrlimit64.c: Moved from here to ...
1448 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: ... here.
1449 * sysdeps/unix/sysv/linux/oldsetrlimit64.c: Moved from here to ...
1450 * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: ... here.
1451 * sysdeps/unix/sysv/linux/setrlimit.c: Moved from here to ...
1452 * sysdeps/unix/sysv/linux/i386/setrlimit.c: ... here.
1453 * sysdeps/unix/sysv/linux/setrlimit64.c: Moved from here to ...
1454 * sysdeps/unix/sysv/linux/i386/setrlimit64.c: ... here.
1455 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: New.
1456 * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: Removed.
1457 * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: Removed.
1459 1999-12-17 Andreas Jaeger <aj@suse.de>
1461 * elf/ldconfig.c: Add new option -l to manualy link shared
1463 (options): Added option.
1464 (parse_opt): Set option.
1465 (main): Handle option.
1466 (manual_link): New function.
1468 1999-12-17 Thorsten Kukuk <kukuk@suse.de>
1470 * string/bits/string2.h: Fix patch from 1999-12-07.
1472 1999-12-16 Ulrich Drepper <drepper@cygnus.com>
1474 * sysdeps/generic/strsep.c: If delim string has only one character
1475 don't run over end of string.
1477 * locale/programs/ld-collate.c (insert_weights): Also update next
1478 pointer of last cursor element.
1479 (insert_value): Return nonzero value if nothing got inserted.
1480 (handle_ellipsis): Don't do anything if to-value cannot be inserted.
1482 1999-12-10 Jakub Jelinek <jakub@redhat.com>
1484 * stdlib/longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT
1487 1999-12-10 Jakub Jelinek <jakub@redhat.com>
1489 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
1490 Copy sa_flags into kernel sigaction structure.
1492 1999-12-14 Andreas Jaeger <aj@suse.de>
1494 * string/tester.c (test_strsep): More tests for access beyond
1495 the final NUL. The first two tests come from PR libc/1486 by
1496 martinea@iro.umontreal.ca.
1498 1999-12-14 Thorsten Kukuk <kukuk@suse.de>
1500 * nis/ypclnt.c: Correct handling of cached client handles.
1501 (__xdr_ypresp_all): Call callback function for errors, too,
1503 * nis/nss_compat/compat-grp.c: Make sure errno is always set correct.
1504 * nis/nss_compat/compat-initgroups.c: Likewise.
1505 * nis/nss_compat/compat-spwd.c: Likewise.
1506 * nis/nss_nis/nis-alias.c: Likewise.
1507 * nis/nss_nis/nis-ethers.c: Likewise.
1508 * nis/nss_nis/nis-grp.c: Likewise.
1509 * nis/nss_nis/nis-hosts.c: Likewise.
1510 * nis/nss_nis/nis-netgrp.c: Likewise.
1511 * nis/nss_nis/nis-publickey.c: Likewise.
1512 * nis/nss_nis/nis-service.c: Likewise. Also use services.byservicename
1513 Map if available, optimize query if name/port and protocol is known.
1515 1999-12-12 Ulrich Drepper <drepper@cygnus.com>
1517 * locale/programs/ld-collate.c (collate_read): Make symbolic
1518 ellipsis work. Remove old and unused code.
1520 1999-12-11 Ulrich Drepper <drepper@cygnus.com>
1522 * locale/programs/ld-collate.c (collate_read): Implement
1523 reorder-section handling.
1525 1999-12-10 Ulrich Drepper <drepper@cygnus.com>
1527 * locale/programs/ld-collate.c: Implement "copy" in LC_COLLATE.
1529 * locale/programs/ld-collate.c (collate_read): Add handling of
1532 * locale/programs/ld-collate.c: Many changes to implement parsing
1533 of collation definition (still not complete).
1535 1999-12-09 Andreas Jaeger <aj@suse.de>
1537 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Always set
1538 errno to ENOENT when returning NSS_STATUS_NOTFOUND.
1539 Reported by Christian Starkjohann <cs@obdev.at>.
1541 1999-12-09 Andreas Jaeger <aj@suse.de>
1543 * sysdeps/i386/fpu/libm-test-ulps: Added some ulps.
1545 1999-12-09 Jakub Jelinek <jakub@redhat.com>
1547 * stdlib/longlong.h: Update from latest egcs version.
1549 * sysdeps/sparc/fpu/fegetenv.c: Add semicolons.
1551 * sysdeps/unix/sysv/linux/bits/errno.h (__errno_location): __THROW
1552 has to preceede __attribute__, otherwise g++ barfs.
1554 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Make things compile
1557 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Changed to
1559 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1561 1999-12-05 Wolfram Gloger <wg@malloc.de>
1563 * malloc/malloc.c (arena_get2): If generating a new arena fails,
1564 try to generate a minimal one and hope for mmap_chunk() to succeed
1567 1999-11-07 Wolfram Gloger <wg@malloc.de>
1569 * malloc/thread-m.h [NO_THREADS]: The mutex_* macros now let
1570 mutex_t work as an `in-use' flag even without threads.
1571 * malloc/malloc.c (USE_ARENAS): New feature flag, controls support
1572 for multiple arenas separately from NO_THREADS.
1573 (mALLOc, chunk_realloc, mEMALIGn, cALLOc) [USE_ARENAS]: try to
1574 fall back to an mmap()ed arena when sbrk() has failed.
1576 1999-12-09 Ulrich Drepper <drepper@cygnus.com>
1578 * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
1579 getrlimit64, setrlimit64 for GLIBC_2.1.3.
1580 * sysdeps/unix/sysv/linux/i386/Versions: Add getrlimit, setrlimit,
1581 getrlimit64, setrlimit64 for GLIBC_2.1.3.
1582 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules for
1583 oldgetrlimit and oldsetrlimit.
1584 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldgetrlimit and
1586 * sysdeps/unix/sysv/linux/Makefile: Move oldgetrlimit and
1587 oldsetrlimit rules into 32-bit arch subdirs.
1588 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1590 * locale/programs/ld-collate.c (insert_value): If this is the
1591 first symbol the cursor can be the same as the next pointer.
1593 1999-12-08 Ulrich Drepper <drepper@cygnus.com>
1595 * locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping
1597 (allocate_arrays): Allocate memory for map32. Correctly install
1598 default values in it and install defined mappings.
1600 * locale/programs/ld-monetary.c (monetary_finish): Provide default
1601 value for mon_grouping.
1603 * elf/readlib.c: Include a.out.h last since the Linux/Alpha
1604 headers are not clean enough.
1606 * sysdeps/unix/sysv/linux/getrlimit.c: Remove K&R compatibility.
1608 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1609 __ASSUME_TRUNCATE64_SYSCALL and __ASSUME_MMAP2_SYSCALL for 2.3.31
1611 * sysdeps/unix/sysv/linux/ftruncate64.c: New file.
1612 * sysdeps/unix/sysv/linux/truncate64.c: New file.
1613 * sysdeps/unix/sysv/linux/i386/mmap.S: Allow using mmap2.
1614 * sysdeps/unix/sysv/linux/i386/mmap64.S: New file.
1616 * ctype/Versions: Add __ctype32_tolower and __ctype32_toupper.
1617 * ctype/ctype-info.c: Define __ctype32_tolower and __ctype32_toupper.
1618 * locale/C-ctype.c: Add _nl_C_LC_CTYPE_toupper32 and
1619 _nl_C_LC_CTYPE_tolower32 tables.
1620 Don't compile it names of 14652 classes and maps.
1621 * locale/langinfo.h: Define _NL_CTYPE_TOUPPER32 and
1622 _NL_CTYPE_TOLOWER32.
1623 * locale/lc-ctype.c (_nl_postload_ctype): Initialize __ctype32_toupper
1624 and __ctype32_tolower.
1625 * locale/programs/ld-ctype.c (struct locale_ctype_t): Add map32.
1626 (ctype_output): Write out map32 values.
1627 (allocate_arrays): Compute mapping tables correctly.
1628 * wctype/wcfuncs.c (towlower): Use __ctype32_tolower.
1629 (towupper): Use __ctype32_toupper.
1630 * wctype/wctype.h: Optimize towupper and towlower for values < 256.
1632 * locale/programs/ld-ctype.c (set_class_defaults): Correctly
1633 determine tolower mapping for 8bit table if the tolower keyword is
1636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
1637 only IPv6 address. Reported by Artur Frysiak <wiget@pld.org.pl>.
1639 1999-12-07 Jakub Jelinek <jakub@redhat.com>
1641 * string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small,
1642 __stpcpy_small): Cast switch expressions to int to shut up compiler
1645 1999-12-07 Scott Bambrough <scottb@netwinder.org>
1647 * sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24
1650 1999-12-06 Andreas Schwab <schwab@suse.de>
1652 * sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the
1653 ugetrlimit syscall exists.
1655 * sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on
1657 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
1659 1999-12-07 Ulrich Drepper <drepper@cygnus.com>
1661 * iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment
1662 pointers if character is illegal.
1663 Reported by Bruno Haible <haible@ilog.fr>.
1665 * iconv/gconv_db.c (gen_steps): Set __counter initialy to 1.
1666 (increment_counter): New function. Broken out of find_derivation.
1667 (find_derivation): No need for a lock. Increment counter only when
1668 the derivation was already available.
1669 * iconv/gconv_dl.c: Add debugging functions.
1670 (known_compare): We have to use strcmp.
1671 Reported by Bruno Haible <haible@ilog.fr>.
1673 1999-12-06 Ulrich Drepper <drepper@cygnus.com>
1675 * iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo.
1676 * iconvdata/iso_2033.c (CHARSET_NAME): Fix typo.
1677 * iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo.
1678 * iconvdata/gconv-modules: Correct ISO646-PT2 alias. Add
1680 Reported by Bruno Haible <haible@ilog.fr>.
1682 * locale/programs/xstrdup.c: It's _LIBC, not __LIBC.
1684 1999-12-03 Andreas Jaeger <aj@suse.de>
1686 * nss/getXXbyYY.c: Include <resolv.h>
1687 (FUNCTION_NAME): Use res_ninit instead of res_init.
1689 * nss/getXXbyYY_r.c [NEED__RES]: Include <resolv.h> for _res
1690 declaration and prototypes.
1691 Remove extra _res declaration.
1692 (INTERNAL): Use thread aware res_ninit function.
1694 * inet/gethstbyad_r.c: Include <resolv.h>.
1696 * resolv/res_data.c: Update from Bind 8.2.2-P5. Moved res_init to
1697 res_libc.c. Disabled unneeded functions.
1699 * resolv/res_libc.c: New file.
1701 * Versions.def: Add version GLIBC_2.2 for libpthread.
1702 Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv.
1704 * include/resolv.h: Add internal interfaces.
1706 * resolv/Makefile (routines): Add new files.
1707 (libresolv-routines): Likewise.
1708 (distribute): Likewise.
1710 * resolv/gethnamaddr.c: Use thread safe resolver functions.
1711 * resolv/nss_dns/dns-host.c: Likewise.
1712 * resolv/nss_dns/dns-network.c: Likewise.
1714 * resolv/arpa/nameser.h: Update from Bind 8.2.2-P5.
1715 * resolv/nsap_addr.c: Likewise.
1716 * resolv/res_comp.c: Likewise.
1717 * resolv/res_debug.c: Likewise.
1718 * resolv/res_init.c: Likewise.
1719 * resolv/res_mkquery.c: Likewise.
1720 * resolv/res_query.c: Likewise.
1721 * resolv/res_send.c: Likewise.
1722 * resolv/resolv.h: Likewise.
1724 * resolv/Versions: Add __res_state and __res_ninit with version
1726 Add new interfaces with version GLIBC_2.2 to libresolv.
1728 * resolv/Banner: Update.
1730 * include/arpa/nameser_compat.h: New file.
1732 * resolv/ns_name.c: New file from Bind 8.2.2-P5.
1733 * resolv/ns_netint.c: Likewise.
1734 * resolv/ns_parse.c: Likewise.
1735 * resolv/ns_print.c: Likewise.
1736 * resolv/ns_samedomain.c: Likewise.
1737 * resolv/ns_ttl.c: Likewise.
1738 * resolv/arpa/nameser_compat.h: Likewise.
1739 * resolv/res_debug.h: Likewise.
1741 Some patches are based on work done by Adam D. Bradley
1742 <artdodge@cs.bu.edu>.
1744 1999-11-30 Andreas Jaeger <aj@suse.de>
1747 * elf/Makefile (extra-objs): Added ldconfig-modules.
1748 (ldconfig-modules): New.
1749 Added vpath for xstrdup and xmalloc.
1750 Check for use-ldconfig instead of has-ldconfig.
1751 ($(objpfx)ldconfig): New rule with dependencies.
1752 (distribute): Add new files.
1754 * sysdeps/unix/sysv/linux/sparc/readelflib.c: New file,
1755 developed together with Jakub Jelinek <jakub@redhat.com>.
1756 * sysdeps/generic/readelflib.c: Likewise.
1758 * elf/cache.c: New file.
1759 * elf/ldconfig.c: New file.
1760 * elf/ldconfig.h: New file.
1761 * elf/readlib.c: New file.
1763 * Makefile (install): Remove flag -d in ldconfig call.
1765 * configure.in: Rename has_ldconfig to use_ldconfig, set it to no
1768 * config.make.in (has-ldconfig): Renamed to use-ldconfig, changed
1771 * sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig,
1772 set always use_ldconfig instead.
1774 1999-12-03 Ulrich Drepper <drepper@cygnus.com>
1776 * sysdeps/generic/bits/stropts.h: Update with LiS types and
1777 values. Patch by David Grothe <dave@gcom.com>.
1779 * sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t):
1781 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1782 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1783 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1785 1999-12-02 Akira Yoshiyama <yosshy@debian.or.jp>
1787 * locale/lc-time.c (_nl_get_era_entry): Separate eras
1788 initialization as _nl_init_era_entry().
1789 * locale/lc-time.c (_nl_get_era_nf_entry): New function.
1790 * locale/lc-time.c (_nl_get_era_year_offset): New function.
1791 * locale/lc-time.c (_nl_get_era_year_start): New function.
1792 * locale/localeinfo.h: Declare new functions.
1793 Define ERA_NAME_FORMAT_MEMBERS, ERA_M_NAME, ERA_M_FORMAT, ERA_W_NAME,
1796 1999-12-02 Ulrich Drepper <drepper@cygnus.com>
1798 * posix/regex.c (SYNTAX): Make more portable.
1799 Patch by Aharon Robbins <arnold@skeeve.com>.
1801 1999-11-18 Roland McGrath <roland@baalperazim.frob.com>
1803 * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is
1804 nonzero, use cthread_fork to create the signal thread.
1805 * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize
1806 _hurd_msgport_thread here (to self).
1807 * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end
1808 is zero, instead compute child signal thread's starting SP from parent
1809 signal thread's current SP and the threadvar_stack variables.
1810 * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach.
1811 These are now referenced weakly by _hurdsig_init.
1813 * hurd/report-wait.c (_S_msg_report_wait): Fix typo:
1814 &_hurd_itimer_thread not &_hurd_msgport_thread.
1816 1999-10-01 Roland McGrath <roland@baalperazim.frob.com>
1818 * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
1819 without HURD_DPORT_USE to clean up warnings.
1820 * hurd/dtable.c (get_dtable_port): Likewise.
1822 * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
1823 (install_ctty): Do the changing of the cttyid port cell here, inside
1824 the critical section while we holding the dtable lock.
1825 (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
1826 the port cell and calling rectty_dtable.
1827 (_hurd_locked_install_cttyid): New function, split out of install_ctty.
1828 (install_ctty): Use it inside a critical section, with the lock held.
1829 * sysdeps/mach/hurd/setsid.c (__setsid): Use
1830 _hurd_locked_install_cttyid to effect the cttyid and dtable changes
1831 after proc_setsid, having held the dtable lock throughout.
1832 * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
1833 cttyid port for null and bail out early if so. The dtable lock
1834 serializes us after any cttyid change and its associated dtable update.
1836 1999-11-14 Roland McGrath <roland@baalperazim.frob.com>
1838 * sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
1839 Its presence lets librpcsvc compile ok. This from Mark Kettenis.
1840 We don't install this file for users.
1841 * sysdeps/mach/hurd/Dist: Add it.
1842 * sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
1843 Append nfs/nfs.h here.
1845 1999-12-01 Andreas Jaeger <aj@suse.de>
1847 * sysdeps/generic/if_index.c (__protocol_available): Add missing
1850 * stdio/stdio.h: Fix typo.
1851 Patches by Marcus G. Daniels <mgd@santafe.edu>.
1853 1999-12-01 Andreas Jaeger <aj@suse.de>
1855 * scripts/test-installation.pl (installation_problem): Filter out
1858 1999-12-01 Andreas Schwab <schwab@suse.de>
1860 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of
1861 __rlim_t and __rlim64_t.
1862 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1863 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1865 1999-12-01 Andreas Schwab <schwab@suse.de>
1867 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1868 oldgetrlimit64 and oldsetrlimit64 for subdir = resource.
1869 * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
1870 getrlimit64 and setrlimit64 to version GLIBC_2.1.3.
1871 * sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and
1872 new kernel version. Add symbol versions.
1873 * sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and
1875 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
1876 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1877 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit
1879 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1880 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
1881 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
1882 * sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file.
1883 * sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file.
1884 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
1885 * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file.
1886 * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file.
1887 * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New
1889 * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New
1892 1999-12-01 Ulrich Drepper <drepper@cygnus.com>
1894 * sysdeps/generic/usleep.c: Fix typo.
1896 * sysdeps/generic/sys/ptrace.h: Remove K&R compatibility.
1898 * sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
1901 * sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not
1904 * malloc/set-freeres.c: Really use already_called variable.
1906 * libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing
1907 function call directly.
1908 * libio/iosetvbuf.c: Likewise.
1910 1999-11-29 Ulrich Drepper <drepper@cygnus.com>
1912 * configure.in: Add AIX 4.3 support.
1914 * iconvdata/gconv-modules: Correct alias for ISO-8859-10. This
1915 standard was issued in 1992.
1916 Reported by Bruno Haible <haible@ilog.fr>.
1918 1999-11-29 Thorsten Kukuk <kukuk@suse.de>
1920 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for
1923 1999-11-29 Andreas Jaeger <aj@suse.de>
1925 * manual/time.texi (Basic CPU Time): Better describe wrap around.
1926 Patch by Andries Brouwer <Andries.Brouwer@cwi.nl>.
1928 1999-11-29 Ulrich Drepper <drepper@cygnus.com>
1930 * iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases.
1931 Patch by Bruno Haible <haible@ilog.fr>.
1933 1999-11-29 Thorsten Kukuk <kukuk@suse.de>
1935 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Remove K&R compatibility.
1937 1999-11-29 Andreas Schwab <schwab@suse.de>
1939 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable
1940 __v to __bswap_32_v.
1941 (__bswap_64): Rename local variables __v and __r to __bswap_64_v
1942 and __bswap_64_r to avoid clash with __bswap_32 macro.
1944 1999-11-28 Ulrich Drepper <drepper@cygnus.com>
1946 * iconvdata/t.61.c (CHARSET_NAME): Correct name to what is used in
1949 1999-11-26 Ulrich Drepper <drepper@cygnus.com>
1951 * locale/programs/ld-ctype.c (allocate_arrays): Complete last
1952 patch. Use wch instead of idx to compute index.
1953 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1955 * inet/rcmd.c (ruserok): Use iruserok2 not iruserok.
1957 * locale/iso-3166.def: Update from latest official list.
1959 1999-11-26 Thorsten Kukuk <kukuk@suse.de>
1961 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include
1962 asm/ptrace.h, since this will not be done with 2.3.xx automatically
1963 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1965 1999-11-26 Andreas Jaeger <aj@suse.de>
1967 * libio/libioP.h: Remove duplicate declaration of _IO_wsetb.
1969 1999-11-26 Andreas Jaeger <aj@suse.de>
1971 * inet/rcmd.c: Include stdlib for declaration of free.
1974 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
1976 * iconv/gconv.c (__gconv): Always initialize
1977 cd->__data[last_step].__outbuf and cd->__data[last_step].__outbufend.
1979 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Update number of
1981 * iconvdata/iso-2022-jp.c: Likewise.
1983 1999-11-25 H.J. Lu <hjl@gnu.org>
1985 * stdlib/exit.c (exit): Run funtions only if
1986 __exit_funcs->idx > 0.
1988 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
1990 * manual/charset.texi (iconv Examples): Add iconv call to flush
1991 state. Reported by Andrew Clausen <clausen@alphalink.com.au>.
1993 1999-11-25 Andreas Jaeger <aj@suse.de>
1995 * manual/install.texi (Running make install): Better describe
1997 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1999 1999-11-25 Andreas Jaeger <aj@suse.de>
2001 * include/sys/mman.h: Remove K&R compatibility.
2003 1999-11-15 Andreas Jaeger <aj@suse.de>
2005 * misc/sys/mman.h: Use __REDIRECT for mmap, correct prototype to
2008 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
2010 * iconv/iconv_prog.c (process_block): For stateful charsets write
2011 out byte sequence to get to initial state at the end of the file.
2013 1999-11-25 Andreas Schwab <schwab@suse.de>
2015 * Makeconfig: Include sys-dirs and sys-sorted earlier.
2016 ($(common-objpfx)soversions.mk): Wait until subdirs is complete.
2017 ($(common-objpfx)sysd-sorted): Emit marker when this file is
2020 1999-11-24 Ulrich Drepper <drepper@cygnus.com>
2022 * manual/setjmp.texi: Many changes to correct bad English introduced
2024 * manual/time.texi: Likewise.
2025 Patches by Neil Booth <neil@rosenet.ne.jp>.
2027 * include/string.h: Remove K&R compatibility.
2029 1999-11-23 Ulrich Drepper <drepper@cygnus.com>
2031 * sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition.
2033 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added.
2035 * string/stratcliff.c: Add one more strchr test for something
2036 which was reported to not work (which proofed to be wrong).
2038 * iconv/skeleton.c: It's __is_last, not is_last.
2040 * locale/programs/ld-ctype.c (ctype_finish): Correct method to find
2042 (allocate_arrays): Likewise.
2043 (find_idx): Correctly increase array size.
2044 Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2046 1999-11-23 Thorsten Kukuk <kukuk@suse.de>
2048 * iconv/skeleton.c: Don't access next_step->fct if data->is_last
2051 1999-11-23 Andreas Jaeger <aj@suse.de>
2053 * include/sys/select.h: Remove K&R compatibility.
2054 * include/sys/statfs.h: Likewise.
2055 * include/gnu/libc-version.h: Likewise.
2056 * include/db_185.h: Likewise.
2057 * include/dlfcn.h: Likewise.
2058 * include/search.h: Likewise.
2059 * include/setjmp.h: Likewise.
2060 * include/signal.h: Likewise.
2061 * include/stdio.h: Likewise.
2062 * include/unistd.h: Likewise.
2064 1999-11-23 Andreas Jaeger <aj@suse.de>
2066 * include/aio.h: Remove __THROW from internal interfaces. __THROW
2067 is only need in external header files that might be compiled by a
2069 * include/alloca.h: Likewise.
2070 * include/db.h: Likewise.
2071 * include/dirent.h: Likewise.
2072 * include/execinfo.h: Likewise.
2073 * include/fpu_control.h: Likewise.
2074 * include/glob.h: Likewise.
2075 * include/grp.h: Likewise.
2076 * include/libintl.h: Likewise.
2077 * include/math.h: Likewise.
2078 * include/math.h: Likewise.
2079 * include/mntent.h: Likewise.
2080 * include/mntent.h: Likewise.
2081 * include/netdb.h: Likewise.
2082 * include/pwd.h: Likewise.
2083 * include/sched.h: Likewise.
2084 * include/shadow.h: Likewise.
2085 * include/stdlib.h: Likewise.
2086 * include/sys/file.h: Likewise.
2087 * include/sys/gmon.h: Likewise.
2088 * include/sys/ioctl.h: Likewise.
2089 * include/sys/socket.h: Likewise.
2090 * include/sys/stat.h: Likewise.
2091 * include/sys/sysinfo.h: Likewise.
2092 * include/sys/time.h: Likewise.
2093 * include/sys/times.h: Likewise.
2094 * include/sys/uio.h: Likewise.
2095 * include/sys/wait.h: Likewise.
2096 * include/termios.h: Likewise.
2097 * include/time.h: Likewise.
2098 * include/ulimit.h: Likewise.
2099 * include/utmp.h: Likewise.
2100 * include/wchar.h: Likewise.
2102 1999-11-22 Andreas Jaeger <aj@suse.de>
2104 * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output.
2105 Patch by Jerry Perkins <jrperkins@iname.com>, closes PR
2108 1999-11-22 Jakub Jelinek <jakub@redhat.com>
2110 * sysdeps/generic/siglist.h: Avoid declaring the same field
2111 twice if SIGPWR is defined to SIGLOST.
2112 * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument,
2113 not signed, so we should not special case it for negative args.
2114 * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic
2115 memmove, use the one provided in memcpy.S.
2116 * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping
2117 copies like memmove, while the previous version worked like memcpy.
2118 Implement optimized assembly memmove.
2119 * sysdeps/sparc/sparc64/memmove.c: New file.
2121 1999-11-23 Ulrich Drepper <drepper@cygnus.com>
2123 * po/cs.po: Update from translators.
2125 1999-11-23 Andreas Jaeger <aj@suse.de>
2127 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function.
2128 (elf_machine_got): Removed, not needed anymore.
2129 (ELF_MACHINE_RELOC_NOPLT): Removed.
2130 (ELF_MACHINE_JMP_SLOT): Added.
2131 (_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__.
2132 (_RTLD_EPILOGUE): Likewise.
2133 (RESOLVE_GOTSYM): Use R_MIPS_REL32.
2134 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2135 Based on patches from Maciej W. Rozycki <macro@ds2.pg.gda.pl> and
2136 Ralf Baechle <baechle@uni-koblenz.de>.
2138 * sysdeps/mips/mips64/dl-machine.h: Apply same patches.
2140 1999-11-22 Ulrich Drepper <drepper@cygnus.com>
2142 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset
2143 name from the locale name. Only use the value in the LC_CTYPE
2146 * locale/loadlocale.c (_nl_load_locale): Allow index of entry in
2147 file be equal to file size.
2149 * stdlib/longlong.h: Add count_trailing_zeros back.
2151 * stdlib/longlong.h: Update from latest egcs version.
2153 1999-11-22 Andreas Jaeger <aj@suse.de>
2155 * locale/programs/ld-collate.c (insert_value): Correct order of
2156 arguments for lr_error call.
2158 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add
2159 __syscall_setrlimit.
2161 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Include <sys/types.h>
2163 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2165 1999-11-21 Ulrich Drepper <drepper@cygnus.com>
2167 * sysdeps/i386/fpu/libm-test-ulps: Increase error value for latest
2170 * locale/programs/ld-ctype.c (ctype_read): Correctly implement
2171 14652-style definition of new maps and classes.
2173 1999-11-20 Ulrich Drepper <drepper@cygnus.com>
2175 * locale/programs/ld-monetary.c (monetary_finish): Don't print
2176 individual error message if nothing is defined.
2178 * locale/programs/ld-time.c (time_startup): Test for lr being
2181 * locale/programs/ld-numeric.c (numeric_finish): Don't crash if
2182 decimal_point is not defined.
2184 * wctype/wctrans.c (wctrans): Use correct base index to access
2185 extra mapping tables.
2187 * locale/loadlocale.c (_nl_load_locale): Use actual number of
2188 entries from file and not the fixed (minimal number from the
2191 * locale/programs/ld-ctype.c (ctype_read): Fix reading of <U....>
2194 1999-11-18 Paul Eggert <eggert@twinsun.com>
2196 * time/strftime.c (my_strftime): Some old compilers object to
2197 '\a', so don't bother optimizing for it.
2199 1999-11-19 Ulrich Drepper <drepper@cygnus.com>
2201 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify
2202 the rlimits structure passed in.
2204 1999-11-19 Andreas Jaeger <aj@suse.de>
2206 * include/sys/resource.h (__setrlimit): Add prototype.
2208 1999-11-19 Ulrich Drepper <drepper@cygnus.com>
2210 * elf/dl-load.c (_dl_init_paths): Allocate correct number of
2211 entries for rtld_search_dirs[0].
2212 Patch by David Mosberger <davidm@hpl.hp.com>.
2214 1999-11-18 Ulrich Drepper <drepper@cygnus.com>
2216 * locale/programs/ld-ctype.c: Don't predefine the character
2217 classes and mappings of ISO 14652.
2219 * locale/programs/ld-ctype.c: Punt if character class definitions
2220 to not consists of tok_bsymbol (for now).
2222 * time/strptime.c (day_of_the_week): Make sure result is never
2224 (strptime_internal): Allow %C without %y.
2226 1999-11-18 Andreas Jaeger <aj@suse.de>
2228 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Sorted entries and added
2231 * sysdeps/unix/sysv/linux/getpt.c: Include linux_fsinfo.h instead
2232 of defining *_SUPER_MAGIC.
2233 * sysdeps/unix/sysv/linux/grantpt.c: Likewise.
2235 1999-11-18 Ulrich Drepper <drepper@cygnus.com>
2237 * locale/programs/locale.c: Don't handle LC_ALL together with the
2238 other categories when printing the value.
2239 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
2241 * locale/locale.h: Correct comment about LC_ALL.
2243 1999-11-17 Ulrich Drepper <drepper@cygnus.com>
2245 * locale/programs/ld-ctype.c (ctype_output): Correct computation of
2246 nelems. Correctly compute index for additional character classes.
2247 (ctype_read): Handle charclass and charconv definitions. Also
2248 recognize arbitrary strings as mapping names.
2249 * locale/programs/ld-time.c (time_finish): Correctly skip over wide
2250 character era strings.
2251 * locale/lc-time.c (_nl_get_era_entry): Correctly skip era name
2252 and format for wide characters.
2253 * time/strftime.c: Correctly determine era information for wide
2255 * wctype/wctrans.c: Fix after removal of second endianess table.
2256 * wctype/wctype.h (_ISwbit): Correctly handle bits > 16.
2257 Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2259 * wcsmbs/wcwidth.h (internal_wcwidth): Reject non-printable characters.
2260 * wcsmbs/wcswidth.c (wcswidth): Don't forget to decrement counter n.
2262 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove greg_t,
2263 gregset_t, fpregset_t, and NGREG definitions.
2265 * locale/programs/ld-ctype.c: Implement character width information
2268 1999-11-09 Andreas Jaeger <aj@suse.de>
2270 * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Add support for devfs.
2272 * sysdeps/unix/sysv/linux/getpt.c (__getpt): Check for devfs.
2273 Patch by German Jose Gomez Garcia <german@pinon.ccu.uniovi.es>.
2275 * sysdeps/unix/sysv/linux/linux_fsinfo.h (DEVFS_SUPER_MAGIC): Added.
2277 1999-11-17 Ulrich Drepper <drepper@cygnus.com>
2279 * sysdeps/gnu/netinet/tcp.h: Add TCP_CORK definition.
2281 1999-11-07 Andreas Jaeger <aj@suse.de>
2283 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: New file with some
2284 defines from Linux scsi_ioctl.h header.
2286 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Added
2288 * sysdeps/unix/sysv/linux/Dist: Likewise.
2290 * sysdeps/unix/sysv/linux/scsi/sg.h: Synced with Linux 2.3.26;
2293 * sysdeps/unix/sysv/linux/scsi/scsi.h (TYPE_ENCLOSURE): Added to
2294 sync with Linux 2.3.26.
2296 1999-11-17 Andreas Jaeger <aj@suse.de>
2298 * shlib-versions: Allow mipsel for libm.
2299 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2301 1999-11-16 Andreas Jaeger <aj@suse.de>
2303 * math/fenv.h: Fix typos in comments. Reported by Andreas Schwab.
2305 1999-11-16 Ulrich Drepper <drepper@cygnus.com>
2307 * locale/programs/ld-ctype.c (set_class_defaults): Set default
2308 value for alpha and alnum correctly.
2310 * locale/programs/ld-address.c (address_output): Fix output of
2313 1999-11-15 Ulrich Drepper <drepper@cygnus.com>
2315 * timezone/asia: Update from tzdata1999j.
2316 * timezone/australasia: Likewise.
2317 * timezone/europe: Likewise.
2318 * timezone/northamerica: Likewise.
2319 * timezone/southamerica: Likewise.
2320 * timezone/zone.tab: Likewise.
2322 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
2324 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove duplicate definitions.
2325 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
2326 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
2327 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise.
2328 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2330 1999-11-15 Andreas Jaeger <aj@suse.de>
2332 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
2333 __syscall_setrlimit.
2334 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2336 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
2338 * scripts/versions.awk: Don't expect to read predecessor versions,
2340 * Versions.def: Remove predecessors. They now get computed.
2342 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
2344 * sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
2345 * sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit
2347 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
2348 * sysdeps/powerpc/stackinfo.h: New file.
2349 Patches by Franz Sirl <Franz.Sirl@lauterbach.com>.
2351 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
2353 * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to
2356 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
2358 * hurd/Versions (GLIBC_2.1.3): Define, adding directory_name_split and
2359 hurd_directory_name_split.
2360 * Versions.def (libc): Add GLIBC_2.1.3.
2362 1999-11-09 Roland McGrath <roland@baalperazim.frob.com>
2364 * hurd/report-wait.c (describe_port): Return char * and use __stpcpy
2365 to return the location of the null byte written into the string.
2366 (describe_number): Likewise.
2367 (describe_number): Remove assert, not always used with #.
2368 If FLAVOR is null, don't use it.
2369 (describe_number): Take signed argument and print a - if negative.
2370 (_S_msg_report_wait): Report system call number for system calls that
2371 aren't mach_msg. Soup up reporting for mach_msg: If destination port
2372 matches SS->intr_port, bracket port description with [...] to indicate
2373 a Hurd interruptible RPC; if destination port is null, examine the
2374 receive port and report that state; if receive port is also null,
2375 check for timeout and report its value.
2376 * sysdeps/mach/hurd/i386/intr-msg.h (MSG_EXAMINE): Return int that is
2377 zero iff we managed to examine the stack; take new args RCV_NAME,
2378 SEND_NAME, OPTION, and TIMEOUT to fill in with mach_msg args.
2380 * hurd/report-wait.c (describe_port): Recognize MACH_PORT_NULL and
2381 MACH_PORT_DEAD specially.
2383 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
2385 * hurd/hurdlookup.c (__hurd_directory_name_split): New function.
2386 (__directory_name_split): New function.
2387 * hurd/hurd.h: Declare them.
2388 * sysdeps/mach/hurd/rmdir.c: Use __directory_name_split instead of
2389 __file_name_split, so we ignore trailing slashes properly.
2390 * sysdeps/mach/hurd/rename.c: Likewise.
2392 1999-11-13 Thorsten Kukuk <kukuk@suse.de>
2394 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add SIGPWR define
2395 from current kernel headers.
2397 * sunrpc/key_call.c: Use /usr/etc/keyenvoy only if we don't have
2398 SO_PASSCRED defined.
2400 1999-11-12 Ulrich Drepper <drepper@cygnus.com>
2402 * locale/C-ctype.c: Fix typo in char class name.
2404 * configure.in: Allow user so specify --enable-kernel=current.
2406 1999-11-12 Thorsten Kukuk <kukuk@suse.de>
2408 * nis/nss_nisplus/nisplus-publickey.c: Check for snprintf return value.
2410 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Follow changes from
2412 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
2413 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
2414 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2415 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
2417 1999-11-12 Ulrich Drepper <drepper@cygnus.com>
2419 * intl/locale.alias: Add Estonian entries.
2420 Patch by Marko Kreen <marko@et.ee> [PR libc/1444].
2422 1999-11-02 Andreas Jaeger <aj@suse.de>
2424 * Versions.def: Add version GLIBC_2.2 for libm.
2425 * math/fenv.h: Add prototypes for fegetexcept, feenableexcept and
2427 * sysdeps/generic/feenablxcpt.c: Stub file.
2428 * sysdeps/generic/fedisblxcpt.c: Stub file.
2429 * sysdeps/generic/fegetexcept.c: Stub file.
2430 * sysdeps/i386/fpu/fedisblxcpt.c: New file.
2431 * sysdeps/i386/fpu/feenablxcpt.c: New file.
2432 * sysdeps/i386/fpu/fegetexcept.c: New file.
2433 * math/Makefile (libm-support): Add new files.
2434 * math/Versions: Add new functions with version GLIBC_2.2.
2435 * manual/arith.texi (Control Functions): Document fegetexcept,
2436 feenableexcept and fedisableexcept.
2438 1999-11-01 Wolfram Gloger <wg@malloc.de>
2440 * malloc/malloc.h: Describe __malloc_initialize_hook.
2441 * manual/memory.texi: Document __malloc_initialize_hook.
2443 1999-11-11 Ulrich Drepper <drepper@cygnus.com>
2445 * sysdeps/unix/sysv/linux/setrlimit.c: Correctly use rlimits.
2447 1999-11-09 Andreas Jaeger <aj@suse.de>
2449 * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
2450 implementation for ttyname_r call; fix inverted condition; return
2452 Closes PR libc/1438.
2454 1999-11-10 Ulrich Drepper <drepper@cygnus.com>
2456 * math/fenv.h: Include bits/fenvinline.h if optimizing.
2457 * sysdeps/powerpc/fpu/bits/fenv.h: Remove inline functions. Moved to..
2458 * sysdeps/powerpc/fpu/bits/fenvinline.h: ...here. New file.
2459 * sysdeps/generic/bits/fenv.h: New file.
2461 1999-11-10 Ulrich Drepper <drepper@cygnus.com>
2463 * misc/tst-efgcvt.c (output_r_error): Remove extra parameter to
2466 1999-11-10 Andreas Jaeger <aj@suse.de>
2468 * misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r.
2470 1999-11-10 Andreas Jaeger <aj@suse.de>
2472 * string/strsignal.c (strsignal): Correct check for snprintf
2474 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
2476 * misc/efgcvt_r.c (APPEND): Correct check for too small buffer
2477 according to changed snprintf return value.
2478 Reported by Lawrence K. Chen <lchen@opentext.com>.
2480 * misc/tst-efgcvt.c (special): Add tests for a too small buffer
2481 for ecvt_r and fcvt_r.
2483 1999-11-09 Ulrich Drepper <drepper@cygnus.com>
2485 * elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to
2486 directory with the reference since this is as secure as using the
2487 object with the dependency.
2488 (_dl_dst_substitute): Likewise.
2490 * elf/dl-load.c (_dl_dst_count): Change strings in first two
2491 strncmp calls to allow reuse.
2492 (_dl_dst_substitute): Likewise.
2494 1999-11-01 Arnold D. Robbins <arnold@skeeve.com>
2496 * posix/regex.c (init_syntax_once): move below definition of
2497 ISALNUM etc., then use ISALNUM to init the table, so that
2498 the word ops will work if i18n'ed.
2499 (SYNTAX): And subscript with 0xFF for 8bit character sets.
2501 1999-11-09 Andreas Jaeger <aj@suse.de>
2503 * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
2504 implementation for ttyname_r call; fix inverted condition; return
2505 ut_user. Closes PR libc/1438.
2507 1999-11-09 Ulrich Drepper <drepper@cygnus.com>
2509 * timezone/checktab.awk: Update from tzcode1999h.
2510 * timezone/africa: Update from tzdata1999i.
2511 * timezone/asia: Likewise.
2512 * timezone/australasia: Likewise.
2513 * timezone/backward: Likewise.
2514 * timezone/europe: Likewise.
2515 * timezone/northamerica: Likewise.
2516 * timezone/southamerica: Likewise.
2517 * timezone/iso3166.tab: Likewise.
2518 * timezone/zone.tab: Likewise.
2520 * sysdeps/unix/sysv/linux/bits/resource.h: Define values also as
2521 macros. Patch by brg@csua.berkeley.edu [PR libc/1439].
2523 1999-11-09 Andreas Jaeger <aj@suse.de>
2525 * posix/Makefile (tests): Added tst-getlogin.
2527 * posix/tst-getlogin.c: New file, contains simple tests for
2528 getlogin and getlogin_r.
2530 1999-11-09 Andreas Schwab <schwab@suse.de>
2532 * misc/syslog.c: For LOG_PERROR only append a newline if
2535 1999-11-08 Ulrich Drepper <drepper@cygnus.com>
2537 * elf/elf.h: Add STT_REGISTER, STT_HP_OPAQUE, and STT_ST_STUB
2540 1999-11-08 Andreas Jaeger <aj@suse.de>
2542 * locale/findlocale.c (_nl_find_locale): Free normalized_codeset;
2543 this fixes a memory leak (closes PR libc/1435).
2545 * intl/l10nflist.c (_nl_normalize_codeset): Update comment to
2546 reflect memory allocation.
2548 * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory
2549 allocation in _nl_explode_name.
2551 1999-11-06 Andreas Jaeger <aj@suse.de>
2553 * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock
2555 Reported by wes@surety.com, closes PR libc/1432.
2557 1999-11-05 Geoff Keating <geoffk@cygnus.com>
2559 * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of
2560 enumerator lists (-pedantic complains).
2561 (feraiseexcept): Use i#*X as the constraint. Fix a bug in the
2562 test for 'one bit set'.
2563 (feclearexcept): Likewise.
2565 1999-11-05 Ulrich Drepper <drepper@cygnus.com>
2567 * sysdeps/unix/sysv/linux/setrlimit.c: New file.
2569 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust
2571 * sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make
2574 1999-10-04 Tim Waugh <twaugh@redhat.com>
2576 * posix/wordexp-test.c: More tests.
2578 * posix/wordexp.c (wordexp): Explicit null words should be kept.
2580 1999-11-04 Shinya Hanataka <hanataka@abyss.rim.or.jp>
2582 * locale/programs/linereader.c (get_string): Correct type of buf2
2584 * locale/programs/ld-ctype.c (ctype_output): Store index correctly
2585 for _NL_CTYPE_INDIGITS_MB_LEN, _NL_CTYPE_INDIGITS_WC_LEN,
2586 _NL_CTYPE_INDIGITS*_MB, _NL_CTYPE_OUTDIGIT*_MB, and
2587 _NL_CTYPE_OUTDIGIT*_WC.
2588 (allocate_arrays): Completely initialize mapping tables.
2589 * locale/programs/ld-time.c (time_startup): We need the wide car
2591 (time_finish): Correct handling of era.
2592 (time_output): Fix a few array indeces.
2593 (time_read): Pass the repertoire map to lr_token.
2595 1999-11-03 Ulrich Drepper <drepper@cygnus.com>
2597 * Versions.def: Add version for libthread_db.
2599 1999-11-02 Andreas Jaeger <aj@suse.de>
2601 * manual/header.texi (Library Summary): The command @indexfonts
2602 doesn't exist anymore, use @smallfonts instead.
2604 1999-11-02 Ulrich Drepper <drepper@cygnus.com>
2606 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h
2607 instead of duplicating definitions.
2609 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
2611 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used
2613 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
2614 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise.
2615 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
2616 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2617 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
2619 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
2621 * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25.
2623 * sysdeps/unix/sysv/linux/kernel-features.h
2624 (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition.
2625 * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file.
2627 * manual/texinfo.tex: Updated.
2629 1999-11-01 Andreas Jaeger <aj@suse.de>
2631 * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility.
2633 * inet/gethstbynm2_r.c: Reorder addresses.
2635 1999-09-11 Paul Eggert <eggert@twinsun.com>
2637 * posix/glob.h (glob): If #defining to glob64, do this before
2638 declaring it, so that all declarations and uses match, and do not
2639 declare glob64, to avoid a declaration clash.
2640 (globfree): Likewise with globfree64.
2642 1999-09-08 Eli Zaretskii <eliz@is.elta.co.il>
2644 * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]:
2645 Keep the trailing slash unless DIRNAME is just "x:/".
2647 1999-10-11 Andreas Jaeger <aj@suse.de>
2649 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added.
2650 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2651 Closes PR libc/1384.
2653 1999-10-20 Andreas Schwab <schwab@suse.de>
2655 * math/Makefile (libm-tests-generated): Remove libm-test.stmp.
2656 (generated): Add it here.
2657 (before-compile): Add libm-test.c.
2658 ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on
2660 ($(objpfx)libm-test.stmp): Use $(objpfx) instead of
2663 1999-10-31 Ulrich Drepper <drepper@cygnus.com>
2665 * Makefile (pdf): New goal.
2666 * manual/Makefile: Add definitions and rules for PDF generation.
2668 * Versions.def (libm): Add GLIBC_2.1.3.
2670 ISO C99 TR1 changes various fe* functions to return an error value.
2671 * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag,
2672 feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv.
2673 * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias.
2674 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
2675 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
2676 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
2677 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
2678 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
2679 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
2680 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
2681 * sysdeps/arm/fpu/fegetenv.c: Likewise.
2682 * sysdeps/arm/fpu/fesetenv.c: Likewise.
2683 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
2684 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
2685 * sysdeps/generic/fclrexcpt.c: Likewise.
2686 * sysdeps/generic/fegetenv.c: Likewise.
2687 * sysdeps/generic/fesetenv.c: Likewise.
2688 * sysdeps/generic/feupdateenv.c: Likewise.
2689 * sysdeps/generic/fgetexcptflg.c: Likewise.
2690 * sysdeps/generic/fraiseexcpt.c: Likewise.
2691 * sysdeps/generic/fsetexcptflg.c: Likewise.
2692 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
2693 * sysdeps/i386/fpu/fegetenv.c: Likewise.
2694 * sysdeps/i386/fpu/fesetenv.c: Likewise.
2695 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
2696 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
2697 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2698 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
2699 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
2700 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
2701 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
2702 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
2703 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
2704 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
2705 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
2706 * sysdeps/mips/fclrexcpt.c: Likewise.
2707 * sysdeps/mips/fegetenv.c: Likewise.
2708 * sysdeps/mips/fesetenv.c: Likewise.
2709 * sysdeps/mips/feupdateenv.c: Likewise.
2710 * sysdeps/mips/fgetexcptflg.c: Likewise.
2711 * sysdeps/powerpc/fclrexcpt.c: Likewise.
2712 * sysdeps/powerpc/fegetenv.c: Likewise.
2713 * sysdeps/powerpc/fesetenv.c: Likewise.
2714 * sysdeps/powerpc/feupdateenv.c: Likewise.
2715 * sysdeps/powerpc/fgetexcptflg.c: Likewise.
2716 * sysdeps/powerpc/fraiseexcpt.c: Likewise.
2717 * sysdeps/powerpc/fsetexcptflg.c: Likewise.
2718 * sysdeps/sparc/fpu/fclrexcpt.c: Likewise.
2719 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
2720 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
2721 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
2722 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
2723 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2724 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
2725 * math/fenv.h: Adjust prototypes.: Likewise.
2726 * manual/arith.texi: Adjust documentation for these changes.
2728 * manual/arith.texi: Document feraiseexcept.
2730 * sysdeps/powerpc/fegetenv.c: Moved to...
2731 * sysdeps/powerpc/fpu/fegetenv.c: ...here.
2732 * sysdeps/powerpc/fegetround.c: Moved to...
2733 * sysdeps/powerpc/fpu/fegetround.c: ...here.
2734 * sysdeps/powerpc/feholdexcpt.c: Moved to...
2735 * sysdeps/powerpc/fpu/feholdexcpt.c: ...here.
2736 * sysdeps/powerpc/fesetenv.c: Moved to...
2737 * sysdeps/powerpc/fpu/fesetenv.c: ...here.
2738 * sysdeps/powerpc/fenv_libc.h: Moved to...
2739 * sysdeps/powerpc/fpu/fenv_libc.h: ...here.
2740 * sysdeps/powerpc/feupdateenv.c: Moved to...
2741 * sysdeps/powerpc/fpu/feupdateenv.c: ...here.
2742 * sysdeps/powerpc/fgetexcptflg.c: Moved to...
2743 * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here.
2744 * sysdeps/powerpc/fraiseexcpt.c: Moved to...
2745 * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here.
2746 * sysdeps/powerpc/fsetexcptflg.c: Moved to...
2747 * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here.
2748 * sysdeps/powerpc/ftestexcept.c: Moved to...
2749 * sysdeps/powerpc/fpu/ftestexcept.c: ...here.
2750 * sysdeps/powerpc/fesetround.c: Moved to...
2751 * sysdeps/powerpc/fpu/fesetround.c: ...here
2752 * sysdeps/powerpc/fenv_const.c: Moved to...
2753 * sysdeps/powerpc/fpu/fenv_const.c: ...here.
2755 * sysdeps/mips/fclrexcpt.c: Moved to...
2756 * sysdeps/mips/fpu/fclrexcpt.c: ...here.
2757 * sysdeps/mips/fegetenv.c: Moved to...
2758 * sysdeps/mips/fpu/fegetenv.c: ...here.
2759 * sysdeps/mips/fegetround.c: Moved to...
2760 * sysdeps/mips/fpu/fegetround.c: ...here.
2761 * sysdeps/mips/fesetenv.c: Moved to...
2762 * sysdeps/mips/fpu/fesetenv.c: ...here.
2763 * sysdeps/mips/fesetround.c: Moved to...
2764 * sysdeps/mips/fpu/fesetround.c: ...here.
2765 * sysdeps/mips/feupdateenv.c: Moved to...
2766 * sysdeps/mips/fpu/feupdateenv.c: ...here.
2767 * sysdeps/mips/fgetexcptflg.c: Moved to...
2768 * sysdeps/mips/fpu/fgetexcptflg.c: ...here.
2769 * sysdeps/mips/ftestexcept.c: Moved to...
2770 * sysdeps/mips/fpu/ftestexcept.c: ...here.
2772 1999-10-29 Jakub Jelinek <jakub@redhat.com>
2774 * stdlib/longlong.h: Avoid UDIV_TIME redefinition.
2775 * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus
2776 libraries from statically linked programs.
2777 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309
2778 fix for sigaction on SPARC.
2779 Patches by David S. Miller <davem@redhat.com>.
2781 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare
2782 gregset_t and other required structures and defines for SPARC 64bit
2783 ABI as well, not only 32bit ABI.
2785 1999-10-31 Andreas Jaeger <aj@suse.de>
2787 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X
2788 by __USE_ISOC99 and update comments.
2790 * math/complex.h: Update comments for ISO C99.
2791 * math/fenv.h: Likewise.
2792 * math/test-fenv.c: Likewise.
2793 * math/tgmath.h: Likewise.
2794 * libio/stdio.h: Likewise.
2795 * posix/sys/types.h: Likewise.
2796 * sysdeps/generic/inttypes.h: Likewise.
2797 * sysdeps/generic/stdint.h: Likewise.
2799 1999-10-31 Ulrich Drepper <drepper@cygnus.com>
2801 * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE.
2803 * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also
2804 recognize _ISOC99_SOURCE.
2805 * libio/stdio.h: Likewise.
2806 * math/math.h: Likewise.
2807 * math/bits/mathcalls.h: Likewise.
2808 * math/stdio.h: Likewise.
2809 * stdlib/stdlib.h: Likewise.
2810 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
2811 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
2812 * sysdeps/arm/bits/huge_val.h: Likewise.
2813 * sysdeps/generic/bits/mathdef.h: Likewise.
2814 * sysdeps/i386/bits/huge_val.h: Likewise.
2815 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2816 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
2817 * sysdeps/ieee754/bits/huge_val.h: Likewise.
2818 * sysdeps/m68k/bits/huge_val.h: Likewise.
2819 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2820 * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
2821 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2822 * sysdeps/powerpc/bits/mathinline.h: Likewise.
2823 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
2824 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2825 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
2826 * wcsmbs/wchar.h: Likewise.
2828 * sysdeps/powerpc/bits/mathdef.h: Moved to...
2829 * sysdeps/powerpc/fpu/bits/mathdef.h: ...here.
2830 * sysdeps/powerpc/bits/mathinline.h: Moved to...
2831 * sysdeps/powerpc/fpu/bits/mathinline.h: ...here.
2832 * sysdeps/powerpc/bits/fenv.h: Moved to...
2833 * sysdeps/powerpc/fpu/bits/fenv.h: ...here.
2835 1999-10-31 Andreas Jaeger <aj@suse.de>
2837 * manual/math.texi (Errors in Math Functions): Correct TeX code.
2839 1999-10-31 Andreas Jaeger <aj@suse.de>
2841 * math/libm-test.inc: Change comments to use ISO C99 instead of
2843 * math/w_lgamma.c: Likewise.
2844 * math/w_lgammaf.c: Likewise.
2845 * math/w_lgammal.c: Likewise.
2846 * math/test-fenv.c: Likewise.
2847 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2848 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2849 * sysdeps/generic/printf_fphex.c: Likewise.
2851 1999-10-31 Andreas Jaeger <aj@suse.de>
2853 * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment.
2855 * manual/math.texi: Change ISO C9x to ISO C99.
2856 * manual/startup.texi: Likewise.
2857 * manual/stdio.texi: Likewise.
2859 1999-10-31 Andreas Jaeger <aj@suse.de>
2861 * manual/arith.texi: Change ISO C9x to ISO C99.
2862 * manual/time.texi (Low-Level Time String Parsing): Likewise.
2864 1999-10-30 Ulrich Drepper <drepper@cygnus.com>
2866 * socket/Makefile (distribute): Add ifreq.h.
2868 * manual/time.texi (Formatting Date and Time): Revise comments about
2869 origins of the formats with ISO C99 references.
2871 1999-10-30 Andreas Jaeger <aj@suse.de>
2873 * sysdeps/unix/sysv/linux/ifreq.h: New file.
2875 1999-10-29 Andreas Jaeger <aj@suse.de>
2877 * manual/arith.texi (Parsing of Floats): Document the hexadecimal
2878 input format; mention that strtof and strtold are part of ISO C99.
2880 1999-10-29 Ulrich Drepper <drepper@cygnus.com>
2882 * manual/math.texi (Errors in Math Functions): New section.
2883 * math/libm-err-tab.pl: Moved to...
2884 * manual/libm-err-tab.pl: ...here.
2885 * manual/Makefile: Add rules for math function error table generation.
2887 * stdlib/tst-strtod.c: Add more hexadecimal tests.
2889 * stdlib/strtod.c: Handle hexadecimal numbers with leading digit
2890 != 1 correctly and more than one digit before decimal point..
2892 1999-10-27 Andreas Jaeger <aj@suse.de>
2894 * sysdeps/generic/ifreq.h: New file.
2896 * resolv/res_hconf.c: Add missing includes to get all prototypes.
2897 (_res_hconf_reorder_addrs): Rewrite. This never worked before.
2898 Reported by John DiMarco <jdd@cs.toronto.edu>.
2900 (_res_hconf_reorder_addrs): Made thread safe.
2901 (free_mem): New function, needed for malloc debugging.
2903 1999-10-29 Andreas Jaeger <aj@suse.de>
2905 * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ...
2906 * sysdeps/generic/opensock.c (__opensock): ...here in a new file.
2907 * sysdeps/unix/sysv/linux/if_index.c: Change all callers of
2908 opensock to use __opensock.
2910 * socket/Makefile (routines): Add opensock.
2912 * include/sys/socket.h (__opensock): Add prototype declaration.
2914 1999-10-29 Andreas Jaeger <aj@suse.de>
2916 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing
2918 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2920 * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added
2921 new constant from Linux 2.3.25pre1.
2923 * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added.
2925 1999-10-29 Andreas Jaeger <aj@suse.de>
2927 * math/libm-err-tab.pl: New file to generate a table of
2928 libm-test-ulps values.
2930 1999-10-29 Ulrich Drepper <drepper@cygnus.com>
2932 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file.
2933 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect
2934 struct sigcontext* object as second parameter for profil_counter.
2935 Patches by Jakub Jelinek <jakub@redhat.com>.
2937 1999-10-29 Andreas Jaeger <aj@suse.de>
2939 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs.
2940 * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
2942 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts,
2943 efs, qnx4 and reiser file systems.
2945 1999-10-29 Andreas Jaeger <aj@suse.de>
2947 * locale/Makefile (others): Set to localedef and locale for make
2950 * debug/Makefile (generated): Add xtrace for make clean to work.
2952 1999-10-29 Andreas Jaeger <aj@suse.de>
2954 * stdlib/tst-strtod.c: Add two testcases for hexadecimal input.
2956 1999-10-25 Andreas Jaeger <aj@suse.de>
2958 * math/libm-test.inc: Added code to ignore the given max ulps.
2959 (print_max_error): Check for ignore_max_ulp.
2960 (check_float_internal): Likewise.
2961 (parse_opt): Parse --ignore-max-ulp.
2962 (main): Initialize ignore_max_ulp.
2964 1999-10-26 Andreas Jaeger <aj@suse.de>
2966 * stdlib/msort.c: Include <alloca.h> for prototype.
2967 Remove K&R compatibility and _quicksort prototype.
2969 * stdlib/qsort.c: Make code and comments 64 bit clean; clarify
2971 Reported by Bernd Loechner <loechner@informatik.uni-kl.de>.
2972 Remove K&R compatibility.
2973 Move prototype declaration to include/stdlib.h.
2974 Include <alloca.h> for prototype; include <limits.h> for CHAR_BIT.
2976 * include/stdlib.h: Prototype declaration for _quicksort.
2978 1999-10-27 Andreas Jaeger <aj@suse.de>
2980 * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was
2981 shifted a bit too much.
2982 Reported by Eugen Dedu <dedu@ese-metz.fr>.
2984 1999-10-25 Ulrich Drepper <drepper@cygnus.com>
2986 * resolv/gethnamaddr.c: Account bytes needed for alignment in
2987 buflen. Patch by Olaf Kirch <okir@lst.de>.
2989 * md5-crypt/md5test.c: Correct names of MD5 functions after
2990 removing of public names.
2992 * configure.in: Don't allow --enable-kernel without parameter.
2994 1999-10-25 Ulrich Drepper <drepper@cygnus.com>
2996 * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0
2999 1999-10-25 Thorsten Kukuk <kukuk@suse.de>
3001 * md5-crypt/md5.h: Remove prototypes for public interface. md5 is
3002 only used internally.
3003 * md5-crypt/md5-crypt.c: Use internal names for md5 functions,
3004 remove weak alias for public names.
3005 * md5-crypt/md5.c: Remove weak aliase.
3007 1999-10-25 Andreas Jaeger <aj@suse.de>
3009 * math/README.libm-test: New file, documents libm-test.inc.
3011 1999-10-25 Andreas Jaeger <aj@suse.de>
3013 * math/gen-libm-test.pl: Only generate a new ulps file when -n is
3015 (print_ulps_file): Fix loops to not read @tests and @functions
3016 since those are not initialized with -n now.
3017 (parse_ulps): Set $results{..}{"kind"}.
3019 1999-10-25 Andreas Jaeger <aj@suse.de>
3021 * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.
3023 * math/libm-test.inc (check_float_internal): Don't print ulps for
3026 1999-10-20 Andreas Jaeger <aj@suse.de>
3028 * manual/socket.texi (Address Formats): Describe usage of AF_UNIX
3030 Patch by Robert Bihlmeyer <robbe@orcus.priv.at>.
3032 1999-10-24 Ulrich Drepper <drepper@cygnus.com>
3034 * math/libm-test.inc: Disable some boundary case tests for inline
3037 * math/math.h: Pretty printing.
3039 * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN.
3040 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3041 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3042 * sysdeps/i386/fpu/e_log10.S: Likewise.
3043 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3044 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3045 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3046 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3047 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3048 * sysdeps/i386/fpu/s_log2.S: Likewise.
3049 * sysdeps/i386/fpu/s_log2f.S: Likewise.
3050 * sysdeps/i386/fpu/s_log2l.S: Likewise.
3052 * sysdeps/i386/fpu/libm-test-ulps: New file.
3054 * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return
3056 (pow): Correct case x == 0.
3057 (__sgn1l): Correct handling of -0.0.
3059 1999-10-22 Andreas Jaeger <aj@suse.de>
3061 * math/libm-test.inc (asinh_test): Add test for NaN as input parameter.
3062 (atan_test): Likewise.
3063 (atanh_test): Likewise.
3064 (atan2_test): Likewise.
3065 (carg_test): Likewise.
3066 (ceil_test): Likewise.
3067 (cos_test): Likewise.
3068 (cosh_test): Likewise.
3069 (cpow_test): Likewise.
3070 (erf_test): Likewise.
3071 (erfc_test): Likewise.
3072 (exp_test): Likewise.
3073 (exp10_test): Likewise.
3074 (exp2_test): Likewise.
3075 (expm1_test): Likewise.
3076 (fabs_test): Likewise.
3077 (floor_test): Likewise.
3078 (fmod_test): Likewise.
3079 (gamma_test): Likewise.
3080 (lgamma_test): Likewise.
3081 (log10_test): Likewise.
3082 (log1p_test): Likewise.
3083 (log2_test): Likewise.
3084 (logb_test): Likewise.
3085 (nearbyint_test): Likewise.
3086 (remainder_test): Likewise.
3087 (remquo_test): Likewise.
3088 (sin_test): Likewise.
3089 (sincos_test): Likewise.
3090 (sinh_test): Likewise.
3091 (sqrt_test): Likewise.
3092 (tan_test): Likewise.
3093 (tanh_test): Likewise.
3094 (tgamma_test): Likewise.
3096 1999-10-21 Ulrich Drepper <drepper@cygnus.com>
3098 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y.
3100 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special.
3102 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check
3103 for -Inf and return NaN.
3105 * configure.in: Correct test for Cygnus gcc versions.
3107 1999-10-21 Andreas Jaeger <aj@suse.de>
3109 * math/libm-test.inc (cimag_test): New function, tests cimag.
3110 (creal_test): New function, tests creal.
3111 (conj_test): New function, tests conj.
3112 (main): Add new functions.
3114 1999-10-20 Andreas Jaeger <aj@suse.de>
3116 * math/libm-test.inc: Rewrite to allow different deltas for real
3117 and imaginary part of complex functions.
3118 * math/gen-libm-test.pl: Likewise.
3120 1999-10-19 Ulrich Drepper <drepper@cygnus.com>
3122 * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
3125 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.
3127 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
3128 for -Inf and return NaN.
3130 * math/gen-libm-test.pl: Fix program name in help message.
3132 * math/libm-test.inc (check_complex): It's Imaginary, not Complex.
3134 * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.
3136 * sysdeps/i386/Implies: Correct order of libm directories.
3138 1999-10-19 Andreas Jaeger <aj@suse.de>
3140 * include/bits/ipc.h: Remove K&R compatibility.
3141 * include/libintl.h: Likewise.
3142 * include/math.h: Likewise.
3143 * include/mntent.h: Likewise
3144 * include/netdb.h: Likewise.
3145 * include/pwd.h: Likewise.
3146 * include/sched.h: Likewise.
3147 * include/shadow.h: Likewise
3148 * include/stdlib.h: Likewise.
3149 * include/sys/file.h: Likewise.
3150 * include/sys/gmon.h: Likewise.
3151 * include/sys/ioctl.h: Likewise.
3152 * include/sys/mman.h: Likewise.
3153 * include/sys/resource.h: Likewise.
3154 * include/sys/socket.h: Likewise.
3155 * include/sys/stat.h: Likewise.
3156 * include/sys/sysinfo.h: Likewise.
3157 * include/sys/time.h: Likewise.
3158 * include/sys/times.h: Likewise.
3159 * include/sys/uio.h: Likewise.
3160 * include/sys/wait.h: Likewise.
3161 * include/termios.h: Likewise.
3162 * include/time.h: Likewise.
3163 * include/ulimit.h: Likewise.
3164 * include/utmp.h: Likewise.
3165 * include/wchar.h: Likewise.
3166 * include/wctype.h: Likewise.
3168 1999-10-19 Andreas Jaeger <aj@suse.de>
3170 * math/libm-test.inc: Remove one K&R compatibility.
3171 (main): Enable nexttoward_test.
3173 * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
3174 libm-test-ulps.h; pretty print output a bit.
3176 1999-10-19 Andreas Jaeger <aj@suse.de>
3178 * iconv/iconv_prog.c (main): Set exit value in case that reading
3179 from stdin failed [PR libc/1404].
3181 1999-10-18 Andreas Jaeger <aj@suse.de>
3183 Added improved math testsuite:
3184 * math/libm-test.inc: New file, contains all tests from
3185 libm-test.c but in a different form.
3186 * math/libm-test.c: Removed.
3187 * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file.
3188 * math/gen-libm-test.pl: New file: Preprocessor.
3189 * math/test-double.c: Adopted to new testsuite.
3190 * math/test-idouble.c: Likewise.
3191 * math/test-float.c: Likewise.
3192 * math/test-ifloat.c: Likewise.
3193 * math/test-ldouble.c: Likewise.
3194 * math/test-ildoubl.c: Likewise.
3195 * math/Makefile: Added rules to generate new suite.
3197 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
3199 * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
3200 Patch by J. Richard Sladkey <jrs@world.std.com>.
3202 * scripts/config.sub: Update from latest autoconf version.
3203 * scripts/config.guess: Likewise.
3205 1999-10-18 Andreas Jaeger <aj@suse.de>
3207 * inet/arpa/inet.h: Remove K&R compatibility.
3208 * math/fenv.h: Likewise.
3210 1999-10-18 Andreas Jaeger <aj@suse.de>
3212 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
3213 kernel_sigaction): Remove K&R compatibility.
3214 * sysdeps/unix/sysv/linux/net/if.h: Likewise.
3215 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3216 * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
3217 * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
3218 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
3219 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
3220 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3221 * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
3222 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
3223 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
3224 * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
3225 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3226 * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
3227 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
3228 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3229 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3230 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
3232 1999-10-18 Andreas Jaeger <aj@suse.de>
3234 * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
3235 Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
3237 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
3239 * po/gl.po: New file.
3241 1999-10-18 Andreas Schwab <schwab@suse.de>
3243 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
3244 namespace selection.
3246 1999-10-18 Andreas Schwab <schwab@suse.de>
3248 * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
3249 clash with the TERM environment variable.
3251 1999-10-18 Andreas Jaeger <aj@suse.de>
3253 * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
3254 returns now NaN + i NaN.
3255 * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
3256 * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
3258 1999-10-18 Andreas Jaeger <aj@suse.de>
3260 * include/aio.h: Remove K&R compatiblity.
3261 * include/alloca.h: Likewise.
3262 * include/db.h: Likewise.
3263 * include/dirent.h: Likewise.
3264 * include/fcntl.h: Likewise.
3265 * include/fpu_control.h: Likewise.
3266 * include/glob.h: Likewise.
3267 * include/grp.h: Likewise.
3268 * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
3269 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3270 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
3271 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3273 * include/execinfo.h: Add __THROW.
3275 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
3277 * sysdeps/mips/Implies: Remove wordsize-32 reference.
3278 * sysdeps/mips/mips3/Implies: Add it here.
3280 1999-10-17 Ulrich Drepper <drepper@cygnus.com>
3282 * elf/elf.h: Add various platform and architecture extensions.
3284 * locale/lc-collate.c (_nl_postload_collate): Disable code for now.
3285 * locale/setlocale.c (setlocale): Don't call _nl_find_locale for
3288 * socket/sys/socket.h: Remove K&R compatibility.
3290 1999-10-16 Andreas Jaeger <aj@suse.de>
3292 * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
3294 1999-10-15 Andreas Jaeger <aj@suse.de>
3296 * stdlib/Makefile (tests): Added tst-xpg-basename.
3298 * stdlib/tst-xpg-basename.c: New test file.
3300 1999-10-14 Cristian Gafton <gafton@redhat.com>
3302 * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
3304 1999-10-14 Andreas Jaeger <aj@suse.de>
3306 * resolv/inet_addr.c (inet_aton): Fix last patch. The little
3307 endian version works for both endiannesses.
3309 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
3312 1999-10-12 Ulrich Drepper <drepper@cygnus.com>
3314 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
3315 register names unconditionally, only if __USE_GNU.
3317 * debug/Makefile: Fix rules to generate pcprofiledump.
3319 * include/ucontext.h: New file.
3321 * locale/setlocale.c: Fix gcc warning about uninitialized variable.
3323 1999-10-12 Andreas Jaeger <aj@suse.de>
3325 * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
3327 * math/basic-test.c: Fix typo.
3329 * locale/programs/xstrdup.c: Include string.h for glibc
3330 compilation to get string prototypes.
3332 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
3333 gregset_t and fpregset_t.
3335 * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
3336 warnings. Correct value for x == 0.
3338 * argp/argp-help.c: Remove broken definition of flockfile and
3341 1999-10-12 Andreas Schwab <schwab@suse.de>
3343 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
3344 generic Linux version.
3346 1999-10-12 Ulrich Drepper <drepper@cygnus.com>
3348 * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
3350 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
3352 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
3353 and fpregset_t definitions.
3355 * malloc/memprof.c (GETSP): Define for PowerPC.
3356 (GETTIME): Fix generic version.
3358 1999-10-10 Philip Blundell <philb@gnu.org>
3360 * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
3363 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
3365 * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
3366 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
3367 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
3368 * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
3370 * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
3372 * sysdeps/powerpc/e_sqrt.c: Moved to...
3373 * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
3374 * sysdeps/powerpc/e_sqrtf.c: Moved to...
3375 * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
3377 * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
3378 * sysdeps/powerpc/sub_n.S: Likewise.
3379 * sysdeps/powerpc/strlen.S: Likewise.
3380 * sysdeps/powerpc/strcpy.S: Likewise.
3381 * sysdeps/powerpc/strcmp.S: Likewise.
3382 * sysdeps/powerpc/strchr.S: Likewise.
3383 * sysdeps/powerpc/stpcpy.S: Likewise.
3384 * sysdeps/powerpc/setjmp.S: Likewise.
3385 * sysdeps/powerpc/rshift.S: Likewise.
3386 * sysdeps/powerpc/ppc-mcount.S: Likewise.
3387 * sysdeps/powerpc/mul_1.S: Likewise.
3388 * sysdeps/powerpc/memset.S: Likewise.
3389 * sysdeps/powerpc/lshift.S: Likewise.
3390 * sysdeps/powerpc/dl-start.S: Likewise.
3391 * sysdeps/powerpc/bzero.S: Likewise.
3392 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
3393 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
3394 * sysdeps/powerpc/addmul_1.S: Likewise.
3395 * sysdeps/powerpc/add_n.S: Likewise.
3396 * sysdeps/powerpc/__longjmp.S: Likewise.
3397 * sysdeps/powerpc/elf/start.S: Likewise.
3399 1999-10-11 Cristian Gafton <gafton@redhat.com>
3401 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
3404 1999-10-10 Ulrich Drepper <drepper@cygnus.com>
3406 * stdlib/atexit.c (initial): New variable. Use to initialize
3408 * stdlib/exit.c (exit): Beware to not free statically allocated
3409 list element [PR libc/1305].
3411 * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
3412 slash before the basename [PR libc/1383].
3414 * argp/argp.h: Fix typo in last patch.
3416 * sysdeps/powerpc/sysdep.h: New file.
3417 * sysdeps/unix/powerpc/sysdep.h: New file.
3418 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
3419 sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
3420 * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
3421 instead of bare numbers.
3422 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
3423 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
3424 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
3426 * sysdeps/hppa/sysdep.h: New file.
3428 1999-10-10 Andreas Jaeger <aj@suse.de>
3430 * misc/sgtty.h: Fix typo in last patch.
3432 1999-10-09 Ulrich Drepper <drepper@cygnus.com>
3434 * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
3435 * sysdeps/powerpc/s_copysign.S: Move to...
3436 * sysdeps/powerpc/fpu/s_copysign.S: ...here. Use portable asm syntax.
3437 * sysdeps/powerpc/s_copysignf.S: Move to...
3438 * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
3439 * sysdeps/powerpc/s_fabs.S: Move to...
3440 * sysdeps/powerpc/fpu/s_fabs.S: ...here. Use portable asm syntax.
3441 * sysdeps/powerpc/s_fabsf.S: Move to...
3442 * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
3443 * sysdeps/powerpc/s_fdim.c: Move to...
3444 * sysdeps/powerpc/fpu/s_fdim.c: ...here.
3445 * sysdeps/powerpc/s_fdimf.c: Move to...
3446 * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
3447 * sysdeps/powerpc/s_fmax.S: Move to...
3448 * sysdeps/powerpc/fpu/s_fmax.S: ...here. Use portable asm syntax.
3449 * sysdeps/powerpc/s_fmaxf.S: Move to...
3450 * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
3451 * sysdeps/powerpc/s_fmin.S: Move to...
3452 * sysdeps/powerpc/fpu/s_fmin.S: ...here. Use portable asm syntax.
3453 * sysdeps/powerpc/s_fminf.S: Move to...
3454 * sysdeps/powerpc/fpu/s_fminf.S: ...here.
3455 * sysdeps/powerpc/s_isnan.S: Move to...
3456 * sysdeps/powerpc/fpu/s_isnan.c: ...here.
3457 * sysdeps/powerpc/s_isnanf.S: Move to...
3458 * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
3459 * sysdeps/powerpc/s_llrint.c: Move to...
3460 * sysdeps/powerpc/fpu/s_llrint.c: ...here.
3461 * sysdeps/powerpc/s_llrintf.c: Move to...
3462 * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
3463 * sysdeps/powerpc/s_llround.c: Move to...
3464 * sysdeps/powerpc/fpu/s_llround.c: ...here.
3465 * sysdeps/powerpc/s_llroundf.c: Move to...
3466 * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
3467 * sysdeps/powerpc/s_lrint.c: Move to...
3468 * sysdeps/powerpc/fpu/s_lrint.c: ...here.
3469 * sysdeps/powerpc/s_lrintf.S: Move to...
3470 * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
3471 * sysdeps/powerpc/s_lround.c: Move to...
3472 * sysdeps/powerpc/fpu/s_lround.c: ...here.
3473 * sysdeps/powerpc/s_lroundf.c: Move to...
3474 * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
3475 * sysdeps/powerpc/s_rint.c: Move to...
3476 * sysdeps/powerpc/fpu/s_rint.c: ...here.
3477 * sysdeps/powerpc/s_rintf.c: Move to...
3478 * sysdeps/powerpc/fpu/s_rintf.c: ...here.
3479 * sysdeps/powerpc/t_sqrt.c: Move to...
3480 * sysdeps/powerpc/fpu/t_sqrt: ...here.
3481 * sysdeps/powerpc/w_sqrt.c: Move to...
3482 * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
3483 * sysdeps/powerpc/w_sqrtf.c: Move to...
3484 * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
3485 * configure.in: Support platforms which have no .text pseudo-op.
3486 Patches partly by Jimi X <jimix@pobox.com>.
3488 * Makeconfig: Look also in all subdirs for shlib-versions files.
3490 * malloc/memprof.sh: Fix --help string a bit.
3492 * argp/argp.h: Remove K&R compatiblity.
3493 * assert/assert.h: Likewise.
3494 * catgets/nl_types.h: Likewise.
3495 * ctype/ctype.h: Likewise.
3496 * db/db.h: Likewise.
3497 * db/ndbm.h: Likewise.
3498 * db2/db.h: Likewise.
3499 * db2/db_185.h: Likewise.
3500 * debug/execinfo.h: Likewise.
3501 * dirent/dirent.h: Likewise.
3502 * dlfcn/dlfcn.h: Likewise.
3503 * gmon/sys/gmon.h: Likewise.
3504 * grp/grp.h: Likewise.
3505 * iconv/gconv.h: Likewise.
3506 * iconv/iconv.h: Likewise.
3507 * include/execinfo.h: Likewise.
3508 * inet/aliases.h: Likewise.
3509 * inet/netinet/ether.h: Likewise.
3510 * inet/netinet/in.h: Likewise.
3511 * intl/libintl.h: Likewise.
3512 * io/fcntl.h: Likewise.
3513 * io/fts.h: Likewise.
3514 * io/ftw.h: Likewise.
3515 * io/utime.h: Likewise.
3516 * io/sys/poll.h: Likewise.
3517 * io/sys/stat.h: Likewise.
3518 * io/sys/statfs.h: Likewise.
3519 * io/sys/statvfs.h: Likewise.
3520 * libio/libio.h: Likewise.
3521 * libio/stdio.h: Likewise.
3522 * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
3523 * locale/locale.h: Likewise.
3524 * login/pty.h: Likewise.
3525 * login/utmp.h: Likewise.
3526 * malloc/mcheck.h: Likewise.
3527 * math/complex.h: Likewise.
3528 * math/math.h: Likewise.
3529 * math/math_private.h: Likewise.
3530 * misc/err.h: Likewise.
3531 * misc/fstab.h: Likewise.
3532 * misc/libgen.h: Likewise.
3533 * misc/mntent.h: Likewise.
3534 * misc/regexp.h: Likewise.
3535 * misc/search.h: Likewise.
3536 * misc/sgtty.h: Likewise.
3537 * misc/ttyent.h: Likewise.
3538 * misc/sys/cdefs.h: Likewise.
3539 * misc/sys/file.h: Likewise.
3540 * misc/sys/ioctl.h: Likewise.
3541 * misc/sys/mman.h: Likewise.
3542 * misc/sys/select.h: Likewise.
3543 * misc/sys/syslog.h: Likewise.
3544 * misc/sys/uio.h: Likewise.
3545 * misc/sys/ustat.h: Likewise.
3546 * nss/nss.h: Likewise.
3547 * posix/sched.h: Likewise.
3548 * posix/unistd.h: Likewise.
3549 * posix/wordexp.h: Likewise.
3550 * posix/sys/times.h: Likewise.
3551 * posix/sys/utsname.h: Likewise.
3552 * posix/sys/wait.h: Likewise.
3553 * pwd/pwd.h: Likewise.
3554 * resolv/netdb.h: Likewise.
3555 * resolv/resolv.h: Likewise.
3556 * resource/ulimit.h: Likewise.
3557 * resource/sys/resource.h: Likewise.
3558 * resource/sys/vlimit.h: Likewise.
3559 * resource/sys/vtimes.h: Likewise.
3560 * rt/aio.h: Likewise.
3561 * setjmp/setjmp.h: Likewise.
3562 * shadow/shadow.h: Likewise.
3563 * signal/signal.h: Likewise.
3564 * socket/socket.h: Likewise.
3565 * stdio/stdio.h: Likewise.
3566 * stdio-common/_itoa.h: Likewise.
3567 * stdio-common/_itowa.h: Likewise.
3568 * stdio-common/printf.h: Likewise.
3569 * stdlib/alloca.h: Likewise.
3570 * stdlib/fmtmsg.h: Likewise.
3571 * stdlib/monetary.h: Likewise.
3572 * stdlib/stdlib.h: Likewise.
3573 * stdlib/ucontext.h: Likewise.
3574 * streams/stropts.h: Likewise.
3575 * string/argz.h: Likewise.
3576 * string/envz.h: Likewise.
3577 * string/string.h: Likewise.
3578 * string/strings.h: Likewise.
3579 * string/bits/string2.h: Likewise.
3580 * sunrpc/rpc/auth.h: Likewise.
3581 * sunrpc/rpc/auth_des.h: Likewise.
3582 * sunrpc/rpc/auth_unix.h: Likewise.
3583 * sunrpc/rpc/clnt.h: Likewise.
3584 * sunrpc/rpc/des_crypt.h: Likewise.
3585 * sunrpc/rpc/netdb.h: Likewise.
3586 * sunrpc/rpc/pmap_clnt.h: Likewise.
3587 * sunrpc/rpc/pmap_prot.h: Likewise.
3588 * sunrpc/rpc/pmap_rmt.h: Likewise.
3589 * sunrpc/rpc/rpc_msg.h: Likewise.
3590 * sunrpc/rpc/svc.h: Likewise.
3591 * sunrpc/rpc/svc_auth.h: Likewise.
3592 * sunrpc/rpc/xdr.h: Likewise.
3593 * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
3594 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3595 * sysvipc/sys/ipc.h: Likewise.
3596 * sysvipc/sys/msg.h: Likewise.
3597 * sysvipc/sys/sem.h: Likewise.
3598 * sysvipc/sys/shm.h: Likewise.
3599 * termios/termios.h: Likewise.
3600 * time/time.h: Likewise.
3601 * time/sys/time.h: Likewise.
3602 * time/sys/timeb.h: Likewise.
3603 * wcsmbs/wchar.h: Likewise.
3604 * wctype/wctype.h: Likewise.
3606 1999-10-05 Roland McGrath <roland@baalperazim.frob.com>
3608 * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
3609 _GNU_SOURCE be defined.
3611 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
3613 * ctype/ctype.h: Pretty print.
3615 * po/cs.po: Fix typos.
3617 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
3618 handling of empty entries. [PR libc/1345]
3619 Patch by Thorsten Kukuk <kukuk@suse.de>.
3621 1999-10-08 Andreas Schwab <schwab@suse.de>
3623 * debug/xtrace.sh: Fix quoting bugs. Implement --help and --version.
3625 1999-10-08 Andreas Schwab <schwab@suse.de>
3627 * debug/pcprofiledump.c: Fix typos.
3629 1999-10-07 Andreas Jaeger <aj@suse.de>
3631 * math/Makefile (tests): Added basic-tests.
3633 * math/basic-test.c: New file. Contains function basic_tests from
3636 1999-10-07 Andreas Schwab <schwab@suse.de>
3638 * malloc/memprof.sh: Fix quoting bugs.
3640 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
3642 * timezone/europe: Update from tzdata1999h.
3644 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
3646 * elf/elf.h: Update from last gABI draft.
3648 * elf/elf.h: Remove EM_486 entry.
3649 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
3652 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
3654 * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
3655 Add rules for both programs.
3656 * debug/pcprofiledump.c: New file.
3657 * debug/xtrace.sh: New file.
3658 * debug/pcprofile.c: Allow creating output file. Add magic signature
3659 to let reader recognize file format.
3661 1999-10-06 Ulrich Drepper <drepper@cygnus.com>
3663 * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
3665 1999-10-05 Andreas Jaeger <aj@suse.de>
3667 * locale/programs/ld-identification.c: Fix typo in comment.
3668 * locale/programs/ld-messages.c: Likewise.
3669 * locale/programs/ld-monetary.c: Likewise.
3670 * locale/programs/ld-name.c: Likewise.
3672 * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
3673 (collate_read): Remove unnecessary comparisons with ignore_content.
3675 * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
3677 (ctype_read): Remove unnecessary comparisons with ignore_content.
3678 Fix typos in comments.
3680 * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
3681 comparisons with ignore_content.
3683 1999-10-05 Ulrich Drepper <drepper@cygnus.com>
3687 * time/time.h: Move __gmtime_r declaration to ...
3688 * include/time.h: ...here.
3690 1999-10-05 Andreas Jaeger <aj@suse.de>
3692 * manual/message.texi (The message catalog files): Fix description
3693 to match gencat implementation and Unix98: Message fields are
3694 separated by a single blank space.
3696 1999-10-05 Andreas Jaeger <aj@suse.de>
3698 * manual/string.texi (Search Functions): Add missing end for
3699 memrchr description.
3701 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
3703 * malloc/memprof.sh: Various small cleanups. Add short options.
3704 Write error messages to stderr.
3706 * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
3708 * malloc/memprof.sh: Take options to control memprofstat.
3710 * malloc/Makefile: Add rule to generate memprof script.
3711 * malloc/memprof.sh: New file.
3713 * elf/ldd.bash.in: Add "Usage: " in help message to comply with
3716 1999-10-04 Andreas Jaeger <aj@suse.de>
3718 * configure.in: Allow makeinfo 4.*.
3720 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
3722 * stdio-common/vfprintf.c: Correct last patch and use outchar
3723 instead of PUTC to output single characters.
3724 * stdio-common/Makefile (tests): Add bug13.
3725 * stdio-common/bug13.c: New file.
3727 * configure.in: Add additional options --with-gd-include and
3728 --with-gd-lib to help people with strange installations.
3730 * malloc/Makefile: Add libdl dependency to libmemprof.so.
3731 * malloc/Depend: New file.
3733 1999-10-04 Andreas Jaeger <aj@suse.de>
3735 * timezone/README: Change wording to not mention the current
3736 version. This way we can't forget to update the file.
3738 1999-10-04 Andreas Jaeger <aj@suse.de>
3740 * manual/time.texi (Basic CPU Time): Fix typo.
3741 Reported by Ben Pfaff <pfaffben@msu.edu>.
3743 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
3745 * string/string.h: Move __memrchr declaration to ...
3746 * include/string.h: ...here.
3748 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
3750 * string/Makefile (routines): Add memrchr.
3752 * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
3753 Correct order of tests for matching bytes.
3755 * string/tester.c: Add tests for memrchr.
3757 * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
3758 Start from the last character and take decrement not increment
3759 into account for correction in return line. Add memrchr alias.
3760 * sysdeps/i386/bits/string.h: Likewise.
3762 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
3764 * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
3766 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
3768 * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
3770 * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
3773 * string/Versions: Export memrchr.
3775 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
3777 * misc/Versions (GLIBC_2.2): Add getloadavg.
3778 * misc/Makefile (routines): Add getloadavg.
3779 * sysdeps/generic/getloadavg.c: New file.
3780 * sysdeps/mach/getloadavg.c: New file.
3781 * sysdeps/unix/sysv/linux/getloadavg.c: New file.
3783 * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
3784 * sysdeps/i386/bits/string.h (__memrchr): New function.
3785 * string/string.h: Declare memrchr, __memrchr.
3786 * manual/string.texi (Search Functions): Document memrchr.
3788 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
3790 * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
3791 CFLAGS-memprofstat.c, and LIBGD variables.
3792 * config.make.in: Add LIBGD.
3793 * malloc/Makefile: Add rules to generate libmemprof.so and
3795 * malloc/memprof.c: New file.
3796 * malloc/memprofstat.c: New file.
3798 1999-10-02 Ulrich Drepper <drepper@cygnus.com>
3800 * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
3802 * resolv/inet_ntop.c (inet_ntop4): Little optimization.
3803 (inet_ntop6): Likewise.
3805 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
3808 * resolv/tst-aton.c (main): Add more tests.
3810 * resolv/inet_addr.c (inet_aton): Correct some problems with to
3811 large numbers. Optimize a bit.
3813 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
3815 * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
3816 account for added '0'.
3818 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
3819 handling of IPv6 tunnel address handling with bind 8.2.1. Allow
3820 len argument to be greater than needed address size.
3822 1999-10-01 Andreas Jaeger <aj@suse.de>
3824 * locale/programs/ld-collate.c (insert_value): Add cast to avoid
3826 * intl/finddomain.c (_nl_find_domain): Likewise.
3828 1999-09-30 Andreas Schwab <schwab@suse.de>
3830 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
3832 1999-09-30 Andreas Jaeger <aj@suse.de>
3834 * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
3835 * sysdeps/i386/rshift.S: Likewise.
3836 * sysdeps/i386/strchrnul.S: Likewise.
3837 * sysdeps/i386/strchr.S: Likewise.
3838 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
3841 1999-09-30 Andreas Jaeger <aj@suse.de>
3843 * manual/examples/pipe.c: Close other end of pipe to make example work.
3845 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
3847 * timezone/checktab.awk: Update from tzcode1999g.
3848 * timezone/tzselect.ksh: Likewise.
3849 * timezone/africa: Update from tzdata1999g.
3850 * timezone/asia: Likewise.
3851 * timezone/australasia: Likewise.
3852 * timezone/europe: Likewise.
3853 * timezone/northamerica: Likewise.
3854 * timezone/southamerica: Likewise.
3855 * timezone/iso3166.tab: Likewise.
3856 * timezone/zone.tab: Likewise.
3858 1999-09-27 Andreas Jaeger <aj@suse.de>
3860 * resolv/netdb.h: Remove declaration of getnodebyname. It has
3861 been renamed to getipnodebyname. Move flags around.
3863 1999-09-27 Andreas Schwab <schwab@suse.de>
3865 * manual/message.texi (Locating gettext catalog): Fix typos.
3867 1999-09-27 Andreas Jaeger <aj@suse.de>
3869 * manual/socket.texi (Out-of-Band Data): Correct example program,
3870 rename some variables for clarity.
3871 Reported by James Antill <james@and.org>, close PR libc/1329.
3873 1999-09-27 Ulrich Drepper <drepper@cygnus.com>
3875 * locale/programs/ld-collate.c (insert_value): Add hack to not
3876 crash in incomplete collate implementation.
3878 * locale/programs/ld-collate.c (read_directions): Read new token
3879 after accepting sorting rule.
3881 1999-09-26 Ulrich Drepper <drepper@cygnus.com>
3883 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
3884 error message printing. Correctly test whether all characters of
3885 current token are used.
3886 (ctype_read): NUL terminate last_str.
3888 1999-09-26 Thorsten Kukuk <kukuk@suse.de>
3890 * nscd/connections.c: Invalidate caches on request.
3891 * nscd/nscd-client.h: Add INVALIDATE to request_type.
3892 * nscd/nscd.c: Add invalidate cache option.
3893 * nscd/nscd.conf: Change log directory to /var/log (FHS).
3895 1999-09-24 Ulrich Drepper <drepper@cygnus.com>
3897 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
3898 not ovverwrite last group member with NULL pointer.
3899 Reported by Thomas Winder <thomas.winder@newlogic.at>.
3901 1999-09-24 Andreas Jaeger <aj@suse.de>
3903 * stdio-common/tst-printf.c (main): Add a testcase for large
3904 precision. Reported by Tymm Twillman <tymm@coe.missouri.edu>.
3906 1999-09-24 Andreas Schwab <schwab@suse.de>
3908 * math/bits/mathcalls.h: Fix last change. Also declare __finite.
3910 1999-09-24 Andreas Jaeger <aj@suse.de>
3912 * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
3913 normalized_codeset. Reported by Belicky Zsolt <zsolt@prolan.hu>.
3915 1999-09-23 Mark Kettenis <kettenis@gnu.org>
3917 * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
3918 variable. Define MORECORE_CLEARS to 2.
3920 * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
3921 doesn't clear the contents of memory that is reallocated after
3922 decrementing the break value first. Update comment about
3923 MORECORE_CLEARS, explaining the meaning of the values it can be
3926 1999-09-23 Ulrich Drepper <drepper@cygnus.com>
3928 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
3931 * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
3937 1999-09-22 Andreas Jaeger <aj@suse.de>
3939 * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
3940 reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
3942 1999-09-22 Andreas Schwab <schwab@suse.de>
3944 * stdio-common/vfscanf.c: Fix width handling when scanning floats.
3946 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3948 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
3949 the source directory. Fixes PR libc/1059.
3951 1999-09-21 Ulrich Drepper <drepper@cygnus.com>
3953 * locale/programs/repertoire.c (repertoire_find_value): Abort if
3954 rep parameter is NULL.
3955 (repertoire_find_symbol): Likewise.
3956 (repertoire_find_seq): Likewise.
3958 1999-09-20 Jean-Louis Martineau <martinea@IRO.UMontreal.CA>
3960 * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
3961 returned errno value in some cases.
3963 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
3965 * iconvdata/Makefile (modules): Add GBK.
3966 (distribute): Add gbk.c.
3967 * iconvdata/gbk.c: New file.
3968 * iconvdata/gconv-modules: Add GBK entry.
3969 Contributed by Sean Chen <sean.chen@turbolinux.com>.
3971 * locale/programs/ld-monetary.c (monetary_output): Remove
3974 * locale/programs/ld-time.c (time_output): Correct expected number
3977 * manual/filesys.texi (Testing File Access): Correct description of
3980 1999-080-25 H.J. Lu <hjl@gnu.org>
3982 * csu/defs.awk (.end): Only match with leading white spaces.
3985 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
3987 * stdlib/isomac.c: Add va_copy to allowed macros.
3989 * po/pl.po: Updated.
3991 1999-09-17 Andreas Schwab <schwab@suse.de>
3993 * Makefile (clean): Also remove $(postclean) files.
3995 1999-09-15 Andreas Jaeger <aj@suse.de>
3997 * pwd/Makefile (otherlibs): Add for building with static-nss.
3998 * inet/Makefile (otherlibs): Likewise.
4000 1999-09-15 Andreas Jaeger <aj@suse.de>
4002 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
4003 function definition to avoid a compilation failure.
4005 1999-09-15 Andreas Jaeger <aj@suse.de>
4007 * stdlib/tst-environ.c (main): Add getenv regression test for
4008 environment variable that's one character long.
4010 1999-09-15 Andreas Jaeger <aj@suse.de>
4012 * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
4013 signal definitions to let glibc compile with older Linux versions
4014 (2.0.10 to 2.1.100 or so).
4016 1999-09-18 Roland McGrath <roland@baalperazim.frob.com>
4018 * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
4019 return zero to indicate no children died yet (assuming WNOHANG).
4021 * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
4023 1999-09-17 Roland McGrath <roland@baalperazim.frob.com>
4025 * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
4027 * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
4028 Return _hurd_pgrp instead of 0.
4030 1999-09-19 Roland McGrath <roland@baalperazim.frob.com>
4032 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
4033 pages rather than just reprotecting them. This way we don't hold on
4034 to the backing space.
4036 * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
4037 Use __munmap instead of __vm_deallocate.
4039 1999-09-18 Ulrich Drepper <drepper@cygnus.com>
4041 * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
4042 returned errno value in some cases.
4044 1999-09-17 Andreas Jaeger <aj@suse.de>
4046 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
4047 to override user settings.
4049 1999-09-17 Andreas Schwab <schwab@suse.de>
4051 * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
4052 using a pointer to it.
4054 1999-09-16 Ulrich Drepper <drepper@cygnus.com>
4056 * time/getdate.c (__getdate_r): Pass correct year to check_mday.
4057 Reported by Vern Staats <staatsvr@asc.hpc.mil>.
4059 1999-09-14 Ulrich Drepper <drepper@cygnus.com>
4061 * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
4063 * elf/elf.h (PF_MASKOS): New definition.
4064 (EM_VAX): New definition.
4066 1999-08-09 Scott Bambrough <scottb@netwinder.org>
4068 * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
4069 'unsigned char ftype[8]', and 'unsigned int init_flag' to
4070 struct user_fp. These were added in version 2.2.12 of the
4072 * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
4073 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
4074 The generic procfs.h included <asm/elf.h>. This causes
4075 structure redefinition errors when <sys/user.h> and <sys/procfs.h>
4076 are included in the same source file. Found when building GDB.
4078 1999-09-13 Ulrich Drepper <drepper@cygnus.com>
4080 * locale/langinfo.h: Remove byte-order dependent names.
4081 * locale/categories.def: Update after removal of byte-order dependent
4083 * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
4084 with magic number in other byte order.
4085 * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
4086 * locale/C-collate.c: Remove initializers for other byte-order.
4087 * locale/C-ctype.c: Likewise.
4088 * locale/C-monetary.c: Likewise.
4089 * locale/C-paper.c: Likewise.
4090 * locale/C-time.c: Likewise.
4091 * locale/lc-collate.c: Remove byte-order oriented initialization.
4092 * locale/lc-ctype.c: Likewise.
4093 * locale/lc-monetary.c: Likewise.
4094 * locale/lc-time.c: Likewise.
4095 * locale/programs/ld-address.c: Don't generate output in both
4097 * locale/programs/ld-ctype.c: Likewise.
4098 * locale/programs/ld-paper.c: Likewise.
4099 * locale/programs/ld-time.c: Likewise.
4100 * time/strftime.c (NLW): Don't use different byte-orders.
4101 * wctype/cname-lookup.h (cname_lookup): Likewise.
4103 * Makeconfig (localedir): Define using libdir, not datadir.
4104 (msgcatdir): New variable.
4105 * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
4106 * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
4108 * intl/Makefile (install-others): Install locale.alias in msgcatdir.
4109 (CPPFLAGS): Define paths using msgcatdir.
4110 * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
4111 * po/Makefile (mo-installed): Define using msgcatdir.
4113 * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
4115 1999-09-12 Ulrich Drepper <drepper@cygnus.com>
4117 * stdio-common/vfprintf.c: Remove limitation on size of precision
4120 * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
4121 glibc by defining internal_function if it isn't already.
4123 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
4124 fails don't rely on errno value.
4125 (getanswer_r): Set *ERRNOP in error cases.
4127 * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
4128 (gaih_inet_serv): Return EIA_NODATA if name is known but has no
4129 associated data. Test for matching numeric address and family.
4130 (getaddrinfo): Remember EAI_NODATA result and return this in case
4132 Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
4134 * locale/programs/ld-address.c: Fix handling of non-existing
4135 definitions for this category. Correctly ignore content of this
4136 category is this is necessary.
4137 * locale/programs/ld-collate.c: Likewise.
4138 * locale/programs/ld-ctype.c: Likewise.
4139 * locale/programs/ld-identification.c: Likewise.
4140 * locale/programs/ld-measurement.c: Likewise.
4141 * locale/programs/ld-messages.c: Likewise.
4142 * locale/programs/ld-monetary.c: Likewise.
4143 * locale/programs/ld-name.c: Likewise.
4144 * locale/programs/ld-numeric.c: Likewise.
4145 * locale/programs/ld-paper.c: Likewise.
4146 * locale/programs/ld-telephone.c: Likewise.
4147 * locale/programs/ld-time.c: Likewise.
4148 * locale/programs/locfile.h (handle_copy): Take extra parameter
4149 with result pointer. Fill in name of locale from which to copy.
4150 Correctly read token after `END'.
4152 * locale/programs/localedef.c (main): Correct handling copy.
4153 (add_to_readlist): Take extra parameter which says whether we
4154 are supposed to read the file or not.
4155 (find_locale): Call add_to_readlist with extra parameter set to 0.
4157 * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
4158 instead of wrong number in array definitions.
4159 (add_to_readlist): Update prototype.
4161 * locale/programs/locfile.c (locfile_read): Mark categories not
4162 available in source file as read.
4163 (write_all_categories): Fix typo.
4165 * locale/programs/locales.h: Removed.
4167 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
4169 * elf/elf.h (SHF_MASKOS): Added.
4171 * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
4173 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4175 * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
4177 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4179 * configure.in: Fix make version test for make 3.77.95 and later
4181 Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
4183 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
4185 * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
4187 * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
4190 * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
4192 1999-09-09 Andreas Schwab <schwab@suse.de>
4194 * elf/link.h: Fix comment.
4196 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
4198 * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
4200 * math/math.h: Pretty print.
4202 1999-09-10 Andreas Schwab <schwab@suse.de>
4204 * sysdeps/generic/getenv.c (getenv): Fix lookup for single
4205 character variable on bigendian platforms without unaligned memory
4208 1999-09-07 Cristian Gafton <gafton@redhat.com>
4210 * sysdeps/unix/sysv/linux/sys/raw.h: New file
4211 * sysdeps/unix/sysv/linux/Dist: Add raw.h.
4212 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
4214 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
4216 * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
4218 * time/ap.c: Removed. It was not used.
4219 * time/date.c: Likewise.
4220 * sysdeps/unix/nlist.c: Likewise.
4221 * sysdeps/generic/nlist.c: Likewise.
4222 * sysdeps/generic/varargs.h: Likewise.
4223 * stdio-common/scanf11.c: Likewise.
4224 * stdio-common/scanf6.c: Likewise.
4225 * scripts/=__ify: Likewise.
4226 * scripts/printsources: Likewise.
4227 * resolv/getnetnamadr.c: Likewise.
4228 * posix/id.c: Likewise.
4229 * misc/ioctltst.c: Likewise.
4230 * misc/nlist.h: Likewise.
4231 * math/test-math.h: Likewise.
4232 * include/nlist.h: Likewise.
4234 1999-09-06 Andreas Schwab <schwab@suse.de>
4236 * time/tzset.c (compute_change): Replace slow loop to compute T by
4239 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
4241 * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
4242 escape sequences out even if the character itself does not fit
4245 * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
4247 1999-08-31 H.J. Lu <hjl@gnu.org>
4249 * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
4251 1999-09-05 Roland McGrath <roland@baalperazim.frob.com>
4253 * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
4254 it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
4255 (_hurd_priority_which_map):
4257 1999-09-04 Ulrich Drepper <drepper@cygnus.com>
4259 * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
4261 1999-09-03 Andreas Schwab <schwab@suse.de>
4263 * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
4264 fork from __syscall_fork to __libc_fork.
4265 * posix/Versions: Add __libc_fork and __vfork to version
4268 1999-08-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4270 * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
4271 dependencies in sort.
4273 1999-09-01 H.J. Lu <hjl@gnu.org>
4275 * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
4277 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
4278 <sys/user.h> instead of <asm/user.h>.
4280 1999-09-02 Ulrich Drepper <drepper@cygnus.com>
4282 * elf/elf.h: Update PARISC-specific flags and symbolic names.
4284 1999-09-01 Ulrich Drepper <drepper@cygnus.com>
4286 * elf/elf.h: Update PARISC relocations.
4288 1999-08-31 Scott Bambrough <scottb@netwinder.org>
4290 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
4291 #ifdef statement to prevent it from being included twice.
4292 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
4293 #include <bits/armsigctx.h>.
4295 1999-08-31 Andreas Schwab <schwab@suse.de>
4297 * locale/C-collate.c: Add missing initialisations.
4298 * locale/C-ctype.c: Likewise.
4300 1999-08-31 Ulrich Drepper <drepper@cygnus.com>
4302 * time/strftime.c (my_strftime): Remove unneeded variable len.
4304 * time/strptime.c: Undo last change.
4306 1999-08-30 Ulrich Drepper <drepper@cygnus.com>
4308 * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
4309 Change charset.h to charmap.h.
4310 (categories): Add new categories. Leave out collate for now.
4312 * locale/categories.def: Add definitions for new categories.
4313 * locale/langinfo.h: Likewise.
4314 * locale/locale.h: Likewise.
4315 * locale/C-address.c: New file.
4316 * locale/C-identification.c: New file.
4317 * locale/C-measurement.c: New file.
4318 * locale/C-name.c: New file.
4319 * locale/C-paper.c: New file.
4320 * locale/C-telephone.c: New file.
4321 * locale/lc-address.c: Likewise.
4322 * locale/lc-identification.c: Likewise.
4323 * locale/lc-measurement.c: Likewise.
4324 * locale/lc-name.c: Likewise.
4325 * locale/lc-paper.c: Likewise.
4326 * locale/lc-telephone.c: Likewise.
4327 * locale/C-ctype.c: Update for locale rewrite.
4328 * locale/C-messages.c: Likewise.
4329 * locale/C-monetary.c: Likewise.
4330 * locale/C-time.c: Likewise.
4331 * locale/lc-collate.c: Likewise.
4332 * locale/lc-ctype.c: Likewise.
4333 * locale/lc-monetary.c: Likewise.
4334 * locale/lc-time.c: Likewise.
4335 * locale/localeinfo.h: Likewise.
4336 * locale/newlocale.c: Likewise.
4337 * locale/setlocale.c: Likewise.
4338 * locale/weight.h: Likewise.
4339 * locale/findlocale.c: Unconditionally use mmap.
4340 Handle new categories.
4341 * locale/loadlocale.c: Likewise.
4342 * locale/iso-3166.def: New file.
4343 * locale/iso-639.def: New file.
4344 * locale/programs/charmap-kw.gperf: Add new keywords.
4345 * locale/programs/locfile-kw.gperf: Likewise.
4346 * locale/programs/locfile-token.h: Define new tokens.
4347 * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
4348 * locale/programs/charmap.h: New file.
4349 * locale/programs/charset.h: Removed.
4350 * locale/programs/config.h: Add __LC_LAST.
4351 * locale/programs/lc-address.c: New file.
4352 * locale/programs/lc-identification.c: New file.
4353 * locale/programs/lc-measurement.c: New file.
4354 * locale/programs/lc-name.c: New file.
4355 * locale/programs/lc-paper.c: New file.
4356 * locale/programs/lc-telephone.c: New file.
4357 * locale/programs/lc-collate.c: Update for locale rewrite.
4358 * locale/programs/lc-ctype.c: Likewise.
4359 * locale/programs/lc-messages.c: Likewise.
4360 * locale/programs/lc-monetary.c: Likewise.
4361 * locale/programs/lc-numeric.c: Likewise.
4362 * locale/programs/lc-time.c: Likewise.
4363 * locale/programs/locale.c: Likewise.
4364 * locale/programs/localedef.c: Likewise.
4365 * locale/programs/locfile.c: Likewise.
4366 * locale/programs/repertoire.c: Likewise.
4367 * locale/programs/repertoire.h: Likewise.
4368 * locale/programs/locfile.c: Update prototypes.
4369 Update handle_copy definition.
4370 * locale/programs/linereader.c: Add handling of wide char strings and
4371 new definition file syntax.
4372 * locale/programs/linereader.h (struct token): Add elements for wide
4374 * locale/programs/locale-spec.c: Disable handling of collation
4376 * locale/programs/simple-hash.h: Cleanup.
4377 * locale/programs/stringtrans.h: Handle quite of end of line.
4378 * string/strcoll.c: Fall back on strcmp for now.
4379 * string/strxfrm.c: Fall back on strncpy/strlen for now.
4380 * time/strftime.c: Use new wide character data for wcsftime.
4381 * time/strptime.c: Remove _nl_C_LC_TIME declaration.
4382 * wctype/cname-lookup.h: Update for new LC_CTYPE data.
4384 * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
4385 compiling for i386 to avoid i686-like GOT pointer computation.
4387 * db2/db_int.h: Change tsl_t type to u_int32_t.
4388 * db2/mutex/mutex.c: Allow Alpha mutex definitions.
4389 * db2/mutex/alpha.h: New file.
4390 * db2/mutex/sparc.gcc: Fix store code for v9. Simplify clear code.
4391 * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
4393 Patches by Richard Henderson.
4395 * stdlib/tst-environ.c: Add cast to avoid warning.
4396 * timezone/test-tz.c: Use setenv instead of putenv.
4398 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4400 * manual/libc.texinfo: Update version and date.
4402 * manual/locale.texi (Formatting Numbers): Fix @node pointers.
4404 * manual/filesys.texi (Working with Directory Trees): Add missing @code.
4405 (File System Interface): Correct entry.
4406 (Permission Bits): Add missing commata after @xref.
4408 1999-08-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4410 * timezone/tst-timezone.c (main): Don't pass const strings to
4411 putenv to avoid warnings.
4413 * posix/regexbug1.c: Include <stdio.h> for puts prototype.
4415 1999-08-29 Thorsten Kukuk <kukuk@suse.de>
4417 * nis/Versions: Add _nss_*_getipnodebyname_r.
4418 * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
4419 * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
4420 * nss/Versions: Add _nss_files_getipnodebyname_r.
4422 1999-08-28 H.J. Lu <hjl@gnu.org>
4424 * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
4427 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
4429 * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
4431 * inet/netinet/in.h: Likewise.
4432 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4433 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4435 1999-08-28 Ulrich Drepper <drepper@cygnus.com>
4437 * malloc/malloc.c (ptmalloc_init): Don't use variables to set
4438 thresholds for SUID binaries. [PR libc/1277]
4440 * posix/regexbug1.c: Add one more similar case.
4442 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4444 * manual/install.texi (Running make install): Give examples for
4445 timezone and locale installation.
4447 1999-08-28 Zack Weinberg <zack@bitmover.com>
4449 * glibcbug.in: Get CCVERSION from autoconf substitution.
4450 * configure.in: Calculate and substitute CCVERSION.
4452 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4454 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
4455 partially reverting a patch from 1998-12-29. We just can't change
4456 the flags, kernels with different flags lead to
4459 1999-08-26 Andreas Schwab <schwab@suse.de>
4461 * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
4463 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
4465 * inet/rexec.c (rexec): Free memory if strings were allocated in
4466 ruserpass. Reported by Andrew Morton <morton@nortelnetworks.com>.
4468 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
4470 * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
4472 * manual/argp.texi: Fixing language and typos.
4473 * manual/conf.texi: Likewise.
4474 * manual/contrib.texi: Likewise.
4475 * manual/ctype.texi: Likewise.
4476 * manual/filesys.texi: Likewise.
4477 * manual/install.texi: Likewise.
4478 * manual/job.texi: Likewise.
4479 * manual/lang.texi: Likewise.
4480 * manual/llio.texi: Likewise.
4481 * manual/locale.texi: Likewise.
4482 * manual/math.texi: Likewise.
4483 * manual/nss.texi: Likewise.
4484 * manual/pipe.texi: Likewise.
4485 * manual/signal.texi: Likewise.
4486 * manual/socket.texi: Likewise.
4487 * manual/stdio.texi: Likewise.
4488 * manual/sysinfo.texi: Likewise.
4489 * manual/users.texi: Likewise.
4490 Patches by Neil Booth <NeilB@earthling.net>.
4492 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
4494 * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
4495 unsigned to avoid warning. [PR libc/1271].
4497 * conform/conformtest.pl: Allow testing regex.h which requires
4498 sys/types.h being included.
4500 * conform/data/regex.h-data: Allow *_t types.
4501 * conform/data/pwd.h-data: Likewise.
4502 * conform/data/sched.h-data: Likewise.
4503 * conform/data/pthread.h-data: Likewise.
4504 * conform/data/search.h-data: Likewise.
4506 * misc/search.h: Avoid namespace pollution.
4508 * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
4509 pwd.h, and pthread.h.
4510 * conform/data/pthread.h-data: New file.
4511 * conform/data/pwd.h-data: New file.
4512 * conform/data/regex.h-data: New file.
4513 * conform/data/sched.h-data: New file.
4514 * conform/data/search.h-data: New file.
4516 * NAMESPACE: Add REG_ for regex.h.
4518 * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
4521 * configure.in (libc_cv_asm_global_directive): Indent .text in
4522 test code so that the lame HPUX compiler recognizes it.
4523 * sysdeps/hppa/bits/endian.h: New file.
4524 * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
4525 * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
4526 * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
4527 * sysdeps/unix/sysv/hpux/bits/types.h: New file.
4529 * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
4530 Patch by John Tobey <jtobey@banta-im.com>.
4532 * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
4534 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
4535 old_siocfifconf definition to toplevel.
4536 (__protocol_available): Remove old_siocfifconf definition.
4538 1999-08-25 Mark Kettenis <kettenis@gnu.org>
4540 * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
4541 really dealing with a master pseudo terminal, and really returning
4542 the name of the associated slave pseudo terminal by checking the
4544 * sysdeps/unix/sysv/linux/pty-private.h: Removed.
4545 * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
4547 1999-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4549 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
4550 underscore in _llseek entry.
4552 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
4555 * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
4556 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
4558 * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
4559 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
4561 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
4563 * inet/Makefile (routines): Add getipnodebynm.
4564 * inet/getipnodebynm.c: New file.
4565 * nss/digits_dots.c: If HAVE_TYPE is define type contains the
4567 * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
4568 EXTRA_ARGS_VALUE is not already done.
4569 (internal_getent): Allow extra parameters and pass them to parse_line.
4570 (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
4571 (_nss_files_get##name##_r): Likewise.
4572 * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
4573 and EXTRA_ARGS_VALUE to pass flags and type to parser.
4574 Add getipnodebyname function.
4575 * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
4576 EXTRA_ARGS_VALUE is not already done.
4577 (parse_line): Add EXTRA_ARGS_DECL to parameter list.
4578 * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
4580 (_nss_db_get##name##_r): Pass extra parameters to lookup.
4581 (_nss_db_get,ENTNAME_r): Likewise.
4582 * sysdeps/generic/if_index.c (__protocol_available): New function.
4583 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4585 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
4587 * login/pty-private.h: Move to...
4588 * sysdeps/generic/pty-private.h: ...here.
4589 * sysdeps/unix/sysv/linux/pty-private.h: New file. Linux specific
4591 * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
4594 * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
4597 * conform/conformtest.pl (@headers): Add monetary.h-data,
4598 mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
4599 * conform/data/monetary.h-data: New file.
4600 * conform/data/mqueue.h-data: New file.
4601 * conform/data/ndbm.h-data: New file.
4602 * conform/data/nl_types.h.h-data: New file.
4603 * conform/data/poll.h-data: New file.
4605 * stdio-common/Makefile (test): Add tst-cookie.
4606 * stdio-common/tst-cookie.c: New file.
4608 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
4609 changed in last patch. Reported by Ralf Baechle.
4611 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4613 * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
4615 * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
4616 Patches by Ralf Baechle <ralf@uni-koblenz.de>
4618 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4620 * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
4623 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
4625 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
4627 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4629 * misc/libgen.h: Don't take basename macro as taking arguments.
4631 * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
4633 * sysdeps/i386/bits/huge_val.h: Likewise.
4634 * sysdeps/i386/bits/huge_val.h: Likewise.
4635 * sysdeps/ieee754/bits/huge_val.h: Likewise.
4636 * sysdeps/m68k/bits/huge_val.h: Likewise.
4637 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
4638 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
4640 * conform/Makefile: New file.
4641 * conform/conformtest.pl: New file.
4642 * conform/data/aio.h-data: New file.
4643 * conform/data/assert.h-data: New file.
4644 * conform/data/cpio.h-data: New file.
4645 * conform/data/ctype.h-data: New file.
4646 * conform/data/dirent.h-data: New file.
4647 * conform/data/dlfcn.h-data: New file.
4648 * conform/data/errno.h-data: New file.
4649 * conform/data/fcntl.h-data: New file.
4650 * conform/data/float.h-data: New file.
4651 * conform/data/fmtmsg.h-data: New file.
4652 * conform/data/fnmatch.h-data: New file.
4653 * conform/data/ftw.h-data: New file.
4654 * conform/data/glob.h-data: New file.
4655 * conform/data/grp.h-data: New file.
4656 * conform/data/iconv.h-data: New file.
4657 * conform/data/inttypes.h-data: New file.
4658 * conform/data/iso646.h-data: New file.
4659 * conform/data/langinfo.h-data: New file.
4660 * conform/data/libgen.h-data: New file.
4661 * conform/data/locale.h-data: New file.
4662 * conform/data/math.h-data: New file.
4664 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
4666 * posix/execvp.c (execvp): Correct copying of file name.
4668 1999-08-23 Mark Kettenis <kettenis@gnu.org>
4670 * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
4672 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
4674 * stdio-common/Makefile: Move addition to routines to the right place.
4676 1999-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4678 * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file. Neccessary
4679 since mips*-linux has ECANCELED.
4681 1999-08-23 Andreas Schwab <schwab@suse.de>
4683 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
4684 SIGCONTEXT_EXTRA_ARGS.
4685 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
4686 * sysdeps/generic/sigcontextinfo.h: Likewise.
4687 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
4688 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
4689 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4690 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
4691 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
4692 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
4694 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
4696 * posix/regexbug1.c: Make it an error if the test fails.
4698 1999-08-23 Andreas Schwab <schwab@suse.de>
4700 * posix/regex.c (re_match_2_internal): Correct check for charset
4701 after exactn in loop.
4703 1999-08-22 Ulrich Drepper <drepper@cygnus.com>
4705 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
4706 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4707 Patch by Joel Klecker.
4709 * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
4710 (__gconv_find_transform): Update prototype.
4711 (__gconv_open): Likewise.
4712 * iconv/gconv_open.c: Take extra parameter and pass it to
4713 __gconv_find_transform.
4714 * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
4715 flags. If GCONV_AVOID_NOCONV flag is set don't return copying
4717 * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
4718 * wcsmbs/wcsmbsload.c: Likewise.
4719 * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
4721 * intl/gettextP.h: Likewise.
4722 * intl/loadmsgcat.c: Likewise.
4724 * posix/regexbug1.c: New file.
4725 * posix/Makefile (tests): Add regexbug1.
4727 1999-08-22 Mark Kettenis <kettenis@gnu.org>
4729 * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
4730 * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
4731 installing PORT in the descriptor cell.
4733 1999-08-19 Roland McGrath <roland@baalperazim.frob.com>
4735 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
4736 TIMEOUT as outputs of the asm to indicate that the signal thread
4738 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
4739 mach_msg if only sending or only receiving (i.e., not an RPC). When
4740 making an RPC that might get interrupted, save OPTION and the portion
4741 of the message buffer that gets clobbered by an EINTR reply message,
4742 and properly restore them before attempting to retry the request
4745 1999-08-21 Mark Kettenis <kettenis@gnu.org>
4747 * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
4748 definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
4749 CHAR_T, UCHAR_T and WIN_T to make the code compile again when
4750 stdio is used instead of libio.
4751 * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
4752 definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
4753 to make the code compile again when stdio is used instead of
4755 (vfprintf): Only check for correct orientation if ORIENT is
4757 * stdio-common/Makefile (routines): Only add vfwprintf and
4758 vfwscanf if we're using libio.
4760 1999-08-21 Mark Kettenis <kettenis@gnu.org>
4762 * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
4763 any additional prototype just as we do for libio.
4765 1999-08-21 Mark Kettenis <kettenis@gnu.org>
4767 * include/bits/xopen_lim.h: Do not define STREAM_MAX and
4768 TZNAME_MAX. These limits are not X/Open specific.
4769 * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
4772 1999-08-21 Mark Kettenis <kettenis@gnu.org>
4774 * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
4775 UIO_MAXIOV is left undefined in sys/uio.h.
4776 * stdio-common/stdio_lim.h.in: Adapt for change above.
4778 1999-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4780 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
4781 * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
4782 Patches by Ralf Baechle <ralf@uni-koblenz.de>
4784 1999-08-21 Ulrich Drepper <drepper@cygnus.com>
4786 * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
4788 1999-08-20 Ulrich Drepper <drepper@cygnus.com>
4790 * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
4792 * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
4793 call. It should not be necessary andis harmful for Alpha.
4795 * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
4796 type. [PR libc/1269]
4798 * posix/execvp.c (execvp): Allocate array name of correct size.
4799 Optimize inner loop. Use execve directly, not execv.
4801 * elf/elf.h: Corrected SHT_ values from new draft.
4803 * intl/gettextP.h (struct loaded_domain): Add conv element.
4804 * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
4805 Instead of returning found message directly convert it using iconv
4806 if a conversion was found when opening the file.
4807 * intl/loadinfo.h: Protect against multiple inclusion.
4808 Declare _nl_find_msg.
4809 * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
4810 in the message file and if necessary find approrpiate
4811 conversion to match currently selected charset.
4812 * include/libintl.h: Declare __dgettext and __dcgettext.
4813 * include/iconv.h: New file.
4815 1999-08-20 Andreas Schwab <schwab@suse.de>
4817 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
4819 1999-08-19 Ulrich Drepper <drepper@cygnus.com>
4821 * sysdeps/unix/sysv/linux/execve.c: New file. This version terminates
4822 all threads [PR libc/1223].
4824 * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
4827 * configure.in: Search for programs with prefix gnu* and g* first.
4830 * dirent/Makefile (routines): Add getdents64.
4831 * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
4833 * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
4834 compiled with _FILE_OFFSET_BITS=64.
4835 * sysdeps/generic/getdents64.c: New file.
4836 * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
4837 __lseek for getdirentries64 definition.
4839 * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
4841 * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
4842 _FILE_OFFSET_BITS=64.
4844 * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
4847 * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
4848 after we have the lock.
4850 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
4851 Patch by Richard Henderson.
4853 1999-08-19 Andreas Schwab <schwab@suse.de>
4855 * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
4856 and call _IO_fwide, to get the wide stream state initialized
4857 correctly. Don't set _IO_JUMPS.
4858 * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
4859 * libio/vswprintf.c (_IO_vswprintf): Likewise. Pass
4860 _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
4863 1999-08-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4865 * math/libm-test.c (jn_test): Fix typo in description.
4866 (erfc_test): Add some more tests.
4867 (erf_test): Add some more tests.
4869 1999-08-19 Andreas Schwab <schwab@suse.de>
4871 * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
4872 expression using $(exceptions).
4874 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
4876 * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
4878 * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
4879 allocated so far. [PR libc/1261].
4881 * math/libm-test.c (j0_test): Adjust deltas for m68k.
4882 (jn_test): Likewise.
4884 * dirent/dirent.h: Only define ino64_t if not already done.
4885 * posix/sys/types.h: Likewise.
4887 * ctype/ctype.h: Avoid useless #endif #if pairs.
4889 * dirent/dirent.h: Define ino_t and ino64_t if not done already.
4890 (seekdir): Fix type of second parameter.
4891 * sysdeps/generic/seekdir.c: Likewise.
4892 * sysdeps/mach/hurd/seekdir.c: Likewise.
4893 * sysdeps/unix/seekdir.c: Likewise.
4895 * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
4897 1999-08-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4899 * manual/install.texi (Configuring and compiling): Clarify ix86
4902 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
4904 * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
4905 * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
4906 * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
4907 stdio_lim.h. Define LONG_BIT and WORD_BIT.
4909 * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
4911 * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
4913 * misc/search.h: Don't define NULL.
4915 * posix/sys/types.h: Define blksize_t if it hasn't happened.
4916 Only define key_t and blkcnt_t if it hasn't happened before.
4917 Define blksize_t if not happened before.
4918 * io/sys/stat.h: Don't define pid_t. Define blkcnt_t and blksize_t.
4919 * sysdeps/generic/bits/types.h: Define __blksize_t.
4920 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4921 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4922 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4923 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4924 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
4925 * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
4927 (struct stat64): Likewise.
4928 * sysdeps/unix/bsd/bits/stat.h: Likewise.
4929 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
4930 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4931 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4932 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4933 * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
4934 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
4936 * stdlib/getsubopt.c: Correct type of second argument.
4937 * stdlib/stdlib.h: Likewise.
4939 * stdlib/monetary.h: Don't include sys/types.h. Define only size_t
4942 * sysdeps/generic/putenv.c: Correct type of parameter.
4943 * stdlib/stdlib.h: Likewise.
4945 * sysdeps/generic/msgsnd.c: Correct type of second parameter.
4946 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
4947 * sysvips/sys/msg.h: Likewise.
4949 * sysdeps/generic/semop.c: Correct type of third parameter.
4950 * sysdeps/unix/sysv/linux/semop.c: Likewise.
4951 * sysvipc/sys/sem.h: Likewise. Don't include sys/types.h, define
4954 * sysdeps/generic/shmget.c: Correct type of second parameter.
4955 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
4956 * sysvips/sys/shm.h: Likewise. Don't include unistd.h and sys/types.h.
4957 Declare __getpagesize here.
4959 * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
4961 * sysdeps/gnu/bits/ipc.h: Likewise.
4962 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
4963 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
4964 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4965 * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
4968 * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
4970 * debug/versions: Export __cyg_profile_func_enter and
4971 __cyg_profile_func_exit.
4973 * math/bits/mathcalls.h: Pretty print.
4975 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
4977 * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
4978 case for new tzdata.
4980 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
4982 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4983 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4984 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4985 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
4987 * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
4989 * sysdeps/generic/ualarm.c (ualarm): Change return value and
4990 parameter type to useconds_t.
4991 * sysdeps/unix/bsd/ualarm.c: Likewise.
4993 * sysdeps/generic/usleep.c (usleep): Change parameter type to
4995 * sysdeps/unix/sysv/linux/usleep.c: Likewise.
4996 * sysdeps/mach/usleep.c: Likewise.
4998 * locale/weight.h: Include <errno.h>.
5000 * posix/sys/types.h: Define type useconds_t if not done already.
5001 * posix/unistd.h: Likewise. Use this in ualarm and usleep
5003 * sysdeps/generic/bits/types.h: Define type __useconds_t.
5004 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5005 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5006 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5007 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5008 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5010 * dirent/dirent.h (telldir): Change return type to long int.
5011 * sysdeps/generic/telldir.c: Likewise.
5012 * sysdeps/mach/hurd/telldir.c: Likewise.
5013 * sysdeps/unix/telldir.c: Likewise.
5014 * sysdeps/unix/bsd/telldir.c: Likewise. Fix locking problem.
5016 * locale/weight.h: Set errno if an invalid character is found.
5018 1999-08-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5020 * math/libm-test.c (erfc_test): Add test for example from PR
5022 (erf_test): Likewise.
5024 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
5026 * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
5027 rewrite. Patch by Alan Stern <stern@kitsilano.rowland.org>.
5029 * timezone/private.h: Update from tzcode1999e.
5030 * timezone/zic.c: Likewise.
5032 * timezone/africa: Update from tzdata1999e.
5033 * timezone/antarctica: Likewise.
5034 * timezone/asia: Likewise.
5035 * timezone/australasia: Likewise.
5036 * timezone/europe: Likewise.
5037 * timezone/leapseconds: Likewise.
5038 * timezone/northamerica: Likewise.
5039 * timezone/southamerica: Likewise.
5041 * stdio-common/vfprintf.c (process_string_arg): Correct last patch
5042 and write correct number of bytes in case of %ls with precision.
5043 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5045 1999-08-16 Ulrich Drepper <drepper@cygnus.com>
5047 * nscd/nscd.init: Test for kernel version and make LSB compliant.
5048 Patch by Christian Gafton.
5050 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
5051 O_RSYNC. Patch by Christian Gafton.
5053 * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
5054 possibly unterminated strings for %ls when a precision is
5056 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
5058 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
5059 update_conversion_ptrs.
5060 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5062 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5064 * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
5065 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5067 * wcsmbs/Makefile (tests): Add tst-wcsnlen.
5068 * wcsmbs/tst-wcsnlen.c: New file.
5070 1999-08-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5072 * libio/ioputs.c (_IO_puts): Add missing brace.
5074 1999-07-20 Geoff Keating <geoffk@cygnus.com>
5076 * math/libm-test.c: Tweak deltas for a clean run on ppc.
5078 1999-08-10 H.J. Lu <hjl@gnu.org>
5080 * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
5081 (vfprintf): Likewise.
5082 * stdio-common/vfscanf.c (ORIENT): Likewise.
5083 * libio/genops.c (__underflow): Likewise.
5084 (__uflow): Likewise.
5085 * libio/iofputs.c (_IO_fputs): Likewise.
5086 * libio/ioftell.c (_IO_ftell): Likewise.
5087 * libio/iofwrite.c (_IO_fwrite): Likewise.
5088 * libio/ioputs.c (_IO_puts): Likewise.
5089 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
5090 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
5092 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5094 * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
5096 1999-08-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5098 * manual/job.texi (Process Group Functions): Document getpgid,
5101 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5103 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
5104 initialize si_pid from it.
5105 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
5107 * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
5108 * rt/aio_misc.h (struct waitlist): Add caller_pid element.
5109 (struct requestlist): Likewise.
5110 Adjust prototypes of __aio_notify_only and __aio_sigqueue.
5111 * rt/aio_notify.c (__aio_notify_only): Take extra parameter. Pass it
5113 (__aio_notify): Pass caller PID to __aio_notify_only.
5114 * rt/aio_suspend.c: Initialize caller_pid.
5115 * rt/lio_listio.c: Likewise.
5116 * rt/lio_listio64.c: Likewise.
5118 * rt/lio_listio.c: If nothing has to be done free mutex before
5120 * rt/lio_listio64.c: Likewise.
5122 1999-08-10 H.J. Lu <hjl@gnu.org>
5124 * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
5127 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5129 * elf/elf.h: Define ElfXX_Versym.
5130 * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
5133 * stdio-common/vfprintf.c (process_string_arg): Handle precisions
5134 for string output correctly in the wide character case.
5135 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
5137 * intl/locale.alias: Add catalan.
5139 1999-08-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5141 * manual/install.texi (Configuring and compiling): Mention CFLAGS.
5143 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5145 * po/pt_BR.po: New file.
5147 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5149 * math/libm-test.c (yn_test): Adjust deltas for i386.
5150 (ccosh_test): Likewise.
5151 (jn_test): Likewise.
5153 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5155 * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
5157 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
5159 * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
5162 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5164 * configure.in: install-sh lives now in scripts subdir.
5165 PR libc/1255 (bug 4).
5167 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
5169 * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
5174 1999-08-11 Thorsten Kukuk <kukuk@suse.de>
5176 * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
5178 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
5180 * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
5183 1999-08-10 Andreas Schwab <schwab@suse.de>
5185 * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
5188 1999-08-09 Scott Bambrough <scottb@netwinder.org>
5190 * elf/elf.h: Added definition of ELFOSABI_ARM.
5191 * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
5192 VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
5193 object's header and ABI values are acceptable.
5194 (VALID_ELF_HEADER): New macro; provide default definition.
5195 (VALID_ELF_OSABI): New macro; provide default definition.
5196 (VALID_ELF_ABIVERSION): New macro; provide default definition.
5197 * sysdeps/arm/dl-machine.h Define ARM specific versions of
5198 VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
5200 1999-08-09 Andreas Schwab <schwab@suse.de>
5202 * inet/tst-ipnode.c (main): Don't compare integer with NULL.
5204 1999-08-09 Thorsten Kukuk <kukuk@suse.de>
5206 * sunrpc/svc_run.c (svc_run): Free my_pollfd.
5208 1999-08-09 Andreas Schwab <schwab@suse.de>
5210 * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
5212 1999-08-08 Ulrich Drepper <drepper@cygnus.com>
5214 * sysdeps/ieee754/ieee754.h: Handle platforms with special
5215 __FLOAT_WORD_ORDER. Patch by Joel Klecker <jk@espy.org>.
5217 * string/bits/string2.h: Mark void* operations as extensions.
5218 * sysdeps/i386/i486/bits/string.h: Likewise.
5220 * debug/Makefile (routines): Add noophooks.
5221 (extra-libs): Add libpcprofile. Add rules to build libpcprofile.
5222 * debug/noophooks.c: New file.
5223 * debug/pcprofile.c: New file.
5225 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
5227 * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
5228 systems which allow using the functions also on non-seekable
5231 * resolv/res_send.c (res_send): Recompute timeout for poll for
5232 each jump to `wait'.
5234 * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
5235 braces to avoid warnings.
5236 (IN6ADDR_LOOPBACK_INIT): Likewise.
5238 * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
5241 1999-08-06 H.J. Lu <hjl@gnu.org>
5243 * malloc/malloc.c: Initialize __libc_pagesize early.
5245 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
5247 * string/string-inlines.c: Undefined __USE_STRING_INLINES before
5250 * inet/Makefile (tests): Add tst-ipnode.
5251 * inet/tst-ipnode.c: New file.
5253 1999-08-06 Andreas Schwab <schwab@suse.de>
5255 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
5257 (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
5258 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
5259 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
5261 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
5262 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
5264 1999-08-06 Jakub Jelinek <jj@ultra.linux.cz>
5266 * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
5267 * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
5268 * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
5270 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
5272 * resolv/res_send.c (res_send): Don't test file descriptor for
5273 range, we use poll now. [PR libc/1240]
5275 1999-08-05 Ulrich Drepper <drepper@cygnus.com>
5277 * libio/genops.c (_IO_flush_all): Don't access elements beyond what
5278 2.0 defined if they are not available.
5280 1999-08-05 Thorsten Kukuk <kukuk@suse.de>
5282 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
5285 1999-08-04 Ulrich Drepper <drepper@cygnus.com>
5287 * rt/aio_read.c: Fix return value.
5288 * rt/aio_read64.c: Likewise.
5289 Reported by Christian Gafton.
5291 * rt/aio_write.c: Fix return value.
5292 * rt/aio_write64.c: Likewise.
5293 * rt/aio_fsync.c: Likewise.
5295 * rt/aio_misc.c: Set errno at correct place.
5297 * rt/aio_fsync.c: Test OP parameter for correct values.
5299 * hesiod/hesiod.c: Avoid emitting rcsid in object file.
5301 1999-08-04 Andreas Schwab <schwab@suse.de>
5303 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
5304 Initialize result to one.
5305 (GET_NPROCS_CONF_PARSER): Likewise.
5307 1999-08-03 Ulrich Drepper <drepper@cygnus.com>
5309 * inet/ether_hton.c: Pass errno pointer to NSS function.
5310 * inet/getnetgrent_r.c: Likewise.
5311 Reported by Marty Leisner <leisner@rochester.rr.com>.
5313 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
5315 * nis/nis_callback.c: Fix port problem on big-endian machines
5316 * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
5317 fields are always 32 bit.
5318 Patches from Paul Mackerras <paulus@cs.anu.edu.au>
5320 * nis/nss_nis/nis-service.c: Remove htons, port is always in
5322 * nis/nss_nisplus/nisplus-service.c: Rename number to port.
5324 1999-08-03 Andreas Schwab <schwab@suse.de>
5326 * sysdeps/posix/sigset.c: Unblock the signal after setting its
5327 disposition. Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
5328 avoid two calls to sigprocmask.
5330 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
5332 * sysdeps/generic/s_nexttowardf.c: Fix typo.
5334 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
5336 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
5337 Only allow rt signal frames. No SA_SIGINFO signals will have the
5338 siginfo_t just not filled out with SI_NOINFO code.
5339 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
5340 (register_dump): Take the above change into account.
5341 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
5342 (rt_signal_frame): Likewise.
5344 * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
5346 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
5348 * nis/nis_callback.c (internal_nis_do_callback): Use poll()
5349 instead of select().
5351 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
5353 * sysdeps/generic/s_nextafter.c: Define __nexttoward and
5354 nexttoward so something else so that aliasing works.
5356 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
5358 * sysdeps/generic/math_ldbl.h: Fix typo.
5359 * sysdeps/generic/strtold.c: Remove unbalanced #endif.
5360 * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
5362 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
5364 * elf/resolvfail.c: Include stdio.h. Also test dlerror.
5366 1999-08-01 Ulrich Drepper <drepper@cygnus.com>
5368 * elf/Makefile (tests): Add resolvfail. Add rules to build the
5370 * elf/resolvfail.c: New file.
5372 * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
5373 pass it to _dl_lookup_symbol.
5375 * elf/dl-error.c (_dl_signal_error): Optimize string generation a
5376 bit. Reword message.
5378 * dlfcn/dlerror.c: Make code thread-safe.
5380 1999-07-31 Roland McGrath <roland@baalperazim.frob.com>
5382 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
5383 initializer in CHECK: a bit size, not the type code repeated!
5385 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
5387 * string/tester.c: Add tests with constant arguments for strcpy
5390 1999-07-31 H.J. Lu <hjl@gnu.org>
5392 * string/bits/string2.h (__strcpy_small): Fix a typo.
5394 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
5396 * Makeconfig (link-libc): Always define it, not only for shared
5399 * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
5400 * sysdeps/i386/fpu/e_powf.S: Likewise.
5401 * sysdeps/i386/fpu/e_powl.S: Likewise. [PR libc/1213].
5403 * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
5404 * sysdeps/generic/e_gammal_r.c: Likewise. [PR libc/1212].
5406 1999-07-30 Andreas Schwab <schwab@suse.de>
5408 * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
5410 (__get_nprocs): Use it.
5411 (__get_nprocs_conf): Define as separate function if
5412 GET_NPROCS_CONF_PARSER is defined.
5413 * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
5415 * include/sys/sysinfo.h: New file.
5416 * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
5418 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5420 1999-07-30 H.J. Lu <hjl@gnu.org>
5422 * libio/iofflush.c (fflush_unlocked): Weak aliase if
5423 _IO_MTSAFE_IO is not defined.
5424 * libio/clearerr.c (clearerr_unlocked): Likewise.
5425 * libio/feof.c (feof_unlocked): Likewise.
5426 * libio/ferror.c (ferror_unlocked): Likewise.
5427 * libio/fputc.c (fputc_unlocked): Likewise.
5428 * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
5429 * libio/getchar.c (getchar_unlocked): Likewise.
5430 * libio/putc.c (putc_unlocked): Likewise.
5431 * libio/putchar.c (putchar_unlocked): Likewise.
5433 1999-07-30 Thorsten Kukuk <kukuk@suse.de>
5435 * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
5436 svc_max_pollfd and svc_pollfd to GLIBC_2.2
5437 * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
5438 for svc_run/poll interface.
5439 * sunrpc/rpc/types.h: Add rpc*_t typedefs.
5440 * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
5442 * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
5443 rewrite other svc_getreq* functions to use svc_getreq_common.
5444 * sunrpc/svc_run.c: Use poll().
5446 1999-07-30 Andreas Schwab <schwab@suse.de>
5448 * Makerules: Put sysd-versions and Versions.all on
5449 postclean-generated instead of common-generated.
5451 1999-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5453 * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
5454 around and CLOCKS_PER_SEC is 1e6.
5456 1999-07-30 Ulrich Drepper <drepper@cygnus.com>
5458 * configure.in: Add test for local label subtraction.
5459 * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
5460 * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
5461 labels to reduce number of runtime relocations and move jump
5462 tables in read-only seciton.
5464 * malloc/malloc.c (ptmalloc_init): Correct last patch. The
5465 assignment cannot be moved.
5467 1999-07-29 H.J. Lu <hjl@gnu.org>
5469 * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
5470 if no threads are used.
5472 * libio/iofwrite.c: Add weak alias for _unlocked function if not
5474 * libio/iofread.c: Likewise.
5475 * libio/iofgets.c: Likewise.
5476 * libio/iofputs.c: Likewise.
5478 * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
5481 * stdlib/mbtowc.c: Include <string.h>.
5482 * stdlib/wctomb.c: Likewise.
5483 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
5484 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
5486 * misc/mntent_r.c: Include <alloca.h>.
5487 * elf/dl-runtime.c: Likewise.
5489 1999-07-29 Andreas Schwab <schwab@suse.de>
5491 * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
5492 all floating point formats supported by gcc. Error out for
5493 unhandled precisions.
5494 * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
5495 * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
5496 * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
5498 1999-07-29 Ulrich Drepper <drepper@cygnus.com>
5500 * sysdeps/generic/setenv.c: Move setenv code in new function
5501 __add_to_environ. Add new parameter specifying already
5502 constructed string for the environment.
5503 (setenv): Call __add_to_environ with new parameter set to NULL.
5504 (unsetenv): Really test all elements for duplicated name. Missed those
5505 cases where the two are following each other.
5506 * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
5507 * include/stdlib.h: Add prototype of __add_to_environ.
5508 * stdlib/tst-environ.c: New file.
5509 * stdlib/Makefile (tests): Add tst-environ.
5511 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
5513 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
5514 argument in realloc call.
5515 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
5517 Reported by Danny Braniss <danny@cs.huji.ac.il>.
5519 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
5521 * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
5523 * misc/efgcvt_r.c: Likewise.
5524 * misc/qefgcvt.c: Likewise.
5525 * misc/qefgcvt_r.c: Likewise.
5526 * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
5529 1999-07-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5531 * manual/math.texi (FP Function Optimization): Mention drawbacks.
5533 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
5535 * stdlib/mblen.c: Use static state.
5536 Reported by Bruno Haible <haible@ilog.fr>.
5538 * stdlib/mbtowc.c: Reset state for s == NULL.
5539 * stdlib/wctomb.c: Likewise.
5540 Reported by Bruno Haible <haible@ilog.fr>.
5542 * stdlib/mbstowcs.c: Do not use global state.
5543 Reported by Bruno Haible <haible@ilog.fr>.
5545 1999-07-28 Andeas Schwab <schwab@suse.de>
5547 * iconvdata/Makefile: Don't try to run iconv tests when cross
5550 1999-07-27 Mark Kettenis <kettenis@gnu.org>
5552 * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
5553 assembler code to switch stacks and call init1 outside this
5554 function. Inside `init' the code was optimized away by gcc
5555 2.95 since it was "clearly" unreachable.
5556 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
5557 Do something similar for the trampoline code.
5559 1999-07-27 Ulrich Drepper <drepper@cygnus.com>
5561 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
5562 for the hinted protocol.
5564 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5566 * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
5568 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
5570 * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
5571 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
5572 * elf/dl-load.c (_dl_map_object): Likewise.
5573 * elf/do-lookup.h (do_lookup*): Likewise.
5574 * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
5575 * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
5577 * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
5579 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
5581 * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
5582 * sysdeps/generic/getpgrp.c: Likewise.
5583 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
5584 * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
5585 Patch by John Tobey <jtobey@banta-im.com>.
5587 * sysdeps/posix/wait3.c: Help compiling in presence of
5588 __transparent_union__. Reported by John Tobey <jtobey@banta-im.com>.
5590 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
5592 * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
5593 as much as possible. Declare them using .register pseudo-op if they
5595 * sysdeps/sparc/sparc64/lshift.S: Likewise.
5596 * sysdeps/sparc/sparc64/memchr.S: Likewise.
5597 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5598 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5599 * sysdeps/sparc/sparc64/memset.S: Likewise.
5600 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5601 * sysdeps/sparc/sparc64/rshift.S: Likewise.
5602 * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
5603 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5604 * sysdeps/sparc/sparc64/strcat.S: Likewise.
5605 * sysdeps/sparc/sparc64/strchr.S: Likewise.
5606 * sysdeps/sparc/sparc64/strcmp.S: Likewise.
5607 * sysdeps/sparc/sparc64/strcpy.S: Likewise.
5608 * sysdeps/sparc/sparc64/strcspn.S: Likewise.
5609 * sysdeps/sparc/sparc64/strlen.S: Likewise.
5610 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5611 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5612 * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
5613 * sysdeps/sparc/sparc64/strspn.S: Likewise.
5614 * sysdeps/sparc/sparc64/sub_n.S: Likewise.
5615 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5616 Optimize trampoline code for .plt4-.plt32767.
5617 Fix trampolines for .plt32768+.
5619 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
5621 * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
5623 * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
5624 * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
5625 libc's private use (as assembly routine clobber it anyway).
5627 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5629 * README.template (configurations): The crypt add-on has a new
5631 * manual/install.texi (Installation): Likewise.
5633 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
5635 * time/time.h: Add forward for struct sigevent. Unix98 maybe
5636 requires to have a full definition but we wait for a bug report
5637 based on the test suite.
5639 * sysdeps/generic/clock_getres.c: New file.
5640 * sysdeps/generic/clock_gettime.c: New file.
5641 * sysdeps/generic/clock_settime.c: New file.
5642 * sysdeps/generic/timer_create.c: New file.
5643 * sysdeps/generic/timer_delete.c: New file.
5644 * sysdeps/generic/timer_getoverr.c: New file.
5645 * sysdeps/generic/timer_gettime.c: New file.
5646 * sysdeps/generic/timer_settime.c: New file.
5648 * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
5649 CLOCK_REALTIME, and TIMER_ABSTIME.
5650 * sysdeps/mach/hurd/bits/time.h: Likewise.
5651 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5652 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
5654 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
5656 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
5659 * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
5661 * time/Makefile (routines): Add clock_getres, clock_gettime,
5662 clock_setres, timer_create, timer_delete, timer_getoverr,
5663 timer_gettime, and timer_settime.
5665 * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
5666 POSIX.1b. Add prototypes for clock and timer functions.
5668 1999-07-26 Roland McGrath <roland@baalperazim.frob.com>
5670 * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
5671 Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
5673 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
5675 * stdlib/wcstombs.c: Do not use global state.
5676 Reported by Bruno Haible <haible@ilog.fr>.
5678 * wcsmbs/wctob.c: Avoid sign extension when returning character.
5679 Reported by Bruno Haible <haible@ilog.fr>.
5681 * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
5682 of wide characters to convert do it right and don't overestimate
5683 by multiplying with MB_CUR_MAX.
5684 Reported by Bruno Haible <haible@ilog.fr>.
5686 1999-07-26 Jakub Jelinek <jj@ultra.linux.jz>
5688 * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
5689 (__stpcpy_small): Likewise.
5690 Union has no __uc member but __c.
5692 1999-07-26 Andreas Schwab <schwab@suse.de>
5694 * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
5696 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
5698 * libio/iofclose.c (_IO_new_fclose): Only fall back on
5699 _IO_old_fclose if doing versioning.
5701 * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
5703 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5705 * misc/mntent_r.c: Allow spaces and tabs in entry names by
5706 encoding these characters.
5707 * misc/tst-mntent.c: Add test case for addmntent and getmntent.
5709 * string/bits/string2.h: Fix aliasing problems.
5710 * sysdeps/i386/i486/bits/string.h: Likewise.
5711 * sysdeps/i386/bits/string.h: Likewise.
5713 1998-12-28 Geoff Keating <geoffk@ozemail.com.au>
5715 * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
5716 * elf/rtld.c (dl_main): Don't call malloc() between
5717 re-relocating the dynamic linker and running the application's crt0.
5719 1999-07-21 Paul D. Smith <psmith@gnu.org>
5721 * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
5722 glob.h to get __P() macro.
5724 * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
5726 (__strchrnul): This won't exist outside GLIBC, so create one.
5728 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
5730 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
5731 __ino64_t should be 32bit unsigned type on sparc32.
5732 Define __off64_t to __quad_t instead of __int64_t.
5733 Make __pic_pid_t unsigned on sparc32.
5735 1999-07-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5737 * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
5740 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
5742 * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
5743 of an error. Patch by Changwoo Ryu <cwryu@debian.org>.
5745 1999-07-24 Ulrich Drepper <drepper@cygnus.com>
5747 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
5750 * resolv/res_send.c: Add locks for res_send and res_close use.
5752 * elf/Makefile (dl-routines): Add preinit.
5753 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
5754 * elf/link.h (struct link_map): Add new field l_preinitcount.
5755 * elf/dl-preinit.c: New file.
5756 * elf/dynamic-link.h: Initialize l_preinitcount.
5757 * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
5759 * elf/dl-fini.c: Handle DT_FINI_ARRAY.
5760 * elf/link.h (struct link_map): Remove l_init_running. Add l_runcount
5762 * elf/dl-init.c: Handle DT_INIT_ARRAY.
5763 * elf/dynamic-link.h: Change parameters. Now only get link_map
5764 pointer. Calculate l_initcount.
5766 * elf/link.h (struct link_map): Add l_runpath_dirs.
5767 * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
5768 * elf/dl-load.c: Pretty print.
5769 (decompose_rpath): Take new parameter with info from where the path
5770 comes. Pass it the fillin_rpath.
5771 (_dl_init_paths): Initialize l_runpath_dirs.
5772 (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
5773 Search using RUNPATH after LD_LIBRARY_PATH.
5774 * elf/dl-support.c: Adjust comment.
5775 * elf/rtld.c: Adjust help message.
5777 1999-07-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5779 * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
5782 1999-07-23 Roland McGrath <roland@baalperazim.frob.com>
5784 * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
5785 match BSD value; previous value of 1<<8 was a typo. I bet nothing
5786 ever used this, so I'm not going to worry about compatibility.
5787 [__USE_GNU] (IUCLC, OLCUC): New macros.
5789 1999-07-23 Ulrich Drepper <drepper@cygnus.com>
5791 * include/libintl.h: Undefine N_ and _ first to avoid warnings.
5793 * elf/elf.h: Add ET_LOOS and ET_HIOS.
5794 Add various EM_* constants.
5795 Add SHN_LOOS and SHN_HIOS.
5796 Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
5797 Add SHF_MERGE and SHF_STRINGS.
5798 (ElfXX_Sym): Update description of st_other field.
5800 Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
5802 Update comment on DT_RPATH. Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
5803 DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
5804 Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
5806 * posix/unistd.h: Move declaration of __libc_enable_secure to...
5807 * include/unistd.h: ...here.
5809 * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
5810 * elf/dl-deps.c (expand_dst): Likewise.
5812 * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
5813 based on DT_FLAGS value.
5815 * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
5816 Add test for symbols marked STV_HIDDEN.
5817 * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
5818 add undef_map. Compute reference_name locally. Update call to
5820 (_dl_lookup_symbol_skip): Likewise.
5821 (_dl_lookup_versioned_symbol): Likewise.
5822 (_dl_lookup_versioned_symbol_skip): Likewise.
5823 * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
5824 * elf/dl-runtime.c: Likewise.
5825 * elf/dl-sym.c: Likewise.
5826 * elf/dl-symbol.c: Likewise.
5827 * elf/ldsodefs.h: Adjust prototypes.
5829 * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
5830 handle appropriately. Add comment about DT_TEXTREL.
5831 * elf/dl-runtime.c: Likewise.
5833 1999-07-21 Roland McGrath <roland@baalperazim.frob.com>
5835 * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
5836 * elf/ldsodefs.h: Declare it.
5837 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
5839 (elf_machine_lazy_rel): Likewise. Take new arg MAP.
5840 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5841 (elf_machine_lazy_rel): Likewise.
5842 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
5843 (elf_machine_lazy_rel): Likewise.
5844 * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
5845 (elf_machine_lazy_rel): Likewise.
5846 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
5847 (elf_machine_lazy_rel): Likewise.
5848 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5849 (elf_machine_lazy_rel): Likewise.
5850 * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
5851 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
5852 (elf_machine_lazy_rel): Likewise.
5853 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
5854 (elf_machine_lazy_rel): Likewise.
5855 * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
5856 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
5857 _dl_reloc_bad_type instead of _dl_signal_error.
5858 * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
5860 1999-07-20 Mark Kettenis <kettenis@gnu.org>
5862 * sysdeps/mach/_strerror.c: Include <libintl.h>.
5864 1999-07-19 Roland McGrath <roland@baalperazim.frob.com>
5866 * hurd/hurdsig.c (_hurd_internal_post_signal): If a
5867 hurd_signal_preemptor matches but its `preemptor' field is null, use
5868 its `handler' field directly. This is to comply with behavior
5869 documented in <hurd/sigpreempt.h>.
5871 1999-07-21 Andreas Schwab <schwab@suse.de>
5873 * libio/fileops.c (_IO_new_file_underflow): Set error indicator
5874 when reading from write-only stream.
5875 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
5876 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
5878 1999-07-21 Andreas Schwab <schwab@suse.de>
5880 * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
5883 1999-07-21 Mark Kettenis <kettenis@gnu.org>
5885 * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
5887 * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
5889 (__libc_write): Call __pwrite instead of __pread.
5891 1999-07-20 Mark Kettenis <kettenis@gnu.org>
5893 * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
5894 __vm_allocate calls.
5896 * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>. Fix typo.
5897 * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
5899 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
5900 _hurd_fd_read with new OFFSET argument set to -1.
5901 (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
5904 1999-07-17 Roland McGrath <roland@baalperazim.frob.com>
5906 * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
5907 descriptor table sent in the RPC.
5909 1999-07-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5911 * time/strptime.c [!_LIBC]: Fix __mon_day size. Reported by
5912 bill@taniwha.org [PR libc/1211].
5914 1999-07-19 Andreas Schwab <schwab@suse.de>
5916 * libio/Makefile (routines): Add fwprintf.
5918 PowerPC has own version of w_sqrt.c and w_sqrtf.c.
5919 * math/w_sqrt.c: Moved to ...
5920 * sysdeps/generic/w_sqrt.c: ... here.
5921 * math/w_sqrtf.c: Moved to ...
5922 * sysdeps/generic/w_sqrtf.c: ... here.
5924 * Make-dist (generic-dirs): New variable.
5925 (try-sysdeps, +sysdep-names): Use it.
5926 * extra-lib.mk (all-$(lib)-routines): New variable. Use it
5927 instead of $(lib)-routines.
5928 * elf/Makefile (distribute): Add dl-cache.h.
5929 * db2/Makefile (distribute): Add all new files.
5930 * iconvdata/Makefile (distribute): Don't distribute CVS
5932 * math/Makefile (distribute): Remove machine/endian.h, add
5934 * stdio-common/Makefile (distribute): Add _itowa.h.
5935 * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
5936 * sysdeps/gnu/Dist: Add eval.c
5937 * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
5938 dlfcn]: Add to this instead of libdl-routines.
5939 * sysdeps/ieee754/ldbl-128/Dist: New file.
5940 * sysdeps/mach/hurd/Dist: Add siglist.h
5941 * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
5943 1999-07-18 Ulrich Drepper <drepper@cygnus.com>
5945 * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
5947 * inet/Makefile (routines): Add getipnodebyad and freehostent.
5948 * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
5949 * inet/freehostent.c: New file.
5950 * inet/getipnodebyad.c: New file.
5951 * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
5952 and getipnodebyname. The latter comes soon.
5953 * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
5954 Add support for getipnode* functions.
5956 * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
5957 Set h_aliases to NULL and not to a pointer to an array with a NULL
5958 pointer following XNS 5.2.
5960 * posix/sched.h: Remove internal interfaces.
5961 * include/sched.h: Add internal interfaces.
5963 * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
5965 * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
5967 * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
5968 and return an error in this case.
5969 * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
5972 1999-07-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5974 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
5975 1999-07-17 and adjust len parameter.
5976 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
5977 * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
5978 * manual/socket.texi (Host Names): Likewise.
5979 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
5980 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
5982 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
5983 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
5984 (ht_gethostbyaddr): Likewise.
5985 (_gethtbyaddr): Likewise.
5987 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
5989 * resolv/netdb.h: Adjust parameters of gethostbyaddr and
5991 * include/netdb.h: Likewise.
5992 * inet/gethstbyad.c: Correct type of len parameter.
5993 * inet/gethstbyad_r.c: Likewise.
5995 * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
5997 1999-07-17 Zack Weinberg <zack@rabi.columbia.edu>
5999 * include/libc-symbol.h: Clean up definitions of weak_alias,
6000 strong_alias, symbol_version, etc. etc.
6001 * posix/getopt.h: Use ctype.h to get features.h included, and don't
6002 include it at all if __GNU_LIBRARY__ is already defined.
6004 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
6006 * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
6008 * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
6010 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
6011 type for tv_usec element.
6012 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6013 * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
6014 * sysdeps/generic/bits/time.h: Likewise.
6015 * sysdeps/mach/hurd/bits/time.h: Likewise.
6016 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6017 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6018 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6019 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6020 * sysdeps/generic/bits/types.h: Likewise.
6021 * posix/sys/types.h: Define suseconds_t for X/Open.
6023 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
6025 * stdio-common/bug1.c: Avoid memory leak.
6027 * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
6028 program deterministic.
6029 * sysdeps/i386/fpu/e_powf.S: Likewise.
6030 * sysdeps/i386/fpu/e_powl.S: Likewise.
6032 1999-07-15 Jakub Jelinek <jj@ultra.linux.cz>
6034 * math/Makefile: Add t_sincosl and k_sincosl support routines.
6035 * math/math_private.h (__kernel_sincosl): New declaration.
6036 * sysdeps/generic/t_sincosl.c: New file.
6037 * sysdeps/generic/k_sincosl.c: New file.
6038 * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
6039 * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
6040 * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
6041 * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
6042 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
6043 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
6045 * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
6048 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
6050 * posix/unistd.h: Use __PMT for exit.
6052 1999-07-15 Philip Blundell <pb@nexus.co.uk>
6054 * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
6055 _outw, _outl): Added to GLIBC_2.1.2.
6057 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
6059 * posix/fnmatch.h: Use __name instead of __string in prototype to
6060 allow use outside glibc.
6062 1999-07-14 Ulrich Drepper <drepper@cygnus.com>
6064 * time/tst-strptime.c (main): Add one more test case. Produce
6065 output even when result is ok.
6067 * time/strptime.c (get_number): Handle number parsing more
6068 consistent with strftime. Only parse a given number of digits.
6069 (get_alt_number): Fix implementation. Was broken.
6070 (strptime_internal): Add third parameter to get_number and
6071 get_alt_number calls.
6073 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
6075 * elf/ldd.bash.in: Add support for multiple dynamic linkers.
6076 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
6077 try both 32bit and 64bit dynamic linker.
6078 * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
6079 script on all sparc targets.
6081 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
6083 * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
6086 1999-07-13 Andreas Schwab <schwab@suse.de>
6088 * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
6089 inlining. Fixes PR libc/1198.
6091 1999-07-14 Andreas Schwab <schwab@suse.de>
6093 * Makerules (common-generated): Don't prepend $(common-objpfx).
6095 1999-07-12 Jakub Jelinek <jj@ultra.linux.cz>
6097 * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
6098 as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
6099 * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
6100 quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
6102 * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
6104 * sysdeps/arm/Implies: Likewise.
6105 * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
6106 ieee754/ldbl-96 instead of ieee754.
6107 * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
6108 * sysdeps/generic/e_atanhl.c: New file.
6109 * sysdeps/generic/e_coshl.c: New file.
6110 * sysdeps/generic/e_sinhl.c: New file.
6111 * sysdeps/generic/e_gammal_r.c: New file.
6112 * sysdeps/generic/e_hypotl.c: New file.
6113 * sysdeps/generic/s_cbrtl.c: New file.
6114 * sysdeps/generic/s_asinhl.c: New file.
6115 * sysdeps/generic/s_tanhl.c: New file.
6116 * sysdeps/generic/w_expl.c: New file.
6117 * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
6119 * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
6120 ieee754/ldbl-96 instead of ieee754.
6121 * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
6122 * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
6124 * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
6126 * sysdeps/mips/mips64/Implies: Likewise.
6127 * sysdeps/powerpc/Implies: Likewise.
6128 * sysdeps/sparc/Implies: Remove.
6129 * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
6131 * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
6132 and ieee754/ldbl-128.
6134 * sysdeps/sparc/bits/wordsize.h: Remove.
6135 * sysdeps/sparc/fpu/bits/mathinline.h: New file.
6136 * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
6138 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
6139 * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
6140 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
6141 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
6142 * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
6145 * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
6146 of carries. Optimize.
6148 * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
6149 * sysdeps/generic/e_exp10.c: ...here.
6150 * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
6151 * sysdeps/generic/e_exp10f.c: ...here.
6152 * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
6153 * sysdeps/generic/e_exp10l.c: ...here.
6154 * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
6155 * sysdeps/generic/e_scalb.c: ...here.
6156 * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
6157 * sysdeps/generic/e_scalbf.c: ...here.
6158 * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
6159 * sysdeps/generic/e_scalbl.c: ...here.
6160 * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
6161 * sysdeps/generic/s_cacos.c: ...here.
6162 * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
6163 * sysdeps/generic/s_cacosf.c: ...here.
6164 * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
6165 * sysdeps/generic/s_cacosh.c: ...here.
6166 * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
6167 * sysdeps/generic/s_cacoshf.c: ...here.
6168 * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
6169 * sysdeps/generic/s_cacoshl.c: ...here.
6170 * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
6171 * sysdeps/generic/s_cacosl.c: ...here.
6172 * sysdeps/libm-ieee754/s_casin.c: Moved to ...
6173 * sysdeps/generic/s_casin.c: ...here.
6174 * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
6175 * sysdeps/generic/s_casinf.c: ...here.
6176 * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
6177 * sysdeps/generic/s_casinh.c: ...here.
6178 * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
6179 * sysdeps/generic/s_casinhf.c: ...here.
6180 * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
6181 * sysdeps/generic/s_casinhl.c: ...here.
6182 * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
6183 * sysdeps/generic/s_casinl.c: ...here.
6184 * sysdeps/libm-ieee754/s_catan.c: Moved to ...
6185 * sysdeps/generic/s_catan.c: ...here.
6186 * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
6187 * sysdeps/generic/s_catanf.c: ...here.
6188 * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
6189 * sysdeps/generic/s_catanh.c: ...here.
6190 * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
6191 * sysdeps/generic/s_catanhf.c: ...here.
6192 * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
6193 * sysdeps/generic/s_catanhl.c: ...here.
6194 * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
6195 * sysdeps/generic/s_catanl.c: ...here.
6196 * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
6197 * sysdeps/generic/s_ccos.c: ...here.
6198 * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
6199 * sysdeps/generic/s_ccosf.c: ...here.
6200 * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
6201 * sysdeps/generic/s_ccosh.c: ...here.
6202 * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
6203 * sysdeps/generic/s_ccoshf.c: ...here.
6204 * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
6205 * sysdeps/generic/s_ccoshl.c: ...here.
6206 * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
6207 * sysdeps/generic/s_ccosl.c: ...here.
6208 * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
6209 * sysdeps/generic/s_cexp.c: ...here.
6210 * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
6211 * sysdeps/generic/s_cexpf.c: ...here.
6212 * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
6213 * sysdeps/generic/s_cexpl.c: ...here.
6214 * sysdeps/libm-ieee754/s_clog.c: Moved to ...
6215 * sysdeps/generic/s_clog.c: ...here.
6216 * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
6217 * sysdeps/generic/s_clog10.c: ...here.
6218 * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
6219 * sysdeps/generic/s_clog10f.c: ...here.
6220 * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
6221 * sysdeps/generic/s_clog10l.c: ...here.
6222 * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
6223 * sysdeps/generic/s_clogf.c: ...here.
6224 * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
6225 * sysdeps/generic/s_clogl.c: ...here.
6226 * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
6227 * sysdeps/generic/s_cpow.c: ...here.
6228 * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
6229 * sysdeps/generic/s_cpowf.c: ...here.
6230 * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
6231 * sysdeps/generic/s_cpowl.c: ...here.
6232 * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
6233 * sysdeps/generic/s_cproj.c: ...here.
6234 * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
6235 * sysdeps/generic/s_cprojf.c: ...here.
6236 * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
6237 * sysdeps/generic/s_cprojl.c: ...here.
6238 * sysdeps/libm-ieee754/s_csin.c: Moved to ...
6239 * sysdeps/generic/s_csin.c: ...here.
6240 * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
6241 * sysdeps/generic/s_csinf.c: ...here.
6242 * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
6243 * sysdeps/generic/s_csinh.c: ...here.
6244 * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
6245 * sysdeps/generic/s_csinhf.c: ...here.
6246 * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
6247 * sysdeps/generic/s_csinhl.c: ...here.
6248 * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
6249 * sysdeps/generic/s_csinl.c: ...here.
6250 * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
6251 * sysdeps/generic/s_csqrt.c: ...here.
6252 * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
6253 * sysdeps/generic/s_csqrtf.c: ...here.
6254 * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
6255 * sysdeps/generic/s_csqrtl.c: ...here.
6256 * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
6257 * sysdeps/generic/s_ctan.c: ...here.
6258 * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
6259 * sysdeps/generic/s_ctanf.c: ...here.
6260 * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
6261 * sysdeps/generic/s_ctanh.c: ...here.
6262 * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
6263 * sysdeps/generic/s_ctanhf.c: ...here.
6264 * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
6265 * sysdeps/generic/s_ctanhl.c: ...here.
6266 * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
6267 * sysdeps/generic/s_ctanl.c: ...here.
6268 * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
6269 * sysdeps/generic/s_fdim.c: ...here.
6270 * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
6271 * sysdeps/generic/s_fdimf.c: ...here.
6272 * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
6273 * sysdeps/generic/s_fdiml.c: ...here.
6274 * sysdeps/libm-ieee754/s_fma.c: Moved to ...
6275 * sysdeps/generic/s_fma.c: ...here.
6276 * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
6277 * sysdeps/generic/s_fmaf.c: ...here.
6278 * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
6279 * sysdeps/generic/s_fmal.c: ...here.
6280 * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
6281 * sysdeps/generic/s_fmax.c: ...here.
6282 * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
6283 * sysdeps/generic/s_fmaxf.c: ...here.
6284 * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
6285 * sysdeps/generic/s_fmaxl.c: ...here.
6286 * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
6287 * sysdeps/generic/s_fmin.c: ...here.
6288 * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
6289 * sysdeps/generic/s_fminf.c: ...here.
6290 * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
6291 * sysdeps/generic/s_fminl.c: ...here.
6292 * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
6293 * sysdeps/generic/s_ldexp.c: ...here.
6294 * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
6295 * sysdeps/generic/s_ldexpf.c: ...here.
6296 * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
6297 * sysdeps/generic/s_ldexpl.c: ...here.
6298 * sysdeps/libm-ieee754/s_nan.c: Moved to ...
6299 * sysdeps/generic/s_nan.c: ...here.
6300 * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
6301 * sysdeps/generic/s_nanf.c: ...here.
6302 * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
6303 * sysdeps/generic/s_nanl.c: ...here.
6304 * sysdeps/libm-ieee754/s_significand.c: Moved to ...
6305 * sysdeps/generic/s_significand.c: ...here.
6306 * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
6307 * sysdeps/generic/s_significandf.c: ...here.
6308 * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
6309 * sysdeps/generic/s_significandl.c: ...here.
6310 Avoid conversion from int to double and then to long double.
6311 * sysdeps/libm-ieee754/w_acos.c: Moved to ...
6312 * math/w_acos.c: ...here.
6313 * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
6314 * math/w_acosf.c: ...here.
6315 * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
6316 * math/w_acosh.c: ...here.
6317 * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
6318 * math/w_acoshf.c: ...here.
6319 * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
6320 * math/w_acoshl.c: ...here.
6321 * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
6322 * math/w_acosl.c: ...here.
6323 * sysdeps/libm-ieee754/w_asin.c: Moved to ...
6324 * math/w_asin.c: ...here.
6325 * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
6326 * math/w_asinf.c: ...here.
6327 * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
6328 * math/w_asinl.c: ...here.
6329 * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
6330 * math/w_atan2.c: ...here.
6331 * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
6332 * math/w_atan2f.c: ...here.
6333 * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
6334 * math/w_atan2l.c: ...here.
6335 * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
6336 * math/w_atanh.c: ...here.
6337 * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
6338 * math/w_atanhf.c: ...here.
6339 * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
6340 * math/w_atanhl.c: ...here.
6341 * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
6342 * math/w_cosh.c: ...here.
6343 * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
6344 * math/w_coshf.c: ...here.
6345 * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
6346 * math/w_coshl.c: ...here.
6347 * sysdeps/libm-ieee754/w_drem.c: Moved to ...
6348 * math/w_drem.c: ...here.
6349 * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
6350 * math/w_dremf.c: ...here.
6351 * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
6352 * math/w_dreml.c: ...here.
6353 * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
6354 * math/w_exp10.c: ...here.
6355 * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
6356 * math/w_exp10f.c: ...here.
6357 * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
6358 * math/w_exp10l.c: ...here.
6359 * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
6360 * math/w_exp2.c: ...here.
6361 * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
6362 * math/w_exp2f.c: ...here.
6363 * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
6364 * math/w_exp2l.c: ...here.
6365 * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
6366 * math/w_fmod.c: ...here.
6367 * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
6368 * math/w_fmodf.c: ...here.
6369 * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
6370 * math/w_fmodl.c: ...here.
6371 * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
6372 * math/w_hypot.c: ...here.
6373 * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
6374 * math/w_hypotf.c: ...here.
6375 * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
6376 * math/w_hypotl.c: ...here.
6377 * sysdeps/libm-ieee754/w_j0.c: Moved to ...
6378 * math/w_j0.c: ...here.
6379 * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
6380 * math/w_j0f.c: ...here.
6381 * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
6382 * math/w_j0l.c: ...here.
6383 * sysdeps/libm-ieee754/w_j1.c: Moved to ...
6384 * math/w_j1.c: ...here.
6385 * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
6386 * math/w_j1f.c: ...here.
6387 * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
6388 * math/w_j1l.c: ...here.
6389 * sysdeps/libm-ieee754/w_jn.c: Moved to ...
6390 * math/w_jn.c: ...here.
6391 * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
6392 * math/w_jnf.c: ...here.
6393 * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
6394 * math/w_jnl.c: ...here.
6395 * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
6396 * math/w_lgamma.c: ...here.
6397 * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
6398 * math/w_lgamma_r.c: ...here.
6399 * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
6400 * math/w_lgammaf.c: ...here.
6401 * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
6402 * math/w_lgammaf_r.c: ...here.
6403 * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
6404 * math/w_lgammal.c: ...here.
6405 * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
6406 * math/w_lgammal_r.c: ...here.
6407 * sysdeps/libm-ieee754/w_log.c: Moved to ...
6408 * math/w_log.c: ...here.
6409 * sysdeps/libm-ieee754/w_log10.c: Moved to ...
6410 * math/w_log10.c: ...here.
6411 * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
6412 * math/w_log10f.c: ...here.
6413 * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
6414 * math/w_log10l.c: ...here.
6415 * sysdeps/libm-ieee754/w_logf.c: Moved to ...
6416 * math/w_logf.c: ...here.
6417 * sysdeps/libm-ieee754/w_logl.c: Moved to ...
6418 * math/w_logl.c: ...here.
6419 * sysdeps/libm-ieee754/w_pow.c: Moved to ...
6420 * math/w_pow.c: ...here.
6421 * sysdeps/libm-ieee754/w_powf.c: Moved to ...
6422 * math/w_powf.c: ...here.
6423 * sysdeps/libm-ieee754/w_powl.c: Moved to ...
6424 * math/w_powl.c: ...here.
6425 * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
6426 * math/w_remainder.c: ...here.
6427 * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
6428 * math/w_remainderf.c: ...here.
6429 * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
6430 * math/w_remainderl.c: ...here.
6431 * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
6432 * math/w_scalb.c: ...here.
6433 * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
6434 * math/w_scalbf.c: ...here.
6435 * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
6436 * math/w_scalbl.c: ...here.
6437 * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
6438 * math/w_sinh.c: ...here.
6439 * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
6440 * math/w_sinhf.c: ...here.
6441 * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
6442 * math/w_sinhl.c: ...here.
6443 * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
6444 * math/w_sqrt.c: ...here.
6445 * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
6446 * math/w_sqrtf.c: ...here.
6447 * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
6448 * math/w_sqrtl.c: ...here.
6449 * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
6450 * math/w_tgamma.c: ...here.
6451 * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
6452 * math/w_tgammaf.c: ...here.
6453 * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
6454 * math/w_tgammal.c: ...here.
6455 * sysdeps/libm-i387/e_acos.S: Moved to ...
6456 * sysdeps/i386/fpu/e_acos.S: ...here.
6457 * sysdeps/libm-i387/e_acosf.S: Moved to ...
6458 * sysdeps/i386/fpu/e_acosf.S: ...here.
6459 * sysdeps/libm-i387/e_acosh.S: Moved to ...
6460 * sysdeps/i386/fpu/e_acosh.S: ...here.
6461 * sysdeps/libm-i387/e_acoshf.S: Moved to ...
6462 * sysdeps/i386/fpu/e_acoshf.S: ...here.
6463 * sysdeps/libm-i387/e_acoshl.S: Moved to ...
6464 * sysdeps/i386/fpu/e_acoshl.S: ...here.
6465 * sysdeps/libm-i387/e_acosl.S: Moved to ...
6466 * sysdeps/i386/fpu/e_acosl.S: ...here.
6467 * sysdeps/libm-i387/e_asin.S: Moved to ...
6468 * sysdeps/i386/fpu/e_asin.S: ...here.
6469 * sysdeps/libm-i387/e_asinf.S: Moved to ...
6470 * sysdeps/i386/fpu/e_asinf.S: ...here.
6471 * sysdeps/libm-i387/e_asinl.S: Moved to ...
6472 * sysdeps/i386/fpu/e_asinl.S: ...here.
6473 * sysdeps/libm-i387/e_atan2.S: Moved to ...
6474 * sysdeps/i386/fpu/e_atan2.S: ...here.
6475 * sysdeps/libm-i387/e_atan2f.S: Moved to ...
6476 * sysdeps/i386/fpu/e_atan2f.S: ...here.
6477 * sysdeps/libm-i387/e_atan2l.S: Moved to ...
6478 * sysdeps/i386/fpu/e_atan2l.S: ...here.
6479 * sysdeps/libm-i387/e_atanh.S: Moved to ...
6480 * sysdeps/i386/fpu/e_atanh.S: ...here.
6481 * sysdeps/libm-i387/e_atanhf.S: Moved to ...
6482 * sysdeps/i386/fpu/e_atanhf.S: ...here.
6483 * sysdeps/libm-i387/e_atanhl.S: Moved to ...
6484 * sysdeps/i386/fpu/e_atanhl.S: ...here.
6485 * sysdeps/libm-i387/e_exp.S: Moved to ...
6486 * sysdeps/i386/fpu/e_exp.S: ...here.
6487 * sysdeps/libm-i387/e_exp10.S: Moved to ...
6488 * sysdeps/i386/fpu/e_exp10.S: ...here.
6489 * sysdeps/libm-i387/e_exp10f.S: Moved to ...
6490 * sysdeps/i386/fpu/e_exp10f.S: ...here.
6491 * sysdeps/libm-i387/e_exp10l.S: Moved to ...
6492 * sysdeps/i386/fpu/e_exp10l.S: ...here.
6493 * sysdeps/libm-i387/e_expf.S: Moved to ...
6494 * sysdeps/i386/fpu/e_expf.S: ...here.
6495 * sysdeps/libm-i387/e_expl.S: Moved to ...
6496 * sysdeps/i386/fpu/e_expl.S: ...here.
6497 * sysdeps/libm-i387/e_fmod.S: Moved to ...
6498 * sysdeps/i386/fpu/e_fmod.S: ...here.
6499 * sysdeps/libm-i387/e_fmodf.S: Moved to ...
6500 * sysdeps/i386/fpu/e_fmodf.S: ...here.
6501 * sysdeps/libm-i387/e_fmodl.S: Moved to ...
6502 * sysdeps/i386/fpu/e_fmodl.S: ...here.
6503 * sysdeps/libm-i387/e_hypot.S: Moved to ...
6504 * sysdeps/i386/fpu/e_hypot.S: ...here.
6505 * sysdeps/libm-i387/e_hypotf.S: Moved to ...
6506 * sysdeps/i386/fpu/e_hypotf.S: ...here.
6507 * sysdeps/libm-i387/e_log.S: Moved to ...
6508 * sysdeps/i386/fpu/e_log.S: ...here.
6509 * sysdeps/libm-i387/e_log10.S: Moved to ...
6510 * sysdeps/i386/fpu/e_log10.S: ...here.
6511 * sysdeps/libm-i387/e_log10f.S: Moved to ...
6512 * sysdeps/i386/fpu/e_log10f.S: ...here.
6513 * sysdeps/libm-i387/e_log10l.S: Moved to ...
6514 * sysdeps/i386/fpu/e_log10l.S: ...here.
6515 * sysdeps/libm-i387/e_logf.S: Moved to ...
6516 * sysdeps/i386/fpu/e_logf.S: ...here.
6517 * sysdeps/libm-i387/e_logl.S: Moved to ...
6518 * sysdeps/i386/fpu/e_logl.S: ...here.
6519 * sysdeps/libm-i387/e_pow.S: Moved to ...
6520 * sysdeps/i386/fpu/e_pow.S: ...here.
6521 * sysdeps/libm-i387/e_powf.S: Moved to ...
6522 * sysdeps/i386/fpu/e_powf.S: ...here.
6523 * sysdeps/libm-i387/e_powl.S: Moved to ...
6524 * sysdeps/i386/fpu/e_powl.S: ...here.
6525 * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
6526 * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
6527 * sysdeps/libm-i387/e_remainder.S: Moved to ...
6528 * sysdeps/i386/fpu/e_remainder.S: ...here.
6529 * sysdeps/libm-i387/e_remainderf.S: Moved to ...
6530 * sysdeps/i386/fpu/e_remainderf.S: ...here.
6531 * sysdeps/libm-i387/e_remainderl.S: Moved to ...
6532 * sysdeps/i386/fpu/e_remainderl.S: ...here.
6533 * sysdeps/libm-i387/e_scalb.S: Moved to ...
6534 * sysdeps/i386/fpu/e_scalb.S: ...here.
6535 * sysdeps/libm-i387/e_scalbf.S: Moved to ...
6536 * sysdeps/i386/fpu/e_scalbf.S: ...here.
6537 * sysdeps/libm-i387/e_scalbl.S: Moved to ...
6538 * sysdeps/i386/fpu/e_scalbl.S: ...here.
6539 * sysdeps/libm-i387/e_sqrt.S: Moved to ...
6540 * sysdeps/i386/fpu/e_sqrt.S: ...here.
6541 * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
6542 * sysdeps/i386/fpu/e_sqrtf.S: ...here.
6543 * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
6544 * sysdeps/i386/fpu/e_sqrtl.S: ...here.
6545 * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
6546 * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
6547 * sysdeps/libm-i387/s_asinh.S: Moved to ...
6548 * sysdeps/i386/fpu/s_asinh.S: ...here.
6549 * sysdeps/libm-i387/s_asinhf.S: Moved to ...
6550 * sysdeps/i386/fpu/s_asinhf.S: ...here.
6551 * sysdeps/libm-i387/s_asinhl.S: Moved to ...
6552 * sysdeps/i386/fpu/s_asinhl.S: ...here.
6553 * sysdeps/libm-i387/s_atan.S: Moved to ...
6554 * sysdeps/i386/fpu/s_atan.S: ...here.
6555 * sysdeps/libm-i387/s_atanf.S: Moved to ...
6556 * sysdeps/i386/fpu/s_atanf.S: ...here.
6557 * sysdeps/libm-i387/s_atanl.S: Moved to ...
6558 * sysdeps/i386/fpu/s_atanl.S: ...here.
6559 * sysdeps/libm-i387/s_cbrt.S: Moved to ...
6560 * sysdeps/i386/fpu/s_cbrt.S: ...here.
6561 * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
6562 * sysdeps/i386/fpu/s_cbrtf.S: ...here.
6563 * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
6564 * sysdeps/i386/fpu/s_cbrtl.S: ...here.
6565 * sysdeps/libm-i387/s_ceil.S: Moved to ...
6566 * sysdeps/i386/fpu/s_ceil.S: ...here.
6567 * sysdeps/libm-i387/s_ceilf.S: Moved to ...
6568 * sysdeps/i386/fpu/s_ceilf.S: ...here.
6569 * sysdeps/libm-i387/s_ceill.S: Moved to ...
6570 * sysdeps/i386/fpu/s_ceill.S: ...here.
6571 * sysdeps/libm-i387/s_cexp.S: Moved to ...
6572 * sysdeps/i386/fpu/s_cexp.S: ...here.
6573 * sysdeps/libm-i387/s_cexpf.S: Moved to ...
6574 * sysdeps/i386/fpu/s_cexpf.S: ...here.
6575 * sysdeps/libm-i387/s_cexpl.S: Moved to ...
6576 * sysdeps/i386/fpu/s_cexpl.S: ...here.
6577 * sysdeps/libm-i387/s_copysign.S: Moved to ...
6578 * sysdeps/i386/fpu/s_copysign.S: ...here.
6579 * sysdeps/libm-i387/s_copysignf.S: Moved to ...
6580 * sysdeps/i386/fpu/s_copysignf.S: ...here.
6581 * sysdeps/libm-i387/s_copysignl.S: Moved to ...
6582 * sysdeps/i386/fpu/s_copysignl.S: ...here.
6583 * sysdeps/libm-i387/s_cos.S: Moved to ...
6584 * sysdeps/i386/fpu/s_cos.S: ...here.
6585 * sysdeps/libm-i387/s_cosf.S: Moved to ...
6586 * sysdeps/i386/fpu/s_cosf.S: ...here.
6587 * sysdeps/libm-i387/s_cosl.S: Moved to ...
6588 * sysdeps/i386/fpu/s_cosl.S: ...here.
6589 * sysdeps/libm-i387/s_exp2.S: Moved to ...
6590 * sysdeps/i386/fpu/s_exp2.S: ...here.
6591 * sysdeps/libm-i387/s_exp2f.S: Moved to ...
6592 * sysdeps/i386/fpu/s_exp2f.S: ...here.
6593 * sysdeps/libm-i387/s_exp2l.S: Moved to ...
6594 * sysdeps/i386/fpu/s_exp2l.S: ...here.
6595 * sysdeps/libm-i387/s_expm1.S: Moved to ...
6596 * sysdeps/i386/fpu/s_expm1.S: ...here.
6597 * sysdeps/libm-i387/s_expm1f.S: Moved to ...
6598 * sysdeps/i386/fpu/s_expm1f.S: ...here.
6599 * sysdeps/libm-i387/s_expm1l.S: Moved to ...
6600 * sysdeps/i386/fpu/s_expm1l.S: ...here.
6601 * sysdeps/libm-i387/s_fdim.S: Moved to ...
6602 * sysdeps/i386/fpu/s_fdim.S: ...here.
6603 * sysdeps/libm-i387/s_fdimf.S: Moved to ...
6604 * sysdeps/i386/fpu/s_fdimf.S: ...here.
6605 * sysdeps/libm-i387/s_fdiml.S: Moved to ...
6606 * sysdeps/i386/fpu/s_fdiml.S: ...here.
6607 * sysdeps/libm-i387/s_finite.S: Moved to ...
6608 * sysdeps/i386/fpu/s_finite.S: ...here.
6609 * sysdeps/libm-i387/s_finitef.S: Moved to ...
6610 * sysdeps/i386/fpu/s_finitef.S: ...here.
6611 * sysdeps/libm-i387/s_finitel.S: Moved to ...
6612 * sysdeps/i386/fpu/s_finitel.S: ...here.
6613 * sysdeps/libm-i387/s_floor.S: Moved to ...
6614 * sysdeps/i386/fpu/s_floor.S: ...here.
6615 * sysdeps/libm-i387/s_floorf.S: Moved to ...
6616 * sysdeps/i386/fpu/s_floorf.S: ...here.
6617 * sysdeps/libm-i387/s_floorl.S: Moved to ...
6618 * sysdeps/i386/fpu/s_floorl.S: ...here.
6619 * sysdeps/libm-i387/s_fma.S: Moved to ...
6620 * sysdeps/i386/fpu/s_fma.S: ...here.
6621 * sysdeps/libm-i387/s_fmaf.S: Moved to ...
6622 * sysdeps/i386/fpu/s_fmaf.S: ...here.
6623 * sysdeps/libm-i387/s_fmal.S: Moved to ...
6624 * sysdeps/i386/fpu/s_fmal.S: ...here.
6625 * sysdeps/libm-i387/s_fmax.S: Moved to ...
6626 * sysdeps/i386/fpu/s_fmax.S: ...here.
6627 * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
6628 * sysdeps/i386/fpu/s_fmaxf.S: ...here.
6629 * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
6630 * sysdeps/i386/fpu/s_fmaxl.S: ...here.
6631 * sysdeps/libm-i387/s_fmin.S: Moved to ...
6632 * sysdeps/i386/fpu/s_fmin.S: ...here.
6633 * sysdeps/libm-i387/s_fminf.S: Moved to ...
6634 * sysdeps/i386/fpu/s_fminf.S: ...here.
6635 * sysdeps/libm-i387/s_fminl.S: Moved to ...
6636 * sysdeps/i386/fpu/s_fminl.S: ...here.
6637 * sysdeps/libm-i387/s_frexp.S: Moved to ...
6638 * sysdeps/i386/fpu/s_frexp.S: ...here.
6639 * sysdeps/libm-i387/s_frexpf.S: Moved to ...
6640 * sysdeps/i386/fpu/s_frexpf.S: ...here.
6641 * sysdeps/libm-i387/s_frexpl.S: Moved to ...
6642 * sysdeps/i386/fpu/s_frexpl.S: ...here.
6643 * sysdeps/libm-i387/s_ilogb.S: Moved to ...
6644 * sysdeps/i386/fpu/s_ilogb.S: ...here.
6645 * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
6646 * sysdeps/i386/fpu/s_ilogbf.S: ...here.
6647 * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
6648 * sysdeps/i386/fpu/s_ilogbl.S: ...here.
6649 * sysdeps/libm-i387/s_llrint.S: Moved to ...
6650 * sysdeps/i386/fpu/s_llrint.S: ...here.
6651 * sysdeps/libm-i387/s_llrintf.S: Moved to ...
6652 * sysdeps/i386/fpu/s_llrintf.S: ...here.
6653 * sysdeps/libm-i387/s_llrintl.S: Moved to ...
6654 * sysdeps/i386/fpu/s_llrintl.S: ...here.
6655 * sysdeps/libm-i387/s_log1p.S: Moved to ...
6656 * sysdeps/i386/fpu/s_log1p.S: ...here.
6657 * sysdeps/libm-i387/s_log1pf.S: Moved to ...
6658 * sysdeps/i386/fpu/s_log1pf.S: ...here.
6659 * sysdeps/libm-i387/s_log1pl.S: Moved to ...
6660 * sysdeps/i386/fpu/s_log1pl.S: ...here.
6661 * sysdeps/libm-i387/s_log2.S: Moved to ...
6662 * sysdeps/i386/fpu/s_log2.S: ...here.
6663 * sysdeps/libm-i387/s_log2f.S: Moved to ...
6664 * sysdeps/i386/fpu/s_log2f.S: ...here.
6665 * sysdeps/libm-i387/s_log2l.S: Moved to ...
6666 * sysdeps/i386/fpu/s_log2l.S: ...here.
6667 * sysdeps/libm-i387/s_logb.S: Moved to ...
6668 * sysdeps/i386/fpu/s_logb.S: ...here.
6669 * sysdeps/libm-i387/s_logbf.S: Moved to ...
6670 * sysdeps/i386/fpu/s_logbf.S: ...here.
6671 * sysdeps/libm-i387/s_logbl.S: Moved to ...
6672 * sysdeps/i386/fpu/s_logbl.S: ...here.
6673 * sysdeps/libm-i387/s_lrint.S: Moved to ...
6674 * sysdeps/i386/fpu/s_lrint.S: ...here.
6675 * sysdeps/libm-i387/s_lrintf.S: Moved to ...
6676 * sysdeps/i386/fpu/s_lrintf.S: ...here.
6677 * sysdeps/libm-i387/s_lrintl.S: Moved to ...
6678 * sysdeps/i386/fpu/s_lrintl.S: ...here.
6679 * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
6680 * sysdeps/i386/fpu/s_nearbyint.S: ...here.
6681 * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
6682 * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
6683 * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
6684 * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
6685 * sysdeps/libm-i387/s_remquo.S: Moved to ...
6686 * sysdeps/i386/fpu/s_remquo.S: ...here.
6687 * sysdeps/libm-i387/s_remquof.S: Moved to ...
6688 * sysdeps/i386/fpu/s_remquof.S: ...here.
6689 * sysdeps/libm-i387/s_remquol.S: Moved to ...
6690 * sysdeps/i386/fpu/s_remquol.S: ...here.
6691 * sysdeps/libm-i387/s_rint.S: Moved to ...
6692 * sysdeps/i386/fpu/s_rint.S: ...here.
6693 * sysdeps/libm-i387/s_rintf.S: Moved to ...
6694 * sysdeps/i386/fpu/s_rintf.S: ...here.
6695 * sysdeps/libm-i387/s_rintl.S: Moved to ...
6696 * sysdeps/i386/fpu/s_rintl.S: ...here.
6697 * sysdeps/libm-i387/s_scalbn.S: Moved to ...
6698 * sysdeps/i386/fpu/s_scalbn.S: ...here.
6699 * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
6700 * sysdeps/i386/fpu/s_scalbnf.S: ...here.
6701 * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
6702 * sysdeps/i386/fpu/s_scalbnl.S: ...here.
6703 * sysdeps/libm-i387/s_significand.S: Moved to ...
6704 * sysdeps/i386/fpu/s_significand.S: ...here.
6705 * sysdeps/libm-i387/s_significandf.S: Moved to ...
6706 * sysdeps/i386/fpu/s_significandf.S: ...here.
6707 * sysdeps/libm-i387/s_significandl.S: Moved to ...
6708 * sysdeps/i386/fpu/s_significandl.S: ...here.
6709 * sysdeps/libm-i387/s_sin.S: Moved to ...
6710 * sysdeps/i386/fpu/s_sin.S: ...here.
6711 * sysdeps/libm-i387/s_sincos.S: Moved to ...
6712 * sysdeps/i386/fpu/s_sincos.S: ...here.
6713 * sysdeps/libm-i387/s_sincosf.S: Moved to ...
6714 * sysdeps/i386/fpu/s_sincosf.S: ...here.
6715 * sysdeps/libm-i387/s_sincosl.S: Moved to ...
6716 * sysdeps/i386/fpu/s_sincosl.S: ...here.
6717 * sysdeps/libm-i387/s_sinf.S: Moved to ...
6718 * sysdeps/i386/fpu/s_sinf.S: ...here.
6719 * sysdeps/libm-i387/s_sinl.S: Moved to ...
6720 * sysdeps/i386/fpu/s_sinl.S: ...here.
6721 * sysdeps/libm-i387/s_tan.S: Moved to ...
6722 * sysdeps/i386/fpu/s_tan.S: ...here.
6723 * sysdeps/libm-i387/s_tanf.S: Moved to ...
6724 * sysdeps/i386/fpu/s_tanf.S: ...here.
6725 * sysdeps/libm-i387/s_tanl.S: Moved to ...
6726 * sysdeps/i386/fpu/s_tanl.S: ...here.
6727 * sysdeps/libm-i387/s_trunc.S: Moved to ...
6728 * sysdeps/i386/fpu/s_trunc.S: ...here.
6729 * sysdeps/libm-i387/s_truncf.S: Moved to ...
6730 * sysdeps/i386/fpu/s_truncf.S: ...here.
6731 * sysdeps/libm-i387/s_truncl.S: Moved to ...
6732 * sysdeps/i386/fpu/s_truncl.S: ...here.
6733 * sysdeps/libm-ieee754/k_standard.c: Moved to ...
6734 * sysdeps/ieee754/k_standard.c: ...here.
6735 * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
6736 * sysdeps/ieee754/s_lib_version.c: ...here.
6737 * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
6738 * sysdeps/ieee754/s_matherr.c: ...here.
6739 * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
6740 * sysdeps/ieee754/s_signgam.c: ...here.
6741 * sysdeps/ieee754/dbl2mpn.c: Moved to ...
6742 * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
6743 * sysdeps/ieee754/mpn2dbl.c: Moved to ...
6744 * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
6745 * sysdeps/libm-ieee754/e_acos.c: Moved to ...
6746 * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
6747 * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
6748 * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
6749 * sysdeps/libm-ieee754/e_asin.c: Moved to ...
6750 * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
6751 * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
6752 * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
6753 * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
6754 * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
6755 * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
6756 * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
6757 * sysdeps/libm-ieee754/e_exp.c: Moved to ...
6758 * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
6759 * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
6760 * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
6761 * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
6762 * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
6763 * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
6764 * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
6765 * sysdeps/libm-ieee754/e_j0.c: Moved to ...
6766 * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
6767 * sysdeps/libm-ieee754/e_j1.c: Moved to ...
6768 * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
6769 * sysdeps/libm-ieee754/e_jn.c: Moved to ...
6770 * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
6771 * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
6772 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
6773 * sysdeps/libm-ieee754/e_log.c: Moved to ...
6774 * sysdeps/ieee754/dbl-64/e_log.c: ...here.
6775 * sysdeps/libm-ieee754/e_log10.c: Moved to ...
6776 * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
6777 * sysdeps/libm-ieee754/e_pow.c: Moved to ...
6778 * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
6779 * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
6780 * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
6781 * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
6782 * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
6783 * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
6784 * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
6785 * sysdeps/libm-ieee754/k_cos.c: Moved to ...
6786 * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
6787 * sysdeps/libm-ieee754/k_sin.c: Moved to ...
6788 * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
6789 * sysdeps/libm-ieee754/k_tan.c: Moved to ...
6790 * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
6791 * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
6792 * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
6793 * sysdeps/libm-ieee754/s_atan.c: Moved to ...
6794 * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
6795 * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
6796 * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
6797 * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
6798 * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
6799 * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
6800 * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
6801 * sysdeps/libm-ieee754/s_cos.c: Moved to ...
6802 * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
6803 * sysdeps/libm-ieee754/s_erf.c: Moved to ...
6804 * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
6805 * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
6806 * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
6807 * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
6808 * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
6809 * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
6810 * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
6811 * sysdeps/libm-ieee754/s_finite.c: Moved to ...
6812 * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
6813 * sysdeps/libm-ieee754/s_floor.c: Moved to ...
6814 * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
6815 * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
6816 * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
6817 * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
6818 * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
6819 * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
6820 * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
6821 * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
6822 * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
6823 * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
6824 * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
6825 (__isnan): Comment above function says it returns 0 or 1, but it
6826 used to return 0 or -1.
6827 * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
6828 * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
6829 * sysdeps/libm-ieee754/s_llround.c: Moved to ...
6830 * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
6831 * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
6832 * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
6833 * sysdeps/libm-ieee754/s_log2.c: Moved to ...
6834 * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
6835 * sysdeps/libm-ieee754/s_logb.c: Moved to ...
6836 * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
6837 * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
6838 * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
6839 * sysdeps/libm-ieee754/s_lround.c: Moved to ...
6840 * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
6841 * sysdeps/libm-ieee754/s_modf.c: Moved to ...
6842 * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
6843 * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
6844 * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
6845 * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
6846 * sysdeps/generic/s_nextafter.c: ...here.
6847 Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
6848 * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
6849 * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
6850 * sysdeps/libm-ieee754/s_rint.c: Moved to ...
6851 * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
6852 * sysdeps/libm-ieee754/s_round.c: Moved to ...
6853 * sysdeps/ieee754/dbl-64/s_round.c: ...here.
6854 * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
6855 * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
6856 * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
6857 * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
6858 * sysdeps/libm-ieee754/s_sin.c: Moved to ...
6859 * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
6860 * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
6861 * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
6862 * sysdeps/libm-ieee754/s_tan.c: Moved to ...
6863 * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
6864 * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
6865 * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
6866 * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
6867 * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
6868 * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
6869 * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
6870 * sysdeps/libm-ieee754/w_exp.c: Moved to ...
6871 * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
6872 * sysdeps/ieee754/mpn2flt.c: Moved to ...
6873 * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
6874 * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
6875 * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
6876 * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
6877 * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
6878 * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
6879 * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
6880 * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
6881 * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
6882 * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
6883 * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
6884 * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
6885 * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
6886 * sysdeps/libm-ieee754/e_expf.c: Moved to ...
6887 * sysdeps/ieee754/flt-32/e_expf.c: ...here.
6888 * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
6889 * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
6890 * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
6891 * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
6892 * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
6893 * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
6894 * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
6895 * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
6896 * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
6897 * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
6898 * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
6899 * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
6900 * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
6901 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
6902 * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
6903 * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
6904 * sysdeps/libm-ieee754/e_logf.c: Moved to ...
6905 * sysdeps/ieee754/flt-32/e_logf.c: ...here.
6906 * sysdeps/libm-ieee754/e_powf.c: Moved to ...
6907 * sysdeps/ieee754/flt-32/e_powf.c: ...here.
6908 * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
6909 * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
6910 * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
6911 * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
6912 * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
6913 * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
6914 * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
6915 * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
6916 * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
6917 * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
6918 * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
6919 * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
6920 * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
6921 * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
6922 * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
6923 * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
6924 * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
6925 * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
6926 * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
6927 * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
6928 * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
6929 * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
6930 * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
6931 * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
6932 * sysdeps/libm-ieee754/s_erff.c: Moved to ...
6933 * sysdeps/ieee754/flt-32/s_erff.c: ...here.
6934 * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
6935 * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
6936 * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
6937 * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
6938 * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
6939 * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
6940 * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
6941 * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
6942 * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
6943 * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
6944 * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
6945 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
6946 * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
6947 * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
6948 * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
6949 * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
6950 * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
6951 * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
6952 * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
6953 * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
6954 * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
6955 * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
6956 * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
6957 * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
6958 * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
6959 * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
6960 * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
6961 * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
6962 * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
6963 * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
6964 * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
6965 * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
6966 * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
6967 * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
6968 * sysdeps/libm-ieee754/s_modff.c: Moved to ...
6969 * sysdeps/ieee754/flt-32/s_modff.c: ...here.
6970 * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
6971 * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
6972 * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
6973 * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
6974 * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
6975 * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
6976 * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
6977 * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
6978 * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
6979 * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
6980 * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
6981 * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
6982 * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
6983 * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
6984 * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
6985 * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
6986 * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
6987 * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
6988 * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
6989 * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
6990 * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
6991 * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
6992 * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
6993 * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
6994 * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
6995 * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
6996 * sysdeps/libm-ieee754/w_expf.c: Moved to ...
6997 * sysdeps/ieee754/flt-32/w_expf.c: ...here.
6998 * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
6999 * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
7000 * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
7001 * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
7002 * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
7003 * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
7004 * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
7005 * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
7006 * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
7007 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
7008 * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
7009 * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
7010 * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
7011 * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
7012 * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
7013 * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
7014 * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
7015 * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
7016 * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
7017 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
7018 * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
7019 * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
7020 * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
7021 * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
7022 * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
7023 * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
7024 * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
7025 * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
7026 * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
7027 * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
7028 * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
7029 * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
7030 * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
7031 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
7032 * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
7033 * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
7034 * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
7035 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
7036 * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
7037 * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
7038 * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
7039 * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
7040 * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
7041 * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
7042 * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
7043 * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
7044 * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
7045 * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
7046 * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
7047 * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
7048 (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
7050 * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
7051 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
7052 (__nearbyintl): Fix for exponents 2^30.
7053 * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
7054 * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
7055 * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
7056 * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
7057 (__rintl): Fix for exponents 2^30.
7058 * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
7059 * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
7060 * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
7061 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
7062 (__scalbnl): Fix exponent for subnormal result.
7063 * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
7064 * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
7065 * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
7066 * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
7067 * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
7068 * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
7069 * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
7070 * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
7071 * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
7072 * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
7073 * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
7074 * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
7075 * sysdeps/libm-ieee754/w_expl.c: Moved to ...
7076 * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
7077 * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
7078 * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
7079 * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
7080 * sysdeps/i386/fpu/s_scalblnf.c: ...here.
7081 * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
7082 * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
7083 * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
7084 * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
7085 * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
7086 * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
7087 * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
7088 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
7089 * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
7090 * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
7091 * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
7092 * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
7093 * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
7094 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
7095 * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
7096 * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
7097 * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
7098 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
7099 * sysdeps/libm-i387/s_scalbln.c: Moved to ...
7100 * sysdeps/i386/fpu/s_scalbln.c: ...here.
7101 * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
7102 * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
7103 * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
7104 * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
7105 * sysdeps/libm-i387/t_exp.c: Moved to ...
7106 * sysdeps/i386/fpu/t_exp.c: ...here.
7107 * sysdeps/libm-ieee754/t_exp.c: Moved to ...
7108 * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
7109 * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
7110 * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
7111 * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
7112 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
7113 * sysdeps/libm-i387/s_isinfl.c: Moved to ...
7114 * sysdeps/i386/fpu/s_isinfl.c: ...here.
7115 * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
7116 * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
7117 * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
7118 * sysdeps/i386/fpu/s_scalblnl.c: ...here.
7119 * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
7120 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
7121 Fix exponent for subnormal result.
7122 * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
7123 * sysdeps/generic/s_nexttowardl.c: ...here.
7124 * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
7125 * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
7126 * sysdeps/libm-i387/s_isnanl.c: Moved to ...
7127 * sysdeps/i386/fpu/s_isnanl.c: ...here.
7128 * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
7129 * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
7130 Comment above function says it returns 0 or 1, but it used to return
7132 * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
7133 * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
7134 * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
7135 * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
7136 * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
7137 * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
7138 * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
7139 * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
7140 * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
7141 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
7142 Cannot compare exponents with different biases without adjusting.
7143 * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
7144 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
7145 Cannot compare exponents with different biases without adjusting.
7146 * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
7147 * sysdeps/i386/fpu/s_nextafterl.c: ...here.
7148 * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
7149 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
7150 * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
7151 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
7152 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
7153 * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
7154 * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
7155 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
7156 * sysdeps/libm-ieee754/Dist: Split into ...
7157 * sysdeps/ieee754/dbl-64/Dist: ...this and ...
7158 * sysdeps/ieee754/flt-32/Dist: ...this file.
7160 * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
7161 * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
7162 * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
7163 * sysdeps/ieee754/ldbl-96/strtold.c: New file.
7164 * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
7165 * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
7166 * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
7167 * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
7168 * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
7169 * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
7170 * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
7171 * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
7172 * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
7173 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
7174 * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
7175 * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
7176 * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
7177 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
7178 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
7179 * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
7180 * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
7181 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
7182 * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
7183 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
7184 * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
7185 * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
7186 * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
7187 * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
7188 * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
7189 * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
7190 * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
7191 * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
7192 * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
7193 * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
7194 * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
7195 * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
7196 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
7197 * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
7198 * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
7199 * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
7200 * sysdeps/ieee754/ldbl-128/strtold.c: New file.
7201 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
7202 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
7203 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
7204 * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
7205 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
7206 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
7208 * sysdeps/generic/math_ldbl.h: New file.
7209 * sysdeps/generic/s_nexttowardf.c: New file.
7210 * sysdeps/generic/strtold.c: New file.
7211 * sysdeps/generic/ldbl2mpn.c: New file.
7213 * math/machine/endian.h: Remove.
7214 * sysdeps/i386/fpu/Implies: Remove.
7215 * sysdeps/ieee754/Implies: Remove.
7217 * math/math_private.h: Move long double macros to math_ldbl.h
7220 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
7222 * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
7223 connections without a hostname set address to localhost address.
7225 1999-07-11 H.J. Lu <hjl@gnu.org>
7227 * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
7228 nscd's own strong version of the get[a-z]*_r function.
7229 * nscd/hstcache.c: Likewise.
7230 * nscd/pwdcache.c: Likewise.
7232 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
7234 * configure.in: Recognize 2.95 as gcc version number.
7235 Patch by Joel Klecker <jk@espy.org>.
7237 1999-07-12 Andreas Schwab <schwab@suse.de>
7239 * elf/rtld.c (dl_main): When putting back the interpreter object
7240 handle the case where a missing object might occur in the list of
7241 objects but not in the search list when in trace mode.
7243 1999-07-11 Ulrich Drepper <drepper@cygnus.com>
7245 * Versions.def (libnss_hesiod): Add GLIBC_2.2.
7246 * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
7247 _nss_hesiod_initgroups.
7249 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
7251 * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
7252 (_hurd_set_brk, init_brk): Use that instead of &__data_start.
7253 Initialize it from &__data_start if defined, or else &_end.
7255 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
7257 * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
7258 for MAP_ANON, prot==PROT_READ|PROT_WRITE.
7260 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
7262 * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
7264 1999-07-09 H.J. Lu <hjl@gnu.org>
7266 * Versions.def (GLIBC_2.1.2): Added.
7268 * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
7269 old one as GLIBC_2.0.
7270 * nss/getXXbyYY_r.c: Likewise.
7272 * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
7274 * inet/Versions (getaliasbyname_r, getaliasent_r,
7275 gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
7276 gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
7277 getnetgrent_r, getprotobyname_r, getprotobynumber_r,
7278 getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
7279 getservbyname_r): Likewise.
7280 * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
7281 * shadow/Versions (getspent_r, getspnam_r): Likewise.
7283 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
7285 * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
7287 (__memset_cc): Likewise.
7289 * sysdeps/generic/libc-start.c: For SUID binaries check whether
7290 the standard file descriptors are open.
7291 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
7293 * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
7294 * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
7295 range of mmap. If not fail.
7296 Patches by Daniel Jacobowitz <dan@debian.org>.
7298 * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
7299 before the relocation happened.
7300 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
7302 * Versions.def (libnsl): Add GLIBC_2.2.
7303 * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
7305 1999-07-08 Cristian Gafton <gafton@redhat.com>
7307 * nis/yp_xdr.c (xdr_ypall): New function.
7309 1999-07-09 Andreas Schwab <schwab@suse.de>
7311 * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
7313 * dlfcn/Makefile (headers): Add bits/dlfcn.h.
7315 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
7317 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
7318 * hesiod/hesiod-grp.c: Add initgroups support.
7319 Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
7321 1999-07-08 Andreas Schwab <schwab@suse.de>
7323 * libio/iofopncook.c (fopencookie): Set _fileno to -2.
7325 * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
7328 * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
7330 * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
7332 1999-07-08 Andreas Schwab <schwab@suse.de>
7334 * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
7336 1999-07-08 Andreas Schwab <schwab@suse.de>
7338 * libio/fileno.c: Return -1 instead of EOF and set errno if the
7339 stream is not a real file stream.
7341 1999-07-08 Andreas Schwab <schwab@suse.de>
7343 * manual/charset.texi: Fix typos.
7345 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
7347 * sysdeps/gnu/Makefile (libdl-routines): Add eval.
7349 1999-07-06 Zack Weinberg <zack@rabi.columbia.edu>
7351 * dlfcn: New directory. Move the following files from elf:
7352 dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
7353 dlopenold.c, dlsym.c, dlvsym.c.
7354 * dlfcn/Makefile: New file.
7355 * dlfcn/Versions: New file.
7356 * dlfcn/dlsym.c: All ELF-specific code split out to new
7358 * dlfcn/dlvsym.c: All ELF-specific code split out to new
7360 * elf/dl-sym.c: New file. _dl_sym and _dl_vsym are
7363 * dlfcn/dladdr.c: Remove all references to ELF data structures
7365 * dlfcn/dlclose.c: Likewise.
7366 * dlfcn/dlerror.c: Likewise.
7367 * dlfcn/dlopen.c: Likewise.
7368 * dlfcn/dlopenold.c: Likewise.
7370 * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
7371 yes, empty otherwise.
7372 (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
7373 depending on build-shared.
7374 (subdirs): Add $(dlfcn).
7375 (rpath-dirs): Add dlfcn.
7376 * elf/Makefile: Remove all references to libdl or its
7377 components, except the ones relating to the test cases.
7378 (routines): Add dl-sym.
7379 * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
7382 * elf/dl-close.c (_dl_close): Change argument to void *.
7383 * elf/dl-open.c (_dl_open): Change return type to void *.
7384 * elf/eval.c: Removed.
7385 * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
7386 _dlerror_run, _dl_open, _dl_close, _dl_addr, and
7387 _dl_mcount_wrapper_check to include/dlfcn.h. Delete
7389 * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
7390 Include real header from dlfcn directory.
7391 * include/ldsodefs.h: Removed.
7393 * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
7394 * nss/getXXbyYY_r.c: Likewise.
7395 * nss/getXXent_r.c: Likewise.
7396 * iconv/gconv.c: Likewise. Don't include ldsodefs.h.
7397 * iconv/gconv_db.c: Likewise. Don't include ldsodefs.h.
7398 * iconv/skeleton.c: Don't include ldsodefs.h.
7399 * nss/nsswitch.h: Don't include ldsodefs.h. Include dlfcn.h.
7401 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
7403 * sysdeps/generic/setenv.c: Describe problem.
7405 * malloc/malloc.c (request2size): Also set errno if failing.
7407 * malloc/malloc.c (request2size): Take care of overflow in
7410 * sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd
7411 (NULL, != 0) correctly.
7413 * elf/dl-load.c: Use a few more __builtin_expect.
7415 * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
7418 1999-07-07 Andreas Schwab <schwab@suse.de>
7420 * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
7421 (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
7422 (_PATH_DEVPTMX): Use _PATH_DEV.
7424 1999-07-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7426 * malloc/tst-malloc.c: New file. Tests some basic functionality.
7427 * malloc/Makefile (tests): Add tst-malloc.
7429 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
7431 * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
7434 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
7436 Patch by Jay Estabrook.
7438 * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
7440 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
7441 Patch by Cristian Gafton.
7443 1999-07-02 Cristian Gafton <gafton@redhat.com>
7445 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
7446 instead of "return NULL" to make C++ happy.
7448 1999-07-04 Mark Kettenis <kettenis@gnu.org>
7450 * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
7451 allowed by the file access mode of the open file.
7453 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
7455 * sysdeps/generic/setfpucw.c: Include math.h to get all needed
7458 1999-07-03 Jakub Jelinek <jj@ultra.linux.cz>
7460 * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
7461 * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
7462 * sysdeps/sparc/sparc64/rshift.S: Likewise.
7463 * sysdeps/sparc/sparc64/mul_1.S: Optimize.
7465 1999-07-04 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
7467 * malloc/malloc.c (request2size): Check for overflow and return
7468 NULL whenever it is encountered.
7470 1999-07-04 Zack Weinberg <zack@rabi.columbia.edu>
7472 * sysdeps/posix/tempname.c (__gen_tempname): Add
7473 ability to create directories. Replace OPENIT and LARGEFILE
7474 args with a single flags parameter.
7475 * sysdeps/generic/tempname.c: Likewise.
7476 * include/stdio.h: Adjust prototype of __gen_tempname to
7477 match. Define symbolic constants for second argument.
7479 * misc/mkdtemp.c: New file, provides new function mkdtemp().
7480 * stdlib/stdlib.h: Prototype it.
7481 * misc/Versions: Export it.
7482 * misc/Makefile (routines): Add mktemp.
7483 * manual/filesys.texi: Document it.
7485 * misc/mktemp.c: Adjust call of __gen_tempname to match new
7487 * misc/mkstemp.c: Likewise.
7488 * stdio-common/tempnam.c: Likewise.
7489 * stdio-common/tmpfile.c: Likewise.
7490 * stdio-common/tmpfile64.c: Likewise.
7491 * stdio-common/tmpnam.c: Likewise.
7492 * stdio-common/tmpnam_r.c: Likewise.
7494 1999-07-05 Jakub Jelinek <jj@ultra.linux.cz>
7496 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
7497 R_SPARC_OLO10 relocations.
7498 * elf/elf.h (R_SPARC_OLO10): Fix comment.
7500 1999-07-02 Tim Waugh <tim@cyberelk.demon.co.uk>
7502 * posix/wordexp-test.c: Revert bogus 'unset IFS' change. It
7503 doesn't belong in the tests, but in the wordexp implementation.
7505 * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
7508 1999-07-01 Cristian Gafton <gafton@redhat.com>
7510 * time/strptime.c (strptime): Initialize the tm struct first to avoid
7511 returning bogus results on incomplete data.
7512 (strptime_internal): day_of_the_week() requres both tm_mon and
7513 tm_mday to be initialized.
7514 Compute them first if they are not given.
7515 (strptime_internal): (have_mon, have_mday): New variables.
7517 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7519 * inet/rcmd.c (__icheckhost): Fix typo in last patch.
7521 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7523 * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
7524 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7526 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7528 * posix/wordexp.c (parse_tilde): Handle failing call to
7529 get.*_r functions correctly for non-existing entry.
7530 * sysdeps/posix/cuserid.c (cuserid): Likewise.
7531 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
7533 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
7535 * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
7536 getxxbyYY_r functions correctly for non-existing entry.
7537 * sunrpc/getrpcport.c: Likewise.
7538 * sunrpc/clnt_simp.c: Likewise.
7539 * inet/rexec.c: Likewise.
7540 * sunrpc/clnt_gen.c: Likewise.
7541 * inet/rcmd.c: Likewise.
7542 * sysdeps/generic/glob.c: Likewise.
7544 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7546 * pwd/Makefile (tests): Add rules for tst-getpw.
7548 * pwd/tst-getpw.c: New program to test getpw.
7550 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7552 * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
7555 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7557 * manual/arith.texi (System V Number Conversion): Fix the
7558 description which confused pointer and value to pointer.
7559 Reported by Andries.Brouwer@cwi.nl.
7561 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7563 * pwd/getpw.c (__getpw): Check for NULL result pointer.
7565 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7567 * manual/users.texi (Lookup User): Document POSIX return
7568 semantics for getpwuid_r and getgrgid_r.
7570 * manual/socket.texi (Host Names): Document that the result
7571 pointer is null in case of error or host not found and fix a
7572 typo. Give a small example.
7574 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
7576 * pwd/getpw.c: Add warning since no buffer size is given and
7577 therefore no overrun tests are possible.
7579 1999-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7581 * pwd/pwd.h: Add getpw prototype declaration.
7583 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
7585 * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
7586 * wcsmbs/wcschr.c: Likewise.
7588 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
7590 * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
7592 * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
7593 * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
7594 Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
7596 * elf/dl-dst.h: Fix typo.
7597 * elf/dl-open.c: Likewise.
7599 1999-06-26 Zack Weinberg <zack@rabi.columbia.edu>
7601 * elf/dl-libc.c: New file, provides three functions:
7602 __libc_dlopen, __libc_dlclose, __libc_dlsym.
7603 * include/dlfcn.h: Prototype them. Prototype _dl_addr.
7604 * elf/Makefile (routines): Add dl-libc.c.
7605 * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
7607 * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
7609 * iconv/gconv.c: Include dlfcn.h.
7610 * iconv/gconv_db.c: Likewise.
7611 * malloc/mtrace.c: Likewise. Don't include ldsodefs.h.
7613 * iconv/gconv_int.h (struct __gconv_loaded_object): Change
7614 `handle' to a void *.
7615 (__gconv_find_func): Delete prototype.
7617 * iconv/gconv_dl.c: Don't include ldsodefs.h. Remove
7618 dlerror_run and related functions and structs. Use
7619 __libc_dlopen, __libc_dlsym, __libc_dlclose.
7620 * nss/nsswitch.c: Likewise.
7622 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
7624 * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
7627 * sunrpc/getrpcport.c: Test for gethostbyname_r function
7630 * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
7632 * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
7633 functions correctly.
7635 * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
7637 * inet/rcmd.c: Test for gethostbyname_r result correctly. Optimize
7640 * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
7642 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7644 * manual/string.texi (Copying and Concatenation): Mention that
7645 strndup is a GNU extension.
7647 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7649 * pwd/getpw.c (__getpw): Fix check for error return.
7651 1999-06-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7653 * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
7654 occurence of the aux object start with the current list entry, not
7655 the new one. Adjust tail pointer in the unique list. Explain how
7656 the meaning of the variables changes [PR libc/1168].
7658 1999-06-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7660 * sysdeps/m68k/fpu/Dist: New file.
7662 1999-06-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7664 * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
7666 * sysdeps/m68k/fpu/mathimpl.h: ... here. New file.
7667 * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
7668 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
7669 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
7670 * sysdeps/m68k/fpu/e_pow.c: Likewise.
7671 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
7672 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
7673 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
7674 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
7675 * sysdeps/m68k/fpu/s_csin.c: Likewise.
7676 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
7677 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
7678 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
7679 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
7680 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
7681 * sysdeps/m68k/fpu/s_modf.c: Likewise.
7683 1999-06-25 Roland McGrath <roland@baalperazim.frob.com>
7685 * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
7686 hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
7687 _EXTERN_INLINE, use a macro specific to each file,
7688 _HURD_FD_H_EXTERN_INLINE and the like.
7689 * hurd/Makefile (inline-headers): New variable.
7690 (routines): Remove hurdinline. Add $(inlines).
7691 (inlines): New variable.
7692 ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
7693 (generated): Append those here.
7694 * hurd/hurdinline.c: File removed.
7696 * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
7698 * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
7700 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7702 * nscd/connections.c (nscd_run): Use correct type for optlen variable.
7704 1999-06-25 Ulrich Drepper <drepper@cygnus.com>
7706 * string/bits/string2.h (strnlen): Remove extra prototype.
7708 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7710 * manual/filesys.texi (Working on Directory Trees): Fix typos.
7711 Reported by Andries.Brouwer@cwi.nl.
7713 1999-06-24 Ulrich Drepper <drepper@cygnus.com>
7715 * nscd/connections.c (handle_request): Use correct type for optlen
7718 * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
7719 * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
7721 1999-06-24 Thorsten Kukuk <kukuk@suse.de>
7723 * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
7724 * nscd/pwdcache.c: Likewise.
7725 * nscd/hstcache.c: Likewise.
7727 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
7729 * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
7731 * posix/getopt.h: Include stdio.h.
7733 * manual/arith.texi: Document restriction of ndigit parameter of
7735 * misc/efgcvt.c: Define NDIGIT_MAX.
7736 (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
7737 Do not dynamically allocate the static buffers. They are small enough.
7738 * misc/efgcvt_r.c: Define NDIGIT_MAX.
7739 (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
7740 * misc/qefgcvt.c: Define NDIGIT_MAX.
7741 * misc/qefgcvt_r.c: Likewise.
7742 * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
7744 1999-06-23 Zack Weinberg <zack@rabi.columbia.edu>
7746 * libio/stdio.h: Define stdin, stdout, stderr as macros.
7747 * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
7748 These are *pragmas* not macros.
7749 * wcsmbs/wchar.h: Fix comment.
7751 * grp/grp.h: Use __foo_t_defined convention to typedef things
7753 * io/sys/stat.h: Likewise.
7754 * libio/stdio.h: Likewise.
7755 * posix/unistd.h: Likewise.
7756 * posix/sys/types.h: Likewise.
7757 * posix/sys/wait.h: Likewise.
7758 * pwd/pwd.h: Likewise.
7759 * signal/signal.h: Likewise.
7760 * sysdeps/generic/stdint.h: Likewise.
7761 * sysdeps/gnu/utmpx.h: Likewise.
7762 * termios/termios.h: Likewise.
7764 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
7766 * stdio/fputc.c: Don't define alias if fputc is defined as a
7768 * stdio/putc.c: Define weak alias here since it is not done
7771 1999-06-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7773 * assert/assert.h: Don't produce `defined' as part of macro
7776 1999-06-23 Roland McGrath <roland@baalperazim.frob.com>
7778 * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
7779 OFFSET argument of (off_t) -1.
7780 * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
7781 OFFSET argument of (off_t) -1.
7783 * sysdeps/mach/hurd/pwrite.c: New file.
7784 * sysdeps/mach/hurd/pread.c: New file.
7786 * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
7787 pass it in the RPC instead of always -1.
7788 * hurd/fd-write.c (_hurd_fd_write): Likewise.
7789 * hurd/hurd/fd.h: Update decls.
7791 1999-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7793 * libio/wscanf.c: Include <wchar.h> for prototype.
7795 1999-06-22 Ulrich Drepper <drepper@cygnus.com>
7797 * manual/io.texi. Fix typos.
7798 * manual/stdio.texi: Likewise.
7799 Patches by Brian Youmans <3diff@gnu.org>.
7801 1999-06-22 Geoff Keating <geoffk@ozemail.com.au>
7803 * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
7804 bits of two words differ.
7806 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7808 * libio/Makefile (routines): Add putwchar and putwchar_u.
7810 * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
7811 * libio/putwchar_u.c: Likewise. Use _IO_stdout instead of
7812 stdout. Fix parameter name.
7814 * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
7815 * libio/getchar_u.c: Likewise.
7817 * libio/putchar_u.c: Use _IO_stdout instead of stdout.
7819 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7821 * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
7822 macro expansion---it's undefined. Properly parenthesize
7823 substituted parameters.
7824 (__GLIBC_PREREQ): Likewise.
7826 1999-06-21 Ulrich Drepper <drepper@cygnus.com>
7828 * Makeconfig (CPPFLAGS): Revert last change. It has too many
7831 * stdlib/longlong.h: Provide __P definition if not already
7834 * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
7836 1999-06-18 Thorsten Kukuk <kukuk@suse.de>
7838 * sysdeps/alpha/atomicity.h: Correct counting of subsections.
7840 1999-06-17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7842 * stdlib/tst-strtoll.c: Avoid warning about huge constant.
7844 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7846 * stdio-common/vfprintf.c (group_member): Make parameters and
7847 return types pointers to CHAR_T instead of UCHAR_T.
7848 (vfprintf): Change type of work_buffer, workend and string to
7849 CHAR_T pointer/array.
7850 (process_arg, process_string_arg): Adjust/remove casts. Add
7851 missing use of L_ macro.
7852 (printf_unknown): Add missing uses of L_ macro.
7854 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7856 * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
7859 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7861 * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF. Call
7862 _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
7863 (__wunderflow): Likewise.
7864 (_IO_switch_to_wget_mode): Likewise.
7865 (_IO_init_wmarker): Likewise.
7867 * libio/wfileops.c (_IO_wfile_seekoff): Call
7868 _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
7869 (_IO_wfile_jumps): Fix pbackfail entry.
7871 * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
7872 function if the stream is currently unoriented.
7874 1999-06-19 Zack Weinberg <zack@rabi.columbia.edu>
7876 * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
7877 Wrap all wide stream functions with #ifdef __USE_ISOC9X. Use
7878 __gnuc_va_list in v*w(printf|scanf) prototypes.
7880 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7882 * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
7883 1999-03-29 to iopopen also here.
7884 Reported by Richard Braakman <dark@xs4all.nl>.
7886 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7888 * include/features.h: Use __GNUC_PREREQ.
7889 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
7891 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7893 * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
7894 Change EOF to WEOF and remove cast.
7895 (UNGETC): Remove macro.
7896 (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
7897 * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
7898 Change ISASCII to isascii and MBRLEN to mbrlen.
7899 (parse_one_spec): Compare info.spec always against wchar_t
7901 * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
7902 (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
7903 (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
7905 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7907 * libio/Makefile (shared-only-routines): Add oldiofgetpos,
7908 oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
7909 (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
7910 oldiofsetpos64 only if doing versioning.
7912 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
7914 * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
7916 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7918 * libio/libio.h: Fix last patch.
7920 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
7922 * libio/libio.h (_IO_putwc): Correct type of first argument.
7923 * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
7924 putwc_unlocked, putwchar_unlocked): Likewise.
7925 * libio/fputwc.c: Likewise.
7926 * libio/fputwc_unlocked.c: Likewise.
7927 * libio/putwc.c: Likewise.
7928 * libio/putwc_unlocked.c: Likewise.
7929 * libio/putwchar.c: Likewise.
7930 * libio/putwchar_unlocked.c: Likewise.
7932 1999-06-19 Roland McGrath <roland@baalperazim.frob.com>
7934 * sysdeps/gnu/siglist.h: File moved to ...
7935 * sysdeps/generic/siglist.h: ... here. This file should be usable for
7936 any platform, since it just associates the SIG* macros with text names
7937 and descriptions. For any signal macros do not exist on every
7938 platform, we can use #ifdef tests here and still use this single
7939 common file for all platforms.
7940 * sysdeps/generic/siglist.c: Rewrite using <siglist.h>. This file
7941 should be usable for all platforms after the binary compatibility
7942 stuff in the current sysdeps/gnu version is no longer required.
7943 * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
7944 * sysdeps/generic/make_siglist.c: File removed.
7945 * sysdeps/mach/hurd/siglist.h: Use #include_next.
7946 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
7948 1999-06-16 Roland McGrath <roland@baalperazim.frob.com>
7950 * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
7951 * sysdeps/gnu/siglist.c: ... here.
7952 Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
7953 Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
7954 * sysdeps/gnu/siglist.h: New file, contents from linux version.
7955 Add entry for SIGLOST protected by #ifdef.
7956 * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
7957 and define OLD_SIGLIST_SIZE_STR.
7958 * sysdeps/mach/hurd/siglist.h: New file, likewise.
7960 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
7962 * include/features.h: Define new macros __GNUC_PREREQ and
7963 __GLIBC_PREREQ which can be used to test the version of gcc
7964 and glibc respectively.
7966 * assert/assert.h: Use __GNUC_PREREQ.
7967 * intl/libintl.h: Likewise.
7968 * math/complex.h: Likewise.
7969 * math/tgmath.h: Likewise.
7970 * misc/sys/cdefs.h: Likewise.
7971 * posix/sys/types.h: Likewise.
7972 * socket/sys/socket.h: Likewise.
7973 * string/bits/string2.h: Likewise.
7974 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
7975 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
7977 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
7979 * include/libintl.h: Declare _libc_intl_domainname here.
7980 Define _ and N_ here.
7981 * include/libc-symbols.h: Don't include <libintl.h>. Don't
7982 define _ and N_. Don't declare _libc_intl_domainname.
7983 * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
7985 * db2/config.h: Don't include sys/stat.h or define
7986 HAVE_ST_BLKSIZE here...
7987 * db2/compat.h: ...do it here.
7989 * linuxthreads/internals.h: Include bits/libc-tsd.h after all
7991 * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
7992 * iconv/iconv.c: Include stddef.h for NULL.
7993 * malloc/malloc.h: Include features.h.
7994 * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
7996 * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
7997 into the generated file.
7998 * sysdeps/gnu/errlist.awk: Likewise.
7999 * sysdeps/gnu/errlist.c: Rebuilt.
8001 * assert/assert-perr.c: Include libintl.h.
8002 * assert/assert.c: Likewise.
8003 * elf/dl-open.c: Likewise.
8004 * elf/dlsym.c: Likewise.
8005 * elf/dlvsym.c: Likewise.
8006 * iconv/iconv_prog.c: Likewise.
8007 * inet/rcmd.c: Likewise.
8008 * inet/ruserpass.c: Likewise.
8009 * locale/programs/charset.c: Likewise.
8010 * locale/programs/ld-collate.c: Likewise.
8011 * locale/programs/ld-ctype.c: Likewise.
8012 * locale/programs/ld-messages.c: Likewise.
8013 * locale/programs/ld-monetary.c: Likewise.
8014 * locale/programs/ld-numeric.c: Likewise.
8015 * locale/programs/ld-time.c: Likewise.
8016 * locale/programs/locfile.c: Likewise.
8017 * locale/programs/repertoire.c: Likewise.
8018 * login/programs/database.c: Likewise.
8019 * login/programs/request.c: Likewise.
8020 * malloc/mcheck.c: Likewise.
8021 * misc/error.c: Likewise.
8022 * nis/nis_call.c: Likewise.
8023 * nis/nis_callback.c: Likewise.
8024 * nis/nis_error.c: Likewise.
8025 * nis/nis_local_names.c: Likewise.
8026 * nis/nis_print.c: Likewise.
8027 * nis/nis_print_group_entry.c: Likewise.
8028 * nis/ypclnt.c: Likewise.
8029 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
8030 * nscd/cache.c: Likewise.
8031 * nscd/connections.c: Likewise.
8032 * nscd/grpcache.c: Likewise.
8033 * nscd/hstcache.c: Likewise.
8034 * nscd/nscd_conf.c: Likewise.
8035 * nscd/nscd_stat.c: Likewise.
8036 * nscd/pwdcache.c: Likewise.
8037 * posix/id.c: Likewise.
8038 * resolv/herror.c: Likewise.
8039 * stdio-common/psignal.c: Likewise.
8040 * string/strsignal.c: Likewise.
8041 * sunrpc/auth_unix.c: Likewise.
8042 * sunrpc/clnt_perr.c: Likewise.
8043 * sunrpc/clnt_raw.c: Likewise.
8044 * sunrpc/clnt_tcp.c: Likewise.
8045 * sunrpc/clnt_udp.c: Likewise.
8046 * sunrpc/clnt_unix.c: Likewise.
8047 * sunrpc/get_myaddr.c: Likewise.
8048 * sunrpc/pm_getmaps.c: Likewise.
8049 * sunrpc/pmap_clnt.c: Likewise.
8050 * sunrpc/pmap_rmt.c: Likewise.
8051 * sunrpc/rpc_main.c: Likewise.
8052 * sunrpc/rpc_scan.c: Likewise.
8053 * sunrpc/svc_run.c: Likewise.
8054 * sunrpc/svc_simple.c: Likewise.
8055 * sunrpc/svc_tcp.c: Likewise.
8056 * sunrpc/svc_udp.c: Likewise.
8057 * sunrpc/svc_unix.c: Likewise.
8058 * sunrpc/xdr_rec.c: Likewise.
8059 * sunrpc/xdr_ref.c: Likewise.
8060 * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
8061 * sysdeps/posix/gai_strerror.c: Likewise.
8062 * sysdeps/unix/siglist.c: Likewise.
8063 * sysdeps/unix/sysv/linux/siglist.c: Likewise.
8064 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
8065 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
8066 * timezone/zic.c: Likewise.
8068 1999-06-18 H.J. Lu <hjl@gnu.org>
8070 * localedata/Makefile (charmaps): Exclude SCCS.
8071 (locales): Likewise.
8072 (repertoiremaps): Likewise.
8074 1999-06-18 Ulrich Drepper <drepper@cygnus.com>
8076 * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
8077 * sysdeps/generic/bsd-setjmp.c: Likewise.
8079 * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
8081 * iconv/gconv_open.c: Include string.h for memset prototype.
8083 * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
8086 * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
8087 assignment to avoid warning on 64bit platforms.
8089 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
8091 * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
8093 * nss/getXXbyYY_r.c: Return error code not -1.
8094 * nss/getXXent_r.c: Likewise.
8095 * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
8097 * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
8098 value > 0 for error.
8099 * nscd/nscd_gethst_r.c: Likewise.
8100 * nscd/nscd_getpw_r.c: Likewise.
8102 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8104 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
8107 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8109 * nscd/nscd_nischeck.c: Fix typos.
8111 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
8113 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
8114 always when oact is NULL.
8115 Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
8117 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8119 * math/libm-test.c (jn_test): Adjust delta.
8121 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8123 * libio/vwprintf.c: Include <wchar.h> for prototypes.
8124 * libio/wprintf.c: Likewise.
8126 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8128 * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
8129 to not write beyond allocated memory.
8130 Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
8132 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
8134 * malloc/mtrace.c: Keep lock while printing output lines.
8135 Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
8137 1999-06-16 Ulrich Drepper <drepper@cygnus.com>
8139 * configure.in: Add warnings about broken code.
8141 * Versions.def: Add GLIBC_2.2 for libc.
8143 * iconv/gconv.h: Make header suitable for inclusion in public header
8144 by protecting all names with __.
8145 * iconv/gconv.c: Adapt for symbol name changes.
8146 * iconv/gconv.h: Likewise.
8147 * iconv/gconv_builtin.c: Likewise.
8148 * iconv/gconv_close.c: Likewise.
8149 * iconv/gconv_db.c: Likewise.
8150 * iconv/gconv_dl.c: Likewise.
8151 * iconv/gconv_int.h: Likewise.
8152 * iconv/gconv_open.c: Likewise.
8153 * iconv/gconv_simple.c: Likewise.
8154 * iconv/iconv.c: Likewise.
8155 * iconv/iconv_close.c: Likewise.
8156 * iconv/iconv_open.c: Likewise.
8157 * iconv/loop.c: Likewise.
8158 * iconv/skeleton.c: Likewise.
8159 * iconvdata/8bit-gap.c: Likewise.
8160 * iconvdata/8bit-generic.c: Likewise.
8161 * iconvdata/ansi_x3.110.c: Likewise.
8162 * iconvdata/big5.c: Likewise.
8163 * iconvdata/cns11643.h: Likewise.
8164 * iconvdata/cns11643l1.h: Likewise.
8165 * iconvdata/euc-cn.c: Likewise.
8166 * iconvdata/euc-jp.c: Likewise.
8167 * iconvdata/euc-kr.c: Likewise.
8168 * iconvdata/euc-tw.c: Likewise.
8169 * iconvdata/gb2312.h: Likewise.
8170 * iconvdata/iso-2022-jp.c: Likewise.
8171 * iconvdata/iso-2022-kr.c: Likewise.
8172 * iconvdata/iso646.c: Likewise.
8173 * iconvdata/iso8859-1.c: Likewise.
8174 * iconvdata/iso_6937-2.c: Likewise.
8175 * iconvdata/iso_6937.c: Likewise.
8176 * iconvdata/jis0201.h: Likewise.
8177 * iconvdata/jis0208.h: Likewise.
8178 * iconvdata/jis0212.h: Likewise.
8179 * iconvdata/johab.c: Likewise.
8180 * iconvdata/ksc5601.h: Likewise.
8181 * iconvdata/sjis.c: Likewise.
8182 * iconvdata/t.61.c: Likewise.
8183 * iconvdata/uhc.c: Likewise.
8184 * stdlib/mblen.c: Likewise.
8185 * stdlib/mbtowc.c: Likewise.
8186 * stdlib/wctomb.c: Likewise.
8187 * wcsmbs/btowc.c: Likewise.
8188 * wcsmbs/mbrtowc.c: Likewise.
8189 * wcsmbs/mbsnrtowcs.c: Likewise.
8190 * wcsmbs/mbsrtowcs.c: Likewise.
8191 * wcsmbs/wchar.h: Likewise.
8192 * wcsmbs/wcrtomb.c: Likewise.
8193 * wcsmbs/wcsmbsload.c: Likewise.
8194 * wcsmbs/wcsmbsload.h: Likewise.
8195 * wcsmbs/wcsnrtombs.c: Likewise.
8196 * wcsmbs/wcsrtombs.c: Likewise.
8197 * wcsmbs/wctob.c: Likewise.
8199 * include/limits.h (MB_LEN_MAX): Increase to 16.
8201 * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct. Define
8203 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
8204 * include/wchar.h: Change mbstate_t to __mbstate_t.
8206 * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
8207 oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
8208 getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
8209 iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
8210 putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
8211 vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
8213 (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
8214 * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
8215 _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
8216 fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
8217 fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
8218 getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
8219 putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
8220 vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
8222 * libio/libio.h: Define codecvt struct. Define _IO_wide_data.
8223 Extend _IO_file contain pointer to codecvt, widedata and mode.
8224 (_IO_getwc_unlocked): New macro.
8225 (_IO_putwc_unlocked): New macro.
8226 (_IO_fwide): New macro.
8227 * libio/libioP.h: Add new prototypes and adjust existing declarations.
8228 * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
8229 buffers based on mode.
8230 (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
8232 (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
8233 flag to be enough to signal unallocated buffer. For wide oriented
8234 stream don't make it linebuffered. Don't use _IO_do_flush, use
8235 _IO_new_do_write directly.
8236 (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
8237 (_IO_file_seek): Likewise.
8238 * libio/genops.c (_IO_least_marker): Make global.
8239 (__underflow): Orient stream if not already done.
8240 (__uflow): Likewise.
8241 (_IO_default_seekpos): Change to type _IO_off64_t.
8242 (_IO_default_seekoff): Likewise.
8243 (_IO_default_seek): Likewise.
8244 (_IO_no_init): New function. Similar to _IO_init but allows to orient
8246 * libio/iolibio.h: Add prototype for _IO_vswprintf. Change _IO_pos_BAD
8248 * libio/ftello.c: Use _IO_off_t. For now abort when use with wide
8250 * libio/ftello64.c: Likewise.
8251 * libio/ioftell.c: Likewise.
8252 * libio/iofopncook.c: Likewise.
8253 * libio/ioseekoff.c: Likewise.
8254 * libio/ioseekpos.c: Likewise.
8255 * libio/oldfileops.c: Likewise.
8256 * libio/iofgetpos.c: Store state of conversion if necessary.
8257 * libio/iofgetpos64.c: Likewise.
8258 * libio/iofsetpos.c: Restore conversion state if necessary.
8259 * libio/iofsetpos64.c: Likewise.
8260 * libio/iofdopen.c: Initialize so that stream can be wide oriented.
8261 * libio/iofopen.c: Likewise.
8262 * libio/iofopen64.c: Likewise.
8263 * libio/iopopen.c: Likewise.
8264 * libio/iovdprintf.c: Likewise.
8265 * libio/iovsprintf.c: Likewise.
8266 * libio/iovsscanf.c: Likewise.
8267 * libio/memstream.c: Likewise.
8268 * libio/obprintf.c: Likewise.
8269 * libio/iofputs.c: Orient stream if not already happened.
8270 * libio/iofputs_u.c: Likewise.
8271 * libio/iofwrite.c: Likewise.
8272 * libio/iofwrite_u.c: Likewise.
8273 * libio/ioputs.c: Likewise.
8274 * libio/iosetbuffer.c: Handle not yet oriented stream.
8275 * libio/iosetvbuf.c: Likewise.
8276 * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
8277 * libio/stdfiles.c: Likewise.
8278 * libio/strops.c (_IO_str_overflow): Correctly free buffer after
8280 (_IO_str_seekoff): Use _IO_off64_t.
8281 * libio/vasprintf.c: Pre-orient stream.
8282 * libio/vsnprintf.c: Likewise.
8283 * libio/fputwc.c: New file.
8284 * libio/fputwc_u.c: New file.
8285 * libio/fwprintf.c: New file.
8286 * libio/fwscanf.c: New file.
8287 * libio/getwc.c: New file.
8288 * libio/getwc_u.c: New file.
8289 * libio/getwchar.c: New file.
8290 * libio/getwchar_u.c: New file.
8291 * libio/iofgetws.c: New file.
8292 * libio/iofgetws_u.c: New file.
8293 * libio/iofputws.c: New file.
8294 * libio/iofputws_u.c: New file.
8295 * libio/iofwide.c: New file.
8296 * libio/iogetwline.c: New file.
8297 * libio/ioungetwc.c: New file.
8298 * libio/iovswscanf.c: New file.
8299 * libio/iowpadn.c: New file.
8300 * libio/oldiofgetpos.c: New file.
8301 * libio/oldiofgetpos64.c: New file.
8302 * libio/oldiofsetpos.c: New file.
8303 * libio/oldiofsetpos64.c: New file.
8304 * libio/putwc.c: New file.
8305 * libio/putwc_u.c: New file.
8306 * libio/putwchar.c: New file.
8307 * libio/putwchar_u.c: New file.
8308 * libio/swprintf.c: New file.
8309 * libio/swscanf.c: New file.
8310 * libio/tst_swprintf.c: New file.
8311 * libio/tst_swscanf.c: New file.
8312 * libio/tst_wprintf.c: New file.
8313 * libio/tst_wscanf.c: New file.
8314 * libio/tst_wscanf.input: New file.
8315 * libio/vswprintf.c: New file.
8316 * libio/vwprintf.c: New file.
8317 * libio/vwscanf.c: New file.
8318 * libio/wfiledoalloc.c: New file.
8319 * libio/wfileops.c: New file.
8320 * libio/wgenops.c: New file.
8321 * libio/wprintf.c: New file.
8322 * libio/wscanf.c: New file.
8323 * libio/wstrops.c: New file.
8324 * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
8325 vfwprintf, and vfwscanf.
8326 * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
8328 * stdio-common/_itowa.c: New file.
8329 * stdio-common/_itowa.h: New file.
8330 * stdio-common/itoa-digits.c: Minimal optimization.
8331 * stdio-common/itowa-digits.c: New file.
8332 * stdio-common/printf-parse.h: Allow use in wide character context.
8333 * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
8334 * stdio-common/printf.h (printf_info): Add wide bit.
8335 * stdio-common/printf_fp.c: Determine from wide bit whether stream
8336 is wide oriented or not.
8337 * stdio-common/printf_size.c: Likewise.
8338 * sysdeps/generic/printf_fphex.c: Likewise.
8339 * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
8340 * stdio-common/vfprintf.c: Rewrite to allow use in wide character
8342 * stdio-common/vfscand.c: Likewise.
8343 * stdio-common/vfwprintf.c: New file.
8344 * stdio-common/vfwscanf.c: New file.
8346 * time/Makefile (routines): Add wcsftime.
8347 (tests): Add tst_wcsftime.
8348 * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
8349 * time/strftime.c: Make usable as wcsftime.
8350 * time/wcsftime.c: New file.
8351 * time/tst_wcsftime.c: New file.
8353 * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
8354 * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
8355 * wcsmbs/wcschrnul.c: New file.
8356 * wcsmbs/wmemcpy.c: New file.
8357 * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
8358 * wcsmbs/wmemmove.c: Likewise for wmemmove.
8360 * manual/stdio.texi: Document is_char and wide element if printf_info.
8362 * manual/time.texi: Document wcsftime.
8364 * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
8365 __wmemmove, __wcschrnul, and __vfwscanf.
8367 * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
8368 * locale/C-time.c: Adapt for above change.
8369 * locale/categories.def: Likewise.
8370 * locale/localeinfo.h: Likewise.
8371 * localedata/Makefile: Don't run tests for now.
8373 * manual/errno.texi: Fix typos.
8374 * manual/memory.texi: Likewise.
8375 * manual/ctype.texi: Likewise.
8376 Patches by Brian Youmans <3diff@gnu.org>.
8378 1999-06-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8380 * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
8382 1999-06-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8384 * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
8386 * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
8387 * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
8389 1999-06-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8391 * db2/db/db.c: Restore __nss_db_open alias.
8392 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
8394 * db2/os/os_rw.c (__os_write): Maintain const correctness.
8395 * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
8397 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
8399 * stdio-common/printf-parse.h (parse_one_spec): Don't set
8400 is_longlong if not necessary.
8402 1999-06-15 H.J. Lu <hjl@gnu.org>
8404 * Make-dist (sysdep_dirs): Exclude SCCS.
8405 * MakeTAGS (sysdep_dirs): Likewise.
8407 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
8409 * posix/regex.c (re_error_msgid): Remove extra commas.
8411 1999-06-14 Geoff Keating <geoffk@ozemail.com.au>
8413 * stdlib/tst-strtoll.c: New file.
8414 * stdlib/Makefile (tests): Add tst-strtoll.c
8415 * stdlib/strtol.c: It is not generally true that if
8416 (unsigned)a*(unsigned)b overflows, then the result is
8419 1999-06-14 Thorsten Kukuk <kukuk@suse.de>
8421 * nscd/connections.c (handle_request): Only root is allowed to
8422 send GETSTAT request in non secure mode.
8423 * nscd/nscd.c: Print error message if other then root try to
8426 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8428 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
8430 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8432 * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
8433 Closes PR libc/1164, reported by sascha@schumann.2ns.de.
8435 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8437 * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
8438 for character to search, to help the compiler.
8439 * sysdeps/generic/strchrnul.c: Likewise.
8440 * sysdeps/generic/memchr.c: Likewise.
8441 * sysdeps/generic/memccpy.c: Likewise.
8442 * sysdeps/generic/rawmemchr.c: Likewise. Fix comment.
8444 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8446 * sysdeps/m68k/memchr.S: New file.
8447 * sysdeps/m68k/rawmemchr.S: New file.
8448 * sysdeps/m68k/strchr.S: New file.
8449 * sysdeps/m68k/strchrnul.S: New file.
8451 1999-06-13 Geoff Keating <geoffk@ozemail.com.au>
8453 * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
8454 add `memory' clobber; optimise for constant `val'.
8455 (atomic_add): Likewise.
8456 (test_and_set): Remove `volatile'; add `memory' clobber; be more
8457 like the original `test_and_set'.
8458 (compare_and_swap): Remove `volatile'; add `memory' clobber;
8459 optimise for constant `oldval'.
8460 (always_swap): Remove `volatile'; add `memory' clobber.
8462 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8464 * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
8465 functions for gcc <= 2.7.x.
8467 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
8469 * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
8472 1999-06-13 Ulrich Drepper <drepper@cygnus.com>
8474 * db2/Makefile (distribute): Remove files which do not exist
8477 * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
8478 definitions to calm down gcc.
8480 * db2/db.h: Update from db 2.7.5.
8481 * db2/db_185.h: Likewise.
8482 * db2/db_int.h: Likewise.
8483 * db2/btree/bt_compare.c: Likewise.
8484 * db2/btree/bt_conv.c: Likewise.
8485 * db2/btree/bt_curadj.c: Likewise.
8486 * db2/btree/bt_cursor.c: Likewise.
8487 * db2/btree/bt_delete.c: Likewise.
8488 * db2/btree/bt_open.c: Likewise.
8489 * db2/btree/bt_page.c: Likewise.
8490 * db2/btree/bt_put.c: Likewise.
8491 * db2/btree/bt_rec.c: Likewise.
8492 * db2/btree/bt_recno.c: Likewise.
8493 * db2/btree/bt_rsearch.c: Likewise.
8494 * db2/btree/bt_search.c: Likewise.
8495 * db2/btree/bt_split.c: Likewise.
8496 * db2/btree/bt_stat.c: Likewise.
8497 * db2/btree/btree_auto.c: Likewise.
8498 * db2/common/db_appinit.c: Likewise.
8499 * db2/common/db_apprec.c: Likewise.
8500 * db2/common/db_err.c: Likewise.
8501 * db2/common/db_region.c: Likewise.
8502 * db2/common/db_salloc.c: Likewise.
8503 * db2/db/db.c: Likewise.
8504 * db2/db/db.src: Likewise.
8505 * db2/db/db_am.c: Likewise.
8506 * db2/db/db_auto.c: Likewise.
8507 * db2/db/db_dispatch.c: Likewise.
8508 * db2/db/db_dup.c: Likewise.
8509 * db2/db/db_iface.c: Likewise.
8510 * db2/db/db_join.c: Likewise.
8511 * db2/db/db_overflow.c: Likewise.
8512 * db2/db/db_pr.c: Likewise.
8513 * db2/db/db_rec.c: Likewise.
8514 * db2/db/db_ret.c: Likewise.
8515 * db2/db185/db185.c: Likewise.
8516 * db2/dbm/dbm.c: Likewise.
8517 * db2/hash/hash.c: Likewise.
8518 * db2/hash/hash_auto.c: Likewise.
8519 * db2/hash/hash_dup.c: Likewise.
8520 * db2/hash/hash_page.c: Likewise.
8521 * db2/hash/hash_rec.c: Likewise.
8522 * db2/hash/hash_stat.c: Likewise.
8523 * db2/include/btree.h: Likewise.
8524 * db2/include/btree_ext.h: Likewise.
8525 * db2/include/clib_ext.h: Likewise.
8526 * db2/include/common_ext.h: Likewise.
8527 * db2/include/db_am.h: Likewise.
8528 * db2/include/db_auto.h: Likewise.
8529 * db2/include/db_cxx.h: Likewise.
8530 * db2/include/db_ext.h: Likewise.
8531 * db2/include/db_join.h: Likewise.
8532 * db2/include/db_page.h: Likewise.
8533 * db2/include/hash.h: Likewise.
8534 * db2/include/hash_ext.h: Likewise.
8535 * db2/include/lock.h: Likewise.
8536 * db2/include/lock_ext.h: Likewise.
8537 * db2/include/log.h: Likewise.
8538 * db2/include/log_ext.h: Likewise.
8539 * db2/include/mp.h: Likewise.
8540 * db2/include/mp_ext.h: Likewise.
8541 * db2/include/os.h: Likewise.
8542 * db2/include/os_ext.h: Likewise.
8543 * db2/include/os_func.h: Likewise.
8544 * db2/include/txn.h: Likewise.
8545 * db2/include/txn_auto.h: Likewise.
8546 * db2/include/txn_ext.h: Likewise.
8547 * db2/include/xa.h: Likewise.
8548 * db2/include/xa_ext.h: Likewise.
8549 * db2/lock/lock.c: Likewise.
8550 * db2/lock/lock_conflict.c: Likewise.
8551 * db2/lock/lock_deadlock.c: Likewise.
8552 * db2/lock/lock_region.c: Likewise.
8553 * db2/lock/lock_util.c: Likewise.
8554 * db2/log/log.c: Likewise.
8555 * db2/log/log_archive.c: Likewise.
8556 * db2/log/log_auto.c: Likewise.
8557 * db2/log/log_findckp.c: Likewise.
8558 * db2/log/log_get.c: Likewise.
8559 * db2/log/log_put.c: Likewise.
8560 * db2/log/log_rec.c: Likewise.
8561 * db2/log/log_register.c: Likewise.
8562 * db2/mp/mp_bh.c: Likewise.
8563 * db2/mp/mp_fget.c: Likewise.
8564 * db2/mp/mp_fopen.c: Likewise.
8565 * db2/mp/mp_fput.c: Likewise.
8566 * db2/mp/mp_fset.c: Likewise.
8567 * db2/mp/mp_open.c: Likewise.
8568 * db2/mp/mp_pr.c: Likewise.
8569 * db2/mp/mp_region.c: Likewise.
8570 * db2/mp/mp_sync.c: Likewise.
8571 * db2/mutex/mutex.c: Likewise.
8572 * db2/mutex/uts4_cc.s: Likewise.
8573 * db2/os/os_abs.c: Likewise.
8574 * db2/os/os_alloc.c: Likewise.
8575 * db2/os/os_config.c: Likewise.
8576 * db2/os/os_dir.c: Likewise.
8577 * db2/os/os_fid.c: Likewise.
8578 * db2/os/os_fsync.c: Likewise.
8579 * db2/os/os_map.c: Likewise.
8580 * db2/os/os_oflags.c: Likewise.
8581 * db2/os/os_open.c: Likewise.
8582 * db2/os/os_rw.c: Likewise.
8583 * db2/os/os_seek.c: Likewise.
8584 * db2/os/os_sleep.c: Likewise.
8585 * db2/os/os_spin.c: Likewise.
8586 * db2/os/os_stat.c: Likewise.
8587 * db2/os/os_tmpdir.c: Likewise.
8588 * db2/os/os_unlink.c: Likewise.
8589 * db2/progs/db_archive/db_archive.c: Likewise.
8590 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
8591 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
8592 * db2/progs/db_dump/db_dump.c: Likewise.
8593 * db2/progs/db_load/db_load.c: Likewise.
8594 * db2/progs/db_printlog/README: Likewise.
8595 * db2/progs/db_printlog/commit.awk: Likewise.
8596 * db2/progs/db_printlog/count.awk: Likewise.
8597 * db2/progs/db_printlog/db_printlog.c: Likewise.
8598 * db2/progs/db_printlog/pgno.awk: Likewise.
8599 * db2/progs/db_printlog/range.awk: Likewise.
8600 * db2/progs/db_printlog/status.awk: Likewise.
8601 * db2/progs/db_printlog/txn.awk: Likewise.
8602 * db2/progs/db_recover/db_recover.c: Likewise.
8603 * db2/progs/db_stat/db_stat.c: Likewise.
8604 * db2/txn/txn.c: Likewise.
8605 * db2/txn/txn.src: Likewise.
8606 * db2/txn/txn_auto.c: Likewise.
8607 * db2/txn/txn_rec.c: Likewise.
8608 * db2/xa/xa.c: Likewise.
8609 * db2/xa/xa_db.c: Likewise.
8610 * db2/xa/xa_map.c: Likewise.
8612 * db2/btree/bt_close.c: Removed.
8613 * db2/db/db_thread.c: Likewise.
8614 * db2/hash/hash_debug.c: Likewise.
8615 * db2/include/db.h.src: Likewise.
8616 * db2/include/db_int.h.src: Likewise.
8617 * db2/include/os_jump.h: Likewise.
8618 * db2/mutex/alpha.dec: Likewise.
8619 * db2/mutex/alpha.gcc: Likewise.
8620 * db2/mutex/parisc.hp: Likewise.
8621 * db2/mutex/uts4.cc.s: Likewise.
8623 * db2/Makefile: Add new routines, remove old for 2.7.5.
8624 * db2/Versions: Add internal function names for the helper programs.
8625 * db2/makedb.c: Update for new cursor callback.
8626 * Versions.def: Define versions for libdb.
8628 1999-06-13 Thorsten Kukuk <kukuk@suse.de>
8630 * nscd/connections.c (nscd_run): Get user ID for all non-db services.
8631 * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
8632 * nscd/nscd_nischeck.c: New file.
8633 * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
8635 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8637 * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
8638 MSG_* flags from Linux 2.2.9.
8640 1999-06-12 Mark Kettenis <kettenis@gnu.org>
8642 * Makeconfig (static-start-installed-name): Set to
8643 $(start-installed-name) if not defined.
8644 (+link-static): Use $(static-start-installed-name) instead of
8645 $(start-installed-name).
8646 * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
8649 1999-06-12 Mark Kettenis <kettenis@gnu.org>
8651 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
8652 inserting a send right into the child instead of unconditionally
8653 copying the send right.
8655 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
8657 * locale/lc-time.c: Add free_mem function to free if necessary
8658 statically allocated memory.
8660 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
8662 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
8663 bias from the raw exponent.
8665 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
8667 * inet/arpa/tftp.h: Move attribute declaration in right position.
8669 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
8671 * nscd/nscd.c: Add -S options for separate caching of data for
8672 every user. So one user couldn't see the data another user
8673 has gotten with his credentials.
8674 * nscd/nscd.h: Add new prototypes.
8675 * nscd/cache.c: Compare owner of cache entry if in secure mode.
8676 * nscd/connections.c: Check on shutdown if caller really was root.
8677 In secure mode get uid of caller.
8678 * nscd/grpcache.c: Add support for new secure group mode.
8679 * nscd/hstcache.c: Add support for new secure hosts mode.
8680 * nscd/pwdcache.c: Add support for new secure passwd mode.
8682 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
8684 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
8685 of user-provided buffer.
8687 1999-06-11 Mark Kettenis <kettenis@gnu.org>
8689 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
8690 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
8692 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
8694 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
8697 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
8698 returning after last entry.
8699 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
8701 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
8703 * misc/sysexits.h: Remove advertising clause of copyright.
8704 * resolv/getnetnamadr.c: Likewise.
8705 * sysdeps/vax/bcopy.s: Likewise.
8706 * sysdeps/vax/bzero.s: Likewise.
8707 * sysdeps/vax/ffs.s: Likewise.
8708 * sysdeps/vax/memchr.s: Likewise.
8709 * sysdeps/vax/memcmp.s: Likewise.
8710 * sysdeps/vax/memmove.s: Likewise.
8711 * sysdeps/vax/memset.s: Likewise.
8712 * sysdeps/vax/strcat.s: Likewise.
8713 * sysdeps/vax/strchr.s: Likewise.
8714 * sysdeps/vax/strcmp.s: Likewise.
8715 * sysdeps/vax/strcpy.s: Likewise.
8716 * sysdeps/vax/strcspn.s: Likewise.
8717 * sysdeps/vax/strlen.s: Likewise.
8718 * sysdeps/vax/strncat.s: Likewise.
8719 * sysdeps/vax/strncmp.s: Likewise.
8720 * sysdeps/vax/strncpy.s: Likewise.
8721 * sysdeps/vax/strpbrk.s: Likewise.
8722 * sysdeps/vax/strrchr.s: Likewise.
8723 * sysdeps/vax/strsep.s: Likewise.
8724 * sysdeps/vax/strspn.s: Likewise.
8725 * sysdeps/vax/strstr.s: Likewise.
8727 * libio/iofopncook.c: Adjust for renaming of structure elements.
8728 * libio/libio.h: Define cookie functions with all the names.
8730 * pwd/fgetpwent_r.c: Set errno in the correct way.
8731 * shadow/fgetspent_r.c: Likewise.
8732 * pwd/fgetpwent.c: Handle long lines correctly. Little
8733 optimizations. Free static buffer when debugging memory handling.
8734 * shadow/fgetspent.c: Likewise.
8736 * grp/fgetgrent.c: Little optimization in loop.
8738 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8740 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
8743 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
8745 * stdlib/longlong.h: gas changed sethi handling when without
8746 %hi(). Fix assembly.
8747 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
8748 port specific cache id checks.
8749 * sysdeps/generic/dl-cache.h: New file.
8750 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
8752 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
8754 * gmon/gmon.c: Remove advertising clause of copyright.
8755 * gmon/mcount.c: Likewise.
8756 * gmon/sys/gmon.h: Likewise.
8757 * inet/arpa/ftp.h: Likewise.
8758 * inet/arpa/telnet.h: Likewise.
8759 * inet/arpa/tftp.h: Likewise.
8760 * inet/inet_lnaof.c: Likewise.
8761 * inet/inet_mkadr.c: Likewise.
8762 * inet/inet_net.c: Likewise.
8763 * inet/inet_netof.c: Likewise.
8764 * inet/protocols/routed.h: Likewise.
8765 * inet/protocols/rwhod.h: Likewise.
8766 * inet/protocols/talkd.h: Likewise.
8767 * inet/protocols/timed.h: Likewise.
8768 * inet/rcmd.c: Likewise.
8769 * inet/rexec.c: Likewise.
8770 * inet/ruserpass.c: Likewise.
8771 * io/fts.c: Likewise.
8772 * io/fts.h: Likewise.
8773 * login/login_tty.c: Likewise.
8774 * misc/fstab.h: Likewise.
8775 * misc/getttyent.c: Likewise.
8776 * misc/getusershell.c: Likewise.
8777 * misc/sys/queue.h: Likewise.
8778 * misc/sys/syslog.h: Likewise.
8779 * misc/syslog.c: Likewise.
8780 * misc/ttyent.h: Likewise.
8781 * misc/ttyslot.c: Likewise.
8782 * resolv/arpa/nameser.h: Likewise.
8783 * resolv/gethnamaddr.c: Likewise.
8784 * resolv/herror.c: Likewise.
8785 * resolv/inet_addr.c: Likewise.
8786 * resolv/mapv4v6addr.h: Likewise.
8787 * resolv/mapv4v6hostent.h: Likewise.
8788 * resolv/nss_dns/dns-host.c: Likewise.
8789 * resolv/nss_dns/dns-network.c: Likewise.
8790 * resolv/res_comp.c: Likewise.
8791 * resolv/res_data.c: Likewise.
8792 * resolv/res_debug.c: Likewise.
8793 * resolv/res_init.c: Likewise.
8794 * resolv/res_mkquery.c: Likewise.
8795 * resolv/res_query.c: Likewise.
8796 * resolv/res_send.c: Likewise.
8797 * resolv/resolv.h: Likewise.
8798 * sysdeps/generic/div.c: Likewise.
8799 * sysdeps/generic/netinet/ip.h: Likewise.
8800 * sysdeps/generic/netinet/tcp.h: Likewise.
8801 * sysdeps/generic/paths.h: Likewise.
8802 * sysdeps/generic/prof-freq.c: Likewise.
8803 * sysdeps/generic/sys/ttydefaults.h: Likewise.
8804 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8805 * sysdeps/gnu/netinet/tcp.h: Likewise.
8806 * sysdeps/ieee754/support.c: Likewise.
8807 * sysdeps/mach/hurd/sys/param.h: Likewise.
8808 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
8809 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8810 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
8811 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8812 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
8813 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
8814 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
8815 * sysdeps/unix/sysv/linux/paths.h: Likewise.
8816 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
8817 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
8818 * sysdeps/vax/DEFS.h: Likewise.
8819 * termios/sys/ttychars.h: Likewise.
8820 * misc/daemon.c: Likewise. Call fork.
8822 * grp/fgetgrent.c (buffer): Make file local variable.
8823 (free_mem): New function. Call for malloc debugging.
8825 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
8827 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8829 * grp/Makefile: Add rules for tst_fgetgrent.
8831 * grp/tst_fgetgrent.c: Rewritten to read only one file.
8833 * grp/tst_fgetgrent.sh: New file.
8835 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
8837 * grp/Makefile (tests): Add tst_fgetgrent.
8838 * grp/tst_fgetgrent.c: New file.
8839 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
8841 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
8843 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
8844 be POSIX compliant. Prior definition was broken for Hurd.
8845 Reported by Mark Kettenis <kettenis@gnu.org>.
8847 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
8849 * ctype/ctype.h: Protect __tobody code by __extension__.
8851 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
8853 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
8854 reading and reset in case the buffer was too small.
8856 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
8859 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8861 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
8862 another SIOGIFNAME typo.
8864 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
8866 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
8868 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
8871 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8873 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
8874 the precision if the mantissa is zero.
8876 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8878 * manual/lang.texi (Floating Point Parameters): GCC already
8879 supports long double for a long time.
8881 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8883 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
8884 yn_test): Increase some epsilons.
8886 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
8888 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
8891 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
8893 * sysdeps/unix/sysv/linux/kernel-features.h: Define
8894 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
8895 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
8896 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
8898 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
8899 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
8900 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
8901 * sysdeps/libm-ieee754/w_j1.c: Likewise.
8902 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
8903 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
8904 * sysdeps/libm-ieee754/w_jn.c: Likewise.
8905 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
8906 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
8908 * stdio-common/vfprintf.c: Correct typos.
8910 * math/libm-test.c (jn_test): Adjust delta.
8911 (y1_test): Likewise.
8912 (yn_test): Likewise.
8914 * elf/do-lookup.h: It should never happen that if we expect a versioned
8915 symbol from a file the file has no version table. This should have
8916 been checked in dl-version.c.
8917 * elf/dl-lookup.c: Include assert.h.
8919 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
8922 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
8924 1999-06-06 Andi Kleen <ak@muc.de>
8926 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
8929 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8931 * math/libm-test.c (yn_test): Change one delta.
8932 (jn_test): Likewise.
8933 (j1_test): Likewise.
8934 (y0_test): Likewise.
8936 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
8938 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
8939 avoid multiple calls to getpagesize() which might be a syscall.
8941 1999-06-06 Philip Blundell <philb@gnu.org>
8943 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
8945 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8947 * manual/install.texi (Running make install): Correct typo in
8948 dynamic linker invocation.
8950 1999-06-05 Philip Blundell <philb@gnu.org>
8952 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
8953 problems with GOT addressing.
8955 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
8957 * malloc/malloc.c (check_action): Change into bitmap so that both
8958 diagnostic and abort can be requested by setting it to 3.
8959 (mALLOC_SET_STATe): Disable malloc checking if necessary.
8961 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
8963 * configure.in: Few changes for HPUX.
8965 * scripts/config.guess: Update from latest version.
8966 * scripts/config.sub: Likewise.
8968 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8970 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
8971 map files. Closes PR libc/1147.
8973 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8975 * math/libm-test.c (main): Add new test functions.
8976 (jn_test): New tests.
8977 (j1_test): Add some more tests.
8978 (j0_test): Add some more tests.
8979 (y0_test): Add some more tests.
8980 (y1_test): Add some more tests.
8982 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8984 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
8985 Patch by mhagger@dera.gov.uk [PR libc/1145].
8987 * math/libm-test.c (y1_test): New tests.
8988 (y0_test): Likewise.
8989 (j1_test): Likewise.
8990 (j0_test): Likewise.
8991 (main): Added new tests.
8993 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
8995 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
8996 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
8997 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
8998 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
8999 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
9000 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
9002 1999-06-02 David S. Miller <davem@redhat.com>
9004 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
9007 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
9009 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
9010 and elide compatibility code if possible.
9012 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
9014 * manual/llio.texi: Remove menu entry for removed section.
9016 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9018 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
9021 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9023 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
9026 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
9028 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
9030 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9032 * manual/stdio.texi: Fix some typos.
9034 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9036 * malloc/malloc.h: Properly handle future GCC versions.
9038 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9040 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
9041 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
9042 text of error message.
9044 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
9046 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
9048 * manual/filesys.texi: Extend (f)truncate documentation.
9049 * manual/llio.texi: Remove duplicate (f)truncate definition.
9051 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9053 * manual/stdio.texi (Formatted Output Functions): Mention
9054 semantics of snprintf in glibc 2.0.
9055 Reported by Ben Pfaff <pfaffben@msu.edu>.
9057 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
9059 * include/features.h (__GLIBC_MINOR__): Bump to 2.
9061 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
9063 * math/libm-test.c: Adjust a few more deltas for the poor ARM
9066 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9068 * configure.in: Fix typo.
9070 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9072 * manual/socket.texi (Host Names): Remove statement that h_errno
9073 needs to be declared since this isn't true anymore.
9074 Closes PR libc/1138.
9076 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
9078 * config.h.in: Add __LINUX_KERNEL_VERSION.
9079 * configure.in: Recognize --enable-kernel.
9080 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
9081 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
9083 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
9084 given perform runtime test.
9086 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
9087 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
9088 minimal supported kernel is known to have the feature.
9089 * sysdeps/unix/sysv/linux/poll.c: Likewise.
9090 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9091 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9092 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9093 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9094 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
9095 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9096 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9097 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9098 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9099 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9100 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
9101 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
9102 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
9103 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
9105 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
9107 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
9109 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
9111 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
9113 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
9114 Optimized sparc64 routines.
9116 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
9118 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
9119 they are the same as ints.
9120 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
9122 * version.h (VERSION): Bump to 2.1.90.
9123 (RELEASE): Mark as development.
9125 * stdio-common/vfprintf.c (vfprintf): Don't implement special
9126 handling for long long if it is the same as long.
9127 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
9129 * stdlib/strtol.c: Moved to ...
9130 * sysdeps/generic/strtol.c: ...here.
9131 * stdlib/strtoul.c: Moved to ...
9132 * sysdeps/generic/strtoul.c: ...here.
9133 * stdlib/strtoll.c: Moved to ...
9134 * sysdeps/generic/strtoll.c: ...here.
9135 * stdlib/strtoull.c: Moved to ...
9136 * sysdeps/generic/strtoull.c: ...here.
9137 * stdlib/strtol_l.c: Moved to ...
9138 * sysdeps/generic/strtol_l.c: ...here.
9139 * stdlib/strtoul_l.c: Moved to ...
9140 * sysdeps/generic/strtoul_l.c: ...here.
9141 * stdlib/strtoll_l.c: Moved to ...
9142 * sysdeps/generic/strtoll_l.c: ...here.
9143 * stdlib/strtoull_l.c: Moved to ...
9144 * sysdeps/generic/strtoull_l.c: ...here.
9146 * sysdeps/wordsize-64/strtol.c: New file.
9147 * sysdeps/wordsize-64/strtoul.c: New file.
9148 * sysdeps/wordsize-64/strtoll.c: New file.
9149 * sysdeps/wordsize-64/strtoull.c: New file.
9150 * sysdeps/wordsize-64/strtol_l.c: New file.
9151 * sysdeps/wordsize-64/strtoul_l.c: New file.
9152 * sysdeps/wordsize-64/strtoll_l.c: New file.
9153 * sysdeps/wordsize-64/strtoull_l.c: New file.
9155 * wcsmbs/wcstol.c: Moved to ...
9156 * sysdeps/generic/wcstol.c: ...here.
9157 * wcsmbs/wcstoul.c: Moved to ...
9158 * sysdeps/generic/wcstoul.c: ...here.
9159 * wcsmbs/wcstoll.c: Moved to ...
9160 * sysdeps/generic/wcstoll.c: ...here.
9161 * wcsmbs/wcstoull.c: Moved to ...
9162 * sysdeps/generic/wcstoull.c: ...here.
9163 * wcsmbs/wcstol_l.c: Moved to ...
9164 * sysdeps/generic/wcstol_l.c: ...here.
9165 * wcsmbs/wcstoul_l.c: Moved to ...
9166 * sysdeps/generic/wcstoul_l.c: ...here.
9167 * wcsmbs/wcstoll_l.c: Moved to ...
9168 * sysdeps/generic/wcstoll_l.c: ...here.
9169 * wcsmbs/wcstoull_l.c: Moved to ...
9170 * sysdeps/generic/wcstoull_l.c: ...here.
9172 * sysdeps/wordsize-64/wcstol.c: New file.
9173 * sysdeps/wordsize-64/wcstoul.c: New file.
9174 * sysdeps/wordsize-64/wcstoll.c: New file.
9175 * sysdeps/wordsize-64/wcstoull.c: New file.
9176 * sysdeps/wordsize-64/wcstol_l.c: New file.
9177 * sysdeps/wordsize-64/wcstoul_l.c: New file.
9178 * sysdeps/wordsize-64/wcstoll_l.c: New file.
9179 * sysdeps/wordsize-64/wcstoull_l.c: New file.
9181 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
9183 * sysdeps/sparc/bits/wordsize.h: New file.
9184 * sysdeps/sparc/fpu/bits/fenv.h: New file.
9185 * sysdeps/sparc/fpu/fpu_control.h: New file.
9186 * sysdeps/sparc/gmp-mparam.h: New file.
9188 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
9189 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
9190 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
9191 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
9192 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
9193 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
9195 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
9196 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
9197 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
9198 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
9200 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
9201 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
9202 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
9203 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
9204 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
9206 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
9208 * login/openpty.c (openpty): Make sure pty does not because
9211 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
9213 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
9215 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
9216 Do proper error return.
9218 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9220 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
9221 of __P in the rest of glibc; define __MALLOC_PMT and use it.
9222 Reported by Stephan Kulow <coolo@kde.org>.
9224 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
9226 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
9228 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
9230 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9232 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
9233 names to protect from user's macro namespace.
9234 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
9235 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
9236 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
9237 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
9238 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
9240 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
9241 sysdeps/arm/fpu/fesetenv.c: Likewise.
9242 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
9243 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
9244 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
9245 * sysdeps/mips/fesetenv.c: Likewise.
9247 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
9249 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
9251 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
9253 * configure.in: Recognize and allow gcc 2.95.
9255 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
9257 * sysdeps/generic/bits/elfclass.h: Version common to
9258 wordsize-32 and wordsize-64.
9259 * sysdeps/generic/bits/environments.h: Ditto.
9260 * sysdeps/generic/stdint.h: Ditto.
9261 * sysdeps/generic/inttypes.h: Ditto.
9263 * sysdeps/generic/bits/wordsize.h: New file.
9264 * stdlib/Makefile: Add bits/wordsize.h to headers.
9266 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
9268 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
9269 headers to be used for 32bit and 64bit ABI compilations.
9270 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
9271 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
9272 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
9273 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
9274 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
9276 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
9277 * sysdeps/wordsize-64/bits/environments.h: Remove.
9278 * sysdeps/wordsize-64/stdint.h: Remove.
9279 * sysdeps/wordsize-64/inttypes.h: Remove.
9280 * sysdeps/wordsize-64/bits/wordsize.h: New file.
9282 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
9283 * sysdeps/wordsize-32/bits/environments.h: Remove.
9284 * sysdeps/wordsize-32/stdint.h: Remove.
9285 * sysdeps/wordsize-32/inttypes.h: Remove.
9286 * sysdeps/wordsize-32/bits/wordsize.h: New file.
9288 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
9290 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
9291 __align_cpy_16): New functions.
9292 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
9294 * sysdeps/sparc/sparc32/Versions: New file.
9295 * sysdeps/sparc/sparc64/Versions: New file.
9296 * sysdeps/sparc/Versions: Remove.
9298 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
9300 * sysdeps/unix/sysv/linux/configure.in:
9301 On sparc64-*-linux*, set slibdir to /lib64 if prefix
9302 is /usr, plus set libdir to ${exec_prefix}/lib64.
9303 * sysdeps/unix/sysv/linux/configure: Regenerated.
9304 * config.make.in: Propagate libdir settings from configure
9306 * shlib-versions: sparc64-*-linux* dynamic linker is
9307 /lib64/ld-linux.so.2.
9309 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
9311 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
9314 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
9316 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
9317 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
9319 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
9320 contains garbage in bits 8-63.
9321 * sysdeps/sparc/sparc64/memset.S: Ditto.
9322 * sysdeps/sparc/sparc64/strchr.S: Ditto.
9324 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
9326 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
9328 1999-05-17 David S. Miller <davem@redhat.com>
9330 * sysdeps/sparc/sparc32/atomicity.h: New file.
9331 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
9332 * sysdeps/sparc/sparc64/atomicity.h: New file.
9333 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
9336 1999-05-18 Richard Henderson <rth@twiddle.net>
9338 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
9340 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
9342 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
9343 posix/sys/types.h: Handle the case of __GNUC__=3,
9344 __GNUC_MINOR__=(anything).
9346 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9348 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
9351 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
9353 * elf/Makefile (distribute): Remove dl-origin.h.
9354 Add dl-dst.h and gen-trusted-dirs.awk.
9356 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9358 * sysdeps/i386/i486/Versions: New file with inline functions from
9359 sysdeps/i386/i486/bits/string.h for now.
9361 * sysdeps/i386/Versions: Add inline functions from
9362 sysdeps/i386/bits/string.h.
9364 * string/Versions: Add inline functions from <bits/string2.h>.
9366 * string/Makefile (routines): Add string-inlines.
9367 * string/string-inlines.c: New file, used for implementation of
9368 extern inline functions.
9370 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
9371 non inlined versions of functions.
9372 * string/bits/string2.h: Likewise.
9373 * sysdeps/i386/bits/string.h: Likewise.
9375 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
9377 * inet/arpa/tftp.h: Add second packed attribute.
9379 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
9381 * malloc/malloc.c: Cleanup to bring in line with released
9382 stand-alone version `ptmalloc'. Update some comments.
9383 (internal_function): Move fallback definition so that the source
9384 compiles outside of libc, and use it in more places.
9385 (malloc_atfork): Fix when malloc_check is in use.
9387 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9389 * stdlib/tst-strtod.c: Fix typo.
9391 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9393 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
9394 const incorrectness.
9396 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
9398 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
9400 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
9402 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
9403 * sunrpc/key_call.c: Fix memory leak, close file handle.
9404 * nis/nis_creategroup.c: Use malloc instead of calloc,
9405 set ctime and mtime.
9406 * nis/nis_subr.c: Check for realloc result.
9407 * nis/nis_file.c: Fix memory leak.
9408 * nis/nis_table.c: Pretty print.
9409 * nis/nis_getservlist.c: Likewise.
9410 * nis/nis_ismember.c: Likewise.
9411 * nis/nis_lookup.c: Likewise.
9412 * nis/nis_ping.c: Likewise.
9413 * nis/nis_removemember.c: Likewise.
9414 * nis/nis_util.c: Likewise, check calloc result.
9416 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
9418 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
9419 * sysdeps/generic/sys/socketvar.h: ... here.
9420 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
9421 * sysdeps/generic/netinet/in_systm.h: ... here.
9422 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
9424 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
9425 * inet/Makefile (headers): Add netinet/in_systm.h here.
9426 * socket/Makefile (headers): Add sys/socketvar.h here.
9428 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
9430 * stdlib/strtol.c: Optimize inner loop of long long versions.
9432 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
9433 Unix98. Add forward declaration of struct utmp.
9435 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
9437 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
9440 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
9441 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
9442 memory allocation results.
9444 1999-05-14 Mark Kettenis <kettenis@gnu.org>
9446 * sysdeps/generic/getutmp.c: Include <string.h>
9447 (getutmp): Rewrite to only copy those members that are really
9448 present in `struct utmp'.
9449 * sysdeps/generic/getutmpx.c: Likewise.
9451 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
9453 * nss/getXXbyYY.c: Add free_mem function which disposes all
9454 statically allocated memory when debugging.
9455 * nss/getXXent.c: Likewise.
9456 * nss/nsswitch.c: Likewise.
9458 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
9460 * sysdeps/gnu/getutmpx.c: New file.
9461 * sysdeps/gnu/getutmp.c: New file.
9463 1999-05-13 H.J. Lu <hjl@gnu.org>
9465 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
9466 (getutmp): Likewise.
9468 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
9471 * sysdeps/gnu/utmpx.h (getutmp): Added.
9472 (getutmpx): Likewise.
9474 * sysdeps/generic/getutmp.c: New file.
9476 * sysdeps/generic/getutmpx.c: New file.
9478 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9480 * glibcbug.in (BUGGLIBC): Change address to
9481 libc-alpha@sourceware.cygnus.com.
9483 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9485 * resolv/arpa/nameser.h: Add C++ protectors.
9487 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9489 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
9490 Elad Tsur <eladts@post.tau.ac.il>.
9492 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
9494 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
9495 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
9496 lazily if LD_BIND_NOW is not set.
9497 * elf/dl-support.c (_dl_lazy): New variable.
9498 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
9499 * elf/rtld.c (_dl_lazy): new global variable.
9500 ( dl_main): Remove lazy, replace it by _dl_lazy.
9502 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9504 * locale/setlocale.c (new_composite_name): Check also whether the
9505 first category name differs.
9507 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9509 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
9512 1999-05-11 Philip Blundell <pb@nexus.co.uk>
9514 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
9515 structure; storage suitable for any socket address.
9516 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
9518 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
9519 sockaddr_storage): Likewise.
9521 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
9524 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
9526 * hesiod/Versions: Change _nss_hesiod_getpwuid and
9527 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
9528 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
9530 1999-05-09 Mark Kettenis <kettenis@gnu.org>
9532 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
9533 if the file is empty.
9535 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
9537 * elf/do-lookup.h: Fix typo in comment.
9539 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
9540 f_bsize to help some broken programs.
9542 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
9544 * stdio-common/vfprintf.c: Fix typo.
9546 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
9548 * elf/link.h (struct link_map): New field l_phdr_allocated.
9549 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
9550 the program header being part of any loaded segment. If it is not
9551 allocate memory and set l_phdr_allocated flag.
9552 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
9554 * nss/digits_dots.c: Correct return value interpretation of
9555 inet_ntoa. Fix PR libc/1109.
9557 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
9559 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
9561 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
9563 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
9564 * stdlib/fpioconst.c: Move #endif before end of struct.
9566 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
9568 * Versions.def (ld.so): Add GLIBC_2.1.1.
9569 * elf/Makefile (routines): Add dl-origin.
9570 (tests): Add origtest. Add dependencies for the program.
9571 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
9572 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
9573 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
9574 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
9575 DT_AUXILIARY, and DT_FILTER filenames.
9576 * elf/dl-load.c (expand_dynamic_string_token): Explode into
9577 two functions and three macros.
9578 (_dl_dst_count, _dl_dst_substitute): New functions.
9579 * elf/dl-dst.h: New file.
9580 * elf/dl-open.c (_dl_open): Take extra parameter with address of
9581 caller. Pass address in args structure.
9582 (dl_open_worker): Recognize and expand DSTs in filename.
9583 * elf/ldsodefs.h (_dl_open): Adapt prototype.
9584 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
9585 (__dlopen_check): Pass caller address to dlopen_doit in args.
9586 * elf/dlopendoit.c: Likewise.
9587 * iconv/gconv_dl.c: Adapt call of _dl_open.
9588 * nss/nsswitch.c: Likewise.
9589 * elf/origtest.c: New file.
9590 * sysdeps/generic/dl-origin.h: Moved to...
9591 * sysdeps/generic/dl-origin.c: ...here.
9592 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
9593 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
9595 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
9596 with specific bases and only few bits set in second word.
9598 * timezone/Makefile (install-others): Create target directory
9599 before creating tzfiles.
9601 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
9603 * nis/nis_file.c (readColdStartFile): Allocate memory only after
9604 the file is opened successfully.
9606 * nis/nis_table.c: Fix some memory leaks.
9608 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
9610 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
9613 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
9614 around DST. Correctly ignore ORIGIN IN SUID binaries.
9616 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
9618 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
9619 * sysdeps/generic/strtok.c: Likewise.
9621 * string/tester.c: Add test of rawmemchr.
9623 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
9624 specification. It's not necessary.
9626 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
9627 * elf/gen-trusted-dirs.awk: New file.
9628 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
9629 from SYSTEM_DIRS macro.
9630 (system_dirs_len): New variable. Contains lengths of system_dirs
9632 (fillin_rpath): Rewrite for systems_dirs being a simple string.
9633 Improve string comparisons. Change parameter trusted to be a flag.
9635 (_dt_init_paths): Improve using new format for system_dirs.
9637 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
9638 $ORIGIN for SUID binaries.
9640 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
9642 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9644 * sunrpc/Makefile: Generate dependencies for all flavors of
9646 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
9649 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9651 * elf/dlopenold.c: Move #if down after includes to get
9654 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9656 * sysdeps/generic/bzero.c: Undefine __bzero.
9658 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
9660 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
9661 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
9662 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
9663 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
9665 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
9666 parameter to struct gaih_servtuple *. Adapt appropriately.
9667 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
9668 This fixes a memory leak.
9669 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
9671 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
9672 and fpregset_t definition. They are defined in ucontext.h.
9674 1999-04-14 Scott Bambrough <scottb@netwinder.org>
9676 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
9677 and struct ether_header must be packed on the ARM. The default
9678 alignment constraints add padding to the end of the structures.
9680 1999-04-14 Scott Bambrough <scottb@netwinder.org>
9682 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
9683 default alignment constraints add padding to the end of the
9684 structure and between members.
9686 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
9688 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
9689 _dl_cache_libcmp instead of strcmp.
9691 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
9693 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
9695 1998-03-30 Joel Klecker <espy@debian.org>
9697 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
9698 (sysdep-others,install-bin): Add lddlibc4.
9700 1999-05-02 H.J. Lu <hjl@gnu.org>
9702 * timezone/zic.c (dolink): Remove the symlink destination first.
9704 * catgets/open_catalog.c (__open_catalog): Set catalog->status
9705 to "nonexisting" if failed to open the file.
9707 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
9709 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
9712 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
9713 Prevent warnings from multiplication with 0x01010101 by another cast.
9715 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9717 * string/bits/string2.h (memset): Revert to previous version if
9718 unaligned writes are not available.
9720 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
9722 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
9723 better code in presence of the asm.
9725 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9727 * stdlib/fmtmsg.c (keywords): Increase array size for faster
9730 * locale/localeinfo.h (_nl_category_names): Increase array element
9731 size for faster indexing.
9732 * locale/setlocale.c (_nl_category_names): Adjusted.
9734 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9736 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
9738 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9740 * sysdeps/m68k/stackinfo.h: New file.
9742 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
9744 * string/tester.c (test_strchrnul): New function.
9745 (test_memset): Test one more special case.
9747 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
9750 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
9753 * string/bits/string2.h: Fix bugs I introduced in last change.
9755 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
9757 Extend memset optimization.
9758 Correct i686 version of memchr.
9760 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
9762 * sysdeps/i386/bzero.c: Add #undef __bzero.
9764 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
9765 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
9766 exec server simulated a SIGTRAP before we even started up, so gdb is
9769 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
9771 * nss/digits_dots.c: Always initialize not_ok.
9773 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
9775 * string/bits/string2.h (memset): Avoid arithmetic overflow at
9776 compile time, which produces obnoxious warnings. If GCCv2 is
9777 in use, map __bzero to __builtin_memset to enable that
9780 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
9782 * string/bits/string2.h: Add more memset optimizations.
9784 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
9786 * resolv/inet_pton.c (inet_pton4): Little optimizations.
9787 (inet_pton6): Likewise.
9789 * nss/getXXbyYY_r.c: Include assert.h.
9790 * nss/getXXbyYY.c: Likewise.
9792 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9794 * termios/tcgetsid.c (tcgetsid): Rename variable to
9795 tiocgsid_does_not_work.
9797 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
9799 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
9801 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9803 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
9804 This allows e.g. gethostbyname to accept "10.1234".
9805 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
9807 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
9808 non quad IPv4 numbers.
9810 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9812 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
9814 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
9816 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
9817 * argp/argp-parse.c (_argp_hang): Likewise.
9818 * argp/argp-pv.c (argp_program_version): Likewise.
9819 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
9820 * inet/ether_hton.c (ether_hton, startp): Likewise.
9821 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
9822 * inet/getnetgrent_r.c (setup, startp): Likewise.
9823 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
9824 * intl/localealias.c (string_space, string_space_act, string_space_max,
9825 nmap, maxmap): Likewise.
9826 * libio/iopopen.c (proc_file_chain): Likewise.
9827 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
9828 * locale/lc-collate.c (__collate_table, __collate_extra,
9829 __collate_element_hash, __collate_element_strings,
9830 __collate_element_values): Likewise.
9831 * malloc/mcheck.c (mcheck_used): Likewise.
9832 * malloc/mtrace.c (added_atexit_handler): Likewise.
9833 * malloc/set-freeres.c (already_called): Likewise.
9834 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
9835 * misc/syslog.c (LogStat, LogTag): Likewise.
9836 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
9837 * nss/getXXbyYY_r.c (startp): Likewise.
9838 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
9839 * posix/regex.c (init_syntax_once) [done]: Likewise.
9841 * string/strfry.c (init): Likewise.
9842 * sunrpc/svc_run.c (svc_top): Likewise.
9843 * posix/euidaccess.c (have_ids): Likewise.
9844 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
9845 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
9846 * time/getdate.c (getdate_err): Likewise.
9847 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
9849 * time/tzset.c (old_tz, is_initialized): Likewise.
9851 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
9852 of static data with zero.
9853 * signal/allocrtsig.c (init): Likewise.
9855 * string/Makefile (routines): Add strchrnul.
9856 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
9857 * string/string.c: Add strchrnul prototype.
9858 * include/string.h: Add __strchrnul prototype.
9859 * sysdeps/generic/strchrnul.c: New file.
9860 * sysdeps/i386/strchrnul.S: New file.
9861 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
9862 * sysdeps/i386/i486/bits/string.c: Likewise.
9863 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
9864 * inet/ether_line.c (ether_line): Likewise.
9865 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
9866 * nss/nsswitch.c (nss_parse_file): Likewise.
9867 * posix/execvp.c (execvp): Likewise.
9868 * posix/fnmatch.c (internal_fnmatch): Likewise.
9869 * resolv/res_hconf.c (_res_hconv_init): Likewise.
9870 * resolv/res_init.c (res_init): Likewise.
9871 * stdlib/fmtmsg.c (init): Likewise.
9872 * stdlib/getsubopt.c (getsubopt): Likewise.
9874 * catgets/catgets.c (catopen): Only allocate one memory block.
9875 (catclose): Only one free call necessary.
9877 * catgets/open_catalog.c (__open_catalog): Simplify handling of
9880 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
9881 of real functions. Simplify _tolower and _toupper.
9883 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
9886 * iconv/gconv.h (struct gconv_info): Change data element from pointer
9888 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
9889 * iconv/gconv_close.c (__gconv_close): Don't free data.
9891 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
9894 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
9895 for error while inserting in tree.
9897 * include/time.h: Pretty print.
9899 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
9900 in table and lots of relocations.
9901 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
9902 string pointers in table and lots of relocations.
9904 * intl/finddomain.c: Remove definition of strchr macro.
9906 * io/ftw.c (nftw_arr, ftw_arr): Make const.
9908 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
9910 * locale/localeinfo.h (_nl_category_names): Change into an array with
9911 fixed width char string elements.
9912 * locale/setlocale.c (_nl_category_names): Likewise.
9913 (_nl_current): Make global.
9914 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
9916 * malloc/Makefile (distribute): Add stackinfo.h.
9917 * sysdeps/generic/stackinfo.h: New file.
9918 * sysdeps/i386/stackinfo.h: New file.
9919 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
9920 * posix/execle.c: Likewise.
9921 * posix/execlp.c: Likewise.
9923 * nis/nis_table.c (__create_ib_request): Always use realloc.
9925 * posix/execvp.c (execute): Rename to script_execute and keep only
9926 code to execute using shell.
9927 (execvp): Call execv directly and only fall back on script_execute.
9929 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
9930 and always use xdigits instead.
9932 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
9935 * stdlib/fpioconst.h (__tens): New declaration.
9936 (struct mp_power): Remove array, add arrayoff element.
9937 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
9938 __tens array and add in _fpioconst_pow10 offsets into __tens.
9939 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
9940 * stdlib/strtod.c: Likewise.
9942 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
9944 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
9946 * stdlib/atexit.c (__exit_funcs): Don't initialize.
9948 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
9950 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
9951 a single and an array with offsets.
9953 * sunrpc/des_soft.c (partab): Make it const.
9955 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
9956 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
9957 (__key_decryptsession_pk_LOCAL): Likewise.
9958 (__key_gendes_LOCAL): Likewise.
9959 (MESSENGER): Mark const.
9960 (key_call_private_main): Don't initialize with 0.
9961 (use_keyenvoy): Don't initialize with 0.
9962 (key_call): Rewrite to reverse logic of use_doors variable.
9964 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
9965 (startp): Don't initialize with zero.
9967 * sunrpc/openchild.c (_openchild): Make first argument const.
9969 * sunrpc/pmap_rmt.c (timeout): Mark const.
9970 * sunrpc/xcrypt.c (hex): Likewise.
9972 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
9973 initialization of global variables.
9974 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
9975 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9976 * termios/tcgetsid.c: Likewise.
9978 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
9981 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
9982 block. Add function to free memory if wanted.
9983 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
9985 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
9987 * wcsmbs/wmemset.c: Little code optimization.
9989 1999-04-23 Paul Eggert <eggert@twinsun.com>
9991 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
9994 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
9996 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
9997 implementation and just always fail with ENOSYS. This entry point is
9998 obsolete. Add link warning to that effect.
10000 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
10002 * hurd/get-host.c: Include <hurd/lookup.h>.
10004 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
10006 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
10009 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10011 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
10012 ISO C9x and Unix98.
10014 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
10016 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
10017 Patch by Peter Miller <millerp@canb.auug.org.au>.
10019 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
10021 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
10022 prefers loopback device.
10024 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
10026 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
10027 no_leading_period change.
10029 * posix/testfnm.c: More test cases.
10031 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
10033 * include/dirent.h: Remove __getdirentries declaration, add __getdents
10035 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
10036 * sysdeps/unix/readdir_r.c: Likewise.
10037 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10038 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
10039 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
10040 __getdirentries. Remove fourth argument.
10041 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
10042 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
10043 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
10044 Add getdirentries and getdirentries64.
10045 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
10047 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
10048 pointer in case of an invalid [[: expression.
10050 * posix/testfnm.c: Add more test cases.
10052 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
10054 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
10055 set, pass EXEC_SIGTRAP flag in exec RPC.
10057 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
10059 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
10060 extra parameter. Fix several more bugs involving wildcard and
10062 (fnmatch): New function. Call internal_fnmatch.
10064 * posix/testfnm.c: More test cases.
10066 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10068 * manual/install.texi (Configuring and compiling): Explain that
10069 files are changed in the source directory.
10070 Closes PR libc/981.
10071 (Configuring and compiling): Explain situation with PARALLELMFLAGS
10072 in the source directory.
10074 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10076 * locale/programs/ld-ctype.c: Spelling fixes.
10077 (ctype_finish): Fix argument of error message format.
10078 * locale/programs/ld-messages.c: Spelling fixes.
10079 * locale/programs/ld-monetary.c: Spelling fixes.
10080 * locale/programs/ld-time.c (time_finish): Make sure that name and
10081 format of era_entries are adjacent.
10082 (time_output): Reduce the size of the io vector.
10084 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10086 * manual/filesys.texi (Attribute Meanings): Move a misplaced
10089 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10091 * locale/programs/ld-collate.c (collate_output): Convert
10092 undefined_offset to an array index. Fix computation of other
10093 endian extra table.
10095 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
10097 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
10098 return success with empty value.
10100 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
10102 * posix/fnmatch.c: Include string.h also for glibc.
10103 (fnmatch, case '?'): Optimize if cascades a bit.
10104 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
10106 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
10108 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
10110 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
10111 * iconv/gconv_int.h: Declare UTF16 functions.
10112 * iconv/gconv_simple.c: Add UTF16 conversion functions.
10114 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10116 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
10117 be used correctly as parameter for parse_dollars/parse_tilde.
10119 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10121 * manual/conf.texi (Utility Limits): Remove duplicate description
10124 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
10126 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
10127 outbufend for dst==NULL.
10129 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
10131 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
10133 Fixes PR libc/1084.
10135 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
10136 Fixes PR libc/1083.
10138 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
10140 * sunrpc/Makefile: Remove special handling of bootparam.x,
10141 add rpcsvc/bootparam.h to headers.
10142 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
10143 * sunrpc/rpcsvc/bootparam.x: Renamed to...
10144 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
10146 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
10148 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
10149 detect and handle invalid descriptors.
10151 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
10153 * timezone/zic.c (dolink): Append complete path not only filename
10156 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10158 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
10160 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
10162 * iconvdata/gconv-modules: Rename CP874 to IBM874.
10163 * iconvdata/Makefile: Likewise.
10164 * iconvdata/cp874.h: Removed.
10165 * iconvdata/cp874.c: Renamed to...
10166 * iconvdata/ibm874.c: ...this.
10168 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
10170 * sysdeps/unix/sysv/linux/bits/types.h: Correct
10171 signed/unsigned-ness of blkcnt and fsblkcnt.
10172 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10173 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
10175 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
10176 SOL_AAL, and SOL_IRDA.
10178 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10180 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
10181 include "linux_fsinfo.h".
10182 Based on a patch by H.J. Lu <hjl@gnu.org>.
10184 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
10186 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
10188 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
10190 * nscd/cache.c (prune_cache): Only disable file checking for
10191 future if the file does not exist.
10192 Update file_mtime if cache was flushed.
10194 1999-04-15 David S. Miller <davem@redhat.com>
10196 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
10197 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
10199 1999-04-15 Scott Bambrough <scottb@netwinder.org>
10201 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
10202 compilation of file.
10204 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
10206 * Versions.def: Add GLIBC_2.1.1 to libpthread.
10208 * iconvdata/Makefile (modules): Add KOI8-U.
10209 (distribute): Add koi8-u.c.
10210 (gen-8bit-gap-modules): Add koi8-u.
10211 * iconvdata/gconv-modules: Add KOI8-U entries.
10212 * iconvdata/koi8-u.c: New file.
10214 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
10216 * sunrpc/auth_des.c: 64bit fixes, security fixes.
10217 * sunrpc/auth_none.c: Pretty print.
10218 * sunrpc/auth_unix.c: Likewise.
10219 * sunrpc/authdes_prot.c: Likewise.
10220 * sunrpc/authuxprot.c: Likewise.
10221 * sunrpc/bindrsvprt.c: Likewise.
10222 * sunrpc/clnt_gen.c: Likewise.
10223 * sunrpc/rpc/xdr.h: Likewise.
10224 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
10225 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
10226 * sunrpc/rtime.c: Use new rpc_timeval.
10227 * sunrpc/svc_authux.c: Don't use *long pointers.
10228 * sunrpc/svcauth_des.c: Likewise + security fixes.
10229 * sunrpc/xdr_mem.c: Don't use *long pointers.
10230 * sunrpc/xdr_rec.c: Likewise.
10231 * sunrpc/xdr_sizeof.c: Likewise.
10232 * sunrpc/xdr_stdio.c: Likewise.
10234 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
10236 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
10237 so that it is redone for each sending.
10239 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10241 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
10243 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
10245 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
10246 known to not exist don't try to load shared objects.
10247 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
10249 * nscd/cache.c (prune_cache): The table might not be unused. In
10250 this case do nothing.
10252 * catgets/gencat.c (read_input_file): Don't drop white spaces
10253 between number/identifier and string.
10254 Patch by Dima Barsky <dima@pwd.hp.com>.
10255 If no white space at all follows number/identifier remove existing
10256 message with the number/identifier.
10258 1999-04-14 H.J. Lu <hjl@gnu.org>
10260 * sunrpc/clnt_udp.c (is_network_up): New function.
10261 (clntudp_call): Call is_network_up () to check if any network
10262 interface is up in case of timeout.
10264 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10266 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
10267 * wctype/Makefile (tests): Add test_wcfuncs.
10269 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
10271 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
10273 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
10275 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
10276 instead of CFLAGS. For gnulib and string directories use
10277 -Wa,-Av9a gcc ASFLAGS.
10278 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
10279 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
10280 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
10281 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
10282 the same way as sparc-*.
10284 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
10286 * locale/programs/locfile.c (locfile_read): Fix typo.
10287 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
10289 1999-04-14 Scott Bambrough <scottb@netwinder.org>
10291 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
10292 restarted after being interrupted by a signal. The parameters on
10293 the stack were corrupted by the signal handler.
10295 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
10296 restarted after being interrupted by a signal. The parameters on
10297 the stack were corrupted by the signal handler.
10299 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10301 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
10302 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
10304 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
10306 * posix/wordexp-test.c: In field-splitting test cases where
10307 subshells were involved, unset IFS first: some shells (ash) use
10308 IFS even when no expansion is performed.
10310 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10312 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
10313 the real end of the chunk, not some random point inbetween.
10314 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
10315 obstack when growing. Use fast version of obstack_blank when
10317 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
10318 allocating the vtable pointer.
10319 (_IO_obstack_vprintf): Adjust for above change and avoid
10320 unnecessary casts. Use fast version of obstack_blank when
10322 Fixes PR libc/1075.
10324 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
10326 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
10327 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
10329 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
10331 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
10332 is seen, as well as fixing semantics. Don't reset the word count
10333 to zero when an invalid character is seen, but leave it as it was
10334 (this makes a difference with WRDE_APPEND).
10336 * posix/wordexp-test.c: More test cases.
10338 * posix/wordexp.c (parse_param): In words like ${var#pattern},
10339 always expand pattern when it is needed. Also, handle quoting in
10342 1999-04-12 Philip Blundell <philb@gnu.org>
10344 * elf/elf.h: Update ARM definitions to match current gas2.
10346 * sysdeps/arm/bits/endian.h: Support big endian operation.
10348 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
10349 Don't bother range checking the port number.
10351 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
10353 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
10354 the syscall name in assembler output for ease of debugging.
10356 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
10357 compiler behaviour.
10358 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
10359 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
10360 (sysdep_routines): Add sigrestorer.
10362 * string/tester.c (test_strcpy): Add new tests for unaligned
10364 * sysdeps/arm/bits/string.h: Delete inline implementations of
10367 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
10369 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
10371 1999-04-10 Mark Kettenis <kettenis@gnu.org>
10373 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
10375 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
10377 * iconvdata/Makefile (modules): Add TIS-620.
10378 (distribute): Add tis-620.c.
10379 (gen-8bit-gap-modules): tis-620.
10380 * iconvdata/tis-620.c: New file.
10381 * iconvdata/gconv-modules: Add TIS-620 entries.
10383 * iconvdata/asmo_449.c: Correct comment.
10385 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10387 * manual/install.texi (Configuring and compiling): Comment out
10388 description of --disable-static since this doesn't work currently
10389 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
10391 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
10393 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
10395 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
10397 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10399 * scripts/test-installation.pl (installation_problem): Skip
10400 libnss1_* libraries from glibc-compat add-on.
10402 1999-04-07 H.J. Lu <hjl@gnu.org>
10404 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
10406 * posix/Versions (__waitpid): Likewise.
10408 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10410 * manual/install.texi (Reporting Bugs): Add section about reported
10411 bugs and correct email address of glibcbug script.
10413 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
10415 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
10416 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
10417 xdr_u_longlong_t. Based on patch from Dan Shechter
10418 <damageboy@isdn.net.il>.
10419 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
10420 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
10422 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
10424 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10426 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
10427 directly if getdents returns with error set.
10429 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10431 * locale/langinfo.h (THOUSEP): Rename second occurence of
10432 THOUSANDS_SEP to THOUSEP.
10433 Reported by Roman Belenov <roman@nstl.nnov.ru>.
10435 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
10437 * hurd/STATUS: File removed. Moved items that are still relevant into
10438 TODO list in hurd source.
10440 1999-03-26 Mark Kettenis <kettenis@gnu.org>
10442 * sysdeps/mach/hurd/bits/time.h: New file.
10443 * sysdeps/mach/hurd/getrusage.c: New file.
10444 * sysdeps/mach/hurd/clk_tck.c: New file.
10445 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
10446 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
10447 (sysdep_routines): Add clk_tck.
10448 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
10451 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
10453 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
10454 (closelog): But instead here.
10455 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
10457 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10459 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
10460 the source directory. Fixes PR libc/1059.
10462 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10464 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
10465 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10467 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
10469 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
10470 * iconvdata/testdata/ISO-8859-14: New file.
10471 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
10472 * iconvdata/testdata/ISO-8859-15: New file.
10473 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
10475 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
10477 * iconvdata/testdata/CP1258: New file.
10478 * iconvdata/testdata/CP1258..UTF8: New file.
10479 * iconvdata/TESTS: Add CP1258 entry.
10481 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
10483 * timezone/africa: Update from tzdata1999d.
10484 * timezone/europe: Likewise.
10485 * timezone/northamerica: Likewise.
10487 1999-03-31 Mark Kettenis <kettenis@gnu.org>
10489 * login/programs/pt_chown.c (main): Save effective user ID before
10490 dropping priviliges and use this to check if the program is
10491 properly installed.
10493 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
10495 * iconvdata/testdata/CP1254: Update for charmap changes.
10496 * iconvdata/testdata/CP1254..UTF8: Likewise.
10497 * iconvdata/testdata/CP1255: Likewise.
10498 * iconvdata/testdata/CP1255..UTF8: Likewise.
10499 * iconvdata/testdata/CP1256: Likewise.
10500 * iconvdata/testdata/CP1256..UTF8: Likewise.
10501 * iconvdata/testdata/CP1257: Likewise.
10502 * iconvdata/testdata/CP1257..UTF8: Likewise.
10504 * iconvdata/Makefile (distribute): Remove cp1258.h.
10505 (gen-8bit-gap-modules): Add cp1258.
10506 * iconvdata/cp1258.h: Removed.
10508 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
10510 * timezone/tst-timezone.c (tests): Add more cases.
10511 (check_tzvars): Mark errors clearer.
10514 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
10516 * login/programs/pt_chown.c: Drop privileges if invoked with
10517 arguments. Don't close the master pty.
10519 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
10521 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
10522 Minor optimization.
10524 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
10526 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
10527 relocation for SUID binaries.
10529 1999-03-29 Paul Eggert <eggert@twinsun.com>
10531 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
10532 while in child process.
10534 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
10536 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
10537 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
10538 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
10539 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
10540 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
10542 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
10543 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
10544 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
10545 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
10546 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
10547 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
10548 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
10549 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
10550 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
10551 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
10552 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
10553 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
10554 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
10555 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
10556 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
10557 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
10558 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
10559 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
10560 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
10561 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
10562 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
10563 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
10564 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
10565 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
10566 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
10567 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
10569 * sysdeps/sparc/sparc32/bcopy.c: New file.
10570 * sysdeps/sparc/sparc32/bzero.c: New file.
10571 * sysdeps/sparc/sparc32/memchr.S: New file.
10572 * sysdeps/sparc/sparc32/memcpy.S: New file.
10573 * sysdeps/sparc/sparc32/memmove.c: New file.
10574 * sysdeps/sparc/sparc32/memset.S: New file.
10575 * sysdeps/sparc/sparc32/stpcpy.S: New file.
10576 * sysdeps/sparc/sparc32/strchr.S: New file.
10577 * sysdeps/sparc/sparc32/strrchr.c: New file.
10578 * sysdeps/sparc/sparc32/strcpy.S: New file.
10579 * sysdeps/sparc/sparc32/strlen.S: New file.
10580 * sysdeps/sparc/sparc32/strcat.S: New file.
10581 * sysdeps/sparc/sparc32/strcmp.S: New file.
10583 * sysdeps/sparc/sparc64/bcopy.c: New file.
10584 * sysdeps/sparc/sparc64/bzero.c: New file.
10585 * sysdeps/sparc/sparc64/memchr.S: New file.
10586 * sysdeps/sparc/sparc64/memcmp.S: New file.
10587 * sysdeps/sparc/sparc64/memcpy.S: New file.
10588 * sysdeps/sparc/sparc64/memset.S: New file.
10589 * sysdeps/sparc/sparc64/stpcpy.S: New file.
10590 * sysdeps/sparc/sparc64/strcat.S: New file.
10591 * sysdeps/sparc/sparc64/strchr.S: New file.
10592 * sysdeps/sparc/sparc64/strcmp.S: New file.
10593 * sysdeps/sparc/sparc64/strcpy.S: New file.
10594 * sysdeps/sparc/sparc64/strcspn.S: New file.
10595 * sysdeps/sparc/sparc64/strlen.S: New file.
10596 * sysdeps/sparc/sparc64/strncpy.S: New file.
10597 * sysdeps/sparc/sparc64/strpbrk.S: New file.
10598 * sysdeps/sparc/sparc64/strrchr.c: New file.
10599 * sysdeps/sparc/sparc64/strspn.S: New file.
10600 * sysdeps/sparc/sparc64/stpncpy.S: New file.
10601 * sysdeps/sparc/sparc64/strncmp.S: New file.
10603 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
10604 Append -fPIC, don't replace.
10606 * configure.in: Recognize sparcv8plus / sparcv9.
10608 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10610 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
10611 char * to avoid C++ warning.
10612 Patch by yasushi@cs.washington.edu [PR libc/1035].
10614 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10616 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
10617 declared in stdlib.h, correct return value of mkstemp.
10618 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
10620 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
10623 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10625 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
10628 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
10629 inline functions. Closes PR libc/1049.
10631 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10633 * timezone/README: Update from tzdata1999c and tzcode1999c.
10635 * timezone/africa: Update from tzdata1999c.
10636 * timezone/antarctica: Likewise.
10637 * timezone/asia: Likewise.
10638 * timezone/australasia: Likewise.
10639 * timezone/europe: Likewise.
10640 * timezone/northamerica: Likewise.
10641 * timezone/southamerica: Likewise.
10642 * timezone/zone.tab: Likewise.
10644 * timezone/zic.c: Update from tzcode1999c.
10646 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10648 * Makerules: Add $(common-objpfx)Versions.all to common-generated
10649 outside of ifndef avoid-generated.
10651 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
10653 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
10655 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
10657 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
10658 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
10660 1999-03-26 Mark Kettenis <kettenis@gnu.org>
10662 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
10663 if we build the profiled library.
10665 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10667 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
10668 Jaeger <aj@arthur.rhein-neckar.de>
10670 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
10672 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
10673 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
10674 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
10676 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
10678 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
10679 works properly in subdirs.
10681 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
10683 * sysdeps/mach/hurd/Makefile: Undo last change.
10684 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
10685 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
10687 * mach/Machrules (+preinit, +postinit, +interp,
10688 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
10689 linked just like other shared libraries.
10690 (interface.so): Fix typo in defn, so it works.
10691 ($(objpfx)$(interface.so)): Make it depend on libc.so.
10693 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
10695 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
10696 $(link-rpcuserlibs).
10698 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10700 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
10701 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
10702 targets if not building shared libraries.
10704 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10706 * configure.in: Also look in $PATH when searching for
10707 install-info. Remove autoconf bug workaround and require autoconf
10710 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10712 * db/Makefile: Don't try to install shared library link if not
10713 building with shared libs.
10715 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10717 * rt/Makefile: Link against static library if no shared lib is
10720 * localedata/Makefile: The shells scripts implementing the test
10721 require the dynamic linker which is not available with
10722 --disable-shared. Skip the test if --disable-shared is given.
10724 * linuxthreads/Makefile: Link test against static libpthread if no
10725 shared lib is available.
10727 * iconvdata/Makefile (tests): Run iconv-test only if we're
10728 building shared libraries.
10729 * elf/Makefile (tests): Likewise for elf tests.
10731 * posix/Makefile: The test frameworks globtest and wordexp-test
10732 require the dynamic linker which is not available with
10733 --disable-shared. Skip the test if --disable-shared is given.
10735 * grp/Makefile (otherlibs): For static nss build link against
10738 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10740 * debug/Makefile (install-bin): Install and build catchsegv only
10741 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
10744 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10746 * time/tzfile.c (__tzfile_read): Handle the case where there are
10747 transitions but no DST.
10749 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
10751 * mach/Machrules (extra-libs-others): Add $(interface-library) here
10752 too, so it gets built in the others pass rather than the lib pass.
10753 This is necessary since the RPC libraries need to be linked against
10756 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
10758 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
10761 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
10762 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
10763 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
10764 versions of lib{mach,hurd}user.so without reference to libc.so,
10765 then link libc.so against that to get deps and symbol versions, then
10766 finally link real lib*user.so against libc.so.
10768 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
10769 Support whole-file locking (only) by using the file_lock RPC. This
10770 has very wrong semantics, but is better than nothing for the time
10771 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
10772 protocols that will be somewhat hairy to specify.)
10774 1999-03-17 Mark Kettenis <kettenis@gnu.org>
10776 * sysdeps/mach/hurd/ptsname.c: New file.
10778 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10780 * timezone/asia: Fix rule in Asia/Nicosia entry.
10782 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10784 * manual/getopt.texi (Using Getopt): Explain "::" in option
10785 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
10787 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
10789 * sunrpc/clnt_unix.c: Fix creation of parameters for
10790 sendmsg/recvmsg on non intel platforms.
10791 * sunrpc/svc_unix.c: Likewise.
10793 1999-03-18 Philip Blundell <philb@gnu.org>
10795 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
10798 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10800 * timezone/africa: Update from tzdata1999b.
10801 * timezone/asia: Likewise.
10802 * timezone/australasia: Likewise.
10803 * timezone/europe: Likewise.
10804 * timezone/northamerica: Likewise.
10805 * timezone/southamerica: Likewise.
10806 * timezone/zone.tab: Likewise.
10808 * timezone/README: Mention tzdata1999b.
10810 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
10812 * sysdeps/generic/segfault.c (write_strsignal): New function.
10813 (catch_segfault): Use it instead of calling strsignal.
10815 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10817 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
10818 char to avoid warning.
10820 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
10822 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
10824 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
10825 outbuf to unsigned char to avoid warning.
10827 1999-03-11 David S. Miller <davem@redhat.com>
10829 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
10831 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
10833 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
10835 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
10837 (gconv_step_data): Likewise.
10838 * iconv/gconv_int.h (__gconv): Likewise.
10839 (__BUILINT_TRANS): Likewise.
10840 * iconv/gconv.c (__gconv): Likewise.
10841 * iconv/iconv.c (iconv): Add casts for call of __gconv.
10842 * iconv/skeleton.c: Change local parameters and variable from `char' to
10843 `unsigned char'. Remove casts from calls into modules.
10844 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
10845 `char' to `unsigned char'.
10846 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
10847 * wcsmbs/mbrtowc.c: Likewise.
10848 * wcsmbs/mbsnrtowcs.c: Likewise.
10849 * wcsmbs/mbsrtowcs.c: Likewise.
10850 * wcsmbs/wcrtomb.c: Likewise.
10851 * wcsmbs/wcsnrtombs.c: Likewise.
10852 * wcsmbs/wcsrtombs.c: Likewise.
10853 * wcsmbs/wctob.c: Likewise.
10855 1999-03-15 Mark Kettenis <kettenis@gnu.org>
10857 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
10858 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
10859 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
10860 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
10861 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
10862 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
10864 1999-03-15 Mark Kettenis <kettenis@gnu.org>
10866 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
10867 _hurd_select if TIMEMOUT is -1.
10869 1999-03-15 Mark Kettenis <kettenis@gnu.org>
10871 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
10873 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
10875 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
10876 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
10878 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10880 * manual/libc.texinfo: Undo last change for now.
10882 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
10884 * intl/locale.alias: Add entries for Croatian.
10885 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
10887 1999-03-13 Mark Kettenis <kettenis@gnu.org>
10889 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
10890 if the opened master pty really is a pty. `isatty' checks for
10891 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
10892 if we are out of pty's.
10894 1999-03-13 Mark Kettenis <kettenis@gnu.org>
10896 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
10897 opened file is closed on exec.
10898 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
10901 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10903 * manual/llio.texi (File Position Primitive): Reformat @end
10904 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
10906 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
10908 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
10910 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10911 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
10913 * locale/programs/localedef.c (main): Initialize `cat' to please
10916 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
10918 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
10919 check for root-owned symlinks and reject them too.
10921 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10923 * stdio-common/printf_fphex.c: Move to ...
10924 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
10925 extended precision number.
10926 * sysdeps/m68k/printf_fphex.c: New file.
10928 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10930 * manual/stdio.texi: Fix typos.
10932 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
10934 * version.h (VERSION): Bump to 2.1.1.
10936 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
10938 * nis/ypclnt.c: Try only twice to connect to NIS server.
10940 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
10942 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
10944 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10946 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
10947 (DENORM_EXP): New define. Use it as the exponent for a denormal.
10948 * stdlib/strtold.c: Moved to ...
10949 * sysdeps/generic/strtold.c: ... here.
10950 * sysdeps/m68k/strtold.c: New file.
10952 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10954 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
10955 point if the precision is zero, even if the mantissa is non-zero.
10957 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
10959 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
10960 arguments into the request message buffer inside `send_rpc'
10961 subfunction. We must repeat the marshalling when retrying the RPC
10962 after a SIGTTOU delivery.
10964 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
10965 path when there is no ctty port.
10966 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
10967 Move sigstate check inside loop so we recheck after handling a signal.
10969 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10971 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
10972 O_EXLOCK are BSD extensions.
10973 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
10975 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
10977 * manual/signal.texi (Termination in Handler): Correct example.
10978 Install default handler before reraising the signal.
10979 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
10981 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
10983 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
10984 null, in which case send an empty string.
10986 1999-03-02 Mark Kettenis <kettenis@gnu.org>
10988 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
10989 backward compatibility EH functions to be linked when using
10990 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
10992 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10994 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
10995 /dev/pts status may change during runtime.
10997 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10999 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
11000 change. /dev/pts status can change during runtime.
11002 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
11004 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
11005 poll reports error.
11006 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
11007 add some more sanity checks.
11008 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
11011 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
11013 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
11014 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
11015 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
11016 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
11017 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
11019 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
11020 * nis/nis_print.c: Fix ctime argument for platforms where
11021 sizeof (time_t) != sizeof (int).
11023 1999-03-07 Mark Kettenis <kettenis@gnu.org>
11025 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
11026 CLOCKS_PER_SEC instead of CLK_TCK.
11028 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
11030 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
11031 whether /dev/pts is available.
11032 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
11035 * posix/globtest.sh: Make common_objpfx path absolute and and db2
11036 and hesiod directory to library path [PR libc/1007].
11038 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11040 * resolv/inet_addr.c (inet_aton): Don't allow componets >
11041 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
11043 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
11045 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
11046 DT_PLTGOT has already been relocated.
11047 (__elf_machine_fixup_plt): Likewise.
11050 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
11052 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
11054 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
11056 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
11057 and fold string to uppercase [PR libc/1005].
11059 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11061 * elf/dl-load.c (lose): Fix return type.
11063 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
11065 * sysdeps/mach/hurd/bits/fcntl.h
11066 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
11067 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
11068 set O_NOTRANS as well.
11069 (__hurd_file_name_lookup_retry): At successful end of lookup,
11070 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
11071 it is a translated node not owned by root.
11072 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
11073 on the file name passed to LOOKUP.
11075 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
11077 * manual/time.texi (High Resolution Timer): Correct computation in
11078 example. Reported by jjf@devel.cemsys.com.
11080 1999-03-02 Philip Blundell <pb@nexus.co.uk>
11082 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
11083 entry is already relocated.
11085 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11087 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
11088 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
11090 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11092 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
11093 uc_link which is the right name according to Unix98.
11094 Reported by Craig Metz [PR libc/1001].
11095 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
11096 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
11097 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
11098 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
11099 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise.
11100 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
11102 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11104 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
11107 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11109 * iconvdata/Makefile: Always include iconv-rules, but disable rule
11110 to regenerate it if avoid-generated.
11112 * Makeconfig: Always include sys-dirs, but disable rule to
11113 regenerate it when avoid-generated.
11115 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
11116 rule to generate sysd-syscalls.
11118 * elf/Makefile (generated): Remove $(objpfx) from names.
11120 1999-02-28 Mark Kettenis <kettenis@gnu.org>
11122 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
11123 actual length if the adress length is smaller than the input
11124 value. Change type of *LEN paramater to socklen_t.
11125 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
11126 * sysdeps/mach/hurd/accept.c (accept): Likewise.
11127 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
11128 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
11129 paramater to socklen_t.
11131 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
11133 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
11134 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
11137 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
11139 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
11140 __get_phys_pages): Cast &HBI to silence warning.
11142 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
11143 * hurd/hurdchdir.c: New file.
11144 * hurd/hurdfchdir.c: New file.
11145 * sysdeps/mach/hurd/chroot.c: Call
11146 _hurd_change_directory_port_from_name to do the work.
11147 * sysdeps/mach/hurd/chdir.c: Likewise.
11148 * sysdeps/mach/hurd/fchdir.c: Call
11149 _hurd_change_directory_port_from_fd to do the work.
11150 * hurd/fchroot.c: Likewise.
11151 * hurd/hurd.h: Declare them.
11153 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
11155 * elf/dl-load.c (lose): Add more comments to explain the `why'.
11156 (_dl_map_object): Remove redundant test.
11158 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
11160 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
11161 try to _hurd_port_free a lower-numbered descriptor that was not in any
11164 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11166 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
11167 declaration for ____wcstod_l_internal.
11169 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
11170 __strtod_internal prototype.
11171 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
11172 (____strtold_l_internal): Add prototype declaration.
11173 (__strtold_l): Call correct function.
11175 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
11177 * elf/elf.h: Add 32bit HPPA definitions.
11179 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11181 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
11182 non-checked heap is restored when malloc checking was requested by
11184 (struct malloc_state): Add using_malloc_checking.
11185 (MALLOC_STATE_VERSION): Increment minor.
11186 (using_malloc_checking, disallow_malloc_check): New variables.
11187 (__malloc_check_init): Use them.
11188 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
11189 that it can the chunk is properly instrumented when malloc
11190 checking is enabled. Set the new using_malloc_checking field.
11191 (malloc_hook_ini): Correct signature when _LIBC is not defined.
11193 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11195 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
11196 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
11199 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
11200 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
11201 if ld.so is the main program.
11203 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
11205 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
11206 large for work_buffer, allocate new buffer.
11207 (printf_unknown): Likewise. [PR libc/988]
11209 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
11211 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
11212 instead of stat and fstat.
11213 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11215 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11217 * elf/dl-error.c (_dl_signal_cerror): New function.
11218 (_dl_signal_error): Don't call receiver function.
11219 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
11220 instead of _dl_signal_error when reporting references to undefined
11221 symbols or versions.
11222 (_dl_lookup_versioned_symbol): Likewise.
11223 (_dl_lookup_versioned_symbol_skip): Likewise.
11224 * elf/dl-version.c (match_symbol): Likewise.
11226 * elf/ldsodefs.h: Declare _dl_signal_cerror.
11228 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
11230 * misc/getttyent.c (getttyent): Release lock on stream later to
11231 also protect global variable zapchar.
11233 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
11234 __times [PR libc/990].
11236 1999-02-21 David S. Miller <davem@redhat.com>
11238 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
11239 parentheses in Feb 2 changes.
11240 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
11242 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11244 * sysdeps/generic/glob.c (glob): Save previous errno.
11246 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
11248 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
11249 lookup functions if it is too small.
11251 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
11253 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
11254 for tracing to the scope lists.
11255 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
11256 DT_SYMTAB is always available according to ELF spec.
11258 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
11259 call test whether there is any scope left.
11260 (_dl_lookup_versioned_symbol_skip): Likewise.
11262 * elf/Makefile (distribute): Add do-lookup.h.
11263 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
11264 * elf/dl-lookup.c: Move do_lookup function in separate file and
11265 include the file twice, for handling versioning and without it.
11267 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
11268 entry is already relocated.
11269 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
11270 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
11271 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
11272 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
11274 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
11276 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
11279 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
11280 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
11281 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
11282 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
11283 rel and rela relocations can both happen and skip one test if this
11285 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
11287 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
11289 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
11291 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
11292 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
11293 (_dl_map_object): DT_STRTAB entry is already relocated.
11294 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
11296 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
11298 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
11299 DT_VERSYM entries are already relocated.
11300 (profile_fixup): Likewise.
11301 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
11303 (match_symbol): DT_STRTAB entry is already relocated.
11304 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
11305 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
11306 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
11307 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
11308 (find_needed): DT_STRTAB entry is already relocated.
11309 (dl_main): Pass extra argument to elf_get_dynamic_info.
11310 DT_STRTAB entry is already relocated.
11311 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
11312 DT_PLTGOT entries are already relocated.
11313 (elf_machine_rela): Likewise for DT_SYMTAB.
11314 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
11316 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11317 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
11318 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11319 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11320 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
11321 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
11322 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
11323 * sysdeps/mips/mips64/dl-machine.h: Likewise.
11325 * grp/initgroups.c (initgroups): If function in current module was
11326 successful don't stop but continue to process to get all the groups.
11328 * elf/dl-load.c (_dl_map_object_from_fd): Use global
11329 _dl_pf_to_proot array to convert p_flags value.
11330 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11332 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
11333 loop to clear `info'.
11335 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
11336 do the work and don't use inline assembler.
11338 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
11340 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
11341 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
11342 noreturn, and prevent it from being inlined.
11343 Define LOSE appropriately.
11344 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
11345 Optimize decoding of p_flags for certain platforms.
11347 1999-02-19 Philip Blundell <pb@nexus.co.uk>
11349 * Makeconfig (link-libc): When doing a static link, make sure that
11350 libgcc.a is included both before and after libc.a.
11352 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
11354 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
11355 sp_warn, sp_inact, sp_expire and sp_flag.
11357 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
11359 * elf/link.h (link_map): Add l_dev and l_ino.
11360 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
11361 loaded shared object with all loaded objects. Initialize l_ino
11362 and l_dev in case it's new.
11363 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
11365 * elf/Makefile: Compile and run new test.
11366 * elf/multiload.c: New file.
11368 * nss/nsswitch.h (service_user): Change name field from const char *
11370 (name_database_entry): Likewise.
11371 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
11372 for change of `service_user'.
11373 (nss_getline): Adjust memory allocation for change of
11374 `name_database_entry'.
11376 * catgets/catgets.c: Correctly handle NLSPATH from environment
11379 * io/Makefile (routines): Add lock64.
11380 * io/Versions: Add lockf64 for GLIBC_2.1.1.
11381 * sysdeps/generic/lockf64.c: New file.
11383 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
11385 * string/bits/string2.h: Only use strncmp optimization if count
11386 argument is constant.
11388 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
11390 * sysdeps/mach/hurd/revoke.c: New file.
11392 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
11394 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
11395 int to avoid warning about `ISO C restricts enumerator values to
11398 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11400 * elf/dlfcn.h: Fix typo.
11401 * sysdeps/generic/bits/dlfcn.h: Likewise.
11402 * sysdeps/mips/bits/dlfcn.h: Likewise.
11404 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
11406 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
11407 for the case N == 0.
11409 * db2/Makefile (distribute): Add LICENSE.
11411 1999-02-03 Jeff Bailey <jbailey@nisa.net>
11413 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
11416 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
11418 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
11420 * time/mktime.c: Use ISO C form for function definitions and
11421 remove unnecessary prototypes.
11423 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
11425 * time/time.h: Avoid unneccesary #ifdef.
11427 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
11429 * stdio-common/_itoa.c (_itoa): Correct parameters to
11432 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11434 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
11435 before (e.g. in glob.h).
11436 Closes PR libc/959.
11438 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11440 * sysdeps/mips/fpu_control.h: Fix typo.
11441 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
11444 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
11446 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
11447 the "unused" ends of the sockets. Let pipes be bidirectional.
11449 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
11451 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
11454 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11456 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
11457 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
11459 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
11460 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
11462 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
11464 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
11466 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11468 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
11469 check for priority mask.
11471 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
11473 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
11474 Reported by Craig Metz <cmetz@inner.net> .
11476 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11478 * stdio-common/Makefile (tests): tllformat added.
11480 * stdio-common/tllformat.c: New program, based on tiformat.c with
11481 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
11483 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11485 * posix/test-vfork.c: Fix exit status test.
11487 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11489 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
11490 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
11492 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11494 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
11495 of separare explicit comparisons.
11497 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11499 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
11502 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
11505 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
11507 * po/el.po: Update from translation team.
11509 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11511 * intl/locale.alias: Fix slovenian entry [PR libc/948].
11513 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11515 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
11516 * inet/ruserpass.c: Likewise.
11517 * locale/programs/stringtrans.c: Likewise.
11518 * locale/programs/localedef.c: Likewise.
11519 * nscd/grpcache.c: Likewise.
11520 * nss/nss_files/files-XXX.c: Likewise.
11521 * stdlib/canonicalize.c: Likewise.
11522 * sysdeps/posix/sigwait.c: Likewise.
11524 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11526 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
11527 even on 64 bit platforms.
11529 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
11530 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
11532 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
11534 * intl/dcgettext.c: Include locale.h is available.
11536 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
11538 * po/nl.po: Update from translation team.
11540 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
11542 * Makefile: Allow calling goals for po subdir.
11544 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
11545 signal definitions.
11547 * po/el.po: New file.
11549 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11551 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
11552 when processing DT_SYMBOLIC objects.
11554 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11556 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
11557 program headers without PT_PHDR only require that they are
11558 contained within one of the loaded segments. Don't use assert,
11559 since that would be a bug in the object, not the dynamic linker.
11561 1999-02-08 Richard Henderson <rth@cygnus.com>
11563 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
11564 restore all call-clobbered fp regs.
11566 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
11568 * po/cs.po: New file.
11570 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
11573 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
11575 * signal/signal.h: Don't declare __libc_allocate_rtsig.
11576 * include/signal.h: Declare __libc_allocate_rtsig here.
11578 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
11579 point functions, not do_lookup since the later can be called more
11582 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
11584 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
11585 macro, so that architectures which need to add some special
11586 offset to stack pointer can share this file.
11588 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
11589 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
11590 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
11591 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
11593 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
11594 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
11595 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
11596 between sparc32 and sparc64.
11598 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
11599 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
11600 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
11601 between sparc32 and sparc64.
11603 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
11604 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
11605 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
11606 between sparc32 and sparc64.
11608 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
11609 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
11610 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
11611 between sparc32 and sparc64.
11613 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
11615 * Versions.def: New version GLIBC_2.1.1 for libc.
11616 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
11617 * stdlib/labs.c: Moved to...
11618 * sysdeps/generic/labs.c: ...here.
11619 * stdlib/llabs.c: Moved to...
11620 * sysdeps/generic/llabs.c: ...here.
11621 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
11622 header. Declare _Exit.
11623 * sysdeps/generic/_exit.c: Add alias _Exit.
11624 * sysdeps/mach/hurd/_exit.c: Likewise.
11625 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
11626 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
11627 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
11628 * sysdeps/unix/_exit.c: Likewise.
11629 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
11630 imaxdiv and imaxabs. Declare lldiv_t if necessary.
11631 * sysdeps/wordsize-64/inttypes.h: Likewise.
11632 * sysdeps/wordsize-32/llabs.c: New file.
11633 * sysdeps/wordsize-32/lldiv.c: New file.
11634 * sysdeps/wordsize-64/labs.c: New file.
11635 * sysdeps/wordsize-64/ldiv.c: New file.
11636 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
11637 * manual/startup.texi: Document _Exit.
11639 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11641 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
11643 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
11645 * Versions.def: Add versions for ld.so.
11646 * csu/Versions: Remove __libc_stack_end here.
11647 * elf/Versions: Split libc definitions in libc and ld.so definitions.
11648 * elf/Makefile (ld-map): Change to ld.so.map.
11649 * scripts/versions.awk: Recognize dot in library names.
11651 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
11652 Don't use __tolower and __toupper in inline functions.
11653 Add optimizing macros for tolower and toupper.
11654 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
11655 (_toupper): Don't use __toupper.
11656 * ctype/ctype.c (tolower): Don't use __tolower.
11657 (toupper): Don't use toupper.
11659 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
11661 * resolv/Versions (libresolv): Export __ns_name_unpack and
11663 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
11664 make it global. Change all users. Similar for ns_name_ntop.
11665 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
11666 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
11667 directly to detect too small buffer.
11668 * resolv/nss_dns/dns-network.c: Likewise.
11670 * stdio-common/Makefile (tests): Add scanf12.
11671 * stdio-common/scanf12.c: New file.
11672 * stdio-common/scanf12.input: New file.
11673 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
11674 floating-point correctly if the number is invalid.
11676 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
11678 * stdio-common/printf_fp.c: Likewise.
11679 * stdio-common/printf_fphex.c: Likewise.
11680 * stdio-common/vfprintf.c: Likewise.
11683 See ChangeLog.9 for earlier changes.