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