1 1998-10-11 Ulrich Drepper <drepper@cygnus.com>
3 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
4 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
6 * string/bits/string2.h [!_STRING_ARCH_unaligned]
7 (__mempcpy_small): Add parameter for 1 byte copy and use it.
8 Reported by Geoff Keating <geoffk@ozemail.com.au>.
10 1998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
12 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
13 it is already defined in <bits/environments.h>.
15 1998-10-09 Ulrich Drepper <drepper@cygnus.com>
17 * posix/ptestcases.h: Fix typo.
19 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
21 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
22 (regexec): Allocate regs.start and regs.end as one block.
24 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
26 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
29 1998-10-08 Philip Blundell <pb@nexus.co.uk>
31 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
32 sigcontext union to ...
33 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
35 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
38 1998-10-08 Ulrich Drepper <drepper@cygnus.com>
40 * malloc/mtrace.c (tr_reallochook): Produce better output for real
43 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
44 * argp/argp-xinl.c: Likewise.
46 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
48 Patch by Christian Gafton.
50 1998-10-08 Paul Eggert <eggert@twinsun.com>
52 * time/mktime.c (__mktime_internal): When the requested time falls
53 in a spring-forward gap of size DT, return a time that is DT away
54 from the requested time, preferring a time whose tm_isdst differs
55 from the requested value. Bump the max number of probes from 4 to
56 6 to account for the extra probes needed to discover a
57 spring-forward gap in the worst case.
59 1998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
61 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
62 of the weird alpha architectures.
63 Patch by Cristian Gafton <gafton@redhat.com>.
65 1998-02-18 23:31 Richard Henderson <rth@cygnus.com>
67 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
68 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
70 1998-10-07 Ulrich Drepper <drepper@cygnus.com>
72 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
73 (dl_open_worker): Use realloc, not malloc to resize array.
74 * elf/rtld.c (_dl_initial_searchlist): New variable.
75 (_dl_main): Copy content of _dl_main_searchlist to
76 _dl_initial_searchlist.
77 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
78 _dl_global_scope_alloc.
79 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
80 * elf/dl-close.c (_dl_close): When removing object with global
81 scope remove allocated searchlist if no dynamically loaded object
83 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
84 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
86 * malloc/mtrace.c (tr_where): Don't print space in location string,
87 print it afterwards. Print better symbol name information.
89 1998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
91 * manual/filesys.texi (Setting Permissions): Fix example for
94 1998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
96 * elf/sprof.c (load_profdata): Fix typo in error message.
98 1998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
100 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
103 1998-10-04 Roland McGrath <roland@baalperazim.frob.com>
105 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
107 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
109 * version.h (VERSION): Bump to 2.0.97.
111 1998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
113 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
114 in definitions of inline stat functions so that they match the
116 * stdlib/stdlib.h: Likewise.
117 * wcsmbs/wchar.h: Likewise.
118 * libio/stdio.h: Likewise.
119 * stdio/stdio.h: Likewise.
120 * sysdeps/wordsize-64/inttypes.h: Likewise.
121 * sysdeps/wordsize-32/inttypes.h: Likewise.
122 * string/argz.h: Likewise.
123 * argp/argp.h: Likewise.
125 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
127 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
130 1998-10-05 Philip Blundell <philb@gnu.org>
132 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
133 and constants. Tidy up formatting a little.
135 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
136 Move definitions to in.h.
138 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
140 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
141 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
142 Remove inclusion of <linux/swap.h>.
144 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
146 * io/sys/stat.h: Use __P in definitions of inline stat functions
147 so that they match the declaration.
149 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
151 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
153 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
155 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
158 1998-10-02 Philip Blundell <pb@nexus.co.uk>
160 * sysdeps/arm/dl-machine.h: Fix typo in last change.
162 * sysdeps/arm/bits/huge_val.h: New file.
164 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
166 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
168 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
171 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
173 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
174 store result of realloc instead of using BUF.
176 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
178 * misc/sgtty.h (_SGTTY_H): Correct spelling.
179 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
181 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
183 * manual/memory.texi (Obstacks): Document
184 obstack_alloc_failed_handler usage.
186 * malloc/obstack.h: Enhance comment about
187 obstack_alloc_failed_handler usage.
188 * malloc/obstack.c: Likewise.
190 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
192 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
193 gcc before 2.8 is used.
195 1998-10-01 Philip Blundell <pb@nexus.co.uk>
197 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
198 from Scott Bambrough.
200 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
202 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
203 include the lock member.
205 1998-09-03 Philip Blundell <pb@nexus.co.uk>
207 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
209 1998-10-01 Ulrich Drepper <drepper@cygnus.com>
211 * timezone/zic.c: Update from tzcode1998h.
212 * timezone/europe: Update from tzdata1998i.
213 * timezone/southamerica: Likewise.
215 * sys/types.h: Protect use of long long by __extension__.
216 * stdlib/stdlib.h: Likewise.
217 * string/string.h: Likewise.
218 * sysdeps/i386/bits/byteswap.h: Likewise.
219 * sysdeps/geeric/bits/byteswap.h: Likewise.
220 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
221 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
222 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
223 * sysdeps/wordsize-32/inttypes.h: Likewise.
224 * sysdeps/wordsize-32/stdint.h: Likewise.
225 * wcsmbs/wchar.h: Likewise.
227 1998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
229 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
231 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
232 __strsep): Greatly reduce size of expansion by combining common
234 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
236 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
237 by the above definitions.
239 1998-09-27 Geoff Keating <geoffk@ozemail.com.au>
241 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
242 correct struct ipc_perm definition.
244 1998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
246 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
248 1998-09-29 Cristian Gafton <gafton@redhat.com>
250 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
251 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
252 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
253 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
256 1998-09-29 Ulrich Drepper <drepper@cygnus.com>
258 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
260 * nis/ypclnt.c: Remove not needed close calls.
262 1998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
264 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
265 check a bit. Also close socket of domain client. Close socket
266 in IPPORT_RESERVED error case.
268 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
270 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
271 CMSG_ALIGN (fixes a bug) and correct test for availability of
273 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
275 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
276 availability of another entry.
279 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
282 * libio/libio.h [!__STDC__]: Define const only if not defined.
284 1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
286 * posix/annexc.c (xsystem): New function. Use it instead of
289 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
291 * stdlib/longlong.h: Remove #endif for #if removed in last change.
293 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
295 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
296 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
297 allow using `ut' parameter.
298 [!emacs]: Define ut_argument, ut_argument_spec, and
299 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
300 argument_spec to prototypes and definitions.
301 (my_strftime): Don't call tzset of ut != 0.
302 Compute diff as 0 is ut != 0;
303 [emacs]: Define new emacs_strftime function.
304 Based on a patch by Paul Eggert.
306 1998-09-24 Paul Eggert <eggert@twinsun.com>
308 * time/strftime.c (my_strftime): When asking for the length of the
309 subformatted buffer, do not limit the length to look for;
310 otherwise, we have no reliable way to distinguish between the
311 empty buffer and an error.
313 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
315 * math/Makefile (gmp-objs): Add mp_clz_tab.
317 1998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
319 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
321 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
322 cpus lacking hardware multiply and divide.
324 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
326 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
329 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
331 * db/btree/bt_delete.c: Fix -Wparentheses warning.
333 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
335 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
338 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
340 * debug/catchsegv.sh: Also produce output if clone process died.
342 1998-09-24 Paul Eggert <eggert@twinsun.com>
344 * time/strftime.c (f_wkday): Remove duplicate definition.
345 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
346 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
347 1998-09-11 fix to this case.
348 (wkday_len, month_len): Remove these macros; they're no longer needed.
350 1998-09-24 Paul Eggert <eggert@twinsun.com>
352 * time/strftime.c (my_strftime): Don't store past the end of a
355 1998-09-24 Paul Eggert <eggert@twinsun.com>
357 * time/strftime.c (underlying_strftime):
358 Set the buffer to a nonzero value before calling
359 strftime, and check to see whether strftime has set the buffer to zero.
360 This lets us distinguish between an empty buffer and an error.
362 1998-09-24 Paul Eggert <eggert@shade.twinsun.com>
364 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
365 This fix is propagated from tzcode1998g.tar.gz.
367 1998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
369 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
370 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
371 sys_siglist. This is handled correctly by the weak_alias macro.
373 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
375 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
376 of mempcpy. Reported by Andreas Jaeger.
378 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
379 pollute the namespace since the compiler will resolve it inline.
380 Reported by Florian La Roche <florian@suse.de>.
382 1998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
384 * timezone/private.h: Update from tzcode1998g.
386 * timezone/africa: Update from tzdata1998h.
387 * timezone/asia: Likewise.
388 * timezone/australasia: Likewise.
389 * timezone/europe: Likewise.
390 * timezone/northamerica: Likewise.
391 * timezone/southamerica: Likewise.
392 * timezone/zone.tab: Likewise.
394 1998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
396 * misc/sys/mman.h: New file.
398 * sysdeps/generic/bits/mman.h: New file.
399 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
400 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
401 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
402 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
404 * sysdeps/generic/sys/mman.h: Removed.
405 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
406 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
407 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
408 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
409 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
411 * include/sys/mman.h: Look directly for misc/sys/mman.h.
412 * misc/Makefile (headers): Add bits/mman.h.
413 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
416 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
417 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
418 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
419 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
420 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
421 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
422 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
423 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
425 1998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
427 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
428 * sysdeps/mach/alpha/thread_state.h: Likewise.
429 * sysdeps/mach/i386/sysdep.h: Likewise.
430 * sysdeps/mach/i386/thread_state.h: Likewise.
431 * sysdeps/mach/mips/sysdep.h: Likewise.
432 * sysdeps/mach/mips/thread_state.h: Likewise.
433 * sysdeps/posix/profil.c: Likewise.
434 * sysdeps/i386/i586/memcopy.h: Likewise.
435 * sysdeps/mach/pagecopy.h: Likewise.
437 1998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
439 * libio/stdio.h: Define __need_getopt and include getopt.h to define
441 * posix/unistd.h: Likewise.
442 * stdio/stdio.h: Likewise.
443 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
444 define only getopt and the variables.
446 1998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
448 * scripts/test-installation.pl (installation_problem): Don't link
449 the test program against libdb1.
451 1998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
453 * Makeconfig (all-subdirs): Add db.
454 * Versions.def: Add definition for libdb1.
455 * shlib-versions: Add definitions for libdb1.
456 * db/Makefile (extra-libs): Replace by libdb1.
457 (libdb-routines): Rename to libdb1-routines.
458 (headers): Rename to db1-headers.
459 (distribute): Add $(db1-headers).
460 (install-others): Define to install symlink libdb.so.NN and the
462 (CPPFLAGS): Add -DUSE_LIBDB1
463 Remove rules to build makedb.
464 * db/Versions: Rename libdb to libdb1.
465 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
466 * db/makedb.c: Removed.
468 * scripts/versions.awk: Recognize digits in library names.
470 * db/btree/bt_open.c: Fix compiler warnings.
471 * db/btree/bt_put.c: Likewise.
472 * db/btree/bt_split.c: Likewise.
473 * db/hash/hash.c: Likewise.
474 * db/hash/hash_bigkey.c: Likewise.
475 * db/recno/rec_close.c: Likewise.
477 * Makefile: Add localedata/% goal.
479 1998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
481 * posix/execvp.c: Don't give up searching the PATH if execve
484 1998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
486 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
487 if _dl_fpu_control_set is set.
488 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
489 * elf/rtld.c: Don't define _dl_fpu_control_set.
490 * elf/Versions: Remove _dl_fpu_control_set.
492 1998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
494 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
495 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
496 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
497 Correct values of other SA_* macros according to kernel headers.
499 1998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
501 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
503 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
506 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
508 * elf/ldsodefs.h: Fix typo in comment.
510 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
512 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
513 char when comparing buffer contents with putback character.
515 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
517 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
519 * elf/Versions: Undo last change. Export _dl_fpu_control and
521 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
522 variables. Include <fpu_control.h>.
523 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
524 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
525 to indicate that is was seen.
526 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
527 only if _dl_fpu_control was set and is equal to desired value.
528 * math/Makefile (aux): Undo last change.
529 * math/Versions: Export __fpu_control with version GLIBC_2.0.
531 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
533 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
536 1998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
538 * string/bits/string2.h: Add mempcpy optimization.
539 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
540 * intl/localealias.c: Define mempcpy only if not already defined.
542 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
545 1998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
547 * csu/abi-note.S: Emit the note directly instead of defining
548 a preprocessor macro that's only used once. Don't include sysdep.h.
549 * abi-tags: Generalize Solaris entry.
551 1998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
553 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
554 Change to array to avoid runtime relocation.
555 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
557 1998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
559 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
560 * math/Makefile ($(objpfx)libieee.a): Likewise.
562 1998-09-21 Ulrich Drepper <drepper@cygnus.com>
564 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
565 Patch by John Tobey <jtobey@banta-im.com>.
567 1998-09-20 Ulrich Drepper <drepper@cygnus.com>
569 * login/Makefile (distribute): Remove pty-internal.h, add
572 * stdlib/tst-strtol.c: Add more checks.
573 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
575 1998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
577 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
578 * elf/elf.h: Add AT_FPUCW.
579 * elf/Makefile (dl-routines): Add fpu_control.
580 (elide-routines.os): Add fpu_control.
581 (rtld-routines): Add fpu_control.
582 * math/Makefile (aux): Remove fpu_control.
583 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
584 (_dl_show_auxv): Likewise.
585 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
586 if different from OS default.
588 * stdio-common/tstscanf.c: Add test case for (nil).
590 1998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
592 * libio/fileops.c (_IO_new_file_underflow): Before allocating
593 buffer make sure the pushback buffer is destroyed.
594 (_IO_new_file_seekoff): Likewise.
595 If mode==0 quit early with the result.
596 Clear OEF flag after successful fseek.
597 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
598 * libio/ftello.c (ftello): Add offset from original buffer if
599 stream has pushed back characters.
600 * libio/ftello64.c (ftello64): Likewise.
601 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
602 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
603 * libio/ioftell.c (_IO_ftell): Likewise.
604 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
606 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
607 (_IO_default_pbackfail): Only stored push back character in original
608 buffer if it is the same as the one in the file at this position.
609 * libio/iofclose.c: Free backup buffer if one is available.
610 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
613 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
615 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
617 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
619 1998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
621 * login/programs/pt_chown.c (more_help): Correct message that
622 describes the purpose of the program.
624 * login/openpty.c: Do not include pty-private.h.
625 (pts_name): New function. Return name of slave pseudo terminal in
626 an allocated buffer if necessary.
627 (openpty): Use pts_name to get name of the slave end of the pseudo
630 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
631 pts_name before return.
633 1998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
635 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
637 1998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
639 * login/openpty.c: Include pty-private.h instead of
642 1998-09-09 Philip Blundell <pb@nexus.co.uk>
644 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
646 1998-09-07 Philip Blundell <pb@nexus.co.uk>
648 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
649 recent ld.so changes.
650 (elf_machine_runtime_setup): Correct behaviour when profiling.
652 1998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
654 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
655 Patch by John Tobey <jtobey@banta-im.com>.
657 1998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
659 * login/pty-internal.h: Removed. Moved constants related to the
660 `grantpt' helper program protocol to ...
661 * login/pty-private.h: ... here. New file.
662 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
663 to make the function work with kernels >= 2.1.115.
664 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
665 version if using the cloning device fails.
666 * sysdeps/unix/sysv/linux/grantpt.c: New file.
667 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
668 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
669 use by Linux specific code.
670 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
671 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
672 function. (grantpt): Use pts_name, check group and permission
673 mode in addition to owner. Try to set the owner, group and
674 permission mode first without invoking the helper program.
675 * login/programs/pt_chown.c: Largely rewritten. Add argp and
676 internationalization support. Use symbolic constants instead of
677 hardwired numbers for permission mode.
678 * sysdeps/unix/bsd/ptsname.c: New file.
680 1998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
682 * posix/wordexp-test.c: Undo last change.
684 * posix/wordexp.c: Undo last change.
686 1998-09-16 Ulrich Drepper <drepper@cygnus.com>
688 * nscd/grpcache.c (save_grp): Partly undo last change.
690 * nscd/pwdcache.c (save_pwd): Undo last change.
692 1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
694 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
695 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
697 1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
699 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
700 Add profiling support.
701 (TRAMPOLINE_TEMPLATE): New macro.
702 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
703 (RTLD_START): Prettify, and set __libc_stack_end properly.
704 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
705 and check for sym being NULL instead.
706 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
708 * sysdeps/sparc/sparc64/lshift.S: Likewise.
709 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
710 * sysdeps/sparc/sparc64/rshift.S: Likewise.
711 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
712 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
713 MEDANY code model %g4 usage.
714 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
715 MEDANY code model %g4 usage.
716 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
717 code model address formation.
718 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
719 include elf/ldsodefs.h
721 (elf_machine_matches_host): It is now EM_SPARCV9.
722 (elf_machine_dynamic): Clean up to remove ugly cast.
723 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
725 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
726 Prettify rest of function.
727 [R_SPARC_COPY]: Check for sym being NULL.
728 [R_SPARC_32]: Handle it.
729 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
731 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
733 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
734 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
735 Add profiling support.
736 (TRAMPOLINE_TEMPLATE): New macro.
737 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
738 (RTLD_START): Prettify and set __libc_stack_end.
739 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
741 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
742 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
743 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
744 unused variable scratch.
745 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
746 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
748 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
749 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
750 old format kernel sigaction structures.
751 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
752 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
753 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
754 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
756 (_JMPBUF_UNWINDS): Define.
757 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
758 statfs64 structure, which is exactly the same as the normal one.
759 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
760 of stack. Use correct syscall trap number. Add branch prediction
761 settings to branch instructions. Remove old MEDANY code model %g4
762 referneces for non-PIC.
763 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
764 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
765 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
766 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
767 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
768 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
769 __libc_longjmp and __libc_siglongjmp strong aliases.
770 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
771 Also define to __no__readdir64_decl around readdir.c inclusion.
772 (__readdir64): Add strong alias.
773 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
774 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
775 Set strong and weak names properly.
777 1998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
779 * manual/Makefile (AWK): Default to gawk if standalone.
781 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
783 * Makefile (distribute): Undo last change.
784 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
786 (+subdir-headers): Removed, unused.
788 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
790 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
793 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
795 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
796 absolute name in $(config-sysdirs), can never happen.
797 ($(+sysdir_pfx)sysd-rules): Likewise.
798 * Makeconfig (full-config-sysdirs): Likewise.
799 (all-Subdirs-files): Prepend $(..).
801 * configure.in: Don't check for absolute name in $add_ons_pfx, can
802 not happen. Let --enable-add-ons=yes work if no add-ons actually
805 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
807 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
808 continuations in command.
810 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
812 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
814 1998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
816 * posix/wordexp-test.c: If expansion or substitution occurs
817 anywhere in a word, the entire word is subject to field-splitting.
819 * posix/wordexp.c (parse_glob): Look for end of word instead of
820 end of field when deciding what to glob.
821 (field_split_word): New function, now the only place where
822 field-splitting is performed.
823 (parse_dollars): New parameter - tell the caller if
824 field-splitting should be performed on this word.
826 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
827 succeeded (or failed with WRDE_NOSPACE).
829 1998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
831 * posix/wordexp.c (wordexp): Don't convert IFS characters to
834 * posix/wordexp-test.c: Words not the result of expansion or
835 substitution should remain unchanged.
837 1998-09-15 Ulrich Drepper <drepper@cygnus.com>
839 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
840 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
842 1998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
844 * stdio-common/Makefile: Include Makeconfig so that
845 $(inst_includedir) is defined.
847 1998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
849 * io/pwd.c: Include <mcheck.h>.
851 1998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
853 * nscd/pwdcache.c (save_pwd): Correct copying.
854 * nscd/grpcache.c (save_grp): Likewise.
856 1998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
858 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
859 (free_pwd): Adjust for this change.
860 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
861 (free_grp): Adjust for this change.
863 1998-09-14 Ulrich Drepper <drepper@cygnus.com>
865 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
867 1998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
869 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
870 (install-others): Add bits/stdio_lim.h.
871 Add rule to install bits/stdio_lim.h.
873 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
875 * Makefile (distribute): Add include/sys/mman.h.
877 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
878 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
879 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
881 * grp/initgroups.c: Include stdlib.h.
882 Patch by Zack Weinberg.
884 1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
886 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
887 for field-splitting :abc: is correct, and that two fields should
888 result. Revert tests to reflect this.
890 * posix/wordexp.c (w_emptyword): Remove function.
891 (exec_comm): Don't use w_emptyword.
892 (parse_param): Likewise.
894 1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
896 * sysdeps/arm/fpu/Dist: Moved to...
897 * sysdeps/arm/Dist: ...here.
898 * sysdeps/posix/Dist: Removed.
899 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
900 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
902 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
904 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
906 1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
908 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
910 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
912 * libc-work/nis/nss_nisplus/nisplus-service.c
913 (_nss_nisplus_parse_servent): Convert port in network byte order.
915 1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
917 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
918 to provide only malloc and calloc.
919 * include/stdlib.h: Support the above.
920 * string/bits/string2.h: Use __need_malloc_and_calloc when
922 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
924 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
925 * iconvdata/iso646.c: Include <stdlib.h>.
927 1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
929 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
930 * sysdeps/libm-ieee754/w_pow.c: Likewise.
931 * sysdeps/libm-ieee754/w_powf.c: Likewise.
932 * sysdeps/libm-ieee754/w_powl.c: Likewise.
934 1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
936 * stdio-common/stdio_lim.h.in: New file. All parameters
937 are adjustable at build time.
938 * Rules: Add a rule to build bits/stdio_lim.h from
939 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
940 all subdirectories know how to make the file. It can't be
941 in Makerules because then it gets built at top level and the
942 dependencies are wrong.)
944 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
945 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
947 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
948 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
949 * sysdeps/posix/Makefile: Removed.
950 * sysdeps/posix/mk-stdiolim.c: Removed.
951 * sysdeps/generic/bits/stdio_lim.h: Removed.
953 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
955 * argp/argp-help.c: Fixup indentation.
956 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
957 * resolv/nss_dns/dns-network.c: Likewise.
958 * resolv/res_send.c: Likewise.
959 * rt/aio_cancel.c: Likewise.
960 * rt/aio_misc.c: Likewise.
962 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
964 * Makefile (install-symbolic-link): Remove the link list file at last.
965 * Makerules (install-clean-symbolic-link-list): Removed.
967 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
969 * timezone/tst-timezone.c: Print time in UTC to get consistent
972 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
974 * elf/rtld.c (_dl_rpath): Removed.
975 * elf/dl-support.c (_dl_path): Removed.
976 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
977 (CFLAGS-dl-support.c): Removed.
979 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
981 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
982 instead of appending it to the main map's rpath info.
983 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
984 DT_RPATHs. This makes it effective again.
985 (decompose_rpath): Remove second parameter, callers changed.
986 (fillin_rpath): Allocate enough space in curwd.
987 (expand_dynamic_string_token): Cope with get_origin returning -1.
989 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
991 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
994 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
997 1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
999 * locale/programs/locale.c: Update dates.
1001 1998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
1003 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
1004 size_t is defined. Some reordering of defenitions to make
1005 maintaining this file in parallel with the linux-specific file easier.
1007 1998-09-13 Ulrich Drepper <drepper@cygnus.com>
1009 * io/pwd.c (main): Add call to mtrace.
1011 * malloc/mtrace.pl: Quote @ in string.
1013 1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
1015 * posix/wordexp.c (parse_arith): Fix memory leaks.
1016 (exec_comm): Likewise.
1017 (parse_param): Likewise.
1018 (wordexp): Likewise.
1019 (exec_comm): Reduce number of function return points.
1020 (parse_param): Likewise.
1021 (wordexp): Likewise.
1023 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
1025 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
1026 yield three fields, not two. Test both parameter expansion and
1027 command substitution for correct field-splitting behaviour.
1029 * posix/wordexp.c (w_emptyword): New function.
1030 (parse_param): Use it.
1031 (exec_comm): Likewise, for consistency with the way parse_param
1033 (parse_param): Fix some memory leaks.
1035 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
1037 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
1038 Don't mark asm `volatile'.
1039 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
1040 from the data cache too. Assume it isn't in the instruction cache yet.
1041 (__elf_machine_fixup_plt): Clear the modified address from the caches.
1043 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
1045 * sysdeps/generic/segfault.c (install_handler): Install signal
1046 handler with SA_ONSTACK instead of setting the stack flags to
1047 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
1050 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1052 * signal/signal.h: Fix multiple inclusion guard to cover the
1054 * wcsmbs/wchar.h: Remove prototype of internal function
1056 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
1057 arithmetic on `void *'.
1059 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
1061 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
1063 * posix/wordexp.c (wordexp): Perform word-splitting instead of
1064 field-splitting here.
1065 (wordexp): If out of memory mid-word, free the word (but still
1066 leave pwordexp alone for caller to see).
1067 (parse_param): Allow for zero-length fields (smarter checking of
1068 memory allocation failure).
1069 (w_addword): Convert NULL words to "".
1070 (wordexp): Convert left-over IFS characters to blanks (like bash).
1072 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
1074 * configure.in: Use test -f instead of test -e.
1075 Patch by John Tobey <jtobey@banta-im.com>.
1077 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
1078 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
1079 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
1080 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
1081 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
1082 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
1083 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
1084 Patches by John Tobey <jtobey@banta-im.com>.
1086 * time/strftime.c (my_strftime): Delay use of *tp values until
1087 latest possible point to allow partly initialized structures
1088 (e.g., from strptime).
1090 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
1092 Define *-routines variables for new modules.
1093 (distribute): Add .c files for new modules.
1094 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
1096 Add rules for header generation.
1097 * iconvdata/gconv-modules: Add entries for new modules.
1098 * iconvdata/iso_10367-box.c: New file.
1099 * iconvdata/mac-is.c: New file.
1100 * iconvdata/nats-dano.c: New file.
1101 * iconvdata/nats-sefi.c: New file.
1103 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
1105 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
1106 loader if PIC is not defined.
1108 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
1110 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
1111 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
1112 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
1114 Define *-routines variables for new modules.
1115 (distribute): Add .c files for new modules.
1116 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
1117 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
1118 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
1119 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
1120 Add rules for header generation.
1121 * iconvdata/gconv-modules: Add entries for new modules.
1122 * iconvdata/csn_369103.c: New file.
1123 * iconvdata/cwi.c: New file.
1124 * iconvdata/dec-mcs.c: New file.
1125 * iconvdata/ecma-cyrillic.c: New file.
1126 * iconvdata/gost_19768-74.c: New file.
1127 * iconvdata/greek-ccitt.c: New file.
1128 * iconvdata/greek7-old.c: New file.
1129 * iconvdata/greek7.c: New file.
1130 * iconvdata/inis-8.c: New file.
1131 * iconvdata/inis-cyrillic.c: New file.
1132 * iconvdata/inis.c: New file.
1133 * iconvdata/iso6937-2.c: New file.
1134 * iconvdata/iso_2033.c: New file.
1135 * iconvdata/iso_5427-ext.c: New file.
1136 * iconvdata/iso_5427.c: New file.
1137 * iconvdata/iso_5428.c: New file.
1139 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
1141 Convert U02dd correctly.
1143 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
1145 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
1146 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1147 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
1148 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
1150 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
1152 * resolv/res_init.c (res_init): Handle resolv.conf file with only
1153 one nameserver correctly. Patch by HJ Lu.
1155 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
1157 Define *-routines variables for new modules.
1158 (distribute): Add .c files for new modules.
1159 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
1160 Add rules for hedaer generation.
1161 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
1162 * iconvdata/ansi_x3.110.c: New file.
1163 * iconvdata/asmo_449.c: New file.
1164 * iconvdata/baltic.c: New file.
1165 * iconvdata/iec_p27-1.c: New file.
1167 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
1169 Convert U02dc correctly.
1171 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
1172 * math/atest-exp2.c: Likewise.
1173 * math/atest-sincos.c: Likewise.
1175 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
1178 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1180 * string/strcoll.c: Optimize a few expressions.
1181 * string/strxfrm.c: Likewise.
1183 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1185 * manual/locale.texi: Fix typos.
1187 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
1189 * stdlib/random_r.c (__setstate_r): Allow call with same state
1190 array as currently used (PR libc/774).
1192 * include/limits.h: Include gcc's header even if this file is
1193 found more than once before it (PR libc/778)
1195 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
1196 (sysdep_headers): Remove sys/debugreg.h.
1197 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
1198 (sysdep_headers): Add sys/debugreg.h.
1199 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
1200 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
1202 * stdio-common/tmpnam.c: Move local static variable buf to
1203 toplevel and rename to tmpnam_buffer to ease debugging.
1204 Patch by Joe Keane <jgk@jgk.org>.
1205 Optimize s == NULL case a bit.
1207 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
1210 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
1212 * resolv/res_init.c (res_init): Initialize _res.nscount and
1213 _res.nsaddr.sin_port differently for the can when no loopback
1214 is available to allow immediate timeout in non-networking environments.
1215 Patch by Cristian Gafton <gafton@redhat.com>.
1217 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1219 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
1220 BAR and not EM DASH.
1221 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
1222 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
1225 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
1227 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
1229 * timezone/tst-timezone.c (tests): Fix typo in last patch.
1231 * time/tzfile.c (__tzfile_read): Handle case when there are no
1232 transitions. Set __timezone based on computed offset.
1233 * time/tzset.c (tzset_internal): Set __timezone before returning.
1235 * time/tzset.c (tzset_internal): Optimize handling of local string
1238 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1240 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
1243 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
1245 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
1246 (csqrt_test): Likewise.
1247 * sysdeps/powerpc/bits/fenv.h: Add parens.
1249 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
1251 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
1252 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1253 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
1255 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
1257 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
1258 the special `-1' pointer.
1260 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
1262 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
1265 1998-09-07 Paul Eggert <eggert@twinsun.com>
1267 * time/mktime.c (__EXTENSIONS__): Define if not defined.
1268 (_REENTRANT): Remove. It has undesirable consequences in
1269 Solaris 2.6 (e.g. it turns off the putc macro). Defining
1270 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
1272 * time/strftime.c: Likewise.
1274 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1276 * elf/dl-error.c: Fix spelling.
1278 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1280 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
1281 * stdio-common/_itoa.c: Likewise.
1282 * stdio-common/printf_fp.c: Likewise.
1283 * stdio-common/vfscanf.c: Likewise.
1284 * wcsmbs/wcstok.c: Likewise.
1285 * sysdeps/generic/glob.c: Likewise.
1286 * posix/getopt.c: Likewise.
1287 * sysdeps/posix/getaddrinfo.c: Likewise.
1288 * posix/wordexp.c: Likewise.
1289 * io/ftw.c: Likewise.
1290 * io/fts.c: Likewise.
1291 * misc/getpass.c: Likewise.
1292 * iconv/gconv_conf.c: Likewise.
1293 * argp/argp-fmtstream.c: Likewise.
1294 * argp/argp-help.c: Likewise.
1295 * elf/dl-load.c: Likewise.
1296 * locale/programs/stringtrans.c: Likewise.
1297 * catgets/gencat.c: Likewise.
1298 * posix/getconf.c: Likewise.
1299 * iconv/gconv_conf.c: Likewise.
1300 * iconv/iconv_prog.c: Likewise.
1302 * string/strcoll.c: Optimize a few expressions.
1303 * string/strxfrm.c: Likewise.
1305 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1307 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
1308 level to avoid uninit variable warning.
1310 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1312 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
1313 instead of _dl_default_scope[2] as argument to _dl_init_next.
1315 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
1318 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
1320 Fix compatibility problems introduced in last change.
1321 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
1323 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
1324 -DWEAK_GMON_START to CFLAGS-initfini.s.
1326 * elf/dl-object.c (_dl_new_object): Store map address in
1327 _dl_loaded if _dl_loaded is NULL.
1328 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
1330 * sysdeps/generic/setrlimit64.c: Remove stub warning.
1332 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
1334 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
1336 * db2/btree/bt_cursor.c: Likewise.
1337 * db2/common/db_region.db_c: Likewise.
1338 * db2/common/db_salloc.db_c: Likewise.
1339 * db2/db/db.c: Likewise.
1340 * db2/db/db_rec.c: Likewise.
1341 * db2/hash/hash.c: Likewise.
1342 * db2/hash/hash_page.c: Likewise.
1343 * db2/hash/hash_rec.c: Likewise.
1344 * db2/log/log_findckp.c: Likewise.
1345 * db2/log/log_get.c: Likewise.
1346 * db2/log/log_put.c: Likewise.
1347 * db2/mp/mp_fget.c: Likewise.
1348 * db2/mp/mp_fput.c: Likewise.
1349 * db2/mp/mp_region.c: Likewise.
1350 * stdlib/strtol.c: Likewise.
1351 * string/strcoll.c: Likewise.
1352 * string/strxfrm.c: Likewise.
1353 * argp/argp-help.c: Likewise.
1354 * argp/argp-parse.c: Likewise.
1355 * resolv/res_debug.c: Likewise.
1357 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
1359 * math/tgmath.h (scalb): Only define for __USE_MISC or
1360 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
1362 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1364 * libio/stdio.h: Fix comment.
1366 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
1369 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1371 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
1373 * elf/dl-open.c: Quiet -Wparentheses warnings.
1374 * iconvdata/johab.c: Likewise.
1375 * iconvdata/uhc.c: Likewise.
1376 * inet/inet_net.c: Likewise.
1377 * io/fts.c: Likewise.
1378 * locale/newlocale.c: Likewise.
1379 * misc/getttyent.c: Likewise.
1380 * misc/mntent_r.c: Likewise.
1381 * misc/ttyslot.c: Likewise.
1382 * nscd/nscd_conf.c: Likewise.
1383 * nss/nsswitch.c: Likewise.
1384 * resolv/gethnamaddr.c: Likewise.
1385 * resolv/nsap_addr.c: Likewise.
1386 * resolv/res_debug.c: Likewise.
1387 * stdio-common/_itoa.c: Likewise.
1388 * stdlib/strtod.c: Likewise.
1389 * string/strverscmp.c: Likewise.
1390 * sunrpc/svc.c: Likewise.
1391 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
1392 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
1393 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
1394 * sysdeps/posix/getaddrinfo.c: Likewise.
1396 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
1398 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
1399 for use of global scope.
1400 * elf/dlvsym.c (dlvsym_doit): Likewise.
1402 1998-09-02 Paul Eggert <eggert@twinsun.com>
1404 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
1405 copy the redundant bytes at the end of the format as-is; don't
1406 just copy their first byte and then rescan, as that might get
1407 us an encoding error.
1408 Account correctly for the length of multibyte sequences in the
1411 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
1413 * posix/wordexp-test.c: Add tests for different IFS values.
1414 Change unquoted-newline test so that newline is not in IFS.
1416 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
1417 determining IFS characters. Return WRDE_BADCHAR for unquoted
1418 special characters _except_ if they are separators.
1420 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
1422 * include/tgmath.h: New file.
1424 * libio/stdio.h: Correct reversed #ifs.
1425 Patch by Zack Weinberg.
1427 * manual/creature.texi: Better explain reason for feature select
1429 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1431 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1433 * include/alloca.h: Add multiple-inclusion guard.
1434 * include/db.h: Likewise.
1435 * include/db_185.h: Likewise.
1436 * include/dlfcn.h: Likewise.
1437 * include/fcntl.h: Likewise.
1438 * include/grp.h: Likewise.
1439 * include/libintl.h: Likewise.
1440 * include/mntent.h: Likewise.
1441 * include/pwd.h: Likewise.
1442 * include/sched.h: Likewise.
1443 * include/search.h: Likewise.
1444 * include/setjmp.h: Likewise.
1445 * include/shadow.h: Likewise.
1446 * include/signal.h: Likewise.
1447 * include/stdio.h: Likewise.
1448 * include/stdlib.h: Likewise.
1449 * include/string.h: Likewise.
1450 * include/termios.h: Likewise.
1451 * include/time.h: Likewise.
1452 * include/ulimit.h: Likewise.
1453 * include/utmp.h: Likewise.
1454 * include/wchar.h: Likewise.
1455 * include/sys/file.h: Likewise.
1456 * include/sys/gmon.h: Likewise.
1457 * include/sys/ioctl.h: Likewise.
1458 * include/sys/mman.h: Likewise.
1459 * include/sys/resource.h: Likewise.
1460 * include/sys/select.h: Likewise.
1461 * include/sys/socket.h: Likewise.
1462 * include/sys/statfs.h: Likewise.
1463 * include/sys/time.h: Likewise.
1464 * include/sys/times.h: Likewise.
1465 * include/sys/wait.h: Likewise.
1467 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
1469 * version.h (VERSION): Bump to 2.0.96.
1471 Rewrite runtime linker to be truly thread-safe. There is now no
1472 global variable specifying the scope. We create all needed
1473 scopes at the time the link maps are created.
1474 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
1475 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
1476 l_symbolic_searchlist, l_scope, and l_local_scope elements in
1478 * elf/dl-close.c: Rewritten accordingly.
1479 * elf/dl-deps.c: Likewise.
1480 * elf/dl-error.c: Likewise.
1481 * elf/dl-init.c: Likewise.
1482 * elf/dl-load.c: Likewise.
1483 * elf/dl-lookup.c: Likewise.
1484 * elf/dl-object.c: Likewise.
1485 * elf/dl-open.c: Likewise.
1486 * elf/dl-reloc.c: Likewise.
1487 * elf/dl-runtime.c: Likewise.
1488 * elf/dl-support.c: Likewise.
1489 * elf/dl-symbol.c: Likewise.
1490 * elf/dl-version.c: Likewise.
1491 * elf/dlsym.c: Likewise.
1492 * elf/dlvsym.c: Likewise.
1493 * elf/ldsodefs.h: Likewise.
1494 * elf/rtld.c: Likewise.
1495 * iconv/gconv_dl.c: Likewise.
1496 * nss/nsswitch.c: Likewise.
1497 * sysdeps/i386/dl-machine.h: Likewise.
1498 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
1500 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
1501 Define RTLD_DEFAULT.
1503 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
1505 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
1506 __getopt_clean_environment with __environ instead of envp.
1508 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
1510 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
1512 * string/argz-extract.c (__argz_extract): Add de-consting cast for
1515 * string/argz.h (argz_next): Add de-consting cast for return.
1516 * string/argz-next.c (__argz_next): Likewise.
1518 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
1519 Don't add netinet/udp.h, netinet/ip_icmp.h here.
1520 * sysdeps/gnu/Makefile: Do it here instead.
1521 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
1522 * sysdeps/gnu/Dist: ... to here.
1524 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
1525 sysdeps/unix/sysv/linux/netinet/tcp.h,
1526 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
1528 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
1530 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
1531 * string/argz-next.c, string/argz-extract.c: Fix defns.
1533 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
1535 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
1537 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
1538 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
1539 * sysdeps/generic/sysd-stdio.c: Likewise.
1541 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
1543 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
1544 (_dl_map_object_from_fd): Make NAME argument const.
1545 Remove last parameter in _dl_new_object call.
1546 (print_search_path): Correct construction of composed path name.
1547 (_dl_map_object): Prevent looking at RPATH of the main map twice.
1548 Remove last parameter in _dl_new_object call.
1549 * elf/dl-object.c: Remove last parameter. Determine whether create
1550 origin entry based on empty realname. Handle file in root directory
1552 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
1553 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
1554 Remove last parameter in _dl_new_object call.
1555 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
1556 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
1558 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
1560 * elf/dl-close.c (_dl_close): Add more comments and correct some.
1561 Free l_searchlist and l_dupsearchlist.
1563 * debug/catchsegv.sh: Add one more pair of quotes.
1565 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
1567 * elf/dl-load.c (add_name_to_object): Change return type to void and
1568 make NAME parameter const. Allocate room for NAME in same memory
1569 block used for l_libname entry.
1570 (_dl_map_object_from_fd): Don't free NAME on failure.
1571 (map_segment): Pass SONAME to add_name_to_object, not a copy.
1572 (_dl_map_object): Don't create copy of NAME. Pass NAME to
1573 _dl_map_object_from_fd.
1574 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
1575 memory block used for l_libname entry.
1576 * elf/dl-close.c: Adjust free()ing for this change.
1578 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
1580 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
1582 * malloc/mtrace.c: Add bug report address. Update email address.
1583 Add more @XXX@ to print correct address size.
1585 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
1588 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
1589 for munmap call instead of examining phdr again.
1590 Free all malloc()ed strings and arrays.
1592 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
1594 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
1596 * sysdeps/powerpc/dl-machine.c: New file.
1597 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
1598 files. Revise ELF_PREFERRED_ADDRESS to take account of
1599 the new mapping information (fixes bug involving huge bloated
1600 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
1601 * sysdeps/powerpc/dl-start.S: New file.
1603 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
1605 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
1606 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
1607 others. Call elf_dynamic_do_##reloc only once (to save even more
1609 * elf/link.h: Add new members l_map_start and l_map_end to keep
1610 track of the memory map.
1611 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
1614 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
1616 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
1617 Reported by Andreas Jaeger.
1619 * posix/glob.h: Use __size_t instead of size_t in definitions and
1620 make sure this is defined.
1622 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
1624 * manual/locale.texi: Almost complete rewrite. Document more functions
1626 * manual/arith.texi: Correct reference.
1627 * manual/string.texi: Pretty printing.
1629 * manual/texinfo.tex: Update from last available version.
1631 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
1633 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
1635 (_nss_nis_getpwuid_r): Likewise.
1636 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
1638 * inet/rcmd.c: Implement netgroup support.
1639 Patch by Dick Streefland <dick_streefland@tasking.com>.
1641 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1643 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
1644 object on the list is removed. Don't use this code for PIC.
1645 Reported by HJ Lu [PR libc/770].
1647 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
1649 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
1651 * include/stdio.h: Add __vsscanf.
1653 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
1655 Remove __vsscanf declaration.
1656 Always declare fgetpos and fsetpos.
1658 * math/math.h: Define isinf as macro.
1659 * math/bits/mathcalls.h: Change to declare __isinf all the time.
1660 Don't declare scalb for ISO C 9x.
1662 * math/tgmath.h: Define fma. Rewrite the underlying macros.
1664 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
1666 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
1669 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
1672 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1674 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
1675 Reported by jreising@frequentis.com [PR libc/767].
1677 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1679 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
1680 fl.l_start at beginning of function.
1681 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
1683 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1685 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
1686 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
1688 * nscd/nscd.init: Make it work in RedHat systems.
1689 Patch by Christian Gafton.
1691 1998-08-29 Philip Blundell <philb@gnu.org>
1693 * catgets/Makefile: Don't try to run test programs when
1696 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1698 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
1699 Reported by Zack Weinberg.
1701 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1703 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
1704 * elf/Makefile (distribute): Remove ldd.sh.in.
1706 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1708 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
1711 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
1713 * sysdeps/i386/register-dump.h: Move to ...
1714 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
1716 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
1718 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
1719 with load address, not map address.
1720 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
1721 parameter and use this value.
1722 * sysdeps/arm/dl-machine.h: Likewise.
1723 * sysdeps/i386/dl-machine.h: Likewise.
1724 * sysdeps/m68k/dl-machine.h: Likewise.
1725 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
1727 * sysdeps/powerpc/dl-machine.h: Likewise
1728 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
1729 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
1731 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
1733 * elf/rtld.c (process_envvars): Fix copy&paste error.
1735 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
1737 (realloc_hook_ini): Don't overwrite memalign hook.
1738 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
1739 Reported by Philippe Troin <phil@fifi.org>.
1741 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
1742 Patch by Philippe Troin <phil@fifi.org>.
1744 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1746 * sysdeps/generic/segfault.c (install_handler): Protect the
1747 non-POSIX signals with #ifdef.
1748 (catch_segfault): Add missing mode parameter for open.
1749 * debug/catchsegv.sh: Avoid termination message from shell. Allow
1750 other termination signals.
1752 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1754 * debug/Makefile (distribute): Add register-dump.h.
1756 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1758 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
1760 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
1762 * elf/Makefile (distribute): Add dl-origin.h.
1763 * sysdeps/generic/dl-origin.h: New file.
1764 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
1765 * elf/link.h (struct link_map): Add l_origin field.
1766 * elf/dl-load.c (expand_dynamic_string_token): New function.
1767 (decompose_path): Remove WHERE argument, take link map pointer instead.
1768 Call expand_dynamic_string_token instead of local_strdup to make copy
1770 (_dl_init_paths): Call decompose_path with correct argument.
1771 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
1773 Check EI_OSABI and EI_ABIVERSION fields in header.
1774 Call _dl_new_object with extra argument.
1775 (_dl_map_object): Call decompose_path with correct argument.
1776 Call expand_dynamic_string_token instead of local_strdup to also
1778 Call _dl_new_object with extra argument.
1779 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
1780 but the main one if new argument is nonzero.
1781 * elf/ldsodefs.h: Adjust for _dl_new_object change.
1782 * elf/dl-support.c: Define _dl_origin_path.
1783 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
1784 (dl_main): Call _dl_new_object with extra argument.
1786 * elf/dl-close (_dl_close): Free l_name and l_origin.
1788 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
1789 modifier in asm, not c.
1791 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
1792 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
1794 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
1796 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
1797 variable so that map can be freed.
1798 Reported by Philippe Troin <phil@fifi.org>.
1800 * elf/dl-open.c (dl_open_worker): Correct test for extending global
1802 Patch by Philippe Troin <phil@fifi.org>.
1804 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
1806 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
1807 Don't call writev() with a 100-element vector.
1808 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
1811 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
1812 In particular, set __libc_stack_end.
1813 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
1814 undefined. Fix copyright notice.
1816 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1818 * math/Makefile (gmp-objs): New variable.
1819 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
1821 (tests): Add atest-exp atest-sincos atest-exp2.
1822 (tests-static): Remove atest-exp atest-sincos atest-exp2.
1824 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
1826 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
1828 (_dl_unload_cache): New function.
1829 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
1830 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
1831 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
1833 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
1834 Correct comment for O_LARGEFILE.
1835 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
1836 Change O_LARGEFILE to correct value.
1838 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
1840 * libio/iogetline.c (_IO_getline_info): Don't read anything for
1841 N == 0. Patch by HJ Lu.
1843 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
1845 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
1847 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
1849 * argp/argp.h: Use __inline__ not inline.
1851 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
1852 an input register as being clobbered.
1853 * sysdeps/i386/memset.c (memset): Likewise.
1854 * sysdeps/i386/bzero.c (__bzero): Likewise.
1855 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
1857 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1859 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
1860 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
1862 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
1864 * debug/catchsegv.sh: Handle text preceding backtrace better.
1865 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
1866 to be installed for other signals than SIGSEGV.
1867 * sysdeps/generic/register-dump.h: New file.
1868 * sysdeps/i386/register-dump.h: New file.
1869 * sysdeps/powerpc/register-dump.h: New file.
1871 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
1873 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
1875 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
1877 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
1879 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
1881 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
1882 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
1883 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
1884 getresuid, getresgid.
1886 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
1888 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
1889 pointer in userland.
1891 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1893 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
1896 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1898 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
1899 over arguments Bourne shell compatible. Don't exit unsuccessfully
1900 if nonelf returns successfully. Avoid duplicating most of the
1902 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
1905 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1907 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
1909 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
1910 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
1912 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
1914 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
1915 __modify_ldt and modify_ldt.
1916 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
1918 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1919 Use orl $-1 instead of movl $-1 to save two bytes.
1920 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
1923 1998-08-17 H.J. Lu <hjl@gnu.org>
1925 * libio/Versions (_IO_do_write, _IO_file_attach,
1926 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1927 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1928 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1929 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
1931 * libio/fileops.c (_IO_do_write, _IO_file_attach,
1932 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1933 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1934 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1935 _IO_file_write, _IO_file_xsputn): Change the prefix to
1936 "_IO_new_". Added to GLIBC_2.1.
1938 * libio/libioP.h (_IO_do_write, _IO_file_attach,
1939 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1940 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1941 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1942 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
1945 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
1946 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1947 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1948 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1949 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
1951 1998-08-23 Richard Henderson <rth@cygnus.com>
1953 * Makeconfig (LDFLAGS): Remove.
1955 * csu/initfini.c: Return to .text before __gmon_start__.
1957 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
1958 (STO_MIPS_*): Rename from STO_*.
1959 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
1960 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
1962 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
1963 (main): e3s is negative on zero.
1964 * math/atest-exp2.c: Likewise.
1965 * math/atest-sincos.c: Likewise.
1967 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1969 * Makerules (install): Add comment about absolute paths.
1971 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
1973 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
1974 array to NUL to handle maxlen==1 case correctly.
1977 1998-08-23 Richard Henderson <rth@cygnus.com>
1979 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
1980 * sysdeps/alpha/elf/crtend.S: Likewise.
1981 * sysdeps/alpha/elf/start.S: Likewise.
1983 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
1984 non-standard pv usage.
1986 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
1987 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
1988 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1989 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1990 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1991 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1992 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1993 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1994 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1995 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1996 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1998 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
1999 a finite non-denormal, deferring to the full IEEE version otherwise.
2001 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
2002 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
2003 * sysdeps/alpha/fpu/s_floor.c: New.
2004 * sysdeps/alpha/fpu/s_floorf.c: New.
2005 * sysdeps/alpha/fpu/s_ceil.c: New.
2006 * sysdeps/alpha/fpu/s_ceilf.c: New.
2008 1998-08-22 Philip Blundell <philb@gnu.org>
2010 * sysdeps/arm/bits/string.h: New file.
2012 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2014 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
2017 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
2018 test for recent Linux 2.1.100+ headers.
2020 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2022 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
2024 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
2026 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
2028 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2030 * Makefile (elf/ldso_install): Put back. The problem still persists.
2031 * elf/Makefile (ldso_install): Likewise.
2033 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2035 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
2037 * include/db.h: Declare __nss_db_open.
2038 * db2/Versions: Export it.
2040 * db2/makedb.c: Convert to use db2 API.
2041 * nss/nss_db/db-XXX.c: Likewise.
2042 * nss/nss_db/db-netgrp.c: Likewise.
2043 * nss/nss_db/db-alias.c: Likewise.
2044 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
2046 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2048 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2049 sys_setresuid, already built automatically (or not).
2050 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
2051 instead of __syscall_setresuid and add back setresuid.
2052 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
2053 __syscall_setresuid.
2055 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2057 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
2059 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
2061 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
2062 BASH-ONLY marked region.
2063 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
2065 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
2067 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
2070 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
2072 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
2075 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
2077 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
2078 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
2079 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
2080 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
2081 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
2082 those magic comments, and to use /bin/sh for @BASH@.
2083 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
2084 * elf/ldd.sh.in: File removed.
2086 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
2088 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
2089 cast them to unsigned long int.
2090 * pwd/putpwent.c (putpwent): Likewise.
2091 Patch by John Tobey <jtobey@banta-im.com>.
2093 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
2095 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
2098 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
2100 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
2103 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
2105 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
2106 Add umount and umount2.
2107 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
2108 * sysdeps/unix/sysv/linux/umount.S: New file.
2109 * sysdeps/unix/sysv/linux/umount2.S: New file.
2110 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
2113 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
2115 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
2116 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
2118 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
2120 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
2123 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
2125 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
2126 * elf/ldd.bash.in: Likewise.
2128 * elf/sln.c: Avoid warning for no main prototype.
2130 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
2132 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2133 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2135 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
2137 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
2138 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2139 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2141 1998-08-20 Philip Blundell <pb@nexus.co.uk>
2143 * sysdeps/arm/fpu/ieee754.h: Move to...
2144 * sysdeps/arm/ieee754.h: ... here.
2146 * sysdeps/arm/__longjmp.S: Put return value in correct register.
2147 Don't set the condition flags unnecessarily.
2148 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
2149 registers correctly.
2151 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
2152 (patch from Scott Bambrough).
2154 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
2156 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
2157 NULL, just call it unconditionally.
2158 (__gmon_start__): Provide stub version as a weak symbol.
2160 1998-07-30 Philip Blundell <philb@gnu.org>
2162 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
2165 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
2166 like `@' in .type directives.
2168 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
2169 * sysdeps/arm/bsd-_setjmp.S: Likewise.
2171 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
2173 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2175 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
2176 (F_GETOWN): Likewise.
2178 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
2181 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
2183 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
2186 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
2188 * include/features.h: Define __USE_EXTERN_INLINES for recent
2190 * argp/argp.h: Define extern inline functions only if
2191 __USE_EXTERN_INLINES is defined.
2192 * libio/stdio.h: Likewise.
2193 * math/math.h: Likewise.
2194 * stdlib/stdlib.h: Likewise.
2195 * string/argz.h: Likewise.
2196 * sysdeps/generic/bits/sigset.h: Likewise.
2197 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2198 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
2199 * sysdeps/wordsize-32/inttypes.h: Likewise.
2200 * sysdeps/wordsize-64/inttypes.h: Likewise.
2201 * wcsmbs/wchar.h: Likewise.
2203 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
2204 to allow compilation without optimization.
2206 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2208 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
2210 * nis/nss_compat/compat-initgroups.c: Likewise.
2211 * nis/nss_compat/compat-pwd.c: Likewise.
2212 * nis/nss_compat/compat-spwd.c: Likewise.
2213 * nis/nss_nis/nis-alias.c: Likewise.
2214 * nis/nss_nis/nis-ethers.c: Likewise.
2215 * nis/nss_nis/nis-grp.c: Likewise.
2216 * nis/nss_nis/nis-hosts.c: Likewise.
2217 * nis/nss_nis/nis-initgroups.c: Likewise.
2218 * nis/nss_nis/nis-network.c: Likewise.
2219 * nis/nss_nis/nis-proto.c: Likewise.
2220 * nis/nss_nis/nis-pwd.c: Likewise.
2221 * nis/nss_nis/nis-rpc.c: Likewise.
2222 * nis/nss_nis/nis-service.c: Likewise.
2223 * nis/nss_nis/nis-spwd.c: Likewise.
2225 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
2227 * nis/ypclnt.c: Try binding dir only first time, could be to old.
2229 * nis/yp_xdr.c: Remove 1024 byte limit.
2230 * nis/ypupdate_xdr.c: Likewise.
2232 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
2235 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
2237 * Rules (binaries-static, binaries-shared static pattern rules):
2238 Depend on lib%, not just libc%, from $(link-libc{,-static}).
2240 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
2241 this here, overriding Makeconfig generic value so we link against
2244 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
2246 * posix/tstgetopt.c (options): Add NULL entry at end
2247 Patch by Adrian Miranda <ade@psg.com>.
2249 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
2251 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
2254 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
2256 * elf/elf.h: Add PPC Diab relocations.
2258 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
2260 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
2262 * manual/texinfo.tex: Update.
2264 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
2266 * sysdeps/powerpc/backtrace.c: New file.
2268 1998-08-14 Philip Blundell <pb@nexus.co.uk>
2270 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
2272 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
2274 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2276 * Makefile (install-symbolic-link): Fix spelling.
2278 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2280 * elf/elf.h (SHT_HIOS): Fix value.
2282 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2284 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
2285 part of the expansion, this is undefined by the standard.
2287 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
2289 * posix/getconf.c: Add support for systems with incomplete confname.h.
2291 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
2293 * sysdeps/posix/wait3.c: Make it work.
2295 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2297 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
2298 (elf/ldso_install): Remove.
2300 * elf/Makefile (distribute): Add sln.c.
2302 (others-static): Add sln.
2303 (install-rootsbin): Add sln.
2304 (others-static): Add sln.
2305 (ldso_install): Remove.
2307 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2309 * Makerules (install-clean-symbolic-link-list): Make phony.
2310 * Makefile (install-symbolic-link): Make phony. Depend on
2311 subdir_install for parallel makes.
2314 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
2316 * elf/Makefile (distribute): Add sln.c
2318 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
2320 * elf/sln.c: New file.
2322 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
2323 (install-clean-symbolic-link-list): New target.
2324 (install): Depend on install-clean-symbolic-link-list.
2325 (make-shlib-link): Changed for $(symbolic-link-list).
2327 * Makefile (install-symbolic-link): New target.
2328 (install): Depend on install-symbolic-link.
2330 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
2332 * include/unistd.h: Protect against multiple inclusion.
2334 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
2335 is defined, not is glob is defined.
2336 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
2338 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
2340 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
2341 xdr_string for ut_line, ut_name and ut_host.
2343 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2345 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
2346 /var/mail in accordance with FHS 2.0.
2347 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
2349 1998-08-12 Richard Henderson <rth@cygnus.com>
2351 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
2352 Update aliases for cancelation.
2354 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
2355 playing with symbol versions.
2357 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
2359 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
2360 multiple inclusion protection.
2361 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
2362 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
2363 define all these to 1.
2364 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
2366 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
2368 * sysdeps/mach/usleep.c: Include <unistd.h>.
2369 (usleep): Return void.
2371 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
2373 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
2374 decl to inhibit warning in if_freenameindex defn.
2376 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
2378 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
2380 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
2381 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
2382 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
2383 * sysdeps/mach/usleep.c: Likewise.
2385 * sysdeps/mach/hurd/bind.c (bind): Add a const.
2387 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
2388 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
2389 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
2390 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
2391 * sysdeps/mach/usleep.c (usleep): Likewise.
2392 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2393 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2394 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
2395 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
2397 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
2399 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
2402 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
2403 %p arg to fprintf, since `void *' is the right type already.
2405 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
2407 * sysdeps/mach/hurd/getcwd.c
2408 (_hurd_canonicalize_directory_name_internal): Do not loop forever
2409 for unknown root directories.
2410 (__getcwd): Return NULL when the current root directory could not
2413 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
2415 * string/strsignal.c (strsignal): Count real-time signals from zero.
2418 See ChangeLog.8 for earlier changes.