]> sourceware.org Git - glibc.git/blame - ChangeLog
Update.
[glibc.git] / ChangeLog
CommitLineData
78e5779b
UD
11998-10-22 12:49 Ulrich Drepper <drepper@cygnus.com>
2
3 * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
4 improve INLINE_SYSCALL using macro assembler magic.
5
9271a050
UD
61998-10-22 H.J. Lu <hjl@gnu.org>
7
8 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
9 sanity check for n.
10 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
11
12 * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
13 EINVAL if errno == ENODEV. Tested by VSX-PCT.
14
15 * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested
16 by VSX-PCT.
17
18 * posix/execvp.c (execvp): Check "". Tested by VSX-PCT.
19
e595c802
UD
201998-10-22 Philip Blundell <pb@nexus.co.uk>
21
22 * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
23 __ASSEMBLER__.
24
7bb38c70
UD
251998-10-21 Ulrich Drepper <drepper@cygnus.com>
26
27 * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
28 and adjust formats.
29
0dee6738
UD
301998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com>
31
32 * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call
33 __syscall_* function.
34 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
35 of calling __syscall_* function.
36 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
37 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
38 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
39 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
41 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
42 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
43 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
44 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
45 * sysdeps/unix/sysv/linux/poll.c: Likewise.
46 * sysdeps/unix/sysv/linux/pread.c: Likewise.
47 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
48 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
49 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
50 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
51 * sysdeps/unix/sysv/linux/readv.c: Likewise.
52 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
53 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
54 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
55 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
56 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
57 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
58 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
59 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
60 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
61 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
62 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
63 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
64 * sysdeps/unix/sysv/linux/writev.c: Likewise.
65 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
66 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
67 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
68 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
69 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
adcb550c 70 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
0dee6738
UD
71 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
72 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
73 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
74 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
75 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
76 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
77 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
78
79 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
80 inline assembler.
81 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
82 __syscall_* definitions.
83
84 * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
85 definitions to...
86 * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
87 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
88 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
89 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
90 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
91 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
92 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
93
adcb550c
UD
94 * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
95 Move definition to...
96 * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
97 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
98 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
99 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
100 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
101 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
102 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
103
0dee6738
UD
104 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
105 (sysdep_routines): Remove s_pread64 and s_pwrite64.
106
107 * sysdeps/unix/sysv/linux/i386/pread.c: New file.
108 * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
109 * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
110 * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
111 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
112 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
113
1141998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
115
116 * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
117 and bring them in synch.
118 * sysdeps/unix/siglist.c: Likewise.
119 Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
120
1211998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
122
123 * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
124 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
125
126 * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
127 * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
128 * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
129 * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
130 * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
131 * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
132 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
133 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
134 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
135 s_setregid.
136 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
137 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
138 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
139
1401998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
141
142 * sunrpc/rpc_main.c (close_output, close_input): New functions.
143 (c_output, h_output, s_output, l_output, t_output, svc_output,
144 clnt_output, mkfile_output): Call them at the end.
145
1461998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
147
148 * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
149 link command.
150
39f0e778
AS
1511998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
152
153 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
154 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
155
d523c981
UD
1561998-10-20 Ulrich Drepper <drepper@cygnus.com>
157
158 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
159 s_pwrite64.
160 * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
161 * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
162 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
163 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
164 Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
165
0dee6738
UD
1661998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
167
168 * sysdeps/unix/opendir.c: Check at runtime for kernel support for
169 O_DIRECTORY.
170
1711998-10-20 H.J. Lu <hjl@gnu.org>
172
173 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
174 argument types.
175
4bd8be48
UD
1761998-10-19 Ulrich Drepper <drepper@cygnus.com>
177
48244d09
UD
178 * math/tgmath.h: Make nested function calls work.
179
10411f2d
UD
180 * include/ldsodefs.h: Fix typo.
181
a9b171ef
UD
182 * posix/Makefile (tests): Add tst-preadwrite.
183 * posix/tst-preadwrite.c: New file.
184
4bd8be48
UD
185 * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
186 sure that descriptor is in any case for a directory.
187
cfb32a6c
UD
1881998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
189
190 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
191 (atan2): Takes two arguments.
192
ce85d65b
UD
1931998-10-19 Ulrich Drepper <drepper@cygnus.com>
194
195 * include/ldsodefs.h: New file.
196
197 * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
198 Remove change to avoid using _CALL_DL_FCT.
199 * iconv/gconv_db.c: Likewise.
200 * iconv/gconv_dl.c: Likewise.
201 * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
202 * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
203 * nss/nsswitch.c: Likewise.
204 * nss/nsswitch.h: Likewise.
205
2061998-10-19 Philip Blundell <pb@nexus.co.uk>
207
208 * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
209 required libraries.
210 * login/Makefile (otherlibs): Likewise.
211 * nscd/Makefile (otherlibs): Likewise.
212 * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
213
214 * debug/Makefile (install-bin): Only build catchsegv if using ELF.
215
216 * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
217
2181998-10-19 Philip Blundell <pb@nexus.co.uk>
219
220 * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
221 and setfsuid.
222
2231998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
224
225 * nscd/connections.c: Fix typos in comments and strings.
226
227 * nscd/nscd.conf: Update according to recent changes to nscd.
228
229 * nscd/cache.c (prune_cache): Remove wrong comment.
230
816e6eb5
UD
2311998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
232
233 * locale/programs/ld-collate.c (collate_startup): Clear bit for this
234 category in copy_posix.
235 (collate_finish): Don't warn about UNDEFINED not being defined.
236 * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
237 category in copy_posix.
238 * locale/programs/ld-messages.c (messages_startup): Likewise.
239 * locale/programs/ld-monetary.c (monetary_startup): Likewise.
240 * locale/programs/ld-numeric.c (numeric_startup): Likewise.
241 * locale/programs/ld-time.c (time_startup): Likewise.
242 * locale/programs/localedef.c: Move copy_def_list_t definition into
243 locales.h. Define copy_posix variable.
244 (main): Before processing copy list add &copy_posix to copy_list.
245 * locale/programs/locales.h: Add definition of copy_def_list_t.
246 * locale/programs/locfile.c: Clear bit for appropriate category in
ce85d65b 247 copy_posix.mask for copy instruction.
816e6eb5 248
685c1676
UD
2491998-10-19 Ulrich Drepper <drepper@cygnus.com>
250
251 * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
252 non-existing file with generic implementation.
253 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
254
2551998-10-19 Philip Blundell <pb@nexus.co.uk>
256
257 * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
258 defined. Avoid using _CALL_DL_FCT if it is not defined.
259 * iconv/gconv.c: Likewise.
260
9bbe7c3b
UD
2611998-10-19 Ulrich Drepper <drepper@cygnus.com>
262
34489d95
UD
263 * nscd/connections.c (dbs): Define defualt values for timeouts and
264 set enabled to 0 by default.
265 (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in
266 nscd_run.
267
9bbe7c3b
UD
268 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
269 character >= 0x80.
270 (_nl_C_LC_CTYPE_class32): Likewise.
271 Reported by HJ Lu.
272
7d25696a
RM
2731998-10-19 Roland McGrath <roland@baalperazim.frob.com>
274
275 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
276 _HURD_THREADVAR_DL_ERROR.
277
278 * hurd/Makefile (user-interfaces): Add login, password.
279
280 * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
281
37eb58de
RM
2821998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
283
284 [submitted 1998-08-06]
285 * mach/Machrules: Create target directory and force re-evaluation
286 of Makefile to prevent `make' from optimizing away most of the
287 implicit rules and `vpath' directives.
288
7434cee2
RM
2891998-10-19 Roland McGrath <roland@baalperazim.frob.com>
290
37eb58de
RM
291 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
292 is null, short-circuit to __mach_msg.
293
a13d5ca5
RM
294 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
295 broken out of init1.
296 (init1) [PIC]: Call it.
297 (__libc_init_first) [! PIC]: Call it.
298
7434cee2
RM
299 * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
300 __libc_init_secure. Instead set __libc_enable_secure here from
301 the exec flags.
302 (__libc_enable_secure): New variable it.
303 * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
304
3f804c95
RM
3051998-10-19 Roland McGrath <roland@baalperazim.frob.com>
306
307 * nscd/nscd-client.h: New file, broken out of "nscd.h".
308 * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
309 and #include that.
310 * nscd/Makefile (distribute): Add nscd-client.h.
311 * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
312 Include "nscd-client.h" instead of "nscd.h"
313
67479a70
UD
3141998-10-18 Ulrich Drepper <drepper@cygnus.com>
315
74f7e7c0
UD
316 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
317 directory entries when a lstat call fails.
318 Patch by Colin Plumb <colin@nyx.net>.
319
67479a70
UD
320 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
321 NSS functions.
322 * resolv/nss_dns/dns-network.c: Likewise.
323
9bbe7c3b 324 * grp/Makefile: Don't search for linuxthreads in add-ons, use
67479a70
UD
325 have-thread-library to determine whether threads are available.
326 * pwd/Makefile: Remove wrong comment.
327
328 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
329 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
330
331 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
332
333 * nss/Versions: Add __nss_hosts_lookup.
334
335 * nss/getXXbyYY.c: Remove unneeded assignment.
336
337 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
338
339 Almost complete rewrite of the NSCD to make it smaller, faster,
340 add more functionnality and make it easier to extend.
341 * nscd/Makfile (routines): Add nscd_gethst_r.
342 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
343 * nscd/cache.c: New file.
344 * nscd/gethstbyad_r.c: New file.
345 * nscd/gethstbynm2_r.c: New file.
346 * nscd/hstcache.c: New file.
347 * nscd/nscd_gethst_r.c: New file.
348 * nscd/connections.c: Rewritten. Don't start new thread for every
349 new connection. Use a fixed set of threads which handle all
350 connections and also the cache cleanup.
351 * nscd/grpcache.c: Rewritten to use generic cache handling functions
352 in cache.c.
353 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
354 for rewrite. Remove handle_requests function.
355 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
356 Define new data structure for the new unified cache and the host
357 database entries.
358 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
359 databases easily. Recognize check-files and threads definitions.
360 * nscd/nscd.conf: Add definition of enable-cache and check-files to
361 passwd and group definitions. Add new set of definitions for hosts.
362 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
363 * nscd/nscd_getpw_r.c: Likewise.
364 * nscd/nscd_proto.h: Add prototype for host database functions.
365 * nscd/nscd_stat.c: Rewrite to simplify printing of information
366 for many databases.
367 * nscd/dbg_log.c: Remove unnecessary variable initializations.
368 Global variable debug_flag is renamed to dbg_level.
369 * nscd/dbg_log.h: Declare set_logfile.
370
6cde0c60
UD
3711998-10-16 Ulrich Drepper <drepper@cygnus.com>
372
373 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
374 O_LARGEFILE back.
375
c7a9f249
UD
3761998-10-16 Paul Eggert <eggert@shade.twinsun.com>
377
378 * time/mktime.c: Some systems require <unistd.h> to be
379 included before <time.h> for localtime_r to be declared
380 properly.
381 * time/strftime.c: Likewise.
382
9ffbb612
UD
3831998-10-16 Ulrich Drepper <drepper@cygnus.com>
384
0049f576
UD
385 * db/Makefile: Add rule to generate shared object with the soname
386 from glibc 2.0.
387
9ffbb612
UD
388 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
389 available double check to verify it's a directory.
390
391 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
392 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
393 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
394 are not generally available.
395 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
396
397 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
398 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
399 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
400 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
401 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
402 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
403 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
404 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
405 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
406 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
407 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
408 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
409 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
410 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
411 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
412 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
413 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
414 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
415 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
416 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
417 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
418 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
419 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
420 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
421 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
422 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
423 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
424 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
425 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
426 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
427 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
428 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
429 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
430 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
431 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
432 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
433 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
434 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
435
436 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
437 s_setresgid, and s_setuid.
438 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
439 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
440 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
441 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
442 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
443 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
444 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
445
39e4f7f8
UD
4461998-10-16 Ulrich Drepper <drepper@cygnus.com>
447
448 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
449 localtime_t declaration on some systems.
450
c66dbe00
UD
4511998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
452
453 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
454 -DSTATIC_GCONV.
9ffbb612 455 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
c66dbe00
UD
456 defined. Avoid using DL_CLL_FCT if it is not defined.
457
4581998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
459
460 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
461 Include endian.h unconditionally. Remove portability goop
462 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
463
4641998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
465
466 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
467
909927d2
UD
4681998-10-15 Ulrich Drepper <drepper@cygnus.com>
469
470 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
471 again. Use char[44] to define size of the struct.
472
a9e73d40
UD
473 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
474
fcab9698 4751998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
c66dbe00 476
fcab9698
UD
477 * string/bits/string2.h (strcmp): Don't cache the result of
478 __builtin_constant_p in variables, otherwise constant folding
479 can fail in big functions.
c66dbe00 480
fcab9698 4811998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
c66dbe00 482
fcab9698
UD
483 * string/bits/string2.h: Add prototypes for the new inline
484 functions.
c66dbe00 485
7edb4c25
UD
4861998-10-15 Ulrich Drepper <drepper@cygnus.com>
487
488 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
489 have all types defined.
490 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
491
fcab9698 4921998-10-08 Paul Eggert <eggert@twinsun.com>
8d5166fb 493
fcab9698
UD
494 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
495 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
496 a body that merely expands localtime_r; this works around a
497 bug in Digital Unix 4.0A and 4.0D.
8d5166fb
UD
498
4991998-10-14 Ulrich Drepper <drepper@cygnus.com>
500
501 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
502 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
503 __ioctl to __syscall_ioctl and include Linux version of this file.
504 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
505 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
506 ioctl calls which handle struct termios.
507 Based on a patch by Dan Jacobowitz <drow@false.org>.
508
8583916e
UD
5091998-10-14 Ulrich Drepper <drepper@cygnus.com>
510
511 * version.h (VERSION): Bump to 2.0.98.
512
6f100d04
UD
513 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
514 here instead of including kernel_termios.h.
515
fcab9698 5161998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
c66dbe00 517
fcab9698
UD
518 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
519 unnecessary after the changes of 1998-10-12.
c66dbe00 520
99e46354
UD
5211998-10-13 Ulrich Drepper <drepper@cygnus.com>
522
6c5a700e
UD
523 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
524 parameter format string.
525 (inline_outw): Likewise.
526
99e46354
UD
527 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
528 string.h to get memcpy prototype and NULL definition.
529
5301998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
531
532 * misc/sys/cdefs.h (__THROW): New macro.
533 * argp/argp.h: Use it to replace the kludgey __P in inline
534 function definitions.
535 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
536 * stdlib/stdlib.h: Likewise.
537 * wcsmbs/wchar.h: Likewise.
538 * libio/stdio.h: Likewise.
539 * stdio/stdio.h: Likewise.
540 * sysdeps/wordsize-64/inttypes.h: Likewise.
541 * sysdeps/wordsize-32/inttypes.h: Likewise.
542 * string/argz.h: Likewise.
543 * io/sys/stat.h: Likewise.
544
5451998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
546
547 * Rules (stdio_lim): New variable.
548 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
549 on Rules and config.make, use $(move-if-change) to avoid unnessary
550 recompilations, and cleanup command.
551 (common-generated): Add bits/stdio_lim.st.
552
1622fda9
UD
5531998-10-12 Ulrich Drepper <drepper@cygnus.com>
554
555 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
556 variable to prevent warnings from use of modern CPU instructions.
557 Patch by Richard Henderson <rth@cygnus.com>.
558
559 * sysdeps/unix/opendir.c: Test whether NAME is directory before
560 opening it.
561
5621998-10-12 Philip Blundell <pb@nexus.co.uk>
563
564 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
565 semicolon so that profiling works.
566
4875f665
RM
5671998-10-12 Roland McGrath <roland@baalperazim.frob.com>
568
569 * sysdeps/generic/glob.c: #undef mempcpy before #define.
570
571 * sysdeps/unix/bsd/clock.c: Use prototype defns.
572
431f91ba
UD
5731998-10-11 Ulrich Drepper <drepper@cygnus.com>
574
575 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
576 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
577
578 * string/bits/string2.h [!_STRING_ARCH_unaligned]
579 (__mempcpy_small): Add parameter for 1 byte copy and use it.
580 Reported by Geoff Keating <geoffk@ozemail.com.au>.
581
027acb51
UD
5821998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
583
584 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
585 it is already defined in <bits/environments.h>.
586
9a29bc37
UD
5871998-10-09 Ulrich Drepper <drepper@cygnus.com>
588
589 * posix/ptestcases.h: Fix typo.
590
5911998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
592
593 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
594 (regexec): Allocate regs.start and regs.end as one block.
595
5961998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
597
598 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
599 enum decl.
600
6011998-10-08 Philip Blundell <pb@nexus.co.uk>
602
603 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
604 sigcontext union to ...
605 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
606 file.
607 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
608 version 2.0 kernels.
609
9ea350a4
UD
6101998-10-08 Ulrich Drepper <drepper@cygnus.com>
611
8261bc4b
UD
612 * malloc/mtrace.c (tr_reallochook): Produce better output for real
613 reallocation case.
614
16e866fa 615 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
ea1dfb4a 616 * argp/argp-xinl.c: Likewise.
16e866fa 617
9ea350a4
UD
618 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
619 Ruffian entry back.
620 Patch by Christian Gafton.
621
25b3b17b
UD
6221998-10-08 Paul Eggert <eggert@twinsun.com>
623
624 * time/mktime.c (__mktime_internal): When the requested time falls
625 in a spring-forward gap of size DT, return a time that is DT away
626 from the requested time, preferring a time whose tm_isdst differs
627 from the requested value. Bump the max number of probes from 4 to
628 6 to account for the extra probes needed to discover a
629 spring-forward gap in the worst case.
630
6311998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
632
633 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
634 of the weird alpha architectures.
635 Patch by Cristian Gafton <gafton@redhat.com>.
636
6371998-02-18 23:31 Richard Henderson <rth@cygnus.com>
638
639 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
640 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
641
604510f7
UD
6421998-10-07 Ulrich Drepper <drepper@cygnus.com>
643
644 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
645 (dl_open_worker): Use realloc, not malloc to resize array.
646 * elf/rtld.c (_dl_initial_searchlist): New variable.
647 (_dl_main): Copy content of _dl_main_searchlist to
648 _dl_initial_searchlist.
649 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
650 _dl_global_scope_alloc.
651 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
652 * elf/dl-close.c (_dl_close): When removing object with global
653 scope remove allocated searchlist if no dynamically loaded object
654 is on it anymore.
655 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
656 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
657
658 * malloc/mtrace.c (tr_where): Don't print space in location string,
659 print it afterwards. Print better symbol name information.
660
0163d97b
UD
6611998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
662
663 * manual/filesys.texi (Setting Permissions): Fix example for
664 reading umask.
665
6661998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
667
668 * elf/sprof.c (load_profdata): Fix typo in error message.
669
c0de721b
AS
6701998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
671
672 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
673 flag.
674
442dc326
RM
6751998-10-04 Roland McGrath <roland@baalperazim.frob.com>
676
677 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
678
d53427c8
UD
6791998-10-06 Ulrich Drepper <drepper@cygnus.com>
680
681 * version.h (VERSION): Bump to 2.0.97.
682
acdf1251
UD
6831998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
684
685 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
686 in definitions of inline stat functions so that they match the
687 declaration.
688 * stdlib/stdlib.h: Likewise.
689 * wcsmbs/wchar.h: Likewise.
690 * libio/stdio.h: Likewise.
691 * stdio/stdio.h: Likewise.
692 * sysdeps/wordsize-64/inttypes.h: Likewise.
693 * sysdeps/wordsize-32/inttypes.h: Likewise.
694 * string/argz.h: Likewise.
695 * argp/argp.h: Likewise.
696
3cb07217
UD
6971998-10-06 Ulrich Drepper <drepper@cygnus.com>
698
699 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
700 netinet/in.h.
701
c10bb795
UD
7021998-10-05 Philip Blundell <philb@gnu.org>
703
704 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
705 and constants. Tidy up formatting a little.
706
707 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
708 Move definitions to in.h.
709
8325d82c
UD
7101998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
711
712 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
713 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
714 Remove inclusion of <linux/swap.h>.
715
7161998-10-05 Ulrich Drepper <drepper@cygnus.com>
717
718 * io/sys/stat.h: Use __P in definitions of inline stat functions
719 so that they match the declaration.
720
7211998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
722
723 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
724
7251998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
726
727 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
728 linux 2.1 version.
729
7301998-10-02 Philip Blundell <pb@nexus.co.uk>
731
732 * sysdeps/arm/dl-machine.h: Fix typo in last change.
733
734 * sysdeps/arm/bits/huge_val.h: New file.
735
7361998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
737
738 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
739
740 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
741 define.
742
7431998-10-05 Ulrich Drepper <drepper@cygnus.com>
744
745 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
746 store result of realloc instead of using BUF.
747
7481998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
749
750 * misc/sgtty.h (_SGTTY_H): Correct spelling.
751 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
752
7531998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
754
755 * manual/memory.texi (Obstacks): Document
756 obstack_alloc_failed_handler usage.
757
758 * malloc/obstack.h: Enhance comment about
759 obstack_alloc_failed_handler usage.
760 * malloc/obstack.c: Likewise.
761
7621998-10-05 Ulrich Drepper <drepper@cygnus.com>
763
764 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
765 gcc before 2.8 is used.
766
7671998-10-01 Philip Blundell <pb@nexus.co.uk>
768
769 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
770 from Scott Bambrough.
771
772 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
773
774 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
775 include the lock member.
776
7771998-09-03 Philip Blundell <pb@nexus.co.uk>
778
779 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
780
e3e4e463
UD
7811998-10-01 Ulrich Drepper <drepper@cygnus.com>
782
783 * timezone/zic.c: Update from tzcode1998h.
784 * timezone/europe: Update from tzdata1998i.
785 * timezone/southamerica: Likewise.
786
7782d0bf
UD
787 * sys/types.h: Protect use of long long by __extension__.
788 * stdlib/stdlib.h: Likewise.
789 * string/string.h: Likewise.
790 * sysdeps/i386/bits/byteswap.h: Likewise.
791 * sysdeps/geeric/bits/byteswap.h: Likewise.
792 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
793 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
794 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
795 * sysdeps/wordsize-32/inttypes.h: Likewise.
796 * sysdeps/wordsize-32/stdint.h: Likewise.
797 * wcsmbs/wchar.h: Likewise.
798
8325d82c
UD
7991998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
800
801 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
802 expression.
803 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
804 __strsep): Greatly reduce size of expansion by combining common
805 expressions.
806 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
807 inline function.
808 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
809 by the above definitions.
810
8111998-09-27 Geoff Keating <geoffk@ozemail.com.au>
812
813 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
814 correct struct ipc_perm definition.
815
8161998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
817
818 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
819
999b2f6b
UD
8201998-09-29 Cristian Gafton <gafton@redhat.com>
821
8325d82c
UD
822 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
823 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
999b2f6b
UD
824 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
825 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
826 Add net/if_shaper.h.
827
87052ab7
UD
8281998-09-29 Ulrich Drepper <drepper@cygnus.com>
829
cf26217d
UD
830 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
831
87052ab7
UD
832 * nis/ypclnt.c: Remove not needed close calls.
833
6ff5bc68
UD
8341998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
835
836 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
837 check a bit. Also close socket of domain client. Close socket
838 in IPPORT_RESERVED error case.
839
8401998-09-28 Ulrich Drepper <drepper@cygnus.com>
841
842 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
843 CMSG_ALIGN (fixes a bug) and correct test for availability of
844 another entry.
845 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
846 Linux version.
847 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
848 availability of another entry.
849 Patch by ak@muc.de.
850
851 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
852 Patch by ak@muc.de.
853
999b2f6b
UD
854 * libio/libio.h [!__STDC__]: Define const only if not defined.
855
6ff5bc68
UD
8561998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
857
858 * posix/annexc.c (xsystem): New function. Use it instead of
859 system.
860
8611998-09-28 Ulrich Drepper <drepper@cygnus.com>
862
863 * stdlib/longlong.h: Remove #endif for #if removed in last change.
864
e07a51b5
UD
8651998-09-25 Ulrich Drepper <drepper@cygnus.com>
866
867 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
868 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
869 allow using `ut' parameter.
870 [!emacs]: Define ut_argument, ut_argument_spec, and
871 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
872 argument_spec to prototypes and definitions.
873 (my_strftime): Don't call tzset of ut != 0.
874 Compute diff as 0 is ut != 0;
875 [emacs]: Define new emacs_strftime function.
876 Based on a patch by Paul Eggert.
877
8781998-09-24 Paul Eggert <eggert@twinsun.com>
879
880 * time/strftime.c (my_strftime): When asking for the length of the
881 subformatted buffer, do not limit the length to look for;
882 otherwise, we have no reliable way to distinguish between the
883 empty buffer and an error.
884
390a4882
UD
8851998-09-25 Ulrich Drepper <drepper@cygnus.com>
886
887 * math/Makefile (gmp-objs): Add mp_clz_tab.
888
8891998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
890
891 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
892 set them.
893 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
894 cpus lacking hardware multiply and divide.
895
8961998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
897
898 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
899 $(<F), not $(^F).
900
9011998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
902
903 * db/btree/bt_delete.c: Fix -Wparentheses warning.
904
9051998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
906
907 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
908 $(do-install).
909
e503270c
UD
9101998-09-24 Ulrich Drepper <drepper@cygnus.com>
911
e07a51b5 912 * debug/catchsegv.sh: Also produce output if clone process died.
e503270c
UD
913
9141998-09-24 Paul Eggert <eggert@twinsun.com>
915
390a4882 916 * time/strftime.c (f_wkday): Remove duplicate definition.
e503270c
UD
917 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
918 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
919 1998-09-11 fix to this case.
920 (wkday_len, month_len): Remove these macros; they're no longer needed.
921
9221998-09-24 Paul Eggert <eggert@twinsun.com>
923
390a4882 924 * time/strftime.c (my_strftime): Don't store past the end of a
e503270c
UD
925 zero-sized buffer.
926
3465c0ce
UD
9271998-09-24 Paul Eggert <eggert@twinsun.com>
928
e503270c 929 * time/strftime.c (underlying_strftime):
3465c0ce
UD
930 Set the buffer to a nonzero value before calling
931 strftime, and check to see whether strftime has set the buffer to zero.
932 This lets us distinguish between an empty buffer and an error.
933
9341998-09-24 Paul Eggert <eggert@shade.twinsun.com>
935
e503270c 936 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
3465c0ce
UD
937 This fix is propagated from tzcode1998g.tar.gz.
938
7a3bfc4e
UD
9391998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
940
941 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
942 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
943 sys_siglist. This is handled correctly by the weak_alias macro.
944
369b1933
UD
9451998-09-24 Ulrich Drepper <drepper@cygnus.com>
946
50a1b837
UD
947 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
948 of mempcpy. Reported by Andreas Jaeger.
949
369b1933
UD
950 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
951 pollute the namespace since the compiler will resolve it inline.
952 Reported by Florian La Roche <florian@suse.de>.
953
2b79b6d5
UD
9541998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
955
956 * timezone/private.h: Update from tzcode1998g.
957
958 * timezone/africa: Update from tzdata1998h.
959 * timezone/asia: Likewise.
960 * timezone/australasia: Likewise.
961 * timezone/europe: Likewise.
962 * timezone/northamerica: Likewise.
963 * timezone/southamerica: Likewise.
964 * timezone/zone.tab: Likewise.
965
3d42e04d
UD
9661998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
967
968 * misc/sys/mman.h: New file.
969
970 * sysdeps/generic/bits/mman.h: New file.
971 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
972 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
973 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
974 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
975
976 * sysdeps/generic/sys/mman.h: Removed.
977 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
978 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
979 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
980 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
981 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
982
983 * include/sys/mman.h: Look directly for misc/sys/mman.h.
984 * misc/Makefile (headers): Add bits/mman.h.
985 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
986 bits/mman.h.
987
988 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
989 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
990 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
991 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
992 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
993 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
994 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
995 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
996
9971998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
998
999 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
1000 * sysdeps/mach/alpha/thread_state.h: Likewise.
1001 * sysdeps/mach/i386/sysdep.h: Likewise.
1002 * sysdeps/mach/i386/thread_state.h: Likewise.
1003 * sysdeps/mach/mips/sysdep.h: Likewise.
1004 * sysdeps/mach/mips/thread_state.h: Likewise.
1005 * sysdeps/posix/profil.c: Likewise.
1006 * sysdeps/i386/i586/memcopy.h: Likewise.
1007 * sysdeps/mach/pagecopy.h: Likewise.
1008
a379e56a
UD
10091998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
1010
1011 * libio/stdio.h: Define __need_getopt and include getopt.h to define
1012 getopt stuff.
1013 * posix/unistd.h: Likewise.
1014 * stdio/stdio.h: Likewise.
1015 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
1016 define only getopt and the variables.
1017
34a4b66d
UD
10181998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1019
1020 * scripts/test-installation.pl (installation_problem): Don't link
1021 the test program against libdb1.
1022
24fd4cc4
UD
10231998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
1024
1025 * Makeconfig (all-subdirs): Add db.
1026 * Versions.def: Add definition for libdb1.
1027 * shlib-versions: Add definitions for libdb1.
1028 * db/Makefile (extra-libs): Replace by libdb1.
1029 (libdb-routines): Rename to libdb1-routines.
1030 (headers): Rename to db1-headers.
1031 (distribute): Add $(db1-headers).
1032 (install-others): Define to install symlink libdb.so.NN and the
1033 $(db1-headers).
a379e56a 1034 (CPPFLAGS): Add -DUSE_LIBDB1
24fd4cc4
UD
1035 Remove rules to build makedb.
1036 * db/Versions: Rename libdb to libdb1.
1037 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
af564203 1038 * db/makedb.c: Removed.
24fd4cc4
UD
1039
1040 * scripts/versions.awk: Recognize digits in library names.
1041
1042 * db/btree/bt_open.c: Fix compiler warnings.
1043 * db/btree/bt_put.c: Likewise.
1044 * db/btree/bt_split.c: Likewise.
1045 * db/hash/hash.c: Likewise.
1046 * db/hash/hash_bigkey.c: Likewise.
1047 * db/recno/rec_close.c: Likewise.
1048
af564203
UD
1049 * Makefile: Add localedata/% goal.
1050
c94a8080
UD
10511998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1052
1053 * posix/execvp.c: Don't give up searching the PATH if execve
1054 returns ENOTDIR.
1055
10561998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
1057
1058 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
1059 if _dl_fpu_control_set is set.
1060 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
1061 * elf/rtld.c: Don't define _dl_fpu_control_set.
1062 * elf/Versions: Remove _dl_fpu_control_set.
1063
10641998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
1065
1066 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
1067 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
1068 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1069 Correct values of other SA_* macros according to kernel headers.
1070
10711998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1072
1073 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
1074 variable l.
1075 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
1076 old.
1077
10781998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1079
1080 * elf/ldsodefs.h: Fix typo in comment.
1081
10821998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1083
1084 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
1085 char when comparing buffer contents with putback character.
1086
10871998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1088
1089 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
1090 Undo last change.
1091 * elf/Versions: Undo last change. Export _dl_fpu_control and
1092 _dl_fpu_control_set.
1093 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
1094 variables. Include <fpu_control.h>.
1095 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
1096 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
1097 to indicate that is was seen.
1098 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
1099 only if _dl_fpu_control was set and is equal to desired value.
1100 * math/Makefile (aux): Undo last change.
1101 * math/Versions: Export __fpu_control with version GLIBC_2.0.
1102
f74e8ed1
AS
11031998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1104
1105 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
1106 optimized.
1107
e7c5513d
UD
11081998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
1109
1110 * string/bits/string2.h: Add mempcpy optimization.
1111 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
1112 * intl/localealias.c: Define mempcpy only if not already defined.
1113
1114 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
1115 defined.
1116
11171998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1118
1119 * csu/abi-note.S: Emit the note directly instead of defining
1120 a preprocessor macro that's only used once. Don't include sysdep.h.
1121 * abi-tags: Generalize Solaris entry.
1122
11231998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1124
1125 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
1126 Change to array to avoid runtime relocation.
1127 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
1128
11291998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1130
1131 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
1132 * math/Makefile ($(objpfx)libieee.a): Likewise.
1133
11341998-09-21 Ulrich Drepper <drepper@cygnus.com>
1135
1136 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
1137 Patch by John Tobey <jtobey@banta-im.com>.
1138
b0fd6165
UD
11391998-09-20 Ulrich Drepper <drepper@cygnus.com>
1140
1141 * login/Makefile (distribute): Remove pty-internal.h, add
1142 pty-private.h.
1391f5d3
UD
1143
1144 * stdlib/tst-strtol.c: Add more checks.
1145 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1146
a0780919
UD
11471998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
1148
1149 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
1150 * elf/elf.h: Add AT_FPUCW.
1151 * elf/Makefile (dl-routines): Add fpu_control.
1152 (elide-routines.os): Add fpu_control.
1153 (rtld-routines): Add fpu_control.
1154 * math/Makefile (aux): Remove fpu_control.
1155 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
1156 (_dl_show_auxv): Likewise.
1157 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
1158 if different from OS default.
1159
1160 * stdio-common/tstscanf.c: Add test case for (nil).
1161
00bc5db0
UD
11621998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
1163
1164 * libio/fileops.c (_IO_new_file_underflow): Before allocating
1165 buffer make sure the pushback buffer is destroyed.
1166 (_IO_new_file_seekoff): Likewise.
1167 If mode==0 quit early with the result.
1168 Clear OEF flag after successful fseek.
1169 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
1170 * libio/ftello.c (ftello): Add offset from original buffer if
1171 stream has pushed back characters.
1172 * libio/ftello64.c (ftello64): Likewise.
1173 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
1174 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
1175 * libio/ioftell.c (_IO_ftell): Likewise.
1176 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
1177 and _IO_save_ptr.
1178 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
1179 (_IO_default_pbackfail): Only stored push back character in original
1180 buffer if it is the same as the one in the file at this position.
1181 * libio/iofclose.c: Free backup buffer if one is available.
1182 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
1183 mode!=0.
1184
1185 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
1186
1187 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
1188
c53a89d4
UD
1189 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
1190
00bc5db0
UD
11911998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
1192
1193 * login/programs/pt_chown.c (more_help): Correct message that
1194 describes the purpose of the program.
1195
1196 * login/openpty.c: Do not include pty-private.h.
1197 (pts_name): New function. Return name of slave pseudo terminal in
1198 an allocated buffer if necessary.
1199 (openpty): Use pts_name to get name of the slave end of the pseudo
1200 terminal pair.
1201
1202 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
1203 pts_name before return.
1204
12051998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
1206
1207 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
1208
88263bc9
UD
12091998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1210
1211 * login/openpty.c: Include pty-private.h instead of
1212 pty-internal.h.
1213
872ea854
UD
12141998-09-09 Philip Blundell <pb@nexus.co.uk>
1215
1216 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
1217
12181998-09-07 Philip Blundell <pb@nexus.co.uk>
1219
1220 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
1221 recent ld.so changes.
1222 (elf_machine_runtime_setup): Correct behaviour when profiling.
1223
9b3c7c3c
UD
12241998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
1225
1226 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
1227 Patch by John Tobey <jtobey@banta-im.com>.
1228
12291998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
1230
1231 * login/pty-internal.h: Removed. Moved constants related to the
1232 `grantpt' helper program protocol to ...
1233 * login/pty-private.h: ... here. New file.
1234 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
1235 to make the function work with kernels >= 2.1.115.
1236 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
1237 version if using the cloning device fails.
1238 * sysdeps/unix/sysv/linux/grantpt.c: New file.
1239 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
1240 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
1241 use by Linux specific code.
1242 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
1243 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
1244 function. (grantpt): Use pts_name, check group and permission
1245 mode in addition to owner. Try to set the owner, group and
1246 permission mode first without invoking the helper program.
1247 * login/programs/pt_chown.c: Largely rewritten. Add argp and
1248 internationalization support. Use symbolic constants instead of
1249 hardwired numbers for permission mode.
1250 * sysdeps/unix/bsd/ptsname.c: New file.
1251
12521998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
1253
1254 * posix/wordexp-test.c: Undo last change.
1255
1256 * posix/wordexp.c: Undo last change.
1257
d8f2b9ea
UD
12581998-09-16 Ulrich Drepper <drepper@cygnus.com>
1259
1260 * nscd/grpcache.c (save_grp): Partly undo last change.
1261
1262 * nscd/pwdcache.c (save_pwd): Undo last change.
1263
9c4c0024
UD
12641998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1265
1266 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
1267 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
1268
12691998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
1270
1271 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
1272 Add profiling support.
1273 (TRAMPOLINE_TEMPLATE): New macro.
1274 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1275 (RTLD_START): Prettify, and set __libc_stack_end properly.
1276 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
1277 and check for sym being NULL instead.
1278 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
1279 of stack space.
1280 * sysdeps/sparc/sparc64/lshift.S: Likewise.
1281 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
1282 * sysdeps/sparc/sparc64/rshift.S: Likewise.
1283 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
1284 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
1285 MEDANY code model %g4 usage.
1286 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
1287 MEDANY code model %g4 usage.
1288 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
1289 code model address formation.
1290 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
1291 include elf/ldsodefs.h
1292 (DT_SPARC): Remove.
1293 (elf_machine_matches_host): It is now EM_SPARCV9.
1294 (elf_machine_dynamic): Clean up to remove ugly cast.
1295 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
1296 new PLT formats.
1297 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
1298 Prettify rest of function.
1299 [R_SPARC_COPY]: Check for sym being NULL.
1300 [R_SPARC_32]: Handle it.
1301 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
1302 MEDMID code model.
1303 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
1304 MEDANY code model.
1305 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
1306 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
1307 Add profiling support.
1308 (TRAMPOLINE_TEMPLATE): New macro.
1309 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1310 (RTLD_START): Prettify and set __libc_stack_end.
1311 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
1312 Define.
1313 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
1314 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
1315 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
1316 unused variable scratch.
1317 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1318 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
1319 Declare.
1320 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
1321 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
1322 old format kernel sigaction structures.
1323 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
1324 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
1325 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
1326 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
1327 ucontext include.
1328 (_JMPBUF_UNWINDS): Define.
1329 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
1330 statfs64 structure, which is exactly the same as the normal one.
1331 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
1332 of stack. Use correct syscall trap number. Add branch prediction
1333 settings to branch instructions. Remove old MEDANY code model %g4
1334 referneces for non-PIC.
1335 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1336 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
1337 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
1338 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
1339 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1340 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
1341 __libc_longjmp and __libc_siglongjmp strong aliases.
1342 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
1343 Also define to __no__readdir64_decl around readdir.c inclusion.
1344 (__readdir64): Add strong alias.
1345 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
1346 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
1347 Set strong and weak names properly.
1348
13491998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1350
1351 * manual/Makefile (AWK): Default to gawk if standalone.
1352
13531998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1354
1355 * Makefile (distribute): Undo last change.
1356 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
1357 for sysdep headers.
1358 (+subdir-headers): Removed, unused.
1359
13601998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1361
1362 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
1363 $(do-install).
1364
13651998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1366
1367 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
1368 absolute name in $(config-sysdirs), can never happen.
1369 ($(+sysdir_pfx)sysd-rules): Likewise.
1370 * Makeconfig (full-config-sysdirs): Likewise.
1371 (all-Subdirs-files): Prepend $(..).
1372
1373 * configure.in: Don't check for absolute name in $add_ons_pfx, can
1374 not happen. Let --enable-add-ons=yes work if no add-ons actually
1375 exist.
1376
13771998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1378
1379 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
1380 continuations in command.
1381
13821998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1383
1384 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
1385
a8125d85
UD
13861998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
1387
1388 * posix/wordexp-test.c: If expansion or substitution occurs
1389 anywhere in a word, the entire word is subject to field-splitting.
1390
1391 * posix/wordexp.c (parse_glob): Look for end of word instead of
1392 end of field when deciding what to glob.
1393 (field_split_word): New function, now the only place where
1394 field-splitting is performed.
1395 (parse_dollars): New parameter - tell the caller if
1396 field-splitting should be performed on this word.
1397
1398 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
1399 succeeded (or failed with WRDE_NOSPACE).
1400
14011998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
1402
1403 * posix/wordexp.c (wordexp): Don't convert IFS characters to
1404 blanks.
1405
1406 * posix/wordexp-test.c: Words not the result of expansion or
1407 substitution should remain unchanged.
1408
aa2bc6a3
UD
14091998-09-15 Ulrich Drepper <drepper@cygnus.com>
1410
1411 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
1412 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
1413
3a60301a
UD
14141998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1415
1416 * stdio-common/Makefile: Include Makeconfig so that
1417 $(inst_includedir) is defined.
1418
77f0d179
UD
14191998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1420
1421 * io/pwd.c: Include <mcheck.h>.
1422
6beaac4d
UD
14231998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
1424
1425 * nscd/pwdcache.c (save_pwd): Correct copying.
1426 * nscd/grpcache.c (save_grp): Likewise.
1427
0ff0d59e
UD
14281998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
1429
1430 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
1431 (free_pwd): Adjust for this change.
1432 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
1433 (free_grp): Adjust for this change.
1434
d3f8acb3
UD
14351998-09-14 Ulrich Drepper <drepper@cygnus.com>
1436
1437 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
1438
14eb5d5d
UD
14391998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
1440
1441 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
1442 (install-others): Add bits/stdio_lim.h.
1443 Add rule to install bits/stdio_lim.h.
1444
1445 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
1446
1447 * Makefile (distribute): Add include/sys/mman.h.
1448
1449 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
1450 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
1451 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
1452
0a1590ba
UD
1453 * grp/initgroups.c: Include stdlib.h.
1454 Patch by Zack Weinberg.
1455
1ffaaca2
UD
14561998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
1457
1458 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
1459 for field-splitting :abc: is correct, and that two fields should
1460 result. Revert tests to reflect this.
1461
1462 * posix/wordexp.c (w_emptyword): Remove function.
1463 (exec_comm): Don't use w_emptyword.
1464 (parse_param): Likewise.
1465
4ca020f5
UD
14661998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
1467
1468 * sysdeps/arm/fpu/Dist: Moved to...
1469 * sysdeps/arm/Dist: ...here.
1470 * sysdeps/posix/Dist: Removed.
1471 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
1472 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
1473
f624c216
UD
14741998-08-26 Geoff Keating <geoffk@ozemail.com.au>
1475
1476 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
1477
7ef90c15
UD
14781998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
1479
1480 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
1481
14821998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1483
1484 * libc-work/nis/nss_nisplus/nisplus-service.c
1485 (_nss_nisplus_parse_servent): Convert port in network byte order.
1486
14871998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1488
1489 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
1490 to provide only malloc and calloc.
1491 * include/stdlib.h: Support the above.
1492 * string/bits/string2.h: Use __need_malloc_and_calloc when
1493 including stdlib.h.
1494 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
1495
1496 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
1497 * iconvdata/iso646.c: Include <stdlib.h>.
1498
14991998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1500
1501 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
1502 * sysdeps/libm-ieee754/w_pow.c: Likewise.
1503 * sysdeps/libm-ieee754/w_powf.c: Likewise.
1504 * sysdeps/libm-ieee754/w_powl.c: Likewise.
1505
15061998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1507
1508 * stdio-common/stdio_lim.h.in: New file. All parameters
1509 are adjustable at build time.
1510 * Rules: Add a rule to build bits/stdio_lim.h from
1511 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
1512 all subdirectories know how to make the file. It can't be
1513 in Makerules because then it gets built at top level and the
1514 dependencies are wrong.)
1515
1516 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
1517 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
1518 stdio_lim.h.
1519 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
1520 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
1521 * sysdeps/posix/Makefile: Removed.
1522 * sysdeps/posix/mk-stdiolim.c: Removed.
1523 * sysdeps/generic/bits/stdio_lim.h: Removed.
1524
15251998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1526
1527 * argp/argp-help.c: Fixup indentation.
1528 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
1529 * resolv/nss_dns/dns-network.c: Likewise.
1530 * resolv/res_send.c: Likewise.
1531 * rt/aio_cancel.c: Likewise.
1532 * rt/aio_misc.c: Likewise.
1533
15341998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1535
1536 * Makefile (install-symbolic-link): Remove the link list file at last.
1537 * Makerules (install-clean-symbolic-link-list): Removed.
1538
15391998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1540
1541 * timezone/tst-timezone.c: Print time in UTC to get consistent
1542 output.
1543
15441998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1545
1546 * elf/rtld.c (_dl_rpath): Removed.
1547 * elf/dl-support.c (_dl_path): Removed.
1548 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
1549 (CFLAGS-dl-support.c): Removed.
1550
1551 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
1552 uses changed.
1553 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
1554 instead of appending it to the main map's rpath info.
1555 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
1556 DT_RPATHs. This makes it effective again.
1557 (decompose_rpath): Remove second parameter, callers changed.
1558 (fillin_rpath): Allocate enough space in curwd.
1559 (expand_dynamic_string_token): Cope with get_origin returning -1.
1560
15611998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1562
1563 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
1564 passwd.adjunct.
1565
1566 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
1567 invalid password.
1568
15691998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
1570
1571 * locale/programs/locale.c: Update dates.
1572
5d47ceca
UD
15731998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
1574
1575 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
1576 size_t is defined. Some reordering of defenitions to make
1577 maintaining this file in parallel with the linux-specific file easier.
1578
bd31edf2
UD
15791998-09-13 Ulrich Drepper <drepper@cygnus.com>
1580
1581 * io/pwd.c (main): Add call to mtrace.
1582
1583 * malloc/mtrace.pl: Quote @ in string.
1584
33c3e20e
UD
15851998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
1586
1587 * posix/wordexp.c (parse_arith): Fix memory leaks.
1588 (exec_comm): Likewise.
1589 (parse_param): Likewise.
1590 (wordexp): Likewise.
1591 (exec_comm): Reduce number of function return points.
1592 (parse_param): Likewise.
1593 (wordexp): Likewise.
1594
1720f4d0
UD
15951998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
1596
1597 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
1598 yield three fields, not two. Test both parameter expansion and
1599 command substitution for correct field-splitting behaviour.
1600
1601 * posix/wordexp.c (w_emptyword): New function.
1602 (parse_param): Use it.
1603 (exec_comm): Likewise, for consistency with the way parse_param
1604 splits fields.
1605 (parse_param): Fix some memory leaks.
1606
2d09b95d
UD
16071998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
1608
1609 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
1610 Don't mark asm `volatile'.
1611 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
1612 from the data cache too. Assume it isn't in the instruction cache yet.
1613 (__elf_machine_fixup_plt): Clear the modified address from the caches.
1614
b39c6f8b
UD
16151998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
1616
1617 * sysdeps/generic/segfault.c (install_handler): Install signal
1618 handler with SA_ONSTACK instead of setting the stack flags to
1619 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
1620 defined.
1621
16221998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1623
1624 * signal/signal.h: Fix multiple inclusion guard to cover the
1625 entire file.
1626 * wcsmbs/wchar.h: Remove prototype of internal function
1627 __mbsrtowcs.
1628 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
1629 arithmetic on `void *'.
1630
c06cc21c
UD
16311998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
1632
1633 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
1634
1635 * posix/wordexp.c (wordexp): Perform word-splitting instead of
1636 field-splitting here.
1637 (wordexp): If out of memory mid-word, free the word (but still
1638 leave pwordexp alone for caller to see).
1639 (parse_param): Allow for zero-length fields (smarter checking of
1640 memory allocation failure).
1641 (w_addword): Convert NULL words to "".
1642 (wordexp): Convert left-over IFS characters to blanks (like bash).
1643
81e0cb2d
UD
16441998-09-11 Ulrich Drepper <drepper@cygnus.com>
1645
350eb336
UD
1646 * configure.in: Use test -f instead of test -e.
1647 Patch by John Tobey <jtobey@banta-im.com>.
1648
1649 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
1650 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
1651 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
1652 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
1653 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
1654 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
1655 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
1656 Patches by John Tobey <jtobey@banta-im.com>.
1657
81e0cb2d
UD
1658 * time/strftime.c (my_strftime): Delay use of *tp values until
1659 latest possible point to allow partly initialized structures
1660 (e.g., from strptime).
1661
514d9bca
UD
1662 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
1663 and NATS-SEFI.
1664 Define *-routines variables for new modules.
1665 (distribute): Add .c files for new modules.
1666 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
1667 and nats-sefi.h.
1668 Add rules for header generation.
1669 * iconvdata/gconv-modules: Add entries for new modules.
1670 * iconvdata/iso_10367-box.c: New file.
1671 * iconvdata/mac-is.c: New file.
1672 * iconvdata/nats-dano.c: New file.
1673 * iconvdata/nats-sefi.c: New file.
1674
81e0cb2d
UD
16751998-04-30 18:20 H.J. Lu <hjl@gnu.org>
1676
1677 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
1678 loader if PIC is not defined.
1679
ec04e9ba
UD
16801998-09-11 Ulrich Drepper <drepper@cygnus.com>
1681
1682 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
1683 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
1684 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
1685 and ISO_5428.
1686 Define *-routines variables for new modules.
1687 (distribute): Add .c files for new modules.
1688 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
1689 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
1690 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
1691 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
514d9bca 1692 Add rules for header generation.
ec04e9ba
UD
1693 * iconvdata/gconv-modules: Add entries for new modules.
1694 * iconvdata/csn_369103.c: New file.
1695 * iconvdata/cwi.c: New file.
1696 * iconvdata/dec-mcs.c: New file.
1697 * iconvdata/ecma-cyrillic.c: New file.
1698 * iconvdata/gost_19768-74.c: New file.
1699 * iconvdata/greek-ccitt.c: New file.
1700 * iconvdata/greek7-old.c: New file.
1701 * iconvdata/greek7.c: New file.
1702 * iconvdata/inis-8.c: New file.
1703 * iconvdata/inis-cyrillic.c: New file.
1704 * iconvdata/inis.c: New file.
1705 * iconvdata/iso6937-2.c: New file.
1706 * iconvdata/iso_2033.c: New file.
1707 * iconvdata/iso_5427-ext.c: New file.
1708 * iconvdata/iso_5427.c: New file.
1709 * iconvdata/iso_5428.c: New file.
1710
1711 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
1712 entries.
1713 Convert U02dd correctly.
1714
25c849b1
RH
17151998-09-11 20:46 Richard Henderson <rth@cygnus.com>
1716
1717 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
1718 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1719 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
1720 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
1721
04795ad9
UD
17221998-09-11 Ulrich Drepper <drepper@cygnus.com>
1723
1724 * resolv/res_init.c (res_init): Handle resolv.conf file with only
1725 one nameserver correctly. Patch by HJ Lu.
1726
1727 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
1728 and ANSI_X3.110.
1729 Define *-routines variables for new modules.
1730 (distribute): Add .c files for new modules.
1731 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
1732 Add rules for hedaer generation.
1733 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
1734 * iconvdata/ansi_x3.110.c: New file.
1735 * iconvdata/asmo_449.c: New file.
1736 * iconvdata/baltic.c: New file.
1737 * iconvdata/iec_p27-1.c: New file.
1738
1739 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
1740 entries.
1741 Convert U02dc correctly.
1742
1743 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
1744 * math/atest-exp2.c: Likewise.
1745 * math/atest-sincos.c: Likewise.
1746
1747 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
1748 is defined.
1749
17501998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1751
1752 * string/strcoll.c: Optimize a few expressions.
1753 * string/strxfrm.c: Likewise.
1754
5e0889da
UD
17551998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1756
1757 * manual/locale.texi: Fix typos.
1758
2c86b2bc
UD
17591998-09-10 Ulrich Drepper <drepper@cygnus.com>
1760
26afaa63
UD
1761 * stdlib/random_r.c (__setstate_r): Allow call with same state
1762 array as currently used (PR libc/774).
1763
6c79e60c
UD
1764 * include/limits.h: Include gcc's header even if this file is
1765 found more than once before it (PR libc/778)
1766
ec04e9ba
UD
1767 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
1768 (sysdep_headers): Remove sys/debugreg.h.
1769 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
1770 (sysdep_headers): Add sys/debugreg.h.
39382b8b
UD
1771 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
1772 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
1773
2c86b2bc
UD
1774 * stdio-common/tmpnam.c: Move local static variable buf to
1775 toplevel and rename to tmpnam_buffer to ease debugging.
1776 Patch by Joe Keane <jgk@jgk.org>.
1777 Optimize s == NULL case a bit.
1778
8e9f53fc
UD
1779 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
1780 correction.
1781
482a3be2
UD
17821998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
1783
1784 * resolv/res_init.c (res_init): Initialize _res.nscount and
1785 _res.nsaddr.sin_port differently for the can when no loopback
1786 is available to allow immediate timeout in non-networking environments.
1787 Patch by Cristian Gafton <gafton@redhat.com>.
1788
e8238963
UD
17891998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1790
1791 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
1792 BAR and not EM DASH.
1793 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
1794 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
1795 Fixes PR libc/717.
1796
90865aa8
UD
17971998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
1798
1799 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
1800 for test.
1801 * timezone/tst-timezone.c (tests): Fix typo in last patch.
1802
1803 * time/tzfile.c (__tzfile_read): Handle case when there are no
1804 transitions. Set __timezone based on computed offset.
1805 * time/tzset.c (tzset_internal): Set __timezone before returning.
1806
1807 * time/tzset.c (tzset_internal): Optimize handling of local string
1808 copy.
1809
18101998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1811
1812 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
1813 libc/776).
1814
adac8450
UD
18151998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
1816
1817 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
1818 (csqrt_test): Likewise.
90865aa8 1819 * sysdeps/powerpc/bits/fenv.h: Add parens.
adac8450 1820
8e140239
UD
18211998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
1822
1823 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
1824 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1825 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
1826
78acf671
UD
18271998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
1828
1829 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
1830 the special `-1' pointer.
1831
6e4c40ba
UD
18321998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
1833
1834 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
1835 inline.
1836
18371998-09-07 Paul Eggert <eggert@twinsun.com>
1838
1839 * time/mktime.c (__EXTENSIONS__): Define if not defined.
1840 (_REENTRANT): Remove. It has undesirable consequences in
1841 Solaris 2.6 (e.g. it turns off the putc macro). Defining
1842 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
1843 is what we want.
1844 * time/strftime.c: Likewise.
1845
18461998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1847
1848 * elf/dl-error.c: Fix spelling.
1849
18501998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1851
1852 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
1853 * stdio-common/_itoa.c: Likewise.
1854 * stdio-common/printf_fp.c: Likewise.
1855 * stdio-common/vfscanf.c: Likewise.
1856 * wcsmbs/wcstok.c: Likewise.
1857 * sysdeps/generic/glob.c: Likewise.
1858 * posix/getopt.c: Likewise.
1859 * sysdeps/posix/getaddrinfo.c: Likewise.
1860 * posix/wordexp.c: Likewise.
1861 * io/ftw.c: Likewise.
1862 * io/fts.c: Likewise.
1863 * misc/getpass.c: Likewise.
1864 * iconv/gconv_conf.c: Likewise.
1865 * argp/argp-fmtstream.c: Likewise.
1866 * argp/argp-help.c: Likewise.
1867 * elf/dl-load.c: Likewise.
1868 * locale/programs/stringtrans.c: Likewise.
1869 * catgets/gencat.c: Likewise.
1870 * posix/getconf.c: Likewise.
1871 * iconv/gconv_conf.c: Likewise.
1872 * iconv/iconv_prog.c: Likewise.
1873
1874 * string/strcoll.c: Optimize a few expressions.
1875 * string/strxfrm.c: Likewise.
1876
18771998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1878
1879 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
1880 level to avoid uninit variable warning.
1881
18821998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2aa236b1 1883
769ca810 1884 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
6e4c40ba 1885 instead of _dl_default_scope[2] as argument to _dl_init_next.
769ca810 1886
2aa236b1
AS
1887 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
1888 C9x macro.
1889
8ea4a95a
UD
18901998-09-08 Ulrich Drepper <drepper@cygnus.com>
1891
6e4c40ba 1892 Fix compatibility problems introduced in last change.
dc27836e
UD
1893 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
1894 defined.
1895 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
1896 -DWEAK_GMON_START to CFLAGS-initfini.s.
1897
e4d50917
UD
1898 * elf/dl-object.c (_dl_new_object): Store map address in
1899 _dl_loaded if _dl_loaded is NULL.
87c812c2 1900 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
e4d50917 1901
8ea4a95a
UD
1902 * sysdeps/generic/setrlimit64.c: Remove stub warning.
1903
88c91118
UD
19041998-09-07 Ulrich Drepper <drepper@cygnus.com>
1905
1906 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
1907 quiet.
2c874db2
UD
1908 * db2/btree/bt_cursor.c: Likewise.
1909 * db2/common/db_region.db_c: Likewise.
1910 * db2/common/db_salloc.db_c: Likewise.
1911 * db2/db/db.c: Likewise.
1912 * db2/db/db_rec.c: Likewise.
1913 * db2/hash/hash.c: Likewise.
1914 * db2/hash/hash_page.c: Likewise.
1915 * db2/hash/hash_rec.c: Likewise.
1916 * db2/log/log_findckp.c: Likewise.
1917 * db2/log/log_get.c: Likewise.
1918 * db2/log/log_put.c: Likewise.
1919 * db2/mp/mp_fget.c: Likewise.
1920 * db2/mp/mp_fput.c: Likewise.
1921 * db2/mp/mp_region.c: Likewise.
cf9f9a16
UD
1922 * stdlib/strtol.c: Likewise.
1923 * string/strcoll.c: Likewise.
1924 * string/strxfrm.c: Likewise.
94b78bb2
UD
1925 * argp/argp-help.c: Likewise.
1926 * argp/argp-parse.c: Likewise.
3121cc04 1927 * resolv/res_debug.c: Likewise.
88c91118 1928
26644e87
UD
19291998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
1930
1931 * math/tgmath.h (scalb): Only define for __USE_MISC or
1932 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
1933
2b33e5b0
UD
19341998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1935
1936 * libio/stdio.h: Fix comment.
1937
1938 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
1939 __USE_ISOC9X.
1940
6796bc80
UD
19411998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1942
1943 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
1944
1945 * elf/dl-open.c: Quiet -Wparentheses warnings.
1946 * iconvdata/johab.c: Likewise.
1947 * iconvdata/uhc.c: Likewise.
1948 * inet/inet_net.c: Likewise.
1949 * io/fts.c: Likewise.
1950 * locale/newlocale.c: Likewise.
1951 * misc/getttyent.c: Likewise.
1952 * misc/mntent_r.c: Likewise.
1953 * misc/ttyslot.c: Likewise.
1954 * nscd/nscd_conf.c: Likewise.
1955 * nss/nsswitch.c: Likewise.
1956 * resolv/gethnamaddr.c: Likewise.
1957 * resolv/nsap_addr.c: Likewise.
1958 * resolv/res_debug.c: Likewise.
1959 * stdio-common/_itoa.c: Likewise.
1960 * stdlib/strtod.c: Likewise.
1961 * string/strverscmp.c: Likewise.
1962 * sunrpc/svc.c: Likewise.
1963 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
1964 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
1965 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
1966 * sysdeps/posix/getaddrinfo.c: Likewise.
1967
baa3334a
UD
19681998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
1969
1970 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
1971 for use of global scope.
1972 * elf/dlvsym.c (dlvsym_doit): Likewise.
1973
19741998-09-02 Paul Eggert <eggert@twinsun.com>
1975
1976 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
1977 copy the redundant bytes at the end of the format as-is; don't
1978 just copy their first byte and then rescan, as that might get
1979 us an encoding error.
1980 Account correctly for the length of multibyte sequences in the
1981 format.
1982
19831998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
1984
1985 * posix/wordexp-test.c: Add tests for different IFS values.
1986 Change unquoted-newline test so that newline is not in IFS.
1987
1988 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
1989 determining IFS characters. Return WRDE_BADCHAR for unquoted
1990 special characters _except_ if they are separators.
1991
19921998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
1993
1994 * include/tgmath.h: New file.
1995
1996 * libio/stdio.h: Correct reversed #ifs.
1997 Patch by Zack Weinberg.
1998
1999 * manual/creature.texi: Better explain reason for feature select
2000 macros.
2001 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2002
20031998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2004
2005 * include/alloca.h: Add multiple-inclusion guard.
2006 * include/db.h: Likewise.
2007 * include/db_185.h: Likewise.
6796bc80 2008 * include/dlfcn.h: Likewise.
baa3334a
UD
2009 * include/fcntl.h: Likewise.
2010 * include/grp.h: Likewise.
2011 * include/libintl.h: Likewise.
2012 * include/mntent.h: Likewise.
2013 * include/pwd.h: Likewise.
2014 * include/sched.h: Likewise.
2015 * include/search.h: Likewise.
2016 * include/setjmp.h: Likewise.
2017 * include/shadow.h: Likewise.
2018 * include/signal.h: Likewise.
2019 * include/stdio.h: Likewise.
2020 * include/stdlib.h: Likewise.
2021 * include/string.h: Likewise.
2022 * include/termios.h: Likewise.
2023 * include/time.h: Likewise.
2024 * include/ulimit.h: Likewise.
2025 * include/utmp.h: Likewise.
2026 * include/wchar.h: Likewise.
2027 * include/sys/file.h: Likewise.
2028 * include/sys/gmon.h: Likewise.
2029 * include/sys/ioctl.h: Likewise.
2030 * include/sys/mman.h: Likewise.
2031 * include/sys/resource.h: Likewise.
2032 * include/sys/select.h: Likewise.
2033 * include/sys/socket.h: Likewise.
2034 * include/sys/statfs.h: Likewise.
2035 * include/sys/time.h: Likewise.
2036 * include/sys/times.h: Likewise.
2037 * include/sys/wait.h: Likewise.
2038
be935610
UD
20391998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
2040
2041 * version.h (VERSION): Bump to 2.0.96.
2042
2043 Rewrite runtime linker to be truly thread-safe. There is now no
2044 global variable specifying the scope. We create all needed
2045 scopes at the time the link maps are created.
2046 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
2047 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
2048 l_symbolic_searchlist, l_scope, and l_local_scope elements in
2049 struct link_map.
2050 * elf/dl-close.c: Rewritten accordingly.
2051 * elf/dl-deps.c: Likewise.
2052 * elf/dl-error.c: Likewise.
2053 * elf/dl-init.c: Likewise.
2054 * elf/dl-load.c: Likewise.
2055 * elf/dl-lookup.c: Likewise.
2056 * elf/dl-object.c: Likewise.
2057 * elf/dl-open.c: Likewise.
2058 * elf/dl-reloc.c: Likewise.
2059 * elf/dl-runtime.c: Likewise.
2060 * elf/dl-support.c: Likewise.
2061 * elf/dl-symbol.c: Likewise.
2062 * elf/dl-version.c: Likewise.
be935610
UD
2063 * elf/dlsym.c: Likewise.
2064 * elf/dlvsym.c: Likewise.
2065 * elf/ldsodefs.h: Likewise.
2066 * elf/rtld.c: Likewise.
2067 * iconv/gconv_dl.c: Likewise.
2068 * nss/nsswitch.c: Likewise.
2069 * sysdeps/i386/dl-machine.h: Likewise.
2070 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
2071
6796bc80
UD
2072 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
2073 Define RTLD_DEFAULT.
2074
2b4083dd
RM
20751998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
2076
2077 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
2078 __getopt_clean_environment with __environ instead of envp.
2079
a361203e
RM
20801998-09-05 Roland McGrath <roland@baalperazim.frob.com>
2081
2b4083dd
RM
2082 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
2083
531e4bca
RM
2084 * string/argz-extract.c (__argz_extract): Add de-consting cast for
2085 setting results.
2086
62ee0979 2087 * string/argz.h (argz_next): Add de-consting cast for return.
531e4bca 2088 * string/argz-next.c (__argz_next): Likewise.
62ee0979 2089
59cacc81
RM
2090 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
2091 Don't add netinet/udp.h, netinet/ip_icmp.h here.
2092 * sysdeps/gnu/Makefile: Do it here instead.
2093 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
2094 * sysdeps/gnu/Dist: ... to here.
2095
a361203e
RM
2096 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
2097 sysdeps/unix/sysv/linux/netinet/tcp.h,
2098 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
2099
29659dd2
RM
21001998-09-04 Roland McGrath <roland@baalperazim.frob.com>
2101
2102 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
2103 * string/argz-next.c, string/argz-extract.c: Fix defns.
2104
1097c603
RM
21051998-09-03 Roland McGrath <roland@baalperazim.frob.com>
2106
2107 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
2108
2109 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
2110 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
2111 * sysdeps/generic/sysd-stdio.c: Likewise.
2112
143e2b96
UD
21131998-09-02 Ulrich Drepper <drepper@cygnus.com>
2114
2115 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
2116 (_dl_map_object_from_fd): Make NAME argument const.
2117 Remove last parameter in _dl_new_object call.
2118 (print_search_path): Correct construction of composed path name.
2119 (_dl_map_object): Prevent looking at RPATH of the main map twice.
2120 Remove last parameter in _dl_new_object call.
2121 * elf/dl-object.c: Remove last parameter. Determine whether create
2122 origin entry based on empty realname. Handle file in root directory
2123 correctly.
2124 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
2125 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
2126 Remove last parameter in _dl_new_object call.
2127 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
2128 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
2129
fc3597c0
UD
21301998-09-01 Ulrich Drepper <drepper@cygnus.com>
2131
4ce636da
UD
2132 * elf/dl-close.c (_dl_close): Add more comments and correct some.
2133 Free l_searchlist and l_dupsearchlist.
2134
fc3597c0
UD
2135 * debug/catchsegv.sh: Add one more pair of quotes.
2136
76156ea1
UD
21371998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
2138
2139 * elf/dl-load.c (add_name_to_object): Change return type to void and
2140 make NAME parameter const. Allocate room for NAME in same memory
2141 block used for l_libname entry.
2142 (_dl_map_object_from_fd): Don't free NAME on failure.
2143 (map_segment): Pass SONAME to add_name_to_object, not a copy.
2144 (_dl_map_object): Don't create copy of NAME. Pass NAME to
2145 _dl_map_object_from_fd.
2146 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
2147 memory block used for l_libname entry.
2148 * elf/dl-close.c: Adjust free()ing for this change.
2149
a8a1269d
UD
21501998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
2151
2152 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
2153
2154 * malloc/mtrace.c: Add bug report address. Update email address.
2155 Add more @XXX@ to print correct address size.
2156
2157 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
2158 really initialized.
2159
2160 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
2161 for munmap call instead of examining phdr again.
2162 Free all malloc()ed strings and arrays.
2163
052b6a6c
UD
21641998-08-09 Geoff Keating <geoffk@ozemail.com.au>
2165
2166 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
2167 dl-machine.h.
2168 * sysdeps/powerpc/dl-machine.c: New file.
2169 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
2170 files. Revise ELF_PREFERRED_ADDRESS to take account of
2171 the new mapping information (fixes bug involving huge bloated
2172 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
2173 * sysdeps/powerpc/dl-start.S: New file.
2174
2175 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
2176 l_map_end.
2177 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
2178 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
2179 others. Call elf_dynamic_do_##reloc only once (to save even more
2180 space).
2181 * elf/link.h: Add new members l_map_start and l_map_end to keep
2182 track of the memory map.
2183 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
2184 the executable.
2185
21861998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
2187
2188 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
2189 Reported by Andreas Jaeger.
2190
2191 * posix/glob.h: Use __size_t instead of size_t in definitions and
2192 make sure this is defined.
2193
85c165be
UD
21941998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
2195
052b6a6c 2196 * manual/locale.texi: Almost complete rewrite. Document more functions
85c165be
UD
2197 and functionality.
2198 * manual/arith.texi: Correct reference.
2199 * manual/string.texi: Pretty printing.
2200
2201 * manual/texinfo.tex: Update from last available version.
2202
22031998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
2204
2205 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
2206 invalid password.
2207 (_nss_nis_getpwuid_r): Likewise.
2208 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
2209
2210 * inet/rcmd.c: Implement netgroup support.
2211 Patch by Dick Streefland <dick_streefland@tasking.com>.
2212
7afab53d
UD
22131998-08-31 Ulrich Drepper <drepper@cygnus.com>
2214
2215 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
2216 object on the list is removed. Don't use this code for PIC.
2217 Reported by HJ Lu [PR libc/770].
2218
bfce746a
UD
22191998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
2220
2221 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
2222
2223 * include/stdio.h: Add __vsscanf.
2224
2225 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
2226 __USE_ISOC9X.
2227 Remove __vsscanf declaration.
2228 Always declare fgetpos and fsetpos.
2229
2230 * math/math.h: Define isinf as macro.
2231 * math/bits/mathcalls.h: Change to declare __isinf all the time.
2232 Don't declare scalb for ISO C 9x.
2233
2234 * math/tgmath.h: Define fma. Rewrite the underlying macros.
2235
2236 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
2237
2238 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
2239 sys/ucontext.h.
2240
2241 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
2242 macros.
2243
22441998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2245
2246 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
2247 Reported by jreising@frequentis.com [PR libc/767].
2248
22491998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2250
2251 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
2252 fl.l_start at beginning of function.
2253 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
2254
ac72fbb1
UD
22551998-08-31 Ulrich Drepper <drepper@cygnus.com>
2256
2257 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
2258 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
2259
2260 * nscd/nscd.init: Make it work in RedHat systems.
2261 Patch by Christian Gafton.
2262
22631998-08-29 Philip Blundell <philb@gnu.org>
2264
2265 * catgets/Makefile: Don't try to run test programs when
2266 cross-compiling.
2267
22681998-08-31 Ulrich Drepper <drepper@cygnus.com>
2269
2270 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
2271 Reported by Zack Weinberg.
2272
22731998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2274
2275 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
2276 * elf/Makefile (distribute): Remove ldd.sh.in.
2277
22781998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2279
2280 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
2281 variable.
2282
e0d46614
UD
22831998-08-29 Ulrich Drepper <drepper@cygnus.com>
2284
2285 * sysdeps/i386/register-dump.h: Move to ...
2286 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
2287
b0cf070b
UD
22881998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
2289
2290 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
2291 with load address, not map address.
2292 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
2293 parameter and use this value.
2294 * sysdeps/arm/dl-machine.h: Likewise.
2295 * sysdeps/i386/dl-machine.h: Likewise.
2296 * sysdeps/m68k/dl-machine.h: Likewise.
2297 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
2298 parameter.
2299 * sysdeps/powerpc/dl-machine.h: Likewise
2300 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
2301 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
2302
997a4165
UD
23031998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
2304
2305 * elf/rtld.c (process_envvars): Fix copy&paste error.
2306
2307 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
2308 memalign hook.
2309 (realloc_hook_ini): Don't overwrite memalign hook.
2310 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
2311 Reported by Philippe Troin <phil@fifi.org>.
2312
2313 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
2314 Patch by Philippe Troin <phil@fifi.org>.
2315
23161998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2317
2318 * sysdeps/generic/segfault.c (install_handler): Protect the
2319 non-POSIX signals with #ifdef.
2320 (catch_segfault): Add missing mode parameter for open.
2321 * debug/catchsegv.sh: Avoid termination message from shell. Allow
2322 other termination signals.
2323
23241998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2325
2326 * debug/Makefile (distribute): Add register-dump.h.
2327
23281998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4226897d
AS
2329
2330 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
2331
f787edde
UD
23321998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
2333
2334 * elf/Makefile (distribute): Add dl-origin.h.
2335 * sysdeps/generic/dl-origin.h: New file.
2336 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
2337 * elf/link.h (struct link_map): Add l_origin field.
2338 * elf/dl-load.c (expand_dynamic_string_token): New function.
2339 (decompose_path): Remove WHERE argument, take link map pointer instead.
2340 Call expand_dynamic_string_token instead of local_strdup to make copy
2341 of rpath.
2342 (_dl_init_paths): Call decompose_path with correct argument.
2343 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
2344 not defined.
2345 Check EI_OSABI and EI_ABIVERSION fields in header.
5f623941 2346 Call _dl_new_object with extra argument.
f787edde
UD
2347 (_dl_map_object): Call decompose_path with correct argument.
2348 Call expand_dynamic_string_token instead of local_strdup to also
2349 expand DST.
5f623941 2350 Call _dl_new_object with extra argument.
f787edde 2351 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
5f623941
UD
2352 but the main one if new argument is nonzero.
2353 * elf/ldsodefs.h: Adjust for _dl_new_object change.
f787edde
UD
2354 * elf/dl-support.c: Define _dl_origin_path.
2355 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
5f623941 2356 (dl_main): Call _dl_new_object with extra argument.
f787edde
UD
2357
2358 * elf/dl-close (_dl_close): Free l_name and l_origin.
2359
2360 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
2361 modifier in asm, not c.
2362
2363 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
2364 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
2365
6075607b
UD
23661998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
2367
2368 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
2369 variable so that map can be freed.
2370 Reported by Philippe Troin <phil@fifi.org>.
2371
2372 * elf/dl-open.c (dl_open_worker): Correct test for extending global
2373 scope array.
2374 Patch by Philippe Troin <phil@fifi.org>.
2375
23761998-08-26 Geoff Keating <geoffk@ozemail.com.au>
2377
2378 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
2379 Don't call writev() with a 100-element vector.
2380 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
2381 return address.
2382
2383 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
2384 In particular, set __libc_stack_end.
2385 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
2386 undefined. Fix copyright notice.
2387
23881998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2389
2390 * math/Makefile (gmp-objs): New variable.
2391 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
2392 Depend on it.
2393 (tests): Add atest-exp atest-sincos atest-exp2.
2394 (tests-static): Remove atest-exp atest-sincos atest-exp2.
2395
08cac4ac
UD
23961998-08-25 Ulrich Drepper <drepper@cygnus.com>
2397
2398 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
2399 to toplevel.
2400 (_dl_unload_cache): New function.
2401 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
2402 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
6075607b 2403 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
08cac4ac
UD
2404
2405 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
2406 Correct comment for O_LARGEFILE.
2407 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
2408 Change O_LARGEFILE to correct value.
2409
24101998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
2411
2412 * libio/iogetline.c (_IO_getline_info): Don't read anything for
2413 N == 0. Patch by HJ Lu.
2414
6dbb7062
UD
24151998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
2416
2417 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
2418
24191998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
2420
2421 * argp/argp.h: Use __inline__ not inline.
2422
2423 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
2424 an input register as being clobbered.
2425 * sysdeps/i386/memset.c (memset): Likewise.
2426 * sysdeps/i386/bzero.c (__bzero): Likewise.
2427 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
2428
24291998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2430
2431 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
2432 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
2433
ed1ac6a2
UD
24341998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
2435
2436 * debug/catchsegv.sh: Handle text preceding backtrace better.
2437 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
2438 to be installed for other signals than SIGSEGV.
2439 * sysdeps/generic/register-dump.h: New file.
2440 * sysdeps/i386/register-dump.h: New file.
2441 * sysdeps/powerpc/register-dump.h: New file.
2442
2443 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
2444 sigcontextinfo.h.
2445 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
2446
24471998-08-24 Geoff Keating <geoffk@ozemail.com.au>
2448
2449 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
2450
24511998-08-09 Geoff Keating <geoffk@ozemail.com.au>
2452
2453 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
2454 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
2455 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
2456 getresuid, getresgid.
2457
24581998-08-16 Geoff Keating <geoffk@ozemail.com.au>
2459
2460 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
2461 pointer in userland.
2462
24631998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2464
2465 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
2466 and fix value.
2467
24681998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2469
2470 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
2471 over arguments Bourne shell compatible. Don't exit unsuccessfully
2472 if nonelf returns successfully. Avoid duplicating most of the
2473 script.
2474 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
2475 around $file.
2476
24771998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
99475e65
AS
2478
2479 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
2480 sys/reg.h.
2481 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
2482 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
2483
b259e746
UD
24841998-08-23 Ulrich Drepper <drepper@cygnus.com>
2485
2486 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
2487 __modify_ldt and modify_ldt.
2488 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
2489
2490 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2491 Use orl $-1 instead of movl $-1 to save two bytes.
2492 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
2493 Likewise.
2494
24951998-08-17 H.J. Lu <hjl@gnu.org>
ed1ac6a2
UD
2496
2497 * libio/Versions (_IO_do_write, _IO_file_attach,
2498 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2499 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2500 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2501 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
2502
2503 * libio/fileops.c (_IO_do_write, _IO_file_attach,
2504 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2505 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2506 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2507 _IO_file_write, _IO_file_xsputn): Change the prefix to
2508 "_IO_new_". Added to GLIBC_2.1.
2509
2510 * libio/libioP.h (_IO_do_write, _IO_file_attach,
2511 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2512 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2513 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2514 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
2515 "_IO_new_".
2516
2517 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
2518 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2519 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2520 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2521 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
2522
b259e746
UD
25231998-08-23 Richard Henderson <rth@cygnus.com>
2524
2525 * Makeconfig (LDFLAGS): Remove.
2526
ed1ac6a2 2527 * csu/initfini.c: Return to .text before __gmon_start__.
b259e746 2528
ed1ac6a2
UD
2529 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
2530 (STO_MIPS_*): Rename from STO_*.
2531 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
2532 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
b259e746 2533
ed1ac6a2
UD
2534 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
2535 (main): e3s is negative on zero.
2536 * math/atest-exp2.c: Likewise.
b259e746
UD
2537 * math/atest-sincos.c: Likewise.
2538
ed1ac6a2
UD
25391998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2540
2541 * Makerules (install): Add comment about absolute paths.
2542
b259e746
UD
25431998-08-23 Ulrich Drepper <drepper@cygnus.com>
2544
2545 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
2546 array to NUL to handle maxlen==1 case correctly.
2547 Patch by HJ Lu.
2548
25491998-08-23 Richard Henderson <rth@cygnus.com>
7d84a067
RH
2550
2551 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
2552 * sysdeps/alpha/elf/crtend.S: Likewise.
2553 * sysdeps/alpha/elf/start.S: Likewise.
2554
2555 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
2556 non-standard pv usage.
2557
2558 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
2559 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
2560 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
2561 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
2562 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2563 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2564 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
2565 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
2566 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
2567 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
2568 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2569
2570 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
2571 a finite non-denormal, deferring to the full IEEE version otherwise.
2572
2573 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
2574 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
2575 * sysdeps/alpha/fpu/s_floor.c: New.
2576 * sysdeps/alpha/fpu/s_floorf.c: New.
2577 * sysdeps/alpha/fpu/s_ceil.c: New.
2578 * sysdeps/alpha/fpu/s_ceilf.c: New.
2579
e86e2df1
UD
25801998-08-22 Philip Blundell <philb@gnu.org>
2581
2582 * sysdeps/arm/bits/string.h: New file.
2583
14a44a69
UD
25841998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2585
2586 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
2587 document it.
2588
2589 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
2590 test for recent Linux 2.1.100+ headers.
2591
e36b0b57
UD
25921998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2593
2594 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
2595
5148d49f
UD
25961998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
2597
2598 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
2599
26001998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2601
2602 * Makefile (elf/ldso_install): Put back. The problem still persists.
2603 * elf/Makefile (ldso_install): Likewise.
2604
26051998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2606
2607 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
2608 create weak alias.
2609 * include/db.h: Declare __nss_db_open.
2610 * db2/Versions: Export it.
2611
2612 * db2/makedb.c: Convert to use db2 API.
2613 * nss/nss_db/db-XXX.c: Likewise.
2614 * nss/nss_db/db-netgrp.c: Likewise.
2615 * nss/nss_db/db-alias.c: Likewise.
2616 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
2617
26181998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2619
2620 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2621 sys_setresuid, already built automatically (or not).
2622 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
2623 instead of __syscall_setresuid and add back setresuid.
2624 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
2625 __syscall_setresuid.
2626
26271998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2628
2629 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
2630
1ddf537f
UD
26311998-08-20 Ulrich Drepper <drepper@cygnus.com>
2632
2633 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
2634 BASH-ONLY marked region.
2635 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
2636
26371998-02-20 17:54 H.J. Lu <hjl@gnu.org>
2638
2639 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
2640 _IO_SYSSEEK fails.
2641
2642 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
2643
4df28840 2644 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1ddf537f
UD
2645 element.
2646
8e48355c
RM
26471998-08-21 Roland McGrath <roland@baalperazim.frob.com>
2648
2649 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
2650 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
2651 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
2652 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
2653 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
2654 those magic comments, and to use /bin/sh for @BASH@.
2655 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
2656 * elf/ldd.sh.in: File removed.
2657
d762684b
UD
26581998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
2659
2660 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
2661 cast them to unsigned long int.
2662 * pwd/putpwent.c (putpwent): Likewise.
2663 Patch by John Tobey <jtobey@banta-im.com>.
2664
26651998-08-20 17:14 H.J. Lu <hjl@gnu.org>
2666
2667 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
2668 _IO_pos_BAD.
2669
26701998-02-20 17:54 H.J. Lu <hjl@gnu.org>
2671
2672 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
2673 _IO_SYSSEEK fails.
2674
7934cc16
UD
26751998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
2676
2677 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
2678 Add umount and umount2.
2679 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
2680 * sysdeps/unix/sysv/linux/umount.S: New file.
2681 * sysdeps/unix/sysv/linux/umount2.S: New file.
2682 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
2683 Define MNT_FORCE.
2684
d762684b
UD
2685 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
2686 Add sys/sendfile.h.
2687 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
2688 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
2689
2690 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
2691
2692 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
2693 sendfile.
2694
df777c40
UD
26951998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
2696
2697 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
2698 * elf/ldd.bash.in: Likewise.
2699
2700 * elf/sln.c: Avoid warning for no main prototype.
2701
2702 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
2703 O_WRITE.
2704 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2705 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2706
2707 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
2708 F_GETSIG.
2709 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
2710 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2711 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2712
27131998-08-20 Philip Blundell <pb@nexus.co.uk>
2714
2715 * sysdeps/arm/fpu/ieee754.h: Move to...
2716 * sysdeps/arm/ieee754.h: ... here.
2717
2718 * sysdeps/arm/__longjmp.S: Put return value in correct register.
2719 Don't set the condition flags unnecessarily.
2720 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
2721 registers correctly.
2722
2723 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
2724 (patch from Scott Bambrough).
2725
2726 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
2727
2728 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
2729 NULL, just call it unconditionally.
2730 (__gmon_start__): Provide stub version as a weak symbol.
2731
27321998-07-30 Philip Blundell <philb@gnu.org>
2733
2734 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
2735 by Scott Bambrough)
2736
2737 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
2738 like `@' in .type directives.
2739
2740 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
2741 * sysdeps/arm/bsd-_setjmp.S: Likewise.
2742
2743 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
2744
27451998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2746
2747 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
2748 (F_GETOWN): Likewise.
2749
2750 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
2751 Linux 2.1.117).
2752
27531998-08-20 Ulrich Drepper <drepper@cygnus.com>
2754
2755 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
2756 already defined.
2757
0c6cee5d
UD
27581998-08-18 Ulrich Drepper <drepper@cygnus.com>
2759
2760 * include/features.h: Define __USE_EXTERN_INLINES for recent
2761 enough gcc.
2762 * argp/argp.h: Define extern inline functions only if
2763 __USE_EXTERN_INLINES is defined.
2764 * libio/stdio.h: Likewise.
2765 * math/math.h: Likewise.
2766 * stdlib/stdlib.h: Likewise.
2767 * string/argz.h: Likewise.
2768 * sysdeps/generic/bits/sigset.h: Likewise.
2769 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2770 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
2771 * sysdeps/wordsize-32/inttypes.h: Likewise.
2772 * sysdeps/wordsize-64/inttypes.h: Likewise.
2773 * wcsmbs/wchar.h: Likewise.
2774
2775 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
2776 to allow compilation without optimization.
2777
df777c40
UD
27781998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2779
2780 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
2781 more entries.
2782 * nis/nss_compat/compat-initgroups.c: Likewise.
2783 * nis/nss_compat/compat-pwd.c: Likewise.
2784 * nis/nss_compat/compat-spwd.c: Likewise.
2785 * nis/nss_nis/nis-alias.c: Likewise.
2786 * nis/nss_nis/nis-ethers.c: Likewise.
2787 * nis/nss_nis/nis-grp.c: Likewise.
2788 * nis/nss_nis/nis-hosts.c: Likewise.
2789 * nis/nss_nis/nis-initgroups.c: Likewise.
2790 * nis/nss_nis/nis-network.c: Likewise.
2791 * nis/nss_nis/nis-proto.c: Likewise.
2792 * nis/nss_nis/nis-pwd.c: Likewise.
2793 * nis/nss_nis/nis-rpc.c: Likewise.
2794 * nis/nss_nis/nis-service.c: Likewise.
2795 * nis/nss_nis/nis-spwd.c: Likewise.
2796
2797 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
2798
2799 * nis/ypclnt.c: Try binding dir only first time, could be to old.
2800
2801 * nis/yp_xdr.c: Remove 1024 byte limit.
2802 * nis/ypupdate_xdr.c: Likewise.
2803
2804 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
2805 wrong data.
2806
c82e6116
RM
28071998-08-18 Roland McGrath <roland@baalperazim.frob.com>
2808
2809 * Rules (binaries-static, binaries-shared static pattern rules):
2810 Depend on lib%, not just libc%, from $(link-libc{,-static}).
2811
2812 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
2813 this here, overriding Makeconfig generic value so we link against
2814 the RPC libs.
2815
364ff81f
UD
28161998-08-17 Ulrich Drepper <drepper@cygnus.com>
2817
2818 * posix/tstgetopt.c (options): Add NULL entry at end
2819 Patch by Adrian Miranda <ade@psg.com>.
2820
5d7de7aa
UD
28211998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
2822
2823 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
2824 to 9.
2825
d610a544
UD
28261998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
2827
2828 * elf/elf.h: Add PPC Diab relocations.
2829
2830 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
2831
409dfcea
UD
28321998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
2833
2834 * manual/texinfo.tex: Update.
2835
28361998-08-07 Geoff Keating <geoffk@ozemail.com.au>
2837
2838 * sysdeps/powerpc/backtrace.c: New file.
2839
28401998-08-14 Philip Blundell <pb@nexus.co.uk>
2841
2842 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
2843 sigjmp_save.
2844 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
2845
28461998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2847
2848 * Makefile (install-symbolic-link): Fix spelling.
2849
28501998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2851
2852 * elf/elf.h (SHT_HIOS): Fix value.
2853
28541998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2855
2856 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
2857 part of the expansion, this is undefined by the standard.
2858
9d141cae
UD
28591998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
2860
2861 * posix/getconf.c: Add support for systems with incomplete confname.h.
2862
2863 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
2864
2865 * sysdeps/posix/wait3.c: Make it work.
2866
28671998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2868
2869 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
2870 (elf/ldso_install): Remove.
2871
2872 * elf/Makefile (distribute): Add sln.c.
2873 (others): Add sln.
2874 (others-static): Add sln.
2875 (install-rootsbin): Add sln.
2876 (others-static): Add sln.
2877 (ldso_install): Remove.
2878
28791998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2880
2881 * Makerules (install-clean-symbolic-link-list): Make phony.
2882 * Makefile (install-symbolic-link): Make phony. Depend on
2883 subdir_install for parallel makes.
2884
2885
28861998-07-22 Ulrich Drepper <drepper@cygnus.com>
2887
2888 * elf/Makefile (distribute): Add sln.c
2889
28901998-07-21 07:10 H.J. Lu <hjl@gnu.org>
2891
2892 * elf/sln.c: New file.
2893
2894 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
2895 (install-clean-symbolic-link-list): New target.
2896 (install): Depend on install-clean-symbolic-link-list.
2897 (make-shlib-link): Changed for $(symbolic-link-list).
2898
2899 * Makefile (install-symbolic-link): New target.
2900 (install): Depend on install-symbolic-link.
2901
1f539fd1
UD
29021998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
2903
2904 * include/unistd.h: Protect against multiple inclusion.
2905
2906 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
2907 is defined, not is glob is defined.
2908 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
2909
29101998-08-01 17:18 H.J. Lu <hjl@gnu.org>
2911
2912 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
2913 xdr_string for ut_line, ut_name and ut_host.
2914
29151998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2916
2917 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
2918 /var/mail in accordance with FHS 2.0.
2919 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
2920
29211998-08-12 Richard Henderson <rth@cygnus.com>
2922
2923 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
2924 Update aliases for cancelation.
2925
2926 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
2927 playing with symbol versions.
2928
259d930a
RM
29291998-08-12 Roland McGrath <roland@baalperazim.frob.com>
2930
2931 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
2932 multiple inclusion protection.
2933 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
2934 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
2935 define all these to 1.
2936 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
2937
d6765f1d
RM
29381998-08-12 Roland McGrath <roland@baalperazim.frob.com>
2939
2940 * sysdeps/mach/usleep.c: Include <unistd.h>.
2941 (usleep): Return void.
2942
29431998-08-11 Roland McGrath <roland@baalperazim.frob.com>
2944
2945 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
2946 decl to inhibit warning in if_freenameindex defn.
2947
2948 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
2949
2950 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
2951
2952 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
2953 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
2954 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
2955 * sysdeps/mach/usleep.c: Likewise.
2956
2957 * sysdeps/mach/hurd/bind.c (bind): Add a const.
2958
2959 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
2960 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
2961 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
2962 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
2963 * sysdeps/mach/usleep.c (usleep): Likewise.
2964 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2965 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2966 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
2967 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
2968
29691998-08-11 Roland McGrath <roland@baalperazim.frob.com>
2970
2971 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
2972 (glob64): Fix typo.
2973
2974 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
2975 %p arg to fprintf, since `void *' is the right type already.
2976
b5876a19
RM
29771998-07-25 19:47 Jose M. Moya <josem@gnu.org>
2978
2979 * sysdeps/mach/hurd/getcwd.c
1f539fd1
UD
2980 (_hurd_canonicalize_directory_name_internal): Do not loop forever
2981 for unknown root directories.
b5876a19 2982 (__getcwd): Return NULL when the current root directory could not
1f539fd1 2983 be reached.
b5876a19 2984
f81d98d6 29851998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
a2bde807 2986
f81d98d6 2987 * string/strsignal.c (strsignal): Count real-time signals from zero.
a2bde807 2988
a5f4e34a 2989
f81d98d6 2990See ChangeLog.8 for earlier changes.
This page took 0.344582 seconds and 5 git commands to generate.