]> sourceware.org Git - glibc.git/blame - ChangeLog
Update.
[glibc.git] / ChangeLog
CommitLineData
256705f4
UD
11998-10-31 Ulrich Drepper <drepper@cygnus.com>
2
3 * aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to
4 avoid ld test generating an unwanted file.
5
c55be36d
UD
6 * posix/PTESTS: Remove comment about incorrect test (it is correct).
7
a1129917
UD
81998-10-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
9
10 * sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t.
11 * sunrpc/pmap_rmt.c: Initialize clnt_stat variable.
12 * sunrpc/rpc/auth_des.h: Use uint32_t for time values.
13 * sunrpc/rpc/xdr.h: Add INT32 support.
14 * sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t .
15
16 * nis/nis_call.c: Changes for new 64bit clean NIS+ interface.
17 * nis/nis_callback.c: Likewise.
18 * nis/nis_creategroup.c: Likewise.
19 * nis/nis_defaults.c: Likewise.
20 * nis/nis_intern.h: Likewise.
21 * nis/nis_lookup.c: Likewise.
22 * nis/nis_ping.c: Likewise.
23 * nis/nis_print.c: Likewise.
24 * nis/nis_table.c: Likewise.
25 * nis/nis_util.c: Likewise.
26 * nis/nis_xdr.c: Likewise.
27 * nis/rpcsvc/nis.h: Likewise.
28 * nis/rpcsvc/nis.x: Likewise.
29 * nis/rpcsvc/nis_callback.h: Likewise.
30 * nis/rpcsvc/nis_object.x: Likewise.
31 * nis/rpcsvc/nislib.h: Likewise.
32
33 * nis/rpcsvc/yp.h: Remove casts to (u_long).
34 * nis/rpcsvc/yp_prot.h: Likewise.
35 * nis/rpcsvc/ypupd.h: Likewise.
36 * nis/ypclnt.c: Change %ld to %d in sprintf.
37
655b26bb
UD
381998-10-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
39
40 * manual/locale.texi (Formatting Numbers): Fix strfmon examples.
41
421998-10-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
43
44 * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain
45 0, __fd_mask is usually not a char.
46
471998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
48
49 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow
50 compilation on systems without rt_* syscalls (e.g. on Linux 2.0).
51 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
52 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
53 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
54 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise
55 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
56 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
57
58 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow
59 compiling on systems without rt_sigaction syscall.
60 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction):
61 Likewise.
62
631998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
64
65 * time/strptime.c (HERE_D_FMT): Fix typo.
66 Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842.
67
a3b2008a
UD
681998-10-30 Ulrich Drepper <drepper@cygnus.com>
69
646fffb9
UD
70 * catgets/Makefile (tests): Add rules to run gencat on test1.msg.
71 (generate): Add test1.cat and test1.h.
72 (distribute): Add test1.msg.
655b26bb 73 * catgets/test1.msg: New file.
646fffb9 74
a3b2008a
UD
75 * catgets/gencat.c: Do a better job in initializing dynamic
76 memory [PR libc/844].
77
00995ca9
UD
781998-10-30 18:11 Ulrich Drepper <drepper@cygnus.com>
79
80 * iconv/gconv_conf.c (__gconv_read_conf): Don't define as
81 internal_function since it is called through a pointer.
82 * iconv/gconv_db.c (free_derivation): Likewise.
83 * iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.
84
85 * posix/wordexp.c: Add internal_function to parse_backtick definition.
86 * rt/aio_misc.c: Add internal_function to __aio_free_request,
87 __aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
88 definitions.
89 * rt/aio_notify.c: Add internal_function to __aio_notify_only and
90 __aio_notify definitions.
91 * wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.
92
e980ca92
UD
931998-10-30 Ulrich Drepper <drepper@cygnus.com>
94
95 * Makerules (build-shlib): Add -O to generate optimized shared
96 objects.
97
0e19d4a3
UD
981998-10-30 11:15 Ulrich Drepper <drepper@cygnus.com>
99
100 * sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix.
101 * sysdeps/libm-i387/e_fmodf.S: Likewise.
102 * sysdeps/libm-i387/e_fmodl.S: Likewise.
103 * sysdeps/libm-i387/s_ilogb.S: Likewise.
104 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
105 * sysdeps/libm-i387/s_logb.S: Likewise.
106 * sysdeps/libm-i387/s_logbf.S: Likewise.
107 * sysdeps/libm-i387/s_remquo.S: Likewise.
108 * sysdeps/libm-i387/s_remquof.S: Likewise.
109 * sysdeps/libm-i387/s_remquol.S: Likewise.
110 * sysdeps/libm-i387/s_significand.S: Likewise.
111 * sysdeps/libm-i387/s_significandf.S: Likewise.
112
1131998-10-30 Geoff Keating <geoffk@ozemail.com.au>
114
115 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct
116 _llseek.
117
1181998-10-30 Geoff Keating <geoffk@ozemail.com.au>
119
120 * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.
121
c5e340c7
UD
1221998-10-29 Ulrich Drepper <drepper@cygnus.com>
123
b0882748
UD
124 * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
125 returns without cleaning up the lock.
d8334b9a 126 (printf_unknown): Add label all_done.
b0882748 127
7dc7f7b2
UD
128 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
129 kernels in mind when reading /proc/self/fd/FD.
130 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
131
67a96999
UD
132 * nscd/nscd.c (doc): It's "Name Service" not "Name Switch".
133
d5cabaa4
UD
134 * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
135 _fitoa.
136
c5e340c7
UD
137 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
138 /prof/self/fd/FD first.
139 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
140
141 * stdio-common/_itoa.h (_fitoa_word): New inline function. Write
142 formatted number starting at given position and return pointer to
143 following byte.
144 (_fitoa): Likewise, for long long.
145
cf3a0eca
RM
1461998-10-29 Roland McGrath <roland@baalperazim.frob.com>
147
148 * sysdeps/unix/sysv/linux/bits/sem.h,
149 sysdeps/unix/sysv/linux/bits/ipc.h,
150 sysdeps/unix/sysv/linux/bits/shm.h,
151 sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
152 * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
153 sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
154 so the same bits will be used for the Hurd.
155
f3c1143b
UD
1561998-10-29 Ulrich Drepper <drepper@cygnus.com>
157
158 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
159 compiling on systems without rt_sigaction syscall.
160
1611998-10-12 Philip Blundell <pb@nexus.co.uk>
162
163 * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
164 directories as well as add them.
165
1661998-10-28 Philip Blundell <pb@nexus.co.uk>
167
168 * sysdeps/unix/sysv/linux/neteconet/ec.h: New file. Support for
169 AF_ECONET sockets as found in recent Linux 2.1 kernels.
170 * sysdeps/unix/sysv/linux/Dist: Distribute it.
171 * sysdeps/unix/sysv/linux/Makefile: Install it.
172
1731998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
174
175 * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
176
1771998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
178
179 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
180 fds_bits member.
181 * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
182 * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
183 * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
184 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
185 Likewise.
186 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
187 Likewise.
188 * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
189 __FD_ISSET): Use it.
190 * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
191 __FD_ISSET): Likewise.
6e2cc2c1 192
91cc83ff
UD
1931998-10-28 Geoff Keating <geoffk@ozemail.com.au>
194
195 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
196 llseek.
197
c70ca1fa
UD
198 * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
199 Instead call the system call wrapper function using an 64bit argument.
200 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
201 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
202 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
203
2898c3a5
UD
2041998-10-27 Ulrich Drepper <drepper@cygnus.com>
205
7e986b8b
UD
206 * signal/signal.h: Don't include <time.h> for timespec, add
207 forward declaration.
208
2898c3a5
UD
209 * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
210 of __FD_* macros which use __fds_bits.
211 * sysdeps/generic/bits/select.h: Likewise.
212 Reported by Matt McLean <keys@yikes.com>.
213
c1a61edb
UD
2141998-10-27 Philip Blundell <pb@nexus.co.uk>
215
216 * elf/elf.h: Update ARM definitions.
217
cc368887
UD
2181998-10-27 Ulrich Drepper <drepper@cygnus.com>
219
220 * signal/signal.h: Include bits/sigthread.h only for Unix98.
221
665a657e
UD
2221998-10-26 Ulrich Drepper <drepper@cygnus.com>
223
a8eab8b1
UD
224 * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
225 define __builtin_expect as a macro substituting to the first
226 argument.
227 * config.h.in: Define HAVE_BUILTIN_EXPECT.
228 * configure.in: Add test for __builtin_expect.
229
665a657e
UD
230 * sysdeps/unix/sysv/linux/bits/types.h: Include
231 bits/pthreadtypes.h only not for POSIX 199506.
232 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
233 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
234 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
235
48ab6a9e
UD
2361998-10-26 Mark Kettenis <kettenis@phys.uva.nl>
237
238 * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
239 * socket/Versions [libc, GLIBC_2.0]: ... to here.
240
992af677
UD
2411998-10-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
242
243 * include/stdio.h: Included <stddef.h> for size_t.
244
245 * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
246 to ...
247 * include/stdio.h: ...here.
248 * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
249
0e103c6d
UD
2501998-10-26 11:09 Ulrich Drepper <drepper@cygnus.com>
251
252 * time/Makefile (tests): Add tst-posixtz.
253 * time/tst-posixtz.c: New file.
254
2551998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
256
257 * elf/rtld.c (process_envvars): Accept any non-null value of
258 LD_BIND_NOW, as mandated by the ABI.
259
2601998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
261
262 * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
263 __syscall_pread.
264 * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
265 __syscall_pwrite.
266 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
267 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
268 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
269 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
270 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. Remove
271 duplicate entries.
272 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
273 s_pread64 and s_pwrite64.
274 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
275
2761998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
277
278 * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
279 * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
280 to __syscall__llseek.
281 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
282 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
283 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
284 __sys_llseek.
285
2861998-10-26 Cristian Gafton <gafton@redhat.com>
287
288 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
289 and s_setfsuid.
290
2911998-10-26 Ulrich Drepper <drepper@cygnus.com>
292
293 * time/tzset.c (tz_compute): Correct last patch and describe this
294 in a comment.
295
d499a27c
AS
2961998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
297
298 * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
299 rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
300 rt_sigaction and rt_sigpending.
301 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
302 for __syscall_* functions.
303 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
304
c2ef7930
RM
3051998-10-26 Roland McGrath <roland@baalperazim.frob.com>
306
307 * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
308 _hurd_dtable_lock, _hurd_intern_fd.
309
310 * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
311 cthread_getspecific, cthread_setspecific, __libc_getspecific.
312
313 * mach/Versions: Fix typo in last change.
314
1938c489
UD
3151998-10-25 Ulrich Drepper <drepper@cygnus.com>
316
317 * time/tzset.c (tz_compute): If time to switch to DST is later in
318 the year switch back in the next year.
319 Reported by jwitford@hutch.com.au.
c2ef7930 320
a825f8e8
RM
3211998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
322
323 * mach/Versions: Add evc_wait, mach_error, mach_error_string,
324 mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
325 Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
326 __mach_port_allocate, __mach_port_allocate_name,
c2ef7930
RM
327 __mach_port_insert_right __mutex_trylock, __mutex_lock,
328 __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
329 __task_set_special_port, __task_terminate, __thread_depress_abort,
330 __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These
331 functions are not used outside libc.
a825f8e8
RM
332
333 * sysdeps/mach/hurd/Versions: New file.
334 [libc, GLIBC_2.0]: Add _cthread_exit_routine and
335 _cthread_init_routine. These are set by the Hurd cthreads library.
336 Add __getcwd, __mmap. If we don't add these, the weak definitions in
337 the dynamic linker will not be replaced by the corresponding shared
338 library routines once they are loaded.
339
3401998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
341
342 * sysdeps/mach/hurd/i386/init-first.c: Only define
343 __libc_enable_secure if PIC is not defined.
344
3451998-10-25 Roland McGrath <roland@baalperazim.frob.com>
346
347 * argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
348 to recurse into argp.
349
4a582094
UD
3501998-10-25 Ulrich Drepper <drepper@cygnus.com>
351
352 * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
353 greater or equal than 199506L.
354
355 * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
356 only is __USE_XOPEN. Otherwise use __fds_bits.
357 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
358 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
359 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
360 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
361 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
362
3631998-10-24 H.J. Lu <hjl@gnu.org>
364
365 * locale/programs/charmap.c (parse_charmap): Accept tok_string
366 for <code_set_name>.
367
3681998-10-25 H.J. Lu <hjl@gnu.org>
369
370 * locale/programs/ld-ctype.c (ctype_finish): Also check
371 <space>.
372
3731998-10-25 Ulrich Drepper <drepper@cygnus.com>
374
375 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
376
377 * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
378 if __USE_POSIX199506 or __USE_UNIX98.
379
3801998-10-24 22:34 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
381
382 * string/bits/string2.h: Inline strdup+friends only if
383 __USE_MISC || __USE_GNU (prevents namespace pollution).
384
3851998-10-24 H.J. Lu <hjl@gnu.org>
386
387 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
388 LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
389 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
390 LOCK_NB, LOCK_UN): Likewise.
391 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
392 LOCK_NB, LOCK_UN): Likewise.
393 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
394 LOCK_NB, LOCK_UN): Likewise.
395 * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
396 LOCK_NB, LOCK_UN): Likewise.
397
3981998-10-24 H.J. Lu <hjl@gnu.org>
399
400 * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
401
402 * libio/rewind.c (rewind): Clear the error.
403
4041998-10-24 H.J. Lu <hjl@gnu.org>
405
406 * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
407 "buffer".
408
4091998-10-24 H.J. Lu <hjl@gnu.org>
410
411 * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
412 with __need_timeval.
413 * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
414 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
415
4161998-10-24 H.J. Lu <hjl@gnu.org>
417
418 * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
419 sigqueue): Protect with __USE_POSIX199309.
420
4211998-10-24 H.J. Lu <hjl@gnu.org>
422
423 * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
424 __USE_POSIX.
425
4261998-10-24 H.J. Lu <hjl@gnu.org>
427
428 * libio/fileops.c (_IO_new_file_seekoff): Always resync with
429 the kernel file offset.
430 * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
431
88455219
UD
4321998-10-24 H.J. Lu <hjl@gnu.org>
433
434 * time/tzfile.c (__tzfile_default): Set num_types to 2.
435
4361998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
437
438 * rt/aio.h: Move __aio_init to...
439 * include/aio.h: ...here.
440
4411998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
442
443 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
444 definition of O_LARGEFILE.
445
4461998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
447
448 * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
449 as first argument to statfs.
450
4511998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
452
453 * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
454
4551998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
456
457 * malloc/mtrace.c: Include <string.h> for strlen.
458
3c068816
RM
4591998-10-24 Roland McGrath <roland@baalperazim.frob.com>
460
184edc95
RM
461 * sysdeps/mach/hurd/bits/environments.h: New file.
462
3c068816
RM
463 * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
464
465 * mach/Versions, hurd/Versions: Add numerous symbols.
466 Remove libmachuser and libhurduser sections, punt
467 versioning for those libraries for now.
468
469 * misc/Versions: Add reboot here; it exists on all platforms.
470 * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
471
fc40fc6c
UD
4721998-10-23 Ulrich Drepper <drepper@cygnus.com>
473
474 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
475 macro.
476 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
477 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
478 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
479 O_NOFOLLOW, O_DIRECT): New macros.
480 (O_DIRECTORY): Correct definition according to official 2.1.126.
481 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
482 O_NOFOLLOW): New macros.
483
b1fcf686
RM
4841998-10-24 Roland McGrath <roland@baalperazim.frob.com>
485
d606f528
RM
486 * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
487
b1fcf686
RM
488 * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
489 (__opendir): Add trailing slash to name for open, for ENOTDIR check.
490
24f25de6
UD
4911998-10-23 Ulrich Drepper <drepper@cygnus.com>
492
0d486134
UD
493 * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
494 setfsuid.c, and setfsgid.c.
495 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
496 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
497 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
498
24f25de6
UD
499 * version.h (VERSION): Bump to 2.0.99.
500
8a6da7e6
UD
501 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
502 ustat definition.
503
1e8f0e3e
UD
504 * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
505 s_pwrite64.c.
506
24f25de6
UD
507 * posix/fnmath.h: Don't redefine __P when used in glibc.
508 * posix/glob.h: Likewise.
509
510 * inet/rcmd.c (__ivaliduser2): Fix memory leak.
511 Patch by Dick Streefland <dick_streefland@tasking.com>.
512
513 * stdio-common/tst-ungetc.c: Add more test cases.
514
515 * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
516 * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
517 definitions to ...
518 * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file.
519 * sysdeps/unix/sysv/linux/fpathconf.c: New file.
520 * sysdeps/unix/sysv/linux/pathconf.c: New file.
521 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
522 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
523
5241998-10-20 Philip Blundell <pb@nexus.co.uk>
525
526 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
527 <asm/ptrace.h> to define struct pt_regs.
528 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
529 including <asm/ptrace.h> here.
530
531 * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
532 C_SYMBOL_NAME macro.
533
5341998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
535
536 * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
537 end of enumerator list.
538 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
539 * posix/wordexp.h: Likewise.
540
541 * db/db.h: Use __PMT instead of __P in typedefs.
542 * db/mpool.h: Likewise.
543 * sysdeps/generic/bits/siginfo.h: Likewise.
544 * nis/rpcsvc/ypclnt.h: Likewise.
545
d6787ff2
UD
5461998-10-23 Ulrich Drepper <drepper@cygnus.com>
547
548 * libio/genops.c (_IO_seekmark): When switching to backup buffer
549 make sure all characters from the read buffer are read after
550 switching back to it.
551
98393660
UD
5521998-10-22 Ulrich Drepper <drepper@cygnus.com>
553
554 * configure.in: Add support for Cygnus GNUPro compilers.
555
84c8da0e
UD
5561998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
557
558 * stdio/stdio.h: Use __PMT instead of __P in typedefs.
559
560 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
561 of __P for sa_restorer.
562 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
563 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
564 kernel_sigaction, old_kernel_sigaction): Likewise.
565
ed304158
UD
5661998-10-22 Ulrich Drepper <drepper@cygnus.com>
567
c7f5a0c7
UD
568 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
569 and __syscall_pwrite aliases.
570
ed304158 571 * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES.
78e5779b
UD
572
573 * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
574 improve INLINE_SYSCALL using macro assembler magic.
575
9271a050
UD
5761998-10-22 H.J. Lu <hjl@gnu.org>
577
578 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
579 sanity check for n.
580 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
581
582 * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
583 EINVAL if errno == ENODEV. Tested by VSX-PCT.
584
585 * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested
586 by VSX-PCT.
587
588 * posix/execvp.c (execvp): Check "". Tested by VSX-PCT.
589
e595c802
UD
5901998-10-22 Philip Blundell <pb@nexus.co.uk>
591
592 * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
593 __ASSEMBLER__.
594
7bb38c70
UD
5951998-10-21 Ulrich Drepper <drepper@cygnus.com>
596
597 * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
598 and adjust formats.
599
0dee6738
UD
6001998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com>
601
602 * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call
603 __syscall_* function.
604 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
605 of calling __syscall_* function.
606 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
607 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
608 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
609 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
610 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
611 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
612 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
613 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
614 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
615 * sysdeps/unix/sysv/linux/poll.c: Likewise.
616 * sysdeps/unix/sysv/linux/pread.c: Likewise.
617 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
618 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
619 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
620 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
621 * sysdeps/unix/sysv/linux/readv.c: Likewise.
622 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
623 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
624 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
625 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
626 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
627 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
628 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
629 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
630 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
631 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
632 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
633 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
634 * sysdeps/unix/sysv/linux/writev.c: Likewise.
635 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
636 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
637 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
638 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
639 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
adcb550c 640 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
0dee6738
UD
641 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
642 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
643 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
644 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
645 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
646 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
647 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
648
649 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
650 inline assembler.
651 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
652 __syscall_* definitions.
653
654 * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
655 definitions to...
656 * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
657 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
658 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
659 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
660 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
661 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
662 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
663
adcb550c
UD
664 * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
665 Move definition to...
666 * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
667 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
668 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
669 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
670 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
671 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
672 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
673
0dee6738
UD
674 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
675 (sysdep_routines): Remove s_pread64 and s_pwrite64.
676
677 * sysdeps/unix/sysv/linux/i386/pread.c: New file.
678 * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
679 * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
680 * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
681 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
682 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
683
6841998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
685
686 * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
687 and bring them in synch.
688 * sysdeps/unix/siglist.c: Likewise.
689 Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
690
6911998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
692
693 * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
694 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
695
696 * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
697 * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
698 * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
699 * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
700 * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
701 * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
702 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
703 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
704 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
705 s_setregid.
706 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
707 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
708 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
709
7101998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
711
712 * sunrpc/rpc_main.c (close_output, close_input): New functions.
713 (c_output, h_output, s_output, l_output, t_output, svc_output,
714 clnt_output, mkfile_output): Call them at the end.
715
7161998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
717
718 * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
719 link command.
720
39f0e778
AS
7211998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
722
723 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
724 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
725
d523c981
UD
7261998-10-20 Ulrich Drepper <drepper@cygnus.com>
727
728 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
729 s_pwrite64.
730 * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
731 * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
732 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
733 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
734 Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
735
0dee6738
UD
7361998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
737
738 * sysdeps/unix/opendir.c: Check at runtime for kernel support for
739 O_DIRECTORY.
740
7411998-10-20 H.J. Lu <hjl@gnu.org>
742
743 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
744 argument types.
745
4bd8be48
UD
7461998-10-19 Ulrich Drepper <drepper@cygnus.com>
747
48244d09
UD
748 * math/tgmath.h: Make nested function calls work.
749
10411f2d
UD
750 * include/ldsodefs.h: Fix typo.
751
a9b171ef
UD
752 * posix/Makefile (tests): Add tst-preadwrite.
753 * posix/tst-preadwrite.c: New file.
754
4bd8be48
UD
755 * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
756 sure that descriptor is in any case for a directory.
757
cfb32a6c
UD
7581998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
759
760 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
761 (atan2): Takes two arguments.
762
ce85d65b
UD
7631998-10-19 Ulrich Drepper <drepper@cygnus.com>
764
765 * include/ldsodefs.h: New file.
766
767 * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
768 Remove change to avoid using _CALL_DL_FCT.
769 * iconv/gconv_db.c: Likewise.
770 * iconv/gconv_dl.c: Likewise.
771 * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
772 * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
773 * nss/nsswitch.c: Likewise.
774 * nss/nsswitch.h: Likewise.
775
7761998-10-19 Philip Blundell <pb@nexus.co.uk>
777
778 * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
779 required libraries.
780 * login/Makefile (otherlibs): Likewise.
781 * nscd/Makefile (otherlibs): Likewise.
782 * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
783
784 * debug/Makefile (install-bin): Only build catchsegv if using ELF.
785
786 * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
787
7881998-10-19 Philip Blundell <pb@nexus.co.uk>
789
790 * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
791 and setfsuid.
792
7931998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
794
795 * nscd/connections.c: Fix typos in comments and strings.
796
797 * nscd/nscd.conf: Update according to recent changes to nscd.
798
799 * nscd/cache.c (prune_cache): Remove wrong comment.
800
816e6eb5
UD
8011998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
802
803 * locale/programs/ld-collate.c (collate_startup): Clear bit for this
804 category in copy_posix.
805 (collate_finish): Don't warn about UNDEFINED not being defined.
806 * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
807 category in copy_posix.
808 * locale/programs/ld-messages.c (messages_startup): Likewise.
809 * locale/programs/ld-monetary.c (monetary_startup): Likewise.
810 * locale/programs/ld-numeric.c (numeric_startup): Likewise.
811 * locale/programs/ld-time.c (time_startup): Likewise.
812 * locale/programs/localedef.c: Move copy_def_list_t definition into
813 locales.h. Define copy_posix variable.
814 (main): Before processing copy list add &copy_posix to copy_list.
815 * locale/programs/locales.h: Add definition of copy_def_list_t.
816 * locale/programs/locfile.c: Clear bit for appropriate category in
ce85d65b 817 copy_posix.mask for copy instruction.
816e6eb5 818
685c1676
UD
8191998-10-19 Ulrich Drepper <drepper@cygnus.com>
820
821 * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
822 non-existing file with generic implementation.
823 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
824
8251998-10-19 Philip Blundell <pb@nexus.co.uk>
826
827 * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
828 defined. Avoid using _CALL_DL_FCT if it is not defined.
829 * iconv/gconv.c: Likewise.
830
9bbe7c3b
UD
8311998-10-19 Ulrich Drepper <drepper@cygnus.com>
832
34489d95
UD
833 * nscd/connections.c (dbs): Define defualt values for timeouts and
834 set enabled to 0 by default.
835 (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in
836 nscd_run.
837
9bbe7c3b
UD
838 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
839 character >= 0x80.
840 (_nl_C_LC_CTYPE_class32): Likewise.
841 Reported by HJ Lu.
842
7d25696a
RM
8431998-10-19 Roland McGrath <roland@baalperazim.frob.com>
844
845 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
846 _HURD_THREADVAR_DL_ERROR.
847
848 * hurd/Makefile (user-interfaces): Add login, password.
849
850 * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
851
37eb58de
RM
8521998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
853
854 [submitted 1998-08-06]
855 * mach/Machrules: Create target directory and force re-evaluation
856 of Makefile to prevent `make' from optimizing away most of the
857 implicit rules and `vpath' directives.
858
7434cee2
RM
8591998-10-19 Roland McGrath <roland@baalperazim.frob.com>
860
37eb58de
RM
861 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
862 is null, short-circuit to __mach_msg.
863
a13d5ca5
RM
864 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
865 broken out of init1.
866 (init1) [PIC]: Call it.
867 (__libc_init_first) [! PIC]: Call it.
868
7434cee2
RM
869 * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
870 __libc_init_secure. Instead set __libc_enable_secure here from
871 the exec flags.
872 (__libc_enable_secure): New variable it.
873 * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
874
3f804c95
RM
8751998-10-19 Roland McGrath <roland@baalperazim.frob.com>
876
877 * nscd/nscd-client.h: New file, broken out of "nscd.h".
878 * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
879 and #include that.
880 * nscd/Makefile (distribute): Add nscd-client.h.
881 * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
882 Include "nscd-client.h" instead of "nscd.h"
883
67479a70
UD
8841998-10-18 Ulrich Drepper <drepper@cygnus.com>
885
74f7e7c0
UD
886 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
887 directory entries when a lstat call fails.
888 Patch by Colin Plumb <colin@nyx.net>.
889
67479a70
UD
890 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
891 NSS functions.
892 * resolv/nss_dns/dns-network.c: Likewise.
893
9bbe7c3b 894 * grp/Makefile: Don't search for linuxthreads in add-ons, use
67479a70
UD
895 have-thread-library to determine whether threads are available.
896 * pwd/Makefile: Remove wrong comment.
897
898 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
899 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
900
901 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
902
903 * nss/Versions: Add __nss_hosts_lookup.
904
905 * nss/getXXbyYY.c: Remove unneeded assignment.
906
907 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
908
909 Almost complete rewrite of the NSCD to make it smaller, faster,
910 add more functionnality and make it easier to extend.
911 * nscd/Makfile (routines): Add nscd_gethst_r.
912 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
913 * nscd/cache.c: New file.
914 * nscd/gethstbyad_r.c: New file.
915 * nscd/gethstbynm2_r.c: New file.
916 * nscd/hstcache.c: New file.
917 * nscd/nscd_gethst_r.c: New file.
918 * nscd/connections.c: Rewritten. Don't start new thread for every
919 new connection. Use a fixed set of threads which handle all
920 connections and also the cache cleanup.
921 * nscd/grpcache.c: Rewritten to use generic cache handling functions
922 in cache.c.
923 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
924 for rewrite. Remove handle_requests function.
925 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
926 Define new data structure for the new unified cache and the host
927 database entries.
928 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
929 databases easily. Recognize check-files and threads definitions.
930 * nscd/nscd.conf: Add definition of enable-cache and check-files to
931 passwd and group definitions. Add new set of definitions for hosts.
932 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
933 * nscd/nscd_getpw_r.c: Likewise.
934 * nscd/nscd_proto.h: Add prototype for host database functions.
935 * nscd/nscd_stat.c: Rewrite to simplify printing of information
936 for many databases.
937 * nscd/dbg_log.c: Remove unnecessary variable initializations.
938 Global variable debug_flag is renamed to dbg_level.
939 * nscd/dbg_log.h: Declare set_logfile.
940
6cde0c60
UD
9411998-10-16 Ulrich Drepper <drepper@cygnus.com>
942
943 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
944 O_LARGEFILE back.
945
c7a9f249
UD
9461998-10-16 Paul Eggert <eggert@shade.twinsun.com>
947
948 * time/mktime.c: Some systems require <unistd.h> to be
949 included before <time.h> for localtime_r to be declared
950 properly.
951 * time/strftime.c: Likewise.
952
9ffbb612
UD
9531998-10-16 Ulrich Drepper <drepper@cygnus.com>
954
0049f576
UD
955 * db/Makefile: Add rule to generate shared object with the soname
956 from glibc 2.0.
957
9ffbb612
UD
958 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
959 available double check to verify it's a directory.
960
961 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
962 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
963 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
964 are not generally available.
965 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
966
967 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
968 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
969 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
970 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
971 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
972 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
973 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
974 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
975 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
976 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
977 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
978 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
979 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
980 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
981 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
982 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
983 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
984 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
985 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
986 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
987 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
988 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
989 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
990 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
991 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
992 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
993 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
994 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
995 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
996 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
997 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
998 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
999 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
1000 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
1001 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
1002 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
1003 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
1004 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
1005
1006 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
1007 s_setresgid, and s_setuid.
1008 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1009 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1010 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1011 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
1012 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
1013 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1014 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
1015
39e4f7f8
UD
10161998-10-16 Ulrich Drepper <drepper@cygnus.com>
1017
1018 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
1019 localtime_t declaration on some systems.
1020
c66dbe00
UD
10211998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
1022
1023 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
1024 -DSTATIC_GCONV.
9ffbb612 1025 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
c66dbe00
UD
1026 defined. Avoid using DL_CLL_FCT if it is not defined.
1027
10281998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1029
1030 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
1031 Include endian.h unconditionally. Remove portability goop
1032 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
1033
10341998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1035
1036 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
1037
909927d2
UD
10381998-10-15 Ulrich Drepper <drepper@cygnus.com>
1039
1040 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
1041 again. Use char[44] to define size of the struct.
1042
a9e73d40
UD
1043 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
1044
fcab9698 10451998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
c66dbe00 1046
fcab9698
UD
1047 * string/bits/string2.h (strcmp): Don't cache the result of
1048 __builtin_constant_p in variables, otherwise constant folding
1049 can fail in big functions.
c66dbe00 1050
fcab9698 10511998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
c66dbe00 1052
fcab9698
UD
1053 * string/bits/string2.h: Add prototypes for the new inline
1054 functions.
c66dbe00 1055
7edb4c25
UD
10561998-10-15 Ulrich Drepper <drepper@cygnus.com>
1057
1058 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
1059 have all types defined.
1060 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
1061
fcab9698 10621998-10-08 Paul Eggert <eggert@twinsun.com>
8d5166fb 1063
fcab9698
UD
1064 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
1065 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
1066 a body that merely expands localtime_r; this works around a
1067 bug in Digital Unix 4.0A and 4.0D.
8d5166fb
UD
1068
10691998-10-14 Ulrich Drepper <drepper@cygnus.com>
1070
1071 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
1072 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
1073 __ioctl to __syscall_ioctl and include Linux version of this file.
1074 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
1075 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
1076 ioctl calls which handle struct termios.
1077 Based on a patch by Dan Jacobowitz <drow@false.org>.
1078
8583916e
UD
10791998-10-14 Ulrich Drepper <drepper@cygnus.com>
1080
1081 * version.h (VERSION): Bump to 2.0.98.
1082
6f100d04
UD
1083 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
1084 here instead of including kernel_termios.h.
1085
fcab9698 10861998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
c66dbe00 1087
fcab9698
UD
1088 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
1089 unnecessary after the changes of 1998-10-12.
c66dbe00 1090
99e46354
UD
10911998-10-13 Ulrich Drepper <drepper@cygnus.com>
1092
6c5a700e
UD
1093 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
1094 parameter format string.
1095 (inline_outw): Likewise.
1096
99e46354
UD
1097 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
1098 string.h to get memcpy prototype and NULL definition.
1099
11001998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1101
1102 * misc/sys/cdefs.h (__THROW): New macro.
1103 * argp/argp.h: Use it to replace the kludgey __P in inline
1104 function definitions.
1105 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1106 * stdlib/stdlib.h: Likewise.
1107 * wcsmbs/wchar.h: Likewise.
1108 * libio/stdio.h: Likewise.
1109 * stdio/stdio.h: Likewise.
1110 * sysdeps/wordsize-64/inttypes.h: Likewise.
1111 * sysdeps/wordsize-32/inttypes.h: Likewise.
1112 * string/argz.h: Likewise.
1113 * io/sys/stat.h: Likewise.
1114
11151998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1116
1117 * Rules (stdio_lim): New variable.
1118 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
1119 on Rules and config.make, use $(move-if-change) to avoid unnessary
1120 recompilations, and cleanup command.
1121 (common-generated): Add bits/stdio_lim.st.
1122
1622fda9
UD
11231998-10-12 Ulrich Drepper <drepper@cygnus.com>
1124
1125 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
1126 variable to prevent warnings from use of modern CPU instructions.
1127 Patch by Richard Henderson <rth@cygnus.com>.
1128
1129 * sysdeps/unix/opendir.c: Test whether NAME is directory before
1130 opening it.
1131
11321998-10-12 Philip Blundell <pb@nexus.co.uk>
1133
1134 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
1135 semicolon so that profiling works.
1136
4875f665
RM
11371998-10-12 Roland McGrath <roland@baalperazim.frob.com>
1138
1139 * sysdeps/generic/glob.c: #undef mempcpy before #define.
1140
1141 * sysdeps/unix/bsd/clock.c: Use prototype defns.
1142
431f91ba
UD
11431998-10-11 Ulrich Drepper <drepper@cygnus.com>
1144
1145 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
1146 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1147
1148 * string/bits/string2.h [!_STRING_ARCH_unaligned]
1149 (__mempcpy_small): Add parameter for 1 byte copy and use it.
1150 Reported by Geoff Keating <geoffk@ozemail.com.au>.
1151
027acb51
UD
11521998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
1153
1154 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
1155 it is already defined in <bits/environments.h>.
1156
9a29bc37
UD
11571998-10-09 Ulrich Drepper <drepper@cygnus.com>
1158
1159 * posix/ptestcases.h: Fix typo.
1160
11611998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1162
1163 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
1164 (regexec): Allocate regs.start and regs.end as one block.
1165
11661998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1167
1168 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
1169 enum decl.
1170
11711998-10-08 Philip Blundell <pb@nexus.co.uk>
1172
1173 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
1174 sigcontext union to ...
1175 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
1176 file.
1177 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
1178 version 2.0 kernels.
1179
9ea350a4
UD
11801998-10-08 Ulrich Drepper <drepper@cygnus.com>
1181
8261bc4b
UD
1182 * malloc/mtrace.c (tr_reallochook): Produce better output for real
1183 reallocation case.
1184
16e866fa 1185 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
ea1dfb4a 1186 * argp/argp-xinl.c: Likewise.
16e866fa 1187
9ea350a4
UD
1188 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
1189 Ruffian entry back.
1190 Patch by Christian Gafton.
1191
25b3b17b
UD
11921998-10-08 Paul Eggert <eggert@twinsun.com>
1193
1194 * time/mktime.c (__mktime_internal): When the requested time falls
1195 in a spring-forward gap of size DT, return a time that is DT away
1196 from the requested time, preferring a time whose tm_isdst differs
1197 from the requested value. Bump the max number of probes from 4 to
1198 6 to account for the extra probes needed to discover a
1199 spring-forward gap in the worst case.
1200
12011998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
1202
1203 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
1204 of the weird alpha architectures.
1205 Patch by Cristian Gafton <gafton@redhat.com>.
1206
12071998-02-18 23:31 Richard Henderson <rth@cygnus.com>
1208
1209 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
1210 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
1211
604510f7
UD
12121998-10-07 Ulrich Drepper <drepper@cygnus.com>
1213
1214 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
1215 (dl_open_worker): Use realloc, not malloc to resize array.
1216 * elf/rtld.c (_dl_initial_searchlist): New variable.
1217 (_dl_main): Copy content of _dl_main_searchlist to
1218 _dl_initial_searchlist.
1219 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
1220 _dl_global_scope_alloc.
1221 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
1222 * elf/dl-close.c (_dl_close): When removing object with global
1223 scope remove allocated searchlist if no dynamically loaded object
1224 is on it anymore.
1225 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
1226 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
1227
1228 * malloc/mtrace.c (tr_where): Don't print space in location string,
1229 print it afterwards. Print better symbol name information.
1230
0163d97b
UD
12311998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1232
1233 * manual/filesys.texi (Setting Permissions): Fix example for
1234 reading umask.
1235
12361998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1237
1238 * elf/sprof.c (load_profdata): Fix typo in error message.
1239
c0de721b
AS
12401998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1241
1242 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
1243 flag.
1244
442dc326
RM
12451998-10-04 Roland McGrath <roland@baalperazim.frob.com>
1246
1247 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
1248
d53427c8
UD
12491998-10-06 Ulrich Drepper <drepper@cygnus.com>
1250
1251 * version.h (VERSION): Bump to 2.0.97.
1252
acdf1251
UD
12531998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1254
1255 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
1256 in definitions of inline stat functions so that they match the
1257 declaration.
1258 * stdlib/stdlib.h: Likewise.
1259 * wcsmbs/wchar.h: Likewise.
1260 * libio/stdio.h: Likewise.
1261 * stdio/stdio.h: Likewise.
1262 * sysdeps/wordsize-64/inttypes.h: Likewise.
1263 * sysdeps/wordsize-32/inttypes.h: Likewise.
1264 * string/argz.h: Likewise.
1265 * argp/argp.h: Likewise.
1266
3cb07217
UD
12671998-10-06 Ulrich Drepper <drepper@cygnus.com>
1268
1269 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
1270 netinet/in.h.
1271
c10bb795
UD
12721998-10-05 Philip Blundell <philb@gnu.org>
1273
1274 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
1275 and constants. Tidy up formatting a little.
1276
1277 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
1278 Move definitions to in.h.
1279
8325d82c
UD
12801998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1281
1282 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
1283 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
1284 Remove inclusion of <linux/swap.h>.
1285
12861998-10-05 Ulrich Drepper <drepper@cygnus.com>
1287
1288 * io/sys/stat.h: Use __P in definitions of inline stat functions
1289 so that they match the declaration.
1290
12911998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1292
1293 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
1294
12951998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1296
1297 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
1298 linux 2.1 version.
1299
13001998-10-02 Philip Blundell <pb@nexus.co.uk>
1301
1302 * sysdeps/arm/dl-machine.h: Fix typo in last change.
1303
1304 * sysdeps/arm/bits/huge_val.h: New file.
1305
13061998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1307
1308 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
1309
1310 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
1311 define.
1312
13131998-10-05 Ulrich Drepper <drepper@cygnus.com>
1314
1315 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
1316 store result of realloc instead of using BUF.
1317
13181998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1319
1320 * misc/sgtty.h (_SGTTY_H): Correct spelling.
1321 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
1322
13231998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1324
1325 * manual/memory.texi (Obstacks): Document
1326 obstack_alloc_failed_handler usage.
1327
1328 * malloc/obstack.h: Enhance comment about
1329 obstack_alloc_failed_handler usage.
1330 * malloc/obstack.c: Likewise.
1331
13321998-10-05 Ulrich Drepper <drepper@cygnus.com>
1333
1334 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
1335 gcc before 2.8 is used.
1336
13371998-10-01 Philip Blundell <pb@nexus.co.uk>
1338
1339 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
1340 from Scott Bambrough.
1341
1342 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
1343
1344 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
1345 include the lock member.
1346
13471998-09-03 Philip Blundell <pb@nexus.co.uk>
1348
1349 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
1350
e3e4e463
UD
13511998-10-01 Ulrich Drepper <drepper@cygnus.com>
1352
1353 * timezone/zic.c: Update from tzcode1998h.
1354 * timezone/europe: Update from tzdata1998i.
1355 * timezone/southamerica: Likewise.
1356
7782d0bf
UD
1357 * sys/types.h: Protect use of long long by __extension__.
1358 * stdlib/stdlib.h: Likewise.
1359 * string/string.h: Likewise.
1360 * sysdeps/i386/bits/byteswap.h: Likewise.
1361 * sysdeps/geeric/bits/byteswap.h: Likewise.
1362 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
1363 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1364 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1365 * sysdeps/wordsize-32/inttypes.h: Likewise.
1366 * sysdeps/wordsize-32/stdint.h: Likewise.
1367 * wcsmbs/wchar.h: Likewise.
1368
8325d82c
UD
13691998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1370
1371 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
1372 expression.
1373 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
1374 __strsep): Greatly reduce size of expansion by combining common
1375 expressions.
1376 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
1377 inline function.
1378 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
1379 by the above definitions.
1380
13811998-09-27 Geoff Keating <geoffk@ozemail.com.au>
1382
1383 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
1384 correct struct ipc_perm definition.
1385
13861998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1387
1388 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
1389
999b2f6b
UD
13901998-09-29 Cristian Gafton <gafton@redhat.com>
1391
8325d82c
UD
1392 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
1393 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
999b2f6b
UD
1394 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
1395 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
1396 Add net/if_shaper.h.
1397
87052ab7
UD
13981998-09-29 Ulrich Drepper <drepper@cygnus.com>
1399
cf26217d
UD
1400 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
1401
87052ab7
UD
1402 * nis/ypclnt.c: Remove not needed close calls.
1403
6ff5bc68
UD
14041998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
1405
1406 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
1407 check a bit. Also close socket of domain client. Close socket
1408 in IPPORT_RESERVED error case.
1409
14101998-09-28 Ulrich Drepper <drepper@cygnus.com>
1411
1412 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
1413 CMSG_ALIGN (fixes a bug) and correct test for availability of
1414 another entry.
1415 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
1416 Linux version.
1417 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
1418 availability of another entry.
1419 Patch by ak@muc.de.
1420
1421 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
1422 Patch by ak@muc.de.
1423
999b2f6b
UD
1424 * libio/libio.h [!__STDC__]: Define const only if not defined.
1425
6ff5bc68
UD
14261998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1427
1428 * posix/annexc.c (xsystem): New function. Use it instead of
1429 system.
1430
14311998-09-28 Ulrich Drepper <drepper@cygnus.com>
1432
1433 * stdlib/longlong.h: Remove #endif for #if removed in last change.
1434
e07a51b5
UD
14351998-09-25 Ulrich Drepper <drepper@cygnus.com>
1436
1437 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
1438 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
1439 allow using `ut' parameter.
1440 [!emacs]: Define ut_argument, ut_argument_spec, and
1441 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
1442 argument_spec to prototypes and definitions.
1443 (my_strftime): Don't call tzset of ut != 0.
1444 Compute diff as 0 is ut != 0;
1445 [emacs]: Define new emacs_strftime function.
1446 Based on a patch by Paul Eggert.
1447
14481998-09-24 Paul Eggert <eggert@twinsun.com>
1449
1450 * time/strftime.c (my_strftime): When asking for the length of the
1451 subformatted buffer, do not limit the length to look for;
1452 otherwise, we have no reliable way to distinguish between the
1453 empty buffer and an error.
1454
390a4882
UD
14551998-09-25 Ulrich Drepper <drepper@cygnus.com>
1456
1457 * math/Makefile (gmp-objs): Add mp_clz_tab.
1458
14591998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
1460
1461 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
1462 set them.
1463 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
1464 cpus lacking hardware multiply and divide.
1465
14661998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1467
1468 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
1469 $(<F), not $(^F).
1470
14711998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1472
1473 * db/btree/bt_delete.c: Fix -Wparentheses warning.
1474
14751998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1476
1477 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
1478 $(do-install).
1479
e503270c
UD
14801998-09-24 Ulrich Drepper <drepper@cygnus.com>
1481
e07a51b5 1482 * debug/catchsegv.sh: Also produce output if clone process died.
e503270c
UD
1483
14841998-09-24 Paul Eggert <eggert@twinsun.com>
1485
390a4882 1486 * time/strftime.c (f_wkday): Remove duplicate definition.
e503270c
UD
1487 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
1488 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
1489 1998-09-11 fix to this case.
1490 (wkday_len, month_len): Remove these macros; they're no longer needed.
1491
14921998-09-24 Paul Eggert <eggert@twinsun.com>
1493
390a4882 1494 * time/strftime.c (my_strftime): Don't store past the end of a
e503270c
UD
1495 zero-sized buffer.
1496
3465c0ce
UD
14971998-09-24 Paul Eggert <eggert@twinsun.com>
1498
e503270c 1499 * time/strftime.c (underlying_strftime):
3465c0ce
UD
1500 Set the buffer to a nonzero value before calling
1501 strftime, and check to see whether strftime has set the buffer to zero.
1502 This lets us distinguish between an empty buffer and an error.
1503
15041998-09-24 Paul Eggert <eggert@shade.twinsun.com>
1505
e503270c 1506 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
3465c0ce
UD
1507 This fix is propagated from tzcode1998g.tar.gz.
1508
7a3bfc4e
UD
15091998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
1510
1511 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
1512 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
1513 sys_siglist. This is handled correctly by the weak_alias macro.
1514
369b1933
UD
15151998-09-24 Ulrich Drepper <drepper@cygnus.com>
1516
50a1b837
UD
1517 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
1518 of mempcpy. Reported by Andreas Jaeger.
1519
369b1933
UD
1520 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
1521 pollute the namespace since the compiler will resolve it inline.
1522 Reported by Florian La Roche <florian@suse.de>.
1523
2b79b6d5
UD
15241998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
1525
1526 * timezone/private.h: Update from tzcode1998g.
1527
1528 * timezone/africa: Update from tzdata1998h.
1529 * timezone/asia: Likewise.
1530 * timezone/australasia: Likewise.
1531 * timezone/europe: Likewise.
1532 * timezone/northamerica: Likewise.
1533 * timezone/southamerica: Likewise.
1534 * timezone/zone.tab: Likewise.
1535
3d42e04d
UD
15361998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1537
1538 * misc/sys/mman.h: New file.
1539
1540 * sysdeps/generic/bits/mman.h: New file.
1541 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
1542 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
1543 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
1544 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
1545
1546 * sysdeps/generic/sys/mman.h: Removed.
1547 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
1548 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
1549 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
1550 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
1551 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
1552
1553 * include/sys/mman.h: Look directly for misc/sys/mman.h.
1554 * misc/Makefile (headers): Add bits/mman.h.
1555 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1556 bits/mman.h.
1557
1558 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
1559 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
1560 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
1561 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
1562 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
1563 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
1564 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
1565 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
1566
15671998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1568
1569 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
1570 * sysdeps/mach/alpha/thread_state.h: Likewise.
1571 * sysdeps/mach/i386/sysdep.h: Likewise.
1572 * sysdeps/mach/i386/thread_state.h: Likewise.
1573 * sysdeps/mach/mips/sysdep.h: Likewise.
1574 * sysdeps/mach/mips/thread_state.h: Likewise.
1575 * sysdeps/posix/profil.c: Likewise.
1576 * sysdeps/i386/i586/memcopy.h: Likewise.
1577 * sysdeps/mach/pagecopy.h: Likewise.
1578
a379e56a
UD
15791998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
1580
1581 * libio/stdio.h: Define __need_getopt and include getopt.h to define
1582 getopt stuff.
1583 * posix/unistd.h: Likewise.
1584 * stdio/stdio.h: Likewise.
1585 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
1586 define only getopt and the variables.
1587
34a4b66d
UD
15881998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1589
1590 * scripts/test-installation.pl (installation_problem): Don't link
1591 the test program against libdb1.
1592
24fd4cc4
UD
15931998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
1594
1595 * Makeconfig (all-subdirs): Add db.
1596 * Versions.def: Add definition for libdb1.
1597 * shlib-versions: Add definitions for libdb1.
1598 * db/Makefile (extra-libs): Replace by libdb1.
1599 (libdb-routines): Rename to libdb1-routines.
1600 (headers): Rename to db1-headers.
1601 (distribute): Add $(db1-headers).
1602 (install-others): Define to install symlink libdb.so.NN and the
1603 $(db1-headers).
a379e56a 1604 (CPPFLAGS): Add -DUSE_LIBDB1
24fd4cc4
UD
1605 Remove rules to build makedb.
1606 * db/Versions: Rename libdb to libdb1.
1607 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
af564203 1608 * db/makedb.c: Removed.
24fd4cc4
UD
1609
1610 * scripts/versions.awk: Recognize digits in library names.
1611
1612 * db/btree/bt_open.c: Fix compiler warnings.
1613 * db/btree/bt_put.c: Likewise.
1614 * db/btree/bt_split.c: Likewise.
1615 * db/hash/hash.c: Likewise.
1616 * db/hash/hash_bigkey.c: Likewise.
1617 * db/recno/rec_close.c: Likewise.
1618
af564203
UD
1619 * Makefile: Add localedata/% goal.
1620
c94a8080
UD
16211998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1622
1623 * posix/execvp.c: Don't give up searching the PATH if execve
1624 returns ENOTDIR.
1625
16261998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
1627
1628 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
1629 if _dl_fpu_control_set is set.
1630 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
1631 * elf/rtld.c: Don't define _dl_fpu_control_set.
1632 * elf/Versions: Remove _dl_fpu_control_set.
1633
16341998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
1635
1636 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
1637 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
1638 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1639 Correct values of other SA_* macros according to kernel headers.
1640
16411998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1642
1643 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
1644 variable l.
1645 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
1646 old.
1647
16481998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1649
1650 * elf/ldsodefs.h: Fix typo in comment.
1651
16521998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1653
1654 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
1655 char when comparing buffer contents with putback character.
1656
16571998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1658
1659 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
1660 Undo last change.
1661 * elf/Versions: Undo last change. Export _dl_fpu_control and
1662 _dl_fpu_control_set.
1663 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
1664 variables. Include <fpu_control.h>.
1665 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
1666 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
1667 to indicate that is was seen.
1668 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
1669 only if _dl_fpu_control was set and is equal to desired value.
1670 * math/Makefile (aux): Undo last change.
1671 * math/Versions: Export __fpu_control with version GLIBC_2.0.
1672
f74e8ed1
AS
16731998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1674
1675 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
1676 optimized.
1677
e7c5513d
UD
16781998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
1679
1680 * string/bits/string2.h: Add mempcpy optimization.
1681 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
1682 * intl/localealias.c: Define mempcpy only if not already defined.
1683
1684 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
1685 defined.
1686
16871998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1688
1689 * csu/abi-note.S: Emit the note directly instead of defining
1690 a preprocessor macro that's only used once. Don't include sysdep.h.
1691 * abi-tags: Generalize Solaris entry.
1692
16931998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1694
1695 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
1696 Change to array to avoid runtime relocation.
1697 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
1698
16991998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1700
1701 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
1702 * math/Makefile ($(objpfx)libieee.a): Likewise.
1703
17041998-09-21 Ulrich Drepper <drepper@cygnus.com>
1705
1706 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
1707 Patch by John Tobey <jtobey@banta-im.com>.
1708
b0fd6165
UD
17091998-09-20 Ulrich Drepper <drepper@cygnus.com>
1710
1711 * login/Makefile (distribute): Remove pty-internal.h, add
1712 pty-private.h.
1391f5d3
UD
1713
1714 * stdlib/tst-strtol.c: Add more checks.
1715 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1716
a0780919
UD
17171998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
1718
1719 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
1720 * elf/elf.h: Add AT_FPUCW.
1721 * elf/Makefile (dl-routines): Add fpu_control.
1722 (elide-routines.os): Add fpu_control.
1723 (rtld-routines): Add fpu_control.
1724 * math/Makefile (aux): Remove fpu_control.
1725 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
1726 (_dl_show_auxv): Likewise.
1727 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
1728 if different from OS default.
1729
1730 * stdio-common/tstscanf.c: Add test case for (nil).
1731
00bc5db0
UD
17321998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
1733
1734 * libio/fileops.c (_IO_new_file_underflow): Before allocating
1735 buffer make sure the pushback buffer is destroyed.
1736 (_IO_new_file_seekoff): Likewise.
1737 If mode==0 quit early with the result.
1738 Clear OEF flag after successful fseek.
1739 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
1740 * libio/ftello.c (ftello): Add offset from original buffer if
1741 stream has pushed back characters.
1742 * libio/ftello64.c (ftello64): Likewise.
1743 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
1744 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
1745 * libio/ioftell.c (_IO_ftell): Likewise.
1746 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
1747 and _IO_save_ptr.
1748 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
1749 (_IO_default_pbackfail): Only stored push back character in original
1750 buffer if it is the same as the one in the file at this position.
1751 * libio/iofclose.c: Free backup buffer if one is available.
1752 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
1753 mode!=0.
1754
1755 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
1756
1757 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
1758
c53a89d4
UD
1759 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
1760
00bc5db0
UD
17611998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
1762
1763 * login/programs/pt_chown.c (more_help): Correct message that
1764 describes the purpose of the program.
1765
1766 * login/openpty.c: Do not include pty-private.h.
1767 (pts_name): New function. Return name of slave pseudo terminal in
1768 an allocated buffer if necessary.
1769 (openpty): Use pts_name to get name of the slave end of the pseudo
1770 terminal pair.
1771
1772 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
1773 pts_name before return.
1774
17751998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
1776
1777 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
1778
88263bc9
UD
17791998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1780
1781 * login/openpty.c: Include pty-private.h instead of
1782 pty-internal.h.
1783
872ea854
UD
17841998-09-09 Philip Blundell <pb@nexus.co.uk>
1785
1786 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
1787
17881998-09-07 Philip Blundell <pb@nexus.co.uk>
1789
1790 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
1791 recent ld.so changes.
1792 (elf_machine_runtime_setup): Correct behaviour when profiling.
1793
9b3c7c3c
UD
17941998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
1795
1796 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
1797 Patch by John Tobey <jtobey@banta-im.com>.
1798
17991998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
1800
1801 * login/pty-internal.h: Removed. Moved constants related to the
1802 `grantpt' helper program protocol to ...
1803 * login/pty-private.h: ... here. New file.
1804 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
1805 to make the function work with kernels >= 2.1.115.
1806 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
1807 version if using the cloning device fails.
1808 * sysdeps/unix/sysv/linux/grantpt.c: New file.
1809 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
1810 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
1811 use by Linux specific code.
1812 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
1813 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
1814 function. (grantpt): Use pts_name, check group and permission
1815 mode in addition to owner. Try to set the owner, group and
1816 permission mode first without invoking the helper program.
1817 * login/programs/pt_chown.c: Largely rewritten. Add argp and
1818 internationalization support. Use symbolic constants instead of
1819 hardwired numbers for permission mode.
1820 * sysdeps/unix/bsd/ptsname.c: New file.
1821
18221998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
1823
1824 * posix/wordexp-test.c: Undo last change.
1825
1826 * posix/wordexp.c: Undo last change.
1827
d8f2b9ea
UD
18281998-09-16 Ulrich Drepper <drepper@cygnus.com>
1829
1830 * nscd/grpcache.c (save_grp): Partly undo last change.
1831
1832 * nscd/pwdcache.c (save_pwd): Undo last change.
1833
9c4c0024
UD
18341998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1835
1836 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
1837 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
1838
18391998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
1840
1841 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
1842 Add profiling support.
1843 (TRAMPOLINE_TEMPLATE): New macro.
1844 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1845 (RTLD_START): Prettify, and set __libc_stack_end properly.
1846 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
1847 and check for sym being NULL instead.
1848 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
1849 of stack space.
1850 * sysdeps/sparc/sparc64/lshift.S: Likewise.
1851 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
1852 * sysdeps/sparc/sparc64/rshift.S: Likewise.
1853 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
1854 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
1855 MEDANY code model %g4 usage.
1856 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
1857 MEDANY code model %g4 usage.
1858 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
1859 code model address formation.
1860 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
1861 include elf/ldsodefs.h
1862 (DT_SPARC): Remove.
1863 (elf_machine_matches_host): It is now EM_SPARCV9.
1864 (elf_machine_dynamic): Clean up to remove ugly cast.
1865 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
1866 new PLT formats.
1867 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
1868 Prettify rest of function.
1869 [R_SPARC_COPY]: Check for sym being NULL.
1870 [R_SPARC_32]: Handle it.
1871 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
1872 MEDMID code model.
1873 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
1874 MEDANY code model.
1875 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
1876 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
1877 Add profiling support.
1878 (TRAMPOLINE_TEMPLATE): New macro.
1879 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1880 (RTLD_START): Prettify and set __libc_stack_end.
1881 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
1882 Define.
1883 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
1884 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
1885 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
1886 unused variable scratch.
1887 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1888 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
1889 Declare.
1890 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
1891 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
1892 old format kernel sigaction structures.
1893 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
1894 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
1895 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
1896 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
1897 ucontext include.
1898 (_JMPBUF_UNWINDS): Define.
1899 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
1900 statfs64 structure, which is exactly the same as the normal one.
1901 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
1902 of stack. Use correct syscall trap number. Add branch prediction
1903 settings to branch instructions. Remove old MEDANY code model %g4
1904 referneces for non-PIC.
1905 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1906 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
1907 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
1908 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
1909 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1910 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
1911 __libc_longjmp and __libc_siglongjmp strong aliases.
1912 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
1913 Also define to __no__readdir64_decl around readdir.c inclusion.
1914 (__readdir64): Add strong alias.
1915 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
1916 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
1917 Set strong and weak names properly.
1918
19191998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1920
1921 * manual/Makefile (AWK): Default to gawk if standalone.
1922
19231998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1924
1925 * Makefile (distribute): Undo last change.
1926 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
1927 for sysdep headers.
1928 (+subdir-headers): Removed, unused.
1929
19301998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1931
1932 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
1933 $(do-install).
1934
19351998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1936
1937 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
1938 absolute name in $(config-sysdirs), can never happen.
1939 ($(+sysdir_pfx)sysd-rules): Likewise.
1940 * Makeconfig (full-config-sysdirs): Likewise.
1941 (all-Subdirs-files): Prepend $(..).
1942
1943 * configure.in: Don't check for absolute name in $add_ons_pfx, can
1944 not happen. Let --enable-add-ons=yes work if no add-ons actually
1945 exist.
1946
19471998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1948
1949 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
1950 continuations in command.
1951
19521998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1953
1954 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
1955
a8125d85
UD
19561998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
1957
1958 * posix/wordexp-test.c: If expansion or substitution occurs
1959 anywhere in a word, the entire word is subject to field-splitting.
1960
1961 * posix/wordexp.c (parse_glob): Look for end of word instead of
1962 end of field when deciding what to glob.
1963 (field_split_word): New function, now the only place where
1964 field-splitting is performed.
1965 (parse_dollars): New parameter - tell the caller if
1966 field-splitting should be performed on this word.
1967
1968 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
1969 succeeded (or failed with WRDE_NOSPACE).
1970
19711998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
1972
1973 * posix/wordexp.c (wordexp): Don't convert IFS characters to
1974 blanks.
1975
1976 * posix/wordexp-test.c: Words not the result of expansion or
1977 substitution should remain unchanged.
1978
aa2bc6a3
UD
19791998-09-15 Ulrich Drepper <drepper@cygnus.com>
1980
1981 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
1982 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
1983
3a60301a
UD
19841998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1985
1986 * stdio-common/Makefile: Include Makeconfig so that
1987 $(inst_includedir) is defined.
1988
77f0d179
UD
19891998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1990
1991 * io/pwd.c: Include <mcheck.h>.
1992
6beaac4d
UD
19931998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
1994
1995 * nscd/pwdcache.c (save_pwd): Correct copying.
1996 * nscd/grpcache.c (save_grp): Likewise.
1997
0ff0d59e
UD
19981998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
1999
2000 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
2001 (free_pwd): Adjust for this change.
2002 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
2003 (free_grp): Adjust for this change.
2004
d3f8acb3
UD
20051998-09-14 Ulrich Drepper <drepper@cygnus.com>
2006
2007 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
2008
14eb5d5d
UD
20091998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
2010
2011 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
2012 (install-others): Add bits/stdio_lim.h.
2013 Add rule to install bits/stdio_lim.h.
2014
2015 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
2016
2017 * Makefile (distribute): Add include/sys/mman.h.
2018
2019 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
2020 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
2021 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
2022
0a1590ba
UD
2023 * grp/initgroups.c: Include stdlib.h.
2024 Patch by Zack Weinberg.
2025
1ffaaca2
UD
20261998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
2027
2028 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
2029 for field-splitting :abc: is correct, and that two fields should
2030 result. Revert tests to reflect this.
2031
2032 * posix/wordexp.c (w_emptyword): Remove function.
2033 (exec_comm): Don't use w_emptyword.
2034 (parse_param): Likewise.
2035
4ca020f5
UD
20361998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
2037
2038 * sysdeps/arm/fpu/Dist: Moved to...
2039 * sysdeps/arm/Dist: ...here.
2040 * sysdeps/posix/Dist: Removed.
2041 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
2042 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
2043
f624c216
UD
20441998-08-26 Geoff Keating <geoffk@ozemail.com.au>
2045
2046 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
2047
7ef90c15
UD
20481998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
2049
2050 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
2051
20521998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2053
2054 * libc-work/nis/nss_nisplus/nisplus-service.c
2055 (_nss_nisplus_parse_servent): Convert port in network byte order.
2056
20571998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2058
2059 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
2060 to provide only malloc and calloc.
2061 * include/stdlib.h: Support the above.
2062 * string/bits/string2.h: Use __need_malloc_and_calloc when
2063 including stdlib.h.
2064 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
2065
2066 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
2067 * iconvdata/iso646.c: Include <stdlib.h>.
2068
20691998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2070
2071 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
2072 * sysdeps/libm-ieee754/w_pow.c: Likewise.
2073 * sysdeps/libm-ieee754/w_powf.c: Likewise.
2074 * sysdeps/libm-ieee754/w_powl.c: Likewise.
2075
20761998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2077
2078 * stdio-common/stdio_lim.h.in: New file. All parameters
2079 are adjustable at build time.
2080 * Rules: Add a rule to build bits/stdio_lim.h from
2081 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
2082 all subdirectories know how to make the file. It can't be
2083 in Makerules because then it gets built at top level and the
2084 dependencies are wrong.)
2085
2086 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
2087 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
2088 stdio_lim.h.
2089 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
2090 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
2091 * sysdeps/posix/Makefile: Removed.
2092 * sysdeps/posix/mk-stdiolim.c: Removed.
2093 * sysdeps/generic/bits/stdio_lim.h: Removed.
2094
20951998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2096
2097 * argp/argp-help.c: Fixup indentation.
2098 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
2099 * resolv/nss_dns/dns-network.c: Likewise.
2100 * resolv/res_send.c: Likewise.
2101 * rt/aio_cancel.c: Likewise.
2102 * rt/aio_misc.c: Likewise.
2103
21041998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2105
2106 * Makefile (install-symbolic-link): Remove the link list file at last.
2107 * Makerules (install-clean-symbolic-link-list): Removed.
2108
21091998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2110
2111 * timezone/tst-timezone.c: Print time in UTC to get consistent
2112 output.
2113
21141998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2115
2116 * elf/rtld.c (_dl_rpath): Removed.
2117 * elf/dl-support.c (_dl_path): Removed.
2118 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
2119 (CFLAGS-dl-support.c): Removed.
2120
2121 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
2122 uses changed.
2123 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
2124 instead of appending it to the main map's rpath info.
2125 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
2126 DT_RPATHs. This makes it effective again.
2127 (decompose_rpath): Remove second parameter, callers changed.
2128 (fillin_rpath): Allocate enough space in curwd.
2129 (expand_dynamic_string_token): Cope with get_origin returning -1.
2130
21311998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2132
2133 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
2134 passwd.adjunct.
2135
2136 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
2137 invalid password.
2138
21391998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
2140
2141 * locale/programs/locale.c: Update dates.
2142
5d47ceca
UD
21431998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
2144
2145 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
b1fcf686 2146 size_t is defined. Some reordering of definitions to make
5d47ceca
UD
2147 maintaining this file in parallel with the linux-specific file easier.
2148
bd31edf2
UD
21491998-09-13 Ulrich Drepper <drepper@cygnus.com>
2150
2151 * io/pwd.c (main): Add call to mtrace.
2152
2153 * malloc/mtrace.pl: Quote @ in string.
2154
33c3e20e
UD
21551998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
2156
2157 * posix/wordexp.c (parse_arith): Fix memory leaks.
2158 (exec_comm): Likewise.
2159 (parse_param): Likewise.
2160 (wordexp): Likewise.
2161 (exec_comm): Reduce number of function return points.
2162 (parse_param): Likewise.
2163 (wordexp): Likewise.
2164
1720f4d0
UD
21651998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
2166
2167 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
2168 yield three fields, not two. Test both parameter expansion and
2169 command substitution for correct field-splitting behaviour.
2170
2171 * posix/wordexp.c (w_emptyword): New function.
2172 (parse_param): Use it.
2173 (exec_comm): Likewise, for consistency with the way parse_param
2174 splits fields.
2175 (parse_param): Fix some memory leaks.
2176
2d09b95d
UD
21771998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
2178
2179 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
2180 Don't mark asm `volatile'.
2181 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
2182 from the data cache too. Assume it isn't in the instruction cache yet.
2183 (__elf_machine_fixup_plt): Clear the modified address from the caches.
2184
b39c6f8b
UD
21851998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
2186
2187 * sysdeps/generic/segfault.c (install_handler): Install signal
2188 handler with SA_ONSTACK instead of setting the stack flags to
2189 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
2190 defined.
2191
21921998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2193
2194 * signal/signal.h: Fix multiple inclusion guard to cover the
2195 entire file.
2196 * wcsmbs/wchar.h: Remove prototype of internal function
2197 __mbsrtowcs.
2198 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
2199 arithmetic on `void *'.
2200
c06cc21c
UD
22011998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
2202
2203 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
2204
2205 * posix/wordexp.c (wordexp): Perform word-splitting instead of
2206 field-splitting here.
2207 (wordexp): If out of memory mid-word, free the word (but still
2208 leave pwordexp alone for caller to see).
2209 (parse_param): Allow for zero-length fields (smarter checking of
2210 memory allocation failure).
2211 (w_addword): Convert NULL words to "".
2212 (wordexp): Convert left-over IFS characters to blanks (like bash).
2213
81e0cb2d
UD
22141998-09-11 Ulrich Drepper <drepper@cygnus.com>
2215
350eb336
UD
2216 * configure.in: Use test -f instead of test -e.
2217 Patch by John Tobey <jtobey@banta-im.com>.
2218
2219 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
2220 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
2221 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
2222 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
2223 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
2224 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
2225 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
2226 Patches by John Tobey <jtobey@banta-im.com>.
2227
81e0cb2d
UD
2228 * time/strftime.c (my_strftime): Delay use of *tp values until
2229 latest possible point to allow partly initialized structures
2230 (e.g., from strptime).
2231
514d9bca
UD
2232 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
2233 and NATS-SEFI.
2234 Define *-routines variables for new modules.
2235 (distribute): Add .c files for new modules.
2236 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
2237 and nats-sefi.h.
2238 Add rules for header generation.
2239 * iconvdata/gconv-modules: Add entries for new modules.
2240 * iconvdata/iso_10367-box.c: New file.
2241 * iconvdata/mac-is.c: New file.
2242 * iconvdata/nats-dano.c: New file.
2243 * iconvdata/nats-sefi.c: New file.
2244
81e0cb2d
UD
22451998-04-30 18:20 H.J. Lu <hjl@gnu.org>
2246
2247 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
2248 loader if PIC is not defined.
2249
ec04e9ba
UD
22501998-09-11 Ulrich Drepper <drepper@cygnus.com>
2251
2252 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
2253 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
2254 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
2255 and ISO_5428.
2256 Define *-routines variables for new modules.
2257 (distribute): Add .c files for new modules.
2258 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
2259 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
2260 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
2261 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
514d9bca 2262 Add rules for header generation.
ec04e9ba
UD
2263 * iconvdata/gconv-modules: Add entries for new modules.
2264 * iconvdata/csn_369103.c: New file.
2265 * iconvdata/cwi.c: New file.
2266 * iconvdata/dec-mcs.c: New file.
2267 * iconvdata/ecma-cyrillic.c: New file.
2268 * iconvdata/gost_19768-74.c: New file.
2269 * iconvdata/greek-ccitt.c: New file.
2270 * iconvdata/greek7-old.c: New file.
2271 * iconvdata/greek7.c: New file.
2272 * iconvdata/inis-8.c: New file.
2273 * iconvdata/inis-cyrillic.c: New file.
2274 * iconvdata/inis.c: New file.
2275 * iconvdata/iso6937-2.c: New file.
2276 * iconvdata/iso_2033.c: New file.
2277 * iconvdata/iso_5427-ext.c: New file.
2278 * iconvdata/iso_5427.c: New file.
2279 * iconvdata/iso_5428.c: New file.
2280
2281 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
2282 entries.
2283 Convert U02dd correctly.
2284
25c849b1
RH
22851998-09-11 20:46 Richard Henderson <rth@cygnus.com>
2286
2287 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
2288 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
2289 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
2290 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
2291
04795ad9
UD
22921998-09-11 Ulrich Drepper <drepper@cygnus.com>
2293
2294 * resolv/res_init.c (res_init): Handle resolv.conf file with only
2295 one nameserver correctly. Patch by HJ Lu.
2296
2297 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
2298 and ANSI_X3.110.
2299 Define *-routines variables for new modules.
2300 (distribute): Add .c files for new modules.
2301 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
2302 Add rules for hedaer generation.
2303 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
2304 * iconvdata/ansi_x3.110.c: New file.
2305 * iconvdata/asmo_449.c: New file.
2306 * iconvdata/baltic.c: New file.
2307 * iconvdata/iec_p27-1.c: New file.
2308
2309 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
2310 entries.
2311 Convert U02dc correctly.
2312
2313 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
2314 * math/atest-exp2.c: Likewise.
2315 * math/atest-sincos.c: Likewise.
2316
2317 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
2318 is defined.
2319
23201998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2321
2322 * string/strcoll.c: Optimize a few expressions.
2323 * string/strxfrm.c: Likewise.
2324
5e0889da
UD
23251998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2326
2327 * manual/locale.texi: Fix typos.
2328
2c86b2bc
UD
23291998-09-10 Ulrich Drepper <drepper@cygnus.com>
2330
26afaa63
UD
2331 * stdlib/random_r.c (__setstate_r): Allow call with same state
2332 array as currently used (PR libc/774).
2333
6c79e60c
UD
2334 * include/limits.h: Include gcc's header even if this file is
2335 found more than once before it (PR libc/778)
2336
ec04e9ba
UD
2337 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
2338 (sysdep_headers): Remove sys/debugreg.h.
2339 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
2340 (sysdep_headers): Add sys/debugreg.h.
39382b8b
UD
2341 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
2342 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
2343
2c86b2bc
UD
2344 * stdio-common/tmpnam.c: Move local static variable buf to
2345 toplevel and rename to tmpnam_buffer to ease debugging.
2346 Patch by Joe Keane <jgk@jgk.org>.
2347 Optimize s == NULL case a bit.
2348
8e9f53fc
UD
2349 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
2350 correction.
2351
482a3be2
UD
23521998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
2353
2354 * resolv/res_init.c (res_init): Initialize _res.nscount and
2355 _res.nsaddr.sin_port differently for the can when no loopback
2356 is available to allow immediate timeout in non-networking environments.
2357 Patch by Cristian Gafton <gafton@redhat.com>.
2358
e8238963
UD
23591998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2360
2361 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
2362 BAR and not EM DASH.
2363 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
2364 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
2365 Fixes PR libc/717.
2366
90865aa8
UD
23671998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
2368
2369 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
2370 for test.
2371 * timezone/tst-timezone.c (tests): Fix typo in last patch.
2372
2373 * time/tzfile.c (__tzfile_read): Handle case when there are no
2374 transitions. Set __timezone based on computed offset.
2375 * time/tzset.c (tzset_internal): Set __timezone before returning.
2376
2377 * time/tzset.c (tzset_internal): Optimize handling of local string
2378 copy.
2379
23801998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2381
2382 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
2383 libc/776).
2384
adac8450
UD
23851998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
2386
2387 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
2388 (csqrt_test): Likewise.
90865aa8 2389 * sysdeps/powerpc/bits/fenv.h: Add parens.
adac8450 2390
8e140239
UD
23911998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
2392
2393 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
2394 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
2395 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
2396
78acf671
UD
23971998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
2398
2399 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
2400 the special `-1' pointer.
2401
6e4c40ba
UD
24021998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
2403
2404 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
2405 inline.
2406
24071998-09-07 Paul Eggert <eggert@twinsun.com>
2408
2409 * time/mktime.c (__EXTENSIONS__): Define if not defined.
2410 (_REENTRANT): Remove. It has undesirable consequences in
2411 Solaris 2.6 (e.g. it turns off the putc macro). Defining
2412 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
2413 is what we want.
2414 * time/strftime.c: Likewise.
2415
24161998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2417
2418 * elf/dl-error.c: Fix spelling.
2419
24201998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2421
2422 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
2423 * stdio-common/_itoa.c: Likewise.
2424 * stdio-common/printf_fp.c: Likewise.
2425 * stdio-common/vfscanf.c: Likewise.
2426 * wcsmbs/wcstok.c: Likewise.
2427 * sysdeps/generic/glob.c: Likewise.
2428 * posix/getopt.c: Likewise.
2429 * sysdeps/posix/getaddrinfo.c: Likewise.
2430 * posix/wordexp.c: Likewise.
2431 * io/ftw.c: Likewise.
2432 * io/fts.c: Likewise.
2433 * misc/getpass.c: Likewise.
2434 * iconv/gconv_conf.c: Likewise.
2435 * argp/argp-fmtstream.c: Likewise.
2436 * argp/argp-help.c: Likewise.
2437 * elf/dl-load.c: Likewise.
2438 * locale/programs/stringtrans.c: Likewise.
2439 * catgets/gencat.c: Likewise.
2440 * posix/getconf.c: Likewise.
2441 * iconv/gconv_conf.c: Likewise.
2442 * iconv/iconv_prog.c: Likewise.
2443
2444 * string/strcoll.c: Optimize a few expressions.
2445 * string/strxfrm.c: Likewise.
2446
24471998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2448
2449 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
2450 level to avoid uninit variable warning.
2451
24521998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2aa236b1 2453
769ca810 2454 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
6e4c40ba 2455 instead of _dl_default_scope[2] as argument to _dl_init_next.
769ca810 2456
2aa236b1
AS
2457 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
2458 C9x macro.
2459
8ea4a95a
UD
24601998-09-08 Ulrich Drepper <drepper@cygnus.com>
2461
6e4c40ba 2462 Fix compatibility problems introduced in last change.
dc27836e
UD
2463 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
2464 defined.
2465 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
2466 -DWEAK_GMON_START to CFLAGS-initfini.s.
2467
e4d50917
UD
2468 * elf/dl-object.c (_dl_new_object): Store map address in
2469 _dl_loaded if _dl_loaded is NULL.
87c812c2 2470 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
e4d50917 2471
8ea4a95a
UD
2472 * sysdeps/generic/setrlimit64.c: Remove stub warning.
2473
88c91118
UD
24741998-09-07 Ulrich Drepper <drepper@cygnus.com>
2475
2476 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
2477 quiet.
2c874db2
UD
2478 * db2/btree/bt_cursor.c: Likewise.
2479 * db2/common/db_region.db_c: Likewise.
2480 * db2/common/db_salloc.db_c: Likewise.
2481 * db2/db/db.c: Likewise.
2482 * db2/db/db_rec.c: Likewise.
2483 * db2/hash/hash.c: Likewise.
2484 * db2/hash/hash_page.c: Likewise.
2485 * db2/hash/hash_rec.c: Likewise.
2486 * db2/log/log_findckp.c: Likewise.
2487 * db2/log/log_get.c: Likewise.
2488 * db2/log/log_put.c: Likewise.
2489 * db2/mp/mp_fget.c: Likewise.
2490 * db2/mp/mp_fput.c: Likewise.
2491 * db2/mp/mp_region.c: Likewise.
cf9f9a16
UD
2492 * stdlib/strtol.c: Likewise.
2493 * string/strcoll.c: Likewise.
2494 * string/strxfrm.c: Likewise.
94b78bb2
UD
2495 * argp/argp-help.c: Likewise.
2496 * argp/argp-parse.c: Likewise.
3121cc04 2497 * resolv/res_debug.c: Likewise.
88c91118 2498
26644e87
UD
24991998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
2500
2501 * math/tgmath.h (scalb): Only define for __USE_MISC or
2502 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
2503
2b33e5b0
UD
25041998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2505
2506 * libio/stdio.h: Fix comment.
2507
2508 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
2509 __USE_ISOC9X.
2510
6796bc80
UD
25111998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2512
2513 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
2514
2515 * elf/dl-open.c: Quiet -Wparentheses warnings.
2516 * iconvdata/johab.c: Likewise.
2517 * iconvdata/uhc.c: Likewise.
2518 * inet/inet_net.c: Likewise.
2519 * io/fts.c: Likewise.
2520 * locale/newlocale.c: Likewise.
2521 * misc/getttyent.c: Likewise.
2522 * misc/mntent_r.c: Likewise.
2523 * misc/ttyslot.c: Likewise.
2524 * nscd/nscd_conf.c: Likewise.
2525 * nss/nsswitch.c: Likewise.
2526 * resolv/gethnamaddr.c: Likewise.
2527 * resolv/nsap_addr.c: Likewise.
2528 * resolv/res_debug.c: Likewise.
2529 * stdio-common/_itoa.c: Likewise.
2530 * stdlib/strtod.c: Likewise.
2531 * string/strverscmp.c: Likewise.
2532 * sunrpc/svc.c: Likewise.
2533 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
2534 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
2535 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
2536 * sysdeps/posix/getaddrinfo.c: Likewise.
2537
baa3334a
UD
25381998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
2539
2540 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
2541 for use of global scope.
2542 * elf/dlvsym.c (dlvsym_doit): Likewise.
2543
25441998-09-02 Paul Eggert <eggert@twinsun.com>
2545
2546 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
2547 copy the redundant bytes at the end of the format as-is; don't
2548 just copy their first byte and then rescan, as that might get
2549 us an encoding error.
2550 Account correctly for the length of multibyte sequences in the
2551 format.
2552
25531998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
2554
2555 * posix/wordexp-test.c: Add tests for different IFS values.
2556 Change unquoted-newline test so that newline is not in IFS.
2557
2558 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
2559 determining IFS characters. Return WRDE_BADCHAR for unquoted
2560 special characters _except_ if they are separators.
2561
25621998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
2563
2564 * include/tgmath.h: New file.
2565
2566 * libio/stdio.h: Correct reversed #ifs.
2567 Patch by Zack Weinberg.
2568
2569 * manual/creature.texi: Better explain reason for feature select
2570 macros.
2571 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2572
25731998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2574
2575 * include/alloca.h: Add multiple-inclusion guard.
2576 * include/db.h: Likewise.
2577 * include/db_185.h: Likewise.
6796bc80 2578 * include/dlfcn.h: Likewise.
baa3334a
UD
2579 * include/fcntl.h: Likewise.
2580 * include/grp.h: Likewise.
2581 * include/libintl.h: Likewise.
2582 * include/mntent.h: Likewise.
2583 * include/pwd.h: Likewise.
2584 * include/sched.h: Likewise.
2585 * include/search.h: Likewise.
2586 * include/setjmp.h: Likewise.
2587 * include/shadow.h: Likewise.
2588 * include/signal.h: Likewise.
2589 * include/stdio.h: Likewise.
2590 * include/stdlib.h: Likewise.
2591 * include/string.h: Likewise.
2592 * include/termios.h: Likewise.
2593 * include/time.h: Likewise.
2594 * include/ulimit.h: Likewise.
2595 * include/utmp.h: Likewise.
2596 * include/wchar.h: Likewise.
2597 * include/sys/file.h: Likewise.
2598 * include/sys/gmon.h: Likewise.
2599 * include/sys/ioctl.h: Likewise.
2600 * include/sys/mman.h: Likewise.
2601 * include/sys/resource.h: Likewise.
2602 * include/sys/select.h: Likewise.
2603 * include/sys/socket.h: Likewise.
2604 * include/sys/statfs.h: Likewise.
2605 * include/sys/time.h: Likewise.
2606 * include/sys/times.h: Likewise.
2607 * include/sys/wait.h: Likewise.
2608
be935610
UD
26091998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
2610
2611 * version.h (VERSION): Bump to 2.0.96.
2612
2613 Rewrite runtime linker to be truly thread-safe. There is now no
2614 global variable specifying the scope. We create all needed
2615 scopes at the time the link maps are created.
2616 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
2617 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
2618 l_symbolic_searchlist, l_scope, and l_local_scope elements in
2619 struct link_map.
2620 * elf/dl-close.c: Rewritten accordingly.
2621 * elf/dl-deps.c: Likewise.
2622 * elf/dl-error.c: Likewise.
2623 * elf/dl-init.c: Likewise.
2624 * elf/dl-load.c: Likewise.
2625 * elf/dl-lookup.c: Likewise.
2626 * elf/dl-object.c: Likewise.
2627 * elf/dl-open.c: Likewise.
2628 * elf/dl-reloc.c: Likewise.
2629 * elf/dl-runtime.c: Likewise.
2630 * elf/dl-support.c: Likewise.
2631 * elf/dl-symbol.c: Likewise.
2632 * elf/dl-version.c: Likewise.
be935610
UD
2633 * elf/dlsym.c: Likewise.
2634 * elf/dlvsym.c: Likewise.
2635 * elf/ldsodefs.h: Likewise.
2636 * elf/rtld.c: Likewise.
2637 * iconv/gconv_dl.c: Likewise.
2638 * nss/nsswitch.c: Likewise.
2639 * sysdeps/i386/dl-machine.h: Likewise.
2640 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
2641
6796bc80
UD
2642 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
2643 Define RTLD_DEFAULT.
2644
2b4083dd
RM
26451998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
2646
2647 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
2648 __getopt_clean_environment with __environ instead of envp.
2649
a361203e
RM
26501998-09-05 Roland McGrath <roland@baalperazim.frob.com>
2651
2b4083dd
RM
2652 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
2653
531e4bca
RM
2654 * string/argz-extract.c (__argz_extract): Add de-consting cast for
2655 setting results.
2656
62ee0979 2657 * string/argz.h (argz_next): Add de-consting cast for return.
531e4bca 2658 * string/argz-next.c (__argz_next): Likewise.
62ee0979 2659
59cacc81
RM
2660 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
2661 Don't add netinet/udp.h, netinet/ip_icmp.h here.
2662 * sysdeps/gnu/Makefile: Do it here instead.
2663 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
2664 * sysdeps/gnu/Dist: ... to here.
2665
a361203e
RM
2666 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
2667 sysdeps/unix/sysv/linux/netinet/tcp.h,
2668 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
2669
29659dd2
RM
26701998-09-04 Roland McGrath <roland@baalperazim.frob.com>
2671
2672 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
2673 * string/argz-next.c, string/argz-extract.c: Fix defns.
2674
1097c603
RM
26751998-09-03 Roland McGrath <roland@baalperazim.frob.com>
2676
2677 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
2678
2679 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
2680 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
2681 * sysdeps/generic/sysd-stdio.c: Likewise.
2682
143e2b96
UD
26831998-09-02 Ulrich Drepper <drepper@cygnus.com>
2684
2685 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
2686 (_dl_map_object_from_fd): Make NAME argument const.
2687 Remove last parameter in _dl_new_object call.
2688 (print_search_path): Correct construction of composed path name.
2689 (_dl_map_object): Prevent looking at RPATH of the main map twice.
2690 Remove last parameter in _dl_new_object call.
2691 * elf/dl-object.c: Remove last parameter. Determine whether create
2692 origin entry based on empty realname. Handle file in root directory
2693 correctly.
2694 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
2695 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
2696 Remove last parameter in _dl_new_object call.
2697 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
2698 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
2699
fc3597c0
UD
27001998-09-01 Ulrich Drepper <drepper@cygnus.com>
2701
4ce636da
UD
2702 * elf/dl-close.c (_dl_close): Add more comments and correct some.
2703 Free l_searchlist and l_dupsearchlist.
2704
fc3597c0
UD
2705 * debug/catchsegv.sh: Add one more pair of quotes.
2706
76156ea1
UD
27071998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
2708
2709 * elf/dl-load.c (add_name_to_object): Change return type to void and
2710 make NAME parameter const. Allocate room for NAME in same memory
2711 block used for l_libname entry.
2712 (_dl_map_object_from_fd): Don't free NAME on failure.
2713 (map_segment): Pass SONAME to add_name_to_object, not a copy.
2714 (_dl_map_object): Don't create copy of NAME. Pass NAME to
2715 _dl_map_object_from_fd.
2716 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
2717 memory block used for l_libname entry.
2718 * elf/dl-close.c: Adjust free()ing for this change.
2719
a8a1269d
UD
27201998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
2721
2722 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
2723
2724 * malloc/mtrace.c: Add bug report address. Update email address.
2725 Add more @XXX@ to print correct address size.
2726
2727 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
2728 really initialized.
2729
2730 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
2731 for munmap call instead of examining phdr again.
2732 Free all malloc()ed strings and arrays.
2733
052b6a6c
UD
27341998-08-09 Geoff Keating <geoffk@ozemail.com.au>
2735
2736 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
2737 dl-machine.h.
2738 * sysdeps/powerpc/dl-machine.c: New file.
2739 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
2740 files. Revise ELF_PREFERRED_ADDRESS to take account of
2741 the new mapping information (fixes bug involving huge bloated
2742 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
2743 * sysdeps/powerpc/dl-start.S: New file.
2744
2745 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
2746 l_map_end.
2747 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
2748 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
2749 others. Call elf_dynamic_do_##reloc only once (to save even more
2750 space).
2751 * elf/link.h: Add new members l_map_start and l_map_end to keep
2752 track of the memory map.
2753 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
2754 the executable.
2755
27561998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
2757
2758 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
2759 Reported by Andreas Jaeger.
2760
2761 * posix/glob.h: Use __size_t instead of size_t in definitions and
2762 make sure this is defined.
2763
85c165be
UD
27641998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
2765
052b6a6c 2766 * manual/locale.texi: Almost complete rewrite. Document more functions
85c165be
UD
2767 and functionality.
2768 * manual/arith.texi: Correct reference.
2769 * manual/string.texi: Pretty printing.
2770
2771 * manual/texinfo.tex: Update from last available version.
2772
27731998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
2774
2775 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
2776 invalid password.
2777 (_nss_nis_getpwuid_r): Likewise.
2778 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
2779
2780 * inet/rcmd.c: Implement netgroup support.
2781 Patch by Dick Streefland <dick_streefland@tasking.com>.
2782
7afab53d
UD
27831998-08-31 Ulrich Drepper <drepper@cygnus.com>
2784
2785 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
2786 object on the list is removed. Don't use this code for PIC.
2787 Reported by HJ Lu [PR libc/770].
2788
bfce746a
UD
27891998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
2790
2791 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
2792
2793 * include/stdio.h: Add __vsscanf.
2794
2795 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
2796 __USE_ISOC9X.
2797 Remove __vsscanf declaration.
2798 Always declare fgetpos and fsetpos.
2799
2800 * math/math.h: Define isinf as macro.
2801 * math/bits/mathcalls.h: Change to declare __isinf all the time.
2802 Don't declare scalb for ISO C 9x.
2803
2804 * math/tgmath.h: Define fma. Rewrite the underlying macros.
2805
2806 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
2807
2808 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
2809 sys/ucontext.h.
2810
2811 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
2812 macros.
2813
28141998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2815
2816 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
2817 Reported by jreising@frequentis.com [PR libc/767].
2818
28191998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2820
2821 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
2822 fl.l_start at beginning of function.
2823 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
2824
ac72fbb1
UD
28251998-08-31 Ulrich Drepper <drepper@cygnus.com>
2826
2827 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
2828 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
2829
2830 * nscd/nscd.init: Make it work in RedHat systems.
2831 Patch by Christian Gafton.
2832
28331998-08-29 Philip Blundell <philb@gnu.org>
2834
2835 * catgets/Makefile: Don't try to run test programs when
2836 cross-compiling.
2837
28381998-08-31 Ulrich Drepper <drepper@cygnus.com>
2839
2840 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
2841 Reported by Zack Weinberg.
2842
28431998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2844
2845 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
2846 * elf/Makefile (distribute): Remove ldd.sh.in.
2847
28481998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2849
2850 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
2851 variable.
2852
e0d46614
UD
28531998-08-29 Ulrich Drepper <drepper@cygnus.com>
2854
2855 * sysdeps/i386/register-dump.h: Move to ...
2856 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
2857
b0cf070b
UD
28581998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
2859
2860 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
2861 with load address, not map address.
2862 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
2863 parameter and use this value.
2864 * sysdeps/arm/dl-machine.h: Likewise.
2865 * sysdeps/i386/dl-machine.h: Likewise.
2866 * sysdeps/m68k/dl-machine.h: Likewise.
2867 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
2868 parameter.
2869 * sysdeps/powerpc/dl-machine.h: Likewise
2870 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
2871 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
2872
997a4165
UD
28731998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
2874
2875 * elf/rtld.c (process_envvars): Fix copy&paste error.
2876
2877 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
2878 memalign hook.
2879 (realloc_hook_ini): Don't overwrite memalign hook.
2880 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
2881 Reported by Philippe Troin <phil@fifi.org>.
2882
2883 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
2884 Patch by Philippe Troin <phil@fifi.org>.
2885
28861998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2887
2888 * sysdeps/generic/segfault.c (install_handler): Protect the
2889 non-POSIX signals with #ifdef.
2890 (catch_segfault): Add missing mode parameter for open.
2891 * debug/catchsegv.sh: Avoid termination message from shell. Allow
2892 other termination signals.
2893
28941998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2895
2896 * debug/Makefile (distribute): Add register-dump.h.
2897
28981998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4226897d
AS
2899
2900 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
2901
f787edde
UD
29021998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
2903
2904 * elf/Makefile (distribute): Add dl-origin.h.
2905 * sysdeps/generic/dl-origin.h: New file.
2906 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
2907 * elf/link.h (struct link_map): Add l_origin field.
2908 * elf/dl-load.c (expand_dynamic_string_token): New function.
2909 (decompose_path): Remove WHERE argument, take link map pointer instead.
2910 Call expand_dynamic_string_token instead of local_strdup to make copy
2911 of rpath.
2912 (_dl_init_paths): Call decompose_path with correct argument.
2913 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
2914 not defined.
2915 Check EI_OSABI and EI_ABIVERSION fields in header.
5f623941 2916 Call _dl_new_object with extra argument.
f787edde
UD
2917 (_dl_map_object): Call decompose_path with correct argument.
2918 Call expand_dynamic_string_token instead of local_strdup to also
2919 expand DST.
5f623941 2920 Call _dl_new_object with extra argument.
f787edde 2921 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
5f623941
UD
2922 but the main one if new argument is nonzero.
2923 * elf/ldsodefs.h: Adjust for _dl_new_object change.
f787edde
UD
2924 * elf/dl-support.c: Define _dl_origin_path.
2925 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
5f623941 2926 (dl_main): Call _dl_new_object with extra argument.
f787edde
UD
2927
2928 * elf/dl-close (_dl_close): Free l_name and l_origin.
2929
2930 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
2931 modifier in asm, not c.
2932
2933 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
2934 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
2935
6075607b
UD
29361998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
2937
2938 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
2939 variable so that map can be freed.
2940 Reported by Philippe Troin <phil@fifi.org>.
2941
2942 * elf/dl-open.c (dl_open_worker): Correct test for extending global
2943 scope array.
2944 Patch by Philippe Troin <phil@fifi.org>.
2945
29461998-08-26 Geoff Keating <geoffk@ozemail.com.au>
2947
2948 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
2949 Don't call writev() with a 100-element vector.
2950 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
2951 return address.
2952
2953 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
2954 In particular, set __libc_stack_end.
2955 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
2956 undefined. Fix copyright notice.
2957
29581998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2959
2960 * math/Makefile (gmp-objs): New variable.
2961 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
2962 Depend on it.
2963 (tests): Add atest-exp atest-sincos atest-exp2.
2964 (tests-static): Remove atest-exp atest-sincos atest-exp2.
2965
08cac4ac
UD
29661998-08-25 Ulrich Drepper <drepper@cygnus.com>
2967
2968 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
2969 to toplevel.
2970 (_dl_unload_cache): New function.
2971 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
2972 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
6075607b 2973 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
08cac4ac
UD
2974
2975 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
2976 Correct comment for O_LARGEFILE.
2977 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
2978 Change O_LARGEFILE to correct value.
2979
29801998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
2981
2982 * libio/iogetline.c (_IO_getline_info): Don't read anything for
2983 N == 0. Patch by HJ Lu.
2984
6dbb7062
UD
29851998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
2986
2987 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
2988
29891998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
2990
2991 * argp/argp.h: Use __inline__ not inline.
2992
2993 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
2994 an input register as being clobbered.
2995 * sysdeps/i386/memset.c (memset): Likewise.
2996 * sysdeps/i386/bzero.c (__bzero): Likewise.
2997 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
2998
29991998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3000
3001 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
3002 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
3003
ed1ac6a2
UD
30041998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
3005
3006 * debug/catchsegv.sh: Handle text preceding backtrace better.
3007 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
3008 to be installed for other signals than SIGSEGV.
3009 * sysdeps/generic/register-dump.h: New file.
3010 * sysdeps/i386/register-dump.h: New file.
3011 * sysdeps/powerpc/register-dump.h: New file.
3012
3013 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
3014 sigcontextinfo.h.
3015 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
3016
30171998-08-24 Geoff Keating <geoffk@ozemail.com.au>
3018
3019 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
3020
30211998-08-09 Geoff Keating <geoffk@ozemail.com.au>
3022
3023 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
3024 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
3025 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
3026 getresuid, getresgid.
3027
30281998-08-16 Geoff Keating <geoffk@ozemail.com.au>
3029
3030 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
3031 pointer in userland.
3032
30331998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3034
3035 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
3036 and fix value.
3037
30381998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3039
3040 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
3041 over arguments Bourne shell compatible. Don't exit unsuccessfully
3042 if nonelf returns successfully. Avoid duplicating most of the
3043 script.
3044 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
3045 around $file.
3046
30471998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
99475e65
AS
3048
3049 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
3050 sys/reg.h.
3051 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
3052 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
3053
b259e746
UD
30541998-08-23 Ulrich Drepper <drepper@cygnus.com>
3055
3056 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
3057 __modify_ldt and modify_ldt.
3058 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
3059
3060 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3061 Use orl $-1 instead of movl $-1 to save two bytes.
3062 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
3063 Likewise.
3064
30651998-08-17 H.J. Lu <hjl@gnu.org>
ed1ac6a2
UD
3066
3067 * libio/Versions (_IO_do_write, _IO_file_attach,
3068 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3069 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3070 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3071 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
3072
3073 * libio/fileops.c (_IO_do_write, _IO_file_attach,
3074 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3075 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3076 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3077 _IO_file_write, _IO_file_xsputn): Change the prefix to
3078 "_IO_new_". Added to GLIBC_2.1.
3079
3080 * libio/libioP.h (_IO_do_write, _IO_file_attach,
3081 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3082 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3083 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3084 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
3085 "_IO_new_".
3086
3087 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
3088 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3089 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3090 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3091 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
3092
b259e746
UD
30931998-08-23 Richard Henderson <rth@cygnus.com>
3094
3095 * Makeconfig (LDFLAGS): Remove.
3096
ed1ac6a2 3097 * csu/initfini.c: Return to .text before __gmon_start__.
b259e746 3098
ed1ac6a2
UD
3099 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
3100 (STO_MIPS_*): Rename from STO_*.
3101 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
3102 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
b259e746 3103
ed1ac6a2
UD
3104 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
3105 (main): e3s is negative on zero.
3106 * math/atest-exp2.c: Likewise.
b259e746
UD
3107 * math/atest-sincos.c: Likewise.
3108
ed1ac6a2
UD
31091998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3110
3111 * Makerules (install): Add comment about absolute paths.
3112
b259e746
UD
31131998-08-23 Ulrich Drepper <drepper@cygnus.com>
3114
3115 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
3116 array to NUL to handle maxlen==1 case correctly.
3117 Patch by HJ Lu.
3118
31191998-08-23 Richard Henderson <rth@cygnus.com>
7d84a067
RH
3120
3121 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
3122 * sysdeps/alpha/elf/crtend.S: Likewise.
3123 * sysdeps/alpha/elf/start.S: Likewise.
3124
3125 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
3126 non-standard pv usage.
3127
3128 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
3129 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
3130 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
3131 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
3132 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
3133 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
3134 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
3135 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
3136 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
3137 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
3138 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
3139
3140 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
3141 a finite non-denormal, deferring to the full IEEE version otherwise.
3142
3143 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
3144 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
3145 * sysdeps/alpha/fpu/s_floor.c: New.
3146 * sysdeps/alpha/fpu/s_floorf.c: New.
3147 * sysdeps/alpha/fpu/s_ceil.c: New.
3148 * sysdeps/alpha/fpu/s_ceilf.c: New.
3149
e86e2df1
UD
31501998-08-22 Philip Blundell <philb@gnu.org>
3151
3152 * sysdeps/arm/bits/string.h: New file.
3153
14a44a69
UD
31541998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3155
3156 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
3157 document it.
3158
3159 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
3160 test for recent Linux 2.1.100+ headers.
3161
e36b0b57
UD
31621998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3163
3164 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
3165
5148d49f
UD
31661998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
3167
3168 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
3169
31701998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3171
3172 * Makefile (elf/ldso_install): Put back. The problem still persists.
3173 * elf/Makefile (ldso_install): Likewise.
3174
31751998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3176
3177 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
3178 create weak alias.
3179 * include/db.h: Declare __nss_db_open.
3180 * db2/Versions: Export it.
3181
3182 * db2/makedb.c: Convert to use db2 API.
3183 * nss/nss_db/db-XXX.c: Likewise.
3184 * nss/nss_db/db-netgrp.c: Likewise.
3185 * nss/nss_db/db-alias.c: Likewise.
3186 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
3187
31881998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3189
3190 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3191 sys_setresuid, already built automatically (or not).
3192 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
3193 instead of __syscall_setresuid and add back setresuid.
3194 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
3195 __syscall_setresuid.
3196
31971998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3198
3199 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
3200
1ddf537f
UD
32011998-08-20 Ulrich Drepper <drepper@cygnus.com>
3202
3203 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
3204 BASH-ONLY marked region.
3205 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
3206
32071998-02-20 17:54 H.J. Lu <hjl@gnu.org>
3208
3209 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
3210 _IO_SYSSEEK fails.
3211
3212 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
3213
4df28840 3214 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1ddf537f
UD
3215 element.
3216
8e48355c
RM
32171998-08-21 Roland McGrath <roland@baalperazim.frob.com>
3218
3219 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
3220 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
3221 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
3222 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
3223 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
3224 those magic comments, and to use /bin/sh for @BASH@.
3225 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
3226 * elf/ldd.sh.in: File removed.
3227
d762684b
UD
32281998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
3229
3230 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
3231 cast them to unsigned long int.
3232 * pwd/putpwent.c (putpwent): Likewise.
3233 Patch by John Tobey <jtobey@banta-im.com>.
3234
32351998-08-20 17:14 H.J. Lu <hjl@gnu.org>
3236
3237 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
3238 _IO_pos_BAD.
3239
32401998-02-20 17:54 H.J. Lu <hjl@gnu.org>
3241
3242 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
3243 _IO_SYSSEEK fails.
3244
7934cc16
UD
32451998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
3246
3247 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
3248 Add umount and umount2.
3249 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
3250 * sysdeps/unix/sysv/linux/umount.S: New file.
3251 * sysdeps/unix/sysv/linux/umount2.S: New file.
3252 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
3253 Define MNT_FORCE.
3254
d762684b
UD
3255 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
3256 Add sys/sendfile.h.
3257 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
3258 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
3259
3260 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
3261
3262 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
3263 sendfile.
3264
df777c40
UD
32651998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
3266
3267 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
3268 * elf/ldd.bash.in: Likewise.
3269
3270 * elf/sln.c: Avoid warning for no main prototype.
3271
3272 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
3273 O_WRITE.
3274 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3275 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3276
3277 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
3278 F_GETSIG.
3279 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
3280 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3281 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3282
32831998-08-20 Philip Blundell <pb@nexus.co.uk>
3284
3285 * sysdeps/arm/fpu/ieee754.h: Move to...
3286 * sysdeps/arm/ieee754.h: ... here.
3287
3288 * sysdeps/arm/__longjmp.S: Put return value in correct register.
3289 Don't set the condition flags unnecessarily.
3290 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
3291 registers correctly.
3292
3293 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
3294 (patch from Scott Bambrough).
3295
3296 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
3297
3298 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
3299 NULL, just call it unconditionally.
3300 (__gmon_start__): Provide stub version as a weak symbol.
3301
33021998-07-30 Philip Blundell <philb@gnu.org>
3303
3304 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
3305 by Scott Bambrough)
3306
3307 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
3308 like `@' in .type directives.
3309
3310 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
3311 * sysdeps/arm/bsd-_setjmp.S: Likewise.
3312
3313 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
3314
33151998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3316
3317 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
3318 (F_GETOWN): Likewise.
3319
3320 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
3321 Linux 2.1.117).
3322
33231998-08-20 Ulrich Drepper <drepper@cygnus.com>
3324
3325 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
3326 already defined.
3327
0c6cee5d
UD
33281998-08-18 Ulrich Drepper <drepper@cygnus.com>
3329
3330 * include/features.h: Define __USE_EXTERN_INLINES for recent
3331 enough gcc.
3332 * argp/argp.h: Define extern inline functions only if
3333 __USE_EXTERN_INLINES is defined.
3334 * libio/stdio.h: Likewise.
3335 * math/math.h: Likewise.
3336 * stdlib/stdlib.h: Likewise.
3337 * string/argz.h: Likewise.
3338 * sysdeps/generic/bits/sigset.h: Likewise.
3339 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3340 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
3341 * sysdeps/wordsize-32/inttypes.h: Likewise.
3342 * sysdeps/wordsize-64/inttypes.h: Likewise.
3343 * wcsmbs/wchar.h: Likewise.
3344
3345 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
3346 to allow compilation without optimization.
3347
df777c40
UD
33481998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3349
3350 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
3351 more entries.
3352 * nis/nss_compat/compat-initgroups.c: Likewise.
3353 * nis/nss_compat/compat-pwd.c: Likewise.
3354 * nis/nss_compat/compat-spwd.c: Likewise.
3355 * nis/nss_nis/nis-alias.c: Likewise.
3356 * nis/nss_nis/nis-ethers.c: Likewise.
3357 * nis/nss_nis/nis-grp.c: Likewise.
3358 * nis/nss_nis/nis-hosts.c: Likewise.
3359 * nis/nss_nis/nis-initgroups.c: Likewise.
3360 * nis/nss_nis/nis-network.c: Likewise.
3361 * nis/nss_nis/nis-proto.c: Likewise.
3362 * nis/nss_nis/nis-pwd.c: Likewise.
3363 * nis/nss_nis/nis-rpc.c: Likewise.
3364 * nis/nss_nis/nis-service.c: Likewise.
3365 * nis/nss_nis/nis-spwd.c: Likewise.
3366
3367 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
3368
3369 * nis/ypclnt.c: Try binding dir only first time, could be to old.
3370
3371 * nis/yp_xdr.c: Remove 1024 byte limit.
3372 * nis/ypupdate_xdr.c: Likewise.
3373
3374 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
3375 wrong data.
3376
c82e6116
RM
33771998-08-18 Roland McGrath <roland@baalperazim.frob.com>
3378
3379 * Rules (binaries-static, binaries-shared static pattern rules):
3380 Depend on lib%, not just libc%, from $(link-libc{,-static}).
3381
3382 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
3383 this here, overriding Makeconfig generic value so we link against
3384 the RPC libs.
3385
364ff81f
UD
33861998-08-17 Ulrich Drepper <drepper@cygnus.com>
3387
3388 * posix/tstgetopt.c (options): Add NULL entry at end
3389 Patch by Adrian Miranda <ade@psg.com>.
3390
5d7de7aa
UD
33911998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
3392
3393 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
3394 to 9.
3395
d610a544
UD
33961998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
3397
3398 * elf/elf.h: Add PPC Diab relocations.
3399
3400 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
3401
409dfcea
UD
34021998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
3403
3404 * manual/texinfo.tex: Update.
3405
34061998-08-07 Geoff Keating <geoffk@ozemail.com.au>
3407
3408 * sysdeps/powerpc/backtrace.c: New file.
3409
34101998-08-14 Philip Blundell <pb@nexus.co.uk>
3411
3412 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
3413 sigjmp_save.
3414 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
3415
34161998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3417
3418 * Makefile (install-symbolic-link): Fix spelling.
3419
34201998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3421
3422 * elf/elf.h (SHT_HIOS): Fix value.
3423
34241998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3425
3426 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
3427 part of the expansion, this is undefined by the standard.
3428
9d141cae
UD
34291998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
3430
3431 * posix/getconf.c: Add support for systems with incomplete confname.h.
3432
3433 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
3434
3435 * sysdeps/posix/wait3.c: Make it work.
3436
34371998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3438
3439 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
3440 (elf/ldso_install): Remove.
3441
3442 * elf/Makefile (distribute): Add sln.c.
3443 (others): Add sln.
3444 (others-static): Add sln.
3445 (install-rootsbin): Add sln.
3446 (others-static): Add sln.
3447 (ldso_install): Remove.
3448
34491998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3450
3451 * Makerules (install-clean-symbolic-link-list): Make phony.
3452 * Makefile (install-symbolic-link): Make phony. Depend on
3453 subdir_install for parallel makes.
3454
3455
34561998-07-22 Ulrich Drepper <drepper@cygnus.com>
3457
3458 * elf/Makefile (distribute): Add sln.c
3459
34601998-07-21 07:10 H.J. Lu <hjl@gnu.org>
3461
3462 * elf/sln.c: New file.
3463
3464 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
3465 (install-clean-symbolic-link-list): New target.
3466 (install): Depend on install-clean-symbolic-link-list.
3467 (make-shlib-link): Changed for $(symbolic-link-list).
3468
3469 * Makefile (install-symbolic-link): New target.
3470 (install): Depend on install-symbolic-link.
3471
1f539fd1
UD
34721998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
3473
3474 * include/unistd.h: Protect against multiple inclusion.
3475
3476 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
3477 is defined, not is glob is defined.
3478 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
3479
34801998-08-01 17:18 H.J. Lu <hjl@gnu.org>
3481
3482 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
3483 xdr_string for ut_line, ut_name and ut_host.
3484
34851998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3486
3487 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
3488 /var/mail in accordance with FHS 2.0.
3489 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
3490
34911998-08-12 Richard Henderson <rth@cygnus.com>
3492
3493 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
3494 Update aliases for cancelation.
3495
3496 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
3497 playing with symbol versions.
3498
259d930a
RM
34991998-08-12 Roland McGrath <roland@baalperazim.frob.com>
3500
3501 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
3502 multiple inclusion protection.
3503 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
3504 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
3505 define all these to 1.
3506 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
3507
d6765f1d
RM
35081998-08-12 Roland McGrath <roland@baalperazim.frob.com>
3509
3510 * sysdeps/mach/usleep.c: Include <unistd.h>.
3511 (usleep): Return void.
3512
35131998-08-11 Roland McGrath <roland@baalperazim.frob.com>
3514
3515 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
3516 decl to inhibit warning in if_freenameindex defn.
3517
3518 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
3519
3520 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
3521
3522 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
3523 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
3524 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
3525 * sysdeps/mach/usleep.c: Likewise.
3526
3527 * sysdeps/mach/hurd/bind.c (bind): Add a const.
3528
3529 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
3530 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
3531 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
3532 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
3533 * sysdeps/mach/usleep.c (usleep): Likewise.
3534 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3535 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3536 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
3537 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
3538
35391998-08-11 Roland McGrath <roland@baalperazim.frob.com>
3540
3541 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
3542 (glob64): Fix typo.
3543
3544 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
3545 %p arg to fprintf, since `void *' is the right type already.
3546
b5876a19
RM
35471998-07-25 19:47 Jose M. Moya <josem@gnu.org>
3548
3549 * sysdeps/mach/hurd/getcwd.c
1f539fd1
UD
3550 (_hurd_canonicalize_directory_name_internal): Do not loop forever
3551 for unknown root directories.
b5876a19 3552 (__getcwd): Return NULL when the current root directory could not
1f539fd1 3553 be reached.
b5876a19 3554
f81d98d6 35551998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
a2bde807 3556
f81d98d6 3557 * string/strsignal.c (strsignal): Count real-time signals from zero.
a2bde807 3558
a5f4e34a 3559
f81d98d6 3560See ChangeLog.8 for earlier changes.
This page took 0.412429 seconds and 5 git commands to generate.