1 2000-04-29 Ulrich Drepper <drepper@redhat.com>
3 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
4 Recognize option -s, -c, and -l.
6 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
8 * nscd/nscd.c: Start new session for nscd, drop privilegs
9 to configured user if requested and no -S parameter are used.
10 * nscd/nscd.conf: Add new option "server-user".
11 * nscd/nscd_conf.c: Add support for new "server-user" option.
12 * nscd/nscd.h: Add declaration for server_user variable.
13 Based on patch by Chris Wing <wingc@engin.umich.edu>
15 2000-04-29 Mark Kettenis <kettenis@gnu.org>
17 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
18 that changing the __restore and __restore_rt signal return code
21 2000-04-29 Mark Kettenis <kettenis@gnu.org>
23 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
26 2000-04-29 Mark Kettenis <kettenis@gnu.org>
28 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
30 2000-04-29 Ulrich Drepper <drepper@redhat.com>
32 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
33 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
35 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
36 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
37 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
38 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
39 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
40 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
41 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
42 posix_fallocate, and posix_madvise.
43 * conform/data/netdb.h-data: New file.
44 * conform/data/pthread.h-data: Add pthread_barrier_t,
45 pthread_barrierattr_t, pthread_barrier_destroy,
46 pthread_barrier_init, pthread_barrier_wait,
47 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
48 pthread_barrierattr_init, pthread_barrierattr_setpshared,
49 pthread_condattr_getclock, pthread_condattr_setclock,
50 pthread_getcpuclockid, pthread_mutex_timedlock,
51 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
52 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
53 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
54 * conform/data/sched.h-data: Add sched_ss_low_priority,
55 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
57 * conform/data/semaphore.h-data: Add sem_timedwait.
58 * conform/data/signal.h-data: Add SIGIO.
59 * conform/data/spawn.h-data: New file.
60 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
61 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
62 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
63 Fix typo in gmtime_r definition.
64 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
65 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
66 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
67 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
68 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
69 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
70 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
71 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
72 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
73 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
74 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
75 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
76 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
77 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
78 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
79 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
80 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
81 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
82 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
83 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
84 typo in off_t definition.
85 * conform/data/net/if.h-data: New file.
86 * conform/data/netinet/in.h-data: New file.
87 * conform/data/netinet/tcp.h-data: New file.
88 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
89 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
90 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
91 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
92 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
93 and posix_typed_mem_open.
94 * conform/data/sys/socket.h-data: New file.
95 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
96 * conform/data/sys/types.h-data: Add pthread_barrier_t,
97 pthread_barrierattr_t, and pthread_spinlock_t.
98 * conform/data/sys/un.h-data: New file.
99 * conform/data/sys/utsname.h-data: New file.
101 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
103 * inet/gethstbyad.c (gethostbyname): Likewise.
104 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
105 * inet/getipnodebyad.c (getipnodebyad): Likewise.
106 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
107 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
109 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
110 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
111 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
112 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
113 * resolv/gethnamaddr.c (gethostbyname): Likewise.
114 * resolv/netdb.h (struct hostent): Fix type of h_length member.
115 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
116 and second parameter.
118 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
121 2000-04-29 Andreas Jaeger <aj@suse.de>
123 * conform/data/arpa/inet.h-data: New file.
125 2000-04-28 Geoff Clare <gwc@unisoft.com>
127 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
128 path passed to ftw() or nftw() is an empty string.
131 2000-04-27 Ulrich Drepper <drepper@redhat.com>
133 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
134 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
135 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
136 * localedata/tst-mbswcs4.c: New file.
137 * localedata/tst-mbswcs5.c: New file.
139 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
140 == NULL. Little optimization.
142 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
144 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
146 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
147 overflows in conversion from ASCII.
149 2000-04-26 Jakub Jelinek <jakub@redhat.com>
151 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
152 * Makerules (full_config_sysdirs): Likewise.
153 * MakeTAGS (full_config_sysdirs): Likewise.
155 2000-04-26 Jakub Jelinek <jakub@redhat.com>
157 * .cvsignore: Remove linuxthreads.
158 * po/.cvsignore: Remove *.pot.
159 * posix/glob/.cvsignore: Removed.
160 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
162 2000-04-25 Andreas Jaeger <aj@suse.de>
164 * conform/Makefile (distribute): Also distribute contents of
167 * Makerules (no_deps): Remove abi-versions.h.
169 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
171 2000-04-25 Jakub Jelinek <jakub@redhat.com>
173 * sysdeps/sparc/sparc64/elf/Dist: Remove.
174 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
175 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
176 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
177 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
178 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
181 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
183 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
185 2000-04-23 Bruno Haible <haible@clisp.cons.org>
187 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
188 * intl/l10nflist.c: Likewise.
190 2000-04-23 Bruno Haible <haible@clisp.cons.org>
192 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
193 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
194 * intl/textdomain.c [!_LIBC]: Likewise.
195 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
196 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
197 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
200 2000-04-23 Bruno Haible <haible@clisp.cons.org>
202 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
203 character set conversion also in the case the translation was found
204 after a hash collision or through binary search. Store the maximum
205 index together with the converted message. Use iconv() when available.
206 In case of out of memory during conversion, return the unconverted
207 translated string, not NULL.
209 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
211 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
212 to avoid name clashes with the ia32 linker.
214 2000-04-25 Jakub Jelinek <jakub@redhat.com>
216 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
219 2000-04-27 Ulrich Drepper <drepper@redhat.com>
221 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
222 strtoumax, strfry, and memfrob.
223 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
224 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
226 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
227 if this function is available.
229 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
232 2000-04-27 Jakub Jelinek <jakub@redhat.com>
234 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
236 2000-04-27 Ulrich Drepper <drepper@redhat.com>
238 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
239 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
240 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
241 * localedata/tst-mbswcs3.c: New file.
243 2000-04-26 Ulrich Drepper <drepper@redhat.com>
245 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
246 characters. Don't handle incomplete characters as errors.
247 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
248 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
249 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
250 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
251 * localedata/tst-mbswcs2.c: New file.
253 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
254 stored character in state in UNPACK_BYTES macro.
255 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
256 test for available characters, handle result of BODY code correctly.
257 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
258 (distribute): Add tst-mbswcs.sh.
259 Add rule to run tst-mbswcs.sh.
260 * localedata/tst-mbswcs.sh: New file.
261 * localedata/tst-mbswcs1.c: New file.
263 2000-04-26 Jakub Jelinek <jakub@redhat.com>
265 * nis/nis_callback.c (__nis_create_callback): Do failed memory
266 allocation fixups centrally, fix __builtin_expect call, return NULL
267 on failure, not NIS_NOMEMORY.
269 2000-04-27 Bruno Haible <haible@clisp.cons.org>
271 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
273 * intl/loadinfo.h (internal_function): Define if not already defined.
275 2000-04-27 Andreas Jaeger <aj@suse.de>
277 * intl/libintl.h: Fix typo, reported by Bruno Haible
278 <haible@clisp.cons.org>.
280 2000-04-25 Ulrich Drepper <drepper@redhat.com>
282 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
283 setting the state to GMON_PROF_BUSY.
285 2000-04-24 Ulrich Drepper <drepper@redhat.com>
287 * elf/dl-profile.c (_dl_start_profile): define all variables which
288 do not have to be global as local variables.
290 * nis/nis_callback.c (__nis_create_callback): Partially undo last
291 patch. Keep needed tests for failed memory allocation.
293 * elf/dl-reloc.c (_dl_relocate_object): Add one more
294 __builtin_expect saying that we don't normally expect to profile.
296 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
297 __builtin_expect where desirable.
299 2000-04-23 Ulrich Drepper <drepper@redhat.com>
301 * manual/Makefile (chapters): Add syslog.
302 * manual/syslog.texi: New file.
303 * manual/math.texi: Fix references.
304 * manual/terminal.texi: Likewise.
305 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
307 2000-04-18 Jakub Jelinek <jakub@redhat.com>
309 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
310 stdlib.h was not included or __USE_XOPEN not defined.
312 2000-04-23 Ulrich Drepper <drepper@redhat.com>
314 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
315 Patch by Zack Weinberg <zack@wolery.cumb.org>.
317 2000-04-22 Ulrich Drepper <drepper@redhat.com>
319 * manual/examples/subopt.c (mount_opts): Add missing terminating
321 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
323 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
324 * libio/ftello.c: Likewise.
325 * libio/ftello64.c: Likewise.
326 * libio/ioftell.c: Likewise.
327 * sysdeps/generic/memrchr.c: Likewise.
328 * sysdeps/posix/libc_fatal.c: Likewise.
329 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
330 * misc/fstab.c: Include <string.h> for strcmp prototype.
331 * sysdeps/generic/ldsodefs.h: Likewise.
332 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
333 Patch by Kurt Roeckx <Q@ping.be>.
335 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
336 Remove db-open. Change all uses.
337 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
339 2000-04-21 Jakub Jelinek <jakub@redhat.com>
341 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
342 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
343 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
344 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
345 with .set noat/at to shut up warnings.
346 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
347 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
348 compilation if __NR_pciconfig_iobase is not defined.
349 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
352 2000-04-21 Ulrich Drepper <drepper@redhat.com>
354 * manual/sysinfo.texi: Fix typo.
355 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
356 Replace "high precision time" with "high accuracy clock".
358 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
360 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
361 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
363 * nis/nis_subr.c: Use __builtin_expect.
364 * nis/ypclnt.c: Likewise.
365 * nis/nis_getservlist.c: Likewise.
366 * nis/nis_creategroup.c: Likewise.
368 * nis/nis_callback.c (__nis_create_callback): Check result of
369 memory allocation. Fix memory leaks. Use __builtin_expect.
370 (__nis_destroy_callback): Fix memory leaks.
372 2000-04-21 Andreas Jaeger <aj@suse.de>
374 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
375 * sysdeps/mips/mips64/add_n.S: Likewise.
376 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
377 * sysdeps/mips/mips64/lshift.S: Likewise.
378 * sysdeps/mips/mips64/mul_1.S: Likewise.
379 * sysdeps/mips/mips64/rshift.S: Likewise.
380 * sysdeps/mips/mips64/setjmp.S: Likewise.
381 * sysdeps/mips/mips64/sub_n.S: Likewise.
382 * sysdeps/mips/mips64/submul_1.S: Likewise
383 * sysdeps/unix/mips/sysdep.S: Likewise.
385 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
386 and update comment. The strtab from _dl_relocate_object can be
389 2000-04-21 Ulrich Drepper <drepper@redhat.com>
391 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
392 * iconv/iconv_close.c (iconv_close): Likewise.
393 * iconv/iconv_open.c (iconv_open): Likewise.
395 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
396 __builtin_expect where useful.
398 * grp/initgroups.c (initgroups): Test for result of memory
399 allocation and punt if it fails.
401 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
402 * grp/fgetgrent.c (fgetfrent): Likewise.
403 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
405 2000-04-21 Jakub Jelinek <jakub@redhat.com>
407 * libio/vasprintf.c: Include string.h to get memcpy prototype.
409 2000-04-20 Ulrich Drepper <drepper@redhat.com>
411 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
412 don't search for NUL byte to decrement counter.
413 Reported by Ulrich.Brink@sap.com.
415 * iconv/gconv_simple.c: Define separate functions to convert from
416 UCS4/UCS4-LE to the internal encoding.
417 * iconv/gconv_builtin.h: Use separate functions to convert from
418 UCS4/UCS4-LE to the internal encoding.
419 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
420 __gconv_transform_ucs4le_internal.
422 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
423 output buffer overflow. Reported by Ulrich.Brink@sap.com.
425 * iconv/skeleton.c: Add some more __builtin_expect.
426 * iconv/loop.c: Likewise.
428 2000-03-08 H.J. Lu <hjl@gnu.org>
430 * posix/regex.c (regex_compile): Correctly handle "\{" when
431 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
433 2000-04-20 Ulrich Drepper <drepper@redhat.com>
435 * manual/stdio.texi: Give advise about handling error when using
437 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
439 2000-04-19 Jakub Jelinek <jakub@redhat.com>
441 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
442 field to nelems * sizeof (uint32_t).
443 * locale/programs/ld-address.c (address_output): Align word fields
445 * locale/programs/ld-monetary.c (monetary_output): Likewise.
446 Don't restart idx pointers to idx end at the duo_int_curr_symbol
448 Avoid giving arbitrary garbage in the crncystr field.
449 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
450 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
452 * locale/programs/ld-numeric.c (numeric_output): Likewise.
453 Don't restart idx pointers to idx end at the decimal_point_wc field.
454 * locale/programs/ld-time.c (time_output): week_1stday should be
455 word, not byte. Align it properly.
457 2000-04-19 H.J. Lu <hjl@gnu.org>
459 * csu/gmon-start.c (_start): Declared as "extern void".
462 2000-04-18 Andreas Jaeger <aj@suse.de>
464 * manual/install.texi (Running make install): Don't mention utmpd
467 2000-04-18 Andreas Jaeger <aj@suse.de>
469 * linuxthreads/Versions: Use ld instead of ld.so.
471 * elf/Makefile (ld-map): Use ld.map.
473 * Versions.def: Use ld instead of ld.so.
474 * elf/Versions: Likewise.
475 * sysdeps/mach/hurd/Versions: Likewise.
477 2000-04-20 Andreas Jaeger <aj@suse.de>
479 * elf/rtld.c (print_statistics): Move ifndef further up.
480 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
483 2000-04-18 Ulrich Drepper <drepper@redhat.com>
485 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
486 * gmon/Versions: Move moncontrol to GLIBC_2.2.
488 * po/cs.po: Update from translation team.
490 * sysdeps/generic/updwtmp.c: Remove daemon support.
492 * login/Makefile (routines): Remove utmp_daemon.
494 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
495 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
496 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
497 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
499 * elf/rtld.c: Display statitics option also if hp timing is not
502 * login/programs/connection.c: Removed.
503 * login/programs/database.c Removed.
504 * login/programs/error.c: Removed.
505 * login/programs/request.c: Removed.
506 * login/programs/xtmp.c: Removed.
507 * login/programs/xtmp.h: Removed.
508 * login/Makefile: Remove rules for utmpd.
509 * login/README.utmpd: Removed.
510 * login/utmp_daemon.c: Removed.
511 * login/getutent_r.c: Remove references to daemon functions.
512 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
515 2000-04-18 Andreas Jaeger <aj@suse.de>
517 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
518 2.2 for libnsl, libresolv, librt, libnss_*.
520 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
522 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
524 2000-04-18 Ulrich Drepper <drepper@redhat.com>
526 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
527 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
528 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
529 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
530 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
531 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
532 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
533 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
534 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
535 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
536 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
537 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
538 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
540 * sysdeps/unix/sysv/aix/msync.c: New file.
541 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
542 * sysdeps/unix/sysv/aix/net/if.h: New file.
543 * sysdeps/unix/sysv/aix/pipe.c: New file.
544 * sysdeps/unix/sysv/aix/poll.c: New file.
545 * sysdeps/unix/sysv/aix/rename.c: New file.
546 * sysdeps/unix/sysv/aix/rmdir.c: New file.
547 * sysdeps/unix/sysv/aix/select.c: New file.
548 * sysdeps/unix/sysv/aix/semctl.c: New file.
549 * sysdeps/unix/sysv/aix/semget.c: New file.
550 * sysdeps/unix/sysv/aix/semop.c: New file.
551 * sysdeps/unix/sysv/aix/sendto.c: New file.
552 * sysdeps/unix/sysv/aix/setgroups.c: New file.
553 * sysdeps/unix/sysv/aix/setpgid.c: New file.
554 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
555 * sysdeps/unix/sysv/aix/setpriority.c: New file.
556 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
557 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
558 * sysdeps/unix/sysv/aix/setsid.c: New file.
559 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
560 * sysdeps/unix/sysv/aix/shmat.c: New file.
561 * sysdeps/unix/sysv/aix/shmctl.c: New file.
562 * sysdeps/unix/sysv/aix/shmdt.c: New file.
563 * sysdeps/unix/sysv/aix/shmget.c: New file.
564 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
565 * sysdeps/unix/sysv/aix/sigstack.c: New file.
566 * sysdeps/unix/sysv/aix/socket.c: New file.
567 * sysdeps/unix/sysv/aix/socketpair.c: New file.
568 * sysdeps/unix/sysv/aix/speed.c: New file.
569 * sysdeps/unix/sysv/aix/symlink.c: New file.
570 * sysdeps/unix/sysv/aix/sync.c: New file.
571 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
572 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
573 * sysdeps/unix/sysv/aix/times.c: New file.
574 * sysdeps/unix/sysv/aix/ulimit.c: New file.
575 * sysdeps/unix/sysv/aix/umask.c: New file.
576 * sysdeps/unix/sysv/aix/unlink.c: New file.
577 * sysdeps/unix/sysv/aix/ustat.c: New file.
578 * sysdeps/unix/sysv/aix/utimes.c: New file.
580 2000-04-18 Andreas Jaeger <aj@suse.de>
582 * manual/startup.texi (Environment Access): Fix putenv prototype
583 according to recent changes.
584 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
587 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
590 2000-04-18 Ulrich Drepper <drepper@redhat.com>
592 * posix/Makefile (tests): Add tst-getaddrinfo.
593 * posix/tst-getaddrinfo.c: New file.
595 2000-04-17 Ulrich Drepper <drepper@redhat.com>
597 * manual/sysinfo.texi: Document that umount2 is not widely available.
599 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
600 signal timing is not really implemented.
602 2000-04-17 Andreas Jaeger <aj@suse.de>
604 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
606 2000-04-17 Jakub Jelinek <jakub@redhat.com>
608 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
611 2000-04-17 Ulrich Drepper <drepper@redhat.com>
613 * manual/intro.texi: Change reference from System Information to
615 * manual/users.texi: Likewise.
616 * manual/conf.texi: Likewise.
617 * manual/sysinfo.texi: Document mount, umount, and umount2.
618 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
620 2000-04-17 Jakub Jelinek <jakub@redhat.com>
622 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
623 Create wnumstr as well as numstr to support wide character output
626 2000-04-15 Jakub Jelinek <jakub@redhat.com>
628 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
629 modification and move it...
630 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
631 Add -melf64_sparc switch to $(LD) on sparc64-linux.
632 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
633 switch to $(LD) on sparc-linux.
635 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
637 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
638 and setresuid from sysdep_routines.
640 2000-04-17 Ulrich Drepper <drepper@redhat.com>
642 * manual/Makefile (chapters): Add resource.
644 * manual/time.texi: Move section on resources to...
645 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
647 * manual/setjmp.texi: Adjust back reference.
648 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
650 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
652 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
653 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
654 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
655 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
656 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
657 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
658 * sysdeps/unix/sysv/aix/close.c: Add copyright.
659 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
660 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
661 * sysdeps/unix/sysv/aix/access.c: Add copyright.
662 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
663 * sysdeps/unix/sysv/aix/Implies: New file.
664 * sysdeps/unix/sysv/aix/Versions: New file.
665 * sysdeps/unix/sysv/aix/bind.c: New file.
666 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
667 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
668 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
669 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
670 * sysdeps/unix/sysv/aix/chdir.c: New file.
671 * sysdeps/unix/sysv/aix/chmod.c: New file.
672 * sysdeps/unix/sysv/aix/chroot.c: New file.
673 * sysdeps/unix/sysv/aix/creat.c: New file.
674 * sysdeps/unix/sysv/aix/dl-close.c: New file.
675 * sysdeps/unix/sysv/aix/dl-open.c: New file.
676 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
677 * sysdeps/unix/sysv/aix/fchdir.c: New file.
678 * sysdeps/unix/sysv/aix/fchmod.c: New file.
679 * sysdeps/unix/sysv/aix/getgroups.c: New file.
680 * sysdeps/unix/sysv/aix/gethostname.c: New file.
681 * sysdeps/unix/sysv/aix/getpriority.c: New file.
682 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
683 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
684 * sysdeps/unix/sysv/aix/getrusage.c: New file.
685 * sysdeps/unix/sysv/aix/link.c: New file.
686 * sysdeps/unix/sysv/aix/madvise.c: New file.
687 * sysdeps/unix/sysv/aix/mkdir.c: New file.
688 * sysdeps/unix/sysv/aix/mknod.c: New file.
689 * sysdeps/unix/sysv/aix/mprotect.c: New file.
690 * sysdeps/unix/sysv/aix/msgctl.c: New file.
691 * sysdeps/unix/sysv/aix/msgget.c: New file.
692 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
694 2000-04-17 Andreas Jaeger <aj@suse.de>
696 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
697 as suggested by Ulrich Drepper.
698 (__dl_runtime_resolve): Remove unused variable, initialize sym
700 (RTLD_START): Document OFFSET_GP_GOT.
701 (OFFSET_GP_GOT): New magic value.
702 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
703 (elf_machine_got_rel): Only declare strtab if needed.
704 (elf_machine_relplt): Removed, it's not needed.
705 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
707 * sysdeps/mips/add_n.S: Add newline at EOF.
708 * sysdeps/mips/rshift.S: Likewise.
709 * sysdeps/mips/mul_1.S: Likewise.
710 * sysdeps/mips/lshift.S: Likewise.
711 * sysdeps/mips/addmul_1.S: Likewise.
713 2000-04-17 Ulrich Drepper <drepper@redhat.com>
715 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
717 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
718 * elf/dl-lookup.c: Likewise.
719 * elf/dl-init.c (_dl_init): Likewise.
720 * elf/dl-fini.c (_dl_fini): Likewise.
721 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
722 * elf/dl-close.c (_dl_close): Likewise.
723 * elf/rtld.c (_dl_start_final): Likewise.
725 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
727 2000-04-15 Ulrich Drepper <drepper@redhat.com>
729 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
730 only fall back on using Linux.
732 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
733 Before testing versions check that we actually loaded the object
734 and whether we are in trace mode. If not loaded during tracing don't
735 test versions in this object.
736 (_dl_check_all_versions): Take new parameter and pass to
737 _dl_check_map_versions.
738 * sysdeps/generic/ldsodefs.h: Update prototypes for
739 _dl_check_all_versions and _dl_check_map_versions.
740 * elf/rtld.c (struct version_check_args): Add dotrace.
741 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
742 (dl_main): Pass info about trace mode to version_check_doit.
743 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
744 _dl_check_all_versions.
746 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
748 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
750 * manual/argp.texi: Document index parameter of argp_parse.
752 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
754 2000-04-14 Andreas Jaeger <aj@suse.de>
756 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
757 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
759 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
761 2000-04-15 Ulrich Drepper <drepper@redhat.com>
763 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
764 compat_symbol call for old adjtime.
766 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
767 function interface. Patch by Richard Henderson <rth@cygnus.com>.
769 * posix/Makefile (headers): Add spawn.h.
770 (distribute): Add spawn_int.h.
771 (routines): Add spawn_faction_init, spawn_faction_destroy,
772 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
773 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
774 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
775 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
776 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
777 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
778 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
779 posix_spawnattr_init, posix_spawnattr_destroy,
780 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
781 posix_spawnattr_getflags, posix_spawnattr_setflags,
782 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
784 * posix/spawn.c: New file.
785 * posix/spawn.h: New file.
786 * posix/spawn_faction_addclose.c: New file.
787 * posix/spawn_faction_adddup2.c: New file.
788 * posix/spawn_faction_addopen.c: New file.
789 * posix/spawn_faction_destroy.c: New file.
790 * posix/spawn_faction_init.c: New file.
791 * posix/spawn_int.h: New file.
792 * posix/spawnattr_destroy.c: New file.
793 * posix/spawnattr_getdefault.c: New file.
794 * posix/spawnattr_getflags.c: New file.
795 * posix/spawnattr_getpgroup.c: New file.
796 * posix/spawnattr_getschedparam.c: New file.
797 * posix/spawnattr_getschedpolicy.c: New file.
798 * posix/spawnattr_getsigmask.c: New file.
799 * posix/spawnattr_init.c: New file.
800 * posix/spawnattr_setdefault.c: New file.
801 * posix/spawnattr_setflags.c: New file.
802 * posix/spawnattr_setpgroup.c: New file.
803 * posix/spawnattr_setschedparam.c: New file.
804 * posix/spawnattr_setschedpolicy.c: New file.
805 * posix/spawnattr_setsigmask.c: New file.
806 * posix/spawni.c: New file.
807 * posix/spawnp.c: New file.
809 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
810 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
812 2000-04-14 Ulrich Drepper <drepper@redhat.com>
814 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
815 * malloc/malloc.c: Implement posix_memalign for glibc.
816 * include/stdlib.h: Add prototype for __posix_memalign.
817 * stdlib/stdlib.h: Add prototype for posix_memalign.
819 2000-04-14 Andreas Jaeger <aj@suse.de>
821 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
823 (elf_machine_got_rel): Cast sym correctly.
825 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
826 * sysdeps/mips/addmul_1.S: Likewise.
827 * sysdeps/mips/lshift.S: Likewise.
828 * sysdeps/mips/mul_1.S: Likewise.
829 * sysdeps/mips/rshift.S: Likewise.
830 * sysdeps/mips/sub_n.S: Likewise.
831 * sysdeps/mips/submul_1.S: Likewise.
833 * stdlib/stdlib.h: Fix typo in comment.
835 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
836 2.2 for libdl, ld and libm.
838 * sysdeps/generic/madvise.c: Fix typos.
840 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
842 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
844 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
847 2000-04-14 Ulrich Drepper <drepper@redhat.com>
849 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
850 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
851 Make old name weak alias.
852 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
853 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
854 Make old name weak alias.
855 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
857 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
858 posix_fallocate, and posix_fallocate64.
859 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
860 posix_fallocate, and posix_fallocate64.
861 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
862 posix_fallocate, and posix_fallocate64.
863 * sysdeps/generic/fadvise.c: New file.
864 * sysdeps/generic/fadvise64.c: New file.
865 * sysdeps/generic/fallocate.c: New file.
866 * sysdeps/generic/fallocate64.c: New file.
867 * sysdeps/posix/fallocate.c: New file.
868 * sysdeps/posix/fallocate64.c: New file.
869 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
870 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
871 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
872 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
873 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
874 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
875 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
876 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
877 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
879 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
880 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
882 2000-04-13 Ulrich Drepper <drepper@redhat.com>
884 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
885 * misc/sys/mman.h (posix_madvise): Add prototype.
886 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
887 old name and posix_madvise weak aliases.
888 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
889 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
890 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
891 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
892 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
893 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
894 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
896 2000-04-13 Andreas Jaeger <aj@suse.de>
898 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
900 (elf_machine_got_rel): Only add runtime display if needed.
901 (elf_machine_got_rel): Handle symbol versioning.
903 2000-04-13 Andreas Jaeger <aj@suse.de>
905 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
907 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
910 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
911 with some applications.
912 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
914 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
915 * sysdeps/mips/bsd-_setjmp.S: Likewise.
916 * sysdeps/mips/setjmp.S: Likewise.
918 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
920 2000-04-13 Ulrich Drepper <drepper@redhat.com>
922 * posix/globtest.sh: Work around inconsistency with expanding ~/
923 in shell (PR libc/1690). Reported by patsmith@pobox.com.
925 2000-04-12 Ulrich Drepper <drepper@redhat.com>
927 * posix/getconf.c: Add support for many more POSIX options.
928 * sysdeps/posix/sysconf.c: Likewise.
929 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
930 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
932 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
933 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
934 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
935 CLOCK_THREAD_CPUTIME_ID.
936 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
937 CLOCK_PROCESS_CPUTIME_ID.
938 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
939 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
940 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
941 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
943 * malloc/Makefile (tests): Add tst-calloc.
944 * malloc/tst-calloc.c: New file.
946 * sysdeps/arm/libm-test-ulps: New file.
948 * malloc/malloc.c: Undo all of today's changes.
950 * locale/programs/locale.c (show_info): Don't try to look into
951 data for LC_ALL (there is none).
953 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
954 avoid writing over boundary.
955 Patch by Greg McGary <gkm@eng.ascend.com>.
957 * sysdeps/arm/memprof.h: New file.
959 2000-04-12 Andreas Jaeger <aj@suse.de>
961 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
963 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
964 for memmem declaration.
966 2000-04-12 Ulrich Drepper <drepper@redhat.com>
968 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
970 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
972 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
974 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
975 Patch by Bart Veer <bartv@redhat.com>.
977 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
980 2000-04-11 Andreas Jaeger <aj@suse.de>
982 * sysdeps/mips/dl-machine.h: Update some comments.
983 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
985 2000-04-11 Ulrich Drepper <drepper@redhat.com>
987 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
988 _POSIX_SHARED_MEMORY_OBJECTS.
990 * rt/Makefile (tests): Add tst-shm.
991 Add rules to generate tst-shm.
992 * rt/tst-shm.c: New file.
994 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
997 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
998 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
999 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
1000 * sysdeps/generic/shm_open.c: New file.
1001 * sysdeps/generic/shm_unlink.c: New file.
1002 * sysdeps/unix/sysv/linux/shm_open.c: New file.
1003 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
1004 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
1005 __endmntent, __getmntent_r, __setmntent, and __statfs.
1007 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
1008 fragmentation by allocating new memory at the end instead of
1011 * posix/globtest.sh: Fix last change.
1013 2000-04-10 Philip Blundell <philb@gnu.org>
1015 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
1016 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
1017 IPV6_DROP_MEMBERSHIP.
1018 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
1021 2000-04-11 Ulrich Drepper <drepper@redhat.com>
1023 * elf/readlib (process_file): Close streams in case of an error.
1025 2000-04-09 Andreas Jaeger <aj@suse.de>
1027 * elf/readlib.c (process_file): Check if file is big enough to
1028 contain aout and ELF headers.
1029 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
1031 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
1033 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
1035 2000-04-11 Ulrich Drepper <drepper@redhat.com>
1037 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
1039 * rt/Makefile (tests): Add tst-clock.
1040 Add rules to build tst-clock.
1041 * rt/tst-clock.c: New file.
1042 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
1043 about initialization of nsec.
1044 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
1045 about initialization of freq. Set retval to zero if successful.
1046 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
1048 2000-04-10 Ulrich Drepper <drepper@redhat.com>
1050 * Versions.def (librt): Add GLIBC_2.2.
1051 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
1052 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
1053 timer_getoverr, timer_gettime, and timer_settime.
1054 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
1055 clock_settime, timer_create, timer_delete, timer_getoverrun,
1056 timer_gettime, and timer_settime.
1057 * sysdeps/generic/clock_getcpuclockid.c: New file.
1058 * sysdeps/generic/get_clockfreq.c: New file.
1059 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
1060 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
1061 * sysdeps/mach/hurd/i386/bits/time.h: New file.
1062 * sysdeps/unix/i386/i586/clock_getres.c: New file.
1063 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
1064 * sysdeps/unix/i386/i686/Implies: New file.
1065 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
1066 * time/Makefile (routines): Move clock_getres, clock_gettime,
1067 clock_settime, timer_create, timer_delete, timer_getoverr,
1068 timer_gettime, and timer_settime to rt/Makefile.
1069 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
1070 clock_settime, timer_create, timer_delete, timer_getoverrun,
1071 timer_gettime, and timer_settime.
1072 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
1074 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
1075 and not const as attribute name.
1077 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
1079 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
1081 2000-04-10 Andreas Schwab <schwab@suse.de>
1083 * posix/globtest.sh: Skip tests that depend on unreadable
1084 directories if run as root.
1086 2000-04-10 Ulrich Drepper <drepper@redhat.com>
1088 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
1089 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
1091 2000-04-09 Ulrich Drepper <drepper@redhat.com>
1093 * sysdeps/unix/clock_gettime.c: New file.
1094 * sysdeps/unix/clock_settime.c: New file.
1095 * sysdeps/posix/clock_getres.c: New file.
1097 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
1099 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
1100 lseek call be passing in a buffer which never allow a successful
1101 first getdents syscall if not at leas the initial entry can be
1102 stored in the user buffer.
1104 * localedata/Makefile: Add rules to clean up directories created by
1107 2000-04-09 Geoff Clare <gwc@unisoft.com>
1109 * localedata/tst-fmon.data: Added new tests for strfmon()
1110 using test locales with all combinations of cs_precedes,
1111 sign_posn and sep_by_space.
1112 * localedata/tst-fmon.sh: Updated to support the new tests.
1113 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
1114 the localedef source for the new strfmon() test locale.
1115 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
1116 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
1117 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
1118 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
1119 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
1120 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
1121 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
1122 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
1123 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
1124 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
1125 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
1126 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
1127 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
1128 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
1130 * stdlib/strfmon.c: Correct problems with missing or extra
1131 spaces for unusual combinations of sign_posn and sep_by_space.
1132 Improved left-precision alignment code.
1134 2000-04-07 Andreas Jaeger <aj@suse.de>
1136 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
1138 2000-04-10 Andreas Jaeger <aj@suse.de>
1140 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
1142 2000-04-09 Ulrich Drepper <drepper@redhat.com>
1144 Implement handling of restartable conversion functions according to
1146 * iconv/gconv.h (__gconv_fct): Add additional parameter.
1147 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
1148 * iconv/gconv.c: Pass additional parameter to conversion function.
1149 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
1150 (internal_ucs4le_loop_single): New function.
1151 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
1152 (__gconv_transform_internal_ascii): Likewise.
1153 (__gconv_transform_internal_utf8): Likewise.
1154 (__gconv_transform_utf8_internal): Likewise.
1155 (__gconv_transform_ucs2_internal): Likewise.
1156 (__gconv_transform_internal_ucs2): Likewise.
1157 (__gconv_transform_ucs2reverse_internal): Likewise.
1158 (__gconv_transform_internal_ucs2reverse): Likewise.
1159 (internal_ucs4le_loop_unaligned): Before return
1160 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
1161 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
1162 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
1163 * iconv/loop.c: Fit in definition of function to convert one character
1164 for processing of left-over bytes from the state object.
1165 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
1166 inend to match names in loop functions.
1167 (RESET_INPUT_BUFFER): Change apprpriately.
1168 (gconv): If needed, call function to process bytes from the state
1169 object. Similar at the end: store left over bytes if input is
1171 Take extra argument and add new argument to all calls of the
1172 conversion function.
1173 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
1174 information in the state object to not conflict with length count.
1175 * iconvdata/iso-2022-jp.c: Likewise.
1176 * iconvdata/iso-2022-kr.c: Likewise.
1177 * iconvdata/unicode.c: Adjust for change change in parameters of
1179 * iconvdata/utf-16.c: Likewise.
1180 * libio/iofwide.c: Add new parameter to all calls of conversion
1182 * wcsmbs/btowc.c: Likewise.
1183 * wcsmbs/mbrtowc.c: Likewise.
1184 * wcsmbs/mbsnrtowcs.c: Likewise.
1185 * wcsmbs/mbsrtowcs.c: Likewise.
1186 * wcsmbs/wcrtomb.c: Likewise.
1187 * wcsmbs/wcsnrtombs.c: Likewise.
1188 * wcsmbs/wcsrtombs.c: Likewise.
1189 * wcsmbs/wctob.c: Likewise.
1191 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
1194 2000-04-07 Andreas Jaeger <aj@suse.de>
1196 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
1199 2000-04-07 Ulrich Drepper <drepper@redhat.com>
1201 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
1202 element a union to allow byte access.
1203 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
1205 * iconvdata/iso-2022-jp.c: Likewise.
1206 * iconvdata/iso-2022-kr.c: Likewise.
1207 * wcsmbs/mbsinit.c: Likewise.
1208 * stdlib/mblen.c: Likewise.
1209 * stdio-common/printf-parse.h: Likewise.
1211 2000-04-06 Ulrich Drepper <drepper@redhat.com>
1213 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
1214 kernel does not allow relative seeks on descriptors associated
1215 with directories. Go back to get the position in the directory
1216 every time we enter the function. Return -1 and set errno if one
1217 entry could be read from the kernel but does not fit into the
1218 buffer passed in by the user.
1220 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
1221 Support ..(2).. ellipsis.
1222 (parse_charmap): Recognize ..(2).. etc and pass step down.
1223 Correctly generate names for UCS4 characters.
1225 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
1226 (ctype_finish): We know the wide character value for <SP>,
1228 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
1229 (charclass_ucs4_ellipsis): Likewise.
1230 (read_translit_ignore_entry): Store ellipsis step.
1231 (ctype_read): Recognize ..(2).. etc and pass step down.
1233 * locale/programs/linereader.c (lr_token): When seeing comment
1234 character ignore only rest of line in sources but stop at escaped
1236 Recognize ..(2).. and ....(2).....
1238 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
1239 and tok_ellipsis4_2.
1241 2000-04-06 Andreas Jaeger <aj@suse.de>
1243 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
1244 removed, remove it here also.
1245 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
1246 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
1247 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
1248 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
1250 2000-04-06 Jakub Jelinek <jakub@redhat.com>
1252 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
1253 include bits/sigcontext.h.
1254 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1256 2000-04-06 Ulrich Drepper <drepper@redhat.com>
1258 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
1259 collation symbol definition. Value in quivalence definition must
1260 be defined, don't check that it is not.
1262 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
1263 values as character names.
1265 * locale/programs/ld-ctype.c (get_character): Handle missing
1266 repertoire map correctly.
1268 2000-04-05 Cristian Gafton <gafton@redhat.com>
1270 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
1271 because it is used in generic code.
1272 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
1273 * wcsmbs/wcwidth.h: Declare __ctype32_b.
1274 * intl/gettext.c: Include <locale.h>.
1275 * intl/ngettext.c: Likewise.
1277 2000-04-05 Jakub Jelinek <jakub@redhat.com>
1279 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
1280 socklen_t type for size.
1281 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
1282 init function interface.
1283 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1284 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
1286 (__jmp_buf): Declare the whole type structure here, don't use
1289 2000-04-05 Ulrich Drepper <drepper@redhat.com>
1291 * iconv/skeleton.c (put16u): Fix typo.
1292 Reported by Bruno Haible <haible@ilog.fr>.
1294 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
1295 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
1296 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
1297 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
1298 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
1299 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
1301 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
1302 * Makefile (distribute): Add abi-versions.awk and
1304 Patches by Torsten Duwe <duwe@caldera.de>.
1306 2000-04-05 Andreas Schwab <schwab@suse.de>
1308 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
1310 2000-04-05 Andreas Schwab <schwab@suse.de>
1312 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
1313 entry point, used on Hurd.
1315 2000-04-04 Andreas Jaeger <aj@suse.de>
1317 * intl/Makefile: Only run the gettext test with shared libraries.
1319 2000-03-16 Mark Kettenis <kettenis@gnu.org>
1321 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
1322 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
1324 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
1326 * Makeconfig: Undo last change.
1327 * configure.in: If --disable-shared was given, don't set VERSIONING,
1328 don't define DO_VERSIONING, and don't give scare warning for no
1330 * configure: Regenerated.
1332 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
1334 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
1336 2000-04-04 Andreas Jaeger <aj@suse.de>
1338 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
1340 2000-04-04 Ulrich Drepper <drepper@redhat.com>
1342 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
1343 STV_HIDDEN and STV_INTERNAL during lookup.
1344 (profile_fixup): Likewise.
1345 * elf/dl-reloc.c (RESOLVE): Likewise.
1347 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
1348 unaligned so that it compiles for system which need unaligned
1351 2000-04-04 Andreas Schwab <schwab@suse.de>
1353 * elf/cache.c (print_entry): Only look at the type field when
1356 2000-04-04 Andreas Schwab <schwab@suse.de>
1358 * iconvdata/big5.c (BODY): Fix typo.
1360 2000-04-04 Andreas Schwab <schwab@suse.de>
1362 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
1363 function interface. Remove unused _dl_start_user entry point.
1365 2000-04-03 Andreas Jaeger <aj@suse.de>
1367 * include/arpa/inet.h (__inet_aton): Add protoype.
1369 2000-04-01 Andreas Jaeger <aj@suse.de>
1371 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
1373 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
1374 * sysdeps/mach/mips/thread_state.h: Likewise.
1376 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
1377 * sysdeps/generic/fegetenv.c: Likewise.
1378 * sysdeps/generic/fesetenv.c: Likewise.
1379 * sysdeps/generic/feupdateenv.c: Likewise.
1380 * sysdeps/generic/fraiseexcpt.c: Likewise.
1381 * sysdeps/generic/fsetexcptflg.c: Likewise.
1382 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
1383 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
1384 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
1385 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1387 2000-04-02 H.J. Lu <hjl@gnu.org>
1389 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
1391 2000-04-03 Ulrich Drepper <drepper@redhat.com>
1393 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
1394 (add_name_to_object): Add cast in malloc call.
1395 (fillin_rpath): Optimize loop to initialize ->status a bit.
1397 * sysdeps/i386/dl-machine.h: Undo last change.
1398 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
1399 Restore %edx register after call here.
1401 * sysdeps/arm/atomicity.h: New file.
1402 Contributed by Jesper Skov <jskov@redhat.com>.
1404 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
1406 * Makeconfig (preprocess-versions): Undo last change.
1407 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
1409 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
1410 here, before we might move the stack.
1411 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
1412 (init1): And not here.
1414 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
1415 change, to restore argc value in call-clobbered register after
1416 RTLD_START_SPECIAL_INIT, which will contain a call.
1418 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
1419 allocating and initializing L->l_initfini.
1421 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
1423 2000-04-03 Ulrich Drepper <drepper@redhat.com>
1425 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
1426 RUNPATH, RPATH, and LD_LIBRARY_PATH.
1427 (open_path): Change type of fourth parameter. Make pointer to array
1428 of pointers. Create variable dirs with original type.
1429 Track whether any directory for the object exists and if not,
1430 change *DIRSP to (void*) -1 to signal there is no such search path.
1431 (_dl_map_object): Change all calls of open_path.
1432 Rewrite decompose_rpath calls.
1434 2000-03-31 Andreas Schwab <schwab@suse.de>
1436 * string/strfry.c: Declare STATE as array of char instead of int
1437 and do not initialize it (done by initstate_r). Pass correct
1440 2000-04-03 Ulrich Drepper <drepper@redhat.com>
1442 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
1444 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
1445 instruction out of the code.
1447 2000-04-02 Ulrich Drepper <drepper@redhat.com>
1449 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
1450 element at this position.
1452 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
1453 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
1455 * elf/dl-lookup.c (add_dependency): New function.
1456 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
1457 dynamically loaded object.
1458 (_dl_lookup_symbol_skip): Likewise.
1459 (_dl_lookup_versioned_symbol): Likewise.
1460 (_dl_lookup_versioned_symbol_skip): Likewise.
1461 * elf/dl-open.c: Don't define _dl_load_lock here...
1462 * elf/rtld.c: ...but here...
1463 * elf/dl-support.c: ...and here.
1464 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
1466 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
1468 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
1470 * dlfcn/glrefmain.c: Add one more debug message.
1472 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
1474 * Makerules (sysd-versions): Use ( ) instead of { }.
1476 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
1477 optimize for the non-debugging case.
1478 * elf/dl-lookup.c: Likewise.
1479 * sysdeps/generic/libc-start.c: Likewise.
1481 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
1483 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
1484 (init1): Don't initialize __environ here, since init already does it.
1485 (first_init): New function, broken out of _init.
1486 (_hurd_stack_setup): Use it.
1487 [SHARED] (_dl_init_first): New function, renamed from old _init.
1488 (init1) [SHARED]: Don't call posixland_init here.
1489 (posixland_init): Take ENVP arg, so signature is usual for initializer.
1490 [SHARED] (_init): Define as alias for posixland_init.
1491 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
1492 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
1493 RTLD_START_SPECIAL_INIT before calling initializers.
1494 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
1495 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
1496 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
1497 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
1499 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
1500 since we define the function with the name `tmpfile'.
1502 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
1503 * hurd/Versions: Likewise.
1505 2000-04-02 Ulrich Drepper <drepper@redhat.com>
1507 * elf/dl-runtime.c (fixup): Fix typo in comment.
1509 * resolv/netdb.h (getnameinfo): All length parameters are of type
1511 * inet/getnameinfo.c: Likewise.
1513 2000-04-01 Ulrich Drepper <drepper@redhat.com>
1515 * posix/unistd.h (socklen_t): Define if it has not yet happened.
1516 (gethostname): Change type of second parameter to socklen_t.
1517 * include/unistd.h (__gethostname): Change type of second
1518 parameter to socklen_t.
1519 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
1520 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
1521 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
1522 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
1524 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
1525 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
1526 Allow definition elsewhere.
1527 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
1528 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1529 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1530 * sysdeps/generic/bits/types.h: Define __socklen_t.
1531 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
1532 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
1533 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1534 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1535 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1536 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1537 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1539 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
1540 (inet_lnaof): Likewise.
1541 (inet_netof): Likewise.
1542 (inet_network): Likewise.
1543 (inet_aton): Likewise.
1544 (inet_makeaddr): Change parameter types to in_addr_t.
1545 (inet_neta): Likewise.
1546 (inet_ntop): Change type of last parameter to socklen_t.
1547 (inet_aton): Only make available if __USE_MISC.
1548 (inet_neta): Likewise.
1549 (inet_net_ntop): Likewise.
1550 (inet_net_pton): Likewise.
1551 (inet_nsap_ntoa): Likewise.
1553 * inet/in.h: Define in_port_t type.
1554 Define in_addr_t type.
1555 (struct in_addr): Use in_addr_t in definition.
1556 (IN_CLASSA): Use cast to in_addr_t.
1557 (IN_CLASSB): Likewise.
1558 (IN_CLASSC): Likewise.
1559 (IN_CLASSD): Likewise.
1560 (IN_EXPERIMENTAL): Likewise.
1561 (IN_BADCLASS): Likewise.
1562 (INADDR_ANY): Likewise.
1563 (INADDR_BROADCAST): Likewise.
1564 (INADDR_NONE): Likewise.
1565 (INADDR_LOOPBACK): Likewise.
1566 (INADDR_UNSPEC_GROUP): Likewise.
1567 (INADDR_ALLHOSTS_GROUP): Likewise.
1568 (INADDR_ALLRTRS_GROUP): Likewise.
1569 (INADDR_MAX_LOCAL_GROUP): Likewise.
1570 (struct sockaddr_in): Use in_port_t for sin_port element.
1571 (struct sockaddr_in6): Use in_port_t for sin6_port element.
1572 Use uint8_t instead of u_int8_t.
1574 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
1575 Call __inet_aton instead of inet_aton.
1576 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
1578 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
1579 (innetgr): Likewise.
1580 (struct addrinfo): Use socklen_t for ai_addrlen element.
1582 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
1583 IPV6_RECVERR): New defines.
1585 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
1586 * inet/getnetbyad.c: Likewise.
1587 * inet/getnetbyad_r.c: Likewise.
1588 * nis/nss_nis/nis-network.c: Likewise.
1589 * nis/nssplus_nis/nisplus-network.c: Likewise.
1590 * nss/nss_files/files-network.c: Likewise.
1591 * resolv/netdb.h: Define uint32_t if not already happened.
1592 Include bits/netdb.h. Remove definition of struct netent.
1593 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
1594 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
1595 * sysdeps/generic/bits/netdb.h: New file.
1596 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
1598 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
1599 (tests): Add glrefmain.
1600 Add rules to build modules and run tests. Ignore result of glrefmain
1601 for now since it fails.
1602 * dlfcn/glrefmain.c: New file.
1603 * dlfcn/glreflib1.c: New file.
1604 * dlfcn/glreflib2.c: New file.
1606 * test-skeleton.c: Include <string.h> for strsignal prototype.
1608 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
1611 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
1612 former init-first.h. Initialize __libc_multiple_libcs.
1614 2000-03-31 Ulrich Drepper <drepper@redhat.com>
1616 * iconv/skeleton.c: Define access macros with u suffix. Adjust
1617 #if expression for use of unaligned function to the one used in
1618 the definition of these functions.
1619 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
1620 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
1621 (internal_ucs4le_loop_unaligned): New function.
1623 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
1625 (module-names): Add dep1, dep2, dep3, and dep4.
1626 Add dependencies for dep* modules and order.
1627 Define rule for order.out which checks the result.
1628 * elf/dep1.c: New file.
1629 * elf/dep2.c: New file.
1630 * elf/dep3.c: New file.
1631 * elf/dep4.c: New file.
1632 * elf/order.c: New file.
1634 * elf/dl-init.c: Fix typo in comment.
1636 2000-03-31 Andreas Jaeger <aj@suse.de>
1638 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
1639 init function interface.
1640 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
1642 2000-03-31 Andreas Jaeger <aj@suse.de>
1644 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
1645 * sysdeps/mips/fpu/fegetenv.c: Likewise.
1646 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
1647 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
1648 * sysdeps/mips/fpu/fesetenv.c: Likewise.
1650 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
1651 anymore, update comment.
1653 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1655 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
1656 SHLIB_COMPAT - the struct is always needed.
1658 2000-03-31 Ulrich Drepper <drepper@redhat.com>
1660 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
1661 * elf/dl-support.c: Define _dl_starting_up.
1663 2000-03-30 Ulrich Drepper <drepper@redhat.com>
1665 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
1666 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
1668 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
1670 * elf/Makefile (dl-routines): Remove preinit.
1671 * elf/Versions: Remove _dl_preinit.
1672 * elf/dl-preinit.c: Removed. Move content into...
1673 * elf/dl-init.c: ...here.
1674 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
1676 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
1679 2000-03-29 Geoff Clare <gwc@unisoft.com>
1681 * stdlib/strfmon.c: Corrected problems with the code that
1682 sets default values for [np]_sep_by_space and
1683 [np]_sign_posn; also the new positive/negative alignment
1684 code from the previous patch was not quite right for
1687 * localedata/tst-fmon.data: Changes corresponding to the
1688 two sets of fixes made to stdlib/strfmon.c.
1690 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
1692 * malloc/malloc.c: Declare bit flags UL so that they will not
1693 default to int size when being inverted.
1695 2000-03-29 Andreas Jaeger <aj@suse.de>
1697 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
1698 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
1700 2000-03-29 Andreas Jaeger <aj@suse.de>,
1701 Ralf Baechle <ralf@uni-koblenz.de>
1703 * Makeconfig: Introduce new variable SHARED to mark code used in
1705 * elf/dl-close.c: Use it instead of PIC.
1706 * elf/dl-load.c: Likewise.
1707 * elf/dl-open.c: Likewise.
1708 * hurd/geteuids.c: Likewise.
1709 * include/libc-symbols.h: Likewise.
1710 * include/shlib-compat.h: Likewise.
1711 * libio/freopen.c: Likewise.
1712 * linuxthreads/cancel.c: Likewise.
1713 * linuxthreads/pthread.c: Likewise.
1714 * linuxthreads/wrapsyscall.c: Likewise.
1715 * nss/nsswitch.c: Likewise.
1716 * stdio-common/vfprintf.c: Likewise.
1717 * sysdeps/arm/init-first.c: Likewise.
1718 * sysdeps/i386/init-first.c: Likewise
1719 * sysdeps/generic/init-first.c: Likewise.
1720 * sysdeps/generic/libc-start.c: Likewise.
1721 * sysdeps/mips/init-first.c: Likewise.
1722 * sysdeps/powerpc/elf/libc-start.c: Likewise.
1723 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
1724 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
1725 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
1726 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1728 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
1730 2000-03-29 Andreas Jaeger <aj@suse.de>
1732 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
1733 Use D_PTR to access relocated entries in l_info.
1734 (elf_machine_rela): Likewise.
1736 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
1738 (elf_machine_rela): Likewise.
1740 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
1742 (__elf_machine_fixup_plt): Likewise.
1743 (__process_machine_rela): Likewise.
1745 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
1746 (elf_machine_rela): Likewise.
1748 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
1749 (elf_machine_rel): Likewise.
1751 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
1752 (elf_machine_fixup_plt): Likewise.
1753 (elf_machine_rela): Likewise.
1755 2000-03-29 Andreas Jaeger <aj@suse.de>
1757 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
1758 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1759 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1760 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
1761 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
1762 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
1763 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
1764 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
1765 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1766 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
1767 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
1768 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
1769 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
1770 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
1771 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1773 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
1774 macros, remove K&R prototypes.
1776 2000-03-30 Ulrich Drepper <drepper@redhat.com>
1778 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
1779 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
1782 2000-03-30 Andreas Jaeger <aj@suse.de>
1784 * misc/sys/cdefs.h: Remove K&R support.
1786 2000-03-30 Ulrich Drepper <drepper@redhat.com>
1788 * iconv/skeleton.c: Avoid compiling unaligned versions in some
1789 with size of dynamic sectionmore cases.
1790 * iconv/loop.c: Likewise.
1792 2000-03-29 Bruno Haible <haible@clisp.cons.org>
1794 * iconv/loop.c (put16): Remove __const. Fix access index.
1795 (put32): Remove __const. Use uint32_t instead of uint16_t.
1796 * iconv/skeleton.c: Likewise.
1798 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
1800 * mach/Versions (libc: GLIBC_2.0)
1801 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
1802 __vm_allocate on this.
1803 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
1804 mutex- and spinlock-related symbols on this.
1805 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
1806 New version set. Lock-related symbols go here instead in this case.
1807 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
1808 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
1809 cthread_getspecific, cthread_setspecific, __libc_getspecific.
1811 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
1812 Put them here instead.
1813 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
1814 New version set. Those cthreads symbols go here instead in this case.
1815 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
1817 2000-03-30 Ulrich Drepper <drepper@redhat.com>
1819 * elf/dl-init.c (_dl_init): We don't need to call constructors
1820 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
1822 Implement dynamic determination of constructor/destructor order in
1824 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
1825 (GLIBC_2.2): Add _dl_init.
1826 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
1827 r_duplist is not anymore allocated separately. l_initfini is and
1828 therefore free it if necessary.
1829 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
1830 malloc block. Otherwise allocate l_initfini list only.
1831 Put dependencies for the object in l_initfini list.
1832 Sort dependencies for the object to be loaded topologically.
1833 * elf/dl-fini.c: Before running the destructors sort the topologically.
1834 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
1835 call constructors instead of iterating over the pointers. Get list of
1836 objects for which to run constructors from l_initfini element. Accept
1837 argc, argv, and env as parameters and pass them to the constructors.
1838 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
1839 with size of dynamic section.
1840 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
1841 _dl_init_next and calling constructors ourself.
1842 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
1843 Take argc, argv, and env as parameters and pass them to the
1844 constructors. Rewrite to call all constructors and not iterate over
1846 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
1847 precompute l_initcount and l_preinitcount.
1848 * elf/link.h (struct link_map): Add l_ldnum member.
1849 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
1850 l_initcount, and l_preinitcount. Add l_initfini.
1851 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
1853 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
1855 * sysdeps/unix/sysv/linux/init-first.h: Removed.
1856 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
1857 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
1858 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
1859 conventions now match.
1861 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
1862 effect for shared objects. Don't emit message and call only for
1865 2000-03-29 Ulrich Drepper <drepper@redhat.com>
1867 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
1868 CSA_Z243.4-1985-1..UCS2.
1869 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
1872 2000-03-29 Andreas Jaeger <aj@suse.de>
1874 * include/unistd.h: Remove duplicate entry for __rmdir.
1875 Remove declaration of __mkdir since __mkdir is declared in
1878 * manual/creature.texi (Feature Test Macros): Fix typo, reported
1879 by Michael Deutschmann <michael@talamasca.ocis.net>.
1881 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
1882 * sysdeps/mips/fpu/fegetenv.c: Likewise.
1883 * sysdeps/mips/fpu/fesetenv.c: Likewise.
1884 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
1885 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
1887 2000-03-28 Andreas Jaeger <aj@suse.de>
1889 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
1890 declaration, the prototype is defined via bits/mathcalls.h.
1891 (__sincosf): Likewise.
1892 (__sincosl): Likewise.
1896 (__finite): Likewise.
1897 (__inline_mathcodeNP): New macro without prototype
1899 (__inline_mathcodeNP2): Likewise.
1900 (__inline_mathcodeNP3): Likewise.
1901 (__inline_mathcodeNP_): Likewise.
1902 (__inline_mathcodeNP2_): Likewise.
1903 (__inline_mathcodeNP3_): Likewise.
1904 (__inline_mathopNP): Likewise.
1905 (__inline_mathop_declNP): Likewise.
1906 (__inline_mathop_declNP_): Likewise.
1907 (__inline_mathcode_): Use __inline_mathcodeNP_.
1908 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
1909 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
1910 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
1911 (__expm1l): Don't define prototype, the prototype is defined via
1917 (__atan2l): Likewise.
1922 (__fabsl): Likewise.
1940 (__sqrtl): Likewise.
1950 2000-03-28 Ulrich Drepper <drepper@redhat.com>
1952 * Makerules: If make variable md5 is defined to yes after
1953 generating dependencies generate MD5 sum for the object.
1955 * iconv/gconv_builtin.h: Fix length in transformation definition
1958 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
1960 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
1961 allow as well reading from/writing to unaligned addresses on machines
1962 which don't support this in hardware. Use FCTNAME macro to define
1963 function name. Include the file a second time for platforms which
1964 need special unaligned handling.
1965 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
1966 to access potentially unaligned addresses. These macros are intended
1967 to be used only outside the loops.
1968 (unaligned): New definition. In case the machine can handle unaligned
1969 access define as zero. Otherwise as a variable which is initialized
1970 as nonzero in case the buffer passed in at runtime is unaligned with
1971 respect to the character set encoding involved.
1972 Call aligned or unaligned looop functions according to unaligned
1974 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
1975 of direct casting pointer to potentially handle unaligned memory
1977 * iconvdata/8bit-generic.c: Likewise.
1978 * iconvdata/ansi_x3.110.c: Likewise.
1979 * iconvdata/big5.c: Likewise.
1980 * iconvdata/euc-cn.c: Likewise.
1981 * iconvdata/euc-jp.c: Likewise.
1982 * iconvdata/euc-kr.c: Likewise.
1983 * iconvdata/euc-tw.c: Likewise.
1984 * iconvdata/gbk.c: Likewise.
1985 * iconvdata/iso-2022-cn.c: Likewise.
1986 * iconvdata/iso-2022-jp.c: Likewise.
1987 * iconvdata/iso-2022-kr.c: Likewise.
1988 * iconvdata/iso646.c: Likewise.
1989 * iconvdata/iso_6937-2.c: Likewise.
1990 * iconvdata/iso_6937.c: Likewise.
1991 * iconvdata/johab.c: Likewise.
1992 * iconvdata/sjis.c: Likewise.
1993 * iconvdata/t.61.c: Likewise.
1994 * iconvdata/uhc.c: Likewise.
1995 * iconvdata/unicode.c: Likewise.
1996 * iconvdata/utf-16.c: Likewise.
1998 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
2001 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
2002 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
2004 * malloc/mcheck.h (mcheck_check_all): Declare.
2006 * stdio-common/Makefile (tests): Add tst-obprintf.
2008 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
2010 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
2011 Declare pthread_sigmask.
2013 * csu/version.c: Add 2000 to copyright years.
2014 Remove Emacs local variables section.
2016 2000-03-23 Bruno Haible <haible@clisp.cons.org>
2018 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
2019 __gconv_transform_internal_ucs2little): Remove declarations.
2020 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
2021 __gconv_transform_internal_ucs2): Never need to bswap_16.
2022 (__gconv_transform_ucs2reverse_internal,
2023 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
2025 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
2027 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
2028 obsoleting version not being defined at all, in which case the
2029 result is always true.
2031 * Makeconfig (preprocess-versions): New canned sequence for running
2032 cpp on shlib-versions and the like.
2033 (soversions.i): Use it.
2034 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
2035 Versions.def and Versions files.
2037 2000-03-27 Ulrich Drepper <drepper@redhat.com>
2039 * stdio-common/tst-obprintf.c (main): Add another check to see
2040 obstack_printf handling all possible beginnings of the block
2041 inside an obstack chunk.
2043 * locale/programs/localedef.c: Use __malloc_initialize_hook to
2044 install mcheck handler.
2046 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
2049 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
2051 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
2053 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
2054 on [HAVE_ELF && DO_VERSIONING].
2056 2000-03-27 Ulrich Drepper <drepper@redhat.com>
2058 * stdio-common/tst-obprintf.c: New file.
2060 2000-03-26 Ulrich Drepper <drepper@redhat.com>
2062 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
2063 _IO_OVERFLOW directly instead through __overflow.
2065 * locale/programs/localedef.c (construct_output_path): If path
2066 contains a / compute the end of the directory name correctly.
2068 * include/features.h: Undef and document __USE_XOPEN2K.
2070 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
2071 whenever a function is called. Initiated by calling mcheck_pedantic
2073 * malloc/mcheck.h: Declare mcheck_pedantic.
2074 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
2075 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
2078 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
2080 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
2081 * dlfcn/dlopenold.c: Likewise.
2082 * nss/getXXbyYY_r.c: Likewise.
2083 * nss/getXXent_r.c: Likewise.
2084 * hurd/hurdinit.c: Likewise.
2085 * hurd/compat-20.c: Likewise.
2086 * libio/oldiofopen.c: Likewise.
2087 * libio/oldiofclose.c: Likewise.
2088 * libio/oldiofdopen.c: Likewise.
2089 * libio/oldfileops.c: Likewise.
2090 * libio/oldstdfiles.c: Likewise.
2091 * libio/oldiofsetpos.c: Likewise.
2092 * libio/oldiofgetpos.c: Likewise.
2093 * libio/oldiofgetpos64.c: Likewise.
2094 * libio/oldiofsetpos64.c: Likewise.
2095 * libio/oldiopopen.c: Likewise.
2096 * libio/oldpclose.c: Likewise.
2097 * libio/oldtmpfile.c: Likewise.
2098 * libio/freopen.c (freopen): Likewise.
2099 * libio/iofclose.c (_IO_new_fclose): Likewise.
2101 * sysdeps/mach/sys/reboot.h: Include <features.h>.
2102 (reboot): Declare it.
2104 * libio/Makefile (headers): Add bits/stdio-lock.h here.
2106 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
2108 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
2110 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
2111 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
2112 We need this for the sbrk decl, which can be included without Unix98.
2114 2000-03-20 Richard Henderson <rth@cygnus.com>
2116 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
2117 argument to yperr2nss is an int, not size_t.
2118 * posix/regex.c (print_partial_compiled_pattern): Cast all
2119 ptrdiff_t to long for printing.
2120 (print_compiled_pattern): Use Z for printing size_t.
2121 * posix/testfnm.c (tests): Avoid trigraphs.
2122 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
2123 Use a C comment, not an assembly comment.
2125 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
2126 of __ASSUME_32BITUIDS.
2128 2000-03-26 Ulrich Drepper <drepper@redhat.com>
2130 * libio/iofopncook.c: Remove K&R prototypes.
2132 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
2134 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
2135 an initial value of 1024 instead of RLIM_INFINITY.
2137 * Versions.def (libmachuser, libhurduser): Remove these sections,
2138 since these libraries do not presently use symbol versions.
2140 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
2141 is RLIM_INFINITY, return -1 instead.
2143 2000-03-24 Andreas Jaeger <aj@suse.de>
2145 * Makefile (postclean): Added soversions.i.
2147 2000-03-24 Scott Bambrough <scottb@netwinder.org>
2149 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
2150 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
2151 and _FPU_IEEE. Change _FPU_RESERVED.
2153 2000-03-24 Scott Bambrough <scottb@netwinder.org>
2155 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
2157 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
2159 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
2160 (gaih_inet): Remove unused duplicate variable.
2162 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
2163 Don't use __libc_sa_len, which only exists for Linux. Just handle
2164 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
2165 only flavors supported by this function anyway.
2167 2000-03-24 Geoff Clare <gwc@unisoft.com>
2169 * stdlib/strfmon.c: corrected problems with missing signs and
2170 missing or extra spaces; allow for sign strings longer than
2171 one character; add padding to ensure positive and negative
2172 formats are aligned when a left precision is used.
2174 2000-03-26 Ulrich Drepper <drepper@redhat.com>
2176 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
2177 Patch by John Mizel <John.Mizel@msdw.com>.
2179 2000-03-25 Ulrich Drepper <drepper@redhat.com>
2181 * manual/install.texi: Remove references to crypt add-on.
2183 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
2185 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
2186 section while taking the _hurd_rlimit_lock.
2187 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2189 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
2191 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
2194 * sysdeps/mach/hurd/if_index.c: New file.
2196 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
2197 * sysdeps/gnu/net/if.h: here.
2198 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
2199 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
2200 * sysdeps/generic/net/if.h: New file. Declares just the standard
2201 functions and `struct if_nameindex' type.
2202 * socket/Makefile (headers): Add net/if.h here.
2203 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
2204 * sysdeps/mach/hurd/Dist: Remove it here.
2205 * sysdeps/unix/sysv/linux/Dist: And here.
2206 * sysdeps/generic/if_index.c: Include <net/if.h>.
2208 2000-03-24 Andreas Jaeger <aj@suse.de>
2210 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
2211 access relocated entries in l_info.
2212 (elf_machine_got_rel): Likewise.
2213 (elf_machine_runtime_setup): Likewise.
2214 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
2215 (elf_machine_runtime_setup): Likewise.
2216 (__dl_runtime_resolve): Likewise.
2218 2000-03-23 Ulrich Drepper <drepper@redhat.com>
2220 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
2221 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
2222 according to RFC 2553.
2223 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
2224 * inet/getnameinfo.c: Likewise.
2225 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
2227 2000-03-23 Bruno Haible <haible@clisp.cons.org>
2229 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
2230 Remove no-op pointer increment.
2232 2000-03-23 Andreas Jaeger <aj@suse.de>
2234 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
2235 follow change for libio.h from 2000-03-10.
2237 2000-03-23 Andreas Jaeger <aj@suse.de>
2239 * elf/dl-addr.c: Adjust include paths for ldsodefs location
2241 * elf/dl-debug.c: Likewise.
2242 * elf/dl-deps.c: Likewise.
2243 * elf/dl-error.c: Likewise.
2244 * elf/dl-fini.c: Likewise.
2245 * elf/dl-init.c: Likewise.
2246 * elf/dl-load.c: Likewise.
2247 * elf/dl-lookup.c: Likewise.
2248 * elf/dl-minimal.c: Likewise.
2249 * elf/dl-object.c: Likewise.
2250 * elf/dl-open.c: Likewise.
2251 * elf/dl-preinit.c: Likewise.
2252 * elf/dl-profile.c: Likewise.
2253 * elf/dl-profstub.c: Likewise.
2254 * elf/dl-reloc.c: Likewise.
2255 * elf/dl-runtime.c: Likewise.
2256 * elf/dl-support.c: Likewise.
2257 * elf/dl-symbol.c: Likewise.
2258 * elf/dl-version.c: Likewise.
2259 * elf/rtld.c: Likewise.
2260 * elf/sprof.c: Likewise.
2261 * sysdeps/generic/dl-cache.c: Likewise.
2262 * sysdeps/generic/dl-origin.c: Likewise.
2263 * sysdeps/generic/dl-sysdep.c: Likewise.
2264 * sysdeps/generic/elf/backtracesyms.c: Likewise.
2265 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2266 * sysdeps/generic/libc-start.c: Likewise.
2267 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2268 * sysdeps/powerpc/dl-machine.c: Likewise.
2269 * sysdeps/powerpc/elf/libc-start.c: Likewise.
2270 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2271 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2272 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
2274 * elf/ldsodefs.h: Move file to ...
2275 * sysdeps/generic/ldsodefs.h: ... here.
2277 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
2279 * sysdeps/mips/elf/ldsodefs.h: New file.
2281 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
2283 (_dl_check_map_versions): Likewise.
2284 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2285 * elf/dl-load.c (_dl_init_paths): Likewise.
2286 (_dl_map_object): Likewise.
2287 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
2288 (elf_get_dynamic_info): Likewise.
2289 * elf/do-lookup.h (FCT): Likewise.
2290 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
2291 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2292 * elf/dl-addr.c (_dl_addr): Likewise.
2293 * elf/dl-runtime.c (profile_fixup): Likewise.
2295 * elf/dl-init.c (_dl_init_next): Likewise.
2296 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
2297 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
2298 (DISTINGUISH_LIB_VERSIONS): Likewise.
2299 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
2300 (elf_machine_rel): Likewise.
2302 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
2303 for writable dynamic section.
2305 2000-03-22 Ulrich Drepper <drepper@redhat.com>
2307 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
2308 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
2310 2000-03-22 Andreas Jaeger <aj@suse.de>
2312 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
2313 from latest Linux kernel.
2315 2000-03-21 Andreas Jaeger <aj@suse.de>
2317 * Versions.def: Add version 2.1.4.
2319 2000-03-21 Ulrich Drepper <drepper@redhat.com>
2321 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
2322 * libio/oldiofopen.c: Likewise.
2323 * libio/oldiofclose.c: Likewise.
2324 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
2326 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
2328 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
2329 indicating the first version set to obsolete the conditionalized code.
2330 (compat_symbol): New macro.
2331 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
2332 rhs be the ABI_* macro for the subsuming version. Assign increasing
2333 integer values to the ABI_* macros for supported versions.
2334 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
2335 compat_symbol macro.
2337 2000-03-21 Ulrich Drepper <drepper@redhat.com>
2339 * nscd/connections.c (nscd_run): Pretty print.
2340 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
2342 * manual/charset.texi: Fix typos. Rephrase.
2343 * manual/process.texi: Likewise.
2344 * manual/signal.texi: Likewise.
2345 Patches by Mike Coleman <mkc@kc.net>.
2347 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
2349 * libio/iofdopen.c: Likewise.
2350 * libio/iofgetpos.c: Likewise.
2351 * libio/iofgetpos64.c: Likewise.
2352 * libio/iofopen.c: Likewise.
2353 * libio/iofsetpos.c: Likewise.
2354 * libio/iofsetpos64.c: Likewise.
2355 * libio/iopopen.c: Likewise.
2356 * libio/oldiofopen.c: Likewise.
2357 * libio/pclose.c: Likewise.
2358 * sysdeps/gnu/siglist.c: Likewise.
2359 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
2361 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
2362 chance to expand VERSION_##lib##_##version.
2364 * libio/fileops.c: Use new macros from shlib-compat.h to define
2366 * libio/iofclose.c: Likewise.
2367 * libio/oldiofclose.c: Likewise.
2368 Patch by Roland McGrath <roland@frob.com>.
2370 2000-03-21 Jakub Jelinek <jakub@redhat.com>
2372 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
2373 Lay out struct sigcontext according to what really gets passed on
2375 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
2376 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
2377 (prgregset_t, prfpregset_t): Define to elf_* types.
2378 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
2379 Define to correct value.
2380 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
2382 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
2384 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
2386 * scripts/firstversions.awk: Allow multiple version sets in the
2387 "earliest version" specification, meaning that version sets in the
2388 gaps between listed versions should be folded into the earliest later
2389 version that is explicitly listed.
2390 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
2391 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
2393 2000-03-21 Ulrich Drepper <drepper@redhat.com>
2395 * iconv/gconv_builtin.c: Include <endian.h>.
2396 * iconv/gconv_builtin.h: Add UCS-BE aliases.
2397 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
2398 according to current platform.
2399 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
2400 __gconv_transform_internal_ucs2reverse, and
2401 __gconv_transform_internal_ucs4le.
2402 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
2403 __gconv_transform_ucs2reverse_internal and
2404 __gconv_transform_internal_ucs2reverse.
2405 * iconvdata/Makefile (modules): Add UNICODE.
2406 (distribute): Add unicode.c.
2407 * iconvdata/gconv-modules: Add definitions for UNICODE module.
2408 * iconvdata/unicode.c: New file.
2410 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
2411 determine byte order of input and convert accordingly.
2413 * iconvdata/utf-16.c (gconv_init): Fix typo.
2415 2000-03-20 Ulrich Drepper <drepper@redhat.com>
2417 * iconvdata/gconv-modules: Fix typo.
2419 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
2422 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
2424 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
2426 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
2428 2000-03-20 Ulrich Drepper <drepper@redhat.com>
2430 * misc/Makefile (routines): Add mincore.
2432 2000-03-20 Andreas Jaeger <aj@suse.de>
2434 * sysdeps/generic/mincore.c: New stub file.
2436 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
2437 from latest Linux kernel.
2439 2000-03-20 Ulrich Drepper <drepper@redhat.com>
2441 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
2442 _SC_GETPW_R_SIZE_MAX.
2444 2000-03-20 Richard Henderson <rth@cygnus.com>
2446 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
2449 2000-03-20 Richard Henderson <rth@cygnus.com>
2451 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
2452 of arithmetic instructions.
2454 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
2455 with the fpcr. Protect from INV exception.
2456 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
2457 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
2458 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
2460 * sysdeps/alpha/fpu/s_copysign.c: New.
2461 * sysdeps/alpha/fpu/s_copysignf.c: New.
2462 * sysdeps/alpha/fpu/s_fabs.c: New.
2463 * sysdeps/alpha/fpu/s_fabsf.c: New.
2464 * sysdeps/alpha/fpu/s_rint.c: New.
2465 * sysdeps/alpha/fpu/s_rintf.c: New.
2467 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
2469 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
2471 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
2472 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
2473 Use physical addresses not KSEG addresses.
2474 (io_system): Add PYXIS.
2475 (io): Remove hae.reg, sys, hae_shift.
2476 (stb_mb, stw_mb, stl_mb, __sethae): New.
2477 (inline_outb, inline_outw, inline_outl): Don't set hae.
2478 (inline_inb, inline_inw, inline_inl): Likewise.
2479 (dense_sethae): New null function.
2480 (struct cpuinfo_data): New.
2481 (process_cpuinfo): Use local and stack variables, not static.
2482 Move readlink check here from init_iosys.
2483 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
2485 (_hae_shift): Calculate it here.
2486 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
2487 add pciconfig_iobase.
2489 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
2491 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
2492 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
2494 * scripts/versions.awk: Fixed version renaming code to distinguish
2497 2000-03-19 Ulrich Drepper <drepper@redhat.com>
2499 * include/stdlib.h: Add prototype for __cxa_atexit.
2501 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
2502 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
2504 2000-03-17 Cristian Gafton <gafton@redhat.com>
2506 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
2507 existing rtld-installed-name.
2508 ($(rtld-installed-name)): Request libc-$(version) be installed too.
2509 replace existing rtld-installed-name using $(symbolic-link-prog).
2511 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
2513 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
2514 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
2515 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
2518 2000-03-19 Ulrich Drepper <drepper@redhat.com>
2520 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
2521 glob64. Since there is no glob64 in the LFS proposal applications
2522 can assume that glob handles LFS situations. glob64 is only needed
2523 if alternative filesystem functions are used.
2525 2000-03-19 Geoff Clare <gwc@unisoft.com>
2527 * sysdeps/generic/glob.c: Correct gl_pathc value returned
2528 when GLOB_DOOFFS is set; correct handling of patterns
2529 containing escaped wildcards (and no unescaped ones);
2530 GLOB_ERR flag was being ignored in some situations.
2532 * posix/globtest.c, posix/globtest.sh: Updated to include
2533 tests for the problems fixed by the above changes to glob.c.
2535 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
2537 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
2539 * Makeconfig (soversion.i): Use only first match for each lib.
2541 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
2543 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
2544 rather than $(sysd-dirs-done) to protect these rules.
2546 * Makerules (version-renames.def): Target removed.
2547 (Versions.all): Depend on soversions.i directly and parse it.
2549 * Makeconfig (soversions.i): New target, input-reading parts of
2550 soversions.mk generation moved here; result is a canonicalized
2551 list "LIB VERSION [SET]" for this configuration.
2552 (soversions.mk): Use that as input. Don't emit map-firstversions.
2553 * Makerules (version-renames.def): New target, generated from
2554 soversions.i with contents that was in $(map-firstversions).
2555 (Versions.all): Don't depend on soversions.mk, depend on
2556 version-renames.def instead; just cat it into the input.
2558 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
2559 for $(map-firstversions), which better handles it being empty.
2561 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
2562 supported version for libc 0.2.90.libio to GLIBC_2.2.
2564 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
2565 and use it to emit new variable `map-firstversions'.
2566 * scripts/firstversions.awk: New file.
2567 * Makerules (Versions.all): Use scripts/firstversions.awk and
2568 the $(map-firstversions) value to generate a modified versions list
2569 that includes renames in "A = B" syntax for each version set earlier
2570 than the "earliest symbol version" named in shlib-versions.
2571 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
2572 rename version set A to B in the output to the intermediate file.
2573 * scripts/abi-versions.awk: New file.
2574 * Makerules (abi-versions.h): New target, generated by that script.
2575 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
2576 * include/shlib-compat.h: New file, uses that generated header.
2578 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
2580 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
2581 after stripping # comments, and then run it through cpp.
2582 This allows things like "%ifdef FOO" based on config.h settings.
2583 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
2585 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
2586 and other errors that indicate a pseudo-receive happened, grok through
2587 the message buffer for port rights that need references fixed up.
2589 2000-03-16 Andreas Jaeger <aj@suse.de>
2591 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
2593 * sysdeps/unix/sysv/linux/madvise.c: Remove.
2595 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
2596 from latest Linux kernel.
2597 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
2599 * misc/sys/mman.h: Add prototype for mincore.
2601 2000-03-17 Ulrich Drepper <drepper@redhat.com>
2603 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
2604 entry for GLIBC_2.0 version of setrlimit.
2605 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2607 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
2609 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
2610 * nis/nss_compat/compat-initgroups.c: Likewise.
2611 * nis/nss_nis/nis-initgroups.c: Likewise.
2612 * nis/nss_nis/nis-netgrp.c: Likewise.
2613 * nis/nss_nis/nis-proto.c: Likewise.
2614 * nis/nss_nis/nis-rpc.c: Likewise.
2615 * nis/nss_nis/nis-service.c: Likewise.
2616 * nis/ypclnt.c: Likewise.
2618 2000-03-16 Andreas Jaeger <aj@suse.de>
2620 * manual/Makefile: MAKEINFO is set to `:' from configure if it
2621 doesn't exist, correct checks. Fixes PR libc/1649.
2623 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
2625 * nscd/hstcache.c: Restore correct UID.
2626 * nscd/pwdcache.c: Likewise.
2627 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
2629 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
2631 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
2632 macros for register names, in line with 2000-03-14 linux change.
2634 * sysdeps/mach/sched_yield.c: New file.
2636 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
2638 * sysdeps/generic/lockfile.c: Include <stdio.h>
2639 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
2640 case <libio.h> defined them.
2641 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
2643 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
2644 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
2646 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
2647 for more pleasing parse error.
2649 2000-03-16 Ulrich Drepper <drepper@redhat.com>
2651 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
2653 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2655 * elf/Makefile: Add rules to compile and run constload1 test.
2656 * elf/constload1.c: New file.
2657 * elf/constload2.c: New file.
2658 * elf/constload3.c: New file.
2660 2000-03-15 Ulrich Drepper <drepper@redhat.com>
2662 * sysdeps/posix/open64.c: Make __open64 weak alias.
2663 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
2664 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2665 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
2666 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2667 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
2668 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
2669 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2670 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
2671 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2672 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
2674 2000-03-14 Ulrich Drepper <drepper@redhat.com>
2676 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
2677 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
2679 2000-03-16 Mark Kettenis <kettenis@gnu.org>
2681 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
2682 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
2684 2000-03-08 Andreas Jaeger <aj@suse.de>
2686 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
2688 2000-03-14 Ulrich Drepper <drepper@redhat.com>
2690 * timezone/africa: Update from tzdata2000d.
2691 * timezone/asia: Likewise.
2692 * timezone/australasia: Likewise.
2693 * timezone/europe: Likewise.
2694 * timezone/northamerica: Likewise.
2695 * timezone/southamerica: Likewise.
2697 * po/fr.po: Update from translation team.
2698 * po/de.po: Likewise.
2700 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
2701 last parameter. Move code to add map to global scope from here...
2702 * elf/dl-open.c (dl_open_worker): ...here.
2703 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
2704 * elf/rtld.c: Adjust call to _dl_map_object_deps.
2706 * locale/programs/ld-collate.c (collate_read): Fix warning.
2708 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
2709 values and macros for register names.
2711 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
2712 returned by seek cookie function is -1.
2714 2000-03-14 Andreas Jaeger <aj@suse.de>
2716 * locale/localeconv.c (localeconv): Fix typo.
2717 Reported by Andre Charbonneau <andrec@corel.com>.
2719 2000-03-14 Ulrich Drepper <drepper@redhat.com>
2721 * iconv/skeleton.c: Increment __invocation_counter in inner loop
2722 since modules depend on it counting the number of times the conversion
2723 function got called.
2725 * iconv/gconv_open.c: Optimize loop to setup step data structure.
2727 * iconv/gconv.h: Pretty print.
2729 2000-03-04 Ulrich Drepper <drepper@redhat.com>
2731 * posix/wordexp-test.c: Correct one of the tests added in the last
2732 change. Really get the root passwd entry to check again ~root.
2734 2000-03-10 Andreas Jaeger <aj@suse.de>
2736 * manual/filesys.texi (Working Directory): Fix last patch.
2737 Patch by Martin Buchholz <martin@xemacs.org>.
2739 2000-03-10 Andreas Jaeger <aj@suse.de>
2741 * manual/creature.texi (Feature Test Macros): Fix language.
2743 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
2745 * mach/devstream.c (devstream_write, devstream_read): New functions.
2746 (input, output): Functions removed.
2747 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
2748 using only the vanilla fopencookie interface.
2750 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
2751 as macro for __io_functions.
2752 (funcsio): Use cookie_io_functions_t type name.
2753 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
2755 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
2757 (fopencookie): Use it.
2758 * libio/libio.h: Declare _IO_cookie_init.
2759 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
2762 * libio/libio.h (__io_seek_fn): Fix second argument type
2763 to be a pointer, in line with the manual and the old stdio.
2764 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
2766 * sysdeps/generic/bits/stdio-lock.h: New file.
2767 This is a stub with #error, but that's better than no file at all.
2769 2000-03-09 Martin Buchholz <martin@xemacs.org>
2771 * sysdeps/unix/sysv/linux/alpha/syscall.S:
2772 * manual/message.texi (Using gettextized software):
2773 * manual/message.texi (Message Translation): Doc Fixes.
2774 * manual/filesys.texi (File Size):
2775 * manual/charset.texi (glibc iconv Implementation):
2776 * locale/programs/ld-collate.c (collate_output):
2777 * iconv/gconv_db.c (find_derivation):
2778 * manual/install.texi:
2779 * manual/search.texi (Hash Search Function):
2780 * manual/stdio.texi (Output Conversion Syntax):
2783 * sysdeps/generic/dl-sysdep.c:
2784 Doc Fixes. `allows to' is not correct English.
2786 * elf/rtld.c: Doc fixes.
2787 * manual/creature.texi (Feature Test Macros): Doc fixes.
2788 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
2790 * manual/filesys.texi (Working Directory): Check for ERANGE to
2793 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
2795 * string/argz-stringify.c (__argz_stringify): Fix loop termination
2796 conditions so as not to clobber the final '\0' when there is only one
2797 element in the vector.
2799 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
2801 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
2802 broken by 2000-02-27 change.
2804 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
2806 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
2808 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
2809 argument type, for 2000-02-22 change in signal/signal.h declaration.
2811 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
2813 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
2814 to getdirentries64 (no __), since the Linux implementation
2815 has no __ name, and there is no declaration for the __ name.
2817 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
2819 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
2820 sed regexp so as not to break directory names including /../ within.
2822 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
2823 The sysdeps/generic file is right for BSD. This file was in fact the
2824 Hurd file, but the only difference was the WNOREAP flag that was never
2825 actually implemented or used anywhere.
2827 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
2828 since AC_PATH_PROG already does it for us.
2829 (PERL): Rewrite check added in 2000-02-29 change for syntactic
2830 correctness and sh portability. I replaced the broken check
2831 with a more sensible implementation of the apparently intended
2832 semantics, which might still be questionable. Using expr causes
2833 a non-numeric value for `perl -V:apiversion` to be accepted,
2834 refusing to use only a perl that reports a number less than 5;
2835 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
2836 * configure: Regenerated.
2838 2000-03-08 Andreas Jaeger <aj@suse.de>
2840 * manual/crypt.texi: Fix paths.
2842 2000-03-07 Andreas Jaeger <aj@suse.de>
2844 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
2846 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
2849 2000-03-06 Andreas Jaeger <aj@suse.de>
2851 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
2852 in __sgn1l, otherwise g++ fails to parse this.
2853 Reported by Sean Chen <sean.chen@turbolinux.com>.
2855 2000-03-03 Geoff Keating <geoffk@cygnus.com>
2857 * configure.in: Compute sizeof-long-double.
2858 * configure: Regenerated.
2859 * config.make.in: Make sizeof-long-double available to sub-makes.
2861 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
2863 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
2866 2000-03-03 Geoff Keating <geoffk@cygnus.com>
2868 * Makeconfig (rpath-dirs): Add crypt.
2869 (all-subdirs): Remove md5crypt.
2870 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
2871 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
2872 * sysdeps/generic/crypt-entry.c: Delete.
2873 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
2874 * sysdeps/generic/crypt.h: Delete.
2875 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
2876 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
2877 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
2878 * sysdeps/generic/des_impl.c: Delete.
2879 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
2880 * crypt/sysdeps: Delete.
2881 * crypt/crypt_util.c: Don't use `patchlevel.h'.
2882 * md5-crypt/Versions: Move to crypt/.
2883 * md5-crypt/md5-crypt.c: Move to crypt/.
2884 * md5-crypt/md5.c: Move to crypt/.
2885 * md5-crypt/md5c-test.c: Move to crypt/.
2886 * md5-crypt/md5test.c: Move to crypt/.
2887 * md5-crypt: Delete.
2888 * crypt/Makefile: Adjust for new structure.
2890 2000-03-03 Paul Eggert <eggert@twinsun.com>
2892 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
2893 define to 1 if not defined.
2895 2000-03-03 Andreas Jaeger <aj@suse.de>
2897 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
2899 2000-03-03 Andreas Jaeger <aj@suse.de>
2901 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
2903 (xdr_int64_t): Correctly handle lower half.
2904 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
2906 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
2908 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
2911 2000-03-02 Andreas Jaeger <aj@suse.de>
2913 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
2916 2000-03-02 Andreas Jaeger <aj@suse.de>
2918 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
2920 2000-03-01 Andreas Jaeger <aj@suse.de>
2922 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
2923 (tests): Added tst-getdate.
2925 * time/tst-getdate.c: New file.
2927 * time/datemsk: New file, needed for tst-getdate.
2929 2000-02-29 Cristian Gafton <gafton@redhat.com>
2931 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
2933 2000-02-17 H.J. Lu <hjl@gnu.org>
2935 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
2937 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
2939 (svcudp_recv): Set up message with the new "xp_pad" field for
2941 (svcudp_reply): Support IP_PKTINFO if available.
2943 2000-03-01 Andreas Jaeger <aj@suse.de>
2945 * time/getdate.c (check_mday): Fix check for february.
2946 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
2947 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
2949 2000-03-02 Andreas Jaeger <aj@suse.de>
2951 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
2952 g++ fails to parse this.
2953 Reported by Sean Chen <sean.chen@turbolinux.com>.
2955 2000-02-28 Ulrich Drepper <drepper@redhat.com>
2957 * io/creat.c: Moved to...
2958 * sysdeps/generic/creat.c: ...here.
2959 * io/creat64.c: Moved to...
2960 * sysdeps/generic/creat64.c: ...here.
2961 * io/lockf.c: Moved to...
2962 * sysdeps/generic/lockf.c: ...here.
2964 * crypt/crypt.texi: Moved to...
2965 * manual/crypt.texi: ...here.
2966 * crypt/examples/genpass.c: Moved to...
2967 * manual/examples/genpass.c: ...here.
2968 * crypt/examples/mygenpass.c: Moved to...
2969 * manual/examples/mygenpass.c: ...here.
2970 * crypt/examples/testpass.c: Moved to...
2971 * manual/examples/testpass.c: ...here.
2973 * manual/Makefile (chapters): Add crypt.
2974 * manual/conf.texi: Add usual header for not-last chapter.
2975 * manual/crypt.texi: Add special header for last chapter.
2977 2000-02-28 Geoff Keating <geoffk@cygnus.com>
2979 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
2980 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
2981 complain if there is no crypt add-on.
2982 * crypt/configure: Removed.
2984 * crypt/crypt.texi: Update documentation of US export restrictions
2985 to match the 14 Jan 2000 regulations.
2987 2000-02-28 Geoff Keating <geoffk@cygnus.com>
2989 * crypt: New subdirectory, merged in from the crypt add-on.
2991 2000-02-28 Ulrich Drepper <drepper@redhat.com>
2993 * include/unistd.h: Add __rmdir and __mkdir prototypes.
2996 See ChangeLog.10 for earlier changes.