1 1998-07-14 Mark Kettenis <kettenis@phys.uva.nl>
3 * mach/Makefile: Create target directory before generating
5 * mach/Machrules: Invoke awk using AWK variable. Create target
6 directory before generating server stubs.
8 1998-07-14 Ulrich Drepper <drepper@cygnus.com>
10 * wcsmbs/wcslen.c (__wcslen): Fix comment.
12 * configure.in: Allow egcs-2.92.
14 1998-07-10 18:14 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
16 * manual/Makefile: Overhauled. Generate libc.texinfo from the
17 chapter files. Exorcise the chapters, chapters-incl mess.
18 Support inserting doc chapters from add-on modules.
19 (chapters): New variable.
20 (add-chapters): New variable.
21 (appendices): New variable.
22 (libc.texinfo): New target.
24 (realclean): Fix bugs.
26 * manual/texis.awk: New file.
27 * manual/libc-texinfo.sh: New file.
28 * manual/libc-texinfo.in: New file.
30 * manual/conf.texi (top @node): Remove next pointer.
31 * manual/lang.texi (top @node): Remove prev pointer.
33 * manual/job.texi (top @node): Add explicit pointers.
34 * manual/message.texi (top @node): Add explicit pointers.
35 * manual/nss.texi (top @node): Add explicit pointers.
36 * manual/process.texi (top @node): Add explicit pointers.
37 * manual/startup.texi (top @node): Add explicit pointers.
38 * manual/terminal.texi (top @node): Add explicit pointers.
39 * manual/users.texi (top @node): Add explicit pointers.
41 * manual/arith.texi: Add %MENU% tag.
42 * manual/conf.texi: Add %MENU% tag.
43 * manual/contrib.texi: Add %MENU% tag.
44 * manual/ctype.texi: Add %MENU% tag.
45 * manual/errno.texi: Add %MENU% tag.
46 * manual/filesys.texi: Add %MENU% tag.
47 * manual/header.texi: Add %MENU% tag.
48 * manual/install.texi: Add %MENU% tag.
49 * manual/intro.texi: Add %MENU% tag.
50 * manual/io.texi: Add %MENU% tag.
51 * manual/job.texi: Add %MENU% tag.
52 * manual/lang.texi: Add %MENU% tag.
53 * manual/llio.texi: Add %MENU% tag.
54 * manual/locale.texi: Add %MENU% tag.
55 * manual/maint.texi: Add %MENU% tag.
56 * manual/math.texi: Add %MENU% tag.
57 * manual/mbyte.texi: Add %MENU% tag.
58 * manual/memory.texi: Add %MENU% tag.
59 * manual/message.texi: Add %MENU% tag.
60 * manual/nss.texi: Add %MENU% tag.
61 * manual/pattern.texi: Add %MENU% tag.
62 * manual/pipe.texi: Add %MENU% tag.
63 * manual/process.texi: Add %MENU% tag.
64 * manual/search.texi: Add %MENU% tag.
65 * manual/setjmp.texi: Add %MENU% tag.
66 * manual/signal.texi: Add %MENU% tag.
67 * manual/socket.texi: Add %MENU% tag.
68 * manual/startup.texi: Add %MENU% tag.
69 * manual/stdio.texi: Add %MENU% tag.
70 * manual/string.texi: Add %MENU% tag.
71 * manual/sysinfo.texi: Add %MENU% tag.
72 * manual/terminal.texi: Add %MENU% tag.
73 * manual/time.texi: Add %MENU% tag.
74 * manual/users.texi: Add %MENU% tag.
76 1998-07-13 Ulrich Drepper <drepper@cygnus.com>
78 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
81 1998-07-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
83 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Use ANSI
84 style declaration to avoid warning.
85 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
87 1998-07-04 Mark Kettenis <kettenis@phys.uva.nl>
89 * elf/rtld.c (process_dl_debug): Add missing continue.
91 1998-07-12 Mark Kettenis <kettenis@phys.uva.nl>
93 * elf/rtld.c (_dl_skip_args): Make global because the Hurd startup
96 1998-07-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
98 * Makeconfig ($(common-objpfx)sysd-dirs): Write out definition of
100 * Makerules: Don't generate version maps too early.
101 ($(common-objpfx)sysd-versions): Force regeneration if the list of
104 1998-07-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
106 * elf/dlfcn.h (DL_CALL_FCT): Use portable comma expression.
108 1998-07-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
110 * iconv/gconv_db.c (gen_steps): Always set *handle and *nsteps.
111 * iconv/gconv_dl.c (__gconv_find_shlib): Correct use of tfind
114 1998-07-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
116 * elf/dl-open.c (dl_open_worker): New function.
117 (_dl_open): Call it to do the actual work while catching errors.
118 * elf/dl-close.c (_dl_close): Only call termination function if
119 the initialisation function was called.
121 1998-07-13 Ulrich Drepper <drepper@cygnus.com>
123 * libio/libioP.h (_IO_cleanup_registration_needed): Use __PMT.
124 Reported by Felix von Leitner <leitner@amdiv.de>.
126 1998-07-13 10:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
128 * sysdeps/unix/sysv/linux/m68k/dl-envvars.h: New file.
130 1998-07-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
132 * Make-dist (+sysdep-tsrcs): Add Versions.
134 1998-07-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
136 * math/Versions: Remove __log1p, __atan2, __fe_dfl_env,
137 __fe_enabled_env, __fe_nonieee_env and __fe_nomask_env.
138 * sysdeps/powerpc/Versions: New file.
139 * csu/Versions: Remove brk, sbrk, environ, __environ, _environ
140 and __errno_location.
141 * misc/Versions: Add brk and sbrk.
142 * posix/Versions: Add environ, __environ and _environ.
143 * sysdeps/unix/sysv/linux/Versions: Add __errno_location.
145 1998-07-10 11:58 Ulrich Drepper <drepper@cygnus.com>
147 * Makerules [no_defs]: Avoid dependency for loading sysd-versions.
148 Patch by Zack Weinberg.
150 1998-07-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
152 * posix/annexc.c (errno_maybe): EACCESS->EACCES.
153 (signal_maybe): Remove duplicate entry SIGEV_SIGNAL.
154 (mman_maybe): Remove duplicates MS_ASYNC, MS_INVALIDATE.
156 1998-07-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
158 * sysdeps/unix/sysv/linux/bits/fcntl.h: Fix typo.
160 1998-07-09 Ulrich Drepper <drepper@cygnus.com>
162 * posix/unistd.h: Simplify #ifdefs.
164 * libio/libio.h: Undo last change due to possible C++ problems.
165 * libio/fileops.h: Likewise.
167 1998-07-09 13:34 Ulrich Drepper <drepper@cygnus.com>
169 * grp/grp.h: Define gid_t also for __USE_XOPEN.
170 * io/fcntl.h: Include <sys/stat.h> also for __USE_XOPEN.
171 * io/utime.h: Define time_t also for __USE_XOPEN.
172 * io/sys/stat.h: Define time_t also for __USE_XOPEN.
173 Define *_t types except for pid_t also for __USE_XOPEN.
174 Define S_* macros also for __USE_XOPEN.
175 * locale/langinfo.h: Define CODESET, CRNCYSTR, RADIXCHAR, and
176 THOUSEP also for __USE_XOPEN.
177 * math/math.c: Define M_* macros also for __USE_XOPEN.
178 * math/bits/mathcalls.h: Declare hypot also for __USE_XOPEN.
179 * posix/fnmatch.h: Define FNM_NOSYS and for if _XOPEN_SOURCE is
181 * posix/glob.h: Likewise for GLOB_NOSYS.
182 * posix/regex.h: Likewise for REG_NOSYS.
183 * posix/wordexp.h: Likewise for WRDE_NOSYS.
184 * posix/unistd.h: Define *_t types also for __USE_XOPEN.
185 * posix/sys/wait.h: Define pid_t for __USE_XOPEN.
186 * pwd/pwd.h: Define gid_t and pid_t also for __USE_XOPEN.
187 * signal/signal.h: Define pid_t also for __USE_XOPEN.
188 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define _RSYNC and O_DSYNC also
189 for __USE_POSIX199309.
190 * sysdeps/unix/sysv/linux/bits/termios.h: Define the various B*
191 constants also for __USE_XOPEN.
192 * wcsmbs/wchar.h: For XPG4 include wctype.h.
194 * intl/dcgettext.c (find_msg): Initialize act to prevent warning.
195 * locale/setlocale.c (new_composite_name): Likewise for last_len.
197 * libio/stdio.h: Don't declare fclose_unlocked.
199 * sysdeps/posix/fpathconf.c: Handle _PC_FILESIZEBITS.
201 1998-07-08 Mark Kettenis <kettenis@phys.uva.nl>
203 * stdio/stdio.h: Add prototypes for fflush_unlocked,
204 getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked,
205 fgets_unlocked, fread_unlocked, fwrite_unlocked,
206 clearerr_unlocked, feof_unlocked, ferror_unlocked,
207 fileno_unlocked, flockfile, ftrylockfile, funlockfile.
208 [__USE_XOPEN && !__USE_GNU] Declare optarg, optind, opterr. Add
209 prototype for getopt.
210 * stdio/clearerr.c (clearerr_unlocked): Weak alias for clearerr.
211 * stdio/feof.c (feof_unlocked): Weak alias for feof.
212 * stdio/ferror.c (ferror_unlocked): Weak alias for ferror.
213 * stdio/fflush.c (fflush_unlocked): Weak alias for fflush.
214 * stdio/fgets.c (fgets_unlocked): Weak alias for fgets.
215 * stdio/fileno.c (fileno_unlocked): Weak alias for fileno.
216 * stdio/fputc.c (fputc_unlocked): Weak alias for fputc.
217 * stdio/fread.c (fread_unlocked): Weak alias for fread.
218 * stdio/fwrite.c (fwrite_unlocked): Weak alias for fwrite.
219 * stdio/getc.c (getchar_unlocked): Weak alias for getc.
220 * stdio/getchar.c (getchar_unlocked): Weak alias for getchar.
221 * stdio/putc.c (putc_unlocked): Weak alias for putc.
222 * stdio/putchar.c (putchar_unlocked): Weak alias for putchar.
223 * stdio/Versions [GLIBC_2.1]: Add clearerr_unlocked,
224 feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked,
225 fileno_unlocked, fputc_unlocked, fread_unlocked, fwrite_unlocked,
226 getc_unlocked, getchar_unlocked, putc_unlocked and
229 * libio/Versions: Move flockfile, ftrylockfile and funlockfile
231 * stdio-common/Versions: ... to here.
233 1998-07-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
235 * Makerules (versioning): Correct typo.
237 1998-07-08 22:18 Ulrich Drepper <drepper@cygnus.com>
239 * elf/Versions: Add _dl_mcount_wrapper_check.
240 * elf/dlfcn.h (DL_CALL_FCT): Don't test _dl_profile_map, simply use
241 _dl_mcount_wrapper_check.
242 * iconv/skeleton.c: Use DL_CALL_FCT, not _CALL_DL_FCT.
244 * elf/dl-reloc.c (_dl_relocate_object): Don't declare using
246 * elf/ldsodefs.h: Likewise.
248 * io/fcntl.h: Define SEEK_SET, SEEK_CUR, and SEEK_END.
250 * libio/stdio.h: Make sure va_list is defined for X/Open.
251 Define P_tmpdir for X/Open.
253 * posix/regex.h: Fix typo.
255 * posix/unistd.h: Define intptr_t if not already happened.
256 Add pthread_atfork prototype.
257 * sysdeps/generic/bits/types.h: Define __intptr_t.
258 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
259 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
260 * sysdeps/unix/sysv/linux/bits/mips/types.h: Likewise.
261 * sysdeps/unix/sysv/linux/bits/sparc/sparc64/types.h: Likewise.
262 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
263 * sysdeps/wordsize-32/stdint.h: Don't define intptr_t if already done.
264 * sysdeps/wordsize-64/stdint.h: Likewise.
266 * posix/bits/posix1_lim.h: Define _POSIX_CLOCKRES_MIN.
268 * signal/Makefile (headers): Add bits/sigthread.h.
269 * signal/signal.h: Include bits/sigthread.h.
270 * sysdeps/generic/bits/sigthread.h: New file.
272 * stdlib/stdlib.h: Declare rand_r use __USE_POSIX.
274 * sysdeps/generic/bits/confname.h: Define _PC_FILESIZEBITS.
275 * sysdeps/posix/pathconf.c: Handle _PC_FILESIZEBITS.
276 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: New file.
277 * sysdeps/unix/sysv/linux/alpha/pathconf.c: New file.
279 * sysdeps/generic/bits/dlfcn.h: Define RTLD_LOCAL.
281 * elf/rtld.c: Remove preloading and loadpath variables in SUID
283 * sysdeps/generic/dl-sysdep.c: Define unsetenv.
284 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Define other envvar
287 * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED.
289 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_RSYNC and O_DSYNC.
290 Remove O_READ and O_WRITE definition.
292 * sysdeps/unix/sysv/linux/bits/resource.h: Define RLIM_SAVED_MAX
295 * sysdeps/unix/sysv/linux/fstatvfs.h: Handle UFS filesystem.
297 1998-07-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
299 * Makerules ($(common-objpfx)sysd-versions): Expect awk script in
300 scripts directory. Pass move-if-change to awk.
301 (common-generated): Add $(version-maps) and sysd-versions.
302 * versions.awk: Moved to...
303 * scripts/versions.awk: ... here. Use move-if-change to void
304 touching unchanged files. Print "version-maps = ..." instead of
305 "all-version-maps = ..." and without $(common-objpfx). Explain
306 expected variable names.
307 * Makefile (distribute): Updated.
309 1998-07-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
311 * misc/getttyent.c (getttyent): Don't return with locked stream.
312 * misc/mntent_r.c (__getmntent_r): Likewise.
314 1998-07-07 18:24 Ulrich Drepper <drepper@cygnus.com>
316 * libio/fileops.c (_IO_do_write): Don't shrink wwrite buffer to zero
317 if stream is line buffered.
318 (_io_file_overflow): Likewise.
319 * libio/libio.h (_IO_putc_unlocked): Make sure that for line-buffered
320 streams writing '\n' flushes the string.
322 1998-07-07 17:28 Ulrich Drepper <drepper@cygnus.com>
324 * elf/dl-profstub.c (_dl_profile_map): Only declare variable here.
325 * elf/dl-support.c: Define it here...
326 * elf/rtld.c: ...and here.
328 1998-07-07 16:28 Ulrich Drepper <drepper@cygnus.com>
330 * grp/initgroups.c: Handle directives from nsswitch.conf file.
332 1998-07-07 Ulrich Drepper <drepper@cygnus.com>
334 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Add
335 __ino64_t definition.
336 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Define
337 __off64_t. Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
339 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell
340 script if lddlibc4 failed.
341 Reported by B. D. Elliott <bde@accessone.com>.
343 1998-07-06 Ulrich Drepper <drepper@cygnus.com>
345 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
346 Improve generated strings a bit.
348 1998-07-06 14:36 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
350 * posix/Makefile (generated): Remove $(objpfx) from the names.
352 1998-07-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
354 * stdio-common/test_rdwr.c: Use %Zu for size_t in printf
357 * libio/iofread_u.c: Include <stdio.h> for prototype.
358 * libio/iofwrite_u.c: Likewise.
360 1998-07-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
362 * db2/Versions: New file.
364 1998-07-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
366 * Makefile (lib-noranlib): Don't depend on sysd-versions.
367 ($(common-objpfx)sysd-versions): Remove rule.
368 * Makerules ($(common-objpfx)sysd-versions): Define here instead.
369 Pass name of Versions.def file to script and redirect output to
370 target. Include it and make all generated version maps depend on
372 * versions.awk: Print out variable definition containing all
373 generated version maps. Print error messages to stderr. Remove
376 1998-07-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
378 * posix/annexc.c (check_header): Terminate macro name before
380 (get_null_defines): Allow builtin macros with parameters.
381 (fmt, testfmt): Add -D_LIBC.
382 * posix/Makefile: Remove bogus duplicate include directories from
385 1998-07-06 12:04 Ulrich Drepper <drepper@cygnus.com>
387 * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Handle adjunct
389 (_nss_nis_getpwnam_r): Likewise.
390 (_nss_nis_getpwuid_r): Likewise.
392 1998-07-05 Mark Kettenis <kettenis@phys.uva.nl>
394 * libio/Versions: Move symbols whose source lives in
396 * stdio-common/Versions: ... here.
397 * stdio/Versions: Add missing symbols.
399 1998-07-05 Ulrich Drepper <drepper@cygnus.com>
401 * sysdeps/unix/sysv/linux/__sendmsg.S: Define function as
403 * sysdeps/unix/sysv/linux/__recvmsg.S: Define function as
405 * sysdeps/unix/sysv/linux/recvmsg.c: Define function as __libc_recvmsg
406 and make __recvmsg and recvmsg weak aliases.
407 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise for sendmsg.
408 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define __syscall_recvmsg
409 and __syscall_sendmsg.
411 1998-07-05 11:49 Ulrich Drepper <drepper@cygnus.com>
413 * iconv/gconv_conf.c (read_conf_file): Use feof_unlocked on private
415 * inet/ruserpass.c (token): Likewise.
416 * nss/nsswitch.c (nss_parse_file): Likewise.
417 * intl/localealias.c: Likewise. Also for ferror.
418 * time/getdate.c (__getdate_r): Likewise.
420 * libio/Makefile (routines): Add iofgets_u.
421 * libio/iofgets_u.c: New file.
422 * libio/Versions: Add fgets_unlocked.
423 * libio/stdio.h: Add prototype for fgets_unlocked.
425 * misc/getttyent.c (getttyent): Use fgets_unlocked instead of fgets.
426 * misc/getusershell.c (initshells): Likewise.
427 * misc/mntent_r.c (__getmntent_r): Explicitly lock stream. Use
429 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
430 * resolv/res_init.c (res_init): Likewise.
431 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
433 1998-05-23 Philip Blundell <Philip.Blundell@pobox.com>
435 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add `syscall'.
436 * sysdeps/unix/sysv/linux/arm/syscall.S: Deleted.
438 1998-07-05 Ulrich Drepper <drepper@cygnus.com>
440 * misc/getttyent.c (getttyent): Explicitly lock the FILE and use
443 * inet/ruserpass.c (ruserpass): Use _unlocked functions since this
446 1998-07-04 17:11 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
448 * csu/Makefile: Build crt files in lib pass.
449 * db2/Makefile (distribute): Add mutex/sco.cc.
450 * mach/Machrules: Don't generate .udeps files if no_deps is set.
451 * sysdeps/unix/Makefile: Don't generate sysd-syscalls or
452 s-proto.d if avoid-generated is set.
454 * sysdeps/alpha/Dist: List only one file per line.
455 * sysdeps/generic/Dist: Likewise.
456 * sysdeps/m68k/fpu/switch/Dist: Likewise.
457 * sysdeps/sparc/sparc32/Dist: Likewise.
458 * sysdeps/unix/Dist: Likewise.
459 * sysdeps/unix/sysv/irix4/Dist: Likewise.
461 * sysdeps/mach/hurd/i386/Dist: New file.
462 * sysdeps/generic/Dist: Add endutxent.c, getutxent.c, getutxid.c,
463 getutxline.c, pututxline.c, setutxent.c, updwtmpx.c, and utmpxname.c.
464 * sysdeps/unix/sysv/linux/Dist: Add getresuid.c and getresgid.c.
465 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove __sigtrampoline.S.
467 1998-07-04 10:14 Ulrich Drepper <drepper@cygnus.com>
469 * libio/Makefile (routines): Add iofread_u and iofwrite_u.
470 * libio/Versions: Add fread_unlocked and fwrite_unlocked.
472 * Makerules (lib%.so): Adjust ignore pattern for last makefile change.
474 * time/tzfile.c (decode): Optimize by using bswap_32.
475 (__tzfile_read): Use _unlocked stream functions. Correct setting of
476 __tzname array values.
477 (__tzfile_compute): Correct setting of __tzname array values.
478 * time/tzset.c (__tzstring): Clean up a bit.
480 1998-06-29 19:01 Jim Wilson <wilson@cygnus.com>
482 * posix/regex.c (re_comp): Add cast to char * before gettext calls.
484 1998-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
486 * sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so
487 that fd can be bigger than FD_SETSIZE.
489 1998-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
491 * nscd/grpcache.c: Include <unistd.h>.
492 * nscd/pwdcache.c: Likewise.
494 * nis/nis_modify.c: Include <string.h>.
495 * nis/nis_add.c: Likewise.
496 * nis/nis_checkpoint.c: Likewise.
497 * posix/runptests.c: Likewise.
498 * sysdeps/generic/statvfs64.c: Likewise.
499 * sysdeps/generic/fstatvfs64.c: Likewise.
501 1998-07-03 13:16 Ulrich Drepper <drepper@cygnus.com>
503 * localedata/charmaps/ISO-8859-9: Change mapping for 0xea, 0xec, 0xef
504 to match data from Unicode.
505 Reported by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
507 1998-07-03 11:45 Ulrich Drepper <drepper@cygnus.com>
509 * stdio-common/printf.h: Define printf_function and
510 printf_arginfo_function types using __PMT not __P.
511 Reported by Marc Lehmann.
513 1998-07-02 14:07 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
515 * assert/test-assert.c: New test.
516 * assert/test-assert-perr.c: New test.
517 * assert/Makefile (tests): Add test-assert and test-assert-perr.
519 1998-07-02 13:45 Zack Weinberg <zack@rabi.phys.columbia.edu>
521 BSD-style SCM_CREDS support.
523 * sysdeps/unix/sysv/linux/socket.h: Define struct cmsgcred and
525 * sysdeps/unix/sysv/linux/sendmsg.c: New file. Convert user
526 visible SCM_CREDS packet to what the kernel wants.
527 * sysdeps/unix/sysv/linux/recvmsg.c: New file. Convert
528 SCM_CREDS packet output by kernel to what users want.
530 * sysdeps/unix/sysv/linux/sendmsg.S: Moved to...
531 * sysdeps/unix/sysv/linux/__sendmsg.S: here.
532 * sysdeps/unix/sysv/linux/recvmsg.S: Moved to...
533 * sysdeps/unix/sysv/linux/__recvmsg.S: here.
535 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]: Add
536 __sendmsg and __recvmsg to sysdep_routines.
537 * sysdeps/unix/sysv/linux/Dist: Add __sendmsg.S and __recvmsg.S.
539 1998-07-02 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
541 * nscd/grpcache.c: Fix gid pointer handling and debug messages.
542 * nscd/pwdcache.c: Fix uid pointer handling and debug messages.
543 * nscd/nscd.c: Check, if pthread_create fails.
545 1998-07-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
547 * stdio-common/test_rdwr.c (main): Use %Zu for size_t in printf
549 * stdio-common/bug1.c (main): Likewise.
550 * stdio-common/bug5.c (main): Likewise.
551 * stdio-common/tstgetln.c (main): Likewise.
552 * elf/sprof.c (generate_call_graph): Likewise.
553 (load_shobj): Likewise.
554 * posix/runptests.c (main): Likewise.
555 * string/tst-strlen.c (main): Likewise.
557 * sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused
559 * sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise
561 1998-07-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
563 * wctype/Versions: Add __towctrans.
564 Noticed by Alex Buell <alex.buell@tahallah.demon.co.uk>.
566 1998-07-02 Mark Kettenis <kettenis@phys.uva.nl>
568 * grp/initgroups.c (compat_call): Only call dynamically loaded
569 functions if they are really present.
571 1998-07-02 Mark Kettenis <kettenis@phys.uva.nl>
573 * sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within
574 #ifdef that contains __BEGIN_DECLS.
576 1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
578 * libio/iofwrite.c: Fix return value when size == 0.
580 1998-07-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
582 * posix/Makefile (distribute): Add annexc.c.
583 (generated): Add $(objpfx)annexc and $(objpfx)annexc.out.
585 1998-07-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
587 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
588 bits/pthreadtypes.h here, and do not clobber headers.
590 * sysdeps/unix/sysv/linux/Dist: Add bits/pthreadtypes.h.
592 1998-07-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
594 * timezone/tst-timezone.c: Add tests for tzname variable.
596 1998-07-03 12:17 Zack Weinberg <zack@rabi.phys.columbia.edu>
598 * Makefile [versioning=yes]: Build the mapfiles with a pattern
599 rule that lists all of them as targets.
600 (sysd-versions): Depend only on Versions.def. Write a Makefile
601 fragment that defines $(vers-libs) based on contents of that file;
603 (lib-noranlib): Depend on lib-mapfiles not sysd-versions.
604 (lib-mapfiles): New target, depends on sysd-versions and $(vers-libs).
605 Predicate all this on avoid-generated unset as well as versioning.
607 1998-07-03 14:35 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
609 * sysdeps/unix/sysv/linux/m68k/Versions: New file.
611 1998-07-02 21:51 Ulrich Drepper <drepper@cygnus.com>
613 * Makeconfig: Define list of subdirs as all-subdirs and make subdirs
615 * Makefile: Add rules to generate map files.
616 (distribute): Remove libc.map, add Versions.def and versions.awk.
617 * Makerules: Change rules to find map files on common-objpfx.
618 * elf/Makefile: Likewise.
619 * md5-crypt/Makefile: Likewise.
620 * nis/Makefile (libnsl-map): Remove.
621 * Versions.def: New file.
622 * versions.awk: New file.
623 * argp/Versions: New file.
624 * assert/Versions: New file.
625 * catgets/Versions: New file.
626 * csu/Versions: New file.
627 * ctype/Versions: New file.
628 * db/Versions: New file.
629 * debug/Versions: New file.
630 * dirent/Versions: New file.
631 * elf/Versions: New file.
632 * gmon/Versions: New file.
633 * grp/Versions: New file.
634 * hesiod/Versions: New file.
635 * hurd/Versions: New file.
636 * iconv/Versions: New file.
637 * inet/Versions: New file.
638 * intl/Versions: New file.
639 * io/Versions: New file.
640 * libio/Versions: New file.
641 * linuxthreads/Versions: New file.
642 * locale/Versions: New file.
643 * login/Versions: New file.
644 * malloc/Versions: New file.
645 * math/Versions: New file.
646 * md5-crypt/Versions: New file.
647 * misc/Versions: New file.
648 * nis/Versions: New file.
649 * nss/Versions: New file.
650 * posix/Versions: New file.
651 * pwd/Versions: New file.
652 * resolv/Versions: New file.
653 * resource/Versions: New file.
654 * rt/Versions: New file.
655 * setjmp/Versions: New file.
656 * shadow/Versions: New file.
657 * signal/Versions: New file.
658 * socket/Versions: New file.
659 * stdio/Versions: New file.
660 * stdio-common/Versions: New file.
661 * stdlib/Versions: New file.
662 * streams/Versions: New file.
663 * string/Versions: New file.
664 * sunrpc/Versions: New file.
665 * sysdeps/alpha/Versions: New file.
666 * sysdeps/alpha/fpu/Versions: New file.
667 * sysdeps/i386/Versions: New file.
668 * sysdeps/sparc/Versions: New file.
669 * sysdeps/unix/sysv/Versions: New file.
670 * sysdeps/unix/sysv/linux/Versions: New file.
671 * sysdeps/unix/sysv/linux/alpha/Versions: New file.
672 * sysdeps/unix/sysv/linux/i386/Versions: New file.
673 * sysdeps/unix/sysv/linux/mips/Versions: New file.
674 * sysvipc/Versions: New file.
675 * termios/Versions: New file.
676 * time/Versions: New file.
677 * wcsmbs/Versions: New file.
678 * wctype/Versions: New file.
680 * db/libdb.map: Removed.
681 * elf/libdl.map: Removed.
682 * hesiod/libnss_hesiod.map: Removed.
683 * hurd/libhurduser.map: Removed.
684 * hurd/libmachuser.map: Removed.
685 * linuxthreads/libpthread.map: Removed.
686 * locale/libBrokenLocale.map: Removed.
687 * login/libutil.map: Removed.
688 * math/libm.map: Removed.
689 * md5-crypt/libcrypt.map: Removed.
690 * nis/libnsl.map: Removed.
691 * nis/libnsl_compat.map: Removed.
692 * nis/libnss_nis.map: Removed.
693 * nis/libnss_nisplus.map: Removed.
694 * nss/libnss_db.map: Removed.
695 * nss/libnss_files.map: Removed.
696 * resolv/libnss_dns.map: Removed.
697 * resolv/libresolv.map: Removed.
698 * rt/librt.map: Removed.
700 * elf/dl-load.c (fillin_rpath): Fix test for trusted directory.
703 * elf/rtld.c (process_dl_debug): Recognize 'all'.
704 (process_envvars): LD_BIND_NOW must be followed by y, Y, or 1.
706 * sysdeps/generic/elf/backtracesyms.c: Allocate string memory of
709 1998-07-01 Ulrich Drepper <drepper@cygnus.com>
711 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo
714 * nscd/nscd.c: Include unistd.h.
716 1998-07-01 09:32 Ulrich Drepper <drepper@cygnus.com>
718 * math/libm-test.c: Adjust delta for indentities1_test because gcc
721 1998-06-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
723 * resolv/inet_addr.c (inet_aton): Define variable base only if needed.
725 1998-06-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
727 * scripts/test-installation.pl: Include <stdio.h> in test program
728 to make it strictly conforming.
730 1998-06-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
732 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
734 * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
735 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
736 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
737 * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
739 1998-06-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
741 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
744 1998-06-30 Ulrich Drepper <drepper@cygnus.com>
746 * posix/Makefile (headers): Remove bits/pthreadtypes.h.
747 * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add
750 1998-06-30 11:47 Ulrich Drepper <drepper@cygnus.com>
752 * include/aio.h: New file.
753 * posix/Makefile (distribute): Add bits/pthreadtypes.h.
754 (tests): Build and run annexc program.
755 * posix/annexc.c: New file.
756 * posix/bits/posix1_lim.h: Add several more _POSIX_* limits.
757 * rt/aio.h: Remove __need_timespec_t. We can include the whole time.h.
758 * rt/aio_misc.c: Include limits.h.
759 * rt/aio_notify.c: Include errno.h.
760 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h.
762 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
763 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
764 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
765 * sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the
766 kernel doesn't do this.
767 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if
768 __USE_LARGEFILE64 is defined.
769 * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file. Empty.
770 * sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct
772 * sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names.
774 * stdlib/isomac.c: Avoid include_next warning.
776 1998-06-29 12:27 Ulrich Drepper <drepper@cygnus.com>
778 * argp/argp.h: Use __PMT instead of __P for function pointer.
779 * iconv/gconv.h: Likewise.
780 * io/fts.h: Likewise.
781 * io/ftw.h: Likewise.
782 * libio/libio.h: Likewise.
783 * malloc/mcheck.h: Likewise.
784 * misc/search.h: Likewise.
785 * posix/glob.h: Likewise.
786 * resolv/resolv.h: Likewise.
787 * signal/signal.h: Likewise.
788 * stdlib/stdlib.h: Likewise.
789 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
790 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
792 1998-06-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
794 * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once.
796 1998-06-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
798 * posix/wordexp.c (parse_param): Fix memory leak.
800 1998-06-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
802 * libc.map: Export _IO_ftrylockfile.
804 1998-06-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
806 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of
809 1998-06-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
811 * elf/dl-misc.c (_dl_debug_message): Don't cache the pid.
813 * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the
814 same search list twice.
816 1998-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
818 * login/programs/utmpd.c (handle_requests): Set and use maximal fd
819 used to optimize loop/select.
821 1998-06-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
823 * sysdeps/generic/init-first.c: Don't define __libc_pid.
824 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
825 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
826 * sysdeps/mach/hurd/mips/init-first.c: Likewise.
827 * sysdeps/arm/init-first.c: Likewise.
828 * posix/getopt_init.c: Don't use __libc_pid.
829 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
830 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
831 * libc.map: Remove __libc_uid and __libc_pid.
833 1998-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
835 * sunrpc/rtime.c (rtime): Use poll instead of select.
837 1998-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
839 * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select.
840 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
841 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
842 Patches from FreeBSD current.
844 1998-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
846 * nscd/connections.c (handle_new_request): Handle POLLHUP
848 (close_sockets): Correct parameter to dbg_log.
850 1998-06-27 David S. Miller <davem@pierdol.cobaltmicro.com>
852 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
853 Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
854 (elf_machine_fixup_plt): Likewise.
855 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When
856 _dl_pagesize not set, use system call to always get correct answer.
857 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
858 (__syscall_getpagesize): Add
860 1998-06-27 Ulrich Drepper <drepper@cygnus.com>
862 * resolv/res_send.c (res_send): Fix typo.
864 1998-06-25 Andi Kleen <ak@muc.de>
866 * inet/rcmd.c (rcmd): Change to use __poll instead of select.
867 * resolv/res_send.c (res_send): Likewise.
869 1998-06-27 12:58 Ulrich Drepper <drepper@cygnus.com>
871 * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
872 * sysdeps/unix/sysv/linux/poll.c: Likewise.
874 1998-06-27 7:07 Richard Henderson <rth@cygnus.com>
876 * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately.
877 * math/atest-exp2.c (exp_mpn, main): Likewise.
878 * math/atest-sincos.c (main): Likewise.
880 * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow. Move
881 base handling away from strtoul. Always reset errno.
883 * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs.
885 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set
886 _dl_profile_map if _dl_name_match_p.
887 (RTLD_START): Fix .prologue. Set __libc_stack_end.
888 * sysdeps/alpha/elf/start.S: Pass sp as arg 7. Kill __data_start.
890 * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp
893 * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h".
894 * sysdeps/libm-ieee754/e_exp10f.c: Likewise.
895 * sysdeps/libm-ieee754/e_exp10l.c: Likewise.
897 1998-06-26 Ulrich Drepper <drepper@cygnus.com>
899 * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code.
901 1998-06-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
903 * nis/nis_call.c: Don't copy server structure.
904 * nis/nis_intern.h: Remove unused entries.
905 * nis/nis_table.c: Rewrite __create_ib_request.
907 1998-06-26 14:37 Ulrich Drepper <drepper@cygnus.com>
909 * configure.in: Check for -fexceptions.
910 * config.make.in: Define exceptions, not no-exceptions.
911 * misc/sys/cdefs.h: Define __PMT. When using modern g++ define
913 * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
915 * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
916 * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
917 lfind, and lsearch prototpypes.
918 * stdlib/stdlib.h: Likewise for bsearch and qsort.
920 1998-06-26 Ulrich Drepper <drepper@cygnus.com>
922 * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.
924 1998-06-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
926 * Makefile (remove-old-headers): Make phony.
928 * configure.in: Substitute @old_glibc_headers@.
930 1998-06-26 Ulrich Drepper <drepper@cygnus.com>
932 * libc.map: Remove __libc_uid.
934 1998-06-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
936 * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
939 1998-06-26 Ulrich Drepper <drepper@cygnus.com>
941 * libc.map: Add Alpha-specific io function from protected namespace.
943 1998-06-25 19:26 Ulrich Drepper <drepper@cygnus.com>
945 * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
946 * locale/Makefile: Define locale-CPPFLAGS instead of redefining
949 * libc.map: Export __sigaction.
951 1998-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
953 * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
954 (from Linux 2.1.107).
956 1998-06-24 Ulrich Drepper <drepper@cygnus.com>
958 * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
959 position when file was opened here.
960 Reported by Howard Chu <hyc@platinum.com>.
962 * sysdeps/generic/glob.c: Also protect FNM_* macros from being
963 undefined in a second inclusion.
965 1998-06-20 Mark Kettenis <kettenis@phys.uva.nl>
967 * sysdeps/mach/hurd/i386/Makefile: New file.
968 * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
970 (_hurd_stack_setup): Renamed
971 from __libc_init_first.
972 (__libc_init_first): New function.
973 * sysdeps/mach/hurd/i386/static-start.S: New file.
975 1998-05-30 Mark Kettenis <kettenis@phys.uva.nl>
977 * sysdeps/mach/hurd/i386/init-first.c
979 1998-06-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
981 * grp/initgroups.c: Use _CALL_DL_FCT.
983 1998-06-23 Mark Kettenis <kettenis@phys.uva.nl>
985 * elf/rtld.c (process_dl_debug): Add missing continue.
987 1998-06-23 Mark Kettenis <kettenis@phys.uva.nl>
989 * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
991 1998-06-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
993 * manual/terminal.texi (Pseudo-Terminals): Correct typos.
995 1998-06-23 Ulrich Drepper <drepper@cygnus.com>
997 * config.make.in: Remove LDAP support.
998 * nss/Makefile: Likewise.
1000 1998-06-22 17:02 Ulrich Drepper <drepper@cygnus.com>
1002 * sysdeps/generic/enbl-secure.c: Don't use __libc_uid.
1003 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1004 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1005 * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid.
1007 1998-06-02 Gordon Matzigkeit <gord@profitpress.com>
1009 * mach/Makefile: Change `mv' invocations to `mv -f'.
1010 * mach/Machrules: Likewise.
1012 1998-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1014 * config.make.in (old-glibc-headers): Add it.
1016 * configure.in: Add test for glibc 2.0.x headers.
1018 * Makefile (headers2_0): New variable - contains so far only
1019 Linux/Intel glibc 2.0.x headers.
1020 (remove-old-headers): New rule to remove headers from glibc 2.0.x.
1021 (install): Depend on remove-old-headers.
1023 1998-06-19 Mark Kettenis <kettenis@phys.uva.nl>
1025 * sysdeps/generic/ftruncate.c: Define function as __ftruncate and
1026 make ftruncate a weak alias.
1027 * sysdeps/mach/hurd/ftruncate.c: Really define function as
1029 * sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
1030 (truncate): Fix function defenition to match prototype.
1032 1998-06-20 Mark Kettenis <kettenis@phys.uva.nl>
1034 * manual/terminal.texi: Document ttyname_r, getpt, grantpt,
1035 unlockpt, ptsname, ptsname_r, openpty and forkpty.
1037 1998-06-22 Ulrich Drepper <drepper@cygnus.com>
1039 * sysdeps/generic/glob.c: Make it possible to include glob.h
1040 before loading glob.c.
1041 Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
1043 1998-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1045 * nscd/connections.c: Use poll() instead of select().
1047 1998-06-22 14:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1049 * sysdeps/generic/Dist: Fix typo.
1051 1998-06-20 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1053 * nis/nis_add.c: Avoid unnecessary strlen () calls.
1054 * nis/nis_addmember.c: Likewise.
1055 * nis/nis_call.c: Likewise.
1056 * nis/nis_creategroup.c: Likewise.
1057 * nis/nis_destroygroup.c: Likewise.
1058 * nis/nis_findserv.c: Likewise.
1059 * nis/nis_ismember.c: Likewise.
1060 * nis/nis_print.c: Likewise.
1061 * nis/nis_print_group_entry.c: Likewise.
1062 * nis/nis_removemember.c: Likewise.
1063 * nis/nis_verifygroup.c: Likewise.
1064 * nis/ypclnt.c: Likewise.
1066 * nis/nis_file.c: Close file handles.
1068 * nis/nis_callback.c: Fix typo.
1070 1998-06-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1072 * nis/Makefile: Add nis-initgroups and compat-initgroups.
1073 * nis/libnss_compat.map: Add _nss_compat_initgroups.
1074 * nis/libnss_nis.map: Add _nss_nis_initgroups.
1075 * nis/nss_compat/compat-initgroups.c: New, faster then getgrent().
1076 * nis/nss_nis/nis-initgroups.c: Likewise.
1077 * libc-work/nss/nsswitch.c: Rename nss_lookup_function to
1078 __nss_lookup_function and make it public.
1079 * grp/initgroups.c: Rewrite, to use initgroups function from NSS
1080 module if exists, else use old method.
1082 1998-06-19 Ulrich Drepper <drepper@cygnus.com>
1084 * nss/getXXbyYY_r.c (lookup_function): Correct return in type
1086 * nss/getXXent_r.c (set_function, end_function, get_function):
1087 Likewise. Reported by Thorsten Kukuk.
1089 * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous.
1091 1998-06-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1093 * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from
1094 1998-06-16 and distribute kernel_termios.h.
1096 * nis/Makefile (distribute): Add nis_xdr.h.
1098 1998-06-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1100 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for
1101 kernels that don't have sigaltstack.
1103 1998-06-19 Ulrich Drepper <drepper@cygnus.com>
1105 * sysdeps/generic/bits/sem.h: Don't define union semun.
1107 * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo.
1109 * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition
1111 * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge
1114 1998-06-18 21:45 Ulrich Drepper <drepper@cygnus.com>
1116 * signal/signal.h: Add prototype for __sigaltstack.
1117 * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name.
1118 Remove sigstack entry.
1119 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here.
1120 * sysdeps/unix/sysv/linux/sigstack.c: New file.
1122 * sysdeps/i386/backtrace.c: Add casts.
1124 1998-06-18 19:49 Ulrich Drepper <drepper@cygnus.com>
1126 * intl/dcgettext.c: use complete type name.
1127 * intl/hash-string.h: Likewise.
1129 * intl/localealias.c: Undo patch from 1998-04-29.
1130 * intl/l10nflist.c: Likewise.
1131 * intl/loadinfo.h: Likewise.
1133 1998-06-18 Ulrich Drepper <drepper@cygnus.com>
1135 * sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
1137 1998-06-18 16:40 Ulrich Drepper <drepper@cygnus.com>
1139 * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
1140 _dl_mcount, _dl_mcount_wrapper.
1141 * elf/Makefile (routines): Add dl-profstub.
1142 * elf/dl-profstub.c: New file.
1143 * elf/dl-support.c: Don't define _dl_profile_map.
1144 * elf/rtld.c: Likewise.
1145 * elf/dlfcn.h: Define DL_CALL_FCT macro.
1146 * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper.
1147 Define _CALL_DL_FCT.
1148 * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically
1150 * iconv/gconv_db.c: Likewise.
1151 * iconv/skeleton.c: Likewise.
1152 * nss/getXXbyYY_r.c: Likewise.
1153 * nss/getXXent_r.c: Likewise.
1154 * nss/nsswitch.c: Likewise.
1156 1998-06-18 12:29 Ulrich Drepper <drepper@cygnus.com>
1158 * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling.
1159 * sysdeps/libm-i387/e_scalbf.S: Likewise.
1160 * sysdeps/libm-i387/e_scalbl.S: Likewise.
1162 1998-06-18 Ulrich Drepper <drepper@cygnus.com>
1164 * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate
1167 1998-06-18 10:26 Ulrich Drepper <drepper@cygnus.com>
1169 * iconvdata/Makefile (modules): Add MACINTOSH.
1170 (MACINTOSH-routines): New variable.
1171 (distribute): Add macintosh.c.
1172 (awk-generated-headers): Add macintosh.h.
1173 Add rule for macintosh.h generation.
1174 * iconvdata/gconv-modules: Add definitions for MACINTOSH.
1175 * iconvdata/macintosh.c: New file.
1177 1998-06-17 Ulrich Drepper <drepper@cygnus.com>
1179 * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers.
1181 * stdlib/strtod.c (str_to_mpn): Fix extending of n array which
1182 only should happen for cy != 0.
1184 * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before
1187 1998-06-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1189 * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it
1190 to compare stack addresses.
1192 1998-06-17 Ulrich Drepper <drepper@cygnus.com>
1194 * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before
1195 defining prototypes.
1197 1998-06-16 David S. Miller <davem@dm.cobaltmicro.com>
1199 * sysdeps/sparc/sparc32/dl-machine.h
1200 (elf_machine_fixup_plt): During rtld bootstrap, always perform
1201 flushes as the kernel will emulate it when the underlying cpu does
1202 not implement flush.
1204 * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
1205 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.
1207 * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
1208 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
1211 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
1212 (__clone): Branch to label .Lerror not __clone_syscall_error.
1213 (.Lerror): Fixup EINVAL setting.
1214 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
1215 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
1216 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1217 (__syscall_getgroups, __syscall_setgroups): Add.
1219 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1220 (__sigaction): Member name is k_sa_handler. Use memcpy to copy
1221 around sa_mask data.
1223 1998-06-16 Ulrich Drepper <drepper@cygnus.com>
1225 * math/math.h: Include bits/nan.h when compiling for ISO C 9x.
1227 * string/Makefile: Make sure test-ffs does not use builtins.
1229 1998-06-16 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1231 * sunrpc/svc.c: Check for NULL pointer.
1233 * nis/libnsl.map: Add public NIS+ xdr functions.
1235 * nis/rpcsvc/nis_callback.h: New file.
1236 * nis/rpcsvc/nis.h: Move xdr_* functions from here ...
1237 * nis/nis_xdr.h: ... here.
1239 * nis/nis_add.c: Use internal _xdr_* functions, check for NULL
1240 pointers, use NIS+ defines where possible.
1241 * nis/nis_cache.c: Likewise.
1242 * nis/nis_cache2_xdr.c: Likewise.
1243 * nis/nis_call.c: Likewise.
1244 * nis/nis_checkpoint.c: Likewise.
1245 * nis/nis_clone_dir.c: Likewise.
1246 * nis/nis_clone_obj.c: Likewise.
1247 * nis/nis_clone_res.c: Likewise.
1248 * nis/nis_creategroup.c: Likewise.
1249 * nis/nis_file.c: Likewise.
1250 * nis/nis_free.c: Likewise.
1251 * nis/nis_getservlist.c: Likewise.
1252 * nis/nis_local_names.c: likewise.
1253 * nis/nis_lookup.c: Likewise.
1254 * nis/nis_mkdir.c: Likewise.
1255 * nis/nis_modify.c: Likewise.
1256 * nis/nis_ping.c: Likewise.
1257 * nis/nis_print.c: Likewise.
1258 * nis/nis_remove.c: Likewise.
1259 * nis/nis_removemember.c: Likewise.
1260 * nis/nis_rmdir.c: Likewise.
1261 * nis/nis_server.c: Likewise.
1262 * nis/nis_table.c: Likewise.
1263 * nis/nis_util.c: Likewise.
1264 * nis/nis_verifygroup.c: Likewise.
1265 * nis/nis_xdr.c: Likewise.
1266 * nis/nis_callback.c: Likewise, and move xdr functions from here ...
1267 * nis/nis_xdr.c: ... to here.
1269 1998-06-15 18:07 Ulrich Drepper <drepper@cygnus.com>
1271 * iconvdata/ksc5601.h: Clean up a bit.
1273 1998-06-15 14:35 Ulrich Drepper <drepper@cygnus.com>
1275 * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections
1276 and process incoming data.
1277 * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length
1278 fragments as invalid.
1279 Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
1281 1998-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1283 Removal of duplicates like "the the".
1284 * manual/time.texi (TZ Variable): Likewise.
1285 * manual/users.texi (Manipulating the Database): Likewise.
1286 * manual/sysinfo.texi (Filesystem handling): Likewise.
1287 * manual/signal.texi (Signaling Yourself): Likewise.
1288 * manual/message.texi (Message Translation): Likewise.
1289 (Common Usage): Likewise.
1290 * manual/llio.texi: Likewise.
1291 * manual/arith.texi (Old-style number conversion): Likewise.
1292 * manual/argp.texi (Argp): Likewise.
1293 (Argp Parsers): Likewise.
1294 (Argp Help Filtering): Likewise.
1296 * hesiod/README.hesiod: Correct typo.
1298 * manual/llio.texi: Correct typos.
1299 * manual/sysinfo.texi: Likewise.
1301 1998-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1303 * rt/aio.h: Rename __op to __operation for g++.
1305 1998-06-13 20:17 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1307 * iconvdata/gen-8bit-gap.sh: Use awk not perl. Clean up sed
1309 * iconvdata/gen-8bit-gap-1.sh: Likewise.
1310 * iconvdata/gen-8bit.sh: Clean up sed script.
1312 * iconvdata/Makefile: Remove all PERL conditionals; build all
1313 the modules all the time. Export AWK.
1314 (gen-8bit-gap): Delete setting of PERL.
1315 (gen-8bit-gap-1): Likewise.
1316 (perl-generated-headers): Renamed awk-generated-headers.
1318 * iconvdata/gap.pl: Removed.
1319 * iconvdata/gaptab.pl: Removed.
1320 * iconvdata/gap.awk: New file.
1321 * iconvdata/gaptab.awk: New file.
1323 1998-06-15 Ulrich Drepper <drepper@cygnus.com>
1325 * sysdeps/generic/Dist: Add errno-loc.c.
1327 * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the
1330 1998-06-14 14:21 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1332 * stdio-common/bug12.c: New test for fread()/fseek().
1333 * stdio-common/Makefile (tests): Add bug12.
1335 1998-06-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1337 * sysdeps/generic/elf/backtracesyms.c: Make array elements
1339 * sysdeps/generic/backtracesyms.c: Likewise. Fix type of RESULT.
1340 * debug/execinfo.h: Update declaration.
1342 1998-06-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1344 * sysdeps/generic/elf/backtracesyms.c: Make array elements constant.
1345 * sysdeps/generic/backtracesyms.c: Likewise. Fix type of RESULT.
1346 * debug/execinfo.h: Update declaration.
1348 1998-06-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1350 * manual/llio.texi: Fix spelling.
1351 * manual/sysinfo.texi: Fix spelling.
1353 1998-06-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1355 * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak
1356 alias for old name. Put this on __libc_subfreeres.
1357 * misc/search.h: Declare it.
1359 1998-06-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1361 * string/bits/string2.h (strcmp): Add missing parens around macro
1364 1998-06-12 23:34 Ulrich Drepper <drepper@cygnus.com>
1366 * manual/arith.texi: Fix problem with @math and texinfo.tex.
1368 * manual/filesys.texi: Document LFS functions.
1369 * manual/llio.texi: Likewise.
1370 * manual/stdio.texi: Likewise.
1371 * manual/time.texi: Likewise.
1373 * manual/llio.texi: Document AIO functions.
1375 * resource/sys/resource.h: Mark second argument of setrlimit as const.
1376 * sysdeps/generic/setrlimit.c: Likewise.
1377 * sysdeps/generic/setrlimit64.c: Likewise.
1378 * sysdeps/mach/hurd/setrlimit.c: Likewise.
1379 * sysdeps/unix/sysv/setrlimit.c: Likewise.
1381 1998-06-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1383 * sysdeps/generic/getenv.c: Fix last change.
1385 1998-06-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1387 * sysdeps/generic/backtrace.c: Provide generic implementation.
1389 1998-06-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1391 * configure.in: Give visual feedback of the default directories we
1394 1998-06-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1396 * io/fts.c (fts_build): Define oflag only if needed.
1398 1998-06-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1400 * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment.
1402 1998-06-11 Ulrich Drepper <drepper@cygnus.com>
1404 * libc.map: Don't export argp's fmtstream handling functions.
1406 * manual/sysinfo.texi: Document fstab and mtab handling functions.
1407 * manual/llio.texi: Document more LFS functions and start documenting
1410 1998-06-03 03:09 Geoff Keating <geoffk@ozemail.com.au>
1412 * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll().
1413 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1414 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1415 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1417 1998-06-03 03:09 Geoff Keating <geoffk@ozemail.com.au>
1419 * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this
1420 makes it easier to undump emacs.
1421 * sysdeps/powerpc/bits/endian.h: Use more informative error message
1422 for when the endianness can't be determined.
1424 1998-06-04 13:19 Geoff Keating <geoffk@ozemail.com.au>
1426 * nss/Makefile: Add files publickey database support.
1427 * nss/libnss_files.map: Export the required functions.
1428 * nss/nss_files/files-key.c: Implement it.
1429 * sunrpc/rpc/auth_des.h: Correct typos in comments.
1431 1998-06-10 Ulrich Drepper <drepper@cygnus.com>
1433 * iconv/gconv_builtin.h: Add aliases for CORBA.
1434 * iconvdata/gconv-modules: Likewise.
1436 1998-06-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1438 * math/libm-test.c (main): Call exp10_test.
1439 (exp10_test): New function which tests exp10.
1441 1998-06-10 Ulrich Drepper <drepper@cygnus.com>
1443 * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and
1446 * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of
1447 SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ.
1448 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file.
1450 1998-06-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1452 * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address
1453 in the variable, not its GOT slot.
1455 1998-06-10 10:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1457 * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as
1459 * sysdeps/m68k/fpu/e_exp10.c: New file.
1460 * sysdeps/m68k/fpu/e_exp10f.c: New file.
1461 * sysdeps/m68k/fpu/e_exp10l.c: New file.
1463 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
1464 _dl_profile_map only if the name matches.
1465 (_dl_start_user): Remember stack address.
1466 * sysdeps/m68k/elf/start.S: Pass new argument to
1469 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
1471 (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
1472 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
1473 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1474 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1475 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
1477 1998-06-09 18:16 Ulrich Drepper <drepper@cygnus.com>
1479 * math/Makefile (libm-calls): Add w_exp10 and e_exp10.
1480 * math/libm.map: Add exp10{,f,l} and pow10{,f,l}.
1481 * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}.
1482 * math/bits/mathcalls.h: Add definitions for exp10 and pow10
1484 * sysdeps/libm-i387/e_exp10.S: New file.
1485 * sysdeps/libm-i387/e_exp10f.S: New file.
1486 * sysdeps/libm-i387/e_exp10l.S: New file.
1487 * sysdeps/libm-ieee754/e_exp10.c: New file.
1488 * sysdeps/libm-ieee754/e_exp10f.c: New file.
1489 * sysdeps/libm-ieee754/e_exp10l.c: New file.
1490 * sysdeps/libm-ieee754/w_exp10.c: New file.
1491 * sysdeps/libm-ieee754/w_exp10f.c: New file.
1492 * sysdeps/libm-ieee754/w_exp10l.c: New file.
1493 * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10.
1495 1998-05-25 22:18 H.J. Lu <hjl@gnu.org>
1497 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add
1498 sys/elf.h and sys/reg.h.
1499 * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file.
1500 * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file.
1501 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file.
1502 * sysdeps/unix/sysv/linux/i386/sys/user.h: New file.
1504 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS,
1505 PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added.
1507 1998-06-09 Ulrich Drepper <drepper@cygnus.com>
1509 * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define
1510 __data member only for gcc. Reported by ak@muc.de.
1512 * misc/mntent.h: Undo last patch.
1513 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch.
1514 * misc/tst/mntent.c: Adjust code for this change.
1516 * io/fts.c: Updated from a slightly more recent BSD version.
1517 * io/fts.h: Likewise.
1519 * libc.map: Add __libc_stack_end.
1521 * db2/Makefile (routines): Add lock_region.
1522 * db2/config.h: Update from db-2.4.14.
1523 * db2/db.h: Likewise.
1524 * db2/db_185.h: Likewise.
1525 * db2/db_int.h: Likewise.
1526 * db2/btree/bt_close.c: Likewise.
1527 * db2/btree/bt_compare.c: Likewise.
1528 * db2/btree/bt_conv.c: Likewise.
1529 * db2/btree/bt_cursor.c: Likewise.
1530 * db2/btree/bt_delete.c: Likewise.
1531 * db2/btree/bt_open.c: Likewise.
1532 * db2/btree/bt_page.c: Likewise.
1533 * db2/btree/bt_put.c: Likewise.
1534 * db2/btree/bt_rec.c: Likewise.
1535 * db2/btree/bt_recno.c: Likewise.
1536 * db2/btree/bt_rsearch.c: Likewise.
1537 * db2/btree/bt_search.c: Likewise.
1538 * db2/btree/bt_split.c: Likewise.
1539 * db2/btree/bt_stat.c: Likewise.
1540 * db2/btree/btree.src: Likewise.
1541 * db2/btree/btree_auto.c: Likewise.
1542 * db2/clib/getlong.c: Likewise.
1543 * db2/common/db_appinit.c: Likewise.
1544 * db2/common/db_apprec.c: Likewise.
1545 * db2/common/db_byteorder.c: Likewise.
1546 * db2/common/db_err.c: Likewise.
1547 * db2/common/db_log2.c: Likewise.
1548 * db2/common/db_region.c: Likewise.
1549 * db2/common/db_salloc.c: Likewise.
1550 * db2/common/db_shash.c: Likewise.
1551 * db2/db/db.c: Likewise.
1552 * db2/db/db.src: Likewise.
1553 * db2/db/db_auto.c: Likewise.
1554 * db2/db/db_conv.c: Likewise.
1555 * db2/db/db_dispatch.c: Likewise.
1556 * db2/db/db_dup.c: Likewise.
1557 * db2/db/db_overflow.c: Likewise.
1558 * db2/db/db_pr.c: Likewise.
1559 * db2/db/db_rec.c: Likewise.
1560 * db2/db/db_ret.c: Likewise.
1561 * db2/db/db_thread.c: Likewise.
1562 * db2/db185/db185.c: Likewise.
1563 * db2/db185/db185_int.h: Likewise.
1564 * db2/dbm/dbm.c: Likewise.
1565 * db2/hash/hash.c: Likewise.
1566 * db2/hash/hash.src: Likewise.
1567 * db2/hash/hash_auto.c: Likewise.
1568 * db2/hash/hash_conv.c: Likewise.
1569 * db2/hash/hash_debug.c: Likewise.
1570 * db2/hash/hash_dup.c: Likewise.
1571 * db2/hash/hash_func.c: Likewise.
1572 * db2/hash/hash_page.c: Likewise.
1573 * db2/hash/hash_rec.c: Likewise.
1574 * db2/hash/hash_stat.c: Likewise.
1575 * db2/include/btree.h: Likewise.
1576 * db2/include/btree_ext.h: Likewise.
1577 * db2/include/clib_ext.h: Likewise.
1578 * db2/include/common_ext.h: Likewise.
1579 * db2/include/cxx_int.h: Likewise.
1580 * db2/include/db.h.src: Likewise.
1581 * db2/include/db_185.h.src: Likewise.
1582 * db2/include/db_am.h: Likewise.
1583 * db2/include/db_auto.h: Likewise.
1584 * db2/include/db_cxx.h: Likewise.
1585 * db2/include/db_dispatch.h: Likewise.
1586 * db2/include/db_ext.h: Likewise.
1587 * db2/include/db_int.h.src: Likewise.
1588 * db2/include/db_page.h: Likewise.
1589 * db2/include/db_shash.h: Likewise.
1590 * db2/include/db_swap.h: Likewise.
1591 * db2/include/hash.h: Likewise.
1592 * db2/include/hash_ext.h: Likewise.
1593 * db2/include/lock.h: Likewise.
1594 * db2/include/lock_ext.h: Likewise.
1595 * db2/include/log.h: Likewise.
1596 * db2/include/log_ext.h: Likewise.
1597 * db2/include/mp.h: Likewise.
1598 * db2/include/mp_ext.h: Likewise.
1599 * db2/include/mutex_ext.h: Likewise.
1600 * db2/include/os_ext.h: Likewise.
1601 * db2/include/os_func.h: Likewise.
1602 * db2/include/queue.h: Likewise.
1603 * db2/include/shqueue.h: Likewise.
1604 * db2/include/txn.h: Likewise.
1605 * db2/lock/lock.c: Likewise.
1606 * db2/lock/lock_conflict.c: Likewise.
1607 * db2/lock/lock_deadlock.c: Likewise.
1608 * db2/lock/lock_region.c: Likewise.
1609 * db2/lock/lock_util.c: Likewise.
1610 * db2/log/log.c: Likewise.
1611 * db2/log/log.src: Likewise.
1612 * db2/log/log_archive.c: Likewise.
1613 * db2/log/log_auto.c: Likewise.
1614 * db2/log/log_compare.c: Likewise.
1615 * db2/log/log_findckp.c: Likewise.
1616 * db2/log/log_get.c: Likewise.
1617 * db2/log/log_put.c: Likewise.
1618 * db2/log/log_rec.c: Likewise.
1619 * db2/log/log_register.c: Likewise.
1620 * db2/mp/mp_bh.c: Likewise.
1621 * db2/mp/mp_fget.c: Likewise.
1622 * db2/mp/mp_fopen.c: Likewise.
1623 * db2/mp/mp_fput.c: Likewise.
1624 * db2/mp/mp_fset.c: Likewise.
1625 * db2/mp/mp_open.c: Likewise.
1626 * db2/mp/mp_pr.c: Likewise.
1627 * db2/mp/mp_region.c: Likewise.
1628 * db2/mp/mp_sync.c: Likewise.
1629 * db2/mutex/68020.gcc: Likewise.
1630 * db2/mutex/mutex.c: Likewise.
1631 * db2/mutex/parisc.gcc: Likewise.
1632 * db2/mutex/parisc.hp: Likewise.
1633 * db2/mutex/sco.cc: Likewise.
1634 * db2/os/os_abs.c: Likewise.
1635 * db2/os/os_alloc.c: Likewise.
1636 * db2/os/os_config.c: Likewise.
1637 * db2/os/os_dir.c: Likewise.
1638 * db2/os/os_fid.c: Likewise.
1639 * db2/os/os_fsync.c: Likewise.
1640 * db2/os/os_map.c: Likewise.
1641 * db2/os/os_oflags.c: Likewise.
1642 * db2/os/os_open.c: Likewise.
1643 * db2/os/os_rpath.c: Likewise.
1644 * db2/os/os_rw.c: Likewise.
1645 * db2/os/os_seek.c: Likewise.
1646 * db2/os/os_sleep.c: Likewise.
1647 * db2/os/os_spin.c: Likewise.
1648 * db2/os/os_stat.c: Likewise.
1649 * db2/os/os_unlink.c: Likewise.
1650 * db2/progs/db_archive/db_archive.c: Likewise.
1651 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
1652 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
1653 * db2/progs/db_dump/db_dump.c: Likewise.
1654 * db2/progs/db_dump185/db_dump185.c: Likewise.
1655 * db2/progs/db_load/db_load.c: Likewise.
1656 * db2/progs/db_printlog/db_printlog.c: Likewise.
1657 * db2/progs/db_recover/db_recover.c: Likewise.
1658 * db2/progs/db_stat/db_stat.c: Likewise.
1659 * db2/txn/txn.c: Likewise.
1660 * db2/txn/txn.src: Likewise.
1661 * db2/txn/txn_auto.c: Likewise.
1662 * db2/txn/txn_rec.c: Likewise.
1664 * elf/rtld.c: Move definition of __libc_stack_end to ...
1665 * sysdeps/generic/dl-sysdep.h: ...here.
1667 * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option.
1668 * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME.
1669 * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME.
1671 * sysdeps/generic/libc-start.c: Always set __libc_stack_end.
1672 * sysdeps/i386/backtrace.c: Test whether frame pointer is legal
1673 before following it.
1675 1998-06-08 21:44 Ulrich Drepper <drepper@cygnus.com>
1677 * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string
1678 from mntent correctly.
1680 1998-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1682 * sunrpc/Makefile (generated): Correct typo.
1684 1998-06-04 Philip Blundell <philb@gnu.org>
1686 * elf/elf.h (EM_ARM, et al.): New definitions.
1687 * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI.
1689 1998-06-08 21:33 Ulrich Drepper <drepper@cygnus.com>
1691 * localedata/SUPPORTED: Add sk_SK.
1692 * localedata/locales/sk_SK: New file.
1694 1998-06-08 18:57 Ulrich Drepper <drepper@cygnus.com>
1696 * Makeconfig (subdirs): Add debug.
1697 * configure.in: Use sysdeps/generic/elf subdir if ELF platform.
1698 * libc.map: Add __backtrace, __backtrace_symbols, backtrace and
1700 * sysdeps/generic/backtrace.c: New file.
1701 * sysdeps/generic/backtracesyms.c: New file.
1702 * sysdeps/generic/elf/backtracesyms.c: New file.
1703 * sysdeps/i386/backtrace.c: New file.
1704 * debug/Makefile: New file.
1705 * debug/backtrace-tst.c: New file.
1706 * debug/execinfo.h: New file.
1708 1998-06-08 13:34 Ulrich Drepper <drepper@cygnus.com>
1710 * elf/sprof.c: Implement call graph profiling.
1712 * sysdeps/generic/getenv.c: Optimize to use strncmp less often.
1714 1998-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1716 * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix.
1717 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
1718 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1719 Noticed by Jake Garver <garver@valkyrie.net>.
1721 1998-06-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1723 * libio/genops.c (__underflow): Read character from read pointer
1725 (__uflow): Likewise.
1727 1998-06-07 13:32 Ulrich Drepper <drepper@cygnus.com>
1729 * libc.map: Add _dl_profile.
1730 * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass
1731 this to ELF_DYNAMIC_RELOCATE.
1732 Always allocate array for relocation result if LD_PROFILE is defined.
1733 * elf/ldsodefs.h: Adjust prototypes.
1734 * elf/dl-open.c (_dl_open): Call relocation function with extra
1736 * elf/rtld.c: Likewise.
1737 * elf/dl-profile.c (_dl_mcount): Don't mark as internal function.
1738 Correct loop condition.
1739 * elf/dynamic-link.h: Don't examine _dl_profile variable, pass
1740 consider_profile to runtime setup function.
1741 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use
1742 _dl_runtime_profile for all shared objects if LD_PROFILE is defined.
1744 * elf/dl-support.c: Define __libc_stack_end.
1745 * elf/rtld.c: Likewise.
1746 * sysdeps/generic/libc-start.c: Store last stack address in
1748 * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address.
1749 * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument.
1751 * elf/elf.h: Include <features.h>, not <sys/cdefs.h>.
1752 Include <stdint.h>, not <inttypes.h>.
1754 * elf/sprof.c: Implement flat profiling.
1756 * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call
1757 _IO_funlockfile explicitly.
1758 * libio/fileops.c: Likewise.
1759 * libio/fputc.c: Likewise.
1760 * libio/freopen.c: Likewise.
1761 * libio/freopen64.c: Likewise.
1762 * libio/fseek.c: Likewise.
1763 * libio/fseeko.c: Likewise.
1764 * libio/fseeko64.c: Likewise.
1765 * libio/ftello.c: Likewise.
1766 * libio/ftello64.c: Likewise.
1767 * libio/getc.c: Likewise.
1768 * libio/getchar.c: Likewise.
1769 * libio/iofclose.c: Likewise.
1770 * libio/iofflush.c: Likewise.
1771 * libio/iofgetpos.c: Likewise.
1772 * libio/iofgetpos64.c: Likewise.
1773 * libio/iofgets.c: Likewise.
1774 * libio/iofputs.c: Likewise.
1775 * libio/iofread.c: Likewise.
1776 * libio/iofsetpos.c: Likewise.
1777 * libio/iofsetpos64.c: Likewise.
1778 * libio/ioftell.c: Likewise.
1779 * libio/iofwrite.c: Likewise.
1780 * libio/iogetdelim.c: Likewise.
1781 * libio/iogets.c: Likewise.
1782 * libio/ioputs.c: Likewise.
1783 * libio/ioseekoff.c: Likewise.
1784 * libio/ioseekpos.c: Likewise.
1785 * libio/iosetbuffer.c: Likewise.
1786 * libio/iosetvbuf.c: Likewise.
1787 * libio/ioungetc.c: Likewise.
1788 * libio/iovsprintf.c: Likewise.
1789 * libio/iovsscanf.c: Likewise.
1790 * libio/oldfileops.c: Likewise.
1791 * libio/oldiofclose.c: Likewise.
1792 * libio/peekc.c: Likewise.
1793 * libio/putc.c: Likewise.
1794 * libio/putchar.c: Likewise.
1795 * libio/rewind.c: Likewise.
1797 * malloc/mtrace.c: Pretty print.
1799 * misc/mntent.h (struct mentent): Make string elements const char *.
1801 * nis/nis_printf.c: Optimize I/O a little bit.
1803 * signal/Makefile (distribute): Add sigset-cvt-mask.h.
1804 * sysdeps/generic/sigset-cvt-mask.h: New file.
1805 * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file.
1806 * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file.
1807 * sysdeps/posix/sigvec.c: Rewrite the use definitions from
1808 sigset-cvt-mask.h to do the dirty work.
1809 Patches by Joe Keane.
1811 * sysdeps/posix/mkstemp.c: Save one precious byte of rodata.
1813 * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make
1814 syscall_error label in case of PIC anonymous.
1815 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
1816 * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change.
1817 * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change.
1818 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change.
1819 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change.
1820 * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change.
1821 * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change.
1823 1998-06-05 Ulrich Drepper <drepper@cygnus.com>
1825 * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since
1826 we cannot declare the struct element as const.
1827 * sunrpc/xdr_mem.c (xdrmem_create): Likewise.
1828 * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise.
1830 1998-06-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1832 * manual/Makefile: Include ../Makeconfig earlier.
1833 (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not
1835 (dir-add.texinfo): Remove useless $(SHELL).
1837 1998-06-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1839 * Makefile (others): Build programs from install-bin.
1840 * configure.in: Modify config.make only if is was just created and
1841 move that command to second argument of AC_OUTPUT. Add command to
1842 set config_vars in config.status.
1844 1998-06-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1846 * malloc/Makefile (address-width): Fix conditional.
1848 1998-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1850 * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext,
1851 putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax,
1852 strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with
1855 1998-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1857 * manual/lang.texi (Range of Type): Change @end table->@end vtable.
1858 (Floating Point Parameters): Likewise.
1860 1998-06-01 Gordon Matzigkeit <gord@profitpress.com>
1862 * hurd/Makefile (routines): Add cthreads.
1864 1998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
1866 * login/login.c (login): Let pututline take care of finding the
1867 positin to insert the UTMP entry. This corrects a bug where ssh
1868 was not reusing UTMP entries marked as DEAD_PROCESS.
1869 Reported by Herbert Xu <herbert@gondor.apana.org.au>.
1871 1998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
1873 * login/Makefile (tests): New variable, add tst-utmp and
1875 * login/tst-utmp.c: New file.
1876 * login/tst-utmpx.c: New file.
1878 1998-06-01 Gordon Matzigkeit <gord@profitpress.com>
1880 * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak
1881 aliases for _hurd_nerr, for programs that don't use sys_errlist,
1884 1998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
1886 * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx.
1887 * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1.
1889 1998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
1891 * sysdeps/mach/hurd/read.c: Rename function to __libc_read and
1892 make __read a weak alias. Use ANSI-style function definition.
1893 * sysdeps/mach/hurd/write.c: Likewise.
1895 1998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
1897 * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of
1900 1998-05-30 Mark Kettenis <kettenis@phys.uva.nl>
1902 * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os):
1903 Renamed from librtld.so.
1905 1998-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1907 * libc.map: Remove _IO_getline_info which was erroneously
1908 introduced in section GLIBC_2.0.
1909 Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
1911 1998-06-01 Gordon Matzigkeit <gord@profitpress.com>
1913 * sysdeps/generic/socket.c (__socket): Renamed from socket, and
1914 created a weak alias.
1915 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1917 1998-05-31 Gordon Matzigkeit <gord@profitpress.com>
1919 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
1920 ftruncate function, and create a weak alias to ftruncate.
1922 1998-06-01 Gordon Matzigkeit <gord@profitpress.com>
1924 * grp/fgetgrent_r.c: Use &errno instead of __errno_location ().
1925 * inet/getnetgrent_r.c: Likewise.
1926 * nss/getXXbyYY_r.c: Likewise.
1927 * nss/getXXent_r.c: Likewise.
1928 * pwd/fgetpwent_r.c: Likewise.
1929 * shadow/sgetspent_r.c: Likewise.
1930 * shadow/fgetspent_r.c: Likewise.
1931 * sunrpc/publickey.c: Likewise.
1933 1998-06-01 Gordon Matzigkeit <gord@profitpress.com>
1935 * hurd/libhurduser.map: New file.
1936 * mach/libmachuser.map: Likewise.
1938 * libc.map: Add Hurd-specific functions to version 2.1.
1939 Add __flshfp and __fillbf.
1941 1998-05-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1943 * manual/signal.texi (Basic Signal Handling): Fix typo.
1944 * manual/errno.texi (Error Codes): Likewise.
1946 1998-06-02 Ulrich Drepper <drepper@cygnus.com>
1948 * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h>
1949 instead of <sys/socket.h>.
1950 Patch by NIIBE Yutaka <gniibe@mri.co.jp>
1952 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS):
1953 Finally make it working.
1954 Patch by Mark Hatle <fray@kernel.crashing.org>.
1956 1998-03-22 Paul Eggert <eggert@twinsun.com>
1958 * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around
1961 1998-05-30 Philip Blundell <Philip.Blundell@pobox.com>
1963 * stdlib/gmp-impl.h: Support strange mixed-endian double format
1964 used by ARM systems.
1965 * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to
1967 * sysdeps/arm/bits/fenv.h: Deleted.
1968 * sysdeps/arm/fpu/ieee754.h: New file.
1969 * sysdeps/arm/gmp-mparam.h: New file.
1970 * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM
1973 1998-06-01 Ulrich Drepper <drepper@cygnus.com>
1975 * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
1977 * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
1978 of ((unused)). Reported by Bruno Haible.
1980 1998-05-31 Philip Blundell <philb@gnu.org>
1982 * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when
1983 referring to errno and _errno.
1985 * sysdeps/arm/fpu/feholdexcpt.c: New file.
1987 * sysdeps/i386/fpu_control.h: Fix typo.
1989 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support.
1990 (_JMPBUF_UNWINDS): Added.
1991 * sysdeps/arm/fpu/bits/setjmp.h: New file.
1993 1998-05-25 Gordon Matzigkeit <gord@profitpress.com>
1995 * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in
1996 order to build header files, not `generated'.
1998 * Rules (before-compile): New target which depends on all
1999 $(before-compile) files.
2001 1998-06-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2003 * nis/nis_call.c: Make directory search faster.
2005 * nis/nis_callback.c: Insert public key of user in callback data.
2007 * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
2009 * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
2011 * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
2013 * nis/nis_intern.h: Remove duplicated prototype.
2015 1998-06-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2017 * sunrpc/auth_des.c: Move prototypes from here ...
2018 * sunrpc/rpc/auth.h: ... to here.
2020 * sunrpc/clnt_tcp.c: Add more control flags.
2021 * sunrpc/clnt_udp.c: Likewise.
2023 * sunrpc/netname.c (host2netname): Remove prefixing dot from
2026 * sunrpc/rpc/clnt.h: Document, which control flags are not
2029 * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
2031 1998-05-29 Ulrich Drepper <drepper@cygnus.com>
2033 * locale/loadlocale.c (_nl_load_locale): Don't allow too small
2034 files crash the program.
2036 * io/Makefile: Don't run ftwtest-sh if cross-compiling.
2037 * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
2038 Reported by Deborah Wallach <kerr@pa.dec.com>.
2040 1998-05-28 00:53 Zack Weinberg <zack@rabi.phys.columbia.edu>
2042 * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
2043 on whether this is a stable release or not (keeps snapshot bug
2044 reports out of the database).
2046 * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
2047 * sysdeps/arm/sysdep.h: Likewise.
2048 * sysdeps/i386/sysdep.h: Likewise.
2049 * sysdeps/m68k/sysdep.h: Likewise.
2050 * sysdeps/mach/mips/sysdep.h: Likewise.
2051 * sysdeps/mach/sys/reboot.h: Likewise.
2052 * sysdeps/mach/sysdep.h: Likewise.
2053 * sysdeps/unix/alpha/sysdep.h: Likewise.
2054 * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
2055 * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
2056 * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
2057 * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
2058 * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
2059 * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
2060 * sysdeps/unix/i386/sysdep.h: Likewise.
2061 * sysdeps/unix/mips/sysdep.h: Likewise.
2062 * sysdeps/unix/sparc/sysdep.h: Likewise.
2063 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
2064 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2065 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2066 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2067 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
2068 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2069 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2070 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
2072 1998-05-27 Mark Kettenis <kettenis@phys.uva.nl>
2074 * mach/Machrules: Use $(move-if-change).
2076 1998-05-27 Mark Kettenis <kettenis@phys.uva.nl>
2078 * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
2079 * Makerules (lib%.so): Depend on $(+interp).
2080 (libc.so): Add interp.os to list of dependencies.
2081 (interp-obj): Remove variable.
2082 * mach/Machrules (+interp): Define to empty since libhurduser and
2083 libmachuser don't need to have the interpreter set.
2085 1998-05-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2087 * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
2089 * resolv/gethnamaddr.c: Likewise.
2091 * resolv/res_comp.c: Likewise.
2093 1998-05-28 Mark Kettenis <kettenis@phys.uva.nl>
2095 * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
2096 so that transparent union works.
2098 1998-05-29 08:58 Ulrich Drepper <drepper@cygnus.com>
2100 * manual/texinfo.tex: Update to last available version.
2102 * timezone/africa: Update from tzdata1998e.
2103 * timezone/antarctica: Likewise.
2104 * timezone/asia: Likewise.
2105 * timezone/australasia: Likewise.
2106 * timezone/europe: Likewise.
2107 * timezone/iso3166.tab: Likewise.
2108 * timezone/northamerica: Likewise.
2109 * timezone/tzselect.ksh: Likewise.
2110 * timezone/zone.tab: Likewise.
2112 1998-05-27 Ulrich Drepper <drepper@cygnus.com>
2114 * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
2115 Reported by Matt McLean <keys@brio.yikes.com>.
2117 1998-05-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2119 * catgets/Makefile ($(objpfx)de.cat): Renamed from
2120 do-gencat-test. Use automatic variables.
2121 ($(objpfx)de.msg): Fix reference to po file.
2123 1998-05-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2125 * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
2128 1998-05-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2130 * intl/dcgettext.c: Fix typo.
2132 1998-05-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2134 * configure.in: Allow more make versions e.g 3.76.90.
2136 1998-05-25 Ulrich Drepper <drepper@cygnus.com>
2138 * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
2140 * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
2141 for Hurd. Patch by Mark Kettenis.
2143 1998-04-18 Gordon Matzigkeit <gord@profitpress.com>
2145 * mach/Machrules (+preinit, +postinit): Define these variables to
2146 empty because libhurduser and libmachuser don't need startup
2149 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
2151 * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
2152 instead of a raw bitmask.
2154 1998-05-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2156 * Makeconfig (rpath-dirs): New variable.
2157 (rpath-link): Use it.
2158 (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
2159 (db-objpfx): Removed.
2160 * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
2161 * md5-crypt/Makefile: Likewise.
2162 * sysdeps/mach/hurd/Makefile: Likewise.
2164 * Makeconfig (move-if-change): New variable.
2165 * iconvdata/Makefile (move-if-change): Removed.
2166 * manual/Makefile (move-if-change): Set only if undefined, use
2167 local script by default.
2168 * sunrpc/Makefile (move-if-change): Removed.
2169 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
2172 * elf/Makefile: Remove all references to obsolete file
2174 ($(objpfx)trusted-dirs.h): Use stamp file. Cleanup command.
2176 1998-05-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2178 * elf/dl-close.c (_dl_close): Add debugging message.
2180 1998-05-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2182 * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
2183 to get Linux version and not gcc version.
2184 Reported by Alan Curry <pacman@cqc.com>.
2186 1998-05-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2188 * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
2189 pointers - return unknown error message instead.
2190 Reported by Alan Curry <pacman@cqc.com>.
2192 1998-05-24 Mark Kettenis <kettenis@phys.uva.nl>
2194 * iconvdata/Makefile (modules, sed-generated-headers,
2195 perl-generated-headers): ibm424.h is perl generated. Make
2196 necessary modifications to compile without perl.
2198 1998-05-24 Mark Kettenis <kettenis@phys.uva.nl>
2200 * hesiod/hesiod.c (read_config_file): Fix typo.
2202 1998-05-24 Ulrich Drepper <drepper@cygnus.com>
2204 * version.h: Bump VERSION.
2206 * csu/Makefile (distribute): Add munch-tmpl.c.
2208 1998-05-23 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2210 * nis/nis_defaults.c: Fix buffer problems and typos.
2212 1998-05-23 08:42 Ulrich Drepper <drepper@cygnus.com>
2214 * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
2217 1998-05-22 Ulrich Drepper <drepper@cygnus.com>
2219 * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
2222 * libio/strops.c (_IO_str_underflow): Read newly available
2223 character from buffer as unsigned.
2225 1998-05-22 10:56 Ulrich Drepper <drepper@cygnus.com>
2227 * catgets/Makefile (distribute): Add xopen-msg.h.
2228 (generated): Add de.msg and de.cat.
2229 (tests): Add do-gencat-test.
2230 (do-gencat-test): New goal. Run gencat on a generated msg file.
2231 * catgets/xopen-msg.h: New file.
2233 1998-05-22 Ulrich Drepper <drepper@cygnus.com>
2235 * catgets/open_catalog.c (__open_catalog): Use byteswap.h
2236 functions. Optimize filename creation a bit.
2238 1998-05-22 09:29 Ulrich Drepper <drepper@cygnus.com>
2240 * stdlib/random_r.c: Help gcc to optimize the code.
2241 Patch by Joe Keane <jgk@jgk.org>.
2243 1998-05-21 Ulrich Drepper <drepper@cygnus.com>
2245 * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
2248 1998-05-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2250 * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
2253 1998-05-21 15:27 Ulrich Drepper <drepper@cygnus.com>
2255 * wcsmbs/wcsnrtombs.c: Correct computation of result.
2256 * wcsmbs/wcsrtombs.c: Likewise.
2258 * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
2259 * wcsmbs/wcsmbs-tst1.c: New file.
2261 * iconv/loop.c (COUNT_CONVERTED): Correct computation.
2263 * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
2266 * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
2269 1998-05-21 Philip Blundell <philb@gnu.org>
2271 * sysdeps/arm/fpu_control.h: Replace stub file with real
2273 * sysdeps/arm/fpu/bits/fenv.h: New file.
2274 * sysdeps/arm/fpu/fesetround.c: Likewise.
2275 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
2276 * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
2277 * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
2278 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
2279 * sysdeps/arm/fpu/fegetenv.c: Likewise.
2280 * sysdeps/arm/fpu/fesetenv.c: Likewise.
2282 1998-05-21 16:34 Richard Henderson <rth@cygnus.com>
2284 * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
2285 read instead of mmap.
2287 1998-05-21 8:16 Richard Henderson <rth@cygnus.com>
2289 * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
2290 directly instead of include_next. Add missing semicolons.
2291 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
2292 Add missing semicolons.
2294 1998-05-21 Ulrich Drepper <drepper@cygnus.com>
2296 * iconvdata/gconv-modules: Add more aliases to please java
2299 1998-05-20 Ulrich Drepper <drepper@cygnus.com>
2301 * stdio-common/vfprintf.c (process_arg): Fix typo.
2303 * iconvdata/TESTS: New tests for EUC-KR.
2305 * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
2306 * iconvdata/testdata/EUC-KR: New file.
2308 1998-05-20 07:26 H.J. Lu <hjl@gnu.org>
2310 * math/libm-test.c (hypot_test): Fix a typo.
2312 1998-05-20 Ulrich Drepper <drepper@cygnus.com>
2314 * stdio-common/vfprintf.c: When precision is specified for %ls or
2315 %S handle it correctly.
2317 1998-05-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2319 * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
2320 the" in one line - fixed it.
2321 * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2322 * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2323 * posix/unistd.h: Likewise
2325 1998-05-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2327 * Makeconfig (rpath-link): Add resolvobjdir.
2328 (resolvobjdir): New variable.
2329 Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
2331 1998-05-20 09:36 Ulrich Drepper <drepper@cygnus.com>
2333 * elf/dl-close.c: Call shared object terminators at the right time.
2334 Patch by Philippe Troin <phil@fifi.org>.
2336 1998-05-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2338 * Make-dist (+tsrcs): Also add *.map for every member of
2341 * Makefile (distribute): Don't distribute scripts/printsources and
2342 scripts/=__ify. Distribute FAQ.in.
2343 (rpm/%): Don't pass subdirs to sub-make.
2345 * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
2346 instead of $(no_deps).
2348 1998-05-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2350 * sysdeps/generic/setenv.c: Protect against GNU C extension.
2351 (KNOWN_VALUE, STORE_VALUE): Do it right.
2352 (setenv): Remove unused variable.
2354 1998-05-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2356 * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
2357 (CFLAGS-zdump.c): Add $(tz-cflags).
2359 * timezone/zdump.c (abbr): Use TM_ZONE if defined. Add const to
2362 1998-05-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2364 * time/tzfile.c (__tzfile_compute): Undo last change. Instead
2365 take struct tm parameter and set tm_isdst, tm_zone and tm_offset
2367 * time/tzset.c: Update prototype of __tzfile_compute.
2368 (__tz_convert): Pass tp to __tzfile_compute. Don't set tm_isdst,
2369 tm_zone and tm_offset here if __use_tzfile.
2371 1998-05-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2373 * Makerules: Install libc.a even if there are no object file.
2375 1998-05-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2377 * Makerules (do-makelib): Don't force creating library from
2378 scratch, which is faster and gets correct behaviour if $(subdirs)
2381 1998-05-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2383 * Makerules (do-stamp): Make it work when building in source
2386 1998-05-20 00:10 Ulrich Drepper <drepper@cygnus.com>
2388 * elf/dl-load.c: Rename option and variable from ignore-rpath to
2390 * elf/dl-support.c: Likewise.
2391 * elf/ldsodefs.h: Likewise.
2392 * elf/rtld.c: Likewise.
2393 * iconvdata/run-iconv-test.sh: Likewise.
2395 1998-05-19 23:08 Ulrich Drepper <drepper@cygnus.com>
2397 * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
2398 variable using the value.
2399 * elf/ldsodefs.h: Declare _dl_ignore_path.
2400 * elf/dl-load.c (decompose_rpath): Compare name of handled shared
2401 object against list in _dl_ignore_path and ignore RPATH if on the list.
2402 * elf/dl-support.c: Define _dl_ignore_path for static binaries.
2403 * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
2404 to make sure we get the correct helper libraries loaded.
2406 * elf/dl-load.c (decompose_rpath): Remove `room' parameter. Use
2407 "RPATH" string in call to fillin_rpath instead.
2408 (_dl_init_paths): Remove this parameter from call to decompose_rpath.
2410 1998-05-19 Ulrich Drepper <drepper@cygnus.com>
2412 * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
2413 correctly. Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2415 1998-05-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2417 * manual/terminal.texi (I/O Queues): Fix typo.
2419 * manual/stdio.texi (Closing Streams): Fix grammar.
2421 * manual/arith.texi (Absolute Value): Correct typo.
2422 Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
2424 1998-05-19 15:58 Ulrich Drepper <drepper@cygnus.com>
2426 * elf/rtld.c (process_envvars): Fix typo. Don't handle
2427 LD_PROFILE_OUTPUT in SUID binaries.
2428 * intl/dcgettext.c: In SUID binaries don't let language part of
2429 locale value contain path elements.
2430 * intl/explodename.h: Define new function _nl_find_language.
2431 * intl/loadinfo.h: Declare _nl_find_language.
2432 * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
2433 language part it drop the value is path element is contained.
2435 * locale/setlocale.c: Fix typo.
2437 1998-05-18 Philip Blundell <Philip.Blundell@pobox.com>
2439 * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
2441 * sysdeps/arm/strlen.S: Support both big and little endian processors.
2443 * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
2444 log, not a byte-count.
2446 * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
2447 a.out compatibility.
2449 1998-05-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2451 * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
2452 * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2453 * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2454 * posix/unistd.h: Likewise.
2455 * math/math.h: Likewise.
2456 * manual/users.texi (Manipulating the Database): Likewise.
2457 * manual/signal.texi (Job Control Signals): Likewise.
2458 * manual/message.texi (The gencat program): Likewise.
2459 * manual/filesys.texi (Hard Links): Likewise.
2460 * manual/math.texi (SVID Random): Likewise.
2461 * manual/llio.texi (Waiting for I/O): Likewise.
2462 * manual/io.texi (File Name Errors): Likewise.
2463 * manual/conf.texi (String Parameters): Likewise.
2464 * manual/arith.texi (Infinity): Likewise.
2465 * malloc/malloc.c: Likewise.
2466 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2467 * csu/Makefile: Likewise.
2469 1998-05-19 12:16 Ulrich Drepper <drepper@cygnus.com>
2471 * manual/memory.texi: Add back accidently removed line.
2473 1998-04-25 Mark Kettenis <kettenis@phys.uva.nl>
2475 * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
2476 (timeout_handler): New function.
2477 (LOCK_FILE, UNLOCK_FILE): New macros.
2478 Implement file locking with timeout.
2479 (getutent_r_file, internal_getut_r, getutline_r_file,
2480 pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
2483 1998-05-18 11:38 Ulrich Drepper <drepper@cygnus.com>
2485 * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
2488 1998-05-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2490 * rpm/Makefile: Delete inclusion of version.mk.
2492 1998-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2494 * libc.map: Add all libio functions needed libstdc++ with version
2497 1998-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2499 * iconvdata/Makefile (generated): Add *.stmp files.
2501 1998-05-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2503 * timezone/Makefile (testdata, build-testdata): New variables, use
2504 them in rules for test data.
2505 ($(objpfx)tst-timezone.out): Depend on test data.
2506 ($(testdata)/Europe/Berlin, $(testdata)/Universal,
2507 $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
2508 New rules to build test data.
2509 (tst-timezone-ENV): Pass TZDIR to point to test data.
2511 1998-05-18 Ulrich Drepper <drepper@cygnus.com>
2513 * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
2514 (the designation sequence is disturbing).
2516 1998-05-17 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2518 * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
2519 * sunrpc/xdr_rec.c: Likewise.
2521 1998-05-15 Ulrich Drepper <drepper@cygnus.com>
2523 * posix/Makefile (tests): Add runptests.
2524 (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
2525 (before-compile): Add ptestcases.h.
2526 (ptestscases.h): Add rule to generate from PTESTS.
2527 * posix/runptests.c: New file.
2528 * posix/PTESTS: New file.
2529 * posix/PTESTS2C.sed: New file.
2531 1998-05-15 Ulrich Drepper <drepper@cygnus.com>
2533 * iconv/loop.c: Let user add code to use and set paramaters.
2535 * iconvdata/iso-2022-kr.c: Correct to-loop.
2537 * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
2538 point to output buffer.
2540 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
2543 * iconvdata/TESTS: Add ISO-2022-KR test.
2544 * iconvdata/testdata/ISO-2022-KR: New file.
2546 1998-05-15 21:07 Ulrich Drepper <drepper@cygnus.com>
2548 * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
2550 * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
2552 * wcsmbs/btowc.c: Likewise.
2553 * wcsmbs/mbrtowcs.c: Likewise.
2554 * wcsmbs/mbsnrtowcs.c: Likewise.
2555 * wcsmbs/mbsrtowcs.c: Likewise.
2556 * wcsmbs/wcrtomb.c: Likewise.
2557 * wcsmbs/wcsnrtombs.c: Likewise.
2558 * wcsmbs/wcsrtombs.c: Likewise.
2559 * wcsmbs/wctob.c: Likewise.
2560 * iconv/skeleton.c: Increment invocation_counter.
2561 * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
2564 * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
2565 * iconvdata/iso-2022-jp.c: Likewise.
2566 * iconvdata/iso646.c: Likewise.
2568 * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
2570 1998-05-15 Ulrich Drepper <drepper@cygnus.com>
2572 * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
2574 * sysdeps/generic/setenv.c (setenv): Remove optimization for
2575 overwriting existing values if it fits.
2577 1998-05-15 14:36 Ulrich Drepper <drepper@cygnus.com>
2579 * posix/wordexp-test.c: Avoid duplicate messages.
2581 * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
2582 tsearch. Correctly interpret values returned by those functions.
2583 (unsetenv): Store pointer to string, not pointer to string pointer.
2585 * time/tzfile.c (__tzfile_compute): Take new arguments. Store
2586 DST information and offset in them.
2587 * time/tzset.c (__tz_convert): Pass extra parameters to
2588 __tzfile_compute. Compute equivalent values for use of tz_rules.
2590 1998-05-15 00:49:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
2592 * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
2593 stamp files to avoid unnecessary recompilation.
2594 (gen-8bit-gap-table): Likewise.
2595 (move-if-change): New variable.
2596 (all generated .h rules): Change to be .stmp rules.
2597 (%.h): New rule; depend on %.stmp; no commands.
2598 (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
2601 1998-05-15 01:09 Zack Weinberg <zack@rabi.phys.columbia.edu>
2603 * Makerules (libc-map): Deleted.
2604 (load-map-file): Set to the appropriate compiler switch, not
2605 just the file name. If libfoo-map is not set, look for a
2606 libfoo.map in the current directory and $(..).
2607 (map-file): New variable, contains just the mapfile name.
2608 (build-shlib): Adjust for new value of load-map-file.
2609 (libc.so): Correct dependencies.
2611 * extra-lib.mk: Correct shlib dependencies since libfoo-map
2612 may not be set anymore.
2614 * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
2615 Delete libdl-map. Tweak ld.so link rule to work with changed
2616 variable settings in Makerules.
2617 * iconvdata/Makefile: Tweak build-module to work with changed
2618 variable settings in Makerules.
2620 * db/Makefile: Delete libdb-map.
2621 * hesiod/Makefile: Delete libnss_hesiod-map.
2622 * linuxthreads/Makefile: Delete libpthread-map.
2623 * locale/Makefile: Delete libBrokenLocale-map.
2624 * login/Makefile: Delete libutil-map.
2625 * math/Makefile: Delete libm-map.
2626 * md5-crypt/Makefile: Delete libcrypt-map.
2627 * nis/Makefile: Delete libnsl-map, libnss_nis-map,
2628 libnss_nisplus-map, and libnss_compat-map.
2629 * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
2631 * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
2632 * rt/Makefile: Delete librt-map.
2634 1998-05-15 01:06 Zack Weinberg <zack@rabi.phys.columbia.edu>
2636 * configure.in: Instead of substituting `yes' or `no' for whether
2637 --no-whole-archive is available, set @no_whole_archive@ to the
2638 appropriate gcc switch or the empty string. Likewise for
2640 * config.make.in: Replace have-no-whole-archive with
2641 no-whole-archive and have-no-exceptions with no-exceptions.
2642 * Makerules: Delete stanzas setting no-whole-archive and
2645 * sunrpc/Makefile: Use move-if-change to update generated .h
2648 1998-05-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2650 * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
2653 1998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2655 * time/tzfile.c (__tzfile_read): Remove unused variable info.
2656 (__tzfile_compute): Likewise.
2658 1998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2660 * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
2661 defines from Linux 2.1.102.
2663 1998-05-14 23:14 Ulrich Drepper <drepper@cygnus.com>
2665 * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
2667 1998-05-14 13:25 Ulrich Drepper <drepper@cygnus.com>
2669 * inet/netinet/in.h: Add defines for multicast.
2670 Reported by Jeremy Hall <jhall@UU.NET>.
2672 * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
2673 * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
2674 and unsetenv. Optimize _LIBC case.
2675 * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
2676 Define functions with leading __.
2678 * time/tzfile.c: Correct handling of global variables daylight,
2679 timezone, and tzname.
2680 * time/tzset.c: Likewise.
2681 * timezone/Makefile (tests): Add tst-timezone.
2682 * timezone/tst-timezone.c: New file.
2684 1998-05-14 10:35 Ulrich Drepper <drepper@cygnus.com>
2686 * timezone/asia: Update from tzdata1998d.
2687 * timezone/australasia: Likewise.
2688 * timezone/europe: Likewise.
2690 1998-05-13 Ulrich Drepper <drepper@cygnus.com>
2692 * string/string.h: Don't use the optimized versions for the string
2693 functions if optimizing for space.
2695 * stdlib/tst-strtod.c: Add test for -0.0.
2697 * io/ftwtest-sh: Prevent tests from being run by root.
2699 * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
2700 last addition. Patch by wkpark@chem.skku.ac.kr.
2702 1998-05-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2704 * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
2707 1998-05-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2709 * iconvdata/gen-8bit.sh: New file.
2710 * iconvdata/gen-8bit-gap.sh: New file.
2711 * iconvdata/gen-8bit-gap-1.sh: New file.
2712 * iconvdata/Makefile (generate-8bit-table): Use shell script
2713 instead of writing the commands directly.
2714 (generate-8bit-gap-table): Likewise.
2715 ($(objpfx)iso8859-7jp.h): Likewise.
2716 (generated headers): Depend on shell script instead of Makefile.
2717 (before-compile): Add $(perl-generated-headers) only if perl is
2719 (headers): Depend on $(perl-generated-headers) only if perl is
2721 (sed-generated-headers): Remove iso8859-7jp.h.
2723 1998-05-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2725 * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command. Clean up.
2728 1998-05-12 Ulrich Drepper <drepper@cygnus.com>
2730 * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
2731 formed charset names to getfct. Let user override charset
2732 selection by mention charset in locale name.
2734 1998-05-12 12:15 Ulrich Drepper <drepper@cygnus.com>
2736 * posix/glob.c: Move to ...
2737 * sysdeps/generic/glob.c: ...here.
2738 * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
2740 * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
2741 * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
2742 * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
2743 * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
2745 * libc.map [GLIBC_2.1]: Add glob and globfree.
2747 1998-05-12 Ulrich Drepper <drepper@cygnus.com>
2749 * sunrpc/Makefile (generated): Restore old list.
2751 1998-05-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2753 * rt/Makefile (tests): Define only if we have a thread library.
2755 * nis/ypclnt.c: Add: #include <errno.h>.
2757 1998-05-10 15:39 Zack Weinberg <zack@rabi.phys.columbia.edu>
2759 * configure.in: Define and substitute RELEASE as well as
2761 * config.make.in: Add RELEASE and VERSION to be substituted.
2762 * Makeconfig: Delete all references to version.mk.
2763 * Make-dist: Likewise.
2764 * MakeTAGS: Likewise.
2765 * elf/Makefile: Likewise.
2767 1998-05-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2769 * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
2770 yp_get_default_domain.
2772 1998-05-12 Ulrich Drepper <drepper@cygnus.com>
2774 * sysdeps/posix/profil.c (__profil): Don't define act and timer
2775 variables as static. Patch by Joe Keane <jgk@jgk.org>.
2777 1998-05-12 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
2779 * malloc/malloc.c: Fix for NO_THREADS case.
2781 1998-05-11 18:02 Richard Henderson <rth@cygnus.com>
2783 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
2784 Remove statfs and fstatfs.
2785 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
2786 and pwrite as EXTRA.
2787 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2789 1998-05-09 Ulrich Drepper <drepper@cygnus.com>
2791 * libc.map: Add capget and capset.
2793 1998-05-08 Ulrich Drepper <drepper@cygnus.com>
2795 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2796 (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
2797 vector. Patch by Mark Hatle <fray@kernel.crashing.org>
2798 and Matt McLean <keys@brio.yikes.com>.
2800 1998-05-08 23:49 Ulrich Drepper <drepper@cygnus.com>
2802 * misc/Makefile (tests): Add tst-mntent.
2803 * misc/tst-mntent.c: New file.
2805 1998-05-08 21:56 Zack Weinberg <zack@rabi.phys.columbia.edu>
2807 * autolock.sh: Removed.
2808 * manual/move-if-change: Removed.
2810 * scripts: New directory.
2811 * =__ify: Moved to scripts.
2812 * config.guess: Likewise.
2813 * config.sub: Likewise.
2814 * gen-FAQ.pl: Likewise.
2815 * install-sh: Likewise.
2816 * mkinstalldirs: Likewise.
2817 * move-if-change: Likewise.
2818 * printsources: Likewise.
2819 * rellns.sh: Likewise.
2820 * test-installation.pl: Likewise.
2822 * configure.in: Look in scripts for config.guess, config.sub,
2824 * Makefile: Distribute all above files in their
2825 new home. Find gen-FAQ.pl and test-installation.pl in scripts.
2826 * manual/Makefile: Find mkinstalldirs and move-if-change in
2827 $(..)scripts. Drop them from distribute. Minor cleanups.
2828 * Makerules: Find mkinstalldirs and rellns-sh in scripts.
2829 * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
2830 * timezone/Makefile: Find rellns-sh in scripts.
2832 1998-05-08 Ulrich Drepper <drepper@cygnus.com>
2834 * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
2835 Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
2837 1998-05-08 19:24 Zack Weinberg <zack@rabi.phys.columbia.edu>
2839 * Makefile (+subdir-inits): Delete variable.
2840 (+init_subdirs): Likewise.
2842 (before-compile): Likewise.
2843 (libc-init): Delete stanza.
2844 (version-info.h): Delete rule and associated variable.
2845 (distribute): Don't distribute moved files.
2846 * Makerules (interp-obj): It lives in elf now. Only use it
2847 if $(elf) is set. Delete rule to build it.
2848 * csu/Makefile: Build set-init.o and/or munch-init.o. Build
2849 version.o and version-info.h. Minor cleanups.
2850 (routines): Add libc-init, sysdep, version.
2851 (generated): Add version-info.h.
2852 * elf/Makefile: Build interp.os.
2854 * interp.c: Moved to elf.
2855 * set-init.c: Moved to csu.
2856 * munch-init.c: Likewise.
2857 * munch.awk: Likewise.
2858 * version.c: Likewise.
2860 * Rules: Unconfuse syntax highlighting with a fake comment.
2862 1998-05-08 Ulrich Drepper <drepper@cygnus.com>
2864 * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
2867 1998-05-08 16:36 Zack Weinberg <zack@rabi.phys.columbia.edu>
2869 * iconvdata/Makefile (generated): Set to *-generated-headers
2871 (tests): Set to iconv-test.
2872 * localedata/Makefile (generated-dirs): Add ld-test-names to list.
2873 * posix/Makefile (generated): Set to wordexp-test-result*.
2874 * sunrpc/Makefile (generated): Remove rpcsvc/*.
2875 (generated-dirs): Add rpcsvc.
2876 * libio/Makefile: Clean up.
2878 1998-05-08 14:55 Ulrich Drepper <drepper@cygnus.com>
2880 * Make-dist (+tsrcs): Also use tests-statc where tests is used.
2881 * Makerules: Likewise.
2882 (+depfiles): Also add sysdep-others.
2884 * iconv/Makefile (distribute): Add loop.s and skeleton.c.
2885 * iconvdata/Makefile (distribute): Add TESTS.
2886 * localedata/Makefile (repertoires): Rename to repertoiremaps.
2887 * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
2888 * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
2889 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
2890 sysdep-others, not others.
2891 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2892 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
2894 1998-05-08 12:26 Ulrich Drepper <drepper@cygnus.com>
2896 * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
2897 cost_hi and cost_lo.
2898 * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
2899 Cost parameter and set cost_lo to INT_MAX.
2900 (add_module): Take new parameter and use it to initialize cost_lo.
2901 (read_conf_file): Count modules being loaded and use counter for
2902 new parameter to add_module.
2903 * iconv/gconv_db.c (find_derivation): When look for cost examine
2904 cost_hi and cost_lo.
2906 1998-05-08 10:52 Ulrich Drepper <drepper@cygnus.com>
2908 * string/bits/string2.h: Don't use unsigned char * unless really
2909 necessary since this disturbs C++.
2910 * sysdeps/i386/i486/bits/string.h: Likewise.
2911 Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
2913 1998-05-08 13:53 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2915 * malloc/malloc.c (top_check): Fix last change.
2917 1998-05-07 Ulrich Drepper <drepper@cygnus.com>
2919 * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
2920 Patch by Matt McLean <keys@brio.yikes.com>.
2922 1997-05-07 13:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2924 * Makerules (lib): Put back dependency on lib-noranlib.
2925 ($(subdirs-stamps)): Remove dependency on stamp.* again.
2927 1998-05-07 Ulrich Drepper <drepper@cygnus.com>
2929 * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
2930 test in __pow2 implementation.
2932 1998-04-16 07:42 Geoff Keating <geoffk@ozemail.com.au>
2934 * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
2935 Still need *FLAGS-.o because we still sometimes build .o files.
2936 * db2/Makefile: Don't build libndbm.a if !build-static.
2938 1998-05-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2940 * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
2942 1998-04-16 07:42 Geoff Keating <geoffk@ozemail.com.au>
2944 * configure.in: New test for broken gcc on PowerPC.
2945 * sysdeps/powerpc/atomicity.h: Use result of test.
2946 * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
2948 * math/libm-test.c: Update many of the epsilon to match actual
2951 * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
2952 * sysdeps/libm-ieee754/e_expf.c: Likewise.
2953 * sysdeps/libm-ieee754/s_exp2.c: Likewise.
2954 * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
2956 * sysdeps/libm-ieee754/e_pow.c: Correct typo.
2958 * sysdeps/powerpc/elf/libc-start.c: New file.
2959 * sysdeps/powerpc/elf/start.S: New file, use libc-start.
2960 * sysdeps/powerpc/elf/start.c: Delete.
2962 * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
2963 * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete. It was unused.
2965 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
2968 1998-05-06 12:51 Ulrich Drepper <drepper@cygnus.com>
2970 * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
2973 * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
2974 * sysdeps/libm-i387/e_powl.S: Likewise.
2976 1998-03-31 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
2978 * malloc/malloc.c (chunk2mem_check, top_check): New functions.
2979 (malloc_check, free_check, realloc_check, memalign_check): Use
2980 them to improve overrun checking. Overruns of a single byte and
2981 corruption of the top chunk are now detected much more reliably.
2983 1998-05-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2985 * math/libm-test.c (pow_test): Add test for special value from PR
2988 1998-05-06 Ulrich Drepper <drepper@cygnus.com>
2990 * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
2991 including linux/errno.h.
2993 1998-05-06 09:49 Ulrich Drepper <drepper@cygnus.com>
2995 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
2997 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
2998 * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
3000 1998-05-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3002 * Makerules (elide-routines.*): Fix assignments.
3003 (do-makelib): Fix typo.
3004 ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
3007 1998-05-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3009 * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
3010 $(objpfx)sysd-dirs): Move them...
3011 * Makeconfig: ... here.
3012 * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
3013 (stubs): Fix circular depedency.
3014 (do-makelib): Clean up.
3015 (lib): Don't depend on lib-noranlib.
3016 ($(objpfx)stamp.oS): Remove special case for empty
3017 static-only-routines.
3018 (elide-routines.o): Add $(static-only-routines).
3019 (elide-routines$o): Define this instead of elide-routines.$o.
3020 * manual/Makefile (stubs): Fix circular dependency.
3022 1998-05-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3024 * libio/Makefile (routines): Remove duplicate oldiofclose.
3026 1998-05-05 Ulrich Drepper <drepper@cygnus.com>
3028 * string/strcoll.c: Use uint32_t instead of u_int32_t.
3030 1998-05-05 Ulrich Drepper <drepper@cygnus.com>
3032 * libio/stdio.h: Fix typo in __REDIRECT.
3033 * io/sys/stat.h: Likewise.
3034 Reported by Myles Uyema <myles@uyema.nws.net>.
3036 1998-05-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3038 * locale/programs/localedef.c (options): Fix help message.
3040 1998-05-04 Ulrich Drepper <drepper@cygnus.com>
3042 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
3043 relocations. Patch by Joe Keane <jgk@jgk.org>.
3045 1998-05-04 12:40 Ulrich Drepper <drepper@cygnus.com>
3047 * malloc/malloc.c (ptmalloc_init_all): New function. Similar to
3048 ptmalloc_unlock_all, but re-initializes the mutexes instead.
3049 (ptmalloc_init): Use new function in thread_at_fork call.
3050 (thread_atfork_static): Likewise.
3051 Suggested by Wolfram Gloger and Xavier Leroy.
3053 1998-05-04 Ulrich Drepper <drepper@cygnus.com>
3055 * signal/signal.h: Move definitions of struct sigstack and
3056 struct sigaltstack into separate file and include it.
3057 * sysdeps/generic/bits/sigstack.h: New file.
3058 * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
3059 * signal/Makefile (headers): Add bits/sigstack.h.
3061 1998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3063 * elf/rtld.c (dl_main): Fix check for number of references to
3066 1998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3068 * elf/rtld.c (dl_main): Check has_interp after executing platform
3071 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3073 * iconvdata/run-iconv-test.sh: Fix typo.
3075 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3077 * Makerules (+depfiles): Add depfiles for $(tests-static).
3080 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3082 * manual/terminal.texi (Special Characters): Fix description of
3085 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3087 * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
3089 * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise. Initialize rest
3092 1998-04-30 14:15 Zack Weinberg <zack@rabi.phys.columbia.edu>
3094 * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
3096 1998-05-01 Ulrich Drepper <drepper@cygnus.com>
3098 * intl/locale.alias: Update russian entry.
3100 1998-05-01 21:54 Zack Weinberg <zack@rabi.phys.columbia.edu>
3102 * Makerules (static-only-routines): Reimplement in terms of
3104 (shared-only-routines): Reimplement in terms of
3105 elide-routines.X [where X is all object-suffixes except .os].
3107 (stubs): Create stubs file inside the subdir.
3108 (common-mostlyclean): Remove stubs file from inside the subdir.
3109 * Makefile (subdir-stubs): Look for stubs files inside the
3111 * manual/Makefile (stubs): Create dummy stubs file inside the
3114 1998-05-01 21:01 Zack Weinberg <zack@rabi.phys.columbia.edu>
3116 Build speed improvement: make ar less of a bottleneck.
3118 * Makerules (stamp$o): Just record the object list for later
3120 (libc_foo.a): New rule, depends on subdir stamp files; builds
3121 and ranlibs the library from the lists saved in those files.
3123 (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
3124 (subdirs-stamp-o): Likewise.
3126 (ar-symtab-name): Delete variable.
3127 (lib%.a): Delete target.
3128 (libc_foo.a(bar.%)): Delete target.
3129 (libc_foo.a($(ar-symtab-name))): Delete target.
3131 (objects objs): Just depend on libobjs and extra-objs.
3132 (libobjs): Depend on the stamp files, not the objects.
3133 (extra-objs): New target, just depends on the extra-objs list.
3135 (CREATE_ARFLAGS): Kill the `ar S' hack.
3137 * config.make.in (have-ar-S): Deleted.
3138 * configure.in: Delete test for `ar S'. Add test to determine
3139 whether ranlib does anything useful.
3141 1998-05-01 Ulrich Drepper <drepper@cygnus.com>
3143 * inet/tst-ether_aton.c: Include <stdio.h>.
3145 1998-04-30 16:45 Ulrich Drepper <drepper@cygnus.com>
3147 * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
3149 * locale/Makefile (distribute): Add programs/repertoire.h.
3150 (localedef-modules): Add repertoire.
3151 (CPPFLAGS): Define REPERTOIREMAP_PATH.
3152 * locale/programs/repertoire.c: New file.
3153 * locale/programs/repertoire.h: New file.
3154 * locale/programs/charmap.c: Starting fixing character set handling
3155 to handle multi-byte encodings.
3156 * locale/programs/charset.c: Likewise.
3157 * locale/programs/charset.h: Likewise.
3158 * locale/programs/ld-collate.c: Likewise.
3159 * locale/programs/ld-ctype.c: Likewise.
3160 * locale/programs/linereader.c: Likewise.
3161 * locale/programs/localedef.c: Likewise.
3162 * locale/programs/locfile-kw.gperf: Likewise.
3163 * locale/programs/locfile-kw.h: Likewise.
3164 * locale/programs/locfile-token.h: Likewise.
3165 * locale/programs/locfile.h: Likewise.
3166 * locale/programs/stringtrans.c: Likewise.
3168 * locale/programs/locfile.c: Interpret I18NPATH value as base of
3169 path, extended with "/locales/".
3171 1998-04-18 Philip Blundell <Philip.Blundell@pobox.com>
3173 * sysdeps/arm/memset.S: Fix off by one error.
3175 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
3176 __syscall_error rather than syscall_error directly.
3178 1998-04-17 Philip Blundell <Philip.Blundell@pobox.com>
3180 * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
3181 mmap() syscall for ARM.
3183 * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
3186 1998-04-30 Ulrich Drepper <drepper@cygnus.com>
3188 * locale/programs/localedef.c: Recognize repertoire-map option.
3190 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
3192 * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
3193 converting non-hex numbers.
3194 Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
3196 1998-04-23 07:31 H.J. Lu <hjl@gnu.org>
3198 * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
3200 * resolv/Makefile (tests): New, add tst-aton.
3201 * resolv/tst-aton.c: New file.
3203 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
3205 * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
3208 1998-04-29 12:11 Ulrich Drepper <drepper@cygnus.com>
3210 * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
3211 by letting the later modify the variable computing the total directly.
3212 * wcsmbs/mbsrtowcs.c: Likewise.
3213 * wcsmbs/wcsnrtombs.c: Likewise.
3214 * wcsmbs/wcsrtombs.c: Likewise.
3216 * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
3218 * wcsmbs/wctoc.c: Likewise.
3220 * wcsmbs/mbsrtowcs.c: Optimize a bit more.
3221 * wcsmbs/wcsrtombs.c: Likewise.
3223 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
3225 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
3227 * iconv/skeleton.c: Correct counting of actually converted
3230 * intl/localealias.c (read_alias_file): Use unsigned char for
3231 local variables. Remove unused variable tp.
3232 * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
3233 for type of codeset. For loosing Solaris systems.
3234 * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
3235 * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
3237 Patches by Jim Meyering.
3239 * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
3240 wcsrtombs must put it into initial state.
3242 1998-04-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3244 * iconv/gconv_simple.c: Fix endian bug. Don't put side effects in
3245 argument of bswap_XX macro.
3247 1998-04-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3249 * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
3252 1998-04-28 Ulrich Drepper <drepper@cygnus.com>
3254 * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
3255 semun and use stdarg macros to get the value.
3256 * sysdeps/generic/semctl.c: Don't use union semun.
3258 * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
3260 * string/basename.c [!_LIBC]: Define function as gnu_basename.
3262 * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
3265 * stdlib/grouping.h: Accept ungrouped numbers even if locale
3268 * intl/hash-string.h: Don't include values.h.
3270 * inet/Makefile (tests): Add tst-ether_aton.
3271 * inet/tst-ether_aton.c: New file.
3273 * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
3275 * inet/ether_aton.c (ether_aton): Declare result variable static.
3276 Reported by ahyung@unixg.ubc.ca.
3278 * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
3279 Define macro _SEM_SEMUN_UNDEFINED instead.
3280 Reported by Dirk Laessig <d.laessig@tu-bs.de>.
3282 * stdio-common/tst-wc-printf.c: New file. Test for %S and %C format.
3283 * stdio-common/Makefile (tests): Add tst-wc-printf.
3285 1998-04-28 16:32 Philip Blundell <philb@gnu.org>
3287 * manual/stdio.texi (Variable Arguments Output): Correct variable
3288 name. Patch from Ewan Mellor <em@nexus.co.uk>
3290 1998-04-27 Ulrich Drepper <drepper@cygnus.com>
3292 * intl/dcgettext.c: Remove unneeded definition of
3295 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3297 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
3298 instead of do-iconv-test.
3299 ($(objpfx)gconv-modules): Define rule only if objpfx is not
3302 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3304 * string/string.h: Fix feature test.
3306 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3308 * iconvdata/iso646.c (BODY): Don't use character constants that
3309 depend on signedness of char.
3311 1998-04-27 Ulrich Drepper <drepper@cygnus.com>
3313 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
3314 (sysdep_routines): Add s_pread64 and s_pwrite64.
3316 1998-04-27 09:54 Ulrich Drepper <drepper@cygnus.com>
3318 * iconvdata/Makefile (distribute): Remove generated .h files.
3319 * iconvdata/koi8-r.h: Removed.
3320 * iconvdata/latin-greek-1.h: Removed.
3321 * iconvdata/latin-greek.h: Removed.
3323 * iconvdata/testdata/CP1258..UTF8: New iconv test source.
3324 * iconvdata/KOI-8: Likewise.
3325 * iconvdata/KOI-8..UTF8: Likewise.
3326 * iconvdata/KOI8-R: Likewise.
3327 * iconvdata/KOI8-R..UTF8: Likewise.
3329 1998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3331 * streams/Makefile (headers): Add sys/stropts.h.
3332 * streams/sys/stropts.h: New file.
3334 1998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3336 * sysdeps/unix/sysv/linux/ttyname.c,
3337 sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
3338 sysdeps/posix/ttyname*.c, but look in /dev/pts first.
3340 1998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3342 * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
3343 argument of _itoa_word.
3345 1998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3347 * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
3348 s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
3349 caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
3350 sigprocmask, resp., instead of EXTRA.
3352 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3353 s_pread64 and s_pwrite64.
3355 1998-04-26 18:44 Ulrich Drepper <drepper@cygnus.com>
3357 * iconvdata/Makefile: Correct rules to generate gap table.
3358 * iconvdata/gap.pl: Simplify.
3360 * iconvdata/TESTS: Name new tests.
3361 * iconvdata/testdata/CP1250: New file.
3362 * iconvdata/testdata/CP1250..UTF8: New file.
3363 * iconvdata/testdata/CP1251: New file.
3364 * iconvdata/testdata/CP1251..UTF8: New file.
3365 * iconvdata/testdata/CP1252: New file.
3366 * iconvdata/testdata/CP1252..UTF8: New file.
3367 * iconvdata/testdata/CP1253: New file.
3368 * iconvdata/testdata/CP1253..UTF8: New file.
3369 * iconvdata/testdata/CP1254: New file.
3370 * iconvdata/testdata/CP1254..UTF8: New file.
3371 * iconvdata/testdata/CP1255: New file.
3372 * iconvdata/testdata/CP1255..UTF8: New file.
3373 * iconvdata/testdata/CP1256: New file.
3374 * iconvdata/testdata/CP1256..UTF8: New file.
3375 * iconvdata/testdata/CP1257: New file.
3376 * iconvdata/testdata/CP1257..UTF8: New file.
3378 1998-04-26 Ulrich Drepper <drepper@cygnus.com>
3380 * iconvdata/Makefile: Add rules for ISO-2022-KR.
3381 * iconvdata/iso-2022-kr.c: New file.
3383 * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
3386 1998-04-25 18:39 Ulrich Drepper <drepper@cygnus.com>
3388 * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
3389 iso8859-8 and iso8859-10.
3390 * iconvdata/iso8859-5.c: Change to use gap method.
3391 * iconvdata/iso8859-7.c: Likewise.
3392 * iconvdata/iso8859-8.c: Likewise.
3393 * iconvdata/iso8859-10.c: Likewise.
3395 * iconvdata/Makefile: Add rules for ISO-2022-JP module.
3396 * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
3398 * iconvdata/iso-2022-jp.c: New file.
3400 * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
3401 * iconvdata/ksc5601.h: Unify function interfaces.
3402 * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
3403 * iconvdata/uhc.c: Likewise.
3405 * iconvdata/gb2312.h: Use correct types.
3407 * iconvdata/iso646.c (gconv_open): Correctly initialize the character
3408 size elements of data.
3410 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
3412 * string/tst-svc.expect: Adapt for change in .input.
3413 * string/tst-svc.input: More tests.
3415 1998-04-24 17:15 Ulrich Drepper <drepper@cygnus.com>
3417 * iconvdata/Makefile: Add rules for new modules.
3418 * iconvdata/gconv-modules: Likewise.
3419 * iconvdata/cp737.c: New file.
3420 * iconvdata/cp737.h: New file.
3421 * iconvdata/cp775.c: New file.
3422 * iconvdata/cp775.h: New file.
3423 * iconvdata/cp874.c: New file.
3424 * iconvdata/cp874.h: New file.
3426 1998-04-24 16:30 Ulrich Drepper <drepper@cygnus.com>
3428 * iconvdata/Makefile: Create target directory before generating
3431 1998-04-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3433 * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
3434 __USER_LABEL_PREFIX__.
3435 (__ASMNAME, __ASMNAME2): New macros.
3437 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
3439 * elf/dl-load.c: Include sys/param.h for MAX.
3441 1998-04-24 21:44 Richard Henderson <rth@cygnus.com>
3443 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
3444 __ftruncate the strong symbol, and add weak alias.
3445 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3447 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
3449 * termios/cfsetspeed.c: Make code cleaner and add missing const.
3450 Patch by Joe Keane <jgk@jgk.org>.
3452 * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
3455 1998-04-24 13:56 Ulrich Drepper <drepper@cygnus.com>
3457 * sysdeps/generic/bits/socket.h: Add #defines for enum values.
3458 Patch by Thomas Bushnell, n/BSG.
3460 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
3462 * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
3464 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
3466 * iconvdata/Makefile: Put generated headers in build directory.
3468 1998-04-23 22:43 Ulrich Drepper <drepper@cygnus.com>
3470 * elf/dl-load.c (fillin_rpath): Handle empty element returned by
3471 strsep as current directory.
3473 * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
3474 Java. Add definitions for unicodelittle implementation.
3475 * iconv/gconv_int.h: Add declaration for unicodelittle functions.
3476 * iconv/gconv_simple.c: Define unicodelittle functions.
3478 * iconv/iconv_prog.c: Make program print information about position
3479 of illegal character in input.
3481 * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
3482 comparison of charset name.
3483 * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
3484 * iconvdata/ebcdic-at-de-a.c: Likewise.
3485 * iconvdata/ebcdic-at-de.c: Likewise.
3486 * iconvdata/ebcdic-ca-fr.c: Likewise.
3487 * iconvdata/euccn.c: Likewise.
3488 * iconvdata/eucjp.c: Likewise.
3489 * iconvdata/euckr.c: Likewise.
3490 * iconvdata/euctw.c: Likewise.
3491 * iconvdata/hp-roman8.c: Likewise.
3492 * iconvdata/iso6937.c: Likewise.
3493 * iconvdata/iso8859-1.c: Likewise.
3494 * iconvdata/iso8859-10.c: Likewise.
3495 * iconvdata/iso8859-2.c: Likewise.
3496 * iconvdata/iso8859-3.c: Likewise.
3497 * iconvdata/iso8859-4.c: Likewise.
3498 * iconvdata/iso8859-5.c: Likewise.
3499 * iconvdata/iso8859-6.c: Likewise.
3500 * iconvdata/iso8859-7.c: Likewise.
3501 * iconvdata/iso8859-8.c: Likewise.
3502 * iconvdata/iso8859-9.c: Likewise.
3503 * iconvdata/johab.c: Likewise.
3504 * iconvdata/koi-8.c: Likewise.
3505 * iconvdata/koi8-r.c: Likewise.
3506 * iconvdata/latin-greek-1.c: Likewise.
3507 * iconvdata/latin-greek.c: Likewise.
3508 * iconvdata/sjis.c: Likewise.
3509 * iconvdata/t61.c: Likewise.
3510 * iconvdata/uhc.c: Likewise.
3512 * iconvdata/iso646.c: Add support for more ISO 646 variants.
3513 * iconvdata/TESTS: Add tests for ISO646 module.
3514 * iconvdata/gconv-modules: Add new modules.
3515 * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
3516 * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
3517 * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
3518 * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
3519 * iconvdata/testdate/DIN_66003: Likewise.
3520 * iconvdata/testdate/DIN_66003..UTF8: Likewise.
3521 * iconvdata/testdate/DS_2089: Likewise.
3522 * iconvdata/testdate/DS_2089..UTF8: Likewise.
3523 * iconvdata/testdate/ES: Likewise.
3524 * iconvdata/testdate/ES..UTF8: Likewise.
3525 * iconvdata/testdate/ES2: Likewise.
3526 * iconvdata/testdate/ES2..UTF8: Likewise.
3527 * iconvdata/testdate/GB_1988-80: Likewise.
3528 * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
3529 * iconvdata/testdate/IT: Likewise.
3530 * iconvdata/testdate/IT..UTF8: Likewise.
3531 * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
3532 * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
3533 * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
3534 * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
3535 * iconvdata/testdate/JUS_I.B1.002: Likewise.
3536 * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
3537 * iconvdata/testdate/KSC5636: Likewise.
3538 * iconvdata/testdate/KSC5636..UTF8: Likewise.
3539 * iconvdata/testdate/MSZ_7795.3: Likewise.
3540 * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
3541 * iconvdata/testdate/NC_NC00-10: Likewise.
3542 * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
3543 * iconvdata/testdate/NF_Z_62-010: Likewise.
3544 * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
3545 * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
3546 * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
3547 * iconvdata/testdate/NS_4551-1: Likewise.
3548 * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
3549 * iconvdata/testdate/NS_4551-2: Likewise.
3550 * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
3551 * iconvdata/testdate/PT: Likewise.
3552 * iconvdata/testdate/PT..UTF8: Likewise.
3553 * iconvdata/testdate/PT2: Likewise.
3554 * iconvdata/testdate/PT2..UTF8: Likewise.
3555 * iconvdata/testdate/SEN_850200_B: Likewise.
3556 * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
3557 * iconvdata/testdate/SEN_850200_C: Likewise.
3558 * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
3560 * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
3561 * iconvdata/cns11643l1.h: Likewise.
3562 * iconvdata/latin-greek-1.h: Likewise.
3563 * iconvdata/latin-greek.h: Likewise.
3564 * iconvdata/koi8-r.h: Likewise.
3565 * iconvdata/jis0212.h: Likewise.
3566 * iconvdata/gb2312.h: Likewise.
3567 * iconvdata/ksc5601.h: Likewise.
3569 * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
3571 * iconvdata/Makefile: Add rules for lots of more modules.
3572 * iconvdata/cp1250.c: New file.
3573 * iconvdata/cp1251.c: New file.
3574 * iconvdata/cp1252.c: New file.
3575 * iconvdata/cp1253.c: New file.
3576 * iconvdata/cp1254.c: New file.
3577 * iconvdata/cp1255.c: New file.
3578 * iconvdata/cp1256.c: New file.
3579 * iconvdata/cp1257.c: New file.
3580 * iconvdata/ebcdic-dk-no-a.c: New file.
3581 * iconvdata/ebcdic-dk-no.c: New file.
3582 * iconvdata/ebcdic-es-a.c: New file.
3583 * iconvdata/ebcdic-es-s.c: New file.
3584 * iconvdata/ebcdic-es.c: New file.
3585 * iconvdata/ebcdic-fi-se-a.c: New file.
3586 * iconvdata/ebcdic-fi-se.c: New file.
3587 * iconvdata/ebcdic-fr.c: New file.
3588 * iconvdata/ebcdic-is-friss.c: New file.
3589 * iconvdata/ebcdic-it.c: New file.
3590 * iconvdata/ebcdic-pt.c: New file.
3591 * iconvdata/ebcdic-uk.c: New file.
3592 * iconvdata/ebcdic-us.c: New file.
3593 * iconvdata/ibm037.c: New file.
3594 * iconvdata/ibm038.c: New file.
3595 * iconvdata/ibm1004.c: New file.
3596 * iconvdata/ibm1026.c: New file.
3597 * iconvdata/ibm1047.c: New file.
3598 * iconvdata/ibm256.c: New file.
3599 * iconvdata/ibm273.c: New file.
3600 * iconvdata/ibm274.c: New file.
3601 * iconvdata/ibm275.c: New file.
3602 * iconvdata/ibm277.c: New file.
3603 * iconvdata/ibm278.c: New file.
3604 * iconvdata/ibm280.c: New file.
3605 * iconvdata/ibm281.c: New file.
3606 * iconvdata/ibm284.c: New file.
3607 * iconvdata/ibm285.c: New file.
3608 * iconvdata/ibm290.c: New file.
3609 * iconvdata/ibm297.c: New file.
3610 * iconvdata/ibm420.c: New file.
3611 * iconvdata/ibm423.c: New file.
3612 * iconvdata/ibm424.c: New file.
3613 * iconvdata/ibm437.c: New file.
3614 * iconvdata/ibm500.c: New file.
3615 * iconvdata/ibm850.c: New file.
3616 * iconvdata/ibm851.c: New file.
3617 * iconvdata/ibm852.c: New file.
3618 * iconvdata/ibm855.c: New file.
3619 * iconvdata/ibm857.c: New file.
3620 * iconvdata/ibm860.c: New file.
3621 * iconvdata/ibm861.c: New file.
3622 * iconvdata/ibm862.c: New file.
3623 * iconvdata/ibm863.c: New file.
3624 * iconvdata/ibm864.c: New file.
3625 * iconvdata/ibm865.c: New file.
3626 * iconvdata/ibm868.c: New file.
3627 * iconvdata/ibm869.c: New file.
3628 * iconvdata/ibm870.c: New file.
3629 * iconvdata/ibm871.c: New file.
3630 * iconvdata/ibm875.c: New file.
3631 * iconvdata/ibm880.c: New file.
3632 * iconvdata/ibm891.c: New file.
3633 * iconvdata/ibm903.c: New file.
3634 * iconvdata/ibm904.c: New file.
3635 * iconvdata/ibm905.c: New file.
3636 * iconvdata/ibm918.c: New file.
3638 * locale/iso-4217.def: Update.
3639 * localedata/locales/pt_BR: Correct. Patches by Andreas Jaeger.
3641 * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
3644 1998-04-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3646 * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
3649 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
3651 * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
3652 * Makefile: Likewise.
3653 * posix/Makefile: Likewise.
3654 * sysdeps/mach/hurd/Makefile: Likewise.
3656 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
3658 * sysdeps/mach/hurd/bits/dirent.h: New file.
3659 * sysdeps/mach/hurd/readdir64.c: New file.
3660 * sysdeps/mach/hurd/readdir64_r.c: New file.
3662 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
3664 * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
3665 dprintf): Synchronize declarations with libio/stdio.h.
3667 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
3669 * elf/dlerror.c (dlerror): Don't assume that
3670 __libc_internal_tsd_get is defined. __libc_getspecific is already
3671 well-protected, so just use it directly.
3673 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
3675 * io/ftw.h (ftw): Fix typo.
3677 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
3679 * sysdeps/gnu/utmp_file.c: Fix typo.
3681 1998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3683 * iconvdata/run-iconv-test.sh: Fix more portability bugs. When
3684 one part of a test fails move on to the next test.
3686 1998-04-24 5:45 Richard Henderson <rth@cygnus.com>
3688 * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
3690 1998-04-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3692 * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
3693 as pointers, not signed integers.
3695 1998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3697 * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
3699 1998-04-21 21:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
3701 * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
3702 asm symbol name of functions.
3703 * include/features.h: Kill redundant test.
3705 * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
3706 * io/ftw.h: Likewise.
3707 * io/sys/stat.h: Likewise.
3708 * io/sys/statfs.h: Likewise.
3709 * io/sys/statvfs.h: Likewise.
3710 * libio/stdio.h: Likewise.
3711 * resource/sys/resource.h: Likewise.
3712 * rt/aio.h: Likewise.
3714 * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
3716 * signal/signal.h: Use new macros for BSD vs. SysV signal().
3718 * misc/Makefile: Drop bsd-compat.c. Make libbsd-compat.a
3720 * misc/bsd-compat.c: Removed.
3722 1998-04-21 20:32 Ulrich Drepper <drepper@cygnus.com>
3724 * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
3725 function declaration.
3726 * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
3727 and use them in conversion function.
3728 * iconvdata/Makefile (modules): Re-add ISO6446.
3729 * iconvdata/TEST: Add tests for ASCII variants.
3730 * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
3731 * iconvdata/testdata/ANSI_X3.4-1968: New file.
3732 * iconvdata/testdata/BS_4730: New file.
3733 * iconvdata/testdata/BS_4730..UTF8: New file.
3735 1998-04-21 19:05 Ulrich Drepper <drepper@cygnus.com>
3737 * iconv/gconv.h (struct gconv_step): Add element stateful.
3738 * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
3739 to zero for all internal conversions.
3740 * iconv/skeleton.c: Initialize stateful depending on whether or not
3741 RESET_STATE is defined to one or zero respectively.
3742 * stdlib/mblen.c: Use stateful element of currently selected
3743 converter for result if S is NULL.
3744 * stdlib/mbtowc.c: Likewise.
3745 * stdlib/wctomb.c: Likewise.
3747 1998-04-21 18:00 Ulrich Drepper <drepper@cygnus.com>
3749 * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
3751 * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
3753 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
3754 character in comparison with uint32_t.
3755 (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
3756 (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
3757 Optimize BODY a bit.
3759 * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
3762 * iconv/skeleton.c: Also reset converted counter in case of an error.
3763 Call reset function using correct value for output buffer start.
3765 * iconvdata/Makefile: Re-enable tests.
3767 * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
3768 value for to-conversion.
3770 * iconvdata/TESTS: Add new third column.
3771 * iconvdata/run-iconv-test.sh: Add support for charsets which are
3773 * iconvdata/testdata/suntzus: New file.
3775 * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
3776 while reading. Correctly used base. Little optimization.
3777 (__strtoul_internal): Likewise.
3779 * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
3780 was wrong. Use explicit variable.
3782 1998-04-20 23:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
3784 * configure.in: Check for awk.
3785 * config.make.in: Add AWK to be substituted.
3787 * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
3788 * manual/users.texi: Fix typo exposed by above rewrite.
3790 * Makefile: Invoke awk using AWK variable.
3791 * csu/Makefile: Likewise.
3792 * elf/Makefile: Likewise.
3793 * mach/Makefile: Likewise.
3794 * manual/Makefile: Likewise.
3795 * sysdeps/gnu/Makefile: Likewise.
3796 * sysdeps/mach/hurd/Makefile: Likewise.
3797 * sysdeps/unix/Makefile: Likewise.
3798 * timezone/Makefile: Likewise.
3800 1998-04-10 Gordon Matzigkeit <gord@profitpress.com>
3802 * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
3803 array index translation.
3804 (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
3807 * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
3809 * sysdeps/mach/hurd/errlist.c: New file.
3810 (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
3811 (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
3812 semantics, so rename it.
3814 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3816 * iconvdata/run-iconv-test.sh: Make portable. Always test all
3819 1998-04-21 12:30 H.J. Lu <hjl@gnu.org>
3821 * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
3822 * wcsmbs/wcsnrtombs.c: Likewise.
3824 1998-04-21 Ulrich Drepper <drepper@cygnus.com>
3826 * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
3828 * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
3830 * time/strftime.c (my_strftime): Initialize pad variable in
3833 * iconvdata/big5.c: Don't use character constants in comparisons
3834 with unsigned value.
3836 1998-04-20 18:00 Ulrich Drepper <drepper@cygnus.com>
3838 * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
3839 __libc_siglongjmp to GLIBC_2.1.
3841 * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
3844 * iconv/Makefile: Don't run tests now.
3846 * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
3847 with correct output buffer.
3849 Major rewrite of the low-level gconv functionality.
3850 * iconv/gconv.c: Rewritten.
3851 * iconv/gconv.h: Likewise.
3852 * iconv/gconv_builtin.c: Likewise.
3853 * iconv/gconv_builtin.h: Likewise.
3854 * iconv/gconv_conf.c: Likewise.
3855 * iconv/gconv_int.h: Likewise.
3856 * iconv/gconv_open.c: Likewise.
3857 * iconv/gconv_simple.c: Likewise.
3858 * iconv/iconv.c: Likewise.
3859 * iconvdata/8bit-gap.c: Likewise.
3860 * iconvdata/8bit-generic.c: Likewise.
3861 * iconvdata/Makefile: Likewise.
3862 * iconvdata/big5.c: Likewise.
3863 * iconvdata/cns11643.c: Likewise.
3864 * iconvdata/cns11643.h: Likewise.
3865 * iconvdata/cns11643l1.c: Likewise.
3866 * iconvdata/cns11643l1.h: Likewise.
3867 * iconvdata/ebcdic-at-de-a.c: Likewise.
3868 * iconvdata/ebcdic-at-de.c: Likewise.
3869 * iconvdata/ebcdic-ca-fr.c: Likewise.
3870 * iconvdata/euccn.c: Likewise.
3871 * iconvdata/eucjp.c: Likewise.
3872 * iconvdata/euckr.c: Likewise.
3873 * iconvdata/euctw.c: Likewise.
3874 * iconvdata/gb2312.c: Likewise.
3875 * iconvdata/gb2312.h: Likewise.
3876 * iconvdata/hp-roman8.c: Likewise.
3877 * iconvdata/iso646.c: Likewise.
3878 * iconvdata/iso6937.c: Likewise.
3879 * iconvdata/iso8859-1.c: Likewise.
3880 * iconvdata/iso8859-10.c: Likewise.
3881 * iconvdata/iso8859-2.c: Likewise.
3882 * iconvdata/iso8859-3.c: Likewise.
3883 * iconvdata/iso8859-4.c: Likewise.
3884 * iconvdata/iso8859-5.c: Likewise.
3885 * iconvdata/iso8859-6.c: Likewise.
3886 * iconvdata/iso8859-7.c: Likewise.
3887 * iconvdata/iso8859-8.c: Likewise.
3888 * iconvdata/iso8859-9.c: Likewise.
3889 * iconvdata/jis0201.c: Likewise.
3890 * iconvdata/jis0201.h: Likewise.
3891 * iconvdata/jis0208.c: Likewise.
3892 * iconvdata/jis0208.h: Likewise.
3893 * iconvdata/jis0212.c: Likewise.
3894 * iconvdata/jis0212.h: Likewise.
3895 * iconvdata/johab.c: Likewise.
3896 * iconvdata/koi-8.c: Likewise.
3897 * iconvdata/koi8-r.c: Likewise.
3898 * iconvdata/ksc5601.c: Likewise.
3899 * iconvdata/ksc5601.h: Likewise.
3900 * iconvdata/latin-greek-1.c: Likewise.
3901 * iconvdata/latin-greek.c: Likewise.
3902 * iconvdata/run-iconv-test.sh: Likewise.
3903 * iconvdata/sjis.c: Likewise.
3904 * iconvdata/t61.c: Likewise.
3905 * iconvdata/uhc.c: Likewise.
3906 * wcsmbs/btowc.c: Likewise.
3907 * wcsmbs/mbrtowc.c: Likewise.
3908 * wcsmbs/mbsnrtowcs.c: Likewise.
3909 * wcsmbs/mbsrtowcs.c: Likewise.
3910 * wcsmbs/wcrtomb.c: Likewise.
3911 * wcsmbs/wcsmbsload.c: Likewise.
3912 * wcsmbs/wcsnrtombs.c: Likewise.
3913 * wcsmbs/wcsrtombs.c: Likewise.
3914 * wcsmbs/wctob.c: Likewise.
3915 * iconv/loop.c: New file.
3916 * iconv/skeleton.c: New file.
3918 * stdlib/mblen.c: Handle empty input string correctly.
3919 * stdlib/mbtowc.c: Likewise.
3921 * posix/getopt.c: Various cleanups.
3923 * sysdeps/arm/bits/setjmp.h: Add copyright text.
3924 * sysdeps/i386/bits/setjmp.h: Likewise.
3925 * sysdeps/m68k/bits/setjmp.h: Likewise.
3926 * sysdeps/powerpc/bits/setjmp.h: Likewise.
3927 * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
3929 * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
3930 and make longjmp weak alias.
3932 1998-04-18 20:29 Philip Blundell <Philip.Blundell@pobox.com>
3934 * iconv/Makefile (routines): Only include gconv_dl if building for
3935 an ELF system - dynamic linking is not available on a.out.
3936 (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
3938 * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
3939 routines from gconv_dl.
3941 1998-04-17 Gordon Matzigkeit <gord@profitpress.com>
3943 * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
3944 we can compile without libio.
3946 1998-04-20 16:28 Ulrich Drepper <drepper@cygnus.com>
3948 * sysdeps/mach/hurd/Subdirs: Remove login.
3950 1998-04-11 Gordon Matzigkeit <gord@profitpress.com>
3952 * db2/compat.h: Include <errno.h>, to make sure we get the
3953 definition of EFTYPE before we define it ourselves.
3955 1998-04-10 Gordon Matzigkeit <gord@profitpress.com>
3957 * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
3958 * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
3959 Fix typo to allow inclusion from sys/ioctl.h again.
3961 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3963 * iconvdata/*.[ch]: Clean up namespace. Optimize character lookup.
3965 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3967 * libc.map: Export __strerror_r. Remove _strerror_internal.
3969 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3971 * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
3972 Also undefine __strcasestr.
3974 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3976 * posix/regex.c: Rename __re_max_failures back to re_max_failures,
3977 aliases do not work with global variables due to copy relocations.
3979 1998-04-20 15:12 Ulrich Drepper <drepper@cygnus.com>
3981 * manual/creature.texi: Fix type. Patch by Andreas Schwab.
3983 1998-04-20 13:47 Ulrich Drepper <drepper@cygnus.com>
3985 * signal/sighold.c: Include stddef.h for NULL definition.
3986 * signal/sigrelse.c: Likewise.
3987 * sysdeps/posix/sigignore.c: Likewise.
3988 * sysdeps/posix/sigset.c: Likewise.
3989 * sysdeps/posix/waitid.c: Likewise.
3990 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
3991 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
3992 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3993 * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
3994 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3996 1998-04-13 Mark Kettenis <kettenis@phys.uva.nl>
3998 * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
3999 * login/getutent.c (getutxent): Remove alias.
4000 * login/getutent_r.c (setutxent, pututxline, endutxent):
4002 * login/getutid.c (getutxid): Remove alias.
4003 * login/getutline.c (getutxline): Remove alias.
4004 * login/utmp.h: Add prototypes for __updwtmp, __getutent,
4005 __getutid, __getutline and __pututline.
4006 * login/utmpx.h: Moved to ...
4007 * sysdeps/gnu/utmpx.h: ... here. [__USE_GNU]: Define UTMPX_FILE,
4008 UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
4010 * login/updwtmp.c: Moved to ...
4011 * sysdeps/generic/updwtmp.c: ... here. (updwtmp): Generalized by
4012 allowing file name transformation.
4013 * sysdeps/gnu/updwtmp.c: New file. Use generic implementation with
4014 additional file name transformation.
4015 * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
4016 * login/utmp_file.c: Moved to ...
4017 * sysdeps/generic/utmp_file.c: ... here. (setutent_file):
4018 Generalized by allowing file name transformation. Do not
4019 print error message. Library functions should not print them.
4020 Reported by Jim Meyering.
4021 * sysdeps/gnu/utmp_file.c: New file. Use generic implementation
4022 with additional file name transformation.
4023 * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
4024 * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
4025 setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
4026 pututxline, utmpxname and updwtmpx. (sysdep_headers): Add utmpx.h
4028 * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
4029 (_PATH_UTMPX): Define to _PATH_UTMP. (_PATH_WTMPX): Define to
4030 _PATH_WTMPX. (RUN_LVL): Define only if __USE_GNU. (ACCOUNTING):
4031 Define if __USE_GNU.
4032 * sysdeps/generic/setutxent.c: New file.
4033 * sysdeps/generic/getutxent.c: New file.
4034 * sysdeps/generic/endutxent.c: New file.
4035 * sysdeps/generic/getutxid.c: New file.
4036 * sysdeps/generic/getutxline.c: New file.
4037 * sysdeps/generic/pututxline.c: New file.
4038 * sysdeps/generic/utmpxname.c: New file.
4039 * sysdeps/generic/updwtmpx.c: New file.
4040 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
4041 * sysdeps/generic/bits/utmpx.h: Remove.
4043 1998-04-20 Ulrich Drepper <drepper@cygnus.com>
4045 * posix/wordexp-test.c (main): Initialize ifs element of ts for
4048 1998-04-17 07:53 H.J. Lu <hjl@gnu.org>
4050 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
4052 1998-04-17 11:32 Ulrich Drepper <drepper@cygnus.com>
4054 * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
4055 variable using _G_stat64.
4056 * libio/fileops.c: Remove macro definition of fstat, it is in the
4058 Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
4060 1998-04-17 Philip Blundell <pb@nexus.co.uk>
4062 * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
4063 <willy@odie.barnet.ac.uk>.
4065 1998-04-16 Philip Blundell <Philip.Blundell@pobox.com>
4067 * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
4068 required by IPv6 Basic API.
4069 (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
4070 (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
4071 (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
4072 (IN6_IS_ADDR_MC_GLOBAL): Likewise.
4074 1998-04-15 16:41 Ulrich Drepper <drepper@cygnus.com>
4076 Don't name internal representation since it might be different from
4077 the external form (namely on little endian machines).
4078 * iconv/gconv_builtin.h: Add UCS4 support. Change references to
4079 UCS4 into references to INTERNAL.
4080 * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
4081 Add endianess support to UCS functions. Change references to
4082 UCS4 into references to INTERNAL.
4083 * iconv/gconv_int.h: Change references to UCS4 into references to
4085 * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
4086 * iconvdata/gconv-modules: Change accordingly.
4087 * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
4089 * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
4091 * iconvdata/8bit-gap.c: Likewise.
4092 * iconvdata/8bit-generic.c: Likewise.
4093 * iconvdata/big5.c: Likewise.
4094 * iconvdata/euccn.c: Likewise.
4095 * iconvdata/eucjp.c: Likewise.
4096 * iconvdata/euckr.c: Likewise.
4097 * iconvdata/euctw.c: Likewise.
4098 * iconvdata/iso646.c: Likewise.
4099 * iconvdata/iso6937.c: Likewise.
4100 * iconvdata/iso8859-1.c: Likewise.
4101 * iconvdata/johab.c: Likewise.
4102 * iconvdata/sjis.c: Likewise.
4103 * iconvdata/t61.c: Likewise.
4104 * iconvdata/uhc.c: Likewise.
4106 * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
4107 * iconvdata/8bit-generic.c: Likewise.
4109 * iconvdata/TESTS: Add more tests.
4111 * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
4113 1998-04-15 11:47 Ulrich Drepper <drepper@cygnus.com>
4115 * iconvdata/Makefile: Better rules to run tests.
4117 * iconvdata/testdata/ISO-8859-1..UTF8: New file.
4118 * iconvdata/testdata/ISO-8859-10: Likewise.
4119 * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
4120 * iconvdata/testdata/ISO-8859-2: Likewise.
4121 * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
4122 * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
4123 * iconvdata/testdata/ISO-8859-3: Likewise.
4124 * iconvdata/testdata/ISO-8859-4: Likewise.
4125 * iconvdata/testdata/ISO-8859-5: Likewise.
4126 * iconvdata/testdata/ISO-8859-6: Likewise.
4127 * iconvdata/testdata/ISO-8859-7: Likewise.
4128 * iconvdata/testdata/ISO-8859-8: Likewise.
4129 * iconvdata/testdata/ISO-8859-9: Likewise.
4131 1998-04-15 Ulrich Drepper <drepper@cygnus.com>
4133 * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
4134 intermediate result (if available).
4136 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
4139 * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
4140 (distribute): Add run-iconv-test.sh and testdata/*.
4142 * stdlib/testmb.c (main): Simplify mbc array handling.
4144 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4146 * elf/dl-minimal.c (__strtol_internal): Correct range check. Fix
4147 return value on overflow.
4149 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4151 * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
4154 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4156 * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
4157 of non-standard function setbuffer.
4159 1998-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4161 * stdio-common/perror.c: Include <string.h> for __strerror_r.
4163 1998-04-14 23:54 Ulrich Drepper <drepper@cygnus.com>
4165 * iconvdata/Makefile: Add rules to run tests.
4166 * iconvdata/TESTS: New file.
4167 * iconvdata/run-iconv-test.sh: New file.
4168 * iconvdata/testdata/ISO-8859-1: New file.
4170 * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
4173 1998-04-14 18:22 Ulrich Drepper <drepper@cygnus.com>
4175 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4176 counter element of step.
4178 * iconv/gconv_dl.c: Don't mark get_sym as internal function.
4180 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
4182 (__gconv_transform_ucs4_utf8): Likewise. Remove unnecessary variable
4184 (__gconv_transform_utf8_ucs4): Correct test for empty input.
4186 1998-04-14 Ulrich Drepper <drepper@cygnus.com>
4188 * Makefile: Include makeconfig before defining rule to regenerate
4191 * configure.in: Remove restriction on compiling without static
4194 1998-04-14 16:34 Ulrich Drepper <drepper@cygnus.com>
4196 * test-skeleton.c: Provide hook for initializing code before the fork.
4197 * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
4200 * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
4201 * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
4202 * libio/libioP.h: Adopt _IO_cleanup prototype.
4204 * stdlib/Makefile (tests): Add test-canon2.
4205 * stdlib/test-canon2.c: New file.
4206 * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
4207 be NULL. Use __lxstat, not __lstat. Correctly recognize long
4209 (__realpath): Make real function which checks RESOLVED parameter for
4212 1998-04-14 Ulrich Drepper <drepper@cygnus.com>
4214 * catgets/open_catalog.c (__open_catalog): Fix problems with
4215 reading non-files. Always close file.
4216 Reported by Cristian Gafton <gafton@redhat.com>.
4218 * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
4220 1998-04-14 13:28 Ulrich Drepper <drepper@cygnus.com>
4222 * libc.map: Add various low-level I/O functions.
4224 1998-04-14 10:35 Ulrich Drepper <drepper@cygnus.com>
4226 * string/Makefile (routines): Remove strerror_r.
4227 * string/strerror_r.c: Removed.
4228 * string/strerror.c: Call __strerror_r for doing the real work.
4229 * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
4230 add weak alias strerror_r.
4231 * sysdeps/mach/_strerror.c: Likewise.
4232 * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
4233 * elf/dl-error.c (_dl_signal_error): Likewise.
4234 * elf/dl-profile.c (_dl_start_profile): Likewise.
4235 * gmon/gmon.c (write_gmon): Likewise.
4236 * stdio-common/perror.c: Likewise.
4237 * stdio-common/vfprintf.c: Likewise.
4239 1998-04-10 Mark Kettenis <kettenis@phys.uva.nl>
4241 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
4242 (sysdep_headers): Add netatalk/at.h.
4244 1998-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4246 * manual/socket.texi, manual/creature.texi, manual/time.texi:
4249 1998-04-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4251 * posix/regex.c: Rename __re_syntax_options back to
4252 re_syntax_options, aliases do not work with global variables due
4253 to copy relocations.
4254 (regex_compile): Use syntax parameter instead of
4257 1998-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4259 * configure.in: Document that enable-force-install is default.
4261 1998-04-13 Ulrich Drepper <drepper@cygnus.com>
4263 * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
4265 * sysdeps/posix/mkstemp.c: Likewise.
4267 1998-04-13 17:40 Ulrich Drepper <drepper@cygnus.com>
4269 * iconvdata/8bit-gap.c: Simplify step data handling.
4270 * iconvdata/8bit-generic.c: Likewise.
4271 * iconvdata/big5.c: Likewise.
4272 * iconvdata/euccn.c: Likewise.
4273 * iconvdata/eucjp.c: Likewise.
4274 * iconvdata/euckr.c: Likewise.
4275 * iconvdata/euctw.c: Likewise.
4276 * iconvdata/iso6937.c: Likewise.
4277 * iconvdata/iso8859-1.c: Likewise.
4278 * iconvdata/jis0208.h: Likewise.
4279 * iconvdata/jis0212.c: Likewise.
4280 * iconvdata/jis0212.h: Likewise.
4281 * iconvdata/johab.c: Likewise.
4282 * iconvdata/ksc5601.h: Likewise.
4283 * iconvdata/sjis.c: Likewise.
4284 * iconvdata/t61.c: Likewise.
4285 * iconvdata/uhc.c: Likewise.
4287 1998-04-13 16:36 Ulrich Drepper <drepper@cygnus.com>
4289 * manual/texinfo.texi: Updated from last version.
4291 1998-04-13 14:52 Ulrich Drepper <drepper@cygnus.com>
4293 * iconvdata/cns11643.c: New file.
4294 * iconvdata/cns11643.h: New file.
4295 * iconvdata/cns11643l1.c: New file.
4296 * iconvdata/cns11643l1.h: New file.
4297 * iconvdata/euctw.c: New file.
4298 * iconvdata/Makefile: Add rules for EUC-TW and CNS.
4299 * iconvdata/gconv-modules: Likewise.
4301 * iconvdata/eucjp.c: Several bug fixes and improvements.
4302 * iconvdata/gb2312.h: Likewise.
4303 * iconvdata/jis0201.h: Likewise.
4304 * iconvdata/jis0208.h: Likewise.
4305 * iconvdata/jis0212.h: Likewise.
4307 1998-04-13 09:11 Ulrich Drepper <drepper@cygnus.com>
4309 * iconvdata/eucjp.c: New file.
4310 * iconvdata/euccn.c: New file.
4311 * iconvdata/gb2312.h: New file.
4312 * iconvdata/gb2312.c: New file.
4313 * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
4314 * iconvdata/gconv-modules: Likewise.
4316 * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
4318 1998-04-12 Ulrich Drepper <drepper@cygnus.com>
4320 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4321 (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
4322 Patch by Mark Hatle <fray@kernel.crashing.org>.
4324 1998-04-12 22:47 Philip Blundell <Philip.Blundell@pobox.com>
4326 * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
4328 (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
4329 (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
4331 1998-04-12 Ulrich Drepper <drepper@cygnus.com>
4333 * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
4335 * iconvdata/Makefile: Add rules for big5 conversion.
4336 * iconvdata/gconv-modules: Likewise.
4337 * iconvdata/big5.c: New file.
4339 * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
4340 Patch by Jim Meyering.
4342 1998-04-11 Ulrich Drepper <drepper@cygnus.com>
4344 * rt/tst-aio.c: Add test for aio_read and lio_listio.
4346 * rt/lio_listio.c: Correct total counter handling.
4348 * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
4351 * test-skeleton.c (main): Make stdout unbuffered. Improve message
4352 of signal on exit even more.
4354 * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
4355 instead of call to pthread_cond_init.
4356 * rt/lio_listio.c (lio_listio): Likewise.
4357 * rt/lio_listio64.c (lio_listio64): Likewise.
4359 * nis/nis_findserv.c: Include sys/socket.h.
4361 1998-04-11 09:33 Ulrich Drepper <drepper@cygnus.com>
4363 * Makeconfig (rtobjdir): New variable.
4364 (rpath-link): Add rtobjdir and thread directory, if available.
4366 * test-skeleton.c: Add support to remove temporary files.
4367 Always define test_dir. Improve message about expected signal.
4369 * rt/Makefile (tests): Add tst-aio.
4370 Add rules for tst-aio to be linked with librt and thread library.
4371 * rt/aio_misc.c: Correct fundamental bugs.
4372 * rt/aio_suspend.c: Correct bug in test for available request.
4373 Initialize conditional variable.
4374 * rt/lio_listio.c: Initialize conditional variable.
4375 * rt/lio_listio64.c: Likewise.
4376 * rt/tst-aio.c: New file.
4378 * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
4379 * sysdeps/libm-ieee754/w_gamma.c: Likewise. Adopt for ISO C 9x.
4380 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4381 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
4382 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
4383 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4384 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4386 1998-04-11 14:49 Mark Kettenis <kettenis@landau.phys.uva.nl>
4388 * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
4390 1998-04-10 Ulrich Drepper <drepper@cygnus.com>
4392 * elf/dl-load.c (open_path): Use correct name for test whether
4393 directory in load path exists.
4395 * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
4396 * sysdeps/libm-ieee754/e_pow.c: Fix typo.
4397 Patches by Tom Rini <trini@kernel.crashing.org>.
4399 * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
4400 * wcsmbs/wcstod_l.c: Likewise.
4401 * wcsmbs/wcstold_l.c: Likewise.
4403 * include/byteswap.h: New file.
4405 * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
4406 .bss segment size. Patch by Joe Keane <jgk@jgk.org>.
4408 * inet/getnameinfo.c (getnameinfo): Change parameter to match
4409 declaration. Patch by Richard Henderson.
4411 1998-04-10 12:40 Zack Weinberg <zack@rabi.phys.columbia.edu>
4413 * manual/process.texi (SIGCHLD example): Save errno.
4415 1998-04-09 Ulrich Drepper <drepper@cygnus.com>
4417 * posix/regex.c: Define regerror really as __regerror.
4418 * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
4419 regerror and regfree.
4421 * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
4422 * stdlib/strtod_l.c: Likewise.
4423 * stdlib/strtold_l.c: Likewise.
4425 * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
4427 * sysdeps/i386/i486/bits/string.h: Remove unused variables.
4429 * misc/syslog.c (closelog_internal): Set LogTag to NULL.
4430 Patch by Christian Gafton.
4432 1998-04-09 14:27 Ulrich Drepper <drepper@cygnus.com>
4434 * manual/socket.texi (Interface Naming): Correct @deftypefun line
4437 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4439 * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
4441 * manual/socket.texi (Interface Naming): Fix typo.
4443 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4445 * manual/examples/filesrv.c (main): Remove filename first.
4447 * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
4450 * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
4453 * manual/examples/filecli.c (main): Use AF_LOCAL
4456 1998-04-09 Ulrich Drepper <drepper@cygnus.com>
4458 * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
4460 * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
4461 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4462 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4463 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
4464 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4465 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
4467 * login/utmp_daemon.c (open_socket): Use __connect not connect.
4469 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4471 * configure.in: Add new option --enable-force-install. Substitute
4473 * config.make.in (force-install): Set from configure.
4474 * Makerules (force-install): New phony target.
4475 * Makeconfig (+force): New variable.
4476 * Makefile: Use it in dependency list of installation targets.
4477 * db/Makefile: Likewise.
4478 * db2/Makefile: Likewise.
4479 * elf/Makefile: Likewise.
4480 * hurd/Makefile: Likewise.
4481 * iconv/Makefile: Likewise.
4482 * iconvdata/Makefile: Likewise.
4483 * intl/Makefile: Likewise.
4484 * localedata/Makefile: Likewise.
4485 * login/Makefile: Likewise.
4486 * po/Makefile: Likewise.
4487 * sunrpc/Makefile: Likewise.
4488 * sysdeps/mach/hurd/Makefile: Likewise.
4489 * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
4490 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4491 * timezone/Makefile: Likewise.
4493 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4495 * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
4496 alloc_size. Pass return value of getcwd syscall to realloc.
4498 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4500 * manual/socket.texi: Spelling fixes.
4502 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4504 * elf/dl-load.c (print_search_path): Remove unused variable.
4506 1998-04-08 Ulrich Drepper <drepper@cygnus.com>
4508 * login/utmp_file.c: use __ftruncate not ftruncate.
4509 * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
4510 for system call and make ftruncate weak alias.
4511 * posix/unistd.h: Add prototype for __ftruncate.
4512 * login/utmp_daemon.c (open_socket): Use __socket not socket.
4513 * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
4514 instead of snprintf and readv.
4515 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
4517 * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
4520 1998-04-08 20:06 Ulrich Drepper <drepper@cygnus.com>
4522 * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
4523 * iconv/gconv_db.c: Use __ protected regex functions.
4524 * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
4525 * posix/getopt_init.c: Use __getpid not getpid.
4526 * posix/regex.c: Rename all global functions to start with __ and
4527 make old names weak aliases.
4528 * posix/regex.h: Adopt prototypes for this.
4529 * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
4530 a weak alias and use __getcwd instead of getcwd.
4531 * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
4532 * stdlib/strtod.c: Use __btowc instead of btowc.
4533 * stdlib/strtol.c: Likewise.
4534 * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
4535 * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
4536 and sys_errlist are weak.
4537 * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
4538 * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
4539 * wcsmbs/mbsnrtowcs.c: Likewise.
4540 * wcsmbs/mbsrtowcs.c: Likewise.
4541 * wcsmbs/wcsnrtombs.c: Likewise.
4542 * wcsmbs/wcsrtombs.c: Likewise.
4543 * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
4545 * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
4546 * wctype/wctype.c: Define function as __wctype and make wctype
4548 * wctype/wctype.h: Declare __wctype.
4550 1998-04-08 Ulrich Drepper <drepper@cygnus.com>
4552 * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
4554 1998-04-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4556 * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
4558 (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
4560 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
4562 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4563 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
4564 * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
4565 make it a weak alias.
4566 * posix/unistd.h: Declare __lseek64.
4568 * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
4569 (_IO_file_stat): Fix typo.
4570 (_IO_file_xsgetn): Update fd->_offset. Read a multiple of the
4571 block size from the file. Use __mempcpy if _LIBC.
4573 1998-04-07 20:32 Ulrich Drepper <drepper@cygnus.com>
4575 * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
4576 * wcsmbs/mbrtowc.c: Likewise.
4577 * wcsmbs/mbsnrtowcs.c: Likewise.
4578 * wcsmbs/mbsrtowcs.c: Likewise.
4579 * wcsmbs/wcrtomb.c: Likewise.
4580 * wcsmbs/wcsnrtombs.c: Likewise.
4581 * wcsmbs/wcsrtombs.c: Likewise.
4582 * wcsmbs/wctob.c: Likewise.
4584 * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
4585 position of next output character correctly.
4586 (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
4588 * stdio-common/vfprintf.c (vfprintf): Clear state before used.
4590 * stdlib/strtod.c: Don't use mbtowc.
4592 1998-04-07 19:07 H.J. Lu <hjl@gnu.org>
4594 * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
4595 what we want is smaller than a buffer.
4597 1998-04-07 18:14 Ulrich Drepper <drepper@cygnus.com>
4599 * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
4602 1998-04-07 Ulrich Drepper <drepper@cygnus.com>
4604 * configure.in: Recognize --with-headers flag and determine
4605 commandline options to be used in compilation.
4606 * Makeconfig (+includes): Use $(sysincludes).
4607 * config.make.in (sysincludes): Define from SYSINCLUDES.
4608 * glibcbug.in: Use SYSINCLUDES information.
4609 Patches by Zack Weinberg.
4611 1998-04-07 19:03 Zack Weinberg <zack@rabi.phys.columbia.edu>
4613 * glibcbug.in: On linux, report version of kernel headers seen
4616 1998-04-07 16:18 Ulrich Drepper <drepper@cygnus.com>
4618 * libc.map: Add __asprintf to GLIBC_2.1.
4619 * elf/dlerror.c: Use __asprintf, not asprintf.
4620 * libio/stdio.h: Declare __asprintf.
4621 * stdio-common/asprintf.c: Define as __asprintf and make asprintf
4624 * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
4625 to avoid inclusion from libc_pic.a.
4627 * elf/dl-runtime.c: Undo last patch.
4629 * stdlib/strtod.c: Don't use mbtowc, use btowc.
4631 * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
4632 as default, use NULL.
4634 1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4636 * resolv/Makefile: Include ../Makeconfig - needed for building
4639 1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4641 * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
4642 static-nss since we don't want hesiod in the static NSS.
4644 * nss/Makefile: Build only nss_files as static.
4646 * nss/function.def: Remove support for service db.
4648 1998-04-04 09:44 H.J. Lu <hjl@gnu.org>
4650 * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
4652 1998-04-04 18:29 Tim Waugh <tim@cyberelk.demon.co.uk>
4654 * posix/wordexp-test.c: Make IFS per test-case.
4656 1998-04-07 17:50 Zack Weinberg <zack@rabi.phys.columbia.edu>
4658 * glibcbug.in: Report version of gcc in use. Remove unused variable
4661 1998-04-07 Gordon Matzigkeit <gord@profitpress.com>
4663 * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
4664 `-print-file-name' to find as and ld.
4666 1998-04-07 Ulrich Drepper <drepper@cygnus.com>
4668 * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
4669 template is wrong. Remove unused varaible `ignored'.
4671 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4673 * libc.map: Export __libc_sa_len.
4675 * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
4677 1998-04-07 08:51 Ulrich Drepper <drepper@cygnus.com>
4679 * iconv/gconv.c: Take care for NULL arguments.
4680 * iconv/gconv_dl.c: Make find_func function global.
4681 * iconv/gconv_int.h: Add prototype for __gconv_find_func.
4682 Add prototypes for ASCII conversion functions.
4683 * iconv/gconv_simple.c: Add ASCII conversion functions.
4684 * locale/C-ctype.c: Correct charset name.
4686 * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
4687 (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
4689 * wcsmbs/btowc.c: Rewrite to use iconv functionality.
4690 * wcsmbs/mbrtowc.c: Likewise.
4691 * wcsmbs/mbsnrtowcs.c: Likewise.
4692 * wcsmbs/mbsrtowcs.c: Likewise.
4693 * wcsmbs/wcrtomb.c: Likewise.
4694 * wcsmbs/wcsnrtombs.c: Likewise.
4695 * wcsmbs/wcsrtombs.c: Likewise.
4696 * wcsmbs/wctob.c: Likewise.
4697 * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen. Remove
4698 prototypes for wmemr*.
4699 * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
4700 * wcsmbs/wcsnlen.c: New file.
4701 * wcsmbs/wcsmbsload.c: New file.
4702 * wcsmbs/wcsmbsload.h: New file.
4704 * manual/filesys.texi: Mention risks of tmpnam and mktemp.
4706 * manual/install.texi: Describe some more critical points.
4708 * string/string.h: Add prototype for __strnlen.
4709 * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
4711 * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
4712 much less predictable names.
4713 * sysdeps/posix/mkstemp.c: Likewise.
4715 1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4717 * manual/libc.texinfo (Top): Change "file namespace" to "local
4720 * manual/socket.texi: Change file namespace to local namespace.
4721 (Out-of-Band Data): Remove unneeded variable link.
4722 (Host Address Functions): Use uint32_t consequently and add a
4723 number of clarifications for IPv4/IPv6, classless addresses.
4724 (Internet Namespace): Added some paragraphs about IPv6.
4725 Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
4727 1998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
4729 Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
4731 * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
4732 (NI_NUMERICHOST, et al.): Tidy up and add comments.
4733 (AI_NUMERICHOST): Define.
4734 (getnodebyname): New prototype.
4735 (AI_V4MAPPED, et al.): New constants.
4737 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
4738 * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
4739 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
4741 * sysdeps/unix/sysv/linux/sa_len.c: New file.
4742 * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
4744 * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
4746 * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
4747 * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
4748 * socket/Makefile (headers): Add bits/sockunion.h.
4749 * socket/sys/socket.h: Include <bits/sockunion.h>
4750 * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
4751 <sys/socket.h>, to avoid getting sockaddr_union defined.
4752 * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
4753 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4754 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4756 * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
4757 (2.2.x kernels won't have it).
4759 1998-04-06 21:21 Ulrich Drepper <drepper@cygnus.com>
4761 * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
4762 * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
4763 * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
4764 Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
4766 1998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
4768 * manual/socket.texi (Socket Addresses): Fix a typo.
4769 (Interface Naming): New section.
4771 1998-04-05 23:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
4773 * configure.in: Check for CC using $ac_tool_prefix, to handle
4774 cross-compilation. Use AC_CHECK_TOOL to find MiG.
4775 * config.make.in: Add MIG to be substituted.
4776 * mach/Machrules: Don't define MIG variable.
4778 Patch by Gordon Matzigkeit <gord@profitpress.com>.
4780 1998-04-05 Mark Kettenis <kettenis@phys.uva.nl>
4782 * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
4783 strdupa to copy rpath.
4785 1998-04-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4787 * configure.in: Fix gcc version check.
4789 * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
4792 1998-03-31 Mark Kettenis <kettenis@phys.uva.nl>
4794 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
4797 * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
4799 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
4800 * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
4801 * sysdeps/unix/grantpt.c (grantpt): Change check of return value
4802 of __ptsname_r accordingly.
4803 * login/openpty.c (openpty): Likewise.
4805 1998-06-04 18:47 H.J. Lu <hjl@gnu.org>
4807 * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
4809 1998-04-06 13:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4811 * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
4813 * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
4815 1998-04-06 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4817 * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
4818 return value for better error checking.
4820 1998-04-06 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
4822 * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
4823 _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
4825 * elf/elf.h (EM_SPARC64): Remove.
4826 (EM_SPARC32PLUS, EM_SPARCV9): Add.
4827 (HWCAP_SPARC_V9): Add.
4829 * elf/ldsodefs.h (_dl_hwcap): Declare.
4830 * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
4831 Weaken so dlopen from static progies works.
4832 (WEAKADDR): New macro.
4833 (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
4834 (LD_SO_PRELOAD): New macro.
4835 (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
4836 (elf_machine_rela): Weaken _dl_rtld_map.
4838 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
4839 to __clone, and remove the later's alias.
4840 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
4842 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
4843 the kernel's structure.
4845 * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
4846 Sparc needs a custom value of __KERNEL_NCCS.
4848 1998-04-06 Richard Henderson <rth@cygnus.com>
4850 * sysdeps/generic/libc-start.c: Allow init and fini to be null.
4852 * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
4853 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4855 1998-04-06 Richard Henderson <rth@cygnus.com>
4857 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
4858 as the buffer is not properly aligned.
4859 Reported by Juan Cespedes <cespedes@debian.org>.
4861 1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4863 * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
4866 1998-04-05 Ulrich Drepper <drepper@cygnus.com>
4868 * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
4869 and wc*tomb* functions.
4871 1998-04-04 15:16 Philip Blundell <Philip.Blundell@pobox.com>
4873 * sysdeps/unix/start.c: Fix typo.
4875 1998-04-04 Ulrich Drepper <drepper@cygnus.com>
4877 * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
4879 1998-04-03 23:38 Ulrich Drepper <drepper@cygnus.com>
4881 * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
4882 expressions and using array variables.
4883 * sysdeps/libm-ieee754/e_asin.c: Likewise.
4884 * sysdeps/libm-ieee754/e_j0.c: Likewise.
4885 * sysdeps/libm-ieee754/e_j1.c: Likewise.
4886 * sysdeps/libm-ieee754/e_log.c: Likewise.
4887 * sysdeps/libm-ieee754/e_pow.c: Likewise.
4888 * sysdeps/libm-ieee754/k_cos.c: Likewise.
4889 * sysdeps/libm-ieee754/k_sin.c: Likewise.
4890 * sysdeps/libm-ieee754/k_tan.c: Likewise.
4891 * sysdeps/libm-ieee754/s_atan.c: Likewise.
4892 * sysdeps/libm-ieee754/s_erf.c: Likewise.
4893 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
4894 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
4895 Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
4897 1998-04-03 23:17 Ulrich Drepper <drepper@cygnus.com>
4899 * iconv/gconv.c: Rewrite of the low-level of gconv.
4900 * iconv/gconv.h: Likewise.
4901 * iconv/gconv_builtin.h: Likewise.
4902 * iconv/gconv_close.c: Likewise.
4903 * iconv/gconv_db.: Likewise.
4904 * iconv/gconv_dl.c: Likewise.
4905 * iconv/gconv_int.h: Likewise.
4906 * iconv/gconv_open.c: Likewise.
4907 * iconv/gconv_simple.c: Likewise.
4908 * iconvdata/8bit-gap.c: Adapt for rewrite.
4909 * iconvdata/8bit-generic.c: Likewise.
4910 * iconvdata/euckr.c: Likewise.
4911 * iconvdata/iso646.c: Likewise.
4912 * iconvdata/iso6937.c: Likewise.
4913 * iconvdata/iso8859-1.c: Likewise.
4914 * iconvdata/johab.c: Likewise.
4915 * iconvdata/sjis.c: Likewise.
4916 * iconvdata/t61.c: Likewise.
4917 * iconvdata/uhc.c: Likewise.
4919 1998-04-03 15:34 Ulrich Drepper <drepper@cygnus.com>
4921 * iconv/gconv_int.h: New file. Internal header.
4922 * iconv/Makefile (distribute): Add gconv_int.h.
4923 * iconv/gconv.h: Remove definition which are now in gconv_int.h.
4924 * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
4925 * iconv/gconv_close.c: Likewise.
4926 * iconv/gconv_conf.c: Likewise.
4927 * iconv/gconv_db.c: Likewise.
4928 * iconv/gconv_dl.c: Likewise.
4929 * iconv/gconv_int.h: Likewise.
4930 * iconv/gconv_open.c: Likewise.
4931 * iconv/iconv.c: Likewise.
4932 * iconv/iconv_close.c: Likewise.
4933 * iconv/iconv_open.c: Likewise.
4934 * iconv/iconv_prog.c: Likewise.
4936 1998-04-03 Ulrich Drepper <drepper@cygnus.com>
4938 * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
4941 1998-04-03 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4943 * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
4945 1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
4947 Based on patch from Pat Beirne:
4948 * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
4949 PIC and non-PIC now. Correctly negate error number.
4950 (errno): Use `%' not `@' in .type directives.
4952 1998-04-03 Ulrich Drepper <drepper@cygnus.com>
4954 * sysdeps/i386/strtok.S: Change to use single exit point.
4955 * sysdeps/i386/i686/strtok.S: Likewise.
4957 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4959 * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
4962 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4964 * Makerules (installed-libcs): Fix typo.
4966 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4968 * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
4969 (UHC-routines): Remove ksc5601.
4971 1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
4973 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
4974 introduced in last change.
4976 1998-04-03 06:22 Ulrich Drepper <drepper@cygnus.com>
4978 * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
4981 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
4983 * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
4985 * stdlib/isomac.c: Use -isystem instead of -I for system include
4988 1998-03-30 08:05 H.J. Lu <hjl@gnu.org>
4990 * resolv/res_comp.c (underscorechar): New.
4991 (middlechar): Allow '_'.
4993 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
4995 * intl/explodename.c (stdlib.h): Include that file only if
4996 STDC_HEADERS or _LIBC.
4997 (string.h): Include that file only if HAVE_STRING_H or _LIBC.
4998 Patch by Philippe De Muyter <phdm@macqel.be>.
5000 1998-04-01 21:08 Zack Weinberg <zack@rabi.phys.columbia.edu>
5002 * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
5003 (AC_PROG_CHECK_VER): New macro.
5004 * configure.in: Use AC_PROG_CHECK_VER to check versions of
5005 gcc, gmake, msgfmt, makeinfo. Remove superfluous tests.
5007 1998-04-02 15:13 Ulrich Drepper <drepper@cygnus.com>
5009 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
5010 * sysdeps/i386/i686/strtok.S: New file
5011 * sysdeps/i386/i686/strtok_r.S: New file
5013 1998-04-02 Mark Kettenis <kettenis@phys.uva.nl>
5015 * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
5017 * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
5018 parameter as __off64_t instead of __off_t.
5019 (ftello): Make alias for ftello64 instead of ftello. Change
5020 return type to __off64_t.
5022 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
5024 * sysdeps/i386/bits/string.h: Fix various typos.
5025 Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
5027 * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
5029 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
5031 * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
5032 lchown syscall correctly. [PR libc/541].
5034 1998-04-02 11:45 Ulrich Drepper <drepper@cygnus.com>
5036 * localedata/Makefile: Correct testsuite rules.
5038 * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
5039 * iconvdata/iso646.c: Fix conversion from UCS4.
5041 * elf/ldsodefs.h: Mark internal function with internal_function.
5042 * elf/dl-addr.c: Likewise.
5043 * elf/dl-close.c: Likewise.
5044 * elf/dl-debug.c: Likewise.
5045 * elf/dl-deps.c: Likewise.
5046 * elf/dl-error.c: Likewise.
5047 * elf/dl-fini.c: Likewise.
5048 * elf/dl-init.c: Likewise.
5049 * elf/dl-load.c: Likewise.
5050 * elf/dl-lookup.c: Likewise.
5051 * elf/dl-object.c: Likewise.
5052 * elf/dl-open.c: Likewise.
5053 * elf/dl-profile.c: Likewise.
5054 * elf/dl-reloc.c: Likewise.
5055 * elf/dl-runtime.c: Likewise.
5056 * elf/dl-symbol.c: Likewise.
5057 * elf/dl-version.c: Likewise.
5058 * elf/dlerror.c: Likewise.
5059 * sysdeps/generic/dl-sysdep.c: Likewise.
5060 * sysdeps/i386/dl-machine.h: Likewise.
5061 * intl/finddomain.c: Likewise.
5062 * intl/gettextP.h: Likewise.
5063 * intl/loadmsgcat.c: Likewise.
5065 1998-04-01 17:38 Ulrich Drepper <drepper@cygnus.com>
5067 * iconv/gconv_simple.c: New builtins for UCS en/decoding.
5068 * iconv/gconv_builtin.h: Add definitions for new builtins.
5069 * iconv/gconv.h: Add prototypes for new builtins.
5071 * iconvdata/Makefile (modules): Add ISO646.
5072 Add rules for ISO646 module.
5073 (distribute): Add iso646.c.
5074 * iconvdata/gconv-modules: Add module and alias definition for
5076 * iconvdata/iso646.c: New file.
5078 1998-04-01 16:10 Ulrich Drepper <drepper@cygnus.com>
5080 * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
5081 * iconv/iconv_prog.c: Implement --list option to print available
5082 coded character sets.
5084 1998-04-01 18:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
5086 Make fread() read large blocks straight to the user buffer.
5088 * libio/fileops.c (_IO_file_xsgetn): New function.
5089 (_IO_file_jumps): Use it.
5090 * libio/libioP.h: Prototype it.
5092 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
5094 * iconv/gconv_conf.c (builtin_aliases): New variable.
5095 (__gconv_read_conf): Add builtin aliases.
5096 * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
5097 noop macro before including gconv_builtin.h.
5098 * iconv/gconv_builtin.h: Add alias names.
5100 * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
5101 number of converted bytes correctly.
5103 1998-04-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5105 * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
5106 we only wait for a replay.
5108 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
5110 * iconvdata/Makefile: Finally fix dependencies for JOHAB and
5113 1998-04-1 16:52 Philip Blundell <pb@nexus.co.uk>
5115 * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
5116 use PLTJMP() rather than explicit (PLT).
5118 * sysdeps/arm/elf/start.S: Leave most of the initialisation for
5119 __libc_start_main().
5121 Based on patch from Pat Beirne:
5122 * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
5123 Always define, not only #ifndef PIC.
5124 (DO_CALL): Pass fifth argument correctly in R4.
5125 (PSEUDO): Correct test for error, call syscall_error through PLT
5128 1998-03-31 10:51 Philip Blundell <pb@nexus.co.uk>
5130 * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
5133 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
5135 * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
5138 1998-04-01 13:20 Mark Kettenis <kettenis@phys.uva.nl>
5140 * io/Makefile (static-only-routines): Add stat64, fstat64 and
5143 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5145 * manual/Makefile: Use object-suffixes-for-libc instead of
5147 * rpm/Makefile (install-lib): Likewise.
5149 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5151 * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
5153 * sysdeps/unix/sysv/linux/configure.in: Match $machine against
5154 `m68*', not only `m68k'.
5156 1998-04-01 10:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5158 * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
5160 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
5163 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
5165 * iconvdata/Makefile: Use libKSC shared object in JOHAB and
5168 * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
5171 1998-03-30 08:43 H.J. Lu <hjl@gnu.org>
5173 * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
5176 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
5178 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
5180 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5182 Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
5184 1998-03-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5186 * Makerules (install): Change comment for libc.so following the
5187 libc_nonshared changes.
5189 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
5191 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
5193 * iconvdata/gap.pl: Avoid using %#06x.
5195 1998-03-31 19:55 Zack Weinberg <zack@rabi.phys.columbia.edu>
5197 * Makerules: Use $? instead of S^ when invoking ar.
5199 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
5201 * db2/compat.h: Allow EFTYPE being defined.
5202 * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
5203 * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
5204 * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
5205 * sysdeps/mach/bits/libc-lock.h: Fix typo.
5206 (__libc_once): Correctly unlock semaphore.
5207 * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
5208 * sysdeps/unix/bsd/getpt.c: Fix typo.
5209 Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
5211 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
5213 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
5216 1998-03-31 18:11 Ulrich Drepper <drepper@cygnus.com>
5218 * include/mntent.h: New file.
5220 * elf/Makefile (trusted-dirs.h): Append slash to filename.
5221 * elf/dl-load.c: Rewrite search path handling.
5222 * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
5223 * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
5224 * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
5225 * elf/ldsodefs.h: Add prototype.
5227 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
5229 * nss/nsswitch.c (__nss_lookup): Adjust comment.
5231 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
5234 * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
5236 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
5238 (HWCAP_IMPORTANT): New definition.
5240 1998-03-30 17:26 H.J. Lu <hjl@gnu.org>
5242 * elf/dl-open.c (_dl_open): Fix a typo.
5243 (_dl_global_scope_alloc): Make it static.
5245 1998-03-30 17:20 Ulrich Drepper <drepper@cygnus.com>
5247 * Makerules: Remove duplicate rules to handle stamp.oS.
5249 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5251 * manual/examples/inetsrv.c (main): Change prototype of
5252 make_socket following change in mkisock.c.
5254 * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
5256 (main): Change prototype of init_sockaddr following change in
5259 * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
5260 * manual/examples/isockad.c (init_sockaddr): Likewise.
5262 * manual/examples/mkfsock.c (make_named_socket): Removed blank
5263 lines for clarification.
5264 (make_named_socket): Use strncpy instead of strcpy.
5265 Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
5267 1998-03-30 13:28 Ulrich Drepper <drepper@cygnus.com>
5269 * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
5270 determining libs to remove.
5271 (postclean): Add soversions.mk.
5272 * Makerules (common-mostlyclean): Add tests-static and generated
5275 1998-03-30 12:53 Ulrich Drepper <drepper@cygnus.com>
5277 * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
5279 (__strncat_g): Add i686 specific code.
5281 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5283 * manual/install.texi (Reporting Bugs): Ask to include section
5286 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5288 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
5289 guard against direct inclusion.
5291 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5293 Rework support for libc_nonshared.a:
5294 * Makeconfig (object-suffixes-for-libc): New variable.
5295 * Rules: Remove handling of static-only and shared-only routines.
5296 * Makerules: Handle them here instead. Use
5297 object-suffixes-for-libc instead of object-suffixes when dealing
5299 (object-suffixes-for-rules): Remove variable.
5300 (elide-routines.oS): Elide all routines except static-only
5302 ($(objpfx)stamp.oS): Special rule for when static-only-routines is
5304 (installed-libcs): Remove special case for .oS.
5307 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5309 * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
5310 do-tst-rpmatch): New targets.
5312 (install-locales): Ignore comment lines.
5314 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5316 * elf/Makefile ($(objpfx)ld.so): Depend on version script.
5317 ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
5318 ($(objpfx)rtldtbl.h): Likewise.
5319 (CPPFLAGS-dl-load.c): Fix reference to object directory.
5321 1998-03-30 09:36 Ulrich Drepper <drepper@cygnus.com>
5323 * manual/string.texi (Finding Tokens in a String): Extend strsep
5324 description and correct example.
5326 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5328 * manual/socket.texi: Remove misguided explicit line breaks and
5329 fix the formatting problem instead by reformulating the
5331 * manual/filesys.texi: Likewise.
5332 * manual/conf.texi: Likewise. Don't typeset table with index
5333 fonts, that looks worse than a minimally overfull line.
5335 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5337 * nscd/Makefile (nscd-modules): Move definition outside of
5340 * pwd/Makefile: Use have-thread-library to test for thread
5343 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5345 * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
5347 * iconvdata/uhc.c (gconv): Remove unused variable idx.
5349 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
5351 * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
5353 1998-03-29 Ulrich Drepper <drepper@cygnus.com>
5355 * nss/getXXent_r.c: Correctly handle failing setXXent function.
5357 * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
5358 Reported by Andreas Jaeger.
5360 1998-03-29 20:59 Ulrich Drepper <drepper@cygnus.com>
5362 * elf/Makefile: Fix typo.
5363 (distribute): Add dl-librecon.h.
5364 * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
5365 * elf/ldd.sh.in: Likewise.
5366 * elf/ldsodefs.h: Declare _dl_correct_cache_id.
5367 * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
5368 Use strsep correctly.
5369 (process_envvars): Allow platform specific variables.
5370 * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
5371 (_dl_load_cache_lookup): Test cache IDs found against
5372 _dl_correct_cache_id.
5373 * sysdeps/generic/dl-librecon.h: New file.
5374 * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
5376 * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
5378 1998-03-29 16:50 Ulrich Drepper <drepper@cygnus.com>
5380 * config.make.in (ldd-rewrite-script): New variable.
5381 * configure.in: Substitute ldd-rewrite-script.
5382 * elf/Makefile: Rewrite rules to generate ldd script.
5383 * elf/ldd.bash.in: Allow handling of non-ELF binaries.
5384 * elf/ldd.sh.in: Likewise.
5385 * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
5386 * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
5387 point to sed script for libc4 handling insertion for ix86, m68, SPARC.
5388 * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
5389 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
5391 1998-03-26 15:20 Zack Weinberg <zack@rabi.phys.columbia.edu>
5393 * inet/rcmd.c (iruserok): Remain setuid to the local user
5394 while .rhosts is actually read, to make .rhosts-over-NFS work
5395 (PR libc/524). Use iruserfopen() for security checks on both
5396 hosts.equiv and .rhosts. General cleanup.
5397 (iruserfopen): New function, performs careful checking on
5398 hosts.equiv/.rhosts files. Disallows all the old forbidden
5399 stuff plus hard links to files.
5401 1998-03-29 09:26 Ulrich Drepper <drepper@cygnus.com>
5403 * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
5405 * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
5407 1998-03-29 02:02 H.J. Lu <hjl@gnu.org>
5409 * sysdeps/i386/i486/bits/string.h: Fix typos.
5411 1998-03-28 00:13 H.J. Lu <hjl@gnu.org>
5413 * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
5416 * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
5418 * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
5419 Added. Used by libm.so on alpha.
5421 1998-03-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5423 * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
5426 1998-03-27 07:29 H.J. Lu <hjl@gnu.org>
5428 * Makerules (object-suffixes-for-rules): Add .oS only for
5429 building shared library.
5430 Add ranlib rule for nonshared library.
5433 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
5434 into for shared library only.
5435 (CPPFLAGS-.oS): Add -DPIC.
5436 (libtypes): Use $(object-suffixes-for-rules) instead of
5439 1998-03-28 Ulrich Drepper <drepper@cygnus.com>
5441 * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
5442 and install lddlibc4.
5444 1998-03-28 09:13 Zack Weinberg <zack@rabi.phys.columbia.edu>
5446 * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
5448 * iconvdata/gaptab.pl: Likewise.
5450 1998-03-27 22:46 Ulrich Drepper <drepper@cygnus.com>
5452 * Rules: Allow Makefiles to specify test-static for tests which
5453 cannot be linked dynamically.
5454 * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
5457 * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
5459 * misc/error.c: Pretty print.
5461 1998-03-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5463 * Makerules (libc_nonshared-name): Remove variable.
5464 (installed-libcs): Use libc-name instead.
5465 ($(inst_libdir)/libc.so): Likewise. Remove explicit reference to
5468 * Makeconfig (link-libc): Link against libc_nonshared.a instead of
5469 libc.a. Remove explicit reference to dynamic linker.
5471 1998-03-27 Ulrich Drepper <drepper@cygnus.com>
5473 * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
5475 * iconv/iconv_prog.c: Correctly test for write failure.
5476 * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
5477 * iconvdata/gconv-modules: Likewise.
5478 * iconvdata/euckr.c: New file.
5479 * iconvdata/johab.c: New file.
5480 * iconvdata/ksc5601.c: New file.
5481 * iconvdata/ksc5601.h: New file.
5482 * iconvdata/uhc.c: New file.
5483 Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
5485 * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
5486 * stdio/fopen.c: Correct handling of 'x' flag.
5487 Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
5489 1998-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5491 * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
5492 * sunrpc/rpcsvc/key_prot.x: Likewise.
5493 * sunrpc/key_prot.c: Likewise.
5495 1998-03-27 13:49 Ulrich Drepper <drepper@cygnus.com>
5497 * sysdeps/i386/bits/string.h: Correct things which never worked.
5498 * sysdeps/i386/i486/bits/string.h: Add clobber marks.
5499 Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
5501 1998-03-27 Ulrich Drepper <drepper@cygnus.com>
5503 * intl/textdomain.c [_LIBC]: Define strdup only if not yet
5504 defined. Reported by Thorsten Kukuk.
5506 1998-03-26 18:50 Ulrich Drepper <drepper@cygnus.com>
5508 * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
5510 1998-03-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5512 * manual/install.texi (Supported Configurations): Add
5513 arm-linuxaout and arm-none.
5515 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
5517 * version.h (VERSION): Bump to 2.0.93.
5519 1998-03-25 07:30 H.J. Lu <hjl@gnu.org>
5521 * configure.in (libc_cv_ar_S): New to indicate if ar S works.
5523 * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
5525 * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
5526 (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
5528 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
5530 * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
5532 1998-03-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5534 Put the static-only routines in a separate library.
5535 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
5537 (all-object-suffixes): Add .oS.
5538 * Makerules (libc_static-name): New variable.
5539 (installed-libcs): Add libc_nonshared.a.
5540 ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
5541 (object-suffixes-for-rules): New variable. Use it instead of
5542 object-suffixes for generating compilation rules.
5543 (rmobjs): Also remove *.oS.
5544 * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
5545 ($(objpfx)stamp.oS): New target.
5547 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
5549 * Makefile (FAQ): Automatically check in regenerated FAQ.
5551 1998-03-26 10:16 Zack Weinberg <zack@rabi.phys.columbia.edu>
5553 * Makefile (INSTALL): Depend on install.texi, not maint.texi.
5555 1998-03-25 Ulrich Drepper <drepper@cygnus.com>
5557 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
5558 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
5560 * sysdeps/generic/stub_warning: Removed.
5562 * Makefile (distribute): Add include/des.h.
5564 * manual/Makefile (distribute): Change dir-add.texi to
5567 * glibcbug.in: Create files safely when mktemp is not available.
5569 * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
5570 Patch by a sun <asun@saul1.u.washington.edu>.
5572 1998-03-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5574 * libc.map: Rename getname to getnetname.
5576 1998-03-25 13:35 Ulrich Drepper <drepper@cygnus.com>
5578 * manual/maint.texi: Use supported platform in examples.
5580 * manual/install.texi: Document some installation tips.
5582 1998-03-25 10:56 Ulrich Drepper <drepper@cygnus.com>
5584 * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
5585 Fix a bug so that it returns an error if a numeric parameter is
5586 unset and WRDE_UNDEF is set.
5587 Patch by Andreas Schwab and Tim Waugh.
5588 * posix/wordexp-test.c: Add new new test.
5590 1998-03-25 Ulrich Drepper <drepper@cygnus.com>
5592 * posix/regex.c (regex_compile): Last patch wasn't entirely
5593 correct. Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
5595 1998-03-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5597 * manual/filesys.texi (Scanning Directory Content): Fix typo.
5599 1998-03-25 09:24 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
5601 * sysdeps/i386/bits/string.h: Fix all assembler statements so that
5602 clobbered registers don't appear as operands.
5604 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
5606 * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
5609 * posix/regex.c (regex_compile): Don't allow non-alphabet
5610 characters in character set name.
5612 1998-03-25 00:00 Tim Waugh <tim@cyberelk.demon.co.uk>
5614 * posix/wordexp.c (w_newword): New function.
5615 (do_parse_glob): New function.
5616 (parse_glob): Use do_parse_glob. Now handles the case where a
5617 variable expansion causes a field-split.
5618 (wordexp): Use w_newword.
5619 (parse_arith): Likewise.
5620 (exec_comm): Likewise.
5621 (parse_comm): Likewise.
5622 (parse_param): Likewise.
5623 (parse_backtick): Likewise.
5625 1998-03-24 19:36 Tim Waugh <tim@cyberelk.demon.co.uk>
5627 * posix/wordexp-tst.sh: Another test.
5629 * posix/wordexp-test.c: Two new tests.
5631 * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
5632 directly (the code using realloc was buggy).
5633 (parse_param): Fix typo in comment.
5635 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
5637 * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
5639 1998-03-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5641 * libc.map: Add more rpc auth functions/variables.
5643 * nscd/nscd.c: Add -g option to argp options.
5645 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
5647 * configure.in: Be prepared for gcc 2.9.10 and up.
5648 * configure.in: Add missing disabling of quote characters in
5649 compiler version check. Reported by HJ Lu.
5651 1998-03-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5653 * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
5655 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
5657 * intl/locale.alias: Fix spelling of romanian.
5659 * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
5660 (distribute): Remove des.h.
5661 * include/des.h: New file.
5662 * sunrpc/des.h: Moved to ...
5663 * sunrpc/rpc/rpc_des.h: ...here.
5665 1998-03-22 NIIBE Yutaka <gniibe@mri.co.jp>
5667 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
5670 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
5672 * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
5673 parameter const. Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
5675 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
5677 * elf/ldsodesf.h: New file.
5678 * elf/Makefile (distribute): Add ldsodefs.h.
5679 * elf/link.h: Separate internal information in exter header.
5680 * elf/rtld.c: Include elf/ldsodefs.h not link.h.
5681 * elf/dl-minimal.c: Likewise.
5682 * sysdeps/generic/dl-sysdep.c: Likewise.
5683 * elf/sprof.c: Likewise.
5684 * elf/dlsym.c: Likewise.
5685 * elf/dlvsym.c: Likewise.
5686 * elf/dlerror.c: Likewise.
5687 * elf/dladdr.c: Likewise.
5688 * elf/dlclose.c: Likewise.
5689 * elf/dlopen.c: Likewise.
5690 * elf/dl-addr.c: Likewise.
5691 * elf/dl-close.c: Likewise.
5692 * elf/dl-debug.c: Likewise.
5693 * elf/dl-deps.c: Likewise.
5694 * elf/dl-error.c: Likewise.
5695 * elf/dl-fini.c: Likewise.
5696 * elf/dl-init.c: Likewise.
5697 * elf/dl-load.c: Likewise.
5698 * elf/dl-lookup.c: Likewise.
5699 * elf/dl-object.c: Likewise.
5700 * elf/dl-open.c: Likewise.
5701 * elf/dl-profile.c: Likewise.
5702 * elf/dl-reloc.c: Likewise.
5703 * elf/dl-runtime.c: Likewise.
5704 * elf/dl-support.c: Likewise.
5705 * elf/dl-symbol.c: Likewise.
5706 * elf/dl-version.c: Likewise.
5707 * sysdeps/generic/dl-cache.c: Likewise.
5708 * sysdeps/generic/libc-start.c: Likewise.
5709 * iconv/gconv_dl.c: Likewise.
5710 * nss/nsswitch.c: Likewise.
5712 1998-03-23 13:45 Ulrich Drepper <drepper@cygnus.com>
5714 * manual/nss.texi: The database is not called network but networks.
5715 Reported by Herbert Xu <herbert@gondor.apana.org.au>.
5717 1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5719 * configure.in: Correct test for compiler version.
5720 Check that LD_LIBRARY_PATH doesn't contain current path.
5722 1998-03-23 07:52 H.J. Lu <hjl@gnu.org>
5724 * elf/dl-close.c (_dl_close): Fix byte count while removing
5725 the shared object from the global scope list and optimize
5728 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5730 * manual/filesys.texi (Scanning Directory Content): Add missing
5732 (Scanning Directory Content): Fix text.
5734 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5736 * manual/memory.texi (Heap Consistency Checking): Add paragraph
5737 explaining difference of -lmcheck and MALLOC_CHECK_.
5739 1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5741 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
5744 1998-03-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5746 * test-skeleton.c (main): Fix test for exit signal.
5748 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5750 * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
5752 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5754 * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
5757 1998-03-23 11:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5759 * libc.map: Export __strtok_r.
5761 1998-03-23 Ulrich Drepper <drepper@cygnus.com>
5763 * posix/regex.c (re_compile_fastmap): Remove unused variable
5764 num_regs and adjust comment.
5765 Patch by Jim Meyering <meyering@ascend.com>.
5767 * math/math.h (M_*l): Extend long double constants to be usable
5768 for 128 bit floats. Patch by Richard Henderson.
5770 1998-03-23 11:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5772 * sysdeps/m68k/m68020/wordcopy.S: New file.
5774 1998-03-22 Ulrich Drepper <drepper@cygnus.com>
5776 * posix/wordexp.c: Rewrite parse_param.
5777 Patch by Tim Waugh and Andreas Schwab.
5779 1998-03-21 23:46 Zack Weinberg <zack@rabi.phys.columbia.edu>
5781 * Rules: Update timestamps on empty object files.
5783 1998-03-21 09:15 Ulrich Drepper <drepper@cygnus.com>
5785 * manual/filesys.texi (Scanning Directory Content): Add description
5786 of 64 bits scandir function and friends.
5788 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
5790 * glibcbug.in: Use mktemp to generate unique file name for
5793 * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
5794 ptsname_r. Use cast for execve call.
5796 1998-03-20 16:24 Ulrich Drepper <drepper@cygnus.com>
5798 * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
5799 * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
5800 * io/sys/statvfs.h: New file.
5801 * sysdeps/generic/fstatvfs.h: New file.
5802 * sysdeps/generic/statvfs.h: New file.
5803 * sysdeps/generic/fstatvfs64.h: New file.
5804 * sysdeps/generic/statvfs64.h: New file.
5805 * sysdeps/generic/bits/statvfs.h: New file.
5806 * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
5807 * sysdeps/unix/sysv/linux/statvfs.c: New file.
5808 * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
5810 * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
5811 and f_ffree elements.
5813 * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print. Define
5814 mount options in enum.
5816 1998-03-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5818 * configure.in: Check for recent egcs/gcc.
5820 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
5822 * libc.map: Add alphasort64, scandir64, versionsort64.
5823 * dirent/Makefile (routines): Add scandir64, alphasort64, and
5825 * dirent/alphasort64.c: New file.
5826 * dirent/scandir64.c: New file.
5827 * dirent/versionsort64.c: New file.
5828 * dirent/dirent.h: Add LFS support for scandir, alphasort, and
5830 * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
5831 old name weak alias.
5832 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5834 * dirent/alphasort.c: Use strcoll instead of strcmp.
5836 * dirent/scandir.c: Optimize a bit.
5838 * dirent/versionsort.c: Pretty print.
5840 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
5842 * string/string.h: Add prototype for __strtok_r.
5844 1998-03-20 12:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5846 * posix/Makefile: Fix typo in last change.
5848 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
5850 * dirent/dirent.h (scandir): Make argument of select function const.
5851 * dirent/scandir.c (scandir): Likewise.
5852 Reported by David.Faure@insa-lyon.fr [PR libc/512].
5854 1998-03-19 14:28 Ulrich Drepper <drepper@cygnus.com>
5856 * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
5858 * sysdeps/i386/strtok_r.c: Likewise.
5860 * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
5861 * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
5862 * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
5863 * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
5864 * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
5865 * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
5867 1998-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5869 * intl/localealias.c: Remove unneeded define for strdup.
5871 1998-03-19 13:45 Ulrich Drepper <drepper@cygnus.com>
5873 * manual/argp.texi: Adjust for better TeX output.
5874 * manual/arith.texi: Likewise.
5875 * manual/conf.texi: Likewise.
5876 * manual/filesys.texi: Likewise.
5877 * manual/header.texi: Likewise.
5878 * manual/lgpl.texinfo: Likewise.
5879 * manual/math.texi: Likewise.
5880 * manual/message.texi: Likewise.
5881 * manual/pattern.texi: Likewise.
5882 * manual/process.texi: Likewise.
5883 * manual/signal.texi: Likewise.
5884 * manual/socket.texi: Likewise.
5885 * manual/startup.texi: Likewise.
5886 * manual/stdio.texi: Likewise.
5887 * manual/terminal.texi: Likewise.
5888 * manual/examples/rprintf.c: Likewise.
5889 * manual/examples/testopt.c: Likewise.
5890 Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5892 1998-03-19 20:45 Tim Waugh <tim@cyberelk.demon.co.uk>
5894 * posix/wordexp.c (parse_param): Don't immediately stop parsing a
5895 parameter name after seeing a digit if it's enclosed in braces.
5897 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
5899 * sysdeps/i386/i686/Implies: Add libm-i387/i686.
5901 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5903 * manual/memory.texi (Heap Consistency Checking): Document
5904 MALLOC_CHECK_. Based on a text by Wolfram Gloger.
5906 1998-03-18 17:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
5908 * manual/Makefile: Add missing rules.
5910 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
5912 * timezone/Makefile (generated): Define to remove all stamp files.
5914 * sysdeps/generic/strsep.c: Also undefine __strsep.
5916 * string/strdup.c: Undefine __strdup and strdup first.
5917 * string/strndup.c: Likewise.
5919 * string/bits/string2.h: Correct strtok_r and strsep.
5920 Add strndup optimization.
5922 * sysdeps/generic/strsep.c: Little optimization.
5924 1998-03-18 14:25 Ulrich Drepper <drepper@cygnus.com>
5926 * string/bits/string2.h: Add optimization for strdup.
5927 Always define __strsep and __strtok_r and make real names available
5928 when feature select macros are defined.
5930 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5932 * manual/install.texi (Installation): Use i486-linux as example
5933 instead of the unsupported sunos4.
5934 (Reporting Bugs): Mention glibcbug script.
5935 (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
5937 1998-03-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5939 * posix/wordexp-tst.sh: Make portable. Add more tests.
5941 * posix/Makefile (do-globtest do-wordexp-test): New targets.
5943 1998-03-18 13:38 Ulrich Drepper <drepper@cygnus.com>
5945 * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
5946 * sysdeps/generic/libc-start.c: ...here, replacing former content.
5948 * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
5951 * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
5953 1998-03-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5955 * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
5956 in enumerator for strict standard compliance.
5957 * sysdeps/generic/bits/resource.h: Likewise.
5959 1998-03-18 10:04 Philip Blundell <pb@nexus.co.uk>
5961 * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
5962 (PLTJMP): New macro.
5964 * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
5965 longjmp() when floating point enabled.
5966 * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
5967 * sysdeps/arm/__longjmp.S: Remove floating point code.
5968 * sysdeps/arm/setjmp.S: Likewise.
5970 * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
5971 * sysdeps/arm/bsd-_setjmp.S: Likewise.
5973 * sysdeps/arm/memset.S: New file; optimised ARM implementation of
5976 * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
5979 1998-03-17 16:16 Philip Blundell <pb@nexus.co.uk>
5981 Based on patches from Pat Beirne and Scott Bambrough:
5983 * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
5985 * sysdeps/arm/bits/fenv.h: New file.
5987 * sysdeps/arm/dl-machine.h: New file. Add ELF support.
5988 * sysdeps/arm/elf/setjmp.S: Likewise.
5989 * sysdeps/arm/elf/start.S: Likewise.
5990 * sysdeps/arm/init-first.c: Likewise.
5991 * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
5992 * sysdeps/arm/sysdep.h: Change format of .type directive. Correct
5993 comment about floating point to reflect current reality.
5995 * sysdeps/unix/arm/brk.S: Support PIC.
5996 * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
5998 * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
5999 return; call syscall_error through PLT.
6000 * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
6002 1998-03-04 12:01 Philip Blundell <pb@nexus.co.uk>
6004 * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
6005 * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
6006 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
6008 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
6010 * dirent/list.c (test): Return error value.
6011 (main): Exit with error value.
6013 * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
6015 * Makefile (distribute): Add test-skeleton.c.
6016 * test-skeleton.c: New file.
6017 * dirent/Makefile (tests): Add opendir-tst1.
6018 * dirent/opendir-tst1.c: New file.
6020 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
6022 * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
6023 Optimize memory handling.
6024 * sysdeps/unix/closedir.c: Optmize memory handling.
6026 1998-03-17 Ulrich Drepper <drepper@cygnus.com>
6028 * posix/wordexp.c (parse_param): Fix off-by-on error in $@
6029 handling. Optimize a bit.
6031 1998-03-18 00:25 Tim Waugh <tim@cyberelk.demon.co.uk>
6033 * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
6034 (parse_param): Fold in Andreas' fixes to do with when the end of
6035 the parameter name has been reached, and quoting inside ${...}.
6036 (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
6039 1998-03-16 22:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
6041 * manual/maint.texi: Split out installation and contribution
6042 sections to their own appendices. Misc cleanups.
6043 * manual/install.texi: New file. Mention add-ons. Refer to FAQ.
6044 * manual/contrib.texi: New file.
6045 * manual/libc.texinfo: Pull in new appendices.
6046 * manual/header.texi: Correct node pointer.
6048 1998-03-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6050 * manual/process.texi (Process Completion): Clarify return value
6051 of waitpid a bit. Patch by Zack Weinberg. [PR libc/490]
6053 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6055 * posix/wordexp-test.c: Add more tests.
6056 (testit): Fix logic.
6058 * posix/wordexp.c (exec_comm): In the child, redirect stderr to
6059 /dev/null instead of closing it, close pipe. Always chop off all
6060 trailing newlines. Kill and reap child before returning error.
6061 (w_addword, parse_glob): Fix memory leak.
6062 (wordexp): Fix dangling pointer problem.
6064 1998-03-16 Ulrich Drepper <drepper@cygnus.com>
6066 * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
6068 * posix/wordexp-test.c (main): Fix little thinkos and typos.
6070 * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
6071 directory index by only the language.
6073 1998-03-16 13:02 Tim Waugh <tim@cyberelk.demon.co.uk>
6075 * posix/wordexp-tst.sh: Store test results in the
6076 ${common_objpfx}posix directory.
6078 * posix/wordexp-test.c: Remove temporary directory afterwards.
6080 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6082 * libc.map: Export internal versions of cancelable functions.
6084 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6086 * Makerules (MAKEFLAGS): Append `r'.
6088 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6090 * Makeconfig: Define have-thread-library, shared-thread-library
6091 and static-thread-library if a thread library is available. Don't
6093 * nscd/Makefile: Compile nscd if have-thread-library. Rename
6094 nscd-routines to nscd-modules. Use shared-thread-library and
6095 static-thread-library in dependencies.
6096 * rt/Makefile: Only compile librt if have-thread-library is
6098 * Makefile (subdirs): Always include rt subdir.
6100 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6102 * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
6104 1998-03-14 21:55 Ulrich Drepper <drepper@cygnus.com>
6106 * configure.in: Recognize variations for 32 MIPS processors.
6107 Don't assume ELF systems always have .weak, test for .weakext.
6109 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
6111 * configure.in: Irix6 is an ELF platform.
6113 1998-03-14 11:47 H.J. Lu <hjl@gnu.org>
6115 * elf/dl-close.c (_dl_close): Stop unmapping the segments after
6116 unmapping the last loaded segment.
6118 1998-03-14 15:54 Ulrich Drepper <drepper@cygnus.com>
6120 * configure.in: Set base_os for Irix6.
6121 Correct test for .weakext.
6123 1998-03-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6125 * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
6126 (new_line) to _dl_debug_message call.
6128 1998-03-14 00:52 Tim Waugh <tim@cyberelk.demon.co.uk>
6130 * posix/wordexp.c (parse_param): Perform field-splitting after
6131 expanding positional parameter.
6133 * posix/wordexp-tst.sh: Test that field-splitting is performed
6134 after expanding positional parameter.
6136 * posix/wordexp.c (parse_param): Fixed memory leak in
6137 field-splitting after parameter expansion.
6139 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
6141 * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
6142 (get_toplvl_escape): Correctly terminate loop at EOF.
6143 Patch by Cristian Gafton <gafton@redhat.com>.
6145 1998-03-13 16:55 Ulrich Drepper <drepper@cygnus.com>
6147 * string/tester.c (test_strpbrk): Add more strpbrk tests.
6148 (test_strsep): Likewise. Correct horrible bugs.
6150 * string/bits/string2.h (strcspn): Optimize also reject string of
6153 (strpbrk): Likewise.
6154 (strsep): Likewise. Correct bug with successive separators and
6155 separators at the end of the string.
6156 * sysdeps/generic/strsep.c: Correct bug with successive separators
6157 and separators at the end of the string.
6159 1998-03-13 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
6161 * posix/wordexp.c (parse_param): Positional parameters ($1, $2
6162 etc) now handled, as well as $$ (pid).
6164 * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
6165 (distribute): Add wordexp-tst.sh.
6167 * posix/wordexp-tst.sh: New file.
6169 * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
6170 number of positional parameters. Renamed substitute_length to
6172 Don't free(env) is env is NULL.
6174 1998-03-13 16:50 Ulrich Drepper <drepper@cygnus.com>
6176 * libc.map: Add pthread_attr_init to GLIBC_2.1.
6178 1998-03-13 15:01 Ulrich Drepper <drepper@cygnus.com>
6180 * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
6181 for output file replacing gmon.out.
6182 Patch by Dean Gaudet <dgaudet@arctic.org>.
6184 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6186 * elf/dl-misc.c (_dl_debug_message): Fix printing of pid. Clean
6187 up namespace. Optimize finding end of line.
6189 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6191 * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
6192 securely. Optimized.
6193 (process_dl_debug): Add ':' to list of separators. Optimized.
6195 1998-03-13 10:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6197 * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
6198 isless, islessequal, islessgreater, isunordered): Return zero or
6201 1998-03-12 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
6203 * posix/wordexp-test.c: More tests.
6204 (main): Set up arena for pathname expansion tests (in a temporary
6206 (testit): Don't check word count or word vector if return value is
6209 * posix/wordexp.c (exec_comm): Always chop off terminating
6210 linefeed (just like bash does).
6211 (parse_param): Change lots of occurrences of "if (!*env)" to "if
6213 (parse_param): For assignment inside parameter expansion, use all
6214 expanded words in assignment rather than just the first.
6215 (parse_param): Corrected return value for parameter expansion of
6216 an unset variable when WRDE_UNDEF is in effect.
6217 (parse_dollars): Don't field-split if quoted.
6218 (wordexp): Opening brace character isn't allowed unquoted.
6220 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
6222 * elf/dlerror.c: Fix concurrency problems with error string and
6225 * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
6226 filter/auxiliary are being loaded.
6228 1998-03-12 14:24 Ulrich Drepper <drepper@cygnus.com>
6230 * elf/dlerror.c (last_object_name): Removed.
6231 (dlerror): Don't use last_object_name.
6232 (_dl_error_run): Omit second argument to _dl_catch_error.
6233 * elf/dl-error.c (struct catch): Remove objname member.
6234 (_dl_signal_error): Construct string including objname when given.
6235 (_dl_catch_error): Remove objname handling.
6236 * elf/link.h (_dl_catch_error): Fix prototype and comment.
6237 * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
6238 * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
6239 * nss/nsswitch.c (nss_dlerror_run): Likewise.
6240 * iconv/gconv_dl.c (dlerror_run): Likewise.
6241 [Corrects PR libc/501].
6243 1998-03-12 Matthias Urlichs <smurf@noris.de>
6245 * nscd/nscd.c: Ignore SIGPIPE.
6247 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
6249 * nscd/nscd_getgr_r.c: Use __ protected names.
6250 * nscd/nscd_getpw_r.c: Likewise.
6252 1998-03-12 Matthias Urlichs <smurf@noris.de>
6254 * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
6255 * nscd/nscd_getpw_r.c: Fix length calculation in result check,
6256 null bytes are not transmitted.
6258 1998-03-12 00:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6260 * powerpc/syscalls.list: Correct typo.
6261 * alpha/syscalls.list: Likewise.
6262 * mips/syscalls.list: Likewise.
6264 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
6266 * socket/sys/socket.h: Add prototype for __socket.
6268 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
6270 * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
6272 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
6275 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
6277 * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
6280 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
6281 AF_* and PF_* constants.
6283 * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
6285 1998-03-11 15:27 Ulrich Drepper <drepper@cygnus.com>
6287 * elf/rtld.c: Update help message.
6288 Install link maps for preloaded objects using main_map as loader.
6290 * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
6291 * elf/dl-profile.c: Likewise.
6293 * elf/dlsym.c: Little optimization.
6294 * elf/dlvsym.c: Likewise.
6296 1998-03-11 14:56 Ulrich Drepper <drepper@cygnus.com>
6298 * posix/wordexp-test.c: Move test for parameter list at the very
6301 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
6303 * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
6304 WRDE_REUSE flag is set.
6305 (parse_param): Allow `*', `@', and numbers in parameter names.
6306 (parse_dollars): Differentiate between arithmetic expansion and a
6307 command substitution that starts immediately with a sub-shell
6308 (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
6309 (parse_param): Memory allocated with __alloca in a block was
6310 referenced outside that block. Adjusted to use malloc/free.
6311 (parse_param): Adjusted field-splitting algorithm so that there is
6312 not necessarily a field split at the end of a parameter expansion.
6314 1998-03-10 19:52 Tim Waugh <tim@cyberelk.demon.co.uk>
6316 * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
6317 don't free words that have already been allocated.
6318 (parse_param): A dollar sign on its own will never have a pattern
6319 associated with it (like "${HOME%%/}" has), so don't try to free it.
6320 (parse_glob): Attempt to glob when an unquoted `[' is found
6321 (rather than an unquoted '{' (!)). Also for unquoted '?'.
6322 (parse_glob): Sorted out quoting in a glob-able word.
6323 (parse_param): Added $* and $@ handling.
6325 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
6327 * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
6330 1998-03-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6332 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
6335 1998-03-12 Matthias Urlichs <smurf@noris.de>
6337 * elf/dl-misc.c: Default for debug output should be stderr.
6338 * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
6339 * elf/dl-lookup.c: reference_name may be NULL or empty.
6341 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6343 * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
6345 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
6347 * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
6349 * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
6351 1998-03-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6353 * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
6354 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
6356 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6358 * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
6361 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
6363 * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
6366 * misc/syslog.c (vsyslog): Don't try to send if not connected to
6368 (closelog_internal): Don't do anything if not connected.
6370 1998-03-10 17:54 Ulrich Drepper <drepper@cygnus.com>
6372 * libc.map: Add _dl_debug_message.
6373 * elf/dl-misc.c: Make _dl_debug_message a function. Print the PID
6375 * elf/fini.c: Correctly use new _dl_debug_message function.
6376 * elf/init.c: Likewise.
6377 * elf/dl-lookup.c: Likewise.
6378 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
6379 * elf/dl-load.c: Likewise. Add more debugging prints.
6380 * elf/dl-reloc.c: Likewise.
6381 * elf/dl-version.c: Likewise.
6382 * elf/dl-support.c: Add variables for debugging.
6383 * elf/rtld.c: Likewise. Recognize new debug options.
6384 * elf/link.h: Declare new variables.
6386 * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
6388 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
6390 * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
6391 kernel headers. Patch by a sun <asun@saul7.u.washington.edu>.
6393 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
6395 * posix/wordexp-test.c (command_line_test): New function to allow
6396 testing of specific cases from the command-line.
6398 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
6400 * elf/dl-init.c (_dl_init_next): Print nicer messages.
6401 * elf/dl-fini.c (_dl_fini): Likewise.
6402 * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
6404 * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
6405 symbol in debug message.
6406 (_dl_lookup_versioned_symbol_skip): Likewise.
6408 1998-03-10 19:43 Matthias Urlichs <urlichs@noris.de>
6410 * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
6411 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
6412 * manual/filesys/texi: Document this.
6414 1998-03-10 10:49 Ulrich Drepper <drepper@cygnus.com>
6416 * manual/filesys.texi: Document the change below.
6418 1998-03-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6420 * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
6421 Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
6423 1998-03-10 00:10 Ulrich Drepper <drepper@cygnus.com>
6425 * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
6426 instead scope. If debugging display information about symbol
6428 (_dl_lookup_symbol): Call do_lookup with correct parameters.
6429 (_dl_lookup_symbol_skip): Likewise.
6430 (_dl_lookup_versioned_symbol): Likewise.
6431 (_dl_lookup_versioned_symbol_skip): Likewise.
6432 * elf/dl-support.c: Define _dl_debug_symbols.
6433 * elf/link.h: Add declaration for _dl_debug_symbols.
6434 * elf/rtld.c: Define _dl_debug_symbols.
6435 (process_dl_debug): Recognize symbols option.
6437 1998-03-09 23:36 Ulrich Drepper <drepper@cygnus.com>
6439 * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
6441 * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
6442 with correct parameters.
6443 [!PIC]: Initialize __libc_multiple_libcs.
6445 1998-03-09 18:21 Ulrich Drepper <drepper@cygnus.com>
6447 * elf/dl-support.c (_dl_debug_bindings): Add definition.
6448 * elf/rtld.c (_dl_debug_bindings): Add definition.
6449 (process_dl_debug): Recognize bindings option. Update help message.
6450 * elf/link.h (struct link_map): Add l_versyms member.
6451 (_dl_debug_bindings): Add declaration.
6452 * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
6453 * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
6455 * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
6456 (sym_val): Remove a member, add m as link_map.
6457 (do_lookup): Return result appropriately.
6458 (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
6459 Call do_lookup correctly.
6460 (_dl_lookup_symbol_skip): Likewise.
6461 (_dl_lookup_versioned_symbol): Likewise.
6462 (_dl_lookup_versioned_symbol_skip): Likewise.
6464 1998-03-09 08:21 Ulrich Drepper <drepper@cygnus.com>
6466 * sysdeps/unix/sysv/linux/chown.c: Moved to ...
6467 * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
6469 * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
6470 * libc.map: Add chown to GLIBC_2.1.
6471 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
6472 * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
6474 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6476 * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
6478 * sysdeps/alpha/ffs.c: Likewise.
6479 * sysdeps/am29k/ffs.c: Likewise.
6480 * sysdeps/i386/ffs.c: Likewise.
6481 * sysdeps/i960/ffs.c: Likewise.
6482 * sysdeps/m68k/ffs.c: Likewise.
6483 * sysdeps/m88k/ffs.c: Likewise.
6484 * sysdeps/powerpc/ffs.c: Likewise.
6485 * sysdeps/rs6000/ffs.c: Likewise.
6486 * sysdeps/vax/ffs.s: Likewise.
6487 * string/string.h: Declare __ffs.
6488 * libc.map: Export it.
6489 * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
6490 __builtin_ffs, which is not guaranteed to be namespace clean.
6492 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6494 * elf/sprof.c: Rewrite symbol handling to use the normal symbol
6495 table, which is much more likely to exist than debugging symbols.
6496 (printsym): Remove const.
6497 (load_shobj): Don't use _dl_pagesize. Fix mapping of section
6500 * libc.map: Export __profile_frequency, used by elf/sprof, to
6501 avoid infinite recursion during startup.
6503 1998-03-09 12:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6505 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
6508 * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
6510 1998-03-09 Ulrich Drepper <drepper@cygnus.com>
6512 * elf/dl-support.c: Add definition of _dl_debug_impcalls.
6514 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
6516 * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
6517 LD_PRELOAD, and LD_VERBOSE.
6518 (dl_main): Use global variables set by process_envvars instead of
6520 * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
6521 LD_LIBRARY_PATH value, this comes with the parameter.
6522 * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
6523 ("LD_LIBRARY_PATH") to _dl_init_paths.
6525 1998-03-08 22:55 Ulrich Drepper <drepper@cygnus.com>
6527 * elf/rtld.c (dl_main): Delay initialization of path structure if
6528 the dynamically linker is invoked implicitly until we read the
6531 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
6533 * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
6535 1998-03-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6537 * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
6540 * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
6542 1998-03-08 14:58 Ulrich Drepper <drepper@cygnus.com>
6544 * Makeconfig (nisobjdir): Set to path to nis directory.
6545 (rpath-link): Add nisobjdir.
6546 Patch by Sven Verdoolaege <skimo@kotnet.org>.
6548 * elf/Makefile: Pretty print.
6549 * elf/dl-lookup.c: Include unistd.h.
6550 * elf/dl-runtime.c: Likewise.
6552 * localedata/Makefile (test-srcs): Add tst-rpmatch.
6553 (distribute): Add tst-rpmatch.sh.
6554 (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
6556 New tests for rpmatch function by
6557 Jochen Hein <jochen.hein@delphi.central.de>.
6558 * localedata/tst-rpmatch.c: New file.
6559 * localedata/tst-rpmatch.sh: New file.
6561 * localedata/locales/de_DE: Correct yesexpr and noexpr.
6562 * localedata/locales/de_AT: Likewise.
6564 * posix/getopt.c: Update contact address.
6565 * posix/getopt1.c: Pretty print.
6567 * sysdeps/generic/libc-start.c: Do most of the initialization now
6568 here instead of in start.S.
6569 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
6570 * sysdeps/i386/elf/start.S: Remove most of the initialization code.
6572 * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
6573 profil_counter to be public.
6575 1998-03-08 13:06 Tim Waugh <tim@cyberelk.demon.co.uk>
6577 * posix/wordexp.c (parse_arith): Now works for negative numbers too.
6578 (parse_param): Coded parameter length expansion (${#var}).
6579 (parse_param): Handling for "=", "+", "-", and the ":" versions added.
6580 (parse_param): Cleaned up (fixed) error handling.
6582 * posix/wordexp-test.c: IFS now includes non-whitespace character
6583 (comma). Added more tests.
6585 1998-03-07 Ulrich Drepper <drepper@cygnus.com>
6587 * elf/link.h: Fix typos.
6588 Reported by Andreas Jaeger.
6590 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
6591 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
6593 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
6595 * argp/argp-help.c: Remove last bits of using gettext instead of
6598 1998-03-06 17:04 Ulrich Drepper <drepper@cygnus.com>
6600 * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
6602 * csu/Makefile (routines): Add libc-start.
6603 * elf/dl-error.c: Remove declaration of _dl_argv. Include <unitsd.h>.
6604 * elf/dl-lookup.c: Likewise.
6605 * elf/dl-version.c: Likewise.
6606 * sysdeps/i386/dl-machine.h: Likewise.
6607 * elf/link.h: Declare _dl_argv, _dl_debug_fd.
6608 Declare _dl_sysdep_output. Make _dl_sysdep_fatal, _dl_sysdep_error and
6609 _dl_sysdep_message macros which use _dl_sysdep_output.
6610 * elf/dl-fini.c: Write out which destructor is called while debugging.
6611 * elf/dl-init.c: Likewise for constructor.
6612 * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
6613 * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
6614 _dl_sysdep_message. Add _dl_sysdep_output.
6615 * elf/rtld.c: Recognize LD_DEBUG_OUTPUT. Set _dl_debug_fd if
6616 this file can be opened.
6617 For LD_DEBUG=libs also set _dl_debug_impcalls.
6618 * sysdeps/generic/dl-cache.c: Include unistd.h.
6619 * sysdeps/generic/libc-start.c: New file.
6620 * sysdeps/unix/sysv/linux/libc-start.c: New file.
6621 * sysdeps/i386/elf/start.S: Don't call main directly, call
6622 __libc_start_main instead.
6624 * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
6626 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
6628 * nss/nsswitch.c (__nss_nscd_not_available): Removed.
6630 1998-03-06 12:42 Ulrich Drepper <drepper@cygnus.com>
6632 * argp/argp.h (struct argp): Add new field domain.
6633 * argp/argp-help.c: Change all gettext calls to dgettext and use
6634 domain field from appropriate argp in call.
6635 * argp/argp-parse.c: Likewise.
6637 1998-03-06 11:35 Ulrich Drepper <drepper@cygnus.com>
6639 * posix/wordexp-test.c: Change testsuite so that it can run even
6642 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6644 * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
6646 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6648 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6649 Don't store into global errno if we already store through
6651 * sysdeps/unix/i386/sysdep.S: Likewise.
6652 * sysdeps/unix/alpha/sysdep.S: Likewise.
6653 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6654 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
6655 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. Add
6656 missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
6659 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6661 * sysdeps/generic/sysdep.h (L): Remove definition.
6662 * sysdeps/i386/sysdep.h (L): Define it here instead.
6664 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6666 * nis/nis_call.c (__do_niscall): Safe and reset errno.
6668 * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
6670 1998-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6672 * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
6673 declaration style to avoid warnings.
6675 1998-03-06 11:48 Mark M._Kettenis <kettenis@hall.phys.uva.nl>
6677 * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
6680 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
6682 * posix/Makefile (tests): Add wordexp-test.
6683 * posix/wordexp-test.c: New file. Testsuite for wrodexp.
6684 Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
6686 1998-03-05 16:04 Ulrich Drepper <drepper@cygnus.com>
6688 * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
6691 * elf/link.h (struct r_search_path_elem): Add two new field for
6693 * elf/rtld.c: Recognize LD_DEBUG environment variable and set
6694 variable accordingly.
6695 * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
6696 is considered next along with information about load paths.
6697 * sysdeps/generic/dl-cache.c: Likewise.
6698 * elf/dl-support.c: Define _dl_debug_libs.
6699 * elf/genrtldtbl.awk: Add initializers for two new field in
6700 struct r_search_path_elem.
6702 1998-03-06 10:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6704 * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
6705 * sysdeps/m68k/lshift.S: Likewise.
6706 * sysdeps/m68k/rshift.S: Likewise.
6707 * sysdeps/m68k/sub_n.S: Likewise.
6708 * sysdeps/m68k/m68020/addmul_1.S: Likewise.
6709 * sysdeps/m68k/m68020/mul_1.S: Likewise.
6710 * sysdeps/m68k/m68020/submul_1.S: Likewise.
6712 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
6713 [_LIBC_REENTRANT]: Don't store into global errno.
6715 * sysdeps/m68k/sysdep.h: New file.
6716 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it. Use the macros
6717 ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
6718 (DO_CALL): Change to expect syscall name as argument.
6719 (PSEUDO): Pass syscall_name to DO_CALL.
6720 (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
6723 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
6725 * elf/rtld.c: Speed up processing of environment variables. Do
6726 only one run on the environment by avoiding to call getenv.
6727 * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
6728 function. Used by patch above.
6730 1998-03-05 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6732 * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
6734 * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
6735 * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
6736 * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
6738 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
6740 * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
6741 module cannot be found. Reported by Andreas Jaeger.
6743 1998-03-05 11:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6745 * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
6746 on platforms which default to unsigned chars.
6747 * nscd/nscd_getpw_r.c: Likewise.
6748 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
6751 1998-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6753 * elf/Makefile (install-bin): Change = to += for sprof to install
6756 1998-03-04 16:12 H.J. Lu <hjl@gnu.org>
6758 * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
6760 1998-03-04 16:19 Ulrich Drepper <drepper@cygnus.com>
6762 * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
6764 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6766 * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
6767 that a failure to connect to nscd doesn't change errno.
6769 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6771 * manual/maint.texi (Reporting Bugs): Change
6772 bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
6774 * locale/iso-4217.def: Likewise
6776 1998-03-04 12:43 Ulrich Drepper <drepper@cygnus.com>
6778 * manual/texinfo.tex: Updated.
6780 1998-03-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6782 * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
6784 * sysdeps/posix/pathconf.c: Likewise.
6785 * posix/getconf.c: Print `undefined' if pathconf returns -1
6786 without setting errno.
6788 1998-03-04 Ulrich Drepper <drepper@cygnus.com>
6790 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
6792 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
6793 Patches by Elliot Lee <sopwith@cuc.edu>.
6795 1998-03-04 09:43 Ulrich Drepper <drepper@cygnus.com>
6797 * elf/link.h (struct link_map): Add new field l_reloc_result.
6798 * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
6799 of relocation for the object to be profiled.
6800 * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
6802 * elf/rtld.c (_dl_start): Add comment that we must not allocate an
6804 * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
6805 contains a result from a previous run use this instead of computing
6807 * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
6809 1998-03-04 11:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6811 * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
6812 offsets into the GOT.
6813 (RTLD_START): Likewise.
6815 1998-03-03 17:55 Ulrich Drepper <drepper@cygnus.com>
6817 * elf/sprof.c: Cleanup a bit.
6819 1998-03-03 08:01 H.J. Lu <hjl@gnu.org>
6821 * sysdeps/generic/sysdep.h (L): New. Define.
6823 * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
6825 * sysdeps/i386/i586/addmul_1.S: Fix a typo.
6827 * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
6828 to have only one exit point for functions.
6829 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6830 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
6831 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
6832 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6833 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6835 1998-03-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6837 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
6838 reset errno so that errno isn't set to ENOSYS in the first call.
6839 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
6840 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6841 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
6842 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
6844 1998-03-02 17:55 Ulrich Drepper <drepper@cygnus.com>
6846 * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
6847 * sysdeps/i386/addmul_1.S: Likewise.
6848 * sysdeps/i386/lshift.S: Likewise.
6849 * sysdeps/i386/mul_1.S: Likewise.
6850 * sysdeps/i386/rshift.S: Likewise.
6851 * sysdeps/i386/sub_n.S: Likewise.
6852 * sysdeps/i386/submul_1.S: Likewise.
6853 * sysdeps/i386/i586/add_n.S: Likewise.
6854 * sysdeps/i386/i586/addmul_1.S: Likewise.
6855 * sysdeps/i386/i586/lshift.S: Likewise.
6856 * sysdeps/i386/i586/mul_1.S: Likewise.
6857 * sysdeps/i386/i586/rshift.S: Likewise.
6858 * sysdeps/i386/i586/sub_n.S: Likewise.
6859 * sysdeps/i386/i586/submul_1.S: Likewise.
6861 * sysdeps/i386/sysdep.h: Extend last change.
6863 * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
6864 to have only one exit point for functions.
6866 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
6868 * configure.in: Fix msgfmt test. Fix handling of //s in sysdeps
6871 1998-03-02 13:28 Ulrich Drepper <drepper@cygnus.com>
6873 * Makerules: Generate libc.so with absolute paths for the used
6876 * config.make.in: Add MAKEINFO definition.
6878 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
6880 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
6881 (ENTRY): Use STABS_FUN.
6882 (END): Use STABS_FUN_END.
6883 (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
6885 * elf/Makefile: Add rules to build sprof program.
6886 * elf/sprof.c: New file.
6888 1998-02-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6890 * misc/syslog.c (openlog_internal): Insert missing closing brace.
6892 1998-02-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6894 * configure.in: Check for working msgfmt version (from GNU gettext
6897 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
6899 * configure.in: Avoid //s in sysdirs.
6900 Patch by Roland McGrath.
6902 * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
6904 1998-03-02 07:17 H.J. Lu <hjl@gnu.org>
6906 * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
6907 setting _dl_global_scope for RTLD_GLOBAL.
6909 1998-02-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6911 * sysdeps/unix/make-syscalls.sh: Fix last change so that all
6912 possible lists of object-suffixes are taken care of.
6914 1998-03-02 10:16 Ulrich Drepper <drepper@cygnus.com>
6916 * timezone/private.h: Update from tzcode1998c.
6917 * timezone/zic.c: Likewise.
6918 * timezone/antarctica: Updated from tzdata1998c.
6919 * timezone/asia: Likewise.
6920 * timezone/australasia: Likewise.
6921 * timezone/europe: Likewise.
6922 * timezone/southamerica: Likewise.
6924 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
6926 * posix/glob.c (glob_in_dir): Add support for cases insensitive
6927 VMS. Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
6929 1998-03-01 19:05 H.J. Lu (hjl@gnu.org)
6931 * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
6932 Changed type of TWO43, TWO52 from float to double.
6933 * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
6934 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
6935 Changed type of TWO43 from float to double.
6936 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
6939 1998-03-01 18:52 H.J. Lu (hjl@gnu.org)
6941 * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
6942 osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
6943 osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
6945 1998-03-01 09:11 Richard Henderson <rth@cygnus.com>
6947 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
6949 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
6950 Clean up random whitespace.
6951 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
6952 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
6953 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
6954 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
6956 1998-03-01 08:31 Richard Henderson <rth@cygnus.com>
6958 * shlib-versions: Match alpha*.
6959 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
6960 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
6962 * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
6963 Implement copysign* with and without __ prefix.
6964 Likewise for fabs; use builtin for gcc 2.8.
6968 * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
6969 (R_SPARC*): Match current v9 ABI.
6971 * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
6973 * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
6974 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
6975 * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
6976 * sysdeps/generic/getresgid.c: Use prototype form because of warning.
6977 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
6978 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
6979 * sysdeps/unix/grantpt.c (argv): Fix consts.
6980 * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
6981 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6983 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
6985 * misc/syslog.c: Change to allow user the interpretation of the
6986 outcome even with syslog having no return value.
6988 1998-02-05 20:41 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
6990 * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
6991 that the number of program headers is >0 (which is wrong for the
6994 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
6996 * Makefile (distribute): Add README.libm.
6998 1998-02-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7000 * time/clocktest.c (main): Correct typo: "--" -> "==".
7002 1998-02-25 20:53 H.J. Lu <hjl@gnu.org>
7004 * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
7006 (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
7009 * math/libm.map (__atan2): Added.
7011 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
7013 * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
7014 Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
7016 * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
7019 1998-02-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7021 * manual/arith.texi (Old-style number conversion): Correct
7022 typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
7024 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
7026 * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
7027 but does not require it. Handle missing argv[] values gracefully.
7028 * posix/execl.c: Likewise.
7029 * posix/execle.c: Likewise.
7031 1998-02-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7033 * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
7035 * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
7037 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
7039 * libc.map: Add __adjtimex.
7041 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7043 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
7046 1998-02-24 08:10 H.J. Lu <hjl@gnu.org>
7048 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
7051 * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
7053 * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
7054 * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
7056 * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
7059 * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
7061 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
7062 Added adjtimex and old_adjtimex.
7064 * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
7066 (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
7067 osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
7069 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
7070 symbols only for shared library.
7071 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7072 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7073 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7074 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7075 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7076 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7077 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7079 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
7080 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7081 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7082 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7083 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7084 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7085 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7086 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7088 * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
7091 * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
7093 (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
7094 timex and __adjtimex, respectively.
7096 * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
7098 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
7100 1998-02-25 08:28 H.J. Lu <hjl@gnu.org>
7102 * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
7103 for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
7105 1998-02-26 14:59 Ulrich Drepper <drepper@cygnus.com>
7107 * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
7109 1998-02-19 11:00 Zack Weinberg <zack@rabi.phys.columbia.edu>
7111 * Makefile.in: Disable built-in rules.
7113 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7115 * sysdeps/i386/fpu/t_exp.c: Move to ...
7116 * sysdeps/libm-i387/t_exp.c: ... here.
7118 1998-02-21 13:51 H.J. Lu <hjl@gnu.org>
7120 * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
7121 from __exp2_deltatable.
7123 1998-02-26 Ulrich Drepper <drepper@cygnus.com>
7125 * nis/ypclnt.c (yp_master): Check result of strdup.
7126 Patch by Thorsten Kukuk.
7128 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7130 * nis/ypclnt.c: Give clnt handle after error checking free, change
7131 return codes to fix problems with rpc.nisd in YP mode on Ultra's.
7133 1998-02-26 09:00 Ulrich Drepper <drepper@cygnus.com>
7135 * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
7136 Patch by Joe Keane <jgk@jgk.org>.
7138 * misc/fstab.h (struct fstab): Change fs_type member to be const.
7139 * misc/fstab.c: Remove casts in fs_type assignments.
7141 1998-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7143 * sysdeps/i386/fpu/bits/fenv.h: Correct typo. ISO C 9X defines
7144 FE_TOWARDZERO and not FE_TOWARDSZERO. Reported by H.J. Lu.
7145 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
7146 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
7147 * sysdeps/powerpc/bits/fenv.h: Likewise.
7148 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
7149 * sysdeps/generic/bits/fenv.h: Likewise.
7150 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7151 * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
7152 * sysdeps/powerpc/test-arith.c (main): Likewise.
7154 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
7156 * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
7157 the comparison macros.
7159 1998-02-21 20:14 H.J. Lu <hjl@gnu.org>
7161 * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
7162 (__log2): Fixed return values.
7163 * sysdeps/libm-ieee754/s_log2f.c: Likewise.
7165 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
7167 * math/math.h (isunordered): Rename local variables to ensure
7168 correct code. Reported by HJ Lu.
7170 1998-02-25 10:34 Ulrich Drepper <drepper@cygnus.com>
7172 * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
7173 isless, islessequal, islessgreater, isunordered): Fix syntax for
7174 fucompip instruction.
7175 (isless, islessequal): Fix logic.
7177 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7179 * math/libm-test.c (sqrt_test): Add test for sqrt(2).
7180 (comparisons_test): New tests for comparison macros.
7182 1998-02-24 15:12 Ulrich Drepper <drepper@cygnus.com>
7184 * Makeconfig: Filter out frame-pointer effecting options when
7185 compiling profiling or debugging code.
7186 * config.h.in (internal_function): Don't define here if PROF is
7188 * gmon/gmon.c (__moncontrol): Don't change state if already in error
7190 (__monstartup): If calloc fails set error state and mark array as
7192 (_mcleanup): Don't call write_gmon if in error state. Don't try
7193 to free array if not successfully allocated.
7195 * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
7196 Include elf.h to get macro definitions.
7197 Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
7199 1998-02-24 09:40 Ulrich Drepper <drepper@cygnus.com>
7201 * elf/ldd.sh.in: Add compatibility for broken old shells.
7202 * elf/ldd.bash.in: Likewise.
7204 1998-02-24 08:11 H.J. Lu <hjl@gnu.org>
7206 * sunrpc/rpc_main.c (open_input): Check pipe return error.
7208 * time/clocktest.c (main): Check signal return error.
7210 1998-02-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7212 * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
7213 "/" and use do-install-program. Reported by Mark M. Kettenis.
7214 (subdir_install): Likewise.
7216 1998-02-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7218 * sunrpc/rpc_sample.c: Fix typo.
7220 * nscd/connections.c: Use locale.
7221 * nscd/grpcache.c: Add debug messages, gidtbl should get the
7223 * nscd/nscd.c: Check if init functions fails.
7224 * nscd/nscd_conf.c: Allow disabling of group cache.
7225 * nscd/nscd_getgr_r.c: Fix return code if group not found.
7226 * nscd/pwdcache.c: Fix debug messages.
7228 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7230 * libc.map: Add __monstartup and _mcleanup for profiling support.
7232 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7234 * libc.map: Export __getpagesize, for binary compatibility with
7237 1998-02-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7239 * posix/globtest.sh: Use --library-path instead of
7241 * localedata/sort-test.sh: Likewise.
7242 * localedata/tst-fmon.sh: Likewise. Avoid useless use of cat.
7244 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7246 * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
7247 sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
7248 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7250 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
7251 kernel_sigaction): Define.
7252 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
7253 kernel_sigaction): Define.
7255 1998-02-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7257 * math/libm-test.c: Change epsilons for libm-ieee754.
7259 1998-02-23 12:33 Ulrich Drepper <drepper@cygnus.com>
7261 * sysdeps/i386/__longjmp.S: Fix race condition.
7262 Reported by Bruno Haible <haible@ilog.fr>.
7264 1998-02-20 18:43 Ulrich Drepper <drepper@cygnus.com>
7266 * hesiod/hesiod.c: Pretty print. Don't use __ protected names.
7267 * iconvdata/8bit-gap.c: Likewise.
7268 * iconvdata/8bit-generic.c: Likewise.
7269 * iconvdata/iso6937.c: Likewise.
7270 * iconvdata/iso8859-1.c: Likewise.
7271 * iconvdata/sjis.c: Likewise.
7272 * iconvdata/t61.c: Likewise.
7274 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7276 * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
7277 feature tests by positive feature tests.
7279 1998-02-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7281 * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
7283 1998-02-20 Ulrich Drepper <drepper@cygnus.com>
7285 * elf/dlvsym.c (dlvsym_doit): More corrections.
7286 Patch by Andreas Jaeger.
7288 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
7290 * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
7292 1998-02-19 17:16 Ulrich Drepper <drepper@cygnus.com>
7294 * libc.map: More reordering for GLIBC_2.1 symbols.
7296 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7298 * libc.map: Move some functions from version GLIBC_2.0 to
7299 GLIBC_2.1, reorder declarations.
7301 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
7303 * resolv/gethnamaddr.c (addrsort): Make this function extern.
7304 Patch by zab@thebrain.grumblesmurf.net.
7306 1998-02-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7308 * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
7309 NIS+ functions with version GLIBC_2.1.
7311 1998-02-19 14:05 Ulrich Drepper <drepper@cygnus.com>
7313 * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
7314 with 2.0 binaries. Reported by Thorsten Kukuk.
7316 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7318 * elf/dlvsym.c (dlvsym_doit): Correct last patch.
7320 * elf/dlsym.c (dlsym_doit): Likewise.
7322 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7324 * elf/link.h: Correct typos.
7326 * iconv/iconv_prog.c: Correct typo.
7328 1998-02-18 17:57 Ulrich Drepper <drepper@cygnus.com>
7330 * iconv/Makefile: Add rules to build and install iconv program.
7331 * iconv/iconv_prog.c: New file.
7333 1998-02-18 16:34 H.J. Lu <hjl@gnu.org>
7335 * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
7336 _dl_lookup_symbol_skip call.
7337 * elf/dlvsym.c (dlvsym_doit): Likewise.
7339 1998-02-18 Ulrich Drepper <drepper@cygnus.com>
7341 * libio/iovsscanf.c: Do not include errno.h.
7343 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7345 * elf/dl-load.c (add_name_to_object): Don't translate strings.
7346 * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
7347 pulling in the whole error list.
7348 (__dcgettext, dcgettext): Removed.
7349 * libc.map: Export _strerror_internal.
7351 1998-02-18 10:50 Ulrich Drepper <drepper@cygnus.com>
7353 * sysdeps/i386/fpu/t_exp.c: New file.
7355 1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7357 * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
7358 everything with version GLIBC_2.1.
7359 * hesiod/libnss_hesiod.map: Likewise.
7361 1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7363 * manual/arith.texi (Old-style number conversion): This node is a
7364 section, not a subsection.
7366 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7368 * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
7370 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7372 * elf/rtld.c (dl_main): Make sure that the library search paths
7373 have been initialized before the first call to _dl_map_object.
7375 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7377 * Makerules (common-generated): Add libc_pic.os.
7379 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7381 * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
7384 1998-02-18 10:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7386 * sysdeps/m68k/fpu/t_exp.c: New file.
7388 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
7390 * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
7391 to global errno variable anymore.
7393 1998-02-17 17:41 Ulrich Drepper <drepper@cygnus.com>
7395 * elf/dl-load.c (open_path): Take extra argument PRELOADED.
7396 If PRELOADED is nonzero check in case of an SUID application
7397 whether the shared object has the SUID bit set.
7398 Fix some other problems with handling shared objects in system
7399 specific directories.
7400 (_dl_map_object): Also take extra parameter and pass it to open_path.
7401 * elf/link.h (_dl_map_object): Correct prototype and comment.
7402 * elf/rtld.c (dl_main): Call _dl_map_object correctly.
7403 * elf/dl-open.c (_dl_open): Likewise.
7404 * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
7406 * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
7408 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
7410 * math/libm-test.c (modf_test): Add test for 1.5.
7412 * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
7413 0 to get always an int.
7415 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7417 * math/libm.map: Move all symbols that are new in glibc 2.1 to
7420 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
7422 * stdio-common/vfscanf.c (inchar): Check c for being EOF before
7423 trying to read another character.
7425 1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7427 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
7430 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
7431 name to lowercase, add test for big enough buffer.
7433 1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7435 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
7436 Make compatible with older kernels. Patch by Richard Henderson.
7438 1998-02-17 15:10 Ulrich Drepper <drepper@cygnus.com>
7440 * elf/dl-load.c (open_path): Use __xstat instead of stat.
7442 * localedata/tst-locale.sh: Comment out first test for now.
7444 1998-02-14 14:58 H.J. Lu <hjl@gnu.org>
7446 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
7448 * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7451 * libio/iogetline.c (_IO_getline_info): Renamed from
7453 (_IO_getline): Just call _IO_getline_info.
7455 * libio/libioP.h (_IO_getline_info): New declaration.
7457 * libc.map (_IO_getline_info, __write): Added.
7459 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7461 * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
7462 const char* to shut up gcc.
7464 1998-02-17 11:37 Ulrich Drepper <drepper@cygnus.com>
7466 * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
7467 Patch forwarded by Cristian Gafton <gafton@redhat.com>.
7469 * math/math.h: Define M_* constants always as `double' and add new
7470 macros M_*l which are of type `long double'.
7471 * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
7472 * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
7473 * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
7474 * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
7475 * sysdeps/libm-ieee754/s_catanl.c: Likewise.
7476 * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
7477 * sysdeps/libm-ieee754/s_clogl.c: Likewise.
7478 * math/libm-tst.c: Likewise.
7480 * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
7481 define as long double unconditionally.
7483 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7485 * manual/arith.texi (Old-style number conversion): Correct some
7488 1998-02-16 16:28 H.J. Lu <hjl@gnu.org>
7490 * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
7493 * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
7495 1998-02-16 Ulrich Drepper <drepper@cygnus.com>
7497 * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
7498 on $(rtld-ldscript).
7500 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
7501 starting from 0 not only from `from'.
7502 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7504 1998-02-16 17:33 Ulrich Drepper <drepper@cygnus.com>
7506 * elf/rtld.c (dl_main): Recognize --library-path parameter and
7507 pass value (or NULL) to _dl_init_paths.
7508 * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
7509 replacing local variable llp. If llp is NULL examine LD_LIBRARY_PATH
7510 environment variable.
7511 * elf/link.h: Change prototype for _dl_init_paths.
7512 * elf/dl-support.c: Pass NULL in _dl_init_paths call.
7514 * localedata/Makefile (distribute): Add test files.
7516 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7518 * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
7519 test1.def, test2.def, test3.def, test4.def}: Simple input files
7520 for localedef. Contributed by Yung-Ching Hsiao
7521 <yhsiao@cae.wisc.edu>.
7523 * localedata/Makefile (tests): Call tst-locale.sh.
7525 * localedata/tst-locale.sh: New file, regression tests for some
7528 1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7530 * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
7532 * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
7534 * nis/nss_nisplus/nisplus-network.c: Likewise.
7535 * nis/nss_nisplus/nisplus-proto.c: Likewise.
7536 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7537 * nis/nss_nisplus/nisplus-service.c: Likewise.
7539 Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
7540 and support generating thread safe RPC code.
7541 * sunrpc/rpc_main.c: Add changes.
7542 * sunrpc/rpc_clntout.c: Likewise.
7543 * sunrpc/rpc_cout.c: Likewise.
7544 * sunrpc/rpc_hout.c: Likewise.
7545 * sunrpc/rpc_parse.c: Likewise.
7546 * sunrpc/rpc_sample.c: Likewise.
7547 * sunrpc/rpc_scan.c: Likewise.
7548 * sunrpc/rpc_svcout.c: Likewise.
7549 * sunrpc/rpc_util.c: Likewise.
7550 * sunrpc/rpc_util.h: Add new structs and prototypes.
7551 * sunrpc/proto.h: Remove prototypes for static functions.
7553 1998-02-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7555 * locale/programs/ld-messages.c (messages_finish): Don't skip
7556 error checking when being quiet.
7557 * locale/programs/ld-ctype.c (ctype_finish): Likewise.
7558 (set_class_defaults): Likewise.
7559 * locale/programs/charmap.c (parse_charmap): Likewise.
7560 * locale/programs/ld-collate.c (collate_finish): Likewise.
7561 * locale/programs/ld-monetary.c (monetary_finish): Likewise.
7562 * locale/programs/ld-time.c (time_finish): Likewise.
7563 * locale/programs/locfile.c (write_locale_data): Likewise.
7565 * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
7566 unknown characters and empty ranges.
7567 * locale/programs/ld-collate.c (collate_order_elem): When
7568 processing an ellipsis properly form a linked list in the result
7569 table, fix typo when allocating ordering array.
7572 1998-02-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7574 * elf/Makefile (ld-map): Define.
7575 (rtld-ldscript): Define. Change all `$(objpfx)rtld-ldscript' to
7577 ($(objpfx)ld.so): Combine the two versions of this rule. Depend
7579 (rtld-link): Combine the two versions of this definition. Fixed
7580 to make it work when no symbol versioning is used.
7582 1998-02-16 Ulrich Drepper <drepper@cygnus.com>
7584 * Makeconfig (build-program-cmd): Use --library-path parameter to
7585 ld.so instead of environment variable.
7587 * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
7588 * sunrpc/rpc_main.c: Remove support for -$$ option again.
7590 1998-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7592 * Make-dist: Respect with-cvs setting.
7593 * MakeTAGS (all-pot): Likewise.
7594 * sysdeps/sparc/sparc32/Makefile: Likewise.
7595 * sysdeps/mach/hurd/Makefile: Likewise.
7596 * stdlib/Makefile: Likewise.
7597 * posix/Makefile: Likewise.
7598 * intl/Makefile: Likewise.
7599 * po/Makefile (linguas): Likewise
7601 1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7603 * nis/ypclnt.c (yp_all): Remove error message, user should print it.
7605 1998-02-15 Ulrich Drepper <drepper@cygnus.com>
7607 * libc.map: Add __strcasecmp.
7609 * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
7612 * nss/getXXent_r.c: If no more module is found don't try to call
7613 setXXent functions but leave unsuccessfully.
7615 * malloc/obstack.h: Cleanups.
7617 * sysdeps/wordsize-32/stdint.h: New file.
7618 * sysdeps/wordsize-64/stdint.h: New file.
7619 * sysdeps/generic/stdint.h: New file.
7620 * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
7621 * sysdeps/wordsize-64/inttypes.h: Likewise.
7622 * stdlib/Makefile (headers): Add stdint.h.
7624 1998-02-03 Paul Eggert <eggert@twinsun.com>
7626 * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
7628 1998-02-13 17:59 Zack Weinberg <zack@rabi.phys.columbia.edu>
7630 * timezone: New directory.
7631 * time/README, time/africa, time/antarctica, time/asia,
7632 time/australasia, time/backward, time/checktab.awk,
7633 time/etcetera, time/europe, time/factory, time/ialloc.c,
7634 time/iso3166.tab, time/leapseconds, time/northamerica,
7635 time/pacificnew, time/private.h, time/scheck.c,
7636 time/solar87, time/solar88, time/solar89, time/southamerica,
7637 time/systemv, time/test-tz.c, time/tzfile.h,
7638 time/tzselect.ksh, time/yearistype, time/zdump.c,
7639 time/zic.c, time/zone.tab: Moved to timezone.
7640 * time/tzfile.c: Include tzfile.h from timezone subdir.
7641 * time/tzset.c: Likewise.
7642 * time/Makefile: Cut out all code relating to timezones...
7643 * timezone/Makefile: ...and paste it in here.
7644 * Makefile (subdirs): Add timezone.
7646 1998-02-13 18:45 H.J. Lu <hjl@gnu.org>
7648 * libc.map (_sys_nerr): Added.
7650 * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
7653 1998-02-15 17:16 Ulrich Drepper <drepper@cygnus.com>
7655 * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
7656 pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
7657 Reported by Craig Metz <cmetz@inner.net>.
7659 1998-01-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7661 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
7662 instead of strcasecmp.
7663 * nss/nss_files/files-alias.c (get_next_alias): Likewise.
7665 * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
7667 1998-02-15 16:55 Ulrich Drepper <drepper@cygnus.com>
7669 * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
7670 Patch by Dean Gaudet <dgaudet@arctic.org>.
7672 1998-02-15 16:53 Ulrich Drepper <drepper@cygnus.com>
7674 * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
7676 1998-02-15 10:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
7678 * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
7679 with no poll syscall, just include the BSD version.
7680 * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
7681 kernel without the syscall, include the stub version.
7682 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
7683 * sysdeps/generic/getresuid.c: New file.
7684 * sysdeps/generic/getresgid.c: New file.
7686 1998-02-15 Ulrich Drepper <drepper@cygnus.com>
7688 * stdio-common/vfscanf.c: Correct last change a bit.
7690 1998-02-13 17:39 Ulrich Drepper <drepper@cygnus.com>
7692 * elf/Makefile: Don't use --version-script parameter to link ld.so
7695 1998-01-02 04:19 Geoff Keating <geoffk@ozemail.com.au>
7697 * math/Makefile: Add t_exp.
7698 * math/libm-test.c: Tighten accuracy bounds for exp(), correct
7700 * math/test-reduce.c: Remove temporarily, it seems to be broken.
7701 * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
7702 * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
7704 * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
7705 algorithm for very large/very small arguments.
7706 * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
7707 correct algorithm for very large/very small arguments; adjust for
7709 * sysdeps/libm-ieee754/t_exp.c: New file.
7710 * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
7712 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
7713 back, with comment that explains what breaks when you remove it :-(.
7715 * localedata/xfrm-test.c: Avoid integer overflow.
7717 * stdlib/strfmon.c: char is unsigned, sometimes.
7719 * sysdeps/powerpc/Makefile: Remove quad float support.
7720 * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
7721 * sysdeps/powerpc/quad_float.h: Likewise.
7722 * sysdeps/powerpc/test-arith.c: Likewise.
7723 * sysdeps/powerpc/test-arithf.c: Likewise.
7725 * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
7726 * sysdeps/generic/s_exp2f.c: Likewise.
7728 * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
7729 don't try anything if _SOFT_FLOAT.
7731 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7733 * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
7734 * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
7735 * wctype/wctype.c: Likewise.
7736 * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
7737 changed. They are incompatible with the _ISxxx values from
7738 <ctype.h> on little endian machines.
7739 (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
7740 bit number. This fixes the real bug and restores the integrity of
7741 the ctype locale file.
7742 * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
7743 * wctype/wcfuncs_l.c: Likewise.
7744 * wctype/wcextra.c: Likewise.
7745 * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
7748 1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7750 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
7751 into .bss segment instead of .common, so that aliases on it work.
7753 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
7754 .size directives, put into .bss segment instead of initializing it
7757 1998-02-12 08:00 H.J. Lu <hjl@gnu.org>
7759 * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
7761 * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
7763 Make names without __ weak aliases.
7764 (__libc_release, __libc_version): Make them static.
7766 * include/gnu/libc-version.h: New file.
7767 * Makefile (headers): Add gnu/libc-version.h.
7769 1998-02-13 Ulrich Drepper <drepper@cygnus.com>
7771 * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
7772 and use x for member name.
7773 Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
7775 * stdlib/drand48.c: Change according to member name change.
7776 * stdlib/drand48_r.c: Likewise.
7777 * stdlib/lcong48_r.c: Likewise.
7778 * stdlib/lrand48.c: Likewise.
7779 * stdlib/lrand48_r.c: Likewise.
7780 * stdlib/mrand48.c: Likewise.
7781 * stdlib/mrand48_r.c: Likewise.
7782 * stdlib/seed48.c: Likewise.
7783 * stdlib/seed48_r.c: Likewise.
7784 * stdlib/srand48_r.c: Likewise.
7786 1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7788 * nss/test-netdb.c: Add some more test cases.
7790 1998-02-13 11:39 Ulrich Drepper <drepper@cygnus.com>
7792 * libio/iovsscanf.c: Undo last change modifying errno.
7794 1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7796 * stdio-common/vfscanf.c: Never try to read another character
7797 after EOF. Don't decrement read_in after EOF, it wasn't
7798 incremented in the first place.
7799 (NEXT_WIDE_CHAR): Set First, not first.
7801 1998-02-06 07:48 H.J. Lu <hjl@gnu.org>
7803 * db/Makefile ($(inst_libdir)/libndbm.a,
7804 $(inst_libdir)/libndbm.so): New targets.
7805 * db2/Makefile: Likewise.
7807 1998-02-12 08:20 H.J. Lu <hjl@gnu.org>
7809 * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
7810 aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
7812 1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7814 * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
7816 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
7818 1998-02-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7820 * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
7823 1998-02-13 08:14 H.J. Lu <hjl@gnu.org>
7825 * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
7826 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
7829 1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7831 * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
7834 * grp/Makefile: Fix logic when checking for thread package.
7835 * pwd/Makefile: Likewise.
7837 1998-02-11 08:23 H.J. Lu <hjl@gnu.org>
7839 * elf/Makefile (rtld-map): Replaced by libc-map.
7841 * elf/rtld.map: Removed.
7843 * libc.map (__libc_enable_secure, _dl_catch_error,
7844 _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
7845 _dl_default_scope, _dl_global_scope_end, _dl_init_next,
7846 _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
7847 _dl_object_relocation_scope, _dl_relocate_object,
7848 _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
7849 _r_debug): Added for ld.so.
7851 1998-02-10 08:38 H.J. Lu <hjl@gnu.org>
7853 * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
7855 * libio/iofdopen.c: Ditto.
7856 * libio/iofopen.c: Ditto.
7857 * libio/oldfileops.c: Ditto.
7859 * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
7862 * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
7863 oldsiglist from sysdep_routines and shared-only-routines.
7865 * sysdeps/unix/sysv/linux/errlist.c: New.
7866 * sysdeps/unix/sysv/linux/errlist.h: New.
7867 * sysdeps/unix/sysv/linux/sizes.h: New.
7868 * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
7869 * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
7871 * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
7873 * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
7874 (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
7877 * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
7879 * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
7880 (oldsiglist.c): Removed.
7882 * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
7883 (_sys_siglist): Use SYS_SIGLIST instead.
7884 (_sys_nerr): Use SYS_NERR instead.
7886 * sysdeps/gnu/errlist.c: Rebuilt.
7888 1998-02-11 08:35 H.J. Lu <hjl@gnu.org>
7890 * elf/Makefile (others-static): New, set to ldconfig.
7891 ($(objpfx)ldconfig): Removed.
7893 * Rules (binaries-all, binaries-static, binaries-shared): New.
7894 Create targets for $(binaries-static) and $(binaries-shared).
7896 * Makeconfig (+link-static, link-libc-static,
7897 link-extra-libs-static): New for static linking.
7899 1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7901 * manual/memory.texi (Using the Memory Debugger): Fix typo.
7903 * math/libm-test.c (modf_test): Add one more test for modf.
7905 1998-02-11 14:39 Ulrich Drepper <drepper@happy.cygnus.com>
7907 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
7908 Rename from __libc_have_rt_sigs and leave as COMMON data.
7910 1998-02-11 08:30 H.J. Lu <hjl@gnu.org>
7912 * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
7915 1998-02-11 19:16 Richard Henderson <rth@cygnus.com>
7917 * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
7919 1998-02-11 16:56 Ulrich Drepper <drepper@happy.cygnus.com>
7921 * misc/tst-efgcvt.c: Add yet more tests.
7922 * misc/efgcvt_r.c: And correct for these tests again.
7925 * isomac.c: Move to...
7926 * stdlib/isomac.c: ...here.
7927 * Makefile: Move rules for handling isomac...
7928 * stdlib/Makefile: ...to here.
7930 1998-02-10 23:57 Ulrich Drepper <drepper@happy.cygnus.com>
7932 * misc/tst-efgcvt.c: Add more tests.
7933 * misc/efgcvt_r.c: Correct result for above new tests.
7935 1998-02-06 17:22 H.J. Lu <hjl@gnu.org>
7937 * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
7940 1998-02-10 16:48 Philip Blundell <pb@nexus.co.uk>
7942 * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
7943 if the programs weren't built.
7945 1998-02-09 10:12 Philip Blundell <pb@nexus.co.uk>
7947 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
7948 FE_TONEAREST, soldier on regardless and do the best we can.
7949 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
7951 1998-02-5 17:20 Philip Blundell <pb@nexus.co.uk>
7953 * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
7954 _STDIO_H, before including <bits/stdio_lim.h>.
7956 * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
7958 * io/fts.c (fts_build): Don't try to use d_type if it doesn't
7961 * sysdeps/arm/sys/ucontext.h: New file.
7963 1998-02-04 10:11 Philip Blundell <pb@nexus.co.uk>
7965 * manual/stdio.texi (Formatted Output Functions): Explicitly say
7966 that the return value from snprintf() does not count the
7967 terminating NUL as a character.
7969 1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
7971 * manual/users.texi: Rewrite to describe correct POSIX behaviour,
7972 add description for sete[ug]id and general cleanup.
7973 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7975 1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7977 * Makefile (parent-clean): Don't remove makefile fragments here.
7978 (postclean): New variable.
7979 (clean): Remove makefile fragments here.
7980 (realclean distclean): Likewise. Pass sysdep-subdirs to sub-make.
7981 (generated): Add isomac and isomanc.out.
7982 * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
7983 avoid-generated is set.
7984 (postclean-generated): Add soversion.mk.
7985 ($(common-objpfx)version.mk): Don't include if avoid-generated is
7987 * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
7988 avoid-generated is set.
7989 (common-generated): Add libc.so and libc.so$(libc.so-version).
7990 (generated): Add versioned libraries.
7991 (common-mostlyclean): Also remove %.so and %_pic.a.
7992 * csu/Makefile (generated): Add abi-tag.h.
7993 * db2/Makefile (extra-objs): Add getlong.o.
7994 * elf/Makefile (generated): Add ld.so, ldd and
7995 $(rtld-installed-name).
7996 (others): Add ldconfig here instead of ldconfig.o to extra-objs.
7997 * malloc/Makefile (generated): Add mtrace.
7998 * po/Makefile: Don't include version.mk, not needed any more.
7999 * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
8000 * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
8001 syscall.h -> sys/syscall.h.
8002 (common-generated): Add s-proto.d.
8003 (postclean-generated): Add sysd-syscalls.
8004 * localedata/Makefile (test-output): Add all output files.
8005 (generated): Add test-input and test-output.
8006 (generated-dirs): Add all the dirs.
8008 1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8010 * Makefile (test-output, generated, generated-dirs): New
8013 1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
8015 * resolv/nss_dns/dns-host.c: Various code cleanups.
8017 1998-02-09 08:10 H.J. Lu <hjl@gnu.org>
8019 * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
8020 From Philip Blundell <pb@nexus.co.uk>.
8021 * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
8023 1998-02-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8025 * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
8026 Suggested by debian/sparc porters.
8028 1998-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8030 * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
8033 1998-02-10 16:32 Ulrich Drepper <drepper@happy.cygnus.com>
8035 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
8036 __fxstat instead of stat and fstat. Use namespace clean __stpcpy.
8038 * signal/signal.h: Always define sigset_t if __need_sigset_t is
8039 defined even if __USE_POSIX is not defined.
8041 1998-02-02 20:51 Zack Weinberg <zack@rabi.phys.columbia.edu>
8043 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
8044 to support obsolete tty major numbers correctly.
8046 1998-02-02 08:47 H.J. Lu <hjl@gnu.org>
8048 * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
8049 directory first and ignore install error.
8051 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
8052 128 from ptyno and fix a typo for the BSD style pty.
8054 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8056 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
8059 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8061 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
8062 getresuid and getresgid.
8064 * sysdeps/unix/sysv/linux/getresuid.c: New file.
8065 * sysdeps/unix/sysv/linux/getresgid.c: New file.
8067 * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
8070 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
8071 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8072 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8073 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
8075 1998-02-02 08:11 H.J. Lu <hjl@gnu.org>
8077 * nscd/grpcache.c: Include <stdlib.h>.
8079 1998-02-01 16:01 H.J. Lu <hjl@gnu.org>
8081 * stdlib/atoll.c: Fix comments.
8083 * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
8084 * sysdeps/posix/ttyname_r.c: Ditto.
8086 1998-02-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8088 * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
8089 __USE_MISC, independent of __USE_UNIX98.
8091 1998-02-10 19:18 Ulrich Drepper <drepper@happy.cygnus.com>
8093 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
8094 Rename from __libc_have_rt_sigs and leave as COMMON data.
8096 1998-02-04 11:58 Richard Henderson <rth@twiddle.rth.home>
8098 * Makeconfig (CFLAGS-.os): Kill -fno-common.
8099 * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
8101 * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
8102 * elf/rtld.map: New file. Needed to define the GLIBC_2.*
8104 * include/libc-symbols.h (symbol_version, default_symbol_version):
8105 Provide asm versions and correct !DO_VERSIONING versions.
8106 * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
8107 the weak symbol list.
8109 * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
8110 Rename from __libc_have_rt_sigs and leave as COMMON data.
8111 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8112 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8113 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8115 1998-02-04 16:41 Zack Weinberg <zack@rabi.phys.columbia.edu>
8117 * sunrpc/Makefile: Correct dependencies of rpcgen.
8119 1998-02-10 03:00 Ulrich Drepper <drepper@happy.cygnus.com>
8121 * nscd/Makefile: Fix test for available linuxthreads add-on.
8122 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8124 1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8126 * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
8128 1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8130 * sysdeps/gnu/Makefile: Respect with-cvs variable.
8132 * manual/errno.texi (Error Messages): Correct description of
8133 strerror_r. Pointed out by jonas@bagge.se.
8135 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8137 * manual/socket.texi (Host Address Functions): Clarify description
8140 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8142 * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
8143 (grantpt): Delete superfluous cast.
8145 1998-02-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8147 * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
8148 elf/ldso_install instead of elf/subdir_install.
8149 (elf/ldso_install): New target.
8151 * elf/Makefile (ldso_install): New target.
8153 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8155 * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
8158 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8160 * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
8161 constant expressions.
8163 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8165 * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
8166 for __nss_configure_lookup.
8167 (output_hostent): Remove unused variable.
8169 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8171 * string/tst-inlcall.c: Fix format string.
8173 1998-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8175 * inet/netinet/in.h: Rename second parameter of bindresvport to
8176 avoid buggy gcc warning. [PR libc/412]
8178 1998-02-04 18:04 Richard Henderson <rth@cygnus.com>
8180 * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
8181 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
8183 * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
8184 Follow POSIX and make tv_sec a time_t.
8185 * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
8186 new tv64 syscall as well as fall back to tv32.
8187 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
8188 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
8189 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
8190 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
8191 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
8192 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
8193 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
8194 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
8196 * include/rpcsvc/nis.h: New. Bounce to nis/rpcsvc.
8197 * include/rpcsvc/nis_tags.h: Likewise.
8198 * include/rpcsvc/nislib.h: Likewise.
8200 1998-02-02 01:12 Ulrich Drepper <drepper@cygnus.com>
8202 * libc.map: Add _h_errno.
8203 * inet/herrno.c: Make _h_errno weak alias.
8205 * login/Makefile (distribute): Add pty-internal.h.
8207 * nscd/Makefile (distribute): Add all the files missing.
8209 * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
8212 * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
8213 and report status at the end.
8215 * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
8217 * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
8219 * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
8220 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
8221 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
8223 1998-01-03 20:47 Mark Kettenis <kettenis@phys.uva.nl>
8225 * configure.in: Fix --enable-add-ons code.
8227 1998-02-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8229 * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
8230 by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
8233 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
8234 occurence in cache. Reported by Rudolf Leitgeb
8235 <leitgeb@leland.stanford.edu>.
8238 1998-02-01 21:18 Ulrich Drepper <drepper@cygnus.com>
8240 * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
8241 that it never is EINTR (which is tested for in _IO_vfscanf).
8243 * Makefile.in: Call sub-make with CVSOPTS.
8245 * elf/Makefile (distribute): Add dl-procinfo.h.
8247 * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
8249 1998-02-01 15:54 Ulrich Drepper <drepper@cygnus.com>
8251 * version.h (VERSION): Bump to 2.0.92.
8253 1998-01-31 Phil Blundell <philb@gnu.org>
8255 * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
8256 alias for __new_sys_siglist.
8258 1998-02-01 00:53 Ulrich Drepper <drepper@cygnus.com>
8260 * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
8261 getgrgid_r.c if thread package is available.
8262 * pwd/Makefile: Likewise.
8263 * grp/getgrnam_r.c: Remove USE_NSCD definition.
8264 * grp/getgrgid_r.c: Likewise.
8265 * pwd/getpwnam_r.c: Likewise.
8266 * pwd/getpwuid_r.c: Likewise.
8268 1998-01-31 23:46 Ulrich Drepper <drepper@cygnus.com>
8270 * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
8271 with error to allow user intervention.
8272 * nss/getXXent_r.c: Likewise.
8274 1998-01-31 21:18 Ulrich Drepper <drepper@cygnus.com>
8276 * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
8277 AT_PLATFORM string. Pretty print AT_BASE info.
8279 * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
8280 (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
8281 * sysdeps/generic/dl-procinfo.h: New file.
8282 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
8284 1998-01-31 20:52 Ulrich Drepper <drepper@cygnus.com>
8286 * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
8288 * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
8289 thread and not pthread_detach.
8291 * nscd/nscd.c: Rewrite to use argp instead of getopt.
8293 1998-01-31 Phil Blundell <philb@gnu.org>
8295 * configure.in: Add --without-cvs option to suppress automatic
8296 checkin of regenerated files.
8297 * config.make.in: Likewise.
8298 * Makefile: Respect with-cvs setting.
8299 * Makerules: Likewise.
8301 * configure.in: Allow the standalone ARM port to be configured.
8303 1998-01-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
8305 * grp/getgrgid_r.c: Define USE_NSCD.
8306 * grp/getgrnam_r.c: Likewise.
8307 * pwd/getpwuid_r.c: Likewise.
8308 * pwd/getpwnam_r.c: Likewise.
8310 * sysdeps/unix/inet/Subdirs: Add nscd subdir.
8312 * nss/getXXbyYY_r.c: Try at first nscd.
8314 * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
8315 * nscd/connections.c: New file.
8316 * nscd/dbg_log.c: New file.
8317 * nscd/dbg_log.h: New file.
8318 * nscd/grpcache.c: New file.
8319 * nscd/nscd.c: New file.
8320 * nscd/nscd.h: New file.
8321 * nscd/nscd_conf.c: New file.
8322 * nscd/nscd_stat.c: New file.
8323 * nscd/pwdcache.c: New file.
8325 * nscd/nscd_getgr_r.c: New, client code, linked into libc.
8326 * nscd/nscd_getpw_r.c: Likewise.
8327 * nscd/nscd_proto.h: New, prototypes for client functions.
8329 * nscd/nscd.conf: New, example for a configuration file.
8330 * nscd/nscd.init: New, example for a startup script.
8332 * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
8334 * nscd/getgrnam_r.c: Likewise.
8335 * nscd/getpwnam_r.c: Likewise.
8336 * nscd/getpwuid_r.c: Likewise.
8338 1998-01-31 11:44 Ulrich Drepper <drepper@cygnus.com>
8340 * intl/Makefile: Use CVSOPTS in cvs invocation.
8341 * po/Makefile: Likewise.
8342 * posix/Makefile: Likewise.
8343 * stdlib/Makefile: Likewise.
8345 1998-01-31 11:18 Ulrich Drepper <drepper@cygnus.com>
8347 * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
8349 * misc/Makefile (tests): Add tst-efgcvt.
8350 * misc/tst-efgcvt.c: New file.
8352 1998-01-31 00:21 Ulrich Drepper <drepper@cygnus.com>
8354 * posix/regex.c: Add some more cleanups by Akim Demaille.
8356 1998-01-30 23:55 Ulrich Drepper <drepper@cygnus.com>
8358 * signal/signal.h: Revert last change.
8359 * string/strsignal.c: Regard signal number NSGI as illegal.
8360 * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
8363 1998-01-30 23:37 Ulrich Drepper <drepper@cygnus.com>
8365 * Makefile.in: Add comment about CVSOPTS Makefile variable.
8366 * Makerules: Use CVSOPTS in cvs invocation.
8367 * Makefile: Likewise.
8368 * MakeTAGS: Likewise.
8369 * Make-dist: Likewise.
8371 1998-01-30 22:37 Ulrich Drepper <drepper@cygnus.com>
8373 * sysdeps/generic/memmem.c: Correct last change.
8375 1998-01-30 22:12 Ulrich Drepper <drepper@cygnus.com>
8377 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
8378 CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
8380 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
8382 * nis/ypclnt.c: Try at first to use the binding file from ypbind
8385 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8387 * manual/memory.texi (Heap Consistency Checking): mcheck is
8388 declared in <mcheck.h>.
8389 Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
8391 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8393 * sysdeps/generic/memmem.c (memmem): An empty needle is at the
8394 beginning of haystack.
8396 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8398 * nss/nss_files/files-service.c: Correct last patch.
8400 1998-01-30 21:29 Ulrich Drepper <drepper@cygnus.com>
8402 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
8403 __libc_have_rt_sigs.
8404 * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
8405 including <bits/setjmp.h>.
8406 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8407 Patch from the Debian glibc/SPARC package.
8409 1997-12-12 07:57 H.J. Lu <hjl@gnu.org>
8411 * sysdeps/alpha/bzero.S: Fix a typo.
8412 * sysdeps/alpha/htonl.S: Ditto.
8413 * sysdeps/alpha/htons.S: Ditto.
8415 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
8417 * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
8419 1998-01-30 19:58 Ulrich Drepper <drepper@cygnus.com>
8421 * include/cpio.h: Move to ...
8422 * posix/cpio.h: ...here.
8424 * locale/programs/ld-collate.c: Fix typo.
8426 * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
8428 * stdio-common/tiformat.c: Add checks for %#.0o and friends.
8430 * login/utmp_file.c (pututline_file): Don't always report success
8431 if similar entry is found. Patch by Mark M. Kettenis.
8433 1998-01-30 16:06 Philip Blundell <pb@nexus.co.uk>
8435 * manual/Makefile: Don't try to install the info files if makeinfo
8438 1998-01-30 12:05 Philip Blundell <pb@nexus.co.uk>
8440 * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
8441 kernel's network ioctls, rather than using <linux/sockios.h> to
8442 get them. This way we are sure of maintaining compatibility if
8443 the kernel interface should change.
8445 1998-01-30 15:52 Ulrich Drepper <drepper@cygnus.com>
8447 * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
8449 1998-01-25 19:54 Philip Blundell <Philip.Blundell@pobox.com>
8451 * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
8452 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
8454 1998-01-27 22:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
8456 Implement System V pseudoterminal handling.
8459 (routines): Add getpt, grantpt, unlockpt, ptsname.
8460 (libutil-routines): Remove pty. Add openpty, forkpty.
8461 (distribute): New internal header pty-internal.h.
8462 (others): Add the helper program, pt_chown.
8463 (install-others): Install it, in $(libexecdir), mode 4755.
8465 * login/pty-internal.h: New file.
8466 * login/openpty.c: New file.
8467 * login/forkpty.c: New file.
8468 * login/programs/pt_chown.c: New file.
8470 * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
8471 * stdlib/stdlib.h: Prototype them.
8473 * config.make.in: Define $(libexecdir).
8474 * Makeconfig: Define $(inst_libexecdir).
8476 * sysdeps/generic/pty.c: Removed.
8477 * sysdeps/unix/sysv/linux/pty.c: Removed.
8479 * sysdeps/generic/getpt.c: Stub out.
8480 * sysdeps/generic/grantpt.c: Likewise.
8481 * sysdeps/generic/ptsname.c: Likewise.
8482 * sysdeps/generic/unlockpt.c: Likewise.
8484 * sysdeps/unix/grantpt.c: New file.
8485 * sysdeps/unix/bsd/getpt.c: New file.
8486 * sysdeps/unix/bsd/unlockpt.c: New file.
8487 * sysdeps/unix/sysv/linux/getpt.c: New file.
8488 * sysdeps/unix/sysv/linux/ptsname.c: New file.
8489 * sysdeps/unix/sysv/linux/unlockpt.c: New file.
8491 1998-01-29 23:56 Ulrich Drepper <drepper@cygnus.com>
8493 * localedata/locales/ru_RU: Fix YESEXPR. Patch by lav@yars.free.net.
8495 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8497 * nss/Makefile (tests): Add rule for test-netdb.c.
8499 * nss/test-netdb.c: New file.
8501 1998-01-29 02:38 Ulrich Drepper <drepper@cygnus.com>
8503 * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
8504 really kept as a variable. Patch by Richard Henderson,
8505 reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
8507 * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
8508 * elf/genrtldtbl.awk: Mark machine dependent directory of generated
8509 entries as not existing.
8511 1998-01-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8513 * stdio-common/vfprintf.c (process_arg): Fix printing of octal
8514 zero in alternate form with precision of zero, which must produce
8515 "0". Add braces to avoid ambiguous `else'.
8517 1998-01-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
8519 * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
8520 problem with strncpy.
8521 * nis/nss_compat/compat-pwd.c: Likewise.
8522 * nis/nss_compat/comapt-spwd.c: Likewise.
8524 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8526 * assert/assert.h (assert_perror): Correct test for errnum. Patch
8527 by uch@nop.or.jp. [PR libc/437]
8529 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8531 * nis/nis_cache.c: Include <unistd.h> for declaration of close.
8533 1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8535 * stdio-common/test-popen.c: Include <errno.h>.
8537 * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
8540 * inet/getnetgrent_r.c: Include <errno.h>.
8542 * db2/db/db_conv.c: Include <string.h> for memcpy.
8544 * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
8545 so that memcpy is declared.
8547 * iconv/iconv_open.c: Include <stdlib.h> for alloca.
8549 * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
8551 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8553 * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
8554 overflow while reading line with fgets.
8555 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
8557 1998-01-27 00:46 Ulrich Drepper <drepper@cygnus.com>
8559 * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
8560 unsigned short, not short.
8561 Reported by Andreas Jaeger.
8563 1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8565 * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
8568 * sysdeps/generic/inttypes.h: Fix spelling.
8570 1998-01-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8572 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
8574 * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
8576 1998-01-27 00:30 Ulrich Drepper <drepper@cygnus.com>
8578 * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
8579 * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
8580 field for hh modifier.
8581 * stdio-common/vfprint.c: Use is_char field and do not depend in
8582 is_short having the value 2.
8583 Bug reported by Andreas Jaeger.
8585 1998-01-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8587 * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
8588 PIC && DO_VERSIONING.
8590 1998-01-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8592 * Rules: Add rules for $(common-objpfx)dummy$o.
8594 1998-01-26 Richard Henderson <rth@cygnus.com>
8596 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
8597 unimplemented OSF/1 definitions so that they are not accidentally seen.
8599 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
8600 of the trampoline function into the macro.
8601 * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
8602 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
8603 kernel 2.1.82 has this fixed.
8605 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
8606 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
8608 1998-01-26 Ulrich Drepper <drepper@cygnus.com>
8610 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
8611 support sigaction on kernels > 2.1.7x.
8613 1998-01-01 13:52 Ulrich Drepper <drepper@cygnus.com>
8615 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
8618 * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
8619 Patch by David Engel <david@sw.ods.com>.
8621 * configure.in: Fix another typo in --enable-add-ons code.
8623 1998-01-26 03:48 Ulrich Drepper <drepper@cygnus.com>
8625 * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
8627 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8629 * nss/nss_files/files-network.c: Correct order of parameters for
8632 1998-01-26 00:57 Ulrich Drepper <drepper@cygnus.com>
8634 * db2/Makefile (routines): Add os_alloc.
8635 * db2/db.h: Update from db-2.3.16.
8636 * db2/db_185.h: Likewise.
8637 * db2/db_int.h: Likewise.
8638 * db2/btree/bt_close.c: Likewise.
8639 * db2/btree/bt_cursor.c: Likewise.
8640 * db2/btree/bt_delete.c: Likewise.
8641 * db2/btree/bt_open.c: Likewise.
8642 * db2/btree/bt_page.c: Likewise.
8643 * db2/btree/bt_put.c: Likewise.
8644 * db2/btree/bt_rec.c: Likewise.
8645 * db2/btree/bt_recno.c: Likewise.
8646 * db2/btree/btree_auto.c: Likewise.
8647 * db2/common/db_appinit.c: Likewise.
8648 * db2/common/db_apprec.c: Likewise.
8649 * db2/common/db_err.c: Likewise.
8650 * db2/common/db_region.c: Likewise.
8651 * db2/common/db_shash.c: Likewise.
8652 * db2/db/db.c: Likewise.
8653 * db2/db/db_auto.c: Likewise.
8654 * db2/db/db_conv.c: Likewise.
8655 * db2/db/db_dispatch.c: Likewise.
8656 * db2/db/db_dup.c: Likewise.
8657 * db2/db/db_pr.c: Likewise.
8658 * db2/db/db_rec.c: Likewise.
8659 * db2/db185/db185.c: Likewise.
8660 * db2/dbm/dbm.c: Likewise.
8661 * db2/hash/hash.c: Likewise.
8662 * db2/hash/hash_auto.c: Likewise.
8663 * db2/hash/hash_dup.c: Likewise.
8664 * db2/hash/hash_page.c: Likewise.
8665 * db2/hash/hash_rec.c: Likewise.
8666 * db2/include/btree_ext.h: Likewise.
8667 * db2/include/clib_ext.h: Likewise.
8668 * db2/include/common_ext.h: Likewise.
8669 * db2/include/db.h.src: Likewise.
8670 * db2/include/db_185.h.src: Likewise.
8671 * db2/include/db_am.h: Likewise.
8672 * db2/include/db_ext.h: Likewise.
8673 * db2/include/db_int.h.src: Likewise.
8674 * db2/include/hash_ext.h: Likewise.
8675 * db2/include/lock_ext.h: Likewise.
8676 * db2/include/log.h: Likewise.
8677 * db2/include/log_auto.h: Likewise.
8678 * db2/include/log_ext.h: Likewise.
8679 * db2/include/mp.h: Likewise.
8680 * db2/include/mp_ext.h: Likewise.
8681 * db2/include/mutex_ext.h: Likewise.
8682 * db2/include/os_ext.h: Likewise.
8683 * db2/include/os_func.h: Likewise.
8684 * db2/include/txn_ext.h: Likewise.
8685 * db2/lock/lock.c: Likewise.
8686 * db2/lock/lock_util.c: Likewise.
8687 * db2/log/log.c: Likewise.
8688 * db2/log/log.src: Likewise.
8689 * db2/log/log_archive.c: Likewise.
8690 * db2/log/log_auto.c: Likewise.
8691 * db2/log/log_get.c: Likewise.
8692 * db2/log/log_put.c: Likewise.
8693 * db2/log/log_rec.c: Likewise.
8694 * db2/log/log_register.c: Likewise.
8695 * db2/mp/mp_bh.c: Likewise.
8696 * db2/mp/mp_fget.c: Likewise.
8697 * db2/mp/mp_fopen.c: Likewise.
8698 * db2/mp/mp_fput.c: Likewise.
8699 * db2/mp/mp_pr.c: Likewise.
8700 * db2/mp/mp_sync.c: Likewise.
8701 * db2/mutex/mutex.c: Likewise.
8702 * db2/os/os_alloc.c: Likewise.
8703 * db2/os/os_config.c: Likewise.
8704 * db2/os/os_stat.c: Likewise.
8705 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
8706 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
8707 * db2/progs/db_load/db_load.c: Likewise.
8708 * db2/progs/db_printlog/db_printlog.c: Likewise.
8709 * db2/progs/db_recover/db_recover.c: Likewise.
8710 * db2/progs/db_stat/db_stat.c: Likewise.
8711 * db2/txn/txn.c: Likewise.
8713 * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
8714 Unmap memory blocks in reverse order of allocation.
8715 Call munmap with load address added to offset.
8716 Bug reported by Miguel de Icaza.
8718 * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
8721 * localedata/locales/cs_CZ: Update by Michael Mraka
8722 <michael@informatics.muni.cz>.
8724 * misc/sys/syslog.h: Reformat a bit. Don't declare vsyslog unless
8727 * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
8728 reading line with fgets.
8729 * nis/nss_compat/compat-pwd.c: Likewise.
8730 * nis/nss_compat/compat-spwd.c: Likewise.
8731 * nss/nss_files/files-XXX.c: Likewise.
8732 * nss/nss_files/files-alias.c: Likewise.
8733 * shadow/fgetspent_r.c: Likewise.
8735 * string/strerror_r.c: Correct comment. Patch by Andreas Jaeger.
8737 * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
8738 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
8739 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
8741 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
8742 FP register content in ucontext_t.
8744 1998-01-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8746 * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
8747 calculation. Patch by Markus Schoder
8748 <Markus.Schoder@dresdner-bank.de>.
8750 * math/libm-test.c (modf_test): Add more tests for modf.
8752 * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
8753 munlock according to Unix98.
8755 1998-01-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8757 * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
8760 1998-01-21 07:22 H.J. Lu <hjl@gnu.org>
8762 * sysdeps/posix/ttyname.c: Handle symbolic links.
8763 * sysdeps/posix/ttyname_r.c: Ditto.
8765 1998-01-25 19:39 Ulrich Drepper <drepper@cygnus.com>
8767 * db2/makedb.c (process_input): Write terminating \0 for value.
8768 (print_database): Simply print value string, don't use length.
8770 1998-01-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8772 * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
8775 1998-01-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
8777 * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
8780 1998-01-25 14:54 Ulrich Drepper <drepper@cygnus.com>
8782 * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
8784 * signal/sighold.c: New file.
8785 * signal/sigrelse.c: New file.
8786 * sysdeps/generic/sigignore.c: New file.
8787 * sysdeps/generic/sigset.c: New file.
8788 * sysdeps/posix/sigignore.c: New file.
8789 * sysdeps/posix/sigset.c: New file.
8790 * signal/signal.h: Add prototypes for new functions.
8792 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
8793 * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
8794 * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
8795 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
8797 1998-01-23 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
8799 * posix/wordexp.c: Added IFS field-splitting in parameter and
8800 command substitution. Fixed an IFS-related bug that caused an
8803 1998-01-25 12:38 Ulrich Drepper <drepper@cygnus.com>
8805 * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
8807 * stdlib/ucontext.h: Correct prototypes.
8808 * sysdeps/generic/getcontext.c: New file.
8809 * sysdeps/generic/setcontext.c: New file.
8810 * sysdeps/generic/makecontext.c: New file.
8811 * sysdeps/generic/swapcontext.c: New file.
8812 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
8814 1998-01-25 04:07 Ulrich Drepper <drepper@cygnus.com>
8816 * resource/sys/resource.h: Remove #include of ulimit.h which is
8817 not allowed by SUSv2 and not available on other systems.
8818 * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
8820 * streams/Makefile: New file.
8821 * streams/stropts.h: New file.
8822 * sysdeps/generic/bits/stropts.h: New file.
8823 * sysdeps/generic/isastream.c: New file.
8824 * sysdeps/generic/getmsg.c: New file.
8825 * sysdeps/generic/getpmsg.c: New file.
8826 * sysdeps/generic/putmsg.c: New file.
8827 * sysdeps/generic/putpmsg.c: New file.
8828 * sysdeps/generic/fattach.c: New file.
8829 * sysdeps/generic/fdetach.c: New file.
8830 * sysdeps/unix/inet/Subdirs: Add streams.
8831 * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
8833 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
8834 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
8835 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
8836 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
8838 * sysdeps/mach/_strerror.c: Follow changes of generic version to
8839 handle small buffers correctly.
8841 1998-01-24 17:31 H.J. Lu <hjl@gnu.org>
8843 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
8844 Remove the 3rd arg and add declaration for _dl_runtime_resolve
8845 and _dl_runtime_profile.
8847 1998-01-25 02:42 Ulrich Drepper <drepper@cygnus.com>
8849 * include/cpio.h: New file. Mainly copied from GNU cpio.
8850 * posix/Makefile (headers): Add cpio.h.
8852 1998-01-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
8854 * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
8856 * nis/nis_cache.c: New file.
8857 * nis/nis_cache2.h: New file.
8858 * nis/nis_cache2_xdr.c: New file.
8859 * nis/nis_call.c: Changes for cache2_info parameter.
8860 * nis/nis_checkpoint.c: Likewise.
8861 * nis/nis_intern.h: Likewise.
8862 * nis/nis_mkdir.c: Likewise.
8863 * nis/nis_ping.c: Likewise.
8864 * nis/nis_rmdir.c: Likewise.
8865 * nis/nis_server.c: Likewise.
8866 * nis/nis_util.c: Likewise.
8868 1997-12-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
8870 * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
8871 return/errnop codes.
8872 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
8873 * nis/nss_nisplus/nisplus-grp.c: Likewise.
8874 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
8875 * nis/nss_nisplus/nisplus-proto.c: Likewise.
8876 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
8877 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
8878 * nis/nss_nisplus/nisplus-rpc.c: Likewise
8879 * nis/nss_nisplus/nisplus-service.c: Likewise.
8880 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
8882 1997-12-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
8884 * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
8885 * nis/nss_nis/nis-ethers.c: Likewise.
8886 * nis/nss_nis/nis-grp.c: Likewise.
8887 * nis/nss_nis/nis-hosts.c: Likewise.
8888 * nis/nss_nis/nis-network.c: Likewise.
8889 * nis/nss_nis/nis-proto.c: Likewise.
8890 * nis/nss_nis/nis-hosts.c: Likewise.
8891 * nis/nss_nis/nis-network.c: Likewise.
8892 * nis/nss_nis/nis-proto.c: Likewise.
8893 * nis/nss_nis/nis-publickey.c: Likewise.
8894 * nis/nss_nis/nis-pwd.c: Likewise.
8895 * nis/nss_nis/nis-rpc.c: Likewise.
8896 * nis/nss_nis/nis-service.c: Likewise.
8897 * nis/nss_nis/nis-spwd.c: Likewise.
8899 1998-01-24 Ulrich Drepper <drepper@cygnus.com>
8901 * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
8902 Added to follow latest kernel development.
8904 1998-01-24 15:13 Ulrich Drepper <drepper@happy.cygnus.com>
8906 * nss/db-Makefile: Handle empty and comment lines better.
8907 ($(VAR_DB)/services.db): Generate entries with missing protocol
8910 1998-01-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8912 * nss/nss_files/files-service.c (getservbyport): Allow proto ==
8914 (getservbyname): Allow proto == NULL.
8915 Pointed out by David N. Welton <davidw@gate.cks.com>.
8918 1998-01-24 11:34 Ulrich Drepper <drepper@happy.cygnus.com>
8920 * nis/nislib/nislib.h: Finally removed.
8922 * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
8923 C compiler. From Kaveh Ghazi.
8924 (TYPE_MINIMUM): Define.
8925 (TYPE_MAXIMUM): Define.
8926 (TIME_T_MIN): Use TYPE_MINIMUM.
8927 (TIME_T_MAX): Use TYPE_MAXIMUM.
8928 Patch by Jim Meyering <meyering@ascend.com>.
8930 1998-01-22 00:55 Ulrich Drepper <drepper@happy.cygnus.com>
8932 * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
8933 __pread64, __pwrite64, and __getpid.
8935 * rt/aio_misc.c: Use pread and pwrite instead of __ protected
8938 1998-01-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8940 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
8941 cancelable socket functions as __libc_xxx with __xxx as weak
8943 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8944 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8946 * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
8948 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8949 * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
8950 * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
8951 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
8953 * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
8954 and __xxx a weak alias.
8955 * sysdeps/unix/sysv/linux/connect.S: Likewise.
8956 * sysdeps/unix/sysv/linux/recv.S: Likewise.
8957 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
8958 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
8959 * sysdeps/unix/sysv/linux/send.S: Likewise.
8960 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
8961 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
8963 1998-01-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8965 * locale/langinfo.h: Add defines.
8967 * dirent/dirent.h: Add defines for DT_*, check also for
8968 _DIRENT_HAVE_D_TYPE.
8969 Suggested by Roland McGrath.
8971 1998-01-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8973 * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
8974 Update from Linux 2.1.73+79.
8976 * README.template: Update information about possible
8979 * manual/mbyte.texi (Wide String Conversion): Fix declaration of
8980 wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
8983 * manual/time.texi (Priority): Correct description of
8984 PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
8987 11998-01-21 21:34 Ulrich Drepper <drepper@cygnus.com>
8989 * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
8990 FP_ILOGNAN. Patch by a sun <asun@zoology.washington.edu>.
8992 1998-01-21 17:53 Ulrich Drepper <drepper@cygnus.com>
8994 * sysdeps/generic/_strerror.c: Handle BUFLEN == 0. Reported by
8997 1998-01-20 18:13 Ulrich Drepper <drepper@cygnus.com>
8999 * locale/programs/ld-collate.c: Little optimizations.
9001 * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
9003 * string/Makefile (tests): Add tst-inlcall.
9004 * string/tst-inlcall.c: New file.
9006 * string/strsignal.c: Add support for real-time signals.
9008 * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
9009 presense of small buffer.
9011 * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
9013 * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
9016 * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
9019 1998-01-02 15:10 Matthias Urlichs <urlichs@noris.de>
9021 * Rules: Add explicit rule for dummy.o; at least one library needs
9022 it and it isn't autogenerated by the default rules.
9024 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9026 * math/libm-test.c: Tweak epsilons.
9028 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9030 * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
9032 (feenv_mask_test): Likewise.
9034 1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9036 * Makeconfig: Don't export CPPFLAGS.
9038 1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9040 * sunrpc/rpc_main.c (parseargs): Use perror to print error
9043 1998-01-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9045 * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
9046 terminating null in key size.
9048 1998-01-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9050 * nss/nss_files/files-service.c: Fix allocation size to include
9053 * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
9054 applicable. Fix return value and error checking.
9055 (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
9057 (DB_LOOKUP): Allocate space for terminating null byte.
9059 * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
9062 * db2/makedb.c (process_input): Continue processing if a duplicate
9065 1998-01-19 15:20 Ulrich Drepper <drepper@cygnus.com>
9067 * time/tzfile.h: Updated from tzcode1998b.
9068 * time/zdump.c: Likewise.
9069 * time/zic.c: Likewise.
9070 * time/africa: Update from tzdata1998b.
9071 * time/antarctica: Likewise.
9072 * time/asia: Likewise.
9073 * time/australasia: Likewise.
9074 * time/etcetera: Likewise.
9075 * time/europe: Likewise.
9076 * time/leapseconds: Likewise.
9077 * time/northamerica: Likewise.
9078 * time/southamerica: Likewise.
9080 1998-01-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9082 * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
9083 lookups ignoring case.
9084 * nss/nss_files/files-network.c: Do network lookups ignoring
9086 * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
9088 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
9089 case insensitive comparing.
9090 Patches by Cristian Gafton <gafton@redhat.com>.
9092 1998-01-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9094 * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines. Suggested
9095 by Roland McGrath. [PR libc/395]
9097 1998-01-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9099 * manual/arith.texi (Parsing of Integers): Correct description of
9100 strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
9103 1997-12-30 14:14 Matthias Urlichs <urlichs@noris.de>
9105 * misc/lsearch.c (lsearch): Return a pointer to the new element
9106 if one was "allocated".
9108 1997-12-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9110 * string/strsignal.c: NSIG is not a valid index into
9111 _sys_siglist. Don't zap the last character of the "Unknown
9114 1998-01-19 15:08 Ulrich Drepper <drepper@cygnus.com>
9116 * locale/programs/charmap.c (parse_charmap): Correct parsing of
9117 ellipsis expressions.
9119 * locale/programs/charset.c (insert_char): Correctly insert value
9120 of eliipsis expression.
9122 1997-12-28 15:08 Ulrich Drepper <drepper@cygnus.com>
9124 * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
9126 * sysdeps/powerpc/setjmp.S: Likewise.
9127 Patches by Matt McLean <keys@keys.got.net>.
9129 * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
9131 * Makefile: Undo last patch.
9132 (distribute): Add test-installation.pl.
9134 * configure.in: Correct handling of --enable-add-ons without parameter.
9135 Correct address of WWW pages.
9137 * libc.map: Add _nl_domain_bindings.
9139 * db2/mutex/tsl_parisc.s: New file.
9141 * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
9142 and extra-module.mk.
9144 * localedata/Makefile (distribute): New. Add all the files.
9146 * stdlib/Makefile (headers): Add inttypes.h.
9147 (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
9148 * sysdeps/generic/inttypes.h: New file.
9149 * sysdeps/generic/strtoimax.c: New file.
9150 * sysdeps/generic/strtoumax.c: New file.
9151 * sysdeps/generic/wcstoimax.c: New file.
9152 * sysdeps/generic/wcstoumax.c: New file.
9153 * sysdeps/wordsize-32/Dist: Removed.
9154 * sysdeps/wordsize-32/Makefile: Removed.
9155 * sysdeps/wordsize-64/Dist: Removed.
9156 * sysdeps/wordsize-64/Makefile: Removed.
9157 * sysdeps/generic/bits/environments.h: New file.
9159 * include/limits.h: Define MB_LEN_MAX in any case to 6. The gcc
9160 header is still not correct.
9162 * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
9163 * posix/unistd.h: Likewise.
9164 * sysdeps/generic/sys/mman.h: Likewise.
9165 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
9167 * manual/arith.texi: Change definition of mul macro.
9168 * manual/math.texi: Likewise.
9170 * misc/Makefile (routines): Add mmap64.
9171 * sysdeps/generic/mmap64.c: New file.
9172 * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
9173 * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
9174 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
9176 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9178 * sysdeps/generic/setrlimit64.c: Don't mark as stub.
9180 * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
9182 * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
9184 * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
9185 FOPEN_MAX also when included by limits.h.
9186 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
9188 * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
9189 and netrom/netrom.h.
9190 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
9191 oldsiglist to sysdep_routines, not aux.
9192 [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
9194 * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
9195 and SOL_NETROM definition.
9197 * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
9199 * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
9200 * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
9202 1997-12-25 Ulrich Drepper <drepper@cygnus.com>
9204 * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
9206 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
9207 sa_handler with k_sa_handler.
9208 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
9212 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
9213 __libc_have_rt_sigs here.
9214 * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
9215 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9216 * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
9217 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9219 1997-12-11 07:51 Geoff Keating <geoffk@ozemail.com.au>
9221 * sysdeps/powerpc/atomicity.h: New file.
9222 * sysdeps/mach/powerpc/machine-lock.h: New file.
9224 * Rules: Use -fpic to build anything that might end up in a users'
9227 * sysdeps/powerpc/s_fdim.c: New file.
9228 * sysdeps/powerpc/s_fdimf.c: New file.
9229 * sysdeps/powerpc/s_fmax.S: New file.
9230 * sysdeps/powerpc/s_fmaxf.S: New file.
9231 * sysdeps/powerpc/s_fmin.S: New file.
9232 * sysdeps/powerpc/s_fminf.S: New file.
9233 * sysdeps/powerpc/s_llrint.c: Now is for double.
9234 * sysdeps/powerpc/s_llrintf.c: New file.
9235 * sysdeps/powerpc/s_llround.c: Now is for double.
9236 * sysdeps/powerpc/s_llroundf.c: New file.
9237 * sysdeps/powerpc/s_lrint.c: Now is for double.
9238 * sysdeps/powerpc/s_lrintf.S: New file.
9239 * sysdeps/powerpc/s_lround.c: Now is for double.
9240 * sysdeps/powerpc/s_lroundf.c: New file.
9241 * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
9242 lrintf, fdim, fdimf.
9244 * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
9245 file directly, use its parent.
9247 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
9248 (for the third time).
9250 1997-12-20 13:50 Richard Henderson <rth@cygnus.com>
9252 * posix/sched.h: timespec is in <time.h>.
9254 * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
9256 1997-12-22 18:10 Ulrich Drepper <drepper@cygnus.com>
9258 * configure.in: Stop with error if --disable-static is used when
9259 the shared lib uses this library.
9261 * gen-FAQ.pl: I've perl installed in /usr/bin.
9263 * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
9265 Fix Unix98 conformance problems in the headers.
9266 * catgets/nl_types.h: Define nl_item.
9267 * grp/grp.h: Define gid_t.
9268 * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
9269 * include/nl_types.h: New file.
9270 * include/ulimit.h: New file.
9271 * io/fcntl.h: Include sys/stat.h for Unix98. Don't define locking
9272 constants in POSIX mode.
9273 * io/utime.h: Get definition for time_t.
9274 * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
9275 uid_t, pid_t. Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
9276 * libio/stdio.h: Define va_list. Make snprintf also available is
9277 __USE_UNIX98. Declare getopt function and variables.
9278 * locale/langinfo.h: Include nl_types.h. Don't define nl_item.
9279 Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
9280 * math/math.h: Defined M_* constants as double for Unix98 mode.
9281 * posix/fnmatch.h: Pretty print. Define FNM_NOSYS.
9282 * posix/glob.h: Pretty print. Define GLOB_NOSYS.
9283 * posix/regex.h: Define REG_NOSYS.
9284 * posix/wordexp.h: Define WRDE_NOSYS.
9285 * posix/unistd.h: Define _POSIX2_VERSION. Define _XOPEN_VERSION to
9287 * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
9288 somewhere else as well. Define clock_t for Unix98.
9289 * posix/sys/wait.h: Define pid_t.
9290 * pwd/pwd.h: Define gid_t, uid_t.
9291 * resource/Makefile (headers): Add ulimit.h.
9292 * resource/ulimit.h: New file.
9293 * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
9294 instead of second argument.
9295 * sysdeps/unix/bsd/ulimit.c: Likewise. Use UL_* constants.
9296 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
9297 * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
9298 * signal/signal.h: Define pid_t.
9299 * string/string.h: Don't declare BSD string functions in POSIX mode.
9300 * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE. Add
9301 _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
9302 * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
9305 * inet/test_ifindex.c: Change test so that it does not fail for
9308 * locale/programs/locale.c (show_info): Use correct cast sequence
9311 * malloc/malloc.c: __malloc_initialized now signals three states:
9312 uninitialized, initializing, initialized. Used in mcheck.
9313 * malloc/mcheck.c (mabort): Add '\n' to messages.
9314 (mcheck): Allow installation when malloc is uninitialized or is
9317 * manual/memory.texi: Explain mtrace output a bit more.
9319 * math/libm-test.c: Add more epsilons.
9321 * misc/regexp.h (compile): Remove __ prefix from parameter names.
9323 * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
9324 instead of strcpy for security.
9325 * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
9326 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
9327 * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
9329 * nss/digits_dots.c: Pretty print.
9331 * posix/getconf.c (vars): Add symbols for programming environment
9332 recognition. Recognize --version.
9334 * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
9335 _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
9336 * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
9338 * sysdeps/generic/bits/stdio_lim.h: Implement handling of
9340 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
9341 * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
9344 * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
9345 * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
9347 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
9348 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9349 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9350 * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
9351 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9352 * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
9354 * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
9356 * sysdeps/wordsize-64/inttypes.h: Likewise.
9358 * time/africa: Update from tzdata1997j.
9359 * time/antarctica: Likewise.
9360 * time/asia: Likewise.
9361 * time/australasia: Likewise.
9362 * time/backward: Likewise.
9363 * time/etcetera: Likewise.
9364 * time/europe: Likewise.
9365 * time/factory: Likewise.
9366 * time/northamerica: Likewise.
9367 * time/pacificnew: Likewise.
9368 * time/southamerica: Likewise.
9370 * time/tzfile.h: Update from tzcode1997h.
9371 * time/zic.c: Likewise.
9373 * wcsmbs/wchar.h: Get definition of FILE. Define `struct tm' tag.
9374 Declare wcwidth and wcswidth for __USE_XOPEN. Declare the
9375 isw*() functions for Unix98.
9376 * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
9377 * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
9380 1997-12-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9382 * locale/duplocale.c: Increase usage_count only if less than
9384 * locale/freelocale.c: Test usage_count against UNDELETABLE, not
9386 * locale/setlocale.c: Likewise.
9388 1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9390 * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
9391 dependency to make it easier to install it selectively.
9393 * Makerules (.SUFFIXES): Don't define any suffixes.
9395 1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9397 * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
9398 * sysdeps/generic/statfs64.c: Emulate using statfs.
9399 * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
9400 * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
9401 * sysdpes/generic/ftruncate64.c: New file.
9402 * sysdpes/generic/truncate64.c: New file.
9404 * sysdeps/generic/bits/stat.h: Add LFS support.
9405 * sysdeps/generic/bits/statfs.h: Likewise.
9407 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
9408 [__USE_FILE_OFFSET64]: Make long long constant.
9409 (RLIM64_INFINITY): Likewise.
9411 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
9413 (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
9414 * sysdeps/generic/bits/resource.h: Likewise.
9416 * misc/Makefile (routines): Add truncate64 and ftruncate64.
9418 * include/features.h: Don't prevent LFS support from defining BSD
9421 * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
9422 * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
9423 * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
9425 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
9426 fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
9427 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9429 * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
9430 * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
9431 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
9432 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
9433 * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
9434 * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
9435 * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
9436 * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
9437 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
9438 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
9439 * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
9440 * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
9441 * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
9442 * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
9443 * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
9444 * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
9445 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
9446 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
9447 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
9448 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
9450 * sysdeps/unix/sysv/linux/fxstat64.c: New file.
9451 * sysdeps/unix/sysv/linux/lxstat64.c: New file.
9452 * sysdeps/unix/sysv/linux/xstat64.c: New file.
9453 * sysdeps/unix/sysv/linux/readdir64.c: New file.
9454 * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
9456 * sysdeps/unix/sysv/linux/getdents64.c: New file.
9457 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
9458 [$(subdir)=dirent]: Add getdents64.
9459 * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
9461 * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
9463 1997-12-18 12:07 Philip Blundell <pb@nexus.co.uk>
9465 * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
9467 * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
9468 * sysdeps/generic/getrlimit64.c: Likewise.
9469 * sysdeps/generic/setrlimit.c: Likewise.
9470 * sysdeps/generic/setrlimit64.c: Likewise.
9472 1997-12-17 13:57 Philip Blundell <pb@nexus.co.uk>
9474 * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
9477 * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
9479 * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
9481 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9483 * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
9484 after the codeset name.
9486 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9488 * libc.map: Add get_kernel_syms.
9490 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9492 * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
9494 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
9495 Likewise. Fix condition.
9497 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9499 * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
9501 1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9503 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
9504 Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
9506 1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9508 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
9509 * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
9512 1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9514 * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
9516 1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9518 * math/libm-test.c (catanh_test): Change epsilon.
9519 Reported by H.J. Lu.
9521 1997-12-14 19:39 H.J. Lu <hjl@gnu.org>
9523 * libc.map (__getpid): Added for linuxthreads.
9525 1997-12-13 21:09 H.J. Lu <hjl@gnu.org>
9527 * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
9528 it if gcc uses static variable in DWARF2 unwind information
9529 for exception support.
9531 * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
9533 * elf/soinit.c (__libc_global_ctors, _fini): Handle
9534 HAVE_DWARF2_UNWIND_INFO_STATIC.
9536 * libc.map (__register_frame*, __deregister_frame*): Make them
9539 1997-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9541 * math/libm-test.c: Add more tests for "normal" values.
9543 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9545 * stdio-common/printf_fphex.c: Fix printing of long double number
9546 with a biased exponent of zero. Fix rounding.
9548 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9550 * sunrpc/rpc_main.c: Accept new flag -$.
9551 * sunrpc/Makefile (rpcgen-cmd): Pass it here.
9553 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9555 * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
9556 dynamic linker first, in case the interface has changed.
9558 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9560 * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
9563 1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9565 * math/tgmath.h: Check for double first, for architectures where
9566 sizeof (long double) == sizeof (double).
9568 1997-12-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9570 * math/libm-test.c: New tests for "normal" values added for most
9573 1997-12-14 21:33 Ulrich Drepper <drepper@cygnus.com>
9575 * version.h (VERSION): Bump to 2.0.91.
9577 * db2/makedb.c (process_input): Fix typo in message.
9578 * sunrpc/rpcinfo.c (pmapdump): Unify messages.
9580 * elf/dynamic-link.h: Pretty print.
9582 * elf/rtld.c: Allow multiple preloading of a shared object.
9584 * include/limits.h: Prevent multiple inclusion.
9586 * malloc/Makefile (headers): Add mcheck.h.
9587 (distribute): Remove it here.
9588 * malloc/mcheck.h: Pretty print.
9589 * malloc/mtrace.c (mallenv): Make `const'.
9590 * malloc/mtrace.pl: Don't print table head for memory leaks if there
9592 * manual/memory.texi: Update descriptor of malloc hooks.
9594 * posix/Makefile (routines): Add waitid.
9595 * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
9597 * posix/sys/wait.h: Define idtype_t type.
9598 Add prototype for waitid.
9599 * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
9600 * sysdeps/generic/waitid.c: Stub for waitid.
9601 * sysdeps/generic/bits/siginfo.h: Define sigval_t. Arrange to work
9602 the __need_siginfo_t defined.
9603 * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
9604 * sysdeps/generic/bits/types.h: Define __id_t.
9605 Correct definition of __FDMASK.
9606 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9607 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9608 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9610 * sysdeps/posix/waitid.c: New file.
9611 Provided by Zack Weinberg.
9613 * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
9615 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9616 Add missing parameters.
9618 * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
9619 * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
9620 * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
9621 * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
9624 * sysdeps/i386/dl-machine.h: Little cleanup.
9626 * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
9627 (__finite): Mark function as const.
9628 Add inline code for __ieee754_atan2.
9630 * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
9631 (but don't use it now).
9632 * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
9634 * sysdeps/libm-ieee754/s_catanf.c: Likewise.
9635 * sysdeps/libm-ieee754/s_catanl.c: Likewise.
9636 * sysdeps/libm-ieee754/s_catanh.c: Likewise. Correct sign of
9638 * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
9639 * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
9640 * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
9641 __ieee754_atan2 to base 10.
9642 * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
9643 * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
9645 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
9646 old_kernel_sigaction.
9648 * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
9650 * wctype/Makefile (routines): Add wctype_l.
9651 * wctype/wctype.h: Add declaration of __wctype_l.
9652 * wctype/wctype_l.c: New file.
9654 1997-12-10 00:38 Ulrich Drepper <drepper@cygnus.com>
9656 * locale/C-ctype.c: Correct data for isw* functions.
9657 * locale/programs/ld-ctype.c: Write 32bit char classes in correct
9659 * wctype/test_wctype.c: Add test for isw* functions.
9660 * wctype/wctype.c: Return value with expected byte order.
9662 1997-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
9664 * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
9666 1997-12-05 20:19 H.J. Lu <hjl@gnu.org>
9668 * iconvdata/Makefile: Fix a typo.
9670 * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
9671 oldsiglist for shared library.
9673 * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
9674 sys_sigabbrev): Make them as the default version GLIBC_2.1.
9676 * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
9677 sys_siglist, sys_sigabbrev): New file. Make them as the old
9680 * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
9683 1997-11-20 18:02 H.J. Lu <hjl@gnu.ai.mit.edu>
9685 * libio/iofgets.c (_IO_fgets): Return an error only if there
9687 * libio/iogets.c (_IO_gets): Ditto.
9689 1997-11-20 07:26 H.J. Lu <hjl@gnu.ai.mit.edu>
9691 * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
9693 * libio/Makefile (routines, shared-only-routines): Add
9696 * libio/fileops.c: Don't use _IO_FILE_complete.
9697 * libio/iofdopen.c: Ditto.
9698 * libio/iofopen.c: Ditto.
9699 * libio/iofopen64.c: Ditto.
9700 * libio/iopopen.c: Ditto.
9701 * libio/iovdprintf.c: Ditto.
9703 * libio/genops.c (_IO_init): Set _vtable_offset to 0.
9705 * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
9706 and make it for _IO_fdopen/fdopen version GLIBC_2.1.
9708 * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
9709 _IO_old_fdopen, _IO_new_fdopen): New declaration.
9711 * libio/libio.h (_IO_FILE): Add more fields.
9712 (_IO_FILE_complete): Defined and make _IO_FILE be the old
9713 one if _IO_USE_OLD_IO_FILE is defined
9714 (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
9715 them _IO_FILE_complete.
9717 * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
9719 (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
9721 (_IO_FILE_complete): Commented out.
9723 * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
9724 * libio/oldiofclose.c: Ditto.
9725 * libio/oldiofopen.c: Ditto.
9726 * libio/oldstdfiles.c: Ditto.
9728 * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
9729 for the old _IO_FILE.
9731 * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
9732 (_IO_check_libio): Set _vtable_offset for old stdin, stdout
9735 * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
9738 * libio/stdio.c (stdin, stdout, stdin): Don't use
9741 * libio/oldiofdopen.c: New.
9743 * stdio-common/vfprintf.c (buffered_vfprintf): Set
9744 hp->_vtable_offset to 0.
9746 1997-11-18 08:03 H.J. Lu <hjl@gnu.ai.mit.edu>
9748 * libc.map (_IO_file_open): Added.
9750 * libio/libioP.h (_IO_file_open): Declared.
9752 * libio/fileops.c (_IO_file_open): New.
9753 (_IO_file_fopen): Call _IO_file_open ().
9755 * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
9756 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
9758 1997-12-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9760 * signal/signal.h: Fix selection of signal semantics to match
9763 1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9765 * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
9766 * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
9768 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
9769 [$(subdir)=signal]: Remove rt_sigreturn.
9770 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
9771 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
9772 * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
9774 1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9776 * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>. Fix
9779 1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9781 * iconvdata/extra-module.mk: Expand extra-objs now.
9783 1997-12-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9785 * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
9786 inline functions by feature tests to avoid warning about missing
9787 prototype declarations.
9789 1997-12-09 15:08 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
9791 * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
9792 return code for non existent +name entries.
9793 * nis/nss_compat/compat-pwd.c: Likewise.
9794 * nis/nss_compat/compat-spwd.c: Likewise.
9796 1997-12-10 13:52 Philip Blundell <pb@nexus.co.uk>
9798 * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
9802 (__errno_location): Likewise.
9804 * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
9806 * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
9808 1997-12-09 08:10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
9810 * sunrpc/publickey.c: Use new NSS interface.
9812 1997-12-09 03:08 Ulrich Drepper <drepper@cygnus.com>
9814 * manual/malloc.texi: Document mtrace/muntrace and the concept.
9816 1997-12-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9818 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
9819 value, to match spirit of the standard.
9820 * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
9821 * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
9822 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
9824 1997-12-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9826 * manual/signal.texi (Signal Stack): Remove spurious @item.
9828 1997-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9830 * rt/aio.h: Remove double semicolon.
9832 * rt/librt.map: Add aio_init.
9834 1997-12-08 03:24 Ulrich Drepper <drepper@cygnus.com>
9836 * Makeconfig: Define $(rt) to rt if linuxthreads is available.
9837 * Makefile (subdirs): Replace rt by $(rt).
9839 * shlib-versions: Use version .2 for NSS modules.
9841 * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
9843 * pwd/fgetpwent_r.c: Likewise.
9844 * spwd/fgetspent_r.c: Likewise.
9845 * spwd/sgetspent_r.c: Likewise.
9846 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
9847 Store error number in *ERRNOP. Little optimization.
9848 * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
9849 * hesiod/nss_hesiod/hesiod-service.c: Likewise.
9850 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
9851 (__internal_getnetgrent_r): New argument.
9852 Call __internal_setnetgrent_reuse with new argument.
9853 (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
9854 * inet/netgroup.h: Add argument to prototypes.
9855 * nis/nisplus-parser.h: Likewise.
9856 * nis/nss_compat/compat-grp.c: Change everything to store error
9857 code through provided pointer and not use errno.
9858 * nis/nss_compat/compat-pwd.c: Likewise.
9859 * nis/nss_compat/compat-spwd.c: Likewise.
9860 * nis/nss_nis/nis-alias.c: Likewise.
9861 * nis/nss_nis/nis-ethers.c: Likewise.
9862 * nis/nss_nis/nis-grp.c: Likewise.
9863 * nis/nss_nis/nis-hosts.c: Likewise.
9864 * nis/nss_nis/nis-netgrp.c: Likewise.
9865 * nis/nss_nis/nis-network.c: Likewise.
9866 * nis/nss_nis/nis-proto.c: Likewise.
9867 * nis/nss_nis/nis-publickey.c: Likewise.
9868 * nis/nss_nis/nis-pwd.c: Likewise.
9869 * nis/nss_nis/nis-rpc.c: Likewise.
9870 * nis/nss_nis/nis-service.c: Likewise.
9871 * nis/nss_nis/nis-spwd.c: Likewise.
9872 * nis/nss_nisplus/nisplus-alias.c: Likewise.
9873 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9874 * nis/nss_nisplus/nisplus-grp.c: Likewise.
9875 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9876 * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
9877 * nis/nss_nisplus/nisplus-network.c: Likewise.
9878 * nis/nss_nisplus/nisplus-parser.c: Likewise.
9879 * nis/nss_nisplus/nisplus-proto.c: Likewise.
9880 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9881 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9882 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
9883 * nis/nss_nisplus/nisplus-service.c: Likewise.
9884 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9885 * nss/nss_db/db-XXX.c: Likewise.
9886 * nss/nss_db/db-alias.c: Likewise.
9887 * nss/nss_db/db-netgrp.c: Likewise.
9888 * nss/nss_files/files-XXX.c: Likewise
9889 * nss/nss_files/files-alias.c: Likewise
9890 * nss/nss_files/files-netgrp.c: Likewise
9891 * nss/nss_files/files-parse.c: Likewise
9892 * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
9893 parameter of get functions.
9894 * nss/getXXent_r.c: Likewise.
9896 * localedata/tst-fmon.c: Print debug info if test fails.
9898 * rt/Makefile (routines): Add aio_notify.
9899 * rt/aio.h: Remove non-public definitions. Add aioinit stuff.
9900 * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
9901 * rt/aio_fsync.c: Likewise.
9902 * rt/aio_misc.c: Likewise.
9903 * rt/aio_misc.h: Likewise.
9904 * rt/aio_read.c: Likewise.
9905 * rt/aio_read64.c: Likewise.
9906 * rt/aio_suspend.c: Likewise.
9907 * rt/aio_write.c: Likewise.
9908 * rt/aio_write64.c: Likewise.
9909 * rt/lio_listio.c: Likewise.
9910 * rt/lio_listio64.c: Likewise.
9911 * rt/aio_notify.c: New file.
9913 * sysdeps/generic/bits/sigset.h: Pretty print.
9915 * sysdeps/posix/pwrite.c: Define weak alias only if function is
9916 really defined as __pwrite.
9918 * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
9920 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9922 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
9923 (sysdep_routines): Add rt_sigpending and rt_sigreturn.
9924 * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
9926 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9927 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9928 * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
9929 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9930 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
9931 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9932 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. Take care
9934 * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
9936 * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
9937 __NR_pread is not defined.
9938 * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
9939 __NR_pwrite is not defined.
9941 1997-12-07 11:15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
9943 * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
9944 handle for /etc/group back in some more cases.
9945 * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
9946 handle for /etc/passwd back in some more cases.
9947 * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
9948 handle for /etc/shadow back in some more cases.
9950 1997-12-06 17:00 H.J. Lu <hjl@gnu.org>
9952 * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
9954 * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
9955 * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
9957 1997-12-06 04:38 Ulrich Drepper <drepper@cygnus.com>
9959 * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
9960 handling. Don't use macros, we need functions. Use inline functions
9962 * sysdeps/wordsize-64/inttypes.h: Likewise.
9963 * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
9965 * sysdeps/wordsize-64/Makefile: Likewise.
9966 * sysdeps/wordsize-32/Dist: Likewise.
9967 * sysdeps/wordsize-64/Dist: Likewise.
9968 * sysdeps/wordsize-32/strtoimax.c: New file.
9969 * sysdeps/wordsize-32/strtoumax.c: New file.
9970 * sysdeps/wordsize-32/wcstoimax.c: New file.
9971 * sysdeps/wordsize-32/wcstoumax.c: New file.
9972 * sysdeps/wordsize-64/strtoimax.c: New file.
9973 * sysdeps/wordsize-64/strtoumax.c: New file.
9974 * sysdeps/wordsize-64/wcstoimax.c: New file.
9975 * sysdeps/wordsize-64/wcstoumax.c: New file.
9977 1997-12-04 10:40 Philip Blundell <pb@nexus.co.uk>
9979 * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
9980 that transparent union works.
9981 * sysdeps/generic/wait4.c (__wait4): Likewise.
9982 * sysdeps/generic/wait.c (__wait): Likewise.
9984 * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
9987 * sysdeps/generic/syscall.c (syscall): Return value and arg are
9988 long, to match prototype.
9990 * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
9993 * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
9995 * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
9997 * sysdeps/generic/bits/time.h: Use __time_t not time_t.
9999 * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
10002 * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
10004 * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
10006 * io/sys/stat.h (S_ISLNK): Always false if we don't have
10009 * sysdeps/standalone/close.c (_STDIO_H): Define before including
10010 <bits/stdio_lim.h>.
10011 * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
10013 1997-12-06 01:09 Ulrich Drepper <drepper@cygnus.com>
10015 * posix/sys/wait.h: Don't use transparent unions in C++.
10017 1997-12-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10019 * time/time.h: Add strfxtime.
10021 * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
10022 sysv_signal, strfxtime, pread64, pwrite64.
10024 1997-11-30 21:57 Richard Henderson <rth@cygnus.com>
10026 Alpha changes for EGCS:
10027 * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
10028 * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
10029 * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
10030 (_start): Likewise.
10031 * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
10033 1997-12-05 00:01 Ulrich Drepper <drepper@cygnus.com>
10035 The kernel expects the arguments in a different order.
10036 * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
10037 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
10039 * FAQ.in: New file.
10040 * gen-FAQ.pl: New file.
10041 * Makefile (FAQ): Add rule to generate from FAQ.in.
10043 * iconvdata/Makefile: Treat libJIS like the other modules.
10045 * rt/librt.map: New file.
10047 * sysdeps/wordsize-32/bits/environments.h: Add test for direct
10049 * sysdeps/wordsize-64/bits/environments.h: Likewise. Correct
10052 1997-12-04 22:29 Ulrich Drepper <drepper@cygnus.com>
10054 * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
10055 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
10056 * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
10057 Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
10059 1997-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10061 * string/bits/string2.h: Fix spellings.
10063 * string/string.h: Fix spellings.
10065 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10067 * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
10068 declaration to __syscall_rt_sigaction.
10070 * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
10071 non-existant <sigcontext.h>.
10073 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10075 * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
10078 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10080 * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
10082 * Makeconfig (shared-thread-library): Correct spelling.
10084 * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
10087 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10089 * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
10090 constants from Linux headers. Pointed out by
10091 csmall@scooter.o.i.net. [PR libc/369]
10093 1997-12-04 10:21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
10095 * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
10097 1997-12-04 00:06 Zack Weinberg <zack@rabi.phys.columbia.edu>
10099 * configure.in: If --enable-add-ons is given without an
10100 argument, set the addons list to all subdirs with a configure
10103 1997-12-03 23:50 Ulrich Drepper <drepper@cygnus.com>
10105 * Makeconfig: Add shared-thread-library variable.
10107 * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
10108 * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
10110 * sysdeps/m68k/fpu/e_acos.c: Likewise.
10111 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
10112 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
10113 * sysdeps/m68k/fpu/e_pow.c: Likewise.
10114 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
10115 * sysdeps/m68k/fpu/k_cos.c: Likewise.
10116 * sysdeps/m68k/fpu/k_sin.c: Likewise.
10117 * sysdeps/m68k/fpu/k_tan.c: Likewise.
10118 * sysdeps/m68k/fpu/s_atan.c: Likewise.
10119 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
10120 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
10121 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
10122 * sysdeps/m68k/fpu/s_csin.c: Likewise.
10123 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
10124 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
10125 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
10126 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
10127 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
10128 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
10129 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
10130 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
10131 * sysdeps/m68k/fpu/s_modf.c: Likewise.
10132 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
10133 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
10134 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
10136 * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
10137 __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
10138 * signal/Makefile (headers): Add bits/siginfo.h.
10139 (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
10140 (distribute): Add testrtsig.h.
10141 * signal/allocrtsig.c: New file.
10142 * signal/signal.h: Define `union sigval'. Include <bits/siginfo.h>.
10143 Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
10144 __libc_current_sigrtmax.
10145 * sysdeps/generic/sigqueue.c: New file.
10146 * sysdeps/generic/sigtimedwait.c: New file.
10147 * sysdeps/generic/sigwaitinfo.c: New file.
10148 * sysdeps/generic/testrtsig.h: New file.
10149 * sysdeps/generic/bits/siginfo.h: New file.
10150 * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
10151 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
10152 old_kernel_sigaction and rename sa_handler member to k_sa_handler.
10153 * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
10154 * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
10155 * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
10156 * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
10157 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
10158 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
10159 * sysdeps/unix/sysv/linux/sigpending.c: New file.
10160 * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
10161 * sysdeps/unix/sysv/linux/sigqueue.c: New file.
10162 * sysdeps/unix/sysv/linux/sigreturn.c: New file.
10163 * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
10164 * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
10165 * sysdeps/unix/sysv/linux/testrtsig.h: New file.
10166 * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
10167 * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
10168 * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
10169 * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
10170 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
10171 and _POSIX_REALTIME_SIGNALS.
10172 * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
10173 * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
10175 * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
10176 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
10179 * Makefile (subdirs): Add rt.
10180 * shlib-versions: Add entry for librt.
10181 * rt/Makefile: New file.
10182 * rt/aio.h: New file.
10183 * rt/aio_cancel.c: New file.
10184 * rt/aio_error.c: New file.
10185 * rt/aio_fsync.c: New file.
10186 * rt/aio_misc.c: New file.
10187 * rt/aio_misc.h: New file.
10188 * rt/aio_read.c: New file.
10189 * rt/aio_read64.c: New file.
10190 * rt/aio_return.c: New file.
10191 * rt/aio_suspend.c: New file.
10192 * rt/aio_write.c: New file.
10193 * rt/aio_write64.c: New file.
10194 * rt/lio_listio.c: New file.
10195 * rt/lio_listio64.c: New file.
10196 * sysdeps/generic/aio_sigqueue.c: New file.
10197 * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
10198 * sysdeps/unix/sysv/linux/Dist: Add new files
10199 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
10200 (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
10201 rt_sigqueueinfo, rt_sigaction.
10203 * posix/Makefile (headers): Add bits/environments.h.
10204 * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
10205 and _CS_LFS_CFLAGS on 64bit platforms.
10206 * posix/unistd.h: Define _XOPEN_LEGACY. Explain _XOPEN_REALTIME
10207 and _XOPEN_REALTIME_THREADS. Include bits/environments.h.
10208 * sysdeps/generic/bits/confname.h: Define _SC_* constants for
10209 compilation modules.
10210 * sysdeps/wordsize-32/bits/environments.h: New file.
10211 * sysdeps/wordsize-64/bits/environments.h: New file.
10213 * posix/getopt.c: Remove declaration of getpid and __libc_pid.
10214 * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
10216 * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
10219 * string/string.h: Add declaration of __strverscmp.
10220 * string/strverscmp.c: Rename function ot __strverscmp and make old
10223 * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
10224 * sysdeps/generic/enbl-secure.c: Likewise.
10225 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10227 * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
10229 * sysdeps/unix/sysv/linux/sys/pci.h: New file.
10231 1997-12-03 Ulrich Drepper <drepper@cygnus.com>
10233 * posix/sys/wait.h: Use __transparent_union__ instead of
10234 transparent_union. Reported by Roland McGrath.
10236 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10238 * resolv/inet_neta.c (inet_neta): Change type of first parameter
10239 to u_int32_t. Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
10242 * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
10244 * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
10246 1997-12-03 20:40 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
10248 * grp/initgroups.c: Increase buffer if it is too small.
10250 1997-12-03 Ulrich Drepper <drepper@cygnus.com>
10252 * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
10253 fields, this is no ISO C. Reported by Andreas Jaeger.
10255 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10257 * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
10259 1997-12-03 08:58 Philip Blundell <pb@nexus.co.uk>
10261 * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
10262 _SYS_UTSNAME_H not _UTSNAME_H.
10264 1997-11-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10266 * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
10269 1997-11-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10271 * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
10272 * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
10273 * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
10275 * math/libm-test.c (csqrt_test): Add testcase.
10277 1997-12-03 15:44 Ulrich Drepper <drepper@cygnus.com>
10279 * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
10280 * sysdeps/unix/sysv/linux/sys/Dist: Add it.
10281 * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
10283 1997-11-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10285 * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
10287 1997-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10289 * math/libm-test.c (acos_test): Add more tests.
10290 (asin_test): Likewise.
10291 (atan_test): Likewise.
10292 (exp_test): Likewise.
10293 (sin_test): Likewise.
10294 (sqrt_test): Likewise.
10295 (cpow_test): Likewise.
10296 (csqrt_test): Likewise.
10297 (cexp_test): Correct typo in gcc version test.
10299 1997-12-02 17:14 Philip Blundell <pb@nexus.co.uk>
10301 * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
10303 * sysdeps/arm/setjmp.S: Likewise.
10305 * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
10307 1997-12-02 18:07 Philip Blundell <pb@nexus.co.uk>
10309 * stdio/stdio.h: Add prototype for tmpfile64().
10311 1997-12-02 17:47 Philip Blundell <pb@nexus.co.uk>
10313 * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
10314 prototype to keep in step with libio version.
10316 * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
10318 1997-12-02 17:41 Philip Blundell <pb@nexus.co.uk>
10320 * sysdeps/generic/Makefile: Don't try to use make_siglist if
10323 1997-12-02 01:18 Ulrich Drepper <drepper@cygnus.com>
10325 * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
10326 load GOT ptr before jumping to _exit.
10327 Reported by Xavier Leroy.
10329 1997-12-01 17:27 Ulrich Drepper <drepper@cygnus.com>
10331 * Makefile (subdirs): Add iconvdata and localedata.
10333 * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
10335 * iconv/gconv_conf.c (read_conf_file): Little optimization.
10337 * iconvdata/8bit-gap.c: New file.
10338 * iconvdata/8bit-generic.c: Renamed from ...
10339 * iconvdata/iso8859-generic.c: ...this.
10340 * iconvdata/configure: Removed.
10341 * iconvdata/Makefile: Add new modules and better rules.
10342 * iconvdata/iso6937.c: Minor bug fixes.
10343 * iconvdata/iso8859-1.c: Likewise.
10344 * iconvdata/t61.c: Likewise.
10345 * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
10347 * iconvdata/iso8859-3.c: Likewise.
10348 * iconvdata/iso8859-4.c: Likewise.
10349 * iconvdata/iso8859-5.c: Likewise.
10350 * iconvdata/iso8859-6.c: Likewise.
10351 * iconvdata/iso8859-7.c: Likewise.
10352 * iconvdata/iso8859-8.c: Likewise.
10353 * iconvdata/iso8859-9.c: Likewise.
10354 * iconvdata/iso8859-10.c: Likewise.
10355 * iconvdata/ebcdic-at-de-a.c: New file.
10356 * iconvdata/ebcdic-at-de.c: New file.
10357 * iconvdata/ebcdic-ca-fr.c: New file.
10358 * iconvdata/hp-roman8.c: New file.
10359 * iconvdata/koi-8.c: New file.
10360 * iconvdata/koi8-r.c: New file.
10361 * iconvdata/koi8-h.c: New file.
10362 * iconvdata/latin-greek-1.c: New file.
10363 * iconvdata/latin-greek-1.h: New file.
10364 * iconvdata/latin-greek.c: New file.
10365 * iconvdata/latin-greek.h: New file.
10366 * iconvdata/jis0201.c: New file.
10367 * iconvdata/jis0201.h: New file.
10368 * iconvdata/jis0208.c: New file.
10369 * iconvdata/jis0208.h: New file.
10370 * iconvdata/jis0212.c: New file.
10371 * iconvdata/jis0212.h: New file.
10372 * iconvdata/sjis.c: New file.
10373 * iconvdata/gap.pl: New file. Script to generate table header.
10374 * iconvdata/gaptab.pl: New file.
10375 * iconvdata/gconv-modules: Add info about new modules.
10377 * locale/programs/charmap.c: Also examine alias names given in charmap
10380 * localedata/*: Add to here from add-on. We need the information
10381 to generate tables for iconv.
10383 Update from db-2.3.14.
10384 * db2/Makefile: Updated.
10385 * db2/config.h: Likewise.
10386 * db2/db.h: Likewise.
10387 * db2/db_int.h: Likewise.
10388 * db2/btree/bt_cursor.c: Likewise.
10389 * db2/btree/bt_delete.c: Likewise.
10390 * db2/btree/bt_put.c: Likewise.
10391 * db2/btree/bt_search.c: Likewise.
10392 * db2/btree/bt_split.c: Likewise.
10393 * db2/btree/btree_auto.c: Likewise.
10394 * db2/common/db_appinit.c: Likewise.
10395 * db2/common/db_apprec.c: Likewise.
10396 * db2/common/db_err.c: Likewise.
10397 * db2/common/db_region.c: Likewise.
10398 * db2/db/db_auto.c: Likewise.
10399 * db2/db/db_dispatch.c: Likewise.
10400 * db2/db/db_ret.c: Likewise.
10401 * db2/dbm/dbm.c: Likewise.
10402 * db2/hash/hash_auto.c: Likewise.
10403 * db2/include/btree_ext.h: Likewise.
10404 * db2/include/common_ext.h: Likewise.
10405 * db2/include/db.h.src: Likewise.
10406 * db2/include/db_cxx.h: Likewise.
10407 * db2/include/db_ext.h: Likewise.
10408 * db2/include/db_int.h.src: Likewise.
10409 * db2/include/lock.h: Likewise.
10410 * db2/include/log.h: Likewise.
10411 * db2/include/mp.h: Likewise.
10412 * db2/include/mp_ext.h: Likewise.
10413 * db2/include/os_ext.h: Likewise.
10414 * db2/include/os_func.h: Likewise.
10415 * db2/lock/lock.c: Likewise.
10416 * db2/lock/lock_deadlock.c: Likewise.
10417 * db2/log/log.c: Likewise.
10418 * db2/log/log_archive.c: Likewise.
10419 * db2/log/log_auto.c: Likewise.
10420 * db2/log/log_get.c: Likewise.
10421 * db2/log/log_put.c: Likewise.
10422 * db2/mp/mp_bh.c: Likewise.
10423 * db2/mp/mp_fget.c: Likewise.
10424 * db2/mp/mp_fopen.c: Likewise.
10425 * db2/mp/mp_fput.c: Likewise.
10426 * db2/mp/mp_fset.c: Likewise.
10427 * db2/mp/mp_open.c: Likewise.
10428 * db2/mp/mp_pr.c: Likewise.
10429 * db2/mp/mp_region.c: Likewise.
10430 * db2/mp/mp_sync.c: Likewise.
10431 * db2/mutex/README: Likewise.
10432 * db2/mutex/mutex.c: Likewise.
10433 * db2/os/os_open.c: Likewise.
10434 * db2/os/os_func.c: Removed.
10435 * db2/os/os_config.c: New file.
10436 * db2/os/os_spin.c: New file.
10437 * db2/txn/txn.c: Likewise.
10438 * db2/txn/txn_auto.c: Likewise.
10440 1997-11-30 06:01 Ulrich Drepper <drepper@cygnus.com>
10442 * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
10443 __typeof for C++ since this fails for class members.
10444 Reported by Neal Becker <neal@ctd.comsat.com>.
10446 1997-11-28 11:21 Zack Weinberg <zack@rabi.phys.columbia.edu>
10448 * configure.in: Check for a working makeinfo (3.11 or better).
10449 * config.make.in: Add MAKEINFO to be substituted.
10450 * manual/Makefile: Don't update info if makeinfo is too old.
10452 1997-11-30 05:21 Ulrich Drepper <drepper@cygnus.com>
10454 * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
10455 * sysdeps/alpha/__longjmp.S: Likewise.
10456 * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
10457 not <bits/termios.h>.
10459 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
10460 __llseek and make llseek and lseek64 weak aliases.
10461 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10462 Patches by a sun <asun@zoology.washington.edu>.
10464 1997-11-29 19:19 Zack Weinberg <zack@rabi.phys.columbia.edu>
10466 * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
10467 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10468 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10469 * misc/sys/syslog.h: Clean up BSD header.
10471 1997-11-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10473 * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
10475 * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
10477 * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
10478 * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
10480 * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
10481 csqrt (-1), ctanh(i*pi/4).
10483 1997-11-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10485 * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
10487 1997-11-28 13:28 Philip Blundell <Philip.Blundell@pobox.com>
10489 * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
10491 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10493 * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
10495 1997-11-26 21:28 Ulrich Drepper <drepper@cygnus.com>
10497 * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
10498 and use. Define GETCWD_RETURN_TYPE instead and use it.
10499 * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
10500 of GETCWD_STORYGE_CLASS and put the return type and the
10501 `internal_function' in the right order for gcc 2.7.2.
10503 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10505 * sysdeps/unix/sysv/linux/sys/module.h: Remove file. It's
10506 incompatible with Linux 2.1.x. Packages using modules
10507 (e.g. modutils) should/do provide their own version. Suggested by
10510 * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
10512 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
10513 [$(subdir)=socket]: Remove sys/module.h.
10515 1997-11-26 04:28 Ulrich Drepper <drepper@cygnus.com>
10517 * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
10518 computing s_scale. Patch by a sun <asun@zoology.washington.edu>.
10520 * iconv/gconv_close.c: Correct freeing of descriptor data.
10521 * iconv/gconv_simple.c: Return correct error values for illegal or
10522 incomplete characters.
10524 * Makefile (iconvdata/%): Special goal to simplify iconvdata
10526 * iconvdata/Makefile: New file.
10527 * iconvdata/configure: Likewise.
10528 * iconvdata/extra-module.mk: Likewise.
10529 * iconvdata/gconv-modules: Likewise.
10530 * iconvdata/iso6937.c: Likewise.
10531 * iconvdata/iso8859-1.c: Likewise.
10532 * iconvdata/iso8859-10.c: Likewise.
10533 * iconvdata/iso8859-10.h: Likewise.
10534 * iconvdata/iso8859-2.c: Likewise.
10535 * iconvdata/iso8859-2.h: Likewise.
10536 * iconvdata/iso8859-3.c: Likewise.
10537 * iconvdata/iso8859-3.h: Likewise.
10538 * iconvdata/iso8859-4.c: Likewise.
10539 * iconvdata/iso8859-4.h: Likewise.
10540 * iconvdata/iso8859-5.c: Likewise.
10541 * iconvdata/iso8859-5.h: Likewise.
10542 * iconvdata/iso8859-6.c: Likewise.
10543 * iconvdata/iso8859-6.h: Likewise.
10544 * iconvdata/iso8859-7.c: Likewise.
10545 * iconvdata/iso8859-7.h: Likewise.
10546 * iconvdata/iso8859-8.c: Likewise.
10547 * iconvdata/iso8859-8.h: Likewise.
10548 * iconvdata/iso8859-9.c: Likewise.
10549 * iconvdata/iso8859-9.h: Likewise.
10550 * iconvdata/iso8859-generic.c: Likewise.
10551 * iconvdata/t61.c: Likewise.
10553 * string/Makefile (routines): Add strcasestr.
10554 * string/string.h: Add prototype for strcasestr.
10555 * sysdeps/generic/strcasestr.c: New file.
10556 * wcsmbs/mbrtowc.c: Simplify special case a bit.
10557 * wcsmbs/wcrtomb.c: Likewise.
10558 * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
10559 * wcsmbs/wcsnrtombs.c: Likewise.
10560 * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
10561 partial character is read.
10562 * wcsmbs/wcsrtombs.c: Likewise.
10563 * wcsmbs/wmemrtombs.c: Likewise.
10564 * wcsmbs/wmemrtowcs.c: Likewise.
10566 * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
10567 * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
10568 * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
10569 * sysdeps/i386/elf/setjmp.S: Likewise.
10570 * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
10573 * sysdeps/posix/mk-stdiolim.c: Output file with comment.
10574 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
10576 * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
10577 * sysvipc/sys/ipc.h: Likewise.
10578 * sysvipc/sys/msg.h: Likewise.
10579 * sysvipc/sys/sem.h: Likewise.
10580 * sysvipc/sys/shm.h: Likewise.
10582 * sysdeps/alpha/bits/endian.h: Issue error message if the header is
10584 * sysdeps/alpha/bits/setjmp.h: Likewise.
10585 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
10586 * sysdeps/arm/bits/endian.h: Likewise.
10587 * sysdeps/arm/bits/setjmp.h: Likewise.
10588 * sysdeps/generic/bits/byteswap.h: Likewise.
10589 * sysdeps/generic/bits/confname.h: Likewise.
10590 * sysdeps/generic/bits/dirent.h: Likewise.
10591 * sysdeps/generic/bits/dlfcn.h: Likewise.
10592 * sysdeps/generic/bits/endian.h: Likewise.
10593 * sysdeps/generic/bits/fenv.h: Likewise.
10594 * sysdeps/generic/bits/huge_val.h: Likewise.
10595 * sysdeps/generic/bits/in.h: Likewise.
10596 * sysdeps/generic/bits/ioctl-types.h: Likewise.
10597 * sysdeps/generic/bits/ioctls.h: Likewise.
10598 * sysdeps/generic/bits/ipc.h: Likewise.
10599 * sysdeps/generic/bits/msq.h: Likewise.
10600 * sysdeps/generic/bits/poll.h: Likewise.
10601 * sysdeps/generic/bits/resource.h: Likewise.
10602 * sysdeps/generic/bits/sched.h: Likewise.
10603 * sysdeps/generic/bits/sem.h: Likewise.
10604 * sysdeps/generic/bits/setjmp.h: Likewise.
10605 * sysdeps/generic/bits/shm.h: Likewise.
10606 * sysdeps/generic/bits/sigaction.h: Likewise.
10607 * sysdeps/generic/bits/sigcontext.h: Likewise.
10608 * sysdeps/generic/bits/socket.h: Likewise.
10609 * sysdeps/generic/bits/stat.h: Likewise.
10610 * sysdeps/generic/bits/statfs.h: Likewise.
10611 * sysdeps/generic/bits/stdio_lim.h: Likewise.
10612 * sysdeps/generic/bits/termios.h: Likewise.
10613 * sysdeps/generic/bits/time.h: Likewise.
10614 * sysdeps/generic/bits/uio.h: Likewise.
10615 * sysdeps/generic/bits/utmp.h: Likewise.
10616 * sysdeps/generic/bits/utmpx.h: Likewise.
10617 * sysdeps/generic/bits/utsname.h: Likewise.
10618 * sysdeps/generic/bits/waitflags.h: Likewise.
10619 * sysdeps/generic/bits/waitstatus.h: Likewise.
10620 * sysdeps/gnu/bits/utmp.h: Likewise.
10621 * sysdeps/gnu/bits/utmpx.h: Likewise.
10622 * sysdeps/i386/bits/byteswap.h: Likewise.
10623 * sysdeps/i386/bits/endian.h: Likewise.
10624 * sysdeps/i386/bits/huge_val.h: Likewise.
10625 * sysdeps/i386/bits/setjmp.h: Likewise.
10626 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10627 * sysdeps/ieee754/bits/huge_val.h: Likewise.
10628 * sysdeps/m68k/bits/byteswap.h: Likewise.
10629 * sysdeps/m68k/bits/endian.h: Likewise.
10630 * sysdeps/m68k/bits/setjmp.h: Likewise.
10631 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
10632 * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
10633 * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
10634 * sysdeps/mach/hurd/bits/stat.h: Likewise.
10635 * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
10636 * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
10637 * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
10638 * sysdeps/mips/bits/dlfcn.h: Likewise.
10639 * sysdeps/mips/bits/endian.h: Likewise.
10640 * sysdeps/mips/bits/setjmp.h: Likewise.
10641 * sysdeps/mips/dec/bits/endian.h: Likewise.
10642 * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
10643 * sysdeps/mips/mipsel/bits/endian.h: Likewise.
10644 * sysdeps/mips/p40/bits/endian.h: Likewise.
10645 * sysdeps/powerpc/bits/endian.h: Likewise.
10646 * sysdeps/powerpc/bits/fenv.h: Likewise.
10647 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10648 * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
10649 * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
10650 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
10651 * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
10652 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
10653 * sysdeps/unix/bsd/bits/dirent.h: Likewise.
10654 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10655 * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
10656 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
10657 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
10658 * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
10659 * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
10660 * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
10661 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
10662 * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
10663 * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
10664 * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
10665 * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
10666 * sysdeps/unix/common/bits/dirent.h: Likewise.
10667 * sysdeps/unix/sysv/bits/dirent.h: Likewise.
10668 * sysdeps/unix/sysv/bits/stat.h: Likewise.
10669 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10670 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10671 * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
10672 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
10673 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
10674 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
10675 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
10676 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
10677 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
10678 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
10679 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
10680 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
10681 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
10682 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
10683 * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
10684 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10685 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10686 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
10687 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10688 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10689 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10690 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10691 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
10692 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
10693 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10694 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10695 * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
10696 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
10697 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
10698 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10699 * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
10700 * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
10701 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
10702 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
10703 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
10704 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
10705 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
10706 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
10707 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
10708 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
10709 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
10710 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
10711 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
10712 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
10713 * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
10714 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
10715 * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
10716 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
10717 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10718 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10719 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
10720 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
10721 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
10722 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10723 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
10724 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
10725 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
10726 * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
10727 * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
10728 * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
10729 * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
10730 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
10731 * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
10732 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
10733 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
10734 * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
10735 * sysdeps/vax/bits/huge_val.h: Likewise.
10736 * sysdeps/vax/bits/setjmp.h: Likewise.
10737 * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
10738 * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
10740 1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10742 * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
10744 1997-11-25 Paul Eggert <eggert@shade.twinsun.com>
10746 * strftime.c (strftime):
10747 No longer any need to undef or declare if emacs is defined.
10748 (my_strftime): When checking a -1 returned by mktime, don't blow up
10749 if localtime_r returns NULL.
10751 1997-11-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10753 * README.template: Fix spelling.
10755 1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10757 * configure.in: Enhance --enable-add-ons description a wee bit.
10759 1997-11-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10761 * glibcbug.in: Add more information of build environment and flags.
10763 1997-11-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10765 * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
10768 1997-11-24 03:01 Ulrich Drepper <drepper@cygnus.com>
10770 * elf/dl-support.c: Call __libc_init_secure to make sure
10771 __libc_enable_secure is defined early.
10772 * sysdeps/generic/enbl-secure.c: Change function name to
10773 __libc_init_secure and make it global instead of a constructor.
10775 * iconv/gconv.c: Fix lots of bugs.
10776 * iconv/gconv.h: Likewise.
10777 * iconv/gconv_builtin.h: Likewise.
10778 * iconv/gconv_close.c: Likewise.
10779 * iconv/gconv_conf.c: Likewise.
10780 * iconv/gconv_db.c: Likewise.
10781 * iconv/gconv_dl.c: Likewise.
10782 * iconv/gconv_open.c: Likewise.
10783 * iconv/gconv_simple.c: Likewise.
10784 * iconv/iconv.c: Likewise.
10785 * iconv/iconv_close.c: Likewise.
10786 * iconv/iconv_open.c: Likewise.
10788 * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
10789 * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
10790 * wcsmbs/wmemrtombs.c: New file.
10791 * wcsmbs/wmemrtowcs.c: New file.
10793 1997-11-22 19:28 Ulrich Drepper <drepper@cygnus.com>
10795 * iconv/gconv_simple.c: Fix lots of bugs.
10796 * iconv/iconv_open.c: Normalize names before passing them to
10799 * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
10801 * libio/iopopen.c: Check for correct mode argument and punt otherwise.
10802 * stdio-common/test-popen.c: Add test for above change.
10804 * math/libm-test.c: Print test results also using %a format,
10805 specified in PRINTF_XEXPR macro.
10806 * math/test-double.c: Define PRINTF_XEXPR.
10807 * math/test-float.c: Likewise.
10808 * math/test-ldouble.c: Likewise.
10809 * math/test-idouble.c: Likewise.
10810 * math/test-ifloat.c: Likewise.
10811 * math/test-ildoubl.c: Likewise.
10813 * stdio-common/vfscanf.c: Recognize a in format specifier only as
10814 modifier if used before s, S, or [. Otherwise it's the hexadecimal
10817 * stdlib/strtod.c: Little code cleanup.
10819 * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
10820 compiling in math subdir.
10822 * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
10823 instead of __LIBC_M81_MATH_INLINES.
10824 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
10825 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
10826 * sysdeps/m68k/fpu/e_pow.c: Likewise.
10827 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
10828 * sysdeps/m68k/fpu/k_cos.c: Likewise.
10829 * sysdeps/m68k/fpu/k_sin.c: Likewise.
10830 * sysdeps/m68k/fpu/k_tan.c: Likewise.
10831 * sysdeps/m68k/fpu/s_atan.c: Likewise.
10832 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
10833 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
10834 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
10835 * sysdeps/m68k/fpu/s_csin.c: Likewise.
10836 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
10837 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
10838 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
10839 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
10840 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
10841 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
10842 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
10843 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
10844 * sysdeps/m68k/fpu/s_modf.c: Likewise.
10845 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
10846 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
10847 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
10848 * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
10849 __LIBC_INTERNAL_MATH_INLINES is defined.
10851 * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
10852 of compare macros from ISO C 9X. Optimize generic versions a bit.
10853 Define __signbit inline functions and __ieee754_sqrt which can be
10854 used if the ompiler is fixed.
10856 * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
10858 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10860 * Makerules ($(common-objpfx)stub-$(subdir)): Look for
10861 sysdeps/generic in the whole dep file, not only in the first line.
10863 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10865 * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
10867 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10869 * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
10872 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10874 * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
10877 1997-11-20 16:51 Ulrich Drepper <drepper@cygnus.com>
10879 * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
10882 1997-11-19 21:36 Ulrich Drepper <drepper@cygnus.com>
10884 * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
10885 readlink succeeds but the return value is too long.
10887 * stdio-common/printf_fphex.c: Determine sign of number correctly.
10889 1997-11-19 02:45 Ulrich Drepper <drepper@cygnus.com>
10891 * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
10894 1997-11-18 23:08 Ulrich Drepper <drepper@cygnus.com>
10896 * sysdeps/generic/sys/ucontext.h: Stub context file.
10898 * libio/iofprintf.c: Removed. We use the stdio-common version.
10900 * manual/Makefile (distribute): Add stdio-fp.c.
10902 * sysdeps/powerpc/Dist: Add ppc-mcount.S.
10904 * db2/Makefile (distribute): Add include/os_func.h, README and
10905 mutex/tsl_parisc.s.
10907 * hesiod/Makefile (distribute): Add README.hesiod.
10909 1997-11-18 22:14 Ulrich Drepper <drepper@cygnus.com>
10911 * iconv/gconv.c: Correctly call transformation function.
10913 * manual/maint.texi: Document need of binutils 2.8.1.0.17.
10915 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10917 * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
10918 wrong results for e.g. remquo (3,2, &x)).
10919 * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
10920 * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
10922 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10924 * configure.in (ld --version-script): Test if the same symbol
10925 maybe defined in all versions (needed by recent changes to
10926 libc.map and supported with binutils 2.8.1.0.17) and issue warning
10927 if versioning is not supported/enabled.
10928 (bash test): Correct test case.
10930 * math/libm-test.c: Added counting/reporting of number of test cases.
10932 * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
10935 * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
10937 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10939 * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
10941 1997-11-18 18:04 Ulrich Drepper <drepper@cygnus.com>
10943 * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
10944 Replace revoke call by use of REVOKE.
10945 * sysdeps/unix/sysv/linux/pty.c: New file. Define REVOKE as
10946 empty and #include generic version.
10947 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
10949 1997-11-18 16:02 Ulrich Drepper <drepper@cygnus.com>
10951 * libc.map: Add socket functions with __libc_* names.
10952 Reported by Andreas Jaeger.
10954 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10956 * libc.map: Tidy up (remove duplicates, sort entries).
10958 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10960 * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
10962 1997-11-18 06:45 Ulrich Drepper <drepper@cygnus.com>
10964 * sysdeps/generic/pty.c: Make thread safe. Fix bug when calling
10965 again after successful call.
10966 Patch by Marc Lehmann <pcg@goof.com>.
10968 1997-11-17 Paul Eggert <eggert@twinsun.com>
10970 * time/mktime.c, time/strftime.c (_REENTRANT): #define,
10971 as some hosts need this to declare localtime_r properly.
10973 1997-11-18 06:08 Ulrich Drepper <drepper@cygnus.com>
10975 * libc.map: Add iconv_open, iconv, and iconv_close.
10977 1997-11-18 02:31 Ulrich Drepper <drepper@cygnus.com>
10979 * iconv/Makefile: New file.
10980 * iconv/gconv.c: New file.
10981 * iconv/gconv.h: New file.
10982 * iconv/gconv_builtin.c: New file.
10983 * iconv/gconv_builtin.h: New file.
10984 * iconv/gconv_close.c: New file.
10985 * iconv/gconv_conf.c: New file.
10986 * iconv/gconv_db.c: New file.
10987 * iconv/gconv_dl.c: New file.
10988 * iconv/gconv_open.c: New file.
10989 * iconv/gconv_simple.c: New file.
10990 * iconv/iconv.c: New file.
10991 * iconv/iconv.h: New file.
10992 * iconv/iconv_close.c: New file.
10993 * iconv/iconv_open.c: New file.
10994 * include/gconv.h: New file.
10996 * Makeconfig: Define gconvdir.
10997 * Makefile (subdirs): Add iconv.
10999 * string/bits/string2.h: Add optimization for strtok_r.
11001 * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
11003 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
11004 Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
11006 * configure.in: Correct test for bash2.
11007 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11009 * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
11010 (CFLAGS-locfile.c): Likewise.
11011 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11013 * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
11014 non-existing entry if the table is full.
11016 * posix/regex.h: Pretty print.
11018 * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
11020 * sysdeps/posix/ctermid.c: Simplify a bit.
11022 * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
11024 1997-11-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11026 * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
11027 <sys/types.h> instead of <asm/types.h>.
11029 1997-11-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11031 * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
11033 1997-11-16 17:09 H.J. Lu <hjl@gnu.ai.mit.edu>
11035 * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
11036 fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
11037 (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
11038 (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
11039 fclose): Added to GLIBC_2.1.
11041 * libio/Makefile (routines, shared-only-routines): Add
11042 oldiofclose. Remove oldfreopen.
11044 * libio/freopen.c (freopen): When PIC is defined, call
11045 _IO_old_freopen () for old stdio.
11047 * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
11048 (_IO_fclose, fclose): Use _IO_new_fclose as default version
11051 * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
11052 instead of _IO_file_close_it.
11054 * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
11055 to _IO_2_1_stdxxx_.
11056 (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
11059 * libio/libioP.h (_IO_old_do_flush): New.
11061 * libio/oldfileops.c (_IO_old_file_close_it,
11062 _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
11063 Call _IO_old_do_flush () instead of _IO_do_flush ().
11064 (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
11067 * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
11068 instead of _IO_file_init ().
11069 Bind old symbols to version GLIBC_2.0.
11071 * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
11072 (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
11074 (_IO_check_libio): New function in .init.
11076 * libio/oldiofclose.c: New file.
11078 * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
11079 _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
11080 (DEF_STDFILE): Don't use default_symbol_version.
11082 * libio/stdio.c (stdin, stdout, stderr): Set to
11084 (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
11087 * csu/Makefile (distribute): Add init.c.
11088 (extra-objs): Add init.o for ELF.
11089 (start-installed-name): Add $(objpfx)init.o.
11091 * csu/init.c: New file.
11093 1997-11-12 08:02 H.J. Lu <hjl@gnu.ai.mit.edu>
11095 * elf/dl-lookup.c (do_lookup): Don't use the hidden base
11096 definition as the default.
11098 1997-08-27 Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>
11100 * erand48_r.c (__erand48_r): Implement for 32 bit short int.
11102 1997-11-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11104 * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
11107 1997-11-16 21:01 Philip Blundell <Philip.Blundell@pobox.com>
11109 * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
11110 to preserve condition codes on function call.
11112 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11114 * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
11116 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11118 * math/libm-test.c (asin_test): Add epsilon for float.
11119 (tan_test): Add epsilon for float.
11120 (log1p_test): Add epsilon for float.
11121 (inverse_functions): Add epsilons.
11123 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
11126 * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
11128 1997-11-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11130 * md5-crypt/Makefile (extra-objs): Make recursively expanded
11131 variable, since $(object-suffixes) is not defined yet.
11133 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11135 * db2/Makefile (distribute): db185/db185_int.src ->
11138 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11140 * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
11143 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11145 * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
11147 * sysdeps/generic/e_acosl.c: Likewise.
11148 * sysdeps/generic/e_asinl.c: Likewise.
11149 * sysdeps/generic/e_atan2l.c: Likewise.
11150 * sysdeps/generic/e_expl.c: Likewise.
11151 * sysdeps/generic/e_fmodl.c: Likewise.
11152 * sysdeps/generic/e_j0l.c: Likewise.
11153 * sysdeps/generic/e_j1l.c: Likewise.
11154 * sysdeps/generic/e_jnl.c: Likewise.
11155 * sysdeps/generic/e_lgammal_r.c: Likewise.
11156 * sysdeps/generic/e_log10l.c: Likewise.
11157 * sysdeps/generic/e_logl.c: Likewise.
11158 * sysdeps/generic/e_powl.c: Likewise.
11159 * sysdeps/generic/e_sqrtl.c: Likewise.
11160 * sysdeps/generic/e_exp2l.c: Likewise.
11162 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11164 * Make-dist (+sysdep-names): Remove extra paren.
11165 * Makefile (distribute): Add stub-tag.h.
11166 * elf/Makefile (distribute): Add atomicity.h.
11167 * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
11168 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
11169 [$(subdir)=socket]: Add net/if_packet.h.
11170 * sysdeps/alpha/Dist: Remove setjmp_aux.c.
11171 * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
11172 net/if_packet.h, scsi/sg.h.
11174 1997-11-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11176 * Makefile (install): Quote $(CC) expansion.
11178 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11180 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
11181 working /proc cwd and no restrictions on path length. Following
11182 some ideas from Andi Kleen <ak@muc.de> (PR 350).
11184 1997-11-14 19:14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
11186 * nis/nss_compat/compat-grp.c: Remove buggy assert call.
11187 * nis/nss_compat/compat-pwd.c: Likewise.
11188 * nis/nss_compat/compat-spwd.c: Likewise.
11190 1997-11-14 22:23 Ulrich Drepper <drepper@cygnus.com>
11192 * sysdeps/libm-i387/s_fdim.S: New file.
11193 * sysdeps/libm-i387/s_fdimf.S: New file.
11194 * sysdeps/libm-i387/s_fdiml.S: New file.
11195 * sysdeps/libm-i387/i686/s_fdim.S: New file.
11196 * sysdeps/libm-i387/i686/s_fdimf.S: New file.
11197 * sysdeps/libm-i387/i686/s_fdiml.S: New file.
11199 1997-11-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11201 * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
11202 pointer to unsigned char.
11204 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11206 * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
11208 * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
11210 * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
11212 1997-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11214 * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
11216 * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
11217 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
11219 1997-11-14 05:44 Ulrich Drepper <drepper@cygnus.com>
11221 * sysdeps/libm-i387/s_fmin.S: New file.
11222 * sysdeps/libm-i387/s_fminf.S: New file.
11223 * sysdeps/libm-i387/s_fminl.S: New file.
11224 * sysdeps/libm-i387/s_fmax.S: New file.
11225 * sysdeps/libm-i387/s_fmaxf.S: New file.
11226 * sysdeps/libm-i387/s_fmaxl.S: New file.
11227 * sysdeps/libm-i387/i686/s_fmin.S: New file.
11228 * sysdeps/libm-i387/i686/s_fminf.S: New file.
11229 * sysdeps/libm-i387/i686/s_fminl.S: New file.
11230 * sysdeps/libm-i387/i686/s_fmax.S: New file.
11231 * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
11232 * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
11234 1997-11-14 03:06 Ulrich Drepper <drepper@cygnus.com>
11236 * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
11237 * sysdeps/unix/sysv/linux/send.S: Likewise.
11238 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11239 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11240 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11241 * sysdeps/unix/sysv/linux/recv.S: Likewise.
11242 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11243 * sysdeps/unix/sysv/linux/connect.S: Likewise.
11244 Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
11246 See ChangeLog.7 for earlier changes.