]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
c10bb795
UD
11998-10-05 Philip Blundell <philb@gnu.org>
2
3 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
4 and constants. Tidy up formatting a little.
5
6 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
7 Move definitions to in.h.
8
8325d82c
UD
91998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10
11 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
12 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
13 Remove inclusion of <linux/swap.h>.
14
151998-10-05 Ulrich Drepper <drepper@cygnus.com>
16
17 * io/sys/stat.h: Use __P in definitions of inline stat functions
18 so that they match the declaration.
19
201998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
21
22 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
23
241998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
25
26 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
27 linux 2.1 version.
28
291998-10-02 Philip Blundell <pb@nexus.co.uk>
30
31 * sysdeps/arm/dl-machine.h: Fix typo in last change.
32
33 * sysdeps/arm/bits/huge_val.h: New file.
34
351998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
36
37 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
38
39 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
40 define.
41
421998-10-05 Ulrich Drepper <drepper@cygnus.com>
43
44 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
45 store result of realloc instead of using BUF.
46
471998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
48
49 * misc/sgtty.h (_SGTTY_H): Correct spelling.
50 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
51
521998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
53
54 * manual/memory.texi (Obstacks): Document
55 obstack_alloc_failed_handler usage.
56
57 * malloc/obstack.h: Enhance comment about
58 obstack_alloc_failed_handler usage.
59 * malloc/obstack.c: Likewise.
60
611998-10-05 Ulrich Drepper <drepper@cygnus.com>
62
63 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
64 gcc before 2.8 is used.
65
661998-10-01 Philip Blundell <pb@nexus.co.uk>
67
68 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
69 from Scott Bambrough.
70
71 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
72
73 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
74 include the lock member.
75
761998-09-03 Philip Blundell <pb@nexus.co.uk>
77
78 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
79
e3e4e463
UD
801998-10-01 Ulrich Drepper <drepper@cygnus.com>
81
82 * timezone/zic.c: Update from tzcode1998h.
83 * timezone/europe: Update from tzdata1998i.
84 * timezone/southamerica: Likewise.
85
7782d0bf
UD
86 * sys/types.h: Protect use of long long by __extension__.
87 * stdlib/stdlib.h: Likewise.
88 * string/string.h: Likewise.
89 * sysdeps/i386/bits/byteswap.h: Likewise.
90 * sysdeps/geeric/bits/byteswap.h: Likewise.
91 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
92 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
93 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
94 * sysdeps/wordsize-32/inttypes.h: Likewise.
95 * sysdeps/wordsize-32/stdint.h: Likewise.
96 * wcsmbs/wchar.h: Likewise.
97
8325d82c
UD
981998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
99
100 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
101 expression.
102 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
103 __strsep): Greatly reduce size of expansion by combining common
104 expressions.
105 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
106 inline function.
107 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
108 by the above definitions.
109
1101998-09-27 Geoff Keating <geoffk@ozemail.com.au>
111
112 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
113 correct struct ipc_perm definition.
114
1151998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
116
117 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
118
999b2f6b
UD
1191998-09-29 Cristian Gafton <gafton@redhat.com>
120
8325d82c
UD
121 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
122 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
999b2f6b
UD
123 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
124 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
125 Add net/if_shaper.h.
126
87052ab7
UD
1271998-09-29 Ulrich Drepper <drepper@cygnus.com>
128
cf26217d
UD
129 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
130
87052ab7
UD
131 * nis/ypclnt.c: Remove not needed close calls.
132
6ff5bc68
UD
1331998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
134
135 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
136 check a bit. Also close socket of domain client. Close socket
137 in IPPORT_RESERVED error case.
138
1391998-09-28 Ulrich Drepper <drepper@cygnus.com>
140
141 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
142 CMSG_ALIGN (fixes a bug) and correct test for availability of
143 another entry.
144 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
145 Linux version.
146 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
147 availability of another entry.
148 Patch by ak@muc.de.
149
150 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
151 Patch by ak@muc.de.
152
999b2f6b
UD
153 * libio/libio.h [!__STDC__]: Define const only if not defined.
154
6ff5bc68
UD
1551998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
156
157 * posix/annexc.c (xsystem): New function. Use it instead of
158 system.
159
1601998-09-28 Ulrich Drepper <drepper@cygnus.com>
161
162 * stdlib/longlong.h: Remove #endif for #if removed in last change.
163
e07a51b5
UD
1641998-09-25 Ulrich Drepper <drepper@cygnus.com>
165
166 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
167 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
168 allow using `ut' parameter.
169 [!emacs]: Define ut_argument, ut_argument_spec, and
170 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
171 argument_spec to prototypes and definitions.
172 (my_strftime): Don't call tzset of ut != 0.
173 Compute diff as 0 is ut != 0;
174 [emacs]: Define new emacs_strftime function.
175 Based on a patch by Paul Eggert.
176
1771998-09-24 Paul Eggert <eggert@twinsun.com>
178
179 * time/strftime.c (my_strftime): When asking for the length of the
180 subformatted buffer, do not limit the length to look for;
181 otherwise, we have no reliable way to distinguish between the
182 empty buffer and an error.
183
390a4882
UD
1841998-09-25 Ulrich Drepper <drepper@cygnus.com>
185
186 * math/Makefile (gmp-objs): Add mp_clz_tab.
187
1881998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
189
190 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
191 set them.
192 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
193 cpus lacking hardware multiply and divide.
194
1951998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
196
197 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
198 $(<F), not $(^F).
199
2001998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
201
202 * db/btree/bt_delete.c: Fix -Wparentheses warning.
203
2041998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
205
206 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
207 $(do-install).
208
e503270c
UD
2091998-09-24 Ulrich Drepper <drepper@cygnus.com>
210
e07a51b5 211 * debug/catchsegv.sh: Also produce output if clone process died.
e503270c
UD
212
2131998-09-24 Paul Eggert <eggert@twinsun.com>
214
390a4882 215 * time/strftime.c (f_wkday): Remove duplicate definition.
e503270c
UD
216 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
217 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
218 1998-09-11 fix to this case.
219 (wkday_len, month_len): Remove these macros; they're no longer needed.
220
2211998-09-24 Paul Eggert <eggert@twinsun.com>
222
390a4882 223 * time/strftime.c (my_strftime): Don't store past the end of a
e503270c
UD
224 zero-sized buffer.
225
3465c0ce
UD
2261998-09-24 Paul Eggert <eggert@twinsun.com>
227
e503270c 228 * time/strftime.c (underlying_strftime):
3465c0ce
UD
229 Set the buffer to a nonzero value before calling
230 strftime, and check to see whether strftime has set the buffer to zero.
231 This lets us distinguish between an empty buffer and an error.
232
2331998-09-24 Paul Eggert <eggert@shade.twinsun.com>
234
e503270c 235 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
3465c0ce
UD
236 This fix is propagated from tzcode1998g.tar.gz.
237
7a3bfc4e
UD
2381998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
239
240 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
241 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
242 sys_siglist. This is handled correctly by the weak_alias macro.
243
369b1933
UD
2441998-09-24 Ulrich Drepper <drepper@cygnus.com>
245
50a1b837
UD
246 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
247 of mempcpy. Reported by Andreas Jaeger.
248
369b1933
UD
249 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
250 pollute the namespace since the compiler will resolve it inline.
251 Reported by Florian La Roche <florian@suse.de>.
252
2b79b6d5
UD
2531998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
254
255 * timezone/private.h: Update from tzcode1998g.
256
257 * timezone/africa: Update from tzdata1998h.
258 * timezone/asia: Likewise.
259 * timezone/australasia: Likewise.
260 * timezone/europe: Likewise.
261 * timezone/northamerica: Likewise.
262 * timezone/southamerica: Likewise.
263 * timezone/zone.tab: Likewise.
264
3d42e04d
UD
2651998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
266
267 * misc/sys/mman.h: New file.
268
269 * sysdeps/generic/bits/mman.h: New file.
270 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
271 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
272 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
273 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
274
275 * sysdeps/generic/sys/mman.h: Removed.
276 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
277 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
278 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
279 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
280 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
281
282 * include/sys/mman.h: Look directly for misc/sys/mman.h.
283 * misc/Makefile (headers): Add bits/mman.h.
284 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
285 bits/mman.h.
286
287 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
288 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
289 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
290 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
291 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
292 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
293 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
294 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
295
2961998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
297
298 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
299 * sysdeps/mach/alpha/thread_state.h: Likewise.
300 * sysdeps/mach/i386/sysdep.h: Likewise.
301 * sysdeps/mach/i386/thread_state.h: Likewise.
302 * sysdeps/mach/mips/sysdep.h: Likewise.
303 * sysdeps/mach/mips/thread_state.h: Likewise.
304 * sysdeps/posix/profil.c: Likewise.
305 * sysdeps/i386/i586/memcopy.h: Likewise.
306 * sysdeps/mach/pagecopy.h: Likewise.
307
a379e56a
UD
3081998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
309
310 * libio/stdio.h: Define __need_getopt and include getopt.h to define
311 getopt stuff.
312 * posix/unistd.h: Likewise.
313 * stdio/stdio.h: Likewise.
314 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
315 define only getopt and the variables.
316
34a4b66d
UD
3171998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
318
319 * scripts/test-installation.pl (installation_problem): Don't link
320 the test program against libdb1.
321
24fd4cc4
UD
3221998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
323
324 * Makeconfig (all-subdirs): Add db.
325 * Versions.def: Add definition for libdb1.
326 * shlib-versions: Add definitions for libdb1.
327 * db/Makefile (extra-libs): Replace by libdb1.
328 (libdb-routines): Rename to libdb1-routines.
329 (headers): Rename to db1-headers.
330 (distribute): Add $(db1-headers).
331 (install-others): Define to install symlink libdb.so.NN and the
332 $(db1-headers).
a379e56a 333 (CPPFLAGS): Add -DUSE_LIBDB1
24fd4cc4
UD
334 Remove rules to build makedb.
335 * db/Versions: Rename libdb to libdb1.
336 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
af564203 337 * db/makedb.c: Removed.
24fd4cc4
UD
338
339 * scripts/versions.awk: Recognize digits in library names.
340
341 * db/btree/bt_open.c: Fix compiler warnings.
342 * db/btree/bt_put.c: Likewise.
343 * db/btree/bt_split.c: Likewise.
344 * db/hash/hash.c: Likewise.
345 * db/hash/hash_bigkey.c: Likewise.
346 * db/recno/rec_close.c: Likewise.
347
af564203
UD
348 * Makefile: Add localedata/% goal.
349
c94a8080
UD
3501998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
351
352 * posix/execvp.c: Don't give up searching the PATH if execve
353 returns ENOTDIR.
354
3551998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
356
357 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
358 if _dl_fpu_control_set is set.
359 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
360 * elf/rtld.c: Don't define _dl_fpu_control_set.
361 * elf/Versions: Remove _dl_fpu_control_set.
362
3631998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
364
365 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
366 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
367 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
368 Correct values of other SA_* macros according to kernel headers.
369
3701998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
371
372 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
373 variable l.
374 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
375 old.
376
3771998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
378
379 * elf/ldsodefs.h: Fix typo in comment.
380
3811998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
382
383 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
384 char when comparing buffer contents with putback character.
385
3861998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
387
388 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
389 Undo last change.
390 * elf/Versions: Undo last change. Export _dl_fpu_control and
391 _dl_fpu_control_set.
392 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
393 variables. Include <fpu_control.h>.
394 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
395 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
396 to indicate that is was seen.
397 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
398 only if _dl_fpu_control was set and is equal to desired value.
399 * math/Makefile (aux): Undo last change.
400 * math/Versions: Export __fpu_control with version GLIBC_2.0.
401
f74e8ed1
AS
4021998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
403
404 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
405 optimized.
406
e7c5513d
UD
4071998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
408
409 * string/bits/string2.h: Add mempcpy optimization.
410 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
411 * intl/localealias.c: Define mempcpy only if not already defined.
412
413 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
414 defined.
415
4161998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
417
418 * csu/abi-note.S: Emit the note directly instead of defining
419 a preprocessor macro that's only used once. Don't include sysdep.h.
420 * abi-tags: Generalize Solaris entry.
421
4221998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
423
424 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
425 Change to array to avoid runtime relocation.
426 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
427
4281998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
429
430 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
431 * math/Makefile ($(objpfx)libieee.a): Likewise.
432
4331998-09-21 Ulrich Drepper <drepper@cygnus.com>
434
435 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
436 Patch by John Tobey <jtobey@banta-im.com>.
437
b0fd6165
UD
4381998-09-20 Ulrich Drepper <drepper@cygnus.com>
439
440 * login/Makefile (distribute): Remove pty-internal.h, add
441 pty-private.h.
1391f5d3
UD
442
443 * stdlib/tst-strtol.c: Add more checks.
444 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
445
a0780919
UD
4461998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
447
448 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
449 * elf/elf.h: Add AT_FPUCW.
450 * elf/Makefile (dl-routines): Add fpu_control.
451 (elide-routines.os): Add fpu_control.
452 (rtld-routines): Add fpu_control.
453 * math/Makefile (aux): Remove fpu_control.
454 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
455 (_dl_show_auxv): Likewise.
456 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
457 if different from OS default.
458
459 * stdio-common/tstscanf.c: Add test case for (nil).
460
00bc5db0
UD
4611998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
462
463 * libio/fileops.c (_IO_new_file_underflow): Before allocating
464 buffer make sure the pushback buffer is destroyed.
465 (_IO_new_file_seekoff): Likewise.
466 If mode==0 quit early with the result.
467 Clear OEF flag after successful fseek.
468 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
469 * libio/ftello.c (ftello): Add offset from original buffer if
470 stream has pushed back characters.
471 * libio/ftello64.c (ftello64): Likewise.
472 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
473 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
474 * libio/ioftell.c (_IO_ftell): Likewise.
475 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
476 and _IO_save_ptr.
477 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
478 (_IO_default_pbackfail): Only stored push back character in original
479 buffer if it is the same as the one in the file at this position.
480 * libio/iofclose.c: Free backup buffer if one is available.
481 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
482 mode!=0.
483
484 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
485
486 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
487
c53a89d4
UD
488 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
489
00bc5db0
UD
4901998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
491
492 * login/programs/pt_chown.c (more_help): Correct message that
493 describes the purpose of the program.
494
495 * login/openpty.c: Do not include pty-private.h.
496 (pts_name): New function. Return name of slave pseudo terminal in
497 an allocated buffer if necessary.
498 (openpty): Use pts_name to get name of the slave end of the pseudo
499 terminal pair.
500
501 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
502 pts_name before return.
503
5041998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
505
506 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
507
88263bc9
UD
5081998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
509
510 * login/openpty.c: Include pty-private.h instead of
511 pty-internal.h.
512
872ea854
UD
5131998-09-09 Philip Blundell <pb@nexus.co.uk>
514
515 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
516
5171998-09-07 Philip Blundell <pb@nexus.co.uk>
518
519 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
520 recent ld.so changes.
521 (elf_machine_runtime_setup): Correct behaviour when profiling.
522
9b3c7c3c
UD
5231998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
524
525 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
526 Patch by John Tobey <jtobey@banta-im.com>.
527
5281998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
529
530 * login/pty-internal.h: Removed. Moved constants related to the
531 `grantpt' helper program protocol to ...
532 * login/pty-private.h: ... here. New file.
533 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
534 to make the function work with kernels >= 2.1.115.
535 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
536 version if using the cloning device fails.
537 * sysdeps/unix/sysv/linux/grantpt.c: New file.
538 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
539 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
540 use by Linux specific code.
541 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
542 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
543 function. (grantpt): Use pts_name, check group and permission
544 mode in addition to owner. Try to set the owner, group and
545 permission mode first without invoking the helper program.
546 * login/programs/pt_chown.c: Largely rewritten. Add argp and
547 internationalization support. Use symbolic constants instead of
548 hardwired numbers for permission mode.
549 * sysdeps/unix/bsd/ptsname.c: New file.
550
5511998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
552
553 * posix/wordexp-test.c: Undo last change.
554
555 * posix/wordexp.c: Undo last change.
556
d8f2b9ea
UD
5571998-09-16 Ulrich Drepper <drepper@cygnus.com>
558
559 * nscd/grpcache.c (save_grp): Partly undo last change.
560
561 * nscd/pwdcache.c (save_pwd): Undo last change.
562
9c4c0024
UD
5631998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
564
565 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
566 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
567
5681998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
569
570 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
571 Add profiling support.
572 (TRAMPOLINE_TEMPLATE): New macro.
573 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
574 (RTLD_START): Prettify, and set __libc_stack_end properly.
575 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
576 and check for sym being NULL instead.
577 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
578 of stack space.
579 * sysdeps/sparc/sparc64/lshift.S: Likewise.
580 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
581 * sysdeps/sparc/sparc64/rshift.S: Likewise.
582 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
583 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
584 MEDANY code model %g4 usage.
585 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
586 MEDANY code model %g4 usage.
587 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
588 code model address formation.
589 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
590 include elf/ldsodefs.h
591 (DT_SPARC): Remove.
592 (elf_machine_matches_host): It is now EM_SPARCV9.
593 (elf_machine_dynamic): Clean up to remove ugly cast.
594 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
595 new PLT formats.
596 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
597 Prettify rest of function.
598 [R_SPARC_COPY]: Check for sym being NULL.
599 [R_SPARC_32]: Handle it.
600 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
601 MEDMID code model.
602 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
603 MEDANY code model.
604 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
605 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
606 Add profiling support.
607 (TRAMPOLINE_TEMPLATE): New macro.
608 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
609 (RTLD_START): Prettify and set __libc_stack_end.
610 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
611 Define.
612 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
613 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
614 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
615 unused variable scratch.
616 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
617 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
618 Declare.
619 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
620 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
621 old format kernel sigaction structures.
622 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
623 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
624 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
625 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
626 ucontext include.
627 (_JMPBUF_UNWINDS): Define.
628 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
629 statfs64 structure, which is exactly the same as the normal one.
630 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
631 of stack. Use correct syscall trap number. Add branch prediction
632 settings to branch instructions. Remove old MEDANY code model %g4
633 referneces for non-PIC.
634 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
635 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
636 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
637 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
638 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
639 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
640 __libc_longjmp and __libc_siglongjmp strong aliases.
641 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
642 Also define to __no__readdir64_decl around readdir.c inclusion.
643 (__readdir64): Add strong alias.
644 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
645 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
646 Set strong and weak names properly.
647
6481998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
649
650 * manual/Makefile (AWK): Default to gawk if standalone.
651
6521998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
653
654 * Makefile (distribute): Undo last change.
655 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
656 for sysdep headers.
657 (+subdir-headers): Removed, unused.
658
6591998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
660
661 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
662 $(do-install).
663
6641998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
665
666 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
667 absolute name in $(config-sysdirs), can never happen.
668 ($(+sysdir_pfx)sysd-rules): Likewise.
669 * Makeconfig (full-config-sysdirs): Likewise.
670 (all-Subdirs-files): Prepend $(..).
671
672 * configure.in: Don't check for absolute name in $add_ons_pfx, can
673 not happen. Let --enable-add-ons=yes work if no add-ons actually
674 exist.
675
6761998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
677
678 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
679 continuations in command.
680
6811998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
682
683 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
684
a8125d85
UD
6851998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
686
687 * posix/wordexp-test.c: If expansion or substitution occurs
688 anywhere in a word, the entire word is subject to field-splitting.
689
690 * posix/wordexp.c (parse_glob): Look for end of word instead of
691 end of field when deciding what to glob.
692 (field_split_word): New function, now the only place where
693 field-splitting is performed.
694 (parse_dollars): New parameter - tell the caller if
695 field-splitting should be performed on this word.
696
697 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
698 succeeded (or failed with WRDE_NOSPACE).
699
7001998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
701
702 * posix/wordexp.c (wordexp): Don't convert IFS characters to
703 blanks.
704
705 * posix/wordexp-test.c: Words not the result of expansion or
706 substitution should remain unchanged.
707
aa2bc6a3
UD
7081998-09-15 Ulrich Drepper <drepper@cygnus.com>
709
710 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
711 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
712
3a60301a
UD
7131998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
714
715 * stdio-common/Makefile: Include Makeconfig so that
716 $(inst_includedir) is defined.
717
77f0d179
UD
7181998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
719
720 * io/pwd.c: Include <mcheck.h>.
721
6beaac4d
UD
7221998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
723
724 * nscd/pwdcache.c (save_pwd): Correct copying.
725 * nscd/grpcache.c (save_grp): Likewise.
726
0ff0d59e
UD
7271998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
728
729 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
730 (free_pwd): Adjust for this change.
731 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
732 (free_grp): Adjust for this change.
733
d3f8acb3
UD
7341998-09-14 Ulrich Drepper <drepper@cygnus.com>
735
736 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
737
14eb5d5d
UD
7381998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
739
740 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
741 (install-others): Add bits/stdio_lim.h.
742 Add rule to install bits/stdio_lim.h.
743
744 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
745
746 * Makefile (distribute): Add include/sys/mman.h.
747
748 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
749 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
750 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
751
0a1590ba
UD
752 * grp/initgroups.c: Include stdlib.h.
753 Patch by Zack Weinberg.
754
1ffaaca2
UD
7551998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
756
757 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
758 for field-splitting :abc: is correct, and that two fields should
759 result. Revert tests to reflect this.
760
761 * posix/wordexp.c (w_emptyword): Remove function.
762 (exec_comm): Don't use w_emptyword.
763 (parse_param): Likewise.
764
4ca020f5
UD
7651998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
766
767 * sysdeps/arm/fpu/Dist: Moved to...
768 * sysdeps/arm/Dist: ...here.
769 * sysdeps/posix/Dist: Removed.
770 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
771 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
772
f624c216
UD
7731998-08-26 Geoff Keating <geoffk@ozemail.com.au>
774
775 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
776
7ef90c15
UD
7771998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
778
779 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
780
7811998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
782
783 * libc-work/nis/nss_nisplus/nisplus-service.c
784 (_nss_nisplus_parse_servent): Convert port in network byte order.
785
7861998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
787
788 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
789 to provide only malloc and calloc.
790 * include/stdlib.h: Support the above.
791 * string/bits/string2.h: Use __need_malloc_and_calloc when
792 including stdlib.h.
793 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
794
795 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
796 * iconvdata/iso646.c: Include <stdlib.h>.
797
7981998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
799
800 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
801 * sysdeps/libm-ieee754/w_pow.c: Likewise.
802 * sysdeps/libm-ieee754/w_powf.c: Likewise.
803 * sysdeps/libm-ieee754/w_powl.c: Likewise.
804
8051998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
806
807 * stdio-common/stdio_lim.h.in: New file. All parameters
808 are adjustable at build time.
809 * Rules: Add a rule to build bits/stdio_lim.h from
810 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
811 all subdirectories know how to make the file. It can't be
812 in Makerules because then it gets built at top level and the
813 dependencies are wrong.)
814
815 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
816 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
817 stdio_lim.h.
818 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
819 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
820 * sysdeps/posix/Makefile: Removed.
821 * sysdeps/posix/mk-stdiolim.c: Removed.
822 * sysdeps/generic/bits/stdio_lim.h: Removed.
823
8241998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
825
826 * argp/argp-help.c: Fixup indentation.
827 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
828 * resolv/nss_dns/dns-network.c: Likewise.
829 * resolv/res_send.c: Likewise.
830 * rt/aio_cancel.c: Likewise.
831 * rt/aio_misc.c: Likewise.
832
8331998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
834
835 * Makefile (install-symbolic-link): Remove the link list file at last.
836 * Makerules (install-clean-symbolic-link-list): Removed.
837
8381998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
839
840 * timezone/tst-timezone.c: Print time in UTC to get consistent
841 output.
842
8431998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
844
845 * elf/rtld.c (_dl_rpath): Removed.
846 * elf/dl-support.c (_dl_path): Removed.
847 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
848 (CFLAGS-dl-support.c): Removed.
849
850 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
851 uses changed.
852 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
853 instead of appending it to the main map's rpath info.
854 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
855 DT_RPATHs. This makes it effective again.
856 (decompose_rpath): Remove second parameter, callers changed.
857 (fillin_rpath): Allocate enough space in curwd.
858 (expand_dynamic_string_token): Cope with get_origin returning -1.
859
8601998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
861
862 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
863 passwd.adjunct.
864
865 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
866 invalid password.
867
8681998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
869
870 * locale/programs/locale.c: Update dates.
871
5d47ceca
UD
8721998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
873
874 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
875 size_t is defined. Some reordering of defenitions to make
876 maintaining this file in parallel with the linux-specific file easier.
877
bd31edf2
UD
8781998-09-13 Ulrich Drepper <drepper@cygnus.com>
879
880 * io/pwd.c (main): Add call to mtrace.
881
882 * malloc/mtrace.pl: Quote @ in string.
883
33c3e20e
UD
8841998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
885
886 * posix/wordexp.c (parse_arith): Fix memory leaks.
887 (exec_comm): Likewise.
888 (parse_param): Likewise.
889 (wordexp): Likewise.
890 (exec_comm): Reduce number of function return points.
891 (parse_param): Likewise.
892 (wordexp): Likewise.
893
1720f4d0
UD
8941998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
895
896 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
897 yield three fields, not two. Test both parameter expansion and
898 command substitution for correct field-splitting behaviour.
899
900 * posix/wordexp.c (w_emptyword): New function.
901 (parse_param): Use it.
902 (exec_comm): Likewise, for consistency with the way parse_param
903 splits fields.
904 (parse_param): Fix some memory leaks.
905
2d09b95d
UD
9061998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
907
908 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
909 Don't mark asm `volatile'.
910 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
911 from the data cache too. Assume it isn't in the instruction cache yet.
912 (__elf_machine_fixup_plt): Clear the modified address from the caches.
913
b39c6f8b
UD
9141998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
915
916 * sysdeps/generic/segfault.c (install_handler): Install signal
917 handler with SA_ONSTACK instead of setting the stack flags to
918 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
919 defined.
920
9211998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
922
923 * signal/signal.h: Fix multiple inclusion guard to cover the
924 entire file.
925 * wcsmbs/wchar.h: Remove prototype of internal function
926 __mbsrtowcs.
927 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
928 arithmetic on `void *'.
929
c06cc21c
UD
9301998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
931
932 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
933
934 * posix/wordexp.c (wordexp): Perform word-splitting instead of
935 field-splitting here.
936 (wordexp): If out of memory mid-word, free the word (but still
937 leave pwordexp alone for caller to see).
938 (parse_param): Allow for zero-length fields (smarter checking of
939 memory allocation failure).
940 (w_addword): Convert NULL words to "".
941 (wordexp): Convert left-over IFS characters to blanks (like bash).
942
81e0cb2d
UD
9431998-09-11 Ulrich Drepper <drepper@cygnus.com>
944
350eb336
UD
945 * configure.in: Use test -f instead of test -e.
946 Patch by John Tobey <jtobey@banta-im.com>.
947
948 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
949 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
950 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
951 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
952 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
953 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
954 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
955 Patches by John Tobey <jtobey@banta-im.com>.
956
81e0cb2d
UD
957 * time/strftime.c (my_strftime): Delay use of *tp values until
958 latest possible point to allow partly initialized structures
959 (e.g., from strptime).
960
514d9bca
UD
961 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
962 and NATS-SEFI.
963 Define *-routines variables for new modules.
964 (distribute): Add .c files for new modules.
965 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
966 and nats-sefi.h.
967 Add rules for header generation.
968 * iconvdata/gconv-modules: Add entries for new modules.
969 * iconvdata/iso_10367-box.c: New file.
970 * iconvdata/mac-is.c: New file.
971 * iconvdata/nats-dano.c: New file.
972 * iconvdata/nats-sefi.c: New file.
973
81e0cb2d
UD
9741998-04-30 18:20 H.J. Lu <hjl@gnu.org>
975
976 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
977 loader if PIC is not defined.
978
ec04e9ba
UD
9791998-09-11 Ulrich Drepper <drepper@cygnus.com>
980
981 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
982 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
983 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
984 and ISO_5428.
985 Define *-routines variables for new modules.
986 (distribute): Add .c files for new modules.
987 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
988 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
989 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
990 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
514d9bca 991 Add rules for header generation.
ec04e9ba
UD
992 * iconvdata/gconv-modules: Add entries for new modules.
993 * iconvdata/csn_369103.c: New file.
994 * iconvdata/cwi.c: New file.
995 * iconvdata/dec-mcs.c: New file.
996 * iconvdata/ecma-cyrillic.c: New file.
997 * iconvdata/gost_19768-74.c: New file.
998 * iconvdata/greek-ccitt.c: New file.
999 * iconvdata/greek7-old.c: New file.
1000 * iconvdata/greek7.c: New file.
1001 * iconvdata/inis-8.c: New file.
1002 * iconvdata/inis-cyrillic.c: New file.
1003 * iconvdata/inis.c: New file.
1004 * iconvdata/iso6937-2.c: New file.
1005 * iconvdata/iso_2033.c: New file.
1006 * iconvdata/iso_5427-ext.c: New file.
1007 * iconvdata/iso_5427.c: New file.
1008 * iconvdata/iso_5428.c: New file.
1009
1010 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
1011 entries.
1012 Convert U02dd correctly.
1013
25c849b1
RH
10141998-09-11 20:46 Richard Henderson <rth@cygnus.com>
1015
1016 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
1017 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1018 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
1019 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
1020
04795ad9
UD
10211998-09-11 Ulrich Drepper <drepper@cygnus.com>
1022
1023 * resolv/res_init.c (res_init): Handle resolv.conf file with only
1024 one nameserver correctly. Patch by HJ Lu.
1025
1026 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
1027 and ANSI_X3.110.
1028 Define *-routines variables for new modules.
1029 (distribute): Add .c files for new modules.
1030 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
1031 Add rules for hedaer generation.
1032 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
1033 * iconvdata/ansi_x3.110.c: New file.
1034 * iconvdata/asmo_449.c: New file.
1035 * iconvdata/baltic.c: New file.
1036 * iconvdata/iec_p27-1.c: New file.
1037
1038 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
1039 entries.
1040 Convert U02dc correctly.
1041
1042 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
1043 * math/atest-exp2.c: Likewise.
1044 * math/atest-sincos.c: Likewise.
1045
1046 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
1047 is defined.
1048
10491998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1050
1051 * string/strcoll.c: Optimize a few expressions.
1052 * string/strxfrm.c: Likewise.
1053
5e0889da
UD
10541998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1055
1056 * manual/locale.texi: Fix typos.
1057
2c86b2bc
UD
10581998-09-10 Ulrich Drepper <drepper@cygnus.com>
1059
26afaa63
UD
1060 * stdlib/random_r.c (__setstate_r): Allow call with same state
1061 array as currently used (PR libc/774).
1062
6c79e60c
UD
1063 * include/limits.h: Include gcc's header even if this file is
1064 found more than once before it (PR libc/778)
1065
ec04e9ba
UD
1066 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
1067 (sysdep_headers): Remove sys/debugreg.h.
1068 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
1069 (sysdep_headers): Add sys/debugreg.h.
39382b8b
UD
1070 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
1071 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
1072
2c86b2bc
UD
1073 * stdio-common/tmpnam.c: Move local static variable buf to
1074 toplevel and rename to tmpnam_buffer to ease debugging.
1075 Patch by Joe Keane <jgk@jgk.org>.
1076 Optimize s == NULL case a bit.
1077
8e9f53fc
UD
1078 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
1079 correction.
1080
482a3be2
UD
10811998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
1082
1083 * resolv/res_init.c (res_init): Initialize _res.nscount and
1084 _res.nsaddr.sin_port differently for the can when no loopback
1085 is available to allow immediate timeout in non-networking environments.
1086 Patch by Cristian Gafton <gafton@redhat.com>.
1087
e8238963
UD
10881998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1089
1090 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
1091 BAR and not EM DASH.
1092 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
1093 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
1094 Fixes PR libc/717.
1095
90865aa8
UD
10961998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
1097
1098 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
1099 for test.
1100 * timezone/tst-timezone.c (tests): Fix typo in last patch.
1101
1102 * time/tzfile.c (__tzfile_read): Handle case when there are no
1103 transitions. Set __timezone based on computed offset.
1104 * time/tzset.c (tzset_internal): Set __timezone before returning.
1105
1106 * time/tzset.c (tzset_internal): Optimize handling of local string
1107 copy.
1108
11091998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1110
1111 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
1112 libc/776).
1113
adac8450
UD
11141998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
1115
1116 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
1117 (csqrt_test): Likewise.
90865aa8 1118 * sysdeps/powerpc/bits/fenv.h: Add parens.
adac8450 1119
8e140239
UD
11201998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
1121
1122 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
1123 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1124 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
1125
78acf671
UD
11261998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
1127
1128 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
1129 the special `-1' pointer.
1130
6e4c40ba
UD
11311998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
1132
1133 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
1134 inline.
1135
11361998-09-07 Paul Eggert <eggert@twinsun.com>
1137
1138 * time/mktime.c (__EXTENSIONS__): Define if not defined.
1139 (_REENTRANT): Remove. It has undesirable consequences in
1140 Solaris 2.6 (e.g. it turns off the putc macro). Defining
1141 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
1142 is what we want.
1143 * time/strftime.c: Likewise.
1144
11451998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1146
1147 * elf/dl-error.c: Fix spelling.
1148
11491998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1150
1151 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
1152 * stdio-common/_itoa.c: Likewise.
1153 * stdio-common/printf_fp.c: Likewise.
1154 * stdio-common/vfscanf.c: Likewise.
1155 * wcsmbs/wcstok.c: Likewise.
1156 * sysdeps/generic/glob.c: Likewise.
1157 * posix/getopt.c: Likewise.
1158 * sysdeps/posix/getaddrinfo.c: Likewise.
1159 * posix/wordexp.c: Likewise.
1160 * io/ftw.c: Likewise.
1161 * io/fts.c: Likewise.
1162 * misc/getpass.c: Likewise.
1163 * iconv/gconv_conf.c: Likewise.
1164 * argp/argp-fmtstream.c: Likewise.
1165 * argp/argp-help.c: Likewise.
1166 * elf/dl-load.c: Likewise.
1167 * locale/programs/stringtrans.c: Likewise.
1168 * catgets/gencat.c: Likewise.
1169 * posix/getconf.c: Likewise.
1170 * iconv/gconv_conf.c: Likewise.
1171 * iconv/iconv_prog.c: Likewise.
1172
1173 * string/strcoll.c: Optimize a few expressions.
1174 * string/strxfrm.c: Likewise.
1175
11761998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1177
1178 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
1179 level to avoid uninit variable warning.
1180
11811998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2aa236b1 1182
769ca810 1183 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
6e4c40ba 1184 instead of _dl_default_scope[2] as argument to _dl_init_next.
769ca810 1185
2aa236b1
AS
1186 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
1187 C9x macro.
1188
8ea4a95a
UD
11891998-09-08 Ulrich Drepper <drepper@cygnus.com>
1190
6e4c40ba 1191 Fix compatibility problems introduced in last change.
dc27836e
UD
1192 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
1193 defined.
1194 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
1195 -DWEAK_GMON_START to CFLAGS-initfini.s.
1196
e4d50917
UD
1197 * elf/dl-object.c (_dl_new_object): Store map address in
1198 _dl_loaded if _dl_loaded is NULL.
87c812c2 1199 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
e4d50917 1200
8ea4a95a
UD
1201 * sysdeps/generic/setrlimit64.c: Remove stub warning.
1202
88c91118
UD
12031998-09-07 Ulrich Drepper <drepper@cygnus.com>
1204
1205 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
1206 quiet.
2c874db2
UD
1207 * db2/btree/bt_cursor.c: Likewise.
1208 * db2/common/db_region.db_c: Likewise.
1209 * db2/common/db_salloc.db_c: Likewise.
1210 * db2/db/db.c: Likewise.
1211 * db2/db/db_rec.c: Likewise.
1212 * db2/hash/hash.c: Likewise.
1213 * db2/hash/hash_page.c: Likewise.
1214 * db2/hash/hash_rec.c: Likewise.
1215 * db2/log/log_findckp.c: Likewise.
1216 * db2/log/log_get.c: Likewise.
1217 * db2/log/log_put.c: Likewise.
1218 * db2/mp/mp_fget.c: Likewise.
1219 * db2/mp/mp_fput.c: Likewise.
1220 * db2/mp/mp_region.c: Likewise.
cf9f9a16
UD
1221 * stdlib/strtol.c: Likewise.
1222 * string/strcoll.c: Likewise.
1223 * string/strxfrm.c: Likewise.
94b78bb2
UD
1224 * argp/argp-help.c: Likewise.
1225 * argp/argp-parse.c: Likewise.
3121cc04 1226 * resolv/res_debug.c: Likewise.
88c91118 1227
26644e87
UD
12281998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
1229
1230 * math/tgmath.h (scalb): Only define for __USE_MISC or
1231 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
1232
2b33e5b0
UD
12331998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1234
1235 * libio/stdio.h: Fix comment.
1236
1237 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
1238 __USE_ISOC9X.
1239
6796bc80
UD
12401998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1241
1242 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
1243
1244 * elf/dl-open.c: Quiet -Wparentheses warnings.
1245 * iconvdata/johab.c: Likewise.
1246 * iconvdata/uhc.c: Likewise.
1247 * inet/inet_net.c: Likewise.
1248 * io/fts.c: Likewise.
1249 * locale/newlocale.c: Likewise.
1250 * misc/getttyent.c: Likewise.
1251 * misc/mntent_r.c: Likewise.
1252 * misc/ttyslot.c: Likewise.
1253 * nscd/nscd_conf.c: Likewise.
1254 * nss/nsswitch.c: Likewise.
1255 * resolv/gethnamaddr.c: Likewise.
1256 * resolv/nsap_addr.c: Likewise.
1257 * resolv/res_debug.c: Likewise.
1258 * stdio-common/_itoa.c: Likewise.
1259 * stdlib/strtod.c: Likewise.
1260 * string/strverscmp.c: Likewise.
1261 * sunrpc/svc.c: Likewise.
1262 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
1263 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
1264 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
1265 * sysdeps/posix/getaddrinfo.c: Likewise.
1266
baa3334a
UD
12671998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
1268
1269 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
1270 for use of global scope.
1271 * elf/dlvsym.c (dlvsym_doit): Likewise.
1272
12731998-09-02 Paul Eggert <eggert@twinsun.com>
1274
1275 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
1276 copy the redundant bytes at the end of the format as-is; don't
1277 just copy their first byte and then rescan, as that might get
1278 us an encoding error.
1279 Account correctly for the length of multibyte sequences in the
1280 format.
1281
12821998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
1283
1284 * posix/wordexp-test.c: Add tests for different IFS values.
1285 Change unquoted-newline test so that newline is not in IFS.
1286
1287 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
1288 determining IFS characters. Return WRDE_BADCHAR for unquoted
1289 special characters _except_ if they are separators.
1290
12911998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
1292
1293 * include/tgmath.h: New file.
1294
1295 * libio/stdio.h: Correct reversed #ifs.
1296 Patch by Zack Weinberg.
1297
1298 * manual/creature.texi: Better explain reason for feature select
1299 macros.
1300 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1301
13021998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1303
1304 * include/alloca.h: Add multiple-inclusion guard.
1305 * include/db.h: Likewise.
1306 * include/db_185.h: Likewise.
6796bc80 1307 * include/dlfcn.h: Likewise.
baa3334a
UD
1308 * include/fcntl.h: Likewise.
1309 * include/grp.h: Likewise.
1310 * include/libintl.h: Likewise.
1311 * include/mntent.h: Likewise.
1312 * include/pwd.h: Likewise.
1313 * include/sched.h: Likewise.
1314 * include/search.h: Likewise.
1315 * include/setjmp.h: Likewise.
1316 * include/shadow.h: Likewise.
1317 * include/signal.h: Likewise.
1318 * include/stdio.h: Likewise.
1319 * include/stdlib.h: Likewise.
1320 * include/string.h: Likewise.
1321 * include/termios.h: Likewise.
1322 * include/time.h: Likewise.
1323 * include/ulimit.h: Likewise.
1324 * include/utmp.h: Likewise.
1325 * include/wchar.h: Likewise.
1326 * include/sys/file.h: Likewise.
1327 * include/sys/gmon.h: Likewise.
1328 * include/sys/ioctl.h: Likewise.
1329 * include/sys/mman.h: Likewise.
1330 * include/sys/resource.h: Likewise.
1331 * include/sys/select.h: Likewise.
1332 * include/sys/socket.h: Likewise.
1333 * include/sys/statfs.h: Likewise.
1334 * include/sys/time.h: Likewise.
1335 * include/sys/times.h: Likewise.
1336 * include/sys/wait.h: Likewise.
1337
be935610
UD
13381998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
1339
1340 * version.h (VERSION): Bump to 2.0.96.
1341
1342 Rewrite runtime linker to be truly thread-safe. There is now no
1343 global variable specifying the scope. We create all needed
1344 scopes at the time the link maps are created.
1345 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
1346 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
1347 l_symbolic_searchlist, l_scope, and l_local_scope elements in
1348 struct link_map.
1349 * elf/dl-close.c: Rewritten accordingly.
1350 * elf/dl-deps.c: Likewise.
1351 * elf/dl-error.c: Likewise.
1352 * elf/dl-init.c: Likewise.
1353 * elf/dl-load.c: Likewise.
1354 * elf/dl-lookup.c: Likewise.
1355 * elf/dl-object.c: Likewise.
1356 * elf/dl-open.c: Likewise.
1357 * elf/dl-reloc.c: Likewise.
1358 * elf/dl-runtime.c: Likewise.
1359 * elf/dl-support.c: Likewise.
1360 * elf/dl-symbol.c: Likewise.
1361 * elf/dl-version.c: Likewise.
be935610
UD
1362 * elf/dlsym.c: Likewise.
1363 * elf/dlvsym.c: Likewise.
1364 * elf/ldsodefs.h: Likewise.
1365 * elf/rtld.c: Likewise.
1366 * iconv/gconv_dl.c: Likewise.
1367 * nss/nsswitch.c: Likewise.
1368 * sysdeps/i386/dl-machine.h: Likewise.
1369 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
1370
6796bc80
UD
1371 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
1372 Define RTLD_DEFAULT.
1373
2b4083dd
RM
13741998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
1375
1376 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
1377 __getopt_clean_environment with __environ instead of envp.
1378
a361203e
RM
13791998-09-05 Roland McGrath <roland@baalperazim.frob.com>
1380
2b4083dd
RM
1381 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
1382
531e4bca
RM
1383 * string/argz-extract.c (__argz_extract): Add de-consting cast for
1384 setting results.
1385
62ee0979 1386 * string/argz.h (argz_next): Add de-consting cast for return.
531e4bca 1387 * string/argz-next.c (__argz_next): Likewise.
62ee0979 1388
59cacc81
RM
1389 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
1390 Don't add netinet/udp.h, netinet/ip_icmp.h here.
1391 * sysdeps/gnu/Makefile: Do it here instead.
1392 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
1393 * sysdeps/gnu/Dist: ... to here.
1394
a361203e
RM
1395 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
1396 sysdeps/unix/sysv/linux/netinet/tcp.h,
1397 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
1398
29659dd2
RM
13991998-09-04 Roland McGrath <roland@baalperazim.frob.com>
1400
1401 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
1402 * string/argz-next.c, string/argz-extract.c: Fix defns.
1403
1097c603
RM
14041998-09-03 Roland McGrath <roland@baalperazim.frob.com>
1405
1406 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
1407
1408 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
1409 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
1410 * sysdeps/generic/sysd-stdio.c: Likewise.
1411
143e2b96
UD
14121998-09-02 Ulrich Drepper <drepper@cygnus.com>
1413
1414 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
1415 (_dl_map_object_from_fd): Make NAME argument const.
1416 Remove last parameter in _dl_new_object call.
1417 (print_search_path): Correct construction of composed path name.
1418 (_dl_map_object): Prevent looking at RPATH of the main map twice.
1419 Remove last parameter in _dl_new_object call.
1420 * elf/dl-object.c: Remove last parameter. Determine whether create
1421 origin entry based on empty realname. Handle file in root directory
1422 correctly.
1423 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
1424 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
1425 Remove last parameter in _dl_new_object call.
1426 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
1427 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
1428
fc3597c0
UD
14291998-09-01 Ulrich Drepper <drepper@cygnus.com>
1430
4ce636da
UD
1431 * elf/dl-close.c (_dl_close): Add more comments and correct some.
1432 Free l_searchlist and l_dupsearchlist.
1433
fc3597c0
UD
1434 * debug/catchsegv.sh: Add one more pair of quotes.
1435
76156ea1
UD
14361998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
1437
1438 * elf/dl-load.c (add_name_to_object): Change return type to void and
1439 make NAME parameter const. Allocate room for NAME in same memory
1440 block used for l_libname entry.
1441 (_dl_map_object_from_fd): Don't free NAME on failure.
1442 (map_segment): Pass SONAME to add_name_to_object, not a copy.
1443 (_dl_map_object): Don't create copy of NAME. Pass NAME to
1444 _dl_map_object_from_fd.
1445 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
1446 memory block used for l_libname entry.
1447 * elf/dl-close.c: Adjust free()ing for this change.
1448
a8a1269d
UD
14491998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
1450
1451 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
1452
1453 * malloc/mtrace.c: Add bug report address. Update email address.
1454 Add more @XXX@ to print correct address size.
1455
1456 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
1457 really initialized.
1458
1459 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
1460 for munmap call instead of examining phdr again.
1461 Free all malloc()ed strings and arrays.
1462
052b6a6c
UD
14631998-08-09 Geoff Keating <geoffk@ozemail.com.au>
1464
1465 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
1466 dl-machine.h.
1467 * sysdeps/powerpc/dl-machine.c: New file.
1468 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
1469 files. Revise ELF_PREFERRED_ADDRESS to take account of
1470 the new mapping information (fixes bug involving huge bloated
1471 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
1472 * sysdeps/powerpc/dl-start.S: New file.
1473
1474 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
1475 l_map_end.
1476 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
1477 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
1478 others. Call elf_dynamic_do_##reloc only once (to save even more
1479 space).
1480 * elf/link.h: Add new members l_map_start and l_map_end to keep
1481 track of the memory map.
1482 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
1483 the executable.
1484
14851998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
1486
1487 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
1488 Reported by Andreas Jaeger.
1489
1490 * posix/glob.h: Use __size_t instead of size_t in definitions and
1491 make sure this is defined.
1492
85c165be
UD
14931998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
1494
052b6a6c 1495 * manual/locale.texi: Almost complete rewrite. Document more functions
85c165be
UD
1496 and functionality.
1497 * manual/arith.texi: Correct reference.
1498 * manual/string.texi: Pretty printing.
1499
1500 * manual/texinfo.tex: Update from last available version.
1501
15021998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
1503
1504 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
1505 invalid password.
1506 (_nss_nis_getpwuid_r): Likewise.
1507 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
1508
1509 * inet/rcmd.c: Implement netgroup support.
1510 Patch by Dick Streefland <dick_streefland@tasking.com>.
1511
7afab53d
UD
15121998-08-31 Ulrich Drepper <drepper@cygnus.com>
1513
1514 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
1515 object on the list is removed. Don't use this code for PIC.
1516 Reported by HJ Lu [PR libc/770].
1517
bfce746a
UD
15181998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
1519
1520 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
1521
1522 * include/stdio.h: Add __vsscanf.
1523
1524 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
1525 __USE_ISOC9X.
1526 Remove __vsscanf declaration.
1527 Always declare fgetpos and fsetpos.
1528
1529 * math/math.h: Define isinf as macro.
1530 * math/bits/mathcalls.h: Change to declare __isinf all the time.
1531 Don't declare scalb for ISO C 9x.
1532
1533 * math/tgmath.h: Define fma. Rewrite the underlying macros.
1534
1535 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
1536
1537 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
1538 sys/ucontext.h.
1539
1540 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
1541 macros.
1542
15431998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1544
1545 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
1546 Reported by jreising@frequentis.com [PR libc/767].
1547
15481998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1549
1550 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
1551 fl.l_start at beginning of function.
1552 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
1553
ac72fbb1
UD
15541998-08-31 Ulrich Drepper <drepper@cygnus.com>
1555
1556 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
1557 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
1558
1559 * nscd/nscd.init: Make it work in RedHat systems.
1560 Patch by Christian Gafton.
1561
15621998-08-29 Philip Blundell <philb@gnu.org>
1563
1564 * catgets/Makefile: Don't try to run test programs when
1565 cross-compiling.
1566
15671998-08-31 Ulrich Drepper <drepper@cygnus.com>
1568
1569 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
1570 Reported by Zack Weinberg.
1571
15721998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1573
1574 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
1575 * elf/Makefile (distribute): Remove ldd.sh.in.
1576
15771998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1578
1579 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
1580 variable.
1581
e0d46614
UD
15821998-08-29 Ulrich Drepper <drepper@cygnus.com>
1583
1584 * sysdeps/i386/register-dump.h: Move to ...
1585 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
1586
b0cf070b
UD
15871998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
1588
1589 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
1590 with load address, not map address.
1591 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
1592 parameter and use this value.
1593 * sysdeps/arm/dl-machine.h: Likewise.
1594 * sysdeps/i386/dl-machine.h: Likewise.
1595 * sysdeps/m68k/dl-machine.h: Likewise.
1596 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
1597 parameter.
1598 * sysdeps/powerpc/dl-machine.h: Likewise
1599 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
1600 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
1601
997a4165
UD
16021998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
1603
1604 * elf/rtld.c (process_envvars): Fix copy&paste error.
1605
1606 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
1607 memalign hook.
1608 (realloc_hook_ini): Don't overwrite memalign hook.
1609 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
1610 Reported by Philippe Troin <phil@fifi.org>.
1611
1612 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
1613 Patch by Philippe Troin <phil@fifi.org>.
1614
16151998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1616
1617 * sysdeps/generic/segfault.c (install_handler): Protect the
1618 non-POSIX signals with #ifdef.
1619 (catch_segfault): Add missing mode parameter for open.
1620 * debug/catchsegv.sh: Avoid termination message from shell. Allow
1621 other termination signals.
1622
16231998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1624
1625 * debug/Makefile (distribute): Add register-dump.h.
1626
16271998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4226897d
AS
1628
1629 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
1630
f787edde
UD
16311998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
1632
1633 * elf/Makefile (distribute): Add dl-origin.h.
1634 * sysdeps/generic/dl-origin.h: New file.
1635 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
1636 * elf/link.h (struct link_map): Add l_origin field.
1637 * elf/dl-load.c (expand_dynamic_string_token): New function.
1638 (decompose_path): Remove WHERE argument, take link map pointer instead.
1639 Call expand_dynamic_string_token instead of local_strdup to make copy
1640 of rpath.
1641 (_dl_init_paths): Call decompose_path with correct argument.
1642 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
1643 not defined.
1644 Check EI_OSABI and EI_ABIVERSION fields in header.
5f623941 1645 Call _dl_new_object with extra argument.
f787edde
UD
1646 (_dl_map_object): Call decompose_path with correct argument.
1647 Call expand_dynamic_string_token instead of local_strdup to also
1648 expand DST.
5f623941 1649 Call _dl_new_object with extra argument.
f787edde 1650 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
5f623941
UD
1651 but the main one if new argument is nonzero.
1652 * elf/ldsodefs.h: Adjust for _dl_new_object change.
f787edde
UD
1653 * elf/dl-support.c: Define _dl_origin_path.
1654 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
5f623941 1655 (dl_main): Call _dl_new_object with extra argument.
f787edde
UD
1656
1657 * elf/dl-close (_dl_close): Free l_name and l_origin.
1658
1659 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
1660 modifier in asm, not c.
1661
1662 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
1663 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
1664
6075607b
UD
16651998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
1666
1667 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
1668 variable so that map can be freed.
1669 Reported by Philippe Troin <phil@fifi.org>.
1670
1671 * elf/dl-open.c (dl_open_worker): Correct test for extending global
1672 scope array.
1673 Patch by Philippe Troin <phil@fifi.org>.
1674
16751998-08-26 Geoff Keating <geoffk@ozemail.com.au>
1676
1677 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
1678 Don't call writev() with a 100-element vector.
1679 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
1680 return address.
1681
1682 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
1683 In particular, set __libc_stack_end.
1684 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
1685 undefined. Fix copyright notice.
1686
16871998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1688
1689 * math/Makefile (gmp-objs): New variable.
1690 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
1691 Depend on it.
1692 (tests): Add atest-exp atest-sincos atest-exp2.
1693 (tests-static): Remove atest-exp atest-sincos atest-exp2.
1694
08cac4ac
UD
16951998-08-25 Ulrich Drepper <drepper@cygnus.com>
1696
1697 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
1698 to toplevel.
1699 (_dl_unload_cache): New function.
1700 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
1701 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
6075607b 1702 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
08cac4ac
UD
1703
1704 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
1705 Correct comment for O_LARGEFILE.
1706 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
1707 Change O_LARGEFILE to correct value.
1708
17091998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
1710
1711 * libio/iogetline.c (_IO_getline_info): Don't read anything for
1712 N == 0. Patch by HJ Lu.
1713
6dbb7062
UD
17141998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
1715
1716 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
1717
17181998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
1719
1720 * argp/argp.h: Use __inline__ not inline.
1721
1722 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
1723 an input register as being clobbered.
1724 * sysdeps/i386/memset.c (memset): Likewise.
1725 * sysdeps/i386/bzero.c (__bzero): Likewise.
1726 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
1727
17281998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1729
1730 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
1731 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
1732
ed1ac6a2
UD
17331998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
1734
1735 * debug/catchsegv.sh: Handle text preceding backtrace better.
1736 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
1737 to be installed for other signals than SIGSEGV.
1738 * sysdeps/generic/register-dump.h: New file.
1739 * sysdeps/i386/register-dump.h: New file.
1740 * sysdeps/powerpc/register-dump.h: New file.
1741
1742 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
1743 sigcontextinfo.h.
1744 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
1745
17461998-08-24 Geoff Keating <geoffk@ozemail.com.au>
1747
1748 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
1749
17501998-08-09 Geoff Keating <geoffk@ozemail.com.au>
1751
1752 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
1753 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
1754 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
1755 getresuid, getresgid.
1756
17571998-08-16 Geoff Keating <geoffk@ozemail.com.au>
1758
1759 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
1760 pointer in userland.
1761
17621998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1763
1764 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
1765 and fix value.
1766
17671998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1768
1769 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
1770 over arguments Bourne shell compatible. Don't exit unsuccessfully
1771 if nonelf returns successfully. Avoid duplicating most of the
1772 script.
1773 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
1774 around $file.
1775
17761998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
99475e65
AS
1777
1778 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
1779 sys/reg.h.
1780 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
1781 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
1782
b259e746
UD
17831998-08-23 Ulrich Drepper <drepper@cygnus.com>
1784
1785 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
1786 __modify_ldt and modify_ldt.
1787 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
1788
1789 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1790 Use orl $-1 instead of movl $-1 to save two bytes.
1791 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
1792 Likewise.
1793
17941998-08-17 H.J. Lu <hjl@gnu.org>
ed1ac6a2
UD
1795
1796 * libio/Versions (_IO_do_write, _IO_file_attach,
1797 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1798 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1799 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1800 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
1801
1802 * libio/fileops.c (_IO_do_write, _IO_file_attach,
1803 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1804 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1805 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1806 _IO_file_write, _IO_file_xsputn): Change the prefix to
1807 "_IO_new_". Added to GLIBC_2.1.
1808
1809 * libio/libioP.h (_IO_do_write, _IO_file_attach,
1810 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1811 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1812 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1813 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
1814 "_IO_new_".
1815
1816 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
1817 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1818 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1819 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1820 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
1821
b259e746
UD
18221998-08-23 Richard Henderson <rth@cygnus.com>
1823
1824 * Makeconfig (LDFLAGS): Remove.
1825
ed1ac6a2 1826 * csu/initfini.c: Return to .text before __gmon_start__.
b259e746 1827
ed1ac6a2
UD
1828 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
1829 (STO_MIPS_*): Rename from STO_*.
1830 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
1831 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
b259e746 1832
ed1ac6a2
UD
1833 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
1834 (main): e3s is negative on zero.
1835 * math/atest-exp2.c: Likewise.
b259e746
UD
1836 * math/atest-sincos.c: Likewise.
1837
ed1ac6a2
UD
18381998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1839
1840 * Makerules (install): Add comment about absolute paths.
1841
b259e746
UD
18421998-08-23 Ulrich Drepper <drepper@cygnus.com>
1843
1844 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
1845 array to NUL to handle maxlen==1 case correctly.
1846 Patch by HJ Lu.
1847
18481998-08-23 Richard Henderson <rth@cygnus.com>
7d84a067
RH
1849
1850 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
1851 * sysdeps/alpha/elf/crtend.S: Likewise.
1852 * sysdeps/alpha/elf/start.S: Likewise.
1853
1854 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
1855 non-standard pv usage.
1856
1857 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
1858 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
1859 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1860 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1861 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1862 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1863 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1864 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1865 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1866 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1867 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1868
1869 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
1870 a finite non-denormal, deferring to the full IEEE version otherwise.
1871
1872 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
1873 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
1874 * sysdeps/alpha/fpu/s_floor.c: New.
1875 * sysdeps/alpha/fpu/s_floorf.c: New.
1876 * sysdeps/alpha/fpu/s_ceil.c: New.
1877 * sysdeps/alpha/fpu/s_ceilf.c: New.
1878
e86e2df1
UD
18791998-08-22 Philip Blundell <philb@gnu.org>
1880
1881 * sysdeps/arm/bits/string.h: New file.
1882
14a44a69
UD
18831998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1884
1885 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
1886 document it.
1887
1888 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
1889 test for recent Linux 2.1.100+ headers.
1890
e36b0b57
UD
18911998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1892
1893 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
1894
5148d49f
UD
18951998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
1896
1897 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
1898
18991998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1900
1901 * Makefile (elf/ldso_install): Put back. The problem still persists.
1902 * elf/Makefile (ldso_install): Likewise.
1903
19041998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1905
1906 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
1907 create weak alias.
1908 * include/db.h: Declare __nss_db_open.
1909 * db2/Versions: Export it.
1910
1911 * db2/makedb.c: Convert to use db2 API.
1912 * nss/nss_db/db-XXX.c: Likewise.
1913 * nss/nss_db/db-netgrp.c: Likewise.
1914 * nss/nss_db/db-alias.c: Likewise.
1915 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
1916
19171998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1918
1919 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1920 sys_setresuid, already built automatically (or not).
1921 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
1922 instead of __syscall_setresuid and add back setresuid.
1923 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
1924 __syscall_setresuid.
1925
19261998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1927
1928 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
1929
1ddf537f
UD
19301998-08-20 Ulrich Drepper <drepper@cygnus.com>
1931
1932 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
1933 BASH-ONLY marked region.
1934 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
1935
19361998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1937
1938 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
1939 _IO_SYSSEEK fails.
1940
1941 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
1942
4df28840 1943 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1ddf537f
UD
1944 element.
1945
8e48355c
RM
19461998-08-21 Roland McGrath <roland@baalperazim.frob.com>
1947
1948 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
1949 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
1950 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
1951 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
1952 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
1953 those magic comments, and to use /bin/sh for @BASH@.
1954 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
1955 * elf/ldd.sh.in: File removed.
1956
d762684b
UD
19571998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
1958
1959 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
1960 cast them to unsigned long int.
1961 * pwd/putpwent.c (putpwent): Likewise.
1962 Patch by John Tobey <jtobey@banta-im.com>.
1963
19641998-08-20 17:14 H.J. Lu <hjl@gnu.org>
1965
1966 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
1967 _IO_pos_BAD.
1968
19691998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1970
1971 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
1972 _IO_SYSSEEK fails.
1973
7934cc16
UD
19741998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
1975
1976 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
1977 Add umount and umount2.
1978 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
1979 * sysdeps/unix/sysv/linux/umount.S: New file.
1980 * sysdeps/unix/sysv/linux/umount2.S: New file.
1981 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
1982 Define MNT_FORCE.
1983
d762684b
UD
1984 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
1985 Add sys/sendfile.h.
1986 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
1987 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
1988
1989 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
1990
1991 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
1992 sendfile.
1993
df777c40
UD
19941998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
1995
1996 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
1997 * elf/ldd.bash.in: Likewise.
1998
1999 * elf/sln.c: Avoid warning for no main prototype.
2000
2001 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
2002 O_WRITE.
2003 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2004 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2005
2006 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
2007 F_GETSIG.
2008 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
2009 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2010 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2011
20121998-08-20 Philip Blundell <pb@nexus.co.uk>
2013
2014 * sysdeps/arm/fpu/ieee754.h: Move to...
2015 * sysdeps/arm/ieee754.h: ... here.
2016
2017 * sysdeps/arm/__longjmp.S: Put return value in correct register.
2018 Don't set the condition flags unnecessarily.
2019 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
2020 registers correctly.
2021
2022 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
2023 (patch from Scott Bambrough).
2024
2025 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
2026
2027 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
2028 NULL, just call it unconditionally.
2029 (__gmon_start__): Provide stub version as a weak symbol.
2030
20311998-07-30 Philip Blundell <philb@gnu.org>
2032
2033 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
2034 by Scott Bambrough)
2035
2036 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
2037 like `@' in .type directives.
2038
2039 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
2040 * sysdeps/arm/bsd-_setjmp.S: Likewise.
2041
2042 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
2043
20441998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2045
2046 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
2047 (F_GETOWN): Likewise.
2048
2049 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
2050 Linux 2.1.117).
2051
20521998-08-20 Ulrich Drepper <drepper@cygnus.com>
2053
2054 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
2055 already defined.
2056
0c6cee5d
UD
20571998-08-18 Ulrich Drepper <drepper@cygnus.com>
2058
2059 * include/features.h: Define __USE_EXTERN_INLINES for recent
2060 enough gcc.
2061 * argp/argp.h: Define extern inline functions only if
2062 __USE_EXTERN_INLINES is defined.
2063 * libio/stdio.h: Likewise.
2064 * math/math.h: Likewise.
2065 * stdlib/stdlib.h: Likewise.
2066 * string/argz.h: Likewise.
2067 * sysdeps/generic/bits/sigset.h: Likewise.
2068 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2069 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
2070 * sysdeps/wordsize-32/inttypes.h: Likewise.
2071 * sysdeps/wordsize-64/inttypes.h: Likewise.
2072 * wcsmbs/wchar.h: Likewise.
2073
2074 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
2075 to allow compilation without optimization.
2076
df777c40
UD
20771998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2078
2079 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
2080 more entries.
2081 * nis/nss_compat/compat-initgroups.c: Likewise.
2082 * nis/nss_compat/compat-pwd.c: Likewise.
2083 * nis/nss_compat/compat-spwd.c: Likewise.
2084 * nis/nss_nis/nis-alias.c: Likewise.
2085 * nis/nss_nis/nis-ethers.c: Likewise.
2086 * nis/nss_nis/nis-grp.c: Likewise.
2087 * nis/nss_nis/nis-hosts.c: Likewise.
2088 * nis/nss_nis/nis-initgroups.c: Likewise.
2089 * nis/nss_nis/nis-network.c: Likewise.
2090 * nis/nss_nis/nis-proto.c: Likewise.
2091 * nis/nss_nis/nis-pwd.c: Likewise.
2092 * nis/nss_nis/nis-rpc.c: Likewise.
2093 * nis/nss_nis/nis-service.c: Likewise.
2094 * nis/nss_nis/nis-spwd.c: Likewise.
2095
2096 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
2097
2098 * nis/ypclnt.c: Try binding dir only first time, could be to old.
2099
2100 * nis/yp_xdr.c: Remove 1024 byte limit.
2101 * nis/ypupdate_xdr.c: Likewise.
2102
2103 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
2104 wrong data.
2105
c82e6116
RM
21061998-08-18 Roland McGrath <roland@baalperazim.frob.com>
2107
2108 * Rules (binaries-static, binaries-shared static pattern rules):
2109 Depend on lib%, not just libc%, from $(link-libc{,-static}).
2110
2111 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
2112 this here, overriding Makeconfig generic value so we link against
2113 the RPC libs.
2114
364ff81f
UD
21151998-08-17 Ulrich Drepper <drepper@cygnus.com>
2116
2117 * posix/tstgetopt.c (options): Add NULL entry at end
2118 Patch by Adrian Miranda <ade@psg.com>.
2119
5d7de7aa
UD
21201998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
2121
2122 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
2123 to 9.
2124
d610a544
UD
21251998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
2126
2127 * elf/elf.h: Add PPC Diab relocations.
2128
2129 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
2130
409dfcea
UD
21311998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
2132
2133 * manual/texinfo.tex: Update.
2134
21351998-08-07 Geoff Keating <geoffk@ozemail.com.au>
2136
2137 * sysdeps/powerpc/backtrace.c: New file.
2138
21391998-08-14 Philip Blundell <pb@nexus.co.uk>
2140
2141 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
2142 sigjmp_save.
2143 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
2144
21451998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2146
2147 * Makefile (install-symbolic-link): Fix spelling.
2148
21491998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2150
2151 * elf/elf.h (SHT_HIOS): Fix value.
2152
21531998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2154
2155 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
2156 part of the expansion, this is undefined by the standard.
2157
9d141cae
UD
21581998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
2159
2160 * posix/getconf.c: Add support for systems with incomplete confname.h.
2161
2162 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
2163
2164 * sysdeps/posix/wait3.c: Make it work.
2165
21661998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2167
2168 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
2169 (elf/ldso_install): Remove.
2170
2171 * elf/Makefile (distribute): Add sln.c.
2172 (others): Add sln.
2173 (others-static): Add sln.
2174 (install-rootsbin): Add sln.
2175 (others-static): Add sln.
2176 (ldso_install): Remove.
2177
21781998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2179
2180 * Makerules (install-clean-symbolic-link-list): Make phony.
2181 * Makefile (install-symbolic-link): Make phony. Depend on
2182 subdir_install for parallel makes.
2183
2184
21851998-07-22 Ulrich Drepper <drepper@cygnus.com>
2186
2187 * elf/Makefile (distribute): Add sln.c
2188
21891998-07-21 07:10 H.J. Lu <hjl@gnu.org>
2190
2191 * elf/sln.c: New file.
2192
2193 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
2194 (install-clean-symbolic-link-list): New target.
2195 (install): Depend on install-clean-symbolic-link-list.
2196 (make-shlib-link): Changed for $(symbolic-link-list).
2197
2198 * Makefile (install-symbolic-link): New target.
2199 (install): Depend on install-symbolic-link.
2200
1f539fd1
UD
22011998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
2202
2203 * include/unistd.h: Protect against multiple inclusion.
2204
2205 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
2206 is defined, not is glob is defined.
2207 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
2208
22091998-08-01 17:18 H.J. Lu <hjl@gnu.org>
2210
2211 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
2212 xdr_string for ut_line, ut_name and ut_host.
2213
22141998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2215
2216 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
2217 /var/mail in accordance with FHS 2.0.
2218 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
2219
22201998-08-12 Richard Henderson <rth@cygnus.com>
2221
2222 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
2223 Update aliases for cancelation.
2224
2225 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
2226 playing with symbol versions.
2227
259d930a
RM
22281998-08-12 Roland McGrath <roland@baalperazim.frob.com>
2229
2230 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
2231 multiple inclusion protection.
2232 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
2233 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
2234 define all these to 1.
2235 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
2236
d6765f1d
RM
22371998-08-12 Roland McGrath <roland@baalperazim.frob.com>
2238
2239 * sysdeps/mach/usleep.c: Include <unistd.h>.
2240 (usleep): Return void.
2241
22421998-08-11 Roland McGrath <roland@baalperazim.frob.com>
2243
2244 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
2245 decl to inhibit warning in if_freenameindex defn.
2246
2247 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
2248
2249 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
2250
2251 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
2252 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
2253 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
2254 * sysdeps/mach/usleep.c: Likewise.
2255
2256 * sysdeps/mach/hurd/bind.c (bind): Add a const.
2257
2258 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
2259 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
2260 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
2261 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
2262 * sysdeps/mach/usleep.c (usleep): Likewise.
2263 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2264 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2265 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
2266 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
2267
22681998-08-11 Roland McGrath <roland@baalperazim.frob.com>
2269
2270 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
2271 (glob64): Fix typo.
2272
2273 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
2274 %p arg to fprintf, since `void *' is the right type already.
2275
b5876a19
RM
22761998-07-25 19:47 Jose M. Moya <josem@gnu.org>
2277
2278 * sysdeps/mach/hurd/getcwd.c
1f539fd1
UD
2279 (_hurd_canonicalize_directory_name_internal): Do not loop forever
2280 for unknown root directories.
b5876a19 2281 (__getcwd): Return NULL when the current root directory could not
1f539fd1 2282 be reached.
b5876a19 2283
f81d98d6 22841998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
a2bde807 2285
f81d98d6 2286 * string/strsignal.c (strsignal): Count real-time signals from zero.
a2bde807 2287
a5f4e34a 2288
f81d98d6 2289See ChangeLog.8 for earlier changes.