Update.
[platform/upstream/glibc.git] / ChangeLog
1 2000-05-19  Andreas Jaeger  <aj@suse.de>
2
3         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
4         (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
5         breaks compilation without linuxthreads.
6
7 2000-05-21  Ulrich Drepper  <drepper@redhat.com>
8
9         * sysdeps/ia64/memccpy.S: New file.
10         * sysdeps/ia64/memchr.S: New file.
11         * sysdeps/ia64/memcmp.S: New file.
12         * sysdeps/ia64/memcpy.S: New file.
13         * sysdeps/ia64/memmove.S: New file.
14         * sysdeps/ia64/memset.S: New file.
15         * sysdeps/ia64/strcat.S: New file.
16         * sysdeps/ia64/strchr.S: New file.
17         * sysdeps/ia64/strcmp.S: New file.
18         * sysdeps/ia64/strcpy.S: New file.
19         * sysdeps/ia64/strlen.S: New file.
20         * sysdeps/ia64/strncmp.S: New file.
21         * sysdeps/ia64/strncpy.S: New file.
22         * sysdeps/ia64/softpipe.h: New file.
23         Patches by Dan Pop <Dan.Pop@cern.ch>.
24
25         * manual/memory.texi: Document memory handling functions (mlock,
26         munlock, mlockall, munlockall, brk, and sbrk)
27         * manual/time.texi: Document timespec and friends.
28         * manual/conf.texi: Fix references.
29         * manual/ctype.texi: Likewise.
30         * manual/errno.texi: Likewise.
31         * manual/intro.texi: Likewise.
32         * manual/locale.texi: Likewise.
33         * manual/sysinfo.texi: Likewise.
34         Patches by Bryan Henderson <bryanh@giraffe-data.com>.
35
36 2000-05-09  Jes Sorensen  <jes@linuxcare.com>
37
38         * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
39         * sysdeps/ia64/dl-lookupcfg.h: ...here.
40
41 2000-05-21  Jakub Jelinek  <jakub@redhat.com>
42
43         * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
44         dxfer_direction.
45
46 2000-05-21  Ulrich Drepper  <drepper@redhat.com>
47
48         * locale/locale.h (struct lconv): Add new elements from ISO C99.
49         * locale/localeconv.c: Initialize new elements from ISO C99.
50         * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
51         new standard elements.
52         * locale/categories.def: Adjust accordingly.
53
54         * iconv/iconv.h (iconv): Remove const from inbuf parameter.
55         * iconv/iconv.c: Likewise.
56         * conform/data/iconv.h-data: Likewise.
57         * iconv/iconv_prog.c (process_block): Remove const from second
58         parameter.
59         (main): Remove const from addr definition.
60         * manual/charset.texi (Generic Conversion Interface): Remove from
61         inbuf parameter of iconv.
62
63         * intl/dcigettext.c: Fix typo in comment.
64
65 2000-05-20 2000  H.J. Lu  <hjl@gnu.org>
66
67         * resolv/res_libc.c (_res): Initialize _sock to -1.
68
69 2000-05-18  Jakub Jelinek  <jakub@redhat.com>
70
71         * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
72         (fopencookie@@GLIBC_2.2): New.
73         (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
74         (fopencookie@GLIBC_2.0): New.
75         * libio/Versions: Add fopencookie to GLIBC_2.2.
76
77 2000-05-18  Andreas Jaeger  <aj@suse.de>
78
79         * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
80         Closes PR libc/1731.
81
82         * manual/arith.texi (Parsing of Integers): Fix typo.
83         Closes PR libc/1744, reported by blp@gnu.org.
84
85 2000-05-17  Jakub Jelinek  <jakub@redhat.com>
86
87         * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
88         __extension__ to hexadecimal floating constant notation.
89         * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
90         Likewise.
91         * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
92         * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
93         Likewise.
94         * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
95         HUGE_VALL): Likewise.
96         * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
97         HUGE_VALL): Likewise.
98         (HUGE_VALL): Set to HUGE_VAL on sparc32.
99
100 2000-05-17  Andreas Jaeger  <aj@suse.de>
101
102         * string/envz.h: Add pure attributes if possible.
103
104         * string/argz.h: argz_count is a pure function.
105
106         * string/strings.h: Add pure and const attributes if possible.
107
108         * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
109         possibly searching through the whole memory.
110         Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
111
112 2000-05-17  Jakub Jelinek  <jakub@redhat.com>
113
114         * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
115         not yet defined.
116         (_dl_cache_check_flags): Likewise.
117         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
118         dl-cache.h.
119
120 2000-05-17  Andreas Jaeger  <aj@suse.de>
121
122         * manual/creature.texi (Feature Test Macros): Remove paragraph
123         since the description is wrong.
124         Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
125
126         * scripts/config.sub: New version.
127         * scripts/config.guess: Likewise.
128         * manual/texinfo.tex: Likewise.
129
130         * time/test_time.args: Removed.
131         * time/Makefile (test_time-ARGS): Added contents here instead.
132
133         * posix/tstgetopt.args: Removed.
134         * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
135
136         * Rules: Allow arguments for test files to be specified in
137         Makefile with testname-ARGS; remove rules with .args in it.
138
139         * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
140         remove old bogus rule for opendir-tst1.args.
141
142         * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
143
144         * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
145         into objdir.  This allows a readonly sourcetree.
146         Reported by lrgallardo@yahoo.com, closes PR libc/1421.
147
148 2000-05-16  Andreas Jaeger  <aj@suse.de>,
149             David Huggins-Daines <dhd@linuxcare.com>
150
151         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
152         cache_data in case of only new cache format correctly.
153
154         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
155         cache_file_new.
156
157         * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
158         struct cache_file_new.
159
160         * elf/cache.c (save_cache): Fix str_offset if only new cache is
161         present.
162
163         * elf/cache.c (save_cache): Align struct new_file_cache.
164         (print_cache): Likewise.
165
166 2000-05-13  Jakub Jelinek  <jakub@redhat.com>
167
168         * elf/soinit.c (__libc_global_ctors): Move
169         __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
170         * resolv/resolv.h (__res_state): Added __attribute__((const)).
171         (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
172         variable, don't define it to __res_state call.
173
174 2000-05-13  Andreas Jaeger  <aj@suse.de>
175
176         * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
177         Linux 2.3.99pre7.
178         (AF_PPPOX): Likewise.
179         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
180         (AF_PPPOX): Likewise.
181
182 2000-05-12  Andreas Jaeger  <aj@suse.de>
183
184         * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
185         Reported by tmoestl@gmx.net, closes PR libc/1732.
186
187 2000-05-11  Jan Hubicka  <jh@suse.cz>
188
189         * misc/sys/cdefs.h: Add support for pure attribute.
190
191         * include/string.h: Add __attribute_pure__ to various functions.
192         * string/string.h: Likewise.
193
194 2000-05-10  Jakub Jelinek  <jakub@redhat.com>
195
196         * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
197         argument.
198         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
199         R_SPARC_UA64.
200         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
201
202 2000-05-10  Jakub Jelinek  <jakub@redhat.com>
203
204         * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
205         at proper place.  Compute the high nibble correctly.
206
207 2000-05-09  Jakub Jelinek  <jakub@redhat.com>
208
209         * elf/ldconfig.c: Include elf.h.
210
211         * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
212         (_dl_vsym): Likewise.
213         Reported by Owen Taylor <otaylor@redhat.com>.
214
215         * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
216         always.
217
218 2000-05-08  Andreas Jaeger  <aj@suse.de>
219
220         * include/libintl.h: Add prototype for __bind_textdomain_codeset.
221
222         * intl/bindtextdom.c (set_binding_values): Add prototype.
223
224 2000-05-08  Jakub Jelinek  <jakub@redhat.com>
225
226         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
227         call to elf_machine_fixup_plt.
228         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
229         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
230
231 2000-05-08  Jakub Jelinek  <jakub@redhat.com>
232
233         * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
234         they are not dlclose'd from underneath us.
235
236 2000-05-08  Andreas Schwab  <schwab@suse.de>
237
238         * posix/execle.c: Fix size parameter of memcpy.
239
240 2000-05-08  Andreas Schwab  <schwab@suse.de>
241
242         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file.  Use
243         getpagesize syscall if available.
244
245 2000-05-08  Andreas Jaeger  <aj@suse.de>
246
247         * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
248         set errno.
249
250 2000-05-08  Jakub Jelinek  <jakub@redhat.com>
251
252         * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
253         sizeof(struct link_map *) chunks, not in bytes.
254
255 2000-05-07  Ulrich Drepper  <drepper@redhat.com>
256
257         * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS.  It's
258         only needed for locale.
259         * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
260         It's only needed for catgets.
261         Patches by Greg McGary <gkm@eng.ascend.com>.
262
263 2000-05-07  Mark Kettenis  <kettenis@gnu.org>
264
265         * nss/nss_db/db-open.c: Cleanup and add comments.  Pretty print.
266         Remove duplicate <errno.h> include.  Remove inclusion of
267         <libintl.h> and "nsswitch.h".
268         (set_cloexec_flag): New function, broken out of dbopen.
269         (dbopen): Changed return type to `enum
270         nss_status'.  Mostly rewritten to make sure that we do not report
271         NSS_STATUS_SUCCESS if something went wrong.  Remove unnecessary casts.
272         (internal_setent): Change return type to nss_status.
273         Document, and make sure that the function
274         behaves accordingly.  Make dynamically loading the database
275         library really thread-safe and return NSS_STATUS_UNAVAIL if it
276         failed.
277         (db_cursor): Return ENOMEM is memory allocation failed.  Remove
278         unecessary casts.
279         * nss/nss_db/dummy-db.h: Add copyright notice.  Improve
280         documentation.
281         (struct dbc24, struct dbc27): Use DBT type in parameter lists for
282         c_get function member.
283         * nss/nss_db/nss_db.h: Add and tweak some comments.
284         (DBT): Move typedef before NSS_DBC typedef.
285         (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
286
287 2000-05-07  H.J. Lu  <hjl@gnu.org>
288
289         * csu/initfini.c: Moved to ....
290         * sysdeps/generic/initfini.c: ...here.
291
292         * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
293
294 2000-05-07  Ulrich Drepper  <drepper@redhat.com>
295
296         * manual/resource.texi: Document POSIX scheduling functions.
297         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
298
299         * inet/rcmd.c (rcmd_af): errno is not set if read returns without
300         reading anything.  Reported by Andries.Brouwer@cwi.nl.
301
302         * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
303         for x since promotion in comparison might leads to unexpected
304         results.  Reported by Dan Pop <Dan.Pop@cern.ch>.
305
306         * iconv/Makefile (tests): Add tst-iconv1.
307         * iconv/tst-iconv1.c: New file.
308         * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
309         empty input buffer over full output buffer.
310         (ucs4_internal_loop): Likewise.
311         (ucs4_internal_loop_unaligned): Likewise.
312         (internal_ucs4le_loop): Likewise.
313         (internal_ucs4le_loop_unaligned): Likewise.
314         (ucs4le_internal_loop): Likewise.
315         (ucs4le_internal_loop_unaligned): Likewise.
316         Reported by yaoz@nih.gov.
317
318 2000-05-06  Bruno Haible  <haible@clisp.cons.org>
319
320         * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
321         returned != __GCONV_OK, there is nothing to clean up.
322
323 2000-05-06  Bruno Haible  <haible@clisp.cons.org>
324
325         * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
326         OUTPUT_CHARSET environment variables.
327
328 2000-05-06  Andreas Jaeger  <aj@suse.de>
329
330         * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
331         (struct cache_file_new): New.
332         (struct file_entry): New (moved from cache.c).
333         (struct cache_file): New (moved from cache.c).
334
335         * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
336         from _dl_load_cache_lookup.
337         (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
338         the different cache formats.
339         New variable cache_new for new format.
340
341         * elf/ldconfig.h: Change according to changes in cache.c and
342         ldconfig.c; remove cache_libcmp; add opt_format.
343
344         * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
345         stuff that's defined in those headers.
346         Add hwcap to struct lib_entry.
347         (opt_format): New variable to select cache format.
348         (options): Add format parameter.
349         (is_hwcap): New function.
350         (path_hwcap): New function.
351         (parse_opt): Handle new format parameter.
352         (search_dir): Handle hwcap, search also subdirectories with hwcap.
353
354         * elf/cache.c (_GNU_SOURCE): Removed.  Not needed anymore since
355         ldconfig is part of glibc.
356         Include dl-cache.h and remove stuff that's defined there.
357         (struct cache_entry): Add new member hwcap.
358         (print_entry): Print hwcap, cleanup a bit.
359         (print_cache): Print new and old formats.
360         (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
361         (save_cache): Save new and old formats.
362         (add_to_cache): Handle hwcap.
363
364         * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
365         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
366         * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
367         * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
368         * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
369         * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
370
371 2000-05-05  Bruno Haible  <haible@clisp.cons.org>
372
373         * intl/dcigettext.c (alignof): New macro.
374         (_nl_find_msg): Use it instead of __alignof__. Pass correct output
375         buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
376         freemem_size to 0.
377
378 2000-05-05  Bruno Haible  <haible@clisp.cons.org>
379
380         * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
381         return value.
382
383 2000-05-06  Ulrich Drepper  <drepper@redhat.com>
384
385         * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
386         (mempcpy): Correct typo is parameter list.
387
388 2000-05-06  Andreas Jaeger  <aj@suse.de>
389
390         * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
391         functions unless -ffast-math is given to gcc.
392
393 2000-05-06  Ulrich Drepper  <drepper@redhat.com>
394
395         * po/ko.po: Update from translation team.
396
397 2000-05-05  Ulrich Drepper  <drepper@redhat.com>
398
399         * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
400         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
401         * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
402         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
403         * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
404         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
405
406         * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
407         * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
408         * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
409
410         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
411         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
412         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
413         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
414
415         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
416         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
417
418 2000-05-05  Jes Sorensen  <jes@linuxcare.com>
419
420         * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
421         * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
422
423         * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
424         * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
425
426         * sysdeps/ia64/Implies: New file.
427         * sysdeps/ia64/Versions: New file.  Declare _dl_symbol_address.
428         * sysdeps/ia64/Makefile: New file.
429         * sysdeps/ia64/gmp-mparam.h: New file,
430
431         * sysdeps/ia64/elf/start.S: New file.
432
433         * sysdeps/ia64/bits/fenv.h: New file.
434
435 2000-05-05  David Mosberger-Tang  <davidm@hpl.hp.com>
436
437         * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
438
439 2000-04-26  Jes Sorensen  <Jes.Sorensen@cern.ch>
440
441         * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file.  The
442         ia64 has 64 bit .hash entries just as the Alpha.
443
444 2000-04-25  Jes Sorensen  <Jes.Sorensen@cern.ch>
445
446         * sysdeps/ia64/memprof.h: New file.  Provide GETSP() macro.
447
448 2000-04-17  Jes Sorensen  <Jes.Sorensen@cern.ch>
449
450         * sysdeps/ia64/fpu/fclrexcpt.c: New file.
451         * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
452         * sysdeps/ia64/fpu/feenablxcpt.c: New file.
453         * sysdeps/ia64/fpu/fegetenv.c: New file.
454         * sysdeps/ia64/fpu/fegetexcept.c: New file.
455         * sysdeps/ia64/fpu/fegetround.c: New file.
456         * sysdeps/ia64/fpu/feholdexcpt.c: New file.
457         * sysdeps/ia64/fpu/fesetenv.c: New file.
458         * sysdeps/ia64/fpu/fesetround.c: New file.
459         * sysdeps/ia64/fpu/feupdateenv.c: New file.
460         * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
461         * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
462         * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
463         * sysdeps/ia64/fpu/ftestexcept.c: New file.
464
465 2000-05-05  Andreas Jaeger  <aj@suse.de>
466
467         * misc/tst-tsearch.c (main): Correct type for initstate argument.
468
469         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
470         (_dl_string_hwcap): New, does nothing.
471
472         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
473         (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
474         (_dl_string_hwcap): New function, converts from string to hwcap
475         encoding.
476         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
477         (_DL_HWCAP_COUNT): New.
478         (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
479         (_dl_string_hwcap): New function, converts from string to hwcap
480         encoding.
481         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
482         (_DL_HWCAP_COUNT): New.
483         (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
484         (_dl_string_hwcap): New function, converts from string to hwcap
485         encoding.
486
487 2000-05-05  Ulrich Drepper  <drepper@redhat.com>
488
489         * elf/Makefile (distribute): Add dl-lookupcfg.h.
490         * sysdeps/ia64/Dist: New file.
491
492         * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
493         parameter to mprotect and for variable assignments.
494
495 2000-05-03  Jes Sorensen  <jes@linuxcare.com>
496
497         * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
498         validity of map before dereferencing it.
499
500         * elf/dl-reloc.c (RESOLVE_MAP): Define.
501
502 2000-05-02  Jes Sorensen  <jes@linuxcare.com>
503
504         * elf/dl-runtime.c (fixup): Add the value returned in the symbol
505         lookup to the arguments to elf_machine_fixup_plt().
506
507         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
508         of the symbol being resolved to input argument list and make the
509         function return the pointer to the reloc.
510
511         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
512         return valuie to lookup_t and return the value.
513         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
514         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
515         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
516         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
517         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
518         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
519
520         * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
521         Make it an inline function returning value after calling
522         __elf_machine_fixup_plt().
523
524         * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
525         symbol address.
526
527         * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
528         obtain the symbol address.
529
530         * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
531         depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
532
533         * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
534         _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
535         inline on non ia64.
536
537 2000-04-28  Jes Sorensen  <jes@linuxcare.com>
538
539         * elf/dl-runtime.c (fixup): Use the portable macros to get the
540         symbol address of an object.
541
542         * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
543         the symbol address of an object.
544
545         * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
546         * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
547         (_dl_lookup_symbol_skip): Likewise.
548         (_dl_lookup_versioned_symbol): Likewise.
549         (_dl_lookup_versioned_symbol_skip): Likewise.
550
551 2000-04-27  Jes Sorensen  <jes@linuxcare.com>
552
553         * elf/rtld.c (_dl_start): Get the function pointer return address
554         via _dl_start_address for architectures that need a function
555         pointer descriptor rather than just a pointer (ia64).
556
557         * sysdeps/generic/dl-lookupcfg.h: New file.
558         * sysdeps/ia64/dl-lookupcfg.h: New file.
559         * sysdeps/ia64/dl-machine.h: New file.
560         * sysdeps/ia64/dl-symaddr.c: New file.
561         * sysdeps/ia64/dl-fptr.c: New file.
562
563         * elf/elf.h: Add IA-64 specific definitions.
564
565 2000-05-04  Jakub Jelinek  <jakub@redhat.com>
566
567         * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
568         end of enum.
569
570 2000-05-04  Jakub Jelinek  <jakub@redhat.com>
571
572         * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
573         happy.
574
575 2000-04-11  Geoff Keating  <geoffk@cygnus.com>
576
577         * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
578         symbol.  Call _dl_init rather than the old way.
579
580 2000-05-04  Ulrich Drepper  <drepper@redhat.com>
581
582         * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
583         test for pointer in range of DSO address space.
584
585 2000-05-04  Andreas Jaeger  <aj@suse.de>
586
587         * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
588
589 2000-05-03  Ulrich Drepper  <drepper@redhat.com>
590
591         * locale/findlocale.c (_nl_find_locale): Add new parameter to
592         calls of _nl_make_l10nflist.
593
594         * libio/stdio.h: Make fseeko and ftello prototypes available is
595         __USE_LARGEFILE.  Patch by Paul Eggert <eggert@twinsun.com>.
596
597         * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
598         real unsetenv implementation from 1999-07-29 [PR libc/1714].
599
600 2000-05-03  Bruno Haible  <haible@clisp.cons.org>
601
602         * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
603         before calling tfind.
604
605 2000-03-05  Jakub Jelinek  <jakub@redhat.com>
606
607         * resolv/resolv.h (res_querydomain): Remove redefinition to
608         __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
609
610 2000-05-03  Ulrich Drepper  <drepper@redhat.com>
611
612         * po/gl.po: Update from translation team.
613
614         * manual/intro.texi (Program Basics): Change section title.
615         * manual/process.texi: Fix reference.
616         (Executing a File): Add reference exec in other section.
617         * manual/signal.texi: Fix reference.
618         * manual/startup.texi: Document syscall function.
619         Patches by Bryan Henderson <bryanh@giraffe-data.com>.
620
621 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
622
623         * intl/libintl.h (bind_textdomain_codeset): New declaration.
624         * intl/bindtextdom.c (set_binding_values): New function.
625         (bindtextdomain): Call it.
626         (bind_textdomain_codeset): New function.
627         * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
628         (free_mem): Free each binding's codeset.
629         * intl/gettextP.h (struct binding): Add codeset field.
630         (_nl_find_domain): Add domainbinding argument.
631         * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
632         Pass it to _nl_make_l10nflist.
633         * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
634         (_nl_make_l10nflist): Add domainbinding argument.
635         * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
636         * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
637         codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
638         locale_charset().
639         * manual/message.texi: New node "Charset conversion in gettext".
640
641 2000-04-30  Bruno Haible  <haible@clisp.cons.org>
642
643         * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
644         appropriate.  Handle possible __read error.
645
646 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
647
648         * intl/gettextP.h (__builtin_expect): Define as empty if not a
649         compiler builtin.
650         * intl/loadinfo.h (__builtin_expect): Likewise.
651         * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
652         __builtin_expect where appropriate.
653         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
654         * intl/localealias.c (extend_alias_table): Return an error indicator.
655         (read_alias_file): Bail out if extend_alias_table fails.
656
657 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
658
659         * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
660         * intl/localealias.c: Likewise.
661
662 2000-05-01  Bruno Haible  <haible@clisp.cons.org>
663
664         * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
665         Initialize domain->plural and domain->nplurals even if there is no
666         nullentry.
667
668 2000-05-01  Bruno Haible  <haible@clisp.cons.org>
669
670         * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
671         value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
672         In case of failure, goto converted.
673
674 2000-05-01  Bruno Haible  <haible@clisp.cons.org>
675
676         * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
677         * iconv/gconv_int.h (norm_add_slashes): Move to here.
678         * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
679         __gconv_open.
680
681 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
682
683         * intl/dcigettext.c (transcmp): Compare the domains as well.
684         (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
685         not before.
686         * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
687         <errno.h>.
688
689 2000-05-03  Ulrich Drepper  <drepper@redhat.com>
690
691         * string/bits/string2.h: Declare __strdup and __strndup if necessary.
692         Reported by Bruno Haible.
693
694 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
695
696         * manual/arith.texi: Remove @w from @itemize.
697
698 2000-05-02  Andreas Jaeger  <aj@suse.de>
699
700         * conform/data/tar.h-data: Add some checks for specific values.
701
702         * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
703         and RAND_MAX.
704
705         * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
706         FOPEN_MAX.
707
708         * conform/data/netinet/in.h-data: Add exact checks for the values
709         fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
710
711         * conform/data/float.h-data: Add some minimal values.
712
713         * conform/conformtest.pl: Test for macros with string constants,
714         check for minimum and maximum values.
715         Add limits.h to headers.
716
717         * conform/data/cpio.h-data: Test for value of MAGIC.
718
719         * conform/data/limits.h-data: New file.
720
721 2000-04-30  Bruno Haible  <haible@clisp.cons.org>
722
723         * math/Makefile (headers): Add bits/fenvinline.h.
724
725 2000-05-01  Ulrich Drepper  <drepper@redhat.com>
726
727         * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
728         * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
729
730         * posix/Versions: Change posix_spawnattr_getdefault and
731         posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
732         and posix_spawnattr_setsigdefault respectively.
733         * posix/spawn.h: Likewise.
734         * posix/spawnattr_getdefault.h: Likewise.
735         * posix/spawnattr_setdefault.h: Likewise.
736         * conform/data/spawn.h-data: Likewise.
737
738 2000-05-01  Andreas Jaeger  <aj@suse.de>
739
740         * nscd/nscd.c: Include <grp.h> for setgroups prototype.
741
742 2000-04-30  Ulrich Drepper  <drepper@redhat.com>
743
744         * manual/sysinfo.texi: Document getdomainname, setdomainname
745         and sysctl.
746         * manual/string.texi: Fix typo.
747         * manual/terminal.texi: Document gtty and stty.
748         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
749
750 2000-04-30  Andreas Jaeger  <aj@suse.de>
751
752         * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
753         accordance with Austin Draft.
754
755 2000-04-30  Ulrich Drepper  <drepper@redhat.com>
756
757         * catgets/gencat.c (read_input_file): Use isblank and not isspace
758         to recognize second character in comment line.
759
760         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
761         ENOBUFS if we are out of memory.
762
763         * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
764         available if __USE_XOPEN2K.
765         * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
766         * sysdeps/unix/common/bits/fcntl.h: Likewise.
767         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
768         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
769         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
770         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
771         * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
772         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
773
774 2000-04-29  Ulrich Drepper  <drepper@redhat.com>
775
776         * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
777         Recognize option -s, -c, and -l.
778
779 2000-04-20  Thorsten Kukuk  <kukuk@suse.de>
780
781         * nscd/nscd.c: Start new session for nscd, drop privilegs
782         to configured user if requested and no -S parameter are used.
783         * nscd/nscd.conf: Add new option "server-user".
784         * nscd/nscd_conf.c: Add support for new "server-user" option.
785         * nscd/nscd.h: Add declaration for server_user variable.
786         Based on patch by Chris Wing <wingc@engin.umich.edu>
787
788 2000-04-29  Mark Kettenis  <kettenis@gnu.org>
789
790         * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
791         that changing the __restore and __restore_rt signal return code
792         will break GDB.
793
794 2000-04-29  Mark Kettenis  <kettenis@gnu.org>
795
796         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
797         <sys/user.h>.
798
799 2000-04-29  Mark Kettenis  <kettenis@gnu.org>
800
801         * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
802
803 2000-04-29  Ulrich Drepper  <drepper@redhat.com>
804
805         * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
806         sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
807         arpa/inet.h.
808         * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
809         SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
810         S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
811         S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
812         S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
813         POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
814         POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
815         posix_fallocate, and posix_madvise.
816         * conform/data/netdb.h-data: New file.
817         * conform/data/pthread.h-data: Add pthread_barrier_t,
818         pthread_barrierattr_t, pthread_barrier_destroy,
819         pthread_barrier_init, pthread_barrier_wait,
820         pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
821         pthread_barrierattr_init, pthread_barrierattr_setpshared,
822         pthread_condattr_getclock, pthread_condattr_setclock,
823         pthread_getcpuclockid, pthread_mutex_timedlock,
824         pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
825         pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
826         pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
827         * conform/data/sched.h-data: Add sched_ss_low_priority,
828         sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
829         SCHED_SPORADIC.
830         * conform/data/semaphore.h-data: Add sem_timedwait.
831         * conform/data/signal.h-data: Add SIGIO.
832         * conform/data/spawn.h-data: New file.
833         * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
834         * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
835         CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
836         Fix typo in gmtime_r definition.
837         * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
838         _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
839         _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
840         _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
841         _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
842         _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
843         _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
844         _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
845         _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
846         _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
847         _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
848         _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
849         _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
850         _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
851         _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
852         _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
853         _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
854         _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
855         _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
856         _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid.  Fix
857         typo in off_t definition.
858         * conform/data/net/if.h-data: New file.
859         * conform/data/netinet/in.h-data: New file.
860         * conform/data/netinet/tcp.h-data: New file.
861         * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
862         POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
863         POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
864         POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
865         posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
866         and posix_typed_mem_open.
867         * conform/data/sys/socket.h-data: New file.
868         * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
869         * conform/data/sys/types.h-data: Add pthread_barrier_t,
870         pthread_barrierattr_t, and pthread_spinlock_t.
871         * conform/data/sys/un.h-data: New file.
872         * conform/data/sys/utsname.h-data: New file.
873
874         * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
875         parameter.
876         * inet/gethstbyad.c (gethostbyname): Likewise.
877         * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
878         * inet/getipnodebyad.c (getipnodebyad): Likewise.
879         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
880         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
881         Likewise.
882         * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
883         * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
884         * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
885         * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
886         * resolv/gethnamaddr.c (gethostbyname): Likewise.
887         * resolv/netdb.h (struct hostent): Fix type of h_length member.
888         (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
889         and second parameter.
890
891         * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
892         == NULL.
893
894 2000-04-29  Andreas Jaeger  <aj@suse.de>
895
896         * conform/data/arpa/inet.h-data: New file.
897
898 2000-04-28  Geoff Clare <gwc@unisoft.com>
899
900         * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
901         path passed to ftw() or nftw() is an empty string.
902         Closes PR libc/1710.
903
904 2000-04-27  Ulrich Drepper  <drepper@redhat.com>
905
906         * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
907         (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
908         * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
909         * localedata/tst-mbswcs4.c: New file.
910         * localedata/tst-mbswcs5.c: New file.
911
912         * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
913         == NULL.  Little optimization.
914
915         * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
916         DT_PREINIT_ARRAYSZ).
917         Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
918
919         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
920         overflows in conversion from ASCII.
921
922 2000-04-26  Jakub Jelinek  <jakub@redhat.com>
923
924         * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
925         * Makerules (full_config_sysdirs): Likewise.
926         * MakeTAGS (full_config_sysdirs): Likewise.
927
928 2000-04-26  Jakub Jelinek  <jakub@redhat.com>
929
930         * .cvsignore: Remove linuxthreads.
931         * po/.cvsignore: Remove *.pot.
932         * posix/glob/.cvsignore: Removed.
933         * sysdeps/unix/bsd/osf/.cvsignore: Removed.
934
935 2000-04-25  Andreas Jaeger  <aj@suse.de>
936
937         * conform/Makefile (distribute): Also distribute contents of
938         subdirectories.
939
940         * Makerules (no_deps): Remove abi-versions.h.
941
942         * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
943
944 2000-04-25  Jakub Jelinek  <jakub@redhat.com>
945
946         * sysdeps/sparc/sparc64/elf/Dist: Remove.
947         * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
948         * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
949         * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
950         * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
951         * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
952         objects.
953
954 2000-04-25  Thorsten Kukuk  <kukuk@suse.de>
955
956         * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
957
958 2000-04-23  Bruno Haible  <haible@clisp.cons.org>
959
960         * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
961         * intl/l10nflist.c: Likewise.
962
963 2000-04-23  Bruno Haible  <haible@clisp.cons.org>
964
965         * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
966         __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
967         * intl/textdomain.c [!_LIBC]: Likewise.
968         * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
969         __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
970         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
971         syntax error.
972
973 2000-04-23  Bruno Haible  <haible@clisp.cons.org>
974
975         * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
976         character set conversion also in the case the translation was found
977         after a hash collision or through binary search.  Store the maximum
978         index together with the converted message.  Use iconv() when available.
979         In case of out of memory during conversion, return the unconverted
980         translated string, not NULL.
981
982 2000-04-25  Jes Sorensen  <Jes.Sorensen@cern.ch>
983
984         * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
985         to avoid name clashes with the ia32 linker.
986
987 2000-04-25  Jakub Jelinek  <jakub@redhat.com>
988
989         * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
990         handling.
991
992 2000-04-27  Ulrich Drepper  <drepper@redhat.com>
993
994         * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
995         strtoumax, strfry, and memfrob.
996         * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
997         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
998
999         * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
1000         if this function is available.
1001
1002         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
1003         all values.
1004
1005 2000-04-27  Jakub Jelinek  <jakub@redhat.com>
1006
1007         * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
1008
1009 2000-04-27  Ulrich Drepper  <drepper@redhat.com>
1010
1011         * localedata/Makefile (test-srcs); Add tst-mbswcs3.
1012         Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
1013         * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
1014         * localedata/tst-mbswcs3.c: New file.
1015
1016 2000-04-26  Ulrich Drepper  <drepper@redhat.com>
1017
1018         * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
1019         characters.  Don't handle incomplete characters as errors.
1020         * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
1021         * localedata/Makefile (test-srcs): Add tst-mbswcs2.
1022         Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
1023         * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
1024         * localedata/tst-mbswcs2.c: New file.
1025
1026         * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
1027         stored character in state in UNPACK_BYTES macro.
1028         * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work.  Correct
1029         test for available characters, handle result of BODY code correctly.
1030         * localedata/Makefile (test-srcs): Add tst-mbswcs1.
1031         (distribute): Add tst-mbswcs.sh.
1032         Add rule to run tst-mbswcs.sh.
1033         * localedata/tst-mbswcs.sh: New file.
1034         * localedata/tst-mbswcs1.c: New file.
1035
1036 2000-04-26  Jakub Jelinek  <jakub@redhat.com>
1037
1038         * nis/nis_callback.c (__nis_create_callback): Do failed memory
1039         allocation fixups centrally, fix __builtin_expect call, return NULL
1040         on failure, not NIS_NOMEMORY.
1041
1042 2000-04-27  Bruno Haible  <haible@clisp.cons.org>
1043
1044         * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
1045
1046         * intl/loadinfo.h (internal_function): Define if not already defined.
1047
1048 2000-04-27  Andreas Jaeger  <aj@suse.de>
1049
1050         * intl/libintl.h: Fix typo, reported by Bruno Haible
1051         <haible@clisp.cons.org>.
1052
1053 2000-04-25  Ulrich Drepper  <drepper@redhat.com>
1054
1055         * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
1056         setting the state to GMON_PROF_BUSY.
1057
1058 2000-04-24  Ulrich Drepper  <drepper@redhat.com>
1059
1060         * elf/dl-profile.c (_dl_start_profile): define all variables which
1061         do not have to be global as local variables.
1062
1063         * nis/nis_callback.c (__nis_create_callback): Partially undo last
1064         patch.  Keep needed tests for failed memory allocation.
1065
1066         * elf/dl-reloc.c (_dl_relocate_object): Add one more
1067         __builtin_expect saying that we don't normally expect to profile.
1068
1069         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
1070         __builtin_expect where desirable.
1071
1072 2000-04-23  Ulrich Drepper  <drepper@redhat.com>
1073
1074         * manual/Makefile (chapters): Add syslog.
1075         * manual/syslog.texi: New file.
1076         * manual/math.texi: Fix references.
1077         * manual/terminal.texi: Likewise.
1078         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
1079
1080 2000-04-18  Jakub Jelinek  <jakub@redhat.com>
1081
1082         * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
1083         stdlib.h was not included or __USE_XOPEN not defined.
1084
1085 2000-04-23  Ulrich Drepper  <drepper@redhat.com>
1086
1087         * nss/Makefile (libnss_db-dbs): Remove stray backslash.
1088         Patch by Zack Weinberg <zack@wolery.cumb.org>.
1089
1090 2000-04-22  Ulrich Drepper  <drepper@redhat.com>
1091
1092         * manual/examples/subopt.c (mount_opts): Add missing terminating
1093         entry.
1094         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
1095
1096         * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
1097         * libio/ftello.c: Likewise.
1098         * libio/ftello64.c: Likewise.
1099         * libio/ioftell.c: Likewise.
1100         * sysdeps/generic/memrchr.c: Likewise.
1101         * sysdeps/posix/libc_fatal.c: Likewise.
1102         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
1103         * misc/fstab.c: Include <string.h> for strcmp prototype.
1104         * sysdeps/generic/ldsodefs.h: Likewise.
1105         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1106         Patch by Kurt Roeckx <Q@ping.be>.
1107
1108         * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
1109         Remove db-open.  Change all uses.
1110         (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
1111
1112 2000-04-21  Jakub Jelinek  <jakub@redhat.com>
1113
1114         * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
1115         * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
1116         * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
1117         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
1118         with .set noat/at to shut up warnings.
1119         * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
1120         * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
1121         compilation if __NR_pciconfig_iobase is not defined.
1122         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
1123         Add alias.
1124
1125 2000-04-21  Ulrich Drepper  <drepper@redhat.com>
1126
1127         * manual/sysinfo.texi: Fix typo.
1128         * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
1129         Replace "high precision time" with "high accuracy clock".
1130         Fix language.
1131         Patches by Bryan Henderson <bryanh@giraffe-data.com>.
1132
1133         * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
1134         * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
1135         instead of malloc.
1136         * nis/nis_subr.c: Use __builtin_expect.
1137         * nis/ypclnt.c: Likewise.
1138         * nis/nis_getservlist.c: Likewise.
1139         * nis/nis_creategroup.c: Likewise.
1140
1141         * nis/nis_callback.c (__nis_create_callback): Check result of
1142         memory allocation.  Fix memory leaks.  Use __builtin_expect.
1143         (__nis_destroy_callback): Fix memory leaks.
1144
1145 2000-04-21  Andreas Jaeger  <aj@suse.de>
1146
1147         * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
1148         * sysdeps/mips/mips64/add_n.S: Likewise.
1149         * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
1150         * sysdeps/mips/mips64/lshift.S: Likewise.
1151         * sysdeps/mips/mips64/mul_1.S: Likewise.
1152         * sysdeps/mips/mips64/rshift.S: Likewise.
1153         * sysdeps/mips/mips64/setjmp.S: Likewise.
1154         * sysdeps/mips/mips64/sub_n.S: Likewise.
1155         * sysdeps/mips/mips64/submul_1.S: Likewise
1156         * sysdeps/unix/mips/sysdep.S: Likewise.
1157
1158         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
1159         and update comment.  The strtab from _dl_relocate_object can be
1160         used.
1161
1162 2000-04-21  Ulrich Drepper  <drepper@redhat.com>
1163
1164         * iconv/iconv.c (iconv): Add __builtin_expect where useful.
1165         * iconv/iconv_close.c (iconv_close): Likewise.
1166         * iconv/iconv_open.c (iconv_open): Likewise.
1167
1168         * grp/putgrent.c (putgrent): Unlock steam if fprintf failed.  Add
1169         __builtin_expect where useful.
1170
1171         * grp/initgroups.c (initgroups): Test for result of memory
1172         allocation and punt if it fails.
1173
1174         * dirent/scandir.c (scandir): Add __builtin_expect where useful.
1175         * grp/fgetgrent.c (fgetfrent): Likewise.
1176         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
1177
1178 2000-04-21  Jakub Jelinek  <jakub@redhat.com>
1179
1180         * libio/vasprintf.c: Include string.h to get memcpy prototype.
1181
1182 2000-04-20  Ulrich Drepper  <drepper@redhat.com>
1183
1184         * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
1185         don't search for NUL byte to decrement counter.
1186         Reported by Ulrich.Brink@sap.com.
1187
1188         * iconv/gconv_simple.c: Define separate functions to convert from
1189         UCS4/UCS4-LE to the internal encoding.
1190         * iconv/gconv_builtin.h: Use separate functions to convert from
1191         UCS4/UCS4-LE to the internal encoding.
1192         * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
1193         __gconv_transform_ucs4le_internal.
1194
1195         * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
1196         output buffer overflow.  Reported by Ulrich.Brink@sap.com.
1197
1198         * iconv/skeleton.c: Add some more __builtin_expect.
1199         * iconv/loop.c: Likewise.
1200
1201 2000-03-08  H.J. Lu  <hjl@gnu.org>
1202
1203         * posix/regex.c (regex_compile): Correctly handle "\{" when
1204         the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
1205
1206 2000-04-20  Ulrich Drepper  <drepper@redhat.com>
1207
1208         * manual/stdio.texi: Give advise about handling error when using
1209         stream functions.
1210         Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
1211
1212 2000-04-19  Jakub Jelinek  <jakub@redhat.com>
1213
1214         * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
1215         field to nelems * sizeof (uint32_t).
1216         * locale/programs/ld-address.c (address_output): Align word fields
1217         properly.
1218         * locale/programs/ld-monetary.c (monetary_output): Likewise.
1219         Don't restart idx pointers to idx end at the duo_int_curr_symbol
1220         field.
1221         Avoid giving arbitrary garbage in the crncystr field.
1222         Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
1223         uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
1224         fields.
1225         * locale/programs/ld-numeric.c (numeric_output): Likewise.
1226         Don't restart idx pointers to idx end at the decimal_point_wc field.
1227         * locale/programs/ld-time.c (time_output): week_1stday should be
1228         word, not byte.  Align it properly.
1229
1230 2000-04-19  H.J. Lu  <hjl@gnu.org>
1231
1232         * csu/gmon-start.c (_start): Declared as "extern void".
1233         (etext): Likewise.
1234
1235 2000-04-18  Andreas Jaeger  <aj@suse.de>
1236
1237         * manual/install.texi (Running make install): Don't mention utmpd
1238         anymore.
1239
1240 2000-04-18  Andreas Jaeger  <aj@suse.de>
1241
1242         * linuxthreads/Versions: Use ld instead of ld.so.
1243
1244         * elf/Makefile (ld-map): Use ld.map.
1245
1246         * Versions.def: Use ld instead of ld.so.
1247         * elf/Versions: Likewise.
1248         * sysdeps/mach/hurd/Versions: Likewise.
1249
1250 2000-04-20  Andreas Jaeger  <aj@suse.de>
1251
1252         * elf/rtld.c (print_statistics): Move ifndef further up.
1253         (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
1254         (dl_main): Likewise.
1255
1256 2000-04-18  Ulrich Drepper  <drepper@redhat.com>
1257
1258         * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
1259         * gmon/Versions: Move moncontrol to GLIBC_2.2.
1260
1261         * po/cs.po: Update from translation team.
1262
1263         * sysdeps/generic/updwtmp.c: Remove daemon support.
1264
1265         * login/Makefile (routines): Remove utmp_daemon.
1266
1267         * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
1268         * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
1269         * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
1270         * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
1271
1272         * elf/rtld.c: Display statitics option also if hp timing is not
1273         available.
1274
1275         * login/programs/connection.c: Removed.
1276         * login/programs/database.c Removed.
1277         * login/programs/error.c: Removed.
1278         * login/programs/request.c: Removed.
1279         * login/programs/xtmp.c: Removed.
1280         * login/programs/xtmp.h: Removed.
1281         * login/Makefile: Remove rules for utmpd.
1282         * login/README.utmpd: Removed.
1283         * login/utmp_daemon.c: Removed.
1284         * login/getutent_r.c: Remove references to daemon functions.
1285         * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
1286         declaration.
1287
1288 2000-04-18  Andreas Jaeger  <aj@suse.de>
1289
1290         * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
1291         2.2 for libnsl, libresolv, librt, libnss_*.
1292
1293         * elf/rtld.c (process_dl_debug): Remove obsolete comment.
1294
1295         * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
1296
1297 2000-04-18  Ulrich Drepper  <drepper@redhat.com>
1298
1299         * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
1300         * sysdeps/unix/sysv/aix/getegid.c: Likewise.
1301         * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
1302         * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
1303         * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
1304         * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
1305         * sysdeps/unix/sysv/aix/setregid.c: Likewise.
1306         * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
1307         * sysdeps/unix/sysv/aix/setgid.c: Likewise.
1308         * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
1309         * sysdeps/unix/sysv/aix/setegid.c: Likewise.
1310         * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
1311         * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
1312         it here.
1313         * sysdeps/unix/sysv/aix/msync.c: New file.
1314         * sysdeps/unix/sysv/aix/msgsnd.c: New file.
1315         * sysdeps/unix/sysv/aix/net/if.h: New file.
1316         * sysdeps/unix/sysv/aix/pipe.c: New file.
1317         * sysdeps/unix/sysv/aix/poll.c: New file.
1318         * sysdeps/unix/sysv/aix/rename.c: New file.
1319         * sysdeps/unix/sysv/aix/rmdir.c: New file.
1320         * sysdeps/unix/sysv/aix/select.c: New file.
1321         * sysdeps/unix/sysv/aix/semctl.c: New file.
1322         * sysdeps/unix/sysv/aix/semget.c: New file.
1323         * sysdeps/unix/sysv/aix/semop.c: New file.
1324         * sysdeps/unix/sysv/aix/sendto.c: New file.
1325         * sysdeps/unix/sysv/aix/setgroups.c: New file.
1326         * sysdeps/unix/sysv/aix/setpgid.c: New file.
1327         * sysdeps/unix/sysv/aix/setpgrp.c: New file.
1328         * sysdeps/unix/sysv/aix/setpriority.c: New file.
1329         * sysdeps/unix/sysv/aix/setrlimit.c: New file.
1330         * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
1331         * sysdeps/unix/sysv/aix/setsid.c: New file.
1332         * sysdeps/unix/sysv/aix/setsockopt.c: New file.
1333         * sysdeps/unix/sysv/aix/shmat.c: New file.
1334         * sysdeps/unix/sysv/aix/shmctl.c: New file.
1335         * sysdeps/unix/sysv/aix/shmdt.c: New file.
1336         * sysdeps/unix/sysv/aix/shmget.c: New file.
1337         * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
1338         * sysdeps/unix/sysv/aix/sigstack.c: New file.
1339         * sysdeps/unix/sysv/aix/socket.c: New file.
1340         * sysdeps/unix/sysv/aix/socketpair.c: New file.
1341         * sysdeps/unix/sysv/aix/speed.c: New file.
1342         * sysdeps/unix/sysv/aix/symlink.c: New file.
1343         * sysdeps/unix/sysv/aix/sync.c: New file.
1344         * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
1345         * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
1346         * sysdeps/unix/sysv/aix/times.c: New file.
1347         * sysdeps/unix/sysv/aix/ulimit.c: New file.
1348         * sysdeps/unix/sysv/aix/umask.c: New file.
1349         * sysdeps/unix/sysv/aix/unlink.c: New file.
1350         * sysdeps/unix/sysv/aix/ustat.c: New file.
1351         * sysdeps/unix/sysv/aix/utimes.c: New file.
1352
1353 2000-04-18  Andreas Jaeger  <aj@suse.de>
1354
1355         * manual/startup.texi (Environment Access): Fix putenv prototype
1356         according to recent changes.
1357         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
1358         PR libc/1692.
1359
1360         * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
1361         needed.
1362
1363 2000-04-18  Ulrich Drepper  <drepper@redhat.com>
1364
1365         * posix/Makefile (tests): Add tst-getaddrinfo.
1366         * posix/tst-getaddrinfo.c: New file.
1367
1368 2000-04-17  Ulrich Drepper  <drepper@redhat.com>
1369
1370         * manual/sysinfo.texi: Document that umount2 is not widely available.
1371
1372         * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
1373         signal timing is not really implemented.
1374
1375 2000-04-17  Andreas Jaeger  <aj@suse.de>
1376
1377         * elf/rtld.c (process_dl_debug): Mention statistics in help message.
1378
1379 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
1380
1381         * Makefile (install): Use slibdir and libdir instead of inst_slibdir
1382         and inst_libdir.
1383
1384 2000-04-17  Ulrich Drepper  <drepper@redhat.com>
1385
1386         * manual/intro.texi: Change reference from System Information to
1387         System Management.
1388         * manual/users.texi: Likewise.
1389         * manual/conf.texi: Likewise.
1390         * manual/sysinfo.texi: Document mount, umount, and umount2.
1391         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
1392
1393 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
1394
1395         * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
1396         Create wnumstr as well as numstr to support wide character output
1397         correctly.
1398
1399 2000-04-15  Jakub Jelinek  <jakub@redhat.com>
1400
1401         * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
1402         modification and move it...
1403         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
1404         Add -melf64_sparc switch to $(LD) on sparc64-linux.
1405         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
1406         switch to $(LD) on sparc-linux.
1407
1408 2000-04-17  Thorsten Kukuk  <kukuk@suse.de>
1409
1410         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
1411         and setresuid from sysdep_routines.
1412
1413 2000-04-17  Ulrich Drepper  <drepper@redhat.com>
1414
1415         * manual/Makefile (chapters): Add resource.
1416
1417         * manual/time.texi: Move section on resources to...
1418         * manual/resource.texi: ...here.  New file.  Document ulimit, vlimit,
1419         and vtimes.
1420         * manual/setjmp.texi: Adjust back reference.
1421         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
1422
1423         * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
1424         definition.
1425         * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
1426         * sysdeps/unix/sysv/aix/kill.c: Add copyright.
1427         * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
1428         * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
1429         * sysdeps/unix/sysv/aix/execve.c: Add copyright.
1430         * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
1431         * sysdeps/unix/sysv/aix/close.c: Add copyright.
1432         * sysdeps/unix/sysv/aix/brk.c: Add copyright.
1433         * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
1434         * sysdeps/unix/sysv/aix/access.c: Add copyright.
1435         * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
1436         * sysdeps/unix/sysv/aix/Implies: New file.
1437         * sysdeps/unix/sysv/aix/Versions: New file.
1438         * sysdeps/unix/sysv/aix/bind.c: New file.
1439         * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
1440         * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
1441         * sysdeps/unix/sysv/aix/bits/poll.h: New file.
1442         * sysdeps/unix/sysv/aix/bits/termios.h: New file.
1443         * sysdeps/unix/sysv/aix/chdir.c: New file.
1444         * sysdeps/unix/sysv/aix/chmod.c: New file.
1445         * sysdeps/unix/sysv/aix/chroot.c: New file.
1446         * sysdeps/unix/sysv/aix/creat.c: New file.
1447         * sysdeps/unix/sysv/aix/dl-close.c: New file.
1448         * sysdeps/unix/sysv/aix/dl-open.c: New file.
1449         * sysdeps/unix/sysv/aix/dl-sym.c: New file.
1450         * sysdeps/unix/sysv/aix/fchdir.c: New file.
1451         * sysdeps/unix/sysv/aix/fchmod.c: New file.
1452         * sysdeps/unix/sysv/aix/getgroups.c: New file.
1453         * sysdeps/unix/sysv/aix/gethostname.c: New file.
1454         * sysdeps/unix/sysv/aix/getpriority.c: New file.
1455         * sysdeps/unix/sysv/aix/getrlimit.c: New file.
1456         * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
1457         * sysdeps/unix/sysv/aix/getrusage.c: New file.
1458         * sysdeps/unix/sysv/aix/link.c: New file.
1459         * sysdeps/unix/sysv/aix/madvise.c: New file.
1460         * sysdeps/unix/sysv/aix/mkdir.c: New file.
1461         * sysdeps/unix/sysv/aix/mknod.c: New file.
1462         * sysdeps/unix/sysv/aix/mprotect.c: New file.
1463         * sysdeps/unix/sysv/aix/msgctl.c: New file.
1464         * sysdeps/unix/sysv/aix/msgget.c: New file.
1465         * sysdeps/unix/sysv/aix/msgrcv.c: New file.
1466
1467 2000-04-17  Andreas Jaeger  <aj@suse.de>
1468
1469         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
1470         as suggested by Ulrich Drepper.
1471         (__dl_runtime_resolve): Remove unused variable, initialize sym
1472         directly.
1473         (RTLD_START): Document OFFSET_GP_GOT.
1474         (OFFSET_GP_GOT): New magic value.
1475         (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
1476         (elf_machine_got_rel): Only declare strtab if needed.
1477         (elf_machine_relplt): Removed, it's not needed.
1478         (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
1479
1480         * sysdeps/mips/add_n.S: Add newline at EOF.
1481         * sysdeps/mips/rshift.S: Likewise.
1482         * sysdeps/mips/mul_1.S: Likewise.
1483         * sysdeps/mips/lshift.S: Likewise.
1484         * sysdeps/mips/addmul_1.S: Likewise.
1485
1486 2000-04-17  Ulrich Drepper  <drepper@redhat.com>
1487
1488         * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
1489
1490         * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
1491         * elf/dl-lookup.c: Likewise.
1492         * elf/dl-init.c (_dl_init): Likewise.
1493         * elf/dl-fini.c (_dl_fini): Likewise.
1494         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1495         * elf/dl-close.c (_dl_close): Likewise.
1496         * elf/rtld.c (_dl_start_final): Likewise.
1497
1498         * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
1499
1500 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
1501
1502         * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
1503         only fall back on using Linux.
1504
1505         * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
1506         Before testing versions check that we actually loaded the object
1507         and whether we are in trace mode.  If not loaded during tracing don't
1508         test versions in this object.
1509         (_dl_check_all_versions): Take new parameter and pass to
1510         _dl_check_map_versions.
1511         * sysdeps/generic/ldsodefs.h: Update prototypes for
1512         _dl_check_all_versions and _dl_check_map_versions.
1513         * elf/rtld.c (struct version_check_args): Add dotrace.
1514         (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
1515         (dl_main): Pass info about trace mode to version_check_doit.
1516         * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
1517         _dl_check_all_versions.
1518
1519         * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
1520         and getutmpx.
1521         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
1522
1523         * manual/argp.texi: Document index parameter of argp_parse.
1524         Fix typo.
1525         Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
1526
1527 2000-04-14  Andreas Jaeger  <aj@suse.de>
1528
1529         * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
1530         SHMFS_SUPER_MAGIC.  Remove definition of SHMFS_SUPER_MAGIC.
1531
1532         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
1533
1534 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
1535
1536         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
1537         compat_symbol call for old adjtime.
1538
1539         * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
1540         function interface.  Patch by Richard Henderson <rth@cygnus.com>.
1541
1542         * posix/Makefile (headers): Add spawn.h.
1543         (distribute): Add spawn_int.h.
1544         (routines): Add spawn_faction_init, spawn_faction_destroy,
1545         spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
1546         spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
1547         spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
1548         spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
1549         * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
1550         posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
1551         posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
1552         posix_spawnattr_init, posix_spawnattr_destroy,
1553         posix_spawnattr_getdefault, posix_spawnattr_setdefault,
1554         posix_spawnattr_getflags, posix_spawnattr_setflags,
1555         posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
1556         and posix_spawnp.
1557         * posix/spawn.c: New file.
1558         * posix/spawn.h: New file.
1559         * posix/spawn_faction_addclose.c: New file.
1560         * posix/spawn_faction_adddup2.c: New file.
1561         * posix/spawn_faction_addopen.c: New file.
1562         * posix/spawn_faction_destroy.c: New file.
1563         * posix/spawn_faction_init.c: New file.
1564         * posix/spawn_int.h: New file.
1565         * posix/spawnattr_destroy.c: New file.
1566         * posix/spawnattr_getdefault.c: New file.
1567         * posix/spawnattr_getflags.c: New file.
1568         * posix/spawnattr_getpgroup.c: New file.
1569         * posix/spawnattr_getschedparam.c: New file.
1570         * posix/spawnattr_getschedpolicy.c: New file.
1571         * posix/spawnattr_getsigmask.c: New file.
1572         * posix/spawnattr_init.c: New file.
1573         * posix/spawnattr_setdefault.c: New file.
1574         * posix/spawnattr_setflags.c: New file.
1575         * posix/spawnattr_setpgroup.c: New file.
1576         * posix/spawnattr_setschedparam.c: New file.
1577         * posix/spawnattr_setschedpolicy.c: New file.
1578         * posix/spawnattr_setsigmask.c: New file.
1579         * posix/spawni.c: New file.
1580         * posix/spawnp.c: New file.
1581
1582         * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
1583         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
1584
1585 2000-04-14  Ulrich Drepper  <drepper@redhat.com>
1586
1587         * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
1588         * malloc/malloc.c: Implement posix_memalign for glibc.
1589         * include/stdlib.h: Add prototype for __posix_memalign.
1590         * stdlib/stdlib.h: Add prototype for posix_memalign.
1591
1592 2000-04-14  Andreas Jaeger  <aj@suse.de>
1593
1594         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
1595         symidx correctly.
1596         (elf_machine_got_rel): Cast sym correctly.
1597
1598         * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
1599         * sysdeps/mips/addmul_1.S: Likewise.
1600         * sysdeps/mips/lshift.S: Likewise.
1601         * sysdeps/mips/mul_1.S: Likewise.
1602         * sysdeps/mips/rshift.S: Likewise.
1603         * sysdeps/mips/sub_n.S: Likewise.
1604         * sysdeps/mips/submul_1.S: Likewise.
1605
1606         * stdlib/stdlib.h: Fix typo in comment.
1607
1608         * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
1609         2.2 for libdl, ld and libm.
1610
1611         * sysdeps/generic/madvise.c: Fix typos.
1612
1613         * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
1614
1615         * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
1616
1617         * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
1618         warnings.
1619
1620 2000-04-14  Ulrich Drepper  <drepper@redhat.com>
1621
1622         * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
1623         * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
1624         Make old name weak alias.
1625         * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
1626         * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
1627         Make old name weak alias.
1628         * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
1629
1630         * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
1631         posix_fallocate, and posix_fallocate64.
1632         * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
1633         posix_fallocate, and posix_fallocate64.
1634         * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
1635         posix_fallocate, and posix_fallocate64.
1636         * sysdeps/generic/fadvise.c: New file.
1637         * sysdeps/generic/fadvise64.c: New file.
1638         * sysdeps/generic/fallocate.c: New file.
1639         * sysdeps/generic/fallocate64.c: New file.
1640         * sysdeps/posix/fallocate.c: New file.
1641         * sysdeps/posix/fallocate64.c: New file.
1642         * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
1643         POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
1644         POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
1645         * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
1646         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
1647         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1648         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1649         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1650         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1651
1652         * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
1653         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1654
1655 2000-04-13  Ulrich Drepper  <drepper@redhat.com>
1656
1657         * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
1658         * misc/sys/mman.h (posix_madvise): Add prototype.
1659         * sysdeps/generic/madvise.c (madvise): Renamed to __madvise.  Make
1660         old name and posix_madvise weak aliases.
1661         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1662         * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
1663         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
1664         * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
1665         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
1666         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1667         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1668
1669 2000-04-13  Andreas Jaeger  <aj@suse.de>
1670
1671         * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
1672         versioning.
1673         (elf_machine_got_rel): Only add runtime display if needed.
1674         (elf_machine_got_rel): Handle symbol versioning.
1675
1676 2000-04-13  Andreas Jaeger  <aj@suse.de>
1677
1678         * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
1679
1680         * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
1681         default.
1682
1683         * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
1684         with some applications.
1685         Patches by Ralf Baechle <ralf@uni-koblenz.de>.
1686
1687         * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
1688         * sysdeps/mips/bsd-_setjmp.S: Likewise.
1689         * sysdeps/mips/setjmp.S: Likewise.
1690
1691         * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
1692
1693 2000-04-13  Ulrich Drepper  <drepper@redhat.com>
1694
1695         * posix/globtest.sh: Work around inconsistency with expanding ~/
1696         in shell (PR libc/1690).  Reported by patsmith@pobox.com.
1697
1698 2000-04-12  Ulrich Drepper  <drepper@redhat.com>
1699
1700         * posix/getconf.c: Add support for many more POSIX options.
1701         * sysdeps/posix/sysconf.c: Likewise.
1702         * sysdeps/generic/bits/confname.h: Add many more POSIX options.
1703         * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
1704         _POSIX_SHELL.
1705         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
1706         * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
1707         CLOCK_PROCESS_CPUTIME_ID.  Add define CLOCK_MONOTONIC and
1708         CLOCK_THREAD_CPUTIME_ID.
1709         * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
1710         CLOCK_PROCESS_CPUTIME_ID.
1711         * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
1712         __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID.  Handle
1713         CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
1714         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
1715
1716         * malloc/Makefile (tests): Add tst-calloc.
1717         * malloc/tst-calloc.c: New file.
1718
1719         * sysdeps/arm/libm-test-ulps: New file.
1720
1721         * malloc/malloc.c: Undo all of today's changes.
1722
1723         * locale/programs/locale.c (show_info): Don't try to look into
1724         data for LC_ALL (there is none).
1725
1726         * malloc/malloc.c (cALLOc): Clear only what the user asked for and
1727         avoid writing over boundary.
1728         Patch by Greg McGary <gkm@eng.ascend.com>.
1729
1730         * sysdeps/arm/memprof.h: New file.
1731
1732 2000-04-12  Andreas Jaeger  <aj@suse.de>
1733
1734         * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
1735
1736         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
1737         for memmem declaration.
1738
1739 2000-04-12  Ulrich Drepper  <drepper@redhat.com>
1740
1741         * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
1742         to -1.
1743         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1744
1745         * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
1746         mode is invalid.
1747         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
1748         Patch by Bart Veer <bartv@redhat.com>.
1749
1750         * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
1751         function interface.
1752
1753 2000-04-11  Andreas Jaeger  <aj@suse.de>
1754
1755         * sysdeps/mips/dl-machine.h: Update some comments.
1756         (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
1757
1758 2000-04-11  Ulrich Drepper  <drepper@redhat.com>
1759
1760         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
1761         _POSIX_SHARED_MEMORY_OBJECTS.
1762
1763         * rt/Makefile (tests): Add tst-shm.
1764         Add rules to generate tst-shm.
1765         * rt/tst-shm.c: New file.
1766
1767         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
1768         for descriptor.
1769
1770         * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
1771         * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
1772         * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
1773         * sysdeps/generic/shm_open.c: New file.
1774         * sysdeps/generic/shm_unlink.c: New file.
1775         * sysdeps/unix/sysv/linux/shm_open.c: New file.
1776         * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
1777         * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
1778          __endmntent, __getmntent_r, __setmntent, and __statfs.
1779
1780         * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
1781         fragmentation by allocating new memory at the end instead of
1782         reallocating.
1783
1784         * posix/globtest.sh: Fix last change.
1785
1786 2000-04-10  Philip Blundell  <philb@gnu.org>
1787
1788         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
1789         IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
1790         IPV6_DROP_MEMBERSHIP.
1791         * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
1792         Likewise.
1793
1794 2000-04-11  Ulrich Drepper  <drepper@redhat.com>
1795
1796         * elf/readlib (process_file): Close streams in case of an error.
1797
1798 2000-04-09  Andreas Jaeger  <aj@suse.de>
1799
1800         * elf/readlib.c (process_file): Check if file is big enough to
1801         contain aout and ELF headers.
1802         Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
1803
1804 2000-04-10  Jes Sorensen  <Jes.Sorensen@cern.ch>
1805
1806         * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
1807
1808 2000-04-11  Ulrich Drepper  <drepper@redhat.com>
1809
1810         * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
1811         stream unbuffered.
1812         * rt/Makefile (tests): Add tst-clock.
1813         Add rules to build tst-clock.
1814         * rt/tst-clock.c: New file.
1815         * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
1816         about initialization of nsec.
1817         * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
1818         about initialization of freq.  Set retval to zero if successful.
1819         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
1820
1821 2000-04-10  Ulrich Drepper  <drepper@redhat.com>
1822
1823         * Versions.def (librt): Add GLIBC_2.2.
1824         * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
1825         clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
1826         timer_getoverr, timer_gettime, and timer_settime.
1827         * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
1828         clock_settime, timer_create, timer_delete, timer_getoverrun,
1829         timer_gettime, and timer_settime.
1830         * sysdeps/generic/clock_getcpuclockid.c: New file.
1831         * sysdeps/generic/get_clockfreq.c: New file.
1832         * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
1833         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
1834         * sysdeps/mach/hurd/i386/bits/time.h: New file.
1835         * sysdeps/unix/i386/i586/clock_getres.c: New file.
1836         * sysdeps/unix/i386/i586/clock_gettime.c: New file.
1837         * sysdeps/unix/i386/i686/Implies: New file.
1838         * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
1839         * time/Makefile (routines): Move clock_getres, clock_gettime,
1840         clock_settime, timer_create, timer_delete, timer_getoverr,
1841         timer_gettime, and timer_settime to rt/Makefile.
1842         * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
1843         clock_settime, timer_create, timer_delete, timer_getoverrun,
1844         timer_gettime, and timer_settime.
1845         * time/time.h: Define pid_t.  Add prototype for clock_getcpuclockid.
1846
1847         * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility.  Use __const__
1848         and not const as attribute name.
1849
1850 2000-04-10  Thorsten Kukuk  <kukuk@suse.de>
1851
1852         * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
1853
1854 2000-04-10  Andreas Schwab  <schwab@suse.de>
1855
1856         * posix/globtest.sh: Skip tests that depend on unreadable
1857         directories if run as root.
1858
1859 2000-04-10  Ulrich Drepper  <drepper@redhat.com>
1860
1861         * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
1862         for correct range.  From code by Kaz Kylheku <kaz@ashi.footprints.net>.
1863
1864 2000-04-09  Ulrich Drepper  <drepper@redhat.com>
1865
1866         * sysdeps/unix/clock_gettime.c: New file.
1867         * sysdeps/unix/clock_settime.c: New file.
1868         * sysdeps/posix/clock_getres.c: New file.
1869
1870         * conform/data/ftw.h-data: Add allow-header sys/stat.h.
1871
1872         * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
1873         lseek call be passing in a buffer which never allow a successful
1874         first getdents syscall if not at leas the initial entry can be
1875         stored in the user buffer.
1876
1877         * localedata/Makefile: Add rules to clean up directories created by
1878         new strfmon tests.
1879
1880 2000-04-09  Geoff Clare  <gwc@unisoft.com>
1881
1882         * localedata/tst-fmon.data: Added new tests for strfmon()
1883         using test locales with all combinations of cs_precedes,
1884         sign_posn and sep_by_space.
1885         * localedata/tst-fmon.sh: Updated to support the new tests.
1886         * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
1887         the localedef source for the new strfmon() test locale.
1888         * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
1889         * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
1890         * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
1891         * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
1892         * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
1893         * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
1894         * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
1895         * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
1896         * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
1897         * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
1898         * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
1899         * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
1900         * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
1901         * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
1902
1903         * stdlib/strfmon.c: Correct problems with missing or extra
1904         spaces for unusual combinations of sign_posn and sep_by_space.
1905         Improved left-precision alignment code.
1906
1907 2000-04-07  Andreas Jaeger  <aj@suse.de>
1908
1909         * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
1910
1911 2000-04-10  Andreas Jaeger  <aj@suse.de>
1912
1913         * intl/Makefile: Don't run do-gettext-test when cross-compiling.
1914
1915 2000-04-09  Ulrich Drepper  <drepper@redhat.com>
1916
1917         Implement handling of restartable conversion functions according to
1918         ISO C.
1919         * iconv/gconv.h (__gconv_fct): Add additional parameter.
1920         * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
1921         * iconv/gconv.c: Pass additional parameter to conversion function.
1922         * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
1923         (internal_ucs4le_loop_single): New function.
1924         (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
1925         (__gconv_transform_internal_ascii): Likewise.
1926         (__gconv_transform_internal_utf8): Likewise.
1927         (__gconv_transform_utf8_internal): Likewise.
1928         (__gconv_transform_ucs2_internal): Likewise.
1929         (__gconv_transform_internal_ucs2): Likewise.
1930         (__gconv_transform_ucs2reverse_internal): Likewise.
1931         (__gconv_transform_internal_ucs2reverse): Likewise.
1932         (internal_ucs4le_loop_unaligned): Before return
1933         __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
1934         a valid character.  Otherwise return __GCONV_ILLEGAL_INPUT.
1935         (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
1936         * iconv/loop.c: Fit in definition of function to convert one character
1937         for processing of left-over bytes from the state object.
1938         * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
1939         inend to match names in loop functions.
1940         (RESET_INPUT_BUFFER): Change apprpriately.
1941         (gconv): If needed, call function to process bytes from the state
1942         object.  Similar at the end: store left over bytes if input is
1943         incomplete.
1944         Take extra argument and add new argument to all calls of the
1945         conversion function.
1946         * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
1947         information in the state object to not conflict with length count.
1948         * iconvdata/iso-2022-jp.c: Likewise.
1949         * iconvdata/iso-2022-kr.c: Likewise.
1950         * iconvdata/unicode.c: Adjust for change change in parameters of
1951         skeleton function.
1952         * iconvdata/utf-16.c: Likewise.
1953         * libio/iofwide.c: Add new parameter to all calls of conversion
1954         function.
1955         * wcsmbs/btowc.c: Likewise.
1956         * wcsmbs/mbrtowc.c: Likewise.
1957         * wcsmbs/mbsnrtowcs.c: Likewise.
1958         * wcsmbs/mbsrtowcs.c: Likewise.
1959         * wcsmbs/wcrtomb.c: Likewise.
1960         * wcsmbs/wcsnrtombs.c: Likewise.
1961         * wcsmbs/wcsrtombs.c: Likewise.
1962         * wcsmbs/wctob.c: Likewise.
1963
1964         * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
1965         MAX_NEEDED_INPUT.
1966
1967 2000-04-07  Andreas Jaeger  <aj@suse.de>
1968
1969         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
1970         newer kernels.
1971
1972 2000-04-07  Ulrich Drepper  <drepper@redhat.com>
1973
1974         * wcsmbs/wchar.h (__mbstate_t): Rename elements.  Make __value
1975         element a union to allow byte access.
1976         * iconvdata/iso-2022-cn.c: Adjust for change of element name in
1977         mbstate_t.
1978         * iconvdata/iso-2022-jp.c: Likewise.
1979         * iconvdata/iso-2022-kr.c: Likewise.
1980         * wcsmbs/mbsinit.c: Likewise.
1981         * stdlib/mblen.c: Likewise.
1982         * stdio-common/printf-parse.h: Likewise.
1983
1984 2000-04-06  Ulrich Drepper  <drepper@redhat.com>
1985
1986         * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
1987         kernel does not allow relative seeks on descriptors associated
1988         with directories.  Go back to get the position in the directory
1989         every time we enter the function.  Return -1 and set errno if one
1990         entry could be read from the kernel but does not fit into the
1991         buffer passed in by the user.
1992
1993         * locale/programs/charmap.c (charmap_new_char): Add parameter step.
1994         Support ..(2).. ellipsis.
1995         (parse_charmap): Recognize ..(2).. etc and pass step down.
1996         Correctly generate names for UCS4 characters.
1997
1998         * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
1999         (ctype_finish): We know the wide character value for <SP>,
2000         don't search.
2001         (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
2002         (charclass_ucs4_ellipsis): Likewise.
2003         (read_translit_ignore_entry): Store ellipsis step.
2004         (ctype_read): Recognize ..(2).. etc and pass step down.
2005
2006         * locale/programs/linereader.c (lr_token): When seeing comment
2007         character ignore only rest of line in sources but stop at escaped
2008         newline.
2009         Recognize ..(2).. and ....(2).....
2010
2011         * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
2012         and tok_ellipsis4_2.
2013
2014 2000-04-06  Andreas Jaeger  <aj@suse.de>
2015
2016         * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
2017         removed, remove it here also.
2018         * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
2019         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
2020         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
2021         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
2022
2023 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
2024
2025         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
2026         include bits/sigcontext.h.
2027         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2028
2029 2000-04-06  Ulrich Drepper  <drepper@redhat.com>
2030
2031         * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
2032         collation symbol definition.  Value in quivalence definition must
2033         be defined, don't check that it is not.
2034
2035         * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
2036         values as character names.
2037
2038         * locale/programs/ld-ctype.c (get_character): Handle missing
2039         repertoire map correctly.
2040
2041 2000-04-05  Cristian Gafton  <gafton@redhat.com>
2042
2043         * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
2044         because it is used in generic code.
2045         * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
2046         * wcsmbs/wcwidth.h: Declare __ctype32_b.
2047         * intl/gettext.c: Include <locale.h>.
2048         * intl/ngettext.c: Likewise.
2049
2050 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
2051
2052         * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
2053         socklen_t type for size.
2054         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
2055         init function interface.
2056         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2057         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
2058         sys/ucontext.h.
2059         (__jmp_buf): Declare the whole type structure here, don't use
2060         ucontext.
2061
2062 2000-04-05  Ulrich Drepper  <drepper@redhat.com>
2063
2064         * iconv/skeleton.c (put16u): Fix typo.
2065         Reported by Bruno Haible <haible@ilog.fr>.
2066
2067         * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
2068         * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
2069         * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
2070         * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
2071         * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
2072         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
2073
2074         * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
2075         * Makefile (distribute): Add abi-versions.awk and
2076         firstversions.awk.
2077         Patches by Torsten Duwe <duwe@caldera.de>.
2078
2079 2000-04-05  Andreas Schwab  <schwab@suse.de>
2080
2081         * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
2082
2083 2000-04-05  Andreas Schwab  <schwab@suse.de>
2084
2085         * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
2086         entry point, used on Hurd.
2087
2088 2000-04-04  Andreas Jaeger  <aj@suse.de>
2089
2090         * intl/Makefile: Only run the gettext test with shared libraries.
2091
2092 2000-03-16  Mark Kettenis  <kettenis@gnu.org>
2093
2094         * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
2095         Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
2096
2097 2000-04-05  Roland McGrath  <roland@baalperazim.frob.com>
2098
2099         * Makeconfig: Undo last change.
2100         * configure.in: If --disable-shared was given, don't set VERSIONING,
2101         don't define DO_VERSIONING, and don't give scare warning for no
2102         versioning.
2103         * configure: Regenerated.
2104
2105 2000-04-04  Roland McGrath  <roland@baalperazim.frob.com>
2106
2107         * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
2108
2109 2000-04-04  Andreas Jaeger  <aj@suse.de>
2110
2111         * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
2112
2113 2000-04-04  Ulrich Drepper  <drepper@redhat.com>
2114
2115         * elf/dl-runtime.c (fixup): Correct handling of symbols marked
2116         STV_HIDDEN and STV_INTERNAL during lookup.
2117         (profile_fixup): Likewise.
2118         * elf/dl-reloc.c (RESOLVE): Likewise.
2119
2120         * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
2121         unaligned so that it compiles for system which need unaligned
2122         access handling.
2123
2124 2000-04-04  Andreas Schwab  <schwab@suse.de>
2125
2126         * elf/cache.c (print_entry): Only look at the type field when
2127         printing the type.
2128
2129 2000-04-04  Andreas Schwab  <schwab@suse.de>
2130
2131         * iconvdata/big5.c (BODY): Fix typo.
2132
2133 2000-04-04  Andreas Schwab  <schwab@suse.de>
2134
2135         * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
2136         function interface.  Remove unused _dl_start_user entry point.
2137
2138 2000-04-03  Andreas Jaeger  <aj@suse.de>
2139
2140         * include/arpa/inet.h (__inet_aton): Add protoype.
2141
2142 2000-04-01  Andreas Jaeger  <aj@suse.de>
2143
2144         * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
2145
2146         * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
2147         * sysdeps/mach/mips/thread_state.h: Likewise.
2148
2149         * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
2150         * sysdeps/generic/fegetenv.c: Likewise.
2151         * sysdeps/generic/fesetenv.c: Likewise.
2152         * sysdeps/generic/feupdateenv.c: Likewise.
2153         * sysdeps/generic/fraiseexcpt.c: Likewise.
2154         * sysdeps/generic/fsetexcptflg.c: Likewise.
2155         * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
2156         * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
2157         * sysdeps/unix/sysv/linux/errlist.c: Likewise.
2158         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2159
2160 2000-04-02  H.J. Lu  <hjl@gnu.org>
2161
2162         * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
2163
2164 2000-04-03  Ulrich Drepper  <drepper@redhat.com>
2165
2166         * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
2167         (add_name_to_object): Add cast in malloc call.
2168         (fillin_rpath): Optimize loop to initialize ->status a bit.
2169
2170         * sysdeps/i386/dl-machine.h: Undo last change.
2171         * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
2172         Restore %edx register after call here.
2173
2174         * sysdeps/arm/atomicity.h: New file.
2175         Contributed by Jesper Skov <jskov@redhat.com>.
2176
2177 2000-04-03  Roland McGrath  <roland@baalperazim.frob.com>
2178
2179         * Makeconfig (preprocess-versions): Undo last change.
2180         Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
2181
2182         * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
2183         here, before we might move the stack.
2184         (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
2185         (init1): And not here.
2186
2187         * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
2188         change, to restore argc value in call-clobbered register after
2189         RTLD_START_SPECIAL_INIT, which will contain a call.
2190
2191         * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
2192         allocating and initializing L->l_initfini.
2193
2194         * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
2195
2196 2000-04-03  Ulrich Drepper  <drepper@redhat.com>
2197
2198         * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
2199         RUNPATH, RPATH, and LD_LIBRARY_PATH.
2200         (open_path): Change type of fourth parameter.  Make pointer to array
2201         of pointers.  Create variable dirs with original type.
2202         Track whether any directory for the object exists and if not,
2203         change *DIRSP to (void*) -1 to signal there is no such search path.
2204         (_dl_map_object): Change all calls of open_path.
2205         Rewrite decompose_rpath calls.
2206
2207 2000-03-31  Andreas Schwab  <schwab@suse.de>
2208
2209         * string/strfry.c: Declare STATE as array of char instead of int
2210         and do not initialize it (done by initstate_r).  Pass correct
2211         size.
2212
2213 2000-04-03  Ulrich Drepper  <drepper@redhat.com>
2214
2215         * sysdeps/generic/ldsodefs.h: Fix typo in comment.
2216
2217         * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
2218         instruction out of the code.
2219
2220 2000-04-02  Ulrich Drepper  <drepper@redhat.com>
2221
2222         * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
2223         element at this position.
2224
2225         * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
2226         * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
2227         l_reldeps elements.
2228         * elf/dl-lookup.c (add_dependency): New function.
2229         (_dl_lookup_symbol): Use it whenever symbol was found in a global,
2230         dynamically loaded object.
2231         (_dl_lookup_symbol_skip): Likewise.
2232         (_dl_lookup_versioned_symbol): Likewise.
2233         (_dl_lookup_versioned_symbol_skip): Likewise.
2234         * elf/dl-open.c: Don't define _dl_load_lock here...
2235         * elf/rtld.c: ...but here...
2236         * elf/dl-support.c: ...and here.
2237         * elf/dl-close.c (_dl_close): Close also dependent objects introduce
2238         through relocation.
2239         * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
2240         relocations.
2241         * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
2242         anymore.
2243         * dlfcn/glrefmain.c: Add one more debug message.
2244
2245         * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
2246         command line.
2247         * Makerules (sysd-versions): Use ( ) instead of { }.
2248
2249         * elf/dl-load.c: Use __builtin_expect to signal that compiler should
2250         optimize for the non-debugging case.
2251         * elf/dl-lookup.c: Likewise.
2252         * sysdeps/generic/libc-start.c: Likewise.
2253
2254 2000-04-02  Roland McGrath  <roland@baalperazim.frob.com>
2255
2256         * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
2257         (init1): Don't initialize __environ here, since init already does it.
2258         (first_init): New function, broken out of _init.
2259         (_hurd_stack_setup): Use it.
2260         [SHARED] (_dl_init_first): New function, renamed from old _init.
2261         (init1) [SHARED]: Don't call posixland_init here.
2262         (posixland_init): Take ENVP arg, so signature is usual for initializer.
2263         [SHARED] (_init): Define as alias for posixland_init.
2264         [! SHARED] (__libc_first_init): Define as alias for posixland_init.
2265         * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
2266         RTLD_START_SPECIAL_INIT before calling initializers.
2267         (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
2268         * sysdeps/mach/hurd/i386/dl-machine.h: New file.
2269         * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
2270         * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
2271
2272         * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
2273         since we define the function with the name `tmpfile'.
2274
2275         * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
2276         * hurd/Versions: Likewise.
2277
2278 2000-04-02  Ulrich Drepper  <drepper@redhat.com>
2279
2280         * elf/dl-runtime.c (fixup): Fix typo in comment.
2281
2282         * resolv/netdb.h (getnameinfo): All length parameters are of type
2283         socklen_t.
2284         * inet/getnameinfo.c: Likewise.
2285
2286 2000-04-01  Ulrich Drepper  <drepper@redhat.com>
2287
2288         * posix/unistd.h (socklen_t): Define if it has not yet happened.
2289         (gethostname): Change type of second parameter to socklen_t.
2290         * include/unistd.h (__gethostname): Change type of second
2291         parameter to socklen_t.
2292         * sysdeps/generic/gethostname.c (__gethostname): Likewise.
2293         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
2294         * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
2295         * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
2296         Likewise.
2297         * sysdeps/unix/sysv/linux/gethostname.c: Removed.
2298         * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
2299         Allow definition elsewhere.
2300         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
2301         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2302         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2303         * sysdeps/generic/bits/types.h: Define __socklen_t.
2304         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
2305         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
2306         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2307         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2308         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2309         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2310         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2311
2312         * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
2313         (inet_lnaof): Likewise.
2314         (inet_netof): Likewise.
2315         (inet_network): Likewise.
2316         (inet_aton): Likewise.
2317         (inet_makeaddr): Change parameter types to in_addr_t.
2318         (inet_neta): Likewise.
2319         (inet_ntop): Change type of last parameter to socklen_t.
2320         (inet_aton): Only make available if __USE_MISC.
2321         (inet_neta): Likewise.
2322         (inet_net_ntop): Likewise.
2323         (inet_net_pton): Likewise.
2324         (inet_nsap_ntoa): Likewise.
2325
2326         * inet/in.h: Define in_port_t type.
2327         Define in_addr_t type.
2328         (struct in_addr): Use in_addr_t in definition.
2329         (IN_CLASSA): Use cast to in_addr_t.
2330         (IN_CLASSB): Likewise.
2331         (IN_CLASSC): Likewise.
2332         (IN_CLASSD): Likewise.
2333         (IN_EXPERIMENTAL): Likewise.
2334         (IN_BADCLASS): Likewise.
2335         (INADDR_ANY): Likewise.
2336         (INADDR_BROADCAST): Likewise.
2337         (INADDR_NONE): Likewise.
2338         (INADDR_LOOPBACK): Likewise.
2339         (INADDR_UNSPEC_GROUP): Likewise.
2340         (INADDR_ALLHOSTS_GROUP): Likewise.
2341         (INADDR_ALLRTRS_GROUP): Likewise.
2342         (INADDR_MAX_LOCAL_GROUP): Likewise.
2343         (struct sockaddr_in): Use in_port_t for sin_port element.
2344         (struct sockaddr_in6): Use in_port_t for sin6_port element.
2345         Use uint8_t instead of u_int8_t.
2346
2347         * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
2348         Call __inet_aton instead of inet_aton.
2349         (__inet_aton): Renamed from inet_aton.  Add weak alias under old name.
2350
2351         * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
2352         (innetgr): Likewise.
2353         (struct addrinfo): Use socklen_t for ai_addrlen element.
2354
2355         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
2356         IPV6_RECVERR): New defines.
2357
2358         * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
2359         * inet/getnetbyad.c: Likewise.
2360         * inet/getnetbyad_r.c: Likewise.
2361         * nis/nss_nis/nis-network.c: Likewise.
2362         * nis/nssplus_nis/nisplus-network.c: Likewise.
2363         * nss/nss_files/files-network.c: Likewise.
2364         * resolv/netdb.h: Define uint32_t if not already happened.
2365         Include bits/netdb.h.  Remove definition of struct netent.
2366         Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
2367         * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
2368         * sysdeps/generic/bits/netdb.h: New file.
2369         * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
2370
2371         * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
2372         (tests): Add glrefmain.
2373         Add rules to build modules and run tests.  Ignore result of glrefmain
2374         for now since it fails.
2375         * dlfcn/glrefmain.c: New file.
2376         * dlfcn/glreflib1.c: New file.
2377         * dlfcn/glreflib2.c: New file.
2378
2379         * test-skeleton.c: Include <string.h> for strsignal prototype.
2380
2381         * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
2382         to be missing.
2383
2384         * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
2385         former init-first.h.  Initialize __libc_multiple_libcs.
2386
2387 2000-03-31  Ulrich Drepper  <drepper@redhat.com>
2388
2389         * iconv/skeleton.c: Define access macros with u suffix.  Adjust
2390         #if expression for use of unaligned function to the one used in
2391         the definition of these functions.
2392         * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
2393         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
2394         (internal_ucs4le_loop_unaligned): New function.
2395
2396         * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
2397         (tests): Add order.
2398         (module-names): Add dep1, dep2, dep3, and dep4.
2399         Add dependencies for dep* modules and order.
2400         Define rule for order.out which checks the result.
2401         * elf/dep1.c: New file.
2402         * elf/dep2.c: New file.
2403         * elf/dep3.c: New file.
2404         * elf/dep4.c: New file.
2405         * elf/order.c: New file.
2406
2407         * elf/dl-init.c: Fix typo in comment.
2408
2409 2000-03-31  Andreas Jaeger  <aj@suse.de>
2410
2411         * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
2412         init function interface.
2413         * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
2414
2415 2000-03-31  Andreas Jaeger  <aj@suse.de>
2416
2417         * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
2418         * sysdeps/mips/fpu/fegetenv.c: Likewise.
2419         * sysdeps/mips/fpu/feupdateenv.c: Likewise.
2420         * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
2421         * sysdeps/mips/fpu/fesetenv.c: Likewise.
2422
2423         * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
2424         anymore, update comment.
2425
2426         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2427
2428         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
2429         SHLIB_COMPAT - the struct is always needed.
2430
2431 2000-03-31  Ulrich Drepper  <drepper@redhat.com>
2432
2433         * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
2434         * elf/dl-support.c: Define _dl_starting_up.
2435
2436 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
2437
2438         * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
2439         * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
2440
2441         * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
2442
2443         * elf/Makefile (dl-routines): Remove preinit.
2444         * elf/Versions: Remove _dl_preinit.
2445         * elf/dl-preinit.c: Removed.  Move content into...
2446         * elf/dl-init.c: ...here.
2447         * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
2448
2449         * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
2450         elements.
2451
2452 2000-03-29  Geoff Clare  <gwc@unisoft.com>
2453
2454         * stdlib/strfmon.c: Corrected problems with the code that
2455         sets default values for [np]_sep_by_space and
2456         [np]_sign_posn; also the new positive/negative alignment
2457         code from the previous patch was not quite right for
2458         [np]_sign_posn = 0.
2459
2460         * localedata/tst-fmon.data: Changes corresponding to the
2461         two sets of fixes made to stdlib/strfmon.c.
2462
2463 2000-03-29  Jes Sorensen  <jes@pcatls01.cern.ch>
2464
2465         * malloc/malloc.c: Declare bit flags UL so that they will not
2466         default to int size when being inverted.
2467
2468 2000-03-29  Andreas Jaeger  <aj@suse.de>
2469
2470         * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
2471         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
2472
2473 2000-03-29  Andreas Jaeger  <aj@suse.de>,
2474             Ralf Baechle <ralf@uni-koblenz.de>
2475
2476         * Makeconfig: Introduce new variable SHARED to mark code used in
2477         the shared library.
2478         * elf/dl-close.c: Use it instead of PIC.
2479         * elf/dl-load.c: Likewise.
2480         * elf/dl-open.c: Likewise.
2481         * hurd/geteuids.c: Likewise.
2482         * include/libc-symbols.h: Likewise.
2483         * include/shlib-compat.h: Likewise.
2484         * libio/freopen.c: Likewise.
2485         * linuxthreads/cancel.c: Likewise.
2486         * linuxthreads/pthread.c: Likewise.
2487         * linuxthreads/wrapsyscall.c: Likewise.
2488         * nss/nsswitch.c: Likewise.
2489         * stdio-common/vfprintf.c: Likewise.
2490         * sysdeps/arm/init-first.c: Likewise.
2491         * sysdeps/i386/init-first.c: Likewise
2492         * sysdeps/generic/init-first.c: Likewise.
2493         * sysdeps/generic/libc-start.c: Likewise.
2494         * sysdeps/mips/init-first.c: Likewise.
2495         * sysdeps/powerpc/elf/libc-start.c: Likewise.
2496         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
2497         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
2498         * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
2499         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2500
2501         * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
2502
2503 2000-03-29  Andreas Jaeger  <aj@suse.de>
2504
2505         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
2506         Use D_PTR to access relocated entries in l_info.
2507         (elf_machine_rela): Likewise.
2508
2509         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
2510         Likewise.
2511         (elf_machine_rela): Likewise.
2512
2513         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
2514         Likewise.
2515         (__elf_machine_fixup_plt): Likewise.
2516         (__process_machine_rela): Likewise.
2517
2518         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
2519         (elf_machine_rela): Likewise.
2520
2521         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
2522         (elf_machine_rel): Likewise.
2523
2524         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
2525         (elf_machine_fixup_plt): Likewise.
2526         (elf_machine_rela): Likewise.
2527
2528 2000-03-29  Andreas Jaeger  <aj@suse.de>
2529
2530         * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
2531         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2532         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2533         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
2534         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
2535         * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
2536         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
2537         * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
2538         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2539         * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
2540         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
2541         * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
2542         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
2543         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
2544         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2545
2546         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
2547         macros, remove K&R prototypes.
2548
2549 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
2550
2551         * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
2552         Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
2553         (PR libc/1677).
2554
2555 2000-03-30  Andreas Jaeger  <aj@suse.de>
2556
2557         * misc/sys/cdefs.h: Remove K&R support.
2558
2559 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
2560
2561         * iconv/skeleton.c: Avoid compiling unaligned versions in some
2562         with size of dynamic sectionmore cases.
2563         * iconv/loop.c: Likewise.
2564
2565 2000-03-29  Bruno Haible  <haible@clisp.cons.org>
2566
2567         * iconv/loop.c (put16): Remove __const. Fix access index.
2568         (put32): Remove __const. Use uint32_t instead of uint16_t.
2569         * iconv/skeleton.c: Likewise.
2570
2571 2000-03-30  Roland McGrath  <roland@baalperazim.frob.com>
2572
2573         * mach/Versions (libc: GLIBC_2.0)
2574         [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
2575         __vm_allocate on this.
2576         [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
2577         mutex- and spinlock-related symbols on this.
2578         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
2579         New version set.  Lock-related symbols go here instead in this case.
2580         * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
2581         _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
2582         cthread_getspecific, cthread_setspecific, __libc_getspecific.
2583         * hurd/Versions
2584         [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
2585         Put them here instead.
2586         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
2587         New version set.  Those cthreads symbols go here instead in this case.
2588         * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
2589
2590 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
2591
2592         * elf/dl-init.c (_dl_init): We don't need to call constructors
2593         recursively.  Fold _dl_init_rec in _dl_init and optimize a bit more.
2594
2595         Implement dynamic determination of constructor/destructor order in
2596         the dynamic linker.
2597         * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
2598         (GLIBC_2.2): Add _dl_init.
2599         * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
2600         r_duplist is not anymore allocated separately.  l_initfini is and
2601         therefore free it if necessary.
2602         * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
2603         malloc block.  Otherwise allocate l_initfini list only.
2604         Put dependencies for the object in l_initfini list.
2605         Sort dependencies for the object to be loaded topologically.
2606         * elf/dl-fini.c: Before running the destructors sort the topologically.
2607         * elf/dl-init.c (_dl_init): Renamed from _dl_init_next.  Rewrite to
2608         call constructors instead of iterating over the pointers.  Get list of
2609         objects for which to run constructors from l_initfini element. Accept
2610         argc, argv, and env as parameters and pass them to the constructors.
2611         * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
2612         with size of dynamic section.
2613         * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
2614         _dl_init_next and calling constructors ourself.
2615         * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
2616         Take argc, argv, and env as parameters and pass them to the
2617         constructors.  Rewrite to call all constructors and not iterate over
2618         the pointers.
2619         * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry.  Don't
2620         precompute l_initcount and l_preinitcount.
2621         * elf/link.h (struct link_map): Add l_ldnum member.
2622         Make l_phdr_allocated part of the bitfield.  Remove l_runcount,
2623         l_initcount, and l_preinitcount.  Add l_initfini.
2624         * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
2625         one for _dl_init.
2626         * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
2627         function interface.
2628         * sysdeps/unix/sysv/linux/init-first.h: Removed.
2629         * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
2630         * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
2631         SYSDEP_CALL_INIT.  Make _init a strong alias of init.  The calling
2632         conventions now match.
2633
2634         * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
2635         effect for shared objects.  Don't emit message and call only for
2636         static library.
2637
2638 2000-03-29  Ulrich Drepper  <drepper@redhat.com>
2639
2640         * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
2641         CSA_Z243.4-1985-1..UCS2.
2642         * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
2643         ISO-8859-10..UCS2.
2644
2645 2000-03-29  Andreas Jaeger  <aj@suse.de>
2646
2647         * include/unistd.h: Remove duplicate entry for __rmdir.
2648         Remove declaration of __mkdir since __mkdir is declared in
2649         sys/stat.h.
2650
2651         * manual/creature.texi (Feature Test Macros): Fix typo, reported
2652         by Michael Deutschmann <michael@talamasca.ocis.net>.
2653
2654         * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
2655         * sysdeps/mips/fpu/fegetenv.c: Likewise.
2656         * sysdeps/mips/fpu/fesetenv.c: Likewise.
2657         * sysdeps/mips/fpu/feupdateenv.c: Likewise.
2658         * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
2659
2660 2000-03-28  Andreas Jaeger  <aj@suse.de>
2661
2662         * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
2663         declaration, the prototype is defined via bits/mathcalls.h.
2664         (__sincosf): Likewise.
2665         (__sincosl): Likewise.
2666         (ldexp): Likewise.
2667         (ldexpf): Likewise.
2668         (ldexpl): Likewise.
2669         (__finite): Likewise.
2670         (__inline_mathcodeNP): New macro without prototype
2671         declarations.
2672         (__inline_mathcodeNP2): Likewise.
2673         (__inline_mathcodeNP3): Likewise.
2674         (__inline_mathcodeNP_): Likewise.
2675         (__inline_mathcodeNP2_): Likewise.
2676         (__inline_mathcodeNP3_): Likewise.
2677         (__inline_mathopNP): Likewise.
2678         (__inline_mathop_declNP): Likewise.
2679         (__inline_mathop_declNP_): Likewise.
2680         (__inline_mathcode_): Use __inline_mathcodeNP_.
2681         (__inline_mathcode2_): Use __inline_mathcodeNP2_.
2682         (__inline_mathcode3_): Use __inline_mathcodeNP3_.
2683         (__inline_mathop_decl_): Use __inline_mathop_declNP__.
2684         (__expm1l): Don't define prototype, the prototype is defined via
2685         bits/mathcalls.h.
2686         (exp): Likewise.
2687         (__expl): Likewise.
2688         (tan): Likewise.
2689         (atan2): Likewise.
2690         (__atan2l): Likewise.
2691         (fmod): Likewise.
2692         (pow): Likewise.
2693         (fabsf): Likewise.
2694         (fabsl): Likewise.
2695         (__fabsl): Likewise.
2696         (asin): Likewise.
2697         (acos): Likewise.
2698         (sinh): Likewise.
2699         (cosh): Likewise.
2700         (tanh): Likewise.
2701         (floor): Likewise.
2702         (ceil): Likewise.
2703         (expm1): Likewise.
2704         (log1p): Likewise.
2705         (asinh): Likewise.
2706         (acosh): Likewise.
2707         (atanh): Likewise.
2708         (hypot): Likewise.
2709         (logb): Likewise.
2710         (fma): Likewise.
2711         (drem): Likewise.
2712         (sqrt): Likewise.
2713         (__sqrtl): Likewise.
2714         (sin): Likewise.
2715         (cos): Likewise.
2716         (atan): Likewise.
2717         (log): Likewise.
2718         (log10): Likewise.
2719         (asinh): Likewise.
2720         (log2): Likewise.
2721         (rint): Likewise.
2722
2723 2000-03-28  Ulrich Drepper  <drepper@redhat.com>
2724
2725         * Makerules: If make variable md5 is defined to yes after
2726         generating dependencies generate MD5 sum for the object.
2727
2728         * iconv/gconv_builtin.h: Fix length in transformation definition
2729         for UNICODEBIG.
2730
2731         * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
2732
2733         * iconv/loop.c: Define get16, get32, put16, and put32 macros to
2734         allow as well reading from/writing to unaligned addresses on machines
2735         which don't support this in hardware.  Use FCTNAME macro to define
2736         function name.  Include the file a second time for platforms which
2737         need special unaligned handling.
2738         * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
2739         to access potentially unaligned addresses.  These macros are intended
2740         to be used only outside the loops.
2741         (unaligned): New definition.  In case the machine can handle unaligned
2742         access define as zero.  Otherwise as a variable which is initialized
2743         as nonzero in case the buffer passed in at runtime is unaligned with
2744         respect to the character set encoding involved.
2745         Call aligned or unaligned looop functions according to unaligned
2746         variable.
2747         * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
2748         of direct casting pointer to potentially handle unaligned memory
2749         accesses.
2750         * iconvdata/8bit-generic.c: Likewise.
2751         * iconvdata/ansi_x3.110.c: Likewise.
2752         * iconvdata/big5.c: Likewise.
2753         * iconvdata/euc-cn.c: Likewise.
2754         * iconvdata/euc-jp.c: Likewise.
2755         * iconvdata/euc-kr.c: Likewise.
2756         * iconvdata/euc-tw.c: Likewise.
2757         * iconvdata/gbk.c: Likewise.
2758         * iconvdata/iso-2022-cn.c: Likewise.
2759         * iconvdata/iso-2022-jp.c: Likewise.
2760         * iconvdata/iso-2022-kr.c: Likewise.
2761         * iconvdata/iso646.c: Likewise.
2762         * iconvdata/iso_6937-2.c: Likewise.
2763         * iconvdata/iso_6937.c: Likewise.
2764         * iconvdata/johab.c: Likewise.
2765         * iconvdata/sjis.c: Likewise.
2766         * iconvdata/t.61.c: Likewise.
2767         * iconvdata/uhc.c: Likewise.
2768         * iconvdata/unicode.c: Likewise.
2769         * iconvdata/utf-16.c: Likewise.
2770
2771         * locale/programs/simple-hash.c: Little optimizations.  Remove K&R
2772         prototypes.
2773
2774         * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
2775         * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
2776         public.
2777         * malloc/mcheck.h (mcheck_check_all): Declare.
2778
2779         * stdio-common/Makefile (tests): Add tst-obprintf.
2780
2781 2000-03-28  Roland McGrath  <roland@baalperazim.frob.com>
2782
2783         * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
2784         Declare pthread_sigmask.
2785
2786         * csu/version.c: Add 2000 to copyright years.
2787         Remove Emacs local variables section.
2788
2789 2000-03-23  Bruno Haible  <haible@clisp.cons.org>
2790
2791         * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
2792         __gconv_transform_internal_ucs2little): Remove declarations.
2793         * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
2794         __gconv_transform_internal_ucs2): Never need to bswap_16.
2795         (__gconv_transform_ucs2reverse_internal,
2796         __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
2797
2798 2000-03-27  Roland McGrath  <roland@baalperazim.frob.com>
2799
2800         * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
2801         obsoleting version not being defined at all, in which case the
2802         result is always true.
2803
2804         * Makeconfig (preprocess-versions): New canned sequence for running
2805         cpp on shlib-versions and the like.
2806         (soversions.i): Use it.
2807         * Makerules (Versions.all, sysd-versions): Use it to preprocess the
2808         Versions.def and Versions files.
2809
2810 2000-03-27  Ulrich Drepper  <drepper@redhat.com>
2811
2812         * stdio-common/tst-obprintf.c (main): Add another check to see
2813         obstack_printf handling all possible beginnings of the block
2814         inside an obstack chunk.
2815
2816         * locale/programs/localedef.c: Use __malloc_initialize_hook to
2817         install mcheck handler.
2818
2819         * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
2820         handling problem.
2821
2822 2000-03-27  Roland McGrath  <roland@baalperazim.frob.com>
2823
2824         * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
2825
2826         * include/shlib-compat.h: Conditionalize <abi-versions.h> include
2827         on [HAVE_ELF && DO_VERSIONING].
2828
2829 2000-03-27  Ulrich Drepper  <drepper@redhat.com>
2830
2831         * stdio-common/tst-obprintf.c: New file.
2832
2833 2000-03-26  Ulrich Drepper  <drepper@redhat.com>
2834
2835         * libio/genops.c (_IO_default_xsputn): Little optimization.  Call
2836         _IO_OVERFLOW directly instead through __overflow.
2837
2838         * locale/programs/localedef.c (construct_output_path): If path
2839         contains a / compute the end of the directory name correctly.
2840
2841         * include/features.h: Undef and document __USE_XOPEN2K.
2842
2843         * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
2844         whenever a function is called.  Initiated by calling mcheck_pedantic
2845         instead of mcheck.
2846         * malloc/mcheck.h: Declare mcheck_pedantic.
2847         * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
2848         * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
2849         for now.
2850
2851 2000-03-26  Roland McGrath  <roland@baalperazim.frob.com>
2852
2853         * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
2854         * dlfcn/dlopenold.c: Likewise.
2855         * nss/getXXbyYY_r.c: Likewise.
2856         * nss/getXXent_r.c: Likewise.
2857         * hurd/hurdinit.c: Likewise.
2858         * hurd/compat-20.c: Likewise.
2859         * libio/oldiofopen.c: Likewise.
2860         * libio/oldiofclose.c: Likewise.
2861         * libio/oldiofdopen.c: Likewise.
2862         * libio/oldfileops.c: Likewise.
2863         * libio/oldstdfiles.c: Likewise.
2864         * libio/oldiofsetpos.c: Likewise.
2865         * libio/oldiofgetpos.c: Likewise.
2866         * libio/oldiofgetpos64.c: Likewise.
2867         * libio/oldiofsetpos64.c: Likewise.
2868         * libio/oldiopopen.c: Likewise.
2869         * libio/oldpclose.c: Likewise.
2870         * libio/oldtmpfile.c: Likewise.
2871         * libio/freopen.c (freopen): Likewise.
2872         * libio/iofclose.c (_IO_new_fclose): Likewise.
2873
2874         * sysdeps/mach/sys/reboot.h: Include <features.h>.
2875         (reboot): Declare it.
2876
2877         * libio/Makefile (headers): Add bits/stdio-lock.h here.
2878
2879         * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
2880
2881         * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
2882
2883         * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
2884         __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
2885         We need this for the sbrk decl, which can be included without Unix98.
2886
2887 2000-03-20  Richard Henderson  <rth@cygnus.com>
2888
2889         * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
2890         argument to yperr2nss is an int, not size_t.
2891         * posix/regex.c (print_partial_compiled_pattern): Cast all
2892         ptrdiff_t to long for printing.
2893         (print_compiled_pattern): Use Z for printing size_t.
2894         * posix/testfnm.c (tests): Avoid trigraphs.
2895         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
2896         Use a C comment, not an assembly comment.
2897
2898         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
2899         of __ASSUME_32BITUIDS.
2900
2901 2000-03-26  Ulrich Drepper  <drepper@redhat.com>
2902
2903         * libio/iofopncook.c: Remove K&R prototypes.
2904
2905 2000-03-26  Roland McGrath  <roland@baalperazim.frob.com>
2906
2907         * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
2908         an initial value of 1024 instead of RLIM_INFINITY.
2909
2910         * Versions.def (libmachuser, libhurduser): Remove these sections,
2911         since these libraries do not presently use symbol versions.
2912
2913         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
2914         is RLIM_INFINITY, return -1 instead.
2915
2916 2000-03-24  Andreas Jaeger  <aj@suse.de>
2917
2918         * Makefile (postclean): Added soversions.i.
2919
2920 2000-03-24  Scott Bambrough  <scottb@netwinder.org>
2921
2922         * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
2923         _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
2924         and _FPU_IEEE.  Change _FPU_RESERVED.
2925
2926 2000-03-24  Scott Bambrough  <scottb@netwinder.org>
2927
2928         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
2929
2930 2000-03-24  Roland McGrath  <roland@baalperazim.frob.com>
2931
2932         * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
2933         (gaih_inet): Remove unused duplicate variable.
2934
2935         * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
2936         Don't use __libc_sa_len, which only exists for Linux.  Just handle
2937         AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
2938         only flavors supported by this function anyway.
2939
2940 2000-03-24  Geoff Clare  <gwc@unisoft.com>
2941
2942         * stdlib/strfmon.c: corrected problems with missing signs and
2943         missing or extra spaces; allow for sign strings longer than
2944         one character; add padding to ensure positive and negative
2945         formats are aligned when a left precision is used.
2946
2947 2000-03-26  Ulrich Drepper  <drepper@redhat.com>
2948
2949         * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
2950         Patch by John Mizel <John.Mizel@msdw.com>.
2951
2952 2000-03-25  Ulrich Drepper  <drepper@redhat.com>
2953
2954         * manual/install.texi: Remove references to crypt add-on.
2955
2956 2000-03-25  Roland McGrath  <roland@baalperazim.frob.com>
2957
2958         * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
2959         section while taking the _hurd_rlimit_lock.
2960         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2961
2962 2000-03-24  Roland McGrath  <roland@baalperazim.frob.com>
2963
2964         * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
2965         using $(LN_S).
2966
2967         * sysdeps/mach/hurd/if_index.c: New file.
2968
2969         * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
2970         * sysdeps/gnu/net/if.h: here.
2971         (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
2972         * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
2973         * sysdeps/generic/net/if.h: New file.  Declares just the standard
2974         functions and `struct if_nameindex' type.
2975         * socket/Makefile (headers): Add net/if.h here.
2976         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
2977         * sysdeps/mach/hurd/Dist: Remove it here.
2978         * sysdeps/unix/sysv/linux/Dist: And here.
2979         * sysdeps/generic/if_index.c: Include <net/if.h>.
2980
2981 2000-03-24  Andreas Jaeger  <aj@suse.de>
2982
2983         * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
2984         access relocated entries in l_info.
2985         (elf_machine_got_rel): Likewise.
2986         (elf_machine_runtime_setup): Likewise.
2987         * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
2988         (elf_machine_runtime_setup): Likewise.
2989         (__dl_runtime_resolve): Likewise.
2990
2991 2000-03-23  Ulrich Drepper  <drepper@redhat.com>
2992
2993         * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
2994         * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
2995         according to RFC 2553.
2996         * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
2997         * inet/getnameinfo.c: Likewise.
2998         Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
2999
3000 2000-03-23  Bruno Haible  <haible@clisp.cons.org>
3001
3002         * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
3003         Remove no-op pointer increment.
3004
3005 2000-03-23  Andreas Jaeger  <aj@suse.de>
3006
3007         * stdio-common/tst-cookie.c (cookieseek): Change prototype to
3008         follow change for libio.h from 2000-03-10.
3009
3010 2000-03-23  Andreas Jaeger  <aj@suse.de>
3011
3012         * elf/dl-addr.c: Adjust include paths for ldsodefs location
3013         change.
3014         * elf/dl-debug.c: Likewise.
3015         * elf/dl-deps.c: Likewise.
3016         * elf/dl-error.c: Likewise.
3017         * elf/dl-fini.c: Likewise.
3018         * elf/dl-init.c: Likewise.
3019         * elf/dl-load.c: Likewise.
3020         * elf/dl-lookup.c: Likewise.
3021         * elf/dl-minimal.c: Likewise.
3022         * elf/dl-object.c: Likewise.
3023         * elf/dl-open.c: Likewise.
3024         * elf/dl-preinit.c: Likewise.
3025         * elf/dl-profile.c: Likewise.
3026         * elf/dl-profstub.c: Likewise.
3027         * elf/dl-reloc.c: Likewise.
3028         * elf/dl-runtime.c: Likewise.
3029         * elf/dl-support.c: Likewise.
3030         * elf/dl-symbol.c: Likewise.
3031         * elf/dl-version.c: Likewise.
3032         * elf/rtld.c: Likewise.
3033         * elf/sprof.c: Likewise.
3034         * sysdeps/generic/dl-cache.c: Likewise.
3035         * sysdeps/generic/dl-origin.c: Likewise.
3036         * sysdeps/generic/dl-sysdep.c: Likewise.
3037         * sysdeps/generic/elf/backtracesyms.c: Likewise.
3038         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3039         * sysdeps/generic/libc-start.c: Likewise.
3040         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3041         * sysdeps/powerpc/dl-machine.c: Likewise.
3042         * sysdeps/powerpc/elf/libc-start.c: Likewise.
3043         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3044         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3045         * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
3046
3047         * elf/ldsodefs.h: Move file to ...
3048         * sysdeps/generic/ldsodefs.h: ... here.
3049
3050         * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
3051
3052         * sysdeps/mips/elf/ldsodefs.h: New file.
3053
3054         * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
3055         entries in l_info.
3056         (_dl_check_map_versions): Likewise.
3057         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3058         * elf/dl-load.c (_dl_init_paths): Likewise.
3059         (_dl_map_object): Likewise.
3060         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
3061         (elf_get_dynamic_info): Likewise.
3062         * elf/do-lookup.h (FCT): Likewise.
3063         * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
3064         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3065         * elf/dl-addr.c (_dl_addr): Likewise.
3066         * elf/dl-runtime.c (profile_fixup): Likewise.
3067         (fixup): Likewise.
3068         * elf/dl-init.c (_dl_init_next): Likewise.
3069         * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
3070         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
3071         (DISTINGUISH_LIB_VERSIONS): Likewise.
3072         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
3073         (elf_machine_rel): Likewise.
3074
3075         * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
3076         for writable dynamic section.
3077
3078 2000-03-22  Ulrich Drepper  <drepper@redhat.com>
3079
3080         * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
3081         large enough.  Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
3082
3083 2000-03-22  Andreas Jaeger  <aj@suse.de>
3084
3085         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
3086         from latest Linux kernel.
3087
3088 2000-03-21  Andreas Jaeger  <aj@suse.de>
3089
3090         * Versions.def: Add version 2.1.4.
3091
3092 2000-03-21  Ulrich Drepper  <drepper@redhat.com>
3093
3094         * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
3095         * libio/oldiofopen.c: Likewise.
3096         * libio/oldiofclose.c: Likewise.
3097         * sysdeps/unix/sysv/linux/errlist.c: Likewise.
3098
3099 2000-03-22  Roland McGrath  <roland@baalperazim.frob.com>
3100
3101         * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
3102         indicating the first version set to obsolete the conditionalized code.
3103         (compat_symbol): New macro.
3104         * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
3105         rhs be the ABI_* macro for the subsuming version.  Assign increasing
3106         integer values to the ABI_* macros for supported versions.
3107         * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
3108         compat_symbol macro.
3109
3110 2000-03-21  Ulrich Drepper  <drepper@redhat.com>
3111
3112         * nscd/connections.c (nscd_run): Pretty print.
3113         * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
3114
3115         * manual/charset.texi: Fix typos.  Rephrase.
3116         * manual/process.texi: Likewise.
3117         * manual/signal.texi: Likewise.
3118         Patches by Mike Coleman <mkc@kc.net>.
3119
3120         * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
3121         versions.
3122         * libio/iofdopen.c: Likewise.
3123         * libio/iofgetpos.c: Likewise.
3124         * libio/iofgetpos64.c: Likewise.
3125         * libio/iofopen.c: Likewise.
3126         * libio/iofsetpos.c: Likewise.
3127         * libio/iofsetpos64.c: Likewise.
3128         * libio/iopopen.c: Likewise.
3129         * libio/oldiofopen.c: Likewise.
3130         * libio/pclose.c: Likewise.
3131         * sysdeps/gnu/siglist.c: Likewise.
3132         * sysdeps/unix/sysv/linux/errlist.c: Likewise.
3133
3134         * include/shlib-compat.h (versioned_symbol): Give preprocessor the
3135         chance to expand VERSION_##lib##_##version.
3136
3137         * libio/fileops.c: Use new macros from shlib-compat.h to define
3138         versions.
3139         * libio/iofclose.c: Likewise.
3140         * libio/oldiofclose.c: Likewise.
3141         Patch by Roland McGrath <roland@frob.com>.
3142
3143 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
3144
3145         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
3146         Lay out struct sigcontext according to what really gets passed on
3147         the stack.
3148         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
3149         (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
3150         (prgregset_t, prfpregset_t): Define to elf_* types.
3151         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
3152         Define to correct value.
3153         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
3154         sigcontext.
3155         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
3156
3157 2000-03-21  Roland McGrath  <roland@baalperazim.frob.com>
3158
3159         * scripts/firstversions.awk: Allow multiple version sets in the
3160         "earliest version" specification, meaning that version sets in the
3161         gaps between listed versions should be folded into the earliest later
3162         version that is explicitly listed.
3163         * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
3164         we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
3165
3166 2000-03-21  Ulrich Drepper  <drepper@redhat.com>
3167
3168         * iconv/gconv_builtin.c: Include <endian.h>.
3169         * iconv/gconv_builtin.h: Add UCS-BE aliases.
3170         Add UCS-4LE transformation.  Define UNICODEBIG and UNICODELITTLE
3171         according to current platform.
3172         * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
3173         __gconv_transform_internal_ucs2reverse, and
3174         __gconv_transform_internal_ucs4le.
3175         * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
3176         __gconv_transform_ucs2reverse_internal and
3177         __gconv_transform_internal_ucs2reverse.
3178         * iconvdata/Makefile (modules): Add UNICODE.
3179         (distribute): Add unicode.c.
3180         * iconvdata/gconv-modules: Add definitions for UNICODE module.
3181         * iconvdata/unicode.c: New file.
3182
3183         * iconvdata/utf-16.c: Rewrite code to emit BOM.  Correct code to
3184         determine byte order of input and convert accordingly.
3185
3186         * iconvdata/utf-16.c (gconv_init): Fix typo.
3187
3188 2000-03-20  Ulrich Drepper  <drepper@redhat.com>
3189
3190         * iconvdata/gconv-modules: Fix typo.
3191
3192         * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
3193         more messages.
3194
3195         * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
3196
3197 2000-03-16  Thorsten Kukuk  <kukuk@suse.de>
3198
3199         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
3200
3201 2000-03-20  Ulrich Drepper  <drepper@redhat.com>
3202
3203         * misc/Makefile (routines): Add mincore.
3204
3205 2000-03-20  Andreas Jaeger  <aj@suse.de>
3206
3207         * sysdeps/generic/mincore.c: New stub file.
3208
3209         * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
3210         from latest Linux kernel.
3211
3212 2000-03-20  Ulrich Drepper  <drepper@redhat.com>
3213
3214         * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
3215         _SC_GETPW_R_SIZE_MAX.
3216
3217 2000-03-20  Richard Henderson  <rth@cygnus.com>
3218
3219         * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
3220         in GLIBC_2.1.4.
3221
3222 2000-03-20  Richard Henderson  <rth@cygnus.com>
3223
3224         * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
3225         of arithmetic instructions.
3226
3227         * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
3228         with the fpcr.  Protect from INV exception.
3229         * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
3230         * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
3231         * sysdeps/alpha/fpu/s_floorf.c: Likewise.
3232
3233         * sysdeps/alpha/fpu/s_copysign.c: New.
3234         * sysdeps/alpha/fpu/s_copysignf.c: New.
3235         * sysdeps/alpha/fpu/s_fabs.c: New.
3236         * sysdeps/alpha/fpu/s_fabsf.c: New.
3237         * sysdeps/alpha/fpu/s_rint.c: New.
3238         * sysdeps/alpha/fpu/s_rintf.c: New.
3239
3240         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
3241
3242         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
3243         Kill sethae.
3244         * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
3245         * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
3246         Use physical addresses not KSEG addresses.
3247         (io_system): Add PYXIS.
3248         (io): Remove hae.reg, sys, hae_shift.
3249         (stb_mb, stw_mb, stl_mb, __sethae): New.
3250         (inline_outb, inline_outw, inline_outl): Don't set hae.
3251         (inline_inb, inline_inw, inline_inl): Likewise.
3252         (dense_sethae): New null function.
3253         (struct cpuinfo_data): New.
3254         (process_cpuinfo): Use local and stack variables, not static.
3255         Move readlink check here from init_iosys.
3256         (init_iosys): Use __pciconfig_iobase first.  Know SX and LX as PYXIS.
3257         (_iopl): Simplify.
3258         (_hae_shift): Calculate it here.
3259         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
3260         add pciconfig_iobase.
3261
3262 2000-03-20  Roland McGrath  <roland@baalperazim.frob.com>
3263
3264         * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
3265         * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
3266
3267         * scripts/versions.awk: Fixed version renaming code to distinguish
3268         libraries properly.
3269
3270 2000-03-19  Ulrich Drepper  <drepper@redhat.com>
3271
3272         * include/stdlib.h: Add prototype for __cxa_atexit.
3273
3274         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
3275         _SLOWDOWN flags.  Patch by Jim Blandy <jimb@cygnus.com>.
3276
3277 2000-03-17  Cristian Gafton  <gafton@redhat.com>
3278
3279         * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
3280         existing rtld-installed-name.
3281         ($(rtld-installed-name)): Request libc-$(version) be installed too.
3282         replace existing rtld-installed-name using $(symbolic-link-prog).
3283
3284 2000-03-17  Roland McGrath  <roland@baalperazim.frob.com>
3285
3286         * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
3287         (insert_value, handle_ellipsis, collate_read): Replace %zu in format
3288         strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
3289         but not the former.
3290
3291 2000-03-19  Ulrich Drepper  <drepper@redhat.com>
3292
3293         * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
3294         glob64.  Since there is no glob64 in the LFS proposal applications
3295         can assume that glob handles LFS situations.  glob64 is only needed
3296         if alternative filesystem functions are used.
3297
3298 2000-03-19  Geoff Clare  <gwc@unisoft.com>
3299
3300         * sysdeps/generic/glob.c: Correct gl_pathc value returned
3301         when GLOB_DOOFFS is set; correct handling of patterns
3302         containing escaped wildcards (and no unescaped ones);
3303         GLOB_ERR flag was being ignored in some situations.
3304
3305         * posix/globtest.c, posix/globtest.sh: Updated to include
3306         tests for the problems fixed by the above changes to glob.c.
3307
3308         * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
3309
3310 2000-03-19  Roland McGrath  <roland@baalperazim.frob.com>
3311
3312         * Makeconfig (soversion.i): Use only first match for each lib.
3313
3314         * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
3315
3316         * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
3317         rather than $(sysd-dirs-done) to protect these rules.
3318
3319         * Makerules (version-renames.def): Target removed.
3320         (Versions.all): Depend on soversions.i directly and parse it.
3321
3322         * Makeconfig (soversions.i): New target, input-reading parts of
3323         soversions.mk generation moved here; result is a canonicalized
3324         list "LIB VERSION [SET]" for this configuration.
3325         (soversions.mk): Use that as input.  Don't emit map-firstversions.
3326         * Makerules (version-renames.def): New target, generated from
3327         soversions.i with contents that was in $(map-firstversions).
3328         (Versions.all): Don't depend on soversions.mk, depend on
3329         version-renames.def instead; just cat it into the input.
3330
3331         * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
3332         for $(map-firstversions), which better handles it being empty.
3333
3334         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
3335         supported version for libc 0.2.90.libio to GLIBC_2.2.
3336
3337         * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
3338         and use it to emit new variable `map-firstversions'.
3339         * scripts/firstversions.awk: New file.
3340         * Makerules (Versions.all): Use scripts/firstversions.awk and
3341         the $(map-firstversions) value to generate a modified versions list
3342         that includes renames in "A = B" syntax for each version set earlier
3343         than the "earliest symbol version" named in shlib-versions.
3344         * scripts/versions.awk: Recognize "A = B" lines in the input to mean
3345         rename version set A to B in the output to the intermediate file.
3346         * scripts/abi-versions.awk: New file.
3347         * Makerules (abi-versions.h): New target, generated by that script.
3348         [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
3349         * include/shlib-compat.h: New file, uses that generated header.
3350
3351 2000-03-18  Roland McGrath  <roland@baalperazim.frob.com>
3352
3353         * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
3354         after stripping # comments, and then run it through cpp.
3355         This allows things like "%ifdef FOO" based on config.h settings.
3356         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
3357
3358         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
3359         and other errors that indicate a pseudo-receive happened, grok through
3360         the message buffer for port rights that need references fixed up.
3361
3362 2000-03-16  Andreas Jaeger  <aj@suse.de>
3363
3364         * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
3365
3366         * sysdeps/unix/sysv/linux/madvise.c: Remove.
3367
3368         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
3369         from latest Linux kernel.
3370         * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
3371
3372         * misc/sys/mman.h: Add prototype for mincore.
3373
3374 2000-03-17  Ulrich Drepper  <drepper@redhat.com>
3375
3376         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
3377         entry for GLIBC_2.0 version of setrlimit.
3378         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3379
3380 2000-03-16  Thorsten Kukuk  <kukuk@suse.de>
3381
3382         * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
3383         * nis/nss_compat/compat-initgroups.c: Likewise.
3384         * nis/nss_nis/nis-initgroups.c: Likewise.
3385         * nis/nss_nis/nis-netgrp.c: Likewise.
3386         * nis/nss_nis/nis-proto.c: Likewise.
3387         * nis/nss_nis/nis-rpc.c: Likewise.
3388         * nis/nss_nis/nis-service.c: Likewise.
3389         * nis/ypclnt.c: Likewise.
3390
3391 2000-03-16  Andreas Jaeger  <aj@suse.de>
3392
3393         * manual/Makefile: MAKEINFO is set to `:' from configure if it
3394         doesn't exist, correct checks.  Fixes PR libc/1649.
3395
3396 2000-03-16  Thorsten Kukuk  <kukuk@suse.de>
3397
3398         * nscd/hstcache.c: Restore correct UID.
3399         * nscd/pwdcache.c: Likewise.
3400         Patch from Gabor Gombas <gombasg@inf.elte.hu>.
3401
3402 2000-03-17  Roland McGrath  <roland@baalperazim.frob.com>
3403
3404         * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
3405         macros for register names, in line with 2000-03-14 linux change.
3406
3407         * sysdeps/mach/sched_yield.c: New file.
3408
3409 2000-03-13  Roland McGrath  <roland@baalperazim.frob.com>
3410
3411         * sysdeps/generic/lockfile.c: Include <stdio.h>
3412         (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
3413         case <libio.h> defined them.
3414         (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
3415         from __internal_*.
3416         (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
3417         ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
3418
3419         * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
3420         for more pleasing parse error.
3421
3422 2000-03-16  Ulrich Drepper  <drepper@redhat.com>
3423
3424         * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
3425         memory for eras.
3426         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3427
3428         * elf/Makefile: Add rules to compile and run constload1 test.
3429         * elf/constload1.c: New file.
3430         * elf/constload2.c: New file.
3431         * elf/constload3.c: New file.
3432
3433 2000-03-15  Ulrich Drepper  <drepper@redhat.com>
3434
3435         * sysdeps/posix/open64.c: Make __open64 weak alias.
3436         * sysdeps/posix/pread64.c: Make __pread64 weak alias.
3437         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3438         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
3439         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3440         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
3441         * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
3442         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3443         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
3444         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3445         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
3446
3447 2000-03-14  Ulrich Drepper  <drepper@redhat.com>
3448
3449         * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
3450         Nautilus.  Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
3451
3452 2000-03-16  Mark Kettenis  <kettenis@gnu.org>
3453
3454         * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
3455         Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
3456
3457 2000-03-08  Andreas Jaeger  <aj@suse.de>
3458
3459         * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
3460
3461 2000-03-14  Ulrich Drepper  <drepper@redhat.com>
3462
3463         * timezone/africa: Update from tzdata2000d.
3464         * timezone/asia: Likewise.
3465         * timezone/australasia: Likewise.
3466         * timezone/europe: Likewise.
3467         * timezone/northamerica: Likewise.
3468         * timezone/southamerica: Likewise.
3469
3470         * po/fr.po: Update from translation team.
3471         * po/de.po: Likewise.
3472
3473         * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
3474         last parameter.  Move code to add map to global scope from here...
3475         * elf/dl-open.c (dl_open_worker): ...here.
3476         * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
3477         * elf/rtld.c: Adjust call to _dl_map_object_deps.
3478
3479         * locale/programs/ld-collate.c (collate_read): Fix warning.
3480
3481         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
3482         values and macros for register names.
3483
3484         * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
3485         returned by seek cookie function is -1.
3486
3487 2000-03-14  Andreas Jaeger  <aj@suse.de>
3488
3489         * locale/localeconv.c (localeconv): Fix typo.
3490         Reported by Andre Charbonneau <andrec@corel.com>.
3491
3492 2000-03-14  Ulrich Drepper  <drepper@redhat.com>
3493
3494         * iconv/skeleton.c: Increment __invocation_counter in inner loop
3495         since modules depend on it counting the number of times the conversion
3496         function got called.
3497
3498         * iconv/gconv_open.c: Optimize loop to setup step data structure.
3499
3500         * iconv/gconv.h: Pretty print.
3501
3502 2000-03-04  Ulrich Drepper  <drepper@redhat.com>
3503
3504         * posix/wordexp-test.c: Correct one of the tests added in the last
3505         change.  Really get the root passwd entry to check again ~root.
3506
3507 2000-03-10  Andreas Jaeger  <aj@suse.de>
3508
3509         * manual/filesys.texi (Working Directory): Fix last patch.
3510         Patch by Martin Buchholz  <martin@xemacs.org>.
3511
3512 2000-03-10  Andreas Jaeger  <aj@suse.de>
3513
3514         * manual/creature.texi (Feature Test Macros): Fix language.
3515
3516 2000-03-10  Roland McGrath  <roland@baalperazim.frob.com>
3517
3518         * mach/devstream.c (devstream_write, devstream_read): New functions.
3519         (input, output): Functions removed.
3520         (mach_open_devstream): Use devstream_{read,write} as cookie functions,
3521         using only the vanilla fopencookie interface.
3522
3523         * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
3524         as macro for __io_functions.
3525         (funcsio): Use cookie_io_functions_t type name.
3526         (fopenport): Renamed from __fopenport.  Rewrite to call fopencookie.
3527
3528         * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
3529         fopencookie.
3530         (fopencookie): Use it.
3531         * libio/libio.h: Declare _IO_cookie_init.
3532         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
3533         _IO_cookie_init.
3534
3535         * libio/libio.h (__io_seek_fn): Fix second argument type
3536         to be a pointer, in line with the manual and the old stdio.
3537         * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
3538
3539         * sysdeps/generic/bits/stdio-lock.h: New file.
3540         This is a stub with #error, but that's better than no file at all.
3541
3542 2000-03-09  Martin Buchholz  <martin@xemacs.org>
3543
3544         * sysdeps/unix/sysv/linux/alpha/syscall.S:
3545         * manual/message.texi (Using gettextized software):
3546         * manual/message.texi (Message Translation): Doc Fixes.
3547         * manual/filesys.texi (File Size):
3548         * manual/charset.texi (glibc iconv Implementation):
3549         * locale/programs/ld-collate.c (collate_output):
3550         * iconv/gconv_db.c (find_derivation):
3551         * manual/install.texi:
3552         * manual/search.texi (Hash Search Function):
3553         * manual/stdio.texi (Output Conversion Syntax):
3554         * FAQ.in:
3555         * config.h.in:
3556         * sysdeps/generic/dl-sysdep.c:
3557         Doc Fixes.  `allows to' is not correct English.
3558
3559         * elf/rtld.c: Doc fixes.
3560         * manual/creature.texi (Feature Test Macros): Doc fixes.
3561         * manual/memory.texi (Hooks for Malloc): Doc Fixes.
3562
3563         * manual/filesys.texi (Working Directory): Check for ERANGE to
3564         avoid infloop.
3565
3566 2000-02-23  Roland McGrath  <roland@baalperazim.frob.com>
3567
3568         * string/argz-stringify.c (__argz_stringify): Fix loop termination
3569         conditions so as not to clobber the final '\0' when there is only one
3570         element in the vector.
3571
3572 2000-03-09  Roland McGrath  <roland@baalperazim.frob.com>
3573
3574         * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
3575         broken by 2000-02-27 change.
3576
3577         * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
3578
3579 2000-02-23  Roland McGrath  <roland@baalperazim.frob.com>
3580
3581         * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
3582         argument type, for 2000-02-22 change in signal/signal.h declaration.
3583
3584 2000-03-09  Roland McGrath  <roland@baalperazim.frob.com>
3585
3586         * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
3587         to getdirentries64 (no __), since the Linux implementation
3588         has no __ name, and there is no declaration for the __ name.
3589
3590         * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
3591
3592         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
3593         sed regexp so as not to break directory names including /../ within.
3594
3595         * sysdeps/unix/bsd/bits/waitflags.h: File removed.
3596         The sysdeps/generic file is right for BSD.  This file was in fact the
3597         Hurd file, but the only difference was the WNOREAP flag that was never
3598         actually implemented or used anywhere.
3599
3600         * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
3601         since AC_PATH_PROG already does it for us.
3602         (PERL): Rewrite check added in 2000-02-29 change for syntactic
3603         correctness and sh portability.  I replaced the broken check
3604         with a more sensible implementation of the apparently intended
3605         semantics, which might still be questionable.  Using expr causes
3606         a non-numeric value for `perl -V:apiversion` to be accepted,
3607         refusing to use only a perl that reports a number less than 5;
3608         on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
3609         * configure: Regenerated.
3610
3611 2000-03-08  Andreas Jaeger  <aj@suse.de>
3612
3613         * manual/crypt.texi: Fix paths.
3614
3615 2000-03-07  Andreas Jaeger  <aj@suse.de>
3616
3617         * resolv/netdb.h: The descriptions of rresvport and rresvport_af
3618         were swapped.
3619         Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
3620         libc/1636.
3621
3622 2000-03-06  Andreas Jaeger  <aj@suse.de>
3623
3624         * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
3625         in __sgn1l, otherwise g++ fails to parse this.
3626         Reported by Sean Chen <sean.chen@turbolinux.com>.
3627
3628 2000-03-03  Geoff Keating  <geoffk@cygnus.com>
3629
3630         * configure.in: Compute sizeof-long-double.
3631         * configure: Regenerated.
3632         * config.make.in: Make sizeof-long-double available to sub-makes.
3633
3634 2000-03-03  Ulrich Drepper  <drepper@cygnus.com>
3635
3636         * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
3637         call.
3638
3639 2000-03-03  Geoff Keating  <geoffk@cygnus.com>
3640
3641         * Makeconfig (rpath-dirs): Add crypt.
3642         (all-subdirs): Remove md5crypt.
3643         * crypt/sysdeps/unix/crypt.c: Move to crypt/.
3644         * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
3645         * sysdeps/generic/crypt-entry.c: Delete.
3646         * crypt/sysdeps/unix/crypt.h: Move to crypt/.
3647         * sysdeps/generic/crypt.h: Delete.
3648         * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
3649         * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
3650         * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
3651         * sysdeps/generic/des_impl.c: Delete.
3652         * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
3653         * crypt/sysdeps: Delete.
3654         * crypt/crypt_util.c: Don't use `patchlevel.h'.
3655         * md5-crypt/Versions: Move to crypt/.
3656         * md5-crypt/md5-crypt.c: Move to crypt/.
3657         * md5-crypt/md5.c: Move to crypt/.
3658         * md5-crypt/md5c-test.c: Move to crypt/.
3659         * md5-crypt/md5test.c: Move to crypt/.
3660         * md5-crypt: Delete.
3661         * crypt/Makefile: Adjust for new structure.
3662
3663 2000-03-03  Paul Eggert  <eggert@twinsun.com>
3664
3665         * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
3666         define to 1 if not defined.
3667
3668 2000-03-03  Andreas Jaeger  <aj@suse.de>
3669
3670         * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
3671
3672 2000-03-03  Andreas Jaeger  <aj@suse.de>
3673
3674         * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
3675         cases.
3676         (xdr_int64_t): Correctly handle lower half.
3677         Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
3678
3679 2000-03-03  Ulrich Drepper  <drepper@cygnus.com>
3680
3681         * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
3682         call.
3683
3684 2000-03-02  Andreas Jaeger  <aj@suse.de>
3685
3686         * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
3687         2.3.43.
3688
3689 2000-03-02  Andreas Jaeger  <aj@suse.de>
3690
3691         * resolv/Makefile (headers): Add arpa/nameser_compat.h.
3692
3693 2000-03-01  Andreas Jaeger  <aj@suse.de>
3694
3695         * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
3696         (tests): Added tst-getdate.
3697
3698         * time/tst-getdate.c: New file.
3699
3700         * time/datemsk: New file, needed for tst-getdate.
3701
3702 2000-02-29  Cristian Gafton  <gafton@redhat.com>
3703
3704         * configure.in (CCVERSION): Require at least veersion 5 of perl API.
3705
3706 2000-02-17  H.J. Lu  <hjl@gnu.org>
3707
3708         * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
3709
3710         * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
3711         available.
3712         (svcudp_recv): Set up message with the new "xp_pad" field for
3713         IP_PKTINFO.
3714         (svcudp_reply): Support IP_PKTINFO if available.
3715
3716 2000-03-01  Andreas Jaeger  <aj@suse.de>
3717
3718         * time/getdate.c (check_mday): Fix check for february.
3719         Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
3720         <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
3721
3722 2000-03-02  Andreas Jaeger  <aj@suse.de>
3723
3724         * posix/unistd.h: __THROW has to precede __attribute__, otherwise
3725         g++ fails to parse this.
3726         Reported by Sean Chen <sean.chen@turbolinux.com>.
3727
3728 2000-02-28  Ulrich Drepper  <drepper@redhat.com>
3729
3730         * io/creat.c: Moved to...
3731         * sysdeps/generic/creat.c: ...here.
3732         * io/creat64.c: Moved to...
3733         * sysdeps/generic/creat64.c: ...here.
3734         * io/lockf.c: Moved to...
3735         * sysdeps/generic/lockf.c: ...here.
3736
3737         * crypt/crypt.texi: Moved to...
3738         * manual/crypt.texi: ...here.
3739         * crypt/examples/genpass.c: Moved to...
3740         * manual/examples/genpass.c: ...here.
3741         * crypt/examples/mygenpass.c: Moved to...
3742         * manual/examples/mygenpass.c: ...here.
3743         * crypt/examples/testpass.c: Moved to...
3744         * manual/examples/testpass.c: ...here.
3745
3746         * manual/Makefile (chapters): Add crypt.
3747         * manual/conf.texi: Add usual header for not-last chapter.
3748         * manual/crypt.texi: Add special header for last chapter.
3749
3750 2000-02-28  Geoff Keating  <geoffk@cygnus.com>
3751
3752         * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
3753         * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
3754         complain if there is no crypt add-on.
3755         * crypt/configure: Removed.
3756
3757         * crypt/crypt.texi: Update documentation of US export restrictions
3758         to match the 14 Jan 2000 regulations.
3759
3760 2000-02-28  Geoff Keating  <geoffk@cygnus.com>
3761
3762         * crypt: New subdirectory, merged in from the crypt add-on.
3763
3764 2000-02-28  Ulrich Drepper  <drepper@redhat.com>
3765
3766         * include/unistd.h: Add __rmdir and __mkdir prototypes.
3767
3768
3769 See ChangeLog.10 for earlier changes.