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