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