1 1998-07-22 23:47 Ulrich Drepper <drepper@cygnus.com>
3 * posix/fnmatch.c: Fix completely broken range matching.
5 1998-07-22 23:19 Ulrich Drepper <drepper@cygnus.com>
7 * sysdeps/unix/sysv/linux/bits/siginfo.h: Fix typo.
9 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
11 * Makefile (headers2_0): Add sigstack.h.
13 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Also define __getrusage.
15 1998-07-22 11:43 Ulrich Drepper <drepper@cygnus.com>
17 * libio/fileops.c (_IO_file_sync): Don't lock stream here.
18 Reported by Thorsten Kukuk.
20 * string/strcoll.c: Correct problem with empty strings.
21 * string/strxfrm.c: Likewise.
22 Reported by vbzoli@hbrt.hu [PR libc/719].
24 1998-07-21 18:40 Zack Weinberg <zack@rabi.phys.columbia.edu>
26 * sysdeps/posix/tempname.c: Use the random-name generator
27 already used by mktemp/mkstemp. Honor TMPDIR.
29 1998-07-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
31 * hurd/Makefile (routines): Remove cthreads.
32 * sysdeps/mach/hurd/Makefile (sysdep_routines): Add cthreads.
34 * sysdeps/unix/sysv/linux/i386/Dist: Add missing files.
36 * manual/Makefile (distribute): Add summary.texi.
38 1998-07-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
40 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Fix typo.
42 1998-07-21 Ulrich Drepper <drepper@cygnus.com>
44 * configure.in: Correct expression to match gcc version.
46 * configure.in: Move test for available port after machine
49 1998-07-21 16:08 Zack Weinberg <zack@rabi.phys.columbia.edu>
51 * sysdeps/unix/sysv/linux/sendmsg.c: If passing a SCM_CREDS
52 message, copy the buffer and resize it to what the kernel
53 wants to see. Bug found and analyzed by Thorsten Kukuk
54 <kukuk@weber-eb.uni-paderborn.de>
56 1998-07-20 Jose M. Moya <josem@gnu.org>
58 * hurd/hurdmsg.c (_S_msg_get_env_variable): Copy getenv return
61 1998-07-20 Roland McGrath <roland@baalperazim.frob.com>
63 * sysdeps/mach/hurd/getdomain.c: New file.
64 * sysdeps/mach/hurd/setdomain.c: New file.
66 1998-07-20 Roland McGrath <roland@baalperazim.frob.com>
68 * sysdeps/unix/bsd/sigsuspend.c: Define __sigsuspend with sigsuspend as
71 1998-07-20 18:23 Ulrich Drepper <drepper@cygnus.com>
73 * libio/libioP.h: Use __PMT in typedef.
74 * libio/strfile.h: Likewise.
76 1998-07-20 18:20 Ulrich Drepper <drepper@cygnus.com>
78 * sysdeps/unix/sysv/linux/gethostname.c: Return ENAMETOOLONG if
80 Reported by John Levon <j_levon@ncc.co.uk>.
82 1998-07-20 17:09 Ulrich Drepper <drepper@cygnus.com>
84 * shlib-versions: Remove definition for libSegFault.
86 * memory.texi: Comment out the relocating allocator description.
87 * manual/signal.texi: Remove reference to relocating allocator.
88 * manual/top-menu.texi: Regenerated.
90 * posix/fnmatch.c: Implement [: :] and change to recognize
91 ^ as negation only when not _POSIXLY_CORRECT.
93 * sysdeps/generic/glob.c: Add several optimizations.
95 * posix/glob.h: Undefine __PMT to prevent warnings.
96 Reported by Roland McGrath.
98 * posix/regex.c: Define namespace macros only for _LIBC.
100 * sysdeps/arm/dl-machine.h: Fix typo.
102 * sysdeps/unix/sysv/sysv4/solaris2/sigpending.c: New file.
103 * sysdeps/unix/sysv/sysv4/solaris2/sigstack.c: New file.
104 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: New file.
105 * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: Add sigaltstack,
106 sigpending, sigqueue, and sigtimedwait.
107 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sparc32/syscall.S: New file.
109 * timezone/leapseconds: Update from tzdata1998f.
111 1998-07-18 Mark Kettenis <kettenis@phys.uva.nl>
113 * stdio/stdio.h [__USE_GNU]: Add prototype for fputs_unlocked.
114 * stdio/Versions [GLIBC_2.1]: Add fputs_unlocked.
115 * libio/stdio.h: Fix typo.
117 1998-07-19 Roland McGrath <roland@baalperazim.frob.com>
119 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): #if 0 out the
120 magic memobj port arg parsing stuff. Fix it someday when we are ready
122 (_dl_sysdep_output): New function, modified from _dl_sysdep_error.
123 (_dl_sysdep_error, _dl_sysdep_message, _dl_sysdep_fatal): Removed.
125 1998-07-19 Roland McGrath <roland@baalperazim.frob.com>
127 * stdio/fputs.c: Add fputs_unlocked as weak alias for fputs.
129 1998-07-19 Roland McGrath <roland@baalperazim.frob.com>
131 * sysdeps/posix/sigsuspend.c: Define __sigsuspend with sigsuspend as
133 * sysdeps/mach/hurd/sigsuspend.c: Likewise.
134 * sysdeps/generic/sigsuspend.c: Likewise.
136 1998-07-19 Roland McGrath <roland@baalperazim.frob.com>
138 * sysdeps/mach/hurd/i386/sigcontextinfo.h: New file.
140 1998-07-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
142 * Makerules (map-file): Don't use $(wildcard) to find the
143 generated version script, instead look in $(version-maps).
144 ($(common-objpfx)libc.so): Only depend on libc.map if versioning
146 * extra-lib.mk ($(objpfx)$(lib).so): Only depend on version script
147 if versioning is used. Don't use $(wildcard) to find the
148 generated version script, instead look in $(verson-maps).
150 1998-07-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
152 * sysdeps/generic/segfault.c: Rename GET_EIP to GET_PC. Remove
153 unused function handle.
154 * sysdeps/generic/sigcontextinfo.h: Rename GET_EIP to GET_PC.
155 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
156 * debug/catchsegv.sh: Fix argument processing, quoting and various
157 typos. Put the crash info always in the current directory. Find
158 program in $PATH if it contains no directory component.
159 * Makerules (install-lib.so-versioned,
160 install-lib.so-unversioned): New variables.
161 (install-lib-nosubdir): Depend on unversioned libs in
164 1998-07-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
166 * Make-dist (+tsrcs): Remove references to %-map variables and
167 *.map files. Add Versions in subdirs.
168 * Makerules (distinfo-vars): Don't write out %-map variables.
170 1998-07-20 13:55 Ulrich Drepper <drepper@cygnus.com>
172 * inet/protocols/rwhod.h: Remove definition of _PATH_RWHODIR.
173 Include <paths.h> instead.
174 * sysdeps/generic/paths.h: Define _PATH_RWHODIR.
175 * sysdeps/unix/sysv/linux/paths.h: Likewise.
176 Reported by Dale Scheetz <dwarf@polaris.net>.
178 1998-07-17 21:44 Ulrich Drepper <drepper@cygnus.com>
180 * catgets/open_catalog.c: Strictly check whether catalog file is
181 larger enough for the data. Reported by Andries.Brouwer@cwi.nl.
183 1998-07-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
185 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: New file.
187 * sysdeps/unix/sysv/linux/m68k/socket.S: Support NO_WEAK_ALIAS.
189 1998-07-17 Ulrich Drepper <drepper@cygnus.com>
191 * debug/catchsegv.sh: Fix several stupid bugs.
193 * shlib-versions: Define version for libSegFault.
194 * debug/Makefile: Replace shared lib version number while rewriting.
196 1998-07-17 Mark Kettenis <kettenis@phys.uva.nl>
198 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Add sanity check.
199 Suggested by Roland McGrath.
201 1998-07-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
203 * timezone/Makefile: Remove '-L (leapseconds)' for testdata
204 generation to control environment.
206 1998-07-17 09:21 Ulrich Drepper <drepper@cygnus.com>
208 * sysdeps/unix/sysv/sysv4/solaris2/bits/signum.h: Define SIG_HOLD.
209 Patch by John Tobey <jtobey@banta-im.com>.
211 * manual/llio.texi: Document readv/writev and mmap functions.
212 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
214 1998-07-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
216 * manual/Makefile (texis): Depend on texis.awk.
217 (nonexamples): Filter out add-on chapters.
218 (chapters.% top-menu.%): Depend on libc-texinfo.sh.
219 (stamp-summary): Depend on $(texis) except summary.texi.
220 ($(inst_infodir)/libc.info): Simplify command.
221 * manual/libc-texinfo.sh: Cleaned up to use less temporary files.
222 Fix the generation of the detailed node listing to make it
224 * manual/math.texi: Fix signature of lgamma_r.
226 1998-07-16 23:06 Ulrich Drepper <drepper@cygnus.com>
228 * debug/Makefile (distribute): Add sigcontextinfo.h.
229 Add rules to generate and install catchsegv.
230 * debug/catchsegv.sh: New file.
232 1998-07-16 Mark Kettenis <kettenis@phys.uva.nl>
234 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Return a Hurd I/O
235 port instead of a Mach memory object.
237 (__libc_read): New function.
238 (__mmap): Change to take a Hurd I/O port instead of a Mach memory
241 1998-07-16 20:01 Ulrich Drepper <drepper@cygnus.com>
243 * debug/Makefile (routines): Add backtracesymsfd.
244 Add rules to generate libSegFault.
245 * debug/Versions: Add __backtrace_symbols_fd and backtrace_symbols_fd.
246 * debug/execinfo.h: Declare backtrace_symbols_fd.
247 * sysdeps/generic/backtracesymsfd.c: New file.
248 * sysdeps/generic/elf/backtracesymsfd.c: New file.
249 * sysdeps/generic/segfault.c: New file.
250 * sysdeps/generic/sigcontextinfo.h: New file.
251 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: New file.
253 * sysdeps/generic/elf/backtracesyms.c: Remove unneeded +.
255 1998-07-16 19:27 Ulrich Drepper <drepper@cygnus.com>
257 * elf/rtld.c (process_envvars): Also recognize on as LD_BIND_NOW value.
258 (process_envvars): Append .PID to LD_DEBUG_OUTPUT file name.
260 1998-07-16 13:44 Ulrich Drepper <drepper@cygnus.com>
262 * argp/argp-fmtstream.c: Fix warnings introduced in last change.
263 * assert/assert-perr.c: Likewise.
264 * assert/assert.c: Likewise.
265 * gconv_conf.c: Likewise.
266 * libio/iofputs_u.c: Likewise.
267 * malloc/mtrace.c: Likewise.
268 * malloc/obstack.c: Likewise.
269 * misc/error.c: Likewise.
270 * misc/syslog.c: Likewise.
271 * stdio-common/asprintf.c: Likewise.
272 * stdio-common/dprintf.c: Likewise.
273 * stdio-common/getw.c: Likewise.
274 * stdio-common/putw.c: Likewise.
275 * stdio-common/snprintf.c: Likewise.
276 * stdio-common/sprintf.c: Likewise.
277 * stdio-common/sscanf.c: Likewise.
278 * sunrpc/svc_simple.c: Likewise.
279 * sysdeps/generic/abort.c: Likewise.
281 * rt/aio_cancel.c: Don't define ECANCELED here.
282 * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED correctly.
284 1998-07-16 10:23 Ulrich Drepper <drepper@cygnus.com>
286 * argp/argp-fmtstream.c: Unify names of used global functions.
287 * argp/argp-help.c: Likewise.
288 * assert/assert-perr.c: Likewise
289 * assert/assert.c: Likewise
290 * dirent/scandir.c: Likewise
291 * dirent/scandir64.c: Likewise
292 * dirent/versionsort.c: Likewise
293 * dirent/versionsort64.c: Likewise
294 * gmon/bb_exit_func.c: Likewise.
295 * gmon/gmon.c: Likewise.
296 * grp/initgroups.c: Likewise.
297 * iconv/gconv_conf.c: Likewise.
298 * inet/getnameinfo.c: Likewise.
299 * inet/getnetgrent_r.c: Likewise.
300 * inet/inet_ntoa.c: Likewise.
301 * inet/rcmd.c: Likewise.
302 * inet/rexec.c: Likewise.
303 * inet/ruserpass.c: Likewise.
304 * io/fts.c: Likewise.
305 * io/ftw.c: Likewise.
306 * io/ftw64.c: Likewise.
307 * io/getdirname.c: Likewise.
308 * io/getwd.c: Likewise.
309 * io/lockf.c: Likewise.
310 * libio/iofdopen.c: Likewise.
311 * libio/iopopen.c: Likewise.
312 * login/utmp_daemon.c: Likewise.
313 * malloc/mtrace.c: Likewise.
315 * misc/daemon.c: Likewise.
316 * misc/efgcvt_r.c: Likewise.
317 * misc/err.c: Likewise.
318 * misc/error.c: Likewise.
319 * misc/fstab.c: Likewise.
320 * misc/getpass.c: Likewise.
321 * misc/getttyent.c: Likewise.
322 * misc/mntent_r.c: Likewise.
323 * misc/search.h: Likewise.
324 * misc/syslog.c: Likewise.
325 * nscd/nscd_getgr_r.c: Likewise.
326 * nscd/nscd_getpw_r.c: Likewise.
327 * posix/getpgrp.c: Likewise.
328 * posix/wordexp.c: Likewise.
329 * pwd/fgetpwent_r.c: Likewise.
330 * pwd/getpw.c: Likewise.
331 * resolv/herror.c: Likewise.
332 * resolv/res_init.c: Likewise.
333 * shadow/fgetspent_r.c: Likewise.
334 * shadow/lckpwdf.c: Likewise.
335 * signal/sigrelse.c: Likewise.
336 * stdio-common/asprintf.c: Likewise.
337 * stdio-common/dprintf.c: Likewise.
338 * stdio-common/getw.c: Likewise.
339 * stdio-common/putw.c: Likewise.
340 * stdio-common/snprintf.c: Likewise.
341 * stdio-common/sprintf.c: Likewise.
342 * stdio-common/sscanf.c: Likewise.
343 * stdlib/lrand48_r.c: Likewise.
344 * stdlib/mrand48_r.c: Likewise.
345 * string/argz-replace.c: Likewise.
346 * string/envz.c: Likewise.
347 * sunrpc/auth_des.c: Likewise.
348 * sunrpc/auth_unix.c: Likewise.
349 * sunrpc/bindrsvprt.c: Likewise.
350 * sunrpc/clnt_gen.c: Likewise.
351 * sunrpc/clnt_perr.c: Likewise.
352 * sunrpc/clnt_simp.c: Likewise.
353 * sunrpc/clnt_tcp.c: Likewise.
354 * sunrpc/clnt_udp.c: Likewise.
355 * sunrpc/get_myaddr.c: Likewise.
356 * sunrpc/key_call.c: Likewise.
357 * sunrpc/netname.c: Likewise.
358 * sunrpc/openchild.c: Likewise.
359 * sunrpc/pmap_rmt.c: Likewise.
360 * sunrpc/rpc_dtable.c: Likewise.
361 * sunrpc/rtime.c: Likewise.
362 * sunrpc/svc_run.c: Likewise.
363 * sunrpc/svc_simple.c: Likewise.
364 * sunrpc/svc_tcp.c: Likewise.
365 * sunrpc/svc_udp.c: Likewise.
366 * sunrpc/svcauth_des.c: Likewise.
367 * sunrpc/xdr_array.c: Likewise.
368 * sunrpc/xdr_rec.c: Likewise.
369 * sunrpc/xdr_ref.c: Likewise.
370 * sunrpc/xdr_stdio.c: Likewise.
371 * sysdeps/generic/abort.c: Likewise.
372 * sysdeps/generic/dl-sysdep.c: Likewise.
373 * sysdeps/generic/fstatfs64.c: Likewise.
374 * sysdeps/generic/ftruncate64.c: Likewise.
375 * sysdeps/generic/getrlimit64.c: Likewise.
376 * sysdeps/generic/glob.c: Likewise.
377 * sysdeps/generic/prof-freq.c: Likewise.
378 * sysdeps/generic/putenv.c: Likewise.
379 * sysdeps/generic/statfs64.c: Likewise.
380 * sysdeps/generic/ttyname_r.c: Likewise.
381 * sysdeps/generic/utmp_file.c: Likewise.
382 * sysdeps/generic/vlimit.c: Likewise.
383 * sysdeps/generic/vtimes.c: Likewise.
384 * sysdeps/posix/cuserid.c: Likewise.
385 * sysdeps/posix/euidaccess.c: Likewise.
386 * sysdeps/posix/mkstemp.c: Likewise.
387 * sysdeps/posix/mktemp.c: Likewise.
388 * sysdeps/posix/pread.c: Likewise.
389 * sysdeps/posix/pread64.c: Likewise.
390 * sysdeps/posix/profil.c: Likewise.
391 * sysdeps/posix/pwrite.c: Likewise.
392 * sysdeps/posix/pwrite64.c: Likewise.
393 * sysdeps/posix/sigblock.c: Likewise.
394 * sysdeps/posix/sigpause.c: Likewise.
395 * sysdeps/posix/ttyname.c: Likewise.
396 * sysdeps/posix/ttyname_r.c: Likewise.
397 * sysdeps/posix/waitid.c: Likewise.
398 * sysdeps/unix/getlogin_r.c: Likewise.
399 * sysdeps/unix/grantpt.c: Likewise.
400 * sysdeps/unix/rewinddir.c: Likewise.
401 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
402 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
403 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
404 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
405 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
406 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
407 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
408 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
409 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
410 * sysdeps/unix/sysv/linux/unlockpt.c: Likewise.
411 * sysvipc/sys/shm.h: Likewise.
412 * time/ctime_r.c: Likewise.
413 * time/strptime.c: Likewise.
414 * wcsmbs/mbrlen.c: Likewise.
415 * wcsmbs/wcsdup.c: Likewise.
416 * wcsmbs/wcsxfrm.c: Likewise.
417 * wctype/wcfuncs.c: Likewise.
419 * sysdeps/unix/sysv/linux/i386/socker.S: Change to honor NO_WEAK_ALIAS.
420 * sysdeps/unix/sysv/linux/accept.S: Don't generate __ name.
421 * sysdeps/unix/sysv/linux/bind.S: Likewise.
422 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
423 * sysdeps/unix/sysv/linux/listen.S: Likewise.
424 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
425 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
426 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
428 * grp/fgetgrent_r.c: Use explicit locking of the stream.
430 * elf/Makefile (rtld-routines): Add dl-environ.
431 * sysdeps/generic/dl-sysdep.c: Move _dl_next_ld_env_entry and unsetenv
433 * sysdeps/generic/dl-environ.c: here. New file.
435 * libio/Makefile [REENTRANT] (routines): Add iofputs_u.
436 * libio/Versions: Add fputs_unlocked.
437 * libio/iofputs_u.c: New file.
438 * libio/stdio.h: Add prototype for fputs_unlocked.
440 * sunrpc/rpc/auth.h: Use __PMT instead of __P in type definitions.
441 * sunrpc/rpc/clnt.h: Likewise.
442 * sunrpc/rpc/pmap_clnt.h: Likewise.
443 * sunrpc/rpc/svc.h: Likewise.
444 * sunrpc/rpc/xdr.h: Likewise.
446 * sysdeps/i386/memchr.S: Correct for more strict gas.
447 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
448 * sysdeps/libm-i387/i686/s_fdim.S: Likewise.
449 * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
450 * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
452 1998-07-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
454 * configure.in: Change message for binutils version from
455 2.8.1.0.17->2.8.1.0.23.
457 1998-07-15 Ulrich Drepper <drepper@cygnus.com>
459 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Define LOC.
460 Patch by John Tobey <jtobey@banta-im.com>.
462 1998-07-14 Ulrich Drepper <drepper@cygnus.com>
464 * sunrpc/auth_unix.c (authunix_create_default): Use __sysconf
467 1998-07-14 19:39 Ulrich Drepper <drepper@cygnus.com>
469 * stdio-common/vfscanf.c (ungetc): Use _IO_sputbackc, not _IO_ungetc.
470 [_USE_IN_LIBIO] (encode_error): Free cancelation handler.
471 (conv_error): Likewise.
472 (input_error): Likewise.
473 (memory_error): Likewise.
475 1998-07-12 Mark Kettenis <kettenis@phys.uva.nl>
477 * sysdeps/mach/hurd/dl-sysdep.c: Bring in sync with generic
478 implementation. Include <entry.h>. Replace references to symbol
479 _start with macro ENTRY_POINT.
480 (__libc_uid): Remove.
481 (__libc_multiple_libcs): New variable.
482 (__libc_stack_end): New variable.
483 (_dl_hwcap_mask): New variable.
484 (_dl_important_hwcaps): New function.
485 (_dl_show_auxv): Mark internal.
487 1998-07-14 Mark Kettenis <kettenis@phys.uva.nl>
489 * mach/Makefile: Create target directory before generating
491 * mach/Machrules: Invoke awk using AWK variable. Create target
492 directory before generating server stubs.
494 1998-07-14 Ulrich Drepper <drepper@cygnus.com>
496 * wcsmbs/wcslen.c (__wcslen): Fix comment.
498 * configure.in: Allow egcs-2.92.
500 1998-07-10 18:14 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
502 * manual/Makefile: Overhauled. Generate libc.texinfo from the
503 chapter files. Exorcise the chapters, chapters-incl mess.
504 Support inserting doc chapters from add-on modules.
505 (chapters): New variable.
506 (add-chapters): New variable.
507 (appendices): New variable.
508 (libc.texinfo): New target.
510 (realclean): Fix bugs.
512 * manual/texis.awk: New file.
513 * manual/libc-texinfo.sh: New file.
514 * manual/libc-texinfo.in: New file.
516 * manual/conf.texi (top @node): Remove next pointer.
517 * manual/lang.texi (top @node): Remove prev pointer.
519 * manual/job.texi (top @node): Add explicit pointers.
520 * manual/message.texi (top @node): Add explicit pointers.
521 * manual/nss.texi (top @node): Add explicit pointers.
522 * manual/process.texi (top @node): Add explicit pointers.
523 * manual/startup.texi (top @node): Add explicit pointers.
524 * manual/terminal.texi (top @node): Add explicit pointers.
525 * manual/users.texi (top @node): Add explicit pointers.
527 * manual/arith.texi: Add %MENU% tag.
528 * manual/conf.texi: Add %MENU% tag.
529 * manual/contrib.texi: Add %MENU% tag.
530 * manual/ctype.texi: Add %MENU% tag.
531 * manual/errno.texi: Add %MENU% tag.
532 * manual/filesys.texi: Add %MENU% tag.
533 * manual/header.texi: Add %MENU% tag.
534 * manual/install.texi: Add %MENU% tag.
535 * manual/intro.texi: Add %MENU% tag.
536 * manual/io.texi: Add %MENU% tag.
537 * manual/job.texi: Add %MENU% tag.
538 * manual/lang.texi: Add %MENU% tag.
539 * manual/llio.texi: Add %MENU% tag.
540 * manual/locale.texi: Add %MENU% tag.
541 * manual/maint.texi: Add %MENU% tag.
542 * manual/math.texi: Add %MENU% tag.
543 * manual/mbyte.texi: Add %MENU% tag.
544 * manual/memory.texi: Add %MENU% tag.
545 * manual/message.texi: Add %MENU% tag.
546 * manual/nss.texi: Add %MENU% tag.
547 * manual/pattern.texi: Add %MENU% tag.
548 * manual/pipe.texi: Add %MENU% tag.
549 * manual/process.texi: Add %MENU% tag.
550 * manual/search.texi: Add %MENU% tag.
551 * manual/setjmp.texi: Add %MENU% tag.
552 * manual/signal.texi: Add %MENU% tag.
553 * manual/socket.texi: Add %MENU% tag.
554 * manual/startup.texi: Add %MENU% tag.
555 * manual/stdio.texi: Add %MENU% tag.
556 * manual/string.texi: Add %MENU% tag.
557 * manual/sysinfo.texi: Add %MENU% tag.
558 * manual/terminal.texi: Add %MENU% tag.
559 * manual/time.texi: Add %MENU% tag.
560 * manual/users.texi: Add %MENU% tag.
562 1998-07-13 Ulrich Drepper <drepper@cygnus.com>
564 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
567 1998-07-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
569 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Use ANSI
570 style declaration to avoid warning.
571 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
573 1998-07-04 Mark Kettenis <kettenis@phys.uva.nl>
575 * elf/rtld.c (process_dl_debug): Add missing continue.
577 1998-07-12 Mark Kettenis <kettenis@phys.uva.nl>
579 * elf/rtld.c (_dl_skip_args): Make global because the Hurd startup
582 1998-07-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
584 * Makeconfig ($(common-objpfx)sysd-dirs): Write out definition of
586 * Makerules: Don't generate version maps too early.
587 ($(common-objpfx)sysd-versions): Force regeneration if the list of
590 1998-07-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
592 * elf/dlfcn.h (DL_CALL_FCT): Use portable comma expression.
594 1998-07-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
596 * iconv/gconv_db.c (gen_steps): Always set *handle and *nsteps.
597 * iconv/gconv_dl.c (__gconv_find_shlib): Correct use of tfind
600 1998-07-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
602 * elf/dl-open.c (dl_open_worker): New function.
603 (_dl_open): Call it to do the actual work while catching errors.
604 * elf/dl-close.c (_dl_close): Only call termination function if
605 the initialisation function was called.
607 1998-07-13 Ulrich Drepper <drepper@cygnus.com>
609 * libio/libioP.h (_IO_cleanup_registration_needed): Use __PMT.
610 Reported by Felix von Leitner <leitner@amdiv.de>.
612 1998-07-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
614 * Make-dist (+sysdep-tsrcs): Add Versions.
616 1998-07-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
618 * math/Versions: Remove __log1p, __atan2, __fe_dfl_env,
619 __fe_enabled_env, __fe_nonieee_env and __fe_nomask_env.
620 * sysdeps/powerpc/Versions: New file.
621 * csu/Versions: Remove brk, sbrk, environ, __environ, _environ
622 and __errno_location.
623 * misc/Versions: Add brk and sbrk.
624 * posix/Versions: Add environ, __environ and _environ.
625 * sysdeps/unix/sysv/linux/Versions: Add __errno_location.
627 1998-07-10 11:58 Ulrich Drepper <drepper@cygnus.com>
629 * Makerules [no_defs]: Avoid dependency for loading sysd-versions.
630 Patch by Zack Weinberg.
632 1998-07-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
634 * posix/annexc.c (errno_maybe): EACCESS->EACCES.
635 (signal_maybe): Remove duplicate entry SIGEV_SIGNAL.
636 (mman_maybe): Remove duplicates MS_ASYNC, MS_INVALIDATE.
638 1998-07-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
640 * sysdeps/unix/sysv/linux/bits/fcntl.h: Fix typo.
642 1998-07-09 Ulrich Drepper <drepper@cygnus.com>
644 * posix/unistd.h: Simplify #ifdefs.
646 * libio/libio.h: Undo last change due to possible C++ problems.
647 * libio/fileops.h: Likewise.
649 1998-07-09 13:34 Ulrich Drepper <drepper@cygnus.com>
651 * grp/grp.h: Define gid_t also for __USE_XOPEN.
652 * io/fcntl.h: Include <sys/stat.h> also for __USE_XOPEN.
653 * io/utime.h: Define time_t also for __USE_XOPEN.
654 * io/sys/stat.h: Define time_t also for __USE_XOPEN.
655 Define *_t types except for pid_t also for __USE_XOPEN.
656 Define S_* macros also for __USE_XOPEN.
657 * locale/langinfo.h: Define CODESET, CRNCYSTR, RADIXCHAR, and
658 THOUSEP also for __USE_XOPEN.
659 * math/math.c: Define M_* macros also for __USE_XOPEN.
660 * math/bits/mathcalls.h: Declare hypot also for __USE_XOPEN.
661 * posix/fnmatch.h: Define FNM_NOSYS and for if _XOPEN_SOURCE is
663 * posix/glob.h: Likewise for GLOB_NOSYS.
664 * posix/regex.h: Likewise for REG_NOSYS.
665 * posix/wordexp.h: Likewise for WRDE_NOSYS.
666 * posix/unistd.h: Define *_t types also for __USE_XOPEN.
667 * posix/sys/wait.h: Define pid_t for __USE_XOPEN.
668 * pwd/pwd.h: Define gid_t and pid_t also for __USE_XOPEN.
669 * signal/signal.h: Define pid_t also for __USE_XOPEN.
670 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define _RSYNC and O_DSYNC also
671 for __USE_POSIX199309.
672 * sysdeps/unix/sysv/linux/bits/termios.h: Define the various B*
673 constants also for __USE_XOPEN.
674 * wcsmbs/wchar.h: For XPG4 include wctype.h.
676 * intl/dcgettext.c (find_msg): Initialize act to prevent warning.
677 * locale/setlocale.c (new_composite_name): Likewise for last_len.
679 * libio/stdio.h: Don't declare fclose_unlocked.
681 * sysdeps/posix/fpathconf.c: Handle _PC_FILESIZEBITS.
683 1998-07-08 Mark Kettenis <kettenis@phys.uva.nl>
685 * stdio/stdio.h: Add prototypes for fflush_unlocked,
686 getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked,
687 fgets_unlocked, fread_unlocked, fwrite_unlocked,
688 clearerr_unlocked, feof_unlocked, ferror_unlocked,
689 fileno_unlocked, flockfile, ftrylockfile, funlockfile.
690 [__USE_XOPEN && !__USE_GNU] Declare optarg, optind, opterr. Add
691 prototype for getopt.
692 * stdio/clearerr.c (clearerr_unlocked): Weak alias for clearerr.
693 * stdio/feof.c (feof_unlocked): Weak alias for feof.
694 * stdio/ferror.c (ferror_unlocked): Weak alias for ferror.
695 * stdio/fflush.c (fflush_unlocked): Weak alias for fflush.
696 * stdio/fgets.c (fgets_unlocked): Weak alias for fgets.
697 * stdio/fileno.c (fileno_unlocked): Weak alias for fileno.
698 * stdio/fputc.c (fputc_unlocked): Weak alias for fputc.
699 * stdio/fread.c (fread_unlocked): Weak alias for fread.
700 * stdio/fwrite.c (fwrite_unlocked): Weak alias for fwrite.
701 * stdio/getc.c (getchar_unlocked): Weak alias for getc.
702 * stdio/getchar.c (getchar_unlocked): Weak alias for getchar.
703 * stdio/putc.c (putc_unlocked): Weak alias for putc.
704 * stdio/putchar.c (putchar_unlocked): Weak alias for putchar.
705 * stdio/Versions [GLIBC_2.1]: Add clearerr_unlocked,
706 feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked,
707 fileno_unlocked, fputc_unlocked, fread_unlocked, fwrite_unlocked,
708 getc_unlocked, getchar_unlocked, putc_unlocked and
711 * libio/Versions: Move flockfile, ftrylockfile and funlockfile
713 * stdio-common/Versions: ... to here.
715 1998-07-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
717 * Makerules (versioning): Correct typo.
719 1998-07-08 22:18 Ulrich Drepper <drepper@cygnus.com>
721 * elf/Versions: Add _dl_mcount_wrapper_check.
722 * elf/dlfcn.h (DL_CALL_FCT): Don't test _dl_profile_map, simply use
723 _dl_mcount_wrapper_check.
724 * iconv/skeleton.c: Use DL_CALL_FCT, not _CALL_DL_FCT.
726 * elf/dl-reloc.c (_dl_relocate_object): Don't declare using
728 * elf/ldsodefs.h: Likewise.
730 * io/fcntl.h: Define SEEK_SET, SEEK_CUR, and SEEK_END.
732 * libio/stdio.h: Make sure va_list is defined for X/Open.
733 Define P_tmpdir for X/Open.
735 * posix/regex.h: Fix typo.
737 * posix/unistd.h: Define intptr_t if not already happened.
738 Add pthread_atfork prototype.
739 * sysdeps/generic/bits/types.h: Define __intptr_t.
740 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
741 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
742 * sysdeps/unix/sysv/linux/bits/mips/types.h: Likewise.
743 * sysdeps/unix/sysv/linux/bits/sparc/sparc64/types.h: Likewise.
744 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
745 * sysdeps/wordsize-32/stdint.h: Don't define intptr_t if already done.
746 * sysdeps/wordsize-64/stdint.h: Likewise.
748 * posix/bits/posix1_lim.h: Define _POSIX_CLOCKRES_MIN.
750 * signal/Makefile (headers): Add bits/sigthread.h.
751 * signal/signal.h: Include bits/sigthread.h.
752 * sysdeps/generic/bits/sigthread.h: New file.
754 * stdlib/stdlib.h: Declare rand_r use __USE_POSIX.
756 * sysdeps/generic/bits/confname.h: Define _PC_FILESIZEBITS.
757 * sysdeps/posix/pathconf.c: Handle _PC_FILESIZEBITS.
758 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: New file.
759 * sysdeps/unix/sysv/linux/alpha/pathconf.c: New file.
761 * sysdeps/generic/bits/dlfcn.h: Define RTLD_LOCAL.
763 * elf/rtld.c: Remove preloading and loadpath variables in SUID
765 * sysdeps/generic/dl-sysdep.c: Define unsetenv.
766 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Define other envvar
769 * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED.
771 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_RSYNC and O_DSYNC.
772 Remove O_READ and O_WRITE definition.
774 * sysdeps/unix/sysv/linux/bits/resource.h: Define RLIM_SAVED_MAX
777 * sysdeps/unix/sysv/linux/fstatvfs.h: Handle UFS filesystem.
779 1998-07-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
781 * Makerules ($(common-objpfx)sysd-versions): Expect awk script in
782 scripts directory. Pass move-if-change to awk.
783 (common-generated): Add $(version-maps) and sysd-versions.
784 * versions.awk: Moved to...
785 * scripts/versions.awk: ... here. Use move-if-change to void
786 touching unchanged files. Print "version-maps = ..." instead of
787 "all-version-maps = ..." and without $(common-objpfx). Explain
788 expected variable names.
789 * Makefile (distribute): Updated.
791 1998-07-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
793 * misc/getttyent.c (getttyent): Don't return with locked stream.
794 * misc/mntent_r.c (__getmntent_r): Likewise.
796 1998-07-07 18:24 Ulrich Drepper <drepper@cygnus.com>
798 * libio/fileops.c (_IO_do_write): Don't shrink wwrite buffer to zero
799 if stream is line buffered.
800 (_io_file_overflow): Likewise.
801 * libio/libio.h (_IO_putc_unlocked): Make sure that for line-buffered
802 streams writing '\n' flushes the string.
804 1998-07-07 17:28 Ulrich Drepper <drepper@cygnus.com>
806 * elf/dl-profstub.c (_dl_profile_map): Only declare variable here.
807 * elf/dl-support.c: Define it here...
808 * elf/rtld.c: ...and here.
810 1998-07-07 16:28 Ulrich Drepper <drepper@cygnus.com>
812 * grp/initgroups.c: Handle directives from nsswitch.conf file.
814 1998-07-07 Ulrich Drepper <drepper@cygnus.com>
816 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Add
817 __ino64_t definition.
818 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Define
819 __off64_t. Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
821 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell
822 script if lddlibc4 failed.
823 Reported by B. D. Elliott <bde@accessone.com>.
825 1998-07-06 Ulrich Drepper <drepper@cygnus.com>
827 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
828 Improve generated strings a bit.
830 1998-07-06 14:36 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
832 * posix/Makefile (generated): Remove $(objpfx) from the names.
834 1998-07-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
836 * stdio-common/test_rdwr.c: Use %Zu for size_t in printf
839 * libio/iofread_u.c: Include <stdio.h> for prototype.
840 * libio/iofwrite_u.c: Likewise.
842 1998-07-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
844 * db2/Versions: New file.
846 1998-07-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
848 * Makefile (lib-noranlib): Don't depend on sysd-versions.
849 ($(common-objpfx)sysd-versions): Remove rule.
850 * Makerules ($(common-objpfx)sysd-versions): Define here instead.
851 Pass name of Versions.def file to script and redirect output to
852 target. Include it and make all generated version maps depend on
854 * versions.awk: Print out variable definition containing all
855 generated version maps. Print error messages to stderr. Remove
858 1998-07-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
860 * posix/annexc.c (check_header): Terminate macro name before
862 (get_null_defines): Allow builtin macros with parameters.
863 (fmt, testfmt): Add -D_LIBC.
864 * posix/Makefile: Remove bogus duplicate include directories from
867 1998-07-06 12:04 Ulrich Drepper <drepper@cygnus.com>
869 * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Handle adjunct
871 (_nss_nis_getpwnam_r): Likewise.
872 (_nss_nis_getpwuid_r): Likewise.
874 1998-07-05 Mark Kettenis <kettenis@phys.uva.nl>
876 * libio/Versions: Move symbols whose source lives in
878 * stdio-common/Versions: ... here.
879 * stdio/Versions: Add missing symbols.
881 1998-07-05 Ulrich Drepper <drepper@cygnus.com>
883 * sysdeps/unix/sysv/linux/__sendmsg.S: Define function as
885 * sysdeps/unix/sysv/linux/__recvmsg.S: Define function as
887 * sysdeps/unix/sysv/linux/recvmsg.c: Define function as __libc_recvmsg
888 and make __recvmsg and recvmsg weak aliases.
889 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise for sendmsg.
890 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define __syscall_recvmsg
891 and __syscall_sendmsg.
893 1998-07-05 11:49 Ulrich Drepper <drepper@cygnus.com>
895 * iconv/gconv_conf.c (read_conf_file): Use feof_unlocked on private
897 * inet/ruserpass.c (token): Likewise.
898 * nss/nsswitch.c (nss_parse_file): Likewise.
899 * intl/localealias.c: Likewise. Also for ferror.
900 * time/getdate.c (__getdate_r): Likewise.
902 * libio/Makefile (routines): Add iofgets_u.
903 * libio/iofgets_u.c: New file.
904 * libio/Versions: Add fgets_unlocked.
905 * libio/stdio.h: Add prototype for fgets_unlocked.
907 * misc/getttyent.c (getttyent): Use fgets_unlocked instead of fgets.
908 * misc/getusershell.c (initshells): Likewise.
909 * misc/mntent_r.c (__getmntent_r): Explicitly lock stream. Use
911 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
912 * resolv/res_init.c (res_init): Likewise.
913 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
915 1998-05-23 Philip Blundell <Philip.Blundell@pobox.com>
917 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add `syscall'.
918 * sysdeps/unix/sysv/linux/arm/syscall.S: Deleted.
920 1998-07-05 Ulrich Drepper <drepper@cygnus.com>
922 * misc/getttyent.c (getttyent): Explicitly lock the FILE and use
925 * inet/ruserpass.c (ruserpass): Use _unlocked functions since this
928 1998-07-04 17:11 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
930 * csu/Makefile: Build crt files in lib pass.
931 * db2/Makefile (distribute): Add mutex/sco.cc.
932 * mach/Machrules: Don't generate .udeps files if no_deps is set.
933 * sysdeps/unix/Makefile: Don't generate sysd-syscalls or
934 s-proto.d if avoid-generated is set.
936 * sysdeps/alpha/Dist: List only one file per line.
937 * sysdeps/generic/Dist: Likewise.
938 * sysdeps/m68k/fpu/switch/Dist: Likewise.
939 * sysdeps/sparc/sparc32/Dist: Likewise.
940 * sysdeps/unix/Dist: Likewise.
941 * sysdeps/unix/sysv/irix4/Dist: Likewise.
943 * sysdeps/mach/hurd/i386/Dist: New file.
944 * sysdeps/generic/Dist: Add endutxent.c, getutxent.c, getutxid.c,
945 getutxline.c, pututxline.c, setutxent.c, updwtmpx.c, and utmpxname.c.
946 * sysdeps/unix/sysv/linux/Dist: Add getresuid.c and getresgid.c.
947 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove __sigtrampoline.S.
949 1998-07-04 10:14 Ulrich Drepper <drepper@cygnus.com>
951 * libio/Makefile (routines): Add iofread_u and iofwrite_u.
952 * libio/Versions: Add fread_unlocked and fwrite_unlocked.
954 * Makerules (lib%.so): Adjust ignore pattern for last makefile change.
956 * time/tzfile.c (decode): Optimize by using bswap_32.
957 (__tzfile_read): Use _unlocked stream functions. Correct setting of
958 __tzname array values.
959 (__tzfile_compute): Correct setting of __tzname array values.
960 * time/tzset.c (__tzstring): Clean up a bit.
962 1998-06-29 19:01 Jim Wilson <wilson@cygnus.com>
964 * posix/regex.c (re_comp): Add cast to char * before gettext calls.
966 1998-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
968 * sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so
969 that fd can be bigger than FD_SETSIZE.
971 1998-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
973 * nscd/grpcache.c: Include <unistd.h>.
974 * nscd/pwdcache.c: Likewise.
976 * nis/nis_modify.c: Include <string.h>.
977 * nis/nis_add.c: Likewise.
978 * nis/nis_checkpoint.c: Likewise.
979 * posix/runptests.c: Likewise.
980 * sysdeps/generic/statvfs64.c: Likewise.
981 * sysdeps/generic/fstatvfs64.c: Likewise.
983 1998-07-03 13:16 Ulrich Drepper <drepper@cygnus.com>
985 * localedata/charmaps/ISO-8859-9: Change mapping for 0xea, 0xec, 0xef
986 to match data from Unicode.
987 Reported by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
989 1998-07-03 11:45 Ulrich Drepper <drepper@cygnus.com>
991 * stdio-common/printf.h: Define printf_function and
992 printf_arginfo_function types using __PMT not __P.
993 Reported by Marc Lehmann.
995 1998-07-02 14:07 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
997 * assert/test-assert.c: New test.
998 * assert/test-assert-perr.c: New test.
999 * assert/Makefile (tests): Add test-assert and test-assert-perr.
1001 1998-07-02 13:45 Zack Weinberg <zack@rabi.phys.columbia.edu>
1003 BSD-style SCM_CREDS support.
1005 * sysdeps/unix/sysv/linux/socket.h: Define struct cmsgcred and
1007 * sysdeps/unix/sysv/linux/sendmsg.c: New file. Convert user
1008 visible SCM_CREDS packet to what the kernel wants.
1009 * sysdeps/unix/sysv/linux/recvmsg.c: New file. Convert
1010 SCM_CREDS packet output by kernel to what users want.
1012 * sysdeps/unix/sysv/linux/sendmsg.S: Moved to...
1013 * sysdeps/unix/sysv/linux/__sendmsg.S: here.
1014 * sysdeps/unix/sysv/linux/recvmsg.S: Moved to...
1015 * sysdeps/unix/sysv/linux/__recvmsg.S: here.
1017 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]: Add
1018 __sendmsg and __recvmsg to sysdep_routines.
1019 * sysdeps/unix/sysv/linux/Dist: Add __sendmsg.S and __recvmsg.S.
1021 1998-07-02 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1023 * nscd/grpcache.c: Fix gid pointer handling and debug messages.
1024 * nscd/pwdcache.c: Fix uid pointer handling and debug messages.
1025 * nscd/nscd.c: Check, if pthread_create fails.
1027 1998-07-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1029 * stdio-common/test_rdwr.c (main): Use %Zu for size_t in printf
1031 * stdio-common/bug1.c (main): Likewise.
1032 * stdio-common/bug5.c (main): Likewise.
1033 * stdio-common/tstgetln.c (main): Likewise.
1034 * elf/sprof.c (generate_call_graph): Likewise.
1035 (load_shobj): Likewise.
1036 * posix/runptests.c (main): Likewise.
1037 * string/tst-strlen.c (main): Likewise.
1039 * sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused
1041 * sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise
1043 1998-07-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1045 * wctype/Versions: Add __towctrans.
1046 Noticed by Alex Buell <alex.buell@tahallah.demon.co.uk>.
1048 1998-07-02 Mark Kettenis <kettenis@phys.uva.nl>
1050 * grp/initgroups.c (compat_call): Only call dynamically loaded
1051 functions if they are really present.
1053 1998-07-02 Mark Kettenis <kettenis@phys.uva.nl>
1055 * sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within
1056 #ifdef that contains __BEGIN_DECLS.
1058 1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1060 * libio/iofwrite.c: Fix return value when size == 0.
1062 1998-07-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1064 * posix/Makefile (distribute): Add annexc.c.
1065 (generated): Add $(objpfx)annexc and $(objpfx)annexc.out.
1067 1998-07-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1069 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1070 bits/pthreadtypes.h here, and do not clobber headers.
1072 * sysdeps/unix/sysv/linux/Dist: Add bits/pthreadtypes.h.
1074 1998-07-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1076 * timezone/tst-timezone.c: Add tests for tzname variable.
1078 1998-07-03 12:17 Zack Weinberg <zack@rabi.phys.columbia.edu>
1080 * Makefile [versioning=yes]: Build the mapfiles with a pattern
1081 rule that lists all of them as targets.
1082 (sysd-versions): Depend only on Versions.def. Write a Makefile
1083 fragment that defines $(vers-libs) based on contents of that file;
1085 (lib-noranlib): Depend on lib-mapfiles not sysd-versions.
1086 (lib-mapfiles): New target, depends on sysd-versions and $(vers-libs).
1087 Predicate all this on avoid-generated unset as well as versioning.
1089 1998-07-03 14:35 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1091 * sysdeps/unix/sysv/linux/m68k/Versions: New file.
1093 1998-07-02 21:51 Ulrich Drepper <drepper@cygnus.com>
1095 * Makeconfig: Define list of subdirs as all-subdirs and make subdirs
1097 * Makefile: Add rules to generate map files.
1098 (distribute): Remove libc.map, add Versions.def and versions.awk.
1099 * Makerules: Change rules to find map files on common-objpfx.
1100 * elf/Makefile: Likewise.
1101 * md5-crypt/Makefile: Likewise.
1102 * nis/Makefile (libnsl-map): Remove.
1103 * Versions.def: New file.
1104 * versions.awk: New file.
1105 * argp/Versions: New file.
1106 * assert/Versions: New file.
1107 * catgets/Versions: New file.
1108 * csu/Versions: New file.
1109 * ctype/Versions: New file.
1110 * db/Versions: New file.
1111 * debug/Versions: New file.
1112 * dirent/Versions: New file.
1113 * elf/Versions: New file.
1114 * gmon/Versions: New file.
1115 * grp/Versions: New file.
1116 * hesiod/Versions: New file.
1117 * hurd/Versions: New file.
1118 * iconv/Versions: New file.
1119 * inet/Versions: New file.
1120 * intl/Versions: New file.
1121 * io/Versions: New file.
1122 * libio/Versions: New file.
1123 * linuxthreads/Versions: New file.
1124 * locale/Versions: New file.
1125 * login/Versions: New file.
1126 * malloc/Versions: New file.
1127 * math/Versions: New file.
1128 * md5-crypt/Versions: New file.
1129 * misc/Versions: New file.
1130 * nis/Versions: New file.
1131 * nss/Versions: New file.
1132 * posix/Versions: New file.
1133 * pwd/Versions: New file.
1134 * resolv/Versions: New file.
1135 * resource/Versions: New file.
1136 * rt/Versions: New file.
1137 * setjmp/Versions: New file.
1138 * shadow/Versions: New file.
1139 * signal/Versions: New file.
1140 * socket/Versions: New file.
1141 * stdio/Versions: New file.
1142 * stdio-common/Versions: New file.
1143 * stdlib/Versions: New file.
1144 * streams/Versions: New file.
1145 * string/Versions: New file.
1146 * sunrpc/Versions: New file.
1147 * sysdeps/alpha/Versions: New file.
1148 * sysdeps/alpha/fpu/Versions: New file.
1149 * sysdeps/i386/Versions: New file.
1150 * sysdeps/sparc/Versions: New file.
1151 * sysdeps/unix/sysv/Versions: New file.
1152 * sysdeps/unix/sysv/linux/Versions: New file.
1153 * sysdeps/unix/sysv/linux/alpha/Versions: New file.
1154 * sysdeps/unix/sysv/linux/i386/Versions: New file.
1155 * sysdeps/unix/sysv/linux/mips/Versions: New file.
1156 * sysvipc/Versions: New file.
1157 * termios/Versions: New file.
1158 * time/Versions: New file.
1159 * wcsmbs/Versions: New file.
1160 * wctype/Versions: New file.
1161 * libc.map: Removed.
1162 * db/libdb.map: Removed.
1163 * elf/libdl.map: Removed.
1164 * hesiod/libnss_hesiod.map: Removed.
1165 * hurd/libhurduser.map: Removed.
1166 * hurd/libmachuser.map: Removed.
1167 * linuxthreads/libpthread.map: Removed.
1168 * locale/libBrokenLocale.map: Removed.
1169 * login/libutil.map: Removed.
1170 * math/libm.map: Removed.
1171 * md5-crypt/libcrypt.map: Removed.
1172 * nis/libnsl.map: Removed.
1173 * nis/libnsl_compat.map: Removed.
1174 * nis/libnss_nis.map: Removed.
1175 * nis/libnss_nisplus.map: Removed.
1176 * nss/libnss_db.map: Removed.
1177 * nss/libnss_files.map: Removed.
1178 * resolv/libnss_dns.map: Removed.
1179 * resolv/libresolv.map: Removed.
1180 * rt/librt.map: Removed.
1182 * elf/dl-load.c (fillin_rpath): Fix test for trusted directory.
1185 * elf/rtld.c (process_dl_debug): Recognize 'all'.
1186 (process_envvars): LD_BIND_NOW must be followed by y, Y, or 1.
1188 * sysdeps/generic/elf/backtracesyms.c: Allocate string memory of
1191 1998-07-01 Ulrich Drepper <drepper@cygnus.com>
1193 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo
1196 * nscd/nscd.c: Include unistd.h.
1198 1998-07-01 09:32 Ulrich Drepper <drepper@cygnus.com>
1200 * math/libm-test.c: Adjust delta for indentities1_test because gcc
1203 1998-06-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1205 * resolv/inet_addr.c (inet_aton): Define variable base only if needed.
1207 1998-06-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1209 * scripts/test-installation.pl: Include <stdio.h> in test program
1210 to make it strictly conforming.
1212 1998-06-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1214 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
1216 * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
1217 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
1218 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
1219 * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
1221 1998-06-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1223 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
1226 1998-06-30 Ulrich Drepper <drepper@cygnus.com>
1228 * posix/Makefile (headers): Remove bits/pthreadtypes.h.
1229 * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add
1230 bits/pthreadtypes.h.
1232 1998-06-30 11:47 Ulrich Drepper <drepper@cygnus.com>
1234 * include/aio.h: New file.
1235 * posix/Makefile (distribute): Add bits/pthreadtypes.h.
1236 (tests): Build and run annexc program.
1237 * posix/annexc.c: New file.
1238 * posix/bits/posix1_lim.h: Add several more _POSIX_* limits.
1239 * rt/aio.h: Remove __need_timespec_t. We can include the whole time.h.
1240 * rt/aio_misc.c: Include limits.h.
1241 * rt/aio_notify.c: Include errno.h.
1242 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h.
1244 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1245 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1246 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1247 * sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the
1248 kernel doesn't do this.
1249 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if
1250 __USE_LARGEFILE64 is defined.
1251 * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file. Empty.
1252 * sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct
1254 * sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names.
1256 * stdlib/isomac.c: Avoid include_next warning.
1258 1998-06-29 12:27 Ulrich Drepper <drepper@cygnus.com>
1260 * argp/argp.h: Use __PMT instead of __P for function pointer.
1261 * iconv/gconv.h: Likewise.
1262 * io/fts.h: Likewise.
1263 * io/ftw.h: Likewise.
1264 * libio/libio.h: Likewise.
1265 * malloc/mcheck.h: Likewise.
1266 * misc/search.h: Likewise.
1267 * posix/glob.h: Likewise.
1268 * resolv/resolv.h: Likewise.
1269 * signal/signal.h: Likewise.
1270 * stdlib/stdlib.h: Likewise.
1271 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
1272 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
1274 1998-06-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1276 * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once.
1278 1998-06-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1280 * posix/wordexp.c (parse_param): Fix memory leak.
1282 1998-06-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1284 * libc.map: Export _IO_ftrylockfile.
1286 1998-06-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1288 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of
1291 1998-06-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1293 * elf/dl-misc.c (_dl_debug_message): Don't cache the pid.
1295 * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the
1296 same search list twice.
1298 1998-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1300 * login/programs/utmpd.c (handle_requests): Set and use maximal fd
1301 used to optimize loop/select.
1303 1998-06-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1305 * sysdeps/generic/init-first.c: Don't define __libc_pid.
1306 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
1307 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1308 * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1309 * sysdeps/arm/init-first.c: Likewise.
1310 * posix/getopt_init.c: Don't use __libc_pid.
1311 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1312 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1313 * libc.map: Remove __libc_uid and __libc_pid.
1315 1998-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1317 * sunrpc/rtime.c (rtime): Use poll instead of select.
1319 1998-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1321 * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select.
1322 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1323 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1324 Patches from FreeBSD current.
1326 1998-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1328 * nscd/connections.c (handle_new_request): Handle POLLHUP
1330 (close_sockets): Correct parameter to dbg_log.
1332 1998-06-27 David S. Miller <davem@pierdol.cobaltmicro.com>
1334 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
1335 Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
1336 (elf_machine_fixup_plt): Likewise.
1337 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When
1338 _dl_pagesize not set, use system call to always get correct answer.
1339 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1340 (__syscall_getpagesize): Add
1342 1998-06-27 Ulrich Drepper <drepper@cygnus.com>
1344 * resolv/res_send.c (res_send): Fix typo.
1346 1998-06-25 Andi Kleen <ak@muc.de>
1348 * inet/rcmd.c (rcmd): Change to use __poll instead of select.
1349 * resolv/res_send.c (res_send): Likewise.
1351 1998-06-27 12:58 Ulrich Drepper <drepper@cygnus.com>
1353 * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
1354 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1356 1998-06-27 7:07 Richard Henderson <rth@cygnus.com>
1358 * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately.
1359 * math/atest-exp2.c (exp_mpn, main): Likewise.
1360 * math/atest-sincos.c (main): Likewise.
1362 * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow. Move
1363 base handling away from strtoul. Always reset errno.
1365 * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs.
1367 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set
1368 _dl_profile_map if _dl_name_match_p.
1369 (RTLD_START): Fix .prologue. Set __libc_stack_end.
1370 * sysdeps/alpha/elf/start.S: Pass sp as arg 7. Kill __data_start.
1372 * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp
1375 * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h".
1376 * sysdeps/libm-ieee754/e_exp10f.c: Likewise.
1377 * sysdeps/libm-ieee754/e_exp10l.c: Likewise.
1379 1998-06-26 Ulrich Drepper <drepper@cygnus.com>
1381 * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code.
1383 1998-06-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1385 * nis/nis_call.c: Don't copy server structure.
1386 * nis/nis_intern.h: Remove unused entries.
1387 * nis/nis_table.c: Rewrite __create_ib_request.
1389 1998-06-26 14:37 Ulrich Drepper <drepper@cygnus.com>
1391 * configure.in: Check for -fexceptions.
1392 * config.make.in: Define exceptions, not no-exceptions.
1393 * misc/sys/cdefs.h: Define __PMT. When using modern g++ define
1395 * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
1397 * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
1398 * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
1399 lfind, and lsearch prototpypes.
1400 * stdlib/stdlib.h: Likewise for bsearch and qsort.
1402 1998-06-26 Ulrich Drepper <drepper@cygnus.com>
1404 * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.
1406 1998-06-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1408 * Makefile (remove-old-headers): Make phony.
1410 * configure.in: Substitute @old_glibc_headers@.
1412 1998-06-26 Ulrich Drepper <drepper@cygnus.com>
1414 * libc.map: Remove __libc_uid.
1416 1998-06-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1418 * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
1421 1998-06-26 Ulrich Drepper <drepper@cygnus.com>
1423 * libc.map: Add Alpha-specific io function from protected namespace.
1425 1998-06-25 19:26 Ulrich Drepper <drepper@cygnus.com>
1427 * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
1428 * locale/Makefile: Define locale-CPPFLAGS instead of redefining
1431 * libc.map: Export __sigaction.
1433 1998-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1435 * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
1436 (from Linux 2.1.107).
1438 1998-06-24 Ulrich Drepper <drepper@cygnus.com>
1440 * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
1441 position when file was opened here.
1442 Reported by Howard Chu <hyc@platinum.com>.
1444 * sysdeps/generic/glob.c: Also protect FNM_* macros from being
1445 undefined in a second inclusion.
1447 1998-06-20 Mark Kettenis <kettenis@phys.uva.nl>
1449 * sysdeps/mach/hurd/i386/Makefile: New file.
1450 * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
1452 (_hurd_stack_setup): Renamed
1453 from __libc_init_first.
1454 (__libc_init_first): New function.
1455 * sysdeps/mach/hurd/i386/static-start.S: New file.
1457 1998-05-30 Mark Kettenis <kettenis@phys.uva.nl>
1459 * sysdeps/mach/hurd/i386/init-first.c
1461 1998-06-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1463 * grp/initgroups.c: Use _CALL_DL_FCT.
1465 1998-06-23 Mark Kettenis <kettenis@phys.uva.nl>
1467 * elf/rtld.c (process_dl_debug): Add missing continue.
1469 1998-06-23 Mark Kettenis <kettenis@phys.uva.nl>
1471 * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
1473 1998-06-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1475 * manual/terminal.texi (Pseudo-Terminals): Correct typos.
1477 1998-06-23 Ulrich Drepper <drepper@cygnus.com>
1479 * config.make.in: Remove LDAP support.
1480 * nss/Makefile: Likewise.
1482 1998-06-22 17:02 Ulrich Drepper <drepper@cygnus.com>
1484 * sysdeps/generic/enbl-secure.c: Don't use __libc_uid.
1485 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1486 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1487 * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid.
1489 1998-06-02 Gordon Matzigkeit <gord@profitpress.com>
1491 * mach/Makefile: Change `mv' invocations to `mv -f'.
1492 * mach/Machrules: Likewise.
1494 1998-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1496 * config.make.in (old-glibc-headers): Add it.
1498 * configure.in: Add test for glibc 2.0.x headers.
1500 * Makefile (headers2_0): New variable - contains so far only
1501 Linux/Intel glibc 2.0.x headers.
1502 (remove-old-headers): New rule to remove headers from glibc 2.0.x.
1503 (install): Depend on remove-old-headers.
1505 1998-06-19 Mark Kettenis <kettenis@phys.uva.nl>
1507 * sysdeps/generic/ftruncate.c: Define function as __ftruncate and
1508 make ftruncate a weak alias.
1509 * sysdeps/mach/hurd/ftruncate.c: Really define function as
1511 * sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
1512 (truncate): Fix function defenition to match prototype.
1514 1998-06-20 Mark Kettenis <kettenis@phys.uva.nl>
1516 * manual/terminal.texi: Document ttyname_r, getpt, grantpt,
1517 unlockpt, ptsname, ptsname_r, openpty and forkpty.
1519 1998-06-22 Ulrich Drepper <drepper@cygnus.com>
1521 * sysdeps/generic/glob.c: Make it possible to include glob.h
1522 before loading glob.c.
1523 Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
1525 1998-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1527 * nscd/connections.c: Use poll() instead of select().
1529 1998-06-22 14:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1531 * sysdeps/generic/Dist: Fix typo.
1533 1998-06-20 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1535 * nis/nis_add.c: Avoid unnecessary strlen () calls.
1536 * nis/nis_addmember.c: Likewise.
1537 * nis/nis_call.c: Likewise.
1538 * nis/nis_creategroup.c: Likewise.
1539 * nis/nis_destroygroup.c: Likewise.
1540 * nis/nis_findserv.c: Likewise.
1541 * nis/nis_ismember.c: Likewise.
1542 * nis/nis_print.c: Likewise.
1543 * nis/nis_print_group_entry.c: Likewise.
1544 * nis/nis_removemember.c: Likewise.
1545 * nis/nis_verifygroup.c: Likewise.
1546 * nis/ypclnt.c: Likewise.
1548 * nis/nis_file.c: Close file handles.
1550 * nis/nis_callback.c: Fix typo.
1552 1998-06-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1554 * nis/Makefile: Add nis-initgroups and compat-initgroups.
1555 * nis/libnss_compat.map: Add _nss_compat_initgroups.
1556 * nis/libnss_nis.map: Add _nss_nis_initgroups.
1557 * nis/nss_compat/compat-initgroups.c: New, faster then getgrent().
1558 * nis/nss_nis/nis-initgroups.c: Likewise.
1559 * libc-work/nss/nsswitch.c: Rename nss_lookup_function to
1560 __nss_lookup_function and make it public.
1561 * grp/initgroups.c: Rewrite, to use initgroups function from NSS
1562 module if exists, else use old method.
1564 1998-06-19 Ulrich Drepper <drepper@cygnus.com>
1566 * nss/getXXbyYY_r.c (lookup_function): Correct return in type
1568 * nss/getXXent_r.c (set_function, end_function, get_function):
1569 Likewise. Reported by Thorsten Kukuk.
1571 * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous.
1573 1998-06-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1575 * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from
1576 1998-06-16 and distribute kernel_termios.h.
1578 * nis/Makefile (distribute): Add nis_xdr.h.
1580 1998-06-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1582 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for
1583 kernels that don't have sigaltstack.
1585 1998-06-19 Ulrich Drepper <drepper@cygnus.com>
1587 * sysdeps/generic/bits/sem.h: Don't define union semun.
1589 * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo.
1591 * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition
1593 * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge
1596 1998-06-18 21:45 Ulrich Drepper <drepper@cygnus.com>
1598 * signal/signal.h: Add prototype for __sigaltstack.
1599 * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name.
1600 Remove sigstack entry.
1601 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here.
1602 * sysdeps/unix/sysv/linux/sigstack.c: New file.
1604 * sysdeps/i386/backtrace.c: Add casts.
1606 1998-06-18 19:49 Ulrich Drepper <drepper@cygnus.com>
1608 * intl/dcgettext.c: use complete type name.
1609 * intl/hash-string.h: Likewise.
1611 * intl/localealias.c: Undo patch from 1998-04-29.
1612 * intl/l10nflist.c: Likewise.
1613 * intl/loadinfo.h: Likewise.
1615 1998-06-18 Ulrich Drepper <drepper@cygnus.com>
1617 * sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
1619 1998-06-18 16:40 Ulrich Drepper <drepper@cygnus.com>
1621 * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
1622 _dl_mcount, _dl_mcount_wrapper.
1623 * elf/Makefile (routines): Add dl-profstub.
1624 * elf/dl-profstub.c: New file.
1625 * elf/dl-support.c: Don't define _dl_profile_map.
1626 * elf/rtld.c: Likewise.
1627 * elf/dlfcn.h: Define DL_CALL_FCT macro.
1628 * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper.
1629 Define _CALL_DL_FCT.
1630 * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically
1632 * iconv/gconv_db.c: Likewise.
1633 * iconv/skeleton.c: Likewise.
1634 * nss/getXXbyYY_r.c: Likewise.
1635 * nss/getXXent_r.c: Likewise.
1636 * nss/nsswitch.c: Likewise.
1638 1998-06-18 12:29 Ulrich Drepper <drepper@cygnus.com>
1640 * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling.
1641 * sysdeps/libm-i387/e_scalbf.S: Likewise.
1642 * sysdeps/libm-i387/e_scalbl.S: Likewise.
1644 1998-06-18 Ulrich Drepper <drepper@cygnus.com>
1646 * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate
1649 1998-06-18 10:26 Ulrich Drepper <drepper@cygnus.com>
1651 * iconvdata/Makefile (modules): Add MACINTOSH.
1652 (MACINTOSH-routines): New variable.
1653 (distribute): Add macintosh.c.
1654 (awk-generated-headers): Add macintosh.h.
1655 Add rule for macintosh.h generation.
1656 * iconvdata/gconv-modules: Add definitions for MACINTOSH.
1657 * iconvdata/macintosh.c: New file.
1659 1998-06-17 Ulrich Drepper <drepper@cygnus.com>
1661 * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers.
1663 * stdlib/strtod.c (str_to_mpn): Fix extending of n array which
1664 only should happen for cy != 0.
1666 * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before
1669 1998-06-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1671 * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it
1672 to compare stack addresses.
1674 1998-06-17 Ulrich Drepper <drepper@cygnus.com>
1676 * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before
1677 defining prototypes.
1679 1998-06-16 David S. Miller <davem@dm.cobaltmicro.com>
1681 * sysdeps/sparc/sparc32/dl-machine.h
1682 (elf_machine_fixup_plt): During rtld bootstrap, always perform
1683 flushes as the kernel will emulate it when the underlying cpu does
1684 not implement flush.
1686 * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
1687 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.
1689 * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
1690 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
1693 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
1694 (__clone): Branch to label .Lerror not __clone_syscall_error.
1695 (.Lerror): Fixup EINVAL setting.
1696 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
1697 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
1698 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1699 (__syscall_getgroups, __syscall_setgroups): Add.
1701 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1702 (__sigaction): Member name is k_sa_handler. Use memcpy to copy
1703 around sa_mask data.
1705 1998-06-16 Ulrich Drepper <drepper@cygnus.com>
1707 * math/math.h: Include bits/nan.h when compiling for ISO C 9x.
1709 * string/Makefile: Make sure test-ffs does not use builtins.
1711 1998-06-16 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1713 * sunrpc/svc.c: Check for NULL pointer.
1715 * nis/libnsl.map: Add public NIS+ xdr functions.
1717 * nis/rpcsvc/nis_callback.h: New file.
1718 * nis/rpcsvc/nis.h: Move xdr_* functions from here ...
1719 * nis/nis_xdr.h: ... here.
1721 * nis/nis_add.c: Use internal _xdr_* functions, check for NULL
1722 pointers, use NIS+ defines where possible.
1723 * nis/nis_cache.c: Likewise.
1724 * nis/nis_cache2_xdr.c: Likewise.
1725 * nis/nis_call.c: Likewise.
1726 * nis/nis_checkpoint.c: Likewise.
1727 * nis/nis_clone_dir.c: Likewise.
1728 * nis/nis_clone_obj.c: Likewise.
1729 * nis/nis_clone_res.c: Likewise.
1730 * nis/nis_creategroup.c: Likewise.
1731 * nis/nis_file.c: Likewise.
1732 * nis/nis_free.c: Likewise.
1733 * nis/nis_getservlist.c: Likewise.
1734 * nis/nis_local_names.c: likewise.
1735 * nis/nis_lookup.c: Likewise.
1736 * nis/nis_mkdir.c: Likewise.
1737 * nis/nis_modify.c: Likewise.
1738 * nis/nis_ping.c: Likewise.
1739 * nis/nis_print.c: Likewise.
1740 * nis/nis_remove.c: Likewise.
1741 * nis/nis_removemember.c: Likewise.
1742 * nis/nis_rmdir.c: Likewise.
1743 * nis/nis_server.c: Likewise.
1744 * nis/nis_table.c: Likewise.
1745 * nis/nis_util.c: Likewise.
1746 * nis/nis_verifygroup.c: Likewise.
1747 * nis/nis_xdr.c: Likewise.
1748 * nis/nis_callback.c: Likewise, and move xdr functions from here ...
1749 * nis/nis_xdr.c: ... to here.
1751 1998-06-15 18:07 Ulrich Drepper <drepper@cygnus.com>
1753 * iconvdata/ksc5601.h: Clean up a bit.
1755 1998-06-15 14:35 Ulrich Drepper <drepper@cygnus.com>
1757 * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections
1758 and process incoming data.
1759 * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length
1760 fragments as invalid.
1761 Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
1763 1998-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1765 Removal of duplicates like "the the".
1766 * manual/time.texi (TZ Variable): Likewise.
1767 * manual/users.texi (Manipulating the Database): Likewise.
1768 * manual/sysinfo.texi (Filesystem handling): Likewise.
1769 * manual/signal.texi (Signaling Yourself): Likewise.
1770 * manual/message.texi (Message Translation): Likewise.
1771 (Common Usage): Likewise.
1772 * manual/llio.texi: Likewise.
1773 * manual/arith.texi (Old-style number conversion): Likewise.
1774 * manual/argp.texi (Argp): Likewise.
1775 (Argp Parsers): Likewise.
1776 (Argp Help Filtering): Likewise.
1778 * hesiod/README.hesiod: Correct typo.
1780 * manual/llio.texi: Correct typos.
1781 * manual/sysinfo.texi: Likewise.
1783 1998-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1785 * rt/aio.h: Rename __op to __operation for g++.
1787 1998-06-13 20:17 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1789 * iconvdata/gen-8bit-gap.sh: Use awk not perl. Clean up sed
1791 * iconvdata/gen-8bit-gap-1.sh: Likewise.
1792 * iconvdata/gen-8bit.sh: Clean up sed script.
1794 * iconvdata/Makefile: Remove all PERL conditionals; build all
1795 the modules all the time. Export AWK.
1796 (gen-8bit-gap): Delete setting of PERL.
1797 (gen-8bit-gap-1): Likewise.
1798 (perl-generated-headers): Renamed awk-generated-headers.
1800 * iconvdata/gap.pl: Removed.
1801 * iconvdata/gaptab.pl: Removed.
1802 * iconvdata/gap.awk: New file.
1803 * iconvdata/gaptab.awk: New file.
1805 1998-06-15 Ulrich Drepper <drepper@cygnus.com>
1807 * sysdeps/generic/Dist: Add errno-loc.c.
1809 * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the
1812 1998-06-14 14:21 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1814 * stdio-common/bug12.c: New test for fread()/fseek().
1815 * stdio-common/Makefile (tests): Add bug12.
1817 1998-06-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1819 * sysdeps/generic/elf/backtracesyms.c: Make array elements
1821 * sysdeps/generic/backtracesyms.c: Likewise. Fix type of RESULT.
1822 * debug/execinfo.h: Update declaration.
1824 1998-06-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1826 * sysdeps/generic/elf/backtracesyms.c: Make array elements constant.
1827 * sysdeps/generic/backtracesyms.c: Likewise. Fix type of RESULT.
1828 * debug/execinfo.h: Update declaration.
1830 1998-06-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1832 * manual/llio.texi: Fix spelling.
1833 * manual/sysinfo.texi: Fix spelling.
1835 1998-06-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1837 * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak
1838 alias for old name. Put this on __libc_subfreeres.
1839 * misc/search.h: Declare it.
1841 1998-06-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1843 * string/bits/string2.h (strcmp): Add missing parens around macro
1846 1998-06-12 23:34 Ulrich Drepper <drepper@cygnus.com>
1848 * manual/arith.texi: Fix problem with @math and texinfo.tex.
1850 * manual/filesys.texi: Document LFS functions.
1851 * manual/llio.texi: Likewise.
1852 * manual/stdio.texi: Likewise.
1853 * manual/time.texi: Likewise.
1855 * manual/llio.texi: Document AIO functions.
1857 * resource/sys/resource.h: Mark second argument of setrlimit as const.
1858 * sysdeps/generic/setrlimit.c: Likewise.
1859 * sysdeps/generic/setrlimit64.c: Likewise.
1860 * sysdeps/mach/hurd/setrlimit.c: Likewise.
1861 * sysdeps/unix/sysv/setrlimit.c: Likewise.
1863 1998-06-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1865 * sysdeps/generic/getenv.c: Fix last change.
1867 1998-06-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1869 * sysdeps/generic/backtrace.c: Provide generic implementation.
1871 1998-06-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1873 * configure.in: Give visual feedback of the default directories we
1876 1998-06-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1878 * io/fts.c (fts_build): Define oflag only if needed.
1880 1998-06-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1882 * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment.
1884 1998-06-11 Ulrich Drepper <drepper@cygnus.com>
1886 * libc.map: Don't export argp's fmtstream handling functions.
1888 * manual/sysinfo.texi: Document fstab and mtab handling functions.
1889 * manual/llio.texi: Document more LFS functions and start documenting
1892 1998-06-03 03:09 Geoff Keating <geoffk@ozemail.com.au>
1894 * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll().
1895 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1896 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1897 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1899 1998-06-03 03:09 Geoff Keating <geoffk@ozemail.com.au>
1901 * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this
1902 makes it easier to undump emacs.
1903 * sysdeps/powerpc/bits/endian.h: Use more informative error message
1904 for when the endianness can't be determined.
1906 1998-06-04 13:19 Geoff Keating <geoffk@ozemail.com.au>
1908 * nss/Makefile: Add files publickey database support.
1909 * nss/libnss_files.map: Export the required functions.
1910 * nss/nss_files/files-key.c: Implement it.
1911 * sunrpc/rpc/auth_des.h: Correct typos in comments.
1913 1998-06-10 Ulrich Drepper <drepper@cygnus.com>
1915 * iconv/gconv_builtin.h: Add aliases for CORBA.
1916 * iconvdata/gconv-modules: Likewise.
1918 1998-06-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1920 * math/libm-test.c (main): Call exp10_test.
1921 (exp10_test): New function which tests exp10.
1923 1998-06-10 Ulrich Drepper <drepper@cygnus.com>
1925 * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and
1928 * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of
1929 SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ.
1930 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file.
1932 1998-06-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1934 * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address
1935 in the variable, not its GOT slot.
1937 1998-06-10 10:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1939 * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as
1941 * sysdeps/m68k/fpu/e_exp10.c: New file.
1942 * sysdeps/m68k/fpu/e_exp10f.c: New file.
1943 * sysdeps/m68k/fpu/e_exp10l.c: New file.
1945 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
1946 _dl_profile_map only if the name matches.
1947 (_dl_start_user): Remember stack address.
1948 * sysdeps/m68k/elf/start.S: Pass new argument to
1951 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
1953 (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
1954 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
1955 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1956 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1957 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
1959 1998-06-09 18:16 Ulrich Drepper <drepper@cygnus.com>
1961 * math/Makefile (libm-calls): Add w_exp10 and e_exp10.
1962 * math/libm.map: Add exp10{,f,l} and pow10{,f,l}.
1963 * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}.
1964 * math/bits/mathcalls.h: Add definitions for exp10 and pow10
1966 * sysdeps/libm-i387/e_exp10.S: New file.
1967 * sysdeps/libm-i387/e_exp10f.S: New file.
1968 * sysdeps/libm-i387/e_exp10l.S: New file.
1969 * sysdeps/libm-ieee754/e_exp10.c: New file.
1970 * sysdeps/libm-ieee754/e_exp10f.c: New file.
1971 * sysdeps/libm-ieee754/e_exp10l.c: New file.
1972 * sysdeps/libm-ieee754/w_exp10.c: New file.
1973 * sysdeps/libm-ieee754/w_exp10f.c: New file.
1974 * sysdeps/libm-ieee754/w_exp10l.c: New file.
1975 * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10.
1977 1998-05-25 22:18 H.J. Lu <hjl@gnu.org>
1979 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add
1980 sys/elf.h and sys/reg.h.
1981 * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file.
1982 * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file.
1983 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file.
1984 * sysdeps/unix/sysv/linux/i386/sys/user.h: New file.
1986 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS,
1987 PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added.
1989 1998-06-09 Ulrich Drepper <drepper@cygnus.com>
1991 * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define
1992 __data member only for gcc. Reported by ak@muc.de.
1994 * misc/mntent.h: Undo last patch.
1995 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch.
1996 * misc/tst/mntent.c: Adjust code for this change.
1998 * io/fts.c: Updated from a slightly more recent BSD version.
1999 * io/fts.h: Likewise.
2001 * libc.map: Add __libc_stack_end.
2003 * db2/Makefile (routines): Add lock_region.
2004 * db2/config.h: Update from db-2.4.14.
2005 * db2/db.h: Likewise.
2006 * db2/db_185.h: Likewise.
2007 * db2/db_int.h: Likewise.
2008 * db2/btree/bt_close.c: Likewise.
2009 * db2/btree/bt_compare.c: Likewise.
2010 * db2/btree/bt_conv.c: Likewise.
2011 * db2/btree/bt_cursor.c: Likewise.
2012 * db2/btree/bt_delete.c: Likewise.
2013 * db2/btree/bt_open.c: Likewise.
2014 * db2/btree/bt_page.c: Likewise.
2015 * db2/btree/bt_put.c: Likewise.
2016 * db2/btree/bt_rec.c: Likewise.
2017 * db2/btree/bt_recno.c: Likewise.
2018 * db2/btree/bt_rsearch.c: Likewise.
2019 * db2/btree/bt_search.c: Likewise.
2020 * db2/btree/bt_split.c: Likewise.
2021 * db2/btree/bt_stat.c: Likewise.
2022 * db2/btree/btree.src: Likewise.
2023 * db2/btree/btree_auto.c: Likewise.
2024 * db2/clib/getlong.c: Likewise.
2025 * db2/common/db_appinit.c: Likewise.
2026 * db2/common/db_apprec.c: Likewise.
2027 * db2/common/db_byteorder.c: Likewise.
2028 * db2/common/db_err.c: Likewise.
2029 * db2/common/db_log2.c: Likewise.
2030 * db2/common/db_region.c: Likewise.
2031 * db2/common/db_salloc.c: Likewise.
2032 * db2/common/db_shash.c: Likewise.
2033 * db2/db/db.c: Likewise.
2034 * db2/db/db.src: Likewise.
2035 * db2/db/db_auto.c: Likewise.
2036 * db2/db/db_conv.c: Likewise.
2037 * db2/db/db_dispatch.c: Likewise.
2038 * db2/db/db_dup.c: Likewise.
2039 * db2/db/db_overflow.c: Likewise.
2040 * db2/db/db_pr.c: Likewise.
2041 * db2/db/db_rec.c: Likewise.
2042 * db2/db/db_ret.c: Likewise.
2043 * db2/db/db_thread.c: Likewise.
2044 * db2/db185/db185.c: Likewise.
2045 * db2/db185/db185_int.h: Likewise.
2046 * db2/dbm/dbm.c: Likewise.
2047 * db2/hash/hash.c: Likewise.
2048 * db2/hash/hash.src: Likewise.
2049 * db2/hash/hash_auto.c: Likewise.
2050 * db2/hash/hash_conv.c: Likewise.
2051 * db2/hash/hash_debug.c: Likewise.
2052 * db2/hash/hash_dup.c: Likewise.
2053 * db2/hash/hash_func.c: Likewise.
2054 * db2/hash/hash_page.c: Likewise.
2055 * db2/hash/hash_rec.c: Likewise.
2056 * db2/hash/hash_stat.c: Likewise.
2057 * db2/include/btree.h: Likewise.
2058 * db2/include/btree_ext.h: Likewise.
2059 * db2/include/clib_ext.h: Likewise.
2060 * db2/include/common_ext.h: Likewise.
2061 * db2/include/cxx_int.h: Likewise.
2062 * db2/include/db.h.src: Likewise.
2063 * db2/include/db_185.h.src: Likewise.
2064 * db2/include/db_am.h: Likewise.
2065 * db2/include/db_auto.h: Likewise.
2066 * db2/include/db_cxx.h: Likewise.
2067 * db2/include/db_dispatch.h: Likewise.
2068 * db2/include/db_ext.h: Likewise.
2069 * db2/include/db_int.h.src: Likewise.
2070 * db2/include/db_page.h: Likewise.
2071 * db2/include/db_shash.h: Likewise.
2072 * db2/include/db_swap.h: Likewise.
2073 * db2/include/hash.h: Likewise.
2074 * db2/include/hash_ext.h: Likewise.
2075 * db2/include/lock.h: Likewise.
2076 * db2/include/lock_ext.h: Likewise.
2077 * db2/include/log.h: Likewise.
2078 * db2/include/log_ext.h: Likewise.
2079 * db2/include/mp.h: Likewise.
2080 * db2/include/mp_ext.h: Likewise.
2081 * db2/include/mutex_ext.h: Likewise.
2082 * db2/include/os_ext.h: Likewise.
2083 * db2/include/os_func.h: Likewise.
2084 * db2/include/queue.h: Likewise.
2085 * db2/include/shqueue.h: Likewise.
2086 * db2/include/txn.h: Likewise.
2087 * db2/lock/lock.c: Likewise.
2088 * db2/lock/lock_conflict.c: Likewise.
2089 * db2/lock/lock_deadlock.c: Likewise.
2090 * db2/lock/lock_region.c: Likewise.
2091 * db2/lock/lock_util.c: Likewise.
2092 * db2/log/log.c: Likewise.
2093 * db2/log/log.src: Likewise.
2094 * db2/log/log_archive.c: Likewise.
2095 * db2/log/log_auto.c: Likewise.
2096 * db2/log/log_compare.c: Likewise.
2097 * db2/log/log_findckp.c: Likewise.
2098 * db2/log/log_get.c: Likewise.
2099 * db2/log/log_put.c: Likewise.
2100 * db2/log/log_rec.c: Likewise.
2101 * db2/log/log_register.c: Likewise.
2102 * db2/mp/mp_bh.c: Likewise.
2103 * db2/mp/mp_fget.c: Likewise.
2104 * db2/mp/mp_fopen.c: Likewise.
2105 * db2/mp/mp_fput.c: Likewise.
2106 * db2/mp/mp_fset.c: Likewise.
2107 * db2/mp/mp_open.c: Likewise.
2108 * db2/mp/mp_pr.c: Likewise.
2109 * db2/mp/mp_region.c: Likewise.
2110 * db2/mp/mp_sync.c: Likewise.
2111 * db2/mutex/68020.gcc: Likewise.
2112 * db2/mutex/mutex.c: Likewise.
2113 * db2/mutex/parisc.gcc: Likewise.
2114 * db2/mutex/parisc.hp: Likewise.
2115 * db2/mutex/sco.cc: Likewise.
2116 * db2/os/os_abs.c: Likewise.
2117 * db2/os/os_alloc.c: Likewise.
2118 * db2/os/os_config.c: Likewise.
2119 * db2/os/os_dir.c: Likewise.
2120 * db2/os/os_fid.c: Likewise.
2121 * db2/os/os_fsync.c: Likewise.
2122 * db2/os/os_map.c: Likewise.
2123 * db2/os/os_oflags.c: Likewise.
2124 * db2/os/os_open.c: Likewise.
2125 * db2/os/os_rpath.c: Likewise.
2126 * db2/os/os_rw.c: Likewise.
2127 * db2/os/os_seek.c: Likewise.
2128 * db2/os/os_sleep.c: Likewise.
2129 * db2/os/os_spin.c: Likewise.
2130 * db2/os/os_stat.c: Likewise.
2131 * db2/os/os_unlink.c: Likewise.
2132 * db2/progs/db_archive/db_archive.c: Likewise.
2133 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
2134 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
2135 * db2/progs/db_dump/db_dump.c: Likewise.
2136 * db2/progs/db_dump185/db_dump185.c: Likewise.
2137 * db2/progs/db_load/db_load.c: Likewise.
2138 * db2/progs/db_printlog/db_printlog.c: Likewise.
2139 * db2/progs/db_recover/db_recover.c: Likewise.
2140 * db2/progs/db_stat/db_stat.c: Likewise.
2141 * db2/txn/txn.c: Likewise.
2142 * db2/txn/txn.src: Likewise.
2143 * db2/txn/txn_auto.c: Likewise.
2144 * db2/txn/txn_rec.c: Likewise.
2146 * elf/rtld.c: Move definition of __libc_stack_end to ...
2147 * sysdeps/generic/dl-sysdep.h: ...here.
2149 * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option.
2150 * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME.
2151 * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME.
2153 * sysdeps/generic/libc-start.c: Always set __libc_stack_end.
2154 * sysdeps/i386/backtrace.c: Test whether frame pointer is legal
2155 before following it.
2157 1998-06-08 21:44 Ulrich Drepper <drepper@cygnus.com>
2159 * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string
2160 from mntent correctly.
2162 1998-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2164 * sunrpc/Makefile (generated): Correct typo.
2166 1998-06-04 Philip Blundell <philb@gnu.org>
2168 * elf/elf.h (EM_ARM, et al.): New definitions.
2169 * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI.
2171 1998-06-08 21:33 Ulrich Drepper <drepper@cygnus.com>
2173 * localedata/SUPPORTED: Add sk_SK.
2174 * localedata/locales/sk_SK: New file.
2176 1998-06-08 18:57 Ulrich Drepper <drepper@cygnus.com>
2178 * Makeconfig (subdirs): Add debug.
2179 * configure.in: Use sysdeps/generic/elf subdir if ELF platform.
2180 * libc.map: Add __backtrace, __backtrace_symbols, backtrace and
2182 * sysdeps/generic/backtrace.c: New file.
2183 * sysdeps/generic/backtracesyms.c: New file.
2184 * sysdeps/generic/elf/backtracesyms.c: New file.
2185 * sysdeps/i386/backtrace.c: New file.
2186 * debug/Makefile: New file.
2187 * debug/backtrace-tst.c: New file.
2188 * debug/execinfo.h: New file.
2190 1998-06-08 13:34 Ulrich Drepper <drepper@cygnus.com>
2192 * elf/sprof.c: Implement call graph profiling.
2194 * sysdeps/generic/getenv.c: Optimize to use strncmp less often.
2196 1998-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2198 * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix.
2199 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
2200 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2201 Noticed by Jake Garver <garver@valkyrie.net>.
2203 1998-06-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2205 * libio/genops.c (__underflow): Read character from read pointer
2207 (__uflow): Likewise.
2209 1998-06-07 13:32 Ulrich Drepper <drepper@cygnus.com>
2211 * libc.map: Add _dl_profile.
2212 * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass
2213 this to ELF_DYNAMIC_RELOCATE.
2214 Always allocate array for relocation result if LD_PROFILE is defined.
2215 * elf/ldsodefs.h: Adjust prototypes.
2216 * elf/dl-open.c (_dl_open): Call relocation function with extra
2218 * elf/rtld.c: Likewise.
2219 * elf/dl-profile.c (_dl_mcount): Don't mark as internal function.
2220 Correct loop condition.
2221 * elf/dynamic-link.h: Don't examine _dl_profile variable, pass
2222 consider_profile to runtime setup function.
2223 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use
2224 _dl_runtime_profile for all shared objects if LD_PROFILE is defined.
2226 * elf/dl-support.c: Define __libc_stack_end.
2227 * elf/rtld.c: Likewise.
2228 * sysdeps/generic/libc-start.c: Store last stack address in
2230 * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address.
2231 * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument.
2233 * elf/elf.h: Include <features.h>, not <sys/cdefs.h>.
2234 Include <stdint.h>, not <inttypes.h>.
2236 * elf/sprof.c: Implement flat profiling.
2238 * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call
2239 _IO_funlockfile explicitly.
2240 * libio/fileops.c: Likewise.
2241 * libio/fputc.c: Likewise.
2242 * libio/freopen.c: Likewise.
2243 * libio/freopen64.c: Likewise.
2244 * libio/fseek.c: Likewise.
2245 * libio/fseeko.c: Likewise.
2246 * libio/fseeko64.c: Likewise.
2247 * libio/ftello.c: Likewise.
2248 * libio/ftello64.c: Likewise.
2249 * libio/getc.c: Likewise.
2250 * libio/getchar.c: Likewise.
2251 * libio/iofclose.c: Likewise.
2252 * libio/iofflush.c: Likewise.
2253 * libio/iofgetpos.c: Likewise.
2254 * libio/iofgetpos64.c: Likewise.
2255 * libio/iofgets.c: Likewise.
2256 * libio/iofputs.c: Likewise.
2257 * libio/iofread.c: Likewise.
2258 * libio/iofsetpos.c: Likewise.
2259 * libio/iofsetpos64.c: Likewise.
2260 * libio/ioftell.c: Likewise.
2261 * libio/iofwrite.c: Likewise.
2262 * libio/iogetdelim.c: Likewise.
2263 * libio/iogets.c: Likewise.
2264 * libio/ioputs.c: Likewise.
2265 * libio/ioseekoff.c: Likewise.
2266 * libio/ioseekpos.c: Likewise.
2267 * libio/iosetbuffer.c: Likewise.
2268 * libio/iosetvbuf.c: Likewise.
2269 * libio/ioungetc.c: Likewise.
2270 * libio/iovsprintf.c: Likewise.
2271 * libio/iovsscanf.c: Likewise.
2272 * libio/oldfileops.c: Likewise.
2273 * libio/oldiofclose.c: Likewise.
2274 * libio/peekc.c: Likewise.
2275 * libio/putc.c: Likewise.
2276 * libio/putchar.c: Likewise.
2277 * libio/rewind.c: Likewise.
2279 * malloc/mtrace.c: Pretty print.
2281 * misc/mntent.h (struct mentent): Make string elements const char *.
2283 * nis/nis_printf.c: Optimize I/O a little bit.
2285 * signal/Makefile (distribute): Add sigset-cvt-mask.h.
2286 * sysdeps/generic/sigset-cvt-mask.h: New file.
2287 * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file.
2288 * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file.
2289 * sysdeps/posix/sigvec.c: Rewrite the use definitions from
2290 sigset-cvt-mask.h to do the dirty work.
2291 Patches by Joe Keane.
2293 * sysdeps/posix/mkstemp.c: Save one precious byte of rodata.
2295 * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make
2296 syscall_error label in case of PIC anonymous.
2297 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
2298 * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change.
2299 * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change.
2300 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change.
2301 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change.
2302 * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change.
2303 * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change.
2305 1998-06-05 Ulrich Drepper <drepper@cygnus.com>
2307 * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since
2308 we cannot declare the struct element as const.
2309 * sunrpc/xdr_mem.c (xdrmem_create): Likewise.
2310 * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise.
2312 1998-06-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2314 * manual/Makefile: Include ../Makeconfig earlier.
2315 (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not
2317 (dir-add.texinfo): Remove useless $(SHELL).
2319 1998-06-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2321 * Makefile (others): Build programs from install-bin.
2322 * configure.in: Modify config.make only if is was just created and
2323 move that command to second argument of AC_OUTPUT. Add command to
2324 set config_vars in config.status.
2326 1998-06-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2328 * malloc/Makefile (address-width): Fix conditional.
2330 1998-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2332 * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext,
2333 putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax,
2334 strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with
2337 1998-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2339 * manual/lang.texi (Range of Type): Change @end table->@end vtable.
2340 (Floating Point Parameters): Likewise.
2342 1998-06-01 Gordon Matzigkeit <gord@profitpress.com>
2344 * hurd/Makefile (routines): Add cthreads.
2346 1998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
2348 * login/login.c (login): Let pututline take care of finding the
2349 positin to insert the UTMP entry. This corrects a bug where ssh
2350 was not reusing UTMP entries marked as DEAD_PROCESS.
2351 Reported by Herbert Xu <herbert@gondor.apana.org.au>.
2353 1998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
2355 * login/Makefile (tests): New variable, add tst-utmp and
2357 * login/tst-utmp.c: New file.
2358 * login/tst-utmpx.c: New file.
2360 1998-06-01 Gordon Matzigkeit <gord@profitpress.com>
2362 * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak
2363 aliases for _hurd_nerr, for programs that don't use sys_errlist,
2366 1998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
2368 * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx.
2369 * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1.
2371 1998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
2373 * sysdeps/mach/hurd/read.c: Rename function to __libc_read and
2374 make __read a weak alias. Use ANSI-style function definition.
2375 * sysdeps/mach/hurd/write.c: Likewise.
2377 1998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
2379 * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of
2382 1998-05-30 Mark Kettenis <kettenis@phys.uva.nl>
2384 * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os):
2385 Renamed from librtld.so.
2387 1998-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2389 * libc.map: Remove _IO_getline_info which was erroneously
2390 introduced in section GLIBC_2.0.
2391 Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2393 1998-06-01 Gordon Matzigkeit <gord@profitpress.com>
2395 * sysdeps/generic/socket.c (__socket): Renamed from socket, and
2396 created a weak alias.
2397 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2399 1998-05-31 Gordon Matzigkeit <gord@profitpress.com>
2401 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
2402 ftruncate function, and create a weak alias to ftruncate.
2404 1998-06-01 Gordon Matzigkeit <gord@profitpress.com>
2406 * grp/fgetgrent_r.c: Use &errno instead of __errno_location ().
2407 * inet/getnetgrent_r.c: Likewise.
2408 * nss/getXXbyYY_r.c: Likewise.
2409 * nss/getXXent_r.c: Likewise.
2410 * pwd/fgetpwent_r.c: Likewise.
2411 * shadow/sgetspent_r.c: Likewise.
2412 * shadow/fgetspent_r.c: Likewise.
2413 * sunrpc/publickey.c: Likewise.
2415 1998-06-01 Gordon Matzigkeit <gord@profitpress.com>
2417 * hurd/libhurduser.map: New file.
2418 * mach/libmachuser.map: Likewise.
2420 * libc.map: Add Hurd-specific functions to version 2.1.
2421 Add __flshfp and __fillbf.
2423 1998-05-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2425 * manual/signal.texi (Basic Signal Handling): Fix typo.
2426 * manual/errno.texi (Error Codes): Likewise.
2428 1998-06-02 Ulrich Drepper <drepper@cygnus.com>
2430 * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h>
2431 instead of <sys/socket.h>.
2432 Patch by NIIBE Yutaka <gniibe@mri.co.jp>
2434 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS):
2435 Finally make it working.
2436 Patch by Mark Hatle <fray@kernel.crashing.org>.
2438 1998-03-22 Paul Eggert <eggert@twinsun.com>
2440 * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around
2443 1998-05-30 Philip Blundell <Philip.Blundell@pobox.com>
2445 * stdlib/gmp-impl.h: Support strange mixed-endian double format
2446 used by ARM systems.
2447 * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to
2449 * sysdeps/arm/bits/fenv.h: Deleted.
2450 * sysdeps/arm/fpu/ieee754.h: New file.
2451 * sysdeps/arm/gmp-mparam.h: New file.
2452 * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM
2455 1998-06-01 Ulrich Drepper <drepper@cygnus.com>
2457 * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
2459 * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
2460 of ((unused)). Reported by Bruno Haible.
2462 1998-05-31 Philip Blundell <philb@gnu.org>
2464 * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when
2465 referring to errno and _errno.
2467 * sysdeps/arm/fpu/feholdexcpt.c: New file.
2469 * sysdeps/i386/fpu_control.h: Fix typo.
2471 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support.
2472 (_JMPBUF_UNWINDS): Added.
2473 * sysdeps/arm/fpu/bits/setjmp.h: New file.
2475 1998-05-25 Gordon Matzigkeit <gord@profitpress.com>
2477 * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in
2478 order to build header files, not `generated'.
2480 * Rules (before-compile): New target which depends on all
2481 $(before-compile) files.
2483 1998-06-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2485 * nis/nis_call.c: Make directory search faster.
2487 * nis/nis_callback.c: Insert public key of user in callback data.
2489 * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
2491 * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
2493 * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
2495 * nis/nis_intern.h: Remove duplicated prototype.
2497 1998-06-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2499 * sunrpc/auth_des.c: Move prototypes from here ...
2500 * sunrpc/rpc/auth.h: ... to here.
2502 * sunrpc/clnt_tcp.c: Add more control flags.
2503 * sunrpc/clnt_udp.c: Likewise.
2505 * sunrpc/netname.c (host2netname): Remove prefixing dot from
2508 * sunrpc/rpc/clnt.h: Document, which control flags are not
2511 * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
2513 1998-05-29 Ulrich Drepper <drepper@cygnus.com>
2515 * locale/loadlocale.c (_nl_load_locale): Don't allow too small
2516 files crash the program.
2518 * io/Makefile: Don't run ftwtest-sh if cross-compiling.
2519 * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
2520 Reported by Deborah Wallach <kerr@pa.dec.com>.
2522 1998-05-28 00:53 Zack Weinberg <zack@rabi.phys.columbia.edu>
2524 * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
2525 on whether this is a stable release or not (keeps snapshot bug
2526 reports out of the database).
2528 * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
2529 * sysdeps/arm/sysdep.h: Likewise.
2530 * sysdeps/i386/sysdep.h: Likewise.
2531 * sysdeps/m68k/sysdep.h: Likewise.
2532 * sysdeps/mach/mips/sysdep.h: Likewise.
2533 * sysdeps/mach/sys/reboot.h: Likewise.
2534 * sysdeps/mach/sysdep.h: Likewise.
2535 * sysdeps/unix/alpha/sysdep.h: Likewise.
2536 * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
2537 * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
2538 * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
2539 * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
2540 * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
2541 * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
2542 * sysdeps/unix/i386/sysdep.h: Likewise.
2543 * sysdeps/unix/mips/sysdep.h: Likewise.
2544 * sysdeps/unix/sparc/sysdep.h: Likewise.
2545 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
2546 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2547 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2548 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2549 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
2550 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2551 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2552 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
2554 1998-05-27 Mark Kettenis <kettenis@phys.uva.nl>
2556 * mach/Machrules: Use $(move-if-change).
2558 1998-05-27 Mark Kettenis <kettenis@phys.uva.nl>
2560 * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
2561 * Makerules (lib%.so): Depend on $(+interp).
2562 (libc.so): Add interp.os to list of dependencies.
2563 (interp-obj): Remove variable.
2564 * mach/Machrules (+interp): Define to empty since libhurduser and
2565 libmachuser don't need to have the interpreter set.
2567 1998-05-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2569 * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
2571 * resolv/gethnamaddr.c: Likewise.
2573 * resolv/res_comp.c: Likewise.
2575 1998-05-28 Mark Kettenis <kettenis@phys.uva.nl>
2577 * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
2578 so that transparent union works.
2580 1998-05-29 08:58 Ulrich Drepper <drepper@cygnus.com>
2582 * manual/texinfo.tex: Update to last available version.
2584 * timezone/africa: Update from tzdata1998e.
2585 * timezone/antarctica: Likewise.
2586 * timezone/asia: Likewise.
2587 * timezone/australasia: Likewise.
2588 * timezone/europe: Likewise.
2589 * timezone/iso3166.tab: Likewise.
2590 * timezone/northamerica: Likewise.
2591 * timezone/tzselect.ksh: Likewise.
2592 * timezone/zone.tab: Likewise.
2594 1998-05-27 Ulrich Drepper <drepper@cygnus.com>
2596 * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
2597 Reported by Matt McLean <keys@brio.yikes.com>.
2599 1998-05-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2601 * catgets/Makefile ($(objpfx)de.cat): Renamed from
2602 do-gencat-test. Use automatic variables.
2603 ($(objpfx)de.msg): Fix reference to po file.
2605 1998-05-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2607 * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
2610 1998-05-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2612 * intl/dcgettext.c: Fix typo.
2614 1998-05-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2616 * configure.in: Allow more make versions e.g 3.76.90.
2618 1998-05-25 Ulrich Drepper <drepper@cygnus.com>
2620 * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
2622 * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
2623 for Hurd. Patch by Mark Kettenis.
2625 1998-04-18 Gordon Matzigkeit <gord@profitpress.com>
2627 * mach/Machrules (+preinit, +postinit): Define these variables to
2628 empty because libhurduser and libmachuser don't need startup
2631 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
2633 * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
2634 instead of a raw bitmask.
2636 1998-05-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2638 * Makeconfig (rpath-dirs): New variable.
2639 (rpath-link): Use it.
2640 (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
2641 (db-objpfx): Removed.
2642 * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
2643 * md5-crypt/Makefile: Likewise.
2644 * sysdeps/mach/hurd/Makefile: Likewise.
2646 * Makeconfig (move-if-change): New variable.
2647 * iconvdata/Makefile (move-if-change): Removed.
2648 * manual/Makefile (move-if-change): Set only if undefined, use
2649 local script by default.
2650 * sunrpc/Makefile (move-if-change): Removed.
2651 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
2654 * elf/Makefile: Remove all references to obsolete file
2656 ($(objpfx)trusted-dirs.h): Use stamp file. Cleanup command.
2658 1998-05-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2660 * elf/dl-close.c (_dl_close): Add debugging message.
2662 1998-05-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2664 * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
2665 to get Linux version and not gcc version.
2666 Reported by Alan Curry <pacman@cqc.com>.
2668 1998-05-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2670 * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
2671 pointers - return unknown error message instead.
2672 Reported by Alan Curry <pacman@cqc.com>.
2674 1998-05-24 Mark Kettenis <kettenis@phys.uva.nl>
2676 * iconvdata/Makefile (modules, sed-generated-headers,
2677 perl-generated-headers): ibm424.h is perl generated. Make
2678 necessary modifications to compile without perl.
2680 1998-05-24 Mark Kettenis <kettenis@phys.uva.nl>
2682 * hesiod/hesiod.c (read_config_file): Fix typo.
2684 1998-05-24 Ulrich Drepper <drepper@cygnus.com>
2686 * version.h: Bump VERSION.
2688 * csu/Makefile (distribute): Add munch-tmpl.c.
2690 1998-05-23 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2692 * nis/nis_defaults.c: Fix buffer problems and typos.
2694 1998-05-23 08:42 Ulrich Drepper <drepper@cygnus.com>
2696 * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
2699 1998-05-22 Ulrich Drepper <drepper@cygnus.com>
2701 * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
2704 * libio/strops.c (_IO_str_underflow): Read newly available
2705 character from buffer as unsigned.
2707 1998-05-22 10:56 Ulrich Drepper <drepper@cygnus.com>
2709 * catgets/Makefile (distribute): Add xopen-msg.h.
2710 (generated): Add de.msg and de.cat.
2711 (tests): Add do-gencat-test.
2712 (do-gencat-test): New goal. Run gencat on a generated msg file.
2713 * catgets/xopen-msg.h: New file.
2715 1998-05-22 Ulrich Drepper <drepper@cygnus.com>
2717 * catgets/open_catalog.c (__open_catalog): Use byteswap.h
2718 functions. Optimize filename creation a bit.
2720 1998-05-22 09:29 Ulrich Drepper <drepper@cygnus.com>
2722 * stdlib/random_r.c: Help gcc to optimize the code.
2723 Patch by Joe Keane <jgk@jgk.org>.
2725 1998-05-21 Ulrich Drepper <drepper@cygnus.com>
2727 * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
2730 1998-05-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2732 * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
2735 1998-05-21 15:27 Ulrich Drepper <drepper@cygnus.com>
2737 * wcsmbs/wcsnrtombs.c: Correct computation of result.
2738 * wcsmbs/wcsrtombs.c: Likewise.
2740 * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
2741 * wcsmbs/wcsmbs-tst1.c: New file.
2743 * iconv/loop.c (COUNT_CONVERTED): Correct computation.
2745 * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
2748 * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
2751 1998-05-21 Philip Blundell <philb@gnu.org>
2753 * sysdeps/arm/fpu_control.h: Replace stub file with real
2755 * sysdeps/arm/fpu/bits/fenv.h: New file.
2756 * sysdeps/arm/fpu/fesetround.c: Likewise.
2757 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
2758 * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
2759 * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
2760 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
2761 * sysdeps/arm/fpu/fegetenv.c: Likewise.
2762 * sysdeps/arm/fpu/fesetenv.c: Likewise.
2764 1998-05-21 16:34 Richard Henderson <rth@cygnus.com>
2766 * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
2767 read instead of mmap.
2769 1998-05-21 8:16 Richard Henderson <rth@cygnus.com>
2771 * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
2772 directly instead of include_next. Add missing semicolons.
2773 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
2774 Add missing semicolons.
2776 1998-05-21 Ulrich Drepper <drepper@cygnus.com>
2778 * iconvdata/gconv-modules: Add more aliases to please java
2781 1998-05-20 Ulrich Drepper <drepper@cygnus.com>
2783 * stdio-common/vfprintf.c (process_arg): Fix typo.
2785 * iconvdata/TESTS: New tests for EUC-KR.
2787 * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
2788 * iconvdata/testdata/EUC-KR: New file.
2790 1998-05-20 07:26 H.J. Lu <hjl@gnu.org>
2792 * math/libm-test.c (hypot_test): Fix a typo.
2794 1998-05-20 Ulrich Drepper <drepper@cygnus.com>
2796 * stdio-common/vfprintf.c: When precision is specified for %ls or
2797 %S handle it correctly.
2799 1998-05-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2801 * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
2802 the" in one line - fixed it.
2803 * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2804 * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2805 * posix/unistd.h: Likewise
2807 1998-05-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2809 * Makeconfig (rpath-link): Add resolvobjdir.
2810 (resolvobjdir): New variable.
2811 Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
2813 1998-05-20 09:36 Ulrich Drepper <drepper@cygnus.com>
2815 * elf/dl-close.c: Call shared object terminators at the right time.
2816 Patch by Philippe Troin <phil@fifi.org>.
2818 1998-05-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2820 * Make-dist (+tsrcs): Also add *.map for every member of
2823 * Makefile (distribute): Don't distribute scripts/printsources and
2824 scripts/=__ify. Distribute FAQ.in.
2825 (rpm/%): Don't pass subdirs to sub-make.
2827 * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
2828 instead of $(no_deps).
2830 1998-05-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2832 * sysdeps/generic/setenv.c: Protect against GNU C extension.
2833 (KNOWN_VALUE, STORE_VALUE): Do it right.
2834 (setenv): Remove unused variable.
2836 1998-05-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2838 * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
2839 (CFLAGS-zdump.c): Add $(tz-cflags).
2841 * timezone/zdump.c (abbr): Use TM_ZONE if defined. Add const to
2844 1998-05-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2846 * time/tzfile.c (__tzfile_compute): Undo last change. Instead
2847 take struct tm parameter and set tm_isdst, tm_zone and tm_offset
2849 * time/tzset.c: Update prototype of __tzfile_compute.
2850 (__tz_convert): Pass tp to __tzfile_compute. Don't set tm_isdst,
2851 tm_zone and tm_offset here if __use_tzfile.
2853 1998-05-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2855 * Makerules: Install libc.a even if there are no object file.
2857 1998-05-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2859 * Makerules (do-makelib): Don't force creating library from
2860 scratch, which is faster and gets correct behaviour if $(subdirs)
2863 1998-05-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2865 * Makerules (do-stamp): Make it work when building in source
2868 1998-05-20 00:10 Ulrich Drepper <drepper@cygnus.com>
2870 * elf/dl-load.c: Rename option and variable from ignore-rpath to
2872 * elf/dl-support.c: Likewise.
2873 * elf/ldsodefs.h: Likewise.
2874 * elf/rtld.c: Likewise.
2875 * iconvdata/run-iconv-test.sh: Likewise.
2877 1998-05-19 23:08 Ulrich Drepper <drepper@cygnus.com>
2879 * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
2880 variable using the value.
2881 * elf/ldsodefs.h: Declare _dl_ignore_path.
2882 * elf/dl-load.c (decompose_rpath): Compare name of handled shared
2883 object against list in _dl_ignore_path and ignore RPATH if on the list.
2884 * elf/dl-support.c: Define _dl_ignore_path for static binaries.
2885 * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
2886 to make sure we get the correct helper libraries loaded.
2888 * elf/dl-load.c (decompose_rpath): Remove `room' parameter. Use
2889 "RPATH" string in call to fillin_rpath instead.
2890 (_dl_init_paths): Remove this parameter from call to decompose_rpath.
2892 1998-05-19 Ulrich Drepper <drepper@cygnus.com>
2894 * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
2895 correctly. Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2897 1998-05-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2899 * manual/terminal.texi (I/O Queues): Fix typo.
2901 * manual/stdio.texi (Closing Streams): Fix grammar.
2903 * manual/arith.texi (Absolute Value): Correct typo.
2904 Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
2906 1998-05-19 15:58 Ulrich Drepper <drepper@cygnus.com>
2908 * elf/rtld.c (process_envvars): Fix typo. Don't handle
2909 LD_PROFILE_OUTPUT in SUID binaries.
2910 * intl/dcgettext.c: In SUID binaries don't let language part of
2911 locale value contain path elements.
2912 * intl/explodename.h: Define new function _nl_find_language.
2913 * intl/loadinfo.h: Declare _nl_find_language.
2914 * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
2915 language part it drop the value is path element is contained.
2917 * locale/setlocale.c: Fix typo.
2919 1998-05-18 Philip Blundell <Philip.Blundell@pobox.com>
2921 * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
2923 * sysdeps/arm/strlen.S: Support both big and little endian processors.
2925 * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
2926 log, not a byte-count.
2928 * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
2929 a.out compatibility.
2931 1998-05-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2933 * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
2934 * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2935 * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2936 * posix/unistd.h: Likewise.
2937 * math/math.h: Likewise.
2938 * manual/users.texi (Manipulating the Database): Likewise.
2939 * manual/signal.texi (Job Control Signals): Likewise.
2940 * manual/message.texi (The gencat program): Likewise.
2941 * manual/filesys.texi (Hard Links): Likewise.
2942 * manual/math.texi (SVID Random): Likewise.
2943 * manual/llio.texi (Waiting for I/O): Likewise.
2944 * manual/io.texi (File Name Errors): Likewise.
2945 * manual/conf.texi (String Parameters): Likewise.
2946 * manual/arith.texi (Infinity): Likewise.
2947 * malloc/malloc.c: Likewise.
2948 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2949 * csu/Makefile: Likewise.
2951 1998-05-19 12:16 Ulrich Drepper <drepper@cygnus.com>
2953 * manual/memory.texi: Add back accidently removed line.
2955 1998-04-25 Mark Kettenis <kettenis@phys.uva.nl>
2957 * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
2958 (timeout_handler): New function.
2959 (LOCK_FILE, UNLOCK_FILE): New macros.
2960 Implement file locking with timeout.
2961 (getutent_r_file, internal_getut_r, getutline_r_file,
2962 pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
2965 1998-05-18 11:38 Ulrich Drepper <drepper@cygnus.com>
2967 * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
2970 1998-05-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2972 * rpm/Makefile: Delete inclusion of version.mk.
2974 1998-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2976 * libc.map: Add all libio functions needed libstdc++ with version
2979 1998-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2981 * iconvdata/Makefile (generated): Add *.stmp files.
2983 1998-05-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2985 * timezone/Makefile (testdata, build-testdata): New variables, use
2986 them in rules for test data.
2987 ($(objpfx)tst-timezone.out): Depend on test data.
2988 ($(testdata)/Europe/Berlin, $(testdata)/Universal,
2989 $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
2990 New rules to build test data.
2991 (tst-timezone-ENV): Pass TZDIR to point to test data.
2993 1998-05-18 Ulrich Drepper <drepper@cygnus.com>
2995 * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
2996 (the designation sequence is disturbing).
2998 1998-05-17 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3000 * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
3001 * sunrpc/xdr_rec.c: Likewise.
3003 1998-05-15 Ulrich Drepper <drepper@cygnus.com>
3005 * posix/Makefile (tests): Add runptests.
3006 (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
3007 (before-compile): Add ptestcases.h.
3008 (ptestscases.h): Add rule to generate from PTESTS.
3009 * posix/runptests.c: New file.
3010 * posix/PTESTS: New file.
3011 * posix/PTESTS2C.sed: New file.
3013 1998-05-15 Ulrich Drepper <drepper@cygnus.com>
3015 * iconv/loop.c: Let user add code to use and set paramaters.
3017 * iconvdata/iso-2022-kr.c: Correct to-loop.
3019 * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
3020 point to output buffer.
3022 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
3025 * iconvdata/TESTS: Add ISO-2022-KR test.
3026 * iconvdata/testdata/ISO-2022-KR: New file.
3028 1998-05-15 21:07 Ulrich Drepper <drepper@cygnus.com>
3030 * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
3032 * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
3034 * wcsmbs/btowc.c: Likewise.
3035 * wcsmbs/mbrtowcs.c: Likewise.
3036 * wcsmbs/mbsnrtowcs.c: Likewise.
3037 * wcsmbs/mbsrtowcs.c: Likewise.
3038 * wcsmbs/wcrtomb.c: Likewise.
3039 * wcsmbs/wcsnrtombs.c: Likewise.
3040 * wcsmbs/wcsrtombs.c: Likewise.
3041 * wcsmbs/wctob.c: Likewise.
3042 * iconv/skeleton.c: Increment invocation_counter.
3043 * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
3046 * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
3047 * iconvdata/iso-2022-jp.c: Likewise.
3048 * iconvdata/iso646.c: Likewise.
3050 * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
3052 1998-05-15 Ulrich Drepper <drepper@cygnus.com>
3054 * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
3056 * sysdeps/generic/setenv.c (setenv): Remove optimization for
3057 overwriting existing values if it fits.
3059 1998-05-15 14:36 Ulrich Drepper <drepper@cygnus.com>
3061 * posix/wordexp-test.c: Avoid duplicate messages.
3063 * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
3064 tsearch. Correctly interpret values returned by those functions.
3065 (unsetenv): Store pointer to string, not pointer to string pointer.
3067 * time/tzfile.c (__tzfile_compute): Take new arguments. Store
3068 DST information and offset in them.
3069 * time/tzset.c (__tz_convert): Pass extra parameters to
3070 __tzfile_compute. Compute equivalent values for use of tz_rules.
3072 1998-05-15 00:49:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
3074 * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
3075 stamp files to avoid unnecessary recompilation.
3076 (gen-8bit-gap-table): Likewise.
3077 (move-if-change): New variable.
3078 (all generated .h rules): Change to be .stmp rules.
3079 (%.h): New rule; depend on %.stmp; no commands.
3080 (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
3083 1998-05-15 01:09 Zack Weinberg <zack@rabi.phys.columbia.edu>
3085 * Makerules (libc-map): Deleted.
3086 (load-map-file): Set to the appropriate compiler switch, not
3087 just the file name. If libfoo-map is not set, look for a
3088 libfoo.map in the current directory and $(..).
3089 (map-file): New variable, contains just the mapfile name.
3090 (build-shlib): Adjust for new value of load-map-file.
3091 (libc.so): Correct dependencies.
3093 * extra-lib.mk: Correct shlib dependencies since libfoo-map
3094 may not be set anymore.
3096 * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
3097 Delete libdl-map. Tweak ld.so link rule to work with changed
3098 variable settings in Makerules.
3099 * iconvdata/Makefile: Tweak build-module to work with changed
3100 variable settings in Makerules.
3102 * db/Makefile: Delete libdb-map.
3103 * hesiod/Makefile: Delete libnss_hesiod-map.
3104 * linuxthreads/Makefile: Delete libpthread-map.
3105 * locale/Makefile: Delete libBrokenLocale-map.
3106 * login/Makefile: Delete libutil-map.
3107 * math/Makefile: Delete libm-map.
3108 * md5-crypt/Makefile: Delete libcrypt-map.
3109 * nis/Makefile: Delete libnsl-map, libnss_nis-map,
3110 libnss_nisplus-map, and libnss_compat-map.
3111 * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
3113 * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
3114 * rt/Makefile: Delete librt-map.
3116 1998-05-15 01:06 Zack Weinberg <zack@rabi.phys.columbia.edu>
3118 * configure.in: Instead of substituting `yes' or `no' for whether
3119 --no-whole-archive is available, set @no_whole_archive@ to the
3120 appropriate gcc switch or the empty string. Likewise for
3122 * config.make.in: Replace have-no-whole-archive with
3123 no-whole-archive and have-no-exceptions with no-exceptions.
3124 * Makerules: Delete stanzas setting no-whole-archive and
3127 * sunrpc/Makefile: Use move-if-change to update generated .h
3130 1998-05-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3132 * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
3135 1998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3137 * time/tzfile.c (__tzfile_read): Remove unused variable info.
3138 (__tzfile_compute): Likewise.
3140 1998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3142 * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
3143 defines from Linux 2.1.102.
3145 1998-05-14 23:14 Ulrich Drepper <drepper@cygnus.com>
3147 * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
3149 1998-05-14 13:25 Ulrich Drepper <drepper@cygnus.com>
3151 * inet/netinet/in.h: Add defines for multicast.
3152 Reported by Jeremy Hall <jhall@UU.NET>.
3154 * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
3155 * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
3156 and unsetenv. Optimize _LIBC case.
3157 * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
3158 Define functions with leading __.
3160 * time/tzfile.c: Correct handling of global variables daylight,
3161 timezone, and tzname.
3162 * time/tzset.c: Likewise.
3163 * timezone/Makefile (tests): Add tst-timezone.
3164 * timezone/tst-timezone.c: New file.
3166 1998-05-14 10:35 Ulrich Drepper <drepper@cygnus.com>
3168 * timezone/asia: Update from tzdata1998d.
3169 * timezone/australasia: Likewise.
3170 * timezone/europe: Likewise.
3172 1998-05-13 Ulrich Drepper <drepper@cygnus.com>
3174 * string/string.h: Don't use the optimized versions for the string
3175 functions if optimizing for space.
3177 * stdlib/tst-strtod.c: Add test for -0.0.
3179 * io/ftwtest-sh: Prevent tests from being run by root.
3181 * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
3182 last addition. Patch by wkpark@chem.skku.ac.kr.
3184 1998-05-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3186 * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
3189 1998-05-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3191 * iconvdata/gen-8bit.sh: New file.
3192 * iconvdata/gen-8bit-gap.sh: New file.
3193 * iconvdata/gen-8bit-gap-1.sh: New file.
3194 * iconvdata/Makefile (generate-8bit-table): Use shell script
3195 instead of writing the commands directly.
3196 (generate-8bit-gap-table): Likewise.
3197 ($(objpfx)iso8859-7jp.h): Likewise.
3198 (generated headers): Depend on shell script instead of Makefile.
3199 (before-compile): Add $(perl-generated-headers) only if perl is
3201 (headers): Depend on $(perl-generated-headers) only if perl is
3203 (sed-generated-headers): Remove iso8859-7jp.h.
3205 1998-05-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3207 * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command. Clean up.
3210 1998-05-12 Ulrich Drepper <drepper@cygnus.com>
3212 * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
3213 formed charset names to getfct. Let user override charset
3214 selection by mention charset in locale name.
3216 1998-05-12 12:15 Ulrich Drepper <drepper@cygnus.com>
3218 * posix/glob.c: Move to ...
3219 * sysdeps/generic/glob.c: ...here.
3220 * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
3222 * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
3223 * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
3224 * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
3225 * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
3227 * libc.map [GLIBC_2.1]: Add glob and globfree.
3229 1998-05-12 Ulrich Drepper <drepper@cygnus.com>
3231 * sunrpc/Makefile (generated): Restore old list.
3233 1998-05-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3235 * rt/Makefile (tests): Define only if we have a thread library.
3237 * nis/ypclnt.c: Add: #include <errno.h>.
3239 1998-05-10 15:39 Zack Weinberg <zack@rabi.phys.columbia.edu>
3241 * configure.in: Define and substitute RELEASE as well as
3243 * config.make.in: Add RELEASE and VERSION to be substituted.
3244 * Makeconfig: Delete all references to version.mk.
3245 * Make-dist: Likewise.
3246 * MakeTAGS: Likewise.
3247 * elf/Makefile: Likewise.
3249 1998-05-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3251 * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
3252 yp_get_default_domain.
3254 1998-05-12 Ulrich Drepper <drepper@cygnus.com>
3256 * sysdeps/posix/profil.c (__profil): Don't define act and timer
3257 variables as static. Patch by Joe Keane <jgk@jgk.org>.
3259 1998-05-12 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
3261 * malloc/malloc.c: Fix for NO_THREADS case.
3263 1998-05-11 18:02 Richard Henderson <rth@cygnus.com>
3265 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
3266 Remove statfs and fstatfs.
3267 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
3268 and pwrite as EXTRA.
3269 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3271 1998-05-09 Ulrich Drepper <drepper@cygnus.com>
3273 * libc.map: Add capget and capset.
3275 1998-05-08 Ulrich Drepper <drepper@cygnus.com>
3277 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3278 (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
3279 vector. Patch by Mark Hatle <fray@kernel.crashing.org>
3280 and Matt McLean <keys@brio.yikes.com>.
3282 1998-05-08 23:49 Ulrich Drepper <drepper@cygnus.com>
3284 * misc/Makefile (tests): Add tst-mntent.
3285 * misc/tst-mntent.c: New file.
3287 1998-05-08 21:56 Zack Weinberg <zack@rabi.phys.columbia.edu>
3289 * autolock.sh: Removed.
3290 * manual/move-if-change: Removed.
3292 * scripts: New directory.
3293 * =__ify: Moved to scripts.
3294 * config.guess: Likewise.
3295 * config.sub: Likewise.
3296 * gen-FAQ.pl: Likewise.
3297 * install-sh: Likewise.
3298 * mkinstalldirs: Likewise.
3299 * move-if-change: Likewise.
3300 * printsources: Likewise.
3301 * rellns.sh: Likewise.
3302 * test-installation.pl: Likewise.
3304 * configure.in: Look in scripts for config.guess, config.sub,
3306 * Makefile: Distribute all above files in their
3307 new home. Find gen-FAQ.pl and test-installation.pl in scripts.
3308 * manual/Makefile: Find mkinstalldirs and move-if-change in
3309 $(..)scripts. Drop them from distribute. Minor cleanups.
3310 * Makerules: Find mkinstalldirs and rellns-sh in scripts.
3311 * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
3312 * timezone/Makefile: Find rellns-sh in scripts.
3314 1998-05-08 Ulrich Drepper <drepper@cygnus.com>
3316 * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
3317 Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
3319 1998-05-08 19:24 Zack Weinberg <zack@rabi.phys.columbia.edu>
3321 * Makefile (+subdir-inits): Delete variable.
3322 (+init_subdirs): Likewise.
3324 (before-compile): Likewise.
3325 (libc-init): Delete stanza.
3326 (version-info.h): Delete rule and associated variable.
3327 (distribute): Don't distribute moved files.
3328 * Makerules (interp-obj): It lives in elf now. Only use it
3329 if $(elf) is set. Delete rule to build it.
3330 * csu/Makefile: Build set-init.o and/or munch-init.o. Build
3331 version.o and version-info.h. Minor cleanups.
3332 (routines): Add libc-init, sysdep, version.
3333 (generated): Add version-info.h.
3334 * elf/Makefile: Build interp.os.
3336 * interp.c: Moved to elf.
3337 * set-init.c: Moved to csu.
3338 * munch-init.c: Likewise.
3339 * munch.awk: Likewise.
3340 * version.c: Likewise.
3342 * Rules: Unconfuse syntax highlighting with a fake comment.
3344 1998-05-08 Ulrich Drepper <drepper@cygnus.com>
3346 * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
3349 1998-05-08 16:36 Zack Weinberg <zack@rabi.phys.columbia.edu>
3351 * iconvdata/Makefile (generated): Set to *-generated-headers
3353 (tests): Set to iconv-test.
3354 * localedata/Makefile (generated-dirs): Add ld-test-names to list.
3355 * posix/Makefile (generated): Set to wordexp-test-result*.
3356 * sunrpc/Makefile (generated): Remove rpcsvc/*.
3357 (generated-dirs): Add rpcsvc.
3358 * libio/Makefile: Clean up.
3360 1998-05-08 14:55 Ulrich Drepper <drepper@cygnus.com>
3362 * Make-dist (+tsrcs): Also use tests-statc where tests is used.
3363 * Makerules: Likewise.
3364 (+depfiles): Also add sysdep-others.
3366 * iconv/Makefile (distribute): Add loop.s and skeleton.c.
3367 * iconvdata/Makefile (distribute): Add TESTS.
3368 * localedata/Makefile (repertoires): Rename to repertoiremaps.
3369 * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
3370 * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
3371 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
3372 sysdep-others, not others.
3373 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3374 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
3376 1998-05-08 12:26 Ulrich Drepper <drepper@cygnus.com>
3378 * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
3379 cost_hi and cost_lo.
3380 * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
3381 Cost parameter and set cost_lo to INT_MAX.
3382 (add_module): Take new parameter and use it to initialize cost_lo.
3383 (read_conf_file): Count modules being loaded and use counter for
3384 new parameter to add_module.
3385 * iconv/gconv_db.c (find_derivation): When look for cost examine
3386 cost_hi and cost_lo.
3388 1998-05-08 10:52 Ulrich Drepper <drepper@cygnus.com>
3390 * string/bits/string2.h: Don't use unsigned char * unless really
3391 necessary since this disturbs C++.
3392 * sysdeps/i386/i486/bits/string.h: Likewise.
3393 Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
3395 1998-05-08 13:53 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3397 * malloc/malloc.c (top_check): Fix last change.
3399 1998-05-07 Ulrich Drepper <drepper@cygnus.com>
3401 * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
3402 Patch by Matt McLean <keys@brio.yikes.com>.
3404 1997-05-07 13:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3406 * Makerules (lib): Put back dependency on lib-noranlib.
3407 ($(subdirs-stamps)): Remove dependency on stamp.* again.
3409 1998-05-07 Ulrich Drepper <drepper@cygnus.com>
3411 * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
3412 test in __pow2 implementation.
3414 1998-04-16 07:42 Geoff Keating <geoffk@ozemail.com.au>
3416 * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
3417 Still need *FLAGS-.o because we still sometimes build .o files.
3418 * db2/Makefile: Don't build libndbm.a if !build-static.
3420 1998-05-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3422 * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
3424 1998-04-16 07:42 Geoff Keating <geoffk@ozemail.com.au>
3426 * configure.in: New test for broken gcc on PowerPC.
3427 * sysdeps/powerpc/atomicity.h: Use result of test.
3428 * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
3430 * math/libm-test.c: Update many of the epsilon to match actual
3433 * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
3434 * sysdeps/libm-ieee754/e_expf.c: Likewise.
3435 * sysdeps/libm-ieee754/s_exp2.c: Likewise.
3436 * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
3438 * sysdeps/libm-ieee754/e_pow.c: Correct typo.
3440 * sysdeps/powerpc/elf/libc-start.c: New file.
3441 * sysdeps/powerpc/elf/start.S: New file, use libc-start.
3442 * sysdeps/powerpc/elf/start.c: Delete.
3444 * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
3445 * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete. It was unused.
3447 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
3450 1998-05-06 12:51 Ulrich Drepper <drepper@cygnus.com>
3452 * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
3455 * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
3456 * sysdeps/libm-i387/e_powl.S: Likewise.
3458 1998-03-31 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
3460 * malloc/malloc.c (chunk2mem_check, top_check): New functions.
3461 (malloc_check, free_check, realloc_check, memalign_check): Use
3462 them to improve overrun checking. Overruns of a single byte and
3463 corruption of the top chunk are now detected much more reliably.
3465 1998-05-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3467 * math/libm-test.c (pow_test): Add test for special value from PR
3470 1998-05-06 Ulrich Drepper <drepper@cygnus.com>
3472 * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
3473 including linux/errno.h.
3475 1998-05-06 09:49 Ulrich Drepper <drepper@cygnus.com>
3477 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
3479 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
3480 * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
3482 1998-05-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3484 * Makerules (elide-routines.*): Fix assignments.
3485 (do-makelib): Fix typo.
3486 ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
3489 1998-05-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3491 * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
3492 $(objpfx)sysd-dirs): Move them...
3493 * Makeconfig: ... here.
3494 * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
3495 (stubs): Fix circular depedency.
3496 (do-makelib): Clean up.
3497 (lib): Don't depend on lib-noranlib.
3498 ($(objpfx)stamp.oS): Remove special case for empty
3499 static-only-routines.
3500 (elide-routines.o): Add $(static-only-routines).
3501 (elide-routines$o): Define this instead of elide-routines.$o.
3502 * manual/Makefile (stubs): Fix circular dependency.
3504 1998-05-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3506 * libio/Makefile (routines): Remove duplicate oldiofclose.
3508 1998-05-05 Ulrich Drepper <drepper@cygnus.com>
3510 * string/strcoll.c: Use uint32_t instead of u_int32_t.
3512 1998-05-05 Ulrich Drepper <drepper@cygnus.com>
3514 * libio/stdio.h: Fix typo in __REDIRECT.
3515 * io/sys/stat.h: Likewise.
3516 Reported by Myles Uyema <myles@uyema.nws.net>.
3518 1998-05-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3520 * locale/programs/localedef.c (options): Fix help message.
3522 1998-05-04 Ulrich Drepper <drepper@cygnus.com>
3524 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
3525 relocations. Patch by Joe Keane <jgk@jgk.org>.
3527 1998-05-04 12:40 Ulrich Drepper <drepper@cygnus.com>
3529 * malloc/malloc.c (ptmalloc_init_all): New function. Similar to
3530 ptmalloc_unlock_all, but re-initializes the mutexes instead.
3531 (ptmalloc_init): Use new function in thread_at_fork call.
3532 (thread_atfork_static): Likewise.
3533 Suggested by Wolfram Gloger and Xavier Leroy.
3535 1998-05-04 Ulrich Drepper <drepper@cygnus.com>
3537 * signal/signal.h: Move definitions of struct sigstack and
3538 struct sigaltstack into separate file and include it.
3539 * sysdeps/generic/bits/sigstack.h: New file.
3540 * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
3541 * signal/Makefile (headers): Add bits/sigstack.h.
3543 1998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3545 * elf/rtld.c (dl_main): Fix check for number of references to
3548 1998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3550 * elf/rtld.c (dl_main): Check has_interp after executing platform
3553 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3555 * iconvdata/run-iconv-test.sh: Fix typo.
3557 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3559 * Makerules (+depfiles): Add depfiles for $(tests-static).
3562 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3564 * manual/terminal.texi (Special Characters): Fix description of
3567 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3569 * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
3571 * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise. Initialize rest
3574 1998-04-30 14:15 Zack Weinberg <zack@rabi.phys.columbia.edu>
3576 * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
3578 1998-05-01 Ulrich Drepper <drepper@cygnus.com>
3580 * intl/locale.alias: Update russian entry.
3582 1998-05-01 21:54 Zack Weinberg <zack@rabi.phys.columbia.edu>
3584 * Makerules (static-only-routines): Reimplement in terms of
3586 (shared-only-routines): Reimplement in terms of
3587 elide-routines.X [where X is all object-suffixes except .os].
3589 (stubs): Create stubs file inside the subdir.
3590 (common-mostlyclean): Remove stubs file from inside the subdir.
3591 * Makefile (subdir-stubs): Look for stubs files inside the
3593 * manual/Makefile (stubs): Create dummy stubs file inside the
3596 1998-05-01 21:01 Zack Weinberg <zack@rabi.phys.columbia.edu>
3598 Build speed improvement: make ar less of a bottleneck.
3600 * Makerules (stamp$o): Just record the object list for later
3602 (libc_foo.a): New rule, depends on subdir stamp files; builds
3603 and ranlibs the library from the lists saved in those files.
3605 (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
3606 (subdirs-stamp-o): Likewise.
3608 (ar-symtab-name): Delete variable.
3609 (lib%.a): Delete target.
3610 (libc_foo.a(bar.%)): Delete target.
3611 (libc_foo.a($(ar-symtab-name))): Delete target.
3613 (objects objs): Just depend on libobjs and extra-objs.
3614 (libobjs): Depend on the stamp files, not the objects.
3615 (extra-objs): New target, just depends on the extra-objs list.
3617 (CREATE_ARFLAGS): Kill the `ar S' hack.
3619 * config.make.in (have-ar-S): Deleted.
3620 * configure.in: Delete test for `ar S'. Add test to determine
3621 whether ranlib does anything useful.
3623 1998-05-01 Ulrich Drepper <drepper@cygnus.com>
3625 * inet/tst-ether_aton.c: Include <stdio.h>.
3627 1998-04-30 16:45 Ulrich Drepper <drepper@cygnus.com>
3629 * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
3631 * locale/Makefile (distribute): Add programs/repertoire.h.
3632 (localedef-modules): Add repertoire.
3633 (CPPFLAGS): Define REPERTOIREMAP_PATH.
3634 * locale/programs/repertoire.c: New file.
3635 * locale/programs/repertoire.h: New file.
3636 * locale/programs/charmap.c: Starting fixing character set handling
3637 to handle multi-byte encodings.
3638 * locale/programs/charset.c: Likewise.
3639 * locale/programs/charset.h: Likewise.
3640 * locale/programs/ld-collate.c: Likewise.
3641 * locale/programs/ld-ctype.c: Likewise.
3642 * locale/programs/linereader.c: Likewise.
3643 * locale/programs/localedef.c: Likewise.
3644 * locale/programs/locfile-kw.gperf: Likewise.
3645 * locale/programs/locfile-kw.h: Likewise.
3646 * locale/programs/locfile-token.h: Likewise.
3647 * locale/programs/locfile.h: Likewise.
3648 * locale/programs/stringtrans.c: Likewise.
3650 * locale/programs/locfile.c: Interpret I18NPATH value as base of
3651 path, extended with "/locales/".
3653 1998-04-18 Philip Blundell <Philip.Blundell@pobox.com>
3655 * sysdeps/arm/memset.S: Fix off by one error.
3657 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
3658 __syscall_error rather than syscall_error directly.
3660 1998-04-17 Philip Blundell <Philip.Blundell@pobox.com>
3662 * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
3663 mmap() syscall for ARM.
3665 * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
3668 1998-04-30 Ulrich Drepper <drepper@cygnus.com>
3670 * locale/programs/localedef.c: Recognize repertoire-map option.
3672 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
3674 * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
3675 converting non-hex numbers.
3676 Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
3678 1998-04-23 07:31 H.J. Lu <hjl@gnu.org>
3680 * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
3682 * resolv/Makefile (tests): New, add tst-aton.
3683 * resolv/tst-aton.c: New file.
3685 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
3687 * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
3690 1998-04-29 12:11 Ulrich Drepper <drepper@cygnus.com>
3692 * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
3693 by letting the later modify the variable computing the total directly.
3694 * wcsmbs/mbsrtowcs.c: Likewise.
3695 * wcsmbs/wcsnrtombs.c: Likewise.
3696 * wcsmbs/wcsrtombs.c: Likewise.
3698 * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
3700 * wcsmbs/wctoc.c: Likewise.
3702 * wcsmbs/mbsrtowcs.c: Optimize a bit more.
3703 * wcsmbs/wcsrtombs.c: Likewise.
3705 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
3707 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
3709 * iconv/skeleton.c: Correct counting of actually converted
3712 * intl/localealias.c (read_alias_file): Use unsigned char for
3713 local variables. Remove unused variable tp.
3714 * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
3715 for type of codeset. For loosing Solaris systems.
3716 * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
3717 * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
3719 Patches by Jim Meyering.
3721 * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
3722 wcsrtombs must put it into initial state.
3724 1998-04-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3726 * iconv/gconv_simple.c: Fix endian bug. Don't put side effects in
3727 argument of bswap_XX macro.
3729 1998-04-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3731 * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
3734 1998-04-28 Ulrich Drepper <drepper@cygnus.com>
3736 * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
3737 semun and use stdarg macros to get the value.
3738 * sysdeps/generic/semctl.c: Don't use union semun.
3740 * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
3742 * string/basename.c [!_LIBC]: Define function as gnu_basename.
3744 * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
3747 * stdlib/grouping.h: Accept ungrouped numbers even if locale
3750 * intl/hash-string.h: Don't include values.h.
3752 * inet/Makefile (tests): Add tst-ether_aton.
3753 * inet/tst-ether_aton.c: New file.
3755 * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
3757 * inet/ether_aton.c (ether_aton): Declare result variable static.
3758 Reported by ahyung@unixg.ubc.ca.
3760 * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
3761 Define macro _SEM_SEMUN_UNDEFINED instead.
3762 Reported by Dirk Laessig <d.laessig@tu-bs.de>.
3764 * stdio-common/tst-wc-printf.c: New file. Test for %S and %C format.
3765 * stdio-common/Makefile (tests): Add tst-wc-printf.
3767 1998-04-28 16:32 Philip Blundell <philb@gnu.org>
3769 * manual/stdio.texi (Variable Arguments Output): Correct variable
3770 name. Patch from Ewan Mellor <em@nexus.co.uk>
3772 1998-04-27 Ulrich Drepper <drepper@cygnus.com>
3774 * intl/dcgettext.c: Remove unneeded definition of
3777 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3779 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
3780 instead of do-iconv-test.
3781 ($(objpfx)gconv-modules): Define rule only if objpfx is not
3784 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3786 * string/string.h: Fix feature test.
3788 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3790 * iconvdata/iso646.c (BODY): Don't use character constants that
3791 depend on signedness of char.
3793 1998-04-27 Ulrich Drepper <drepper@cygnus.com>
3795 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
3796 (sysdep_routines): Add s_pread64 and s_pwrite64.
3798 1998-04-27 09:54 Ulrich Drepper <drepper@cygnus.com>
3800 * iconvdata/Makefile (distribute): Remove generated .h files.
3801 * iconvdata/koi8-r.h: Removed.
3802 * iconvdata/latin-greek-1.h: Removed.
3803 * iconvdata/latin-greek.h: Removed.
3805 * iconvdata/testdata/CP1258..UTF8: New iconv test source.
3806 * iconvdata/KOI-8: Likewise.
3807 * iconvdata/KOI-8..UTF8: Likewise.
3808 * iconvdata/KOI8-R: Likewise.
3809 * iconvdata/KOI8-R..UTF8: Likewise.
3811 1998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3813 * streams/Makefile (headers): Add sys/stropts.h.
3814 * streams/sys/stropts.h: New file.
3816 1998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3818 * sysdeps/unix/sysv/linux/ttyname.c,
3819 sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
3820 sysdeps/posix/ttyname*.c, but look in /dev/pts first.
3822 1998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3824 * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
3825 argument of _itoa_word.
3827 1998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3829 * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
3830 s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
3831 caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
3832 sigprocmask, resp., instead of EXTRA.
3834 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3835 s_pread64 and s_pwrite64.
3837 1998-04-26 18:44 Ulrich Drepper <drepper@cygnus.com>
3839 * iconvdata/Makefile: Correct rules to generate gap table.
3840 * iconvdata/gap.pl: Simplify.
3842 * iconvdata/TESTS: Name new tests.
3843 * iconvdata/testdata/CP1250: New file.
3844 * iconvdata/testdata/CP1250..UTF8: New file.
3845 * iconvdata/testdata/CP1251: New file.
3846 * iconvdata/testdata/CP1251..UTF8: New file.
3847 * iconvdata/testdata/CP1252: New file.
3848 * iconvdata/testdata/CP1252..UTF8: New file.
3849 * iconvdata/testdata/CP1253: New file.
3850 * iconvdata/testdata/CP1253..UTF8: New file.
3851 * iconvdata/testdata/CP1254: New file.
3852 * iconvdata/testdata/CP1254..UTF8: New file.
3853 * iconvdata/testdata/CP1255: New file.
3854 * iconvdata/testdata/CP1255..UTF8: New file.
3855 * iconvdata/testdata/CP1256: New file.
3856 * iconvdata/testdata/CP1256..UTF8: New file.
3857 * iconvdata/testdata/CP1257: New file.
3858 * iconvdata/testdata/CP1257..UTF8: New file.
3860 1998-04-26 Ulrich Drepper <drepper@cygnus.com>
3862 * iconvdata/Makefile: Add rules for ISO-2022-KR.
3863 * iconvdata/iso-2022-kr.c: New file.
3865 * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
3868 1998-04-25 18:39 Ulrich Drepper <drepper@cygnus.com>
3870 * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
3871 iso8859-8 and iso8859-10.
3872 * iconvdata/iso8859-5.c: Change to use gap method.
3873 * iconvdata/iso8859-7.c: Likewise.
3874 * iconvdata/iso8859-8.c: Likewise.
3875 * iconvdata/iso8859-10.c: Likewise.
3877 * iconvdata/Makefile: Add rules for ISO-2022-JP module.
3878 * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
3880 * iconvdata/iso-2022-jp.c: New file.
3882 * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
3883 * iconvdata/ksc5601.h: Unify function interfaces.
3884 * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
3885 * iconvdata/uhc.c: Likewise.
3887 * iconvdata/gb2312.h: Use correct types.
3889 * iconvdata/iso646.c (gconv_open): Correctly initialize the character
3890 size elements of data.
3892 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
3894 * string/tst-svc.expect: Adapt for change in .input.
3895 * string/tst-svc.input: More tests.
3897 1998-04-24 17:15 Ulrich Drepper <drepper@cygnus.com>
3899 * iconvdata/Makefile: Add rules for new modules.
3900 * iconvdata/gconv-modules: Likewise.
3901 * iconvdata/cp737.c: New file.
3902 * iconvdata/cp737.h: New file.
3903 * iconvdata/cp775.c: New file.
3904 * iconvdata/cp775.h: New file.
3905 * iconvdata/cp874.c: New file.
3906 * iconvdata/cp874.h: New file.
3908 1998-04-24 16:30 Ulrich Drepper <drepper@cygnus.com>
3910 * iconvdata/Makefile: Create target directory before generating
3913 1998-04-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3915 * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
3916 __USER_LABEL_PREFIX__.
3917 (__ASMNAME, __ASMNAME2): New macros.
3919 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
3921 * elf/dl-load.c: Include sys/param.h for MAX.
3923 1998-04-24 21:44 Richard Henderson <rth@cygnus.com>
3925 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
3926 __ftruncate the strong symbol, and add weak alias.
3927 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3929 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
3931 * termios/cfsetspeed.c: Make code cleaner and add missing const.
3932 Patch by Joe Keane <jgk@jgk.org>.
3934 * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
3937 1998-04-24 13:56 Ulrich Drepper <drepper@cygnus.com>
3939 * sysdeps/generic/bits/socket.h: Add #defines for enum values.
3940 Patch by Thomas Bushnell, n/BSG.
3942 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
3944 * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
3946 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
3948 * iconvdata/Makefile: Put generated headers in build directory.
3950 1998-04-23 22:43 Ulrich Drepper <drepper@cygnus.com>
3952 * elf/dl-load.c (fillin_rpath): Handle empty element returned by
3953 strsep as current directory.
3955 * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
3956 Java. Add definitions for unicodelittle implementation.
3957 * iconv/gconv_int.h: Add declaration for unicodelittle functions.
3958 * iconv/gconv_simple.c: Define unicodelittle functions.
3960 * iconv/iconv_prog.c: Make program print information about position
3961 of illegal character in input.
3963 * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
3964 comparison of charset name.
3965 * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
3966 * iconvdata/ebcdic-at-de-a.c: Likewise.
3967 * iconvdata/ebcdic-at-de.c: Likewise.
3968 * iconvdata/ebcdic-ca-fr.c: Likewise.
3969 * iconvdata/euccn.c: Likewise.
3970 * iconvdata/eucjp.c: Likewise.
3971 * iconvdata/euckr.c: Likewise.
3972 * iconvdata/euctw.c: Likewise.
3973 * iconvdata/hp-roman8.c: Likewise.
3974 * iconvdata/iso6937.c: Likewise.
3975 * iconvdata/iso8859-1.c: Likewise.
3976 * iconvdata/iso8859-10.c: Likewise.
3977 * iconvdata/iso8859-2.c: Likewise.
3978 * iconvdata/iso8859-3.c: Likewise.
3979 * iconvdata/iso8859-4.c: Likewise.
3980 * iconvdata/iso8859-5.c: Likewise.
3981 * iconvdata/iso8859-6.c: Likewise.
3982 * iconvdata/iso8859-7.c: Likewise.
3983 * iconvdata/iso8859-8.c: Likewise.
3984 * iconvdata/iso8859-9.c: Likewise.
3985 * iconvdata/johab.c: Likewise.
3986 * iconvdata/koi-8.c: Likewise.
3987 * iconvdata/koi8-r.c: Likewise.
3988 * iconvdata/latin-greek-1.c: Likewise.
3989 * iconvdata/latin-greek.c: Likewise.
3990 * iconvdata/sjis.c: Likewise.
3991 * iconvdata/t61.c: Likewise.
3992 * iconvdata/uhc.c: Likewise.
3994 * iconvdata/iso646.c: Add support for more ISO 646 variants.
3995 * iconvdata/TESTS: Add tests for ISO646 module.
3996 * iconvdata/gconv-modules: Add new modules.
3997 * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
3998 * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
3999 * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
4000 * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
4001 * iconvdata/testdate/DIN_66003: Likewise.
4002 * iconvdata/testdate/DIN_66003..UTF8: Likewise.
4003 * iconvdata/testdate/DS_2089: Likewise.
4004 * iconvdata/testdate/DS_2089..UTF8: Likewise.
4005 * iconvdata/testdate/ES: Likewise.
4006 * iconvdata/testdate/ES..UTF8: Likewise.
4007 * iconvdata/testdate/ES2: Likewise.
4008 * iconvdata/testdate/ES2..UTF8: Likewise.
4009 * iconvdata/testdate/GB_1988-80: Likewise.
4010 * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
4011 * iconvdata/testdate/IT: Likewise.
4012 * iconvdata/testdate/IT..UTF8: Likewise.
4013 * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
4014 * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
4015 * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
4016 * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
4017 * iconvdata/testdate/JUS_I.B1.002: Likewise.
4018 * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
4019 * iconvdata/testdate/KSC5636: Likewise.
4020 * iconvdata/testdate/KSC5636..UTF8: Likewise.
4021 * iconvdata/testdate/MSZ_7795.3: Likewise.
4022 * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
4023 * iconvdata/testdate/NC_NC00-10: Likewise.
4024 * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
4025 * iconvdata/testdate/NF_Z_62-010: Likewise.
4026 * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
4027 * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
4028 * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
4029 * iconvdata/testdate/NS_4551-1: Likewise.
4030 * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
4031 * iconvdata/testdate/NS_4551-2: Likewise.
4032 * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
4033 * iconvdata/testdate/PT: Likewise.
4034 * iconvdata/testdate/PT..UTF8: Likewise.
4035 * iconvdata/testdate/PT2: Likewise.
4036 * iconvdata/testdate/PT2..UTF8: Likewise.
4037 * iconvdata/testdate/SEN_850200_B: Likewise.
4038 * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
4039 * iconvdata/testdate/SEN_850200_C: Likewise.
4040 * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
4042 * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
4043 * iconvdata/cns11643l1.h: Likewise.
4044 * iconvdata/latin-greek-1.h: Likewise.
4045 * iconvdata/latin-greek.h: Likewise.
4046 * iconvdata/koi8-r.h: Likewise.
4047 * iconvdata/jis0212.h: Likewise.
4048 * iconvdata/gb2312.h: Likewise.
4049 * iconvdata/ksc5601.h: Likewise.
4051 * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
4053 * iconvdata/Makefile: Add rules for lots of more modules.
4054 * iconvdata/cp1250.c: New file.
4055 * iconvdata/cp1251.c: New file.
4056 * iconvdata/cp1252.c: New file.
4057 * iconvdata/cp1253.c: New file.
4058 * iconvdata/cp1254.c: New file.
4059 * iconvdata/cp1255.c: New file.
4060 * iconvdata/cp1256.c: New file.
4061 * iconvdata/cp1257.c: New file.
4062 * iconvdata/ebcdic-dk-no-a.c: New file.
4063 * iconvdata/ebcdic-dk-no.c: New file.
4064 * iconvdata/ebcdic-es-a.c: New file.
4065 * iconvdata/ebcdic-es-s.c: New file.
4066 * iconvdata/ebcdic-es.c: New file.
4067 * iconvdata/ebcdic-fi-se-a.c: New file.
4068 * iconvdata/ebcdic-fi-se.c: New file.
4069 * iconvdata/ebcdic-fr.c: New file.
4070 * iconvdata/ebcdic-is-friss.c: New file.
4071 * iconvdata/ebcdic-it.c: New file.
4072 * iconvdata/ebcdic-pt.c: New file.
4073 * iconvdata/ebcdic-uk.c: New file.
4074 * iconvdata/ebcdic-us.c: New file.
4075 * iconvdata/ibm037.c: New file.
4076 * iconvdata/ibm038.c: New file.
4077 * iconvdata/ibm1004.c: New file.
4078 * iconvdata/ibm1026.c: New file.
4079 * iconvdata/ibm1047.c: New file.
4080 * iconvdata/ibm256.c: New file.
4081 * iconvdata/ibm273.c: New file.
4082 * iconvdata/ibm274.c: New file.
4083 * iconvdata/ibm275.c: New file.
4084 * iconvdata/ibm277.c: New file.
4085 * iconvdata/ibm278.c: New file.
4086 * iconvdata/ibm280.c: New file.
4087 * iconvdata/ibm281.c: New file.
4088 * iconvdata/ibm284.c: New file.
4089 * iconvdata/ibm285.c: New file.
4090 * iconvdata/ibm290.c: New file.
4091 * iconvdata/ibm297.c: New file.
4092 * iconvdata/ibm420.c: New file.
4093 * iconvdata/ibm423.c: New file.
4094 * iconvdata/ibm424.c: New file.
4095 * iconvdata/ibm437.c: New file.
4096 * iconvdata/ibm500.c: New file.
4097 * iconvdata/ibm850.c: New file.
4098 * iconvdata/ibm851.c: New file.
4099 * iconvdata/ibm852.c: New file.
4100 * iconvdata/ibm855.c: New file.
4101 * iconvdata/ibm857.c: New file.
4102 * iconvdata/ibm860.c: New file.
4103 * iconvdata/ibm861.c: New file.
4104 * iconvdata/ibm862.c: New file.
4105 * iconvdata/ibm863.c: New file.
4106 * iconvdata/ibm864.c: New file.
4107 * iconvdata/ibm865.c: New file.
4108 * iconvdata/ibm868.c: New file.
4109 * iconvdata/ibm869.c: New file.
4110 * iconvdata/ibm870.c: New file.
4111 * iconvdata/ibm871.c: New file.
4112 * iconvdata/ibm875.c: New file.
4113 * iconvdata/ibm880.c: New file.
4114 * iconvdata/ibm891.c: New file.
4115 * iconvdata/ibm903.c: New file.
4116 * iconvdata/ibm904.c: New file.
4117 * iconvdata/ibm905.c: New file.
4118 * iconvdata/ibm918.c: New file.
4120 * locale/iso-4217.def: Update.
4121 * localedata/locales/pt_BR: Correct. Patches by Andreas Jaeger.
4123 * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
4126 1998-04-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4128 * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
4131 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
4133 * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
4134 * Makefile: Likewise.
4135 * posix/Makefile: Likewise.
4136 * sysdeps/mach/hurd/Makefile: Likewise.
4138 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
4140 * sysdeps/mach/hurd/bits/dirent.h: New file.
4141 * sysdeps/mach/hurd/readdir64.c: New file.
4142 * sysdeps/mach/hurd/readdir64_r.c: New file.
4144 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
4146 * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
4147 dprintf): Synchronize declarations with libio/stdio.h.
4149 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
4151 * elf/dlerror.c (dlerror): Don't assume that
4152 __libc_internal_tsd_get is defined. __libc_getspecific is already
4153 well-protected, so just use it directly.
4155 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
4157 * io/ftw.h (ftw): Fix typo.
4159 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
4161 * sysdeps/gnu/utmp_file.c: Fix typo.
4163 1998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4165 * iconvdata/run-iconv-test.sh: Fix more portability bugs. When
4166 one part of a test fails move on to the next test.
4168 1998-04-24 5:45 Richard Henderson <rth@cygnus.com>
4170 * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
4172 1998-04-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4174 * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
4175 as pointers, not signed integers.
4177 1998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4179 * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
4181 1998-04-21 21:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
4183 * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
4184 asm symbol name of functions.
4185 * include/features.h: Kill redundant test.
4187 * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
4188 * io/ftw.h: Likewise.
4189 * io/sys/stat.h: Likewise.
4190 * io/sys/statfs.h: Likewise.
4191 * io/sys/statvfs.h: Likewise.
4192 * libio/stdio.h: Likewise.
4193 * resource/sys/resource.h: Likewise.
4194 * rt/aio.h: Likewise.
4196 * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
4198 * signal/signal.h: Use new macros for BSD vs. SysV signal().
4200 * misc/Makefile: Drop bsd-compat.c. Make libbsd-compat.a
4202 * misc/bsd-compat.c: Removed.
4204 1998-04-21 20:32 Ulrich Drepper <drepper@cygnus.com>
4206 * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
4207 function declaration.
4208 * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
4209 and use them in conversion function.
4210 * iconvdata/Makefile (modules): Re-add ISO6446.
4211 * iconvdata/TEST: Add tests for ASCII variants.
4212 * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
4213 * iconvdata/testdata/ANSI_X3.4-1968: New file.
4214 * iconvdata/testdata/BS_4730: New file.
4215 * iconvdata/testdata/BS_4730..UTF8: New file.
4217 1998-04-21 19:05 Ulrich Drepper <drepper@cygnus.com>
4219 * iconv/gconv.h (struct gconv_step): Add element stateful.
4220 * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
4221 to zero for all internal conversions.
4222 * iconv/skeleton.c: Initialize stateful depending on whether or not
4223 RESET_STATE is defined to one or zero respectively.
4224 * stdlib/mblen.c: Use stateful element of currently selected
4225 converter for result if S is NULL.
4226 * stdlib/mbtowc.c: Likewise.
4227 * stdlib/wctomb.c: Likewise.
4229 1998-04-21 18:00 Ulrich Drepper <drepper@cygnus.com>
4231 * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
4233 * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
4235 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
4236 character in comparison with uint32_t.
4237 (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
4238 (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
4239 Optimize BODY a bit.
4241 * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
4244 * iconv/skeleton.c: Also reset converted counter in case of an error.
4245 Call reset function using correct value for output buffer start.
4247 * iconvdata/Makefile: Re-enable tests.
4249 * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
4250 value for to-conversion.
4252 * iconvdata/TESTS: Add new third column.
4253 * iconvdata/run-iconv-test.sh: Add support for charsets which are
4255 * iconvdata/testdata/suntzus: New file.
4257 * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
4258 while reading. Correctly used base. Little optimization.
4259 (__strtoul_internal): Likewise.
4261 * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
4262 was wrong. Use explicit variable.
4264 1998-04-20 23:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
4266 * configure.in: Check for awk.
4267 * config.make.in: Add AWK to be substituted.
4269 * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
4270 * manual/users.texi: Fix typo exposed by above rewrite.
4272 * Makefile: Invoke awk using AWK variable.
4273 * csu/Makefile: Likewise.
4274 * elf/Makefile: Likewise.
4275 * mach/Makefile: Likewise.
4276 * manual/Makefile: Likewise.
4277 * sysdeps/gnu/Makefile: Likewise.
4278 * sysdeps/mach/hurd/Makefile: Likewise.
4279 * sysdeps/unix/Makefile: Likewise.
4280 * timezone/Makefile: Likewise.
4282 1998-04-10 Gordon Matzigkeit <gord@profitpress.com>
4284 * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
4285 array index translation.
4286 (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
4289 * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
4291 * sysdeps/mach/hurd/errlist.c: New file.
4292 (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
4293 (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
4294 semantics, so rename it.
4296 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4298 * iconvdata/run-iconv-test.sh: Make portable. Always test all
4301 1998-04-21 12:30 H.J. Lu <hjl@gnu.org>
4303 * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
4304 * wcsmbs/wcsnrtombs.c: Likewise.
4306 1998-04-21 Ulrich Drepper <drepper@cygnus.com>
4308 * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
4310 * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
4312 * time/strftime.c (my_strftime): Initialize pad variable in
4315 * iconvdata/big5.c: Don't use character constants in comparisons
4316 with unsigned value.
4318 1998-04-20 18:00 Ulrich Drepper <drepper@cygnus.com>
4320 * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
4321 __libc_siglongjmp to GLIBC_2.1.
4323 * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
4326 * iconv/Makefile: Don't run tests now.
4328 * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
4329 with correct output buffer.
4331 Major rewrite of the low-level gconv functionality.
4332 * iconv/gconv.c: Rewritten.
4333 * iconv/gconv.h: Likewise.
4334 * iconv/gconv_builtin.c: Likewise.
4335 * iconv/gconv_builtin.h: Likewise.
4336 * iconv/gconv_conf.c: Likewise.
4337 * iconv/gconv_int.h: Likewise.
4338 * iconv/gconv_open.c: Likewise.
4339 * iconv/gconv_simple.c: Likewise.
4340 * iconv/iconv.c: Likewise.
4341 * iconvdata/8bit-gap.c: Likewise.
4342 * iconvdata/8bit-generic.c: Likewise.
4343 * iconvdata/Makefile: Likewise.
4344 * iconvdata/big5.c: Likewise.
4345 * iconvdata/cns11643.c: Likewise.
4346 * iconvdata/cns11643.h: Likewise.
4347 * iconvdata/cns11643l1.c: Likewise.
4348 * iconvdata/cns11643l1.h: Likewise.
4349 * iconvdata/ebcdic-at-de-a.c: Likewise.
4350 * iconvdata/ebcdic-at-de.c: Likewise.
4351 * iconvdata/ebcdic-ca-fr.c: Likewise.
4352 * iconvdata/euccn.c: Likewise.
4353 * iconvdata/eucjp.c: Likewise.
4354 * iconvdata/euckr.c: Likewise.
4355 * iconvdata/euctw.c: Likewise.
4356 * iconvdata/gb2312.c: Likewise.
4357 * iconvdata/gb2312.h: Likewise.
4358 * iconvdata/hp-roman8.c: Likewise.
4359 * iconvdata/iso646.c: Likewise.
4360 * iconvdata/iso6937.c: Likewise.
4361 * iconvdata/iso8859-1.c: Likewise.
4362 * iconvdata/iso8859-10.c: Likewise.
4363 * iconvdata/iso8859-2.c: Likewise.
4364 * iconvdata/iso8859-3.c: Likewise.
4365 * iconvdata/iso8859-4.c: Likewise.
4366 * iconvdata/iso8859-5.c: Likewise.
4367 * iconvdata/iso8859-6.c: Likewise.
4368 * iconvdata/iso8859-7.c: Likewise.
4369 * iconvdata/iso8859-8.c: Likewise.
4370 * iconvdata/iso8859-9.c: Likewise.
4371 * iconvdata/jis0201.c: Likewise.
4372 * iconvdata/jis0201.h: Likewise.
4373 * iconvdata/jis0208.c: Likewise.
4374 * iconvdata/jis0208.h: Likewise.
4375 * iconvdata/jis0212.c: Likewise.
4376 * iconvdata/jis0212.h: Likewise.
4377 * iconvdata/johab.c: Likewise.
4378 * iconvdata/koi-8.c: Likewise.
4379 * iconvdata/koi8-r.c: Likewise.
4380 * iconvdata/ksc5601.c: Likewise.
4381 * iconvdata/ksc5601.h: Likewise.
4382 * iconvdata/latin-greek-1.c: Likewise.
4383 * iconvdata/latin-greek.c: Likewise.
4384 * iconvdata/run-iconv-test.sh: Likewise.
4385 * iconvdata/sjis.c: Likewise.
4386 * iconvdata/t61.c: Likewise.
4387 * iconvdata/uhc.c: Likewise.
4388 * wcsmbs/btowc.c: Likewise.
4389 * wcsmbs/mbrtowc.c: Likewise.
4390 * wcsmbs/mbsnrtowcs.c: Likewise.
4391 * wcsmbs/mbsrtowcs.c: Likewise.
4392 * wcsmbs/wcrtomb.c: Likewise.
4393 * wcsmbs/wcsmbsload.c: Likewise.
4394 * wcsmbs/wcsnrtombs.c: Likewise.
4395 * wcsmbs/wcsrtombs.c: Likewise.
4396 * wcsmbs/wctob.c: Likewise.
4397 * iconv/loop.c: New file.
4398 * iconv/skeleton.c: New file.
4400 * stdlib/mblen.c: Handle empty input string correctly.
4401 * stdlib/mbtowc.c: Likewise.
4403 * posix/getopt.c: Various cleanups.
4405 * sysdeps/arm/bits/setjmp.h: Add copyright text.
4406 * sysdeps/i386/bits/setjmp.h: Likewise.
4407 * sysdeps/m68k/bits/setjmp.h: Likewise.
4408 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4409 * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
4411 * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
4412 and make longjmp weak alias.
4414 1998-04-18 20:29 Philip Blundell <Philip.Blundell@pobox.com>
4416 * iconv/Makefile (routines): Only include gconv_dl if building for
4417 an ELF system - dynamic linking is not available on a.out.
4418 (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
4420 * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
4421 routines from gconv_dl.
4423 1998-04-17 Gordon Matzigkeit <gord@profitpress.com>
4425 * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
4426 we can compile without libio.
4428 1998-04-20 16:28 Ulrich Drepper <drepper@cygnus.com>
4430 * sysdeps/mach/hurd/Subdirs: Remove login.
4432 1998-04-11 Gordon Matzigkeit <gord@profitpress.com>
4434 * db2/compat.h: Include <errno.h>, to make sure we get the
4435 definition of EFTYPE before we define it ourselves.
4437 1998-04-10 Gordon Matzigkeit <gord@profitpress.com>
4439 * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
4440 * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
4441 Fix typo to allow inclusion from sys/ioctl.h again.
4443 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4445 * iconvdata/*.[ch]: Clean up namespace. Optimize character lookup.
4447 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4449 * libc.map: Export __strerror_r. Remove _strerror_internal.
4451 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4453 * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
4454 Also undefine __strcasestr.
4456 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4458 * posix/regex.c: Rename __re_max_failures back to re_max_failures,
4459 aliases do not work with global variables due to copy relocations.
4461 1998-04-20 15:12 Ulrich Drepper <drepper@cygnus.com>
4463 * manual/creature.texi: Fix type. Patch by Andreas Schwab.
4465 1998-04-20 13:47 Ulrich Drepper <drepper@cygnus.com>
4467 * signal/sighold.c: Include stddef.h for NULL definition.
4468 * signal/sigrelse.c: Likewise.
4469 * sysdeps/posix/sigignore.c: Likewise.
4470 * sysdeps/posix/sigset.c: Likewise.
4471 * sysdeps/posix/waitid.c: Likewise.
4472 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
4473 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
4474 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4475 * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
4476 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4478 1998-04-13 Mark Kettenis <kettenis@phys.uva.nl>
4480 * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
4481 * login/getutent.c (getutxent): Remove alias.
4482 * login/getutent_r.c (setutxent, pututxline, endutxent):
4484 * login/getutid.c (getutxid): Remove alias.
4485 * login/getutline.c (getutxline): Remove alias.
4486 * login/utmp.h: Add prototypes for __updwtmp, __getutent,
4487 __getutid, __getutline and __pututline.
4488 * login/utmpx.h: Moved to ...
4489 * sysdeps/gnu/utmpx.h: ... here. [__USE_GNU]: Define UTMPX_FILE,
4490 UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
4492 * login/updwtmp.c: Moved to ...
4493 * sysdeps/generic/updwtmp.c: ... here. (updwtmp): Generalized by
4494 allowing file name transformation.
4495 * sysdeps/gnu/updwtmp.c: New file. Use generic implementation with
4496 additional file name transformation.
4497 * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
4498 * login/utmp_file.c: Moved to ...
4499 * sysdeps/generic/utmp_file.c: ... here. (setutent_file):
4500 Generalized by allowing file name transformation. Do not
4501 print error message. Library functions should not print them.
4502 Reported by Jim Meyering.
4503 * sysdeps/gnu/utmp_file.c: New file. Use generic implementation
4504 with additional file name transformation.
4505 * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
4506 * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
4507 setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
4508 pututxline, utmpxname and updwtmpx. (sysdep_headers): Add utmpx.h
4510 * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
4511 (_PATH_UTMPX): Define to _PATH_UTMP. (_PATH_WTMPX): Define to
4512 _PATH_WTMPX. (RUN_LVL): Define only if __USE_GNU. (ACCOUNTING):
4513 Define if __USE_GNU.
4514 * sysdeps/generic/setutxent.c: New file.
4515 * sysdeps/generic/getutxent.c: New file.
4516 * sysdeps/generic/endutxent.c: New file.
4517 * sysdeps/generic/getutxid.c: New file.
4518 * sysdeps/generic/getutxline.c: New file.
4519 * sysdeps/generic/pututxline.c: New file.
4520 * sysdeps/generic/utmpxname.c: New file.
4521 * sysdeps/generic/updwtmpx.c: New file.
4522 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
4523 * sysdeps/generic/bits/utmpx.h: Remove.
4525 1998-04-20 Ulrich Drepper <drepper@cygnus.com>
4527 * posix/wordexp-test.c (main): Initialize ifs element of ts for
4530 1998-04-17 07:53 H.J. Lu <hjl@gnu.org>
4532 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
4534 1998-04-17 11:32 Ulrich Drepper <drepper@cygnus.com>
4536 * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
4537 variable using _G_stat64.
4538 * libio/fileops.c: Remove macro definition of fstat, it is in the
4540 Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
4542 1998-04-17 Philip Blundell <pb@nexus.co.uk>
4544 * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
4545 <willy@odie.barnet.ac.uk>.
4547 1998-04-16 Philip Blundell <Philip.Blundell@pobox.com>
4549 * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
4550 required by IPv6 Basic API.
4551 (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
4552 (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
4553 (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
4554 (IN6_IS_ADDR_MC_GLOBAL): Likewise.
4556 1998-04-15 16:41 Ulrich Drepper <drepper@cygnus.com>
4558 Don't name internal representation since it might be different from
4559 the external form (namely on little endian machines).
4560 * iconv/gconv_builtin.h: Add UCS4 support. Change references to
4561 UCS4 into references to INTERNAL.
4562 * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
4563 Add endianess support to UCS functions. Change references to
4564 UCS4 into references to INTERNAL.
4565 * iconv/gconv_int.h: Change references to UCS4 into references to
4567 * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
4568 * iconvdata/gconv-modules: Change accordingly.
4569 * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
4571 * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
4573 * iconvdata/8bit-gap.c: Likewise.
4574 * iconvdata/8bit-generic.c: Likewise.
4575 * iconvdata/big5.c: Likewise.
4576 * iconvdata/euccn.c: Likewise.
4577 * iconvdata/eucjp.c: Likewise.
4578 * iconvdata/euckr.c: Likewise.
4579 * iconvdata/euctw.c: Likewise.
4580 * iconvdata/iso646.c: Likewise.
4581 * iconvdata/iso6937.c: Likewise.
4582 * iconvdata/iso8859-1.c: Likewise.
4583 * iconvdata/johab.c: Likewise.
4584 * iconvdata/sjis.c: Likewise.
4585 * iconvdata/t61.c: Likewise.
4586 * iconvdata/uhc.c: Likewise.
4588 * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
4589 * iconvdata/8bit-generic.c: Likewise.
4591 * iconvdata/TESTS: Add more tests.
4593 * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
4595 1998-04-15 11:47 Ulrich Drepper <drepper@cygnus.com>
4597 * iconvdata/Makefile: Better rules to run tests.
4599 * iconvdata/testdata/ISO-8859-1..UTF8: New file.
4600 * iconvdata/testdata/ISO-8859-10: Likewise.
4601 * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
4602 * iconvdata/testdata/ISO-8859-2: Likewise.
4603 * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
4604 * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
4605 * iconvdata/testdata/ISO-8859-3: Likewise.
4606 * iconvdata/testdata/ISO-8859-4: Likewise.
4607 * iconvdata/testdata/ISO-8859-5: Likewise.
4608 * iconvdata/testdata/ISO-8859-6: Likewise.
4609 * iconvdata/testdata/ISO-8859-7: Likewise.
4610 * iconvdata/testdata/ISO-8859-8: Likewise.
4611 * iconvdata/testdata/ISO-8859-9: Likewise.
4613 1998-04-15 Ulrich Drepper <drepper@cygnus.com>
4615 * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
4616 intermediate result (if available).
4618 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
4621 * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
4622 (distribute): Add run-iconv-test.sh and testdata/*.
4624 * stdlib/testmb.c (main): Simplify mbc array handling.
4626 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4628 * elf/dl-minimal.c (__strtol_internal): Correct range check. Fix
4629 return value on overflow.
4631 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4633 * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
4636 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4638 * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
4639 of non-standard function setbuffer.
4641 1998-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4643 * stdio-common/perror.c: Include <string.h> for __strerror_r.
4645 1998-04-14 23:54 Ulrich Drepper <drepper@cygnus.com>
4647 * iconvdata/Makefile: Add rules to run tests.
4648 * iconvdata/TESTS: New file.
4649 * iconvdata/run-iconv-test.sh: New file.
4650 * iconvdata/testdata/ISO-8859-1: New file.
4652 * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
4655 1998-04-14 18:22 Ulrich Drepper <drepper@cygnus.com>
4657 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4658 counter element of step.
4660 * iconv/gconv_dl.c: Don't mark get_sym as internal function.
4662 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
4664 (__gconv_transform_ucs4_utf8): Likewise. Remove unnecessary variable
4666 (__gconv_transform_utf8_ucs4): Correct test for empty input.
4668 1998-04-14 Ulrich Drepper <drepper@cygnus.com>
4670 * Makefile: Include makeconfig before defining rule to regenerate
4673 * configure.in: Remove restriction on compiling without static
4676 1998-04-14 16:34 Ulrich Drepper <drepper@cygnus.com>
4678 * test-skeleton.c: Provide hook for initializing code before the fork.
4679 * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
4682 * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
4683 * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
4684 * libio/libioP.h: Adopt _IO_cleanup prototype.
4686 * stdlib/Makefile (tests): Add test-canon2.
4687 * stdlib/test-canon2.c: New file.
4688 * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
4689 be NULL. Use __lxstat, not __lstat. Correctly recognize long
4691 (__realpath): Make real function which checks RESOLVED parameter for
4694 1998-04-14 Ulrich Drepper <drepper@cygnus.com>
4696 * catgets/open_catalog.c (__open_catalog): Fix problems with
4697 reading non-files. Always close file.
4698 Reported by Cristian Gafton <gafton@redhat.com>.
4700 * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
4702 1998-04-14 13:28 Ulrich Drepper <drepper@cygnus.com>
4704 * libc.map: Add various low-level I/O functions.
4706 1998-04-14 10:35 Ulrich Drepper <drepper@cygnus.com>
4708 * string/Makefile (routines): Remove strerror_r.
4709 * string/strerror_r.c: Removed.
4710 * string/strerror.c: Call __strerror_r for doing the real work.
4711 * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
4712 add weak alias strerror_r.
4713 * sysdeps/mach/_strerror.c: Likewise.
4714 * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
4715 * elf/dl-error.c (_dl_signal_error): Likewise.
4716 * elf/dl-profile.c (_dl_start_profile): Likewise.
4717 * gmon/gmon.c (write_gmon): Likewise.
4718 * stdio-common/perror.c: Likewise.
4719 * stdio-common/vfprintf.c: Likewise.
4721 1998-04-10 Mark Kettenis <kettenis@phys.uva.nl>
4723 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
4724 (sysdep_headers): Add netatalk/at.h.
4726 1998-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4728 * manual/socket.texi, manual/creature.texi, manual/time.texi:
4731 1998-04-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4733 * posix/regex.c: Rename __re_syntax_options back to
4734 re_syntax_options, aliases do not work with global variables due
4735 to copy relocations.
4736 (regex_compile): Use syntax parameter instead of
4739 1998-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4741 * configure.in: Document that enable-force-install is default.
4743 1998-04-13 Ulrich Drepper <drepper@cygnus.com>
4745 * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
4747 * sysdeps/posix/mkstemp.c: Likewise.
4749 1998-04-13 17:40 Ulrich Drepper <drepper@cygnus.com>
4751 * iconvdata/8bit-gap.c: Simplify step data handling.
4752 * iconvdata/8bit-generic.c: Likewise.
4753 * iconvdata/big5.c: Likewise.
4754 * iconvdata/euccn.c: Likewise.
4755 * iconvdata/eucjp.c: Likewise.
4756 * iconvdata/euckr.c: Likewise.
4757 * iconvdata/euctw.c: Likewise.
4758 * iconvdata/iso6937.c: Likewise.
4759 * iconvdata/iso8859-1.c: Likewise.
4760 * iconvdata/jis0208.h: Likewise.
4761 * iconvdata/jis0212.c: Likewise.
4762 * iconvdata/jis0212.h: Likewise.
4763 * iconvdata/johab.c: Likewise.
4764 * iconvdata/ksc5601.h: Likewise.
4765 * iconvdata/sjis.c: Likewise.
4766 * iconvdata/t61.c: Likewise.
4767 * iconvdata/uhc.c: Likewise.
4769 1998-04-13 16:36 Ulrich Drepper <drepper@cygnus.com>
4771 * manual/texinfo.texi: Updated from last version.
4773 1998-04-13 14:52 Ulrich Drepper <drepper@cygnus.com>
4775 * iconvdata/cns11643.c: New file.
4776 * iconvdata/cns11643.h: New file.
4777 * iconvdata/cns11643l1.c: New file.
4778 * iconvdata/cns11643l1.h: New file.
4779 * iconvdata/euctw.c: New file.
4780 * iconvdata/Makefile: Add rules for EUC-TW and CNS.
4781 * iconvdata/gconv-modules: Likewise.
4783 * iconvdata/eucjp.c: Several bug fixes and improvements.
4784 * iconvdata/gb2312.h: Likewise.
4785 * iconvdata/jis0201.h: Likewise.
4786 * iconvdata/jis0208.h: Likewise.
4787 * iconvdata/jis0212.h: Likewise.
4789 1998-04-13 09:11 Ulrich Drepper <drepper@cygnus.com>
4791 * iconvdata/eucjp.c: New file.
4792 * iconvdata/euccn.c: New file.
4793 * iconvdata/gb2312.h: New file.
4794 * iconvdata/gb2312.c: New file.
4795 * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
4796 * iconvdata/gconv-modules: Likewise.
4798 * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
4800 1998-04-12 Ulrich Drepper <drepper@cygnus.com>
4802 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4803 (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
4804 Patch by Mark Hatle <fray@kernel.crashing.org>.
4806 1998-04-12 22:47 Philip Blundell <Philip.Blundell@pobox.com>
4808 * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
4810 (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
4811 (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
4813 1998-04-12 Ulrich Drepper <drepper@cygnus.com>
4815 * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
4817 * iconvdata/Makefile: Add rules for big5 conversion.
4818 * iconvdata/gconv-modules: Likewise.
4819 * iconvdata/big5.c: New file.
4821 * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
4822 Patch by Jim Meyering.
4824 1998-04-11 Ulrich Drepper <drepper@cygnus.com>
4826 * rt/tst-aio.c: Add test for aio_read and lio_listio.
4828 * rt/lio_listio.c: Correct total counter handling.
4830 * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
4833 * test-skeleton.c (main): Make stdout unbuffered. Improve message
4834 of signal on exit even more.
4836 * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
4837 instead of call to pthread_cond_init.
4838 * rt/lio_listio.c (lio_listio): Likewise.
4839 * rt/lio_listio64.c (lio_listio64): Likewise.
4841 * nis/nis_findserv.c: Include sys/socket.h.
4843 1998-04-11 09:33 Ulrich Drepper <drepper@cygnus.com>
4845 * Makeconfig (rtobjdir): New variable.
4846 (rpath-link): Add rtobjdir and thread directory, if available.
4848 * test-skeleton.c: Add support to remove temporary files.
4849 Always define test_dir. Improve message about expected signal.
4851 * rt/Makefile (tests): Add tst-aio.
4852 Add rules for tst-aio to be linked with librt and thread library.
4853 * rt/aio_misc.c: Correct fundamental bugs.
4854 * rt/aio_suspend.c: Correct bug in test for available request.
4855 Initialize conditional variable.
4856 * rt/lio_listio.c: Initialize conditional variable.
4857 * rt/lio_listio64.c: Likewise.
4858 * rt/tst-aio.c: New file.
4860 * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
4861 * sysdeps/libm-ieee754/w_gamma.c: Likewise. Adopt for ISO C 9x.
4862 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4863 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
4864 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
4865 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4866 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4868 1998-04-11 14:49 Mark Kettenis <kettenis@landau.phys.uva.nl>
4870 * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
4872 1998-04-10 Ulrich Drepper <drepper@cygnus.com>
4874 * elf/dl-load.c (open_path): Use correct name for test whether
4875 directory in load path exists.
4877 * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
4878 * sysdeps/libm-ieee754/e_pow.c: Fix typo.
4879 Patches by Tom Rini <trini@kernel.crashing.org>.
4881 * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
4882 * wcsmbs/wcstod_l.c: Likewise.
4883 * wcsmbs/wcstold_l.c: Likewise.
4885 * include/byteswap.h: New file.
4887 * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
4888 .bss segment size. Patch by Joe Keane <jgk@jgk.org>.
4890 * inet/getnameinfo.c (getnameinfo): Change parameter to match
4891 declaration. Patch by Richard Henderson.
4893 1998-04-10 12:40 Zack Weinberg <zack@rabi.phys.columbia.edu>
4895 * manual/process.texi (SIGCHLD example): Save errno.
4897 1998-04-09 Ulrich Drepper <drepper@cygnus.com>
4899 * posix/regex.c: Define regerror really as __regerror.
4900 * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
4901 regerror and regfree.
4903 * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
4904 * stdlib/strtod_l.c: Likewise.
4905 * stdlib/strtold_l.c: Likewise.
4907 * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
4909 * sysdeps/i386/i486/bits/string.h: Remove unused variables.
4911 * misc/syslog.c (closelog_internal): Set LogTag to NULL.
4912 Patch by Christian Gafton.
4914 1998-04-09 14:27 Ulrich Drepper <drepper@cygnus.com>
4916 * manual/socket.texi (Interface Naming): Correct @deftypefun line
4919 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4921 * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
4923 * manual/socket.texi (Interface Naming): Fix typo.
4925 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4927 * manual/examples/filesrv.c (main): Remove filename first.
4929 * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
4932 * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
4935 * manual/examples/filecli.c (main): Use AF_LOCAL
4938 1998-04-09 Ulrich Drepper <drepper@cygnus.com>
4940 * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
4942 * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
4943 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4944 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4945 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
4946 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4947 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
4949 * login/utmp_daemon.c (open_socket): Use __connect not connect.
4951 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4953 * configure.in: Add new option --enable-force-install. Substitute
4955 * config.make.in (force-install): Set from configure.
4956 * Makerules (force-install): New phony target.
4957 * Makeconfig (+force): New variable.
4958 * Makefile: Use it in dependency list of installation targets.
4959 * db/Makefile: Likewise.
4960 * db2/Makefile: Likewise.
4961 * elf/Makefile: Likewise.
4962 * hurd/Makefile: Likewise.
4963 * iconv/Makefile: Likewise.
4964 * iconvdata/Makefile: Likewise.
4965 * intl/Makefile: Likewise.
4966 * localedata/Makefile: Likewise.
4967 * login/Makefile: Likewise.
4968 * po/Makefile: Likewise.
4969 * sunrpc/Makefile: Likewise.
4970 * sysdeps/mach/hurd/Makefile: Likewise.
4971 * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
4972 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4973 * timezone/Makefile: Likewise.
4975 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4977 * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
4978 alloc_size. Pass return value of getcwd syscall to realloc.
4980 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4982 * manual/socket.texi: Spelling fixes.
4984 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4986 * elf/dl-load.c (print_search_path): Remove unused variable.
4988 1998-04-08 Ulrich Drepper <drepper@cygnus.com>
4990 * login/utmp_file.c: use __ftruncate not ftruncate.
4991 * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
4992 for system call and make ftruncate weak alias.
4993 * posix/unistd.h: Add prototype for __ftruncate.
4994 * login/utmp_daemon.c (open_socket): Use __socket not socket.
4995 * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
4996 instead of snprintf and readv.
4997 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
4999 * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
5002 1998-04-08 20:06 Ulrich Drepper <drepper@cygnus.com>
5004 * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
5005 * iconv/gconv_db.c: Use __ protected regex functions.
5006 * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
5007 * posix/getopt_init.c: Use __getpid not getpid.
5008 * posix/regex.c: Rename all global functions to start with __ and
5009 make old names weak aliases.
5010 * posix/regex.h: Adopt prototypes for this.
5011 * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
5012 a weak alias and use __getcwd instead of getcwd.
5013 * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
5014 * stdlib/strtod.c: Use __btowc instead of btowc.
5015 * stdlib/strtol.c: Likewise.
5016 * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
5017 * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
5018 and sys_errlist are weak.
5019 * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
5020 * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
5021 * wcsmbs/mbsnrtowcs.c: Likewise.
5022 * wcsmbs/mbsrtowcs.c: Likewise.
5023 * wcsmbs/wcsnrtombs.c: Likewise.
5024 * wcsmbs/wcsrtombs.c: Likewise.
5025 * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
5027 * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
5028 * wctype/wctype.c: Define function as __wctype and make wctype
5030 * wctype/wctype.h: Declare __wctype.
5032 1998-04-08 Ulrich Drepper <drepper@cygnus.com>
5034 * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
5036 1998-04-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5038 * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
5040 (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
5042 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
5044 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5045 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
5046 * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
5047 make it a weak alias.
5048 * posix/unistd.h: Declare __lseek64.
5050 * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
5051 (_IO_file_stat): Fix typo.
5052 (_IO_file_xsgetn): Update fd->_offset. Read a multiple of the
5053 block size from the file. Use __mempcpy if _LIBC.
5055 1998-04-07 20:32 Ulrich Drepper <drepper@cygnus.com>
5057 * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
5058 * wcsmbs/mbrtowc.c: Likewise.
5059 * wcsmbs/mbsnrtowcs.c: Likewise.
5060 * wcsmbs/mbsrtowcs.c: Likewise.
5061 * wcsmbs/wcrtomb.c: Likewise.
5062 * wcsmbs/wcsnrtombs.c: Likewise.
5063 * wcsmbs/wcsrtombs.c: Likewise.
5064 * wcsmbs/wctob.c: Likewise.
5066 * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
5067 position of next output character correctly.
5068 (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
5070 * stdio-common/vfprintf.c (vfprintf): Clear state before used.
5072 * stdlib/strtod.c: Don't use mbtowc.
5074 1998-04-07 19:07 H.J. Lu <hjl@gnu.org>
5076 * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
5077 what we want is smaller than a buffer.
5079 1998-04-07 18:14 Ulrich Drepper <drepper@cygnus.com>
5081 * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
5084 1998-04-07 Ulrich Drepper <drepper@cygnus.com>
5086 * configure.in: Recognize --with-headers flag and determine
5087 commandline options to be used in compilation.
5088 * Makeconfig (+includes): Use $(sysincludes).
5089 * config.make.in (sysincludes): Define from SYSINCLUDES.
5090 * glibcbug.in: Use SYSINCLUDES information.
5091 Patches by Zack Weinberg.
5093 1998-04-07 19:03 Zack Weinberg <zack@rabi.phys.columbia.edu>
5095 * glibcbug.in: On linux, report version of kernel headers seen
5098 1998-04-07 16:18 Ulrich Drepper <drepper@cygnus.com>
5100 * libc.map: Add __asprintf to GLIBC_2.1.
5101 * elf/dlerror.c: Use __asprintf, not asprintf.
5102 * libio/stdio.h: Declare __asprintf.
5103 * stdio-common/asprintf.c: Define as __asprintf and make asprintf
5106 * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
5107 to avoid inclusion from libc_pic.a.
5109 * elf/dl-runtime.c: Undo last patch.
5111 * stdlib/strtod.c: Don't use mbtowc, use btowc.
5113 * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
5114 as default, use NULL.
5116 1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5118 * resolv/Makefile: Include ../Makeconfig - needed for building
5121 1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5123 * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
5124 static-nss since we don't want hesiod in the static NSS.
5126 * nss/Makefile: Build only nss_files as static.
5128 * nss/function.def: Remove support for service db.
5130 1998-04-04 09:44 H.J. Lu <hjl@gnu.org>
5132 * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
5134 1998-04-04 18:29 Tim Waugh <tim@cyberelk.demon.co.uk>
5136 * posix/wordexp-test.c: Make IFS per test-case.
5138 1998-04-07 17:50 Zack Weinberg <zack@rabi.phys.columbia.edu>
5140 * glibcbug.in: Report version of gcc in use. Remove unused variable
5143 1998-04-07 Gordon Matzigkeit <gord@profitpress.com>
5145 * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
5146 `-print-file-name' to find as and ld.
5148 1998-04-07 Ulrich Drepper <drepper@cygnus.com>
5150 * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
5151 template is wrong. Remove unused varaible `ignored'.
5153 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5155 * libc.map: Export __libc_sa_len.
5157 * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
5159 1998-04-07 08:51 Ulrich Drepper <drepper@cygnus.com>
5161 * iconv/gconv.c: Take care for NULL arguments.
5162 * iconv/gconv_dl.c: Make find_func function global.
5163 * iconv/gconv_int.h: Add prototype for __gconv_find_func.
5164 Add prototypes for ASCII conversion functions.
5165 * iconv/gconv_simple.c: Add ASCII conversion functions.
5166 * locale/C-ctype.c: Correct charset name.
5168 * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
5169 (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
5171 * wcsmbs/btowc.c: Rewrite to use iconv functionality.
5172 * wcsmbs/mbrtowc.c: Likewise.
5173 * wcsmbs/mbsnrtowcs.c: Likewise.
5174 * wcsmbs/mbsrtowcs.c: Likewise.
5175 * wcsmbs/wcrtomb.c: Likewise.
5176 * wcsmbs/wcsnrtombs.c: Likewise.
5177 * wcsmbs/wcsrtombs.c: Likewise.
5178 * wcsmbs/wctob.c: Likewise.
5179 * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen. Remove
5180 prototypes for wmemr*.
5181 * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
5182 * wcsmbs/wcsnlen.c: New file.
5183 * wcsmbs/wcsmbsload.c: New file.
5184 * wcsmbs/wcsmbsload.h: New file.
5186 * manual/filesys.texi: Mention risks of tmpnam and mktemp.
5188 * manual/install.texi: Describe some more critical points.
5190 * string/string.h: Add prototype for __strnlen.
5191 * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
5193 * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
5194 much less predictable names.
5195 * sysdeps/posix/mkstemp.c: Likewise.
5197 1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5199 * manual/libc.texinfo (Top): Change "file namespace" to "local
5202 * manual/socket.texi: Change file namespace to local namespace.
5203 (Out-of-Band Data): Remove unneeded variable link.
5204 (Host Address Functions): Use uint32_t consequently and add a
5205 number of clarifications for IPv4/IPv6, classless addresses.
5206 (Internet Namespace): Added some paragraphs about IPv6.
5207 Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
5209 1998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
5211 Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
5213 * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
5214 (NI_NUMERICHOST, et al.): Tidy up and add comments.
5215 (AI_NUMERICHOST): Define.
5216 (getnodebyname): New prototype.
5217 (AI_V4MAPPED, et al.): New constants.
5219 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
5220 * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
5221 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
5223 * sysdeps/unix/sysv/linux/sa_len.c: New file.
5224 * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
5226 * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
5228 * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
5229 * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
5230 * socket/Makefile (headers): Add bits/sockunion.h.
5231 * socket/sys/socket.h: Include <bits/sockunion.h>
5232 * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
5233 <sys/socket.h>, to avoid getting sockaddr_union defined.
5234 * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
5235 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5236 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5238 * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
5239 (2.2.x kernels won't have it).
5241 1998-04-06 21:21 Ulrich Drepper <drepper@cygnus.com>
5243 * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
5244 * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
5245 * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
5246 Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
5248 1998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
5250 * manual/socket.texi (Socket Addresses): Fix a typo.
5251 (Interface Naming): New section.
5253 1998-04-05 23:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
5255 * configure.in: Check for CC using $ac_tool_prefix, to handle
5256 cross-compilation. Use AC_CHECK_TOOL to find MiG.
5257 * config.make.in: Add MIG to be substituted.
5258 * mach/Machrules: Don't define MIG variable.
5260 Patch by Gordon Matzigkeit <gord@profitpress.com>.
5262 1998-04-05 Mark Kettenis <kettenis@phys.uva.nl>
5264 * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
5265 strdupa to copy rpath.
5267 1998-04-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5269 * configure.in: Fix gcc version check.
5271 * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
5274 1998-03-31 Mark Kettenis <kettenis@phys.uva.nl>
5276 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
5279 * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
5281 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
5282 * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
5283 * sysdeps/unix/grantpt.c (grantpt): Change check of return value
5284 of __ptsname_r accordingly.
5285 * login/openpty.c (openpty): Likewise.
5287 1998-06-04 18:47 H.J. Lu <hjl@gnu.org>
5289 * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
5291 1998-04-06 13:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5293 * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
5295 * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
5297 1998-04-06 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5299 * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
5300 return value for better error checking.
5302 1998-04-06 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
5304 * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
5305 _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
5307 * elf/elf.h (EM_SPARC64): Remove.
5308 (EM_SPARC32PLUS, EM_SPARCV9): Add.
5309 (HWCAP_SPARC_V9): Add.
5311 * elf/ldsodefs.h (_dl_hwcap): Declare.
5312 * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
5313 Weaken so dlopen from static progies works.
5314 (WEAKADDR): New macro.
5315 (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
5316 (LD_SO_PRELOAD): New macro.
5317 (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
5318 (elf_machine_rela): Weaken _dl_rtld_map.
5320 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
5321 to __clone, and remove the later's alias.
5322 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
5324 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
5325 the kernel's structure.
5327 * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
5328 Sparc needs a custom value of __KERNEL_NCCS.
5330 1998-04-06 Richard Henderson <rth@cygnus.com>
5332 * sysdeps/generic/libc-start.c: Allow init and fini to be null.
5334 * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
5335 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5337 1998-04-06 Richard Henderson <rth@cygnus.com>
5339 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
5340 as the buffer is not properly aligned.
5341 Reported by Juan Cespedes <cespedes@debian.org>.
5343 1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5345 * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
5348 1998-04-05 Ulrich Drepper <drepper@cygnus.com>
5350 * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
5351 and wc*tomb* functions.
5353 1998-04-04 15:16 Philip Blundell <Philip.Blundell@pobox.com>
5355 * sysdeps/unix/start.c: Fix typo.
5357 1998-04-04 Ulrich Drepper <drepper@cygnus.com>
5359 * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
5361 1998-04-03 23:38 Ulrich Drepper <drepper@cygnus.com>
5363 * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
5364 expressions and using array variables.
5365 * sysdeps/libm-ieee754/e_asin.c: Likewise.
5366 * sysdeps/libm-ieee754/e_j0.c: Likewise.
5367 * sysdeps/libm-ieee754/e_j1.c: Likewise.
5368 * sysdeps/libm-ieee754/e_log.c: Likewise.
5369 * sysdeps/libm-ieee754/e_pow.c: Likewise.
5370 * sysdeps/libm-ieee754/k_cos.c: Likewise.
5371 * sysdeps/libm-ieee754/k_sin.c: Likewise.
5372 * sysdeps/libm-ieee754/k_tan.c: Likewise.
5373 * sysdeps/libm-ieee754/s_atan.c: Likewise.
5374 * sysdeps/libm-ieee754/s_erf.c: Likewise.
5375 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
5376 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
5377 Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
5379 1998-04-03 23:17 Ulrich Drepper <drepper@cygnus.com>
5381 * iconv/gconv.c: Rewrite of the low-level of gconv.
5382 * iconv/gconv.h: Likewise.
5383 * iconv/gconv_builtin.h: Likewise.
5384 * iconv/gconv_close.c: Likewise.
5385 * iconv/gconv_db.: Likewise.
5386 * iconv/gconv_dl.c: Likewise.
5387 * iconv/gconv_int.h: Likewise.
5388 * iconv/gconv_open.c: Likewise.
5389 * iconv/gconv_simple.c: Likewise.
5390 * iconvdata/8bit-gap.c: Adapt for rewrite.
5391 * iconvdata/8bit-generic.c: Likewise.
5392 * iconvdata/euckr.c: Likewise.
5393 * iconvdata/iso646.c: Likewise.
5394 * iconvdata/iso6937.c: Likewise.
5395 * iconvdata/iso8859-1.c: Likewise.
5396 * iconvdata/johab.c: Likewise.
5397 * iconvdata/sjis.c: Likewise.
5398 * iconvdata/t61.c: Likewise.
5399 * iconvdata/uhc.c: Likewise.
5401 1998-04-03 15:34 Ulrich Drepper <drepper@cygnus.com>
5403 * iconv/gconv_int.h: New file. Internal header.
5404 * iconv/Makefile (distribute): Add gconv_int.h.
5405 * iconv/gconv.h: Remove definition which are now in gconv_int.h.
5406 * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
5407 * iconv/gconv_close.c: Likewise.
5408 * iconv/gconv_conf.c: Likewise.
5409 * iconv/gconv_db.c: Likewise.
5410 * iconv/gconv_dl.c: Likewise.
5411 * iconv/gconv_int.h: Likewise.
5412 * iconv/gconv_open.c: Likewise.
5413 * iconv/iconv.c: Likewise.
5414 * iconv/iconv_close.c: Likewise.
5415 * iconv/iconv_open.c: Likewise.
5416 * iconv/iconv_prog.c: Likewise.
5418 1998-04-03 Ulrich Drepper <drepper@cygnus.com>
5420 * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
5423 1998-04-03 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5425 * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
5427 1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
5429 Based on patch from Pat Beirne:
5430 * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
5431 PIC and non-PIC now. Correctly negate error number.
5432 (errno): Use `%' not `@' in .type directives.
5434 1998-04-03 Ulrich Drepper <drepper@cygnus.com>
5436 * sysdeps/i386/strtok.S: Change to use single exit point.
5437 * sysdeps/i386/i686/strtok.S: Likewise.
5439 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5441 * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
5444 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5446 * Makerules (installed-libcs): Fix typo.
5448 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5450 * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
5451 (UHC-routines): Remove ksc5601.
5453 1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
5455 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
5456 introduced in last change.
5458 1998-04-03 06:22 Ulrich Drepper <drepper@cygnus.com>
5460 * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
5463 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
5465 * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
5467 * stdlib/isomac.c: Use -isystem instead of -I for system include
5470 1998-03-30 08:05 H.J. Lu <hjl@gnu.org>
5472 * resolv/res_comp.c (underscorechar): New.
5473 (middlechar): Allow '_'.
5475 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
5477 * intl/explodename.c (stdlib.h): Include that file only if
5478 STDC_HEADERS or _LIBC.
5479 (string.h): Include that file only if HAVE_STRING_H or _LIBC.
5480 Patch by Philippe De Muyter <phdm@macqel.be>.
5482 1998-04-01 21:08 Zack Weinberg <zack@rabi.phys.columbia.edu>
5484 * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
5485 (AC_PROG_CHECK_VER): New macro.
5486 * configure.in: Use AC_PROG_CHECK_VER to check versions of
5487 gcc, gmake, msgfmt, makeinfo. Remove superfluous tests.
5489 1998-04-02 15:13 Ulrich Drepper <drepper@cygnus.com>
5491 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
5492 * sysdeps/i386/i686/strtok.S: New file
5493 * sysdeps/i386/i686/strtok_r.S: New file
5495 1998-04-02 Mark Kettenis <kettenis@phys.uva.nl>
5497 * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
5499 * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
5500 parameter as __off64_t instead of __off_t.
5501 (ftello): Make alias for ftello64 instead of ftello. Change
5502 return type to __off64_t.
5504 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
5506 * sysdeps/i386/bits/string.h: Fix various typos.
5507 Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
5509 * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
5511 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
5513 * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
5514 lchown syscall correctly. [PR libc/541].
5516 1998-04-02 11:45 Ulrich Drepper <drepper@cygnus.com>
5518 * localedata/Makefile: Correct testsuite rules.
5520 * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
5521 * iconvdata/iso646.c: Fix conversion from UCS4.
5523 * elf/ldsodefs.h: Mark internal function with internal_function.
5524 * elf/dl-addr.c: Likewise.
5525 * elf/dl-close.c: Likewise.
5526 * elf/dl-debug.c: Likewise.
5527 * elf/dl-deps.c: Likewise.
5528 * elf/dl-error.c: Likewise.
5529 * elf/dl-fini.c: Likewise.
5530 * elf/dl-init.c: Likewise.
5531 * elf/dl-load.c: Likewise.
5532 * elf/dl-lookup.c: Likewise.
5533 * elf/dl-object.c: Likewise.
5534 * elf/dl-open.c: Likewise.
5535 * elf/dl-profile.c: Likewise.
5536 * elf/dl-reloc.c: Likewise.
5537 * elf/dl-runtime.c: Likewise.
5538 * elf/dl-symbol.c: Likewise.
5539 * elf/dl-version.c: Likewise.
5540 * elf/dlerror.c: Likewise.
5541 * sysdeps/generic/dl-sysdep.c: Likewise.
5542 * sysdeps/i386/dl-machine.h: Likewise.
5543 * intl/finddomain.c: Likewise.
5544 * intl/gettextP.h: Likewise.
5545 * intl/loadmsgcat.c: Likewise.
5547 1998-04-01 17:38 Ulrich Drepper <drepper@cygnus.com>
5549 * iconv/gconv_simple.c: New builtins for UCS en/decoding.
5550 * iconv/gconv_builtin.h: Add definitions for new builtins.
5551 * iconv/gconv.h: Add prototypes for new builtins.
5553 * iconvdata/Makefile (modules): Add ISO646.
5554 Add rules for ISO646 module.
5555 (distribute): Add iso646.c.
5556 * iconvdata/gconv-modules: Add module and alias definition for
5558 * iconvdata/iso646.c: New file.
5560 1998-04-01 16:10 Ulrich Drepper <drepper@cygnus.com>
5562 * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
5563 * iconv/iconv_prog.c: Implement --list option to print available
5564 coded character sets.
5566 1998-04-01 18:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
5568 Make fread() read large blocks straight to the user buffer.
5570 * libio/fileops.c (_IO_file_xsgetn): New function.
5571 (_IO_file_jumps): Use it.
5572 * libio/libioP.h: Prototype it.
5574 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
5576 * iconv/gconv_conf.c (builtin_aliases): New variable.
5577 (__gconv_read_conf): Add builtin aliases.
5578 * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
5579 noop macro before including gconv_builtin.h.
5580 * iconv/gconv_builtin.h: Add alias names.
5582 * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
5583 number of converted bytes correctly.
5585 1998-04-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5587 * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
5588 we only wait for a replay.
5590 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
5592 * iconvdata/Makefile: Finally fix dependencies for JOHAB and
5595 1998-04-1 16:52 Philip Blundell <pb@nexus.co.uk>
5597 * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
5598 use PLTJMP() rather than explicit (PLT).
5600 * sysdeps/arm/elf/start.S: Leave most of the initialisation for
5601 __libc_start_main().
5603 Based on patch from Pat Beirne:
5604 * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
5605 Always define, not only #ifndef PIC.
5606 (DO_CALL): Pass fifth argument correctly in R4.
5607 (PSEUDO): Correct test for error, call syscall_error through PLT
5610 1998-03-31 10:51 Philip Blundell <pb@nexus.co.uk>
5612 * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
5615 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
5617 * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
5620 1998-04-01 13:20 Mark Kettenis <kettenis@phys.uva.nl>
5622 * io/Makefile (static-only-routines): Add stat64, fstat64 and
5625 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5627 * manual/Makefile: Use object-suffixes-for-libc instead of
5629 * rpm/Makefile (install-lib): Likewise.
5631 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5633 * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
5635 * sysdeps/unix/sysv/linux/configure.in: Match $machine against
5636 `m68*', not only `m68k'.
5638 1998-04-01 10:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5640 * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
5642 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
5645 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
5647 * iconvdata/Makefile: Use libKSC shared object in JOHAB and
5650 * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
5653 1998-03-30 08:43 H.J. Lu <hjl@gnu.org>
5655 * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
5658 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
5660 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
5662 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5664 Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
5666 1998-03-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5668 * Makerules (install): Change comment for libc.so following the
5669 libc_nonshared changes.
5671 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
5673 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
5675 * iconvdata/gap.pl: Avoid using %#06x.
5677 1998-03-31 19:55 Zack Weinberg <zack@rabi.phys.columbia.edu>
5679 * Makerules: Use $? instead of S^ when invoking ar.
5681 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
5683 * db2/compat.h: Allow EFTYPE being defined.
5684 * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
5685 * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
5686 * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
5687 * sysdeps/mach/bits/libc-lock.h: Fix typo.
5688 (__libc_once): Correctly unlock semaphore.
5689 * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
5690 * sysdeps/unix/bsd/getpt.c: Fix typo.
5691 Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
5693 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
5695 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
5698 1998-03-31 18:11 Ulrich Drepper <drepper@cygnus.com>
5700 * include/mntent.h: New file.
5702 * elf/Makefile (trusted-dirs.h): Append slash to filename.
5703 * elf/dl-load.c: Rewrite search path handling.
5704 * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
5705 * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
5706 * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
5707 * elf/ldsodefs.h: Add prototype.
5709 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
5711 * nss/nsswitch.c (__nss_lookup): Adjust comment.
5713 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
5716 * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
5718 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
5720 (HWCAP_IMPORTANT): New definition.
5722 1998-03-30 17:26 H.J. Lu <hjl@gnu.org>
5724 * elf/dl-open.c (_dl_open): Fix a typo.
5725 (_dl_global_scope_alloc): Make it static.
5727 1998-03-30 17:20 Ulrich Drepper <drepper@cygnus.com>
5729 * Makerules: Remove duplicate rules to handle stamp.oS.
5731 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5733 * manual/examples/inetsrv.c (main): Change prototype of
5734 make_socket following change in mkisock.c.
5736 * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
5738 (main): Change prototype of init_sockaddr following change in
5741 * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
5742 * manual/examples/isockad.c (init_sockaddr): Likewise.
5744 * manual/examples/mkfsock.c (make_named_socket): Removed blank
5745 lines for clarification.
5746 (make_named_socket): Use strncpy instead of strcpy.
5747 Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
5749 1998-03-30 13:28 Ulrich Drepper <drepper@cygnus.com>
5751 * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
5752 determining libs to remove.
5753 (postclean): Add soversions.mk.
5754 * Makerules (common-mostlyclean): Add tests-static and generated
5757 1998-03-30 12:53 Ulrich Drepper <drepper@cygnus.com>
5759 * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
5761 (__strncat_g): Add i686 specific code.
5763 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5765 * manual/install.texi (Reporting Bugs): Ask to include section
5768 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5770 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
5771 guard against direct inclusion.
5773 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5775 Rework support for libc_nonshared.a:
5776 * Makeconfig (object-suffixes-for-libc): New variable.
5777 * Rules: Remove handling of static-only and shared-only routines.
5778 * Makerules: Handle them here instead. Use
5779 object-suffixes-for-libc instead of object-suffixes when dealing
5781 (object-suffixes-for-rules): Remove variable.
5782 (elide-routines.oS): Elide all routines except static-only
5784 ($(objpfx)stamp.oS): Special rule for when static-only-routines is
5786 (installed-libcs): Remove special case for .oS.
5789 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5791 * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
5792 do-tst-rpmatch): New targets.
5794 (install-locales): Ignore comment lines.
5796 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5798 * elf/Makefile ($(objpfx)ld.so): Depend on version script.
5799 ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
5800 ($(objpfx)rtldtbl.h): Likewise.
5801 (CPPFLAGS-dl-load.c): Fix reference to object directory.
5803 1998-03-30 09:36 Ulrich Drepper <drepper@cygnus.com>
5805 * manual/string.texi (Finding Tokens in a String): Extend strsep
5806 description and correct example.
5808 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5810 * manual/socket.texi: Remove misguided explicit line breaks and
5811 fix the formatting problem instead by reformulating the
5813 * manual/filesys.texi: Likewise.
5814 * manual/conf.texi: Likewise. Don't typeset table with index
5815 fonts, that looks worse than a minimally overfull line.
5817 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5819 * nscd/Makefile (nscd-modules): Move definition outside of
5822 * pwd/Makefile: Use have-thread-library to test for thread
5825 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5827 * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
5829 * iconvdata/uhc.c (gconv): Remove unused variable idx.
5831 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
5833 * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
5835 1998-03-29 Ulrich Drepper <drepper@cygnus.com>
5837 * nss/getXXent_r.c: Correctly handle failing setXXent function.
5839 * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
5840 Reported by Andreas Jaeger.
5842 1998-03-29 20:59 Ulrich Drepper <drepper@cygnus.com>
5844 * elf/Makefile: Fix typo.
5845 (distribute): Add dl-librecon.h.
5846 * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
5847 * elf/ldd.sh.in: Likewise.
5848 * elf/ldsodefs.h: Declare _dl_correct_cache_id.
5849 * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
5850 Use strsep correctly.
5851 (process_envvars): Allow platform specific variables.
5852 * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
5853 (_dl_load_cache_lookup): Test cache IDs found against
5854 _dl_correct_cache_id.
5855 * sysdeps/generic/dl-librecon.h: New file.
5856 * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
5858 * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
5860 1998-03-29 16:50 Ulrich Drepper <drepper@cygnus.com>
5862 * config.make.in (ldd-rewrite-script): New variable.
5863 * configure.in: Substitute ldd-rewrite-script.
5864 * elf/Makefile: Rewrite rules to generate ldd script.
5865 * elf/ldd.bash.in: Allow handling of non-ELF binaries.
5866 * elf/ldd.sh.in: Likewise.
5867 * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
5868 * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
5869 point to sed script for libc4 handling insertion for ix86, m68, SPARC.
5870 * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
5871 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
5873 1998-03-26 15:20 Zack Weinberg <zack@rabi.phys.columbia.edu>
5875 * inet/rcmd.c (iruserok): Remain setuid to the local user
5876 while .rhosts is actually read, to make .rhosts-over-NFS work
5877 (PR libc/524). Use iruserfopen() for security checks on both
5878 hosts.equiv and .rhosts. General cleanup.
5879 (iruserfopen): New function, performs careful checking on
5880 hosts.equiv/.rhosts files. Disallows all the old forbidden
5881 stuff plus hard links to files.
5883 1998-03-29 09:26 Ulrich Drepper <drepper@cygnus.com>
5885 * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
5887 * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
5889 1998-03-29 02:02 H.J. Lu <hjl@gnu.org>
5891 * sysdeps/i386/i486/bits/string.h: Fix typos.
5893 1998-03-28 00:13 H.J. Lu <hjl@gnu.org>
5895 * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
5898 * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
5900 * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
5901 Added. Used by libm.so on alpha.
5903 1998-03-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5905 * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
5908 1998-03-27 07:29 H.J. Lu <hjl@gnu.org>
5910 * Makerules (object-suffixes-for-rules): Add .oS only for
5911 building shared library.
5912 Add ranlib rule for nonshared library.
5915 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
5916 into for shared library only.
5917 (CPPFLAGS-.oS): Add -DPIC.
5918 (libtypes): Use $(object-suffixes-for-rules) instead of
5921 1998-03-28 Ulrich Drepper <drepper@cygnus.com>
5923 * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
5924 and install lddlibc4.
5926 1998-03-28 09:13 Zack Weinberg <zack@rabi.phys.columbia.edu>
5928 * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
5930 * iconvdata/gaptab.pl: Likewise.
5932 1998-03-27 22:46 Ulrich Drepper <drepper@cygnus.com>
5934 * Rules: Allow Makefiles to specify test-static for tests which
5935 cannot be linked dynamically.
5936 * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
5939 * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
5941 * misc/error.c: Pretty print.
5943 1998-03-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5945 * Makerules (libc_nonshared-name): Remove variable.
5946 (installed-libcs): Use libc-name instead.
5947 ($(inst_libdir)/libc.so): Likewise. Remove explicit reference to
5950 * Makeconfig (link-libc): Link against libc_nonshared.a instead of
5951 libc.a. Remove explicit reference to dynamic linker.
5953 1998-03-27 Ulrich Drepper <drepper@cygnus.com>
5955 * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
5957 * iconv/iconv_prog.c: Correctly test for write failure.
5958 * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
5959 * iconvdata/gconv-modules: Likewise.
5960 * iconvdata/euckr.c: New file.
5961 * iconvdata/johab.c: New file.
5962 * iconvdata/ksc5601.c: New file.
5963 * iconvdata/ksc5601.h: New file.
5964 * iconvdata/uhc.c: New file.
5965 Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
5967 * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
5968 * stdio/fopen.c: Correct handling of 'x' flag.
5969 Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
5971 1998-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5973 * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
5974 * sunrpc/rpcsvc/key_prot.x: Likewise.
5975 * sunrpc/key_prot.c: Likewise.
5977 1998-03-27 13:49 Ulrich Drepper <drepper@cygnus.com>
5979 * sysdeps/i386/bits/string.h: Correct things which never worked.
5980 * sysdeps/i386/i486/bits/string.h: Add clobber marks.
5981 Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
5983 1998-03-27 Ulrich Drepper <drepper@cygnus.com>
5985 * intl/textdomain.c [_LIBC]: Define strdup only if not yet
5986 defined. Reported by Thorsten Kukuk.
5988 1998-03-26 18:50 Ulrich Drepper <drepper@cygnus.com>
5990 * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
5992 1998-03-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5994 * manual/install.texi (Supported Configurations): Add
5995 arm-linuxaout and arm-none.
5997 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
5999 * version.h (VERSION): Bump to 2.0.93.
6001 1998-03-25 07:30 H.J. Lu <hjl@gnu.org>
6003 * configure.in (libc_cv_ar_S): New to indicate if ar S works.
6005 * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
6007 * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
6008 (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
6010 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
6012 * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
6014 1998-03-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6016 Put the static-only routines in a separate library.
6017 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
6019 (all-object-suffixes): Add .oS.
6020 * Makerules (libc_static-name): New variable.
6021 (installed-libcs): Add libc_nonshared.a.
6022 ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
6023 (object-suffixes-for-rules): New variable. Use it instead of
6024 object-suffixes for generating compilation rules.
6025 (rmobjs): Also remove *.oS.
6026 * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
6027 ($(objpfx)stamp.oS): New target.
6029 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
6031 * Makefile (FAQ): Automatically check in regenerated FAQ.
6033 1998-03-26 10:16 Zack Weinberg <zack@rabi.phys.columbia.edu>
6035 * Makefile (INSTALL): Depend on install.texi, not maint.texi.
6037 1998-03-25 Ulrich Drepper <drepper@cygnus.com>
6039 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
6040 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
6042 * sysdeps/generic/stub_warning: Removed.
6044 * Makefile (distribute): Add include/des.h.
6046 * manual/Makefile (distribute): Change dir-add.texi to
6049 * glibcbug.in: Create files safely when mktemp is not available.
6051 * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
6052 Patch by a sun <asun@saul1.u.washington.edu>.
6054 1998-03-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6056 * libc.map: Rename getname to getnetname.
6058 1998-03-25 13:35 Ulrich Drepper <drepper@cygnus.com>
6060 * manual/maint.texi: Use supported platform in examples.
6062 * manual/install.texi: Document some installation tips.
6064 1998-03-25 10:56 Ulrich Drepper <drepper@cygnus.com>
6066 * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
6067 Fix a bug so that it returns an error if a numeric parameter is
6068 unset and WRDE_UNDEF is set.
6069 Patch by Andreas Schwab and Tim Waugh.
6070 * posix/wordexp-test.c: Add new new test.
6072 1998-03-25 Ulrich Drepper <drepper@cygnus.com>
6074 * posix/regex.c (regex_compile): Last patch wasn't entirely
6075 correct. Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
6077 1998-03-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6079 * manual/filesys.texi (Scanning Directory Content): Fix typo.
6081 1998-03-25 09:24 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
6083 * sysdeps/i386/bits/string.h: Fix all assembler statements so that
6084 clobbered registers don't appear as operands.
6086 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
6088 * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
6091 * posix/regex.c (regex_compile): Don't allow non-alphabet
6092 characters in character set name.
6094 1998-03-25 00:00 Tim Waugh <tim@cyberelk.demon.co.uk>
6096 * posix/wordexp.c (w_newword): New function.
6097 (do_parse_glob): New function.
6098 (parse_glob): Use do_parse_glob. Now handles the case where a
6099 variable expansion causes a field-split.
6100 (wordexp): Use w_newword.
6101 (parse_arith): Likewise.
6102 (exec_comm): Likewise.
6103 (parse_comm): Likewise.
6104 (parse_param): Likewise.
6105 (parse_backtick): Likewise.
6107 1998-03-24 19:36 Tim Waugh <tim@cyberelk.demon.co.uk>
6109 * posix/wordexp-tst.sh: Another test.
6111 * posix/wordexp-test.c: Two new tests.
6113 * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
6114 directly (the code using realloc was buggy).
6115 (parse_param): Fix typo in comment.
6117 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
6119 * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
6121 1998-03-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6123 * libc.map: Add more rpc auth functions/variables.
6125 * nscd/nscd.c: Add -g option to argp options.
6127 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
6129 * configure.in: Be prepared for gcc 2.9.10 and up.
6130 * configure.in: Add missing disabling of quote characters in
6131 compiler version check. Reported by HJ Lu.
6133 1998-03-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6135 * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
6137 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
6139 * intl/locale.alias: Fix spelling of romanian.
6141 * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
6142 (distribute): Remove des.h.
6143 * include/des.h: New file.
6144 * sunrpc/des.h: Moved to ...
6145 * sunrpc/rpc/rpc_des.h: ...here.
6147 1998-03-22 NIIBE Yutaka <gniibe@mri.co.jp>
6149 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
6152 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
6154 * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
6155 parameter const. Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
6157 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
6159 * elf/ldsodesf.h: New file.
6160 * elf/Makefile (distribute): Add ldsodefs.h.
6161 * elf/link.h: Separate internal information in exter header.
6162 * elf/rtld.c: Include elf/ldsodefs.h not link.h.
6163 * elf/dl-minimal.c: Likewise.
6164 * sysdeps/generic/dl-sysdep.c: Likewise.
6165 * elf/sprof.c: Likewise.
6166 * elf/dlsym.c: Likewise.
6167 * elf/dlvsym.c: Likewise.
6168 * elf/dlerror.c: Likewise.
6169 * elf/dladdr.c: Likewise.
6170 * elf/dlclose.c: Likewise.
6171 * elf/dlopen.c: Likewise.
6172 * elf/dl-addr.c: Likewise.
6173 * elf/dl-close.c: Likewise.
6174 * elf/dl-debug.c: Likewise.
6175 * elf/dl-deps.c: Likewise.
6176 * elf/dl-error.c: Likewise.
6177 * elf/dl-fini.c: Likewise.
6178 * elf/dl-init.c: Likewise.
6179 * elf/dl-load.c: Likewise.
6180 * elf/dl-lookup.c: Likewise.
6181 * elf/dl-object.c: Likewise.
6182 * elf/dl-open.c: Likewise.
6183 * elf/dl-profile.c: Likewise.
6184 * elf/dl-reloc.c: Likewise.
6185 * elf/dl-runtime.c: Likewise.
6186 * elf/dl-support.c: Likewise.
6187 * elf/dl-symbol.c: Likewise.
6188 * elf/dl-version.c: Likewise.
6189 * sysdeps/generic/dl-cache.c: Likewise.
6190 * sysdeps/generic/libc-start.c: Likewise.
6191 * iconv/gconv_dl.c: Likewise.
6192 * nss/nsswitch.c: Likewise.
6194 1998-03-23 13:45 Ulrich Drepper <drepper@cygnus.com>
6196 * manual/nss.texi: The database is not called network but networks.
6197 Reported by Herbert Xu <herbert@gondor.apana.org.au>.
6199 1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6201 * configure.in: Correct test for compiler version.
6202 Check that LD_LIBRARY_PATH doesn't contain current path.
6204 1998-03-23 07:52 H.J. Lu <hjl@gnu.org>
6206 * elf/dl-close.c (_dl_close): Fix byte count while removing
6207 the shared object from the global scope list and optimize
6210 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6212 * manual/filesys.texi (Scanning Directory Content): Add missing
6214 (Scanning Directory Content): Fix text.
6216 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6218 * manual/memory.texi (Heap Consistency Checking): Add paragraph
6219 explaining difference of -lmcheck and MALLOC_CHECK_.
6221 1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6223 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
6226 1998-03-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6228 * test-skeleton.c (main): Fix test for exit signal.
6230 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6232 * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
6234 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6236 * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
6239 1998-03-23 11:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6241 * libc.map: Export __strtok_r.
6243 1998-03-23 Ulrich Drepper <drepper@cygnus.com>
6245 * posix/regex.c (re_compile_fastmap): Remove unused variable
6246 num_regs and adjust comment.
6247 Patch by Jim Meyering <meyering@ascend.com>.
6249 * math/math.h (M_*l): Extend long double constants to be usable
6250 for 128 bit floats. Patch by Richard Henderson.
6252 1998-03-23 11:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6254 * sysdeps/m68k/m68020/wordcopy.S: New file.
6256 1998-03-22 Ulrich Drepper <drepper@cygnus.com>
6258 * posix/wordexp.c: Rewrite parse_param.
6259 Patch by Tim Waugh and Andreas Schwab.
6261 1998-03-21 23:46 Zack Weinberg <zack@rabi.phys.columbia.edu>
6263 * Rules: Update timestamps on empty object files.
6265 1998-03-21 09:15 Ulrich Drepper <drepper@cygnus.com>
6267 * manual/filesys.texi (Scanning Directory Content): Add description
6268 of 64 bits scandir function and friends.
6270 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
6272 * glibcbug.in: Use mktemp to generate unique file name for
6275 * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
6276 ptsname_r. Use cast for execve call.
6278 1998-03-20 16:24 Ulrich Drepper <drepper@cygnus.com>
6280 * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
6281 * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
6282 * io/sys/statvfs.h: New file.
6283 * sysdeps/generic/fstatvfs.h: New file.
6284 * sysdeps/generic/statvfs.h: New file.
6285 * sysdeps/generic/fstatvfs64.h: New file.
6286 * sysdeps/generic/statvfs64.h: New file.
6287 * sysdeps/generic/bits/statvfs.h: New file.
6288 * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
6289 * sysdeps/unix/sysv/linux/statvfs.c: New file.
6290 * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
6292 * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
6293 and f_ffree elements.
6295 * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print. Define
6296 mount options in enum.
6298 1998-03-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6300 * configure.in: Check for recent egcs/gcc.
6302 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
6304 * libc.map: Add alphasort64, scandir64, versionsort64.
6305 * dirent/Makefile (routines): Add scandir64, alphasort64, and
6307 * dirent/alphasort64.c: New file.
6308 * dirent/scandir64.c: New file.
6309 * dirent/versionsort64.c: New file.
6310 * dirent/dirent.h: Add LFS support for scandir, alphasort, and
6312 * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
6313 old name weak alias.
6314 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6316 * dirent/alphasort.c: Use strcoll instead of strcmp.
6318 * dirent/scandir.c: Optimize a bit.
6320 * dirent/versionsort.c: Pretty print.
6322 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
6324 * string/string.h: Add prototype for __strtok_r.
6326 1998-03-20 12:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6328 * posix/Makefile: Fix typo in last change.
6330 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
6332 * dirent/dirent.h (scandir): Make argument of select function const.
6333 * dirent/scandir.c (scandir): Likewise.
6334 Reported by David.Faure@insa-lyon.fr [PR libc/512].
6336 1998-03-19 14:28 Ulrich Drepper <drepper@cygnus.com>
6338 * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
6340 * sysdeps/i386/strtok_r.c: Likewise.
6342 * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
6343 * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
6344 * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
6345 * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
6346 * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
6347 * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
6349 1998-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6351 * intl/localealias.c: Remove unneeded define for strdup.
6353 1998-03-19 13:45 Ulrich Drepper <drepper@cygnus.com>
6355 * manual/argp.texi: Adjust for better TeX output.
6356 * manual/arith.texi: Likewise.
6357 * manual/conf.texi: Likewise.
6358 * manual/filesys.texi: Likewise.
6359 * manual/header.texi: Likewise.
6360 * manual/lgpl.texinfo: Likewise.
6361 * manual/math.texi: Likewise.
6362 * manual/message.texi: Likewise.
6363 * manual/pattern.texi: Likewise.
6364 * manual/process.texi: Likewise.
6365 * manual/signal.texi: Likewise.
6366 * manual/socket.texi: Likewise.
6367 * manual/startup.texi: Likewise.
6368 * manual/stdio.texi: Likewise.
6369 * manual/terminal.texi: Likewise.
6370 * manual/examples/rprintf.c: Likewise.
6371 * manual/examples/testopt.c: Likewise.
6372 Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
6374 1998-03-19 20:45 Tim Waugh <tim@cyberelk.demon.co.uk>
6376 * posix/wordexp.c (parse_param): Don't immediately stop parsing a
6377 parameter name after seeing a digit if it's enclosed in braces.
6379 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
6381 * sysdeps/i386/i686/Implies: Add libm-i387/i686.
6383 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6385 * manual/memory.texi (Heap Consistency Checking): Document
6386 MALLOC_CHECK_. Based on a text by Wolfram Gloger.
6388 1998-03-18 17:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
6390 * manual/Makefile: Add missing rules.
6392 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
6394 * timezone/Makefile (generated): Define to remove all stamp files.
6396 * sysdeps/generic/strsep.c: Also undefine __strsep.
6398 * string/strdup.c: Undefine __strdup and strdup first.
6399 * string/strndup.c: Likewise.
6401 * string/bits/string2.h: Correct strtok_r and strsep.
6402 Add strndup optimization.
6404 * sysdeps/generic/strsep.c: Little optimization.
6406 1998-03-18 14:25 Ulrich Drepper <drepper@cygnus.com>
6408 * string/bits/string2.h: Add optimization for strdup.
6409 Always define __strsep and __strtok_r and make real names available
6410 when feature select macros are defined.
6412 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6414 * manual/install.texi (Installation): Use i486-linux as example
6415 instead of the unsupported sunos4.
6416 (Reporting Bugs): Mention glibcbug script.
6417 (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
6419 1998-03-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6421 * posix/wordexp-tst.sh: Make portable. Add more tests.
6423 * posix/Makefile (do-globtest do-wordexp-test): New targets.
6425 1998-03-18 13:38 Ulrich Drepper <drepper@cygnus.com>
6427 * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
6428 * sysdeps/generic/libc-start.c: ...here, replacing former content.
6430 * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
6433 * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
6435 1998-03-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6437 * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
6438 in enumerator for strict standard compliance.
6439 * sysdeps/generic/bits/resource.h: Likewise.
6441 1998-03-18 10:04 Philip Blundell <pb@nexus.co.uk>
6443 * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
6444 (PLTJMP): New macro.
6446 * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
6447 longjmp() when floating point enabled.
6448 * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
6449 * sysdeps/arm/__longjmp.S: Remove floating point code.
6450 * sysdeps/arm/setjmp.S: Likewise.
6452 * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
6453 * sysdeps/arm/bsd-_setjmp.S: Likewise.
6455 * sysdeps/arm/memset.S: New file; optimised ARM implementation of
6458 * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
6461 1998-03-17 16:16 Philip Blundell <pb@nexus.co.uk>
6463 Based on patches from Pat Beirne and Scott Bambrough:
6465 * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
6467 * sysdeps/arm/bits/fenv.h: New file.
6469 * sysdeps/arm/dl-machine.h: New file. Add ELF support.
6470 * sysdeps/arm/elf/setjmp.S: Likewise.
6471 * sysdeps/arm/elf/start.S: Likewise.
6472 * sysdeps/arm/init-first.c: Likewise.
6473 * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
6474 * sysdeps/arm/sysdep.h: Change format of .type directive. Correct
6475 comment about floating point to reflect current reality.
6477 * sysdeps/unix/arm/brk.S: Support PIC.
6478 * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
6480 * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
6481 return; call syscall_error through PLT.
6482 * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
6484 1998-03-04 12:01 Philip Blundell <pb@nexus.co.uk>
6486 * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
6487 * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
6488 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
6490 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
6492 * dirent/list.c (test): Return error value.
6493 (main): Exit with error value.
6495 * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
6497 * Makefile (distribute): Add test-skeleton.c.
6498 * test-skeleton.c: New file.
6499 * dirent/Makefile (tests): Add opendir-tst1.
6500 * dirent/opendir-tst1.c: New file.
6502 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
6504 * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
6505 Optimize memory handling.
6506 * sysdeps/unix/closedir.c: Optmize memory handling.
6508 1998-03-17 Ulrich Drepper <drepper@cygnus.com>
6510 * posix/wordexp.c (parse_param): Fix off-by-on error in $@
6511 handling. Optimize a bit.
6513 1998-03-18 00:25 Tim Waugh <tim@cyberelk.demon.co.uk>
6515 * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
6516 (parse_param): Fold in Andreas' fixes to do with when the end of
6517 the parameter name has been reached, and quoting inside ${...}.
6518 (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
6521 1998-03-16 22:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
6523 * manual/maint.texi: Split out installation and contribution
6524 sections to their own appendices. Misc cleanups.
6525 * manual/install.texi: New file. Mention add-ons. Refer to FAQ.
6526 * manual/contrib.texi: New file.
6527 * manual/libc.texinfo: Pull in new appendices.
6528 * manual/header.texi: Correct node pointer.
6530 1998-03-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6532 * manual/process.texi (Process Completion): Clarify return value
6533 of waitpid a bit. Patch by Zack Weinberg. [PR libc/490]
6535 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6537 * posix/wordexp-test.c: Add more tests.
6538 (testit): Fix logic.
6540 * posix/wordexp.c (exec_comm): In the child, redirect stderr to
6541 /dev/null instead of closing it, close pipe. Always chop off all
6542 trailing newlines. Kill and reap child before returning error.
6543 (w_addword, parse_glob): Fix memory leak.
6544 (wordexp): Fix dangling pointer problem.
6546 1998-03-16 Ulrich Drepper <drepper@cygnus.com>
6548 * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
6550 * posix/wordexp-test.c (main): Fix little thinkos and typos.
6552 * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
6553 directory index by only the language.
6555 1998-03-16 13:02 Tim Waugh <tim@cyberelk.demon.co.uk>
6557 * posix/wordexp-tst.sh: Store test results in the
6558 ${common_objpfx}posix directory.
6560 * posix/wordexp-test.c: Remove temporary directory afterwards.
6562 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6564 * libc.map: Export internal versions of cancelable functions.
6566 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6568 * Makerules (MAKEFLAGS): Append `r'.
6570 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6572 * Makeconfig: Define have-thread-library, shared-thread-library
6573 and static-thread-library if a thread library is available. Don't
6575 * nscd/Makefile: Compile nscd if have-thread-library. Rename
6576 nscd-routines to nscd-modules. Use shared-thread-library and
6577 static-thread-library in dependencies.
6578 * rt/Makefile: Only compile librt if have-thread-library is
6580 * Makefile (subdirs): Always include rt subdir.
6582 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6584 * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
6586 1998-03-14 21:55 Ulrich Drepper <drepper@cygnus.com>
6588 * configure.in: Recognize variations for 32 MIPS processors.
6589 Don't assume ELF systems always have .weak, test for .weakext.
6591 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
6593 * configure.in: Irix6 is an ELF platform.
6595 1998-03-14 11:47 H.J. Lu <hjl@gnu.org>
6597 * elf/dl-close.c (_dl_close): Stop unmapping the segments after
6598 unmapping the last loaded segment.
6600 1998-03-14 15:54 Ulrich Drepper <drepper@cygnus.com>
6602 * configure.in: Set base_os for Irix6.
6603 Correct test for .weakext.
6605 1998-03-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6607 * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
6608 (new_line) to _dl_debug_message call.
6610 1998-03-14 00:52 Tim Waugh <tim@cyberelk.demon.co.uk>
6612 * posix/wordexp.c (parse_param): Perform field-splitting after
6613 expanding positional parameter.
6615 * posix/wordexp-tst.sh: Test that field-splitting is performed
6616 after expanding positional parameter.
6618 * posix/wordexp.c (parse_param): Fixed memory leak in
6619 field-splitting after parameter expansion.
6621 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
6623 * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
6624 (get_toplvl_escape): Correctly terminate loop at EOF.
6625 Patch by Cristian Gafton <gafton@redhat.com>.
6627 1998-03-13 16:55 Ulrich Drepper <drepper@cygnus.com>
6629 * string/tester.c (test_strpbrk): Add more strpbrk tests.
6630 (test_strsep): Likewise. Correct horrible bugs.
6632 * string/bits/string2.h (strcspn): Optimize also reject string of
6635 (strpbrk): Likewise.
6636 (strsep): Likewise. Correct bug with successive separators and
6637 separators at the end of the string.
6638 * sysdeps/generic/strsep.c: Correct bug with successive separators
6639 and separators at the end of the string.
6641 1998-03-13 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
6643 * posix/wordexp.c (parse_param): Positional parameters ($1, $2
6644 etc) now handled, as well as $$ (pid).
6646 * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
6647 (distribute): Add wordexp-tst.sh.
6649 * posix/wordexp-tst.sh: New file.
6651 * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
6652 number of positional parameters. Renamed substitute_length to
6654 Don't free(env) is env is NULL.
6656 1998-03-13 16:50 Ulrich Drepper <drepper@cygnus.com>
6658 * libc.map: Add pthread_attr_init to GLIBC_2.1.
6660 1998-03-13 15:01 Ulrich Drepper <drepper@cygnus.com>
6662 * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
6663 for output file replacing gmon.out.
6664 Patch by Dean Gaudet <dgaudet@arctic.org>.
6666 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6668 * elf/dl-misc.c (_dl_debug_message): Fix printing of pid. Clean
6669 up namespace. Optimize finding end of line.
6671 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6673 * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
6674 securely. Optimized.
6675 (process_dl_debug): Add ':' to list of separators. Optimized.
6677 1998-03-13 10:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6679 * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
6680 isless, islessequal, islessgreater, isunordered): Return zero or
6683 1998-03-12 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
6685 * posix/wordexp-test.c: More tests.
6686 (main): Set up arena for pathname expansion tests (in a temporary
6688 (testit): Don't check word count or word vector if return value is
6691 * posix/wordexp.c (exec_comm): Always chop off terminating
6692 linefeed (just like bash does).
6693 (parse_param): Change lots of occurrences of "if (!*env)" to "if
6695 (parse_param): For assignment inside parameter expansion, use all
6696 expanded words in assignment rather than just the first.
6697 (parse_param): Corrected return value for parameter expansion of
6698 an unset variable when WRDE_UNDEF is in effect.
6699 (parse_dollars): Don't field-split if quoted.
6700 (wordexp): Opening brace character isn't allowed unquoted.
6702 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
6704 * elf/dlerror.c: Fix concurrency problems with error string and
6707 * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
6708 filter/auxiliary are being loaded.
6710 1998-03-12 14:24 Ulrich Drepper <drepper@cygnus.com>
6712 * elf/dlerror.c (last_object_name): Removed.
6713 (dlerror): Don't use last_object_name.
6714 (_dl_error_run): Omit second argument to _dl_catch_error.
6715 * elf/dl-error.c (struct catch): Remove objname member.
6716 (_dl_signal_error): Construct string including objname when given.
6717 (_dl_catch_error): Remove objname handling.
6718 * elf/link.h (_dl_catch_error): Fix prototype and comment.
6719 * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
6720 * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
6721 * nss/nsswitch.c (nss_dlerror_run): Likewise.
6722 * iconv/gconv_dl.c (dlerror_run): Likewise.
6723 [Corrects PR libc/501].
6725 1998-03-12 Matthias Urlichs <smurf@noris.de>
6727 * nscd/nscd.c: Ignore SIGPIPE.
6729 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
6731 * nscd/nscd_getgr_r.c: Use __ protected names.
6732 * nscd/nscd_getpw_r.c: Likewise.
6734 1998-03-12 Matthias Urlichs <smurf@noris.de>
6736 * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
6737 * nscd/nscd_getpw_r.c: Fix length calculation in result check,
6738 null bytes are not transmitted.
6740 1998-03-12 00:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6742 * powerpc/syscalls.list: Correct typo.
6743 * alpha/syscalls.list: Likewise.
6744 * mips/syscalls.list: Likewise.
6746 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
6748 * socket/sys/socket.h: Add prototype for __socket.
6750 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
6752 * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
6754 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
6757 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
6759 * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
6762 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
6763 AF_* and PF_* constants.
6765 * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
6767 1998-03-11 15:27 Ulrich Drepper <drepper@cygnus.com>
6769 * elf/rtld.c: Update help message.
6770 Install link maps for preloaded objects using main_map as loader.
6772 * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
6773 * elf/dl-profile.c: Likewise.
6775 * elf/dlsym.c: Little optimization.
6776 * elf/dlvsym.c: Likewise.
6778 1998-03-11 14:56 Ulrich Drepper <drepper@cygnus.com>
6780 * posix/wordexp-test.c: Move test for parameter list at the very
6783 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
6785 * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
6786 WRDE_REUSE flag is set.
6787 (parse_param): Allow `*', `@', and numbers in parameter names.
6788 (parse_dollars): Differentiate between arithmetic expansion and a
6789 command substitution that starts immediately with a sub-shell
6790 (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
6791 (parse_param): Memory allocated with __alloca in a block was
6792 referenced outside that block. Adjusted to use malloc/free.
6793 (parse_param): Adjusted field-splitting algorithm so that there is
6794 not necessarily a field split at the end of a parameter expansion.
6796 1998-03-10 19:52 Tim Waugh <tim@cyberelk.demon.co.uk>
6798 * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
6799 don't free words that have already been allocated.
6800 (parse_param): A dollar sign on its own will never have a pattern
6801 associated with it (like "${HOME%%/}" has), so don't try to free it.
6802 (parse_glob): Attempt to glob when an unquoted `[' is found
6803 (rather than an unquoted '{' (!)). Also for unquoted '?'.
6804 (parse_glob): Sorted out quoting in a glob-able word.
6805 (parse_param): Added $* and $@ handling.
6807 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
6809 * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
6812 1998-03-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6814 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
6817 1998-03-12 Matthias Urlichs <smurf@noris.de>
6819 * elf/dl-misc.c: Default for debug output should be stderr.
6820 * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
6821 * elf/dl-lookup.c: reference_name may be NULL or empty.
6823 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6825 * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
6827 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
6829 * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
6831 * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
6833 1998-03-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6835 * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
6836 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
6838 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6840 * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
6843 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
6845 * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
6848 * misc/syslog.c (vsyslog): Don't try to send if not connected to
6850 (closelog_internal): Don't do anything if not connected.
6852 1998-03-10 17:54 Ulrich Drepper <drepper@cygnus.com>
6854 * libc.map: Add _dl_debug_message.
6855 * elf/dl-misc.c: Make _dl_debug_message a function. Print the PID
6857 * elf/fini.c: Correctly use new _dl_debug_message function.
6858 * elf/init.c: Likewise.
6859 * elf/dl-lookup.c: Likewise.
6860 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
6861 * elf/dl-load.c: Likewise. Add more debugging prints.
6862 * elf/dl-reloc.c: Likewise.
6863 * elf/dl-version.c: Likewise.
6864 * elf/dl-support.c: Add variables for debugging.
6865 * elf/rtld.c: Likewise. Recognize new debug options.
6866 * elf/link.h: Declare new variables.
6868 * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
6870 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
6872 * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
6873 kernel headers. Patch by a sun <asun@saul7.u.washington.edu>.
6875 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
6877 * posix/wordexp-test.c (command_line_test): New function to allow
6878 testing of specific cases from the command-line.
6880 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
6882 * elf/dl-init.c (_dl_init_next): Print nicer messages.
6883 * elf/dl-fini.c (_dl_fini): Likewise.
6884 * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
6886 * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
6887 symbol in debug message.
6888 (_dl_lookup_versioned_symbol_skip): Likewise.
6890 1998-03-10 19:43 Matthias Urlichs <urlichs@noris.de>
6892 * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
6893 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
6894 * manual/filesys/texi: Document this.
6896 1998-03-10 10:49 Ulrich Drepper <drepper@cygnus.com>
6898 * manual/filesys.texi: Document the change below.
6900 1998-03-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6902 * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
6903 Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
6905 1998-03-10 00:10 Ulrich Drepper <drepper@cygnus.com>
6907 * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
6908 instead scope. If debugging display information about symbol
6910 (_dl_lookup_symbol): Call do_lookup with correct parameters.
6911 (_dl_lookup_symbol_skip): Likewise.
6912 (_dl_lookup_versioned_symbol): Likewise.
6913 (_dl_lookup_versioned_symbol_skip): Likewise.
6914 * elf/dl-support.c: Define _dl_debug_symbols.
6915 * elf/link.h: Add declaration for _dl_debug_symbols.
6916 * elf/rtld.c: Define _dl_debug_symbols.
6917 (process_dl_debug): Recognize symbols option.
6919 1998-03-09 23:36 Ulrich Drepper <drepper@cygnus.com>
6921 * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
6923 * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
6924 with correct parameters.
6925 [!PIC]: Initialize __libc_multiple_libcs.
6927 1998-03-09 18:21 Ulrich Drepper <drepper@cygnus.com>
6929 * elf/dl-support.c (_dl_debug_bindings): Add definition.
6930 * elf/rtld.c (_dl_debug_bindings): Add definition.
6931 (process_dl_debug): Recognize bindings option. Update help message.
6932 * elf/link.h (struct link_map): Add l_versyms member.
6933 (_dl_debug_bindings): Add declaration.
6934 * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
6935 * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
6937 * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
6938 (sym_val): Remove a member, add m as link_map.
6939 (do_lookup): Return result appropriately.
6940 (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
6941 Call do_lookup correctly.
6942 (_dl_lookup_symbol_skip): Likewise.
6943 (_dl_lookup_versioned_symbol): Likewise.
6944 (_dl_lookup_versioned_symbol_skip): Likewise.
6946 1998-03-09 08:21 Ulrich Drepper <drepper@cygnus.com>
6948 * sysdeps/unix/sysv/linux/chown.c: Moved to ...
6949 * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
6951 * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
6952 * libc.map: Add chown to GLIBC_2.1.
6953 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
6954 * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
6956 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6958 * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
6960 * sysdeps/alpha/ffs.c: Likewise.
6961 * sysdeps/am29k/ffs.c: Likewise.
6962 * sysdeps/i386/ffs.c: Likewise.
6963 * sysdeps/i960/ffs.c: Likewise.
6964 * sysdeps/m68k/ffs.c: Likewise.
6965 * sysdeps/m88k/ffs.c: Likewise.
6966 * sysdeps/powerpc/ffs.c: Likewise.
6967 * sysdeps/rs6000/ffs.c: Likewise.
6968 * sysdeps/vax/ffs.s: Likewise.
6969 * string/string.h: Declare __ffs.
6970 * libc.map: Export it.
6971 * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
6972 __builtin_ffs, which is not guaranteed to be namespace clean.
6974 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6976 * elf/sprof.c: Rewrite symbol handling to use the normal symbol
6977 table, which is much more likely to exist than debugging symbols.
6978 (printsym): Remove const.
6979 (load_shobj): Don't use _dl_pagesize. Fix mapping of section
6982 * libc.map: Export __profile_frequency, used by elf/sprof, to
6983 avoid infinite recursion during startup.
6985 1998-03-09 12:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6987 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
6990 * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
6992 1998-03-09 Ulrich Drepper <drepper@cygnus.com>
6994 * elf/dl-support.c: Add definition of _dl_debug_impcalls.
6996 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
6998 * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
6999 LD_PRELOAD, and LD_VERBOSE.
7000 (dl_main): Use global variables set by process_envvars instead of
7002 * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
7003 LD_LIBRARY_PATH value, this comes with the parameter.
7004 * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
7005 ("LD_LIBRARY_PATH") to _dl_init_paths.
7007 1998-03-08 22:55 Ulrich Drepper <drepper@cygnus.com>
7009 * elf/rtld.c (dl_main): Delay initialization of path structure if
7010 the dynamically linker is invoked implicitly until we read the
7013 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
7015 * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
7017 1998-03-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7019 * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
7022 * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
7024 1998-03-08 14:58 Ulrich Drepper <drepper@cygnus.com>
7026 * Makeconfig (nisobjdir): Set to path to nis directory.
7027 (rpath-link): Add nisobjdir.
7028 Patch by Sven Verdoolaege <skimo@kotnet.org>.
7030 * elf/Makefile: Pretty print.
7031 * elf/dl-lookup.c: Include unistd.h.
7032 * elf/dl-runtime.c: Likewise.
7034 * localedata/Makefile (test-srcs): Add tst-rpmatch.
7035 (distribute): Add tst-rpmatch.sh.
7036 (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
7038 New tests for rpmatch function by
7039 Jochen Hein <jochen.hein@delphi.central.de>.
7040 * localedata/tst-rpmatch.c: New file.
7041 * localedata/tst-rpmatch.sh: New file.
7043 * localedata/locales/de_DE: Correct yesexpr and noexpr.
7044 * localedata/locales/de_AT: Likewise.
7046 * posix/getopt.c: Update contact address.
7047 * posix/getopt1.c: Pretty print.
7049 * sysdeps/generic/libc-start.c: Do most of the initialization now
7050 here instead of in start.S.
7051 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
7052 * sysdeps/i386/elf/start.S: Remove most of the initialization code.
7054 * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
7055 profil_counter to be public.
7057 1998-03-08 13:06 Tim Waugh <tim@cyberelk.demon.co.uk>
7059 * posix/wordexp.c (parse_arith): Now works for negative numbers too.
7060 (parse_param): Coded parameter length expansion (${#var}).
7061 (parse_param): Handling for "=", "+", "-", and the ":" versions added.
7062 (parse_param): Cleaned up (fixed) error handling.
7064 * posix/wordexp-test.c: IFS now includes non-whitespace character
7065 (comma). Added more tests.
7067 1998-03-07 Ulrich Drepper <drepper@cygnus.com>
7069 * elf/link.h: Fix typos.
7070 Reported by Andreas Jaeger.
7072 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
7073 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
7075 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
7077 * argp/argp-help.c: Remove last bits of using gettext instead of
7080 1998-03-06 17:04 Ulrich Drepper <drepper@cygnus.com>
7082 * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
7084 * csu/Makefile (routines): Add libc-start.
7085 * elf/dl-error.c: Remove declaration of _dl_argv. Include <unitsd.h>.
7086 * elf/dl-lookup.c: Likewise.
7087 * elf/dl-version.c: Likewise.
7088 * sysdeps/i386/dl-machine.h: Likewise.
7089 * elf/link.h: Declare _dl_argv, _dl_debug_fd.
7090 Declare _dl_sysdep_output. Make _dl_sysdep_fatal, _dl_sysdep_error and
7091 _dl_sysdep_message macros which use _dl_sysdep_output.
7092 * elf/dl-fini.c: Write out which destructor is called while debugging.
7093 * elf/dl-init.c: Likewise for constructor.
7094 * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
7095 * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
7096 _dl_sysdep_message. Add _dl_sysdep_output.
7097 * elf/rtld.c: Recognize LD_DEBUG_OUTPUT. Set _dl_debug_fd if
7098 this file can be opened.
7099 For LD_DEBUG=libs also set _dl_debug_impcalls.
7100 * sysdeps/generic/dl-cache.c: Include unistd.h.
7101 * sysdeps/generic/libc-start.c: New file.
7102 * sysdeps/unix/sysv/linux/libc-start.c: New file.
7103 * sysdeps/i386/elf/start.S: Don't call main directly, call
7104 __libc_start_main instead.
7106 * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
7108 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
7110 * nss/nsswitch.c (__nss_nscd_not_available): Removed.
7112 1998-03-06 12:42 Ulrich Drepper <drepper@cygnus.com>
7114 * argp/argp.h (struct argp): Add new field domain.
7115 * argp/argp-help.c: Change all gettext calls to dgettext and use
7116 domain field from appropriate argp in call.
7117 * argp/argp-parse.c: Likewise.
7119 1998-03-06 11:35 Ulrich Drepper <drepper@cygnus.com>
7121 * posix/wordexp-test.c: Change testsuite so that it can run even
7124 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7126 * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
7128 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7130 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7131 Don't store into global errno if we already store through
7133 * sysdeps/unix/i386/sysdep.S: Likewise.
7134 * sysdeps/unix/alpha/sysdep.S: Likewise.
7135 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7136 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
7137 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. Add
7138 missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
7141 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7143 * sysdeps/generic/sysdep.h (L): Remove definition.
7144 * sysdeps/i386/sysdep.h (L): Define it here instead.
7146 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7148 * nis/nis_call.c (__do_niscall): Safe and reset errno.
7150 * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
7152 1998-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7154 * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
7155 declaration style to avoid warnings.
7157 1998-03-06 11:48 Mark M._Kettenis <kettenis@hall.phys.uva.nl>
7159 * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
7162 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
7164 * posix/Makefile (tests): Add wordexp-test.
7165 * posix/wordexp-test.c: New file. Testsuite for wrodexp.
7166 Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
7168 1998-03-05 16:04 Ulrich Drepper <drepper@cygnus.com>
7170 * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
7173 * elf/link.h (struct r_search_path_elem): Add two new field for
7175 * elf/rtld.c: Recognize LD_DEBUG environment variable and set
7176 variable accordingly.
7177 * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
7178 is considered next along with information about load paths.
7179 * sysdeps/generic/dl-cache.c: Likewise.
7180 * elf/dl-support.c: Define _dl_debug_libs.
7181 * elf/genrtldtbl.awk: Add initializers for two new field in
7182 struct r_search_path_elem.
7184 1998-03-06 10:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7186 * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
7187 * sysdeps/m68k/lshift.S: Likewise.
7188 * sysdeps/m68k/rshift.S: Likewise.
7189 * sysdeps/m68k/sub_n.S: Likewise.
7190 * sysdeps/m68k/m68020/addmul_1.S: Likewise.
7191 * sysdeps/m68k/m68020/mul_1.S: Likewise.
7192 * sysdeps/m68k/m68020/submul_1.S: Likewise.
7194 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
7195 [_LIBC_REENTRANT]: Don't store into global errno.
7197 * sysdeps/m68k/sysdep.h: New file.
7198 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it. Use the macros
7199 ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
7200 (DO_CALL): Change to expect syscall name as argument.
7201 (PSEUDO): Pass syscall_name to DO_CALL.
7202 (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
7205 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
7207 * elf/rtld.c: Speed up processing of environment variables. Do
7208 only one run on the environment by avoiding to call getenv.
7209 * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
7210 function. Used by patch above.
7212 1998-03-05 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7214 * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
7216 * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
7217 * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
7218 * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
7220 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
7222 * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
7223 module cannot be found. Reported by Andreas Jaeger.
7225 1998-03-05 11:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7227 * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
7228 on platforms which default to unsigned chars.
7229 * nscd/nscd_getpw_r.c: Likewise.
7230 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
7233 1998-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7235 * elf/Makefile (install-bin): Change = to += for sprof to install
7238 1998-03-04 16:12 H.J. Lu <hjl@gnu.org>
7240 * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
7242 1998-03-04 16:19 Ulrich Drepper <drepper@cygnus.com>
7244 * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
7246 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7248 * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
7249 that a failure to connect to nscd doesn't change errno.
7251 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7253 * manual/maint.texi (Reporting Bugs): Change
7254 bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
7256 * locale/iso-4217.def: Likewise
7258 1998-03-04 12:43 Ulrich Drepper <drepper@cygnus.com>
7260 * manual/texinfo.tex: Updated.
7262 1998-03-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7264 * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
7266 * sysdeps/posix/pathconf.c: Likewise.
7267 * posix/getconf.c: Print `undefined' if pathconf returns -1
7268 without setting errno.
7270 1998-03-04 Ulrich Drepper <drepper@cygnus.com>
7272 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
7274 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
7275 Patches by Elliot Lee <sopwith@cuc.edu>.
7277 1998-03-04 09:43 Ulrich Drepper <drepper@cygnus.com>
7279 * elf/link.h (struct link_map): Add new field l_reloc_result.
7280 * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
7281 of relocation for the object to be profiled.
7282 * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
7284 * elf/rtld.c (_dl_start): Add comment that we must not allocate an
7286 * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
7287 contains a result from a previous run use this instead of computing
7289 * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
7291 1998-03-04 11:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7293 * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
7294 offsets into the GOT.
7295 (RTLD_START): Likewise.
7297 1998-03-03 17:55 Ulrich Drepper <drepper@cygnus.com>
7299 * elf/sprof.c: Cleanup a bit.
7301 1998-03-03 08:01 H.J. Lu <hjl@gnu.org>
7303 * sysdeps/generic/sysdep.h (L): New. Define.
7305 * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
7307 * sysdeps/i386/i586/addmul_1.S: Fix a typo.
7309 * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
7310 to have only one exit point for functions.
7311 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7312 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
7313 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
7314 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7315 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7317 1998-03-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7319 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
7320 reset errno so that errno isn't set to ENOSYS in the first call.
7321 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
7322 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7323 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
7324 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
7326 1998-03-02 17:55 Ulrich Drepper <drepper@cygnus.com>
7328 * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
7329 * sysdeps/i386/addmul_1.S: Likewise.
7330 * sysdeps/i386/lshift.S: Likewise.
7331 * sysdeps/i386/mul_1.S: Likewise.
7332 * sysdeps/i386/rshift.S: Likewise.
7333 * sysdeps/i386/sub_n.S: Likewise.
7334 * sysdeps/i386/submul_1.S: Likewise.
7335 * sysdeps/i386/i586/add_n.S: Likewise.
7336 * sysdeps/i386/i586/addmul_1.S: Likewise.
7337 * sysdeps/i386/i586/lshift.S: Likewise.
7338 * sysdeps/i386/i586/mul_1.S: Likewise.
7339 * sysdeps/i386/i586/rshift.S: Likewise.
7340 * sysdeps/i386/i586/sub_n.S: Likewise.
7341 * sysdeps/i386/i586/submul_1.S: Likewise.
7343 * sysdeps/i386/sysdep.h: Extend last change.
7345 * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
7346 to have only one exit point for functions.
7348 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
7350 * configure.in: Fix msgfmt test. Fix handling of //s in sysdeps
7353 1998-03-02 13:28 Ulrich Drepper <drepper@cygnus.com>
7355 * Makerules: Generate libc.so with absolute paths for the used
7358 * config.make.in: Add MAKEINFO definition.
7360 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
7362 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
7363 (ENTRY): Use STABS_FUN.
7364 (END): Use STABS_FUN_END.
7365 (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
7367 * elf/Makefile: Add rules to build sprof program.
7368 * elf/sprof.c: New file.
7370 1998-02-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7372 * misc/syslog.c (openlog_internal): Insert missing closing brace.
7374 1998-02-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7376 * configure.in: Check for working msgfmt version (from GNU gettext
7379 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
7381 * configure.in: Avoid //s in sysdirs.
7382 Patch by Roland McGrath.
7384 * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
7386 1998-03-02 07:17 H.J. Lu <hjl@gnu.org>
7388 * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
7389 setting _dl_global_scope for RTLD_GLOBAL.
7391 1998-02-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7393 * sysdeps/unix/make-syscalls.sh: Fix last change so that all
7394 possible lists of object-suffixes are taken care of.
7396 1998-03-02 10:16 Ulrich Drepper <drepper@cygnus.com>
7398 * timezone/private.h: Update from tzcode1998c.
7399 * timezone/zic.c: Likewise.
7400 * timezone/antarctica: Updated from tzdata1998c.
7401 * timezone/asia: Likewise.
7402 * timezone/australasia: Likewise.
7403 * timezone/europe: Likewise.
7404 * timezone/southamerica: Likewise.
7406 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
7408 * posix/glob.c (glob_in_dir): Add support for cases insensitive
7409 VMS. Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
7411 1998-03-01 19:05 H.J. Lu (hjl@gnu.org)
7413 * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
7414 Changed type of TWO43, TWO52 from float to double.
7415 * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
7416 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
7417 Changed type of TWO43 from float to double.
7418 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
7421 1998-03-01 18:52 H.J. Lu (hjl@gnu.org)
7423 * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
7424 osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
7425 osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
7427 1998-03-01 09:11 Richard Henderson <rth@cygnus.com>
7429 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
7431 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
7432 Clean up random whitespace.
7433 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
7434 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
7435 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
7436 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
7438 1998-03-01 08:31 Richard Henderson <rth@cygnus.com>
7440 * shlib-versions: Match alpha*.
7441 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
7442 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
7444 * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
7445 Implement copysign* with and without __ prefix.
7446 Likewise for fabs; use builtin for gcc 2.8.
7450 * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
7451 (R_SPARC*): Match current v9 ABI.
7453 * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
7455 * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
7456 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7457 * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
7458 * sysdeps/generic/getresgid.c: Use prototype form because of warning.
7459 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7460 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
7461 * sysdeps/unix/grantpt.c (argv): Fix consts.
7462 * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
7463 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7465 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
7467 * misc/syslog.c: Change to allow user the interpretation of the
7468 outcome even with syslog having no return value.
7470 1998-02-05 20:41 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
7472 * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
7473 that the number of program headers is >0 (which is wrong for the
7476 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
7478 * Makefile (distribute): Add README.libm.
7480 1998-02-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7482 * time/clocktest.c (main): Correct typo: "--" -> "==".
7484 1998-02-25 20:53 H.J. Lu <hjl@gnu.org>
7486 * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
7488 (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
7491 * math/libm.map (__atan2): Added.
7493 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
7495 * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
7496 Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
7498 * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
7501 1998-02-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7503 * manual/arith.texi (Old-style number conversion): Correct
7504 typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
7506 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
7508 * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
7509 but does not require it. Handle missing argv[] values gracefully.
7510 * posix/execl.c: Likewise.
7511 * posix/execle.c: Likewise.
7513 1998-02-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7515 * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
7517 * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
7519 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
7521 * libc.map: Add __adjtimex.
7523 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7525 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
7528 1998-02-24 08:10 H.J. Lu <hjl@gnu.org>
7530 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
7533 * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
7535 * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
7536 * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
7538 * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
7541 * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
7543 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
7544 Added adjtimex and old_adjtimex.
7546 * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
7548 (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
7549 osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
7551 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
7552 symbols only for shared library.
7553 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7554 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7555 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7556 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7557 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7558 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7559 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7561 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
7562 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7563 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7564 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7565 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7566 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7567 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7568 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7570 * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
7573 * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
7575 (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
7576 timex and __adjtimex, respectively.
7578 * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
7580 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
7582 1998-02-25 08:28 H.J. Lu <hjl@gnu.org>
7584 * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
7585 for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
7587 1998-02-26 14:59 Ulrich Drepper <drepper@cygnus.com>
7589 * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
7591 1998-02-19 11:00 Zack Weinberg <zack@rabi.phys.columbia.edu>
7593 * Makefile.in: Disable built-in rules.
7595 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7597 * sysdeps/i386/fpu/t_exp.c: Move to ...
7598 * sysdeps/libm-i387/t_exp.c: ... here.
7600 1998-02-21 13:51 H.J. Lu <hjl@gnu.org>
7602 * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
7603 from __exp2_deltatable.
7605 1998-02-26 Ulrich Drepper <drepper@cygnus.com>
7607 * nis/ypclnt.c (yp_master): Check result of strdup.
7608 Patch by Thorsten Kukuk.
7610 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7612 * nis/ypclnt.c: Give clnt handle after error checking free, change
7613 return codes to fix problems with rpc.nisd in YP mode on Ultra's.
7615 1998-02-26 09:00 Ulrich Drepper <drepper@cygnus.com>
7617 * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
7618 Patch by Joe Keane <jgk@jgk.org>.
7620 * misc/fstab.h (struct fstab): Change fs_type member to be const.
7621 * misc/fstab.c: Remove casts in fs_type assignments.
7623 1998-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7625 * sysdeps/i386/fpu/bits/fenv.h: Correct typo. ISO C 9X defines
7626 FE_TOWARDZERO and not FE_TOWARDSZERO. Reported by H.J. Lu.
7627 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
7628 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
7629 * sysdeps/powerpc/bits/fenv.h: Likewise.
7630 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
7631 * sysdeps/generic/bits/fenv.h: Likewise.
7632 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7633 * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
7634 * sysdeps/powerpc/test-arith.c (main): Likewise.
7636 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
7638 * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
7639 the comparison macros.
7641 1998-02-21 20:14 H.J. Lu <hjl@gnu.org>
7643 * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
7644 (__log2): Fixed return values.
7645 * sysdeps/libm-ieee754/s_log2f.c: Likewise.
7647 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
7649 * math/math.h (isunordered): Rename local variables to ensure
7650 correct code. Reported by HJ Lu.
7652 1998-02-25 10:34 Ulrich Drepper <drepper@cygnus.com>
7654 * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
7655 isless, islessequal, islessgreater, isunordered): Fix syntax for
7656 fucompip instruction.
7657 (isless, islessequal): Fix logic.
7659 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7661 * math/libm-test.c (sqrt_test): Add test for sqrt(2).
7662 (comparisons_test): New tests for comparison macros.
7664 1998-02-24 15:12 Ulrich Drepper <drepper@cygnus.com>
7666 * Makeconfig: Filter out frame-pointer effecting options when
7667 compiling profiling or debugging code.
7668 * config.h.in (internal_function): Don't define here if PROF is
7670 * gmon/gmon.c (__moncontrol): Don't change state if already in error
7672 (__monstartup): If calloc fails set error state and mark array as
7674 (_mcleanup): Don't call write_gmon if in error state. Don't try
7675 to free array if not successfully allocated.
7677 * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
7678 Include elf.h to get macro definitions.
7679 Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
7681 1998-02-24 09:40 Ulrich Drepper <drepper@cygnus.com>
7683 * elf/ldd.sh.in: Add compatibility for broken old shells.
7684 * elf/ldd.bash.in: Likewise.
7686 1998-02-24 08:11 H.J. Lu <hjl@gnu.org>
7688 * sunrpc/rpc_main.c (open_input): Check pipe return error.
7690 * time/clocktest.c (main): Check signal return error.
7692 1998-02-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7694 * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
7695 "/" and use do-install-program. Reported by Mark M. Kettenis.
7696 (subdir_install): Likewise.
7698 1998-02-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7700 * sunrpc/rpc_sample.c: Fix typo.
7702 * nscd/connections.c: Use locale.
7703 * nscd/grpcache.c: Add debug messages, gidtbl should get the
7705 * nscd/nscd.c: Check if init functions fails.
7706 * nscd/nscd_conf.c: Allow disabling of group cache.
7707 * nscd/nscd_getgr_r.c: Fix return code if group not found.
7708 * nscd/pwdcache.c: Fix debug messages.
7710 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7712 * libc.map: Add __monstartup and _mcleanup for profiling support.
7714 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7716 * libc.map: Export __getpagesize, for binary compatibility with
7719 1998-02-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7721 * posix/globtest.sh: Use --library-path instead of
7723 * localedata/sort-test.sh: Likewise.
7724 * localedata/tst-fmon.sh: Likewise. Avoid useless use of cat.
7726 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7728 * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
7729 sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
7730 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7732 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
7733 kernel_sigaction): Define.
7734 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
7735 kernel_sigaction): Define.
7737 1998-02-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7739 * math/libm-test.c: Change epsilons for libm-ieee754.
7741 1998-02-23 12:33 Ulrich Drepper <drepper@cygnus.com>
7743 * sysdeps/i386/__longjmp.S: Fix race condition.
7744 Reported by Bruno Haible <haible@ilog.fr>.
7746 1998-02-20 18:43 Ulrich Drepper <drepper@cygnus.com>
7748 * hesiod/hesiod.c: Pretty print. Don't use __ protected names.
7749 * iconvdata/8bit-gap.c: Likewise.
7750 * iconvdata/8bit-generic.c: Likewise.
7751 * iconvdata/iso6937.c: Likewise.
7752 * iconvdata/iso8859-1.c: Likewise.
7753 * iconvdata/sjis.c: Likewise.
7754 * iconvdata/t61.c: Likewise.
7756 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7758 * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
7759 feature tests by positive feature tests.
7761 1998-02-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7763 * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
7765 1998-02-20 Ulrich Drepper <drepper@cygnus.com>
7767 * elf/dlvsym.c (dlvsym_doit): More corrections.
7768 Patch by Andreas Jaeger.
7770 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
7772 * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
7774 1998-02-19 17:16 Ulrich Drepper <drepper@cygnus.com>
7776 * libc.map: More reordering for GLIBC_2.1 symbols.
7778 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7780 * libc.map: Move some functions from version GLIBC_2.0 to
7781 GLIBC_2.1, reorder declarations.
7783 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
7785 * resolv/gethnamaddr.c (addrsort): Make this function extern.
7786 Patch by zab@thebrain.grumblesmurf.net.
7788 1998-02-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7790 * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
7791 NIS+ functions with version GLIBC_2.1.
7793 1998-02-19 14:05 Ulrich Drepper <drepper@cygnus.com>
7795 * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
7796 with 2.0 binaries. Reported by Thorsten Kukuk.
7798 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7800 * elf/dlvsym.c (dlvsym_doit): Correct last patch.
7802 * elf/dlsym.c (dlsym_doit): Likewise.
7804 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7806 * elf/link.h: Correct typos.
7808 * iconv/iconv_prog.c: Correct typo.
7810 1998-02-18 17:57 Ulrich Drepper <drepper@cygnus.com>
7812 * iconv/Makefile: Add rules to build and install iconv program.
7813 * iconv/iconv_prog.c: New file.
7815 1998-02-18 16:34 H.J. Lu <hjl@gnu.org>
7817 * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
7818 _dl_lookup_symbol_skip call.
7819 * elf/dlvsym.c (dlvsym_doit): Likewise.
7821 1998-02-18 Ulrich Drepper <drepper@cygnus.com>
7823 * libio/iovsscanf.c: Do not include errno.h.
7825 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7827 * elf/dl-load.c (add_name_to_object): Don't translate strings.
7828 * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
7829 pulling in the whole error list.
7830 (__dcgettext, dcgettext): Removed.
7831 * libc.map: Export _strerror_internal.
7833 1998-02-18 10:50 Ulrich Drepper <drepper@cygnus.com>
7835 * sysdeps/i386/fpu/t_exp.c: New file.
7837 1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7839 * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
7840 everything with version GLIBC_2.1.
7841 * hesiod/libnss_hesiod.map: Likewise.
7843 1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7845 * manual/arith.texi (Old-style number conversion): This node is a
7846 section, not a subsection.
7848 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7850 * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
7852 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7854 * elf/rtld.c (dl_main): Make sure that the library search paths
7855 have been initialized before the first call to _dl_map_object.
7857 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7859 * Makerules (common-generated): Add libc_pic.os.
7861 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7863 * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
7866 1998-02-18 10:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7868 * sysdeps/m68k/fpu/t_exp.c: New file.
7870 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
7872 * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
7873 to global errno variable anymore.
7875 1998-02-17 17:41 Ulrich Drepper <drepper@cygnus.com>
7877 * elf/dl-load.c (open_path): Take extra argument PRELOADED.
7878 If PRELOADED is nonzero check in case of an SUID application
7879 whether the shared object has the SUID bit set.
7880 Fix some other problems with handling shared objects in system
7881 specific directories.
7882 (_dl_map_object): Also take extra parameter and pass it to open_path.
7883 * elf/link.h (_dl_map_object): Correct prototype and comment.
7884 * elf/rtld.c (dl_main): Call _dl_map_object correctly.
7885 * elf/dl-open.c (_dl_open): Likewise.
7886 * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
7888 * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
7890 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
7892 * math/libm-test.c (modf_test): Add test for 1.5.
7894 * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
7895 0 to get always an int.
7897 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7899 * math/libm.map: Move all symbols that are new in glibc 2.1 to
7902 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
7904 * stdio-common/vfscanf.c (inchar): Check c for being EOF before
7905 trying to read another character.
7907 1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7909 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
7912 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
7913 name to lowercase, add test for big enough buffer.
7915 1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7917 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
7918 Make compatible with older kernels. Patch by Richard Henderson.
7920 1998-02-17 15:10 Ulrich Drepper <drepper@cygnus.com>
7922 * elf/dl-load.c (open_path): Use __xstat instead of stat.
7924 * localedata/tst-locale.sh: Comment out first test for now.
7926 1998-02-14 14:58 H.J. Lu <hjl@gnu.org>
7928 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
7930 * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7933 * libio/iogetline.c (_IO_getline_info): Renamed from
7935 (_IO_getline): Just call _IO_getline_info.
7937 * libio/libioP.h (_IO_getline_info): New declaration.
7939 * libc.map (_IO_getline_info, __write): Added.
7941 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7943 * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
7944 const char* to shut up gcc.
7946 1998-02-17 11:37 Ulrich Drepper <drepper@cygnus.com>
7948 * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
7949 Patch forwarded by Cristian Gafton <gafton@redhat.com>.
7951 * math/math.h: Define M_* constants always as `double' and add new
7952 macros M_*l which are of type `long double'.
7953 * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
7954 * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
7955 * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
7956 * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
7957 * sysdeps/libm-ieee754/s_catanl.c: Likewise.
7958 * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
7959 * sysdeps/libm-ieee754/s_clogl.c: Likewise.
7960 * math/libm-tst.c: Likewise.
7962 * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
7963 define as long double unconditionally.
7965 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7967 * manual/arith.texi (Old-style number conversion): Correct some
7970 1998-02-16 16:28 H.J. Lu <hjl@gnu.org>
7972 * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
7975 * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
7977 1998-02-16 Ulrich Drepper <drepper@cygnus.com>
7979 * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
7980 on $(rtld-ldscript).
7982 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
7983 starting from 0 not only from `from'.
7984 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7986 1998-02-16 17:33 Ulrich Drepper <drepper@cygnus.com>
7988 * elf/rtld.c (dl_main): Recognize --library-path parameter and
7989 pass value (or NULL) to _dl_init_paths.
7990 * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
7991 replacing local variable llp. If llp is NULL examine LD_LIBRARY_PATH
7992 environment variable.
7993 * elf/link.h: Change prototype for _dl_init_paths.
7994 * elf/dl-support.c: Pass NULL in _dl_init_paths call.
7996 * localedata/Makefile (distribute): Add test files.
7998 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8000 * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
8001 test1.def, test2.def, test3.def, test4.def}: Simple input files
8002 for localedef. Contributed by Yung-Ching Hsiao
8003 <yhsiao@cae.wisc.edu>.
8005 * localedata/Makefile (tests): Call tst-locale.sh.
8007 * localedata/tst-locale.sh: New file, regression tests for some
8010 1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
8012 * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
8014 * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
8016 * nis/nss_nisplus/nisplus-network.c: Likewise.
8017 * nis/nss_nisplus/nisplus-proto.c: Likewise.
8018 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
8019 * nis/nss_nisplus/nisplus-service.c: Likewise.
8021 Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
8022 and support generating thread safe RPC code.
8023 * sunrpc/rpc_main.c: Add changes.
8024 * sunrpc/rpc_clntout.c: Likewise.
8025 * sunrpc/rpc_cout.c: Likewise.
8026 * sunrpc/rpc_hout.c: Likewise.
8027 * sunrpc/rpc_parse.c: Likewise.
8028 * sunrpc/rpc_sample.c: Likewise.
8029 * sunrpc/rpc_scan.c: Likewise.
8030 * sunrpc/rpc_svcout.c: Likewise.
8031 * sunrpc/rpc_util.c: Likewise.
8032 * sunrpc/rpc_util.h: Add new structs and prototypes.
8033 * sunrpc/proto.h: Remove prototypes for static functions.
8035 1998-02-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8037 * locale/programs/ld-messages.c (messages_finish): Don't skip
8038 error checking when being quiet.
8039 * locale/programs/ld-ctype.c (ctype_finish): Likewise.
8040 (set_class_defaults): Likewise.
8041 * locale/programs/charmap.c (parse_charmap): Likewise.
8042 * locale/programs/ld-collate.c (collate_finish): Likewise.
8043 * locale/programs/ld-monetary.c (monetary_finish): Likewise.
8044 * locale/programs/ld-time.c (time_finish): Likewise.
8045 * locale/programs/locfile.c (write_locale_data): Likewise.
8047 * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
8048 unknown characters and empty ranges.
8049 * locale/programs/ld-collate.c (collate_order_elem): When
8050 processing an ellipsis properly form a linked list in the result
8051 table, fix typo when allocating ordering array.
8054 1998-02-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8056 * elf/Makefile (ld-map): Define.
8057 (rtld-ldscript): Define. Change all `$(objpfx)rtld-ldscript' to
8059 ($(objpfx)ld.so): Combine the two versions of this rule. Depend
8061 (rtld-link): Combine the two versions of this definition. Fixed
8062 to make it work when no symbol versioning is used.
8064 1998-02-16 Ulrich Drepper <drepper@cygnus.com>
8066 * Makeconfig (build-program-cmd): Use --library-path parameter to
8067 ld.so instead of environment variable.
8069 * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
8070 * sunrpc/rpc_main.c: Remove support for -$$ option again.
8072 1998-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8074 * Make-dist: Respect with-cvs setting.
8075 * MakeTAGS (all-pot): Likewise.
8076 * sysdeps/sparc/sparc32/Makefile: Likewise.
8077 * sysdeps/mach/hurd/Makefile: Likewise.
8078 * stdlib/Makefile: Likewise.
8079 * posix/Makefile: Likewise.
8080 * intl/Makefile: Likewise.
8081 * po/Makefile (linguas): Likewise
8083 1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
8085 * nis/ypclnt.c (yp_all): Remove error message, user should print it.
8087 1998-02-15 Ulrich Drepper <drepper@cygnus.com>
8089 * libc.map: Add __strcasecmp.
8091 * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
8094 * nss/getXXent_r.c: If no more module is found don't try to call
8095 setXXent functions but leave unsuccessfully.
8097 * malloc/obstack.h: Cleanups.
8099 * sysdeps/wordsize-32/stdint.h: New file.
8100 * sysdeps/wordsize-64/stdint.h: New file.
8101 * sysdeps/generic/stdint.h: New file.
8102 * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
8103 * sysdeps/wordsize-64/inttypes.h: Likewise.
8104 * stdlib/Makefile (headers): Add stdint.h.
8106 1998-02-03 Paul Eggert <eggert@twinsun.com>
8108 * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
8110 1998-02-13 17:59 Zack Weinberg <zack@rabi.phys.columbia.edu>
8112 * timezone: New directory.
8113 * time/README, time/africa, time/antarctica, time/asia,
8114 time/australasia, time/backward, time/checktab.awk,
8115 time/etcetera, time/europe, time/factory, time/ialloc.c,
8116 time/iso3166.tab, time/leapseconds, time/northamerica,
8117 time/pacificnew, time/private.h, time/scheck.c,
8118 time/solar87, time/solar88, time/solar89, time/southamerica,
8119 time/systemv, time/test-tz.c, time/tzfile.h,
8120 time/tzselect.ksh, time/yearistype, time/zdump.c,
8121 time/zic.c, time/zone.tab: Moved to timezone.
8122 * time/tzfile.c: Include tzfile.h from timezone subdir.
8123 * time/tzset.c: Likewise.
8124 * time/Makefile: Cut out all code relating to timezones...
8125 * timezone/Makefile: ...and paste it in here.
8126 * Makefile (subdirs): Add timezone.
8128 1998-02-13 18:45 H.J. Lu <hjl@gnu.org>
8130 * libc.map (_sys_nerr): Added.
8132 * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
8135 1998-02-15 17:16 Ulrich Drepper <drepper@cygnus.com>
8137 * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
8138 pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
8139 Reported by Craig Metz <cmetz@inner.net>.
8141 1998-01-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8143 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
8144 instead of strcasecmp.
8145 * nss/nss_files/files-alias.c (get_next_alias): Likewise.
8147 * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
8149 1998-02-15 16:55 Ulrich Drepper <drepper@cygnus.com>
8151 * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
8152 Patch by Dean Gaudet <dgaudet@arctic.org>.
8154 1998-02-15 16:53 Ulrich Drepper <drepper@cygnus.com>
8156 * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
8158 1998-02-15 10:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
8160 * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
8161 with no poll syscall, just include the BSD version.
8162 * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
8163 kernel without the syscall, include the stub version.
8164 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
8165 * sysdeps/generic/getresuid.c: New file.
8166 * sysdeps/generic/getresgid.c: New file.
8168 1998-02-15 Ulrich Drepper <drepper@cygnus.com>
8170 * stdio-common/vfscanf.c: Correct last change a bit.
8172 1998-02-13 17:39 Ulrich Drepper <drepper@cygnus.com>
8174 * elf/Makefile: Don't use --version-script parameter to link ld.so
8177 1998-01-02 04:19 Geoff Keating <geoffk@ozemail.com.au>
8179 * math/Makefile: Add t_exp.
8180 * math/libm-test.c: Tighten accuracy bounds for exp(), correct
8182 * math/test-reduce.c: Remove temporarily, it seems to be broken.
8183 * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
8184 * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
8186 * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
8187 algorithm for very large/very small arguments.
8188 * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
8189 correct algorithm for very large/very small arguments; adjust for
8191 * sysdeps/libm-ieee754/t_exp.c: New file.
8192 * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
8194 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
8195 back, with comment that explains what breaks when you remove it :-(.
8197 * localedata/xfrm-test.c: Avoid integer overflow.
8199 * stdlib/strfmon.c: char is unsigned, sometimes.
8201 * sysdeps/powerpc/Makefile: Remove quad float support.
8202 * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
8203 * sysdeps/powerpc/quad_float.h: Likewise.
8204 * sysdeps/powerpc/test-arith.c: Likewise.
8205 * sysdeps/powerpc/test-arithf.c: Likewise.
8207 * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
8208 * sysdeps/generic/s_exp2f.c: Likewise.
8210 * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
8211 don't try anything if _SOFT_FLOAT.
8213 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8215 * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
8216 * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
8217 * wctype/wctype.c: Likewise.
8218 * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
8219 changed. They are incompatible with the _ISxxx values from
8220 <ctype.h> on little endian machines.
8221 (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
8222 bit number. This fixes the real bug and restores the integrity of
8223 the ctype locale file.
8224 * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
8225 * wctype/wcfuncs_l.c: Likewise.
8226 * wctype/wcextra.c: Likewise.
8227 * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
8230 1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8232 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
8233 into .bss segment instead of .common, so that aliases on it work.
8235 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
8236 .size directives, put into .bss segment instead of initializing it
8239 1998-02-12 08:00 H.J. Lu <hjl@gnu.org>
8241 * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
8243 * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
8245 Make names without __ weak aliases.
8246 (__libc_release, __libc_version): Make them static.
8248 * include/gnu/libc-version.h: New file.
8249 * Makefile (headers): Add gnu/libc-version.h.
8251 1998-02-13 Ulrich Drepper <drepper@cygnus.com>
8253 * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
8254 and use x for member name.
8255 Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
8257 * stdlib/drand48.c: Change according to member name change.
8258 * stdlib/drand48_r.c: Likewise.
8259 * stdlib/lcong48_r.c: Likewise.
8260 * stdlib/lrand48.c: Likewise.
8261 * stdlib/lrand48_r.c: Likewise.
8262 * stdlib/mrand48.c: Likewise.
8263 * stdlib/mrand48_r.c: Likewise.
8264 * stdlib/seed48.c: Likewise.
8265 * stdlib/seed48_r.c: Likewise.
8266 * stdlib/srand48_r.c: Likewise.
8268 1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8270 * nss/test-netdb.c: Add some more test cases.
8272 1998-02-13 11:39 Ulrich Drepper <drepper@cygnus.com>
8274 * libio/iovsscanf.c: Undo last change modifying errno.
8276 1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8278 * stdio-common/vfscanf.c: Never try to read another character
8279 after EOF. Don't decrement read_in after EOF, it wasn't
8280 incremented in the first place.
8281 (NEXT_WIDE_CHAR): Set First, not first.
8283 1998-02-06 07:48 H.J. Lu <hjl@gnu.org>
8285 * db/Makefile ($(inst_libdir)/libndbm.a,
8286 $(inst_libdir)/libndbm.so): New targets.
8287 * db2/Makefile: Likewise.
8289 1998-02-12 08:20 H.J. Lu <hjl@gnu.org>
8291 * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
8292 aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
8294 1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8296 * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
8298 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
8300 1998-02-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8302 * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
8305 1998-02-13 08:14 H.J. Lu <hjl@gnu.org>
8307 * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
8308 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
8311 1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8313 * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
8316 * grp/Makefile: Fix logic when checking for thread package.
8317 * pwd/Makefile: Likewise.
8319 1998-02-11 08:23 H.J. Lu <hjl@gnu.org>
8321 * elf/Makefile (rtld-map): Replaced by libc-map.
8323 * elf/rtld.map: Removed.
8325 * libc.map (__libc_enable_secure, _dl_catch_error,
8326 _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
8327 _dl_default_scope, _dl_global_scope_end, _dl_init_next,
8328 _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
8329 _dl_object_relocation_scope, _dl_relocate_object,
8330 _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
8331 _r_debug): Added for ld.so.
8333 1998-02-10 08:38 H.J. Lu <hjl@gnu.org>
8335 * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
8337 * libio/iofdopen.c: Ditto.
8338 * libio/iofopen.c: Ditto.
8339 * libio/oldfileops.c: Ditto.
8341 * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
8344 * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
8345 oldsiglist from sysdep_routines and shared-only-routines.
8347 * sysdeps/unix/sysv/linux/errlist.c: New.
8348 * sysdeps/unix/sysv/linux/errlist.h: New.
8349 * sysdeps/unix/sysv/linux/sizes.h: New.
8350 * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
8351 * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
8353 * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
8355 * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
8356 (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
8359 * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
8361 * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
8362 (oldsiglist.c): Removed.
8364 * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
8365 (_sys_siglist): Use SYS_SIGLIST instead.
8366 (_sys_nerr): Use SYS_NERR instead.
8368 * sysdeps/gnu/errlist.c: Rebuilt.
8370 1998-02-11 08:35 H.J. Lu <hjl@gnu.org>
8372 * elf/Makefile (others-static): New, set to ldconfig.
8373 ($(objpfx)ldconfig): Removed.
8375 * Rules (binaries-all, binaries-static, binaries-shared): New.
8376 Create targets for $(binaries-static) and $(binaries-shared).
8378 * Makeconfig (+link-static, link-libc-static,
8379 link-extra-libs-static): New for static linking.
8381 1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8383 * manual/memory.texi (Using the Memory Debugger): Fix typo.
8385 * math/libm-test.c (modf_test): Add one more test for modf.
8387 1998-02-11 14:39 Ulrich Drepper <drepper@happy.cygnus.com>
8389 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
8390 Rename from __libc_have_rt_sigs and leave as COMMON data.
8392 1998-02-11 08:30 H.J. Lu <hjl@gnu.org>
8394 * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
8397 1998-02-11 19:16 Richard Henderson <rth@cygnus.com>
8399 * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
8401 1998-02-11 16:56 Ulrich Drepper <drepper@happy.cygnus.com>
8403 * misc/tst-efgcvt.c: Add yet more tests.
8404 * misc/efgcvt_r.c: And correct for these tests again.
8407 * isomac.c: Move to...
8408 * stdlib/isomac.c: ...here.
8409 * Makefile: Move rules for handling isomac...
8410 * stdlib/Makefile: ...to here.
8412 1998-02-10 23:57 Ulrich Drepper <drepper@happy.cygnus.com>
8414 * misc/tst-efgcvt.c: Add more tests.
8415 * misc/efgcvt_r.c: Correct result for above new tests.
8417 1998-02-06 17:22 H.J. Lu <hjl@gnu.org>
8419 * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
8422 1998-02-10 16:48 Philip Blundell <pb@nexus.co.uk>
8424 * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
8425 if the programs weren't built.
8427 1998-02-09 10:12 Philip Blundell <pb@nexus.co.uk>
8429 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
8430 FE_TONEAREST, soldier on regardless and do the best we can.
8431 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
8433 1998-02-5 17:20 Philip Blundell <pb@nexus.co.uk>
8435 * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
8436 _STDIO_H, before including <bits/stdio_lim.h>.
8438 * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
8440 * io/fts.c (fts_build): Don't try to use d_type if it doesn't
8443 * sysdeps/arm/sys/ucontext.h: New file.
8445 1998-02-04 10:11 Philip Blundell <pb@nexus.co.uk>
8447 * manual/stdio.texi (Formatted Output Functions): Explicitly say
8448 that the return value from snprintf() does not count the
8449 terminating NUL as a character.
8451 1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
8453 * manual/users.texi: Rewrite to describe correct POSIX behaviour,
8454 add description for sete[ug]id and general cleanup.
8455 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8457 1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8459 * Makefile (parent-clean): Don't remove makefile fragments here.
8460 (postclean): New variable.
8461 (clean): Remove makefile fragments here.
8462 (realclean distclean): Likewise. Pass sysdep-subdirs to sub-make.
8463 (generated): Add isomac and isomanc.out.
8464 * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
8465 avoid-generated is set.
8466 (postclean-generated): Add soversion.mk.
8467 ($(common-objpfx)version.mk): Don't include if avoid-generated is
8469 * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
8470 avoid-generated is set.
8471 (common-generated): Add libc.so and libc.so$(libc.so-version).
8472 (generated): Add versioned libraries.
8473 (common-mostlyclean): Also remove %.so and %_pic.a.
8474 * csu/Makefile (generated): Add abi-tag.h.
8475 * db2/Makefile (extra-objs): Add getlong.o.
8476 * elf/Makefile (generated): Add ld.so, ldd and
8477 $(rtld-installed-name).
8478 (others): Add ldconfig here instead of ldconfig.o to extra-objs.
8479 * malloc/Makefile (generated): Add mtrace.
8480 * po/Makefile: Don't include version.mk, not needed any more.
8481 * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
8482 * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
8483 syscall.h -> sys/syscall.h.
8484 (common-generated): Add s-proto.d.
8485 (postclean-generated): Add sysd-syscalls.
8486 * localedata/Makefile (test-output): Add all output files.
8487 (generated): Add test-input and test-output.
8488 (generated-dirs): Add all the dirs.
8490 1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8492 * Makefile (test-output, generated, generated-dirs): New
8495 1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
8497 * resolv/nss_dns/dns-host.c: Various code cleanups.
8499 1998-02-09 08:10 H.J. Lu <hjl@gnu.org>
8501 * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
8502 From Philip Blundell <pb@nexus.co.uk>.
8503 * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
8505 1998-02-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8507 * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
8508 Suggested by debian/sparc porters.
8510 1998-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8512 * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
8515 1998-02-10 16:32 Ulrich Drepper <drepper@happy.cygnus.com>
8517 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
8518 __fxstat instead of stat and fstat. Use namespace clean __stpcpy.
8520 * signal/signal.h: Always define sigset_t if __need_sigset_t is
8521 defined even if __USE_POSIX is not defined.
8523 1998-02-02 20:51 Zack Weinberg <zack@rabi.phys.columbia.edu>
8525 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
8526 to support obsolete tty major numbers correctly.
8528 1998-02-02 08:47 H.J. Lu <hjl@gnu.org>
8530 * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
8531 directory first and ignore install error.
8533 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
8534 128 from ptyno and fix a typo for the BSD style pty.
8536 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8538 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
8541 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8543 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
8544 getresuid and getresgid.
8546 * sysdeps/unix/sysv/linux/getresuid.c: New file.
8547 * sysdeps/unix/sysv/linux/getresgid.c: New file.
8549 * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
8552 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
8553 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8554 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8555 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
8557 1998-02-02 08:11 H.J. Lu <hjl@gnu.org>
8559 * nscd/grpcache.c: Include <stdlib.h>.
8561 1998-02-01 16:01 H.J. Lu <hjl@gnu.org>
8563 * stdlib/atoll.c: Fix comments.
8565 * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
8566 * sysdeps/posix/ttyname_r.c: Ditto.
8568 1998-02-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8570 * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
8571 __USE_MISC, independent of __USE_UNIX98.
8573 1998-02-10 19:18 Ulrich Drepper <drepper@happy.cygnus.com>
8575 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
8576 Rename from __libc_have_rt_sigs and leave as COMMON data.
8578 1998-02-04 11:58 Richard Henderson <rth@twiddle.rth.home>
8580 * Makeconfig (CFLAGS-.os): Kill -fno-common.
8581 * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
8583 * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
8584 * elf/rtld.map: New file. Needed to define the GLIBC_2.*
8586 * include/libc-symbols.h (symbol_version, default_symbol_version):
8587 Provide asm versions and correct !DO_VERSIONING versions.
8588 * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
8589 the weak symbol list.
8591 * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
8592 Rename from __libc_have_rt_sigs and leave as COMMON data.
8593 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8594 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8595 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8597 1998-02-04 16:41 Zack Weinberg <zack@rabi.phys.columbia.edu>
8599 * sunrpc/Makefile: Correct dependencies of rpcgen.
8601 1998-02-10 03:00 Ulrich Drepper <drepper@happy.cygnus.com>
8603 * nscd/Makefile: Fix test for available linuxthreads add-on.
8604 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8606 1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8608 * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
8610 1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8612 * sysdeps/gnu/Makefile: Respect with-cvs variable.
8614 * manual/errno.texi (Error Messages): Correct description of
8615 strerror_r. Pointed out by jonas@bagge.se.
8617 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8619 * manual/socket.texi (Host Address Functions): Clarify description
8622 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8624 * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
8625 (grantpt): Delete superfluous cast.
8627 1998-02-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8629 * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
8630 elf/ldso_install instead of elf/subdir_install.
8631 (elf/ldso_install): New target.
8633 * elf/Makefile (ldso_install): New target.
8635 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8637 * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
8640 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8642 * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
8643 constant expressions.
8645 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8647 * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
8648 for __nss_configure_lookup.
8649 (output_hostent): Remove unused variable.
8651 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8653 * string/tst-inlcall.c: Fix format string.
8655 1998-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8657 * inet/netinet/in.h: Rename second parameter of bindresvport to
8658 avoid buggy gcc warning. [PR libc/412]
8660 1998-02-04 18:04 Richard Henderson <rth@cygnus.com>
8662 * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
8663 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
8665 * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
8666 Follow POSIX and make tv_sec a time_t.
8667 * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
8668 new tv64 syscall as well as fall back to tv32.
8669 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
8670 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
8671 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
8672 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
8673 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
8674 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
8675 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
8676 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
8678 * include/rpcsvc/nis.h: New. Bounce to nis/rpcsvc.
8679 * include/rpcsvc/nis_tags.h: Likewise.
8680 * include/rpcsvc/nislib.h: Likewise.
8682 1998-02-02 01:12 Ulrich Drepper <drepper@cygnus.com>
8684 * libc.map: Add _h_errno.
8685 * inet/herrno.c: Make _h_errno weak alias.
8687 * login/Makefile (distribute): Add pty-internal.h.
8689 * nscd/Makefile (distribute): Add all the files missing.
8691 * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
8694 * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
8695 and report status at the end.
8697 * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
8699 * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
8701 * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
8702 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
8703 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
8705 1998-01-03 20:47 Mark Kettenis <kettenis@phys.uva.nl>
8707 * configure.in: Fix --enable-add-ons code.
8709 1998-02-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8711 * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
8712 by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
8715 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
8716 occurence in cache. Reported by Rudolf Leitgeb
8717 <leitgeb@leland.stanford.edu>.
8720 1998-02-01 21:18 Ulrich Drepper <drepper@cygnus.com>
8722 * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
8723 that it never is EINTR (which is tested for in _IO_vfscanf).
8725 * Makefile.in: Call sub-make with CVSOPTS.
8727 * elf/Makefile (distribute): Add dl-procinfo.h.
8729 * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
8731 1998-02-01 15:54 Ulrich Drepper <drepper@cygnus.com>
8733 * version.h (VERSION): Bump to 2.0.92.
8735 1998-01-31 Phil Blundell <philb@gnu.org>
8737 * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
8738 alias for __new_sys_siglist.
8740 1998-02-01 00:53 Ulrich Drepper <drepper@cygnus.com>
8742 * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
8743 getgrgid_r.c if thread package is available.
8744 * pwd/Makefile: Likewise.
8745 * grp/getgrnam_r.c: Remove USE_NSCD definition.
8746 * grp/getgrgid_r.c: Likewise.
8747 * pwd/getpwnam_r.c: Likewise.
8748 * pwd/getpwuid_r.c: Likewise.
8750 1998-01-31 23:46 Ulrich Drepper <drepper@cygnus.com>
8752 * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
8753 with error to allow user intervention.
8754 * nss/getXXent_r.c: Likewise.
8756 1998-01-31 21:18 Ulrich Drepper <drepper@cygnus.com>
8758 * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
8759 AT_PLATFORM string. Pretty print AT_BASE info.
8761 * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
8762 (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
8763 * sysdeps/generic/dl-procinfo.h: New file.
8764 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
8766 1998-01-31 20:52 Ulrich Drepper <drepper@cygnus.com>
8768 * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
8770 * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
8771 thread and not pthread_detach.
8773 * nscd/nscd.c: Rewrite to use argp instead of getopt.
8775 1998-01-31 Phil Blundell <philb@gnu.org>
8777 * configure.in: Add --without-cvs option to suppress automatic
8778 checkin of regenerated files.
8779 * config.make.in: Likewise.
8780 * Makefile: Respect with-cvs setting.
8781 * Makerules: Likewise.
8783 * configure.in: Allow the standalone ARM port to be configured.
8785 1998-01-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
8787 * grp/getgrgid_r.c: Define USE_NSCD.
8788 * grp/getgrnam_r.c: Likewise.
8789 * pwd/getpwuid_r.c: Likewise.
8790 * pwd/getpwnam_r.c: Likewise.
8792 * sysdeps/unix/inet/Subdirs: Add nscd subdir.
8794 * nss/getXXbyYY_r.c: Try at first nscd.
8796 * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
8797 * nscd/connections.c: New file.
8798 * nscd/dbg_log.c: New file.
8799 * nscd/dbg_log.h: New file.
8800 * nscd/grpcache.c: New file.
8801 * nscd/nscd.c: New file.
8802 * nscd/nscd.h: New file.
8803 * nscd/nscd_conf.c: New file.
8804 * nscd/nscd_stat.c: New file.
8805 * nscd/pwdcache.c: New file.
8807 * nscd/nscd_getgr_r.c: New, client code, linked into libc.
8808 * nscd/nscd_getpw_r.c: Likewise.
8809 * nscd/nscd_proto.h: New, prototypes for client functions.
8811 * nscd/nscd.conf: New, example for a configuration file.
8812 * nscd/nscd.init: New, example for a startup script.
8814 * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
8816 * nscd/getgrnam_r.c: Likewise.
8817 * nscd/getpwnam_r.c: Likewise.
8818 * nscd/getpwuid_r.c: Likewise.
8820 1998-01-31 11:44 Ulrich Drepper <drepper@cygnus.com>
8822 * intl/Makefile: Use CVSOPTS in cvs invocation.
8823 * po/Makefile: Likewise.
8824 * posix/Makefile: Likewise.
8825 * stdlib/Makefile: Likewise.
8827 1998-01-31 11:18 Ulrich Drepper <drepper@cygnus.com>
8829 * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
8831 * misc/Makefile (tests): Add tst-efgcvt.
8832 * misc/tst-efgcvt.c: New file.
8834 1998-01-31 00:21 Ulrich Drepper <drepper@cygnus.com>
8836 * posix/regex.c: Add some more cleanups by Akim Demaille.
8838 1998-01-30 23:55 Ulrich Drepper <drepper@cygnus.com>
8840 * signal/signal.h: Revert last change.
8841 * string/strsignal.c: Regard signal number NSGI as illegal.
8842 * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
8845 1998-01-30 23:37 Ulrich Drepper <drepper@cygnus.com>
8847 * Makefile.in: Add comment about CVSOPTS Makefile variable.
8848 * Makerules: Use CVSOPTS in cvs invocation.
8849 * Makefile: Likewise.
8850 * MakeTAGS: Likewise.
8851 * Make-dist: Likewise.
8853 1998-01-30 22:37 Ulrich Drepper <drepper@cygnus.com>
8855 * sysdeps/generic/memmem.c: Correct last change.
8857 1998-01-30 22:12 Ulrich Drepper <drepper@cygnus.com>
8859 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
8860 CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
8862 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
8864 * nis/ypclnt.c: Try at first to use the binding file from ypbind
8867 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8869 * manual/memory.texi (Heap Consistency Checking): mcheck is
8870 declared in <mcheck.h>.
8871 Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
8873 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8875 * sysdeps/generic/memmem.c (memmem): An empty needle is at the
8876 beginning of haystack.
8878 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8880 * nss/nss_files/files-service.c: Correct last patch.
8882 1998-01-30 21:29 Ulrich Drepper <drepper@cygnus.com>
8884 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
8885 __libc_have_rt_sigs.
8886 * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
8887 including <bits/setjmp.h>.
8888 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8889 Patch from the Debian glibc/SPARC package.
8891 1997-12-12 07:57 H.J. Lu <hjl@gnu.org>
8893 * sysdeps/alpha/bzero.S: Fix a typo.
8894 * sysdeps/alpha/htonl.S: Ditto.
8895 * sysdeps/alpha/htons.S: Ditto.
8897 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
8899 * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
8901 1998-01-30 19:58 Ulrich Drepper <drepper@cygnus.com>
8903 * include/cpio.h: Move to ...
8904 * posix/cpio.h: ...here.
8906 * locale/programs/ld-collate.c: Fix typo.
8908 * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
8910 * stdio-common/tiformat.c: Add checks for %#.0o and friends.
8912 * login/utmp_file.c (pututline_file): Don't always report success
8913 if similar entry is found. Patch by Mark M. Kettenis.
8915 1998-01-30 16:06 Philip Blundell <pb@nexus.co.uk>
8917 * manual/Makefile: Don't try to install the info files if makeinfo
8920 1998-01-30 12:05 Philip Blundell <pb@nexus.co.uk>
8922 * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
8923 kernel's network ioctls, rather than using <linux/sockios.h> to
8924 get them. This way we are sure of maintaining compatibility if
8925 the kernel interface should change.
8927 1998-01-30 15:52 Ulrich Drepper <drepper@cygnus.com>
8929 * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
8931 1998-01-25 19:54 Philip Blundell <Philip.Blundell@pobox.com>
8933 * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
8934 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
8936 1998-01-27 22:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
8938 Implement System V pseudoterminal handling.
8941 (routines): Add getpt, grantpt, unlockpt, ptsname.
8942 (libutil-routines): Remove pty. Add openpty, forkpty.
8943 (distribute): New internal header pty-internal.h.
8944 (others): Add the helper program, pt_chown.
8945 (install-others): Install it, in $(libexecdir), mode 4755.
8947 * login/pty-internal.h: New file.
8948 * login/openpty.c: New file.
8949 * login/forkpty.c: New file.
8950 * login/programs/pt_chown.c: New file.
8952 * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
8953 * stdlib/stdlib.h: Prototype them.
8955 * config.make.in: Define $(libexecdir).
8956 * Makeconfig: Define $(inst_libexecdir).
8958 * sysdeps/generic/pty.c: Removed.
8959 * sysdeps/unix/sysv/linux/pty.c: Removed.
8961 * sysdeps/generic/getpt.c: Stub out.
8962 * sysdeps/generic/grantpt.c: Likewise.
8963 * sysdeps/generic/ptsname.c: Likewise.
8964 * sysdeps/generic/unlockpt.c: Likewise.
8966 * sysdeps/unix/grantpt.c: New file.
8967 * sysdeps/unix/bsd/getpt.c: New file.
8968 * sysdeps/unix/bsd/unlockpt.c: New file.
8969 * sysdeps/unix/sysv/linux/getpt.c: New file.
8970 * sysdeps/unix/sysv/linux/ptsname.c: New file.
8971 * sysdeps/unix/sysv/linux/unlockpt.c: New file.
8973 1998-01-29 23:56 Ulrich Drepper <drepper@cygnus.com>
8975 * localedata/locales/ru_RU: Fix YESEXPR. Patch by lav@yars.free.net.
8977 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8979 * nss/Makefile (tests): Add rule for test-netdb.c.
8981 * nss/test-netdb.c: New file.
8983 1998-01-29 02:38 Ulrich Drepper <drepper@cygnus.com>
8985 * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
8986 really kept as a variable. Patch by Richard Henderson,
8987 reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
8989 * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
8990 * elf/genrtldtbl.awk: Mark machine dependent directory of generated
8991 entries as not existing.
8993 1998-01-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8995 * stdio-common/vfprintf.c (process_arg): Fix printing of octal
8996 zero in alternate form with precision of zero, which must produce
8997 "0". Add braces to avoid ambiguous `else'.
8999 1998-01-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
9001 * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
9002 problem with strncpy.
9003 * nis/nss_compat/compat-pwd.c: Likewise.
9004 * nis/nss_compat/comapt-spwd.c: Likewise.
9006 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9008 * assert/assert.h (assert_perror): Correct test for errnum. Patch
9009 by uch@nop.or.jp. [PR libc/437]
9011 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9013 * nis/nis_cache.c: Include <unistd.h> for declaration of close.
9015 1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9017 * stdio-common/test-popen.c: Include <errno.h>.
9019 * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
9022 * inet/getnetgrent_r.c: Include <errno.h>.
9024 * db2/db/db_conv.c: Include <string.h> for memcpy.
9026 * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
9027 so that memcpy is declared.
9029 * iconv/iconv_open.c: Include <stdlib.h> for alloca.
9031 * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
9033 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9035 * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
9036 overflow while reading line with fgets.
9037 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
9039 1998-01-27 00:46 Ulrich Drepper <drepper@cygnus.com>
9041 * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
9042 unsigned short, not short.
9043 Reported by Andreas Jaeger.
9045 1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9047 * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
9050 * sysdeps/generic/inttypes.h: Fix spelling.
9052 1998-01-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9054 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
9056 * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
9058 1998-01-27 00:30 Ulrich Drepper <drepper@cygnus.com>
9060 * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
9061 * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
9062 field for hh modifier.
9063 * stdio-common/vfprint.c: Use is_char field and do not depend in
9064 is_short having the value 2.
9065 Bug reported by Andreas Jaeger.
9067 1998-01-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9069 * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
9070 PIC && DO_VERSIONING.
9072 1998-01-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9074 * Rules: Add rules for $(common-objpfx)dummy$o.
9076 1998-01-26 Richard Henderson <rth@cygnus.com>
9078 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
9079 unimplemented OSF/1 definitions so that they are not accidentally seen.
9081 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
9082 of the trampoline function into the macro.
9083 * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
9084 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
9085 kernel 2.1.82 has this fixed.
9087 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
9088 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
9090 1998-01-26 Ulrich Drepper <drepper@cygnus.com>
9092 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
9093 support sigaction on kernels > 2.1.7x.
9095 1998-01-01 13:52 Ulrich Drepper <drepper@cygnus.com>
9097 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
9100 * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
9101 Patch by David Engel <david@sw.ods.com>.
9103 * configure.in: Fix another typo in --enable-add-ons code.
9105 1998-01-26 03:48 Ulrich Drepper <drepper@cygnus.com>
9107 * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
9109 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9111 * nss/nss_files/files-network.c: Correct order of parameters for
9114 1998-01-26 00:57 Ulrich Drepper <drepper@cygnus.com>
9116 * db2/Makefile (routines): Add os_alloc.
9117 * db2/db.h: Update from db-2.3.16.
9118 * db2/db_185.h: Likewise.
9119 * db2/db_int.h: Likewise.
9120 * db2/btree/bt_close.c: Likewise.
9121 * db2/btree/bt_cursor.c: Likewise.
9122 * db2/btree/bt_delete.c: Likewise.
9123 * db2/btree/bt_open.c: Likewise.
9124 * db2/btree/bt_page.c: Likewise.
9125 * db2/btree/bt_put.c: Likewise.
9126 * db2/btree/bt_rec.c: Likewise.
9127 * db2/btree/bt_recno.c: Likewise.
9128 * db2/btree/btree_auto.c: Likewise.
9129 * db2/common/db_appinit.c: Likewise.
9130 * db2/common/db_apprec.c: Likewise.
9131 * db2/common/db_err.c: Likewise.
9132 * db2/common/db_region.c: Likewise.
9133 * db2/common/db_shash.c: Likewise.
9134 * db2/db/db.c: Likewise.
9135 * db2/db/db_auto.c: Likewise.
9136 * db2/db/db_conv.c: Likewise.
9137 * db2/db/db_dispatch.c: Likewise.
9138 * db2/db/db_dup.c: Likewise.
9139 * db2/db/db_pr.c: Likewise.
9140 * db2/db/db_rec.c: Likewise.
9141 * db2/db185/db185.c: Likewise.
9142 * db2/dbm/dbm.c: Likewise.
9143 * db2/hash/hash.c: Likewise.
9144 * db2/hash/hash_auto.c: Likewise.
9145 * db2/hash/hash_dup.c: Likewise.
9146 * db2/hash/hash_page.c: Likewise.
9147 * db2/hash/hash_rec.c: Likewise.
9148 * db2/include/btree_ext.h: Likewise.
9149 * db2/include/clib_ext.h: Likewise.
9150 * db2/include/common_ext.h: Likewise.
9151 * db2/include/db.h.src: Likewise.
9152 * db2/include/db_185.h.src: Likewise.
9153 * db2/include/db_am.h: Likewise.
9154 * db2/include/db_ext.h: Likewise.
9155 * db2/include/db_int.h.src: Likewise.
9156 * db2/include/hash_ext.h: Likewise.
9157 * db2/include/lock_ext.h: Likewise.
9158 * db2/include/log.h: Likewise.
9159 * db2/include/log_auto.h: Likewise.
9160 * db2/include/log_ext.h: Likewise.
9161 * db2/include/mp.h: Likewise.
9162 * db2/include/mp_ext.h: Likewise.
9163 * db2/include/mutex_ext.h: Likewise.
9164 * db2/include/os_ext.h: Likewise.
9165 * db2/include/os_func.h: Likewise.
9166 * db2/include/txn_ext.h: Likewise.
9167 * db2/lock/lock.c: Likewise.
9168 * db2/lock/lock_util.c: Likewise.
9169 * db2/log/log.c: Likewise.
9170 * db2/log/log.src: Likewise.
9171 * db2/log/log_archive.c: Likewise.
9172 * db2/log/log_auto.c: Likewise.
9173 * db2/log/log_get.c: Likewise.
9174 * db2/log/log_put.c: Likewise.
9175 * db2/log/log_rec.c: Likewise.
9176 * db2/log/log_register.c: Likewise.
9177 * db2/mp/mp_bh.c: Likewise.
9178 * db2/mp/mp_fget.c: Likewise.
9179 * db2/mp/mp_fopen.c: Likewise.
9180 * db2/mp/mp_fput.c: Likewise.
9181 * db2/mp/mp_pr.c: Likewise.
9182 * db2/mp/mp_sync.c: Likewise.
9183 * db2/mutex/mutex.c: Likewise.
9184 * db2/os/os_alloc.c: Likewise.
9185 * db2/os/os_config.c: Likewise.
9186 * db2/os/os_stat.c: Likewise.
9187 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
9188 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
9189 * db2/progs/db_load/db_load.c: Likewise.
9190 * db2/progs/db_printlog/db_printlog.c: Likewise.
9191 * db2/progs/db_recover/db_recover.c: Likewise.
9192 * db2/progs/db_stat/db_stat.c: Likewise.
9193 * db2/txn/txn.c: Likewise.
9195 * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
9196 Unmap memory blocks in reverse order of allocation.
9197 Call munmap with load address added to offset.
9198 Bug reported by Miguel de Icaza.
9200 * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
9203 * localedata/locales/cs_CZ: Update by Michael Mraka
9204 <michael@informatics.muni.cz>.
9206 * misc/sys/syslog.h: Reformat a bit. Don't declare vsyslog unless
9209 * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
9210 reading line with fgets.
9211 * nis/nss_compat/compat-pwd.c: Likewise.
9212 * nis/nss_compat/compat-spwd.c: Likewise.
9213 * nss/nss_files/files-XXX.c: Likewise.
9214 * nss/nss_files/files-alias.c: Likewise.
9215 * shadow/fgetspent_r.c: Likewise.
9217 * string/strerror_r.c: Correct comment. Patch by Andreas Jaeger.
9219 * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
9220 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
9221 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
9223 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
9224 FP register content in ucontext_t.
9226 1998-01-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9228 * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
9229 calculation. Patch by Markus Schoder
9230 <Markus.Schoder@dresdner-bank.de>.
9232 * math/libm-test.c (modf_test): Add more tests for modf.
9234 * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
9235 munlock according to Unix98.
9237 1998-01-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9239 * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
9242 1998-01-21 07:22 H.J. Lu <hjl@gnu.org>
9244 * sysdeps/posix/ttyname.c: Handle symbolic links.
9245 * sysdeps/posix/ttyname_r.c: Ditto.
9247 1998-01-25 19:39 Ulrich Drepper <drepper@cygnus.com>
9249 * db2/makedb.c (process_input): Write terminating \0 for value.
9250 (print_database): Simply print value string, don't use length.
9252 1998-01-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9254 * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
9257 1998-01-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
9259 * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
9262 1998-01-25 14:54 Ulrich Drepper <drepper@cygnus.com>
9264 * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
9266 * signal/sighold.c: New file.
9267 * signal/sigrelse.c: New file.
9268 * sysdeps/generic/sigignore.c: New file.
9269 * sysdeps/generic/sigset.c: New file.
9270 * sysdeps/posix/sigignore.c: New file.
9271 * sysdeps/posix/sigset.c: New file.
9272 * signal/signal.h: Add prototypes for new functions.
9274 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
9275 * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
9276 * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
9277 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
9279 1998-01-23 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
9281 * posix/wordexp.c: Added IFS field-splitting in parameter and
9282 command substitution. Fixed an IFS-related bug that caused an
9285 1998-01-25 12:38 Ulrich Drepper <drepper@cygnus.com>
9287 * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
9289 * stdlib/ucontext.h: Correct prototypes.
9290 * sysdeps/generic/getcontext.c: New file.
9291 * sysdeps/generic/setcontext.c: New file.
9292 * sysdeps/generic/makecontext.c: New file.
9293 * sysdeps/generic/swapcontext.c: New file.
9294 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
9296 1998-01-25 04:07 Ulrich Drepper <drepper@cygnus.com>
9298 * resource/sys/resource.h: Remove #include of ulimit.h which is
9299 not allowed by SUSv2 and not available on other systems.
9300 * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
9302 * streams/Makefile: New file.
9303 * streams/stropts.h: New file.
9304 * sysdeps/generic/bits/stropts.h: New file.
9305 * sysdeps/generic/isastream.c: New file.
9306 * sysdeps/generic/getmsg.c: New file.
9307 * sysdeps/generic/getpmsg.c: New file.
9308 * sysdeps/generic/putmsg.c: New file.
9309 * sysdeps/generic/putpmsg.c: New file.
9310 * sysdeps/generic/fattach.c: New file.
9311 * sysdeps/generic/fdetach.c: New file.
9312 * sysdeps/unix/inet/Subdirs: Add streams.
9313 * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
9315 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9316 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9317 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9318 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9320 * sysdeps/mach/_strerror.c: Follow changes of generic version to
9321 handle small buffers correctly.
9323 1998-01-24 17:31 H.J. Lu <hjl@gnu.org>
9325 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9326 Remove the 3rd arg and add declaration for _dl_runtime_resolve
9327 and _dl_runtime_profile.
9329 1998-01-25 02:42 Ulrich Drepper <drepper@cygnus.com>
9331 * include/cpio.h: New file. Mainly copied from GNU cpio.
9332 * posix/Makefile (headers): Add cpio.h.
9334 1998-01-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
9336 * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
9338 * nis/nis_cache.c: New file.
9339 * nis/nis_cache2.h: New file.
9340 * nis/nis_cache2_xdr.c: New file.
9341 * nis/nis_call.c: Changes for cache2_info parameter.
9342 * nis/nis_checkpoint.c: Likewise.
9343 * nis/nis_intern.h: Likewise.
9344 * nis/nis_mkdir.c: Likewise.
9345 * nis/nis_ping.c: Likewise.
9346 * nis/nis_rmdir.c: Likewise.
9347 * nis/nis_server.c: Likewise.
9348 * nis/nis_util.c: Likewise.
9350 1997-12-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
9352 * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
9353 return/errnop codes.
9354 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9355 * nis/nss_nisplus/nisplus-grp.c: Likewise.
9356 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9357 * nis/nss_nisplus/nisplus-proto.c: Likewise.
9358 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9359 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9360 * nis/nss_nisplus/nisplus-rpc.c: Likewise
9361 * nis/nss_nisplus/nisplus-service.c: Likewise.
9362 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9364 1997-12-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
9366 * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
9367 * nis/nss_nis/nis-ethers.c: Likewise.
9368 * nis/nss_nis/nis-grp.c: Likewise.
9369 * nis/nss_nis/nis-hosts.c: Likewise.
9370 * nis/nss_nis/nis-network.c: Likewise.
9371 * nis/nss_nis/nis-proto.c: Likewise.
9372 * nis/nss_nis/nis-hosts.c: Likewise.
9373 * nis/nss_nis/nis-network.c: Likewise.
9374 * nis/nss_nis/nis-proto.c: Likewise.
9375 * nis/nss_nis/nis-publickey.c: Likewise.
9376 * nis/nss_nis/nis-pwd.c: Likewise.
9377 * nis/nss_nis/nis-rpc.c: Likewise.
9378 * nis/nss_nis/nis-service.c: Likewise.
9379 * nis/nss_nis/nis-spwd.c: Likewise.
9381 1998-01-24 Ulrich Drepper <drepper@cygnus.com>
9383 * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
9384 Added to follow latest kernel development.
9386 1998-01-24 15:13 Ulrich Drepper <drepper@happy.cygnus.com>
9388 * nss/db-Makefile: Handle empty and comment lines better.
9389 ($(VAR_DB)/services.db): Generate entries with missing protocol
9392 1998-01-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9394 * nss/nss_files/files-service.c (getservbyport): Allow proto ==
9396 (getservbyname): Allow proto == NULL.
9397 Pointed out by David N. Welton <davidw@gate.cks.com>.
9400 1998-01-24 11:34 Ulrich Drepper <drepper@happy.cygnus.com>
9402 * nis/nislib/nislib.h: Finally removed.
9404 * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
9405 C compiler. From Kaveh Ghazi.
9406 (TYPE_MINIMUM): Define.
9407 (TYPE_MAXIMUM): Define.
9408 (TIME_T_MIN): Use TYPE_MINIMUM.
9409 (TIME_T_MAX): Use TYPE_MAXIMUM.
9410 Patch by Jim Meyering <meyering@ascend.com>.
9412 1998-01-22 00:55 Ulrich Drepper <drepper@happy.cygnus.com>
9414 * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
9415 __pread64, __pwrite64, and __getpid.
9417 * rt/aio_misc.c: Use pread and pwrite instead of __ protected
9420 1998-01-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9422 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
9423 cancelable socket functions as __libc_xxx with __xxx as weak
9425 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
9426 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9428 * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
9430 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9431 * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
9432 * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
9433 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
9435 * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
9436 and __xxx a weak alias.
9437 * sysdeps/unix/sysv/linux/connect.S: Likewise.
9438 * sysdeps/unix/sysv/linux/recv.S: Likewise.
9439 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
9440 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
9441 * sysdeps/unix/sysv/linux/send.S: Likewise.
9442 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
9443 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
9445 1998-01-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9447 * locale/langinfo.h: Add defines.
9449 * dirent/dirent.h: Add defines for DT_*, check also for
9450 _DIRENT_HAVE_D_TYPE.
9451 Suggested by Roland McGrath.
9453 1998-01-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9455 * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
9456 Update from Linux 2.1.73+79.
9458 * README.template: Update information about possible
9461 * manual/mbyte.texi (Wide String Conversion): Fix declaration of
9462 wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
9465 * manual/time.texi (Priority): Correct description of
9466 PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
9469 11998-01-21 21:34 Ulrich Drepper <drepper@cygnus.com>
9471 * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
9472 FP_ILOGNAN. Patch by a sun <asun@zoology.washington.edu>.
9474 1998-01-21 17:53 Ulrich Drepper <drepper@cygnus.com>
9476 * sysdeps/generic/_strerror.c: Handle BUFLEN == 0. Reported by
9479 1998-01-20 18:13 Ulrich Drepper <drepper@cygnus.com>
9481 * locale/programs/ld-collate.c: Little optimizations.
9483 * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
9485 * string/Makefile (tests): Add tst-inlcall.
9486 * string/tst-inlcall.c: New file.
9488 * string/strsignal.c: Add support for real-time signals.
9490 * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
9491 presense of small buffer.
9493 * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
9495 * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
9498 * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
9501 1998-01-02 15:10 Matthias Urlichs <urlichs@noris.de>
9503 * Rules: Add explicit rule for dummy.o; at least one library needs
9504 it and it isn't autogenerated by the default rules.
9506 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9508 * math/libm-test.c: Tweak epsilons.
9510 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9512 * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
9514 (feenv_mask_test): Likewise.
9516 1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9518 * Makeconfig: Don't export CPPFLAGS.
9520 1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9522 * sunrpc/rpc_main.c (parseargs): Use perror to print error
9525 1998-01-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9527 * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
9528 terminating null in key size.
9530 1998-01-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9532 * nss/nss_files/files-service.c: Fix allocation size to include
9535 * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
9536 applicable. Fix return value and error checking.
9537 (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
9539 (DB_LOOKUP): Allocate space for terminating null byte.
9541 * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
9544 * db2/makedb.c (process_input): Continue processing if a duplicate
9547 1998-01-19 15:20 Ulrich Drepper <drepper@cygnus.com>
9549 * time/tzfile.h: Updated from tzcode1998b.
9550 * time/zdump.c: Likewise.
9551 * time/zic.c: Likewise.
9552 * time/africa: Update from tzdata1998b.
9553 * time/antarctica: Likewise.
9554 * time/asia: Likewise.
9555 * time/australasia: Likewise.
9556 * time/etcetera: Likewise.
9557 * time/europe: Likewise.
9558 * time/leapseconds: Likewise.
9559 * time/northamerica: Likewise.
9560 * time/southamerica: Likewise.
9562 1998-01-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9564 * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
9565 lookups ignoring case.
9566 * nss/nss_files/files-network.c: Do network lookups ignoring
9568 * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
9570 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
9571 case insensitive comparing.
9572 Patches by Cristian Gafton <gafton@redhat.com>.
9574 1998-01-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9576 * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines. Suggested
9577 by Roland McGrath. [PR libc/395]
9579 1998-01-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9581 * manual/arith.texi (Parsing of Integers): Correct description of
9582 strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
9585 1997-12-30 14:14 Matthias Urlichs <urlichs@noris.de>
9587 * misc/lsearch.c (lsearch): Return a pointer to the new element
9588 if one was "allocated".
9590 1997-12-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9592 * string/strsignal.c: NSIG is not a valid index into
9593 _sys_siglist. Don't zap the last character of the "Unknown
9596 1998-01-19 15:08 Ulrich Drepper <drepper@cygnus.com>
9598 * locale/programs/charmap.c (parse_charmap): Correct parsing of
9599 ellipsis expressions.
9601 * locale/programs/charset.c (insert_char): Correctly insert value
9602 of eliipsis expression.
9604 1997-12-28 15:08 Ulrich Drepper <drepper@cygnus.com>
9606 * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
9608 * sysdeps/powerpc/setjmp.S: Likewise.
9609 Patches by Matt McLean <keys@keys.got.net>.
9611 * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
9613 * Makefile: Undo last patch.
9614 (distribute): Add test-installation.pl.
9616 * configure.in: Correct handling of --enable-add-ons without parameter.
9617 Correct address of WWW pages.
9619 * libc.map: Add _nl_domain_bindings.
9621 * db2/mutex/tsl_parisc.s: New file.
9623 * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
9624 and extra-module.mk.
9626 * localedata/Makefile (distribute): New. Add all the files.
9628 * stdlib/Makefile (headers): Add inttypes.h.
9629 (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
9630 * sysdeps/generic/inttypes.h: New file.
9631 * sysdeps/generic/strtoimax.c: New file.
9632 * sysdeps/generic/strtoumax.c: New file.
9633 * sysdeps/generic/wcstoimax.c: New file.
9634 * sysdeps/generic/wcstoumax.c: New file.
9635 * sysdeps/wordsize-32/Dist: Removed.
9636 * sysdeps/wordsize-32/Makefile: Removed.
9637 * sysdeps/wordsize-64/Dist: Removed.
9638 * sysdeps/wordsize-64/Makefile: Removed.
9639 * sysdeps/generic/bits/environments.h: New file.
9641 * include/limits.h: Define MB_LEN_MAX in any case to 6. The gcc
9642 header is still not correct.
9644 * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
9645 * posix/unistd.h: Likewise.
9646 * sysdeps/generic/sys/mman.h: Likewise.
9647 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
9649 * manual/arith.texi: Change definition of mul macro.
9650 * manual/math.texi: Likewise.
9652 * misc/Makefile (routines): Add mmap64.
9653 * sysdeps/generic/mmap64.c: New file.
9654 * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
9655 * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
9656 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
9658 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9660 * sysdeps/generic/setrlimit64.c: Don't mark as stub.
9662 * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
9664 * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
9666 * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
9667 FOPEN_MAX also when included by limits.h.
9668 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
9670 * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
9671 and netrom/netrom.h.
9672 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
9673 oldsiglist to sysdep_routines, not aux.
9674 [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
9676 * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
9677 and SOL_NETROM definition.
9679 * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
9681 * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
9682 * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
9684 1997-12-25 Ulrich Drepper <drepper@cygnus.com>
9686 * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
9688 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
9689 sa_handler with k_sa_handler.
9690 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
9694 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
9695 __libc_have_rt_sigs here.
9696 * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
9697 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9698 * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
9699 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9701 1997-12-11 07:51 Geoff Keating <geoffk@ozemail.com.au>
9703 * sysdeps/powerpc/atomicity.h: New file.
9704 * sysdeps/mach/powerpc/machine-lock.h: New file.
9706 * Rules: Use -fpic to build anything that might end up in a users'
9709 * sysdeps/powerpc/s_fdim.c: New file.
9710 * sysdeps/powerpc/s_fdimf.c: New file.
9711 * sysdeps/powerpc/s_fmax.S: New file.
9712 * sysdeps/powerpc/s_fmaxf.S: New file.
9713 * sysdeps/powerpc/s_fmin.S: New file.
9714 * sysdeps/powerpc/s_fminf.S: New file.
9715 * sysdeps/powerpc/s_llrint.c: Now is for double.
9716 * sysdeps/powerpc/s_llrintf.c: New file.
9717 * sysdeps/powerpc/s_llround.c: Now is for double.
9718 * sysdeps/powerpc/s_llroundf.c: New file.
9719 * sysdeps/powerpc/s_lrint.c: Now is for double.
9720 * sysdeps/powerpc/s_lrintf.S: New file.
9721 * sysdeps/powerpc/s_lround.c: Now is for double.
9722 * sysdeps/powerpc/s_lroundf.c: New file.
9723 * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
9724 lrintf, fdim, fdimf.
9726 * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
9727 file directly, use its parent.
9729 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
9730 (for the third time).
9732 1997-12-20 13:50 Richard Henderson <rth@cygnus.com>
9734 * posix/sched.h: timespec is in <time.h>.
9736 * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
9738 1997-12-22 18:10 Ulrich Drepper <drepper@cygnus.com>
9740 * configure.in: Stop with error if --disable-static is used when
9741 the shared lib uses this library.
9743 * gen-FAQ.pl: I've perl installed in /usr/bin.
9745 * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
9747 Fix Unix98 conformance problems in the headers.
9748 * catgets/nl_types.h: Define nl_item.
9749 * grp/grp.h: Define gid_t.
9750 * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
9751 * include/nl_types.h: New file.
9752 * include/ulimit.h: New file.
9753 * io/fcntl.h: Include sys/stat.h for Unix98. Don't define locking
9754 constants in POSIX mode.
9755 * io/utime.h: Get definition for time_t.
9756 * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
9757 uid_t, pid_t. Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
9758 * libio/stdio.h: Define va_list. Make snprintf also available is
9759 __USE_UNIX98. Declare getopt function and variables.
9760 * locale/langinfo.h: Include nl_types.h. Don't define nl_item.
9761 Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
9762 * math/math.h: Defined M_* constants as double for Unix98 mode.
9763 * posix/fnmatch.h: Pretty print. Define FNM_NOSYS.
9764 * posix/glob.h: Pretty print. Define GLOB_NOSYS.
9765 * posix/regex.h: Define REG_NOSYS.
9766 * posix/wordexp.h: Define WRDE_NOSYS.
9767 * posix/unistd.h: Define _POSIX2_VERSION. Define _XOPEN_VERSION to
9769 * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
9770 somewhere else as well. Define clock_t for Unix98.
9771 * posix/sys/wait.h: Define pid_t.
9772 * pwd/pwd.h: Define gid_t, uid_t.
9773 * resource/Makefile (headers): Add ulimit.h.
9774 * resource/ulimit.h: New file.
9775 * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
9776 instead of second argument.
9777 * sysdeps/unix/bsd/ulimit.c: Likewise. Use UL_* constants.
9778 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
9779 * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
9780 * signal/signal.h: Define pid_t.
9781 * string/string.h: Don't declare BSD string functions in POSIX mode.
9782 * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE. Add
9783 _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
9784 * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
9787 * inet/test_ifindex.c: Change test so that it does not fail for
9790 * locale/programs/locale.c (show_info): Use correct cast sequence
9793 * malloc/malloc.c: __malloc_initialized now signals three states:
9794 uninitialized, initializing, initialized. Used in mcheck.
9795 * malloc/mcheck.c (mabort): Add '\n' to messages.
9796 (mcheck): Allow installation when malloc is uninitialized or is
9799 * manual/memory.texi: Explain mtrace output a bit more.
9801 * math/libm-test.c: Add more epsilons.
9803 * misc/regexp.h (compile): Remove __ prefix from parameter names.
9805 * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
9806 instead of strcpy for security.
9807 * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
9808 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
9809 * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
9811 * nss/digits_dots.c: Pretty print.
9813 * posix/getconf.c (vars): Add symbols for programming environment
9814 recognition. Recognize --version.
9816 * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
9817 _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
9818 * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
9820 * sysdeps/generic/bits/stdio_lim.h: Implement handling of
9822 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
9823 * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
9826 * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
9827 * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
9829 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
9830 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9831 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9832 * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
9833 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9834 * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
9836 * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
9838 * sysdeps/wordsize-64/inttypes.h: Likewise.
9840 * time/africa: Update from tzdata1997j.
9841 * time/antarctica: Likewise.
9842 * time/asia: Likewise.
9843 * time/australasia: Likewise.
9844 * time/backward: Likewise.
9845 * time/etcetera: Likewise.
9846 * time/europe: Likewise.
9847 * time/factory: Likewise.
9848 * time/northamerica: Likewise.
9849 * time/pacificnew: Likewise.
9850 * time/southamerica: Likewise.
9852 * time/tzfile.h: Update from tzcode1997h.
9853 * time/zic.c: Likewise.
9855 * wcsmbs/wchar.h: Get definition of FILE. Define `struct tm' tag.
9856 Declare wcwidth and wcswidth for __USE_XOPEN. Declare the
9857 isw*() functions for Unix98.
9858 * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
9859 * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
9862 1997-12-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9864 * locale/duplocale.c: Increase usage_count only if less than
9866 * locale/freelocale.c: Test usage_count against UNDELETABLE, not
9868 * locale/setlocale.c: Likewise.
9870 1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9872 * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
9873 dependency to make it easier to install it selectively.
9875 * Makerules (.SUFFIXES): Don't define any suffixes.
9877 1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9879 * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
9880 * sysdeps/generic/statfs64.c: Emulate using statfs.
9881 * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
9882 * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
9883 * sysdpes/generic/ftruncate64.c: New file.
9884 * sysdpes/generic/truncate64.c: New file.
9886 * sysdeps/generic/bits/stat.h: Add LFS support.
9887 * sysdeps/generic/bits/statfs.h: Likewise.
9889 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
9890 [__USE_FILE_OFFSET64]: Make long long constant.
9891 (RLIM64_INFINITY): Likewise.
9893 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
9895 (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
9896 * sysdeps/generic/bits/resource.h: Likewise.
9898 * misc/Makefile (routines): Add truncate64 and ftruncate64.
9900 * include/features.h: Don't prevent LFS support from defining BSD
9903 * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
9904 * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
9905 * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
9907 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
9908 fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
9909 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9911 * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
9912 * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
9913 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
9914 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
9915 * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
9916 * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
9917 * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
9918 * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
9919 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
9920 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
9921 * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
9922 * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
9923 * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
9924 * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
9925 * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
9926 * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
9927 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
9928 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
9929 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
9930 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
9932 * sysdeps/unix/sysv/linux/fxstat64.c: New file.
9933 * sysdeps/unix/sysv/linux/lxstat64.c: New file.
9934 * sysdeps/unix/sysv/linux/xstat64.c: New file.
9935 * sysdeps/unix/sysv/linux/readdir64.c: New file.
9936 * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
9938 * sysdeps/unix/sysv/linux/getdents64.c: New file.
9939 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
9940 [$(subdir)=dirent]: Add getdents64.
9941 * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
9943 * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
9945 1997-12-18 12:07 Philip Blundell <pb@nexus.co.uk>
9947 * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
9949 * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
9950 * sysdeps/generic/getrlimit64.c: Likewise.
9951 * sysdeps/generic/setrlimit.c: Likewise.
9952 * sysdeps/generic/setrlimit64.c: Likewise.
9954 1997-12-17 13:57 Philip Blundell <pb@nexus.co.uk>
9956 * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
9959 * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
9961 * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
9963 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9965 * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
9966 after the codeset name.
9968 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9970 * libc.map: Add get_kernel_syms.
9972 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9974 * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
9976 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
9977 Likewise. Fix condition.
9979 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9981 * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
9983 1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9985 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
9986 Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
9988 1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9990 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
9991 * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
9994 1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9996 * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
9998 1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10000 * math/libm-test.c (catanh_test): Change epsilon.
10001 Reported by H.J. Lu.
10003 1997-12-14 19:39 H.J. Lu <hjl@gnu.org>
10005 * libc.map (__getpid): Added for linuxthreads.
10007 1997-12-13 21:09 H.J. Lu <hjl@gnu.org>
10009 * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
10010 it if gcc uses static variable in DWARF2 unwind information
10011 for exception support.
10013 * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
10015 * elf/soinit.c (__libc_global_ctors, _fini): Handle
10016 HAVE_DWARF2_UNWIND_INFO_STATIC.
10018 * libc.map (__register_frame*, __deregister_frame*): Make them
10021 1997-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10023 * math/libm-test.c: Add more tests for "normal" values.
10025 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10027 * stdio-common/printf_fphex.c: Fix printing of long double number
10028 with a biased exponent of zero. Fix rounding.
10030 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10032 * sunrpc/rpc_main.c: Accept new flag -$.
10033 * sunrpc/Makefile (rpcgen-cmd): Pass it here.
10035 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10037 * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
10038 dynamic linker first, in case the interface has changed.
10040 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10042 * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
10045 1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10047 * math/tgmath.h: Check for double first, for architectures where
10048 sizeof (long double) == sizeof (double).
10050 1997-12-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10052 * math/libm-test.c: New tests for "normal" values added for most
10055 1997-12-14 21:33 Ulrich Drepper <drepper@cygnus.com>
10057 * version.h (VERSION): Bump to 2.0.91.
10059 * db2/makedb.c (process_input): Fix typo in message.
10060 * sunrpc/rpcinfo.c (pmapdump): Unify messages.
10062 * elf/dynamic-link.h: Pretty print.
10064 * elf/rtld.c: Allow multiple preloading of a shared object.
10066 * include/limits.h: Prevent multiple inclusion.
10068 * malloc/Makefile (headers): Add mcheck.h.
10069 (distribute): Remove it here.
10070 * malloc/mcheck.h: Pretty print.
10071 * malloc/mtrace.c (mallenv): Make `const'.
10072 * malloc/mtrace.pl: Don't print table head for memory leaks if there
10074 * manual/memory.texi: Update descriptor of malloc hooks.
10076 * posix/Makefile (routines): Add waitid.
10077 * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
10079 * posix/sys/wait.h: Define idtype_t type.
10080 Add prototype for waitid.
10081 * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
10082 * sysdeps/generic/waitid.c: Stub for waitid.
10083 * sysdeps/generic/bits/siginfo.h: Define sigval_t. Arrange to work
10084 the __need_siginfo_t defined.
10085 * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
10086 * sysdeps/generic/bits/types.h: Define __id_t.
10087 Correct definition of __FDMASK.
10088 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10089 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10090 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
10092 * sysdeps/posix/waitid.c: New file.
10093 Provided by Zack Weinberg.
10095 * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
10097 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10098 Add missing parameters.
10100 * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
10101 * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
10102 * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
10103 * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
10106 * sysdeps/i386/dl-machine.h: Little cleanup.
10108 * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
10109 (__finite): Mark function as const.
10110 Add inline code for __ieee754_atan2.
10112 * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
10113 (but don't use it now).
10114 * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
10116 * sysdeps/libm-ieee754/s_catanf.c: Likewise.
10117 * sysdeps/libm-ieee754/s_catanl.c: Likewise.
10118 * sysdeps/libm-ieee754/s_catanh.c: Likewise. Correct sign of
10120 * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
10121 * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
10122 * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
10123 __ieee754_atan2 to base 10.
10124 * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
10125 * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
10127 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
10128 old_kernel_sigaction.
10130 * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
10132 * wctype/Makefile (routines): Add wctype_l.
10133 * wctype/wctype.h: Add declaration of __wctype_l.
10134 * wctype/wctype_l.c: New file.
10136 1997-12-10 00:38 Ulrich Drepper <drepper@cygnus.com>
10138 * locale/C-ctype.c: Correct data for isw* functions.
10139 * locale/programs/ld-ctype.c: Write 32bit char classes in correct
10141 * wctype/test_wctype.c: Add test for isw* functions.
10142 * wctype/wctype.c: Return value with expected byte order.
10144 1997-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
10146 * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
10148 1997-12-05 20:19 H.J. Lu <hjl@gnu.org>
10150 * iconvdata/Makefile: Fix a typo.
10152 * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
10153 oldsiglist for shared library.
10155 * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
10156 sys_sigabbrev): Make them as the default version GLIBC_2.1.
10158 * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
10159 sys_siglist, sys_sigabbrev): New file. Make them as the old
10162 * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
10165 1997-11-20 18:02 H.J. Lu <hjl@gnu.ai.mit.edu>
10167 * libio/iofgets.c (_IO_fgets): Return an error only if there
10169 * libio/iogets.c (_IO_gets): Ditto.
10171 1997-11-20 07:26 H.J. Lu <hjl@gnu.ai.mit.edu>
10173 * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
10175 * libio/Makefile (routines, shared-only-routines): Add
10178 * libio/fileops.c: Don't use _IO_FILE_complete.
10179 * libio/iofdopen.c: Ditto.
10180 * libio/iofopen.c: Ditto.
10181 * libio/iofopen64.c: Ditto.
10182 * libio/iopopen.c: Ditto.
10183 * libio/iovdprintf.c: Ditto.
10185 * libio/genops.c (_IO_init): Set _vtable_offset to 0.
10187 * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
10188 and make it for _IO_fdopen/fdopen version GLIBC_2.1.
10190 * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
10191 _IO_old_fdopen, _IO_new_fdopen): New declaration.
10193 * libio/libio.h (_IO_FILE): Add more fields.
10194 (_IO_FILE_complete): Defined and make _IO_FILE be the old
10195 one if _IO_USE_OLD_IO_FILE is defined
10196 (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
10197 them _IO_FILE_complete.
10199 * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
10201 (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
10203 (_IO_FILE_complete): Commented out.
10205 * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
10206 * libio/oldiofclose.c: Ditto.
10207 * libio/oldiofopen.c: Ditto.
10208 * libio/oldstdfiles.c: Ditto.
10210 * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
10211 for the old _IO_FILE.
10213 * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
10214 (_IO_check_libio): Set _vtable_offset for old stdin, stdout
10217 * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
10220 * libio/stdio.c (stdin, stdout, stdin): Don't use
10223 * libio/oldiofdopen.c: New.
10225 * stdio-common/vfprintf.c (buffered_vfprintf): Set
10226 hp->_vtable_offset to 0.
10228 1997-11-18 08:03 H.J. Lu <hjl@gnu.ai.mit.edu>
10230 * libc.map (_IO_file_open): Added.
10232 * libio/libioP.h (_IO_file_open): Declared.
10234 * libio/fileops.c (_IO_file_open): New.
10235 (_IO_file_fopen): Call _IO_file_open ().
10237 * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
10238 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
10240 1997-12-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10242 * signal/signal.h: Fix selection of signal semantics to match
10245 1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10247 * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
10248 * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
10250 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
10251 [$(subdir)=signal]: Remove rt_sigreturn.
10252 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
10253 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
10254 * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
10256 1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10258 * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>. Fix
10261 1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10263 * iconvdata/extra-module.mk: Expand extra-objs now.
10265 1997-12-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10267 * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
10268 inline functions by feature tests to avoid warning about missing
10269 prototype declarations.
10271 1997-12-09 15:08 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
10273 * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
10274 return code for non existent +name entries.
10275 * nis/nss_compat/compat-pwd.c: Likewise.
10276 * nis/nss_compat/compat-spwd.c: Likewise.
10278 1997-12-10 13:52 Philip Blundell <pb@nexus.co.uk>
10280 * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
10282 (ENOSPC): Likewise.
10283 (EEXIST): Likewise.
10284 (__errno_location): Likewise.
10286 * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
10288 * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
10290 1997-12-09 08:10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
10292 * sunrpc/publickey.c: Use new NSS interface.
10294 1997-12-09 03:08 Ulrich Drepper <drepper@cygnus.com>
10296 * manual/malloc.texi: Document mtrace/muntrace and the concept.
10298 1997-12-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10300 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
10301 value, to match spirit of the standard.
10302 * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
10303 * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
10304 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
10306 1997-12-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10308 * manual/signal.texi (Signal Stack): Remove spurious @item.
10310 1997-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10312 * rt/aio.h: Remove double semicolon.
10314 * rt/librt.map: Add aio_init.
10316 1997-12-08 03:24 Ulrich Drepper <drepper@cygnus.com>
10318 * Makeconfig: Define $(rt) to rt if linuxthreads is available.
10319 * Makefile (subdirs): Replace rt by $(rt).
10321 * shlib-versions: Use version .2 for NSS modules.
10323 * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
10325 * pwd/fgetpwent_r.c: Likewise.
10326 * spwd/fgetspent_r.c: Likewise.
10327 * spwd/sgetspent_r.c: Likewise.
10328 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
10329 Store error number in *ERRNOP. Little optimization.
10330 * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
10331 * hesiod/nss_hesiod/hesiod-service.c: Likewise.
10332 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
10333 (__internal_getnetgrent_r): New argument.
10334 Call __internal_setnetgrent_reuse with new argument.
10335 (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
10336 * inet/netgroup.h: Add argument to prototypes.
10337 * nis/nisplus-parser.h: Likewise.
10338 * nis/nss_compat/compat-grp.c: Change everything to store error
10339 code through provided pointer and not use errno.
10340 * nis/nss_compat/compat-pwd.c: Likewise.
10341 * nis/nss_compat/compat-spwd.c: Likewise.
10342 * nis/nss_nis/nis-alias.c: Likewise.
10343 * nis/nss_nis/nis-ethers.c: Likewise.
10344 * nis/nss_nis/nis-grp.c: Likewise.
10345 * nis/nss_nis/nis-hosts.c: Likewise.
10346 * nis/nss_nis/nis-netgrp.c: Likewise.
10347 * nis/nss_nis/nis-network.c: Likewise.
10348 * nis/nss_nis/nis-proto.c: Likewise.
10349 * nis/nss_nis/nis-publickey.c: Likewise.
10350 * nis/nss_nis/nis-pwd.c: Likewise.
10351 * nis/nss_nis/nis-rpc.c: Likewise.
10352 * nis/nss_nis/nis-service.c: Likewise.
10353 * nis/nss_nis/nis-spwd.c: Likewise.
10354 * nis/nss_nisplus/nisplus-alias.c: Likewise.
10355 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10356 * nis/nss_nisplus/nisplus-grp.c: Likewise.
10357 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10358 * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
10359 * nis/nss_nisplus/nisplus-network.c: Likewise.
10360 * nis/nss_nisplus/nisplus-parser.c: Likewise.
10361 * nis/nss_nisplus/nisplus-proto.c: Likewise.
10362 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
10363 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10364 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
10365 * nis/nss_nisplus/nisplus-service.c: Likewise.
10366 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10367 * nss/nss_db/db-XXX.c: Likewise.
10368 * nss/nss_db/db-alias.c: Likewise.
10369 * nss/nss_db/db-netgrp.c: Likewise.
10370 * nss/nss_files/files-XXX.c: Likewise
10371 * nss/nss_files/files-alias.c: Likewise
10372 * nss/nss_files/files-netgrp.c: Likewise
10373 * nss/nss_files/files-parse.c: Likewise
10374 * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
10375 parameter of get functions.
10376 * nss/getXXent_r.c: Likewise.
10378 * localedata/tst-fmon.c: Print debug info if test fails.
10380 * rt/Makefile (routines): Add aio_notify.
10381 * rt/aio.h: Remove non-public definitions. Add aioinit stuff.
10382 * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
10383 * rt/aio_fsync.c: Likewise.
10384 * rt/aio_misc.c: Likewise.
10385 * rt/aio_misc.h: Likewise.
10386 * rt/aio_read.c: Likewise.
10387 * rt/aio_read64.c: Likewise.
10388 * rt/aio_suspend.c: Likewise.
10389 * rt/aio_write.c: Likewise.
10390 * rt/aio_write64.c: Likewise.
10391 * rt/lio_listio.c: Likewise.
10392 * rt/lio_listio64.c: Likewise.
10393 * rt/aio_notify.c: New file.
10395 * sysdeps/generic/bits/sigset.h: Pretty print.
10397 * sysdeps/posix/pwrite.c: Define weak alias only if function is
10398 really defined as __pwrite.
10400 * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
10401 instead of pread64.
10402 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10404 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
10405 (sysdep_routines): Add rt_sigpending and rt_sigreturn.
10406 * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
10408 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10409 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10410 * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
10411 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10412 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
10413 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
10414 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. Take care
10415 for ACT being NULL.
10416 * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
10418 * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
10419 __NR_pread is not defined.
10420 * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
10421 __NR_pwrite is not defined.
10423 1997-12-07 11:15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
10425 * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
10426 handle for /etc/group back in some more cases.
10427 * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
10428 handle for /etc/passwd back in some more cases.
10429 * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
10430 handle for /etc/shadow back in some more cases.
10432 1997-12-06 17:00 H.J. Lu <hjl@gnu.org>
10434 * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
10436 * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
10437 * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
10439 1997-12-06 04:38 Ulrich Drepper <drepper@cygnus.com>
10441 * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
10442 handling. Don't use macros, we need functions. Use inline functions
10444 * sysdeps/wordsize-64/inttypes.h: Likewise.
10445 * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
10447 * sysdeps/wordsize-64/Makefile: Likewise.
10448 * sysdeps/wordsize-32/Dist: Likewise.
10449 * sysdeps/wordsize-64/Dist: Likewise.
10450 * sysdeps/wordsize-32/strtoimax.c: New file.
10451 * sysdeps/wordsize-32/strtoumax.c: New file.
10452 * sysdeps/wordsize-32/wcstoimax.c: New file.
10453 * sysdeps/wordsize-32/wcstoumax.c: New file.
10454 * sysdeps/wordsize-64/strtoimax.c: New file.
10455 * sysdeps/wordsize-64/strtoumax.c: New file.
10456 * sysdeps/wordsize-64/wcstoimax.c: New file.
10457 * sysdeps/wordsize-64/wcstoumax.c: New file.
10459 1997-12-04 10:40 Philip Blundell <pb@nexus.co.uk>
10461 * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
10462 that transparent union works.
10463 * sysdeps/generic/wait4.c (__wait4): Likewise.
10464 * sysdeps/generic/wait.c (__wait): Likewise.
10466 * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
10469 * sysdeps/generic/syscall.c (syscall): Return value and arg are
10470 long, to match prototype.
10472 * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
10475 * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
10477 * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
10479 * sysdeps/generic/bits/time.h: Use __time_t not time_t.
10481 * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
10484 * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
10486 * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
10488 * io/sys/stat.h (S_ISLNK): Always false if we don't have
10491 * sysdeps/standalone/close.c (_STDIO_H): Define before including
10492 <bits/stdio_lim.h>.
10493 * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
10495 1997-12-06 01:09 Ulrich Drepper <drepper@cygnus.com>
10497 * posix/sys/wait.h: Don't use transparent unions in C++.
10499 1997-12-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10501 * time/time.h: Add strfxtime.
10503 * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
10504 sysv_signal, strfxtime, pread64, pwrite64.
10506 1997-11-30 21:57 Richard Henderson <rth@cygnus.com>
10508 Alpha changes for EGCS:
10509 * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
10510 * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
10511 * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
10512 (_start): Likewise.
10513 * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
10515 1997-12-05 00:01 Ulrich Drepper <drepper@cygnus.com>
10517 The kernel expects the arguments in a different order.
10518 * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
10519 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
10521 * FAQ.in: New file.
10522 * gen-FAQ.pl: New file.
10523 * Makefile (FAQ): Add rule to generate from FAQ.in.
10525 * iconvdata/Makefile: Treat libJIS like the other modules.
10527 * rt/librt.map: New file.
10529 * sysdeps/wordsize-32/bits/environments.h: Add test for direct
10531 * sysdeps/wordsize-64/bits/environments.h: Likewise. Correct
10534 1997-12-04 22:29 Ulrich Drepper <drepper@cygnus.com>
10536 * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
10537 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
10538 * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
10539 Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
10541 1997-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10543 * string/bits/string2.h: Fix spellings.
10545 * string/string.h: Fix spellings.
10547 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10549 * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
10550 declaration to __syscall_rt_sigaction.
10552 * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
10553 non-existant <sigcontext.h>.
10555 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10557 * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
10560 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10562 * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
10564 * Makeconfig (shared-thread-library): Correct spelling.
10566 * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
10569 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10571 * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
10572 constants from Linux headers. Pointed out by
10573 csmall@scooter.o.i.net. [PR libc/369]
10575 1997-12-04 10:21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
10577 * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
10579 1997-12-04 00:06 Zack Weinberg <zack@rabi.phys.columbia.edu>
10581 * configure.in: If --enable-add-ons is given without an
10582 argument, set the addons list to all subdirs with a configure
10585 1997-12-03 23:50 Ulrich Drepper <drepper@cygnus.com>
10587 * Makeconfig: Add shared-thread-library variable.
10589 * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
10590 * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
10592 * sysdeps/m68k/fpu/e_acos.c: Likewise.
10593 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
10594 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
10595 * sysdeps/m68k/fpu/e_pow.c: Likewise.
10596 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
10597 * sysdeps/m68k/fpu/k_cos.c: Likewise.
10598 * sysdeps/m68k/fpu/k_sin.c: Likewise.
10599 * sysdeps/m68k/fpu/k_tan.c: Likewise.
10600 * sysdeps/m68k/fpu/s_atan.c: Likewise.
10601 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
10602 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
10603 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
10604 * sysdeps/m68k/fpu/s_csin.c: Likewise.
10605 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
10606 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
10607 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
10608 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
10609 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
10610 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
10611 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
10612 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
10613 * sysdeps/m68k/fpu/s_modf.c: Likewise.
10614 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
10615 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
10616 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
10618 * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
10619 __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
10620 * signal/Makefile (headers): Add bits/siginfo.h.
10621 (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
10622 (distribute): Add testrtsig.h.
10623 * signal/allocrtsig.c: New file.
10624 * signal/signal.h: Define `union sigval'. Include <bits/siginfo.h>.
10625 Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
10626 __libc_current_sigrtmax.
10627 * sysdeps/generic/sigqueue.c: New file.
10628 * sysdeps/generic/sigtimedwait.c: New file.
10629 * sysdeps/generic/sigwaitinfo.c: New file.
10630 * sysdeps/generic/testrtsig.h: New file.
10631 * sysdeps/generic/bits/siginfo.h: New file.
10632 * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
10633 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
10634 old_kernel_sigaction and rename sa_handler member to k_sa_handler.
10635 * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
10636 * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
10637 * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
10638 * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
10639 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
10640 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
10641 * sysdeps/unix/sysv/linux/sigpending.c: New file.
10642 * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
10643 * sysdeps/unix/sysv/linux/sigqueue.c: New file.
10644 * sysdeps/unix/sysv/linux/sigreturn.c: New file.
10645 * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
10646 * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
10647 * sysdeps/unix/sysv/linux/testrtsig.h: New file.
10648 * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
10649 * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
10650 * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
10651 * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
10652 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
10653 and _POSIX_REALTIME_SIGNALS.
10654 * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
10655 * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
10657 * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
10658 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
10661 * Makefile (subdirs): Add rt.
10662 * shlib-versions: Add entry for librt.
10663 * rt/Makefile: New file.
10664 * rt/aio.h: New file.
10665 * rt/aio_cancel.c: New file.
10666 * rt/aio_error.c: New file.
10667 * rt/aio_fsync.c: New file.
10668 * rt/aio_misc.c: New file.
10669 * rt/aio_misc.h: New file.
10670 * rt/aio_read.c: New file.
10671 * rt/aio_read64.c: New file.
10672 * rt/aio_return.c: New file.
10673 * rt/aio_suspend.c: New file.
10674 * rt/aio_write.c: New file.
10675 * rt/aio_write64.c: New file.
10676 * rt/lio_listio.c: New file.
10677 * rt/lio_listio64.c: New file.
10678 * sysdeps/generic/aio_sigqueue.c: New file.
10679 * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
10680 * sysdeps/unix/sysv/linux/Dist: Add new files
10681 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
10682 (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
10683 rt_sigqueueinfo, rt_sigaction.
10685 * posix/Makefile (headers): Add bits/environments.h.
10686 * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
10687 and _CS_LFS_CFLAGS on 64bit platforms.
10688 * posix/unistd.h: Define _XOPEN_LEGACY. Explain _XOPEN_REALTIME
10689 and _XOPEN_REALTIME_THREADS. Include bits/environments.h.
10690 * sysdeps/generic/bits/confname.h: Define _SC_* constants for
10691 compilation modules.
10692 * sysdeps/wordsize-32/bits/environments.h: New file.
10693 * sysdeps/wordsize-64/bits/environments.h: New file.
10695 * posix/getopt.c: Remove declaration of getpid and __libc_pid.
10696 * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
10698 * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
10701 * string/string.h: Add declaration of __strverscmp.
10702 * string/strverscmp.c: Rename function ot __strverscmp and make old
10705 * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
10706 * sysdeps/generic/enbl-secure.c: Likewise.
10707 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10709 * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
10711 * sysdeps/unix/sysv/linux/sys/pci.h: New file.
10713 1997-12-03 Ulrich Drepper <drepper@cygnus.com>
10715 * posix/sys/wait.h: Use __transparent_union__ instead of
10716 transparent_union. Reported by Roland McGrath.
10718 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10720 * resolv/inet_neta.c (inet_neta): Change type of first parameter
10721 to u_int32_t. Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
10724 * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
10726 * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
10728 1997-12-03 20:40 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
10730 * grp/initgroups.c: Increase buffer if it is too small.
10732 1997-12-03 Ulrich Drepper <drepper@cygnus.com>
10734 * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
10735 fields, this is no ISO C. Reported by Andreas Jaeger.
10737 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10739 * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
10741 1997-12-03 08:58 Philip Blundell <pb@nexus.co.uk>
10743 * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
10744 _SYS_UTSNAME_H not _UTSNAME_H.
10746 1997-11-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10748 * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
10751 1997-11-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10753 * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
10754 * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
10755 * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
10757 * math/libm-test.c (csqrt_test): Add testcase.
10759 1997-12-03 15:44 Ulrich Drepper <drepper@cygnus.com>
10761 * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
10762 * sysdeps/unix/sysv/linux/sys/Dist: Add it.
10763 * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
10765 1997-11-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10767 * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
10769 1997-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10771 * math/libm-test.c (acos_test): Add more tests.
10772 (asin_test): Likewise.
10773 (atan_test): Likewise.
10774 (exp_test): Likewise.
10775 (sin_test): Likewise.
10776 (sqrt_test): Likewise.
10777 (cpow_test): Likewise.
10778 (csqrt_test): Likewise.
10779 (cexp_test): Correct typo in gcc version test.
10781 1997-12-02 17:14 Philip Blundell <pb@nexus.co.uk>
10783 * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
10785 * sysdeps/arm/setjmp.S: Likewise.
10787 * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
10789 1997-12-02 18:07 Philip Blundell <pb@nexus.co.uk>
10791 * stdio/stdio.h: Add prototype for tmpfile64().
10793 1997-12-02 17:47 Philip Blundell <pb@nexus.co.uk>
10795 * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
10796 prototype to keep in step with libio version.
10798 * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
10800 1997-12-02 17:41 Philip Blundell <pb@nexus.co.uk>
10802 * sysdeps/generic/Makefile: Don't try to use make_siglist if
10805 1997-12-02 01:18 Ulrich Drepper <drepper@cygnus.com>
10807 * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
10808 load GOT ptr before jumping to _exit.
10809 Reported by Xavier Leroy.
10811 1997-12-01 17:27 Ulrich Drepper <drepper@cygnus.com>
10813 * Makefile (subdirs): Add iconvdata and localedata.
10815 * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
10817 * iconv/gconv_conf.c (read_conf_file): Little optimization.
10819 * iconvdata/8bit-gap.c: New file.
10820 * iconvdata/8bit-generic.c: Renamed from ...
10821 * iconvdata/iso8859-generic.c: ...this.
10822 * iconvdata/configure: Removed.
10823 * iconvdata/Makefile: Add new modules and better rules.
10824 * iconvdata/iso6937.c: Minor bug fixes.
10825 * iconvdata/iso8859-1.c: Likewise.
10826 * iconvdata/t61.c: Likewise.
10827 * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
10829 * iconvdata/iso8859-3.c: Likewise.
10830 * iconvdata/iso8859-4.c: Likewise.
10831 * iconvdata/iso8859-5.c: Likewise.
10832 * iconvdata/iso8859-6.c: Likewise.
10833 * iconvdata/iso8859-7.c: Likewise.
10834 * iconvdata/iso8859-8.c: Likewise.
10835 * iconvdata/iso8859-9.c: Likewise.
10836 * iconvdata/iso8859-10.c: Likewise.
10837 * iconvdata/ebcdic-at-de-a.c: New file.
10838 * iconvdata/ebcdic-at-de.c: New file.
10839 * iconvdata/ebcdic-ca-fr.c: New file.
10840 * iconvdata/hp-roman8.c: New file.
10841 * iconvdata/koi-8.c: New file.
10842 * iconvdata/koi8-r.c: New file.
10843 * iconvdata/koi8-h.c: New file.
10844 * iconvdata/latin-greek-1.c: New file.
10845 * iconvdata/latin-greek-1.h: New file.
10846 * iconvdata/latin-greek.c: New file.
10847 * iconvdata/latin-greek.h: New file.
10848 * iconvdata/jis0201.c: New file.
10849 * iconvdata/jis0201.h: New file.
10850 * iconvdata/jis0208.c: New file.
10851 * iconvdata/jis0208.h: New file.
10852 * iconvdata/jis0212.c: New file.
10853 * iconvdata/jis0212.h: New file.
10854 * iconvdata/sjis.c: New file.
10855 * iconvdata/gap.pl: New file. Script to generate table header.
10856 * iconvdata/gaptab.pl: New file.
10857 * iconvdata/gconv-modules: Add info about new modules.
10859 * locale/programs/charmap.c: Also examine alias names given in charmap
10862 * localedata/*: Add to here from add-on. We need the information
10863 to generate tables for iconv.
10865 Update from db-2.3.14.
10866 * db2/Makefile: Updated.
10867 * db2/config.h: Likewise.
10868 * db2/db.h: Likewise.
10869 * db2/db_int.h: Likewise.
10870 * db2/btree/bt_cursor.c: Likewise.
10871 * db2/btree/bt_delete.c: Likewise.
10872 * db2/btree/bt_put.c: Likewise.
10873 * db2/btree/bt_search.c: Likewise.
10874 * db2/btree/bt_split.c: Likewise.
10875 * db2/btree/btree_auto.c: Likewise.
10876 * db2/common/db_appinit.c: Likewise.
10877 * db2/common/db_apprec.c: Likewise.
10878 * db2/common/db_err.c: Likewise.
10879 * db2/common/db_region.c: Likewise.
10880 * db2/db/db_auto.c: Likewise.
10881 * db2/db/db_dispatch.c: Likewise.
10882 * db2/db/db_ret.c: Likewise.
10883 * db2/dbm/dbm.c: Likewise.
10884 * db2/hash/hash_auto.c: Likewise.
10885 * db2/include/btree_ext.h: Likewise.
10886 * db2/include/common_ext.h: Likewise.
10887 * db2/include/db.h.src: Likewise.
10888 * db2/include/db_cxx.h: Likewise.
10889 * db2/include/db_ext.h: Likewise.
10890 * db2/include/db_int.h.src: Likewise.
10891 * db2/include/lock.h: Likewise.
10892 * db2/include/log.h: Likewise.
10893 * db2/include/mp.h: Likewise.
10894 * db2/include/mp_ext.h: Likewise.
10895 * db2/include/os_ext.h: Likewise.
10896 * db2/include/os_func.h: Likewise.
10897 * db2/lock/lock.c: Likewise.
10898 * db2/lock/lock_deadlock.c: Likewise.
10899 * db2/log/log.c: Likewise.
10900 * db2/log/log_archive.c: Likewise.
10901 * db2/log/log_auto.c: Likewise.
10902 * db2/log/log_get.c: Likewise.
10903 * db2/log/log_put.c: Likewise.
10904 * db2/mp/mp_bh.c: Likewise.
10905 * db2/mp/mp_fget.c: Likewise.
10906 * db2/mp/mp_fopen.c: Likewise.
10907 * db2/mp/mp_fput.c: Likewise.
10908 * db2/mp/mp_fset.c: Likewise.
10909 * db2/mp/mp_open.c: Likewise.
10910 * db2/mp/mp_pr.c: Likewise.
10911 * db2/mp/mp_region.c: Likewise.
10912 * db2/mp/mp_sync.c: Likewise.
10913 * db2/mutex/README: Likewise.
10914 * db2/mutex/mutex.c: Likewise.
10915 * db2/os/os_open.c: Likewise.
10916 * db2/os/os_func.c: Removed.
10917 * db2/os/os_config.c: New file.
10918 * db2/os/os_spin.c: New file.
10919 * db2/txn/txn.c: Likewise.
10920 * db2/txn/txn_auto.c: Likewise.
10922 1997-11-30 06:01 Ulrich Drepper <drepper@cygnus.com>
10924 * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
10925 __typeof for C++ since this fails for class members.
10926 Reported by Neal Becker <neal@ctd.comsat.com>.
10928 1997-11-28 11:21 Zack Weinberg <zack@rabi.phys.columbia.edu>
10930 * configure.in: Check for a working makeinfo (3.11 or better).
10931 * config.make.in: Add MAKEINFO to be substituted.
10932 * manual/Makefile: Don't update info if makeinfo is too old.
10934 1997-11-30 05:21 Ulrich Drepper <drepper@cygnus.com>
10936 * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
10937 * sysdeps/alpha/__longjmp.S: Likewise.
10938 * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
10939 not <bits/termios.h>.
10941 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
10942 __llseek and make llseek and lseek64 weak aliases.
10943 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10944 Patches by a sun <asun@zoology.washington.edu>.
10946 1997-11-29 19:19 Zack Weinberg <zack@rabi.phys.columbia.edu>
10948 * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
10949 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10950 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10951 * misc/sys/syslog.h: Clean up BSD header.
10953 1997-11-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10955 * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
10957 * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
10959 * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
10960 * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
10962 * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
10963 csqrt (-1), ctanh(i*pi/4).
10965 1997-11-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10967 * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
10969 1997-11-28 13:28 Philip Blundell <Philip.Blundell@pobox.com>
10971 * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
10973 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10975 * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
10977 1997-11-26 21:28 Ulrich Drepper <drepper@cygnus.com>
10979 * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
10980 and use. Define GETCWD_RETURN_TYPE instead and use it.
10981 * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
10982 of GETCWD_STORYGE_CLASS and put the return type and the
10983 `internal_function' in the right order for gcc 2.7.2.
10985 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10987 * sysdeps/unix/sysv/linux/sys/module.h: Remove file. It's
10988 incompatible with Linux 2.1.x. Packages using modules
10989 (e.g. modutils) should/do provide their own version. Suggested by
10992 * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
10994 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
10995 [$(subdir)=socket]: Remove sys/module.h.
10997 1997-11-26 04:28 Ulrich Drepper <drepper@cygnus.com>
10999 * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
11000 computing s_scale. Patch by a sun <asun@zoology.washington.edu>.
11002 * iconv/gconv_close.c: Correct freeing of descriptor data.
11003 * iconv/gconv_simple.c: Return correct error values for illegal or
11004 incomplete characters.
11006 * Makefile (iconvdata/%): Special goal to simplify iconvdata
11008 * iconvdata/Makefile: New file.
11009 * iconvdata/configure: Likewise.
11010 * iconvdata/extra-module.mk: Likewise.
11011 * iconvdata/gconv-modules: Likewise.
11012 * iconvdata/iso6937.c: Likewise.
11013 * iconvdata/iso8859-1.c: Likewise.
11014 * iconvdata/iso8859-10.c: Likewise.
11015 * iconvdata/iso8859-10.h: Likewise.
11016 * iconvdata/iso8859-2.c: Likewise.
11017 * iconvdata/iso8859-2.h: Likewise.
11018 * iconvdata/iso8859-3.c: Likewise.
11019 * iconvdata/iso8859-3.h: Likewise.
11020 * iconvdata/iso8859-4.c: Likewise.
11021 * iconvdata/iso8859-4.h: Likewise.
11022 * iconvdata/iso8859-5.c: Likewise.
11023 * iconvdata/iso8859-5.h: Likewise.
11024 * iconvdata/iso8859-6.c: Likewise.
11025 * iconvdata/iso8859-6.h: Likewise.
11026 * iconvdata/iso8859-7.c: Likewise.
11027 * iconvdata/iso8859-7.h: Likewise.
11028 * iconvdata/iso8859-8.c: Likewise.
11029 * iconvdata/iso8859-8.h: Likewise.
11030 * iconvdata/iso8859-9.c: Likewise.
11031 * iconvdata/iso8859-9.h: Likewise.
11032 * iconvdata/iso8859-generic.c: Likewise.
11033 * iconvdata/t61.c: Likewise.
11035 * string/Makefile (routines): Add strcasestr.
11036 * string/string.h: Add prototype for strcasestr.
11037 * sysdeps/generic/strcasestr.c: New file.
11038 * wcsmbs/mbrtowc.c: Simplify special case a bit.
11039 * wcsmbs/wcrtomb.c: Likewise.
11040 * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
11041 * wcsmbs/wcsnrtombs.c: Likewise.
11042 * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
11043 partial character is read.
11044 * wcsmbs/wcsrtombs.c: Likewise.
11045 * wcsmbs/wmemrtombs.c: Likewise.
11046 * wcsmbs/wmemrtowcs.c: Likewise.
11048 * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
11049 * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
11050 * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
11051 * sysdeps/i386/elf/setjmp.S: Likewise.
11052 * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
11055 * sysdeps/posix/mk-stdiolim.c: Output file with comment.
11056 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
11058 * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
11059 * sysvipc/sys/ipc.h: Likewise.
11060 * sysvipc/sys/msg.h: Likewise.
11061 * sysvipc/sys/sem.h: Likewise.
11062 * sysvipc/sys/shm.h: Likewise.
11064 * sysdeps/alpha/bits/endian.h: Issue error message if the header is
11066 * sysdeps/alpha/bits/setjmp.h: Likewise.
11067 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
11068 * sysdeps/arm/bits/endian.h: Likewise.
11069 * sysdeps/arm/bits/setjmp.h: Likewise.
11070 * sysdeps/generic/bits/byteswap.h: Likewise.
11071 * sysdeps/generic/bits/confname.h: Likewise.
11072 * sysdeps/generic/bits/dirent.h: Likewise.
11073 * sysdeps/generic/bits/dlfcn.h: Likewise.
11074 * sysdeps/generic/bits/endian.h: Likewise.
11075 * sysdeps/generic/bits/fenv.h: Likewise.
11076 * sysdeps/generic/bits/huge_val.h: Likewise.
11077 * sysdeps/generic/bits/in.h: Likewise.
11078 * sysdeps/generic/bits/ioctl-types.h: Likewise.
11079 * sysdeps/generic/bits/ioctls.h: Likewise.
11080 * sysdeps/generic/bits/ipc.h: Likewise.
11081 * sysdeps/generic/bits/msq.h: Likewise.
11082 * sysdeps/generic/bits/poll.h: Likewise.
11083 * sysdeps/generic/bits/resource.h: Likewise.
11084 * sysdeps/generic/bits/sched.h: Likewise.
11085 * sysdeps/generic/bits/sem.h: Likewise.
11086 * sysdeps/generic/bits/setjmp.h: Likewise.
11087 * sysdeps/generic/bits/shm.h: Likewise.
11088 * sysdeps/generic/bits/sigaction.h: Likewise.
11089 * sysdeps/generic/bits/sigcontext.h: Likewise.
11090 * sysdeps/generic/bits/socket.h: Likewise.
11091 * sysdeps/generic/bits/stat.h: Likewise.
11092 * sysdeps/generic/bits/statfs.h: Likewise.
11093 * sysdeps/generic/bits/stdio_lim.h: Likewise.
11094 * sysdeps/generic/bits/termios.h: Likewise.
11095 * sysdeps/generic/bits/time.h: Likewise.
11096 * sysdeps/generic/bits/uio.h: Likewise.
11097 * sysdeps/generic/bits/utmp.h: Likewise.
11098 * sysdeps/generic/bits/utmpx.h: Likewise.
11099 * sysdeps/generic/bits/utsname.h: Likewise.
11100 * sysdeps/generic/bits/waitflags.h: Likewise.
11101 * sysdeps/generic/bits/waitstatus.h: Likewise.
11102 * sysdeps/gnu/bits/utmp.h: Likewise.
11103 * sysdeps/gnu/bits/utmpx.h: Likewise.
11104 * sysdeps/i386/bits/byteswap.h: Likewise.
11105 * sysdeps/i386/bits/endian.h: Likewise.
11106 * sysdeps/i386/bits/huge_val.h: Likewise.
11107 * sysdeps/i386/bits/setjmp.h: Likewise.
11108 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11109 * sysdeps/ieee754/bits/huge_val.h: Likewise.
11110 * sysdeps/m68k/bits/byteswap.h: Likewise.
11111 * sysdeps/m68k/bits/endian.h: Likewise.
11112 * sysdeps/m68k/bits/setjmp.h: Likewise.
11113 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
11114 * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
11115 * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
11116 * sysdeps/mach/hurd/bits/stat.h: Likewise.
11117 * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
11118 * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
11119 * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
11120 * sysdeps/mips/bits/dlfcn.h: Likewise.
11121 * sysdeps/mips/bits/endian.h: Likewise.
11122 * sysdeps/mips/bits/setjmp.h: Likewise.
11123 * sysdeps/mips/dec/bits/endian.h: Likewise.
11124 * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
11125 * sysdeps/mips/mipsel/bits/endian.h: Likewise.
11126 * sysdeps/mips/p40/bits/endian.h: Likewise.
11127 * sysdeps/powerpc/bits/endian.h: Likewise.
11128 * sysdeps/powerpc/bits/fenv.h: Likewise.
11129 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11130 * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
11131 * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
11132 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
11133 * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
11134 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
11135 * sysdeps/unix/bsd/bits/dirent.h: Likewise.
11136 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11137 * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
11138 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
11139 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
11140 * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
11141 * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
11142 * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
11143 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
11144 * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
11145 * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
11146 * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
11147 * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
11148 * sysdeps/unix/common/bits/dirent.h: Likewise.
11149 * sysdeps/unix/sysv/bits/dirent.h: Likewise.
11150 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11151 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11152 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11153 * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
11154 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
11155 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
11156 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
11157 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
11158 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
11159 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
11160 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
11161 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
11162 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
11163 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
11164 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
11165 * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
11166 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11167 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11168 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
11169 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11170 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11171 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11172 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11173 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
11174 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
11175 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11176 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11177 * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
11178 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
11179 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
11180 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11181 * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
11182 * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
11183 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
11184 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
11185 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
11186 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
11187 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
11188 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
11189 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
11190 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
11191 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11192 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
11193 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
11194 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
11195 * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
11196 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
11197 * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
11198 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
11199 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11200 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11201 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
11202 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
11203 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
11204 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11205 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
11206 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
11207 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
11208 * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
11209 * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
11210 * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
11211 * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
11212 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
11213 * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
11214 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
11215 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
11216 * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
11217 * sysdeps/vax/bits/huge_val.h: Likewise.
11218 * sysdeps/vax/bits/setjmp.h: Likewise.
11219 * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
11220 * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
11222 1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11224 * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
11226 1997-11-25 Paul Eggert <eggert@shade.twinsun.com>
11228 * strftime.c (strftime):
11229 No longer any need to undef or declare if emacs is defined.
11230 (my_strftime): When checking a -1 returned by mktime, don't blow up
11231 if localtime_r returns NULL.
11233 1997-11-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11235 * README.template: Fix spelling.
11237 1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11239 * configure.in: Enhance --enable-add-ons description a wee bit.
11241 1997-11-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11243 * glibcbug.in: Add more information of build environment and flags.
11245 1997-11-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11247 * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
11250 1997-11-24 03:01 Ulrich Drepper <drepper@cygnus.com>
11252 * elf/dl-support.c: Call __libc_init_secure to make sure
11253 __libc_enable_secure is defined early.
11254 * sysdeps/generic/enbl-secure.c: Change function name to
11255 __libc_init_secure and make it global instead of a constructor.
11257 * iconv/gconv.c: Fix lots of bugs.
11258 * iconv/gconv.h: Likewise.
11259 * iconv/gconv_builtin.h: Likewise.
11260 * iconv/gconv_close.c: Likewise.
11261 * iconv/gconv_conf.c: Likewise.
11262 * iconv/gconv_db.c: Likewise.
11263 * iconv/gconv_dl.c: Likewise.
11264 * iconv/gconv_open.c: Likewise.
11265 * iconv/gconv_simple.c: Likewise.
11266 * iconv/iconv.c: Likewise.
11267 * iconv/iconv_close.c: Likewise.
11268 * iconv/iconv_open.c: Likewise.
11270 * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
11271 * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
11272 * wcsmbs/wmemrtombs.c: New file.
11273 * wcsmbs/wmemrtowcs.c: New file.
11275 1997-11-22 19:28 Ulrich Drepper <drepper@cygnus.com>
11277 * iconv/gconv_simple.c: Fix lots of bugs.
11278 * iconv/iconv_open.c: Normalize names before passing them to
11281 * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
11283 * libio/iopopen.c: Check for correct mode argument and punt otherwise.
11284 * stdio-common/test-popen.c: Add test for above change.
11286 * math/libm-test.c: Print test results also using %a format,
11287 specified in PRINTF_XEXPR macro.
11288 * math/test-double.c: Define PRINTF_XEXPR.
11289 * math/test-float.c: Likewise.
11290 * math/test-ldouble.c: Likewise.
11291 * math/test-idouble.c: Likewise.
11292 * math/test-ifloat.c: Likewise.
11293 * math/test-ildoubl.c: Likewise.
11295 * stdio-common/vfscanf.c: Recognize a in format specifier only as
11296 modifier if used before s, S, or [. Otherwise it's the hexadecimal
11299 * stdlib/strtod.c: Little code cleanup.
11301 * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
11302 compiling in math subdir.
11304 * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
11305 instead of __LIBC_M81_MATH_INLINES.
11306 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
11307 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
11308 * sysdeps/m68k/fpu/e_pow.c: Likewise.
11309 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
11310 * sysdeps/m68k/fpu/k_cos.c: Likewise.
11311 * sysdeps/m68k/fpu/k_sin.c: Likewise.
11312 * sysdeps/m68k/fpu/k_tan.c: Likewise.
11313 * sysdeps/m68k/fpu/s_atan.c: Likewise.
11314 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
11315 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
11316 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
11317 * sysdeps/m68k/fpu/s_csin.c: Likewise.
11318 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
11319 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
11320 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
11321 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
11322 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
11323 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
11324 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
11325 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
11326 * sysdeps/m68k/fpu/s_modf.c: Likewise.
11327 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
11328 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
11329 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
11330 * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
11331 __LIBC_INTERNAL_MATH_INLINES is defined.
11333 * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
11334 of compare macros from ISO C 9X. Optimize generic versions a bit.
11335 Define __signbit inline functions and __ieee754_sqrt which can be
11336 used if the ompiler is fixed.
11338 * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
11340 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11342 * Makerules ($(common-objpfx)stub-$(subdir)): Look for
11343 sysdeps/generic in the whole dep file, not only in the first line.
11345 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11347 * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
11349 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11351 * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
11354 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11356 * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
11359 1997-11-20 16:51 Ulrich Drepper <drepper@cygnus.com>
11361 * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
11364 1997-11-19 21:36 Ulrich Drepper <drepper@cygnus.com>
11366 * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
11367 readlink succeeds but the return value is too long.
11369 * stdio-common/printf_fphex.c: Determine sign of number correctly.
11371 1997-11-19 02:45 Ulrich Drepper <drepper@cygnus.com>
11373 * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
11376 1997-11-18 23:08 Ulrich Drepper <drepper@cygnus.com>
11378 * sysdeps/generic/sys/ucontext.h: Stub context file.
11380 * libio/iofprintf.c: Removed. We use the stdio-common version.
11382 * manual/Makefile (distribute): Add stdio-fp.c.
11384 * sysdeps/powerpc/Dist: Add ppc-mcount.S.
11386 * db2/Makefile (distribute): Add include/os_func.h, README and
11387 mutex/tsl_parisc.s.
11389 * hesiod/Makefile (distribute): Add README.hesiod.
11391 1997-11-18 22:14 Ulrich Drepper <drepper@cygnus.com>
11393 * iconv/gconv.c: Correctly call transformation function.
11395 * manual/maint.texi: Document need of binutils 2.8.1.0.17.
11397 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11399 * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
11400 wrong results for e.g. remquo (3,2, &x)).
11401 * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
11402 * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
11404 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11406 * configure.in (ld --version-script): Test if the same symbol
11407 maybe defined in all versions (needed by recent changes to
11408 libc.map and supported with binutils 2.8.1.0.17) and issue warning
11409 if versioning is not supported/enabled.
11410 (bash test): Correct test case.
11412 * math/libm-test.c: Added counting/reporting of number of test cases.
11414 * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
11417 * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
11419 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11421 * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
11423 1997-11-18 18:04 Ulrich Drepper <drepper@cygnus.com>
11425 * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
11426 Replace revoke call by use of REVOKE.
11427 * sysdeps/unix/sysv/linux/pty.c: New file. Define REVOKE as
11428 empty and #include generic version.
11429 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11431 1997-11-18 16:02 Ulrich Drepper <drepper@cygnus.com>
11433 * libc.map: Add socket functions with __libc_* names.
11434 Reported by Andreas Jaeger.
11436 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11438 * libc.map: Tidy up (remove duplicates, sort entries).
11440 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11442 * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
11444 1997-11-18 06:45 Ulrich Drepper <drepper@cygnus.com>
11446 * sysdeps/generic/pty.c: Make thread safe. Fix bug when calling
11447 again after successful call.
11448 Patch by Marc Lehmann <pcg@goof.com>.
11450 1997-11-17 Paul Eggert <eggert@twinsun.com>
11452 * time/mktime.c, time/strftime.c (_REENTRANT): #define,
11453 as some hosts need this to declare localtime_r properly.
11455 1997-11-18 06:08 Ulrich Drepper <drepper@cygnus.com>
11457 * libc.map: Add iconv_open, iconv, and iconv_close.
11459 1997-11-18 02:31 Ulrich Drepper <drepper@cygnus.com>
11461 * iconv/Makefile: New file.
11462 * iconv/gconv.c: New file.
11463 * iconv/gconv.h: New file.
11464 * iconv/gconv_builtin.c: New file.
11465 * iconv/gconv_builtin.h: New file.
11466 * iconv/gconv_close.c: New file.
11467 * iconv/gconv_conf.c: New file.
11468 * iconv/gconv_db.c: New file.
11469 * iconv/gconv_dl.c: New file.
11470 * iconv/gconv_open.c: New file.
11471 * iconv/gconv_simple.c: New file.
11472 * iconv/iconv.c: New file.
11473 * iconv/iconv.h: New file.
11474 * iconv/iconv_close.c: New file.
11475 * iconv/iconv_open.c: New file.
11476 * include/gconv.h: New file.
11478 * Makeconfig: Define gconvdir.
11479 * Makefile (subdirs): Add iconv.
11481 * string/bits/string2.h: Add optimization for strtok_r.
11483 * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
11485 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
11486 Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
11488 * configure.in: Correct test for bash2.
11489 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11491 * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
11492 (CFLAGS-locfile.c): Likewise.
11493 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11495 * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
11496 non-existing entry if the table is full.
11498 * posix/regex.h: Pretty print.
11500 * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
11502 * sysdeps/posix/ctermid.c: Simplify a bit.
11504 * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
11506 1997-11-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11508 * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
11509 <sys/types.h> instead of <asm/types.h>.
11511 1997-11-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11513 * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
11515 1997-11-16 17:09 H.J. Lu <hjl@gnu.ai.mit.edu>
11517 * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
11518 fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
11519 (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
11520 (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
11521 fclose): Added to GLIBC_2.1.
11523 * libio/Makefile (routines, shared-only-routines): Add
11524 oldiofclose. Remove oldfreopen.
11526 * libio/freopen.c (freopen): When PIC is defined, call
11527 _IO_old_freopen () for old stdio.
11529 * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
11530 (_IO_fclose, fclose): Use _IO_new_fclose as default version
11533 * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
11534 instead of _IO_file_close_it.
11536 * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
11537 to _IO_2_1_stdxxx_.
11538 (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
11541 * libio/libioP.h (_IO_old_do_flush): New.
11543 * libio/oldfileops.c (_IO_old_file_close_it,
11544 _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
11545 Call _IO_old_do_flush () instead of _IO_do_flush ().
11546 (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
11549 * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
11550 instead of _IO_file_init ().
11551 Bind old symbols to version GLIBC_2.0.
11553 * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
11554 (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
11556 (_IO_check_libio): New function in .init.
11558 * libio/oldiofclose.c: New file.
11560 * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
11561 _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
11562 (DEF_STDFILE): Don't use default_symbol_version.
11564 * libio/stdio.c (stdin, stdout, stderr): Set to
11566 (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
11569 * csu/Makefile (distribute): Add init.c.
11570 (extra-objs): Add init.o for ELF.
11571 (start-installed-name): Add $(objpfx)init.o.
11573 * csu/init.c: New file.
11575 1997-11-12 08:02 H.J. Lu <hjl@gnu.ai.mit.edu>
11577 * elf/dl-lookup.c (do_lookup): Don't use the hidden base
11578 definition as the default.
11580 1997-08-27 Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>
11582 * erand48_r.c (__erand48_r): Implement for 32 bit short int.
11584 1997-11-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11586 * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
11589 1997-11-16 21:01 Philip Blundell <Philip.Blundell@pobox.com>
11591 * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
11592 to preserve condition codes on function call.
11594 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11596 * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
11598 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11600 * math/libm-test.c (asin_test): Add epsilon for float.
11601 (tan_test): Add epsilon for float.
11602 (log1p_test): Add epsilon for float.
11603 (inverse_functions): Add epsilons.
11605 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
11608 * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
11610 1997-11-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11612 * md5-crypt/Makefile (extra-objs): Make recursively expanded
11613 variable, since $(object-suffixes) is not defined yet.
11615 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11617 * db2/Makefile (distribute): db185/db185_int.src ->
11620 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11622 * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
11625 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11627 * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
11629 * sysdeps/generic/e_acosl.c: Likewise.
11630 * sysdeps/generic/e_asinl.c: Likewise.
11631 * sysdeps/generic/e_atan2l.c: Likewise.
11632 * sysdeps/generic/e_expl.c: Likewise.
11633 * sysdeps/generic/e_fmodl.c: Likewise.
11634 * sysdeps/generic/e_j0l.c: Likewise.
11635 * sysdeps/generic/e_j1l.c: Likewise.
11636 * sysdeps/generic/e_jnl.c: Likewise.
11637 * sysdeps/generic/e_lgammal_r.c: Likewise.
11638 * sysdeps/generic/e_log10l.c: Likewise.
11639 * sysdeps/generic/e_logl.c: Likewise.
11640 * sysdeps/generic/e_powl.c: Likewise.
11641 * sysdeps/generic/e_sqrtl.c: Likewise.
11642 * sysdeps/generic/e_exp2l.c: Likewise.
11644 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11646 * Make-dist (+sysdep-names): Remove extra paren.
11647 * Makefile (distribute): Add stub-tag.h.
11648 * elf/Makefile (distribute): Add atomicity.h.
11649 * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
11650 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
11651 [$(subdir)=socket]: Add net/if_packet.h.
11652 * sysdeps/alpha/Dist: Remove setjmp_aux.c.
11653 * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
11654 net/if_packet.h, scsi/sg.h.
11656 1997-11-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11658 * Makefile (install): Quote $(CC) expansion.
11660 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11662 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
11663 working /proc cwd and no restrictions on path length. Following
11664 some ideas from Andi Kleen <ak@muc.de> (PR 350).
11666 1997-11-14 19:14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
11668 * nis/nss_compat/compat-grp.c: Remove buggy assert call.
11669 * nis/nss_compat/compat-pwd.c: Likewise.
11670 * nis/nss_compat/compat-spwd.c: Likewise.
11672 1997-11-14 22:23 Ulrich Drepper <drepper@cygnus.com>
11674 * sysdeps/libm-i387/s_fdim.S: New file.
11675 * sysdeps/libm-i387/s_fdimf.S: New file.
11676 * sysdeps/libm-i387/s_fdiml.S: New file.
11677 * sysdeps/libm-i387/i686/s_fdim.S: New file.
11678 * sysdeps/libm-i387/i686/s_fdimf.S: New file.
11679 * sysdeps/libm-i387/i686/s_fdiml.S: New file.
11681 1997-11-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11683 * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
11684 pointer to unsigned char.
11686 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11688 * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
11690 * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
11692 * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
11694 1997-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11696 * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
11698 * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
11699 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
11701 1997-11-14 05:44 Ulrich Drepper <drepper@cygnus.com>
11703 * sysdeps/libm-i387/s_fmin.S: New file.
11704 * sysdeps/libm-i387/s_fminf.S: New file.
11705 * sysdeps/libm-i387/s_fminl.S: New file.
11706 * sysdeps/libm-i387/s_fmax.S: New file.
11707 * sysdeps/libm-i387/s_fmaxf.S: New file.
11708 * sysdeps/libm-i387/s_fmaxl.S: New file.
11709 * sysdeps/libm-i387/i686/s_fmin.S: New file.
11710 * sysdeps/libm-i387/i686/s_fminf.S: New file.
11711 * sysdeps/libm-i387/i686/s_fminl.S: New file.
11712 * sysdeps/libm-i387/i686/s_fmax.S: New file.
11713 * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
11714 * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
11716 1997-11-14 03:06 Ulrich Drepper <drepper@cygnus.com>
11718 * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
11719 * sysdeps/unix/sysv/linux/send.S: Likewise.
11720 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11721 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11722 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11723 * sysdeps/unix/sysv/linux/recv.S: Likewise.
11724 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11725 * sysdeps/unix/sysv/linux/connect.S: Likewise.
11726 Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
11728 See ChangeLog.7 for earlier changes.