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