]> sourceware.org Git - glibc.git/blame - ChangeLog
(tz_compute): Correct last patch and describe this in a comment.
[glibc.git] / ChangeLog
CommitLineData
d499a27c
AS
11998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2
3 * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
4 rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
5 rt_sigaction and rt_sigpending.
6 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
7 for __syscall_* functions.
8 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
9
c2ef7930
RM
101998-10-26 Roland McGrath <roland@baalperazim.frob.com>
11
12 * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
13 _hurd_dtable_lock, _hurd_intern_fd.
14
15 * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
16 cthread_getspecific, cthread_setspecific, __libc_getspecific.
17
18 * mach/Versions: Fix typo in last change.
19
1938c489
UD
201998-10-25 Ulrich Drepper <drepper@cygnus.com>
21
22 * time/tzset.c (tz_compute): If time to switch to DST is later in
23 the year switch back in the next year.
24 Reported by jwitford@hutch.com.au.
c2ef7930 25
a825f8e8
RM
261998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
27
28 * mach/Versions: Add evc_wait, mach_error, mach_error_string,
29 mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
30 Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
31 __mach_port_allocate, __mach_port_allocate_name,
c2ef7930
RM
32 __mach_port_insert_right __mutex_trylock, __mutex_lock,
33 __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
34 __task_set_special_port, __task_terminate, __thread_depress_abort,
35 __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These
36 functions are not used outside libc.
a825f8e8
RM
37
38 * sysdeps/mach/hurd/Versions: New file.
39 [libc, GLIBC_2.0]: Add _cthread_exit_routine and
40 _cthread_init_routine. These are set by the Hurd cthreads library.
41 Add __getcwd, __mmap. If we don't add these, the weak definitions in
42 the dynamic linker will not be replaced by the corresponding shared
43 library routines once they are loaded.
44
451998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
46
47 * sysdeps/mach/hurd/i386/init-first.c: Only define
48 __libc_enable_secure if PIC is not defined.
49
501998-10-25 Roland McGrath <roland@baalperazim.frob.com>
51
52 * argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
53 to recurse into argp.
54
4a582094
UD
551998-10-25 Ulrich Drepper <drepper@cygnus.com>
56
57 * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
58 greater or equal than 199506L.
59
60 * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
61 only is __USE_XOPEN. Otherwise use __fds_bits.
62 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
63 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
64 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
65 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
66 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
67
681998-10-24 H.J. Lu <hjl@gnu.org>
69
70 * locale/programs/charmap.c (parse_charmap): Accept tok_string
71 for <code_set_name>.
72
731998-10-25 H.J. Lu <hjl@gnu.org>
74
75 * locale/programs/ld-ctype.c (ctype_finish): Also check
76 <space>.
77
781998-10-25 Ulrich Drepper <drepper@cygnus.com>
79
80 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
81
82 * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
83 if __USE_POSIX199506 or __USE_UNIX98.
84
851998-10-24 22:34 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
86
87 * string/bits/string2.h: Inline strdup+friends only if
88 __USE_MISC || __USE_GNU (prevents namespace pollution).
89
901998-10-24 H.J. Lu <hjl@gnu.org>
91
92 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
93 LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
94 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
95 LOCK_NB, LOCK_UN): Likewise.
96 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
97 LOCK_NB, LOCK_UN): Likewise.
98 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
99 LOCK_NB, LOCK_UN): Likewise.
100 * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
101 LOCK_NB, LOCK_UN): Likewise.
102
1031998-10-24 H.J. Lu <hjl@gnu.org>
104
105 * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
106
107 * libio/rewind.c (rewind): Clear the error.
108
1091998-10-24 H.J. Lu <hjl@gnu.org>
110
111 * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
112 "buffer".
113
1141998-10-24 H.J. Lu <hjl@gnu.org>
115
116 * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
117 with __need_timeval.
118 * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
119 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
120
1211998-10-24 H.J. Lu <hjl@gnu.org>
122
123 * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
124 sigqueue): Protect with __USE_POSIX199309.
125
1261998-10-24 H.J. Lu <hjl@gnu.org>
127
128 * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
129 __USE_POSIX.
130
1311998-10-24 H.J. Lu <hjl@gnu.org>
132
133 * libio/fileops.c (_IO_new_file_seekoff): Always resync with
134 the kernel file offset.
135 * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
136
88455219
UD
1371998-10-24 H.J. Lu <hjl@gnu.org>
138
139 * time/tzfile.c (__tzfile_default): Set num_types to 2.
140
1411998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
142
143 * rt/aio.h: Move __aio_init to...
144 * include/aio.h: ...here.
145
1461998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
147
148 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
149 definition of O_LARGEFILE.
150
1511998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
152
153 * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
154 as first argument to statfs.
155
1561998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
157
158 * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
159
1601998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
161
162 * malloc/mtrace.c: Include <string.h> for strlen.
163
3c068816
RM
1641998-10-24 Roland McGrath <roland@baalperazim.frob.com>
165
184edc95
RM
166 * sysdeps/mach/hurd/bits/environments.h: New file.
167
3c068816
RM
168 * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
169
170 * mach/Versions, hurd/Versions: Add numerous symbols.
171 Remove libmachuser and libhurduser sections, punt
172 versioning for those libraries for now.
173
174 * misc/Versions: Add reboot here; it exists on all platforms.
175 * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
176
fc40fc6c
UD
1771998-10-23 Ulrich Drepper <drepper@cygnus.com>
178
179 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
180 macro.
181 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
182 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
183 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
184 O_NOFOLLOW, O_DIRECT): New macros.
185 (O_DIRECTORY): Correct definition according to official 2.1.126.
186 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
187 O_NOFOLLOW): New macros.
188
b1fcf686
RM
1891998-10-24 Roland McGrath <roland@baalperazim.frob.com>
190
d606f528
RM
191 * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
192
b1fcf686
RM
193 * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
194 (__opendir): Add trailing slash to name for open, for ENOTDIR check.
195
24f25de6
UD
1961998-10-23 Ulrich Drepper <drepper@cygnus.com>
197
0d486134
UD
198 * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
199 setfsuid.c, and setfsgid.c.
200 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
201 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
202 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
203
24f25de6
UD
204 * version.h (VERSION): Bump to 2.0.99.
205
8a6da7e6
UD
206 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
207 ustat definition.
208
1e8f0e3e
UD
209 * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
210 s_pwrite64.c.
211
24f25de6
UD
212 * posix/fnmath.h: Don't redefine __P when used in glibc.
213 * posix/glob.h: Likewise.
214
215 * inet/rcmd.c (__ivaliduser2): Fix memory leak.
216 Patch by Dick Streefland <dick_streefland@tasking.com>.
217
218 * stdio-common/tst-ungetc.c: Add more test cases.
219
220 * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
221 * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
222 definitions to ...
223 * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file.
224 * sysdeps/unix/sysv/linux/fpathconf.c: New file.
225 * sysdeps/unix/sysv/linux/pathconf.c: New file.
226 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
227 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
228
2291998-10-20 Philip Blundell <pb@nexus.co.uk>
230
231 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
232 <asm/ptrace.h> to define struct pt_regs.
233 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
234 including <asm/ptrace.h> here.
235
236 * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
237 C_SYMBOL_NAME macro.
238
2391998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
240
241 * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
242 end of enumerator list.
243 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
244 * posix/wordexp.h: Likewise.
245
246 * db/db.h: Use __PMT instead of __P in typedefs.
247 * db/mpool.h: Likewise.
248 * sysdeps/generic/bits/siginfo.h: Likewise.
249 * nis/rpcsvc/ypclnt.h: Likewise.
250
d6787ff2
UD
2511998-10-23 Ulrich Drepper <drepper@cygnus.com>
252
253 * libio/genops.c (_IO_seekmark): When switching to backup buffer
254 make sure all characters from the read buffer are read after
255 switching back to it.
256
98393660
UD
2571998-10-22 Ulrich Drepper <drepper@cygnus.com>
258
259 * configure.in: Add support for Cygnus GNUPro compilers.
260
84c8da0e
UD
2611998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
262
263 * stdio/stdio.h: Use __PMT instead of __P in typedefs.
264
265 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
266 of __P for sa_restorer.
267 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
268 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
269 kernel_sigaction, old_kernel_sigaction): Likewise.
270
ed304158
UD
2711998-10-22 Ulrich Drepper <drepper@cygnus.com>
272
c7f5a0c7
UD
273 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
274 and __syscall_pwrite aliases.
275
ed304158 276 * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES.
78e5779b
UD
277
278 * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
279 improve INLINE_SYSCALL using macro assembler magic.
280
9271a050
UD
2811998-10-22 H.J. Lu <hjl@gnu.org>
282
283 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
284 sanity check for n.
285 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
286
287 * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
288 EINVAL if errno == ENODEV. Tested by VSX-PCT.
289
290 * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested
291 by VSX-PCT.
292
293 * posix/execvp.c (execvp): Check "". Tested by VSX-PCT.
294
e595c802
UD
2951998-10-22 Philip Blundell <pb@nexus.co.uk>
296
297 * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
298 __ASSEMBLER__.
299
7bb38c70
UD
3001998-10-21 Ulrich Drepper <drepper@cygnus.com>
301
302 * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
303 and adjust formats.
304
0dee6738
UD
3051998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com>
306
307 * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call
308 __syscall_* function.
309 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
310 of calling __syscall_* function.
311 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
312 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
313 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
314 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
315 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
316 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
317 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
318 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
319 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
320 * sysdeps/unix/sysv/linux/poll.c: Likewise.
321 * sysdeps/unix/sysv/linux/pread.c: Likewise.
322 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
323 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
324 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
325 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
326 * sysdeps/unix/sysv/linux/readv.c: Likewise.
327 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
328 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
329 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
330 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
331 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
332 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
333 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
334 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
335 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
336 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
337 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
338 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
339 * sysdeps/unix/sysv/linux/writev.c: Likewise.
340 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
341 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
342 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
343 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
344 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
adcb550c 345 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
0dee6738
UD
346 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
347 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
348 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
349 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
350 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
351 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
352 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
353
354 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
355 inline assembler.
356 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
357 __syscall_* definitions.
358
359 * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
360 definitions to...
361 * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
362 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
363 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
364 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
365 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
366 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
367 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
368
adcb550c
UD
369 * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
370 Move definition to...
371 * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
372 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
373 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
374 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
375 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
376 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
377 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
378
0dee6738
UD
379 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
380 (sysdep_routines): Remove s_pread64 and s_pwrite64.
381
382 * sysdeps/unix/sysv/linux/i386/pread.c: New file.
383 * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
384 * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
385 * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
386 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
387 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
388
3891998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
390
391 * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
392 and bring them in synch.
393 * sysdeps/unix/siglist.c: Likewise.
394 Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
395
3961998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
397
398 * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
399 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
400
401 * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
402 * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
403 * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
404 * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
405 * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
406 * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
407 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
408 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
409 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
410 s_setregid.
411 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
412 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
413 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
414
4151998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
416
417 * sunrpc/rpc_main.c (close_output, close_input): New functions.
418 (c_output, h_output, s_output, l_output, t_output, svc_output,
419 clnt_output, mkfile_output): Call them at the end.
420
4211998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
422
423 * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
424 link command.
425
39f0e778
AS
4261998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
427
428 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
429 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
430
d523c981
UD
4311998-10-20 Ulrich Drepper <drepper@cygnus.com>
432
433 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
434 s_pwrite64.
435 * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
436 * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
437 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
438 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
439 Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
440
0dee6738
UD
4411998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
442
443 * sysdeps/unix/opendir.c: Check at runtime for kernel support for
444 O_DIRECTORY.
445
4461998-10-20 H.J. Lu <hjl@gnu.org>
447
448 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
449 argument types.
450
4bd8be48
UD
4511998-10-19 Ulrich Drepper <drepper@cygnus.com>
452
48244d09
UD
453 * math/tgmath.h: Make nested function calls work.
454
10411f2d
UD
455 * include/ldsodefs.h: Fix typo.
456
a9b171ef
UD
457 * posix/Makefile (tests): Add tst-preadwrite.
458 * posix/tst-preadwrite.c: New file.
459
4bd8be48
UD
460 * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
461 sure that descriptor is in any case for a directory.
462
cfb32a6c
UD
4631998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
464
465 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
466 (atan2): Takes two arguments.
467
ce85d65b
UD
4681998-10-19 Ulrich Drepper <drepper@cygnus.com>
469
470 * include/ldsodefs.h: New file.
471
472 * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
473 Remove change to avoid using _CALL_DL_FCT.
474 * iconv/gconv_db.c: Likewise.
475 * iconv/gconv_dl.c: Likewise.
476 * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
477 * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
478 * nss/nsswitch.c: Likewise.
479 * nss/nsswitch.h: Likewise.
480
4811998-10-19 Philip Blundell <pb@nexus.co.uk>
482
483 * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
484 required libraries.
485 * login/Makefile (otherlibs): Likewise.
486 * nscd/Makefile (otherlibs): Likewise.
487 * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
488
489 * debug/Makefile (install-bin): Only build catchsegv if using ELF.
490
491 * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
492
4931998-10-19 Philip Blundell <pb@nexus.co.uk>
494
495 * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
496 and setfsuid.
497
4981998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
499
500 * nscd/connections.c: Fix typos in comments and strings.
501
502 * nscd/nscd.conf: Update according to recent changes to nscd.
503
504 * nscd/cache.c (prune_cache): Remove wrong comment.
505
816e6eb5
UD
5061998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
507
508 * locale/programs/ld-collate.c (collate_startup): Clear bit for this
509 category in copy_posix.
510 (collate_finish): Don't warn about UNDEFINED not being defined.
511 * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
512 category in copy_posix.
513 * locale/programs/ld-messages.c (messages_startup): Likewise.
514 * locale/programs/ld-monetary.c (monetary_startup): Likewise.
515 * locale/programs/ld-numeric.c (numeric_startup): Likewise.
516 * locale/programs/ld-time.c (time_startup): Likewise.
517 * locale/programs/localedef.c: Move copy_def_list_t definition into
518 locales.h. Define copy_posix variable.
519 (main): Before processing copy list add &copy_posix to copy_list.
520 * locale/programs/locales.h: Add definition of copy_def_list_t.
521 * locale/programs/locfile.c: Clear bit for appropriate category in
ce85d65b 522 copy_posix.mask for copy instruction.
816e6eb5 523
685c1676
UD
5241998-10-19 Ulrich Drepper <drepper@cygnus.com>
525
526 * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
527 non-existing file with generic implementation.
528 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
529
5301998-10-19 Philip Blundell <pb@nexus.co.uk>
531
532 * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
533 defined. Avoid using _CALL_DL_FCT if it is not defined.
534 * iconv/gconv.c: Likewise.
535
9bbe7c3b
UD
5361998-10-19 Ulrich Drepper <drepper@cygnus.com>
537
34489d95
UD
538 * nscd/connections.c (dbs): Define defualt values for timeouts and
539 set enabled to 0 by default.
540 (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in
541 nscd_run.
542
9bbe7c3b
UD
543 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
544 character >= 0x80.
545 (_nl_C_LC_CTYPE_class32): Likewise.
546 Reported by HJ Lu.
547
7d25696a
RM
5481998-10-19 Roland McGrath <roland@baalperazim.frob.com>
549
550 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
551 _HURD_THREADVAR_DL_ERROR.
552
553 * hurd/Makefile (user-interfaces): Add login, password.
554
555 * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
556
37eb58de
RM
5571998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
558
559 [submitted 1998-08-06]
560 * mach/Machrules: Create target directory and force re-evaluation
561 of Makefile to prevent `make' from optimizing away most of the
562 implicit rules and `vpath' directives.
563
7434cee2
RM
5641998-10-19 Roland McGrath <roland@baalperazim.frob.com>
565
37eb58de
RM
566 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
567 is null, short-circuit to __mach_msg.
568
a13d5ca5
RM
569 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
570 broken out of init1.
571 (init1) [PIC]: Call it.
572 (__libc_init_first) [! PIC]: Call it.
573
7434cee2
RM
574 * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
575 __libc_init_secure. Instead set __libc_enable_secure here from
576 the exec flags.
577 (__libc_enable_secure): New variable it.
578 * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
579
3f804c95
RM
5801998-10-19 Roland McGrath <roland@baalperazim.frob.com>
581
582 * nscd/nscd-client.h: New file, broken out of "nscd.h".
583 * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
584 and #include that.
585 * nscd/Makefile (distribute): Add nscd-client.h.
586 * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
587 Include "nscd-client.h" instead of "nscd.h"
588
67479a70
UD
5891998-10-18 Ulrich Drepper <drepper@cygnus.com>
590
74f7e7c0
UD
591 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
592 directory entries when a lstat call fails.
593 Patch by Colin Plumb <colin@nyx.net>.
594
67479a70
UD
595 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
596 NSS functions.
597 * resolv/nss_dns/dns-network.c: Likewise.
598
9bbe7c3b 599 * grp/Makefile: Don't search for linuxthreads in add-ons, use
67479a70
UD
600 have-thread-library to determine whether threads are available.
601 * pwd/Makefile: Remove wrong comment.
602
603 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
604 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
605
606 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
607
608 * nss/Versions: Add __nss_hosts_lookup.
609
610 * nss/getXXbyYY.c: Remove unneeded assignment.
611
612 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
613
614 Almost complete rewrite of the NSCD to make it smaller, faster,
615 add more functionnality and make it easier to extend.
616 * nscd/Makfile (routines): Add nscd_gethst_r.
617 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
618 * nscd/cache.c: New file.
619 * nscd/gethstbyad_r.c: New file.
620 * nscd/gethstbynm2_r.c: New file.
621 * nscd/hstcache.c: New file.
622 * nscd/nscd_gethst_r.c: New file.
623 * nscd/connections.c: Rewritten. Don't start new thread for every
624 new connection. Use a fixed set of threads which handle all
625 connections and also the cache cleanup.
626 * nscd/grpcache.c: Rewritten to use generic cache handling functions
627 in cache.c.
628 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
629 for rewrite. Remove handle_requests function.
630 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
631 Define new data structure for the new unified cache and the host
632 database entries.
633 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
634 databases easily. Recognize check-files and threads definitions.
635 * nscd/nscd.conf: Add definition of enable-cache and check-files to
636 passwd and group definitions. Add new set of definitions for hosts.
637 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
638 * nscd/nscd_getpw_r.c: Likewise.
639 * nscd/nscd_proto.h: Add prototype for host database functions.
640 * nscd/nscd_stat.c: Rewrite to simplify printing of information
641 for many databases.
642 * nscd/dbg_log.c: Remove unnecessary variable initializations.
643 Global variable debug_flag is renamed to dbg_level.
644 * nscd/dbg_log.h: Declare set_logfile.
645
6cde0c60
UD
6461998-10-16 Ulrich Drepper <drepper@cygnus.com>
647
648 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
649 O_LARGEFILE back.
650
c7a9f249
UD
6511998-10-16 Paul Eggert <eggert@shade.twinsun.com>
652
653 * time/mktime.c: Some systems require <unistd.h> to be
654 included before <time.h> for localtime_r to be declared
655 properly.
656 * time/strftime.c: Likewise.
657
9ffbb612
UD
6581998-10-16 Ulrich Drepper <drepper@cygnus.com>
659
0049f576
UD
660 * db/Makefile: Add rule to generate shared object with the soname
661 from glibc 2.0.
662
9ffbb612
UD
663 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
664 available double check to verify it's a directory.
665
666 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
667 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
668 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
669 are not generally available.
670 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
671
672 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
673 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
674 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
675 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
676 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
677 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
678 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
679 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
680 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
681 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
682 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
683 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
684 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
685 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
686 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
687 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
688 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
689 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
690 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
691 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
692 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
693 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
694 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
695 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
696 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
697 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
698 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
699 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
700 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
701 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
702 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
703 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
704 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
705 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
706 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
707 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
708 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
709 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
710
711 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
712 s_setresgid, and s_setuid.
713 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
714 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
715 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
716 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
717 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
718 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
719 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
720
39e4f7f8
UD
7211998-10-16 Ulrich Drepper <drepper@cygnus.com>
722
723 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
724 localtime_t declaration on some systems.
725
c66dbe00
UD
7261998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
727
728 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
729 -DSTATIC_GCONV.
9ffbb612 730 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
c66dbe00
UD
731 defined. Avoid using DL_CLL_FCT if it is not defined.
732
7331998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
734
735 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
736 Include endian.h unconditionally. Remove portability goop
737 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
738
7391998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
740
741 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
742
909927d2
UD
7431998-10-15 Ulrich Drepper <drepper@cygnus.com>
744
745 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
746 again. Use char[44] to define size of the struct.
747
a9e73d40
UD
748 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
749
fcab9698 7501998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
c66dbe00 751
fcab9698
UD
752 * string/bits/string2.h (strcmp): Don't cache the result of
753 __builtin_constant_p in variables, otherwise constant folding
754 can fail in big functions.
c66dbe00 755
fcab9698 7561998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
c66dbe00 757
fcab9698
UD
758 * string/bits/string2.h: Add prototypes for the new inline
759 functions.
c66dbe00 760
7edb4c25
UD
7611998-10-15 Ulrich Drepper <drepper@cygnus.com>
762
763 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
764 have all types defined.
765 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
766
fcab9698 7671998-10-08 Paul Eggert <eggert@twinsun.com>
8d5166fb 768
fcab9698
UD
769 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
770 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
771 a body that merely expands localtime_r; this works around a
772 bug in Digital Unix 4.0A and 4.0D.
8d5166fb
UD
773
7741998-10-14 Ulrich Drepper <drepper@cygnus.com>
775
776 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
777 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
778 __ioctl to __syscall_ioctl and include Linux version of this file.
779 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
780 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
781 ioctl calls which handle struct termios.
782 Based on a patch by Dan Jacobowitz <drow@false.org>.
783
8583916e
UD
7841998-10-14 Ulrich Drepper <drepper@cygnus.com>
785
786 * version.h (VERSION): Bump to 2.0.98.
787
6f100d04
UD
788 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
789 here instead of including kernel_termios.h.
790
fcab9698 7911998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
c66dbe00 792
fcab9698
UD
793 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
794 unnecessary after the changes of 1998-10-12.
c66dbe00 795
99e46354
UD
7961998-10-13 Ulrich Drepper <drepper@cygnus.com>
797
6c5a700e
UD
798 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
799 parameter format string.
800 (inline_outw): Likewise.
801
99e46354
UD
802 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
803 string.h to get memcpy prototype and NULL definition.
804
8051998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
806
807 * misc/sys/cdefs.h (__THROW): New macro.
808 * argp/argp.h: Use it to replace the kludgey __P in inline
809 function definitions.
810 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
811 * stdlib/stdlib.h: Likewise.
812 * wcsmbs/wchar.h: Likewise.
813 * libio/stdio.h: Likewise.
814 * stdio/stdio.h: Likewise.
815 * sysdeps/wordsize-64/inttypes.h: Likewise.
816 * sysdeps/wordsize-32/inttypes.h: Likewise.
817 * string/argz.h: Likewise.
818 * io/sys/stat.h: Likewise.
819
8201998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
821
822 * Rules (stdio_lim): New variable.
823 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
824 on Rules and config.make, use $(move-if-change) to avoid unnessary
825 recompilations, and cleanup command.
826 (common-generated): Add bits/stdio_lim.st.
827
1622fda9
UD
8281998-10-12 Ulrich Drepper <drepper@cygnus.com>
829
830 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
831 variable to prevent warnings from use of modern CPU instructions.
832 Patch by Richard Henderson <rth@cygnus.com>.
833
834 * sysdeps/unix/opendir.c: Test whether NAME is directory before
835 opening it.
836
8371998-10-12 Philip Blundell <pb@nexus.co.uk>
838
839 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
840 semicolon so that profiling works.
841
4875f665
RM
8421998-10-12 Roland McGrath <roland@baalperazim.frob.com>
843
844 * sysdeps/generic/glob.c: #undef mempcpy before #define.
845
846 * sysdeps/unix/bsd/clock.c: Use prototype defns.
847
431f91ba
UD
8481998-10-11 Ulrich Drepper <drepper@cygnus.com>
849
850 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
851 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
852
853 * string/bits/string2.h [!_STRING_ARCH_unaligned]
854 (__mempcpy_small): Add parameter for 1 byte copy and use it.
855 Reported by Geoff Keating <geoffk@ozemail.com.au>.
856
027acb51
UD
8571998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
858
859 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
860 it is already defined in <bits/environments.h>.
861
9a29bc37
UD
8621998-10-09 Ulrich Drepper <drepper@cygnus.com>
863
864 * posix/ptestcases.h: Fix typo.
865
8661998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
867
868 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
869 (regexec): Allocate regs.start and regs.end as one block.
870
8711998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
872
873 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
874 enum decl.
875
8761998-10-08 Philip Blundell <pb@nexus.co.uk>
877
878 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
879 sigcontext union to ...
880 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
881 file.
882 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
883 version 2.0 kernels.
884
9ea350a4
UD
8851998-10-08 Ulrich Drepper <drepper@cygnus.com>
886
8261bc4b
UD
887 * malloc/mtrace.c (tr_reallochook): Produce better output for real
888 reallocation case.
889
16e866fa 890 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
ea1dfb4a 891 * argp/argp-xinl.c: Likewise.
16e866fa 892
9ea350a4
UD
893 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
894 Ruffian entry back.
895 Patch by Christian Gafton.
896
25b3b17b
UD
8971998-10-08 Paul Eggert <eggert@twinsun.com>
898
899 * time/mktime.c (__mktime_internal): When the requested time falls
900 in a spring-forward gap of size DT, return a time that is DT away
901 from the requested time, preferring a time whose tm_isdst differs
902 from the requested value. Bump the max number of probes from 4 to
903 6 to account for the extra probes needed to discover a
904 spring-forward gap in the worst case.
905
9061998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
907
908 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
909 of the weird alpha architectures.
910 Patch by Cristian Gafton <gafton@redhat.com>.
911
9121998-02-18 23:31 Richard Henderson <rth@cygnus.com>
913
914 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
915 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
916
604510f7
UD
9171998-10-07 Ulrich Drepper <drepper@cygnus.com>
918
919 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
920 (dl_open_worker): Use realloc, not malloc to resize array.
921 * elf/rtld.c (_dl_initial_searchlist): New variable.
922 (_dl_main): Copy content of _dl_main_searchlist to
923 _dl_initial_searchlist.
924 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
925 _dl_global_scope_alloc.
926 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
927 * elf/dl-close.c (_dl_close): When removing object with global
928 scope remove allocated searchlist if no dynamically loaded object
929 is on it anymore.
930 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
931 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
932
933 * malloc/mtrace.c (tr_where): Don't print space in location string,
934 print it afterwards. Print better symbol name information.
935
0163d97b
UD
9361998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
937
938 * manual/filesys.texi (Setting Permissions): Fix example for
939 reading umask.
940
9411998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
942
943 * elf/sprof.c (load_profdata): Fix typo in error message.
944
c0de721b
AS
9451998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
946
947 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
948 flag.
949
442dc326
RM
9501998-10-04 Roland McGrath <roland@baalperazim.frob.com>
951
952 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
953
d53427c8
UD
9541998-10-06 Ulrich Drepper <drepper@cygnus.com>
955
956 * version.h (VERSION): Bump to 2.0.97.
957
acdf1251
UD
9581998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
959
960 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
961 in definitions of inline stat functions so that they match the
962 declaration.
963 * stdlib/stdlib.h: Likewise.
964 * wcsmbs/wchar.h: Likewise.
965 * libio/stdio.h: Likewise.
966 * stdio/stdio.h: Likewise.
967 * sysdeps/wordsize-64/inttypes.h: Likewise.
968 * sysdeps/wordsize-32/inttypes.h: Likewise.
969 * string/argz.h: Likewise.
970 * argp/argp.h: Likewise.
971
3cb07217
UD
9721998-10-06 Ulrich Drepper <drepper@cygnus.com>
973
974 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
975 netinet/in.h.
976
c10bb795
UD
9771998-10-05 Philip Blundell <philb@gnu.org>
978
979 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
980 and constants. Tidy up formatting a little.
981
982 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
983 Move definitions to in.h.
984
8325d82c
UD
9851998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
986
987 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
988 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
989 Remove inclusion of <linux/swap.h>.
990
9911998-10-05 Ulrich Drepper <drepper@cygnus.com>
992
993 * io/sys/stat.h: Use __P in definitions of inline stat functions
994 so that they match the declaration.
995
9961998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
997
998 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
999
10001998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1001
1002 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
1003 linux 2.1 version.
1004
10051998-10-02 Philip Blundell <pb@nexus.co.uk>
1006
1007 * sysdeps/arm/dl-machine.h: Fix typo in last change.
1008
1009 * sysdeps/arm/bits/huge_val.h: New file.
1010
10111998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1012
1013 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
1014
1015 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
1016 define.
1017
10181998-10-05 Ulrich Drepper <drepper@cygnus.com>
1019
1020 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
1021 store result of realloc instead of using BUF.
1022
10231998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1024
1025 * misc/sgtty.h (_SGTTY_H): Correct spelling.
1026 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
1027
10281998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1029
1030 * manual/memory.texi (Obstacks): Document
1031 obstack_alloc_failed_handler usage.
1032
1033 * malloc/obstack.h: Enhance comment about
1034 obstack_alloc_failed_handler usage.
1035 * malloc/obstack.c: Likewise.
1036
10371998-10-05 Ulrich Drepper <drepper@cygnus.com>
1038
1039 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
1040 gcc before 2.8 is used.
1041
10421998-10-01 Philip Blundell <pb@nexus.co.uk>
1043
1044 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
1045 from Scott Bambrough.
1046
1047 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
1048
1049 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
1050 include the lock member.
1051
10521998-09-03 Philip Blundell <pb@nexus.co.uk>
1053
1054 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
1055
e3e4e463
UD
10561998-10-01 Ulrich Drepper <drepper@cygnus.com>
1057
1058 * timezone/zic.c: Update from tzcode1998h.
1059 * timezone/europe: Update from tzdata1998i.
1060 * timezone/southamerica: Likewise.
1061
7782d0bf
UD
1062 * sys/types.h: Protect use of long long by __extension__.
1063 * stdlib/stdlib.h: Likewise.
1064 * string/string.h: Likewise.
1065 * sysdeps/i386/bits/byteswap.h: Likewise.
1066 * sysdeps/geeric/bits/byteswap.h: Likewise.
1067 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
1068 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1069 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1070 * sysdeps/wordsize-32/inttypes.h: Likewise.
1071 * sysdeps/wordsize-32/stdint.h: Likewise.
1072 * wcsmbs/wchar.h: Likewise.
1073
8325d82c
UD
10741998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1075
1076 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
1077 expression.
1078 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
1079 __strsep): Greatly reduce size of expansion by combining common
1080 expressions.
1081 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
1082 inline function.
1083 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
1084 by the above definitions.
1085
10861998-09-27 Geoff Keating <geoffk@ozemail.com.au>
1087
1088 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
1089 correct struct ipc_perm definition.
1090
10911998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1092
1093 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
1094
999b2f6b
UD
10951998-09-29 Cristian Gafton <gafton@redhat.com>
1096
8325d82c
UD
1097 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
1098 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
999b2f6b
UD
1099 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
1100 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
1101 Add net/if_shaper.h.
1102
87052ab7
UD
11031998-09-29 Ulrich Drepper <drepper@cygnus.com>
1104
cf26217d
UD
1105 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
1106
87052ab7
UD
1107 * nis/ypclnt.c: Remove not needed close calls.
1108
6ff5bc68
UD
11091998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
1110
1111 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
1112 check a bit. Also close socket of domain client. Close socket
1113 in IPPORT_RESERVED error case.
1114
11151998-09-28 Ulrich Drepper <drepper@cygnus.com>
1116
1117 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
1118 CMSG_ALIGN (fixes a bug) and correct test for availability of
1119 another entry.
1120 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
1121 Linux version.
1122 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
1123 availability of another entry.
1124 Patch by ak@muc.de.
1125
1126 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
1127 Patch by ak@muc.de.
1128
999b2f6b
UD
1129 * libio/libio.h [!__STDC__]: Define const only if not defined.
1130
6ff5bc68
UD
11311998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1132
1133 * posix/annexc.c (xsystem): New function. Use it instead of
1134 system.
1135
11361998-09-28 Ulrich Drepper <drepper@cygnus.com>
1137
1138 * stdlib/longlong.h: Remove #endif for #if removed in last change.
1139
e07a51b5
UD
11401998-09-25 Ulrich Drepper <drepper@cygnus.com>
1141
1142 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
1143 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
1144 allow using `ut' parameter.
1145 [!emacs]: Define ut_argument, ut_argument_spec, and
1146 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
1147 argument_spec to prototypes and definitions.
1148 (my_strftime): Don't call tzset of ut != 0.
1149 Compute diff as 0 is ut != 0;
1150 [emacs]: Define new emacs_strftime function.
1151 Based on a patch by Paul Eggert.
1152
11531998-09-24 Paul Eggert <eggert@twinsun.com>
1154
1155 * time/strftime.c (my_strftime): When asking for the length of the
1156 subformatted buffer, do not limit the length to look for;
1157 otherwise, we have no reliable way to distinguish between the
1158 empty buffer and an error.
1159
390a4882
UD
11601998-09-25 Ulrich Drepper <drepper@cygnus.com>
1161
1162 * math/Makefile (gmp-objs): Add mp_clz_tab.
1163
11641998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
1165
1166 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
1167 set them.
1168 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
1169 cpus lacking hardware multiply and divide.
1170
11711998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1172
1173 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
1174 $(<F), not $(^F).
1175
11761998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1177
1178 * db/btree/bt_delete.c: Fix -Wparentheses warning.
1179
11801998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1181
1182 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
1183 $(do-install).
1184
e503270c
UD
11851998-09-24 Ulrich Drepper <drepper@cygnus.com>
1186
e07a51b5 1187 * debug/catchsegv.sh: Also produce output if clone process died.
e503270c
UD
1188
11891998-09-24 Paul Eggert <eggert@twinsun.com>
1190
390a4882 1191 * time/strftime.c (f_wkday): Remove duplicate definition.
e503270c
UD
1192 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
1193 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
1194 1998-09-11 fix to this case.
1195 (wkday_len, month_len): Remove these macros; they're no longer needed.
1196
11971998-09-24 Paul Eggert <eggert@twinsun.com>
1198
390a4882 1199 * time/strftime.c (my_strftime): Don't store past the end of a
e503270c
UD
1200 zero-sized buffer.
1201
3465c0ce
UD
12021998-09-24 Paul Eggert <eggert@twinsun.com>
1203
e503270c 1204 * time/strftime.c (underlying_strftime):
3465c0ce
UD
1205 Set the buffer to a nonzero value before calling
1206 strftime, and check to see whether strftime has set the buffer to zero.
1207 This lets us distinguish between an empty buffer and an error.
1208
12091998-09-24 Paul Eggert <eggert@shade.twinsun.com>
1210
e503270c 1211 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
3465c0ce
UD
1212 This fix is propagated from tzcode1998g.tar.gz.
1213
7a3bfc4e
UD
12141998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
1215
1216 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
1217 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
1218 sys_siglist. This is handled correctly by the weak_alias macro.
1219
369b1933
UD
12201998-09-24 Ulrich Drepper <drepper@cygnus.com>
1221
50a1b837
UD
1222 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
1223 of mempcpy. Reported by Andreas Jaeger.
1224
369b1933
UD
1225 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
1226 pollute the namespace since the compiler will resolve it inline.
1227 Reported by Florian La Roche <florian@suse.de>.
1228
2b79b6d5
UD
12291998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
1230
1231 * timezone/private.h: Update from tzcode1998g.
1232
1233 * timezone/africa: Update from tzdata1998h.
1234 * timezone/asia: Likewise.
1235 * timezone/australasia: Likewise.
1236 * timezone/europe: Likewise.
1237 * timezone/northamerica: Likewise.
1238 * timezone/southamerica: Likewise.
1239 * timezone/zone.tab: Likewise.
1240
3d42e04d
UD
12411998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1242
1243 * misc/sys/mman.h: New file.
1244
1245 * sysdeps/generic/bits/mman.h: New file.
1246 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
1247 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
1248 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
1249 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
1250
1251 * sysdeps/generic/sys/mman.h: Removed.
1252 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
1253 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
1254 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
1255 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
1256 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
1257
1258 * include/sys/mman.h: Look directly for misc/sys/mman.h.
1259 * misc/Makefile (headers): Add bits/mman.h.
1260 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1261 bits/mman.h.
1262
1263 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
1264 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
1265 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
1266 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
1267 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
1268 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
1269 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
1270 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
1271
12721998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1273
1274 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
1275 * sysdeps/mach/alpha/thread_state.h: Likewise.
1276 * sysdeps/mach/i386/sysdep.h: Likewise.
1277 * sysdeps/mach/i386/thread_state.h: Likewise.
1278 * sysdeps/mach/mips/sysdep.h: Likewise.
1279 * sysdeps/mach/mips/thread_state.h: Likewise.
1280 * sysdeps/posix/profil.c: Likewise.
1281 * sysdeps/i386/i586/memcopy.h: Likewise.
1282 * sysdeps/mach/pagecopy.h: Likewise.
1283
a379e56a
UD
12841998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
1285
1286 * libio/stdio.h: Define __need_getopt and include getopt.h to define
1287 getopt stuff.
1288 * posix/unistd.h: Likewise.
1289 * stdio/stdio.h: Likewise.
1290 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
1291 define only getopt and the variables.
1292
34a4b66d
UD
12931998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1294
1295 * scripts/test-installation.pl (installation_problem): Don't link
1296 the test program against libdb1.
1297
24fd4cc4
UD
12981998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
1299
1300 * Makeconfig (all-subdirs): Add db.
1301 * Versions.def: Add definition for libdb1.
1302 * shlib-versions: Add definitions for libdb1.
1303 * db/Makefile (extra-libs): Replace by libdb1.
1304 (libdb-routines): Rename to libdb1-routines.
1305 (headers): Rename to db1-headers.
1306 (distribute): Add $(db1-headers).
1307 (install-others): Define to install symlink libdb.so.NN and the
1308 $(db1-headers).
a379e56a 1309 (CPPFLAGS): Add -DUSE_LIBDB1
24fd4cc4
UD
1310 Remove rules to build makedb.
1311 * db/Versions: Rename libdb to libdb1.
1312 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
af564203 1313 * db/makedb.c: Removed.
24fd4cc4
UD
1314
1315 * scripts/versions.awk: Recognize digits in library names.
1316
1317 * db/btree/bt_open.c: Fix compiler warnings.
1318 * db/btree/bt_put.c: Likewise.
1319 * db/btree/bt_split.c: Likewise.
1320 * db/hash/hash.c: Likewise.
1321 * db/hash/hash_bigkey.c: Likewise.
1322 * db/recno/rec_close.c: Likewise.
1323
af564203
UD
1324 * Makefile: Add localedata/% goal.
1325
c94a8080
UD
13261998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1327
1328 * posix/execvp.c: Don't give up searching the PATH if execve
1329 returns ENOTDIR.
1330
13311998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
1332
1333 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
1334 if _dl_fpu_control_set is set.
1335 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
1336 * elf/rtld.c: Don't define _dl_fpu_control_set.
1337 * elf/Versions: Remove _dl_fpu_control_set.
1338
13391998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
1340
1341 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
1342 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
1343 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1344 Correct values of other SA_* macros according to kernel headers.
1345
13461998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1347
1348 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
1349 variable l.
1350 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
1351 old.
1352
13531998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1354
1355 * elf/ldsodefs.h: Fix typo in comment.
1356
13571998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1358
1359 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
1360 char when comparing buffer contents with putback character.
1361
13621998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1363
1364 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
1365 Undo last change.
1366 * elf/Versions: Undo last change. Export _dl_fpu_control and
1367 _dl_fpu_control_set.
1368 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
1369 variables. Include <fpu_control.h>.
1370 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
1371 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
1372 to indicate that is was seen.
1373 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
1374 only if _dl_fpu_control was set and is equal to desired value.
1375 * math/Makefile (aux): Undo last change.
1376 * math/Versions: Export __fpu_control with version GLIBC_2.0.
1377
f74e8ed1
AS
13781998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1379
1380 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
1381 optimized.
1382
e7c5513d
UD
13831998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
1384
1385 * string/bits/string2.h: Add mempcpy optimization.
1386 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
1387 * intl/localealias.c: Define mempcpy only if not already defined.
1388
1389 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
1390 defined.
1391
13921998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1393
1394 * csu/abi-note.S: Emit the note directly instead of defining
1395 a preprocessor macro that's only used once. Don't include sysdep.h.
1396 * abi-tags: Generalize Solaris entry.
1397
13981998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1399
1400 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
1401 Change to array to avoid runtime relocation.
1402 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
1403
14041998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1405
1406 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
1407 * math/Makefile ($(objpfx)libieee.a): Likewise.
1408
14091998-09-21 Ulrich Drepper <drepper@cygnus.com>
1410
1411 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
1412 Patch by John Tobey <jtobey@banta-im.com>.
1413
b0fd6165
UD
14141998-09-20 Ulrich Drepper <drepper@cygnus.com>
1415
1416 * login/Makefile (distribute): Remove pty-internal.h, add
1417 pty-private.h.
1391f5d3
UD
1418
1419 * stdlib/tst-strtol.c: Add more checks.
1420 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1421
a0780919
UD
14221998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
1423
1424 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
1425 * elf/elf.h: Add AT_FPUCW.
1426 * elf/Makefile (dl-routines): Add fpu_control.
1427 (elide-routines.os): Add fpu_control.
1428 (rtld-routines): Add fpu_control.
1429 * math/Makefile (aux): Remove fpu_control.
1430 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
1431 (_dl_show_auxv): Likewise.
1432 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
1433 if different from OS default.
1434
1435 * stdio-common/tstscanf.c: Add test case for (nil).
1436
00bc5db0
UD
14371998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
1438
1439 * libio/fileops.c (_IO_new_file_underflow): Before allocating
1440 buffer make sure the pushback buffer is destroyed.
1441 (_IO_new_file_seekoff): Likewise.
1442 If mode==0 quit early with the result.
1443 Clear OEF flag after successful fseek.
1444 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
1445 * libio/ftello.c (ftello): Add offset from original buffer if
1446 stream has pushed back characters.
1447 * libio/ftello64.c (ftello64): Likewise.
1448 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
1449 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
1450 * libio/ioftell.c (_IO_ftell): Likewise.
1451 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
1452 and _IO_save_ptr.
1453 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
1454 (_IO_default_pbackfail): Only stored push back character in original
1455 buffer if it is the same as the one in the file at this position.
1456 * libio/iofclose.c: Free backup buffer if one is available.
1457 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
1458 mode!=0.
1459
1460 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
1461
1462 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
1463
c53a89d4
UD
1464 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
1465
00bc5db0
UD
14661998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
1467
1468 * login/programs/pt_chown.c (more_help): Correct message that
1469 describes the purpose of the program.
1470
1471 * login/openpty.c: Do not include pty-private.h.
1472 (pts_name): New function. Return name of slave pseudo terminal in
1473 an allocated buffer if necessary.
1474 (openpty): Use pts_name to get name of the slave end of the pseudo
1475 terminal pair.
1476
1477 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
1478 pts_name before return.
1479
14801998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
1481
1482 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
1483
88263bc9
UD
14841998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1485
1486 * login/openpty.c: Include pty-private.h instead of
1487 pty-internal.h.
1488
872ea854
UD
14891998-09-09 Philip Blundell <pb@nexus.co.uk>
1490
1491 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
1492
14931998-09-07 Philip Blundell <pb@nexus.co.uk>
1494
1495 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
1496 recent ld.so changes.
1497 (elf_machine_runtime_setup): Correct behaviour when profiling.
1498
9b3c7c3c
UD
14991998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
1500
1501 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
1502 Patch by John Tobey <jtobey@banta-im.com>.
1503
15041998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
1505
1506 * login/pty-internal.h: Removed. Moved constants related to the
1507 `grantpt' helper program protocol to ...
1508 * login/pty-private.h: ... here. New file.
1509 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
1510 to make the function work with kernels >= 2.1.115.
1511 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
1512 version if using the cloning device fails.
1513 * sysdeps/unix/sysv/linux/grantpt.c: New file.
1514 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
1515 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
1516 use by Linux specific code.
1517 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
1518 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
1519 function. (grantpt): Use pts_name, check group and permission
1520 mode in addition to owner. Try to set the owner, group and
1521 permission mode first without invoking the helper program.
1522 * login/programs/pt_chown.c: Largely rewritten. Add argp and
1523 internationalization support. Use symbolic constants instead of
1524 hardwired numbers for permission mode.
1525 * sysdeps/unix/bsd/ptsname.c: New file.
1526
15271998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
1528
1529 * posix/wordexp-test.c: Undo last change.
1530
1531 * posix/wordexp.c: Undo last change.
1532
d8f2b9ea
UD
15331998-09-16 Ulrich Drepper <drepper@cygnus.com>
1534
1535 * nscd/grpcache.c (save_grp): Partly undo last change.
1536
1537 * nscd/pwdcache.c (save_pwd): Undo last change.
1538
9c4c0024
UD
15391998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1540
1541 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
1542 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
1543
15441998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
1545
1546 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
1547 Add profiling support.
1548 (TRAMPOLINE_TEMPLATE): New macro.
1549 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1550 (RTLD_START): Prettify, and set __libc_stack_end properly.
1551 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
1552 and check for sym being NULL instead.
1553 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
1554 of stack space.
1555 * sysdeps/sparc/sparc64/lshift.S: Likewise.
1556 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
1557 * sysdeps/sparc/sparc64/rshift.S: Likewise.
1558 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
1559 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
1560 MEDANY code model %g4 usage.
1561 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
1562 MEDANY code model %g4 usage.
1563 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
1564 code model address formation.
1565 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
1566 include elf/ldsodefs.h
1567 (DT_SPARC): Remove.
1568 (elf_machine_matches_host): It is now EM_SPARCV9.
1569 (elf_machine_dynamic): Clean up to remove ugly cast.
1570 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
1571 new PLT formats.
1572 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
1573 Prettify rest of function.
1574 [R_SPARC_COPY]: Check for sym being NULL.
1575 [R_SPARC_32]: Handle it.
1576 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
1577 MEDMID code model.
1578 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
1579 MEDANY code model.
1580 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
1581 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
1582 Add profiling support.
1583 (TRAMPOLINE_TEMPLATE): New macro.
1584 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1585 (RTLD_START): Prettify and set __libc_stack_end.
1586 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
1587 Define.
1588 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
1589 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
1590 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
1591 unused variable scratch.
1592 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1593 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
1594 Declare.
1595 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
1596 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
1597 old format kernel sigaction structures.
1598 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
1599 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
1600 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
1601 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
1602 ucontext include.
1603 (_JMPBUF_UNWINDS): Define.
1604 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
1605 statfs64 structure, which is exactly the same as the normal one.
1606 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
1607 of stack. Use correct syscall trap number. Add branch prediction
1608 settings to branch instructions. Remove old MEDANY code model %g4
1609 referneces for non-PIC.
1610 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1611 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
1612 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
1613 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
1614 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1615 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
1616 __libc_longjmp and __libc_siglongjmp strong aliases.
1617 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
1618 Also define to __no__readdir64_decl around readdir.c inclusion.
1619 (__readdir64): Add strong alias.
1620 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
1621 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
1622 Set strong and weak names properly.
1623
16241998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1625
1626 * manual/Makefile (AWK): Default to gawk if standalone.
1627
16281998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1629
1630 * Makefile (distribute): Undo last change.
1631 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
1632 for sysdep headers.
1633 (+subdir-headers): Removed, unused.
1634
16351998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1636
1637 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
1638 $(do-install).
1639
16401998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1641
1642 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
1643 absolute name in $(config-sysdirs), can never happen.
1644 ($(+sysdir_pfx)sysd-rules): Likewise.
1645 * Makeconfig (full-config-sysdirs): Likewise.
1646 (all-Subdirs-files): Prepend $(..).
1647
1648 * configure.in: Don't check for absolute name in $add_ons_pfx, can
1649 not happen. Let --enable-add-ons=yes work if no add-ons actually
1650 exist.
1651
16521998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1653
1654 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
1655 continuations in command.
1656
16571998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1658
1659 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
1660
a8125d85
UD
16611998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
1662
1663 * posix/wordexp-test.c: If expansion or substitution occurs
1664 anywhere in a word, the entire word is subject to field-splitting.
1665
1666 * posix/wordexp.c (parse_glob): Look for end of word instead of
1667 end of field when deciding what to glob.
1668 (field_split_word): New function, now the only place where
1669 field-splitting is performed.
1670 (parse_dollars): New parameter - tell the caller if
1671 field-splitting should be performed on this word.
1672
1673 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
1674 succeeded (or failed with WRDE_NOSPACE).
1675
16761998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
1677
1678 * posix/wordexp.c (wordexp): Don't convert IFS characters to
1679 blanks.
1680
1681 * posix/wordexp-test.c: Words not the result of expansion or
1682 substitution should remain unchanged.
1683
aa2bc6a3
UD
16841998-09-15 Ulrich Drepper <drepper@cygnus.com>
1685
1686 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
1687 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
1688
3a60301a
UD
16891998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1690
1691 * stdio-common/Makefile: Include Makeconfig so that
1692 $(inst_includedir) is defined.
1693
77f0d179
UD
16941998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1695
1696 * io/pwd.c: Include <mcheck.h>.
1697
6beaac4d
UD
16981998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
1699
1700 * nscd/pwdcache.c (save_pwd): Correct copying.
1701 * nscd/grpcache.c (save_grp): Likewise.
1702
0ff0d59e
UD
17031998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
1704
1705 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
1706 (free_pwd): Adjust for this change.
1707 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
1708 (free_grp): Adjust for this change.
1709
d3f8acb3
UD
17101998-09-14 Ulrich Drepper <drepper@cygnus.com>
1711
1712 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
1713
14eb5d5d
UD
17141998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
1715
1716 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
1717 (install-others): Add bits/stdio_lim.h.
1718 Add rule to install bits/stdio_lim.h.
1719
1720 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
1721
1722 * Makefile (distribute): Add include/sys/mman.h.
1723
1724 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
1725 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
1726 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
1727
0a1590ba
UD
1728 * grp/initgroups.c: Include stdlib.h.
1729 Patch by Zack Weinberg.
1730
1ffaaca2
UD
17311998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
1732
1733 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
1734 for field-splitting :abc: is correct, and that two fields should
1735 result. Revert tests to reflect this.
1736
1737 * posix/wordexp.c (w_emptyword): Remove function.
1738 (exec_comm): Don't use w_emptyword.
1739 (parse_param): Likewise.
1740
4ca020f5
UD
17411998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
1742
1743 * sysdeps/arm/fpu/Dist: Moved to...
1744 * sysdeps/arm/Dist: ...here.
1745 * sysdeps/posix/Dist: Removed.
1746 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
1747 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
1748
f624c216
UD
17491998-08-26 Geoff Keating <geoffk@ozemail.com.au>
1750
1751 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
1752
7ef90c15
UD
17531998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
1754
1755 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
1756
17571998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1758
1759 * libc-work/nis/nss_nisplus/nisplus-service.c
1760 (_nss_nisplus_parse_servent): Convert port in network byte order.
1761
17621998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1763
1764 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
1765 to provide only malloc and calloc.
1766 * include/stdlib.h: Support the above.
1767 * string/bits/string2.h: Use __need_malloc_and_calloc when
1768 including stdlib.h.
1769 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
1770
1771 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
1772 * iconvdata/iso646.c: Include <stdlib.h>.
1773
17741998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1775
1776 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
1777 * sysdeps/libm-ieee754/w_pow.c: Likewise.
1778 * sysdeps/libm-ieee754/w_powf.c: Likewise.
1779 * sysdeps/libm-ieee754/w_powl.c: Likewise.
1780
17811998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1782
1783 * stdio-common/stdio_lim.h.in: New file. All parameters
1784 are adjustable at build time.
1785 * Rules: Add a rule to build bits/stdio_lim.h from
1786 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
1787 all subdirectories know how to make the file. It can't be
1788 in Makerules because then it gets built at top level and the
1789 dependencies are wrong.)
1790
1791 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
1792 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
1793 stdio_lim.h.
1794 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
1795 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
1796 * sysdeps/posix/Makefile: Removed.
1797 * sysdeps/posix/mk-stdiolim.c: Removed.
1798 * sysdeps/generic/bits/stdio_lim.h: Removed.
1799
18001998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1801
1802 * argp/argp-help.c: Fixup indentation.
1803 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
1804 * resolv/nss_dns/dns-network.c: Likewise.
1805 * resolv/res_send.c: Likewise.
1806 * rt/aio_cancel.c: Likewise.
1807 * rt/aio_misc.c: Likewise.
1808
18091998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1810
1811 * Makefile (install-symbolic-link): Remove the link list file at last.
1812 * Makerules (install-clean-symbolic-link-list): Removed.
1813
18141998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1815
1816 * timezone/tst-timezone.c: Print time in UTC to get consistent
1817 output.
1818
18191998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1820
1821 * elf/rtld.c (_dl_rpath): Removed.
1822 * elf/dl-support.c (_dl_path): Removed.
1823 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
1824 (CFLAGS-dl-support.c): Removed.
1825
1826 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
1827 uses changed.
1828 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
1829 instead of appending it to the main map's rpath info.
1830 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
1831 DT_RPATHs. This makes it effective again.
1832 (decompose_rpath): Remove second parameter, callers changed.
1833 (fillin_rpath): Allocate enough space in curwd.
1834 (expand_dynamic_string_token): Cope with get_origin returning -1.
1835
18361998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1837
1838 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
1839 passwd.adjunct.
1840
1841 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
1842 invalid password.
1843
18441998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
1845
1846 * locale/programs/locale.c: Update dates.
1847
5d47ceca
UD
18481998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
1849
1850 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
b1fcf686 1851 size_t is defined. Some reordering of definitions to make
5d47ceca
UD
1852 maintaining this file in parallel with the linux-specific file easier.
1853
bd31edf2
UD
18541998-09-13 Ulrich Drepper <drepper@cygnus.com>
1855
1856 * io/pwd.c (main): Add call to mtrace.
1857
1858 * malloc/mtrace.pl: Quote @ in string.
1859
33c3e20e
UD
18601998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
1861
1862 * posix/wordexp.c (parse_arith): Fix memory leaks.
1863 (exec_comm): Likewise.
1864 (parse_param): Likewise.
1865 (wordexp): Likewise.
1866 (exec_comm): Reduce number of function return points.
1867 (parse_param): Likewise.
1868 (wordexp): Likewise.
1869
1720f4d0
UD
18701998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
1871
1872 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
1873 yield three fields, not two. Test both parameter expansion and
1874 command substitution for correct field-splitting behaviour.
1875
1876 * posix/wordexp.c (w_emptyword): New function.
1877 (parse_param): Use it.
1878 (exec_comm): Likewise, for consistency with the way parse_param
1879 splits fields.
1880 (parse_param): Fix some memory leaks.
1881
2d09b95d
UD
18821998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
1883
1884 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
1885 Don't mark asm `volatile'.
1886 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
1887 from the data cache too. Assume it isn't in the instruction cache yet.
1888 (__elf_machine_fixup_plt): Clear the modified address from the caches.
1889
b39c6f8b
UD
18901998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
1891
1892 * sysdeps/generic/segfault.c (install_handler): Install signal
1893 handler with SA_ONSTACK instead of setting the stack flags to
1894 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
1895 defined.
1896
18971998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1898
1899 * signal/signal.h: Fix multiple inclusion guard to cover the
1900 entire file.
1901 * wcsmbs/wchar.h: Remove prototype of internal function
1902 __mbsrtowcs.
1903 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
1904 arithmetic on `void *'.
1905
c06cc21c
UD
19061998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
1907
1908 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
1909
1910 * posix/wordexp.c (wordexp): Perform word-splitting instead of
1911 field-splitting here.
1912 (wordexp): If out of memory mid-word, free the word (but still
1913 leave pwordexp alone for caller to see).
1914 (parse_param): Allow for zero-length fields (smarter checking of
1915 memory allocation failure).
1916 (w_addword): Convert NULL words to "".
1917 (wordexp): Convert left-over IFS characters to blanks (like bash).
1918
81e0cb2d
UD
19191998-09-11 Ulrich Drepper <drepper@cygnus.com>
1920
350eb336
UD
1921 * configure.in: Use test -f instead of test -e.
1922 Patch by John Tobey <jtobey@banta-im.com>.
1923
1924 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
1925 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
1926 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
1927 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
1928 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
1929 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
1930 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
1931 Patches by John Tobey <jtobey@banta-im.com>.
1932
81e0cb2d
UD
1933 * time/strftime.c (my_strftime): Delay use of *tp values until
1934 latest possible point to allow partly initialized structures
1935 (e.g., from strptime).
1936
514d9bca
UD
1937 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
1938 and NATS-SEFI.
1939 Define *-routines variables for new modules.
1940 (distribute): Add .c files for new modules.
1941 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
1942 and nats-sefi.h.
1943 Add rules for header generation.
1944 * iconvdata/gconv-modules: Add entries for new modules.
1945 * iconvdata/iso_10367-box.c: New file.
1946 * iconvdata/mac-is.c: New file.
1947 * iconvdata/nats-dano.c: New file.
1948 * iconvdata/nats-sefi.c: New file.
1949
81e0cb2d
UD
19501998-04-30 18:20 H.J. Lu <hjl@gnu.org>
1951
1952 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
1953 loader if PIC is not defined.
1954
ec04e9ba
UD
19551998-09-11 Ulrich Drepper <drepper@cygnus.com>
1956
1957 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
1958 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
1959 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
1960 and ISO_5428.
1961 Define *-routines variables for new modules.
1962 (distribute): Add .c files for new modules.
1963 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
1964 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
1965 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
1966 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
514d9bca 1967 Add rules for header generation.
ec04e9ba
UD
1968 * iconvdata/gconv-modules: Add entries for new modules.
1969 * iconvdata/csn_369103.c: New file.
1970 * iconvdata/cwi.c: New file.
1971 * iconvdata/dec-mcs.c: New file.
1972 * iconvdata/ecma-cyrillic.c: New file.
1973 * iconvdata/gost_19768-74.c: New file.
1974 * iconvdata/greek-ccitt.c: New file.
1975 * iconvdata/greek7-old.c: New file.
1976 * iconvdata/greek7.c: New file.
1977 * iconvdata/inis-8.c: New file.
1978 * iconvdata/inis-cyrillic.c: New file.
1979 * iconvdata/inis.c: New file.
1980 * iconvdata/iso6937-2.c: New file.
1981 * iconvdata/iso_2033.c: New file.
1982 * iconvdata/iso_5427-ext.c: New file.
1983 * iconvdata/iso_5427.c: New file.
1984 * iconvdata/iso_5428.c: New file.
1985
1986 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
1987 entries.
1988 Convert U02dd correctly.
1989
25c849b1
RH
19901998-09-11 20:46 Richard Henderson <rth@cygnus.com>
1991
1992 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
1993 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1994 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
1995 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
1996
04795ad9
UD
19971998-09-11 Ulrich Drepper <drepper@cygnus.com>
1998
1999 * resolv/res_init.c (res_init): Handle resolv.conf file with only
2000 one nameserver correctly. Patch by HJ Lu.
2001
2002 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
2003 and ANSI_X3.110.
2004 Define *-routines variables for new modules.
2005 (distribute): Add .c files for new modules.
2006 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
2007 Add rules for hedaer generation.
2008 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
2009 * iconvdata/ansi_x3.110.c: New file.
2010 * iconvdata/asmo_449.c: New file.
2011 * iconvdata/baltic.c: New file.
2012 * iconvdata/iec_p27-1.c: New file.
2013
2014 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
2015 entries.
2016 Convert U02dc correctly.
2017
2018 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
2019 * math/atest-exp2.c: Likewise.
2020 * math/atest-sincos.c: Likewise.
2021
2022 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
2023 is defined.
2024
20251998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2026
2027 * string/strcoll.c: Optimize a few expressions.
2028 * string/strxfrm.c: Likewise.
2029
5e0889da
UD
20301998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2031
2032 * manual/locale.texi: Fix typos.
2033
2c86b2bc
UD
20341998-09-10 Ulrich Drepper <drepper@cygnus.com>
2035
26afaa63
UD
2036 * stdlib/random_r.c (__setstate_r): Allow call with same state
2037 array as currently used (PR libc/774).
2038
6c79e60c
UD
2039 * include/limits.h: Include gcc's header even if this file is
2040 found more than once before it (PR libc/778)
2041
ec04e9ba
UD
2042 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
2043 (sysdep_headers): Remove sys/debugreg.h.
2044 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
2045 (sysdep_headers): Add sys/debugreg.h.
39382b8b
UD
2046 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
2047 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
2048
2c86b2bc
UD
2049 * stdio-common/tmpnam.c: Move local static variable buf to
2050 toplevel and rename to tmpnam_buffer to ease debugging.
2051 Patch by Joe Keane <jgk@jgk.org>.
2052 Optimize s == NULL case a bit.
2053
8e9f53fc
UD
2054 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
2055 correction.
2056
482a3be2
UD
20571998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
2058
2059 * resolv/res_init.c (res_init): Initialize _res.nscount and
2060 _res.nsaddr.sin_port differently for the can when no loopback
2061 is available to allow immediate timeout in non-networking environments.
2062 Patch by Cristian Gafton <gafton@redhat.com>.
2063
e8238963
UD
20641998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2065
2066 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
2067 BAR and not EM DASH.
2068 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
2069 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
2070 Fixes PR libc/717.
2071
90865aa8
UD
20721998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
2073
2074 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
2075 for test.
2076 * timezone/tst-timezone.c (tests): Fix typo in last patch.
2077
2078 * time/tzfile.c (__tzfile_read): Handle case when there are no
2079 transitions. Set __timezone based on computed offset.
2080 * time/tzset.c (tzset_internal): Set __timezone before returning.
2081
2082 * time/tzset.c (tzset_internal): Optimize handling of local string
2083 copy.
2084
20851998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2086
2087 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
2088 libc/776).
2089
adac8450
UD
20901998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
2091
2092 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
2093 (csqrt_test): Likewise.
90865aa8 2094 * sysdeps/powerpc/bits/fenv.h: Add parens.
adac8450 2095
8e140239
UD
20961998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
2097
2098 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
2099 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
2100 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
2101
78acf671
UD
21021998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
2103
2104 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
2105 the special `-1' pointer.
2106
6e4c40ba
UD
21071998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
2108
2109 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
2110 inline.
2111
21121998-09-07 Paul Eggert <eggert@twinsun.com>
2113
2114 * time/mktime.c (__EXTENSIONS__): Define if not defined.
2115 (_REENTRANT): Remove. It has undesirable consequences in
2116 Solaris 2.6 (e.g. it turns off the putc macro). Defining
2117 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
2118 is what we want.
2119 * time/strftime.c: Likewise.
2120
21211998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2122
2123 * elf/dl-error.c: Fix spelling.
2124
21251998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2126
2127 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
2128 * stdio-common/_itoa.c: Likewise.
2129 * stdio-common/printf_fp.c: Likewise.
2130 * stdio-common/vfscanf.c: Likewise.
2131 * wcsmbs/wcstok.c: Likewise.
2132 * sysdeps/generic/glob.c: Likewise.
2133 * posix/getopt.c: Likewise.
2134 * sysdeps/posix/getaddrinfo.c: Likewise.
2135 * posix/wordexp.c: Likewise.
2136 * io/ftw.c: Likewise.
2137 * io/fts.c: Likewise.
2138 * misc/getpass.c: Likewise.
2139 * iconv/gconv_conf.c: Likewise.
2140 * argp/argp-fmtstream.c: Likewise.
2141 * argp/argp-help.c: Likewise.
2142 * elf/dl-load.c: Likewise.
2143 * locale/programs/stringtrans.c: Likewise.
2144 * catgets/gencat.c: Likewise.
2145 * posix/getconf.c: Likewise.
2146 * iconv/gconv_conf.c: Likewise.
2147 * iconv/iconv_prog.c: Likewise.
2148
2149 * string/strcoll.c: Optimize a few expressions.
2150 * string/strxfrm.c: Likewise.
2151
21521998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2153
2154 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
2155 level to avoid uninit variable warning.
2156
21571998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2aa236b1 2158
769ca810 2159 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
6e4c40ba 2160 instead of _dl_default_scope[2] as argument to _dl_init_next.
769ca810 2161
2aa236b1
AS
2162 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
2163 C9x macro.
2164
8ea4a95a
UD
21651998-09-08 Ulrich Drepper <drepper@cygnus.com>
2166
6e4c40ba 2167 Fix compatibility problems introduced in last change.
dc27836e
UD
2168 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
2169 defined.
2170 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
2171 -DWEAK_GMON_START to CFLAGS-initfini.s.
2172
e4d50917
UD
2173 * elf/dl-object.c (_dl_new_object): Store map address in
2174 _dl_loaded if _dl_loaded is NULL.
87c812c2 2175 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
e4d50917 2176
8ea4a95a
UD
2177 * sysdeps/generic/setrlimit64.c: Remove stub warning.
2178
88c91118
UD
21791998-09-07 Ulrich Drepper <drepper@cygnus.com>
2180
2181 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
2182 quiet.
2c874db2
UD
2183 * db2/btree/bt_cursor.c: Likewise.
2184 * db2/common/db_region.db_c: Likewise.
2185 * db2/common/db_salloc.db_c: Likewise.
2186 * db2/db/db.c: Likewise.
2187 * db2/db/db_rec.c: Likewise.
2188 * db2/hash/hash.c: Likewise.
2189 * db2/hash/hash_page.c: Likewise.
2190 * db2/hash/hash_rec.c: Likewise.
2191 * db2/log/log_findckp.c: Likewise.
2192 * db2/log/log_get.c: Likewise.
2193 * db2/log/log_put.c: Likewise.
2194 * db2/mp/mp_fget.c: Likewise.
2195 * db2/mp/mp_fput.c: Likewise.
2196 * db2/mp/mp_region.c: Likewise.
cf9f9a16
UD
2197 * stdlib/strtol.c: Likewise.
2198 * string/strcoll.c: Likewise.
2199 * string/strxfrm.c: Likewise.
94b78bb2
UD
2200 * argp/argp-help.c: Likewise.
2201 * argp/argp-parse.c: Likewise.
3121cc04 2202 * resolv/res_debug.c: Likewise.
88c91118 2203
26644e87
UD
22041998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
2205
2206 * math/tgmath.h (scalb): Only define for __USE_MISC or
2207 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
2208
2b33e5b0
UD
22091998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2210
2211 * libio/stdio.h: Fix comment.
2212
2213 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
2214 __USE_ISOC9X.
2215
6796bc80
UD
22161998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2217
2218 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
2219
2220 * elf/dl-open.c: Quiet -Wparentheses warnings.
2221 * iconvdata/johab.c: Likewise.
2222 * iconvdata/uhc.c: Likewise.
2223 * inet/inet_net.c: Likewise.
2224 * io/fts.c: Likewise.
2225 * locale/newlocale.c: Likewise.
2226 * misc/getttyent.c: Likewise.
2227 * misc/mntent_r.c: Likewise.
2228 * misc/ttyslot.c: Likewise.
2229 * nscd/nscd_conf.c: Likewise.
2230 * nss/nsswitch.c: Likewise.
2231 * resolv/gethnamaddr.c: Likewise.
2232 * resolv/nsap_addr.c: Likewise.
2233 * resolv/res_debug.c: Likewise.
2234 * stdio-common/_itoa.c: Likewise.
2235 * stdlib/strtod.c: Likewise.
2236 * string/strverscmp.c: Likewise.
2237 * sunrpc/svc.c: Likewise.
2238 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
2239 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
2240 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
2241 * sysdeps/posix/getaddrinfo.c: Likewise.
2242
baa3334a
UD
22431998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
2244
2245 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
2246 for use of global scope.
2247 * elf/dlvsym.c (dlvsym_doit): Likewise.
2248
22491998-09-02 Paul Eggert <eggert@twinsun.com>
2250
2251 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
2252 copy the redundant bytes at the end of the format as-is; don't
2253 just copy their first byte and then rescan, as that might get
2254 us an encoding error.
2255 Account correctly for the length of multibyte sequences in the
2256 format.
2257
22581998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
2259
2260 * posix/wordexp-test.c: Add tests for different IFS values.
2261 Change unquoted-newline test so that newline is not in IFS.
2262
2263 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
2264 determining IFS characters. Return WRDE_BADCHAR for unquoted
2265 special characters _except_ if they are separators.
2266
22671998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
2268
2269 * include/tgmath.h: New file.
2270
2271 * libio/stdio.h: Correct reversed #ifs.
2272 Patch by Zack Weinberg.
2273
2274 * manual/creature.texi: Better explain reason for feature select
2275 macros.
2276 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2277
22781998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2279
2280 * include/alloca.h: Add multiple-inclusion guard.
2281 * include/db.h: Likewise.
2282 * include/db_185.h: Likewise.
6796bc80 2283 * include/dlfcn.h: Likewise.
baa3334a
UD
2284 * include/fcntl.h: Likewise.
2285 * include/grp.h: Likewise.
2286 * include/libintl.h: Likewise.
2287 * include/mntent.h: Likewise.
2288 * include/pwd.h: Likewise.
2289 * include/sched.h: Likewise.
2290 * include/search.h: Likewise.
2291 * include/setjmp.h: Likewise.
2292 * include/shadow.h: Likewise.
2293 * include/signal.h: Likewise.
2294 * include/stdio.h: Likewise.
2295 * include/stdlib.h: Likewise.
2296 * include/string.h: Likewise.
2297 * include/termios.h: Likewise.
2298 * include/time.h: Likewise.
2299 * include/ulimit.h: Likewise.
2300 * include/utmp.h: Likewise.
2301 * include/wchar.h: Likewise.
2302 * include/sys/file.h: Likewise.
2303 * include/sys/gmon.h: Likewise.
2304 * include/sys/ioctl.h: Likewise.
2305 * include/sys/mman.h: Likewise.
2306 * include/sys/resource.h: Likewise.
2307 * include/sys/select.h: Likewise.
2308 * include/sys/socket.h: Likewise.
2309 * include/sys/statfs.h: Likewise.
2310 * include/sys/time.h: Likewise.
2311 * include/sys/times.h: Likewise.
2312 * include/sys/wait.h: Likewise.
2313
be935610
UD
23141998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
2315
2316 * version.h (VERSION): Bump to 2.0.96.
2317
2318 Rewrite runtime linker to be truly thread-safe. There is now no
2319 global variable specifying the scope. We create all needed
2320 scopes at the time the link maps are created.
2321 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
2322 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
2323 l_symbolic_searchlist, l_scope, and l_local_scope elements in
2324 struct link_map.
2325 * elf/dl-close.c: Rewritten accordingly.
2326 * elf/dl-deps.c: Likewise.
2327 * elf/dl-error.c: Likewise.
2328 * elf/dl-init.c: Likewise.
2329 * elf/dl-load.c: Likewise.
2330 * elf/dl-lookup.c: Likewise.
2331 * elf/dl-object.c: Likewise.
2332 * elf/dl-open.c: Likewise.
2333 * elf/dl-reloc.c: Likewise.
2334 * elf/dl-runtime.c: Likewise.
2335 * elf/dl-support.c: Likewise.
2336 * elf/dl-symbol.c: Likewise.
2337 * elf/dl-version.c: Likewise.
be935610
UD
2338 * elf/dlsym.c: Likewise.
2339 * elf/dlvsym.c: Likewise.
2340 * elf/ldsodefs.h: Likewise.
2341 * elf/rtld.c: Likewise.
2342 * iconv/gconv_dl.c: Likewise.
2343 * nss/nsswitch.c: Likewise.
2344 * sysdeps/i386/dl-machine.h: Likewise.
2345 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
2346
6796bc80
UD
2347 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
2348 Define RTLD_DEFAULT.
2349
2b4083dd
RM
23501998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
2351
2352 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
2353 __getopt_clean_environment with __environ instead of envp.
2354
a361203e
RM
23551998-09-05 Roland McGrath <roland@baalperazim.frob.com>
2356
2b4083dd
RM
2357 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
2358
531e4bca
RM
2359 * string/argz-extract.c (__argz_extract): Add de-consting cast for
2360 setting results.
2361
62ee0979 2362 * string/argz.h (argz_next): Add de-consting cast for return.
531e4bca 2363 * string/argz-next.c (__argz_next): Likewise.
62ee0979 2364
59cacc81
RM
2365 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
2366 Don't add netinet/udp.h, netinet/ip_icmp.h here.
2367 * sysdeps/gnu/Makefile: Do it here instead.
2368 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
2369 * sysdeps/gnu/Dist: ... to here.
2370
a361203e
RM
2371 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
2372 sysdeps/unix/sysv/linux/netinet/tcp.h,
2373 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
2374
29659dd2
RM
23751998-09-04 Roland McGrath <roland@baalperazim.frob.com>
2376
2377 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
2378 * string/argz-next.c, string/argz-extract.c: Fix defns.
2379
1097c603
RM
23801998-09-03 Roland McGrath <roland@baalperazim.frob.com>
2381
2382 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
2383
2384 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
2385 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
2386 * sysdeps/generic/sysd-stdio.c: Likewise.
2387
143e2b96
UD
23881998-09-02 Ulrich Drepper <drepper@cygnus.com>
2389
2390 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
2391 (_dl_map_object_from_fd): Make NAME argument const.
2392 Remove last parameter in _dl_new_object call.
2393 (print_search_path): Correct construction of composed path name.
2394 (_dl_map_object): Prevent looking at RPATH of the main map twice.
2395 Remove last parameter in _dl_new_object call.
2396 * elf/dl-object.c: Remove last parameter. Determine whether create
2397 origin entry based on empty realname. Handle file in root directory
2398 correctly.
2399 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
2400 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
2401 Remove last parameter in _dl_new_object call.
2402 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
2403 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
2404
fc3597c0
UD
24051998-09-01 Ulrich Drepper <drepper@cygnus.com>
2406
4ce636da
UD
2407 * elf/dl-close.c (_dl_close): Add more comments and correct some.
2408 Free l_searchlist and l_dupsearchlist.
2409
fc3597c0
UD
2410 * debug/catchsegv.sh: Add one more pair of quotes.
2411
76156ea1
UD
24121998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
2413
2414 * elf/dl-load.c (add_name_to_object): Change return type to void and
2415 make NAME parameter const. Allocate room for NAME in same memory
2416 block used for l_libname entry.
2417 (_dl_map_object_from_fd): Don't free NAME on failure.
2418 (map_segment): Pass SONAME to add_name_to_object, not a copy.
2419 (_dl_map_object): Don't create copy of NAME. Pass NAME to
2420 _dl_map_object_from_fd.
2421 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
2422 memory block used for l_libname entry.
2423 * elf/dl-close.c: Adjust free()ing for this change.
2424
a8a1269d
UD
24251998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
2426
2427 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
2428
2429 * malloc/mtrace.c: Add bug report address. Update email address.
2430 Add more @XXX@ to print correct address size.
2431
2432 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
2433 really initialized.
2434
2435 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
2436 for munmap call instead of examining phdr again.
2437 Free all malloc()ed strings and arrays.
2438
052b6a6c
UD
24391998-08-09 Geoff Keating <geoffk@ozemail.com.au>
2440
2441 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
2442 dl-machine.h.
2443 * sysdeps/powerpc/dl-machine.c: New file.
2444 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
2445 files. Revise ELF_PREFERRED_ADDRESS to take account of
2446 the new mapping information (fixes bug involving huge bloated
2447 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
2448 * sysdeps/powerpc/dl-start.S: New file.
2449
2450 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
2451 l_map_end.
2452 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
2453 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
2454 others. Call elf_dynamic_do_##reloc only once (to save even more
2455 space).
2456 * elf/link.h: Add new members l_map_start and l_map_end to keep
2457 track of the memory map.
2458 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
2459 the executable.
2460
24611998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
2462
2463 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
2464 Reported by Andreas Jaeger.
2465
2466 * posix/glob.h: Use __size_t instead of size_t in definitions and
2467 make sure this is defined.
2468
85c165be
UD
24691998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
2470
052b6a6c 2471 * manual/locale.texi: Almost complete rewrite. Document more functions
85c165be
UD
2472 and functionality.
2473 * manual/arith.texi: Correct reference.
2474 * manual/string.texi: Pretty printing.
2475
2476 * manual/texinfo.tex: Update from last available version.
2477
24781998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
2479
2480 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
2481 invalid password.
2482 (_nss_nis_getpwuid_r): Likewise.
2483 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
2484
2485 * inet/rcmd.c: Implement netgroup support.
2486 Patch by Dick Streefland <dick_streefland@tasking.com>.
2487
7afab53d
UD
24881998-08-31 Ulrich Drepper <drepper@cygnus.com>
2489
2490 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
2491 object on the list is removed. Don't use this code for PIC.
2492 Reported by HJ Lu [PR libc/770].
2493
bfce746a
UD
24941998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
2495
2496 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
2497
2498 * include/stdio.h: Add __vsscanf.
2499
2500 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
2501 __USE_ISOC9X.
2502 Remove __vsscanf declaration.
2503 Always declare fgetpos and fsetpos.
2504
2505 * math/math.h: Define isinf as macro.
2506 * math/bits/mathcalls.h: Change to declare __isinf all the time.
2507 Don't declare scalb for ISO C 9x.
2508
2509 * math/tgmath.h: Define fma. Rewrite the underlying macros.
2510
2511 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
2512
2513 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
2514 sys/ucontext.h.
2515
2516 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
2517 macros.
2518
25191998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2520
2521 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
2522 Reported by jreising@frequentis.com [PR libc/767].
2523
25241998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2525
2526 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
2527 fl.l_start at beginning of function.
2528 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
2529
ac72fbb1
UD
25301998-08-31 Ulrich Drepper <drepper@cygnus.com>
2531
2532 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
2533 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
2534
2535 * nscd/nscd.init: Make it work in RedHat systems.
2536 Patch by Christian Gafton.
2537
25381998-08-29 Philip Blundell <philb@gnu.org>
2539
2540 * catgets/Makefile: Don't try to run test programs when
2541 cross-compiling.
2542
25431998-08-31 Ulrich Drepper <drepper@cygnus.com>
2544
2545 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
2546 Reported by Zack Weinberg.
2547
25481998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2549
2550 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
2551 * elf/Makefile (distribute): Remove ldd.sh.in.
2552
25531998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2554
2555 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
2556 variable.
2557
e0d46614
UD
25581998-08-29 Ulrich Drepper <drepper@cygnus.com>
2559
2560 * sysdeps/i386/register-dump.h: Move to ...
2561 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
2562
b0cf070b
UD
25631998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
2564
2565 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
2566 with load address, not map address.
2567 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
2568 parameter and use this value.
2569 * sysdeps/arm/dl-machine.h: Likewise.
2570 * sysdeps/i386/dl-machine.h: Likewise.
2571 * sysdeps/m68k/dl-machine.h: Likewise.
2572 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
2573 parameter.
2574 * sysdeps/powerpc/dl-machine.h: Likewise
2575 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
2576 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
2577
997a4165
UD
25781998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
2579
2580 * elf/rtld.c (process_envvars): Fix copy&paste error.
2581
2582 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
2583 memalign hook.
2584 (realloc_hook_ini): Don't overwrite memalign hook.
2585 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
2586 Reported by Philippe Troin <phil@fifi.org>.
2587
2588 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
2589 Patch by Philippe Troin <phil@fifi.org>.
2590
25911998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2592
2593 * sysdeps/generic/segfault.c (install_handler): Protect the
2594 non-POSIX signals with #ifdef.
2595 (catch_segfault): Add missing mode parameter for open.
2596 * debug/catchsegv.sh: Avoid termination message from shell. Allow
2597 other termination signals.
2598
25991998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2600
2601 * debug/Makefile (distribute): Add register-dump.h.
2602
26031998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4226897d
AS
2604
2605 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
2606
f787edde
UD
26071998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
2608
2609 * elf/Makefile (distribute): Add dl-origin.h.
2610 * sysdeps/generic/dl-origin.h: New file.
2611 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
2612 * elf/link.h (struct link_map): Add l_origin field.
2613 * elf/dl-load.c (expand_dynamic_string_token): New function.
2614 (decompose_path): Remove WHERE argument, take link map pointer instead.
2615 Call expand_dynamic_string_token instead of local_strdup to make copy
2616 of rpath.
2617 (_dl_init_paths): Call decompose_path with correct argument.
2618 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
2619 not defined.
2620 Check EI_OSABI and EI_ABIVERSION fields in header.
5f623941 2621 Call _dl_new_object with extra argument.
f787edde
UD
2622 (_dl_map_object): Call decompose_path with correct argument.
2623 Call expand_dynamic_string_token instead of local_strdup to also
2624 expand DST.
5f623941 2625 Call _dl_new_object with extra argument.
f787edde 2626 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
5f623941
UD
2627 but the main one if new argument is nonzero.
2628 * elf/ldsodefs.h: Adjust for _dl_new_object change.
f787edde
UD
2629 * elf/dl-support.c: Define _dl_origin_path.
2630 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
5f623941 2631 (dl_main): Call _dl_new_object with extra argument.
f787edde
UD
2632
2633 * elf/dl-close (_dl_close): Free l_name and l_origin.
2634
2635 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
2636 modifier in asm, not c.
2637
2638 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
2639 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
2640
6075607b
UD
26411998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
2642
2643 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
2644 variable so that map can be freed.
2645 Reported by Philippe Troin <phil@fifi.org>.
2646
2647 * elf/dl-open.c (dl_open_worker): Correct test for extending global
2648 scope array.
2649 Patch by Philippe Troin <phil@fifi.org>.
2650
26511998-08-26 Geoff Keating <geoffk@ozemail.com.au>
2652
2653 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
2654 Don't call writev() with a 100-element vector.
2655 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
2656 return address.
2657
2658 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
2659 In particular, set __libc_stack_end.
2660 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
2661 undefined. Fix copyright notice.
2662
26631998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2664
2665 * math/Makefile (gmp-objs): New variable.
2666 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
2667 Depend on it.
2668 (tests): Add atest-exp atest-sincos atest-exp2.
2669 (tests-static): Remove atest-exp atest-sincos atest-exp2.
2670
08cac4ac
UD
26711998-08-25 Ulrich Drepper <drepper@cygnus.com>
2672
2673 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
2674 to toplevel.
2675 (_dl_unload_cache): New function.
2676 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
2677 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
6075607b 2678 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
08cac4ac
UD
2679
2680 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
2681 Correct comment for O_LARGEFILE.
2682 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
2683 Change O_LARGEFILE to correct value.
2684
26851998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
2686
2687 * libio/iogetline.c (_IO_getline_info): Don't read anything for
2688 N == 0. Patch by HJ Lu.
2689
6dbb7062
UD
26901998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
2691
2692 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
2693
26941998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
2695
2696 * argp/argp.h: Use __inline__ not inline.
2697
2698 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
2699 an input register as being clobbered.
2700 * sysdeps/i386/memset.c (memset): Likewise.
2701 * sysdeps/i386/bzero.c (__bzero): Likewise.
2702 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
2703
27041998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2705
2706 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
2707 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
2708
ed1ac6a2
UD
27091998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
2710
2711 * debug/catchsegv.sh: Handle text preceding backtrace better.
2712 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
2713 to be installed for other signals than SIGSEGV.
2714 * sysdeps/generic/register-dump.h: New file.
2715 * sysdeps/i386/register-dump.h: New file.
2716 * sysdeps/powerpc/register-dump.h: New file.
2717
2718 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
2719 sigcontextinfo.h.
2720 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
2721
27221998-08-24 Geoff Keating <geoffk@ozemail.com.au>
2723
2724 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
2725
27261998-08-09 Geoff Keating <geoffk@ozemail.com.au>
2727
2728 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
2729 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
2730 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
2731 getresuid, getresgid.
2732
27331998-08-16 Geoff Keating <geoffk@ozemail.com.au>
2734
2735 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
2736 pointer in userland.
2737
27381998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2739
2740 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
2741 and fix value.
2742
27431998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2744
2745 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
2746 over arguments Bourne shell compatible. Don't exit unsuccessfully
2747 if nonelf returns successfully. Avoid duplicating most of the
2748 script.
2749 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
2750 around $file.
2751
27521998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
99475e65
AS
2753
2754 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
2755 sys/reg.h.
2756 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
2757 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
2758
b259e746
UD
27591998-08-23 Ulrich Drepper <drepper@cygnus.com>
2760
2761 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
2762 __modify_ldt and modify_ldt.
2763 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
2764
2765 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2766 Use orl $-1 instead of movl $-1 to save two bytes.
2767 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
2768 Likewise.
2769
27701998-08-17 H.J. Lu <hjl@gnu.org>
ed1ac6a2
UD
2771
2772 * libio/Versions (_IO_do_write, _IO_file_attach,
2773 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2774 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2775 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2776 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
2777
2778 * libio/fileops.c (_IO_do_write, _IO_file_attach,
2779 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2780 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2781 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2782 _IO_file_write, _IO_file_xsputn): Change the prefix to
2783 "_IO_new_". Added to GLIBC_2.1.
2784
2785 * libio/libioP.h (_IO_do_write, _IO_file_attach,
2786 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2787 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2788 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2789 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
2790 "_IO_new_".
2791
2792 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
2793 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2794 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2795 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2796 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
2797
b259e746
UD
27981998-08-23 Richard Henderson <rth@cygnus.com>
2799
2800 * Makeconfig (LDFLAGS): Remove.
2801
ed1ac6a2 2802 * csu/initfini.c: Return to .text before __gmon_start__.
b259e746 2803
ed1ac6a2
UD
2804 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
2805 (STO_MIPS_*): Rename from STO_*.
2806 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
2807 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
b259e746 2808
ed1ac6a2
UD
2809 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
2810 (main): e3s is negative on zero.
2811 * math/atest-exp2.c: Likewise.
b259e746
UD
2812 * math/atest-sincos.c: Likewise.
2813
ed1ac6a2
UD
28141998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2815
2816 * Makerules (install): Add comment about absolute paths.
2817
b259e746
UD
28181998-08-23 Ulrich Drepper <drepper@cygnus.com>
2819
2820 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
2821 array to NUL to handle maxlen==1 case correctly.
2822 Patch by HJ Lu.
2823
28241998-08-23 Richard Henderson <rth@cygnus.com>
7d84a067
RH
2825
2826 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
2827 * sysdeps/alpha/elf/crtend.S: Likewise.
2828 * sysdeps/alpha/elf/start.S: Likewise.
2829
2830 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
2831 non-standard pv usage.
2832
2833 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
2834 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
2835 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
2836 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
2837 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2838 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2839 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
2840 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
2841 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
2842 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
2843 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2844
2845 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
2846 a finite non-denormal, deferring to the full IEEE version otherwise.
2847
2848 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
2849 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
2850 * sysdeps/alpha/fpu/s_floor.c: New.
2851 * sysdeps/alpha/fpu/s_floorf.c: New.
2852 * sysdeps/alpha/fpu/s_ceil.c: New.
2853 * sysdeps/alpha/fpu/s_ceilf.c: New.
2854
e86e2df1
UD
28551998-08-22 Philip Blundell <philb@gnu.org>
2856
2857 * sysdeps/arm/bits/string.h: New file.
2858
14a44a69
UD
28591998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2860
2861 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
2862 document it.
2863
2864 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
2865 test for recent Linux 2.1.100+ headers.
2866
e36b0b57
UD
28671998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2868
2869 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
2870
5148d49f
UD
28711998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
2872
2873 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
2874
28751998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2876
2877 * Makefile (elf/ldso_install): Put back. The problem still persists.
2878 * elf/Makefile (ldso_install): Likewise.
2879
28801998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2881
2882 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
2883 create weak alias.
2884 * include/db.h: Declare __nss_db_open.
2885 * db2/Versions: Export it.
2886
2887 * db2/makedb.c: Convert to use db2 API.
2888 * nss/nss_db/db-XXX.c: Likewise.
2889 * nss/nss_db/db-netgrp.c: Likewise.
2890 * nss/nss_db/db-alias.c: Likewise.
2891 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
2892
28931998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2894
2895 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2896 sys_setresuid, already built automatically (or not).
2897 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
2898 instead of __syscall_setresuid and add back setresuid.
2899 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
2900 __syscall_setresuid.
2901
29021998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2903
2904 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
2905
1ddf537f
UD
29061998-08-20 Ulrich Drepper <drepper@cygnus.com>
2907
2908 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
2909 BASH-ONLY marked region.
2910 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
2911
29121998-02-20 17:54 H.J. Lu <hjl@gnu.org>
2913
2914 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
2915 _IO_SYSSEEK fails.
2916
2917 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
2918
4df28840 2919 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1ddf537f
UD
2920 element.
2921
8e48355c
RM
29221998-08-21 Roland McGrath <roland@baalperazim.frob.com>
2923
2924 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
2925 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
2926 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
2927 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
2928 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
2929 those magic comments, and to use /bin/sh for @BASH@.
2930 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
2931 * elf/ldd.sh.in: File removed.
2932
d762684b
UD
29331998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
2934
2935 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
2936 cast them to unsigned long int.
2937 * pwd/putpwent.c (putpwent): Likewise.
2938 Patch by John Tobey <jtobey@banta-im.com>.
2939
29401998-08-20 17:14 H.J. Lu <hjl@gnu.org>
2941
2942 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
2943 _IO_pos_BAD.
2944
29451998-02-20 17:54 H.J. Lu <hjl@gnu.org>
2946
2947 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
2948 _IO_SYSSEEK fails.
2949
7934cc16
UD
29501998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
2951
2952 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
2953 Add umount and umount2.
2954 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
2955 * sysdeps/unix/sysv/linux/umount.S: New file.
2956 * sysdeps/unix/sysv/linux/umount2.S: New file.
2957 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
2958 Define MNT_FORCE.
2959
d762684b
UD
2960 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
2961 Add sys/sendfile.h.
2962 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
2963 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
2964
2965 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
2966
2967 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
2968 sendfile.
2969
df777c40
UD
29701998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
2971
2972 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
2973 * elf/ldd.bash.in: Likewise.
2974
2975 * elf/sln.c: Avoid warning for no main prototype.
2976
2977 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
2978 O_WRITE.
2979 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2980 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2981
2982 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
2983 F_GETSIG.
2984 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
2985 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2986 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2987
29881998-08-20 Philip Blundell <pb@nexus.co.uk>
2989
2990 * sysdeps/arm/fpu/ieee754.h: Move to...
2991 * sysdeps/arm/ieee754.h: ... here.
2992
2993 * sysdeps/arm/__longjmp.S: Put return value in correct register.
2994 Don't set the condition flags unnecessarily.
2995 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
2996 registers correctly.
2997
2998 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
2999 (patch from Scott Bambrough).
3000
3001 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
3002
3003 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
3004 NULL, just call it unconditionally.
3005 (__gmon_start__): Provide stub version as a weak symbol.
3006
30071998-07-30 Philip Blundell <philb@gnu.org>
3008
3009 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
3010 by Scott Bambrough)
3011
3012 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
3013 like `@' in .type directives.
3014
3015 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
3016 * sysdeps/arm/bsd-_setjmp.S: Likewise.
3017
3018 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
3019
30201998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3021
3022 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
3023 (F_GETOWN): Likewise.
3024
3025 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
3026 Linux 2.1.117).
3027
30281998-08-20 Ulrich Drepper <drepper@cygnus.com>
3029
3030 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
3031 already defined.
3032
0c6cee5d
UD
30331998-08-18 Ulrich Drepper <drepper@cygnus.com>
3034
3035 * include/features.h: Define __USE_EXTERN_INLINES for recent
3036 enough gcc.
3037 * argp/argp.h: Define extern inline functions only if
3038 __USE_EXTERN_INLINES is defined.
3039 * libio/stdio.h: Likewise.
3040 * math/math.h: Likewise.
3041 * stdlib/stdlib.h: Likewise.
3042 * string/argz.h: Likewise.
3043 * sysdeps/generic/bits/sigset.h: Likewise.
3044 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3045 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
3046 * sysdeps/wordsize-32/inttypes.h: Likewise.
3047 * sysdeps/wordsize-64/inttypes.h: Likewise.
3048 * wcsmbs/wchar.h: Likewise.
3049
3050 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
3051 to allow compilation without optimization.
3052
df777c40
UD
30531998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3054
3055 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
3056 more entries.
3057 * nis/nss_compat/compat-initgroups.c: Likewise.
3058 * nis/nss_compat/compat-pwd.c: Likewise.
3059 * nis/nss_compat/compat-spwd.c: Likewise.
3060 * nis/nss_nis/nis-alias.c: Likewise.
3061 * nis/nss_nis/nis-ethers.c: Likewise.
3062 * nis/nss_nis/nis-grp.c: Likewise.
3063 * nis/nss_nis/nis-hosts.c: Likewise.
3064 * nis/nss_nis/nis-initgroups.c: Likewise.
3065 * nis/nss_nis/nis-network.c: Likewise.
3066 * nis/nss_nis/nis-proto.c: Likewise.
3067 * nis/nss_nis/nis-pwd.c: Likewise.
3068 * nis/nss_nis/nis-rpc.c: Likewise.
3069 * nis/nss_nis/nis-service.c: Likewise.
3070 * nis/nss_nis/nis-spwd.c: Likewise.
3071
3072 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
3073
3074 * nis/ypclnt.c: Try binding dir only first time, could be to old.
3075
3076 * nis/yp_xdr.c: Remove 1024 byte limit.
3077 * nis/ypupdate_xdr.c: Likewise.
3078
3079 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
3080 wrong data.
3081
c82e6116
RM
30821998-08-18 Roland McGrath <roland@baalperazim.frob.com>
3083
3084 * Rules (binaries-static, binaries-shared static pattern rules):
3085 Depend on lib%, not just libc%, from $(link-libc{,-static}).
3086
3087 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
3088 this here, overriding Makeconfig generic value so we link against
3089 the RPC libs.
3090
364ff81f
UD
30911998-08-17 Ulrich Drepper <drepper@cygnus.com>
3092
3093 * posix/tstgetopt.c (options): Add NULL entry at end
3094 Patch by Adrian Miranda <ade@psg.com>.
3095
5d7de7aa
UD
30961998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
3097
3098 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
3099 to 9.
3100
d610a544
UD
31011998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
3102
3103 * elf/elf.h: Add PPC Diab relocations.
3104
3105 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
3106
409dfcea
UD
31071998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
3108
3109 * manual/texinfo.tex: Update.
3110
31111998-08-07 Geoff Keating <geoffk@ozemail.com.au>
3112
3113 * sysdeps/powerpc/backtrace.c: New file.
3114
31151998-08-14 Philip Blundell <pb@nexus.co.uk>
3116
3117 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
3118 sigjmp_save.
3119 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
3120
31211998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3122
3123 * Makefile (install-symbolic-link): Fix spelling.
3124
31251998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3126
3127 * elf/elf.h (SHT_HIOS): Fix value.
3128
31291998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3130
3131 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
3132 part of the expansion, this is undefined by the standard.
3133
9d141cae
UD
31341998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
3135
3136 * posix/getconf.c: Add support for systems with incomplete confname.h.
3137
3138 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
3139
3140 * sysdeps/posix/wait3.c: Make it work.
3141
31421998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3143
3144 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
3145 (elf/ldso_install): Remove.
3146
3147 * elf/Makefile (distribute): Add sln.c.
3148 (others): Add sln.
3149 (others-static): Add sln.
3150 (install-rootsbin): Add sln.
3151 (others-static): Add sln.
3152 (ldso_install): Remove.
3153
31541998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3155
3156 * Makerules (install-clean-symbolic-link-list): Make phony.
3157 * Makefile (install-symbolic-link): Make phony. Depend on
3158 subdir_install for parallel makes.
3159
3160
31611998-07-22 Ulrich Drepper <drepper@cygnus.com>
3162
3163 * elf/Makefile (distribute): Add sln.c
3164
31651998-07-21 07:10 H.J. Lu <hjl@gnu.org>
3166
3167 * elf/sln.c: New file.
3168
3169 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
3170 (install-clean-symbolic-link-list): New target.
3171 (install): Depend on install-clean-symbolic-link-list.
3172 (make-shlib-link): Changed for $(symbolic-link-list).
3173
3174 * Makefile (install-symbolic-link): New target.
3175 (install): Depend on install-symbolic-link.
3176
1f539fd1
UD
31771998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
3178
3179 * include/unistd.h: Protect against multiple inclusion.
3180
3181 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
3182 is defined, not is glob is defined.
3183 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
3184
31851998-08-01 17:18 H.J. Lu <hjl@gnu.org>
3186
3187 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
3188 xdr_string for ut_line, ut_name and ut_host.
3189
31901998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3191
3192 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
3193 /var/mail in accordance with FHS 2.0.
3194 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
3195
31961998-08-12 Richard Henderson <rth@cygnus.com>
3197
3198 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
3199 Update aliases for cancelation.
3200
3201 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
3202 playing with symbol versions.
3203
259d930a
RM
32041998-08-12 Roland McGrath <roland@baalperazim.frob.com>
3205
3206 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
3207 multiple inclusion protection.
3208 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
3209 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
3210 define all these to 1.
3211 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
3212
d6765f1d
RM
32131998-08-12 Roland McGrath <roland@baalperazim.frob.com>
3214
3215 * sysdeps/mach/usleep.c: Include <unistd.h>.
3216 (usleep): Return void.
3217
32181998-08-11 Roland McGrath <roland@baalperazim.frob.com>
3219
3220 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
3221 decl to inhibit warning in if_freenameindex defn.
3222
3223 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
3224
3225 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
3226
3227 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
3228 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
3229 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
3230 * sysdeps/mach/usleep.c: Likewise.
3231
3232 * sysdeps/mach/hurd/bind.c (bind): Add a const.
3233
3234 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
3235 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
3236 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
3237 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
3238 * sysdeps/mach/usleep.c (usleep): Likewise.
3239 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3240 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3241 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
3242 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
3243
32441998-08-11 Roland McGrath <roland@baalperazim.frob.com>
3245
3246 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
3247 (glob64): Fix typo.
3248
3249 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
3250 %p arg to fprintf, since `void *' is the right type already.
3251
b5876a19
RM
32521998-07-25 19:47 Jose M. Moya <josem@gnu.org>
3253
3254 * sysdeps/mach/hurd/getcwd.c
1f539fd1
UD
3255 (_hurd_canonicalize_directory_name_internal): Do not loop forever
3256 for unknown root directories.
b5876a19 3257 (__getcwd): Return NULL when the current root directory could not
1f539fd1 3258 be reached.
b5876a19 3259
f81d98d6 32601998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
a2bde807 3261
f81d98d6 3262 * string/strsignal.c (strsignal): Count real-time signals from zero.
a2bde807 3263
a5f4e34a 3264
f81d98d6 3265See ChangeLog.8 for earlier changes.
This page took 0.366839 seconds and 5 git commands to generate.