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