1 2000-01-18 Bruno Haible <haible@ilog.fr>
3 * posix/fnmatch.c (ISWCTYPE): New macro.
4 (__wcschrnul): New function.
5 (BTOWC): New macro. Define it instead of __btowc.
6 (is_char_class) [!_LIBC]: Fix 'mstate_t' typo. Fix 2nd arg to
7 wcsrtombs. Call wctype, not __wctype.
8 * posix/fnmatch_loop.c (FCT): Use ISWCTYPE instead of __iswctype, and
9 BTOWC instead of __btowc.
11 2000-01-18 Andreas Jaeger <aj@suse.de>
13 * inet/Versions: Add new functions added on 2000-01-17.
15 2000-01-18 Jakub Jelinek <jakub@redhat.com>
17 * dirent/dirent.h (getdentries): Correct prototype to use __off64_t.
19 2000-01-18 Ulrich Drepper <drepper@cygnus.com>
21 * timezone/antarctica: Update from tzdata2000a.
22 * timezone/asia: Likewise.
23 * timezone/australasia: Likewise.
24 * timezone/backward: Likewise.
25 * timezone/northamerica: Likewise.
26 * timezone/southamerica: Likewise.
27 * timezone/zone.tab: Likewise.
29 * nscd/connections.c (dbs): Use
30 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP for .lock.
33 * nscd/hstcache.c (cache_addhst): Don't automatically add IPv6
34 address. Suggested by Philip Blundell.
36 * posix/TESTS: Fix expected result for test cases with * with no
39 * sysdeps/unix/sysv/linux/fstatvfs.c: Move actual code in...
40 * sysdeps/unix/sysv/linux/internal_statvfs.c: ...here. New file.
41 * sysdeps/unix/sysv/linux/statvfs.c: Don't use fstatvfs since the
42 open call would require read permission.
43 Patch by James Antill <james@and.org>.
45 * sysdeps/unix/sysv/linux/Dist: Add internal_fnmatch.c.
47 * inet/getnameinfo.c: Terminate host name for NI_NOFQDN.
48 * sysdeps/posix/getaddrinfo.c: Correct modifications done for
49 PR1515. Patches by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
51 * posix/regex.h (RE_SYNTAX_POSIX_EXTENDED): Add RE_CONTEXT_INVALID_OPS.
52 * posix/regex.c (regex_compile): Return appropriate errors for
53 unterminated brace expressions. Detect invalid characters
55 * posix/bits/posix2_lim.h: Define RE_DUP_MAX correctly.
56 * sysdeps/posix/sysconf.c: Include regex.h.
57 Reported by Geoff Clare <gwc@unisoft.com> (PR libc/1522).
59 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
61 * sysdeps/posix/getaddrinfo.c (gaih_local): If name is given and
62 AI_NUMERICHOST flag is set, return an error.
63 Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
65 * inet/rcmd.c: Implement rcmd_af, rresvport_af, ruserok_af, and
67 * inet/rexec.c: Implement rexec_af.
68 Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
70 * resolv/netdb.h: Add declarations of rcmd_af, rexec_af, ruserok_af,
73 2000-01-17 Jakub Jelinek <jakub@redhat.com>
75 * sysdeps/unix/sysv/linux/bits/ipc.h: New file.
76 * sysdeps/unix/sysv/linux/bits/sem.h: New file.
77 * sysdeps/unix/sysv/linux/bits/shm.h: New file.
78 * sysdeps/unix/sysv/linux/bits/msg.h: New file.
79 * sysdeps/unix/sysv/linux/bits/alpha/ipc.h: Update for new ipc.
80 * sysdeps/unix/sysv/linux/bits/alpha/sem.h: New file.
81 * sysdeps/unix/sysv/linux/bits/alpha/shm.h: New file.
82 * sysdeps/unix/sysv/linux/bits/alpha/msg.h: New file.
83 * sysdeps/unix/sysv/linux/bits/sparc/ipc.h: New file.
84 * sysdeps/unix/sysv/linux/bits/sparc/sem.h: New file.
85 * sysdeps/unix/sysv/linux/bits/sparc/shm.h: New file.
86 * sysdeps/unix/sysv/linux/bits/sparc/msg.h: New file.
88 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl):
90 (__new_msgctl): New function.
91 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl):
93 (__new_semctl): New function.
94 * sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl):
96 (__new_shmctl): New function.
98 * sysdeps/unix/sysv/linux/msgget.c: Define __LIBC_IPC_INTERNAL.
99 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
100 * sysdeps/unix/sysv/linux/semget.c: Likewise.
101 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
102 * sysdeps/unix/sysv/linux/semop.c: Likewise.
103 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
104 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
105 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
107 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: New file.
108 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: New file.
109 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: New file.
111 * sysdeps/unix/sysv/linux/Versions: Add msgctl, semctl, shmctl.
113 2000-01-17 Jakub Jelinek <jakub@redhat.com>
115 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
116 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
117 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove setres[ug]id.
118 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Kill warnings.
119 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Define needed
122 * sysdeps/unix/sysv/linux/pwrite64.c: Use proper prototype.
123 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
125 * sysdeps/unix/sysv/linux/kernel-features.h: [gs]etres[ug]id are
126 available on sparc since 2.3.39.
128 * sysdeps/unix/sysv/linux/execve.c: Kill warnings.
130 2000-01-17 Jakub Jelinek <jakub@redhat.com>
132 * sysdeps/unix/sysv/linux/i386/chown.c (__syscall_chown): Use proper
134 (__real_chown): Return EINVAL if owner or group are out of the range
136 * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
137 * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
138 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Return
139 EINVAL if ruid, euid or suid are out of the range -1U .. 65534.
140 * sysdeps/unix/sysv/linux/i386/setresgid.c (__setresgid): Similarly.
141 * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Simplify.
142 * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
143 * sysdeps/unix/sysv/linux/m68k/chown.c (__syscall_chown): Use proper
145 Don't include non-existant header.
146 (__chown): Return EINVAL if owner or group are out of the range
148 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setresuid,
149 setresgid): Inherit standard linux/syscalls.list definitions.
150 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Remove.
151 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Remove.
152 * sysdeps/unix/sysv/linux/syscalls.list (setresgid): Provide
155 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
157 * locale/iso-639.def: Update Hebrew, Yiddish, and Indonesian entry
158 from 1989 change in ISO 639.
160 2000-01-12 Andreas Jaeger <aj@suse.de>
162 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): New
163 function; needed for 32bit uid support.
165 * sysdeps/unix/sysv/linux/i386/xstat.c: New file, handles 32bit
168 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
170 * intl/locale.alias: Add entries for galician.
172 * locale/programs/ld-ctype.c (get_character): If tok_ucs4 found, first
173 try to get sequence from charmap with Uxxxxxxxx name.
174 (charclass_ucs4_ellipsis): Likewise.
175 (charclass_charcode_ellipsis): Allow byte sequence missing.
176 (read_writestring): Free allocated memory in case of an error.
177 (set_class_defaults): Don't search repertoire map for wide character
178 default values; we know it's UCS4.
180 * locale/programs/repertoire.c (repertoire_find_value): Just return an
181 error if no repertoire map was loaded.
182 (repertoire_find_symbol): Likewise.
183 (repertoire_find_seq): Likewise.
185 * posix/fnmatch.c: Put internal_fnmatch in separate file. Include
186 twice, to define singlebyte and multibyte version.
187 (fnmatch): Differentiate between singlebyte and multibyte locale and
188 call appropriate internal function.
189 * posix/fnmatch_loop.c: New file.
190 * posix/Makefile (distribute): Add fnmatch_loop.c.
192 * locale/programs/repertoire.c (repertoire_read): Don't print
193 error message when repertoire map is missing.
194 (repertoire_complain): Print error message for missing map, but only
196 * locale/programs/repertoire.h (repertoire_complain): Add prototype.
198 * locale/programs/linereader.c (get_string): Prefer getting names
199 from charseq entries. Try finding Uxxxxxxxx names in charmap
200 before trying to map from repertoire.
202 2000-01-16 Ulrich Drepper <drepper@cygnus.com>
204 * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix missing brace
205 error in last change.
206 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
208 * stdlib/longlong.h: Fix typo in last patch.
210 2000-01-12 Andreas Jaeger <aj@suse.de>
212 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
213 Added for Linux 2.3.39+.
215 * sysdeps/unix/sysv/linux/getresgid.c: Support 32bit UIDs and
217 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
218 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
219 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
220 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
221 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
222 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
223 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
224 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
225 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
226 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
227 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
228 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
229 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
230 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
231 * sysdeps/unix/sysv/linux/setegid.c: Likewise.
233 * sysdeps/unix/sysv/linux/arm/chown.c: New file.
234 * sysdeps/unix/sysv/linux/arm/fchown.c: New file.
235 * sysdeps/unix/sysv/linux/arm/geteuid.c: New file.
236 * sysdeps/unix/sysv/linux/arm/getegid.c: New file.
237 * sysdeps/unix/sysv/linux/arm/getuid.c: New file.
238 * sysdeps/unix/sysv/linux/arm/getgid.c: New file.
239 * sysdeps/unix/sysv/linux/arm/lchown.c: New file.
240 * sysdeps/unix/sysv/linux/i386/fchown.c: New file.
241 * sysdeps/unix/sysv/linux/i386/getegid.c: New file.
242 * sysdeps/unix/sysv/linux/i386/geteuid.c: New file.
243 * sysdeps/unix/sysv/linux/i386/getgid.c: New file.
244 * sysdeps/unix/sysv/linux/i386/getuid.c: New file.
245 * sysdeps/unix/sysv/linux/i386/lchown.c: New file.
246 * sysdeps/unix/sysv/linux/m68k/chown.c: New file.
247 * sysdeps/unix/sysv/linux/m68k/fchown.c: New file.
248 * sysdeps/unix/sysv/linux/m68k/getegid.c: New file.
249 * sysdeps/unix/sysv/linux/m68k/geteuid.c: New file.
250 * sysdeps/unix/sysv/linux/m68k/getgid.c: New file.
251 * sysdeps/unix/sysv/linux/m68k/getuid.c: New file.
252 * sysdeps/unix/sysv/linux/m68k/lchown.c: New file.
253 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: New file.
254 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: New file.
255 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: New file.
256 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: New file.
257 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: New file.
258 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: New file.
259 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: New file.
260 Based on a patch by Chris Wing <wingc@engin.umich.edu>.
262 2000-01-14 Jakub Jelinek <jakub@redhat.com>
264 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: New file.
266 2000-01-13 Jakub Jelinek <jakub@redhat.com>
268 * sysdeps/generic/backtrace.c: Include signal.h which
269 sigcontextinfo.h headers are used to expect.
270 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h
271 (register_dump): Fix a typo in the printout.
272 Avoid using reg_window, so that asm/ptrace.h is not necessary.
273 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
274 (ADVANCE_STACK_FRAME): Likewise.
276 * stdlib/longlong.h: Avoid using __sparc_v9__ ifdefs.
277 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
278 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
280 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Include bits/wordsize.h
281 to make it clear this file depends on __WORDSIZE.
282 * sysdeps/unix/sysv/linux/ftruncate64.c (__have_no_truncate64):
283 Renamed from have_no_truncate64.
284 * sysdeps/unix/sysv/linux/truncate64.c (__have_no_truncate64):
287 2000-01-16 Ulrich Drepper <drepper@cygnus.com>
289 * Makeconfig (rpath-dirs): Remove db2.
290 (dbojdir): Remove variable.
292 * locale/programs/locfile.h (handle_copy): Take repertoire map
293 name as parameter, not pointer to repertoire structure.
294 * locale/programs/ld-address.c: Change caller.
295 * locale/programs/ld-ctype.c: Likewise.
296 * locale/programs/ld-identification.c: Likewise.
297 * locale/programs/ld-measurement.c: Likewise.
298 * locale/programs/ld-messages.c: Likewise.
299 * locale/programs/ld-monetary.c: Likewise.
300 * locale/programs/ld-name.c: Likewise.
301 * locale/programs/ld-numeric.c: Likewise.
302 * locale/programs/ld-paper.c: Likewise.
303 * locale/programs/ld-telephone.c: Likewise.
304 * locale/programs/ld-time.c: Likewise.
306 2000-01-13 Ulrich Drepper <drepper@cygnus.com>
308 * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code generated if
309 mmap2 is available when compiling but no at runtime.
311 2000-01-12 Ulrich Drepper <drepper@cygnus.com>
313 * iconvdata/iso-ir-165.c: New file.
314 * iconvdata/iso-ir-165.h: New file.
315 * iconvdata/Makefile: Add rules to build libISOIR165.
317 * Makefile (install): Correct passing -r parameter to ldconfig.
319 * iconvdata/gconv-modules: Add aliases ISO-IR-199 and ISO-IR-203.
320 Reported by Bruno Haible <haible@ilog.fr>.
322 2000-01-11 Andreas Schwab <schwab@suse.de>
324 * sysdeps/i386/fpu/libm-test-ulps: Adjust some epsilons.
326 2000-01-10 Thorsten Kukuk <kukuk@suse.de>
328 * nss/getent.c: Add ipv6 support for hosts.
330 2000-01-05 Philip Blundell <pb@futuretv.com>
332 * sysdeps/unix/sysv/linux/arm/Versions: Add getrlimit, setrlimit,
333 getrlimit64, setrlimit64 for GLIBC_2.1.3.
334 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
336 * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: New file.
337 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
338 * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
339 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Likewise.
340 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Likewise.
341 * sysdeps/unix/sysv/linux/arm/getrlimit.c: Likewise.
343 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
344 (sysdep_routines): Add oldgetrlimit64, oldsetrlimit64.
345 [subdir=misc] (sysdep_headers): Add sys/elf.h.
347 2000-01-09 Andreas Jaeger <aj@suse.de>
349 * manual/install.texi (Tools for Compilation): Update required
351 (Configuring and compiling): Restore old comments about
352 configparms; modify to reflect current usage.
354 2000-01-09 Philip Blundell <philb@gnu.org>
356 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't attempt name
357 resolution if the hints included AI_NUMERICHOST.
359 2000-01-11 Andreas Schwab <schwab@suse.de>
361 * sysdeps/mips/__longjmp.c (__longjmp): Change call to abort into
362 infinite loop to avoid pulling in stdio in the dynamic linker.
363 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
365 2000-01-10 Andreas Jaeger <aj@suse.de>
367 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Follow
368 change from 1999-10-07 to elf/elf.h and rename EM_MIPS_RS4_BE to
370 * sysdeps/mips/mips64/dl-machine.h: Likewise.
372 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Remove greg_t,
373 gregset_t, fpregset_t, and NGREG definitions.
375 * sysdeps/mips/Implies: Add wordsize-32.
377 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Add missing
380 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Remove K&R support, add
383 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Remove K&R support.
384 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
385 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
386 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
387 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
388 * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
389 * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
391 2000-01-09 Philip Blundell <philb@gnu.org>
393 * sysdeps/arm/dl-machine.h (CLEAR_CACHE): System calls clobber R0.
394 (dl_platform_init): Allow _dl_platform to be NULL.
396 * sysdeps/unix/sysv/linux/arm/sysdep.h (UNDOARGS_5): Fix error in
399 2000-01-08 Ulrich Drepper <drepper@cygnus.com>
401 * nscd/connections.c (handle_request): Handle systems without
403 (nscd_run): Likewise.
405 2000-01-07 Andreas Jaeger <aj@suse.de>
407 Add support for Berkeley db 3.0.x and merge db support:
408 * nss/nss_db/dummy-db.h (struct db30): New.
412 * nss/makedb.c: Move all database routines to db-open.c.
413 (main): Adjust to interface changes.
414 Load database early to initialize version dependend variables.
416 * nss/db-open.c: Merge database routines from makedb.c.
417 Define version dependend constansts as variables.
418 (load_db): Check also for db 3.
419 (internal_setent): Call dbopen.
420 (db_cursor): New function from makedb; handles db 3 now.
421 (dbopen): New function from makedb; handles db 3.
423 * nss/nss_db/db-XXX.c: Use db_notfound since the value is
424 different in different DB versions.
426 * nss/nss_db/nss_db.h: Add version dependend constants as
427 variables, add exportet interfaces from db-open.c.
429 * nss/Makefile ($(objpfx)makedb): Link against db-open.
431 2000-01-07 Ulrich Drepper <drepper@cygnus.com>
433 * misc/error.c: Don't use `defined _LIBC', only `_LIBC'.
434 Reported by Jim Meyering.
436 * time/strftime.c: Pretty printing.
438 2000-01-07 Andreas Jaeger <aj@suse.de>
440 * manual/socket.texi (Host Names): Fix example.
441 Reported by Marco Budde <budde@telos.de>.
443 2000-01-06 Ulrich Drepper <drepper@cygnus.com>
445 * localedata/Makefile (install-locales): Create locale directory
446 if it does not exist.
448 * locale/programs/charmap.c (charmap_read): Call lr_open here and
449 not in parse_charmap. Try also the directories on the I18NPATH.
450 (parse_charmap): Change accordingly.
452 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
454 * sysdeps/unix/sysv/linux/i386/Dist: Distribute oldgetrlimit64.c
455 and oldsetrlimit64.c.
457 * sysdeps/unix/sysv/linux/arm/Dist: Distribute sys/elf.h and
460 * manual/texinfo.tex: Updated from latest official version.
462 * debug/Makefile (distribute): Add frame.h.
464 2000-01-05 Philip Blundell <philb@gnu.org>
466 * sysdeps/arm/frame.h: New file.
467 * sysdeps/generic/frame.h: Likewise.
468 * sysdeps/generic/segfault.c (struct layout): Delete definition;
469 include the above file instead.
470 * sysdeps/generic/backtrace.c (struct layout): Likewise.
471 (__backtrace): Use ADVANCE_STACK_FRAME.
472 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
473 (ADVANCE_STACK_FRAME): New macro.
474 (GET_FRAME): Apply above to returned value.
476 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Add `fault_address'.
478 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
480 * sysdeps/posix/getaddrinfo.c: Add support for SOCK_RAW.
481 Patch by YOSHIFUJI Hideaki <yoshifuji@ecei.tohoku.ac.jp>.
483 * io/ftw.c (process_entry): Cache object dev/inode only for
484 directories (PR libc/1514).
486 2000-01-05 Andreas Schwab <schwab@suse.de>
488 * locale/programs/charmap.c (charmap_read): Fix typo.
490 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
492 * locale/programs/charset.c: Removed.
494 * iconvdata/Makefile: Add rules for ISO-8859-16 module.
495 * iconvdata/gconv-modules: Likewise.
496 * iconvdata/iso8859-16.c: New file.
498 2000-01-05 Andreas Schwab <schwab@suse.de>
500 * iconv/iconv_prog.c (process_block): Add cast to avoid warning.
502 2000-01-05 Andreas Jaeger <aj@suse.de>
504 * intl/locale.alias: Add lithunian entry.
505 Reported by Kestutis Kupciunas <kesha@soften.ktu.lt>, PR libc/1507.
507 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
509 * locale/programs/stringtrans.c: Removed.
510 * locale/programs/stringtrans.h: Removed.
511 * locale/programs/linereader.c: Remove #include of stringtrans.h.
513 * locale/findlocale.c (_nl_find_locale): Don't try using mmap is
514 _POSIX_MAPPED_FILES is not defined.
516 * locale/findlocale.c (_nl_find_locale): Correct memory allocation
519 * locale/setlocale.c (new_composite_name): Use _nl_C_name and
520 _nl_POSIX_name instead of "C" and "POSIX" strings.
522 * ctype/ctype-info.c (__ctype32_tolower): Use _nl_C_CTYPE_tolower.
523 (__ctype32_toupper): Use _nl_C_CTYPE_toupper.
524 * locale/C-ctype.c (_nl_C_LC_CTYPE_tolower32): Removed. We can
525 reuse the _nl_C_LC_CTYPE_tolower table.
526 (_nl_C_LC_CTYPE_toupper32): Likewise.
527 (_nl_C_LC_CTYPE): Use normal table to initialize tolower32 and
530 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISNCTRL bit for
532 (_nl_C_LC_CTYPE_class32): Likewise.
534 * rt/aio.h (struct aioinit): Replace one aio_reserved value with
536 * rt/aio_misc.c: Rewrite to not automatically terminate worker threads
537 after the operation is done. Let them linger for a user-definable
539 * rt/aio_cancel.c: Likewise.
540 Patch by Willian M Shubert <william.m.shubert@intel.com>.
542 * sysdeps/i386/i686/add_n.S: New file.
544 2000-01-02 Philip Blundell <philb@gnu.org>
546 * sysdeps/unix/sysv/linux/arm/ioperm.c: Use sysctl by preference
547 to obtain port mapping information. Avoid use of mprotect.
549 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
551 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Add
552 definition from 2.3.36.
554 2000-01-04 Andreas Jaeger <aj@suse.de>
556 * nss/nss_db/dummy-db.h (struct db24): Add missing field flags.
557 (struct db27): Add missing fields byteswapped, join and flags;
558 remove wrong member handleq.
559 (struct dbc27): Correct lock field.
561 * nss/makedb.c: Remove __P.
563 2000-01-04 Andreas Jaeger <aj@suse.de>
565 * nss/nss_db/db-open.c (internal_setent): Check for db_open for
566 success, fix a memory leak and clean up function.
568 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
570 * Makefile (install): Pass $(install_root) to ldconfig.
571 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
573 2000-01-03 Jakub Jelinek <jakub@redhat.com>
575 * soft-fp/op-1.h: Fix division for machines using not normalizing
576 version of udiv_qrnnd in longlong.h.
577 * soft-fp/sysdeps/mips/sfp-machine.h: Likewise.
578 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Likewise.
579 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Likewise.
580 Patch by Eddie C. Dost <ecd@skynet.be>.
582 * soft-fp/soft-fp.h (QItype, UQItype): New types used by longlong.h.
584 2000-01-03 Andreas Schwab <schwab@suse.de>
586 * sysdeps/generic/dl-sysdep.c: Initialize __libc_multiple_libcs,
587 needed for change in common symbol handing in newer binutils.
589 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
591 * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code for running on
592 kernel without mmap2 syscall.
594 2000-01-03 Philip Blundell <philb@gnu.org>
596 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MMAP2_SYSCALL,
597 __ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL): Define on
598 ARM for kernels >= 2.3.35.
600 2000-01-03 Philip Blundell <philb@gnu.org>
602 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove mmap64 alias.
603 Optimise error handling a little.
604 * sysdeps/unix/sysv/linux/arm/mmap64.S: New file.
606 2000-01-03 Andreas Jaeger <aj@suse.de>
608 * include/resolv.h: Remove declarations for __ns_name_ntop and
609 __ns_name_unpack since those are available in resolv/arpa/nameser.h.
611 2000-01-03 Andreas Jaeger <aj@suse.de>
613 * time/tst-strptime.c (test_tm): Add tests for all fields of
616 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
618 * string/bits/string2.h (__strsep_g): Don't handle empty __S special.
620 2000-01-03 Andreas Jaeger <aj@suse.de>
622 * string/tester.c (test_strsep): Add one more test.
624 2000-01-03 Philip Blundell <philb@gnu.org>
626 * string/tester.c (test_mempcpy): New function.
628 (test_memcpy): Test unaligned cases too.
630 * sysdeps/arm/bits/string.h (_HAVE_STRING_ARCH_mempcpy): Define.
632 * sysdeps/arm/fpu/bits/mathdef.h: New file.
634 2000-01-02 Ulrich Drepper <drepper@cygnus.com>
636 * posix/Makefile (tests): Add tst-mmap.
637 * posix/tst-mmap.c: New file.
639 * sysdeps/unix/sysv/linux/i386/mmap64.S: Pop registers after mmap2
640 call before handling error.
642 * sysdeps/unix/sysv/linux/i386/mmap64.S: Handle unaligned offsets.
643 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
645 * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs): Add mapping for
647 (__ksc5601_sym_from_ucs): Add mapping back from U00AE and U20AC.
648 * iconvdata/ksc5601.h (KSC5601_SYMBOL): Adjust for the two new
650 * iconvdata/testdata/EUC-KR: Add Euro and Registered sign.
651 * iconvdata/testdata/ISO-2022-KR: Likewise.
653 * sysdeps/unix/sysv/linux/llseek.c: Formulate warning message stronger.
655 * iconvdata/gconv-modules: Remove BALTIC. It's the same as
657 * iconvdata/Makefile (distribute): Remove baltic.c.
658 (modules): Remove BALTIC.
659 (gen-8bit-gap-modules): Remove baltic.
660 * iconvdata/baltic.c: Removed.
662 * sysdeps/posix/system.c: Correct return value for LINE == NULL.
664 * signal/Versions [GLIBC_2.1.3] (libc): Export __sigsuspend.
666 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Fix
667 typos (__ASSUME_TRUNCATE64_SYSCALL -> __ASSUME_MMAP2_SYSCALL).
668 Reported by Philip Blundell <Philip.Blundell@pobox.com>.
670 * nss/Makefile: Add rules to build makedb.
671 * nss/nss_db/nss_db.h: Add definitions needed for makedb.
672 * nss/nss_db/dummy-db.h: Likewise.
673 * nss/makedb.c: New file. Copied from file in db2, modified to not
674 depend on being linked against libdb.
676 2000-01-01 Ulrich Drepper <drepper@cygnus.com>
678 * Makeconfig (all-subdirs): Remove db and db2.
682 * nss/nss_db/db-XXX.c: Move internal_setent and internal_endent
683 functions from here...
684 * nss/db-alias.c: ...and here...
685 * nss/db-netgrp.c: ...and here...
686 * nss/nss_db/db-open.c: ...to here. New file.
687 * nss/nss_db/dummy-db.h: New file.
688 * nss/nss_db/nss_db.h: New file.
689 * nss/Depend: Depend in dlfcn, not db2.
690 * nss/Makefile (libnss_db-routines): Add db-open.
691 (distribute): Add nss_db.h dummy-db.h.
692 (libnss_db.so): Replace libdb dependency by $(libdl).
693 Based on a patch by Zack Weinberg.
695 * locale/programs/ld-ctype.c: Implement rest of transliteration
697 * locale/programs/locfile-kw.gperf: New keyword translit_ignore.
698 * locale/programs/locfile-token.h: Add tok_translit_ignore.
700 1999-12-31 Ulrich Drepper <drepper@cygnus.com>
702 * locale/programs/ld-collate.c (collate_output): Emit correct
703 information for collation elements.
704 Don't write over end of array idx.
705 * posix/regex.c: Handle also collation elements at end of range.
707 * posix/PTESTS: Fix a few typos.
709 * posix/bits/posix2_lim.h: Remove _POSIX2_EQUIV_CLASS_MAX. I have
710 no idea where this came from.
711 * sysdeps/posix/sysconf.c: Remove _POSIX2_EQUIV_CLASS_MAX handling.
713 1999-12-31 Andreas Jaeger <aj@suse.de>
715 * libio/strfile.h: Remove K&R compatibility.
716 * locale/langinfo.h: Likewise.
717 * locale/localeconv.c (localeconv): Likewise.
718 * locale/programs/simple-hash.h: Likewise.
719 * nis/nis_xdr.h: Likewise.
720 * nis/rpcsvc/nislib.h: Likewise.
721 * nis/rpcsvc/nis_callback.h: Likewise.
722 * nis/rpcsvc/nis.h: Likewise.
723 * nis/ypclnt.c: Likewise.
724 * nscd/nscd_proto.h: Likewise.
725 * nscd/nscd.c: Likewise.
726 * sysdeps/generic/inttypes.h: Likewise.
727 * sysdeps/gnu/utmpx.h: Likewise.
729 * nis/nis_intern.h: Remove K&R compatibility; add missing ints.
730 * sunrpc/rpcsvc/rusers.x: Likewise.
732 * nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat.
734 * elf/dl-misc.c: Remove __libc_write prototype since it's already
736 * elf/dl-profile.c: Likewise.
737 * elf/dl-load.c: Likewise for __libc_read.
739 * elf/dl-profile.c: Remove __P.
740 * elf/sprof.c: Likewise.
741 * elf/sln.c: Likewise.
743 1999-12-31 Ulrich Drepper <drepper@cygnus.com>
745 * locale/langinfo.h: Add constants for wide character collation
747 * locale/categories.def: Add appropriate entries for collate symbol
749 * locale/C-collate.c: Add initializers for new entries.
750 Remove commented out code.
751 * locale/elem-hash.h: New file.
752 * locale/Makefile (distribute): Add elem-hash.h.
753 * locale/programs/ld-collate.c: Implement output of collate symbol
756 * posix/regex.c: Implement collation class handling.
758 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
760 * posix/regex.c (regex_compile): Implement equivalence class handling.
762 1999-12-30 Geoffrey Keating <geoffk@cygnus.com>
764 * sysdeps/powerpc/dl-machine.c: Many minor formatting changes.
765 (OPCODE_LWZU): New macro.
766 (OPCODE_ADDIS_HI): New macro.
767 (OPCODE_LIS_HI): New macro.
768 (__elf_machine_runtime_setup): Change PLT code-generation scheme
769 for thread safety even with very large PLTs, better efficiency,
770 and to fix a cache-flushing bug. Also support the Motorola
771 8xx processors which have a different cache line size than all
773 (__elf_machine_fixup_plt): Likewise.
774 (__process_machine_rela): Don't use elf_machine_fixup_plt.
776 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
778 * wcsmbs/wcscoll.c: Use multibyte character version.
779 * wcsmbs/wcsxfrm.c: Likewise.
780 * string/strcoll.c: Prepare to be used for the wide character version.
781 * string/strxfrm.c: Likewise.
782 * locale/weightwc.h: New file.
784 1999-12-30 Geoff Keating <geoffk@cygnus.com>
786 * sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove
787 the (void) casts as now feraiseexcept returns a value.
788 (feclearexcept): Likewise.
790 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0',
791 it interferes with the macros for AIX.
793 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
795 * locale/programs/ld-collate.c (collate_finish): Always define
796 weight for UNDEFINED if not defined by the user but don't complain
797 unless it is needed in the multibyte character table.
798 (collate_output): Add extra dummy elements in wide char tables in the
799 same way done for multibyte. Always output undefined entry in
800 wide character table.
802 * locale/Makefile (categories): Remove commented-out old definition.
804 * locale/programs/ld-collate.c (insert_value): Don't pass wide string
805 to new_element if the wide char is not valid.
806 (handle_ellipsis): Likewise.
807 (collate_read): It's no problem if the string in the collating element
808 definition cannot be represented as multibyte or wide char string.
810 1999-12-13 Andreas Jaeger <aj@suse.de>
812 * resolv/resolv.h: Remove K&R compatibility.
814 * resolv/res_libc.c: Move definition of _res after res_init,
815 res_init should use the threaded specific context.
817 * resolv/Makefile (+cflags): Remove -Wno-comment since it's not
820 1999-12-29 Ulrich Drepper <drepper@cygnus.com>
822 * locale/langinfo.h: Add constants for wide character collation data.
823 * locale/categories.def: Add appropriate entries for collate entries.
824 * locale/C-collate.c: Add initializers for new entries.
825 * locale/programs/ld-collate.c: Implement output of wide character
828 * locale/programs/ld-ctype.c (allocate_arrays): Change algorithm to
829 compute wide character table size a bit: it now gives up a bit of
830 total table size for fewer levels.
832 * soft-fp/*: Tons of new files to implement floating-point arithmetic
834 Contributed by Richard Henderson, Jakub Jelinek and others.
836 1999-12-29 Andreas Jaeger <aj@suse.de>
838 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Don't include
839 <asm/io.h>; remove K&R compatibility; add missing ints.
841 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove K&R compatibility,
844 * sysdeps/unix/sysv/linux/sys/io.h: Don't include <asm/io.h>.
846 1999-12-29 Andreas Jaeger <aj@suse.de>
848 * manual/getopt.texi (Using Getopt): Document ordering of options.
850 1999-12-29 Andreas Jaeger <aj@suse.de>
852 * sysdeps/unix/sysv/linux/llseek.c: Emit link time warning for llseek.
853 Requested by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
855 1999-12-14 Andreas Jaeger <aj@suse.de>
857 * sysdeps/unix/sysv/linux/scsi/scsi.h: Add new defines from Linux
860 1999-12-28 Jakub Jelinek <jakub@redhat.com>
862 * elf/sprof.c (load_shobj): Fix error message.
863 (generate_call_graph): Cast %*s length argument to int.
864 * locale/programs/localedef.c (construct_output_path): Likewise.
865 * locale/programs/ld-ctype.c (ctype_finish): Use proper format
867 (ctype_class_new): Likewise.
868 * locale/programs/ld-time.c (time_finish): Likewise.
869 * sunrpc/svc_simple.c (register_rpc): Likewise.
870 * nscd/connections.c (nscd_run, start_threads): Use long instead of
871 int to avoid cast warnings.
872 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l): Kill
874 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Remove unused
877 * time/strftime.c (my_strftime): Provide wide era string when
880 * sysdeps/sparc/fpu/bits/mathinline.h (__signbit, __signbitl):
881 Separate into 32bit and 64bit versions.
883 1999-12-28 Ulrich Drepper <drepper@cygnus.com>
885 * iconvdata/Makefile (modules): Add ISO-2022-CN.
886 Add link rules for this module.
887 (distribute): Add iso-2022-cn.c and cns11643l2.h.
888 * iconvdata/cns11643l2.h: New file.
889 * iconvdata/iso-2022-cn.c: New file.
890 * iconvdata/gconv-modules: Add entries for ISO-2022-CN module.
892 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Make string argument
894 (ucs4_to_cns11643l1): Likewise.
895 * iconvdata/euc-tw.c: Correct parameter passed to cns11643l1_to_ucs4.
897 * iconvdata/iso-2022-kr.c: Remove unnecessary test from conversion
899 Optimize recognition of escape sequences a bit.
901 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit
902 and oldsetrlimit definitions.
904 1999-12-27 Ulrich Drepper <drepper@cygnus.com>
906 * iconvdata/run-iconv-test.sh: Improve test output a bit to allow
907 identifying errors more easily.
909 * iconvdata/testdata/EUC-CN..UTF8: New file.
910 * iconvdata/testdata/GBK..UTF8: New file.
912 * iconvdata/gbk.c: In mapping from UCS4: don't crash for undefined
913 mappings. Fix last patch.
914 * iconvdata/TESTS: Add GBK.
915 * iconvdata/testdata/GBK: New file.
917 * iconvdata/gb2312.h (ucs4_to_gb2312): Fix mapping of 0x0101,
918 0x2312, and 0x2500..0x254b.
919 * iconvdata/TESTS: Add EUC-CN.
920 * iconvdata/testdata/EUC-CN: New file.
922 * iconvdata/gbgbk.c: New file.
923 * iconvdata/Makefile (modules): Add GBGBK.
924 (distribute): Add gbgbk.c.
925 * iconvdata/gconv-modules: Add entries for GBGBK modules.
927 * iconvdata/euc-cn.c: Fix comment.
929 * iconvdata/gbk.c: Optimize the switch statement in the conversion
932 * locale/programs/charmap.c (charmap_new_char): Recognize special
933 character names Uxxxx and Pxxxx and initialize the UCS4 value from
936 1999-12-17 Andreas Jaeger <aj@suse.de>
938 * stdlib/Versions: Export __cxa_atexit and __cxa_finalize.
940 1999-12-16 Mark Mitchell <mark@codesourcery.com>
942 * stdlib/Makefile (routines): Add cxa_atexit and cxa_finalize.
943 * stdlib/exit.h (flavor): Add ef_cxa.
944 (exit_function): Add cxa variant.
945 * stdlib/exit.c (exit): Handle ef_cxa exit functions.
946 * stdlib/cxa_atexit.c: New file.
947 * stdlib/cxa_finalize.c: New file.
949 1999-12-27 Ulrich Drepper <drepper@cygnus.com>
951 * iconvdata/gb2312.c: Update mapping of GB 0x212c from latest
954 1999-12-26 Ulrich Drepper <drepper@cygnus.com>
956 * sysdeps/unix/sysv/linux/fxstat64.c: Rename have_no_stat64 to
958 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
959 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
961 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Remove inclusion
964 1999-12-26 Philip Blundell <philb@gnu.org>
966 * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove vm86. Set
967 argument count for `syscall' to 7.
968 * sysdeps/unix/sysv/linux/arm/sysdep.h: Add support for syscalls
969 with more than five arguments.
970 (DOARGS_5, UNDOARGS_5): Don't corrupt the calling stack frame.
972 1999-12-26 Ulrich Drepper <drepper@cygnus.com>
974 * locale/programs/ld-collate.c (collate_output): Don't start with empty
975 extrapool and indirectpool obstacks since we need the offsets to be
977 (collate_read): Call load_locale, not find_locale.
978 * locale/programs/ld-ctype.c (ctype_finish): If LC_CTYPE category
979 wasn't defined in the file also initialize repertoire if possible.
980 * locale/programs/ld-time.c (time_finish): Fix message string.
981 * locale/programs/linereader.c: Cast parameters of lr_error to
982 correct type to prevnet warning.
983 * locale/programs/localedef.c (load_locale): New file.
984 * locale/programs/localedef.h: Add its prototype.
985 * locale/programs/repertoire.c (repertoire_new_char): Add missing
986 parameters to lr_error call.
988 * localedata/Makefile: Enable running tests again.
989 * localedata/tests/test2.def: Adjust syntax to new specification.
990 * localedata/tests/test3.def: Likewise.
991 * localedata/tst-trans.sh: Redirect output of program into file.
993 * string/strcoll.c: Fix many error in new implementation to make it
994 pass (at least) the test suite.
996 * locale/Makefile: Don't link localedef statically anymore.
998 * locale/ld-collate.c (struct element_t): Add field is_character and
999 use it to distinguish real character from collating elements and
1001 (new_element): Take new parameter to initialize is_character. Change
1003 (handle_ellipsis): Use is_character field to make sure ellipsis is
1004 only used with characters.
1005 (collate_read): Fix reading of collating elements.
1007 * string/strxfrm.c: Correct loop end detection and memory access
1008 in the little optimization at the end.
1010 * locale/programs/ld-monetary.c (monetary_finish): Correct code to
1011 emit warnings. Provide default value for mon_decimal_point.
1013 * locale/programs/ld-collate.c (collate_finish): Don't crash if this
1014 category wasn't defined.
1015 (collate_output): Likewise.
1017 * locale/programs/ld-address.c: Don't emit message about not defined
1018 category if be_quiet.
1019 * locale/programs/ld-ctype.c: Likewise.
1020 * locale/programs/ld-identification.c: Likewise.
1021 * locale/programs/ld-measurement.c: Likewise.
1022 * locale/programs/ld-messages.c: Likewise.
1023 * locale/programs/ld-monetary.c: Likewise.
1024 * locale/programs/ld-name.c: Likewise.
1025 * locale/programs/ld-numeric.c: Likewise.
1026 * locale/programs/ld-paper.c: Likewise.
1027 * locale/programs/ld-telephone.c: Likewise.
1028 * locale/programs/ld-time.c: Likewise.
1030 * locale/programs/locfile.c (write_locale_data): Correct memory
1031 allocation for fname.
1033 1999-12-25 Ulrich Drepper <drepper@cygnus.com>
1035 * locale/programs/ld-collate.c (read_directions): Fix a few messages.
1036 (collate_finish): Test that position is used in all sections for
1039 * string/strxfrm.c: Optimize a bit. We don't need the highest bit
1040 of the index returned by findidx.
1042 * string/strcoll.c: Complete rewrite for new collate implementation.
1043 * wcsmbs/wcscoll.c: Don't use strcoll.c, implement dummy implementation
1046 * locale/C-collate.c (_nl_C_LC_COLLATE): Add one more entry for the
1048 * locale/langinfo.h: Likewise.
1049 * locale/categories.def: Likewise. Remove reference to postload
1051 * locale/lc-collate.c (_nl_postload_collate): Removed. Also remove
1052 __collate_tablemb, __collate_weightmb, and __collate_extramb.
1053 * locale/localeinfo.h: Remove declaration for removed variables above.
1054 Remove prototype for _nl_get_era_entry.
1055 * locale/weight.h: Complete rewrite for new collate implementation.
1056 * locale/programs/ld-collate.c: Many changes to make output file
1057 usable in strxfrm/strcoll.
1058 * string/strxfrm.c: Complete rewrite for new collate implementation.
1059 * wcsmbs/wcsxfrm.c: Don't use strxfrm.c, implement dummy implementation
1062 1999-12-25 Shinya Hanataka <hanataka@abyss.rim.or.jp>
1064 * locale/programs/ld-ctype.c (allocate_arrays): Correctly assign
1065 transformation values for chars >255.
1066 * wctype/wctrans.c: Return pointer unmodified.
1068 1999-12-24 Ulrich Drepper <drepper@cygnus.com>
1070 * sysdeps/posix/system.c (__libc_system): Check whether command
1071 processor is available if LINE is NULL. Don't return immediately
1072 if wait call returned with EINTR.
1073 Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1497 and libc/1498).
1075 1999-12-23 Ulrich Drepper <drepper@cygnus.com>
1077 * locale/programs/ld-monetary.c (monetary_finish): Add cast to
1080 * locale/programs/ld-collate.c: Implement writing out multibyte
1083 * locale/setlocale.c (setlocale): Allow setting LC_COLLATE again.
1084 * locale/localeinfo.h: Declare variables only for currently implemented
1085 collate functionality. Remove FORWARD_CHAR and ELLIPSIS_CHAR.
1086 * locale/lc-collate.c: Define variables only for currently implemented
1088 * locale/langinfo.h: Define symbols only for currently implemented
1090 * locale/categories.def: Define elements for currently implemented
1092 * locale/C-collate.c: Comment out definitions of arrays with symbol
1093 name definitions etc.
1094 (_nl_C_LC_COLLATE): Update for currently defined information.
1096 * intl/libintl.h: Remove dcgettext macro definition.
1097 * intl/gettextP.h: Declare _nl_msg_cat_cntr.
1099 * locale/iso-4217.def: Add NAD. Remove a few obsolete entries.
1101 * sysdeps/generic/glob.c (glob): Pass alternate file access functions
1102 also in recursive call. Patch by Joe Orton <joe@orton.demon.co.uk>.
1104 1999-12-22 Jakub Jelinek <jakub@redhat.com>
1106 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Use proper type
1107 for __fenv_stfsr argument.
1108 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
1109 truncate64, ftruncate64, fstat64, lstat64, stat64 and mmap2.
1111 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: New file.
1112 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
1113 (XSTAT_IS_XSTAT64): Define.
1114 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Add
1115 __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite
1116 and __libc_pwrite64.
1117 Remove oldgetrlimit and oldsetrlimit.
1118 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: New file.
1119 * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: New file.
1120 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: New file.
1122 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Pass the buf
1123 pointer to the syscall, not address of that pointer.
1124 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
1125 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
1126 (__syscall_stat64): Provide proper prototype.
1128 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Share
1129 has_no_truncate64 between truncate64 and ftruncate64.
1130 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
1132 * sysdeps/unix/sysv/linux/kernel-features.h
1133 (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL,
1134 __ASSUME_STAT64_SYSCALL): Define on Sparc for kernels >= 2.3.35.
1136 1999-12-22 Andreas Jaeger <aj@suse.de>
1138 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __libc_lseek64,
1139 __libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64.
1141 1999-12-21 Shinya Hanataka <hanataka@abyss.rim.or.jp>
1143 * locale/lc-time.c: Extend structure era_entry.
1144 * locale/localeinfo.h: Likewise.
1145 * locale/lc-time.c: Handle '-' direction used in locale's era part
1147 * time/strptime.c: Likewise.
1148 * time/strftime.c: Likewise.
1149 * locale/programs/ld-time.c: Consider negative values in era part
1151 * time/strptime.c (strptime_internal): Merged Yoshiyama's
1152 %E[CyY] implementation.
1154 1999-12-21 Akira Yoshiyama <yosshy@debian.or.jp>
1156 * time/strptime.c (strptime_internal): Fix segV bugs of a couple
1157 of recursive() call.
1158 * time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY'
1161 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
1163 * sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value.
1164 Patch by Scott Bambrough <scottb@netwinder.org>.
1166 1999-12-21 Andreas Schwab <schwab@suse.de>
1168 * sysdeps/unix/sysv/linux/pread.c: Fix typo.
1170 * include/unistd.h: Declare __libc_lseek.
1172 1999-12-21 Andreas Jaeger <aj@suse.de>
1174 * stdlib/longlong.h: Remove __P.
1176 1999-12-21 Andreas Jaeger <aj@suse.de>
1178 * sysdeps/powerpc/fpu/libm-ulps: New file.
1180 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
1182 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Include sys/ucontext.h
1183 and remove definitions for NREGS, greg_t, gregset_t, and fpregset_t.
1185 1999-12-21 Andreas Jaeger <aj@suse.de>
1187 * sysdeps/unix/sysv/linux/m68k/putpmsg.c: Add missing #.
1188 * sysdeps/unix/sysv/linux/mips/putpmsg.c: Likewise.
1189 * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: Likewise.
1190 * sysdeps/unix/sysv/linux/mips/getmsg.c: Add missing #.
1191 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1192 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1193 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1194 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1195 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1196 * sysdeps/unix/sysv/linux/m68k/getpmsg.c: Add missing #.
1197 * sysdeps/unix/sysv/linux/mips/getpmsg.c: Likewise.
1198 * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: Likewise.
1200 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
1202 * sysdeps/unix/sysv/linux/i386/getmsg.c: New file.
1203 * sysdeps/unix/sysv/linux/i386/getpmsg.c: New file.
1204 * sysdeps/unix/sysv/linux/i386/putmsg.c: New file.
1205 * sysdeps/unix/sysv/linux/i386/putpmsg.c: New file.
1206 * sysdeps/unix/sysv/linux/m68k/getmsg.c: New file.
1207 * sysdeps/unix/sysv/linux/m68k/getpmsg.c: New file.
1208 * sysdeps/unix/sysv/linux/m68k/putmsg.c: New file.
1209 * sysdeps/unix/sysv/linux/m68k/putpmsg.c: New file.
1210 * sysdeps/unix/sysv/linux/mips/getmsg.c: New file.
1211 * sysdeps/unix/sysv/linux/mips/getpmsg.c: New file.
1212 * sysdeps/unix/sysv/linux/mips/putmsg.c: New file.
1213 * sysdeps/unix/sysv/linux/mips/putpmsg.c: New file.
1214 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: New file.
1215 * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: New file.
1216 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: New file.
1217 * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: New file.
1218 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getpmsg and
1221 1999-12-20 Ulrich Drepper <drepper@cygnus.com>
1223 * sysdeps/unix/sysv/linux/lxstat64.c: Include "kernel-features.h"
1224 before testing for __ASSUME_STAT64_SYSCALL.
1225 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1226 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1228 1999-12-20 Andreas Schwab <schwab@suse.de>
1230 * manual/install.texi (Running make install): Clearify that
1231 install_root should be an absolute file name.
1233 1999-12-20 Ulrich Drepper <drepper@cygnus.com>
1235 * iconv/gconv.c (__gconv): Deal with outbuf being NULL.
1237 * iconv/iconv.c (iconv): Allow omitting output buffer if no input
1238 buffer is given to place conversion descriptor in initial state.
1239 * iconvdata/gconv-modules: Correct aliases CSPC850MULTILINGUAL and
1241 * iconvdata/gconv-modules: Add aliases GB2312 and csGB2312
1242 (according to IANA registry).
1243 Reported by Bruno Haible <haible@ilog.fr>.
1245 * iconvdata/johab.c: Correct completely broken conversion to JOHAB.
1247 * locale/categories.def: Remove most of the collate definitions.
1248 * locale/langinfo.h: Comment out corresponding definitions.
1249 * locale/programs/locale-spec.c (locale_special): Don't recognize the
1251 * locale/programs/ld-collate.c: Correct and optimize computation of
1252 weights. Set up list of all definitions correctly. Start writing
1253 function to generate output file.
1255 * locale/programs/ld-ctype.c (allocate_arrays): Increment counter in
1256 loop to compute default mapping.
1258 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
1260 * sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for
1261 cancelation wrapper.
1262 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
1263 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
1264 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1266 1999-12-19 Andreas Jaeger <aj@suse.de>
1268 * sysdeps/generic/libc-start.c: Remove declaration of
1269 __libc_open. Move declaration of __libc_fcntl to ...
1270 * include/fcntl.h: ...here.
1272 * include/unistd.h: Move __libc_open and __libc_open64 to ...
1273 * include/fcntl.h: ...here.
1275 * malloc/malloc.h (__attribute_malloc__): Only define if hasn't
1278 * malloc/Versions: __libc_freeres was exported with glibc 2.1.3,
1281 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
1283 * sysdeps/unix/sysv/linux/bits/resource.h: Remove <asm/resource.h>
1286 1999-12-19 Andreas Jaeger <aj@suse.de>
1288 * include/string.h: Mark __strndup with __attribute_malloc__.
1290 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
1292 * locale/langinfo.h: Always define CODESET.
1293 (CODESET): Define also as macro.
1295 * stdio-common/printf_fp.c (__printf_fp): Allocate buffer to
1296 generate mantissa output in using malloc if it is larger than
1298 Reported by Jim Meyering <meyering@ascend.com>.
1300 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
1302 * misc/sys/cdefs.h: Define __attribute_malloc__ according to
1303 available gcc version.
1304 * string/string.h: Mark strdup, __strdup, and strndup with
1305 __attribute_malloc__.
1306 * stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with
1307 __attribute_malloc__.
1308 * malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc,
1309 and __default_morecore with __attribute_malloc__.
1310 Provide default definition for __attribute_malloc__.
1311 * libio/stdio.h: Make tempnam with __attribute_malloc__.
1313 * include/unistd.h: Declare __libc_open64, __libc_lseek64,
1314 __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64.
1315 * io/Versions: Export __libc_open64 and __libc_lseek64.
1316 * posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite,
1317 and __libc_pwrite64.
1318 * sysdeps/generic/open64.c: Define __libc_* variant for cancelation
1320 * sysdeps/generic/pread.c: Likewise.
1321 * sysdeps/generic/pread64.c: Likewise.
1322 * sysdeps/generic/pwrite.c: Likewise.
1323 * sysdeps/generic/pwrite64.c: Likewise.
1324 * sysdeps/posix/open64.c: Likewise.
1325 * sysdeps/posix/pread.c: Likewise.
1326 * sysdeps/posix/pread64.c: Likewise.
1327 * sysdeps/posix/pwrite.c: Likewise.
1328 * sysdeps/posix/pwrite64.c: Likewise.
1329 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1330 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1331 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1332 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1333 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1334 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
1335 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
1336 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
1337 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
1339 * sysdeps/posix/open64.c: Help gcc generating better code.
1341 * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open
1344 1999-12-11 H.J. Lu <hjl@gnu.org>
1346 * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl
1349 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
1351 * iconvdata/isiri-3342.c: New file.
1352 * iconvdata/Makefile (modules): Add ISIRI-3342.
1353 (distribute): Add isiri-3342.c.
1354 (gen-8bit-gap-modules): Add isiri-3342.
1355 * iconvdata/gconv-modules: Add entries for ISIRI-3342.
1357 * malloc/Versions: Export __libc_freeres for GLIBC_2.1.
1359 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Declare local variable
1360 result if necessary.
1362 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Don't depend on the
1363 unreliable kernel headers.
1364 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
1365 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
1366 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: New file.
1367 * sysdeps/unix/sysv/linux/mips/bits/resource.h: New file.
1369 1999-12-18 Andreas Jaeger <aj@suse.de>
1371 * config.make.in (datadir): Added.
1372 Closes PR libc/1491. Patch by dervishd@jazzfree.com.
1374 1999-12-18 Andreas Jaeger <aj@suse.de>
1376 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Save and
1378 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
1380 1999-12-18 Andreas Jaeger <aj@suse.de>
1382 * sysdeps/unix/sysv/linux/fxstat64.c: Rewrite to use fstat64
1383 syscall if available.
1384 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise for lstat64.
1385 * sysdeps/unix/sysv/linux/xstat64.c: Likewise for stat64.
1387 * sysdeps/unix/sysv/linux/kernel-features.h
1388 (__ASSUME_STAT64_SYSCALL): New.
1390 1999-12-17 Scott Bambrough <scottb@netwinder.org>
1392 * sysdeps/arm/dl-machine.h (CLEAR_CACHE): New macro to force a
1394 * elf/dl-reloc.c (_dl_relocate_object): Add call to flush cache
1395 after .text segment fixups.
1397 1999-12-16 Andreas Jaeger <aj@suse.de>
1399 * rt/aio.h: Remove erroneous __restrict declarations.
1401 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
1403 * scripts/rellns-sh: Find pwd program also in /usr/bin and let shell
1404 do the job if it is there neither.
1405 Patch by David R. Conrad <drc@adni.net> (PR libc/1485).
1407 1999-12-16 Andreas Jaeger <aj@suse.de>
1409 * sysdeps/ieee754/bits/nan.h (NAN): Rename union to avoid
1410 duplicate definition with function __nan.
1411 Closes PR libc/1487 reported by <diana@kai.com>.
1413 1999-12-17 Ulrich Drepper <drepper@cygnus.com>
1415 * string/bits/string2.h (__strsep): Help gcc optimizing string access.
1417 * locale/programs/ld-collate.c: Implement handling of absolute
1418 ellipsis. Parsing of file and constructing the internal data
1419 structures should now be complete.
1420 (collate_finish): Start adding support to generate the data
1421 structures which are written out to the file.
1423 * intl/dcgettext.c: Rewrite to handle caching of previous results here
1424 instead of in the dcgettext macro.
1425 * intl/libintl.h (dcgettext): Don't define for systems using this
1426 glibc or systems with tsearch.
1428 * sysdeps/generic/mathdef.h: Protect definitions for math.h
1429 against double inclusion.
1430 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
1431 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1432 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1433 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
1435 * sysdeps/i386/fpu/libm-test-ulps: Add more deltas (are mobile PIIs
1438 1999-12-17 Andreas Jaeger <aj@suse.de>
1440 * rt/aio.h (struct aiocb64): Add member __next_prio to sync the
1443 * rt/Makefile (tests): Added tst-aio64.
1444 Added dependency rules for tst-aio64.
1446 * rt/tst-aio64.c: New file, copied from tst-aio.c and changed for
1449 1999-12-15 Thorsten Kukuk <kukuk@suse.de>
1451 * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: Removed.
1452 * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: Removed.
1453 * sysdeps/unix/sysv/linux/bits/resource.h: Change RLIM_INFINITY back to
1454 old value (signed long).
1455 * sysdeps/unix/sysv/linux/i386/bits/resource.h: New, with unsigned
1457 * sysdeps/unix/sysv/linux/getrlimit.c: Moved from here to ...
1458 * sysdeps/unix/sysv/linux/i386/getrlimit.c: ... here.
1459 * sysdeps/unix/sysv/linux/getrlimit64.c: Moved from here to ...
1460 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: ... here.
1461 * sysdeps/unix/sysv/linux/oldgetrlimit64.c: Moved from here to ...
1462 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: ... here.
1463 * sysdeps/unix/sysv/linux/oldsetrlimit64.c: Moved from here to ...
1464 * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: ... here.
1465 * sysdeps/unix/sysv/linux/setrlimit.c: Moved from here to ...
1466 * sysdeps/unix/sysv/linux/i386/setrlimit.c: ... here.
1467 * sysdeps/unix/sysv/linux/setrlimit64.c: Moved from here to ...
1468 * sysdeps/unix/sysv/linux/i386/setrlimit64.c: ... here.
1469 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: New.
1470 * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: Removed.
1471 * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: Removed.
1473 1999-12-17 Andreas Jaeger <aj@suse.de>
1475 * elf/ldconfig.c: Add new option -l to manualy link shared
1477 (options): Added option.
1478 (parse_opt): Set option.
1479 (main): Handle option.
1480 (manual_link): New function.
1482 1999-12-17 Thorsten Kukuk <kukuk@suse.de>
1484 * string/bits/string2.h: Fix patch from 1999-12-07.
1486 1999-12-16 Ulrich Drepper <drepper@cygnus.com>
1488 * sysdeps/generic/strsep.c: If delim string has only one character
1489 don't run over end of string.
1491 * locale/programs/ld-collate.c (insert_weights): Also update next
1492 pointer of last cursor element.
1493 (insert_value): Return nonzero value if nothing got inserted.
1494 (handle_ellipsis): Don't do anything if to-value cannot be inserted.
1496 1999-12-10 Jakub Jelinek <jakub@redhat.com>
1498 * stdlib/longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT
1501 1999-12-10 Jakub Jelinek <jakub@redhat.com>
1503 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
1504 Copy sa_flags into kernel sigaction structure.
1506 1999-12-14 Andreas Jaeger <aj@suse.de>
1508 * string/tester.c (test_strsep): More tests for access beyond
1509 the final NUL. The first two tests come from PR libc/1486 by
1510 martinea@iro.umontreal.ca.
1512 1999-12-14 Thorsten Kukuk <kukuk@suse.de>
1514 * nis/ypclnt.c: Correct handling of cached client handles.
1515 (__xdr_ypresp_all): Call callback function for errors, too,
1517 * nis/nss_compat/compat-grp.c: Make sure errno is always set correct.
1518 * nis/nss_compat/compat-initgroups.c: Likewise.
1519 * nis/nss_compat/compat-spwd.c: Likewise.
1520 * nis/nss_nis/nis-alias.c: Likewise.
1521 * nis/nss_nis/nis-ethers.c: Likewise.
1522 * nis/nss_nis/nis-grp.c: Likewise.
1523 * nis/nss_nis/nis-hosts.c: Likewise.
1524 * nis/nss_nis/nis-netgrp.c: Likewise.
1525 * nis/nss_nis/nis-publickey.c: Likewise.
1526 * nis/nss_nis/nis-service.c: Likewise. Also use services.byservicename
1527 Map if available, optimize query if name/port and protocol is known.
1529 1999-12-12 Ulrich Drepper <drepper@cygnus.com>
1531 * locale/programs/ld-collate.c (collate_read): Make symbolic
1532 ellipsis work. Remove old and unused code.
1534 1999-12-11 Ulrich Drepper <drepper@cygnus.com>
1536 * locale/programs/ld-collate.c (collate_read): Implement
1537 reorder-section handling.
1539 1999-12-10 Ulrich Drepper <drepper@cygnus.com>
1541 * locale/programs/ld-collate.c: Implement "copy" in LC_COLLATE.
1543 * locale/programs/ld-collate.c (collate_read): Add handling of
1546 * locale/programs/ld-collate.c: Many changes to implement parsing
1547 of collation definition (still not complete).
1549 1999-12-09 Andreas Jaeger <aj@suse.de>
1551 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Always set
1552 errno to ENOENT when returning NSS_STATUS_NOTFOUND.
1553 Reported by Christian Starkjohann <cs@obdev.at>.
1555 1999-12-09 Andreas Jaeger <aj@suse.de>
1557 * sysdeps/i386/fpu/libm-test-ulps: Added some ulps.
1559 1999-12-09 Jakub Jelinek <jakub@redhat.com>
1561 * stdlib/longlong.h: Update from latest egcs version.
1563 * sysdeps/sparc/fpu/fegetenv.c: Add semicolons.
1565 * sysdeps/unix/sysv/linux/bits/errno.h (__errno_location): __THROW
1566 has to preceede __attribute__, otherwise g++ barfs.
1568 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Make things compile
1571 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Changed to
1573 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1575 1999-12-05 Wolfram Gloger <wg@malloc.de>
1577 * malloc/malloc.c (arena_get2): If generating a new arena fails,
1578 try to generate a minimal one and hope for mmap_chunk() to succeed
1581 1999-11-07 Wolfram Gloger <wg@malloc.de>
1583 * malloc/thread-m.h [NO_THREADS]: The mutex_* macros now let
1584 mutex_t work as an `in-use' flag even without threads.
1585 * malloc/malloc.c (USE_ARENAS): New feature flag, controls support
1586 for multiple arenas separately from NO_THREADS.
1587 (mALLOc, chunk_realloc, mEMALIGn, cALLOc) [USE_ARENAS]: try to
1588 fall back to an mmap()ed arena when sbrk() has failed.
1590 1999-12-09 Ulrich Drepper <drepper@cygnus.com>
1592 * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
1593 getrlimit64, setrlimit64 for GLIBC_2.1.3.
1594 * sysdeps/unix/sysv/linux/i386/Versions: Add getrlimit, setrlimit,
1595 getrlimit64, setrlimit64 for GLIBC_2.1.3.
1596 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules for
1597 oldgetrlimit and oldsetrlimit.
1598 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldgetrlimit and
1600 * sysdeps/unix/sysv/linux/Makefile: Move oldgetrlimit and
1601 oldsetrlimit rules into 32-bit arch subdirs.
1602 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1604 * locale/programs/ld-collate.c (insert_value): If this is the
1605 first symbol the cursor can be the same as the next pointer.
1607 1999-12-08 Ulrich Drepper <drepper@cygnus.com>
1609 * locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping
1611 (allocate_arrays): Allocate memory for map32. Correctly install
1612 default values in it and install defined mappings.
1614 * locale/programs/ld-monetary.c (monetary_finish): Provide default
1615 value for mon_grouping.
1617 * elf/readlib.c: Include a.out.h last since the Linux/Alpha
1618 headers are not clean enough.
1620 * sysdeps/unix/sysv/linux/getrlimit.c: Remove K&R compatibility.
1622 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1623 __ASSUME_TRUNCATE64_SYSCALL and __ASSUME_MMAP2_SYSCALL for 2.3.31
1625 * sysdeps/unix/sysv/linux/ftruncate64.c: New file.
1626 * sysdeps/unix/sysv/linux/truncate64.c: New file.
1627 * sysdeps/unix/sysv/linux/i386/mmap.S: Allow using mmap2.
1628 * sysdeps/unix/sysv/linux/i386/mmap64.S: New file.
1630 * ctype/Versions: Add __ctype32_tolower and __ctype32_toupper.
1631 * ctype/ctype-info.c: Define __ctype32_tolower and __ctype32_toupper.
1632 * locale/C-ctype.c: Add _nl_C_LC_CTYPE_toupper32 and
1633 _nl_C_LC_CTYPE_tolower32 tables.
1634 Don't compile it names of 14652 classes and maps.
1635 * locale/langinfo.h: Define _NL_CTYPE_TOUPPER32 and
1636 _NL_CTYPE_TOLOWER32.
1637 * locale/lc-ctype.c (_nl_postload_ctype): Initialize __ctype32_toupper
1638 and __ctype32_tolower.
1639 * locale/programs/ld-ctype.c (struct locale_ctype_t): Add map32.
1640 (ctype_output): Write out map32 values.
1641 (allocate_arrays): Compute mapping tables correctly.
1642 * wctype/wcfuncs.c (towlower): Use __ctype32_tolower.
1643 (towupper): Use __ctype32_toupper.
1644 * wctype/wctype.h: Optimize towupper and towlower for values < 256.
1646 * locale/programs/ld-ctype.c (set_class_defaults): Correctly
1647 determine tolower mapping for 8bit table if the tolower keyword is
1650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
1651 only IPv6 address. Reported by Artur Frysiak <wiget@pld.org.pl>.
1653 1999-12-07 Jakub Jelinek <jakub@redhat.com>
1655 * string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small,
1656 __stpcpy_small): Cast switch expressions to int to shut up compiler
1659 1999-12-07 Scott Bambrough <scottb@netwinder.org>
1661 * sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24
1664 1999-12-06 Andreas Schwab <schwab@suse.de>
1666 * sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the
1667 ugetrlimit syscall exists.
1669 * sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on
1671 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
1673 1999-12-07 Ulrich Drepper <drepper@cygnus.com>
1675 * iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment
1676 pointers if character is illegal.
1677 Reported by Bruno Haible <haible@ilog.fr>.
1679 * iconv/gconv_db.c (gen_steps): Set __counter initialy to 1.
1680 (increment_counter): New function. Broken out of find_derivation.
1681 (find_derivation): No need for a lock. Increment counter only when
1682 the derivation was already available.
1683 * iconv/gconv_dl.c: Add debugging functions.
1684 (known_compare): We have to use strcmp.
1685 Reported by Bruno Haible <haible@ilog.fr>.
1687 1999-12-06 Ulrich Drepper <drepper@cygnus.com>
1689 * iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo.
1690 * iconvdata/iso_2033.c (CHARSET_NAME): Fix typo.
1691 * iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo.
1692 * iconvdata/gconv-modules: Correct ISO646-PT2 alias. Add
1694 Reported by Bruno Haible <haible@ilog.fr>.
1696 * locale/programs/xstrdup.c: It's _LIBC, not __LIBC.
1698 1999-12-03 Andreas Jaeger <aj@suse.de>
1700 * nss/getXXbyYY.c: Include <resolv.h>
1701 (FUNCTION_NAME): Use res_ninit instead of res_init.
1703 * nss/getXXbyYY_r.c [NEED__RES]: Include <resolv.h> for _res
1704 declaration and prototypes.
1705 Remove extra _res declaration.
1706 (INTERNAL): Use thread aware res_ninit function.
1708 * inet/gethstbyad_r.c: Include <resolv.h>.
1710 * resolv/res_data.c: Update from Bind 8.2.2-P5. Moved res_init to
1711 res_libc.c. Disabled unneeded functions.
1713 * resolv/res_libc.c: New file.
1715 * Versions.def: Add version GLIBC_2.2 for libpthread.
1716 Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv.
1718 * include/resolv.h: Add internal interfaces.
1720 * resolv/Makefile (routines): Add new files.
1721 (libresolv-routines): Likewise.
1722 (distribute): Likewise.
1724 * resolv/gethnamaddr.c: Use thread safe resolver functions.
1725 * resolv/nss_dns/dns-host.c: Likewise.
1726 * resolv/nss_dns/dns-network.c: Likewise.
1728 * resolv/arpa/nameser.h: Update from Bind 8.2.2-P5.
1729 * resolv/nsap_addr.c: Likewise.
1730 * resolv/res_comp.c: Likewise.
1731 * resolv/res_debug.c: Likewise.
1732 * resolv/res_init.c: Likewise.
1733 * resolv/res_mkquery.c: Likewise.
1734 * resolv/res_query.c: Likewise.
1735 * resolv/res_send.c: Likewise.
1736 * resolv/resolv.h: Likewise.
1738 * resolv/Versions: Add __res_state and __res_ninit with version
1740 Add new interfaces with version GLIBC_2.2 to libresolv.
1742 * resolv/Banner: Update.
1744 * include/arpa/nameser_compat.h: New file.
1746 * resolv/ns_name.c: New file from Bind 8.2.2-P5.
1747 * resolv/ns_netint.c: Likewise.
1748 * resolv/ns_parse.c: Likewise.
1749 * resolv/ns_print.c: Likewise.
1750 * resolv/ns_samedomain.c: Likewise.
1751 * resolv/ns_ttl.c: Likewise.
1752 * resolv/arpa/nameser_compat.h: Likewise.
1753 * resolv/res_debug.h: Likewise.
1755 Some patches are based on work done by Adam D. Bradley
1756 <artdodge@cs.bu.edu>.
1758 1999-11-30 Andreas Jaeger <aj@suse.de>
1761 * elf/Makefile (extra-objs): Added ldconfig-modules.
1762 (ldconfig-modules): New.
1763 Added vpath for xstrdup and xmalloc.
1764 Check for use-ldconfig instead of has-ldconfig.
1765 ($(objpfx)ldconfig): New rule with dependencies.
1766 (distribute): Add new files.
1768 * sysdeps/unix/sysv/linux/sparc/readelflib.c: New file,
1769 developed together with Jakub Jelinek <jakub@redhat.com>.
1770 * sysdeps/generic/readelflib.c: Likewise.
1772 * elf/cache.c: New file.
1773 * elf/ldconfig.c: New file.
1774 * elf/ldconfig.h: New file.
1775 * elf/readlib.c: New file.
1777 * Makefile (install): Remove flag -d in ldconfig call.
1779 * configure.in: Rename has_ldconfig to use_ldconfig, set it to no
1782 * config.make.in (has-ldconfig): Renamed to use-ldconfig, changed
1785 * sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig,
1786 set always use_ldconfig instead.
1788 1999-12-03 Ulrich Drepper <drepper@cygnus.com>
1790 * sysdeps/generic/bits/stropts.h: Update with LiS types and
1791 values. Patch by David Grothe <dave@gcom.com>.
1793 * sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t):
1795 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1796 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1797 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1799 1999-12-02 Akira Yoshiyama <yosshy@debian.or.jp>
1801 * locale/lc-time.c (_nl_get_era_entry): Separate eras
1802 initialization as _nl_init_era_entry().
1803 * locale/lc-time.c (_nl_get_era_nf_entry): New function.
1804 * locale/lc-time.c (_nl_get_era_year_offset): New function.
1805 * locale/lc-time.c (_nl_get_era_year_start): New function.
1806 * locale/localeinfo.h: Declare new functions.
1807 Define ERA_NAME_FORMAT_MEMBERS, ERA_M_NAME, ERA_M_FORMAT, ERA_W_NAME,
1810 1999-12-02 Ulrich Drepper <drepper@cygnus.com>
1812 * posix/regex.c (SYNTAX): Make more portable.
1813 Patch by Aharon Robbins <arnold@skeeve.com>.
1815 1999-11-18 Roland McGrath <roland@baalperazim.frob.com>
1817 * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is
1818 nonzero, use cthread_fork to create the signal thread.
1819 * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize
1820 _hurd_msgport_thread here (to self).
1821 * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end
1822 is zero, instead compute child signal thread's starting SP from parent
1823 signal thread's current SP and the threadvar_stack variables.
1824 * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach.
1825 These are now referenced weakly by _hurdsig_init.
1827 * hurd/report-wait.c (_S_msg_report_wait): Fix typo:
1828 &_hurd_itimer_thread not &_hurd_msgport_thread.
1830 1999-10-01 Roland McGrath <roland@baalperazim.frob.com>
1832 * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
1833 without HURD_DPORT_USE to clean up warnings.
1834 * hurd/dtable.c (get_dtable_port): Likewise.
1836 * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
1837 (install_ctty): Do the changing of the cttyid port cell here, inside
1838 the critical section while we holding the dtable lock.
1839 (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
1840 the port cell and calling rectty_dtable.
1841 (_hurd_locked_install_cttyid): New function, split out of install_ctty.
1842 (install_ctty): Use it inside a critical section, with the lock held.
1843 * sysdeps/mach/hurd/setsid.c (__setsid): Use
1844 _hurd_locked_install_cttyid to effect the cttyid and dtable changes
1845 after proc_setsid, having held the dtable lock throughout.
1846 * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
1847 cttyid port for null and bail out early if so. The dtable lock
1848 serializes us after any cttyid change and its associated dtable update.
1850 1999-11-14 Roland McGrath <roland@baalperazim.frob.com>
1852 * sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
1853 Its presence lets librpcsvc compile ok. This from Mark Kettenis.
1854 We don't install this file for users.
1855 * sysdeps/mach/hurd/Dist: Add it.
1856 * sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
1857 Append nfs/nfs.h here.
1859 1999-12-01 Andreas Jaeger <aj@suse.de>
1861 * sysdeps/generic/if_index.c (__protocol_available): Add missing
1864 * stdio/stdio.h: Fix typo.
1865 Patches by Marcus G. Daniels <mgd@santafe.edu>.
1867 1999-12-01 Andreas Jaeger <aj@suse.de>
1869 * scripts/test-installation.pl (installation_problem): Filter out
1872 1999-12-01 Andreas Schwab <schwab@suse.de>
1874 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of
1875 __rlim_t and __rlim64_t.
1876 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1877 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1879 1999-12-01 Andreas Schwab <schwab@suse.de>
1881 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1882 oldgetrlimit64 and oldsetrlimit64 for subdir = resource.
1883 * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
1884 getrlimit64 and setrlimit64 to version GLIBC_2.1.3.
1885 * sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and
1886 new kernel version. Add symbol versions.
1887 * sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and
1889 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
1890 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1891 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit
1893 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1894 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
1895 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
1896 * sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file.
1897 * sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file.
1898 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
1899 * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file.
1900 * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file.
1901 * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New
1903 * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New
1906 1999-12-01 Ulrich Drepper <drepper@cygnus.com>
1908 * sysdeps/generic/usleep.c: Fix typo.
1910 * sysdeps/generic/sys/ptrace.h: Remove K&R compatibility.
1912 * sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
1915 * sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not
1918 * malloc/set-freeres.c: Really use already_called variable.
1920 * libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing
1921 function call directly.
1922 * libio/iosetvbuf.c: Likewise.
1924 1999-11-29 Ulrich Drepper <drepper@cygnus.com>
1926 * configure.in: Add AIX 4.3 support.
1928 * iconvdata/gconv-modules: Correct alias for ISO-8859-10. This
1929 standard was issued in 1992.
1930 Reported by Bruno Haible <haible@ilog.fr>.
1932 1999-11-29 Thorsten Kukuk <kukuk@suse.de>
1934 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for
1937 1999-11-29 Andreas Jaeger <aj@suse.de>
1939 * manual/time.texi (Basic CPU Time): Better describe wrap around.
1940 Patch by Andries Brouwer <Andries.Brouwer@cwi.nl>.
1942 1999-11-29 Ulrich Drepper <drepper@cygnus.com>
1944 * iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases.
1945 Patch by Bruno Haible <haible@ilog.fr>.
1947 1999-11-29 Thorsten Kukuk <kukuk@suse.de>
1949 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Remove K&R compatibility.
1951 1999-11-29 Andreas Schwab <schwab@suse.de>
1953 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable
1954 __v to __bswap_32_v.
1955 (__bswap_64): Rename local variables __v and __r to __bswap_64_v
1956 and __bswap_64_r to avoid clash with __bswap_32 macro.
1958 1999-11-28 Ulrich Drepper <drepper@cygnus.com>
1960 * iconvdata/t.61.c (CHARSET_NAME): Correct name to what is used in
1963 1999-11-26 Ulrich Drepper <drepper@cygnus.com>
1965 * locale/programs/ld-ctype.c (allocate_arrays): Complete last
1966 patch. Use wch instead of idx to compute index.
1967 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1969 * inet/rcmd.c (ruserok): Use iruserok2 not iruserok.
1971 * locale/iso-3166.def: Update from latest official list.
1973 1999-11-26 Thorsten Kukuk <kukuk@suse.de>
1975 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include
1976 asm/ptrace.h, since this will not be done with 2.3.xx automatically
1977 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1979 1999-11-26 Andreas Jaeger <aj@suse.de>
1981 * libio/libioP.h: Remove duplicate declaration of _IO_wsetb.
1983 1999-11-26 Andreas Jaeger <aj@suse.de>
1985 * inet/rcmd.c: Include stdlib for declaration of free.
1988 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
1990 * iconv/gconv.c (__gconv): Always initialize
1991 cd->__data[last_step].__outbuf and cd->__data[last_step].__outbufend.
1993 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Update number of
1995 * iconvdata/iso-2022-jp.c: Likewise.
1997 1999-11-25 H.J. Lu <hjl@gnu.org>
1999 * stdlib/exit.c (exit): Run funtions only if
2000 __exit_funcs->idx > 0.
2002 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
2004 * manual/charset.texi (iconv Examples): Add iconv call to flush
2005 state. Reported by Andrew Clausen <clausen@alphalink.com.au>.
2007 1999-11-25 Andreas Jaeger <aj@suse.de>
2009 * manual/install.texi (Running make install): Better describe
2011 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2013 1999-11-25 Andreas Jaeger <aj@suse.de>
2015 * include/sys/mman.h: Remove K&R compatibility.
2017 1999-11-15 Andreas Jaeger <aj@suse.de>
2019 * misc/sys/mman.h: Use __REDIRECT for mmap, correct prototype to
2022 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
2024 * iconv/iconv_prog.c (process_block): For stateful charsets write
2025 out byte sequence to get to initial state at the end of the file.
2027 1999-11-25 Andreas Schwab <schwab@suse.de>
2029 * Makeconfig: Include sys-dirs and sys-sorted earlier.
2030 ($(common-objpfx)soversions.mk): Wait until subdirs is complete.
2031 ($(common-objpfx)sysd-sorted): Emit marker when this file is
2034 1999-11-24 Ulrich Drepper <drepper@cygnus.com>
2036 * manual/setjmp.texi: Many changes to correct bad English introduced
2038 * manual/time.texi: Likewise.
2039 Patches by Neil Booth <neil@rosenet.ne.jp>.
2041 * include/string.h: Remove K&R compatibility.
2043 1999-11-23 Ulrich Drepper <drepper@cygnus.com>
2045 * sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition.
2047 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added.
2049 * string/stratcliff.c: Add one more strchr test for something
2050 which was reported to not work (which proofed to be wrong).
2052 * iconv/skeleton.c: It's __is_last, not is_last.
2054 * locale/programs/ld-ctype.c (ctype_finish): Correct method to find
2056 (allocate_arrays): Likewise.
2057 (find_idx): Correctly increase array size.
2058 Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2060 1999-11-23 Thorsten Kukuk <kukuk@suse.de>
2062 * iconv/skeleton.c: Don't access next_step->fct if data->is_last
2065 1999-11-23 Andreas Jaeger <aj@suse.de>
2067 * include/sys/select.h: Remove K&R compatibility.
2068 * include/sys/statfs.h: Likewise.
2069 * include/gnu/libc-version.h: Likewise.
2070 * include/db_185.h: Likewise.
2071 * include/dlfcn.h: Likewise.
2072 * include/search.h: Likewise.
2073 * include/setjmp.h: Likewise.
2074 * include/signal.h: Likewise.
2075 * include/stdio.h: Likewise.
2076 * include/unistd.h: Likewise.
2078 1999-11-23 Andreas Jaeger <aj@suse.de>
2080 * include/aio.h: Remove __THROW from internal interfaces. __THROW
2081 is only need in external header files that might be compiled by a
2083 * include/alloca.h: Likewise.
2084 * include/db.h: Likewise.
2085 * include/dirent.h: Likewise.
2086 * include/execinfo.h: Likewise.
2087 * include/fpu_control.h: Likewise.
2088 * include/glob.h: Likewise.
2089 * include/grp.h: Likewise.
2090 * include/libintl.h: Likewise.
2091 * include/math.h: Likewise.
2092 * include/math.h: Likewise.
2093 * include/mntent.h: Likewise.
2094 * include/mntent.h: Likewise.
2095 * include/netdb.h: Likewise.
2096 * include/pwd.h: Likewise.
2097 * include/sched.h: Likewise.
2098 * include/shadow.h: Likewise.
2099 * include/stdlib.h: Likewise.
2100 * include/sys/file.h: Likewise.
2101 * include/sys/gmon.h: Likewise.
2102 * include/sys/ioctl.h: Likewise.
2103 * include/sys/socket.h: Likewise.
2104 * include/sys/stat.h: Likewise.
2105 * include/sys/sysinfo.h: Likewise.
2106 * include/sys/time.h: Likewise.
2107 * include/sys/times.h: Likewise.
2108 * include/sys/uio.h: Likewise.
2109 * include/sys/wait.h: Likewise.
2110 * include/termios.h: Likewise.
2111 * include/time.h: Likewise.
2112 * include/ulimit.h: Likewise.
2113 * include/utmp.h: Likewise.
2114 * include/wchar.h: Likewise.
2116 1999-11-22 Andreas Jaeger <aj@suse.de>
2118 * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output.
2119 Patch by Jerry Perkins <jrperkins@iname.com>, closes PR
2122 1999-11-22 Jakub Jelinek <jakub@redhat.com>
2124 * sysdeps/generic/siglist.h: Avoid declaring the same field
2125 twice if SIGPWR is defined to SIGLOST.
2126 * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument,
2127 not signed, so we should not special case it for negative args.
2128 * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic
2129 memmove, use the one provided in memcpy.S.
2130 * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping
2131 copies like memmove, while the previous version worked like memcpy.
2132 Implement optimized assembly memmove.
2133 * sysdeps/sparc/sparc64/memmove.c: New file.
2135 1999-11-23 Ulrich Drepper <drepper@cygnus.com>
2137 * po/cs.po: Update from translators.
2139 1999-11-23 Andreas Jaeger <aj@suse.de>
2141 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function.
2142 (elf_machine_got): Removed, not needed anymore.
2143 (ELF_MACHINE_RELOC_NOPLT): Removed.
2144 (ELF_MACHINE_JMP_SLOT): Added.
2145 (_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__.
2146 (_RTLD_EPILOGUE): Likewise.
2147 (RESOLVE_GOTSYM): Use R_MIPS_REL32.
2148 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2149 Based on patches from Maciej W. Rozycki <macro@ds2.pg.gda.pl> and
2150 Ralf Baechle <baechle@uni-koblenz.de>.
2152 * sysdeps/mips/mips64/dl-machine.h: Apply same patches.
2154 1999-11-22 Ulrich Drepper <drepper@cygnus.com>
2156 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset
2157 name from the locale name. Only use the value in the LC_CTYPE
2160 * locale/loadlocale.c (_nl_load_locale): Allow index of entry in
2161 file be equal to file size.
2163 * stdlib/longlong.h: Add count_trailing_zeros back.
2165 * stdlib/longlong.h: Update from latest egcs version.
2167 1999-11-22 Andreas Jaeger <aj@suse.de>
2169 * locale/programs/ld-collate.c (insert_value): Correct order of
2170 arguments for lr_error call.
2172 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add
2173 __syscall_setrlimit.
2175 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Include <sys/types.h>
2177 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2179 1999-11-21 Ulrich Drepper <drepper@cygnus.com>
2181 * sysdeps/i386/fpu/libm-test-ulps: Increase error value for latest
2184 * locale/programs/ld-ctype.c (ctype_read): Correctly implement
2185 14652-style definition of new maps and classes.
2187 1999-11-20 Ulrich Drepper <drepper@cygnus.com>
2189 * locale/programs/ld-monetary.c (monetary_finish): Don't print
2190 individual error message if nothing is defined.
2192 * locale/programs/ld-time.c (time_startup): Test for lr being
2195 * locale/programs/ld-numeric.c (numeric_finish): Don't crash if
2196 decimal_point is not defined.
2198 * wctype/wctrans.c (wctrans): Use correct base index to access
2199 extra mapping tables.
2201 * locale/loadlocale.c (_nl_load_locale): Use actual number of
2202 entries from file and not the fixed (minimal number from the
2205 * locale/programs/ld-ctype.c (ctype_read): Fix reading of <U....>
2208 1999-11-18 Paul Eggert <eggert@twinsun.com>
2210 * time/strftime.c (my_strftime): Some old compilers object to
2211 '\a', so don't bother optimizing for it.
2213 1999-11-19 Ulrich Drepper <drepper@cygnus.com>
2215 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify
2216 the rlimits structure passed in.
2218 1999-11-19 Andreas Jaeger <aj@suse.de>
2220 * include/sys/resource.h (__setrlimit): Add prototype.
2222 1999-11-19 Ulrich Drepper <drepper@cygnus.com>
2224 * elf/dl-load.c (_dl_init_paths): Allocate correct number of
2225 entries for rtld_search_dirs[0].
2226 Patch by David Mosberger <davidm@hpl.hp.com>.
2228 1999-11-18 Ulrich Drepper <drepper@cygnus.com>
2230 * locale/programs/ld-ctype.c: Don't predefine the character
2231 classes and mappings of ISO 14652.
2233 * locale/programs/ld-ctype.c: Punt if character class definitions
2234 to not consists of tok_bsymbol (for now).
2236 * time/strptime.c (day_of_the_week): Make sure result is never
2238 (strptime_internal): Allow %C without %y.
2240 1999-11-18 Andreas Jaeger <aj@suse.de>
2242 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Sorted entries and added
2245 * sysdeps/unix/sysv/linux/getpt.c: Include linux_fsinfo.h instead
2246 of defining *_SUPER_MAGIC.
2247 * sysdeps/unix/sysv/linux/grantpt.c: Likewise.
2249 1999-11-18 Ulrich Drepper <drepper@cygnus.com>
2251 * locale/programs/locale.c: Don't handle LC_ALL together with the
2252 other categories when printing the value.
2253 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
2255 * locale/locale.h: Correct comment about LC_ALL.
2257 1999-11-17 Ulrich Drepper <drepper@cygnus.com>
2259 * locale/programs/ld-ctype.c (ctype_output): Correct computation of
2260 nelems. Correctly compute index for additional character classes.
2261 (ctype_read): Handle charclass and charconv definitions. Also
2262 recognize arbitrary strings as mapping names.
2263 * locale/programs/ld-time.c (time_finish): Correctly skip over wide
2264 character era strings.
2265 * locale/lc-time.c (_nl_get_era_entry): Correctly skip era name
2266 and format for wide characters.
2267 * time/strftime.c: Correctly determine era information for wide
2269 * wctype/wctrans.c: Fix after removal of second endianess table.
2270 * wctype/wctype.h (_ISwbit): Correctly handle bits > 16.
2271 Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2273 * wcsmbs/wcwidth.h (internal_wcwidth): Reject non-printable characters.
2274 * wcsmbs/wcswidth.c (wcswidth): Don't forget to decrement counter n.
2276 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove greg_t,
2277 gregset_t, fpregset_t, and NGREG definitions.
2279 * locale/programs/ld-ctype.c: Implement character width information
2282 1999-11-09 Andreas Jaeger <aj@suse.de>
2284 * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Add support for devfs.
2286 * sysdeps/unix/sysv/linux/getpt.c (__getpt): Check for devfs.
2287 Patch by German Jose Gomez Garcia <german@pinon.ccu.uniovi.es>.
2289 * sysdeps/unix/sysv/linux/linux_fsinfo.h (DEVFS_SUPER_MAGIC): Added.
2291 1999-11-17 Ulrich Drepper <drepper@cygnus.com>
2293 * sysdeps/gnu/netinet/tcp.h: Add TCP_CORK definition.
2295 1999-11-07 Andreas Jaeger <aj@suse.de>
2297 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: New file with some
2298 defines from Linux scsi_ioctl.h header.
2300 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Added
2302 * sysdeps/unix/sysv/linux/Dist: Likewise.
2304 * sysdeps/unix/sysv/linux/scsi/sg.h: Synced with Linux 2.3.26;
2307 * sysdeps/unix/sysv/linux/scsi/scsi.h (TYPE_ENCLOSURE): Added to
2308 sync with Linux 2.3.26.
2310 1999-11-17 Andreas Jaeger <aj@suse.de>
2312 * shlib-versions: Allow mipsel for libm.
2313 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2315 1999-11-16 Andreas Jaeger <aj@suse.de>
2317 * math/fenv.h: Fix typos in comments. Reported by Andreas Schwab.
2319 1999-11-16 Ulrich Drepper <drepper@cygnus.com>
2321 * locale/programs/ld-ctype.c (set_class_defaults): Set default
2322 value for alpha and alnum correctly.
2324 * locale/programs/ld-address.c (address_output): Fix output of
2327 1999-11-15 Ulrich Drepper <drepper@cygnus.com>
2329 * timezone/asia: Update from tzdata1999j.
2330 * timezone/australasia: Likewise.
2331 * timezone/europe: Likewise.
2332 * timezone/northamerica: Likewise.
2333 * timezone/southamerica: Likewise.
2334 * timezone/zone.tab: Likewise.
2336 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
2338 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove duplicate definitions.
2339 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
2340 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
2341 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise.
2342 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2344 1999-11-15 Andreas Jaeger <aj@suse.de>
2346 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
2347 __syscall_setrlimit.
2348 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2350 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
2352 * scripts/versions.awk: Don't expect to read predecessor versions,
2354 * Versions.def: Remove predecessors. They now get computed.
2356 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
2358 * sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
2359 * sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit
2361 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
2362 * sysdeps/powerpc/stackinfo.h: New file.
2363 Patches by Franz Sirl <Franz.Sirl@lauterbach.com>.
2365 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
2367 * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to
2370 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
2372 * hurd/Versions (GLIBC_2.1.3): Define, adding directory_name_split and
2373 hurd_directory_name_split.
2374 * Versions.def (libc): Add GLIBC_2.1.3.
2376 1999-11-09 Roland McGrath <roland@baalperazim.frob.com>
2378 * hurd/report-wait.c (describe_port): Return char * and use __stpcpy
2379 to return the location of the null byte written into the string.
2380 (describe_number): Likewise.
2381 (describe_number): Remove assert, not always used with #.
2382 If FLAVOR is null, don't use it.
2383 (describe_number): Take signed argument and print a - if negative.
2384 (_S_msg_report_wait): Report system call number for system calls that
2385 aren't mach_msg. Soup up reporting for mach_msg: If destination port
2386 matches SS->intr_port, bracket port description with [...] to indicate
2387 a Hurd interruptible RPC; if destination port is null, examine the
2388 receive port and report that state; if receive port is also null,
2389 check for timeout and report its value.
2390 * sysdeps/mach/hurd/i386/intr-msg.h (MSG_EXAMINE): Return int that is
2391 zero iff we managed to examine the stack; take new args RCV_NAME,
2392 SEND_NAME, OPTION, and TIMEOUT to fill in with mach_msg args.
2394 * hurd/report-wait.c (describe_port): Recognize MACH_PORT_NULL and
2395 MACH_PORT_DEAD specially.
2397 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
2399 * hurd/hurdlookup.c (__hurd_directory_name_split): New function.
2400 (__directory_name_split): New function.
2401 * hurd/hurd.h: Declare them.
2402 * sysdeps/mach/hurd/rmdir.c: Use __directory_name_split instead of
2403 __file_name_split, so we ignore trailing slashes properly.
2404 * sysdeps/mach/hurd/rename.c: Likewise.
2406 1999-11-13 Thorsten Kukuk <kukuk@suse.de>
2408 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add SIGPWR define
2409 from current kernel headers.
2411 * sunrpc/key_call.c: Use /usr/etc/keyenvoy only if we don't have
2412 SO_PASSCRED defined.
2414 1999-11-12 Ulrich Drepper <drepper@cygnus.com>
2416 * locale/C-ctype.c: Fix typo in char class name.
2418 * configure.in: Allow user so specify --enable-kernel=current.
2420 1999-11-12 Thorsten Kukuk <kukuk@suse.de>
2422 * nis/nss_nisplus/nisplus-publickey.c: Check for snprintf return value.
2424 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Follow changes from
2426 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
2427 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
2428 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2429 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
2431 1999-11-12 Ulrich Drepper <drepper@cygnus.com>
2433 * intl/locale.alias: Add Estonian entries.
2434 Patch by Marko Kreen <marko@et.ee> [PR libc/1444].
2436 1999-11-02 Andreas Jaeger <aj@suse.de>
2438 * Versions.def: Add version GLIBC_2.2 for libm.
2439 * math/fenv.h: Add prototypes for fegetexcept, feenableexcept and
2441 * sysdeps/generic/feenablxcpt.c: Stub file.
2442 * sysdeps/generic/fedisblxcpt.c: Stub file.
2443 * sysdeps/generic/fegetexcept.c: Stub file.
2444 * sysdeps/i386/fpu/fedisblxcpt.c: New file.
2445 * sysdeps/i386/fpu/feenablxcpt.c: New file.
2446 * sysdeps/i386/fpu/fegetexcept.c: New file.
2447 * math/Makefile (libm-support): Add new files.
2448 * math/Versions: Add new functions with version GLIBC_2.2.
2449 * manual/arith.texi (Control Functions): Document fegetexcept,
2450 feenableexcept and fedisableexcept.
2452 1999-11-01 Wolfram Gloger <wg@malloc.de>
2454 * malloc/malloc.h: Describe __malloc_initialize_hook.
2455 * manual/memory.texi: Document __malloc_initialize_hook.
2457 1999-11-11 Ulrich Drepper <drepper@cygnus.com>
2459 * sysdeps/unix/sysv/linux/setrlimit.c: Correctly use rlimits.
2461 1999-11-09 Andreas Jaeger <aj@suse.de>
2463 * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
2464 implementation for ttyname_r call; fix inverted condition; return
2466 Closes PR libc/1438.
2468 1999-11-10 Ulrich Drepper <drepper@cygnus.com>
2470 * math/fenv.h: Include bits/fenvinline.h if optimizing.
2471 * sysdeps/powerpc/fpu/bits/fenv.h: Remove inline functions. Moved to..
2472 * sysdeps/powerpc/fpu/bits/fenvinline.h: ...here. New file.
2473 * sysdeps/generic/bits/fenv.h: New file.
2475 1999-11-10 Ulrich Drepper <drepper@cygnus.com>
2477 * misc/tst-efgcvt.c (output_r_error): Remove extra parameter to
2480 1999-11-10 Andreas Jaeger <aj@suse.de>
2482 * misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r.
2484 1999-11-10 Andreas Jaeger <aj@suse.de>
2486 * string/strsignal.c (strsignal): Correct check for snprintf
2488 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
2490 * misc/efgcvt_r.c (APPEND): Correct check for too small buffer
2491 according to changed snprintf return value.
2492 Reported by Lawrence K. Chen <lchen@opentext.com>.
2494 * misc/tst-efgcvt.c (special): Add tests for a too small buffer
2495 for ecvt_r and fcvt_r.
2497 1999-11-09 Ulrich Drepper <drepper@cygnus.com>
2499 * elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to
2500 directory with the reference since this is as secure as using the
2501 object with the dependency.
2502 (_dl_dst_substitute): Likewise.
2504 * elf/dl-load.c (_dl_dst_count): Change strings in first two
2505 strncmp calls to allow reuse.
2506 (_dl_dst_substitute): Likewise.
2508 1999-11-01 Arnold D. Robbins <arnold@skeeve.com>
2510 * posix/regex.c (init_syntax_once): move below definition of
2511 ISALNUM etc., then use ISALNUM to init the table, so that
2512 the word ops will work if i18n'ed.
2513 (SYNTAX): And subscript with 0xFF for 8bit character sets.
2515 1999-11-09 Andreas Jaeger <aj@suse.de>
2517 * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
2518 implementation for ttyname_r call; fix inverted condition; return
2519 ut_user. Closes PR libc/1438.
2521 1999-11-09 Ulrich Drepper <drepper@cygnus.com>
2523 * timezone/checktab.awk: Update from tzcode1999h.
2524 * timezone/africa: Update from tzdata1999i.
2525 * timezone/asia: Likewise.
2526 * timezone/australasia: Likewise.
2527 * timezone/backward: Likewise.
2528 * timezone/europe: Likewise.
2529 * timezone/northamerica: Likewise.
2530 * timezone/southamerica: Likewise.
2531 * timezone/iso3166.tab: Likewise.
2532 * timezone/zone.tab: Likewise.
2534 * sysdeps/unix/sysv/linux/bits/resource.h: Define values also as
2535 macros. Patch by brg@csua.berkeley.edu [PR libc/1439].
2537 1999-11-09 Andreas Jaeger <aj@suse.de>
2539 * posix/Makefile (tests): Added tst-getlogin.
2541 * posix/tst-getlogin.c: New file, contains simple tests for
2542 getlogin and getlogin_r.
2544 1999-11-09 Andreas Schwab <schwab@suse.de>
2546 * misc/syslog.c: For LOG_PERROR only append a newline if
2549 1999-11-08 Ulrich Drepper <drepper@cygnus.com>
2551 * elf/elf.h: Add STT_REGISTER, STT_HP_OPAQUE, and STT_ST_STUB
2554 1999-11-08 Andreas Jaeger <aj@suse.de>
2556 * locale/findlocale.c (_nl_find_locale): Free normalized_codeset;
2557 this fixes a memory leak (closes PR libc/1435).
2559 * intl/l10nflist.c (_nl_normalize_codeset): Update comment to
2560 reflect memory allocation.
2562 * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory
2563 allocation in _nl_explode_name.
2565 1999-11-06 Andreas Jaeger <aj@suse.de>
2567 * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock
2569 Reported by wes@surety.com, closes PR libc/1432.
2571 1999-11-05 Geoff Keating <geoffk@cygnus.com>
2573 * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of
2574 enumerator lists (-pedantic complains).
2575 (feraiseexcept): Use i#*X as the constraint. Fix a bug in the
2576 test for 'one bit set'.
2577 (feclearexcept): Likewise.
2579 1999-11-05 Ulrich Drepper <drepper@cygnus.com>
2581 * sysdeps/unix/sysv/linux/setrlimit.c: New file.
2583 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust
2585 * sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make
2588 1999-10-04 Tim Waugh <twaugh@redhat.com>
2590 * posix/wordexp-test.c: More tests.
2592 * posix/wordexp.c (wordexp): Explicit null words should be kept.
2594 1999-11-04 Shinya Hanataka <hanataka@abyss.rim.or.jp>
2596 * locale/programs/linereader.c (get_string): Correct type of buf2
2598 * locale/programs/ld-ctype.c (ctype_output): Store index correctly
2599 for _NL_CTYPE_INDIGITS_MB_LEN, _NL_CTYPE_INDIGITS_WC_LEN,
2600 _NL_CTYPE_INDIGITS*_MB, _NL_CTYPE_OUTDIGIT*_MB, and
2601 _NL_CTYPE_OUTDIGIT*_WC.
2602 (allocate_arrays): Completely initialize mapping tables.
2603 * locale/programs/ld-time.c (time_startup): We need the wide car
2605 (time_finish): Correct handling of era.
2606 (time_output): Fix a few array indeces.
2607 (time_read): Pass the repertoire map to lr_token.
2609 1999-11-03 Ulrich Drepper <drepper@cygnus.com>
2611 * Versions.def: Add version for libthread_db.
2613 1999-11-02 Andreas Jaeger <aj@suse.de>
2615 * manual/header.texi (Library Summary): The command @indexfonts
2616 doesn't exist anymore, use @smallfonts instead.
2618 1999-11-02 Ulrich Drepper <drepper@cygnus.com>
2620 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h
2621 instead of duplicating definitions.
2623 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
2625 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used
2627 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
2628 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise.
2629 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
2630 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2631 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
2633 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
2635 * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25.
2637 * sysdeps/unix/sysv/linux/kernel-features.h
2638 (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition.
2639 * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file.
2641 * manual/texinfo.tex: Updated.
2643 1999-11-01 Andreas Jaeger <aj@suse.de>
2645 * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility.
2647 * inet/gethstbynm2_r.c: Reorder addresses.
2649 1999-09-11 Paul Eggert <eggert@twinsun.com>
2651 * posix/glob.h (glob): If #defining to glob64, do this before
2652 declaring it, so that all declarations and uses match, and do not
2653 declare glob64, to avoid a declaration clash.
2654 (globfree): Likewise with globfree64.
2656 1999-09-08 Eli Zaretskii <eliz@is.elta.co.il>
2658 * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]:
2659 Keep the trailing slash unless DIRNAME is just "x:/".
2661 1999-10-11 Andreas Jaeger <aj@suse.de>
2663 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added.
2664 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2665 Closes PR libc/1384.
2667 1999-10-20 Andreas Schwab <schwab@suse.de>
2669 * math/Makefile (libm-tests-generated): Remove libm-test.stmp.
2670 (generated): Add it here.
2671 (before-compile): Add libm-test.c.
2672 ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on
2674 ($(objpfx)libm-test.stmp): Use $(objpfx) instead of
2677 1999-10-31 Ulrich Drepper <drepper@cygnus.com>
2679 * Makefile (pdf): New goal.
2680 * manual/Makefile: Add definitions and rules for PDF generation.
2682 * Versions.def (libm): Add GLIBC_2.1.3.
2684 ISO C99 TR1 changes various fe* functions to return an error value.
2685 * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag,
2686 feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv.
2687 * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias.
2688 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
2689 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
2690 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
2691 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
2692 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
2693 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
2694 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
2695 * sysdeps/arm/fpu/fegetenv.c: Likewise.
2696 * sysdeps/arm/fpu/fesetenv.c: Likewise.
2697 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
2698 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
2699 * sysdeps/generic/fclrexcpt.c: Likewise.
2700 * sysdeps/generic/fegetenv.c: Likewise.
2701 * sysdeps/generic/fesetenv.c: Likewise.
2702 * sysdeps/generic/feupdateenv.c: Likewise.
2703 * sysdeps/generic/fgetexcptflg.c: Likewise.
2704 * sysdeps/generic/fraiseexcpt.c: Likewise.
2705 * sysdeps/generic/fsetexcptflg.c: Likewise.
2706 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
2707 * sysdeps/i386/fpu/fegetenv.c: Likewise.
2708 * sysdeps/i386/fpu/fesetenv.c: Likewise.
2709 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
2710 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
2711 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2712 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
2713 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
2714 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
2715 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
2716 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
2717 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
2718 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
2719 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
2720 * sysdeps/mips/fclrexcpt.c: Likewise.
2721 * sysdeps/mips/fegetenv.c: Likewise.
2722 * sysdeps/mips/fesetenv.c: Likewise.
2723 * sysdeps/mips/feupdateenv.c: Likewise.
2724 * sysdeps/mips/fgetexcptflg.c: Likewise.
2725 * sysdeps/powerpc/fclrexcpt.c: Likewise.
2726 * sysdeps/powerpc/fegetenv.c: Likewise.
2727 * sysdeps/powerpc/fesetenv.c: Likewise.
2728 * sysdeps/powerpc/feupdateenv.c: Likewise.
2729 * sysdeps/powerpc/fgetexcptflg.c: Likewise.
2730 * sysdeps/powerpc/fraiseexcpt.c: Likewise.
2731 * sysdeps/powerpc/fsetexcptflg.c: Likewise.
2732 * sysdeps/sparc/fpu/fclrexcpt.c: Likewise.
2733 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
2734 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
2735 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
2736 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
2737 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2738 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
2739 * math/fenv.h: Adjust prototypes.: Likewise.
2740 * manual/arith.texi: Adjust documentation for these changes.
2742 * manual/arith.texi: Document feraiseexcept.
2744 * sysdeps/powerpc/fegetenv.c: Moved to...
2745 * sysdeps/powerpc/fpu/fegetenv.c: ...here.
2746 * sysdeps/powerpc/fegetround.c: Moved to...
2747 * sysdeps/powerpc/fpu/fegetround.c: ...here.
2748 * sysdeps/powerpc/feholdexcpt.c: Moved to...
2749 * sysdeps/powerpc/fpu/feholdexcpt.c: ...here.
2750 * sysdeps/powerpc/fesetenv.c: Moved to...
2751 * sysdeps/powerpc/fpu/fesetenv.c: ...here.
2752 * sysdeps/powerpc/fenv_libc.h: Moved to...
2753 * sysdeps/powerpc/fpu/fenv_libc.h: ...here.
2754 * sysdeps/powerpc/feupdateenv.c: Moved to...
2755 * sysdeps/powerpc/fpu/feupdateenv.c: ...here.
2756 * sysdeps/powerpc/fgetexcptflg.c: Moved to...
2757 * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here.
2758 * sysdeps/powerpc/fraiseexcpt.c: Moved to...
2759 * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here.
2760 * sysdeps/powerpc/fsetexcptflg.c: Moved to...
2761 * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here.
2762 * sysdeps/powerpc/ftestexcept.c: Moved to...
2763 * sysdeps/powerpc/fpu/ftestexcept.c: ...here.
2764 * sysdeps/powerpc/fesetround.c: Moved to...
2765 * sysdeps/powerpc/fpu/fesetround.c: ...here
2766 * sysdeps/powerpc/fenv_const.c: Moved to...
2767 * sysdeps/powerpc/fpu/fenv_const.c: ...here.
2769 * sysdeps/mips/fclrexcpt.c: Moved to...
2770 * sysdeps/mips/fpu/fclrexcpt.c: ...here.
2771 * sysdeps/mips/fegetenv.c: Moved to...
2772 * sysdeps/mips/fpu/fegetenv.c: ...here.
2773 * sysdeps/mips/fegetround.c: Moved to...
2774 * sysdeps/mips/fpu/fegetround.c: ...here.
2775 * sysdeps/mips/fesetenv.c: Moved to...
2776 * sysdeps/mips/fpu/fesetenv.c: ...here.
2777 * sysdeps/mips/fesetround.c: Moved to...
2778 * sysdeps/mips/fpu/fesetround.c: ...here.
2779 * sysdeps/mips/feupdateenv.c: Moved to...
2780 * sysdeps/mips/fpu/feupdateenv.c: ...here.
2781 * sysdeps/mips/fgetexcptflg.c: Moved to...
2782 * sysdeps/mips/fpu/fgetexcptflg.c: ...here.
2783 * sysdeps/mips/ftestexcept.c: Moved to...
2784 * sysdeps/mips/fpu/ftestexcept.c: ...here.
2786 1999-10-29 Jakub Jelinek <jakub@redhat.com>
2788 * stdlib/longlong.h: Avoid UDIV_TIME redefinition.
2789 * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus
2790 libraries from statically linked programs.
2791 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309
2792 fix for sigaction on SPARC.
2793 Patches by David S. Miller <davem@redhat.com>.
2795 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare
2796 gregset_t and other required structures and defines for SPARC 64bit
2797 ABI as well, not only 32bit ABI.
2799 1999-10-31 Andreas Jaeger <aj@suse.de>
2801 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X
2802 by __USE_ISOC99 and update comments.
2804 * math/complex.h: Update comments for ISO C99.
2805 * math/fenv.h: Likewise.
2806 * math/test-fenv.c: Likewise.
2807 * math/tgmath.h: Likewise.
2808 * libio/stdio.h: Likewise.
2809 * posix/sys/types.h: Likewise.
2810 * sysdeps/generic/inttypes.h: Likewise.
2811 * sysdeps/generic/stdint.h: Likewise.
2813 1999-10-31 Ulrich Drepper <drepper@cygnus.com>
2815 * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE.
2817 * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also
2818 recognize _ISOC99_SOURCE.
2819 * libio/stdio.h: Likewise.
2820 * math/math.h: Likewise.
2821 * math/bits/mathcalls.h: Likewise.
2822 * math/stdio.h: Likewise.
2823 * stdlib/stdlib.h: Likewise.
2824 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
2825 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
2826 * sysdeps/arm/bits/huge_val.h: Likewise.
2827 * sysdeps/generic/bits/mathdef.h: Likewise.
2828 * sysdeps/i386/bits/huge_val.h: Likewise.
2829 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2830 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
2831 * sysdeps/ieee754/bits/huge_val.h: Likewise.
2832 * sysdeps/m68k/bits/huge_val.h: Likewise.
2833 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2834 * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
2835 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2836 * sysdeps/powerpc/bits/mathinline.h: Likewise.
2837 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
2838 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2839 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
2840 * wcsmbs/wchar.h: Likewise.
2842 * sysdeps/powerpc/bits/mathdef.h: Moved to...
2843 * sysdeps/powerpc/fpu/bits/mathdef.h: ...here.
2844 * sysdeps/powerpc/bits/mathinline.h: Moved to...
2845 * sysdeps/powerpc/fpu/bits/mathinline.h: ...here.
2846 * sysdeps/powerpc/bits/fenv.h: Moved to...
2847 * sysdeps/powerpc/fpu/bits/fenv.h: ...here.
2849 1999-10-31 Andreas Jaeger <aj@suse.de>
2851 * manual/math.texi (Errors in Math Functions): Correct TeX code.
2853 1999-10-31 Andreas Jaeger <aj@suse.de>
2855 * math/libm-test.inc: Change comments to use ISO C99 instead of
2857 * math/w_lgamma.c: Likewise.
2858 * math/w_lgammaf.c: Likewise.
2859 * math/w_lgammal.c: Likewise.
2860 * math/test-fenv.c: Likewise.
2861 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2862 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2863 * sysdeps/generic/printf_fphex.c: Likewise.
2865 1999-10-31 Andreas Jaeger <aj@suse.de>
2867 * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment.
2869 * manual/math.texi: Change ISO C9x to ISO C99.
2870 * manual/startup.texi: Likewise.
2871 * manual/stdio.texi: Likewise.
2873 1999-10-31 Andreas Jaeger <aj@suse.de>
2875 * manual/arith.texi: Change ISO C9x to ISO C99.
2876 * manual/time.texi (Low-Level Time String Parsing): Likewise.
2878 1999-10-30 Ulrich Drepper <drepper@cygnus.com>
2880 * socket/Makefile (distribute): Add ifreq.h.
2882 * manual/time.texi (Formatting Date and Time): Revise comments about
2883 origins of the formats with ISO C99 references.
2885 1999-10-30 Andreas Jaeger <aj@suse.de>
2887 * sysdeps/unix/sysv/linux/ifreq.h: New file.
2889 1999-10-29 Andreas Jaeger <aj@suse.de>
2891 * manual/arith.texi (Parsing of Floats): Document the hexadecimal
2892 input format; mention that strtof and strtold are part of ISO C99.
2894 1999-10-29 Ulrich Drepper <drepper@cygnus.com>
2896 * manual/math.texi (Errors in Math Functions): New section.
2897 * math/libm-err-tab.pl: Moved to...
2898 * manual/libm-err-tab.pl: ...here.
2899 * manual/Makefile: Add rules for math function error table generation.
2901 * stdlib/tst-strtod.c: Add more hexadecimal tests.
2903 * stdlib/strtod.c: Handle hexadecimal numbers with leading digit
2904 != 1 correctly and more than one digit before decimal point..
2906 1999-10-27 Andreas Jaeger <aj@suse.de>
2908 * sysdeps/generic/ifreq.h: New file.
2910 * resolv/res_hconf.c: Add missing includes to get all prototypes.
2911 (_res_hconf_reorder_addrs): Rewrite. This never worked before.
2912 Reported by John DiMarco <jdd@cs.toronto.edu>.
2914 (_res_hconf_reorder_addrs): Made thread safe.
2915 (free_mem): New function, needed for malloc debugging.
2917 1999-10-29 Andreas Jaeger <aj@suse.de>
2919 * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ...
2920 * sysdeps/generic/opensock.c (__opensock): ...here in a new file.
2921 * sysdeps/unix/sysv/linux/if_index.c: Change all callers of
2922 opensock to use __opensock.
2924 * socket/Makefile (routines): Add opensock.
2926 * include/sys/socket.h (__opensock): Add prototype declaration.
2928 1999-10-29 Andreas Jaeger <aj@suse.de>
2930 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing
2932 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2934 * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added
2935 new constant from Linux 2.3.25pre1.
2937 * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added.
2939 1999-10-29 Andreas Jaeger <aj@suse.de>
2941 * math/libm-err-tab.pl: New file to generate a table of
2942 libm-test-ulps values.
2944 1999-10-29 Ulrich Drepper <drepper@cygnus.com>
2946 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file.
2947 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect
2948 struct sigcontext* object as second parameter for profil_counter.
2949 Patches by Jakub Jelinek <jakub@redhat.com>.
2951 1999-10-29 Andreas Jaeger <aj@suse.de>
2953 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs.
2954 * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
2956 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts,
2957 efs, qnx4 and reiser file systems.
2959 1999-10-29 Andreas Jaeger <aj@suse.de>
2961 * locale/Makefile (others): Set to localedef and locale for make
2964 * debug/Makefile (generated): Add xtrace for make clean to work.
2966 1999-10-29 Andreas Jaeger <aj@suse.de>
2968 * stdlib/tst-strtod.c: Add two testcases for hexadecimal input.
2970 1999-10-25 Andreas Jaeger <aj@suse.de>
2972 * math/libm-test.inc: Added code to ignore the given max ulps.
2973 (print_max_error): Check for ignore_max_ulp.
2974 (check_float_internal): Likewise.
2975 (parse_opt): Parse --ignore-max-ulp.
2976 (main): Initialize ignore_max_ulp.
2978 1999-10-26 Andreas Jaeger <aj@suse.de>
2980 * stdlib/msort.c: Include <alloca.h> for prototype.
2981 Remove K&R compatibility and _quicksort prototype.
2983 * stdlib/qsort.c: Make code and comments 64 bit clean; clarify
2985 Reported by Bernd Loechner <loechner@informatik.uni-kl.de>.
2986 Remove K&R compatibility.
2987 Move prototype declaration to include/stdlib.h.
2988 Include <alloca.h> for prototype; include <limits.h> for CHAR_BIT.
2990 * include/stdlib.h: Prototype declaration for _quicksort.
2992 1999-10-27 Andreas Jaeger <aj@suse.de>
2994 * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was
2995 shifted a bit too much.
2996 Reported by Eugen Dedu <dedu@ese-metz.fr>.
2998 1999-10-25 Ulrich Drepper <drepper@cygnus.com>
3000 * resolv/gethnamaddr.c: Account bytes needed for alignment in
3001 buflen. Patch by Olaf Kirch <okir@lst.de>.
3003 * md5-crypt/md5test.c: Correct names of MD5 functions after
3004 removing of public names.
3006 * configure.in: Don't allow --enable-kernel without parameter.
3008 1999-10-25 Ulrich Drepper <drepper@cygnus.com>
3010 * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0
3013 1999-10-25 Thorsten Kukuk <kukuk@suse.de>
3015 * md5-crypt/md5.h: Remove prototypes for public interface. md5 is
3016 only used internally.
3017 * md5-crypt/md5-crypt.c: Use internal names for md5 functions,
3018 remove weak alias for public names.
3019 * md5-crypt/md5.c: Remove weak aliase.
3021 1999-10-25 Andreas Jaeger <aj@suse.de>
3023 * math/README.libm-test: New file, documents libm-test.inc.
3025 1999-10-25 Andreas Jaeger <aj@suse.de>
3027 * math/gen-libm-test.pl: Only generate a new ulps file when -n is
3029 (print_ulps_file): Fix loops to not read @tests and @functions
3030 since those are not initialized with -n now.
3031 (parse_ulps): Set $results{..}{"kind"}.
3033 1999-10-25 Andreas Jaeger <aj@suse.de>
3035 * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.
3037 * math/libm-test.inc (check_float_internal): Don't print ulps for
3040 1999-10-20 Andreas Jaeger <aj@suse.de>
3042 * manual/socket.texi (Address Formats): Describe usage of AF_UNIX
3044 Patch by Robert Bihlmeyer <robbe@orcus.priv.at>.
3046 1999-10-24 Ulrich Drepper <drepper@cygnus.com>
3048 * math/libm-test.inc: Disable some boundary case tests for inline
3051 * math/math.h: Pretty printing.
3053 * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN.
3054 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3055 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3056 * sysdeps/i386/fpu/e_log10.S: Likewise.
3057 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3058 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3059 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3060 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3061 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3062 * sysdeps/i386/fpu/s_log2.S: Likewise.
3063 * sysdeps/i386/fpu/s_log2f.S: Likewise.
3064 * sysdeps/i386/fpu/s_log2l.S: Likewise.
3066 * sysdeps/i386/fpu/libm-test-ulps: New file.
3068 * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return
3070 (pow): Correct case x == 0.
3071 (__sgn1l): Correct handling of -0.0.
3073 1999-10-22 Andreas Jaeger <aj@suse.de>
3075 * math/libm-test.inc (asinh_test): Add test for NaN as input parameter.
3076 (atan_test): Likewise.
3077 (atanh_test): Likewise.
3078 (atan2_test): Likewise.
3079 (carg_test): Likewise.
3080 (ceil_test): Likewise.
3081 (cos_test): Likewise.
3082 (cosh_test): Likewise.
3083 (cpow_test): Likewise.
3084 (erf_test): Likewise.
3085 (erfc_test): Likewise.
3086 (exp_test): Likewise.
3087 (exp10_test): Likewise.
3088 (exp2_test): Likewise.
3089 (expm1_test): Likewise.
3090 (fabs_test): Likewise.
3091 (floor_test): Likewise.
3092 (fmod_test): Likewise.
3093 (gamma_test): Likewise.
3094 (lgamma_test): Likewise.
3095 (log10_test): Likewise.
3096 (log1p_test): Likewise.
3097 (log2_test): Likewise.
3098 (logb_test): Likewise.
3099 (nearbyint_test): Likewise.
3100 (remainder_test): Likewise.
3101 (remquo_test): Likewise.
3102 (sin_test): Likewise.
3103 (sincos_test): Likewise.
3104 (sinh_test): Likewise.
3105 (sqrt_test): Likewise.
3106 (tan_test): Likewise.
3107 (tanh_test): Likewise.
3108 (tgamma_test): Likewise.
3110 1999-10-21 Ulrich Drepper <drepper@cygnus.com>
3112 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y.
3114 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special.
3116 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check
3117 for -Inf and return NaN.
3119 * configure.in: Correct test for Cygnus gcc versions.
3121 1999-10-21 Andreas Jaeger <aj@suse.de>
3123 * math/libm-test.inc (cimag_test): New function, tests cimag.
3124 (creal_test): New function, tests creal.
3125 (conj_test): New function, tests conj.
3126 (main): Add new functions.
3128 1999-10-20 Andreas Jaeger <aj@suse.de>
3130 * math/libm-test.inc: Rewrite to allow different deltas for real
3131 and imaginary part of complex functions.
3132 * math/gen-libm-test.pl: Likewise.
3134 1999-10-19 Ulrich Drepper <drepper@cygnus.com>
3136 * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
3139 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.
3141 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
3142 for -Inf and return NaN.
3144 * math/gen-libm-test.pl: Fix program name in help message.
3146 * math/libm-test.inc (check_complex): It's Imaginary, not Complex.
3148 * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.
3150 * sysdeps/i386/Implies: Correct order of libm directories.
3152 1999-10-19 Andreas Jaeger <aj@suse.de>
3154 * include/bits/ipc.h: Remove K&R compatibility.
3155 * include/libintl.h: Likewise.
3156 * include/math.h: Likewise.
3157 * include/mntent.h: Likewise
3158 * include/netdb.h: Likewise.
3159 * include/pwd.h: Likewise.
3160 * include/sched.h: Likewise.
3161 * include/shadow.h: Likewise
3162 * include/stdlib.h: Likewise.
3163 * include/sys/file.h: Likewise.
3164 * include/sys/gmon.h: Likewise.
3165 * include/sys/ioctl.h: Likewise.
3166 * include/sys/mman.h: Likewise.
3167 * include/sys/resource.h: Likewise.
3168 * include/sys/socket.h: Likewise.
3169 * include/sys/stat.h: Likewise.
3170 * include/sys/sysinfo.h: Likewise.
3171 * include/sys/time.h: Likewise.
3172 * include/sys/times.h: Likewise.
3173 * include/sys/uio.h: Likewise.
3174 * include/sys/wait.h: Likewise.
3175 * include/termios.h: Likewise.
3176 * include/time.h: Likewise.
3177 * include/ulimit.h: Likewise.
3178 * include/utmp.h: Likewise.
3179 * include/wchar.h: Likewise.
3180 * include/wctype.h: Likewise.
3182 1999-10-19 Andreas Jaeger <aj@suse.de>
3184 * math/libm-test.inc: Remove one K&R compatibility.
3185 (main): Enable nexttoward_test.
3187 * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
3188 libm-test-ulps.h; pretty print output a bit.
3190 1999-10-19 Andreas Jaeger <aj@suse.de>
3192 * iconv/iconv_prog.c (main): Set exit value in case that reading
3193 from stdin failed [PR libc/1404].
3195 1999-10-18 Andreas Jaeger <aj@suse.de>
3197 Added improved math testsuite:
3198 * math/libm-test.inc: New file, contains all tests from
3199 libm-test.c but in a different form.
3200 * math/libm-test.c: Removed.
3201 * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file.
3202 * math/gen-libm-test.pl: New file: Preprocessor.
3203 * math/test-double.c: Adopted to new testsuite.
3204 * math/test-idouble.c: Likewise.
3205 * math/test-float.c: Likewise.
3206 * math/test-ifloat.c: Likewise.
3207 * math/test-ldouble.c: Likewise.
3208 * math/test-ildoubl.c: Likewise.
3209 * math/Makefile: Added rules to generate new suite.
3211 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
3213 * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
3214 Patch by J. Richard Sladkey <jrs@world.std.com>.
3216 * scripts/config.sub: Update from latest autoconf version.
3217 * scripts/config.guess: Likewise.
3219 1999-10-18 Andreas Jaeger <aj@suse.de>
3221 * inet/arpa/inet.h: Remove K&R compatibility.
3222 * math/fenv.h: Likewise.
3224 1999-10-18 Andreas Jaeger <aj@suse.de>
3226 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
3227 kernel_sigaction): Remove K&R compatibility.
3228 * sysdeps/unix/sysv/linux/net/if.h: Likewise.
3229 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3230 * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
3231 * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
3232 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
3233 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
3234 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3235 * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
3236 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
3237 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
3238 * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
3239 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3240 * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
3241 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
3242 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3243 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3244 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
3246 1999-10-18 Andreas Jaeger <aj@suse.de>
3248 * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
3249 Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
3251 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
3253 * po/gl.po: New file.
3255 1999-10-18 Andreas Schwab <schwab@suse.de>
3257 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
3258 namespace selection.
3260 1999-10-18 Andreas Schwab <schwab@suse.de>
3262 * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
3263 clash with the TERM environment variable.
3265 1999-10-18 Andreas Jaeger <aj@suse.de>
3267 * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
3268 returns now NaN + i NaN.
3269 * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
3270 * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
3272 1999-10-18 Andreas Jaeger <aj@suse.de>
3274 * include/aio.h: Remove K&R compatiblity.
3275 * include/alloca.h: Likewise.
3276 * include/db.h: Likewise.
3277 * include/dirent.h: Likewise.
3278 * include/fcntl.h: Likewise.
3279 * include/fpu_control.h: Likewise.
3280 * include/glob.h: Likewise.
3281 * include/grp.h: Likewise.
3282 * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
3283 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3284 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
3285 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3287 * include/execinfo.h: Add __THROW.
3289 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
3291 * sysdeps/mips/Implies: Remove wordsize-32 reference.
3292 * sysdeps/mips/mips3/Implies: Add it here.
3294 1999-10-17 Ulrich Drepper <drepper@cygnus.com>
3296 * elf/elf.h: Add various platform and architecture extensions.
3298 * locale/lc-collate.c (_nl_postload_collate): Disable code for now.
3299 * locale/setlocale.c (setlocale): Don't call _nl_find_locale for
3302 * socket/sys/socket.h: Remove K&R compatibility.
3304 1999-10-16 Andreas Jaeger <aj@suse.de>
3306 * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
3308 1999-10-15 Andreas Jaeger <aj@suse.de>
3310 * stdlib/Makefile (tests): Added tst-xpg-basename.
3312 * stdlib/tst-xpg-basename.c: New test file.
3314 1999-10-14 Cristian Gafton <gafton@redhat.com>
3316 * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
3318 1999-10-14 Andreas Jaeger <aj@suse.de>
3320 * resolv/inet_addr.c (inet_aton): Fix last patch. The little
3321 endian version works for both endiannesses.
3323 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
3326 1999-10-12 Ulrich Drepper <drepper@cygnus.com>
3328 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
3329 register names unconditionally, only if __USE_GNU.
3331 * debug/Makefile: Fix rules to generate pcprofiledump.
3333 * include/ucontext.h: New file.
3335 * locale/setlocale.c: Fix gcc warning about uninitialized variable.
3337 1999-10-12 Andreas Jaeger <aj@suse.de>
3339 * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
3341 * math/basic-test.c: Fix typo.
3343 * locale/programs/xstrdup.c: Include string.h for glibc
3344 compilation to get string prototypes.
3346 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
3347 gregset_t and fpregset_t.
3349 * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
3350 warnings. Correct value for x == 0.
3352 * argp/argp-help.c: Remove broken definition of flockfile and
3355 1999-10-12 Andreas Schwab <schwab@suse.de>
3357 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
3358 generic Linux version.
3360 1999-10-12 Ulrich Drepper <drepper@cygnus.com>
3362 * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
3364 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
3366 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
3367 and fpregset_t definitions.
3369 * malloc/memprof.c (GETSP): Define for PowerPC.
3370 (GETTIME): Fix generic version.
3372 1999-10-10 Philip Blundell <philb@gnu.org>
3374 * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
3377 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
3379 * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
3380 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
3381 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
3382 * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
3384 * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
3386 * sysdeps/powerpc/e_sqrt.c: Moved to...
3387 * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
3388 * sysdeps/powerpc/e_sqrtf.c: Moved to...
3389 * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
3391 * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
3392 * sysdeps/powerpc/sub_n.S: Likewise.
3393 * sysdeps/powerpc/strlen.S: Likewise.
3394 * sysdeps/powerpc/strcpy.S: Likewise.
3395 * sysdeps/powerpc/strcmp.S: Likewise.
3396 * sysdeps/powerpc/strchr.S: Likewise.
3397 * sysdeps/powerpc/stpcpy.S: Likewise.
3398 * sysdeps/powerpc/setjmp.S: Likewise.
3399 * sysdeps/powerpc/rshift.S: Likewise.
3400 * sysdeps/powerpc/ppc-mcount.S: Likewise.
3401 * sysdeps/powerpc/mul_1.S: Likewise.
3402 * sysdeps/powerpc/memset.S: Likewise.
3403 * sysdeps/powerpc/lshift.S: Likewise.
3404 * sysdeps/powerpc/dl-start.S: Likewise.
3405 * sysdeps/powerpc/bzero.S: Likewise.
3406 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
3407 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
3408 * sysdeps/powerpc/addmul_1.S: Likewise.
3409 * sysdeps/powerpc/add_n.S: Likewise.
3410 * sysdeps/powerpc/__longjmp.S: Likewise.
3411 * sysdeps/powerpc/elf/start.S: Likewise.
3413 1999-10-11 Cristian Gafton <gafton@redhat.com>
3415 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
3418 1999-10-10 Ulrich Drepper <drepper@cygnus.com>
3420 * stdlib/atexit.c (initial): New variable. Use to initialize
3422 * stdlib/exit.c (exit): Beware to not free statically allocated
3423 list element [PR libc/1305].
3425 * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
3426 slash before the basename [PR libc/1383].
3428 * argp/argp.h: Fix typo in last patch.
3430 * sysdeps/powerpc/sysdep.h: New file.
3431 * sysdeps/unix/powerpc/sysdep.h: New file.
3432 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
3433 sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
3434 * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
3435 instead of bare numbers.
3436 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
3437 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
3438 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
3440 * sysdeps/hppa/sysdep.h: New file.
3442 1999-10-10 Andreas Jaeger <aj@suse.de>
3444 * misc/sgtty.h: Fix typo in last patch.
3446 1999-10-09 Ulrich Drepper <drepper@cygnus.com>
3448 * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
3449 * sysdeps/powerpc/s_copysign.S: Move to...
3450 * sysdeps/powerpc/fpu/s_copysign.S: ...here. Use portable asm syntax.
3451 * sysdeps/powerpc/s_copysignf.S: Move to...
3452 * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
3453 * sysdeps/powerpc/s_fabs.S: Move to...
3454 * sysdeps/powerpc/fpu/s_fabs.S: ...here. Use portable asm syntax.
3455 * sysdeps/powerpc/s_fabsf.S: Move to...
3456 * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
3457 * sysdeps/powerpc/s_fdim.c: Move to...
3458 * sysdeps/powerpc/fpu/s_fdim.c: ...here.
3459 * sysdeps/powerpc/s_fdimf.c: Move to...
3460 * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
3461 * sysdeps/powerpc/s_fmax.S: Move to...
3462 * sysdeps/powerpc/fpu/s_fmax.S: ...here. Use portable asm syntax.
3463 * sysdeps/powerpc/s_fmaxf.S: Move to...
3464 * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
3465 * sysdeps/powerpc/s_fmin.S: Move to...
3466 * sysdeps/powerpc/fpu/s_fmin.S: ...here. Use portable asm syntax.
3467 * sysdeps/powerpc/s_fminf.S: Move to...
3468 * sysdeps/powerpc/fpu/s_fminf.S: ...here.
3469 * sysdeps/powerpc/s_isnan.S: Move to...
3470 * sysdeps/powerpc/fpu/s_isnan.c: ...here.
3471 * sysdeps/powerpc/s_isnanf.S: Move to...
3472 * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
3473 * sysdeps/powerpc/s_llrint.c: Move to...
3474 * sysdeps/powerpc/fpu/s_llrint.c: ...here.
3475 * sysdeps/powerpc/s_llrintf.c: Move to...
3476 * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
3477 * sysdeps/powerpc/s_llround.c: Move to...
3478 * sysdeps/powerpc/fpu/s_llround.c: ...here.
3479 * sysdeps/powerpc/s_llroundf.c: Move to...
3480 * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
3481 * sysdeps/powerpc/s_lrint.c: Move to...
3482 * sysdeps/powerpc/fpu/s_lrint.c: ...here.
3483 * sysdeps/powerpc/s_lrintf.S: Move to...
3484 * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
3485 * sysdeps/powerpc/s_lround.c: Move to...
3486 * sysdeps/powerpc/fpu/s_lround.c: ...here.
3487 * sysdeps/powerpc/s_lroundf.c: Move to...
3488 * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
3489 * sysdeps/powerpc/s_rint.c: Move to...
3490 * sysdeps/powerpc/fpu/s_rint.c: ...here.
3491 * sysdeps/powerpc/s_rintf.c: Move to...
3492 * sysdeps/powerpc/fpu/s_rintf.c: ...here.
3493 * sysdeps/powerpc/t_sqrt.c: Move to...
3494 * sysdeps/powerpc/fpu/t_sqrt: ...here.
3495 * sysdeps/powerpc/w_sqrt.c: Move to...
3496 * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
3497 * sysdeps/powerpc/w_sqrtf.c: Move to...
3498 * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
3499 * configure.in: Support platforms which have no .text pseudo-op.
3500 Patches partly by Jimi X <jimix@pobox.com>.
3502 * Makeconfig: Look also in all subdirs for shlib-versions files.
3504 * malloc/memprof.sh: Fix --help string a bit.
3506 * argp/argp.h: Remove K&R compatiblity.
3507 * assert/assert.h: Likewise.
3508 * catgets/nl_types.h: Likewise.
3509 * ctype/ctype.h: Likewise.
3510 * db/db.h: Likewise.
3511 * db/ndbm.h: Likewise.
3512 * db2/db.h: Likewise.
3513 * db2/db_185.h: Likewise.
3514 * debug/execinfo.h: Likewise.
3515 * dirent/dirent.h: Likewise.
3516 * dlfcn/dlfcn.h: Likewise.
3517 * gmon/sys/gmon.h: Likewise.
3518 * grp/grp.h: Likewise.
3519 * iconv/gconv.h: Likewise.
3520 * iconv/iconv.h: Likewise.
3521 * include/execinfo.h: Likewise.
3522 * inet/aliases.h: Likewise.
3523 * inet/netinet/ether.h: Likewise.
3524 * inet/netinet/in.h: Likewise.
3525 * intl/libintl.h: Likewise.
3526 * io/fcntl.h: Likewise.
3527 * io/fts.h: Likewise.
3528 * io/ftw.h: Likewise.
3529 * io/utime.h: Likewise.
3530 * io/sys/poll.h: Likewise.
3531 * io/sys/stat.h: Likewise.
3532 * io/sys/statfs.h: Likewise.
3533 * io/sys/statvfs.h: Likewise.
3534 * libio/libio.h: Likewise.
3535 * libio/stdio.h: Likewise.
3536 * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
3537 * locale/locale.h: Likewise.
3538 * login/pty.h: Likewise.
3539 * login/utmp.h: Likewise.
3540 * malloc/mcheck.h: Likewise.
3541 * math/complex.h: Likewise.
3542 * math/math.h: Likewise.
3543 * math/math_private.h: Likewise.
3544 * misc/err.h: Likewise.
3545 * misc/fstab.h: Likewise.
3546 * misc/libgen.h: Likewise.
3547 * misc/mntent.h: Likewise.
3548 * misc/regexp.h: Likewise.
3549 * misc/search.h: Likewise.
3550 * misc/sgtty.h: Likewise.
3551 * misc/ttyent.h: Likewise.
3552 * misc/sys/cdefs.h: Likewise.
3553 * misc/sys/file.h: Likewise.
3554 * misc/sys/ioctl.h: Likewise.
3555 * misc/sys/mman.h: Likewise.
3556 * misc/sys/select.h: Likewise.
3557 * misc/sys/syslog.h: Likewise.
3558 * misc/sys/uio.h: Likewise.
3559 * misc/sys/ustat.h: Likewise.
3560 * nss/nss.h: Likewise.
3561 * posix/sched.h: Likewise.
3562 * posix/unistd.h: Likewise.
3563 * posix/wordexp.h: Likewise.
3564 * posix/sys/times.h: Likewise.
3565 * posix/sys/utsname.h: Likewise.
3566 * posix/sys/wait.h: Likewise.
3567 * pwd/pwd.h: Likewise.
3568 * resolv/netdb.h: Likewise.
3569 * resolv/resolv.h: Likewise.
3570 * resource/ulimit.h: Likewise.
3571 * resource/sys/resource.h: Likewise.
3572 * resource/sys/vlimit.h: Likewise.
3573 * resource/sys/vtimes.h: Likewise.
3574 * rt/aio.h: Likewise.
3575 * setjmp/setjmp.h: Likewise.
3576 * shadow/shadow.h: Likewise.
3577 * signal/signal.h: Likewise.
3578 * socket/socket.h: Likewise.
3579 * stdio/stdio.h: Likewise.
3580 * stdio-common/_itoa.h: Likewise.
3581 * stdio-common/_itowa.h: Likewise.
3582 * stdio-common/printf.h: Likewise.
3583 * stdlib/alloca.h: Likewise.
3584 * stdlib/fmtmsg.h: Likewise.
3585 * stdlib/monetary.h: Likewise.
3586 * stdlib/stdlib.h: Likewise.
3587 * stdlib/ucontext.h: Likewise.
3588 * streams/stropts.h: Likewise.
3589 * string/argz.h: Likewise.
3590 * string/envz.h: Likewise.
3591 * string/string.h: Likewise.
3592 * string/strings.h: Likewise.
3593 * string/bits/string2.h: Likewise.
3594 * sunrpc/rpc/auth.h: Likewise.
3595 * sunrpc/rpc/auth_des.h: Likewise.
3596 * sunrpc/rpc/auth_unix.h: Likewise.
3597 * sunrpc/rpc/clnt.h: Likewise.
3598 * sunrpc/rpc/des_crypt.h: Likewise.
3599 * sunrpc/rpc/netdb.h: Likewise.
3600 * sunrpc/rpc/pmap_clnt.h: Likewise.
3601 * sunrpc/rpc/pmap_prot.h: Likewise.
3602 * sunrpc/rpc/pmap_rmt.h: Likewise.
3603 * sunrpc/rpc/rpc_msg.h: Likewise.
3604 * sunrpc/rpc/svc.h: Likewise.
3605 * sunrpc/rpc/svc_auth.h: Likewise.
3606 * sunrpc/rpc/xdr.h: Likewise.
3607 * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
3608 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3609 * sysvipc/sys/ipc.h: Likewise.
3610 * sysvipc/sys/msg.h: Likewise.
3611 * sysvipc/sys/sem.h: Likewise.
3612 * sysvipc/sys/shm.h: Likewise.
3613 * termios/termios.h: Likewise.
3614 * time/time.h: Likewise.
3615 * time/sys/time.h: Likewise.
3616 * time/sys/timeb.h: Likewise.
3617 * wcsmbs/wchar.h: Likewise.
3618 * wctype/wctype.h: Likewise.
3620 1999-10-05 Roland McGrath <roland@baalperazim.frob.com>
3622 * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
3623 _GNU_SOURCE be defined.
3625 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
3627 * ctype/ctype.h: Pretty print.
3629 * po/cs.po: Fix typos.
3631 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
3632 handling of empty entries. [PR libc/1345]
3633 Patch by Thorsten Kukuk <kukuk@suse.de>.
3635 1999-10-08 Andreas Schwab <schwab@suse.de>
3637 * debug/xtrace.sh: Fix quoting bugs. Implement --help and --version.
3639 1999-10-08 Andreas Schwab <schwab@suse.de>
3641 * debug/pcprofiledump.c: Fix typos.
3643 1999-10-07 Andreas Jaeger <aj@suse.de>
3645 * math/Makefile (tests): Added basic-tests.
3647 * math/basic-test.c: New file. Contains function basic_tests from
3650 1999-10-07 Andreas Schwab <schwab@suse.de>
3652 * malloc/memprof.sh: Fix quoting bugs.
3654 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
3656 * timezone/europe: Update from tzdata1999h.
3658 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
3660 * elf/elf.h: Update from last gABI draft.
3662 * elf/elf.h: Remove EM_486 entry.
3663 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
3666 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
3668 * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
3669 Add rules for both programs.
3670 * debug/pcprofiledump.c: New file.
3671 * debug/xtrace.sh: New file.
3672 * debug/pcprofile.c: Allow creating output file. Add magic signature
3673 to let reader recognize file format.
3675 1999-10-06 Ulrich Drepper <drepper@cygnus.com>
3677 * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
3679 1999-10-05 Andreas Jaeger <aj@suse.de>
3681 * locale/programs/ld-identification.c: Fix typo in comment.
3682 * locale/programs/ld-messages.c: Likewise.
3683 * locale/programs/ld-monetary.c: Likewise.
3684 * locale/programs/ld-name.c: Likewise.
3686 * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
3687 (collate_read): Remove unnecessary comparisons with ignore_content.
3689 * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
3691 (ctype_read): Remove unnecessary comparisons with ignore_content.
3692 Fix typos in comments.
3694 * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
3695 comparisons with ignore_content.
3697 1999-10-05 Ulrich Drepper <drepper@cygnus.com>
3701 * time/time.h: Move __gmtime_r declaration to ...
3702 * include/time.h: ...here.
3704 1999-10-05 Andreas Jaeger <aj@suse.de>
3706 * manual/message.texi (The message catalog files): Fix description
3707 to match gencat implementation and Unix98: Message fields are
3708 separated by a single blank space.
3710 1999-10-05 Andreas Jaeger <aj@suse.de>
3712 * manual/string.texi (Search Functions): Add missing end for
3713 memrchr description.
3715 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
3717 * malloc/memprof.sh: Various small cleanups. Add short options.
3718 Write error messages to stderr.
3720 * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
3722 * malloc/memprof.sh: Take options to control memprofstat.
3724 * malloc/Makefile: Add rule to generate memprof script.
3725 * malloc/memprof.sh: New file.
3727 * elf/ldd.bash.in: Add "Usage: " in help message to comply with
3730 1999-10-04 Andreas Jaeger <aj@suse.de>
3732 * configure.in: Allow makeinfo 4.*.
3734 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
3736 * stdio-common/vfprintf.c: Correct last patch and use outchar
3737 instead of PUTC to output single characters.
3738 * stdio-common/Makefile (tests): Add bug13.
3739 * stdio-common/bug13.c: New file.
3741 * configure.in: Add additional options --with-gd-include and
3742 --with-gd-lib to help people with strange installations.
3744 * malloc/Makefile: Add libdl dependency to libmemprof.so.
3745 * malloc/Depend: New file.
3747 1999-10-04 Andreas Jaeger <aj@suse.de>
3749 * timezone/README: Change wording to not mention the current
3750 version. This way we can't forget to update the file.
3752 1999-10-04 Andreas Jaeger <aj@suse.de>
3754 * manual/time.texi (Basic CPU Time): Fix typo.
3755 Reported by Ben Pfaff <pfaffben@msu.edu>.
3757 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
3759 * string/string.h: Move __memrchr declaration to ...
3760 * include/string.h: ...here.
3762 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
3764 * string/Makefile (routines): Add memrchr.
3766 * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
3767 Correct order of tests for matching bytes.
3769 * string/tester.c: Add tests for memrchr.
3771 * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
3772 Start from the last character and take decrement not increment
3773 into account for correction in return line. Add memrchr alias.
3774 * sysdeps/i386/bits/string.h: Likewise.
3776 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
3778 * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
3780 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
3782 * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
3784 * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
3787 * string/Versions: Export memrchr.
3789 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
3791 * misc/Versions (GLIBC_2.2): Add getloadavg.
3792 * misc/Makefile (routines): Add getloadavg.
3793 * sysdeps/generic/getloadavg.c: New file.
3794 * sysdeps/mach/getloadavg.c: New file.
3795 * sysdeps/unix/sysv/linux/getloadavg.c: New file.
3797 * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
3798 * sysdeps/i386/bits/string.h (__memrchr): New function.
3799 * string/string.h: Declare memrchr, __memrchr.
3800 * manual/string.texi (Search Functions): Document memrchr.
3802 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
3804 * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
3805 CFLAGS-memprofstat.c, and LIBGD variables.
3806 * config.make.in: Add LIBGD.
3807 * malloc/Makefile: Add rules to generate libmemprof.so and
3809 * malloc/memprof.c: New file.
3810 * malloc/memprofstat.c: New file.
3812 1999-10-02 Ulrich Drepper <drepper@cygnus.com>
3814 * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
3816 * resolv/inet_ntop.c (inet_ntop4): Little optimization.
3817 (inet_ntop6): Likewise.
3819 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
3822 * resolv/tst-aton.c (main): Add more tests.
3824 * resolv/inet_addr.c (inet_aton): Correct some problems with to
3825 large numbers. Optimize a bit.
3827 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
3829 * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
3830 account for added '0'.
3832 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
3833 handling of IPv6 tunnel address handling with bind 8.2.1. Allow
3834 len argument to be greater than needed address size.
3836 1999-10-01 Andreas Jaeger <aj@suse.de>
3838 * locale/programs/ld-collate.c (insert_value): Add cast to avoid
3840 * intl/finddomain.c (_nl_find_domain): Likewise.
3842 1999-09-30 Andreas Schwab <schwab@suse.de>
3844 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
3846 1999-09-30 Andreas Jaeger <aj@suse.de>
3848 * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
3849 * sysdeps/i386/rshift.S: Likewise.
3850 * sysdeps/i386/strchrnul.S: Likewise.
3851 * sysdeps/i386/strchr.S: Likewise.
3852 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
3855 1999-09-30 Andreas Jaeger <aj@suse.de>
3857 * manual/examples/pipe.c: Close other end of pipe to make example work.
3859 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
3861 * timezone/checktab.awk: Update from tzcode1999g.
3862 * timezone/tzselect.ksh: Likewise.
3863 * timezone/africa: Update from tzdata1999g.
3864 * timezone/asia: Likewise.
3865 * timezone/australasia: Likewise.
3866 * timezone/europe: Likewise.
3867 * timezone/northamerica: Likewise.
3868 * timezone/southamerica: Likewise.
3869 * timezone/iso3166.tab: Likewise.
3870 * timezone/zone.tab: Likewise.
3872 1999-09-27 Andreas Jaeger <aj@suse.de>
3874 * resolv/netdb.h: Remove declaration of getnodebyname. It has
3875 been renamed to getipnodebyname. Move flags around.
3877 1999-09-27 Andreas Schwab <schwab@suse.de>
3879 * manual/message.texi (Locating gettext catalog): Fix typos.
3881 1999-09-27 Andreas Jaeger <aj@suse.de>
3883 * manual/socket.texi (Out-of-Band Data): Correct example program,
3884 rename some variables for clarity.
3885 Reported by James Antill <james@and.org>, close PR libc/1329.
3887 1999-09-27 Ulrich Drepper <drepper@cygnus.com>
3889 * locale/programs/ld-collate.c (insert_value): Add hack to not
3890 crash in incomplete collate implementation.
3892 * locale/programs/ld-collate.c (read_directions): Read new token
3893 after accepting sorting rule.
3895 1999-09-26 Ulrich Drepper <drepper@cygnus.com>
3897 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
3898 error message printing. Correctly test whether all characters of
3899 current token are used.
3900 (ctype_read): NUL terminate last_str.
3902 1999-09-26 Thorsten Kukuk <kukuk@suse.de>
3904 * nscd/connections.c: Invalidate caches on request.
3905 * nscd/nscd-client.h: Add INVALIDATE to request_type.
3906 * nscd/nscd.c: Add invalidate cache option.
3907 * nscd/nscd.conf: Change log directory to /var/log (FHS).
3909 1999-09-24 Ulrich Drepper <drepper@cygnus.com>
3911 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
3912 not ovverwrite last group member with NULL pointer.
3913 Reported by Thomas Winder <thomas.winder@newlogic.at>.
3915 1999-09-24 Andreas Jaeger <aj@suse.de>
3917 * stdio-common/tst-printf.c (main): Add a testcase for large
3918 precision. Reported by Tymm Twillman <tymm@coe.missouri.edu>.
3920 1999-09-24 Andreas Schwab <schwab@suse.de>
3922 * math/bits/mathcalls.h: Fix last change. Also declare __finite.
3924 1999-09-24 Andreas Jaeger <aj@suse.de>
3926 * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
3927 normalized_codeset. Reported by Belicky Zsolt <zsolt@prolan.hu>.
3929 1999-09-23 Mark Kettenis <kettenis@gnu.org>
3931 * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
3932 variable. Define MORECORE_CLEARS to 2.
3934 * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
3935 doesn't clear the contents of memory that is reallocated after
3936 decrementing the break value first. Update comment about
3937 MORECORE_CLEARS, explaining the meaning of the values it can be
3940 1999-09-23 Ulrich Drepper <drepper@cygnus.com>
3942 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
3945 * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
3951 1999-09-22 Andreas Jaeger <aj@suse.de>
3953 * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
3954 reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
3956 1999-09-22 Andreas Schwab <schwab@suse.de>
3958 * stdio-common/vfscanf.c: Fix width handling when scanning floats.
3960 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3962 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
3963 the source directory. Fixes PR libc/1059.
3965 1999-09-21 Ulrich Drepper <drepper@cygnus.com>
3967 * locale/programs/repertoire.c (repertoire_find_value): Abort if
3968 rep parameter is NULL.
3969 (repertoire_find_symbol): Likewise.
3970 (repertoire_find_seq): Likewise.
3972 1999-09-20 Jean-Louis Martineau <martinea@IRO.UMontreal.CA>
3974 * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
3975 returned errno value in some cases.
3977 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
3979 * iconvdata/Makefile (modules): Add GBK.
3980 (distribute): Add gbk.c.
3981 * iconvdata/gbk.c: New file.
3982 * iconvdata/gconv-modules: Add GBK entry.
3983 Contributed by Sean Chen <sean.chen@turbolinux.com>.
3985 * locale/programs/ld-monetary.c (monetary_output): Remove
3988 * locale/programs/ld-time.c (time_output): Correct expected number
3991 * manual/filesys.texi (Testing File Access): Correct description of
3994 1999-080-25 H.J. Lu <hjl@gnu.org>
3996 * csu/defs.awk (.end): Only match with leading white spaces.
3999 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
4001 * stdlib/isomac.c: Add va_copy to allowed macros.
4003 * po/pl.po: Updated.
4005 1999-09-17 Andreas Schwab <schwab@suse.de>
4007 * Makefile (clean): Also remove $(postclean) files.
4009 1999-09-15 Andreas Jaeger <aj@suse.de>
4011 * pwd/Makefile (otherlibs): Add for building with static-nss.
4012 * inet/Makefile (otherlibs): Likewise.
4014 1999-09-15 Andreas Jaeger <aj@suse.de>
4016 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
4017 function definition to avoid a compilation failure.
4019 1999-09-15 Andreas Jaeger <aj@suse.de>
4021 * stdlib/tst-environ.c (main): Add getenv regression test for
4022 environment variable that's one character long.
4024 1999-09-15 Andreas Jaeger <aj@suse.de>
4026 * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
4027 signal definitions to let glibc compile with older Linux versions
4028 (2.0.10 to 2.1.100 or so).
4030 1999-09-18 Roland McGrath <roland@baalperazim.frob.com>
4032 * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
4033 return zero to indicate no children died yet (assuming WNOHANG).
4035 * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
4037 1999-09-17 Roland McGrath <roland@baalperazim.frob.com>
4039 * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
4041 * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
4042 Return _hurd_pgrp instead of 0.
4044 1999-09-19 Roland McGrath <roland@baalperazim.frob.com>
4046 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
4047 pages rather than just reprotecting them. This way we don't hold on
4048 to the backing space.
4050 * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
4051 Use __munmap instead of __vm_deallocate.
4053 1999-09-18 Ulrich Drepper <drepper@cygnus.com>
4055 * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
4056 returned errno value in some cases.
4058 1999-09-17 Andreas Jaeger <aj@suse.de>
4060 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
4061 to override user settings.
4063 1999-09-17 Andreas Schwab <schwab@suse.de>
4065 * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
4066 using a pointer to it.
4068 1999-09-16 Ulrich Drepper <drepper@cygnus.com>
4070 * time/getdate.c (__getdate_r): Pass correct year to check_mday.
4071 Reported by Vern Staats <staatsvr@asc.hpc.mil>.
4073 1999-09-14 Ulrich Drepper <drepper@cygnus.com>
4075 * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
4077 * elf/elf.h (PF_MASKOS): New definition.
4078 (EM_VAX): New definition.
4080 1999-08-09 Scott Bambrough <scottb@netwinder.org>
4082 * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
4083 'unsigned char ftype[8]', and 'unsigned int init_flag' to
4084 struct user_fp. These were added in version 2.2.12 of the
4086 * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
4087 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
4088 The generic procfs.h included <asm/elf.h>. This causes
4089 structure redefinition errors when <sys/user.h> and <sys/procfs.h>
4090 are included in the same source file. Found when building GDB.
4092 1999-09-13 Ulrich Drepper <drepper@cygnus.com>
4094 * locale/langinfo.h: Remove byte-order dependent names.
4095 * locale/categories.def: Update after removal of byte-order dependent
4097 * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
4098 with magic number in other byte order.
4099 * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
4100 * locale/C-collate.c: Remove initializers for other byte-order.
4101 * locale/C-ctype.c: Likewise.
4102 * locale/C-monetary.c: Likewise.
4103 * locale/C-paper.c: Likewise.
4104 * locale/C-time.c: Likewise.
4105 * locale/lc-collate.c: Remove byte-order oriented initialization.
4106 * locale/lc-ctype.c: Likewise.
4107 * locale/lc-monetary.c: Likewise.
4108 * locale/lc-time.c: Likewise.
4109 * locale/programs/ld-address.c: Don't generate output in both
4111 * locale/programs/ld-ctype.c: Likewise.
4112 * locale/programs/ld-paper.c: Likewise.
4113 * locale/programs/ld-time.c: Likewise.
4114 * time/strftime.c (NLW): Don't use different byte-orders.
4115 * wctype/cname-lookup.h (cname_lookup): Likewise.
4117 * Makeconfig (localedir): Define using libdir, not datadir.
4118 (msgcatdir): New variable.
4119 * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
4120 * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
4122 * intl/Makefile (install-others): Install locale.alias in msgcatdir.
4123 (CPPFLAGS): Define paths using msgcatdir.
4124 * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
4125 * po/Makefile (mo-installed): Define using msgcatdir.
4127 * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
4129 1999-09-12 Ulrich Drepper <drepper@cygnus.com>
4131 * stdio-common/vfprintf.c: Remove limitation on size of precision
4134 * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
4135 glibc by defining internal_function if it isn't already.
4137 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
4138 fails don't rely on errno value.
4139 (getanswer_r): Set *ERRNOP in error cases.
4141 * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
4142 (gaih_inet_serv): Return EIA_NODATA if name is known but has no
4143 associated data. Test for matching numeric address and family.
4144 (getaddrinfo): Remember EAI_NODATA result and return this in case
4146 Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
4148 * locale/programs/ld-address.c: Fix handling of non-existing
4149 definitions for this category. Correctly ignore content of this
4150 category is this is necessary.
4151 * locale/programs/ld-collate.c: Likewise.
4152 * locale/programs/ld-ctype.c: Likewise.
4153 * locale/programs/ld-identification.c: Likewise.
4154 * locale/programs/ld-measurement.c: Likewise.
4155 * locale/programs/ld-messages.c: Likewise.
4156 * locale/programs/ld-monetary.c: Likewise.
4157 * locale/programs/ld-name.c: Likewise.
4158 * locale/programs/ld-numeric.c: Likewise.
4159 * locale/programs/ld-paper.c: Likewise.
4160 * locale/programs/ld-telephone.c: Likewise.
4161 * locale/programs/ld-time.c: Likewise.
4162 * locale/programs/locfile.h (handle_copy): Take extra parameter
4163 with result pointer. Fill in name of locale from which to copy.
4164 Correctly read token after `END'.
4166 * locale/programs/localedef.c (main): Correct handling copy.
4167 (add_to_readlist): Take extra parameter which says whether we
4168 are supposed to read the file or not.
4169 (find_locale): Call add_to_readlist with extra parameter set to 0.
4171 * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
4172 instead of wrong number in array definitions.
4173 (add_to_readlist): Update prototype.
4175 * locale/programs/locfile.c (locfile_read): Mark categories not
4176 available in source file as read.
4177 (write_all_categories): Fix typo.
4179 * locale/programs/locales.h: Removed.
4181 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
4183 * elf/elf.h (SHF_MASKOS): Added.
4185 * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
4187 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4189 * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
4191 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4193 * configure.in: Fix make version test for make 3.77.95 and later
4195 Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
4197 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
4199 * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
4201 * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
4204 * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
4206 1999-09-09 Andreas Schwab <schwab@suse.de>
4208 * elf/link.h: Fix comment.
4210 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
4212 * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
4214 * math/math.h: Pretty print.
4216 1999-09-10 Andreas Schwab <schwab@suse.de>
4218 * sysdeps/generic/getenv.c (getenv): Fix lookup for single
4219 character variable on bigendian platforms without unaligned memory
4222 1999-09-07 Cristian Gafton <gafton@redhat.com>
4224 * sysdeps/unix/sysv/linux/sys/raw.h: New file
4225 * sysdeps/unix/sysv/linux/Dist: Add raw.h.
4226 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
4228 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
4230 * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
4232 * time/ap.c: Removed. It was not used.
4233 * time/date.c: Likewise.
4234 * sysdeps/unix/nlist.c: Likewise.
4235 * sysdeps/generic/nlist.c: Likewise.
4236 * sysdeps/generic/varargs.h: Likewise.
4237 * stdio-common/scanf11.c: Likewise.
4238 * stdio-common/scanf6.c: Likewise.
4239 * scripts/=__ify: Likewise.
4240 * scripts/printsources: Likewise.
4241 * resolv/getnetnamadr.c: Likewise.
4242 * posix/id.c: Likewise.
4243 * misc/ioctltst.c: Likewise.
4244 * misc/nlist.h: Likewise.
4245 * math/test-math.h: Likewise.
4246 * include/nlist.h: Likewise.
4248 1999-09-06 Andreas Schwab <schwab@suse.de>
4250 * time/tzset.c (compute_change): Replace slow loop to compute T by
4253 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
4255 * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
4256 escape sequences out even if the character itself does not fit
4259 * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
4261 1999-08-31 H.J. Lu <hjl@gnu.org>
4263 * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
4265 1999-09-05 Roland McGrath <roland@baalperazim.frob.com>
4267 * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
4268 it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
4269 (_hurd_priority_which_map):
4271 1999-09-04 Ulrich Drepper <drepper@cygnus.com>
4273 * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
4275 1999-09-03 Andreas Schwab <schwab@suse.de>
4277 * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
4278 fork from __syscall_fork to __libc_fork.
4279 * posix/Versions: Add __libc_fork and __vfork to version
4282 1999-08-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4284 * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
4285 dependencies in sort.
4287 1999-09-01 H.J. Lu <hjl@gnu.org>
4289 * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
4291 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
4292 <sys/user.h> instead of <asm/user.h>.
4294 1999-09-02 Ulrich Drepper <drepper@cygnus.com>
4296 * elf/elf.h: Update PARISC-specific flags and symbolic names.
4298 1999-09-01 Ulrich Drepper <drepper@cygnus.com>
4300 * elf/elf.h: Update PARISC relocations.
4302 1999-08-31 Scott Bambrough <scottb@netwinder.org>
4304 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
4305 #ifdef statement to prevent it from being included twice.
4306 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
4307 #include <bits/armsigctx.h>.
4309 1999-08-31 Andreas Schwab <schwab@suse.de>
4311 * locale/C-collate.c: Add missing initialisations.
4312 * locale/C-ctype.c: Likewise.
4314 1999-08-31 Ulrich Drepper <drepper@cygnus.com>
4316 * time/strftime.c (my_strftime): Remove unneeded variable len.
4318 * time/strptime.c: Undo last change.
4320 1999-08-30 Ulrich Drepper <drepper@cygnus.com>
4322 * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
4323 Change charset.h to charmap.h.
4324 (categories): Add new categories. Leave out collate for now.
4326 * locale/categories.def: Add definitions for new categories.
4327 * locale/langinfo.h: Likewise.
4328 * locale/locale.h: Likewise.
4329 * locale/C-address.c: New file.
4330 * locale/C-identification.c: New file.
4331 * locale/C-measurement.c: New file.
4332 * locale/C-name.c: New file.
4333 * locale/C-paper.c: New file.
4334 * locale/C-telephone.c: New file.
4335 * locale/lc-address.c: Likewise.
4336 * locale/lc-identification.c: Likewise.
4337 * locale/lc-measurement.c: Likewise.
4338 * locale/lc-name.c: Likewise.
4339 * locale/lc-paper.c: Likewise.
4340 * locale/lc-telephone.c: Likewise.
4341 * locale/C-ctype.c: Update for locale rewrite.
4342 * locale/C-messages.c: Likewise.
4343 * locale/C-monetary.c: Likewise.
4344 * locale/C-time.c: Likewise.
4345 * locale/lc-collate.c: Likewise.
4346 * locale/lc-ctype.c: Likewise.
4347 * locale/lc-monetary.c: Likewise.
4348 * locale/lc-time.c: Likewise.
4349 * locale/localeinfo.h: Likewise.
4350 * locale/newlocale.c: Likewise.
4351 * locale/setlocale.c: Likewise.
4352 * locale/weight.h: Likewise.
4353 * locale/findlocale.c: Unconditionally use mmap.
4354 Handle new categories.
4355 * locale/loadlocale.c: Likewise.
4356 * locale/iso-3166.def: New file.
4357 * locale/iso-639.def: New file.
4358 * locale/programs/charmap-kw.gperf: Add new keywords.
4359 * locale/programs/locfile-kw.gperf: Likewise.
4360 * locale/programs/locfile-token.h: Define new tokens.
4361 * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
4362 * locale/programs/charmap.h: New file.
4363 * locale/programs/charset.h: Removed.
4364 * locale/programs/config.h: Add __LC_LAST.
4365 * locale/programs/lc-address.c: New file.
4366 * locale/programs/lc-identification.c: New file.
4367 * locale/programs/lc-measurement.c: New file.
4368 * locale/programs/lc-name.c: New file.
4369 * locale/programs/lc-paper.c: New file.
4370 * locale/programs/lc-telephone.c: New file.
4371 * locale/programs/lc-collate.c: Update for locale rewrite.
4372 * locale/programs/lc-ctype.c: Likewise.
4373 * locale/programs/lc-messages.c: Likewise.
4374 * locale/programs/lc-monetary.c: Likewise.
4375 * locale/programs/lc-numeric.c: Likewise.
4376 * locale/programs/lc-time.c: Likewise.
4377 * locale/programs/locale.c: Likewise.
4378 * locale/programs/localedef.c: Likewise.
4379 * locale/programs/locfile.c: Likewise.
4380 * locale/programs/repertoire.c: Likewise.
4381 * locale/programs/repertoire.h: Likewise.
4382 * locale/programs/locfile.c: Update prototypes.
4383 Update handle_copy definition.
4384 * locale/programs/linereader.c: Add handling of wide char strings and
4385 new definition file syntax.
4386 * locale/programs/linereader.h (struct token): Add elements for wide
4388 * locale/programs/locale-spec.c: Disable handling of collation
4390 * locale/programs/simple-hash.h: Cleanup.
4391 * locale/programs/stringtrans.h: Handle quite of end of line.
4392 * string/strcoll.c: Fall back on strcmp for now.
4393 * string/strxfrm.c: Fall back on strncpy/strlen for now.
4394 * time/strftime.c: Use new wide character data for wcsftime.
4395 * time/strptime.c: Remove _nl_C_LC_TIME declaration.
4396 * wctype/cname-lookup.h: Update for new LC_CTYPE data.
4398 * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
4399 compiling for i386 to avoid i686-like GOT pointer computation.
4401 * db2/db_int.h: Change tsl_t type to u_int32_t.
4402 * db2/mutex/mutex.c: Allow Alpha mutex definitions.
4403 * db2/mutex/alpha.h: New file.
4404 * db2/mutex/sparc.gcc: Fix store code for v9. Simplify clear code.
4405 * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
4407 Patches by Richard Henderson.
4409 * stdlib/tst-environ.c: Add cast to avoid warning.
4410 * timezone/test-tz.c: Use setenv instead of putenv.
4412 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4414 * manual/libc.texinfo: Update version and date.
4416 * manual/locale.texi (Formatting Numbers): Fix @node pointers.
4418 * manual/filesys.texi (Working with Directory Trees): Add missing @code.
4419 (File System Interface): Correct entry.
4420 (Permission Bits): Add missing commata after @xref.
4422 1999-08-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4424 * timezone/tst-timezone.c (main): Don't pass const strings to
4425 putenv to avoid warnings.
4427 * posix/regexbug1.c: Include <stdio.h> for puts prototype.
4429 1999-08-29 Thorsten Kukuk <kukuk@suse.de>
4431 * nis/Versions: Add _nss_*_getipnodebyname_r.
4432 * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
4433 * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
4434 * nss/Versions: Add _nss_files_getipnodebyname_r.
4436 1999-08-28 H.J. Lu <hjl@gnu.org>
4438 * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
4441 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
4443 * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
4445 * inet/netinet/in.h: Likewise.
4446 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4447 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4449 1999-08-28 Ulrich Drepper <drepper@cygnus.com>
4451 * malloc/malloc.c (ptmalloc_init): Don't use variables to set
4452 thresholds for SUID binaries. [PR libc/1277]
4454 * posix/regexbug1.c: Add one more similar case.
4456 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4458 * manual/install.texi (Running make install): Give examples for
4459 timezone and locale installation.
4461 1999-08-28 Zack Weinberg <zack@bitmover.com>
4463 * glibcbug.in: Get CCVERSION from autoconf substitution.
4464 * configure.in: Calculate and substitute CCVERSION.
4466 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4468 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
4469 partially reverting a patch from 1998-12-29. We just can't change
4470 the flags, kernels with different flags lead to
4473 1999-08-26 Andreas Schwab <schwab@suse.de>
4475 * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
4477 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
4479 * inet/rexec.c (rexec): Free memory if strings were allocated in
4480 ruserpass. Reported by Andrew Morton <morton@nortelnetworks.com>.
4482 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
4484 * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
4486 * manual/argp.texi: Fixing language and typos.
4487 * manual/conf.texi: Likewise.
4488 * manual/contrib.texi: Likewise.
4489 * manual/ctype.texi: Likewise.
4490 * manual/filesys.texi: Likewise.
4491 * manual/install.texi: Likewise.
4492 * manual/job.texi: Likewise.
4493 * manual/lang.texi: Likewise.
4494 * manual/llio.texi: Likewise.
4495 * manual/locale.texi: Likewise.
4496 * manual/math.texi: Likewise.
4497 * manual/nss.texi: Likewise.
4498 * manual/pipe.texi: Likewise.
4499 * manual/signal.texi: Likewise.
4500 * manual/socket.texi: Likewise.
4501 * manual/stdio.texi: Likewise.
4502 * manual/sysinfo.texi: Likewise.
4503 * manual/users.texi: Likewise.
4504 Patches by Neil Booth <NeilB@earthling.net>.
4506 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
4508 * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
4509 unsigned to avoid warning. [PR libc/1271].
4511 * conform/conformtest.pl: Allow testing regex.h which requires
4512 sys/types.h being included.
4514 * conform/data/regex.h-data: Allow *_t types.
4515 * conform/data/pwd.h-data: Likewise.
4516 * conform/data/sched.h-data: Likewise.
4517 * conform/data/pthread.h-data: Likewise.
4518 * conform/data/search.h-data: Likewise.
4520 * misc/search.h: Avoid namespace pollution.
4522 * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
4523 pwd.h, and pthread.h.
4524 * conform/data/pthread.h-data: New file.
4525 * conform/data/pwd.h-data: New file.
4526 * conform/data/regex.h-data: New file.
4527 * conform/data/sched.h-data: New file.
4528 * conform/data/search.h-data: New file.
4530 * NAMESPACE: Add REG_ for regex.h.
4532 * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
4535 * configure.in (libc_cv_asm_global_directive): Indent .text in
4536 test code so that the lame HPUX compiler recognizes it.
4537 * sysdeps/hppa/bits/endian.h: New file.
4538 * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
4539 * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
4540 * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
4541 * sysdeps/unix/sysv/hpux/bits/types.h: New file.
4543 * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
4544 Patch by John Tobey <jtobey@banta-im.com>.
4546 * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
4548 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
4549 old_siocfifconf definition to toplevel.
4550 (__protocol_available): Remove old_siocfifconf definition.
4552 1999-08-25 Mark Kettenis <kettenis@gnu.org>
4554 * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
4555 really dealing with a master pseudo terminal, and really returning
4556 the name of the associated slave pseudo terminal by checking the
4558 * sysdeps/unix/sysv/linux/pty-private.h: Removed.
4559 * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
4561 1999-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4563 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
4564 underscore in _llseek entry.
4566 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
4569 * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
4570 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
4572 * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
4573 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
4575 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
4577 * inet/Makefile (routines): Add getipnodebynm.
4578 * inet/getipnodebynm.c: New file.
4579 * nss/digits_dots.c: If HAVE_TYPE is define type contains the
4581 * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
4582 EXTRA_ARGS_VALUE is not already done.
4583 (internal_getent): Allow extra parameters and pass them to parse_line.
4584 (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
4585 (_nss_files_get##name##_r): Likewise.
4586 * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
4587 and EXTRA_ARGS_VALUE to pass flags and type to parser.
4588 Add getipnodebyname function.
4589 * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
4590 EXTRA_ARGS_VALUE is not already done.
4591 (parse_line): Add EXTRA_ARGS_DECL to parameter list.
4592 * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
4594 (_nss_db_get##name##_r): Pass extra parameters to lookup.
4595 (_nss_db_get,ENTNAME_r): Likewise.
4596 * sysdeps/generic/if_index.c (__protocol_available): New function.
4597 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4599 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
4601 * login/pty-private.h: Move to...
4602 * sysdeps/generic/pty-private.h: ...here.
4603 * sysdeps/unix/sysv/linux/pty-private.h: New file. Linux specific
4605 * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
4608 * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
4611 * conform/conformtest.pl (@headers): Add monetary.h-data,
4612 mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
4613 * conform/data/monetary.h-data: New file.
4614 * conform/data/mqueue.h-data: New file.
4615 * conform/data/ndbm.h-data: New file.
4616 * conform/data/nl_types.h.h-data: New file.
4617 * conform/data/poll.h-data: New file.
4619 * stdio-common/Makefile (test): Add tst-cookie.
4620 * stdio-common/tst-cookie.c: New file.
4622 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
4623 changed in last patch. Reported by Ralf Baechle.
4625 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4627 * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
4629 * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
4630 Patches by Ralf Baechle <ralf@uni-koblenz.de>
4632 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4634 * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
4637 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
4639 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
4641 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4643 * misc/libgen.h: Don't take basename macro as taking arguments.
4645 * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
4647 * sysdeps/i386/bits/huge_val.h: Likewise.
4648 * sysdeps/i386/bits/huge_val.h: Likewise.
4649 * sysdeps/ieee754/bits/huge_val.h: Likewise.
4650 * sysdeps/m68k/bits/huge_val.h: Likewise.
4651 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
4652 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
4654 * conform/Makefile: New file.
4655 * conform/conformtest.pl: New file.
4656 * conform/data/aio.h-data: New file.
4657 * conform/data/assert.h-data: New file.
4658 * conform/data/cpio.h-data: New file.
4659 * conform/data/ctype.h-data: New file.
4660 * conform/data/dirent.h-data: New file.
4661 * conform/data/dlfcn.h-data: New file.
4662 * conform/data/errno.h-data: New file.
4663 * conform/data/fcntl.h-data: New file.
4664 * conform/data/float.h-data: New file.
4665 * conform/data/fmtmsg.h-data: New file.
4666 * conform/data/fnmatch.h-data: New file.
4667 * conform/data/ftw.h-data: New file.
4668 * conform/data/glob.h-data: New file.
4669 * conform/data/grp.h-data: New file.
4670 * conform/data/iconv.h-data: New file.
4671 * conform/data/inttypes.h-data: New file.
4672 * conform/data/iso646.h-data: New file.
4673 * conform/data/langinfo.h-data: New file.
4674 * conform/data/libgen.h-data: New file.
4675 * conform/data/locale.h-data: New file.
4676 * conform/data/math.h-data: New file.
4678 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
4680 * posix/execvp.c (execvp): Correct copying of file name.
4682 1999-08-23 Mark Kettenis <kettenis@gnu.org>
4684 * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
4686 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
4688 * stdio-common/Makefile: Move addition to routines to the right place.
4690 1999-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4692 * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file. Neccessary
4693 since mips*-linux has ECANCELED.
4695 1999-08-23 Andreas Schwab <schwab@suse.de>
4697 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
4698 SIGCONTEXT_EXTRA_ARGS.
4699 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
4700 * sysdeps/generic/sigcontextinfo.h: Likewise.
4701 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
4702 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
4703 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4704 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
4705 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
4706 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
4708 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
4710 * posix/regexbug1.c: Make it an error if the test fails.
4712 1999-08-23 Andreas Schwab <schwab@suse.de>
4714 * posix/regex.c (re_match_2_internal): Correct check for charset
4715 after exactn in loop.
4717 1999-08-22 Ulrich Drepper <drepper@cygnus.com>
4719 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
4720 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4721 Patch by Joel Klecker.
4723 * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
4724 (__gconv_find_transform): Update prototype.
4725 (__gconv_open): Likewise.
4726 * iconv/gconv_open.c: Take extra parameter and pass it to
4727 __gconv_find_transform.
4728 * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
4729 flags. If GCONV_AVOID_NOCONV flag is set don't return copying
4731 * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
4732 * wcsmbs/wcsmbsload.c: Likewise.
4733 * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
4735 * intl/gettextP.h: Likewise.
4736 * intl/loadmsgcat.c: Likewise.
4738 * posix/regexbug1.c: New file.
4739 * posix/Makefile (tests): Add regexbug1.
4741 1999-08-22 Mark Kettenis <kettenis@gnu.org>
4743 * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
4744 * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
4745 installing PORT in the descriptor cell.
4747 1999-08-19 Roland McGrath <roland@baalperazim.frob.com>
4749 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
4750 TIMEOUT as outputs of the asm to indicate that the signal thread
4752 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
4753 mach_msg if only sending or only receiving (i.e., not an RPC). When
4754 making an RPC that might get interrupted, save OPTION and the portion
4755 of the message buffer that gets clobbered by an EINTR reply message,
4756 and properly restore them before attempting to retry the request
4759 1999-08-21 Mark Kettenis <kettenis@gnu.org>
4761 * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
4762 definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
4763 CHAR_T, UCHAR_T and WIN_T to make the code compile again when
4764 stdio is used instead of libio.
4765 * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
4766 definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
4767 to make the code compile again when stdio is used instead of
4769 (vfprintf): Only check for correct orientation if ORIENT is
4771 * stdio-common/Makefile (routines): Only add vfwprintf and
4772 vfwscanf if we're using libio.
4774 1999-08-21 Mark Kettenis <kettenis@gnu.org>
4776 * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
4777 any additional prototype just as we do for libio.
4779 1999-08-21 Mark Kettenis <kettenis@gnu.org>
4781 * include/bits/xopen_lim.h: Do not define STREAM_MAX and
4782 TZNAME_MAX. These limits are not X/Open specific.
4783 * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
4786 1999-08-21 Mark Kettenis <kettenis@gnu.org>
4788 * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
4789 UIO_MAXIOV is left undefined in sys/uio.h.
4790 * stdio-common/stdio_lim.h.in: Adapt for change above.
4792 1999-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4794 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
4795 * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
4796 Patches by Ralf Baechle <ralf@uni-koblenz.de>
4798 1999-08-21 Ulrich Drepper <drepper@cygnus.com>
4800 * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
4802 1999-08-20 Ulrich Drepper <drepper@cygnus.com>
4804 * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
4806 * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
4807 call. It should not be necessary andis harmful for Alpha.
4809 * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
4810 type. [PR libc/1269]
4812 * posix/execvp.c (execvp): Allocate array name of correct size.
4813 Optimize inner loop. Use execve directly, not execv.
4815 * elf/elf.h: Corrected SHT_ values from new draft.
4817 * intl/gettextP.h (struct loaded_domain): Add conv element.
4818 * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
4819 Instead of returning found message directly convert it using iconv
4820 if a conversion was found when opening the file.
4821 * intl/loadinfo.h: Protect against multiple inclusion.
4822 Declare _nl_find_msg.
4823 * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
4824 in the message file and if necessary find approrpiate
4825 conversion to match currently selected charset.
4826 * include/libintl.h: Declare __dgettext and __dcgettext.
4827 * include/iconv.h: New file.
4829 1999-08-20 Andreas Schwab <schwab@suse.de>
4831 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
4833 1999-08-19 Ulrich Drepper <drepper@cygnus.com>
4835 * sysdeps/unix/sysv/linux/execve.c: New file. This version terminates
4836 all threads [PR libc/1223].
4838 * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
4841 * configure.in: Search for programs with prefix gnu* and g* first.
4844 * dirent/Makefile (routines): Add getdents64.
4845 * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
4847 * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
4848 compiled with _FILE_OFFSET_BITS=64.
4849 * sysdeps/generic/getdents64.c: New file.
4850 * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
4851 __lseek for getdirentries64 definition.
4853 * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
4855 * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
4856 _FILE_OFFSET_BITS=64.
4858 * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
4861 * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
4862 after we have the lock.
4864 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
4865 Patch by Richard Henderson.
4867 1999-08-19 Andreas Schwab <schwab@suse.de>
4869 * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
4870 and call _IO_fwide, to get the wide stream state initialized
4871 correctly. Don't set _IO_JUMPS.
4872 * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
4873 * libio/vswprintf.c (_IO_vswprintf): Likewise. Pass
4874 _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
4877 1999-08-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4879 * math/libm-test.c (jn_test): Fix typo in description.
4880 (erfc_test): Add some more tests.
4881 (erf_test): Add some more tests.
4883 1999-08-19 Andreas Schwab <schwab@suse.de>
4885 * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
4886 expression using $(exceptions).
4888 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
4890 * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
4892 * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
4893 allocated so far. [PR libc/1261].
4895 * math/libm-test.c (j0_test): Adjust deltas for m68k.
4896 (jn_test): Likewise.
4898 * dirent/dirent.h: Only define ino64_t if not already done.
4899 * posix/sys/types.h: Likewise.
4901 * ctype/ctype.h: Avoid useless #endif #if pairs.
4903 * dirent/dirent.h: Define ino_t and ino64_t if not done already.
4904 (seekdir): Fix type of second parameter.
4905 * sysdeps/generic/seekdir.c: Likewise.
4906 * sysdeps/mach/hurd/seekdir.c: Likewise.
4907 * sysdeps/unix/seekdir.c: Likewise.
4909 * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
4911 1999-08-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4913 * manual/install.texi (Configuring and compiling): Clarify ix86
4916 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
4918 * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
4919 * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
4920 * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
4921 stdio_lim.h. Define LONG_BIT and WORD_BIT.
4923 * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
4925 * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
4927 * misc/search.h: Don't define NULL.
4929 * posix/sys/types.h: Define blksize_t if it hasn't happened.
4930 Only define key_t and blkcnt_t if it hasn't happened before.
4931 Define blksize_t if not happened before.
4932 * io/sys/stat.h: Don't define pid_t. Define blkcnt_t and blksize_t.
4933 * sysdeps/generic/bits/types.h: Define __blksize_t.
4934 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4935 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4936 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4937 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4938 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
4939 * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
4941 (struct stat64): Likewise.
4942 * sysdeps/unix/bsd/bits/stat.h: Likewise.
4943 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
4944 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4945 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4946 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4947 * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
4948 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
4950 * stdlib/getsubopt.c: Correct type of second argument.
4951 * stdlib/stdlib.h: Likewise.
4953 * stdlib/monetary.h: Don't include sys/types.h. Define only size_t
4956 * sysdeps/generic/putenv.c: Correct type of parameter.
4957 * stdlib/stdlib.h: Likewise.
4959 * sysdeps/generic/msgsnd.c: Correct type of second parameter.
4960 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
4961 * sysvips/sys/msg.h: Likewise.
4963 * sysdeps/generic/semop.c: Correct type of third parameter.
4964 * sysdeps/unix/sysv/linux/semop.c: Likewise.
4965 * sysvipc/sys/sem.h: Likewise. Don't include sys/types.h, define
4968 * sysdeps/generic/shmget.c: Correct type of second parameter.
4969 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
4970 * sysvips/sys/shm.h: Likewise. Don't include unistd.h and sys/types.h.
4971 Declare __getpagesize here.
4973 * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
4975 * sysdeps/gnu/bits/ipc.h: Likewise.
4976 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
4977 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
4978 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4979 * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
4982 * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
4984 * debug/versions: Export __cyg_profile_func_enter and
4985 __cyg_profile_func_exit.
4987 * math/bits/mathcalls.h: Pretty print.
4989 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
4991 * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
4992 case for new tzdata.
4994 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
4996 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4997 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4998 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4999 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5001 * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
5003 * sysdeps/generic/ualarm.c (ualarm): Change return value and
5004 parameter type to useconds_t.
5005 * sysdeps/unix/bsd/ualarm.c: Likewise.
5007 * sysdeps/generic/usleep.c (usleep): Change parameter type to
5009 * sysdeps/unix/sysv/linux/usleep.c: Likewise.
5010 * sysdeps/mach/usleep.c: Likewise.
5012 * locale/weight.h: Include <errno.h>.
5014 * posix/sys/types.h: Define type useconds_t if not done already.
5015 * posix/unistd.h: Likewise. Use this in ualarm and usleep
5017 * sysdeps/generic/bits/types.h: Define type __useconds_t.
5018 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5019 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5020 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5021 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5022 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5024 * dirent/dirent.h (telldir): Change return type to long int.
5025 * sysdeps/generic/telldir.c: Likewise.
5026 * sysdeps/mach/hurd/telldir.c: Likewise.
5027 * sysdeps/unix/telldir.c: Likewise.
5028 * sysdeps/unix/bsd/telldir.c: Likewise. Fix locking problem.
5030 * locale/weight.h: Set errno if an invalid character is found.
5032 1999-08-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5034 * math/libm-test.c (erfc_test): Add test for example from PR
5036 (erf_test): Likewise.
5038 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
5040 * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
5041 rewrite. Patch by Alan Stern <stern@kitsilano.rowland.org>.
5043 * timezone/private.h: Update from tzcode1999e.
5044 * timezone/zic.c: Likewise.
5046 * timezone/africa: Update from tzdata1999e.
5047 * timezone/antarctica: Likewise.
5048 * timezone/asia: Likewise.
5049 * timezone/australasia: Likewise.
5050 * timezone/europe: Likewise.
5051 * timezone/leapseconds: Likewise.
5052 * timezone/northamerica: Likewise.
5053 * timezone/southamerica: Likewise.
5055 * stdio-common/vfprintf.c (process_string_arg): Correct last patch
5056 and write correct number of bytes in case of %ls with precision.
5057 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5059 1999-08-16 Ulrich Drepper <drepper@cygnus.com>
5061 * nscd/nscd.init: Test for kernel version and make LSB compliant.
5062 Patch by Christian Gafton.
5064 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
5065 O_RSYNC. Patch by Christian Gafton.
5067 * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
5068 possibly unterminated strings for %ls when a precision is
5070 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
5072 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
5073 update_conversion_ptrs.
5074 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5076 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5078 * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
5079 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5081 * wcsmbs/Makefile (tests): Add tst-wcsnlen.
5082 * wcsmbs/tst-wcsnlen.c: New file.
5084 1999-08-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5086 * libio/ioputs.c (_IO_puts): Add missing brace.
5088 1999-07-20 Geoff Keating <geoffk@cygnus.com>
5090 * math/libm-test.c: Tweak deltas for a clean run on ppc.
5092 1999-08-10 H.J. Lu <hjl@gnu.org>
5094 * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
5095 (vfprintf): Likewise.
5096 * stdio-common/vfscanf.c (ORIENT): Likewise.
5097 * libio/genops.c (__underflow): Likewise.
5098 (__uflow): Likewise.
5099 * libio/iofputs.c (_IO_fputs): Likewise.
5100 * libio/ioftell.c (_IO_ftell): Likewise.
5101 * libio/iofwrite.c (_IO_fwrite): Likewise.
5102 * libio/ioputs.c (_IO_puts): Likewise.
5103 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
5104 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
5106 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5108 * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
5110 1999-08-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5112 * manual/job.texi (Process Group Functions): Document getpgid,
5115 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5117 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
5118 initialize si_pid from it.
5119 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
5121 * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
5122 * rt/aio_misc.h (struct waitlist): Add caller_pid element.
5123 (struct requestlist): Likewise.
5124 Adjust prototypes of __aio_notify_only and __aio_sigqueue.
5125 * rt/aio_notify.c (__aio_notify_only): Take extra parameter. Pass it
5127 (__aio_notify): Pass caller PID to __aio_notify_only.
5128 * rt/aio_suspend.c: Initialize caller_pid.
5129 * rt/lio_listio.c: Likewise.
5130 * rt/lio_listio64.c: Likewise.
5132 * rt/lio_listio.c: If nothing has to be done free mutex before
5134 * rt/lio_listio64.c: Likewise.
5136 1999-08-10 H.J. Lu <hjl@gnu.org>
5138 * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
5141 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5143 * elf/elf.h: Define ElfXX_Versym.
5144 * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
5147 * stdio-common/vfprintf.c (process_string_arg): Handle precisions
5148 for string output correctly in the wide character case.
5149 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
5151 * intl/locale.alias: Add catalan.
5153 1999-08-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5155 * manual/install.texi (Configuring and compiling): Mention CFLAGS.
5157 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5159 * po/pt_BR.po: New file.
5161 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5163 * math/libm-test.c (yn_test): Adjust deltas for i386.
5164 (ccosh_test): Likewise.
5165 (jn_test): Likewise.
5167 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
5169 * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
5171 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
5173 * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
5176 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5178 * configure.in: install-sh lives now in scripts subdir.
5179 PR libc/1255 (bug 4).
5181 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
5183 * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
5188 1999-08-11 Thorsten Kukuk <kukuk@suse.de>
5190 * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
5192 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
5194 * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
5197 1999-08-10 Andreas Schwab <schwab@suse.de>
5199 * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
5202 1999-08-09 Scott Bambrough <scottb@netwinder.org>
5204 * elf/elf.h: Added definition of ELFOSABI_ARM.
5205 * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
5206 VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
5207 object's header and ABI values are acceptable.
5208 (VALID_ELF_HEADER): New macro; provide default definition.
5209 (VALID_ELF_OSABI): New macro; provide default definition.
5210 (VALID_ELF_ABIVERSION): New macro; provide default definition.
5211 * sysdeps/arm/dl-machine.h Define ARM specific versions of
5212 VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
5214 1999-08-09 Andreas Schwab <schwab@suse.de>
5216 * inet/tst-ipnode.c (main): Don't compare integer with NULL.
5218 1999-08-09 Thorsten Kukuk <kukuk@suse.de>
5220 * sunrpc/svc_run.c (svc_run): Free my_pollfd.
5222 1999-08-09 Andreas Schwab <schwab@suse.de>
5224 * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
5226 1999-08-08 Ulrich Drepper <drepper@cygnus.com>
5228 * sysdeps/ieee754/ieee754.h: Handle platforms with special
5229 __FLOAT_WORD_ORDER. Patch by Joel Klecker <jk@espy.org>.
5231 * string/bits/string2.h: Mark void* operations as extensions.
5232 * sysdeps/i386/i486/bits/string.h: Likewise.
5234 * debug/Makefile (routines): Add noophooks.
5235 (extra-libs): Add libpcprofile. Add rules to build libpcprofile.
5236 * debug/noophooks.c: New file.
5237 * debug/pcprofile.c: New file.
5239 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
5241 * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
5242 systems which allow using the functions also on non-seekable
5245 * resolv/res_send.c (res_send): Recompute timeout for poll for
5246 each jump to `wait'.
5248 * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
5249 braces to avoid warnings.
5250 (IN6ADDR_LOOPBACK_INIT): Likewise.
5252 * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
5255 1999-08-06 H.J. Lu <hjl@gnu.org>
5257 * malloc/malloc.c: Initialize __libc_pagesize early.
5259 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
5261 * string/string-inlines.c: Undefined __USE_STRING_INLINES before
5264 * inet/Makefile (tests): Add tst-ipnode.
5265 * inet/tst-ipnode.c: New file.
5267 1999-08-06 Andreas Schwab <schwab@suse.de>
5269 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
5271 (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
5272 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
5273 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
5275 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
5276 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
5278 1999-08-06 Jakub Jelinek <jj@ultra.linux.cz>
5280 * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
5281 * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
5282 * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
5284 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
5286 * resolv/res_send.c (res_send): Don't test file descriptor for
5287 range, we use poll now. [PR libc/1240]
5289 1999-08-05 Ulrich Drepper <drepper@cygnus.com>
5291 * libio/genops.c (_IO_flush_all): Don't access elements beyond what
5292 2.0 defined if they are not available.
5294 1999-08-05 Thorsten Kukuk <kukuk@suse.de>
5296 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
5299 1999-08-04 Ulrich Drepper <drepper@cygnus.com>
5301 * rt/aio_read.c: Fix return value.
5302 * rt/aio_read64.c: Likewise.
5303 Reported by Christian Gafton.
5305 * rt/aio_write.c: Fix return value.
5306 * rt/aio_write64.c: Likewise.
5307 * rt/aio_fsync.c: Likewise.
5309 * rt/aio_misc.c: Set errno at correct place.
5311 * rt/aio_fsync.c: Test OP parameter for correct values.
5313 * hesiod/hesiod.c: Avoid emitting rcsid in object file.
5315 1999-08-04 Andreas Schwab <schwab@suse.de>
5317 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
5318 Initialize result to one.
5319 (GET_NPROCS_CONF_PARSER): Likewise.
5321 1999-08-03 Ulrich Drepper <drepper@cygnus.com>
5323 * inet/ether_hton.c: Pass errno pointer to NSS function.
5324 * inet/getnetgrent_r.c: Likewise.
5325 Reported by Marty Leisner <leisner@rochester.rr.com>.
5327 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
5329 * nis/nis_callback.c: Fix port problem on big-endian machines
5330 * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
5331 fields are always 32 bit.
5332 Patches from Paul Mackerras <paulus@cs.anu.edu.au>
5334 * nis/nss_nis/nis-service.c: Remove htons, port is always in
5336 * nis/nss_nisplus/nisplus-service.c: Rename number to port.
5338 1999-08-03 Andreas Schwab <schwab@suse.de>
5340 * sysdeps/posix/sigset.c: Unblock the signal after setting its
5341 disposition. Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
5342 avoid two calls to sigprocmask.
5344 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
5346 * sysdeps/generic/s_nexttowardf.c: Fix typo.
5348 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
5350 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
5351 Only allow rt signal frames. No SA_SIGINFO signals will have the
5352 siginfo_t just not filled out with SI_NOINFO code.
5353 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
5354 (register_dump): Take the above change into account.
5355 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
5356 (rt_signal_frame): Likewise.
5358 * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
5360 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
5362 * nis/nis_callback.c (internal_nis_do_callback): Use poll()
5363 instead of select().
5365 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
5367 * sysdeps/generic/s_nextafter.c: Define __nexttoward and
5368 nexttoward so something else so that aliasing works.
5370 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
5372 * sysdeps/generic/math_ldbl.h: Fix typo.
5373 * sysdeps/generic/strtold.c: Remove unbalanced #endif.
5374 * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
5376 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
5378 * elf/resolvfail.c: Include stdio.h. Also test dlerror.
5380 1999-08-01 Ulrich Drepper <drepper@cygnus.com>
5382 * elf/Makefile (tests): Add resolvfail. Add rules to build the
5384 * elf/resolvfail.c: New file.
5386 * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
5387 pass it to _dl_lookup_symbol.
5389 * elf/dl-error.c (_dl_signal_error): Optimize string generation a
5390 bit. Reword message.
5392 * dlfcn/dlerror.c: Make code thread-safe.
5394 1999-07-31 Roland McGrath <roland@baalperazim.frob.com>
5396 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
5397 initializer in CHECK: a bit size, not the type code repeated!
5399 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
5401 * string/tester.c: Add tests with constant arguments for strcpy
5404 1999-07-31 H.J. Lu <hjl@gnu.org>
5406 * string/bits/string2.h (__strcpy_small): Fix a typo.
5408 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
5410 * Makeconfig (link-libc): Always define it, not only for shared
5413 * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
5414 * sysdeps/i386/fpu/e_powf.S: Likewise.
5415 * sysdeps/i386/fpu/e_powl.S: Likewise. [PR libc/1213].
5417 * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
5418 * sysdeps/generic/e_gammal_r.c: Likewise. [PR libc/1212].
5420 1999-07-30 Andreas Schwab <schwab@suse.de>
5422 * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
5424 (__get_nprocs): Use it.
5425 (__get_nprocs_conf): Define as separate function if
5426 GET_NPROCS_CONF_PARSER is defined.
5427 * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
5429 * include/sys/sysinfo.h: New file.
5430 * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
5432 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5434 1999-07-30 H.J. Lu <hjl@gnu.org>
5436 * libio/iofflush.c (fflush_unlocked): Weak aliase if
5437 _IO_MTSAFE_IO is not defined.
5438 * libio/clearerr.c (clearerr_unlocked): Likewise.
5439 * libio/feof.c (feof_unlocked): Likewise.
5440 * libio/ferror.c (ferror_unlocked): Likewise.
5441 * libio/fputc.c (fputc_unlocked): Likewise.
5442 * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
5443 * libio/getchar.c (getchar_unlocked): Likewise.
5444 * libio/putc.c (putc_unlocked): Likewise.
5445 * libio/putchar.c (putchar_unlocked): Likewise.
5447 1999-07-30 Thorsten Kukuk <kukuk@suse.de>
5449 * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
5450 svc_max_pollfd and svc_pollfd to GLIBC_2.2
5451 * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
5452 for svc_run/poll interface.
5453 * sunrpc/rpc/types.h: Add rpc*_t typedefs.
5454 * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
5456 * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
5457 rewrite other svc_getreq* functions to use svc_getreq_common.
5458 * sunrpc/svc_run.c: Use poll().
5460 1999-07-30 Andreas Schwab <schwab@suse.de>
5462 * Makerules: Put sysd-versions and Versions.all on
5463 postclean-generated instead of common-generated.
5465 1999-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5467 * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
5468 around and CLOCKS_PER_SEC is 1e6.
5470 1999-07-30 Ulrich Drepper <drepper@cygnus.com>
5472 * configure.in: Add test for local label subtraction.
5473 * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
5474 * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
5475 labels to reduce number of runtime relocations and move jump
5476 tables in read-only seciton.
5478 * malloc/malloc.c (ptmalloc_init): Correct last patch. The
5479 assignment cannot be moved.
5481 1999-07-29 H.J. Lu <hjl@gnu.org>
5483 * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
5484 if no threads are used.
5486 * libio/iofwrite.c: Add weak alias for _unlocked function if not
5488 * libio/iofread.c: Likewise.
5489 * libio/iofgets.c: Likewise.
5490 * libio/iofputs.c: Likewise.
5492 * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
5495 * stdlib/mbtowc.c: Include <string.h>.
5496 * stdlib/wctomb.c: Likewise.
5497 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
5498 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
5500 * misc/mntent_r.c: Include <alloca.h>.
5501 * elf/dl-runtime.c: Likewise.
5503 1999-07-29 Andreas Schwab <schwab@suse.de>
5505 * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
5506 all floating point formats supported by gcc. Error out for
5507 unhandled precisions.
5508 * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
5509 * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
5510 * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
5512 1999-07-29 Ulrich Drepper <drepper@cygnus.com>
5514 * sysdeps/generic/setenv.c: Move setenv code in new function
5515 __add_to_environ. Add new parameter specifying already
5516 constructed string for the environment.
5517 (setenv): Call __add_to_environ with new parameter set to NULL.
5518 (unsetenv): Really test all elements for duplicated name. Missed those
5519 cases where the two are following each other.
5520 * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
5521 * include/stdlib.h: Add prototype of __add_to_environ.
5522 * stdlib/tst-environ.c: New file.
5523 * stdlib/Makefile (tests): Add tst-environ.
5525 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
5527 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
5528 argument in realloc call.
5529 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
5531 Reported by Danny Braniss <danny@cs.huji.ac.il>.
5533 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
5535 * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
5537 * misc/efgcvt_r.c: Likewise.
5538 * misc/qefgcvt.c: Likewise.
5539 * misc/qefgcvt_r.c: Likewise.
5540 * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
5543 1999-07-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5545 * manual/math.texi (FP Function Optimization): Mention drawbacks.
5547 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
5549 * stdlib/mblen.c: Use static state.
5550 Reported by Bruno Haible <haible@ilog.fr>.
5552 * stdlib/mbtowc.c: Reset state for s == NULL.
5553 * stdlib/wctomb.c: Likewise.
5554 Reported by Bruno Haible <haible@ilog.fr>.
5556 * stdlib/mbstowcs.c: Do not use global state.
5557 Reported by Bruno Haible <haible@ilog.fr>.
5559 1999-07-28 Andeas Schwab <schwab@suse.de>
5561 * iconvdata/Makefile: Don't try to run iconv tests when cross
5564 1999-07-27 Mark Kettenis <kettenis@gnu.org>
5566 * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
5567 assembler code to switch stacks and call init1 outside this
5568 function. Inside `init' the code was optimized away by gcc
5569 2.95 since it was "clearly" unreachable.
5570 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
5571 Do something similar for the trampoline code.
5573 1999-07-27 Ulrich Drepper <drepper@cygnus.com>
5575 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
5576 for the hinted protocol.
5578 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5580 * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
5582 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
5584 * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
5585 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
5586 * elf/dl-load.c (_dl_map_object): Likewise.
5587 * elf/do-lookup.h (do_lookup*): Likewise.
5588 * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
5589 * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
5591 * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
5593 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
5595 * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
5596 * sysdeps/generic/getpgrp.c: Likewise.
5597 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
5598 * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
5599 Patch by John Tobey <jtobey@banta-im.com>.
5601 * sysdeps/posix/wait3.c: Help compiling in presence of
5602 __transparent_union__. Reported by John Tobey <jtobey@banta-im.com>.
5604 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
5606 * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
5607 as much as possible. Declare them using .register pseudo-op if they
5609 * sysdeps/sparc/sparc64/lshift.S: Likewise.
5610 * sysdeps/sparc/sparc64/memchr.S: Likewise.
5611 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5612 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5613 * sysdeps/sparc/sparc64/memset.S: Likewise.
5614 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5615 * sysdeps/sparc/sparc64/rshift.S: Likewise.
5616 * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
5617 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5618 * sysdeps/sparc/sparc64/strcat.S: Likewise.
5619 * sysdeps/sparc/sparc64/strchr.S: Likewise.
5620 * sysdeps/sparc/sparc64/strcmp.S: Likewise.
5621 * sysdeps/sparc/sparc64/strcpy.S: Likewise.
5622 * sysdeps/sparc/sparc64/strcspn.S: Likewise.
5623 * sysdeps/sparc/sparc64/strlen.S: Likewise.
5624 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5625 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5626 * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
5627 * sysdeps/sparc/sparc64/strspn.S: Likewise.
5628 * sysdeps/sparc/sparc64/sub_n.S: Likewise.
5629 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5630 Optimize trampoline code for .plt4-.plt32767.
5631 Fix trampolines for .plt32768+.
5633 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
5635 * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
5637 * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
5638 * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
5639 libc's private use (as assembly routine clobber it anyway).
5641 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5643 * README.template (configurations): The crypt add-on has a new
5645 * manual/install.texi (Installation): Likewise.
5647 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
5649 * time/time.h: Add forward for struct sigevent. Unix98 maybe
5650 requires to have a full definition but we wait for a bug report
5651 based on the test suite.
5653 * sysdeps/generic/clock_getres.c: New file.
5654 * sysdeps/generic/clock_gettime.c: New file.
5655 * sysdeps/generic/clock_settime.c: New file.
5656 * sysdeps/generic/timer_create.c: New file.
5657 * sysdeps/generic/timer_delete.c: New file.
5658 * sysdeps/generic/timer_getoverr.c: New file.
5659 * sysdeps/generic/timer_gettime.c: New file.
5660 * sysdeps/generic/timer_settime.c: New file.
5662 * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
5663 CLOCK_REALTIME, and TIMER_ABSTIME.
5664 * sysdeps/mach/hurd/bits/time.h: Likewise.
5665 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5666 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
5668 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
5670 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
5673 * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
5675 * time/Makefile (routines): Add clock_getres, clock_gettime,
5676 clock_setres, timer_create, timer_delete, timer_getoverr,
5677 timer_gettime, and timer_settime.
5679 * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
5680 POSIX.1b. Add prototypes for clock and timer functions.
5682 1999-07-26 Roland McGrath <roland@baalperazim.frob.com>
5684 * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
5685 Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
5687 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
5689 * stdlib/wcstombs.c: Do not use global state.
5690 Reported by Bruno Haible <haible@ilog.fr>.
5692 * wcsmbs/wctob.c: Avoid sign extension when returning character.
5693 Reported by Bruno Haible <haible@ilog.fr>.
5695 * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
5696 of wide characters to convert do it right and don't overestimate
5697 by multiplying with MB_CUR_MAX.
5698 Reported by Bruno Haible <haible@ilog.fr>.
5700 1999-07-26 Jakub Jelinek <jj@ultra.linux.jz>
5702 * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
5703 (__stpcpy_small): Likewise.
5704 Union has no __uc member but __c.
5706 1999-07-26 Andreas Schwab <schwab@suse.de>
5708 * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
5710 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
5712 * libio/iofclose.c (_IO_new_fclose): Only fall back on
5713 _IO_old_fclose if doing versioning.
5715 * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
5717 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5719 * misc/mntent_r.c: Allow spaces and tabs in entry names by
5720 encoding these characters.
5721 * misc/tst-mntent.c: Add test case for addmntent and getmntent.
5723 * string/bits/string2.h: Fix aliasing problems.
5724 * sysdeps/i386/i486/bits/string.h: Likewise.
5725 * sysdeps/i386/bits/string.h: Likewise.
5727 1998-12-28 Geoff Keating <geoffk@ozemail.com.au>
5729 * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
5730 * elf/rtld.c (dl_main): Don't call malloc() between
5731 re-relocating the dynamic linker and running the application's crt0.
5733 1999-07-21 Paul D. Smith <psmith@gnu.org>
5735 * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
5736 glob.h to get __P() macro.
5738 * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
5740 (__strchrnul): This won't exist outside GLIBC, so create one.
5742 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
5744 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
5745 __ino64_t should be 32bit unsigned type on sparc32.
5746 Define __off64_t to __quad_t instead of __int64_t.
5747 Make __pic_pid_t unsigned on sparc32.
5749 1999-07-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5751 * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
5754 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
5756 * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
5757 of an error. Patch by Changwoo Ryu <cwryu@debian.org>.
5759 1999-07-24 Ulrich Drepper <drepper@cygnus.com>
5761 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
5764 * resolv/res_send.c: Add locks for res_send and res_close use.
5766 * elf/Makefile (dl-routines): Add preinit.
5767 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
5768 * elf/link.h (struct link_map): Add new field l_preinitcount.
5769 * elf/dl-preinit.c: New file.
5770 * elf/dynamic-link.h: Initialize l_preinitcount.
5771 * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
5773 * elf/dl-fini.c: Handle DT_FINI_ARRAY.
5774 * elf/link.h (struct link_map): Remove l_init_running. Add l_runcount
5776 * elf/dl-init.c: Handle DT_INIT_ARRAY.
5777 * elf/dynamic-link.h: Change parameters. Now only get link_map
5778 pointer. Calculate l_initcount.
5780 * elf/link.h (struct link_map): Add l_runpath_dirs.
5781 * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
5782 * elf/dl-load.c: Pretty print.
5783 (decompose_rpath): Take new parameter with info from where the path
5784 comes. Pass it the fillin_rpath.
5785 (_dl_init_paths): Initialize l_runpath_dirs.
5786 (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
5787 Search using RUNPATH after LD_LIBRARY_PATH.
5788 * elf/dl-support.c: Adjust comment.
5789 * elf/rtld.c: Adjust help message.
5791 1999-07-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5793 * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
5796 1999-07-23 Roland McGrath <roland@baalperazim.frob.com>
5798 * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
5799 match BSD value; previous value of 1<<8 was a typo. I bet nothing
5800 ever used this, so I'm not going to worry about compatibility.
5801 [__USE_GNU] (IUCLC, OLCUC): New macros.
5803 1999-07-23 Ulrich Drepper <drepper@cygnus.com>
5805 * include/libintl.h: Undefine N_ and _ first to avoid warnings.
5807 * elf/elf.h: Add ET_LOOS and ET_HIOS.
5808 Add various EM_* constants.
5809 Add SHN_LOOS and SHN_HIOS.
5810 Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
5811 Add SHF_MERGE and SHF_STRINGS.
5812 (ElfXX_Sym): Update description of st_other field.
5814 Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
5816 Update comment on DT_RPATH. Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
5817 DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
5818 Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
5820 * posix/unistd.h: Move declaration of __libc_enable_secure to...
5821 * include/unistd.h: ...here.
5823 * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
5824 * elf/dl-deps.c (expand_dst): Likewise.
5826 * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
5827 based on DT_FLAGS value.
5829 * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
5830 Add test for symbols marked STV_HIDDEN.
5831 * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
5832 add undef_map. Compute reference_name locally. Update call to
5834 (_dl_lookup_symbol_skip): Likewise.
5835 (_dl_lookup_versioned_symbol): Likewise.
5836 (_dl_lookup_versioned_symbol_skip): Likewise.
5837 * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
5838 * elf/dl-runtime.c: Likewise.
5839 * elf/dl-sym.c: Likewise.
5840 * elf/dl-symbol.c: Likewise.
5841 * elf/ldsodefs.h: Adjust prototypes.
5843 * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
5844 handle appropriately. Add comment about DT_TEXTREL.
5845 * elf/dl-runtime.c: Likewise.
5847 1999-07-21 Roland McGrath <roland@baalperazim.frob.com>
5849 * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
5850 * elf/ldsodefs.h: Declare it.
5851 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
5853 (elf_machine_lazy_rel): Likewise. Take new arg MAP.
5854 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5855 (elf_machine_lazy_rel): Likewise.
5856 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
5857 (elf_machine_lazy_rel): Likewise.
5858 * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
5859 (elf_machine_lazy_rel): Likewise.
5860 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
5861 (elf_machine_lazy_rel): Likewise.
5862 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5863 (elf_machine_lazy_rel): Likewise.
5864 * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
5865 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
5866 (elf_machine_lazy_rel): Likewise.
5867 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
5868 (elf_machine_lazy_rel): Likewise.
5869 * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
5870 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
5871 _dl_reloc_bad_type instead of _dl_signal_error.
5872 * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
5874 1999-07-20 Mark Kettenis <kettenis@gnu.org>
5876 * sysdeps/mach/_strerror.c: Include <libintl.h>.
5878 1999-07-19 Roland McGrath <roland@baalperazim.frob.com>
5880 * hurd/hurdsig.c (_hurd_internal_post_signal): If a
5881 hurd_signal_preemptor matches but its `preemptor' field is null, use
5882 its `handler' field directly. This is to comply with behavior
5883 documented in <hurd/sigpreempt.h>.
5885 1999-07-21 Andreas Schwab <schwab@suse.de>
5887 * libio/fileops.c (_IO_new_file_underflow): Set error indicator
5888 when reading from write-only stream.
5889 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
5890 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
5892 1999-07-21 Andreas Schwab <schwab@suse.de>
5894 * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
5897 1999-07-21 Mark Kettenis <kettenis@gnu.org>
5899 * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
5901 * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
5903 (__libc_write): Call __pwrite instead of __pread.
5905 1999-07-20 Mark Kettenis <kettenis@gnu.org>
5907 * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
5908 __vm_allocate calls.
5910 * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>. Fix typo.
5911 * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
5913 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
5914 _hurd_fd_read with new OFFSET argument set to -1.
5915 (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
5918 1999-07-17 Roland McGrath <roland@baalperazim.frob.com>
5920 * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
5921 descriptor table sent in the RPC.
5923 1999-07-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5925 * time/strptime.c [!_LIBC]: Fix __mon_day size. Reported by
5926 bill@taniwha.org [PR libc/1211].
5928 1999-07-19 Andreas Schwab <schwab@suse.de>
5930 * libio/Makefile (routines): Add fwprintf.
5932 PowerPC has own version of w_sqrt.c and w_sqrtf.c.
5933 * math/w_sqrt.c: Moved to ...
5934 * sysdeps/generic/w_sqrt.c: ... here.
5935 * math/w_sqrtf.c: Moved to ...
5936 * sysdeps/generic/w_sqrtf.c: ... here.
5938 * Make-dist (generic-dirs): New variable.
5939 (try-sysdeps, +sysdep-names): Use it.
5940 * extra-lib.mk (all-$(lib)-routines): New variable. Use it
5941 instead of $(lib)-routines.
5942 * elf/Makefile (distribute): Add dl-cache.h.
5943 * db2/Makefile (distribute): Add all new files.
5944 * iconvdata/Makefile (distribute): Don't distribute CVS
5946 * math/Makefile (distribute): Remove machine/endian.h, add
5948 * stdio-common/Makefile (distribute): Add _itowa.h.
5949 * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
5950 * sysdeps/gnu/Dist: Add eval.c
5951 * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
5952 dlfcn]: Add to this instead of libdl-routines.
5953 * sysdeps/ieee754/ldbl-128/Dist: New file.
5954 * sysdeps/mach/hurd/Dist: Add siglist.h
5955 * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
5957 1999-07-18 Ulrich Drepper <drepper@cygnus.com>
5959 * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
5961 * inet/Makefile (routines): Add getipnodebyad and freehostent.
5962 * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
5963 * inet/freehostent.c: New file.
5964 * inet/getipnodebyad.c: New file.
5965 * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
5966 and getipnodebyname. The latter comes soon.
5967 * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
5968 Add support for getipnode* functions.
5970 * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
5971 Set h_aliases to NULL and not to a pointer to an array with a NULL
5972 pointer following XNS 5.2.
5974 * posix/sched.h: Remove internal interfaces.
5975 * include/sched.h: Add internal interfaces.
5977 * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
5979 * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
5981 * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
5982 and return an error in this case.
5983 * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
5986 1999-07-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5988 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
5989 1999-07-17 and adjust len parameter.
5990 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
5991 * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
5992 * manual/socket.texi (Host Names): Likewise.
5993 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
5994 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
5996 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
5997 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
5998 (ht_gethostbyaddr): Likewise.
5999 (_gethtbyaddr): Likewise.
6001 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
6003 * resolv/netdb.h: Adjust parameters of gethostbyaddr and
6005 * include/netdb.h: Likewise.
6006 * inet/gethstbyad.c: Correct type of len parameter.
6007 * inet/gethstbyad_r.c: Likewise.
6009 * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
6011 1999-07-17 Zack Weinberg <zack@rabi.columbia.edu>
6013 * include/libc-symbol.h: Clean up definitions of weak_alias,
6014 strong_alias, symbol_version, etc. etc.
6015 * posix/getopt.h: Use ctype.h to get features.h included, and don't
6016 include it at all if __GNU_LIBRARY__ is already defined.
6018 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
6020 * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
6022 * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
6024 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
6025 type for tv_usec element.
6026 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6027 * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
6028 * sysdeps/generic/bits/time.h: Likewise.
6029 * sysdeps/mach/hurd/bits/time.h: Likewise.
6030 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6031 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6032 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6033 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6034 * sysdeps/generic/bits/types.h: Likewise.
6035 * posix/sys/types.h: Define suseconds_t for X/Open.
6037 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
6039 * stdio-common/bug1.c: Avoid memory leak.
6041 * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
6042 program deterministic.
6043 * sysdeps/i386/fpu/e_powf.S: Likewise.
6044 * sysdeps/i386/fpu/e_powl.S: Likewise.
6046 1999-07-15 Jakub Jelinek <jj@ultra.linux.cz>
6048 * math/Makefile: Add t_sincosl and k_sincosl support routines.
6049 * math/math_private.h (__kernel_sincosl): New declaration.
6050 * sysdeps/generic/t_sincosl.c: New file.
6051 * sysdeps/generic/k_sincosl.c: New file.
6052 * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
6053 * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
6054 * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
6055 * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
6056 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
6057 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
6059 * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
6062 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
6064 * posix/unistd.h: Use __PMT for exit.
6066 1999-07-15 Philip Blundell <pb@nexus.co.uk>
6068 * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
6069 _outw, _outl): Added to GLIBC_2.1.2.
6071 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
6073 * posix/fnmatch.h: Use __name instead of __string in prototype to
6074 allow use outside glibc.
6076 1999-07-14 Ulrich Drepper <drepper@cygnus.com>
6078 * time/tst-strptime.c (main): Add one more test case. Produce
6079 output even when result is ok.
6081 * time/strptime.c (get_number): Handle number parsing more
6082 consistent with strftime. Only parse a given number of digits.
6083 (get_alt_number): Fix implementation. Was broken.
6084 (strptime_internal): Add third parameter to get_number and
6085 get_alt_number calls.
6087 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
6089 * elf/ldd.bash.in: Add support for multiple dynamic linkers.
6090 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
6091 try both 32bit and 64bit dynamic linker.
6092 * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
6093 script on all sparc targets.
6095 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
6097 * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
6100 1999-07-13 Andreas Schwab <schwab@suse.de>
6102 * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
6103 inlining. Fixes PR libc/1198.
6105 1999-07-14 Andreas Schwab <schwab@suse.de>
6107 * Makerules (common-generated): Don't prepend $(common-objpfx).
6109 1999-07-12 Jakub Jelinek <jj@ultra.linux.cz>
6111 * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
6112 as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
6113 * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
6114 quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
6116 * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
6118 * sysdeps/arm/Implies: Likewise.
6119 * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
6120 ieee754/ldbl-96 instead of ieee754.
6121 * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
6122 * sysdeps/generic/e_atanhl.c: New file.
6123 * sysdeps/generic/e_coshl.c: New file.
6124 * sysdeps/generic/e_sinhl.c: New file.
6125 * sysdeps/generic/e_gammal_r.c: New file.
6126 * sysdeps/generic/e_hypotl.c: New file.
6127 * sysdeps/generic/s_cbrtl.c: New file.
6128 * sysdeps/generic/s_asinhl.c: New file.
6129 * sysdeps/generic/s_tanhl.c: New file.
6130 * sysdeps/generic/w_expl.c: New file.
6131 * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
6133 * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
6134 ieee754/ldbl-96 instead of ieee754.
6135 * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
6136 * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
6138 * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
6140 * sysdeps/mips/mips64/Implies: Likewise.
6141 * sysdeps/powerpc/Implies: Likewise.
6142 * sysdeps/sparc/Implies: Remove.
6143 * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
6145 * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
6146 and ieee754/ldbl-128.
6148 * sysdeps/sparc/bits/wordsize.h: Remove.
6149 * sysdeps/sparc/fpu/bits/mathinline.h: New file.
6150 * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
6152 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
6153 * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
6154 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
6155 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
6156 * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
6159 * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
6160 of carries. Optimize.
6162 * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
6163 * sysdeps/generic/e_exp10.c: ...here.
6164 * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
6165 * sysdeps/generic/e_exp10f.c: ...here.
6166 * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
6167 * sysdeps/generic/e_exp10l.c: ...here.
6168 * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
6169 * sysdeps/generic/e_scalb.c: ...here.
6170 * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
6171 * sysdeps/generic/e_scalbf.c: ...here.
6172 * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
6173 * sysdeps/generic/e_scalbl.c: ...here.
6174 * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
6175 * sysdeps/generic/s_cacos.c: ...here.
6176 * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
6177 * sysdeps/generic/s_cacosf.c: ...here.
6178 * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
6179 * sysdeps/generic/s_cacosh.c: ...here.
6180 * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
6181 * sysdeps/generic/s_cacoshf.c: ...here.
6182 * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
6183 * sysdeps/generic/s_cacoshl.c: ...here.
6184 * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
6185 * sysdeps/generic/s_cacosl.c: ...here.
6186 * sysdeps/libm-ieee754/s_casin.c: Moved to ...
6187 * sysdeps/generic/s_casin.c: ...here.
6188 * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
6189 * sysdeps/generic/s_casinf.c: ...here.
6190 * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
6191 * sysdeps/generic/s_casinh.c: ...here.
6192 * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
6193 * sysdeps/generic/s_casinhf.c: ...here.
6194 * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
6195 * sysdeps/generic/s_casinhl.c: ...here.
6196 * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
6197 * sysdeps/generic/s_casinl.c: ...here.
6198 * sysdeps/libm-ieee754/s_catan.c: Moved to ...
6199 * sysdeps/generic/s_catan.c: ...here.
6200 * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
6201 * sysdeps/generic/s_catanf.c: ...here.
6202 * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
6203 * sysdeps/generic/s_catanh.c: ...here.
6204 * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
6205 * sysdeps/generic/s_catanhf.c: ...here.
6206 * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
6207 * sysdeps/generic/s_catanhl.c: ...here.
6208 * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
6209 * sysdeps/generic/s_catanl.c: ...here.
6210 * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
6211 * sysdeps/generic/s_ccos.c: ...here.
6212 * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
6213 * sysdeps/generic/s_ccosf.c: ...here.
6214 * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
6215 * sysdeps/generic/s_ccosh.c: ...here.
6216 * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
6217 * sysdeps/generic/s_ccoshf.c: ...here.
6218 * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
6219 * sysdeps/generic/s_ccoshl.c: ...here.
6220 * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
6221 * sysdeps/generic/s_ccosl.c: ...here.
6222 * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
6223 * sysdeps/generic/s_cexp.c: ...here.
6224 * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
6225 * sysdeps/generic/s_cexpf.c: ...here.
6226 * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
6227 * sysdeps/generic/s_cexpl.c: ...here.
6228 * sysdeps/libm-ieee754/s_clog.c: Moved to ...
6229 * sysdeps/generic/s_clog.c: ...here.
6230 * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
6231 * sysdeps/generic/s_clog10.c: ...here.
6232 * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
6233 * sysdeps/generic/s_clog10f.c: ...here.
6234 * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
6235 * sysdeps/generic/s_clog10l.c: ...here.
6236 * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
6237 * sysdeps/generic/s_clogf.c: ...here.
6238 * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
6239 * sysdeps/generic/s_clogl.c: ...here.
6240 * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
6241 * sysdeps/generic/s_cpow.c: ...here.
6242 * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
6243 * sysdeps/generic/s_cpowf.c: ...here.
6244 * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
6245 * sysdeps/generic/s_cpowl.c: ...here.
6246 * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
6247 * sysdeps/generic/s_cproj.c: ...here.
6248 * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
6249 * sysdeps/generic/s_cprojf.c: ...here.
6250 * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
6251 * sysdeps/generic/s_cprojl.c: ...here.
6252 * sysdeps/libm-ieee754/s_csin.c: Moved to ...
6253 * sysdeps/generic/s_csin.c: ...here.
6254 * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
6255 * sysdeps/generic/s_csinf.c: ...here.
6256 * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
6257 * sysdeps/generic/s_csinh.c: ...here.
6258 * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
6259 * sysdeps/generic/s_csinhf.c: ...here.
6260 * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
6261 * sysdeps/generic/s_csinhl.c: ...here.
6262 * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
6263 * sysdeps/generic/s_csinl.c: ...here.
6264 * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
6265 * sysdeps/generic/s_csqrt.c: ...here.
6266 * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
6267 * sysdeps/generic/s_csqrtf.c: ...here.
6268 * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
6269 * sysdeps/generic/s_csqrtl.c: ...here.
6270 * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
6271 * sysdeps/generic/s_ctan.c: ...here.
6272 * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
6273 * sysdeps/generic/s_ctanf.c: ...here.
6274 * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
6275 * sysdeps/generic/s_ctanh.c: ...here.
6276 * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
6277 * sysdeps/generic/s_ctanhf.c: ...here.
6278 * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
6279 * sysdeps/generic/s_ctanhl.c: ...here.
6280 * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
6281 * sysdeps/generic/s_ctanl.c: ...here.
6282 * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
6283 * sysdeps/generic/s_fdim.c: ...here.
6284 * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
6285 * sysdeps/generic/s_fdimf.c: ...here.
6286 * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
6287 * sysdeps/generic/s_fdiml.c: ...here.
6288 * sysdeps/libm-ieee754/s_fma.c: Moved to ...
6289 * sysdeps/generic/s_fma.c: ...here.
6290 * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
6291 * sysdeps/generic/s_fmaf.c: ...here.
6292 * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
6293 * sysdeps/generic/s_fmal.c: ...here.
6294 * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
6295 * sysdeps/generic/s_fmax.c: ...here.
6296 * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
6297 * sysdeps/generic/s_fmaxf.c: ...here.
6298 * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
6299 * sysdeps/generic/s_fmaxl.c: ...here.
6300 * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
6301 * sysdeps/generic/s_fmin.c: ...here.
6302 * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
6303 * sysdeps/generic/s_fminf.c: ...here.
6304 * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
6305 * sysdeps/generic/s_fminl.c: ...here.
6306 * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
6307 * sysdeps/generic/s_ldexp.c: ...here.
6308 * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
6309 * sysdeps/generic/s_ldexpf.c: ...here.
6310 * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
6311 * sysdeps/generic/s_ldexpl.c: ...here.
6312 * sysdeps/libm-ieee754/s_nan.c: Moved to ...
6313 * sysdeps/generic/s_nan.c: ...here.
6314 * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
6315 * sysdeps/generic/s_nanf.c: ...here.
6316 * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
6317 * sysdeps/generic/s_nanl.c: ...here.
6318 * sysdeps/libm-ieee754/s_significand.c: Moved to ...
6319 * sysdeps/generic/s_significand.c: ...here.
6320 * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
6321 * sysdeps/generic/s_significandf.c: ...here.
6322 * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
6323 * sysdeps/generic/s_significandl.c: ...here.
6324 Avoid conversion from int to double and then to long double.
6325 * sysdeps/libm-ieee754/w_acos.c: Moved to ...
6326 * math/w_acos.c: ...here.
6327 * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
6328 * math/w_acosf.c: ...here.
6329 * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
6330 * math/w_acosh.c: ...here.
6331 * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
6332 * math/w_acoshf.c: ...here.
6333 * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
6334 * math/w_acoshl.c: ...here.
6335 * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
6336 * math/w_acosl.c: ...here.
6337 * sysdeps/libm-ieee754/w_asin.c: Moved to ...
6338 * math/w_asin.c: ...here.
6339 * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
6340 * math/w_asinf.c: ...here.
6341 * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
6342 * math/w_asinl.c: ...here.
6343 * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
6344 * math/w_atan2.c: ...here.
6345 * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
6346 * math/w_atan2f.c: ...here.
6347 * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
6348 * math/w_atan2l.c: ...here.
6349 * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
6350 * math/w_atanh.c: ...here.
6351 * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
6352 * math/w_atanhf.c: ...here.
6353 * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
6354 * math/w_atanhl.c: ...here.
6355 * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
6356 * math/w_cosh.c: ...here.
6357 * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
6358 * math/w_coshf.c: ...here.
6359 * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
6360 * math/w_coshl.c: ...here.
6361 * sysdeps/libm-ieee754/w_drem.c: Moved to ...
6362 * math/w_drem.c: ...here.
6363 * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
6364 * math/w_dremf.c: ...here.
6365 * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
6366 * math/w_dreml.c: ...here.
6367 * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
6368 * math/w_exp10.c: ...here.
6369 * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
6370 * math/w_exp10f.c: ...here.
6371 * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
6372 * math/w_exp10l.c: ...here.
6373 * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
6374 * math/w_exp2.c: ...here.
6375 * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
6376 * math/w_exp2f.c: ...here.
6377 * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
6378 * math/w_exp2l.c: ...here.
6379 * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
6380 * math/w_fmod.c: ...here.
6381 * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
6382 * math/w_fmodf.c: ...here.
6383 * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
6384 * math/w_fmodl.c: ...here.
6385 * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
6386 * math/w_hypot.c: ...here.
6387 * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
6388 * math/w_hypotf.c: ...here.
6389 * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
6390 * math/w_hypotl.c: ...here.
6391 * sysdeps/libm-ieee754/w_j0.c: Moved to ...
6392 * math/w_j0.c: ...here.
6393 * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
6394 * math/w_j0f.c: ...here.
6395 * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
6396 * math/w_j0l.c: ...here.
6397 * sysdeps/libm-ieee754/w_j1.c: Moved to ...
6398 * math/w_j1.c: ...here.
6399 * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
6400 * math/w_j1f.c: ...here.
6401 * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
6402 * math/w_j1l.c: ...here.
6403 * sysdeps/libm-ieee754/w_jn.c: Moved to ...
6404 * math/w_jn.c: ...here.
6405 * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
6406 * math/w_jnf.c: ...here.
6407 * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
6408 * math/w_jnl.c: ...here.
6409 * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
6410 * math/w_lgamma.c: ...here.
6411 * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
6412 * math/w_lgamma_r.c: ...here.
6413 * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
6414 * math/w_lgammaf.c: ...here.
6415 * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
6416 * math/w_lgammaf_r.c: ...here.
6417 * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
6418 * math/w_lgammal.c: ...here.
6419 * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
6420 * math/w_lgammal_r.c: ...here.
6421 * sysdeps/libm-ieee754/w_log.c: Moved to ...
6422 * math/w_log.c: ...here.
6423 * sysdeps/libm-ieee754/w_log10.c: Moved to ...
6424 * math/w_log10.c: ...here.
6425 * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
6426 * math/w_log10f.c: ...here.
6427 * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
6428 * math/w_log10l.c: ...here.
6429 * sysdeps/libm-ieee754/w_logf.c: Moved to ...
6430 * math/w_logf.c: ...here.
6431 * sysdeps/libm-ieee754/w_logl.c: Moved to ...
6432 * math/w_logl.c: ...here.
6433 * sysdeps/libm-ieee754/w_pow.c: Moved to ...
6434 * math/w_pow.c: ...here.
6435 * sysdeps/libm-ieee754/w_powf.c: Moved to ...
6436 * math/w_powf.c: ...here.
6437 * sysdeps/libm-ieee754/w_powl.c: Moved to ...
6438 * math/w_powl.c: ...here.
6439 * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
6440 * math/w_remainder.c: ...here.
6441 * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
6442 * math/w_remainderf.c: ...here.
6443 * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
6444 * math/w_remainderl.c: ...here.
6445 * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
6446 * math/w_scalb.c: ...here.
6447 * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
6448 * math/w_scalbf.c: ...here.
6449 * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
6450 * math/w_scalbl.c: ...here.
6451 * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
6452 * math/w_sinh.c: ...here.
6453 * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
6454 * math/w_sinhf.c: ...here.
6455 * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
6456 * math/w_sinhl.c: ...here.
6457 * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
6458 * math/w_sqrt.c: ...here.
6459 * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
6460 * math/w_sqrtf.c: ...here.
6461 * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
6462 * math/w_sqrtl.c: ...here.
6463 * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
6464 * math/w_tgamma.c: ...here.
6465 * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
6466 * math/w_tgammaf.c: ...here.
6467 * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
6468 * math/w_tgammal.c: ...here.
6469 * sysdeps/libm-i387/e_acos.S: Moved to ...
6470 * sysdeps/i386/fpu/e_acos.S: ...here.
6471 * sysdeps/libm-i387/e_acosf.S: Moved to ...
6472 * sysdeps/i386/fpu/e_acosf.S: ...here.
6473 * sysdeps/libm-i387/e_acosh.S: Moved to ...
6474 * sysdeps/i386/fpu/e_acosh.S: ...here.
6475 * sysdeps/libm-i387/e_acoshf.S: Moved to ...
6476 * sysdeps/i386/fpu/e_acoshf.S: ...here.
6477 * sysdeps/libm-i387/e_acoshl.S: Moved to ...
6478 * sysdeps/i386/fpu/e_acoshl.S: ...here.
6479 * sysdeps/libm-i387/e_acosl.S: Moved to ...
6480 * sysdeps/i386/fpu/e_acosl.S: ...here.
6481 * sysdeps/libm-i387/e_asin.S: Moved to ...
6482 * sysdeps/i386/fpu/e_asin.S: ...here.
6483 * sysdeps/libm-i387/e_asinf.S: Moved to ...
6484 * sysdeps/i386/fpu/e_asinf.S: ...here.
6485 * sysdeps/libm-i387/e_asinl.S: Moved to ...
6486 * sysdeps/i386/fpu/e_asinl.S: ...here.
6487 * sysdeps/libm-i387/e_atan2.S: Moved to ...
6488 * sysdeps/i386/fpu/e_atan2.S: ...here.
6489 * sysdeps/libm-i387/e_atan2f.S: Moved to ...
6490 * sysdeps/i386/fpu/e_atan2f.S: ...here.
6491 * sysdeps/libm-i387/e_atan2l.S: Moved to ...
6492 * sysdeps/i386/fpu/e_atan2l.S: ...here.
6493 * sysdeps/libm-i387/e_atanh.S: Moved to ...
6494 * sysdeps/i386/fpu/e_atanh.S: ...here.
6495 * sysdeps/libm-i387/e_atanhf.S: Moved to ...
6496 * sysdeps/i386/fpu/e_atanhf.S: ...here.
6497 * sysdeps/libm-i387/e_atanhl.S: Moved to ...
6498 * sysdeps/i386/fpu/e_atanhl.S: ...here.
6499 * sysdeps/libm-i387/e_exp.S: Moved to ...
6500 * sysdeps/i386/fpu/e_exp.S: ...here.
6501 * sysdeps/libm-i387/e_exp10.S: Moved to ...
6502 * sysdeps/i386/fpu/e_exp10.S: ...here.
6503 * sysdeps/libm-i387/e_exp10f.S: Moved to ...
6504 * sysdeps/i386/fpu/e_exp10f.S: ...here.
6505 * sysdeps/libm-i387/e_exp10l.S: Moved to ...
6506 * sysdeps/i386/fpu/e_exp10l.S: ...here.
6507 * sysdeps/libm-i387/e_expf.S: Moved to ...
6508 * sysdeps/i386/fpu/e_expf.S: ...here.
6509 * sysdeps/libm-i387/e_expl.S: Moved to ...
6510 * sysdeps/i386/fpu/e_expl.S: ...here.
6511 * sysdeps/libm-i387/e_fmod.S: Moved to ...
6512 * sysdeps/i386/fpu/e_fmod.S: ...here.
6513 * sysdeps/libm-i387/e_fmodf.S: Moved to ...
6514 * sysdeps/i386/fpu/e_fmodf.S: ...here.
6515 * sysdeps/libm-i387/e_fmodl.S: Moved to ...
6516 * sysdeps/i386/fpu/e_fmodl.S: ...here.
6517 * sysdeps/libm-i387/e_hypot.S: Moved to ...
6518 * sysdeps/i386/fpu/e_hypot.S: ...here.
6519 * sysdeps/libm-i387/e_hypotf.S: Moved to ...
6520 * sysdeps/i386/fpu/e_hypotf.S: ...here.
6521 * sysdeps/libm-i387/e_log.S: Moved to ...
6522 * sysdeps/i386/fpu/e_log.S: ...here.
6523 * sysdeps/libm-i387/e_log10.S: Moved to ...
6524 * sysdeps/i386/fpu/e_log10.S: ...here.
6525 * sysdeps/libm-i387/e_log10f.S: Moved to ...
6526 * sysdeps/i386/fpu/e_log10f.S: ...here.
6527 * sysdeps/libm-i387/e_log10l.S: Moved to ...
6528 * sysdeps/i386/fpu/e_log10l.S: ...here.
6529 * sysdeps/libm-i387/e_logf.S: Moved to ...
6530 * sysdeps/i386/fpu/e_logf.S: ...here.
6531 * sysdeps/libm-i387/e_logl.S: Moved to ...
6532 * sysdeps/i386/fpu/e_logl.S: ...here.
6533 * sysdeps/libm-i387/e_pow.S: Moved to ...
6534 * sysdeps/i386/fpu/e_pow.S: ...here.
6535 * sysdeps/libm-i387/e_powf.S: Moved to ...
6536 * sysdeps/i386/fpu/e_powf.S: ...here.
6537 * sysdeps/libm-i387/e_powl.S: Moved to ...
6538 * sysdeps/i386/fpu/e_powl.S: ...here.
6539 * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
6540 * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
6541 * sysdeps/libm-i387/e_remainder.S: Moved to ...
6542 * sysdeps/i386/fpu/e_remainder.S: ...here.
6543 * sysdeps/libm-i387/e_remainderf.S: Moved to ...
6544 * sysdeps/i386/fpu/e_remainderf.S: ...here.
6545 * sysdeps/libm-i387/e_remainderl.S: Moved to ...
6546 * sysdeps/i386/fpu/e_remainderl.S: ...here.
6547 * sysdeps/libm-i387/e_scalb.S: Moved to ...
6548 * sysdeps/i386/fpu/e_scalb.S: ...here.
6549 * sysdeps/libm-i387/e_scalbf.S: Moved to ...
6550 * sysdeps/i386/fpu/e_scalbf.S: ...here.
6551 * sysdeps/libm-i387/e_scalbl.S: Moved to ...
6552 * sysdeps/i386/fpu/e_scalbl.S: ...here.
6553 * sysdeps/libm-i387/e_sqrt.S: Moved to ...
6554 * sysdeps/i386/fpu/e_sqrt.S: ...here.
6555 * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
6556 * sysdeps/i386/fpu/e_sqrtf.S: ...here.
6557 * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
6558 * sysdeps/i386/fpu/e_sqrtl.S: ...here.
6559 * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
6560 * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
6561 * sysdeps/libm-i387/s_asinh.S: Moved to ...
6562 * sysdeps/i386/fpu/s_asinh.S: ...here.
6563 * sysdeps/libm-i387/s_asinhf.S: Moved to ...
6564 * sysdeps/i386/fpu/s_asinhf.S: ...here.
6565 * sysdeps/libm-i387/s_asinhl.S: Moved to ...
6566 * sysdeps/i386/fpu/s_asinhl.S: ...here.
6567 * sysdeps/libm-i387/s_atan.S: Moved to ...
6568 * sysdeps/i386/fpu/s_atan.S: ...here.
6569 * sysdeps/libm-i387/s_atanf.S: Moved to ...
6570 * sysdeps/i386/fpu/s_atanf.S: ...here.
6571 * sysdeps/libm-i387/s_atanl.S: Moved to ...
6572 * sysdeps/i386/fpu/s_atanl.S: ...here.
6573 * sysdeps/libm-i387/s_cbrt.S: Moved to ...
6574 * sysdeps/i386/fpu/s_cbrt.S: ...here.
6575 * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
6576 * sysdeps/i386/fpu/s_cbrtf.S: ...here.
6577 * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
6578 * sysdeps/i386/fpu/s_cbrtl.S: ...here.
6579 * sysdeps/libm-i387/s_ceil.S: Moved to ...
6580 * sysdeps/i386/fpu/s_ceil.S: ...here.
6581 * sysdeps/libm-i387/s_ceilf.S: Moved to ...
6582 * sysdeps/i386/fpu/s_ceilf.S: ...here.
6583 * sysdeps/libm-i387/s_ceill.S: Moved to ...
6584 * sysdeps/i386/fpu/s_ceill.S: ...here.
6585 * sysdeps/libm-i387/s_cexp.S: Moved to ...
6586 * sysdeps/i386/fpu/s_cexp.S: ...here.
6587 * sysdeps/libm-i387/s_cexpf.S: Moved to ...
6588 * sysdeps/i386/fpu/s_cexpf.S: ...here.
6589 * sysdeps/libm-i387/s_cexpl.S: Moved to ...
6590 * sysdeps/i386/fpu/s_cexpl.S: ...here.
6591 * sysdeps/libm-i387/s_copysign.S: Moved to ...
6592 * sysdeps/i386/fpu/s_copysign.S: ...here.
6593 * sysdeps/libm-i387/s_copysignf.S: Moved to ...
6594 * sysdeps/i386/fpu/s_copysignf.S: ...here.
6595 * sysdeps/libm-i387/s_copysignl.S: Moved to ...
6596 * sysdeps/i386/fpu/s_copysignl.S: ...here.
6597 * sysdeps/libm-i387/s_cos.S: Moved to ...
6598 * sysdeps/i386/fpu/s_cos.S: ...here.
6599 * sysdeps/libm-i387/s_cosf.S: Moved to ...
6600 * sysdeps/i386/fpu/s_cosf.S: ...here.
6601 * sysdeps/libm-i387/s_cosl.S: Moved to ...
6602 * sysdeps/i386/fpu/s_cosl.S: ...here.
6603 * sysdeps/libm-i387/s_exp2.S: Moved to ...
6604 * sysdeps/i386/fpu/s_exp2.S: ...here.
6605 * sysdeps/libm-i387/s_exp2f.S: Moved to ...
6606 * sysdeps/i386/fpu/s_exp2f.S: ...here.
6607 * sysdeps/libm-i387/s_exp2l.S: Moved to ...
6608 * sysdeps/i386/fpu/s_exp2l.S: ...here.
6609 * sysdeps/libm-i387/s_expm1.S: Moved to ...
6610 * sysdeps/i386/fpu/s_expm1.S: ...here.
6611 * sysdeps/libm-i387/s_expm1f.S: Moved to ...
6612 * sysdeps/i386/fpu/s_expm1f.S: ...here.
6613 * sysdeps/libm-i387/s_expm1l.S: Moved to ...
6614 * sysdeps/i386/fpu/s_expm1l.S: ...here.
6615 * sysdeps/libm-i387/s_fdim.S: Moved to ...
6616 * sysdeps/i386/fpu/s_fdim.S: ...here.
6617 * sysdeps/libm-i387/s_fdimf.S: Moved to ...
6618 * sysdeps/i386/fpu/s_fdimf.S: ...here.
6619 * sysdeps/libm-i387/s_fdiml.S: Moved to ...
6620 * sysdeps/i386/fpu/s_fdiml.S: ...here.
6621 * sysdeps/libm-i387/s_finite.S: Moved to ...
6622 * sysdeps/i386/fpu/s_finite.S: ...here.
6623 * sysdeps/libm-i387/s_finitef.S: Moved to ...
6624 * sysdeps/i386/fpu/s_finitef.S: ...here.
6625 * sysdeps/libm-i387/s_finitel.S: Moved to ...
6626 * sysdeps/i386/fpu/s_finitel.S: ...here.
6627 * sysdeps/libm-i387/s_floor.S: Moved to ...
6628 * sysdeps/i386/fpu/s_floor.S: ...here.
6629 * sysdeps/libm-i387/s_floorf.S: Moved to ...
6630 * sysdeps/i386/fpu/s_floorf.S: ...here.
6631 * sysdeps/libm-i387/s_floorl.S: Moved to ...
6632 * sysdeps/i386/fpu/s_floorl.S: ...here.
6633 * sysdeps/libm-i387/s_fma.S: Moved to ...
6634 * sysdeps/i386/fpu/s_fma.S: ...here.
6635 * sysdeps/libm-i387/s_fmaf.S: Moved to ...
6636 * sysdeps/i386/fpu/s_fmaf.S: ...here.
6637 * sysdeps/libm-i387/s_fmal.S: Moved to ...
6638 * sysdeps/i386/fpu/s_fmal.S: ...here.
6639 * sysdeps/libm-i387/s_fmax.S: Moved to ...
6640 * sysdeps/i386/fpu/s_fmax.S: ...here.
6641 * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
6642 * sysdeps/i386/fpu/s_fmaxf.S: ...here.
6643 * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
6644 * sysdeps/i386/fpu/s_fmaxl.S: ...here.
6645 * sysdeps/libm-i387/s_fmin.S: Moved to ...
6646 * sysdeps/i386/fpu/s_fmin.S: ...here.
6647 * sysdeps/libm-i387/s_fminf.S: Moved to ...
6648 * sysdeps/i386/fpu/s_fminf.S: ...here.
6649 * sysdeps/libm-i387/s_fminl.S: Moved to ...
6650 * sysdeps/i386/fpu/s_fminl.S: ...here.
6651 * sysdeps/libm-i387/s_frexp.S: Moved to ...
6652 * sysdeps/i386/fpu/s_frexp.S: ...here.
6653 * sysdeps/libm-i387/s_frexpf.S: Moved to ...
6654 * sysdeps/i386/fpu/s_frexpf.S: ...here.
6655 * sysdeps/libm-i387/s_frexpl.S: Moved to ...
6656 * sysdeps/i386/fpu/s_frexpl.S: ...here.
6657 * sysdeps/libm-i387/s_ilogb.S: Moved to ...
6658 * sysdeps/i386/fpu/s_ilogb.S: ...here.
6659 * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
6660 * sysdeps/i386/fpu/s_ilogbf.S: ...here.
6661 * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
6662 * sysdeps/i386/fpu/s_ilogbl.S: ...here.
6663 * sysdeps/libm-i387/s_llrint.S: Moved to ...
6664 * sysdeps/i386/fpu/s_llrint.S: ...here.
6665 * sysdeps/libm-i387/s_llrintf.S: Moved to ...
6666 * sysdeps/i386/fpu/s_llrintf.S: ...here.
6667 * sysdeps/libm-i387/s_llrintl.S: Moved to ...
6668 * sysdeps/i386/fpu/s_llrintl.S: ...here.
6669 * sysdeps/libm-i387/s_log1p.S: Moved to ...
6670 * sysdeps/i386/fpu/s_log1p.S: ...here.
6671 * sysdeps/libm-i387/s_log1pf.S: Moved to ...
6672 * sysdeps/i386/fpu/s_log1pf.S: ...here.
6673 * sysdeps/libm-i387/s_log1pl.S: Moved to ...
6674 * sysdeps/i386/fpu/s_log1pl.S: ...here.
6675 * sysdeps/libm-i387/s_log2.S: Moved to ...
6676 * sysdeps/i386/fpu/s_log2.S: ...here.
6677 * sysdeps/libm-i387/s_log2f.S: Moved to ...
6678 * sysdeps/i386/fpu/s_log2f.S: ...here.
6679 * sysdeps/libm-i387/s_log2l.S: Moved to ...
6680 * sysdeps/i386/fpu/s_log2l.S: ...here.
6681 * sysdeps/libm-i387/s_logb.S: Moved to ...
6682 * sysdeps/i386/fpu/s_logb.S: ...here.
6683 * sysdeps/libm-i387/s_logbf.S: Moved to ...
6684 * sysdeps/i386/fpu/s_logbf.S: ...here.
6685 * sysdeps/libm-i387/s_logbl.S: Moved to ...
6686 * sysdeps/i386/fpu/s_logbl.S: ...here.
6687 * sysdeps/libm-i387/s_lrint.S: Moved to ...
6688 * sysdeps/i386/fpu/s_lrint.S: ...here.
6689 * sysdeps/libm-i387/s_lrintf.S: Moved to ...
6690 * sysdeps/i386/fpu/s_lrintf.S: ...here.
6691 * sysdeps/libm-i387/s_lrintl.S: Moved to ...
6692 * sysdeps/i386/fpu/s_lrintl.S: ...here.
6693 * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
6694 * sysdeps/i386/fpu/s_nearbyint.S: ...here.
6695 * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
6696 * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
6697 * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
6698 * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
6699 * sysdeps/libm-i387/s_remquo.S: Moved to ...
6700 * sysdeps/i386/fpu/s_remquo.S: ...here.
6701 * sysdeps/libm-i387/s_remquof.S: Moved to ...
6702 * sysdeps/i386/fpu/s_remquof.S: ...here.
6703 * sysdeps/libm-i387/s_remquol.S: Moved to ...
6704 * sysdeps/i386/fpu/s_remquol.S: ...here.
6705 * sysdeps/libm-i387/s_rint.S: Moved to ...
6706 * sysdeps/i386/fpu/s_rint.S: ...here.
6707 * sysdeps/libm-i387/s_rintf.S: Moved to ...
6708 * sysdeps/i386/fpu/s_rintf.S: ...here.
6709 * sysdeps/libm-i387/s_rintl.S: Moved to ...
6710 * sysdeps/i386/fpu/s_rintl.S: ...here.
6711 * sysdeps/libm-i387/s_scalbn.S: Moved to ...
6712 * sysdeps/i386/fpu/s_scalbn.S: ...here.
6713 * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
6714 * sysdeps/i386/fpu/s_scalbnf.S: ...here.
6715 * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
6716 * sysdeps/i386/fpu/s_scalbnl.S: ...here.
6717 * sysdeps/libm-i387/s_significand.S: Moved to ...
6718 * sysdeps/i386/fpu/s_significand.S: ...here.
6719 * sysdeps/libm-i387/s_significandf.S: Moved to ...
6720 * sysdeps/i386/fpu/s_significandf.S: ...here.
6721 * sysdeps/libm-i387/s_significandl.S: Moved to ...
6722 * sysdeps/i386/fpu/s_significandl.S: ...here.
6723 * sysdeps/libm-i387/s_sin.S: Moved to ...
6724 * sysdeps/i386/fpu/s_sin.S: ...here.
6725 * sysdeps/libm-i387/s_sincos.S: Moved to ...
6726 * sysdeps/i386/fpu/s_sincos.S: ...here.
6727 * sysdeps/libm-i387/s_sincosf.S: Moved to ...
6728 * sysdeps/i386/fpu/s_sincosf.S: ...here.
6729 * sysdeps/libm-i387/s_sincosl.S: Moved to ...
6730 * sysdeps/i386/fpu/s_sincosl.S: ...here.
6731 * sysdeps/libm-i387/s_sinf.S: Moved to ...
6732 * sysdeps/i386/fpu/s_sinf.S: ...here.
6733 * sysdeps/libm-i387/s_sinl.S: Moved to ...
6734 * sysdeps/i386/fpu/s_sinl.S: ...here.
6735 * sysdeps/libm-i387/s_tan.S: Moved to ...
6736 * sysdeps/i386/fpu/s_tan.S: ...here.
6737 * sysdeps/libm-i387/s_tanf.S: Moved to ...
6738 * sysdeps/i386/fpu/s_tanf.S: ...here.
6739 * sysdeps/libm-i387/s_tanl.S: Moved to ...
6740 * sysdeps/i386/fpu/s_tanl.S: ...here.
6741 * sysdeps/libm-i387/s_trunc.S: Moved to ...
6742 * sysdeps/i386/fpu/s_trunc.S: ...here.
6743 * sysdeps/libm-i387/s_truncf.S: Moved to ...
6744 * sysdeps/i386/fpu/s_truncf.S: ...here.
6745 * sysdeps/libm-i387/s_truncl.S: Moved to ...
6746 * sysdeps/i386/fpu/s_truncl.S: ...here.
6747 * sysdeps/libm-ieee754/k_standard.c: Moved to ...
6748 * sysdeps/ieee754/k_standard.c: ...here.
6749 * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
6750 * sysdeps/ieee754/s_lib_version.c: ...here.
6751 * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
6752 * sysdeps/ieee754/s_matherr.c: ...here.
6753 * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
6754 * sysdeps/ieee754/s_signgam.c: ...here.
6755 * sysdeps/ieee754/dbl2mpn.c: Moved to ...
6756 * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
6757 * sysdeps/ieee754/mpn2dbl.c: Moved to ...
6758 * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
6759 * sysdeps/libm-ieee754/e_acos.c: Moved to ...
6760 * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
6761 * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
6762 * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
6763 * sysdeps/libm-ieee754/e_asin.c: Moved to ...
6764 * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
6765 * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
6766 * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
6767 * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
6768 * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
6769 * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
6770 * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
6771 * sysdeps/libm-ieee754/e_exp.c: Moved to ...
6772 * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
6773 * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
6774 * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
6775 * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
6776 * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
6777 * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
6778 * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
6779 * sysdeps/libm-ieee754/e_j0.c: Moved to ...
6780 * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
6781 * sysdeps/libm-ieee754/e_j1.c: Moved to ...
6782 * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
6783 * sysdeps/libm-ieee754/e_jn.c: Moved to ...
6784 * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
6785 * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
6786 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
6787 * sysdeps/libm-ieee754/e_log.c: Moved to ...
6788 * sysdeps/ieee754/dbl-64/e_log.c: ...here.
6789 * sysdeps/libm-ieee754/e_log10.c: Moved to ...
6790 * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
6791 * sysdeps/libm-ieee754/e_pow.c: Moved to ...
6792 * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
6793 * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
6794 * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
6795 * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
6796 * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
6797 * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
6798 * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
6799 * sysdeps/libm-ieee754/k_cos.c: Moved to ...
6800 * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
6801 * sysdeps/libm-ieee754/k_sin.c: Moved to ...
6802 * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
6803 * sysdeps/libm-ieee754/k_tan.c: Moved to ...
6804 * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
6805 * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
6806 * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
6807 * sysdeps/libm-ieee754/s_atan.c: Moved to ...
6808 * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
6809 * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
6810 * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
6811 * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
6812 * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
6813 * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
6814 * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
6815 * sysdeps/libm-ieee754/s_cos.c: Moved to ...
6816 * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
6817 * sysdeps/libm-ieee754/s_erf.c: Moved to ...
6818 * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
6819 * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
6820 * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
6821 * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
6822 * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
6823 * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
6824 * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
6825 * sysdeps/libm-ieee754/s_finite.c: Moved to ...
6826 * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
6827 * sysdeps/libm-ieee754/s_floor.c: Moved to ...
6828 * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
6829 * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
6830 * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
6831 * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
6832 * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
6833 * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
6834 * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
6835 * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
6836 * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
6837 * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
6838 * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
6839 (__isnan): Comment above function says it returns 0 or 1, but it
6840 used to return 0 or -1.
6841 * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
6842 * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
6843 * sysdeps/libm-ieee754/s_llround.c: Moved to ...
6844 * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
6845 * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
6846 * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
6847 * sysdeps/libm-ieee754/s_log2.c: Moved to ...
6848 * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
6849 * sysdeps/libm-ieee754/s_logb.c: Moved to ...
6850 * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
6851 * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
6852 * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
6853 * sysdeps/libm-ieee754/s_lround.c: Moved to ...
6854 * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
6855 * sysdeps/libm-ieee754/s_modf.c: Moved to ...
6856 * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
6857 * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
6858 * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
6859 * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
6860 * sysdeps/generic/s_nextafter.c: ...here.
6861 Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
6862 * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
6863 * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
6864 * sysdeps/libm-ieee754/s_rint.c: Moved to ...
6865 * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
6866 * sysdeps/libm-ieee754/s_round.c: Moved to ...
6867 * sysdeps/ieee754/dbl-64/s_round.c: ...here.
6868 * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
6869 * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
6870 * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
6871 * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
6872 * sysdeps/libm-ieee754/s_sin.c: Moved to ...
6873 * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
6874 * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
6875 * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
6876 * sysdeps/libm-ieee754/s_tan.c: Moved to ...
6877 * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
6878 * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
6879 * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
6880 * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
6881 * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
6882 * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
6883 * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
6884 * sysdeps/libm-ieee754/w_exp.c: Moved to ...
6885 * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
6886 * sysdeps/ieee754/mpn2flt.c: Moved to ...
6887 * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
6888 * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
6889 * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
6890 * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
6891 * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
6892 * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
6893 * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
6894 * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
6895 * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
6896 * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
6897 * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
6898 * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
6899 * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
6900 * sysdeps/libm-ieee754/e_expf.c: Moved to ...
6901 * sysdeps/ieee754/flt-32/e_expf.c: ...here.
6902 * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
6903 * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
6904 * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
6905 * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
6906 * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
6907 * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
6908 * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
6909 * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
6910 * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
6911 * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
6912 * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
6913 * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
6914 * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
6915 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
6916 * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
6917 * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
6918 * sysdeps/libm-ieee754/e_logf.c: Moved to ...
6919 * sysdeps/ieee754/flt-32/e_logf.c: ...here.
6920 * sysdeps/libm-ieee754/e_powf.c: Moved to ...
6921 * sysdeps/ieee754/flt-32/e_powf.c: ...here.
6922 * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
6923 * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
6924 * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
6925 * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
6926 * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
6927 * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
6928 * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
6929 * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
6930 * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
6931 * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
6932 * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
6933 * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
6934 * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
6935 * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
6936 * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
6937 * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
6938 * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
6939 * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
6940 * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
6941 * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
6942 * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
6943 * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
6944 * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
6945 * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
6946 * sysdeps/libm-ieee754/s_erff.c: Moved to ...
6947 * sysdeps/ieee754/flt-32/s_erff.c: ...here.
6948 * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
6949 * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
6950 * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
6951 * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
6952 * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
6953 * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
6954 * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
6955 * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
6956 * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
6957 * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
6958 * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
6959 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
6960 * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
6961 * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
6962 * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
6963 * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
6964 * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
6965 * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
6966 * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
6967 * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
6968 * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
6969 * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
6970 * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
6971 * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
6972 * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
6973 * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
6974 * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
6975 * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
6976 * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
6977 * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
6978 * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
6979 * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
6980 * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
6981 * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
6982 * sysdeps/libm-ieee754/s_modff.c: Moved to ...
6983 * sysdeps/ieee754/flt-32/s_modff.c: ...here.
6984 * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
6985 * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
6986 * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
6987 * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
6988 * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
6989 * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
6990 * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
6991 * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
6992 * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
6993 * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
6994 * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
6995 * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
6996 * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
6997 * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
6998 * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
6999 * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
7000 * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
7001 * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
7002 * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
7003 * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
7004 * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
7005 * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
7006 * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
7007 * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
7008 * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
7009 * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
7010 * sysdeps/libm-ieee754/w_expf.c: Moved to ...
7011 * sysdeps/ieee754/flt-32/w_expf.c: ...here.
7012 * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
7013 * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
7014 * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
7015 * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
7016 * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
7017 * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
7018 * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
7019 * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
7020 * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
7021 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
7022 * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
7023 * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
7024 * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
7025 * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
7026 * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
7027 * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
7028 * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
7029 * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
7030 * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
7031 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
7032 * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
7033 * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
7034 * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
7035 * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
7036 * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
7037 * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
7038 * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
7039 * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
7040 * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
7041 * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
7042 * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
7043 * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
7044 * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
7045 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
7046 * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
7047 * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
7048 * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
7049 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
7050 * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
7051 * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
7052 * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
7053 * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
7054 * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
7055 * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
7056 * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
7057 * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
7058 * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
7059 * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
7060 * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
7061 * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
7062 (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
7064 * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
7065 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
7066 (__nearbyintl): Fix for exponents 2^30.
7067 * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
7068 * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
7069 * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
7070 * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
7071 (__rintl): Fix for exponents 2^30.
7072 * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
7073 * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
7074 * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
7075 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
7076 (__scalbnl): Fix exponent for subnormal result.
7077 * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
7078 * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
7079 * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
7080 * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
7081 * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
7082 * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
7083 * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
7084 * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
7085 * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
7086 * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
7087 * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
7088 * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
7089 * sysdeps/libm-ieee754/w_expl.c: Moved to ...
7090 * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
7091 * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
7092 * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
7093 * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
7094 * sysdeps/i386/fpu/s_scalblnf.c: ...here.
7095 * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
7096 * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
7097 * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
7098 * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
7099 * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
7100 * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
7101 * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
7102 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
7103 * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
7104 * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
7105 * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
7106 * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
7107 * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
7108 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
7109 * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
7110 * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
7111 * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
7112 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
7113 * sysdeps/libm-i387/s_scalbln.c: Moved to ...
7114 * sysdeps/i386/fpu/s_scalbln.c: ...here.
7115 * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
7116 * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
7117 * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
7118 * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
7119 * sysdeps/libm-i387/t_exp.c: Moved to ...
7120 * sysdeps/i386/fpu/t_exp.c: ...here.
7121 * sysdeps/libm-ieee754/t_exp.c: Moved to ...
7122 * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
7123 * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
7124 * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
7125 * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
7126 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
7127 * sysdeps/libm-i387/s_isinfl.c: Moved to ...
7128 * sysdeps/i386/fpu/s_isinfl.c: ...here.
7129 * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
7130 * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
7131 * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
7132 * sysdeps/i386/fpu/s_scalblnl.c: ...here.
7133 * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
7134 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
7135 Fix exponent for subnormal result.
7136 * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
7137 * sysdeps/generic/s_nexttowardl.c: ...here.
7138 * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
7139 * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
7140 * sysdeps/libm-i387/s_isnanl.c: Moved to ...
7141 * sysdeps/i386/fpu/s_isnanl.c: ...here.
7142 * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
7143 * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
7144 Comment above function says it returns 0 or 1, but it used to return
7146 * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
7147 * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
7148 * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
7149 * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
7150 * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
7151 * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
7152 * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
7153 * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
7154 * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
7155 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
7156 Cannot compare exponents with different biases without adjusting.
7157 * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
7158 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
7159 Cannot compare exponents with different biases without adjusting.
7160 * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
7161 * sysdeps/i386/fpu/s_nextafterl.c: ...here.
7162 * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
7163 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
7164 * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
7165 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
7166 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
7167 * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
7168 * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
7169 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
7170 * sysdeps/libm-ieee754/Dist: Split into ...
7171 * sysdeps/ieee754/dbl-64/Dist: ...this and ...
7172 * sysdeps/ieee754/flt-32/Dist: ...this file.
7174 * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
7175 * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
7176 * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
7177 * sysdeps/ieee754/ldbl-96/strtold.c: New file.
7178 * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
7179 * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
7180 * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
7181 * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
7182 * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
7183 * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
7184 * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
7185 * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
7186 * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
7187 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
7188 * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
7189 * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
7190 * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
7191 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
7192 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
7193 * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
7194 * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
7195 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
7196 * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
7197 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
7198 * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
7199 * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
7200 * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
7201 * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
7202 * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
7203 * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
7204 * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
7205 * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
7206 * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
7207 * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
7208 * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
7209 * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
7210 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
7211 * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
7212 * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
7213 * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
7214 * sysdeps/ieee754/ldbl-128/strtold.c: New file.
7215 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
7216 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
7217 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
7218 * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
7219 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
7220 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
7222 * sysdeps/generic/math_ldbl.h: New file.
7223 * sysdeps/generic/s_nexttowardf.c: New file.
7224 * sysdeps/generic/strtold.c: New file.
7225 * sysdeps/generic/ldbl2mpn.c: New file.
7227 * math/machine/endian.h: Remove.
7228 * sysdeps/i386/fpu/Implies: Remove.
7229 * sysdeps/ieee754/Implies: Remove.
7231 * math/math_private.h: Move long double macros to math_ldbl.h
7234 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
7236 * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
7237 connections without a hostname set address to localhost address.
7239 1999-07-11 H.J. Lu <hjl@gnu.org>
7241 * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
7242 nscd's own strong version of the get[a-z]*_r function.
7243 * nscd/hstcache.c: Likewise.
7244 * nscd/pwdcache.c: Likewise.
7246 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
7248 * configure.in: Recognize 2.95 as gcc version number.
7249 Patch by Joel Klecker <jk@espy.org>.
7251 1999-07-12 Andreas Schwab <schwab@suse.de>
7253 * elf/rtld.c (dl_main): When putting back the interpreter object
7254 handle the case where a missing object might occur in the list of
7255 objects but not in the search list when in trace mode.
7257 1999-07-11 Ulrich Drepper <drepper@cygnus.com>
7259 * Versions.def (libnss_hesiod): Add GLIBC_2.2.
7260 * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
7261 _nss_hesiod_initgroups.
7263 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
7265 * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
7266 (_hurd_set_brk, init_brk): Use that instead of &__data_start.
7267 Initialize it from &__data_start if defined, or else &_end.
7269 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
7271 * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
7272 for MAP_ANON, prot==PROT_READ|PROT_WRITE.
7274 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
7276 * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
7278 1999-07-09 H.J. Lu <hjl@gnu.org>
7280 * Versions.def (GLIBC_2.1.2): Added.
7282 * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
7283 old one as GLIBC_2.0.
7284 * nss/getXXbyYY_r.c: Likewise.
7286 * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
7288 * inet/Versions (getaliasbyname_r, getaliasent_r,
7289 gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
7290 gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
7291 getnetgrent_r, getprotobyname_r, getprotobynumber_r,
7292 getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
7293 getservbyname_r): Likewise.
7294 * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
7295 * shadow/Versions (getspent_r, getspnam_r): Likewise.
7297 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
7299 * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
7301 (__memset_cc): Likewise.
7303 * sysdeps/generic/libc-start.c: For SUID binaries check whether
7304 the standard file descriptors are open.
7305 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
7307 * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
7308 * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
7309 range of mmap. If not fail.
7310 Patches by Daniel Jacobowitz <dan@debian.org>.
7312 * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
7313 before the relocation happened.
7314 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
7316 * Versions.def (libnsl): Add GLIBC_2.2.
7317 * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
7319 1999-07-08 Cristian Gafton <gafton@redhat.com>
7321 * nis/yp_xdr.c (xdr_ypall): New function.
7323 1999-07-09 Andreas Schwab <schwab@suse.de>
7325 * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
7327 * dlfcn/Makefile (headers): Add bits/dlfcn.h.
7329 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
7331 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
7332 * hesiod/hesiod-grp.c: Add initgroups support.
7333 Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
7335 1999-07-08 Andreas Schwab <schwab@suse.de>
7337 * libio/iofopncook.c (fopencookie): Set _fileno to -2.
7339 * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
7342 * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
7344 * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
7346 1999-07-08 Andreas Schwab <schwab@suse.de>
7348 * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
7350 1999-07-08 Andreas Schwab <schwab@suse.de>
7352 * libio/fileno.c: Return -1 instead of EOF and set errno if the
7353 stream is not a real file stream.
7355 1999-07-08 Andreas Schwab <schwab@suse.de>
7357 * manual/charset.texi: Fix typos.
7359 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
7361 * sysdeps/gnu/Makefile (libdl-routines): Add eval.
7363 1999-07-06 Zack Weinberg <zack@rabi.columbia.edu>
7365 * dlfcn: New directory. Move the following files from elf:
7366 dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
7367 dlopenold.c, dlsym.c, dlvsym.c.
7368 * dlfcn/Makefile: New file.
7369 * dlfcn/Versions: New file.
7370 * dlfcn/dlsym.c: All ELF-specific code split out to new
7372 * dlfcn/dlvsym.c: All ELF-specific code split out to new
7374 * elf/dl-sym.c: New file. _dl_sym and _dl_vsym are
7377 * dlfcn/dladdr.c: Remove all references to ELF data structures
7379 * dlfcn/dlclose.c: Likewise.
7380 * dlfcn/dlerror.c: Likewise.
7381 * dlfcn/dlopen.c: Likewise.
7382 * dlfcn/dlopenold.c: Likewise.
7384 * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
7385 yes, empty otherwise.
7386 (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
7387 depending on build-shared.
7388 (subdirs): Add $(dlfcn).
7389 (rpath-dirs): Add dlfcn.
7390 * elf/Makefile: Remove all references to libdl or its
7391 components, except the ones relating to the test cases.
7392 (routines): Add dl-sym.
7393 * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
7396 * elf/dl-close.c (_dl_close): Change argument to void *.
7397 * elf/dl-open.c (_dl_open): Change return type to void *.
7398 * elf/eval.c: Removed.
7399 * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
7400 _dlerror_run, _dl_open, _dl_close, _dl_addr, and
7401 _dl_mcount_wrapper_check to include/dlfcn.h. Delete
7403 * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
7404 Include real header from dlfcn directory.
7405 * include/ldsodefs.h: Removed.
7407 * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
7408 * nss/getXXbyYY_r.c: Likewise.
7409 * nss/getXXent_r.c: Likewise.
7410 * iconv/gconv.c: Likewise. Don't include ldsodefs.h.
7411 * iconv/gconv_db.c: Likewise. Don't include ldsodefs.h.
7412 * iconv/skeleton.c: Don't include ldsodefs.h.
7413 * nss/nsswitch.h: Don't include ldsodefs.h. Include dlfcn.h.
7415 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
7417 * sysdeps/generic/setenv.c: Describe problem.
7419 * malloc/malloc.c (request2size): Also set errno if failing.
7421 * malloc/malloc.c (request2size): Take care of overflow in
7424 * sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd
7425 (NULL, != 0) correctly.
7427 * elf/dl-load.c: Use a few more __builtin_expect.
7429 * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
7432 1999-07-07 Andreas Schwab <schwab@suse.de>
7434 * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
7435 (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
7436 (_PATH_DEVPTMX): Use _PATH_DEV.
7438 1999-07-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7440 * malloc/tst-malloc.c: New file. Tests some basic functionality.
7441 * malloc/Makefile (tests): Add tst-malloc.
7443 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
7445 * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
7448 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
7450 Patch by Jay Estabrook.
7452 * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
7454 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
7455 Patch by Cristian Gafton.
7457 1999-07-02 Cristian Gafton <gafton@redhat.com>
7459 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
7460 instead of "return NULL" to make C++ happy.
7462 1999-07-04 Mark Kettenis <kettenis@gnu.org>
7464 * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
7465 allowed by the file access mode of the open file.
7467 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
7469 * sysdeps/generic/setfpucw.c: Include math.h to get all needed
7472 1999-07-03 Jakub Jelinek <jj@ultra.linux.cz>
7474 * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
7475 * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
7476 * sysdeps/sparc/sparc64/rshift.S: Likewise.
7477 * sysdeps/sparc/sparc64/mul_1.S: Optimize.
7479 1999-07-04 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
7481 * malloc/malloc.c (request2size): Check for overflow and return
7482 NULL whenever it is encountered.
7484 1999-07-04 Zack Weinberg <zack@rabi.columbia.edu>
7486 * sysdeps/posix/tempname.c (__gen_tempname): Add
7487 ability to create directories. Replace OPENIT and LARGEFILE
7488 args with a single flags parameter.
7489 * sysdeps/generic/tempname.c: Likewise.
7490 * include/stdio.h: Adjust prototype of __gen_tempname to
7491 match. Define symbolic constants for second argument.
7493 * misc/mkdtemp.c: New file, provides new function mkdtemp().
7494 * stdlib/stdlib.h: Prototype it.
7495 * misc/Versions: Export it.
7496 * misc/Makefile (routines): Add mktemp.
7497 * manual/filesys.texi: Document it.
7499 * misc/mktemp.c: Adjust call of __gen_tempname to match new
7501 * misc/mkstemp.c: Likewise.
7502 * stdio-common/tempnam.c: Likewise.
7503 * stdio-common/tmpfile.c: Likewise.
7504 * stdio-common/tmpfile64.c: Likewise.
7505 * stdio-common/tmpnam.c: Likewise.
7506 * stdio-common/tmpnam_r.c: Likewise.
7508 1999-07-05 Jakub Jelinek <jj@ultra.linux.cz>
7510 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
7511 R_SPARC_OLO10 relocations.
7512 * elf/elf.h (R_SPARC_OLO10): Fix comment.
7514 1999-07-02 Tim Waugh <tim@cyberelk.demon.co.uk>
7516 * posix/wordexp-test.c: Revert bogus 'unset IFS' change. It
7517 doesn't belong in the tests, but in the wordexp implementation.
7519 * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
7522 1999-07-01 Cristian Gafton <gafton@redhat.com>
7524 * time/strptime.c (strptime): Initialize the tm struct first to avoid
7525 returning bogus results on incomplete data.
7526 (strptime_internal): day_of_the_week() requres both tm_mon and
7527 tm_mday to be initialized.
7528 Compute them first if they are not given.
7529 (strptime_internal): (have_mon, have_mday): New variables.
7531 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7533 * inet/rcmd.c (__icheckhost): Fix typo in last patch.
7535 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7537 * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
7538 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7540 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7542 * posix/wordexp.c (parse_tilde): Handle failing call to
7543 get.*_r functions correctly for non-existing entry.
7544 * sysdeps/posix/cuserid.c (cuserid): Likewise.
7545 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
7547 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
7549 * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
7550 getxxbyYY_r functions correctly for non-existing entry.
7551 * sunrpc/getrpcport.c: Likewise.
7552 * sunrpc/clnt_simp.c: Likewise.
7553 * inet/rexec.c: Likewise.
7554 * sunrpc/clnt_gen.c: Likewise.
7555 * inet/rcmd.c: Likewise.
7556 * sysdeps/generic/glob.c: Likewise.
7558 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7560 * pwd/Makefile (tests): Add rules for tst-getpw.
7562 * pwd/tst-getpw.c: New program to test getpw.
7564 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7566 * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
7569 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7571 * manual/arith.texi (System V Number Conversion): Fix the
7572 description which confused pointer and value to pointer.
7573 Reported by Andries.Brouwer@cwi.nl.
7575 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7577 * pwd/getpw.c (__getpw): Check for NULL result pointer.
7579 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7581 * manual/users.texi (Lookup User): Document POSIX return
7582 semantics for getpwuid_r and getgrgid_r.
7584 * manual/socket.texi (Host Names): Document that the result
7585 pointer is null in case of error or host not found and fix a
7586 typo. Give a small example.
7588 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
7590 * pwd/getpw.c: Add warning since no buffer size is given and
7591 therefore no overrun tests are possible.
7593 1999-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7595 * pwd/pwd.h: Add getpw prototype declaration.
7597 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
7599 * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
7600 * wcsmbs/wcschr.c: Likewise.
7602 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
7604 * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
7606 * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
7607 * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
7608 Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
7610 * elf/dl-dst.h: Fix typo.
7611 * elf/dl-open.c: Likewise.
7613 1999-06-26 Zack Weinberg <zack@rabi.columbia.edu>
7615 * elf/dl-libc.c: New file, provides three functions:
7616 __libc_dlopen, __libc_dlclose, __libc_dlsym.
7617 * include/dlfcn.h: Prototype them. Prototype _dl_addr.
7618 * elf/Makefile (routines): Add dl-libc.c.
7619 * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
7621 * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
7623 * iconv/gconv.c: Include dlfcn.h.
7624 * iconv/gconv_db.c: Likewise.
7625 * malloc/mtrace.c: Likewise. Don't include ldsodefs.h.
7627 * iconv/gconv_int.h (struct __gconv_loaded_object): Change
7628 `handle' to a void *.
7629 (__gconv_find_func): Delete prototype.
7631 * iconv/gconv_dl.c: Don't include ldsodefs.h. Remove
7632 dlerror_run and related functions and structs. Use
7633 __libc_dlopen, __libc_dlsym, __libc_dlclose.
7634 * nss/nsswitch.c: Likewise.
7636 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
7638 * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
7641 * sunrpc/getrpcport.c: Test for gethostbyname_r function
7644 * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
7646 * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
7647 functions correctly.
7649 * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
7651 * inet/rcmd.c: Test for gethostbyname_r result correctly. Optimize
7654 * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
7656 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7658 * manual/string.texi (Copying and Concatenation): Mention that
7659 strndup is a GNU extension.
7661 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7663 * pwd/getpw.c (__getpw): Fix check for error return.
7665 1999-06-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7667 * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
7668 occurence of the aux object start with the current list entry, not
7669 the new one. Adjust tail pointer in the unique list. Explain how
7670 the meaning of the variables changes [PR libc/1168].
7672 1999-06-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7674 * sysdeps/m68k/fpu/Dist: New file.
7676 1999-06-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7678 * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
7680 * sysdeps/m68k/fpu/mathimpl.h: ... here. New file.
7681 * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
7682 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
7683 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
7684 * sysdeps/m68k/fpu/e_pow.c: Likewise.
7685 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
7686 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
7687 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
7688 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
7689 * sysdeps/m68k/fpu/s_csin.c: Likewise.
7690 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
7691 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
7692 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
7693 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
7694 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
7695 * sysdeps/m68k/fpu/s_modf.c: Likewise.
7697 1999-06-25 Roland McGrath <roland@baalperazim.frob.com>
7699 * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
7700 hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
7701 _EXTERN_INLINE, use a macro specific to each file,
7702 _HURD_FD_H_EXTERN_INLINE and the like.
7703 * hurd/Makefile (inline-headers): New variable.
7704 (routines): Remove hurdinline. Add $(inlines).
7705 (inlines): New variable.
7706 ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
7707 (generated): Append those here.
7708 * hurd/hurdinline.c: File removed.
7710 * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
7712 * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
7714 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7716 * nscd/connections.c (nscd_run): Use correct type for optlen variable.
7718 1999-06-25 Ulrich Drepper <drepper@cygnus.com>
7720 * string/bits/string2.h (strnlen): Remove extra prototype.
7722 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7724 * manual/filesys.texi (Working on Directory Trees): Fix typos.
7725 Reported by Andries.Brouwer@cwi.nl.
7727 1999-06-24 Ulrich Drepper <drepper@cygnus.com>
7729 * nscd/connections.c (handle_request): Use correct type for optlen
7732 * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
7733 * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
7735 1999-06-24 Thorsten Kukuk <kukuk@suse.de>
7737 * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
7738 * nscd/pwdcache.c: Likewise.
7739 * nscd/hstcache.c: Likewise.
7741 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
7743 * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
7745 * posix/getopt.h: Include stdio.h.
7747 * manual/arith.texi: Document restriction of ndigit parameter of
7749 * misc/efgcvt.c: Define NDIGIT_MAX.
7750 (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
7751 Do not dynamically allocate the static buffers. They are small enough.
7752 * misc/efgcvt_r.c: Define NDIGIT_MAX.
7753 (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
7754 * misc/qefgcvt.c: Define NDIGIT_MAX.
7755 * misc/qefgcvt_r.c: Likewise.
7756 * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
7758 1999-06-23 Zack Weinberg <zack@rabi.columbia.edu>
7760 * libio/stdio.h: Define stdin, stdout, stderr as macros.
7761 * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
7762 These are *pragmas* not macros.
7763 * wcsmbs/wchar.h: Fix comment.
7765 * grp/grp.h: Use __foo_t_defined convention to typedef things
7767 * io/sys/stat.h: Likewise.
7768 * libio/stdio.h: Likewise.
7769 * posix/unistd.h: Likewise.
7770 * posix/sys/types.h: Likewise.
7771 * posix/sys/wait.h: Likewise.
7772 * pwd/pwd.h: Likewise.
7773 * signal/signal.h: Likewise.
7774 * sysdeps/generic/stdint.h: Likewise.
7775 * sysdeps/gnu/utmpx.h: Likewise.
7776 * termios/termios.h: Likewise.
7778 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
7780 * stdio/fputc.c: Don't define alias if fputc is defined as a
7782 * stdio/putc.c: Define weak alias here since it is not done
7785 1999-06-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7787 * assert/assert.h: Don't produce `defined' as part of macro
7790 1999-06-23 Roland McGrath <roland@baalperazim.frob.com>
7792 * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
7793 OFFSET argument of (off_t) -1.
7794 * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
7795 OFFSET argument of (off_t) -1.
7797 * sysdeps/mach/hurd/pwrite.c: New file.
7798 * sysdeps/mach/hurd/pread.c: New file.
7800 * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
7801 pass it in the RPC instead of always -1.
7802 * hurd/fd-write.c (_hurd_fd_write): Likewise.
7803 * hurd/hurd/fd.h: Update decls.
7805 1999-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7807 * libio/wscanf.c: Include <wchar.h> for prototype.
7809 1999-06-22 Ulrich Drepper <drepper@cygnus.com>
7811 * manual/io.texi. Fix typos.
7812 * manual/stdio.texi: Likewise.
7813 Patches by Brian Youmans <3diff@gnu.org>.
7815 1999-06-22 Geoff Keating <geoffk@ozemail.com.au>
7817 * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
7818 bits of two words differ.
7820 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7822 * libio/Makefile (routines): Add putwchar and putwchar_u.
7824 * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
7825 * libio/putwchar_u.c: Likewise. Use _IO_stdout instead of
7826 stdout. Fix parameter name.
7828 * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
7829 * libio/getchar_u.c: Likewise.
7831 * libio/putchar_u.c: Use _IO_stdout instead of stdout.
7833 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7835 * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
7836 macro expansion---it's undefined. Properly parenthesize
7837 substituted parameters.
7838 (__GLIBC_PREREQ): Likewise.
7840 1999-06-21 Ulrich Drepper <drepper@cygnus.com>
7842 * Makeconfig (CPPFLAGS): Revert last change. It has too many
7845 * stdlib/longlong.h: Provide __P definition if not already
7848 * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
7850 1999-06-18 Thorsten Kukuk <kukuk@suse.de>
7852 * sysdeps/alpha/atomicity.h: Correct counting of subsections.
7854 1999-06-17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7856 * stdlib/tst-strtoll.c: Avoid warning about huge constant.
7858 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7860 * stdio-common/vfprintf.c (group_member): Make parameters and
7861 return types pointers to CHAR_T instead of UCHAR_T.
7862 (vfprintf): Change type of work_buffer, workend and string to
7863 CHAR_T pointer/array.
7864 (process_arg, process_string_arg): Adjust/remove casts. Add
7865 missing use of L_ macro.
7866 (printf_unknown): Add missing uses of L_ macro.
7868 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7870 * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
7873 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7875 * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF. Call
7876 _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
7877 (__wunderflow): Likewise.
7878 (_IO_switch_to_wget_mode): Likewise.
7879 (_IO_init_wmarker): Likewise.
7881 * libio/wfileops.c (_IO_wfile_seekoff): Call
7882 _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
7883 (_IO_wfile_jumps): Fix pbackfail entry.
7885 * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
7886 function if the stream is currently unoriented.
7888 1999-06-19 Zack Weinberg <zack@rabi.columbia.edu>
7890 * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
7891 Wrap all wide stream functions with #ifdef __USE_ISOC9X. Use
7892 __gnuc_va_list in v*w(printf|scanf) prototypes.
7894 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7896 * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
7897 1999-03-29 to iopopen also here.
7898 Reported by Richard Braakman <dark@xs4all.nl>.
7900 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7902 * include/features.h: Use __GNUC_PREREQ.
7903 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
7905 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7907 * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
7908 Change EOF to WEOF and remove cast.
7909 (UNGETC): Remove macro.
7910 (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
7911 * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
7912 Change ISASCII to isascii and MBRLEN to mbrlen.
7913 (parse_one_spec): Compare info.spec always against wchar_t
7915 * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
7916 (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
7917 (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
7919 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7921 * libio/Makefile (shared-only-routines): Add oldiofgetpos,
7922 oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
7923 (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
7924 oldiofsetpos64 only if doing versioning.
7926 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
7928 * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
7930 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7932 * libio/libio.h: Fix last patch.
7934 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
7936 * libio/libio.h (_IO_putwc): Correct type of first argument.
7937 * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
7938 putwc_unlocked, putwchar_unlocked): Likewise.
7939 * libio/fputwc.c: Likewise.
7940 * libio/fputwc_unlocked.c: Likewise.
7941 * libio/putwc.c: Likewise.
7942 * libio/putwc_unlocked.c: Likewise.
7943 * libio/putwchar.c: Likewise.
7944 * libio/putwchar_unlocked.c: Likewise.
7946 1999-06-19 Roland McGrath <roland@baalperazim.frob.com>
7948 * sysdeps/gnu/siglist.h: File moved to ...
7949 * sysdeps/generic/siglist.h: ... here. This file should be usable for
7950 any platform, since it just associates the SIG* macros with text names
7951 and descriptions. For any signal macros do not exist on every
7952 platform, we can use #ifdef tests here and still use this single
7953 common file for all platforms.
7954 * sysdeps/generic/siglist.c: Rewrite using <siglist.h>. This file
7955 should be usable for all platforms after the binary compatibility
7956 stuff in the current sysdeps/gnu version is no longer required.
7957 * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
7958 * sysdeps/generic/make_siglist.c: File removed.
7959 * sysdeps/mach/hurd/siglist.h: Use #include_next.
7960 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
7962 1999-06-16 Roland McGrath <roland@baalperazim.frob.com>
7964 * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
7965 * sysdeps/gnu/siglist.c: ... here.
7966 Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
7967 Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
7968 * sysdeps/gnu/siglist.h: New file, contents from linux version.
7969 Add entry for SIGLOST protected by #ifdef.
7970 * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
7971 and define OLD_SIGLIST_SIZE_STR.
7972 * sysdeps/mach/hurd/siglist.h: New file, likewise.
7974 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
7976 * include/features.h: Define new macros __GNUC_PREREQ and
7977 __GLIBC_PREREQ which can be used to test the version of gcc
7978 and glibc respectively.
7980 * assert/assert.h: Use __GNUC_PREREQ.
7981 * intl/libintl.h: Likewise.
7982 * math/complex.h: Likewise.
7983 * math/tgmath.h: Likewise.
7984 * misc/sys/cdefs.h: Likewise.
7985 * posix/sys/types.h: Likewise.
7986 * socket/sys/socket.h: Likewise.
7987 * string/bits/string2.h: Likewise.
7988 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
7989 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
7991 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
7993 * include/libintl.h: Declare _libc_intl_domainname here.
7994 Define _ and N_ here.
7995 * include/libc-symbols.h: Don't include <libintl.h>. Don't
7996 define _ and N_. Don't declare _libc_intl_domainname.
7997 * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
7999 * db2/config.h: Don't include sys/stat.h or define
8000 HAVE_ST_BLKSIZE here...
8001 * db2/compat.h: ...do it here.
8003 * linuxthreads/internals.h: Include bits/libc-tsd.h after all
8005 * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
8006 * iconv/iconv.c: Include stddef.h for NULL.
8007 * malloc/malloc.h: Include features.h.
8008 * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
8010 * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
8011 into the generated file.
8012 * sysdeps/gnu/errlist.awk: Likewise.
8013 * sysdeps/gnu/errlist.c: Rebuilt.
8015 * assert/assert-perr.c: Include libintl.h.
8016 * assert/assert.c: Likewise.
8017 * elf/dl-open.c: Likewise.
8018 * elf/dlsym.c: Likewise.
8019 * elf/dlvsym.c: Likewise.
8020 * iconv/iconv_prog.c: Likewise.
8021 * inet/rcmd.c: Likewise.
8022 * inet/ruserpass.c: Likewise.
8023 * locale/programs/charset.c: Likewise.
8024 * locale/programs/ld-collate.c: Likewise.
8025 * locale/programs/ld-ctype.c: Likewise.
8026 * locale/programs/ld-messages.c: Likewise.
8027 * locale/programs/ld-monetary.c: Likewise.
8028 * locale/programs/ld-numeric.c: Likewise.
8029 * locale/programs/ld-time.c: Likewise.
8030 * locale/programs/locfile.c: Likewise.
8031 * locale/programs/repertoire.c: Likewise.
8032 * login/programs/database.c: Likewise.
8033 * login/programs/request.c: Likewise.
8034 * malloc/mcheck.c: Likewise.
8035 * misc/error.c: Likewise.
8036 * nis/nis_call.c: Likewise.
8037 * nis/nis_callback.c: Likewise.
8038 * nis/nis_error.c: Likewise.
8039 * nis/nis_local_names.c: Likewise.
8040 * nis/nis_print.c: Likewise.
8041 * nis/nis_print_group_entry.c: Likewise.
8042 * nis/ypclnt.c: Likewise.
8043 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
8044 * nscd/cache.c: Likewise.
8045 * nscd/connections.c: Likewise.
8046 * nscd/grpcache.c: Likewise.
8047 * nscd/hstcache.c: Likewise.
8048 * nscd/nscd_conf.c: Likewise.
8049 * nscd/nscd_stat.c: Likewise.
8050 * nscd/pwdcache.c: Likewise.
8051 * posix/id.c: Likewise.
8052 * resolv/herror.c: Likewise.
8053 * stdio-common/psignal.c: Likewise.
8054 * string/strsignal.c: Likewise.
8055 * sunrpc/auth_unix.c: Likewise.
8056 * sunrpc/clnt_perr.c: Likewise.
8057 * sunrpc/clnt_raw.c: Likewise.
8058 * sunrpc/clnt_tcp.c: Likewise.
8059 * sunrpc/clnt_udp.c: Likewise.
8060 * sunrpc/clnt_unix.c: Likewise.
8061 * sunrpc/get_myaddr.c: Likewise.
8062 * sunrpc/pm_getmaps.c: Likewise.
8063 * sunrpc/pmap_clnt.c: Likewise.
8064 * sunrpc/pmap_rmt.c: Likewise.
8065 * sunrpc/rpc_main.c: Likewise.
8066 * sunrpc/rpc_scan.c: Likewise.
8067 * sunrpc/svc_run.c: Likewise.
8068 * sunrpc/svc_simple.c: Likewise.
8069 * sunrpc/svc_tcp.c: Likewise.
8070 * sunrpc/svc_udp.c: Likewise.
8071 * sunrpc/svc_unix.c: Likewise.
8072 * sunrpc/xdr_rec.c: Likewise.
8073 * sunrpc/xdr_ref.c: Likewise.
8074 * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
8075 * sysdeps/posix/gai_strerror.c: Likewise.
8076 * sysdeps/unix/siglist.c: Likewise.
8077 * sysdeps/unix/sysv/linux/siglist.c: Likewise.
8078 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
8079 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
8080 * timezone/zic.c: Likewise.
8082 1999-06-18 H.J. Lu <hjl@gnu.org>
8084 * localedata/Makefile (charmaps): Exclude SCCS.
8085 (locales): Likewise.
8086 (repertoiremaps): Likewise.
8088 1999-06-18 Ulrich Drepper <drepper@cygnus.com>
8090 * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
8091 * sysdeps/generic/bsd-setjmp.c: Likewise.
8093 * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
8095 * iconv/gconv_open.c: Include string.h for memset prototype.
8097 * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
8100 * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
8101 assignment to avoid warning on 64bit platforms.
8103 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
8105 * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
8107 * nss/getXXbyYY_r.c: Return error code not -1.
8108 * nss/getXXent_r.c: Likewise.
8109 * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
8111 * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
8112 value > 0 for error.
8113 * nscd/nscd_gethst_r.c: Likewise.
8114 * nscd/nscd_getpw_r.c: Likewise.
8116 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8118 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
8121 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8123 * nscd/nscd_nischeck.c: Fix typos.
8125 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
8127 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
8128 always when oact is NULL.
8129 Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
8131 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8133 * math/libm-test.c (jn_test): Adjust delta.
8135 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8137 * libio/vwprintf.c: Include <wchar.h> for prototypes.
8138 * libio/wprintf.c: Likewise.
8140 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8142 * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
8143 to not write beyond allocated memory.
8144 Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
8146 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
8148 * malloc/mtrace.c: Keep lock while printing output lines.
8149 Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
8151 1999-06-16 Ulrich Drepper <drepper@cygnus.com>
8153 * configure.in: Add warnings about broken code.
8155 * Versions.def: Add GLIBC_2.2 for libc.
8157 * iconv/gconv.h: Make header suitable for inclusion in public header
8158 by protecting all names with __.
8159 * iconv/gconv.c: Adapt for symbol name changes.
8160 * iconv/gconv.h: Likewise.
8161 * iconv/gconv_builtin.c: Likewise.
8162 * iconv/gconv_close.c: Likewise.
8163 * iconv/gconv_db.c: Likewise.
8164 * iconv/gconv_dl.c: Likewise.
8165 * iconv/gconv_int.h: Likewise.
8166 * iconv/gconv_open.c: Likewise.
8167 * iconv/gconv_simple.c: Likewise.
8168 * iconv/iconv.c: Likewise.
8169 * iconv/iconv_close.c: Likewise.
8170 * iconv/iconv_open.c: Likewise.
8171 * iconv/loop.c: Likewise.
8172 * iconv/skeleton.c: Likewise.
8173 * iconvdata/8bit-gap.c: Likewise.
8174 * iconvdata/8bit-generic.c: Likewise.
8175 * iconvdata/ansi_x3.110.c: Likewise.
8176 * iconvdata/big5.c: Likewise.
8177 * iconvdata/cns11643.h: Likewise.
8178 * iconvdata/cns11643l1.h: Likewise.
8179 * iconvdata/euc-cn.c: Likewise.
8180 * iconvdata/euc-jp.c: Likewise.
8181 * iconvdata/euc-kr.c: Likewise.
8182 * iconvdata/euc-tw.c: Likewise.
8183 * iconvdata/gb2312.h: Likewise.
8184 * iconvdata/iso-2022-jp.c: Likewise.
8185 * iconvdata/iso-2022-kr.c: Likewise.
8186 * iconvdata/iso646.c: Likewise.
8187 * iconvdata/iso8859-1.c: Likewise.
8188 * iconvdata/iso_6937-2.c: Likewise.
8189 * iconvdata/iso_6937.c: Likewise.
8190 * iconvdata/jis0201.h: Likewise.
8191 * iconvdata/jis0208.h: Likewise.
8192 * iconvdata/jis0212.h: Likewise.
8193 * iconvdata/johab.c: Likewise.
8194 * iconvdata/ksc5601.h: Likewise.
8195 * iconvdata/sjis.c: Likewise.
8196 * iconvdata/t.61.c: Likewise.
8197 * iconvdata/uhc.c: Likewise.
8198 * stdlib/mblen.c: Likewise.
8199 * stdlib/mbtowc.c: Likewise.
8200 * stdlib/wctomb.c: Likewise.
8201 * wcsmbs/btowc.c: Likewise.
8202 * wcsmbs/mbrtowc.c: Likewise.
8203 * wcsmbs/mbsnrtowcs.c: Likewise.
8204 * wcsmbs/mbsrtowcs.c: Likewise.
8205 * wcsmbs/wchar.h: Likewise.
8206 * wcsmbs/wcrtomb.c: Likewise.
8207 * wcsmbs/wcsmbsload.c: Likewise.
8208 * wcsmbs/wcsmbsload.h: Likewise.
8209 * wcsmbs/wcsnrtombs.c: Likewise.
8210 * wcsmbs/wcsrtombs.c: Likewise.
8211 * wcsmbs/wctob.c: Likewise.
8213 * include/limits.h (MB_LEN_MAX): Increase to 16.
8215 * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct. Define
8217 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
8218 * include/wchar.h: Change mbstate_t to __mbstate_t.
8220 * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
8221 oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
8222 getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
8223 iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
8224 putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
8225 vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
8227 (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
8228 * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
8229 _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
8230 fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
8231 fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
8232 getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
8233 putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
8234 vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
8236 * libio/libio.h: Define codecvt struct. Define _IO_wide_data.
8237 Extend _IO_file contain pointer to codecvt, widedata and mode.
8238 (_IO_getwc_unlocked): New macro.
8239 (_IO_putwc_unlocked): New macro.
8240 (_IO_fwide): New macro.
8241 * libio/libioP.h: Add new prototypes and adjust existing declarations.
8242 * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
8243 buffers based on mode.
8244 (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
8246 (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
8247 flag to be enough to signal unallocated buffer. For wide oriented
8248 stream don't make it linebuffered. Don't use _IO_do_flush, use
8249 _IO_new_do_write directly.
8250 (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
8251 (_IO_file_seek): Likewise.
8252 * libio/genops.c (_IO_least_marker): Make global.
8253 (__underflow): Orient stream if not already done.
8254 (__uflow): Likewise.
8255 (_IO_default_seekpos): Change to type _IO_off64_t.
8256 (_IO_default_seekoff): Likewise.
8257 (_IO_default_seek): Likewise.
8258 (_IO_no_init): New function. Similar to _IO_init but allows to orient
8260 * libio/iolibio.h: Add prototype for _IO_vswprintf. Change _IO_pos_BAD
8262 * libio/ftello.c: Use _IO_off_t. For now abort when use with wide
8264 * libio/ftello64.c: Likewise.
8265 * libio/ioftell.c: Likewise.
8266 * libio/iofopncook.c: Likewise.
8267 * libio/ioseekoff.c: Likewise.
8268 * libio/ioseekpos.c: Likewise.
8269 * libio/oldfileops.c: Likewise.
8270 * libio/iofgetpos.c: Store state of conversion if necessary.
8271 * libio/iofgetpos64.c: Likewise.
8272 * libio/iofsetpos.c: Restore conversion state if necessary.
8273 * libio/iofsetpos64.c: Likewise.
8274 * libio/iofdopen.c: Initialize so that stream can be wide oriented.
8275 * libio/iofopen.c: Likewise.
8276 * libio/iofopen64.c: Likewise.
8277 * libio/iopopen.c: Likewise.
8278 * libio/iovdprintf.c: Likewise.
8279 * libio/iovsprintf.c: Likewise.
8280 * libio/iovsscanf.c: Likewise.
8281 * libio/memstream.c: Likewise.
8282 * libio/obprintf.c: Likewise.
8283 * libio/iofputs.c: Orient stream if not already happened.
8284 * libio/iofputs_u.c: Likewise.
8285 * libio/iofwrite.c: Likewise.
8286 * libio/iofwrite_u.c: Likewise.
8287 * libio/ioputs.c: Likewise.
8288 * libio/iosetbuffer.c: Handle not yet oriented stream.
8289 * libio/iosetvbuf.c: Likewise.
8290 * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
8291 * libio/stdfiles.c: Likewise.
8292 * libio/strops.c (_IO_str_overflow): Correctly free buffer after
8294 (_IO_str_seekoff): Use _IO_off64_t.
8295 * libio/vasprintf.c: Pre-orient stream.
8296 * libio/vsnprintf.c: Likewise.
8297 * libio/fputwc.c: New file.
8298 * libio/fputwc_u.c: New file.
8299 * libio/fwprintf.c: New file.
8300 * libio/fwscanf.c: New file.
8301 * libio/getwc.c: New file.
8302 * libio/getwc_u.c: New file.
8303 * libio/getwchar.c: New file.
8304 * libio/getwchar_u.c: New file.
8305 * libio/iofgetws.c: New file.
8306 * libio/iofgetws_u.c: New file.
8307 * libio/iofputws.c: New file.
8308 * libio/iofputws_u.c: New file.
8309 * libio/iofwide.c: New file.
8310 * libio/iogetwline.c: New file.
8311 * libio/ioungetwc.c: New file.
8312 * libio/iovswscanf.c: New file.
8313 * libio/iowpadn.c: New file.
8314 * libio/oldiofgetpos.c: New file.
8315 * libio/oldiofgetpos64.c: New file.
8316 * libio/oldiofsetpos.c: New file.
8317 * libio/oldiofsetpos64.c: New file.
8318 * libio/putwc.c: New file.
8319 * libio/putwc_u.c: New file.
8320 * libio/putwchar.c: New file.
8321 * libio/putwchar_u.c: New file.
8322 * libio/swprintf.c: New file.
8323 * libio/swscanf.c: New file.
8324 * libio/tst_swprintf.c: New file.
8325 * libio/tst_swscanf.c: New file.
8326 * libio/tst_wprintf.c: New file.
8327 * libio/tst_wscanf.c: New file.
8328 * libio/tst_wscanf.input: New file.
8329 * libio/vswprintf.c: New file.
8330 * libio/vwprintf.c: New file.
8331 * libio/vwscanf.c: New file.
8332 * libio/wfiledoalloc.c: New file.
8333 * libio/wfileops.c: New file.
8334 * libio/wgenops.c: New file.
8335 * libio/wprintf.c: New file.
8336 * libio/wscanf.c: New file.
8337 * libio/wstrops.c: New file.
8338 * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
8339 vfwprintf, and vfwscanf.
8340 * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
8342 * stdio-common/_itowa.c: New file.
8343 * stdio-common/_itowa.h: New file.
8344 * stdio-common/itoa-digits.c: Minimal optimization.
8345 * stdio-common/itowa-digits.c: New file.
8346 * stdio-common/printf-parse.h: Allow use in wide character context.
8347 * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
8348 * stdio-common/printf.h (printf_info): Add wide bit.
8349 * stdio-common/printf_fp.c: Determine from wide bit whether stream
8350 is wide oriented or not.
8351 * stdio-common/printf_size.c: Likewise.
8352 * sysdeps/generic/printf_fphex.c: Likewise.
8353 * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
8354 * stdio-common/vfprintf.c: Rewrite to allow use in wide character
8356 * stdio-common/vfscand.c: Likewise.
8357 * stdio-common/vfwprintf.c: New file.
8358 * stdio-common/vfwscanf.c: New file.
8360 * time/Makefile (routines): Add wcsftime.
8361 (tests): Add tst_wcsftime.
8362 * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
8363 * time/strftime.c: Make usable as wcsftime.
8364 * time/wcsftime.c: New file.
8365 * time/tst_wcsftime.c: New file.
8367 * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
8368 * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
8369 * wcsmbs/wcschrnul.c: New file.
8370 * wcsmbs/wmemcpy.c: New file.
8371 * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
8372 * wcsmbs/wmemmove.c: Likewise for wmemmove.
8374 * manual/stdio.texi: Document is_char and wide element if printf_info.
8376 * manual/time.texi: Document wcsftime.
8378 * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
8379 __wmemmove, __wcschrnul, and __vfwscanf.
8381 * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
8382 * locale/C-time.c: Adapt for above change.
8383 * locale/categories.def: Likewise.
8384 * locale/localeinfo.h: Likewise.
8385 * localedata/Makefile: Don't run tests for now.
8387 * manual/errno.texi: Fix typos.
8388 * manual/memory.texi: Likewise.
8389 * manual/ctype.texi: Likewise.
8390 Patches by Brian Youmans <3diff@gnu.org>.
8392 1999-06-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8394 * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
8396 1999-06-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8398 * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
8400 * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
8401 * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
8403 1999-06-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8405 * db2/db/db.c: Restore __nss_db_open alias.
8406 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
8408 * db2/os/os_rw.c (__os_write): Maintain const correctness.
8409 * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
8411 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
8413 * stdio-common/printf-parse.h (parse_one_spec): Don't set
8414 is_longlong if not necessary.
8416 1999-06-15 H.J. Lu <hjl@gnu.org>
8418 * Make-dist (sysdep_dirs): Exclude SCCS.
8419 * MakeTAGS (sysdep_dirs): Likewise.
8421 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
8423 * posix/regex.c (re_error_msgid): Remove extra commas.
8425 1999-06-14 Geoff Keating <geoffk@ozemail.com.au>
8427 * stdlib/tst-strtoll.c: New file.
8428 * stdlib/Makefile (tests): Add tst-strtoll.c
8429 * stdlib/strtol.c: It is not generally true that if
8430 (unsigned)a*(unsigned)b overflows, then the result is
8433 1999-06-14 Thorsten Kukuk <kukuk@suse.de>
8435 * nscd/connections.c (handle_request): Only root is allowed to
8436 send GETSTAT request in non secure mode.
8437 * nscd/nscd.c: Print error message if other then root try to
8440 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8442 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
8444 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8446 * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
8447 Closes PR libc/1164, reported by sascha@schumann.2ns.de.
8449 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8451 * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
8452 for character to search, to help the compiler.
8453 * sysdeps/generic/strchrnul.c: Likewise.
8454 * sysdeps/generic/memchr.c: Likewise.
8455 * sysdeps/generic/memccpy.c: Likewise.
8456 * sysdeps/generic/rawmemchr.c: Likewise. Fix comment.
8458 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8460 * sysdeps/m68k/memchr.S: New file.
8461 * sysdeps/m68k/rawmemchr.S: New file.
8462 * sysdeps/m68k/strchr.S: New file.
8463 * sysdeps/m68k/strchrnul.S: New file.
8465 1999-06-13 Geoff Keating <geoffk@ozemail.com.au>
8467 * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
8468 add `memory' clobber; optimise for constant `val'.
8469 (atomic_add): Likewise.
8470 (test_and_set): Remove `volatile'; add `memory' clobber; be more
8471 like the original `test_and_set'.
8472 (compare_and_swap): Remove `volatile'; add `memory' clobber;
8473 optimise for constant `oldval'.
8474 (always_swap): Remove `volatile'; add `memory' clobber.
8476 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8478 * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
8479 functions for gcc <= 2.7.x.
8481 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
8483 * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
8486 1999-06-13 Ulrich Drepper <drepper@cygnus.com>
8488 * db2/Makefile (distribute): Remove files which do not exist
8491 * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
8492 definitions to calm down gcc.
8494 * db2/db.h: Update from db 2.7.5.
8495 * db2/db_185.h: Likewise.
8496 * db2/db_int.h: Likewise.
8497 * db2/btree/bt_compare.c: Likewise.
8498 * db2/btree/bt_conv.c: Likewise.
8499 * db2/btree/bt_curadj.c: Likewise.
8500 * db2/btree/bt_cursor.c: Likewise.
8501 * db2/btree/bt_delete.c: Likewise.
8502 * db2/btree/bt_open.c: Likewise.
8503 * db2/btree/bt_page.c: Likewise.
8504 * db2/btree/bt_put.c: Likewise.
8505 * db2/btree/bt_rec.c: Likewise.
8506 * db2/btree/bt_recno.c: Likewise.
8507 * db2/btree/bt_rsearch.c: Likewise.
8508 * db2/btree/bt_search.c: Likewise.
8509 * db2/btree/bt_split.c: Likewise.
8510 * db2/btree/bt_stat.c: Likewise.
8511 * db2/btree/btree_auto.c: Likewise.
8512 * db2/common/db_appinit.c: Likewise.
8513 * db2/common/db_apprec.c: Likewise.
8514 * db2/common/db_err.c: Likewise.
8515 * db2/common/db_region.c: Likewise.
8516 * db2/common/db_salloc.c: Likewise.
8517 * db2/db/db.c: Likewise.
8518 * db2/db/db.src: Likewise.
8519 * db2/db/db_am.c: Likewise.
8520 * db2/db/db_auto.c: Likewise.
8521 * db2/db/db_dispatch.c: Likewise.
8522 * db2/db/db_dup.c: Likewise.
8523 * db2/db/db_iface.c: Likewise.
8524 * db2/db/db_join.c: Likewise.
8525 * db2/db/db_overflow.c: Likewise.
8526 * db2/db/db_pr.c: Likewise.
8527 * db2/db/db_rec.c: Likewise.
8528 * db2/db/db_ret.c: Likewise.
8529 * db2/db185/db185.c: Likewise.
8530 * db2/dbm/dbm.c: Likewise.
8531 * db2/hash/hash.c: Likewise.
8532 * db2/hash/hash_auto.c: Likewise.
8533 * db2/hash/hash_dup.c: Likewise.
8534 * db2/hash/hash_page.c: Likewise.
8535 * db2/hash/hash_rec.c: Likewise.
8536 * db2/hash/hash_stat.c: Likewise.
8537 * db2/include/btree.h: Likewise.
8538 * db2/include/btree_ext.h: Likewise.
8539 * db2/include/clib_ext.h: Likewise.
8540 * db2/include/common_ext.h: Likewise.
8541 * db2/include/db_am.h: Likewise.
8542 * db2/include/db_auto.h: Likewise.
8543 * db2/include/db_cxx.h: Likewise.
8544 * db2/include/db_ext.h: Likewise.
8545 * db2/include/db_join.h: Likewise.
8546 * db2/include/db_page.h: Likewise.
8547 * db2/include/hash.h: Likewise.
8548 * db2/include/hash_ext.h: Likewise.
8549 * db2/include/lock.h: Likewise.
8550 * db2/include/lock_ext.h: Likewise.
8551 * db2/include/log.h: Likewise.
8552 * db2/include/log_ext.h: Likewise.
8553 * db2/include/mp.h: Likewise.
8554 * db2/include/mp_ext.h: Likewise.
8555 * db2/include/os.h: Likewise.
8556 * db2/include/os_ext.h: Likewise.
8557 * db2/include/os_func.h: Likewise.
8558 * db2/include/txn.h: Likewise.
8559 * db2/include/txn_auto.h: Likewise.
8560 * db2/include/txn_ext.h: Likewise.
8561 * db2/include/xa.h: Likewise.
8562 * db2/include/xa_ext.h: Likewise.
8563 * db2/lock/lock.c: Likewise.
8564 * db2/lock/lock_conflict.c: Likewise.
8565 * db2/lock/lock_deadlock.c: Likewise.
8566 * db2/lock/lock_region.c: Likewise.
8567 * db2/lock/lock_util.c: Likewise.
8568 * db2/log/log.c: Likewise.
8569 * db2/log/log_archive.c: Likewise.
8570 * db2/log/log_auto.c: Likewise.
8571 * db2/log/log_findckp.c: Likewise.
8572 * db2/log/log_get.c: Likewise.
8573 * db2/log/log_put.c: Likewise.
8574 * db2/log/log_rec.c: Likewise.
8575 * db2/log/log_register.c: Likewise.
8576 * db2/mp/mp_bh.c: Likewise.
8577 * db2/mp/mp_fget.c: Likewise.
8578 * db2/mp/mp_fopen.c: Likewise.
8579 * db2/mp/mp_fput.c: Likewise.
8580 * db2/mp/mp_fset.c: Likewise.
8581 * db2/mp/mp_open.c: Likewise.
8582 * db2/mp/mp_pr.c: Likewise.
8583 * db2/mp/mp_region.c: Likewise.
8584 * db2/mp/mp_sync.c: Likewise.
8585 * db2/mutex/mutex.c: Likewise.
8586 * db2/mutex/uts4_cc.s: Likewise.
8587 * db2/os/os_abs.c: Likewise.
8588 * db2/os/os_alloc.c: Likewise.
8589 * db2/os/os_config.c: Likewise.
8590 * db2/os/os_dir.c: Likewise.
8591 * db2/os/os_fid.c: Likewise.
8592 * db2/os/os_fsync.c: Likewise.
8593 * db2/os/os_map.c: Likewise.
8594 * db2/os/os_oflags.c: Likewise.
8595 * db2/os/os_open.c: Likewise.
8596 * db2/os/os_rw.c: Likewise.
8597 * db2/os/os_seek.c: Likewise.
8598 * db2/os/os_sleep.c: Likewise.
8599 * db2/os/os_spin.c: Likewise.
8600 * db2/os/os_stat.c: Likewise.
8601 * db2/os/os_tmpdir.c: Likewise.
8602 * db2/os/os_unlink.c: Likewise.
8603 * db2/progs/db_archive/db_archive.c: Likewise.
8604 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
8605 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
8606 * db2/progs/db_dump/db_dump.c: Likewise.
8607 * db2/progs/db_load/db_load.c: Likewise.
8608 * db2/progs/db_printlog/README: Likewise.
8609 * db2/progs/db_printlog/commit.awk: Likewise.
8610 * db2/progs/db_printlog/count.awk: Likewise.
8611 * db2/progs/db_printlog/db_printlog.c: Likewise.
8612 * db2/progs/db_printlog/pgno.awk: Likewise.
8613 * db2/progs/db_printlog/range.awk: Likewise.
8614 * db2/progs/db_printlog/status.awk: Likewise.
8615 * db2/progs/db_printlog/txn.awk: Likewise.
8616 * db2/progs/db_recover/db_recover.c: Likewise.
8617 * db2/progs/db_stat/db_stat.c: Likewise.
8618 * db2/txn/txn.c: Likewise.
8619 * db2/txn/txn.src: Likewise.
8620 * db2/txn/txn_auto.c: Likewise.
8621 * db2/txn/txn_rec.c: Likewise.
8622 * db2/xa/xa.c: Likewise.
8623 * db2/xa/xa_db.c: Likewise.
8624 * db2/xa/xa_map.c: Likewise.
8626 * db2/btree/bt_close.c: Removed.
8627 * db2/db/db_thread.c: Likewise.
8628 * db2/hash/hash_debug.c: Likewise.
8629 * db2/include/db.h.src: Likewise.
8630 * db2/include/db_int.h.src: Likewise.
8631 * db2/include/os_jump.h: Likewise.
8632 * db2/mutex/alpha.dec: Likewise.
8633 * db2/mutex/alpha.gcc: Likewise.
8634 * db2/mutex/parisc.hp: Likewise.
8635 * db2/mutex/uts4.cc.s: Likewise.
8637 * db2/Makefile: Add new routines, remove old for 2.7.5.
8638 * db2/Versions: Add internal function names for the helper programs.
8639 * db2/makedb.c: Update for new cursor callback.
8640 * Versions.def: Define versions for libdb.
8642 1999-06-13 Thorsten Kukuk <kukuk@suse.de>
8644 * nscd/connections.c (nscd_run): Get user ID for all non-db services.
8645 * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
8646 * nscd/nscd_nischeck.c: New file.
8647 * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
8649 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8651 * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
8652 MSG_* flags from Linux 2.2.9.
8654 1999-06-12 Mark Kettenis <kettenis@gnu.org>
8656 * Makeconfig (static-start-installed-name): Set to
8657 $(start-installed-name) if not defined.
8658 (+link-static): Use $(static-start-installed-name) instead of
8659 $(start-installed-name).
8660 * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
8663 1999-06-12 Mark Kettenis <kettenis@gnu.org>
8665 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
8666 inserting a send right into the child instead of unconditionally
8667 copying the send right.
8669 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
8671 * locale/lc-time.c: Add free_mem function to free if necessary
8672 statically allocated memory.
8674 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
8676 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
8677 bias from the raw exponent.
8679 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
8681 * inet/arpa/tftp.h: Move attribute declaration in right position.
8683 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
8685 * nscd/nscd.c: Add -S options for separate caching of data for
8686 every user. So one user couldn't see the data another user
8687 has gotten with his credentials.
8688 * nscd/nscd.h: Add new prototypes.
8689 * nscd/cache.c: Compare owner of cache entry if in secure mode.
8690 * nscd/connections.c: Check on shutdown if caller really was root.
8691 In secure mode get uid of caller.
8692 * nscd/grpcache.c: Add support for new secure group mode.
8693 * nscd/hstcache.c: Add support for new secure hosts mode.
8694 * nscd/pwdcache.c: Add support for new secure passwd mode.
8696 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
8698 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
8699 of user-provided buffer.
8701 1999-06-11 Mark Kettenis <kettenis@gnu.org>
8703 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
8704 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
8706 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
8708 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
8711 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
8712 returning after last entry.
8713 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
8715 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
8717 * misc/sysexits.h: Remove advertising clause of copyright.
8718 * resolv/getnetnamadr.c: Likewise.
8719 * sysdeps/vax/bcopy.s: Likewise.
8720 * sysdeps/vax/bzero.s: Likewise.
8721 * sysdeps/vax/ffs.s: Likewise.
8722 * sysdeps/vax/memchr.s: Likewise.
8723 * sysdeps/vax/memcmp.s: Likewise.
8724 * sysdeps/vax/memmove.s: Likewise.
8725 * sysdeps/vax/memset.s: Likewise.
8726 * sysdeps/vax/strcat.s: Likewise.
8727 * sysdeps/vax/strchr.s: Likewise.
8728 * sysdeps/vax/strcmp.s: Likewise.
8729 * sysdeps/vax/strcpy.s: Likewise.
8730 * sysdeps/vax/strcspn.s: Likewise.
8731 * sysdeps/vax/strlen.s: Likewise.
8732 * sysdeps/vax/strncat.s: Likewise.
8733 * sysdeps/vax/strncmp.s: Likewise.
8734 * sysdeps/vax/strncpy.s: Likewise.
8735 * sysdeps/vax/strpbrk.s: Likewise.
8736 * sysdeps/vax/strrchr.s: Likewise.
8737 * sysdeps/vax/strsep.s: Likewise.
8738 * sysdeps/vax/strspn.s: Likewise.
8739 * sysdeps/vax/strstr.s: Likewise.
8741 * libio/iofopncook.c: Adjust for renaming of structure elements.
8742 * libio/libio.h: Define cookie functions with all the names.
8744 * pwd/fgetpwent_r.c: Set errno in the correct way.
8745 * shadow/fgetspent_r.c: Likewise.
8746 * pwd/fgetpwent.c: Handle long lines correctly. Little
8747 optimizations. Free static buffer when debugging memory handling.
8748 * shadow/fgetspent.c: Likewise.
8750 * grp/fgetgrent.c: Little optimization in loop.
8752 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8754 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
8757 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
8759 * stdlib/longlong.h: gas changed sethi handling when without
8760 %hi(). Fix assembly.
8761 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
8762 port specific cache id checks.
8763 * sysdeps/generic/dl-cache.h: New file.
8764 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
8766 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
8768 * gmon/gmon.c: Remove advertising clause of copyright.
8769 * gmon/mcount.c: Likewise.
8770 * gmon/sys/gmon.h: Likewise.
8771 * inet/arpa/ftp.h: Likewise.
8772 * inet/arpa/telnet.h: Likewise.
8773 * inet/arpa/tftp.h: Likewise.
8774 * inet/inet_lnaof.c: Likewise.
8775 * inet/inet_mkadr.c: Likewise.
8776 * inet/inet_net.c: Likewise.
8777 * inet/inet_netof.c: Likewise.
8778 * inet/protocols/routed.h: Likewise.
8779 * inet/protocols/rwhod.h: Likewise.
8780 * inet/protocols/talkd.h: Likewise.
8781 * inet/protocols/timed.h: Likewise.
8782 * inet/rcmd.c: Likewise.
8783 * inet/rexec.c: Likewise.
8784 * inet/ruserpass.c: Likewise.
8785 * io/fts.c: Likewise.
8786 * io/fts.h: Likewise.
8787 * login/login_tty.c: Likewise.
8788 * misc/fstab.h: Likewise.
8789 * misc/getttyent.c: Likewise.
8790 * misc/getusershell.c: Likewise.
8791 * misc/sys/queue.h: Likewise.
8792 * misc/sys/syslog.h: Likewise.
8793 * misc/syslog.c: Likewise.
8794 * misc/ttyent.h: Likewise.
8795 * misc/ttyslot.c: Likewise.
8796 * resolv/arpa/nameser.h: Likewise.
8797 * resolv/gethnamaddr.c: Likewise.
8798 * resolv/herror.c: Likewise.
8799 * resolv/inet_addr.c: Likewise.
8800 * resolv/mapv4v6addr.h: Likewise.
8801 * resolv/mapv4v6hostent.h: Likewise.
8802 * resolv/nss_dns/dns-host.c: Likewise.
8803 * resolv/nss_dns/dns-network.c: Likewise.
8804 * resolv/res_comp.c: Likewise.
8805 * resolv/res_data.c: Likewise.
8806 * resolv/res_debug.c: Likewise.
8807 * resolv/res_init.c: Likewise.
8808 * resolv/res_mkquery.c: Likewise.
8809 * resolv/res_query.c: Likewise.
8810 * resolv/res_send.c: Likewise.
8811 * resolv/resolv.h: Likewise.
8812 * sysdeps/generic/div.c: Likewise.
8813 * sysdeps/generic/netinet/ip.h: Likewise.
8814 * sysdeps/generic/netinet/tcp.h: Likewise.
8815 * sysdeps/generic/paths.h: Likewise.
8816 * sysdeps/generic/prof-freq.c: Likewise.
8817 * sysdeps/generic/sys/ttydefaults.h: Likewise.
8818 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8819 * sysdeps/gnu/netinet/tcp.h: Likewise.
8820 * sysdeps/ieee754/support.c: Likewise.
8821 * sysdeps/mach/hurd/sys/param.h: Likewise.
8822 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
8823 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8824 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
8825 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8826 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
8827 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
8828 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
8829 * sysdeps/unix/sysv/linux/paths.h: Likewise.
8830 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
8831 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
8832 * sysdeps/vax/DEFS.h: Likewise.
8833 * termios/sys/ttychars.h: Likewise.
8834 * misc/daemon.c: Likewise. Call fork.
8836 * grp/fgetgrent.c (buffer): Make file local variable.
8837 (free_mem): New function. Call for malloc debugging.
8839 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
8841 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8843 * grp/Makefile: Add rules for tst_fgetgrent.
8845 * grp/tst_fgetgrent.c: Rewritten to read only one file.
8847 * grp/tst_fgetgrent.sh: New file.
8849 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
8851 * grp/Makefile (tests): Add tst_fgetgrent.
8852 * grp/tst_fgetgrent.c: New file.
8853 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
8855 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
8857 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
8858 be POSIX compliant. Prior definition was broken for Hurd.
8859 Reported by Mark Kettenis <kettenis@gnu.org>.
8861 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
8863 * ctype/ctype.h: Protect __tobody code by __extension__.
8865 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
8867 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
8868 reading and reset in case the buffer was too small.
8870 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
8873 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8875 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
8876 another SIOGIFNAME typo.
8878 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
8880 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
8882 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
8885 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8887 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
8888 the precision if the mantissa is zero.
8890 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8892 * manual/lang.texi (Floating Point Parameters): GCC already
8893 supports long double for a long time.
8895 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8897 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
8898 yn_test): Increase some epsilons.
8900 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
8902 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
8905 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
8907 * sysdeps/unix/sysv/linux/kernel-features.h: Define
8908 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
8909 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
8910 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
8912 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
8913 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
8914 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
8915 * sysdeps/libm-ieee754/w_j1.c: Likewise.
8916 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
8917 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
8918 * sysdeps/libm-ieee754/w_jn.c: Likewise.
8919 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
8920 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
8922 * stdio-common/vfprintf.c: Correct typos.
8924 * math/libm-test.c (jn_test): Adjust delta.
8925 (y1_test): Likewise.
8926 (yn_test): Likewise.
8928 * elf/do-lookup.h: It should never happen that if we expect a versioned
8929 symbol from a file the file has no version table. This should have
8930 been checked in dl-version.c.
8931 * elf/dl-lookup.c: Include assert.h.
8933 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
8936 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
8938 1999-06-06 Andi Kleen <ak@muc.de>
8940 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
8943 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8945 * math/libm-test.c (yn_test): Change one delta.
8946 (jn_test): Likewise.
8947 (j1_test): Likewise.
8948 (y0_test): Likewise.
8950 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
8952 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
8953 avoid multiple calls to getpagesize() which might be a syscall.
8955 1999-06-06 Philip Blundell <philb@gnu.org>
8957 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
8959 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8961 * manual/install.texi (Running make install): Correct typo in
8962 dynamic linker invocation.
8964 1999-06-05 Philip Blundell <philb@gnu.org>
8966 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
8967 problems with GOT addressing.
8969 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
8971 * malloc/malloc.c (check_action): Change into bitmap so that both
8972 diagnostic and abort can be requested by setting it to 3.
8973 (mALLOC_SET_STATe): Disable malloc checking if necessary.
8975 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
8977 * configure.in: Few changes for HPUX.
8979 * scripts/config.guess: Update from latest version.
8980 * scripts/config.sub: Likewise.
8982 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8984 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
8985 map files. Closes PR libc/1147.
8987 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8989 * math/libm-test.c (main): Add new test functions.
8990 (jn_test): New tests.
8991 (j1_test): Add some more tests.
8992 (j0_test): Add some more tests.
8993 (y0_test): Add some more tests.
8994 (y1_test): Add some more tests.
8996 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8998 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
8999 Patch by mhagger@dera.gov.uk [PR libc/1145].
9001 * math/libm-test.c (y1_test): New tests.
9002 (y0_test): Likewise.
9003 (j1_test): Likewise.
9004 (j0_test): Likewise.
9005 (main): Added new tests.
9007 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
9009 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
9010 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
9011 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
9012 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
9013 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
9014 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
9016 1999-06-02 David S. Miller <davem@redhat.com>
9018 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
9021 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
9023 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
9024 and elide compatibility code if possible.
9026 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
9028 * manual/llio.texi: Remove menu entry for removed section.
9030 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9032 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
9035 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9037 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
9040 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
9042 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
9044 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9046 * manual/stdio.texi: Fix some typos.
9048 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9050 * malloc/malloc.h: Properly handle future GCC versions.
9052 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9054 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
9055 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
9056 text of error message.
9058 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
9060 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
9062 * manual/filesys.texi: Extend (f)truncate documentation.
9063 * manual/llio.texi: Remove duplicate (f)truncate definition.
9065 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9067 * manual/stdio.texi (Formatted Output Functions): Mention
9068 semantics of snprintf in glibc 2.0.
9069 Reported by Ben Pfaff <pfaffben@msu.edu>.
9071 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
9073 * include/features.h (__GLIBC_MINOR__): Bump to 2.
9075 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
9077 * math/libm-test.c: Adjust a few more deltas for the poor ARM
9080 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9082 * configure.in: Fix typo.
9084 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9086 * manual/socket.texi (Host Names): Remove statement that h_errno
9087 needs to be declared since this isn't true anymore.
9088 Closes PR libc/1138.
9090 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
9092 * config.h.in: Add __LINUX_KERNEL_VERSION.
9093 * configure.in: Recognize --enable-kernel.
9094 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
9095 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
9097 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
9098 given perform runtime test.
9100 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
9101 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
9102 minimal supported kernel is known to have the feature.
9103 * sysdeps/unix/sysv/linux/poll.c: Likewise.
9104 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9105 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9106 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9107 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9108 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
9109 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9110 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9111 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9112 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9113 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9114 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
9115 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
9116 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
9117 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
9119 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
9121 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
9123 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
9125 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
9127 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
9128 Optimized sparc64 routines.
9130 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
9132 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
9133 they are the same as ints.
9134 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
9136 * version.h (VERSION): Bump to 2.1.90.
9137 (RELEASE): Mark as development.
9139 * stdio-common/vfprintf.c (vfprintf): Don't implement special
9140 handling for long long if it is the same as long.
9141 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
9143 * stdlib/strtol.c: Moved to ...
9144 * sysdeps/generic/strtol.c: ...here.
9145 * stdlib/strtoul.c: Moved to ...
9146 * sysdeps/generic/strtoul.c: ...here.
9147 * stdlib/strtoll.c: Moved to ...
9148 * sysdeps/generic/strtoll.c: ...here.
9149 * stdlib/strtoull.c: Moved to ...
9150 * sysdeps/generic/strtoull.c: ...here.
9151 * stdlib/strtol_l.c: Moved to ...
9152 * sysdeps/generic/strtol_l.c: ...here.
9153 * stdlib/strtoul_l.c: Moved to ...
9154 * sysdeps/generic/strtoul_l.c: ...here.
9155 * stdlib/strtoll_l.c: Moved to ...
9156 * sysdeps/generic/strtoll_l.c: ...here.
9157 * stdlib/strtoull_l.c: Moved to ...
9158 * sysdeps/generic/strtoull_l.c: ...here.
9160 * sysdeps/wordsize-64/strtol.c: New file.
9161 * sysdeps/wordsize-64/strtoul.c: New file.
9162 * sysdeps/wordsize-64/strtoll.c: New file.
9163 * sysdeps/wordsize-64/strtoull.c: New file.
9164 * sysdeps/wordsize-64/strtol_l.c: New file.
9165 * sysdeps/wordsize-64/strtoul_l.c: New file.
9166 * sysdeps/wordsize-64/strtoll_l.c: New file.
9167 * sysdeps/wordsize-64/strtoull_l.c: New file.
9169 * wcsmbs/wcstol.c: Moved to ...
9170 * sysdeps/generic/wcstol.c: ...here.
9171 * wcsmbs/wcstoul.c: Moved to ...
9172 * sysdeps/generic/wcstoul.c: ...here.
9173 * wcsmbs/wcstoll.c: Moved to ...
9174 * sysdeps/generic/wcstoll.c: ...here.
9175 * wcsmbs/wcstoull.c: Moved to ...
9176 * sysdeps/generic/wcstoull.c: ...here.
9177 * wcsmbs/wcstol_l.c: Moved to ...
9178 * sysdeps/generic/wcstol_l.c: ...here.
9179 * wcsmbs/wcstoul_l.c: Moved to ...
9180 * sysdeps/generic/wcstoul_l.c: ...here.
9181 * wcsmbs/wcstoll_l.c: Moved to ...
9182 * sysdeps/generic/wcstoll_l.c: ...here.
9183 * wcsmbs/wcstoull_l.c: Moved to ...
9184 * sysdeps/generic/wcstoull_l.c: ...here.
9186 * sysdeps/wordsize-64/wcstol.c: New file.
9187 * sysdeps/wordsize-64/wcstoul.c: New file.
9188 * sysdeps/wordsize-64/wcstoll.c: New file.
9189 * sysdeps/wordsize-64/wcstoull.c: New file.
9190 * sysdeps/wordsize-64/wcstol_l.c: New file.
9191 * sysdeps/wordsize-64/wcstoul_l.c: New file.
9192 * sysdeps/wordsize-64/wcstoll_l.c: New file.
9193 * sysdeps/wordsize-64/wcstoull_l.c: New file.
9195 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
9197 * sysdeps/sparc/bits/wordsize.h: New file.
9198 * sysdeps/sparc/fpu/bits/fenv.h: New file.
9199 * sysdeps/sparc/fpu/fpu_control.h: New file.
9200 * sysdeps/sparc/gmp-mparam.h: New file.
9202 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
9203 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
9204 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
9205 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
9206 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
9207 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
9209 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
9210 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
9211 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
9212 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
9214 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
9215 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
9216 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
9217 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
9218 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
9220 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
9222 * login/openpty.c (openpty): Make sure pty does not because
9225 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
9227 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
9229 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
9230 Do proper error return.
9232 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9234 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
9235 of __P in the rest of glibc; define __MALLOC_PMT and use it.
9236 Reported by Stephan Kulow <coolo@kde.org>.
9238 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
9240 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
9242 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
9244 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9246 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
9247 names to protect from user's macro namespace.
9248 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
9249 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
9250 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
9251 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
9252 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
9254 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
9255 sysdeps/arm/fpu/fesetenv.c: Likewise.
9256 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
9257 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
9258 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
9259 * sysdeps/mips/fesetenv.c: Likewise.
9261 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
9263 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
9265 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
9267 * configure.in: Recognize and allow gcc 2.95.
9269 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
9271 * sysdeps/generic/bits/elfclass.h: Version common to
9272 wordsize-32 and wordsize-64.
9273 * sysdeps/generic/bits/environments.h: Ditto.
9274 * sysdeps/generic/stdint.h: Ditto.
9275 * sysdeps/generic/inttypes.h: Ditto.
9277 * sysdeps/generic/bits/wordsize.h: New file.
9278 * stdlib/Makefile: Add bits/wordsize.h to headers.
9280 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
9282 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
9283 headers to be used for 32bit and 64bit ABI compilations.
9284 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
9285 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
9286 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
9287 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
9288 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
9290 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
9291 * sysdeps/wordsize-64/bits/environments.h: Remove.
9292 * sysdeps/wordsize-64/stdint.h: Remove.
9293 * sysdeps/wordsize-64/inttypes.h: Remove.
9294 * sysdeps/wordsize-64/bits/wordsize.h: New file.
9296 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
9297 * sysdeps/wordsize-32/bits/environments.h: Remove.
9298 * sysdeps/wordsize-32/stdint.h: Remove.
9299 * sysdeps/wordsize-32/inttypes.h: Remove.
9300 * sysdeps/wordsize-32/bits/wordsize.h: New file.
9302 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
9304 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
9305 __align_cpy_16): New functions.
9306 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
9308 * sysdeps/sparc/sparc32/Versions: New file.
9309 * sysdeps/sparc/sparc64/Versions: New file.
9310 * sysdeps/sparc/Versions: Remove.
9312 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
9314 * sysdeps/unix/sysv/linux/configure.in:
9315 On sparc64-*-linux*, set slibdir to /lib64 if prefix
9316 is /usr, plus set libdir to ${exec_prefix}/lib64.
9317 * sysdeps/unix/sysv/linux/configure: Regenerated.
9318 * config.make.in: Propagate libdir settings from configure
9320 * shlib-versions: sparc64-*-linux* dynamic linker is
9321 /lib64/ld-linux.so.2.
9323 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
9325 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
9328 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
9330 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
9331 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
9333 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
9334 contains garbage in bits 8-63.
9335 * sysdeps/sparc/sparc64/memset.S: Ditto.
9336 * sysdeps/sparc/sparc64/strchr.S: Ditto.
9338 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
9340 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
9342 1999-05-17 David S. Miller <davem@redhat.com>
9344 * sysdeps/sparc/sparc32/atomicity.h: New file.
9345 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
9346 * sysdeps/sparc/sparc64/atomicity.h: New file.
9347 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
9350 1999-05-18 Richard Henderson <rth@twiddle.net>
9352 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
9354 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
9356 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
9357 posix/sys/types.h: Handle the case of __GNUC__=3,
9358 __GNUC_MINOR__=(anything).
9360 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9362 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
9365 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
9367 * elf/Makefile (distribute): Remove dl-origin.h.
9368 Add dl-dst.h and gen-trusted-dirs.awk.
9370 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9372 * sysdeps/i386/i486/Versions: New file with inline functions from
9373 sysdeps/i386/i486/bits/string.h for now.
9375 * sysdeps/i386/Versions: Add inline functions from
9376 sysdeps/i386/bits/string.h.
9378 * string/Versions: Add inline functions from <bits/string2.h>.
9380 * string/Makefile (routines): Add string-inlines.
9381 * string/string-inlines.c: New file, used for implementation of
9382 extern inline functions.
9384 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
9385 non inlined versions of functions.
9386 * string/bits/string2.h: Likewise.
9387 * sysdeps/i386/bits/string.h: Likewise.
9389 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
9391 * inet/arpa/tftp.h: Add second packed attribute.
9393 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
9395 * malloc/malloc.c: Cleanup to bring in line with released
9396 stand-alone version `ptmalloc'. Update some comments.
9397 (internal_function): Move fallback definition so that the source
9398 compiles outside of libc, and use it in more places.
9399 (malloc_atfork): Fix when malloc_check is in use.
9401 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9403 * stdlib/tst-strtod.c: Fix typo.
9405 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9407 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
9408 const incorrectness.
9410 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
9412 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
9414 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
9416 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
9417 * sunrpc/key_call.c: Fix memory leak, close file handle.
9418 * nis/nis_creategroup.c: Use malloc instead of calloc,
9419 set ctime and mtime.
9420 * nis/nis_subr.c: Check for realloc result.
9421 * nis/nis_file.c: Fix memory leak.
9422 * nis/nis_table.c: Pretty print.
9423 * nis/nis_getservlist.c: Likewise.
9424 * nis/nis_ismember.c: Likewise.
9425 * nis/nis_lookup.c: Likewise.
9426 * nis/nis_ping.c: Likewise.
9427 * nis/nis_removemember.c: Likewise.
9428 * nis/nis_util.c: Likewise, check calloc result.
9430 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
9432 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
9433 * sysdeps/generic/sys/socketvar.h: ... here.
9434 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
9435 * sysdeps/generic/netinet/in_systm.h: ... here.
9436 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
9438 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
9439 * inet/Makefile (headers): Add netinet/in_systm.h here.
9440 * socket/Makefile (headers): Add sys/socketvar.h here.
9442 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
9444 * stdlib/strtol.c: Optimize inner loop of long long versions.
9446 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
9447 Unix98. Add forward declaration of struct utmp.
9449 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
9451 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
9454 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
9455 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
9456 memory allocation results.
9458 1999-05-14 Mark Kettenis <kettenis@gnu.org>
9460 * sysdeps/generic/getutmp.c: Include <string.h>
9461 (getutmp): Rewrite to only copy those members that are really
9462 present in `struct utmp'.
9463 * sysdeps/generic/getutmpx.c: Likewise.
9465 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
9467 * nss/getXXbyYY.c: Add free_mem function which disposes all
9468 statically allocated memory when debugging.
9469 * nss/getXXent.c: Likewise.
9470 * nss/nsswitch.c: Likewise.
9472 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
9474 * sysdeps/gnu/getutmpx.c: New file.
9475 * sysdeps/gnu/getutmp.c: New file.
9477 1999-05-13 H.J. Lu <hjl@gnu.org>
9479 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
9480 (getutmp): Likewise.
9482 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
9485 * sysdeps/gnu/utmpx.h (getutmp): Added.
9486 (getutmpx): Likewise.
9488 * sysdeps/generic/getutmp.c: New file.
9490 * sysdeps/generic/getutmpx.c: New file.
9492 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9494 * glibcbug.in (BUGGLIBC): Change address to
9495 libc-alpha@sourceware.cygnus.com.
9497 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9499 * resolv/arpa/nameser.h: Add C++ protectors.
9501 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9503 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
9504 Elad Tsur <eladts@post.tau.ac.il>.
9506 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
9508 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
9509 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
9510 lazily if LD_BIND_NOW is not set.
9511 * elf/dl-support.c (_dl_lazy): New variable.
9512 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
9513 * elf/rtld.c (_dl_lazy): new global variable.
9514 ( dl_main): Remove lazy, replace it by _dl_lazy.
9516 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9518 * locale/setlocale.c (new_composite_name): Check also whether the
9519 first category name differs.
9521 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9523 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
9526 1999-05-11 Philip Blundell <pb@nexus.co.uk>
9528 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
9529 structure; storage suitable for any socket address.
9530 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
9532 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
9533 sockaddr_storage): Likewise.
9535 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
9538 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
9540 * hesiod/Versions: Change _nss_hesiod_getpwuid and
9541 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
9542 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
9544 1999-05-09 Mark Kettenis <kettenis@gnu.org>
9546 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
9547 if the file is empty.
9549 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
9551 * elf/do-lookup.h: Fix typo in comment.
9553 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
9554 f_bsize to help some broken programs.
9556 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
9558 * stdio-common/vfprintf.c: Fix typo.
9560 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
9562 * elf/link.h (struct link_map): New field l_phdr_allocated.
9563 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
9564 the program header being part of any loaded segment. If it is not
9565 allocate memory and set l_phdr_allocated flag.
9566 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
9568 * nss/digits_dots.c: Correct return value interpretation of
9569 inet_ntoa. Fix PR libc/1109.
9571 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
9573 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
9575 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
9577 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
9578 * stdlib/fpioconst.c: Move #endif before end of struct.
9580 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
9582 * Versions.def (ld.so): Add GLIBC_2.1.1.
9583 * elf/Makefile (routines): Add dl-origin.
9584 (tests): Add origtest. Add dependencies for the program.
9585 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
9586 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
9587 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
9588 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
9589 DT_AUXILIARY, and DT_FILTER filenames.
9590 * elf/dl-load.c (expand_dynamic_string_token): Explode into
9591 two functions and three macros.
9592 (_dl_dst_count, _dl_dst_substitute): New functions.
9593 * elf/dl-dst.h: New file.
9594 * elf/dl-open.c (_dl_open): Take extra parameter with address of
9595 caller. Pass address in args structure.
9596 (dl_open_worker): Recognize and expand DSTs in filename.
9597 * elf/ldsodefs.h (_dl_open): Adapt prototype.
9598 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
9599 (__dlopen_check): Pass caller address to dlopen_doit in args.
9600 * elf/dlopendoit.c: Likewise.
9601 * iconv/gconv_dl.c: Adapt call of _dl_open.
9602 * nss/nsswitch.c: Likewise.
9603 * elf/origtest.c: New file.
9604 * sysdeps/generic/dl-origin.h: Moved to...
9605 * sysdeps/generic/dl-origin.c: ...here.
9606 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
9607 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
9609 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
9610 with specific bases and only few bits set in second word.
9612 * timezone/Makefile (install-others): Create target directory
9613 before creating tzfiles.
9615 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
9617 * nis/nis_file.c (readColdStartFile): Allocate memory only after
9618 the file is opened successfully.
9620 * nis/nis_table.c: Fix some memory leaks.
9622 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
9624 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
9627 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
9628 around DST. Correctly ignore ORIGIN IN SUID binaries.
9630 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
9632 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
9633 * sysdeps/generic/strtok.c: Likewise.
9635 * string/tester.c: Add test of rawmemchr.
9637 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
9638 specification. It's not necessary.
9640 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
9641 * elf/gen-trusted-dirs.awk: New file.
9642 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
9643 from SYSTEM_DIRS macro.
9644 (system_dirs_len): New variable. Contains lengths of system_dirs
9646 (fillin_rpath): Rewrite for systems_dirs being a simple string.
9647 Improve string comparisons. Change parameter trusted to be a flag.
9649 (_dt_init_paths): Improve using new format for system_dirs.
9651 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
9652 $ORIGIN for SUID binaries.
9654 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
9656 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9658 * sunrpc/Makefile: Generate dependencies for all flavors of
9660 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
9663 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9665 * elf/dlopenold.c: Move #if down after includes to get
9668 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9670 * sysdeps/generic/bzero.c: Undefine __bzero.
9672 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
9674 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
9675 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
9676 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
9677 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
9679 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
9680 parameter to struct gaih_servtuple *. Adapt appropriately.
9681 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
9682 This fixes a memory leak.
9683 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
9685 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
9686 and fpregset_t definition. They are defined in ucontext.h.
9688 1999-04-14 Scott Bambrough <scottb@netwinder.org>
9690 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
9691 and struct ether_header must be packed on the ARM. The default
9692 alignment constraints add padding to the end of the structures.
9694 1999-04-14 Scott Bambrough <scottb@netwinder.org>
9696 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
9697 default alignment constraints add padding to the end of the
9698 structure and between members.
9700 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
9702 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
9703 _dl_cache_libcmp instead of strcmp.
9705 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
9707 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
9709 1998-03-30 Joel Klecker <espy@debian.org>
9711 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
9712 (sysdep-others,install-bin): Add lddlibc4.
9714 1999-05-02 H.J. Lu <hjl@gnu.org>
9716 * timezone/zic.c (dolink): Remove the symlink destination first.
9718 * catgets/open_catalog.c (__open_catalog): Set catalog->status
9719 to "nonexisting" if failed to open the file.
9721 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
9723 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
9726 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
9727 Prevent warnings from multiplication with 0x01010101 by another cast.
9729 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9731 * string/bits/string2.h (memset): Revert to previous version if
9732 unaligned writes are not available.
9734 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
9736 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
9737 better code in presence of the asm.
9739 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9741 * stdlib/fmtmsg.c (keywords): Increase array size for faster
9744 * locale/localeinfo.h (_nl_category_names): Increase array element
9745 size for faster indexing.
9746 * locale/setlocale.c (_nl_category_names): Adjusted.
9748 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9750 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
9752 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9754 * sysdeps/m68k/stackinfo.h: New file.
9756 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
9758 * string/tester.c (test_strchrnul): New function.
9759 (test_memset): Test one more special case.
9761 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
9764 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
9767 * string/bits/string2.h: Fix bugs I introduced in last change.
9769 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
9771 Extend memset optimization.
9772 Correct i686 version of memchr.
9774 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
9776 * sysdeps/i386/bzero.c: Add #undef __bzero.
9778 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
9779 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
9780 exec server simulated a SIGTRAP before we even started up, so gdb is
9783 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
9785 * nss/digits_dots.c: Always initialize not_ok.
9787 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
9789 * string/bits/string2.h (memset): Avoid arithmetic overflow at
9790 compile time, which produces obnoxious warnings. If GCCv2 is
9791 in use, map __bzero to __builtin_memset to enable that
9794 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
9796 * string/bits/string2.h: Add more memset optimizations.
9798 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
9800 * resolv/inet_pton.c (inet_pton4): Little optimizations.
9801 (inet_pton6): Likewise.
9803 * nss/getXXbyYY_r.c: Include assert.h.
9804 * nss/getXXbyYY.c: Likewise.
9806 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9808 * termios/tcgetsid.c (tcgetsid): Rename variable to
9809 tiocgsid_does_not_work.
9811 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
9813 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
9815 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9817 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
9818 This allows e.g. gethostbyname to accept "10.1234".
9819 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
9821 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
9822 non quad IPv4 numbers.
9824 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9826 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
9828 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
9830 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
9831 * argp/argp-parse.c (_argp_hang): Likewise.
9832 * argp/argp-pv.c (argp_program_version): Likewise.
9833 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
9834 * inet/ether_hton.c (ether_hton, startp): Likewise.
9835 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
9836 * inet/getnetgrent_r.c (setup, startp): Likewise.
9837 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
9838 * intl/localealias.c (string_space, string_space_act, string_space_max,
9839 nmap, maxmap): Likewise.
9840 * libio/iopopen.c (proc_file_chain): Likewise.
9841 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
9842 * locale/lc-collate.c (__collate_table, __collate_extra,
9843 __collate_element_hash, __collate_element_strings,
9844 __collate_element_values): Likewise.
9845 * malloc/mcheck.c (mcheck_used): Likewise.
9846 * malloc/mtrace.c (added_atexit_handler): Likewise.
9847 * malloc/set-freeres.c (already_called): Likewise.
9848 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
9849 * misc/syslog.c (LogStat, LogTag): Likewise.
9850 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
9851 * nss/getXXbyYY_r.c (startp): Likewise.
9852 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
9853 * posix/regex.c (init_syntax_once) [done]: Likewise.
9855 * string/strfry.c (init): Likewise.
9856 * sunrpc/svc_run.c (svc_top): Likewise.
9857 * posix/euidaccess.c (have_ids): Likewise.
9858 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
9859 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
9860 * time/getdate.c (getdate_err): Likewise.
9861 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
9863 * time/tzset.c (old_tz, is_initialized): Likewise.
9865 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
9866 of static data with zero.
9867 * signal/allocrtsig.c (init): Likewise.
9869 * string/Makefile (routines): Add strchrnul.
9870 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
9871 * string/string.c: Add strchrnul prototype.
9872 * include/string.h: Add __strchrnul prototype.
9873 * sysdeps/generic/strchrnul.c: New file.
9874 * sysdeps/i386/strchrnul.S: New file.
9875 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
9876 * sysdeps/i386/i486/bits/string.c: Likewise.
9877 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
9878 * inet/ether_line.c (ether_line): Likewise.
9879 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
9880 * nss/nsswitch.c (nss_parse_file): Likewise.
9881 * posix/execvp.c (execvp): Likewise.
9882 * posix/fnmatch.c (internal_fnmatch): Likewise.
9883 * resolv/res_hconf.c (_res_hconv_init): Likewise.
9884 * resolv/res_init.c (res_init): Likewise.
9885 * stdlib/fmtmsg.c (init): Likewise.
9886 * stdlib/getsubopt.c (getsubopt): Likewise.
9888 * catgets/catgets.c (catopen): Only allocate one memory block.
9889 (catclose): Only one free call necessary.
9891 * catgets/open_catalog.c (__open_catalog): Simplify handling of
9894 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
9895 of real functions. Simplify _tolower and _toupper.
9897 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
9900 * iconv/gconv.h (struct gconv_info): Change data element from pointer
9902 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
9903 * iconv/gconv_close.c (__gconv_close): Don't free data.
9905 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
9908 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
9909 for error while inserting in tree.
9911 * include/time.h: Pretty print.
9913 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
9914 in table and lots of relocations.
9915 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
9916 string pointers in table and lots of relocations.
9918 * intl/finddomain.c: Remove definition of strchr macro.
9920 * io/ftw.c (nftw_arr, ftw_arr): Make const.
9922 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
9924 * locale/localeinfo.h (_nl_category_names): Change into an array with
9925 fixed width char string elements.
9926 * locale/setlocale.c (_nl_category_names): Likewise.
9927 (_nl_current): Make global.
9928 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
9930 * malloc/Makefile (distribute): Add stackinfo.h.
9931 * sysdeps/generic/stackinfo.h: New file.
9932 * sysdeps/i386/stackinfo.h: New file.
9933 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
9934 * posix/execle.c: Likewise.
9935 * posix/execlp.c: Likewise.
9937 * nis/nis_table.c (__create_ib_request): Always use realloc.
9939 * posix/execvp.c (execute): Rename to script_execute and keep only
9940 code to execute using shell.
9941 (execvp): Call execv directly and only fall back on script_execute.
9943 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
9944 and always use xdigits instead.
9946 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
9949 * stdlib/fpioconst.h (__tens): New declaration.
9950 (struct mp_power): Remove array, add arrayoff element.
9951 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
9952 __tens array and add in _fpioconst_pow10 offsets into __tens.
9953 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
9954 * stdlib/strtod.c: Likewise.
9956 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
9958 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
9960 * stdlib/atexit.c (__exit_funcs): Don't initialize.
9962 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
9964 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
9965 a single and an array with offsets.
9967 * sunrpc/des_soft.c (partab): Make it const.
9969 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
9970 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
9971 (__key_decryptsession_pk_LOCAL): Likewise.
9972 (__key_gendes_LOCAL): Likewise.
9973 (MESSENGER): Mark const.
9974 (key_call_private_main): Don't initialize with 0.
9975 (use_keyenvoy): Don't initialize with 0.
9976 (key_call): Rewrite to reverse logic of use_doors variable.
9978 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
9979 (startp): Don't initialize with zero.
9981 * sunrpc/openchild.c (_openchild): Make first argument const.
9983 * sunrpc/pmap_rmt.c (timeout): Mark const.
9984 * sunrpc/xcrypt.c (hex): Likewise.
9986 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
9987 initialization of global variables.
9988 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
9989 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9990 * termios/tcgetsid.c: Likewise.
9992 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
9995 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
9996 block. Add function to free memory if wanted.
9997 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
9999 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
10001 * wcsmbs/wmemset.c: Little code optimization.
10003 1999-04-23 Paul Eggert <eggert@twinsun.com>
10005 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
10008 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
10010 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
10011 implementation and just always fail with ENOSYS. This entry point is
10012 obsolete. Add link warning to that effect.
10014 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
10016 * hurd/get-host.c: Include <hurd/lookup.h>.
10018 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
10020 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
10023 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10025 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
10026 ISO C9x and Unix98.
10028 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
10030 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
10031 Patch by Peter Miller <millerp@canb.auug.org.au>.
10033 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
10035 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
10036 prefers loopback device.
10038 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
10040 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
10041 no_leading_period change.
10043 * posix/testfnm.c: More test cases.
10045 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
10047 * include/dirent.h: Remove __getdirentries declaration, add __getdents
10049 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
10050 * sysdeps/unix/readdir_r.c: Likewise.
10051 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10052 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
10053 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
10054 __getdirentries. Remove fourth argument.
10055 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
10056 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
10057 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
10058 Add getdirentries and getdirentries64.
10059 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
10061 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
10062 pointer in case of an invalid [[: expression.
10064 * posix/testfnm.c: Add more test cases.
10066 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
10068 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
10069 set, pass EXEC_SIGTRAP flag in exec RPC.
10071 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
10073 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
10074 extra parameter. Fix several more bugs involving wildcard and
10076 (fnmatch): New function. Call internal_fnmatch.
10078 * posix/testfnm.c: More test cases.
10080 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10082 * manual/install.texi (Configuring and compiling): Explain that
10083 files are changed in the source directory.
10084 Closes PR libc/981.
10085 (Configuring and compiling): Explain situation with PARALLELMFLAGS
10086 in the source directory.
10088 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10090 * locale/programs/ld-ctype.c: Spelling fixes.
10091 (ctype_finish): Fix argument of error message format.
10092 * locale/programs/ld-messages.c: Spelling fixes.
10093 * locale/programs/ld-monetary.c: Spelling fixes.
10094 * locale/programs/ld-time.c (time_finish): Make sure that name and
10095 format of era_entries are adjacent.
10096 (time_output): Reduce the size of the io vector.
10098 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10100 * manual/filesys.texi (Attribute Meanings): Move a misplaced
10103 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10105 * locale/programs/ld-collate.c (collate_output): Convert
10106 undefined_offset to an array index. Fix computation of other
10107 endian extra table.
10109 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
10111 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
10112 return success with empty value.
10114 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
10116 * posix/fnmatch.c: Include string.h also for glibc.
10117 (fnmatch, case '?'): Optimize if cascades a bit.
10118 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
10120 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
10122 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
10124 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
10125 * iconv/gconv_int.h: Declare UTF16 functions.
10126 * iconv/gconv_simple.c: Add UTF16 conversion functions.
10128 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10130 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
10131 be used correctly as parameter for parse_dollars/parse_tilde.
10133 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10135 * manual/conf.texi (Utility Limits): Remove duplicate description
10138 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
10140 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
10141 outbufend for dst==NULL.
10143 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
10145 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
10147 Fixes PR libc/1084.
10149 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
10150 Fixes PR libc/1083.
10152 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
10154 * sunrpc/Makefile: Remove special handling of bootparam.x,
10155 add rpcsvc/bootparam.h to headers.
10156 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
10157 * sunrpc/rpcsvc/bootparam.x: Renamed to...
10158 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
10160 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
10162 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
10163 detect and handle invalid descriptors.
10165 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
10167 * timezone/zic.c (dolink): Append complete path not only filename
10170 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10172 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
10174 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
10176 * iconvdata/gconv-modules: Rename CP874 to IBM874.
10177 * iconvdata/Makefile: Likewise.
10178 * iconvdata/cp874.h: Removed.
10179 * iconvdata/cp874.c: Renamed to...
10180 * iconvdata/ibm874.c: ...this.
10182 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
10184 * sysdeps/unix/sysv/linux/bits/types.h: Correct
10185 signed/unsigned-ness of blkcnt and fsblkcnt.
10186 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10187 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
10189 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
10190 SOL_AAL, and SOL_IRDA.
10192 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10194 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
10195 include "linux_fsinfo.h".
10196 Based on a patch by H.J. Lu <hjl@gnu.org>.
10198 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
10200 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
10202 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
10204 * nscd/cache.c (prune_cache): Only disable file checking for
10205 future if the file does not exist.
10206 Update file_mtime if cache was flushed.
10208 1999-04-15 David S. Miller <davem@redhat.com>
10210 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
10211 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
10213 1999-04-15 Scott Bambrough <scottb@netwinder.org>
10215 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
10216 compilation of file.
10218 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
10220 * Versions.def: Add GLIBC_2.1.1 to libpthread.
10222 * iconvdata/Makefile (modules): Add KOI8-U.
10223 (distribute): Add koi8-u.c.
10224 (gen-8bit-gap-modules): Add koi8-u.
10225 * iconvdata/gconv-modules: Add KOI8-U entries.
10226 * iconvdata/koi8-u.c: New file.
10228 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
10230 * sunrpc/auth_des.c: 64bit fixes, security fixes.
10231 * sunrpc/auth_none.c: Pretty print.
10232 * sunrpc/auth_unix.c: Likewise.
10233 * sunrpc/authdes_prot.c: Likewise.
10234 * sunrpc/authuxprot.c: Likewise.
10235 * sunrpc/bindrsvprt.c: Likewise.
10236 * sunrpc/clnt_gen.c: Likewise.
10237 * sunrpc/rpc/xdr.h: Likewise.
10238 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
10239 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
10240 * sunrpc/rtime.c: Use new rpc_timeval.
10241 * sunrpc/svc_authux.c: Don't use *long pointers.
10242 * sunrpc/svcauth_des.c: Likewise + security fixes.
10243 * sunrpc/xdr_mem.c: Don't use *long pointers.
10244 * sunrpc/xdr_rec.c: Likewise.
10245 * sunrpc/xdr_sizeof.c: Likewise.
10246 * sunrpc/xdr_stdio.c: Likewise.
10248 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
10250 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
10251 so that it is redone for each sending.
10253 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10255 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
10257 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
10259 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
10260 known to not exist don't try to load shared objects.
10261 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
10263 * nscd/cache.c (prune_cache): The table might not be unused. In
10264 this case do nothing.
10266 * catgets/gencat.c (read_input_file): Don't drop white spaces
10267 between number/identifier and string.
10268 Patch by Dima Barsky <dima@pwd.hp.com>.
10269 If no white space at all follows number/identifier remove existing
10270 message with the number/identifier.
10272 1999-04-14 H.J. Lu <hjl@gnu.org>
10274 * sunrpc/clnt_udp.c (is_network_up): New function.
10275 (clntudp_call): Call is_network_up () to check if any network
10276 interface is up in case of timeout.
10278 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10280 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
10281 * wctype/Makefile (tests): Add test_wcfuncs.
10283 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
10285 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
10287 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
10289 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
10290 instead of CFLAGS. For gnulib and string directories use
10291 -Wa,-Av9a gcc ASFLAGS.
10292 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
10293 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
10294 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
10295 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
10296 the same way as sparc-*.
10298 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
10300 * locale/programs/locfile.c (locfile_read): Fix typo.
10301 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
10303 1999-04-14 Scott Bambrough <scottb@netwinder.org>
10305 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
10306 restarted after being interrupted by a signal. The parameters on
10307 the stack were corrupted by the signal handler.
10309 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
10310 restarted after being interrupted by a signal. The parameters on
10311 the stack were corrupted by the signal handler.
10313 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10315 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
10316 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
10318 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
10320 * posix/wordexp-test.c: In field-splitting test cases where
10321 subshells were involved, unset IFS first: some shells (ash) use
10322 IFS even when no expansion is performed.
10324 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10326 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
10327 the real end of the chunk, not some random point inbetween.
10328 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
10329 obstack when growing. Use fast version of obstack_blank when
10331 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
10332 allocating the vtable pointer.
10333 (_IO_obstack_vprintf): Adjust for above change and avoid
10334 unnecessary casts. Use fast version of obstack_blank when
10336 Fixes PR libc/1075.
10338 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
10340 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
10341 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
10343 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
10345 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
10346 is seen, as well as fixing semantics. Don't reset the word count
10347 to zero when an invalid character is seen, but leave it as it was
10348 (this makes a difference with WRDE_APPEND).
10350 * posix/wordexp-test.c: More test cases.
10352 * posix/wordexp.c (parse_param): In words like ${var#pattern},
10353 always expand pattern when it is needed. Also, handle quoting in
10356 1999-04-12 Philip Blundell <philb@gnu.org>
10358 * elf/elf.h: Update ARM definitions to match current gas2.
10360 * sysdeps/arm/bits/endian.h: Support big endian operation.
10362 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
10363 Don't bother range checking the port number.
10365 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
10367 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
10368 the syscall name in assembler output for ease of debugging.
10370 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
10371 compiler behaviour.
10372 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
10373 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
10374 (sysdep_routines): Add sigrestorer.
10376 * string/tester.c (test_strcpy): Add new tests for unaligned
10378 * sysdeps/arm/bits/string.h: Delete inline implementations of
10381 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
10383 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
10385 1999-04-10 Mark Kettenis <kettenis@gnu.org>
10387 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
10389 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
10391 * iconvdata/Makefile (modules): Add TIS-620.
10392 (distribute): Add tis-620.c.
10393 (gen-8bit-gap-modules): tis-620.
10394 * iconvdata/tis-620.c: New file.
10395 * iconvdata/gconv-modules: Add TIS-620 entries.
10397 * iconvdata/asmo_449.c: Correct comment.
10399 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10401 * manual/install.texi (Configuring and compiling): Comment out
10402 description of --disable-static since this doesn't work currently
10403 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
10405 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
10407 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
10409 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
10411 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10413 * scripts/test-installation.pl (installation_problem): Skip
10414 libnss1_* libraries from glibc-compat add-on.
10416 1999-04-07 H.J. Lu <hjl@gnu.org>
10418 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
10420 * posix/Versions (__waitpid): Likewise.
10422 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10424 * manual/install.texi (Reporting Bugs): Add section about reported
10425 bugs and correct email address of glibcbug script.
10427 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
10429 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
10430 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
10431 xdr_u_longlong_t. Based on patch from Dan Shechter
10432 <damageboy@isdn.net.il>.
10433 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
10434 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
10436 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
10438 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10440 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
10441 directly if getdents returns with error set.
10443 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10445 * locale/langinfo.h (THOUSEP): Rename second occurence of
10446 THOUSANDS_SEP to THOUSEP.
10447 Reported by Roman Belenov <roman@nstl.nnov.ru>.
10449 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
10451 * hurd/STATUS: File removed. Moved items that are still relevant into
10452 TODO list in hurd source.
10454 1999-03-26 Mark Kettenis <kettenis@gnu.org>
10456 * sysdeps/mach/hurd/bits/time.h: New file.
10457 * sysdeps/mach/hurd/getrusage.c: New file.
10458 * sysdeps/mach/hurd/clk_tck.c: New file.
10459 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
10460 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
10461 (sysdep_routines): Add clk_tck.
10462 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
10465 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
10467 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
10468 (closelog): But instead here.
10469 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
10471 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10473 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
10474 the source directory. Fixes PR libc/1059.
10476 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10478 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
10479 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10481 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
10483 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
10484 * iconvdata/testdata/ISO-8859-14: New file.
10485 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
10486 * iconvdata/testdata/ISO-8859-15: New file.
10487 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
10489 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
10491 * iconvdata/testdata/CP1258: New file.
10492 * iconvdata/testdata/CP1258..UTF8: New file.
10493 * iconvdata/TESTS: Add CP1258 entry.
10495 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
10497 * timezone/africa: Update from tzdata1999d.
10498 * timezone/europe: Likewise.
10499 * timezone/northamerica: Likewise.
10501 1999-03-31 Mark Kettenis <kettenis@gnu.org>
10503 * login/programs/pt_chown.c (main): Save effective user ID before
10504 dropping priviliges and use this to check if the program is
10505 properly installed.
10507 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
10509 * iconvdata/testdata/CP1254: Update for charmap changes.
10510 * iconvdata/testdata/CP1254..UTF8: Likewise.
10511 * iconvdata/testdata/CP1255: Likewise.
10512 * iconvdata/testdata/CP1255..UTF8: Likewise.
10513 * iconvdata/testdata/CP1256: Likewise.
10514 * iconvdata/testdata/CP1256..UTF8: Likewise.
10515 * iconvdata/testdata/CP1257: Likewise.
10516 * iconvdata/testdata/CP1257..UTF8: Likewise.
10518 * iconvdata/Makefile (distribute): Remove cp1258.h.
10519 (gen-8bit-gap-modules): Add cp1258.
10520 * iconvdata/cp1258.h: Removed.
10522 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
10524 * timezone/tst-timezone.c (tests): Add more cases.
10525 (check_tzvars): Mark errors clearer.
10528 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
10530 * login/programs/pt_chown.c: Drop privileges if invoked with
10531 arguments. Don't close the master pty.
10533 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
10535 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
10536 Minor optimization.
10538 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
10540 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
10541 relocation for SUID binaries.
10543 1999-03-29 Paul Eggert <eggert@twinsun.com>
10545 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
10546 while in child process.
10548 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
10550 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
10551 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
10552 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
10553 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
10554 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
10556 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
10557 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
10558 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
10559 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
10560 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
10561 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
10562 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
10563 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
10564 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
10565 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
10566 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
10567 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
10568 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
10569 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
10570 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
10571 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
10572 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
10573 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
10574 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
10575 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
10576 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
10577 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
10578 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
10579 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
10580 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
10581 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
10583 * sysdeps/sparc/sparc32/bcopy.c: New file.
10584 * sysdeps/sparc/sparc32/bzero.c: New file.
10585 * sysdeps/sparc/sparc32/memchr.S: New file.
10586 * sysdeps/sparc/sparc32/memcpy.S: New file.
10587 * sysdeps/sparc/sparc32/memmove.c: New file.
10588 * sysdeps/sparc/sparc32/memset.S: New file.
10589 * sysdeps/sparc/sparc32/stpcpy.S: New file.
10590 * sysdeps/sparc/sparc32/strchr.S: New file.
10591 * sysdeps/sparc/sparc32/strrchr.c: New file.
10592 * sysdeps/sparc/sparc32/strcpy.S: New file.
10593 * sysdeps/sparc/sparc32/strlen.S: New file.
10594 * sysdeps/sparc/sparc32/strcat.S: New file.
10595 * sysdeps/sparc/sparc32/strcmp.S: New file.
10597 * sysdeps/sparc/sparc64/bcopy.c: New file.
10598 * sysdeps/sparc/sparc64/bzero.c: New file.
10599 * sysdeps/sparc/sparc64/memchr.S: New file.
10600 * sysdeps/sparc/sparc64/memcmp.S: New file.
10601 * sysdeps/sparc/sparc64/memcpy.S: New file.
10602 * sysdeps/sparc/sparc64/memset.S: New file.
10603 * sysdeps/sparc/sparc64/stpcpy.S: New file.
10604 * sysdeps/sparc/sparc64/strcat.S: New file.
10605 * sysdeps/sparc/sparc64/strchr.S: New file.
10606 * sysdeps/sparc/sparc64/strcmp.S: New file.
10607 * sysdeps/sparc/sparc64/strcpy.S: New file.
10608 * sysdeps/sparc/sparc64/strcspn.S: New file.
10609 * sysdeps/sparc/sparc64/strlen.S: New file.
10610 * sysdeps/sparc/sparc64/strncpy.S: New file.
10611 * sysdeps/sparc/sparc64/strpbrk.S: New file.
10612 * sysdeps/sparc/sparc64/strrchr.c: New file.
10613 * sysdeps/sparc/sparc64/strspn.S: New file.
10614 * sysdeps/sparc/sparc64/stpncpy.S: New file.
10615 * sysdeps/sparc/sparc64/strncmp.S: New file.
10617 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
10618 Append -fPIC, don't replace.
10620 * configure.in: Recognize sparcv8plus / sparcv9.
10622 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10624 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
10625 char * to avoid C++ warning.
10626 Patch by yasushi@cs.washington.edu [PR libc/1035].
10628 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10630 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
10631 declared in stdlib.h, correct return value of mkstemp.
10632 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
10634 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
10637 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10639 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
10642 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
10643 inline functions. Closes PR libc/1049.
10645 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10647 * timezone/README: Update from tzdata1999c and tzcode1999c.
10649 * timezone/africa: Update from tzdata1999c.
10650 * timezone/antarctica: Likewise.
10651 * timezone/asia: Likewise.
10652 * timezone/australasia: Likewise.
10653 * timezone/europe: Likewise.
10654 * timezone/northamerica: Likewise.
10655 * timezone/southamerica: Likewise.
10656 * timezone/zone.tab: Likewise.
10658 * timezone/zic.c: Update from tzcode1999c.
10660 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10662 * Makerules: Add $(common-objpfx)Versions.all to common-generated
10663 outside of ifndef avoid-generated.
10665 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
10667 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
10669 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
10671 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
10672 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
10674 1999-03-26 Mark Kettenis <kettenis@gnu.org>
10676 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
10677 if we build the profiled library.
10679 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10681 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
10682 Jaeger <aj@arthur.rhein-neckar.de>
10684 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
10686 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
10687 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
10688 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
10690 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
10692 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
10693 works properly in subdirs.
10695 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
10697 * sysdeps/mach/hurd/Makefile: Undo last change.
10698 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
10699 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
10701 * mach/Machrules (+preinit, +postinit, +interp,
10702 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
10703 linked just like other shared libraries.
10704 (interface.so): Fix typo in defn, so it works.
10705 ($(objpfx)$(interface.so)): Make it depend on libc.so.
10707 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
10709 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
10710 $(link-rpcuserlibs).
10712 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10714 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
10715 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
10716 targets if not building shared libraries.
10718 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10720 * configure.in: Also look in $PATH when searching for
10721 install-info. Remove autoconf bug workaround and require autoconf
10724 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10726 * db/Makefile: Don't try to install shared library link if not
10727 building with shared libs.
10729 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10731 * rt/Makefile: Link against static library if no shared lib is
10734 * localedata/Makefile: The shells scripts implementing the test
10735 require the dynamic linker which is not available with
10736 --disable-shared. Skip the test if --disable-shared is given.
10738 * linuxthreads/Makefile: Link test against static libpthread if no
10739 shared lib is available.
10741 * iconvdata/Makefile (tests): Run iconv-test only if we're
10742 building shared libraries.
10743 * elf/Makefile (tests): Likewise for elf tests.
10745 * posix/Makefile: The test frameworks globtest and wordexp-test
10746 require the dynamic linker which is not available with
10747 --disable-shared. Skip the test if --disable-shared is given.
10749 * grp/Makefile (otherlibs): For static nss build link against
10752 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10754 * debug/Makefile (install-bin): Install and build catchsegv only
10755 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
10758 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10760 * time/tzfile.c (__tzfile_read): Handle the case where there are
10761 transitions but no DST.
10763 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
10765 * mach/Machrules (extra-libs-others): Add $(interface-library) here
10766 too, so it gets built in the others pass rather than the lib pass.
10767 This is necessary since the RPC libraries need to be linked against
10770 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
10772 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
10775 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
10776 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
10777 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
10778 versions of lib{mach,hurd}user.so without reference to libc.so,
10779 then link libc.so against that to get deps and symbol versions, then
10780 finally link real lib*user.so against libc.so.
10782 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
10783 Support whole-file locking (only) by using the file_lock RPC. This
10784 has very wrong semantics, but is better than nothing for the time
10785 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
10786 protocols that will be somewhat hairy to specify.)
10788 1999-03-17 Mark Kettenis <kettenis@gnu.org>
10790 * sysdeps/mach/hurd/ptsname.c: New file.
10792 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10794 * timezone/asia: Fix rule in Asia/Nicosia entry.
10796 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10798 * manual/getopt.texi (Using Getopt): Explain "::" in option
10799 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
10801 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
10803 * sunrpc/clnt_unix.c: Fix creation of parameters for
10804 sendmsg/recvmsg on non intel platforms.
10805 * sunrpc/svc_unix.c: Likewise.
10807 1999-03-18 Philip Blundell <philb@gnu.org>
10809 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
10812 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10814 * timezone/africa: Update from tzdata1999b.
10815 * timezone/asia: Likewise.
10816 * timezone/australasia: Likewise.
10817 * timezone/europe: Likewise.
10818 * timezone/northamerica: Likewise.
10819 * timezone/southamerica: Likewise.
10820 * timezone/zone.tab: Likewise.
10822 * timezone/README: Mention tzdata1999b.
10824 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
10826 * sysdeps/generic/segfault.c (write_strsignal): New function.
10827 (catch_segfault): Use it instead of calling strsignal.
10829 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10831 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
10832 char to avoid warning.
10834 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
10836 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
10838 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
10839 outbuf to unsigned char to avoid warning.
10841 1999-03-11 David S. Miller <davem@redhat.com>
10843 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
10845 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
10847 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
10849 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
10851 (gconv_step_data): Likewise.
10852 * iconv/gconv_int.h (__gconv): Likewise.
10853 (__BUILINT_TRANS): Likewise.
10854 * iconv/gconv.c (__gconv): Likewise.
10855 * iconv/iconv.c (iconv): Add casts for call of __gconv.
10856 * iconv/skeleton.c: Change local parameters and variable from `char' to
10857 `unsigned char'. Remove casts from calls into modules.
10858 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
10859 `char' to `unsigned char'.
10860 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
10861 * wcsmbs/mbrtowc.c: Likewise.
10862 * wcsmbs/mbsnrtowcs.c: Likewise.
10863 * wcsmbs/mbsrtowcs.c: Likewise.
10864 * wcsmbs/wcrtomb.c: Likewise.
10865 * wcsmbs/wcsnrtombs.c: Likewise.
10866 * wcsmbs/wcsrtombs.c: Likewise.
10867 * wcsmbs/wctob.c: Likewise.
10869 1999-03-15 Mark Kettenis <kettenis@gnu.org>
10871 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
10872 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
10873 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
10874 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
10875 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
10876 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
10878 1999-03-15 Mark Kettenis <kettenis@gnu.org>
10880 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
10881 _hurd_select if TIMEMOUT is -1.
10883 1999-03-15 Mark Kettenis <kettenis@gnu.org>
10885 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
10887 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
10889 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
10890 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
10892 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10894 * manual/libc.texinfo: Undo last change for now.
10896 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
10898 * intl/locale.alias: Add entries for Croatian.
10899 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
10901 1999-03-13 Mark Kettenis <kettenis@gnu.org>
10903 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
10904 if the opened master pty really is a pty. `isatty' checks for
10905 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
10906 if we are out of pty's.
10908 1999-03-13 Mark Kettenis <kettenis@gnu.org>
10910 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
10911 opened file is closed on exec.
10912 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
10915 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10917 * manual/llio.texi (File Position Primitive): Reformat @end
10918 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
10920 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
10922 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
10924 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10925 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
10927 * locale/programs/localedef.c (main): Initialize `cat' to please
10930 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
10932 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
10933 check for root-owned symlinks and reject them too.
10935 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10937 * stdio-common/printf_fphex.c: Move to ...
10938 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
10939 extended precision number.
10940 * sysdeps/m68k/printf_fphex.c: New file.
10942 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10944 * manual/stdio.texi: Fix typos.
10946 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
10948 * version.h (VERSION): Bump to 2.1.1.
10950 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
10952 * nis/ypclnt.c: Try only twice to connect to NIS server.
10954 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
10956 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
10958 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10960 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
10961 (DENORM_EXP): New define. Use it as the exponent for a denormal.
10962 * stdlib/strtold.c: Moved to ...
10963 * sysdeps/generic/strtold.c: ... here.
10964 * sysdeps/m68k/strtold.c: New file.
10966 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10968 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
10969 point if the precision is zero, even if the mantissa is non-zero.
10971 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
10973 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
10974 arguments into the request message buffer inside `send_rpc'
10975 subfunction. We must repeat the marshalling when retrying the RPC
10976 after a SIGTTOU delivery.
10978 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
10979 path when there is no ctty port.
10980 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
10981 Move sigstate check inside loop so we recheck after handling a signal.
10983 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10985 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
10986 O_EXLOCK are BSD extensions.
10987 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
10989 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
10991 * manual/signal.texi (Termination in Handler): Correct example.
10992 Install default handler before reraising the signal.
10993 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
10995 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
10997 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
10998 null, in which case send an empty string.
11000 1999-03-02 Mark Kettenis <kettenis@gnu.org>
11002 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
11003 backward compatibility EH functions to be linked when using
11004 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
11006 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11008 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
11009 /dev/pts status may change during runtime.
11011 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11013 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
11014 change. /dev/pts status can change during runtime.
11016 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
11018 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
11019 poll reports error.
11020 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
11021 add some more sanity checks.
11022 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
11025 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
11027 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
11028 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
11029 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
11030 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
11031 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
11033 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
11034 * nis/nis_print.c: Fix ctime argument for platforms where
11035 sizeof (time_t) != sizeof (int).
11037 1999-03-07 Mark Kettenis <kettenis@gnu.org>
11039 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
11040 CLOCKS_PER_SEC instead of CLK_TCK.
11042 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
11044 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
11045 whether /dev/pts is available.
11046 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
11049 * posix/globtest.sh: Make common_objpfx path absolute and and db2
11050 and hesiod directory to library path [PR libc/1007].
11052 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11054 * resolv/inet_addr.c (inet_aton): Don't allow componets >
11055 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
11057 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
11059 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
11060 DT_PLTGOT has already been relocated.
11061 (__elf_machine_fixup_plt): Likewise.
11064 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
11066 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
11068 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
11070 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
11071 and fold string to uppercase [PR libc/1005].
11073 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11075 * elf/dl-load.c (lose): Fix return type.
11077 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
11079 * sysdeps/mach/hurd/bits/fcntl.h
11080 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
11081 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
11082 set O_NOTRANS as well.
11083 (__hurd_file_name_lookup_retry): At successful end of lookup,
11084 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
11085 it is a translated node not owned by root.
11086 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
11087 on the file name passed to LOOKUP.
11089 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
11091 * manual/time.texi (High Resolution Timer): Correct computation in
11092 example. Reported by jjf@devel.cemsys.com.
11094 1999-03-02 Philip Blundell <pb@nexus.co.uk>
11096 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
11097 entry is already relocated.
11099 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11101 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
11102 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
11104 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11106 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
11107 uc_link which is the right name according to Unix98.
11108 Reported by Craig Metz [PR libc/1001].
11109 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
11110 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
11111 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
11112 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
11113 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise.
11114 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
11116 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11118 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
11121 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11123 * iconvdata/Makefile: Always include iconv-rules, but disable rule
11124 to regenerate it if avoid-generated.
11126 * Makeconfig: Always include sys-dirs, but disable rule to
11127 regenerate it when avoid-generated.
11129 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
11130 rule to generate sysd-syscalls.
11132 * elf/Makefile (generated): Remove $(objpfx) from names.
11134 1999-02-28 Mark Kettenis <kettenis@gnu.org>
11136 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
11137 actual length if the adress length is smaller than the input
11138 value. Change type of *LEN paramater to socklen_t.
11139 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
11140 * sysdeps/mach/hurd/accept.c (accept): Likewise.
11141 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
11142 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
11143 paramater to socklen_t.
11145 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
11147 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
11148 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
11151 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
11153 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
11154 __get_phys_pages): Cast &HBI to silence warning.
11156 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
11157 * hurd/hurdchdir.c: New file.
11158 * hurd/hurdfchdir.c: New file.
11159 * sysdeps/mach/hurd/chroot.c: Call
11160 _hurd_change_directory_port_from_name to do the work.
11161 * sysdeps/mach/hurd/chdir.c: Likewise.
11162 * sysdeps/mach/hurd/fchdir.c: Call
11163 _hurd_change_directory_port_from_fd to do the work.
11164 * hurd/fchroot.c: Likewise.
11165 * hurd/hurd.h: Declare them.
11167 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
11169 * elf/dl-load.c (lose): Add more comments to explain the `why'.
11170 (_dl_map_object): Remove redundant test.
11172 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
11174 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
11175 try to _hurd_port_free a lower-numbered descriptor that was not in any
11178 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11180 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
11181 declaration for ____wcstod_l_internal.
11183 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
11184 __strtod_internal prototype.
11185 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
11186 (____strtold_l_internal): Add prototype declaration.
11187 (__strtold_l): Call correct function.
11189 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
11191 * elf/elf.h: Add 32bit HPPA definitions.
11193 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11195 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
11196 non-checked heap is restored when malloc checking was requested by
11198 (struct malloc_state): Add using_malloc_checking.
11199 (MALLOC_STATE_VERSION): Increment minor.
11200 (using_malloc_checking, disallow_malloc_check): New variables.
11201 (__malloc_check_init): Use them.
11202 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
11203 that it can the chunk is properly instrumented when malloc
11204 checking is enabled. Set the new using_malloc_checking field.
11205 (malloc_hook_ini): Correct signature when _LIBC is not defined.
11207 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11209 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
11210 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
11213 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
11214 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
11215 if ld.so is the main program.
11217 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
11219 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
11220 large for work_buffer, allocate new buffer.
11221 (printf_unknown): Likewise. [PR libc/988]
11223 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
11225 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
11226 instead of stat and fstat.
11227 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11229 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11231 * elf/dl-error.c (_dl_signal_cerror): New function.
11232 (_dl_signal_error): Don't call receiver function.
11233 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
11234 instead of _dl_signal_error when reporting references to undefined
11235 symbols or versions.
11236 (_dl_lookup_versioned_symbol): Likewise.
11237 (_dl_lookup_versioned_symbol_skip): Likewise.
11238 * elf/dl-version.c (match_symbol): Likewise.
11240 * elf/ldsodefs.h: Declare _dl_signal_cerror.
11242 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
11244 * misc/getttyent.c (getttyent): Release lock on stream later to
11245 also protect global variable zapchar.
11247 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
11248 __times [PR libc/990].
11250 1999-02-21 David S. Miller <davem@redhat.com>
11252 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
11253 parentheses in Feb 2 changes.
11254 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
11256 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11258 * sysdeps/generic/glob.c (glob): Save previous errno.
11260 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
11262 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
11263 lookup functions if it is too small.
11265 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
11267 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
11268 for tracing to the scope lists.
11269 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
11270 DT_SYMTAB is always available according to ELF spec.
11272 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
11273 call test whether there is any scope left.
11274 (_dl_lookup_versioned_symbol_skip): Likewise.
11276 * elf/Makefile (distribute): Add do-lookup.h.
11277 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
11278 * elf/dl-lookup.c: Move do_lookup function in separate file and
11279 include the file twice, for handling versioning and without it.
11281 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
11282 entry is already relocated.
11283 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
11284 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
11285 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
11286 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
11288 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
11290 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
11293 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
11294 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
11295 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
11296 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
11297 rel and rela relocations can both happen and skip one test if this
11299 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
11301 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
11303 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
11305 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
11306 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
11307 (_dl_map_object): DT_STRTAB entry is already relocated.
11308 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
11310 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
11312 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
11313 DT_VERSYM entries are already relocated.
11314 (profile_fixup): Likewise.
11315 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
11317 (match_symbol): DT_STRTAB entry is already relocated.
11318 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
11319 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
11320 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
11321 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
11322 (find_needed): DT_STRTAB entry is already relocated.
11323 (dl_main): Pass extra argument to elf_get_dynamic_info.
11324 DT_STRTAB entry is already relocated.
11325 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
11326 DT_PLTGOT entries are already relocated.
11327 (elf_machine_rela): Likewise for DT_SYMTAB.
11328 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
11330 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11331 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
11332 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11333 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11334 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
11335 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
11336 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
11337 * sysdeps/mips/mips64/dl-machine.h: Likewise.
11339 * grp/initgroups.c (initgroups): If function in current module was
11340 successful don't stop but continue to process to get all the groups.
11342 * elf/dl-load.c (_dl_map_object_from_fd): Use global
11343 _dl_pf_to_proot array to convert p_flags value.
11344 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11346 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
11347 loop to clear `info'.
11349 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
11350 do the work and don't use inline assembler.
11352 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
11354 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
11355 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
11356 noreturn, and prevent it from being inlined.
11357 Define LOSE appropriately.
11358 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
11359 Optimize decoding of p_flags for certain platforms.
11361 1999-02-19 Philip Blundell <pb@nexus.co.uk>
11363 * Makeconfig (link-libc): When doing a static link, make sure that
11364 libgcc.a is included both before and after libc.a.
11366 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
11368 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
11369 sp_warn, sp_inact, sp_expire and sp_flag.
11371 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
11373 * elf/link.h (link_map): Add l_dev and l_ino.
11374 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
11375 loaded shared object with all loaded objects. Initialize l_ino
11376 and l_dev in case it's new.
11377 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
11379 * elf/Makefile: Compile and run new test.
11380 * elf/multiload.c: New file.
11382 * nss/nsswitch.h (service_user): Change name field from const char *
11384 (name_database_entry): Likewise.
11385 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
11386 for change of `service_user'.
11387 (nss_getline): Adjust memory allocation for change of
11388 `name_database_entry'.
11390 * catgets/catgets.c: Correctly handle NLSPATH from environment
11393 * io/Makefile (routines): Add lock64.
11394 * io/Versions: Add lockf64 for GLIBC_2.1.1.
11395 * sysdeps/generic/lockf64.c: New file.
11397 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
11399 * string/bits/string2.h: Only use strncmp optimization if count
11400 argument is constant.
11402 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
11404 * sysdeps/mach/hurd/revoke.c: New file.
11406 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
11408 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
11409 int to avoid warning about `ISO C restricts enumerator values to
11412 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11414 * elf/dlfcn.h: Fix typo.
11415 * sysdeps/generic/bits/dlfcn.h: Likewise.
11416 * sysdeps/mips/bits/dlfcn.h: Likewise.
11418 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
11420 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
11421 for the case N == 0.
11423 * db2/Makefile (distribute): Add LICENSE.
11425 1999-02-03 Jeff Bailey <jbailey@nisa.net>
11427 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
11430 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
11432 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
11434 * time/mktime.c: Use ISO C form for function definitions and
11435 remove unnecessary prototypes.
11437 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
11439 * time/time.h: Avoid unneccesary #ifdef.
11441 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
11443 * stdio-common/_itoa.c (_itoa): Correct parameters to
11446 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11448 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
11449 before (e.g. in glob.h).
11450 Closes PR libc/959.
11452 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11454 * sysdeps/mips/fpu_control.h: Fix typo.
11455 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
11458 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
11460 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
11461 the "unused" ends of the sockets. Let pipes be bidirectional.
11463 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
11465 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
11468 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11470 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
11471 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
11473 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
11474 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
11476 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
11478 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
11480 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11482 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
11483 check for priority mask.
11485 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
11487 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
11488 Reported by Craig Metz <cmetz@inner.net> .
11490 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11492 * stdio-common/Makefile (tests): tllformat added.
11494 * stdio-common/tllformat.c: New program, based on tiformat.c with
11495 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
11497 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11499 * posix/test-vfork.c: Fix exit status test.
11501 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11503 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
11504 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
11506 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11508 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
11509 of separare explicit comparisons.
11511 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11513 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
11516 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
11519 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
11521 * po/el.po: Update from translation team.
11523 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11525 * intl/locale.alias: Fix slovenian entry [PR libc/948].
11527 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11529 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
11530 * inet/ruserpass.c: Likewise.
11531 * locale/programs/stringtrans.c: Likewise.
11532 * locale/programs/localedef.c: Likewise.
11533 * nscd/grpcache.c: Likewise.
11534 * nss/nss_files/files-XXX.c: Likewise.
11535 * stdlib/canonicalize.c: Likewise.
11536 * sysdeps/posix/sigwait.c: Likewise.
11538 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11540 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
11541 even on 64 bit platforms.
11543 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
11544 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
11546 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
11548 * intl/dcgettext.c: Include locale.h is available.
11550 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
11552 * po/nl.po: Update from translation team.
11554 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
11556 * Makefile: Allow calling goals for po subdir.
11558 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
11559 signal definitions.
11561 * po/el.po: New file.
11563 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11565 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
11566 when processing DT_SYMBOLIC objects.
11568 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11570 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
11571 program headers without PT_PHDR only require that they are
11572 contained within one of the loaded segments. Don't use assert,
11573 since that would be a bug in the object, not the dynamic linker.
11575 1999-02-08 Richard Henderson <rth@cygnus.com>
11577 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
11578 restore all call-clobbered fp regs.
11580 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
11582 * po/cs.po: New file.
11584 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
11587 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
11589 * signal/signal.h: Don't declare __libc_allocate_rtsig.
11590 * include/signal.h: Declare __libc_allocate_rtsig here.
11592 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
11593 point functions, not do_lookup since the later can be called more
11596 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
11598 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
11599 macro, so that architectures which need to add some special
11600 offset to stack pointer can share this file.
11602 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
11603 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
11604 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
11605 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
11607 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
11608 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
11609 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
11610 between sparc32 and sparc64.
11612 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
11613 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
11614 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
11615 between sparc32 and sparc64.
11617 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
11618 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
11619 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
11620 between sparc32 and sparc64.
11622 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
11623 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
11624 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
11625 between sparc32 and sparc64.
11627 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
11629 * Versions.def: New version GLIBC_2.1.1 for libc.
11630 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
11631 * stdlib/labs.c: Moved to...
11632 * sysdeps/generic/labs.c: ...here.
11633 * stdlib/llabs.c: Moved to...
11634 * sysdeps/generic/llabs.c: ...here.
11635 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
11636 header. Declare _Exit.
11637 * sysdeps/generic/_exit.c: Add alias _Exit.
11638 * sysdeps/mach/hurd/_exit.c: Likewise.
11639 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
11640 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
11641 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
11642 * sysdeps/unix/_exit.c: Likewise.
11643 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
11644 imaxdiv and imaxabs. Declare lldiv_t if necessary.
11645 * sysdeps/wordsize-64/inttypes.h: Likewise.
11646 * sysdeps/wordsize-32/llabs.c: New file.
11647 * sysdeps/wordsize-32/lldiv.c: New file.
11648 * sysdeps/wordsize-64/labs.c: New file.
11649 * sysdeps/wordsize-64/ldiv.c: New file.
11650 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
11651 * manual/startup.texi: Document _Exit.
11653 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11655 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
11657 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
11659 * Versions.def: Add versions for ld.so.
11660 * csu/Versions: Remove __libc_stack_end here.
11661 * elf/Versions: Split libc definitions in libc and ld.so definitions.
11662 * elf/Makefile (ld-map): Change to ld.so.map.
11663 * scripts/versions.awk: Recognize dot in library names.
11665 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
11666 Don't use __tolower and __toupper in inline functions.
11667 Add optimizing macros for tolower and toupper.
11668 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
11669 (_toupper): Don't use __toupper.
11670 * ctype/ctype.c (tolower): Don't use __tolower.
11671 (toupper): Don't use toupper.
11673 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
11675 * resolv/Versions (libresolv): Export __ns_name_unpack and
11677 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
11678 make it global. Change all users. Similar for ns_name_ntop.
11679 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
11680 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
11681 directly to detect too small buffer.
11682 * resolv/nss_dns/dns-network.c: Likewise.
11684 * stdio-common/Makefile (tests): Add scanf12.
11685 * stdio-common/scanf12.c: New file.
11686 * stdio-common/scanf12.input: New file.
11687 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
11688 floating-point correctly if the number is invalid.
11690 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
11692 * stdio-common/printf_fp.c: Likewise.
11693 * stdio-common/printf_fphex.c: Likewise.
11694 * stdio-common/vfprintf.c: Likewise.
11697 See ChangeLog.9 for earlier changes.