]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
8f6f65e65ecd72944b588fd5915852f1c0028c46
[thirdparty/glibc.git] / ChangeLog
1 1999-12-27 Ulrich Drepper <drepper@cygnus.com>
2
3 * iconvdata/gb2312.c: Update mapping of GB 0x212c from latest
4 Unicode tables.
5
6 1999-12-26 Ulrich Drepper <drepper@cygnus.com>
7
8 * sysdeps/unix/sysv/linux/fxstat64.c: Rename have_no_stat64 to
9 __have_no_stat64.
10 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
11 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
12
13 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Remove inclusion
14 of <asm/resource.h>.
15
16 1999-12-26 Philip Blundell <philb@gnu.org>
17
18 * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove vm86. Set
19 argument count for `syscall' to 7.
20 * sysdeps/unix/sysv/linux/arm/sysdep.h: Add support for syscalls
21 with more than five arguments.
22 (DOARGS_5, UNDOARGS_5): Don't corrupt the calling stack frame.
23
24 1999-12-26 Ulrich Drepper <drepper@cygnus.com>
25
26 * locale/programs/ld-collate.c (collate_output): Don't start with empty
27 extrapool and indirectpool obstacks since we need the offsets to be
28 nonzero.
29 (collate_read): Call load_locale, not find_locale.
30 * locale/programs/ld-ctype.c (ctype_finish): If LC_CTYPE category
31 wasn't defined in the file also initialize repertoire if possible.
32 * locale/programs/ld-time.c (time_finish): Fix message string.
33 * locale/programs/linereader.c: Cast parameters of lr_error to
34 correct type to prevnet warning.
35 * locale/programs/localedef.c (load_locale): New file.
36 * locale/programs/localedef.h: Add its prototype.
37 * locale/programs/repertoire.c (repertoire_new_char): Add missing
38 parameters to lr_error call.
39
40 * localedata/Makefile: Enable running tests again.
41 * localedata/tests/test2.def: Adjust syntax to new specification.
42 * localedata/tests/test3.def: Likewise.
43 * localedata/tst-trans.sh: Redirect output of program into file.
44
45 * string/strcoll.c: Fix many error in new implementation to make it
46 pass (at least) the test suite.
47
48 * locale/Makefile: Don't link localedef statically anymore.
49
50 * locale/ld-collate.c (struct element_t): Add field is_character and
51 use it to distinguish real character from collating elements and
52 symbols.
53 (new_element): Take new parameter to initialize is_character. Change
54 all callers.
55 (handle_ellipsis): Use is_character field to make sure ellipsis is
56 only used with characters.
57 (collate_read): Fix reading of collating elements.
58
59 * string/strxfrm.c: Correct loop end detection and memory access
60 in the little optimization at the end.
61
62 * locale/programs/ld-monetary.c (monetary_finish): Correct code to
63 emit warnings. Provide default value for mon_decimal_point.
64
65 * locale/programs/ld-collate.c (collate_finish): Don't crash if this
66 category wasn't defined.
67 (collate_output): Likewise.
68
69 * locale/programs/ld-address.c: Don't emit message about not defined
70 category if be_quiet.
71 * locale/programs/ld-ctype.c: Likewise.
72 * locale/programs/ld-identification.c: Likewise.
73 * locale/programs/ld-measurement.c: Likewise.
74 * locale/programs/ld-messages.c: Likewise.
75 * locale/programs/ld-monetary.c: Likewise.
76 * locale/programs/ld-name.c: Likewise.
77 * locale/programs/ld-numeric.c: Likewise.
78 * locale/programs/ld-paper.c: Likewise.
79 * locale/programs/ld-telephone.c: Likewise.
80 * locale/programs/ld-time.c: Likewise.
81
82 * locale/programs/locfile.c (write_locale_data): Correct memory
83 allocation for fname.
84
85 1999-12-25 Ulrich Drepper <drepper@cygnus.com>
86
87 * locale/programs/ld-collate.c (read_directions): Fix a few messages.
88 (collate_finish): Test that position is used in all sections for
89 a level or in none.
90
91 * string/strxfrm.c: Optimize a bit. We don't need the highest bit
92 of the index returned by findidx.
93
94 * string/strcoll.c: Complete rewrite for new collate implementation.
95 * wcsmbs/wcscoll.c: Don't use strcoll.c, implement dummy implementation
96 locally.
97
98 * locale/C-collate.c (_nl_C_LC_COLLATE): Add one more entry for the
99 indirect table.
100 * locale/langinfo.h: Likewise.
101 * locale/categories.def: Likewise. Remove reference to postload
102 functions.
103 * locale/lc-collate.c (_nl_postload_collate): Removed. Also remove
104 __collate_tablemb, __collate_weightmb, and __collate_extramb.
105 * locale/localeinfo.h: Remove declaration for removed variables above.
106 Remove prototype for _nl_get_era_entry.
107 * locale/weight.h: Complete rewrite for new collate implementation.
108 * locale/programs/ld-collate.c: Many changes to make output file
109 usable in strxfrm/strcoll.
110 * string/strxfrm.c: Complete rewrite for new collate implementation.
111 * wcsmbs/wcsxfrm.c: Don't use strxfrm.c, implement dummy implementation
112 locally.
113
114 1999-12-25 Shinya Hanataka <hanataka@abyss.rim.or.jp>
115
116 * locale/programs/ld-ctype.c (allocate_arrays): Correctly assign
117 transformation values for chars >255.
118 * wctype/wctrans.c: Return pointer unmodified.
119
120 1999-12-24 Ulrich Drepper <drepper@cygnus.com>
121
122 * sysdeps/posix/system.c (__libc_system): Check whether command
123 processor is available if LINE is NULL. Don't return immediately
124 if wait call returned with EINTR.
125 Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1497 and libc/1498).
126
127 1999-12-23 Ulrich Drepper <drepper@cygnus.com>
128
129 * locale/programs/ld-monetary.c (monetary_finish): Add cast to
130 prevent warning.
131
132 * locale/programs/ld-collate.c: Implement writing out multibyte
133 collation data.
134
135 * locale/setlocale.c (setlocale): Allow setting LC_COLLATE again.
136 * locale/localeinfo.h: Declare variables only for currently implemented
137 collate functionality. Remove FORWARD_CHAR and ELLIPSIS_CHAR.
138 * locale/lc-collate.c: Define variables only for currently implemented
139 functionality.
140 * locale/langinfo.h: Define symbols only for currently implemented
141 functionality.
142 * locale/categories.def: Define elements for currently implemented
143 functionality.
144 * locale/C-collate.c: Comment out definitions of arrays with symbol
145 name definitions etc.
146 (_nl_C_LC_COLLATE): Update for currently defined information.
147
148 * intl/libintl.h: Remove dcgettext macro definition.
149 * intl/gettextP.h: Declare _nl_msg_cat_cntr.
150
151 * locale/iso-4217.def: Add NAD. Remove a few obsolete entries.
152
153 * sysdeps/generic/glob.c (glob): Pass alternate file access functions
154 also in recursive call. Patch by Joe Orton <joe@orton.demon.co.uk>.
155
156 1999-12-22 Jakub Jelinek <jakub@redhat.com>
157
158 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Use proper type
159 for __fenv_stfsr argument.
160 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
161 truncate64, ftruncate64, fstat64, lstat64, stat64 and mmap2.
162 Remove ugetrlimit.
163 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: New file.
164 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
165 (XSTAT_IS_XSTAT64): Define.
166 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Add
167 __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite
168 and __libc_pwrite64.
169 Remove oldgetrlimit and oldsetrlimit.
170 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: New file.
171 * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: New file.
172 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: New file.
173
174 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Pass the buf
175 pointer to the syscall, not address of that pointer.
176 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
177 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
178 (__syscall_stat64): Provide proper prototype.
179
180 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Share
181 has_no_truncate64 between truncate64 and ftruncate64.
182 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
183
184 * sysdeps/unix/sysv/linux/kernel-features.h
185 (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL,
186 __ASSUME_STAT64_SYSCALL): Define on Sparc for kernels >= 2.3.35.
187
188 1999-12-22 Andreas Jaeger <aj@suse.de>
189
190 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __libc_lseek64,
191 __libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64.
192
193 1999-12-21 Shinya Hanataka <hanataka@abyss.rim.or.jp>
194
195 * locale/lc-time.c: Extend structure era_entry.
196 * locale/localeinfo.h: Likewise.
197 * locale/lc-time.c: Handle '-' direction used in locale's era part
198 properly.
199 * time/strptime.c: Likewise.
200 * time/strftime.c: Likewise.
201 * locale/programs/ld-time.c: Consider negative values in era part
202 of locale as B.C..
203 * time/strptime.c (strptime_internal): Merged Yoshiyama's
204 %E[CyY] implementation.
205
206 1999-12-21 Akira Yoshiyama <yosshy@debian.or.jp>
207
208 * time/strptime.c (strptime_internal): Fix segV bugs of a couple
209 of recursive() call.
210 * time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY'
211 parsing.
212
213 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
214
215 * sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value.
216 Patch by Scott Bambrough <scottb@netwinder.org>.
217
218 1999-12-21 Andreas Schwab <schwab@suse.de>
219
220 * sysdeps/unix/sysv/linux/pread.c: Fix typo.
221
222 * include/unistd.h: Declare __libc_lseek.
223
224 1999-12-21 Andreas Jaeger <aj@suse.de>
225
226 * stdlib/longlong.h: Remove __P.
227
228 1999-12-21 Andreas Jaeger <aj@suse.de>
229
230 * sysdeps/powerpc/fpu/libm-ulps: New file.
231
232 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
233
234 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Include sys/ucontext.h
235 and remove definitions for NREGS, greg_t, gregset_t, and fpregset_t.
236
237 1999-12-21 Andreas Jaeger <aj@suse.de>
238
239 * sysdeps/unix/sysv/linux/m68k/putpmsg.c: Add missing #.
240 * sysdeps/unix/sysv/linux/mips/putpmsg.c: Likewise.
241 * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: Likewise.
242 * sysdeps/unix/sysv/linux/mips/getmsg.c: Add missing #.
243 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
244 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
245 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
246 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
247 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
248 * sysdeps/unix/sysv/linux/m68k/getpmsg.c: Add missing #.
249 * sysdeps/unix/sysv/linux/mips/getpmsg.c: Likewise.
250 * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: Likewise.
251
252 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
253
254 * sysdeps/unix/sysv/linux/i386/getmsg.c: New file.
255 * sysdeps/unix/sysv/linux/i386/getpmsg.c: New file.
256 * sysdeps/unix/sysv/linux/i386/putmsg.c: New file.
257 * sysdeps/unix/sysv/linux/i386/putpmsg.c: New file.
258 * sysdeps/unix/sysv/linux/m68k/getmsg.c: New file.
259 * sysdeps/unix/sysv/linux/m68k/getpmsg.c: New file.
260 * sysdeps/unix/sysv/linux/m68k/putmsg.c: New file.
261 * sysdeps/unix/sysv/linux/m68k/putpmsg.c: New file.
262 * sysdeps/unix/sysv/linux/mips/getmsg.c: New file.
263 * sysdeps/unix/sysv/linux/mips/getpmsg.c: New file.
264 * sysdeps/unix/sysv/linux/mips/putmsg.c: New file.
265 * sysdeps/unix/sysv/linux/mips/putpmsg.c: New file.
266 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: New file.
267 * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: New file.
268 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: New file.
269 * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: New file.
270 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getpmsg and
271 putpmsg.
272
273 1999-12-20 Ulrich Drepper <drepper@cygnus.com>
274
275 * sysdeps/unix/sysv/linux/lxstat64.c: Include "kernel-features.h"
276 before testing for __ASSUME_STAT64_SYSCALL.
277 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
278 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
279
280 1999-12-20 Andreas Schwab <schwab@suse.de>
281
282 * manual/install.texi (Running make install): Clearify that
283 install_root should be an absolute file name.
284
285 1999-12-20 Ulrich Drepper <drepper@cygnus.com>
286
287 * iconv/gconv.c (__gconv): Deal with outbuf being NULL.
288
289 * iconv/iconv.c (iconv): Allow omitting output buffer if no input
290 buffer is given to place conversion descriptor in initial state.
291 * iconvdata/gconv-modules: Correct aliases CSPC850MULTILINGUAL and
292 CSPC862LATINHEBREW.
293 * iconvdata/gconv-modules: Add aliases GB2312 and csGB2312
294 (according to IANA registry).
295 Reported by Bruno Haible <haible@ilog.fr>.
296
297 * iconvdata/johab.c: Correct completely broken conversion to JOHAB.
298
299 * locale/categories.def: Remove most of the collate definitions.
300 * locale/langinfo.h: Comment out corresponding definitions.
301 * locale/programs/locale-spec.c (locale_special): Don't recognize the
302 collate names yet.
303 * locale/programs/ld-collate.c: Correct and optimize computation of
304 weights. Set up list of all definitions correctly. Start writing
305 function to generate output file.
306
307 * locale/programs/ld-ctype.c (allocate_arrays): Increment counter in
308 loop to compute default mapping.
309
310 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
311
312 * sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for
313 cancelation wrapper.
314 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
315 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
316 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
317
318 1999-12-19 Andreas Jaeger <aj@suse.de>
319
320 * sysdeps/generic/libc-start.c: Remove declaration of
321 __libc_open. Move declaration of __libc_fcntl to ...
322 * include/fcntl.h: ...here.
323
324 * include/unistd.h: Move __libc_open and __libc_open64 to ...
325 * include/fcntl.h: ...here.
326
327 * malloc/malloc.h (__attribute_malloc__): Only define if hasn't
328 happened yet.
329
330 * malloc/Versions: __libc_freeres was exported with glibc 2.1.3,
331 rename label.
332
333 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
334
335 * sysdeps/unix/sysv/linux/bits/resource.h: Remove <asm/resource.h>
336 inclusion.
337
338 1999-12-19 Andreas Jaeger <aj@suse.de>
339
340 * include/string.h: Mark __strndup with __attribute_malloc__.
341
342 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
343
344 * locale/langinfo.h: Always define CODESET.
345 (CODESET): Define also as macro.
346
347 * stdio-common/printf_fp.c (__printf_fp): Allocate buffer to
348 generate mantissa output in using malloc if it is larger than
349 20000 characters.
350 Reported by Jim Meyering <meyering@ascend.com>.
351
352 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
353
354 * misc/sys/cdefs.h: Define __attribute_malloc__ according to
355 available gcc version.
356 * string/string.h: Mark strdup, __strdup, and strndup with
357 __attribute_malloc__.
358 * stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with
359 __attribute_malloc__.
360 * malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc,
361 and __default_morecore with __attribute_malloc__.
362 Provide default definition for __attribute_malloc__.
363 * libio/stdio.h: Make tempnam with __attribute_malloc__.
364
365 * include/unistd.h: Declare __libc_open64, __libc_lseek64,
366 __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64.
367 * io/Versions: Export __libc_open64 and __libc_lseek64.
368 * posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite,
369 and __libc_pwrite64.
370 * sysdeps/generic/open64.c: Define __libc_* variant for cancelation
371 wrapper.
372 * sysdeps/generic/pread.c: Likewise.
373 * sysdeps/generic/pread64.c: Likewise.
374 * sysdeps/generic/pwrite.c: Likewise.
375 * sysdeps/generic/pwrite64.c: Likewise.
376 * sysdeps/posix/open64.c: Likewise.
377 * sysdeps/posix/pread.c: Likewise.
378 * sysdeps/posix/pread64.c: Likewise.
379 * sysdeps/posix/pwrite.c: Likewise.
380 * sysdeps/posix/pwrite64.c: Likewise.
381 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
382 * sysdeps/unix/sysv/linux/pread.c: Likewise.
383 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
384 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
385 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
386 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
387 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
388 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
389 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
390
391 * sysdeps/posix/open64.c: Help gcc generating better code.
392
393 * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open
394 instead of __open.
395
396 1999-12-11 H.J. Lu <hjl@gnu.org>
397
398 * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl
399 instead of __fcntl.
400
401 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
402
403 * iconvdata/isiri-3342.c: New file.
404 * iconvdata/Makefile (modules): Add ISIRI-3342.
405 (distribute): Add isiri-3342.c.
406 (gen-8bit-gap-modules): Add isiri-3342.
407 * iconvdata/gconv-modules: Add entries for ISIRI-3342.
408
409 * malloc/Versions: Export __libc_freeres for GLIBC_2.1.
410
411 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Declare local variable
412 result if necessary.
413
414 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Don't depend on the
415 unreliable kernel headers.
416 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
417 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
418 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: New file.
419 * sysdeps/unix/sysv/linux/mips/bits/resource.h: New file.
420
421 1999-12-18 Andreas Jaeger <aj@suse.de>
422
423 * config.make.in (datadir): Added.
424 Closes PR libc/1491. Patch by dervishd@jazzfree.com.
425
426 1999-12-18 Andreas Jaeger <aj@suse.de>
427
428 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Save and
429 set errno.
430 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
431
432 1999-12-18 Andreas Jaeger <aj@suse.de>
433
434 * sysdeps/unix/sysv/linux/fxstat64.c: Rewrite to use fstat64
435 syscall if available.
436 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise for lstat64.
437 * sysdeps/unix/sysv/linux/xstat64.c: Likewise for stat64.
438
439 * sysdeps/unix/sysv/linux/kernel-features.h
440 (__ASSUME_STAT64_SYSCALL): New.
441
442 1999-12-17 Scott Bambrough <scottb@netwinder.org>
443
444 * sysdeps/arm/dl-machine.h (CLEAR_CACHE): New macro to force a
445 cache flush.
446 * elf/dl-reloc.c (_dl_relocate_object): Add call to flush cache
447 after .text segment fixups.
448
449 1999-12-16 Andreas Jaeger <aj@suse.de>
450
451 * rt/aio.h: Remove erroneous __restrict declarations.
452
453 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
454
455 * scripts/rellns-sh: Find pwd program also in /usr/bin and let shell
456 do the job if it is there neither.
457 Patch by David R. Conrad <drc@adni.net> (PR libc/1485).
458
459 1999-12-16 Andreas Jaeger <aj@suse.de>
460
461 * sysdeps/ieee754/bits/nan.h (NAN): Rename union to avoid
462 duplicate definition with function __nan.
463 Closes PR libc/1487 reported by <diana@kai.com>.
464
465 1999-12-17 Ulrich Drepper <drepper@cygnus.com>
466
467 * string/bits/string2.h (__strsep): Help gcc optimizing string access.
468
469 * locale/programs/ld-collate.c: Implement handling of absolute
470 ellipsis. Parsing of file and constructing the internal data
471 structures should now be complete.
472 (collate_finish): Start adding support to generate the data
473 structures which are written out to the file.
474
475 * intl/dcgettext.c: Rewrite to handle caching of previous results here
476 instead of in the dcgettext macro.
477 * intl/libintl.h (dcgettext): Don't define for systems using this
478 glibc or systems with tsearch.
479
480 * sysdeps/generic/mathdef.h: Protect definitions for math.h
481 against double inclusion.
482 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
483 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
484 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
485 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
486
487 * sysdeps/i386/fpu/libm-test-ulps: Add more deltas (are mobile PIIs
488 that different?).
489
490 1999-12-17 Andreas Jaeger <aj@suse.de>
491
492 * rt/aio.h (struct aiocb64): Add member __next_prio to sync the
493 struct with aiocb.
494
495 * rt/Makefile (tests): Added tst-aio64.
496 Added dependency rules for tst-aio64.
497
498 * rt/tst-aio64.c: New file, copied from tst-aio.c and changed for
499 64bit tests.
500
501 1999-12-15 Thorsten Kukuk <kukuk@suse.de>
502
503 * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: Removed.
504 * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: Removed.
505 * sysdeps/unix/sysv/linux/bits/resource.h: Change RLIM_INFINITY back to
506 old value (signed long).
507 * sysdeps/unix/sysv/linux/i386/bits/resource.h: New, with unsigned
508 long RLIM_INFINITY.
509 * sysdeps/unix/sysv/linux/getrlimit.c: Moved from here to ...
510 * sysdeps/unix/sysv/linux/i386/getrlimit.c: ... here.
511 * sysdeps/unix/sysv/linux/getrlimit64.c: Moved from here to ...
512 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: ... here.
513 * sysdeps/unix/sysv/linux/oldgetrlimit64.c: Moved from here to ...
514 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: ... here.
515 * sysdeps/unix/sysv/linux/oldsetrlimit64.c: Moved from here to ...
516 * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: ... here.
517 * sysdeps/unix/sysv/linux/setrlimit.c: Moved from here to ...
518 * sysdeps/unix/sysv/linux/i386/setrlimit.c: ... here.
519 * sysdeps/unix/sysv/linux/setrlimit64.c: Moved from here to ...
520 * sysdeps/unix/sysv/linux/i386/setrlimit64.c: ... here.
521 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: New.
522 * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: Removed.
523 * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: Removed.
524
525 1999-12-17 Andreas Jaeger <aj@suse.de>
526
527 * elf/ldconfig.c: Add new option -l to manualy link shared
528 libraries.
529 (options): Added option.
530 (parse_opt): Set option.
531 (main): Handle option.
532 (manual_link): New function.
533
534 1999-12-17 Thorsten Kukuk <kukuk@suse.de>
535
536 * string/bits/string2.h: Fix patch from 1999-12-07.
537
538 1999-12-16 Ulrich Drepper <drepper@cygnus.com>
539
540 * sysdeps/generic/strsep.c: If delim string has only one character
541 don't run over end of string.
542
543 * locale/programs/ld-collate.c (insert_weights): Also update next
544 pointer of last cursor element.
545 (insert_value): Return nonzero value if nothing got inserted.
546 (handle_ellipsis): Don't do anything if to-value cannot be inserted.
547
548 1999-12-10 Jakub Jelinek <jakub@redhat.com>
549
550 * stdlib/longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT
551 where appropriate.
552
553 1999-12-10 Jakub Jelinek <jakub@redhat.com>
554
555 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
556 Copy sa_flags into kernel sigaction structure.
557
558 1999-12-14 Andreas Jaeger <aj@suse.de>
559
560 * string/tester.c (test_strsep): More tests for access beyond
561 the final NUL. The first two tests come from PR libc/1486 by
562 martinea@iro.umontreal.ca.
563
564 1999-12-14 Thorsten Kukuk <kukuk@suse.de>
565
566 * nis/ypclnt.c: Correct handling of cached client handles.
567 (__xdr_ypresp_all): Call callback function for errors, too,
568 like Solaris does.
569 * nis/nss_compat/compat-grp.c: Make sure errno is always set correct.
570 * nis/nss_compat/compat-initgroups.c: Likewise.
571 * nis/nss_compat/compat-spwd.c: Likewise.
572 * nis/nss_nis/nis-alias.c: Likewise.
573 * nis/nss_nis/nis-ethers.c: Likewise.
574 * nis/nss_nis/nis-grp.c: Likewise.
575 * nis/nss_nis/nis-hosts.c: Likewise.
576 * nis/nss_nis/nis-netgrp.c: Likewise.
577 * nis/nss_nis/nis-publickey.c: Likewise.
578 * nis/nss_nis/nis-service.c: Likewise. Also use services.byservicename
579 Map if available, optimize query if name/port and protocol is known.
580
581 1999-12-12 Ulrich Drepper <drepper@cygnus.com>
582
583 * locale/programs/ld-collate.c (collate_read): Make symbolic
584 ellipsis work. Remove old and unused code.
585
586 1999-12-11 Ulrich Drepper <drepper@cygnus.com>
587
588 * locale/programs/ld-collate.c (collate_read): Implement
589 reorder-section handling.
590
591 1999-12-10 Ulrich Drepper <drepper@cygnus.com>
592
593 * locale/programs/ld-collate.c: Implement "copy" in LC_COLLATE.
594
595 * locale/programs/ld-collate.c (collate_read): Add handling of
596 reorder-after.
597
598 * locale/programs/ld-collate.c: Many changes to implement parsing
599 of collation definition (still not complete).
600
601 1999-12-09 Andreas Jaeger <aj@suse.de>
602
603 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Always set
604 errno to ENOENT when returning NSS_STATUS_NOTFOUND.
605 Reported by Christian Starkjohann <cs@obdev.at>.
606
607 1999-12-09 Andreas Jaeger <aj@suse.de>
608
609 * sysdeps/i386/fpu/libm-test-ulps: Added some ulps.
610
611 1999-12-09 Jakub Jelinek <jakub@redhat.com>
612
613 * stdlib/longlong.h: Update from latest egcs version.
614
615 * sysdeps/sparc/fpu/fegetenv.c: Add semicolons.
616
617 * sysdeps/unix/sysv/linux/bits/errno.h (__errno_location): __THROW
618 has to preceede __attribute__, otherwise g++ barfs.
619
620 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Make things compile
621 on sparc64-*-linux.
622
623 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Changed to
624 use sigcontext.
625 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
626
627 1999-12-05 Wolfram Gloger <wg@malloc.de>
628
629 * malloc/malloc.c (arena_get2): If generating a new arena fails,
630 try to generate a minimal one and hope for mmap_chunk() to succeed
631 later.
632
633 1999-11-07 Wolfram Gloger <wg@malloc.de>
634
635 * malloc/thread-m.h [NO_THREADS]: The mutex_* macros now let
636 mutex_t work as an `in-use' flag even without threads.
637 * malloc/malloc.c (USE_ARENAS): New feature flag, controls support
638 for multiple arenas separately from NO_THREADS.
639 (mALLOc, chunk_realloc, mEMALIGn, cALLOc) [USE_ARENAS]: try to
640 fall back to an mmap()ed arena when sbrk() has failed.
641
642 1999-12-09 Ulrich Drepper <drepper@cygnus.com>
643
644 * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
645 getrlimit64, setrlimit64 for GLIBC_2.1.3.
646 * sysdeps/unix/sysv/linux/i386/Versions: Add getrlimit, setrlimit,
647 getrlimit64, setrlimit64 for GLIBC_2.1.3.
648 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules for
649 oldgetrlimit and oldsetrlimit.
650 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldgetrlimit and
651 oldsetrlimit.
652 * sysdeps/unix/sysv/linux/Makefile: Move oldgetrlimit and
653 oldsetrlimit rules into 32-bit arch subdirs.
654 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
655
656 * locale/programs/ld-collate.c (insert_value): If this is the
657 first symbol the cursor can be the same as the next pointer.
658
659 1999-12-08 Ulrich Drepper <drepper@cygnus.com>
660
661 * locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping
662 arrays.
663 (allocate_arrays): Allocate memory for map32. Correctly install
664 default values in it and install defined mappings.
665
666 * locale/programs/ld-monetary.c (monetary_finish): Provide default
667 value for mon_grouping.
668
669 * elf/readlib.c: Include a.out.h last since the Linux/Alpha
670 headers are not clean enough.
671
672 * sysdeps/unix/sysv/linux/getrlimit.c: Remove K&R compatibility.
673
674 * sysdeps/unix/sysv/linux/kernel-features.h: Define
675 __ASSUME_TRUNCATE64_SYSCALL and __ASSUME_MMAP2_SYSCALL for 2.3.31
676 on x86.
677 * sysdeps/unix/sysv/linux/ftruncate64.c: New file.
678 * sysdeps/unix/sysv/linux/truncate64.c: New file.
679 * sysdeps/unix/sysv/linux/i386/mmap.S: Allow using mmap2.
680 * sysdeps/unix/sysv/linux/i386/mmap64.S: New file.
681
682 * ctype/Versions: Add __ctype32_tolower and __ctype32_toupper.
683 * ctype/ctype-info.c: Define __ctype32_tolower and __ctype32_toupper.
684 * locale/C-ctype.c: Add _nl_C_LC_CTYPE_toupper32 and
685 _nl_C_LC_CTYPE_tolower32 tables.
686 Don't compile it names of 14652 classes and maps.
687 * locale/langinfo.h: Define _NL_CTYPE_TOUPPER32 and
688 _NL_CTYPE_TOLOWER32.
689 * locale/lc-ctype.c (_nl_postload_ctype): Initialize __ctype32_toupper
690 and __ctype32_tolower.
691 * locale/programs/ld-ctype.c (struct locale_ctype_t): Add map32.
692 (ctype_output): Write out map32 values.
693 (allocate_arrays): Compute mapping tables correctly.
694 * wctype/wcfuncs.c (towlower): Use __ctype32_tolower.
695 (towupper): Use __ctype32_toupper.
696 * wctype/wctype.h: Optimize towupper and towlower for values < 256.
697
698 * locale/programs/ld-ctype.c (set_class_defaults): Correctly
699 determine tolower mapping for 8bit table if the tolower keyword is
700 not given.
701
702 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
703 only IPv6 address. Reported by Artur Frysiak <wiget@pld.org.pl>.
704
705 1999-12-07 Jakub Jelinek <jakub@redhat.com>
706
707 * string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small,
708 __stpcpy_small): Cast switch expressions to int to shut up compiler
709 warnings.
710
711 1999-12-07 Scott Bambrough <scottb@netwinder.org>
712
713 * sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24
714 relocs if possible.
715
716 1999-12-06 Andreas Schwab <schwab@suse.de>
717
718 * sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the
719 ugetrlimit syscall exists.
720
721 * sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on
722 exported symbols.
723 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
724
725 1999-12-07 Ulrich Drepper <drepper@cygnus.com>
726
727 * iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment
728 pointers if character is illegal.
729 Reported by Bruno Haible <haible@ilog.fr>.
730
731 * iconv/gconv_db.c (gen_steps): Set __counter initialy to 1.
732 (increment_counter): New function. Broken out of find_derivation.
733 (find_derivation): No need for a lock. Increment counter only when
734 the derivation was already available.
735 * iconv/gconv_dl.c: Add debugging functions.
736 (known_compare): We have to use strcmp.
737 Reported by Bruno Haible <haible@ilog.fr>.
738
739 1999-12-06 Ulrich Drepper <drepper@cygnus.com>
740
741 * iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo.
742 * iconvdata/iso_2033.c (CHARSET_NAME): Fix typo.
743 * iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo.
744 * iconvdata/gconv-modules: Correct ISO646-PT2 alias. Add
745 SHIFT_JIS alias.
746 Reported by Bruno Haible <haible@ilog.fr>.
747
748 * locale/programs/xstrdup.c: It's _LIBC, not __LIBC.
749
750 1999-12-03 Andreas Jaeger <aj@suse.de>
751
752 * nss/getXXbyYY.c: Include <resolv.h>
753 (FUNCTION_NAME): Use res_ninit instead of res_init.
754
755 * nss/getXXbyYY_r.c [NEED__RES]: Include <resolv.h> for _res
756 declaration and prototypes.
757 Remove extra _res declaration.
758 (INTERNAL): Use thread aware res_ninit function.
759
760 * inet/gethstbyad_r.c: Include <resolv.h>.
761
762 * resolv/res_data.c: Update from Bind 8.2.2-P5. Moved res_init to
763 res_libc.c. Disabled unneeded functions.
764
765 * resolv/res_libc.c: New file.
766
767 * Versions.def: Add version GLIBC_2.2 for libpthread.
768 Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv.
769
770 * include/resolv.h: Add internal interfaces.
771
772 * resolv/Makefile (routines): Add new files.
773 (libresolv-routines): Likewise.
774 (distribute): Likewise.
775
776 * resolv/gethnamaddr.c: Use thread safe resolver functions.
777 * resolv/nss_dns/dns-host.c: Likewise.
778 * resolv/nss_dns/dns-network.c: Likewise.
779
780 * resolv/arpa/nameser.h: Update from Bind 8.2.2-P5.
781 * resolv/nsap_addr.c: Likewise.
782 * resolv/res_comp.c: Likewise.
783 * resolv/res_debug.c: Likewise.
784 * resolv/res_init.c: Likewise.
785 * resolv/res_mkquery.c: Likewise.
786 * resolv/res_query.c: Likewise.
787 * resolv/res_send.c: Likewise.
788 * resolv/resolv.h: Likewise.
789
790 * resolv/Versions: Add __res_state and __res_ninit with version
791 GLIBC_2.2 to libc.
792 Add new interfaces with version GLIBC_2.2 to libresolv.
793
794 * resolv/Banner: Update.
795
796 * include/arpa/nameser_compat.h: New file.
797
798 * resolv/ns_name.c: New file from Bind 8.2.2-P5.
799 * resolv/ns_netint.c: Likewise.
800 * resolv/ns_parse.c: Likewise.
801 * resolv/ns_print.c: Likewise.
802 * resolv/ns_samedomain.c: Likewise.
803 * resolv/ns_ttl.c: Likewise.
804 * resolv/arpa/nameser_compat.h: Likewise.
805 * resolv/res_debug.h: Likewise.
806
807 Some patches are based on work done by Adam D. Bradley
808 <artdodge@cs.bu.edu>.
809
810 1999-11-30 Andreas Jaeger <aj@suse.de>
811
812 Add ldconfig:
813 * elf/Makefile (extra-objs): Added ldconfig-modules.
814 (ldconfig-modules): New.
815 Added vpath for xstrdup and xmalloc.
816 Check for use-ldconfig instead of has-ldconfig.
817 ($(objpfx)ldconfig): New rule with dependencies.
818 (distribute): Add new files.
819
820 * sysdeps/unix/sysv/linux/sparc/readelflib.c: New file,
821 developed together with Jakub Jelinek <jakub@redhat.com>.
822 * sysdeps/generic/readelflib.c: Likewise.
823
824 * elf/cache.c: New file.
825 * elf/ldconfig.c: New file.
826 * elf/ldconfig.h: New file.
827 * elf/readlib.c: New file.
828
829 * Makefile (install): Remove flag -d in ldconfig call.
830
831 * configure.in: Rename has_ldconfig to use_ldconfig, set it to no
832 by default.
833
834 * config.make.in (has-ldconfig): Renamed to use-ldconfig, changed
835 comment.
836
837 * sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig,
838 set always use_ldconfig instead.
839
840 1999-12-03 Ulrich Drepper <drepper@cygnus.com>
841
842 * sysdeps/generic/bits/stropts.h: Update with LiS types and
843 values. Patch by David Grothe <dave@gcom.com>.
844
845 * sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t):
846 Make long types.
847 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
848 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
849 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
850
851 1999-12-02 Akira Yoshiyama <yosshy@debian.or.jp>
852
853 * locale/lc-time.c (_nl_get_era_entry): Separate eras
854 initialization as _nl_init_era_entry().
855 * locale/lc-time.c (_nl_get_era_nf_entry): New function.
856 * locale/lc-time.c (_nl_get_era_year_offset): New function.
857 * locale/lc-time.c (_nl_get_era_year_start): New function.
858 * locale/localeinfo.h: Declare new functions.
859 Define ERA_NAME_FORMAT_MEMBERS, ERA_M_NAME, ERA_M_FORMAT, ERA_W_NAME,
860 and ERA_W_FORMAT.
861
862 1999-12-02 Ulrich Drepper <drepper@cygnus.com>
863
864 * posix/regex.c (SYNTAX): Make more portable.
865 Patch by Aharon Robbins <arnold@skeeve.com>.
866
867 1999-11-18 Roland McGrath <roland@baalperazim.frob.com>
868
869 * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is
870 nonzero, use cthread_fork to create the signal thread.
871 * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize
872 _hurd_msgport_thread here (to self).
873 * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end
874 is zero, instead compute child signal thread's starting SP from parent
875 signal thread's current SP and the threadvar_stack variables.
876 * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach.
877 These are now referenced weakly by _hurdsig_init.
878
879 * hurd/report-wait.c (_S_msg_report_wait): Fix typo:
880 &_hurd_itimer_thread not &_hurd_msgport_thread.
881
882 1999-10-01 Roland McGrath <roland@baalperazim.frob.com>
883
884 * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
885 without HURD_DPORT_USE to clean up warnings.
886 * hurd/dtable.c (get_dtable_port): Likewise.
887
888 * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
889 (install_ctty): Do the changing of the cttyid port cell here, inside
890 the critical section while we holding the dtable lock.
891 (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
892 the port cell and calling rectty_dtable.
893 (_hurd_locked_install_cttyid): New function, split out of install_ctty.
894 (install_ctty): Use it inside a critical section, with the lock held.
895 * sysdeps/mach/hurd/setsid.c (__setsid): Use
896 _hurd_locked_install_cttyid to effect the cttyid and dtable changes
897 after proc_setsid, having held the dtable lock throughout.
898 * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
899 cttyid port for null and bail out early if so. The dtable lock
900 serializes us after any cttyid change and its associated dtable update.
901
902 1999-11-14 Roland McGrath <roland@baalperazim.frob.com>
903
904 * sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
905 Its presence lets librpcsvc compile ok. This from Mark Kettenis.
906 We don't install this file for users.
907 * sysdeps/mach/hurd/Dist: Add it.
908 * sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
909 Append nfs/nfs.h here.
910
911 1999-12-01 Andreas Jaeger <aj@suse.de>
912
913 * sysdeps/generic/if_index.c (__protocol_available): Add missing
914 int for parameter.
915
916 * stdio/stdio.h: Fix typo.
917 Patches by Marcus G. Daniels <mgd@santafe.edu>.
918
919 1999-12-01 Andreas Jaeger <aj@suse.de>
920
921 * scripts/test-installation.pl (installation_problem): Filter out
922 libpthread_db.
923
924 1999-12-01 Andreas Schwab <schwab@suse.de>
925
926 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of
927 __rlim_t and __rlim64_t.
928 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
929 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
930
931 1999-12-01 Andreas Schwab <schwab@suse.de>
932
933 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
934 oldgetrlimit64 and oldsetrlimit64 for subdir = resource.
935 * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
936 getrlimit64 and setrlimit64 to version GLIBC_2.1.3.
937 * sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and
938 new kernel version. Add symbol versions.
939 * sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and
940 oldgetrlimit.
941 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
942 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
943 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit
944 and s_ugetrlimit.
945 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
946 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
947 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
948 * sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file.
949 * sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file.
950 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
951 * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file.
952 * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file.
953 * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New
954 file.
955 * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New
956 file.
957
958 1999-12-01 Ulrich Drepper <drepper@cygnus.com>
959
960 * sysdeps/generic/usleep.c: Fix typo.
961
962 * sysdeps/generic/sys/ptrace.h: Remove K&R compatibility.
963
964 * sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
965 itself.
966
967 * sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not
968 _UTSNAME_H.
969
970 * malloc/set-freeres.c: Really use already_called variable.
971
972 * libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing
973 function call directly.
974 * libio/iosetvbuf.c: Likewise.
975
976 1999-11-29 Ulrich Drepper <drepper@cygnus.com>
977
978 * configure.in: Add AIX 4.3 support.
979
980 * iconvdata/gconv-modules: Correct alias for ISO-8859-10. This
981 standard was issued in 1992.
982 Reported by Bruno Haible <haible@ilog.fr>.
983
984 1999-11-29 Thorsten Kukuk <kukuk@suse.de>
985
986 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for
987 SIGCLD als SIGCHLD.
988
989 1999-11-29 Andreas Jaeger <aj@suse.de>
990
991 * manual/time.texi (Basic CPU Time): Better describe wrap around.
992 Patch by Andries Brouwer <Andries.Brouwer@cwi.nl>.
993
994 1999-11-29 Ulrich Drepper <drepper@cygnus.com>
995
996 * iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases.
997 Patch by Bruno Haible <haible@ilog.fr>.
998
999 1999-11-29 Thorsten Kukuk <kukuk@suse.de>
1000
1001 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Remove K&R compatibility.
1002
1003 1999-11-29 Andreas Schwab <schwab@suse.de>
1004
1005 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable
1006 __v to __bswap_32_v.
1007 (__bswap_64): Rename local variables __v and __r to __bswap_64_v
1008 and __bswap_64_r to avoid clash with __bswap_32 macro.
1009
1010 1999-11-28 Ulrich Drepper <drepper@cygnus.com>
1011
1012 * iconvdata/t.61.c (CHARSET_NAME): Correct name to what is used in
1013 gconv-modules.
1014
1015 1999-11-26 Ulrich Drepper <drepper@cygnus.com>
1016
1017 * locale/programs/ld-ctype.c (allocate_arrays): Complete last
1018 patch. Use wch instead of idx to compute index.
1019 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1020
1021 * inet/rcmd.c (ruserok): Use iruserok2 not iruserok.
1022
1023 * locale/iso-3166.def: Update from latest official list.
1024
1025 1999-11-26 Thorsten Kukuk <kukuk@suse.de>
1026
1027 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include
1028 asm/ptrace.h, since this will not be done with 2.3.xx automatically
1029 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1030
1031 1999-11-26 Andreas Jaeger <aj@suse.de>
1032
1033 * libio/libioP.h: Remove duplicate declaration of _IO_wsetb.
1034
1035 1999-11-26 Andreas Jaeger <aj@suse.de>
1036
1037 * inet/rcmd.c: Include stdlib for declaration of free.
1038 Declare iruserok.
1039
1040 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
1041
1042 * iconv/gconv.c (__gconv): Always initialize
1043 cd->__data[last_step].__outbuf and cd->__data[last_step].__outbufend.
1044
1045 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Update number of
1046 written bytes.
1047 * iconvdata/iso-2022-jp.c: Likewise.
1048
1049 1999-11-25 H.J. Lu <hjl@gnu.org>
1050
1051 * stdlib/exit.c (exit): Run funtions only if
1052 __exit_funcs->idx > 0.
1053
1054 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
1055
1056 * manual/charset.texi (iconv Examples): Add iconv call to flush
1057 state. Reported by Andrew Clausen <clausen@alphalink.com.au>.
1058
1059 1999-11-25 Andreas Jaeger <aj@suse.de>
1060
1061 * manual/install.texi (Running make install): Better describe
1062 update from libc5.
1063 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1064
1065 1999-11-25 Andreas Jaeger <aj@suse.de>
1066
1067 * include/sys/mman.h: Remove K&R compatibility.
1068
1069 1999-11-15 Andreas Jaeger <aj@suse.de>
1070
1071 * misc/sys/mman.h: Use __REDIRECT for mmap, correct prototype to
1072 use __off64_t.
1073
1074 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
1075
1076 * iconv/iconv_prog.c (process_block): For stateful charsets write
1077 out byte sequence to get to initial state at the end of the file.
1078
1079 1999-11-25 Andreas Schwab <schwab@suse.de>
1080
1081 * Makeconfig: Include sys-dirs and sys-sorted earlier.
1082 ($(common-objpfx)soversions.mk): Wait until subdirs is complete.
1083 ($(common-objpfx)sysd-sorted): Emit marker when this file is
1084 complete.
1085
1086 1999-11-24 Ulrich Drepper <drepper@cygnus.com>
1087
1088 * manual/setjmp.texi: Many changes to correct bad English introduced
1089 mainly by me.
1090 * manual/time.texi: Likewise.
1091 Patches by Neil Booth <neil@rosenet.ne.jp>.
1092
1093 * include/string.h: Remove K&R compatibility.
1094
1095 1999-11-23 Ulrich Drepper <drepper@cygnus.com>
1096
1097 * sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition.
1098
1099 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added.
1100
1101 * string/stratcliff.c: Add one more strchr test for something
1102 which was reported to not work (which proofed to be wrong).
1103
1104 * iconv/skeleton.c: It's __is_last, not is_last.
1105
1106 * locale/programs/ld-ctype.c (ctype_finish): Correct method to find
1107 the UCS value.
1108 (allocate_arrays): Likewise.
1109 (find_idx): Correctly increase array size.
1110 Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1111
1112 1999-11-23 Thorsten Kukuk <kukuk@suse.de>
1113
1114 * iconv/skeleton.c: Don't access next_step->fct if data->is_last
1115 is true.
1116
1117 1999-11-23 Andreas Jaeger <aj@suse.de>
1118
1119 * include/sys/select.h: Remove K&R compatibility.
1120 * include/sys/statfs.h: Likewise.
1121 * include/gnu/libc-version.h: Likewise.
1122 * include/db_185.h: Likewise.
1123 * include/dlfcn.h: Likewise.
1124 * include/search.h: Likewise.
1125 * include/setjmp.h: Likewise.
1126 * include/signal.h: Likewise.
1127 * include/stdio.h: Likewise.
1128 * include/unistd.h: Likewise.
1129
1130 1999-11-23 Andreas Jaeger <aj@suse.de>
1131
1132 * include/aio.h: Remove __THROW from internal interfaces. __THROW
1133 is only need in external header files that might be compiled by a
1134 C++ compiler.
1135 * include/alloca.h: Likewise.
1136 * include/db.h: Likewise.
1137 * include/dirent.h: Likewise.
1138 * include/execinfo.h: Likewise.
1139 * include/fpu_control.h: Likewise.
1140 * include/glob.h: Likewise.
1141 * include/grp.h: Likewise.
1142 * include/libintl.h: Likewise.
1143 * include/math.h: Likewise.
1144 * include/math.h: Likewise.
1145 * include/mntent.h: Likewise.
1146 * include/mntent.h: Likewise.
1147 * include/netdb.h: Likewise.
1148 * include/pwd.h: Likewise.
1149 * include/sched.h: Likewise.
1150 * include/shadow.h: Likewise.
1151 * include/stdlib.h: Likewise.
1152 * include/sys/file.h: Likewise.
1153 * include/sys/gmon.h: Likewise.
1154 * include/sys/ioctl.h: Likewise.
1155 * include/sys/socket.h: Likewise.
1156 * include/sys/stat.h: Likewise.
1157 * include/sys/sysinfo.h: Likewise.
1158 * include/sys/time.h: Likewise.
1159 * include/sys/times.h: Likewise.
1160 * include/sys/uio.h: Likewise.
1161 * include/sys/wait.h: Likewise.
1162 * include/termios.h: Likewise.
1163 * include/time.h: Likewise.
1164 * include/ulimit.h: Likewise.
1165 * include/utmp.h: Likewise.
1166 * include/wchar.h: Likewise.
1167
1168 1999-11-22 Andreas Jaeger <aj@suse.de>
1169
1170 * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output.
1171 Patch by Jerry Perkins <jrperkins@iname.com>, closes PR
1172 libc/1456+1457.
1173
1174 1999-11-22 Jakub Jelinek <jakub@redhat.com>
1175
1176 * sysdeps/generic/siglist.h: Avoid declaring the same field
1177 twice if SIGPWR is defined to SIGLOST.
1178 * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument,
1179 not signed, so we should not special case it for negative args.
1180 * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic
1181 memmove, use the one provided in memcpy.S.
1182 * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping
1183 copies like memmove, while the previous version worked like memcpy.
1184 Implement optimized assembly memmove.
1185 * sysdeps/sparc/sparc64/memmove.c: New file.
1186
1187 1999-11-23 Ulrich Drepper <drepper@cygnus.com>
1188
1189 * po/cs.po: Update from translators.
1190
1191 1999-11-23 Andreas Jaeger <aj@suse.de>
1192
1193 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function.
1194 (elf_machine_got): Removed, not needed anymore.
1195 (ELF_MACHINE_RELOC_NOPLT): Removed.
1196 (ELF_MACHINE_JMP_SLOT): Added.
1197 (_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__.
1198 (_RTLD_EPILOGUE): Likewise.
1199 (RESOLVE_GOTSYM): Use R_MIPS_REL32.
1200 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1201 Based on patches from Maciej W. Rozycki <macro@ds2.pg.gda.pl> and
1202 Ralf Baechle <baechle@uni-koblenz.de>.
1203
1204 * sysdeps/mips/mips64/dl-machine.h: Apply same patches.
1205
1206 1999-11-22 Ulrich Drepper <drepper@cygnus.com>
1207
1208 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset
1209 name from the locale name. Only use the value in the LC_CTYPE
1210 locale data file.
1211
1212 * locale/loadlocale.c (_nl_load_locale): Allow index of entry in
1213 file be equal to file size.
1214
1215 * stdlib/longlong.h: Add count_trailing_zeros back.
1216
1217 * stdlib/longlong.h: Update from latest egcs version.
1218
1219 1999-11-22 Andreas Jaeger <aj@suse.de>
1220
1221 * locale/programs/ld-collate.c (insert_value): Correct order of
1222 arguments for lr_error call.
1223
1224 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add
1225 __syscall_setrlimit.
1226
1227 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Include <sys/types.h>
1228 for key_t.
1229 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1230
1231 1999-11-21 Ulrich Drepper <drepper@cygnus.com>
1232
1233 * sysdeps/i386/fpu/libm-test-ulps: Increase error value for latest
1234 gcc version.
1235
1236 * locale/programs/ld-ctype.c (ctype_read): Correctly implement
1237 14652-style definition of new maps and classes.
1238
1239 1999-11-20 Ulrich Drepper <drepper@cygnus.com>
1240
1241 * locale/programs/ld-monetary.c (monetary_finish): Don't print
1242 individual error message if nothing is defined.
1243
1244 * locale/programs/ld-time.c (time_startup): Test for lr being
1245 nonzero, not time.
1246
1247 * locale/programs/ld-numeric.c (numeric_finish): Don't crash if
1248 decimal_point is not defined.
1249
1250 * wctype/wctrans.c (wctrans): Use correct base index to access
1251 extra mapping tables.
1252
1253 * locale/loadlocale.c (_nl_load_locale): Use actual number of
1254 entries from file and not the fixed (minimal number from the
1255 langinfo.h list.
1256
1257 * locale/programs/ld-ctype.c (ctype_read): Fix reading of <U....>
1258 values in charmaps.
1259
1260 1999-11-18 Paul Eggert <eggert@twinsun.com>
1261
1262 * time/strftime.c (my_strftime): Some old compilers object to
1263 '\a', so don't bother optimizing for it.
1264
1265 1999-11-19 Ulrich Drepper <drepper@cygnus.com>
1266
1267 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify
1268 the rlimits structure passed in.
1269
1270 1999-11-19 Andreas Jaeger <aj@suse.de>
1271
1272 * include/sys/resource.h (__setrlimit): Add prototype.
1273
1274 1999-11-19 Ulrich Drepper <drepper@cygnus.com>
1275
1276 * elf/dl-load.c (_dl_init_paths): Allocate correct number of
1277 entries for rtld_search_dirs[0].
1278 Patch by David Mosberger <davidm@hpl.hp.com>.
1279
1280 1999-11-18 Ulrich Drepper <drepper@cygnus.com>
1281
1282 * locale/programs/ld-ctype.c: Don't predefine the character
1283 classes and mappings of ISO 14652.
1284
1285 * locale/programs/ld-ctype.c: Punt if character class definitions
1286 to not consists of tok_bsymbol (for now).
1287
1288 * time/strptime.c (day_of_the_week): Make sure result is never
1289 negative.
1290 (strptime_internal): Allow %C without %y.
1291
1292 1999-11-18 Andreas Jaeger <aj@suse.de>
1293
1294 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Sorted entries and added
1295 comments.
1296
1297 * sysdeps/unix/sysv/linux/getpt.c: Include linux_fsinfo.h instead
1298 of defining *_SUPER_MAGIC.
1299 * sysdeps/unix/sysv/linux/grantpt.c: Likewise.
1300
1301 1999-11-18 Ulrich Drepper <drepper@cygnus.com>
1302
1303 * locale/programs/locale.c: Don't handle LC_ALL together with the
1304 other categories when printing the value.
1305 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
1306
1307 * locale/locale.h: Correct comment about LC_ALL.
1308
1309 1999-11-17 Ulrich Drepper <drepper@cygnus.com>
1310
1311 * locale/programs/ld-ctype.c (ctype_output): Correct computation of
1312 nelems. Correctly compute index for additional character classes.
1313 (ctype_read): Handle charclass and charconv definitions. Also
1314 recognize arbitrary strings as mapping names.
1315 * locale/programs/ld-time.c (time_finish): Correctly skip over wide
1316 character era strings.
1317 * locale/lc-time.c (_nl_get_era_entry): Correctly skip era name
1318 and format for wide characters.
1319 * time/strftime.c: Correctly determine era information for wide
1320 wcsftime.
1321 * wctype/wctrans.c: Fix after removal of second endianess table.
1322 * wctype/wctype.h (_ISwbit): Correctly handle bits > 16.
1323 Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1324
1325 * wcsmbs/wcwidth.h (internal_wcwidth): Reject non-printable characters.
1326 * wcsmbs/wcswidth.c (wcswidth): Don't forget to decrement counter n.
1327
1328 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove greg_t,
1329 gregset_t, fpregset_t, and NGREG definitions.
1330
1331 * locale/programs/ld-ctype.c: Implement character width information
1332 handling.
1333
1334 1999-11-09 Andreas Jaeger <aj@suse.de>
1335
1336 * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Add support for devfs.
1337
1338 * sysdeps/unix/sysv/linux/getpt.c (__getpt): Check for devfs.
1339 Patch by German Jose Gomez Garcia <german@pinon.ccu.uniovi.es>.
1340
1341 * sysdeps/unix/sysv/linux/linux_fsinfo.h (DEVFS_SUPER_MAGIC): Added.
1342
1343 1999-11-17 Ulrich Drepper <drepper@cygnus.com>
1344
1345 * sysdeps/gnu/netinet/tcp.h: Add TCP_CORK definition.
1346
1347 1999-11-07 Andreas Jaeger <aj@suse.de>
1348
1349 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: New file with some
1350 defines from Linux scsi_ioctl.h header.
1351
1352 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Added
1353 scsi_ioctl.h.
1354 * sysdeps/unix/sysv/linux/Dist: Likewise.
1355
1356 * sysdeps/unix/sysv/linux/scsi/sg.h: Synced with Linux 2.3.26;
1357 pretty printed.
1358
1359 * sysdeps/unix/sysv/linux/scsi/scsi.h (TYPE_ENCLOSURE): Added to
1360 sync with Linux 2.3.26.
1361
1362 1999-11-17 Andreas Jaeger <aj@suse.de>
1363
1364 * shlib-versions: Allow mipsel for libm.
1365 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1366
1367 1999-11-16 Andreas Jaeger <aj@suse.de>
1368
1369 * math/fenv.h: Fix typos in comments. Reported by Andreas Schwab.
1370
1371 1999-11-16 Ulrich Drepper <drepper@cygnus.com>
1372
1373 * locale/programs/ld-ctype.c (set_class_defaults): Set default
1374 value for alpha and alnum correctly.
1375
1376 * locale/programs/ld-address.c (address_output): Fix output of
1377 country_num.
1378
1379 1999-11-15 Ulrich Drepper <drepper@cygnus.com>
1380
1381 * timezone/asia: Update from tzdata1999j.
1382 * timezone/australasia: Likewise.
1383 * timezone/europe: Likewise.
1384 * timezone/northamerica: Likewise.
1385 * timezone/southamerica: Likewise.
1386 * timezone/zone.tab: Likewise.
1387
1388 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
1389
1390 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove duplicate definitions.
1391 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
1392 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
1393 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise.
1394 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1395
1396 1999-11-15 Andreas Jaeger <aj@suse.de>
1397
1398 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
1399 __syscall_setrlimit.
1400 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1401
1402 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
1403
1404 * scripts/versions.awk: Don't expect to read predecessor versions,
1405 compute them.
1406 * Versions.def: Remove predecessors. They now get computed.
1407
1408 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
1409
1410 * sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
1411 * sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit
1412 prototype.
1413 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
1414 * sysdeps/powerpc/stackinfo.h: New file.
1415 Patches by Franz Sirl <Franz.Sirl@lauterbach.com>.
1416
1417 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
1418
1419 * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to
1420 GLIBC_2.1.3.
1421
1422 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
1423
1424 * hurd/Versions (GLIBC_2.1.3): Define, adding directory_name_split and
1425 hurd_directory_name_split.
1426 * Versions.def (libc): Add GLIBC_2.1.3.
1427
1428 1999-11-09 Roland McGrath <roland@baalperazim.frob.com>
1429
1430 * hurd/report-wait.c (describe_port): Return char * and use __stpcpy
1431 to return the location of the null byte written into the string.
1432 (describe_number): Likewise.
1433 (describe_number): Remove assert, not always used with #.
1434 If FLAVOR is null, don't use it.
1435 (describe_number): Take signed argument and print a - if negative.
1436 (_S_msg_report_wait): Report system call number for system calls that
1437 aren't mach_msg. Soup up reporting for mach_msg: If destination port
1438 matches SS->intr_port, bracket port description with [...] to indicate
1439 a Hurd interruptible RPC; if destination port is null, examine the
1440 receive port and report that state; if receive port is also null,
1441 check for timeout and report its value.
1442 * sysdeps/mach/hurd/i386/intr-msg.h (MSG_EXAMINE): Return int that is
1443 zero iff we managed to examine the stack; take new args RCV_NAME,
1444 SEND_NAME, OPTION, and TIMEOUT to fill in with mach_msg args.
1445
1446 * hurd/report-wait.c (describe_port): Recognize MACH_PORT_NULL and
1447 MACH_PORT_DEAD specially.
1448
1449 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
1450
1451 * hurd/hurdlookup.c (__hurd_directory_name_split): New function.
1452 (__directory_name_split): New function.
1453 * hurd/hurd.h: Declare them.
1454 * sysdeps/mach/hurd/rmdir.c: Use __directory_name_split instead of
1455 __file_name_split, so we ignore trailing slashes properly.
1456 * sysdeps/mach/hurd/rename.c: Likewise.
1457
1458 1999-11-13 Thorsten Kukuk <kukuk@suse.de>
1459
1460 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add SIGPWR define
1461 from current kernel headers.
1462
1463 * sunrpc/key_call.c: Use /usr/etc/keyenvoy only if we don't have
1464 SO_PASSCRED defined.
1465
1466 1999-11-12 Ulrich Drepper <drepper@cygnus.com>
1467
1468 * locale/C-ctype.c: Fix typo in char class name.
1469
1470 * configure.in: Allow user so specify --enable-kernel=current.
1471
1472 1999-11-12 Thorsten Kukuk <kukuk@suse.de>
1473
1474 * nis/nss_nisplus/nisplus-publickey.c: Check for snprintf return value.
1475
1476 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Follow changes from
1477 i386 version.
1478 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
1479 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
1480 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1481 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
1482
1483 1999-11-12 Ulrich Drepper <drepper@cygnus.com>
1484
1485 * intl/locale.alias: Add Estonian entries.
1486 Patch by Marko Kreen <marko@et.ee> [PR libc/1444].
1487
1488 1999-11-02 Andreas Jaeger <aj@suse.de>
1489
1490 * Versions.def: Add version GLIBC_2.2 for libm.
1491 * math/fenv.h: Add prototypes for fegetexcept, feenableexcept and
1492 fedisableexcept.
1493 * sysdeps/generic/feenablxcpt.c: Stub file.
1494 * sysdeps/generic/fedisblxcpt.c: Stub file.
1495 * sysdeps/generic/fegetexcept.c: Stub file.
1496 * sysdeps/i386/fpu/fedisblxcpt.c: New file.
1497 * sysdeps/i386/fpu/feenablxcpt.c: New file.
1498 * sysdeps/i386/fpu/fegetexcept.c: New file.
1499 * math/Makefile (libm-support): Add new files.
1500 * math/Versions: Add new functions with version GLIBC_2.2.
1501 * manual/arith.texi (Control Functions): Document fegetexcept,
1502 feenableexcept and fedisableexcept.
1503
1504 1999-11-01 Wolfram Gloger <wg@malloc.de>
1505
1506 * malloc/malloc.h: Describe __malloc_initialize_hook.
1507 * manual/memory.texi: Document __malloc_initialize_hook.
1508
1509 1999-11-11 Ulrich Drepper <drepper@cygnus.com>
1510
1511 * sysdeps/unix/sysv/linux/setrlimit.c: Correctly use rlimits.
1512
1513 1999-11-09 Andreas Jaeger <aj@suse.de>
1514
1515 * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
1516 implementation for ttyname_r call; fix inverted condition; return
1517 ut_user.
1518 Closes PR libc/1438.
1519
1520 1999-11-10 Ulrich Drepper <drepper@cygnus.com>
1521
1522 * math/fenv.h: Include bits/fenvinline.h if optimizing.
1523 * sysdeps/powerpc/fpu/bits/fenv.h: Remove inline functions. Moved to..
1524 * sysdeps/powerpc/fpu/bits/fenvinline.h: ...here. New file.
1525 * sysdeps/generic/bits/fenv.h: New file.
1526
1527 1999-11-10 Ulrich Drepper <drepper@cygnus.com>
1528
1529 * misc/tst-efgcvt.c (output_r_error): Remove extra parameter to
1530 printf call.
1531
1532 1999-11-10 Andreas Jaeger <aj@suse.de>
1533
1534 * misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r.
1535
1536 1999-11-10 Andreas Jaeger <aj@suse.de>
1537
1538 * string/strsignal.c (strsignal): Correct check for snprintf
1539 return value.
1540 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
1541
1542 * misc/efgcvt_r.c (APPEND): Correct check for too small buffer
1543 according to changed snprintf return value.
1544 Reported by Lawrence K. Chen <lchen@opentext.com>.
1545
1546 * misc/tst-efgcvt.c (special): Add tests for a too small buffer
1547 for ecvt_r and fcvt_r.
1548
1549 1999-11-09 Ulrich Drepper <drepper@cygnus.com>
1550
1551 * elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to
1552 directory with the reference since this is as secure as using the
1553 object with the dependency.
1554 (_dl_dst_substitute): Likewise.
1555
1556 * elf/dl-load.c (_dl_dst_count): Change strings in first two
1557 strncmp calls to allow reuse.
1558 (_dl_dst_substitute): Likewise.
1559
1560 1999-11-01 Arnold D. Robbins <arnold@skeeve.com>
1561
1562 * posix/regex.c (init_syntax_once): move below definition of
1563 ISALNUM etc., then use ISALNUM to init the table, so that
1564 the word ops will work if i18n'ed.
1565 (SYNTAX): And subscript with 0xFF for 8bit character sets.
1566
1567 1999-11-09 Andreas Jaeger <aj@suse.de>
1568
1569 * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
1570 implementation for ttyname_r call; fix inverted condition; return
1571 ut_user. Closes PR libc/1438.
1572
1573 1999-11-09 Ulrich Drepper <drepper@cygnus.com>
1574
1575 * timezone/checktab.awk: Update from tzcode1999h.
1576 * timezone/africa: Update from tzdata1999i.
1577 * timezone/asia: Likewise.
1578 * timezone/australasia: Likewise.
1579 * timezone/backward: Likewise.
1580 * timezone/europe: Likewise.
1581 * timezone/northamerica: Likewise.
1582 * timezone/southamerica: Likewise.
1583 * timezone/iso3166.tab: Likewise.
1584 * timezone/zone.tab: Likewise.
1585
1586 * sysdeps/unix/sysv/linux/bits/resource.h: Define values also as
1587 macros. Patch by brg@csua.berkeley.edu [PR libc/1439].
1588
1589 1999-11-09 Andreas Jaeger <aj@suse.de>
1590
1591 * posix/Makefile (tests): Added tst-getlogin.
1592
1593 * posix/tst-getlogin.c: New file, contains simple tests for
1594 getlogin and getlogin_r.
1595
1596 1999-11-09 Andreas Schwab <schwab@suse.de>
1597
1598 * misc/syslog.c: For LOG_PERROR only append a newline if
1599 necessary.
1600
1601 1999-11-08 Ulrich Drepper <drepper@cygnus.com>
1602
1603 * elf/elf.h: Add STT_REGISTER, STT_HP_OPAQUE, and STT_ST_STUB
1604 definitions.
1605
1606 1999-11-08 Andreas Jaeger <aj@suse.de>
1607
1608 * locale/findlocale.c (_nl_find_locale): Free normalized_codeset;
1609 this fixes a memory leak (closes PR libc/1435).
1610
1611 * intl/l10nflist.c (_nl_normalize_codeset): Update comment to
1612 reflect memory allocation.
1613
1614 * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory
1615 allocation in _nl_explode_name.
1616
1617 1999-11-06 Andreas Jaeger <aj@suse.de>
1618
1619 * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock
1620 to initialize it.
1621 Reported by wes@surety.com, closes PR libc/1432.
1622
1623 1999-11-05 Geoff Keating <geoffk@cygnus.com>
1624
1625 * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of
1626 enumerator lists (-pedantic complains).
1627 (feraiseexcept): Use i#*X as the constraint. Fix a bug in the
1628 test for 'one bit set'.
1629 (feclearexcept): Likewise.
1630
1631 1999-11-05 Ulrich Drepper <drepper@cygnus.com>
1632
1633 * sysdeps/unix/sysv/linux/setrlimit.c: New file.
1634
1635 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust
1636 for kernel changes.
1637 * sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make
1638 unsigned.
1639
1640 1999-10-04 Tim Waugh <twaugh@redhat.com>
1641
1642 * posix/wordexp-test.c: More tests.
1643
1644 * posix/wordexp.c (wordexp): Explicit null words should be kept.
1645
1646 1999-11-04 Shinya Hanataka <hanataka@abyss.rim.or.jp>
1647
1648 * locale/programs/linereader.c (get_string): Correct type of buf2
1649 variable.
1650 * locale/programs/ld-ctype.c (ctype_output): Store index correctly
1651 for _NL_CTYPE_INDIGITS_MB_LEN, _NL_CTYPE_INDIGITS_WC_LEN,
1652 _NL_CTYPE_INDIGITS*_MB, _NL_CTYPE_OUTDIGIT*_MB, and
1653 _NL_CTYPE_OUTDIGIT*_WC.
1654 (allocate_arrays): Completely initialize mapping tables.
1655 * locale/programs/ld-time.c (time_startup): We need the wide car
1656 string.
1657 (time_finish): Correct handling of era.
1658 (time_output): Fix a few array indeces.
1659 (time_read): Pass the repertoire map to lr_token.
1660
1661 1999-11-03 Ulrich Drepper <drepper@cygnus.com>
1662
1663 * Versions.def: Add version for libthread_db.
1664
1665 1999-11-02 Andreas Jaeger <aj@suse.de>
1666
1667 * manual/header.texi (Library Summary): The command @indexfonts
1668 doesn't exist anymore, use @smallfonts instead.
1669
1670 1999-11-02 Ulrich Drepper <drepper@cygnus.com>
1671
1672 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h
1673 instead of duplicating definitions.
1674
1675 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
1676
1677 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used
1678 by the debugger.
1679 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
1680 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise.
1681 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
1682 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1683 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
1684
1685 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
1686
1687 * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25.
1688
1689 * sysdeps/unix/sysv/linux/kernel-features.h
1690 (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition.
1691 * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file.
1692
1693 * manual/texinfo.tex: Updated.
1694
1695 1999-11-01 Andreas Jaeger <aj@suse.de>
1696
1697 * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility.
1698
1699 * inet/gethstbynm2_r.c: Reorder addresses.
1700
1701 1999-09-11 Paul Eggert <eggert@twinsun.com>
1702
1703 * posix/glob.h (glob): If #defining to glob64, do this before
1704 declaring it, so that all declarations and uses match, and do not
1705 declare glob64, to avoid a declaration clash.
1706 (globfree): Likewise with globfree64.
1707
1708 1999-09-08 Eli Zaretskii <eliz@is.elta.co.il>
1709
1710 * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]:
1711 Keep the trailing slash unless DIRNAME is just "x:/".
1712
1713 1999-10-11 Andreas Jaeger <aj@suse.de>
1714
1715 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added.
1716 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1717 Closes PR libc/1384.
1718
1719 1999-10-20 Andreas Schwab <schwab@suse.de>
1720
1721 * math/Makefile (libm-tests-generated): Remove libm-test.stmp.
1722 (generated): Add it here.
1723 (before-compile): Add libm-test.c.
1724 ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on
1725 libm-test.stmp.
1726 ($(objpfx)libm-test.stmp): Use $(objpfx) instead of
1727 $(objdir)/math/.
1728
1729 1999-10-31 Ulrich Drepper <drepper@cygnus.com>
1730
1731 * Makefile (pdf): New goal.
1732 * manual/Makefile: Add definitions and rules for PDF generation.
1733
1734 * Versions.def (libm): Add GLIBC_2.1.3.
1735
1736 ISO C99 TR1 changes various fe* functions to return an error value.
1737 * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag,
1738 feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv.
1739 * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias.
1740 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
1741 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
1742 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
1743 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
1744 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
1745 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
1746 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
1747 * sysdeps/arm/fpu/fegetenv.c: Likewise.
1748 * sysdeps/arm/fpu/fesetenv.c: Likewise.
1749 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
1750 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
1751 * sysdeps/generic/fclrexcpt.c: Likewise.
1752 * sysdeps/generic/fegetenv.c: Likewise.
1753 * sysdeps/generic/fesetenv.c: Likewise.
1754 * sysdeps/generic/feupdateenv.c: Likewise.
1755 * sysdeps/generic/fgetexcptflg.c: Likewise.
1756 * sysdeps/generic/fraiseexcpt.c: Likewise.
1757 * sysdeps/generic/fsetexcptflg.c: Likewise.
1758 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
1759 * sysdeps/i386/fpu/fegetenv.c: Likewise.
1760 * sysdeps/i386/fpu/fesetenv.c: Likewise.
1761 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
1762 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
1763 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1764 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1765 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
1766 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
1767 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
1768 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
1769 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
1770 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
1771 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
1772 * sysdeps/mips/fclrexcpt.c: Likewise.
1773 * sysdeps/mips/fegetenv.c: Likewise.
1774 * sysdeps/mips/fesetenv.c: Likewise.
1775 * sysdeps/mips/feupdateenv.c: Likewise.
1776 * sysdeps/mips/fgetexcptflg.c: Likewise.
1777 * sysdeps/powerpc/fclrexcpt.c: Likewise.
1778 * sysdeps/powerpc/fegetenv.c: Likewise.
1779 * sysdeps/powerpc/fesetenv.c: Likewise.
1780 * sysdeps/powerpc/feupdateenv.c: Likewise.
1781 * sysdeps/powerpc/fgetexcptflg.c: Likewise.
1782 * sysdeps/powerpc/fraiseexcpt.c: Likewise.
1783 * sysdeps/powerpc/fsetexcptflg.c: Likewise.
1784 * sysdeps/sparc/fpu/fclrexcpt.c: Likewise.
1785 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
1786 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
1787 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
1788 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
1789 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1790 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
1791 * math/fenv.h: Adjust prototypes.: Likewise.
1792 * manual/arith.texi: Adjust documentation for these changes.
1793
1794 * manual/arith.texi: Document feraiseexcept.
1795
1796 * sysdeps/powerpc/fegetenv.c: Moved to...
1797 * sysdeps/powerpc/fpu/fegetenv.c: ...here.
1798 * sysdeps/powerpc/fegetround.c: Moved to...
1799 * sysdeps/powerpc/fpu/fegetround.c: ...here.
1800 * sysdeps/powerpc/feholdexcpt.c: Moved to...
1801 * sysdeps/powerpc/fpu/feholdexcpt.c: ...here.
1802 * sysdeps/powerpc/fesetenv.c: Moved to...
1803 * sysdeps/powerpc/fpu/fesetenv.c: ...here.
1804 * sysdeps/powerpc/fenv_libc.h: Moved to...
1805 * sysdeps/powerpc/fpu/fenv_libc.h: ...here.
1806 * sysdeps/powerpc/feupdateenv.c: Moved to...
1807 * sysdeps/powerpc/fpu/feupdateenv.c: ...here.
1808 * sysdeps/powerpc/fgetexcptflg.c: Moved to...
1809 * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here.
1810 * sysdeps/powerpc/fraiseexcpt.c: Moved to...
1811 * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here.
1812 * sysdeps/powerpc/fsetexcptflg.c: Moved to...
1813 * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here.
1814 * sysdeps/powerpc/ftestexcept.c: Moved to...
1815 * sysdeps/powerpc/fpu/ftestexcept.c: ...here.
1816 * sysdeps/powerpc/fesetround.c: Moved to...
1817 * sysdeps/powerpc/fpu/fesetround.c: ...here
1818 * sysdeps/powerpc/fenv_const.c: Moved to...
1819 * sysdeps/powerpc/fpu/fenv_const.c: ...here.
1820
1821 * sysdeps/mips/fclrexcpt.c: Moved to...
1822 * sysdeps/mips/fpu/fclrexcpt.c: ...here.
1823 * sysdeps/mips/fegetenv.c: Moved to...
1824 * sysdeps/mips/fpu/fegetenv.c: ...here.
1825 * sysdeps/mips/fegetround.c: Moved to...
1826 * sysdeps/mips/fpu/fegetround.c: ...here.
1827 * sysdeps/mips/fesetenv.c: Moved to...
1828 * sysdeps/mips/fpu/fesetenv.c: ...here.
1829 * sysdeps/mips/fesetround.c: Moved to...
1830 * sysdeps/mips/fpu/fesetround.c: ...here.
1831 * sysdeps/mips/feupdateenv.c: Moved to...
1832 * sysdeps/mips/fpu/feupdateenv.c: ...here.
1833 * sysdeps/mips/fgetexcptflg.c: Moved to...
1834 * sysdeps/mips/fpu/fgetexcptflg.c: ...here.
1835 * sysdeps/mips/ftestexcept.c: Moved to...
1836 * sysdeps/mips/fpu/ftestexcept.c: ...here.
1837
1838 1999-10-29 Jakub Jelinek <jakub@redhat.com>
1839
1840 * stdlib/longlong.h: Avoid UDIV_TIME redefinition.
1841 * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus
1842 libraries from statically linked programs.
1843 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309
1844 fix for sigaction on SPARC.
1845 Patches by David S. Miller <davem@redhat.com>.
1846
1847 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare
1848 gregset_t and other required structures and defines for SPARC 64bit
1849 ABI as well, not only 32bit ABI.
1850
1851 1999-10-31 Andreas Jaeger <aj@suse.de>
1852
1853 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X
1854 by __USE_ISOC99 and update comments.
1855
1856 * math/complex.h: Update comments for ISO C99.
1857 * math/fenv.h: Likewise.
1858 * math/test-fenv.c: Likewise.
1859 * math/tgmath.h: Likewise.
1860 * libio/stdio.h: Likewise.
1861 * posix/sys/types.h: Likewise.
1862 * sysdeps/generic/inttypes.h: Likewise.
1863 * sysdeps/generic/stdint.h: Likewise.
1864
1865 1999-10-31 Ulrich Drepper <drepper@cygnus.com>
1866
1867 * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE.
1868
1869 * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also
1870 recognize _ISOC99_SOURCE.
1871 * libio/stdio.h: Likewise.
1872 * math/math.h: Likewise.
1873 * math/bits/mathcalls.h: Likewise.
1874 * math/stdio.h: Likewise.
1875 * stdlib/stdlib.h: Likewise.
1876 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
1877 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
1878 * sysdeps/arm/bits/huge_val.h: Likewise.
1879 * sysdeps/generic/bits/mathdef.h: Likewise.
1880 * sysdeps/i386/bits/huge_val.h: Likewise.
1881 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1882 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
1883 * sysdeps/ieee754/bits/huge_val.h: Likewise.
1884 * sysdeps/m68k/bits/huge_val.h: Likewise.
1885 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1886 * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
1887 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1888 * sysdeps/powerpc/bits/mathinline.h: Likewise.
1889 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
1890 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
1891 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
1892 * wcsmbs/wchar.h: Likewise.
1893
1894 * sysdeps/powerpc/bits/mathdef.h: Moved to...
1895 * sysdeps/powerpc/fpu/bits/mathdef.h: ...here.
1896 * sysdeps/powerpc/bits/mathinline.h: Moved to...
1897 * sysdeps/powerpc/fpu/bits/mathinline.h: ...here.
1898 * sysdeps/powerpc/bits/fenv.h: Moved to...
1899 * sysdeps/powerpc/fpu/bits/fenv.h: ...here.
1900
1901 1999-10-31 Andreas Jaeger <aj@suse.de>
1902
1903 * manual/math.texi (Errors in Math Functions): Correct TeX code.
1904
1905 1999-10-31 Andreas Jaeger <aj@suse.de>
1906
1907 * math/libm-test.inc: Change comments to use ISO C99 instead of
1908 ISO C9x.
1909 * math/w_lgamma.c: Likewise.
1910 * math/w_lgammaf.c: Likewise.
1911 * math/w_lgammal.c: Likewise.
1912 * math/test-fenv.c: Likewise.
1913 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1914 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1915 * sysdeps/generic/printf_fphex.c: Likewise.
1916
1917 1999-10-31 Andreas Jaeger <aj@suse.de>
1918
1919 * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment.
1920
1921 * manual/math.texi: Change ISO C9x to ISO C99.
1922 * manual/startup.texi: Likewise.
1923 * manual/stdio.texi: Likewise.
1924
1925 1999-10-31 Andreas Jaeger <aj@suse.de>
1926
1927 * manual/arith.texi: Change ISO C9x to ISO C99.
1928 * manual/time.texi (Low-Level Time String Parsing): Likewise.
1929
1930 1999-10-30 Ulrich Drepper <drepper@cygnus.com>
1931
1932 * socket/Makefile (distribute): Add ifreq.h.
1933
1934 * manual/time.texi (Formatting Date and Time): Revise comments about
1935 origins of the formats with ISO C99 references.
1936
1937 1999-10-30 Andreas Jaeger <aj@suse.de>
1938
1939 * sysdeps/unix/sysv/linux/ifreq.h: New file.
1940
1941 1999-10-29 Andreas Jaeger <aj@suse.de>
1942
1943 * manual/arith.texi (Parsing of Floats): Document the hexadecimal
1944 input format; mention that strtof and strtold are part of ISO C99.
1945
1946 1999-10-29 Ulrich Drepper <drepper@cygnus.com>
1947
1948 * manual/math.texi (Errors in Math Functions): New section.
1949 * math/libm-err-tab.pl: Moved to...
1950 * manual/libm-err-tab.pl: ...here.
1951 * manual/Makefile: Add rules for math function error table generation.
1952
1953 * stdlib/tst-strtod.c: Add more hexadecimal tests.
1954
1955 * stdlib/strtod.c: Handle hexadecimal numbers with leading digit
1956 != 1 correctly and more than one digit before decimal point..
1957
1958 1999-10-27 Andreas Jaeger <aj@suse.de>
1959
1960 * sysdeps/generic/ifreq.h: New file.
1961
1962 * resolv/res_hconf.c: Add missing includes to get all prototypes.
1963 (_res_hconf_reorder_addrs): Rewrite. This never worked before.
1964 Reported by John DiMarco <jdd@cs.toronto.edu>.
1965
1966 (_res_hconf_reorder_addrs): Made thread safe.
1967 (free_mem): New function, needed for malloc debugging.
1968
1969 1999-10-29 Andreas Jaeger <aj@suse.de>
1970
1971 * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ...
1972 * sysdeps/generic/opensock.c (__opensock): ...here in a new file.
1973 * sysdeps/unix/sysv/linux/if_index.c: Change all callers of
1974 opensock to use __opensock.
1975
1976 * socket/Makefile (routines): Add opensock.
1977
1978 * include/sys/socket.h (__opensock): Add prototype declaration.
1979
1980 1999-10-29 Andreas Jaeger <aj@suse.de>
1981
1982 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing
1983 N_* constants.
1984 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1985
1986 * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added
1987 new constant from Linux 2.3.25pre1.
1988
1989 * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added.
1990
1991 1999-10-29 Andreas Jaeger <aj@suse.de>
1992
1993 * math/libm-err-tab.pl: New file to generate a table of
1994 libm-test-ulps values.
1995
1996 1999-10-29 Ulrich Drepper <drepper@cygnus.com>
1997
1998 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file.
1999 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect
2000 struct sigcontext* object as second parameter for profil_counter.
2001 Patches by Jakub Jelinek <jakub@redhat.com>.
2002
2003 1999-10-29 Andreas Jaeger <aj@suse.de>
2004
2005 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs.
2006 * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
2007
2008 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts,
2009 efs, qnx4 and reiser file systems.
2010
2011 1999-10-29 Andreas Jaeger <aj@suse.de>
2012
2013 * locale/Makefile (others): Set to localedef and locale for make
2014 clean.
2015
2016 * debug/Makefile (generated): Add xtrace for make clean to work.
2017
2018 1999-10-29 Andreas Jaeger <aj@suse.de>
2019
2020 * stdlib/tst-strtod.c: Add two testcases for hexadecimal input.
2021
2022 1999-10-25 Andreas Jaeger <aj@suse.de>
2023
2024 * math/libm-test.inc: Added code to ignore the given max ulps.
2025 (print_max_error): Check for ignore_max_ulp.
2026 (check_float_internal): Likewise.
2027 (parse_opt): Parse --ignore-max-ulp.
2028 (main): Initialize ignore_max_ulp.
2029
2030 1999-10-26 Andreas Jaeger <aj@suse.de>
2031
2032 * stdlib/msort.c: Include <alloca.h> for prototype.
2033 Remove K&R compatibility and _quicksort prototype.
2034
2035 * stdlib/qsort.c: Make code and comments 64 bit clean; clarify
2036 some comments.
2037 Reported by Bernd Loechner <loechner@informatik.uni-kl.de>.
2038 Remove K&R compatibility.
2039 Move prototype declaration to include/stdlib.h.
2040 Include <alloca.h> for prototype; include <limits.h> for CHAR_BIT.
2041
2042 * include/stdlib.h: Prototype declaration for _quicksort.
2043
2044 1999-10-27 Andreas Jaeger <aj@suse.de>
2045
2046 * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was
2047 shifted a bit too much.
2048 Reported by Eugen Dedu <dedu@ese-metz.fr>.
2049
2050 1999-10-25 Ulrich Drepper <drepper@cygnus.com>
2051
2052 * resolv/gethnamaddr.c: Account bytes needed for alignment in
2053 buflen. Patch by Olaf Kirch <okir@lst.de>.
2054
2055 * md5-crypt/md5test.c: Correct names of MD5 functions after
2056 removing of public names.
2057
2058 * configure.in: Don't allow --enable-kernel without parameter.
2059
2060 1999-10-25 Ulrich Drepper <drepper@cygnus.com>
2061
2062 * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0
2063 problems.
2064
2065 1999-10-25 Thorsten Kukuk <kukuk@suse.de>
2066
2067 * md5-crypt/md5.h: Remove prototypes for public interface. md5 is
2068 only used internally.
2069 * md5-crypt/md5-crypt.c: Use internal names for md5 functions,
2070 remove weak alias for public names.
2071 * md5-crypt/md5.c: Remove weak aliase.
2072
2073 1999-10-25 Andreas Jaeger <aj@suse.de>
2074
2075 * math/README.libm-test: New file, documents libm-test.inc.
2076
2077 1999-10-25 Andreas Jaeger <aj@suse.de>
2078
2079 * math/gen-libm-test.pl: Only generate a new ulps file when -n is
2080 given.
2081 (print_ulps_file): Fix loops to not read @tests and @functions
2082 since those are not initialized with -n now.
2083 (parse_ulps): Set $results{..}{"kind"}.
2084
2085 1999-10-25 Andreas Jaeger <aj@suse.de>
2086
2087 * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.
2088
2089 * math/libm-test.inc (check_float_internal): Don't print ulps for
2090 wrong sign of zero.
2091
2092 1999-10-20 Andreas Jaeger <aj@suse.de>
2093
2094 * manual/socket.texi (Address Formats): Describe usage of AF_UNIX
2095 versus AF_LOCAL.
2096 Patch by Robert Bihlmeyer <robbe@orcus.priv.at>.
2097
2098 1999-10-24 Ulrich Drepper <drepper@cygnus.com>
2099
2100 * math/libm-test.inc: Disable some boundary case tests for inline
2101 function testing.
2102
2103 * math/math.h: Pretty printing.
2104
2105 * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN.
2106 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2107 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2108 * sysdeps/i386/fpu/e_log10.S: Likewise.
2109 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2110 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2111 * sysdeps/i386/fpu/s_log1p.S: Likewise.
2112 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
2113 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
2114 * sysdeps/i386/fpu/s_log2.S: Likewise.
2115 * sysdeps/i386/fpu/s_log2f.S: Likewise.
2116 * sysdeps/i386/fpu/s_log2l.S: Likewise.
2117
2118 * sysdeps/i386/fpu/libm-test-ulps: New file.
2119
2120 * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return
2121 value for x == 0.
2122 (pow): Correct case x == 0.
2123 (__sgn1l): Correct handling of -0.0.
2124
2125 1999-10-22 Andreas Jaeger <aj@suse.de>
2126
2127 * math/libm-test.inc (asinh_test): Add test for NaN as input parameter.
2128 (atan_test): Likewise.
2129 (atanh_test): Likewise.
2130 (atan2_test): Likewise.
2131 (carg_test): Likewise.
2132 (ceil_test): Likewise.
2133 (cos_test): Likewise.
2134 (cosh_test): Likewise.
2135 (cpow_test): Likewise.
2136 (erf_test): Likewise.
2137 (erfc_test): Likewise.
2138 (exp_test): Likewise.
2139 (exp10_test): Likewise.
2140 (exp2_test): Likewise.
2141 (expm1_test): Likewise.
2142 (fabs_test): Likewise.
2143 (floor_test): Likewise.
2144 (fmod_test): Likewise.
2145 (gamma_test): Likewise.
2146 (lgamma_test): Likewise.
2147 (log10_test): Likewise.
2148 (log1p_test): Likewise.
2149 (log2_test): Likewise.
2150 (logb_test): Likewise.
2151 (nearbyint_test): Likewise.
2152 (remainder_test): Likewise.
2153 (remquo_test): Likewise.
2154 (sin_test): Likewise.
2155 (sincos_test): Likewise.
2156 (sinh_test): Likewise.
2157 (sqrt_test): Likewise.
2158 (tan_test): Likewise.
2159 (tanh_test): Likewise.
2160 (tgamma_test): Likewise.
2161
2162 1999-10-21 Ulrich Drepper <drepper@cygnus.com>
2163
2164 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y.
2165
2166 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special.
2167
2168 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check
2169 for -Inf and return NaN.
2170
2171 * configure.in: Correct test for Cygnus gcc versions.
2172
2173 1999-10-21 Andreas Jaeger <aj@suse.de>
2174
2175 * math/libm-test.inc (cimag_test): New function, tests cimag.
2176 (creal_test): New function, tests creal.
2177 (conj_test): New function, tests conj.
2178 (main): Add new functions.
2179
2180 1999-10-20 Andreas Jaeger <aj@suse.de>
2181
2182 * math/libm-test.inc: Rewrite to allow different deltas for real
2183 and imaginary part of complex functions.
2184 * math/gen-libm-test.pl: Likewise.
2185
2186 1999-10-19 Ulrich Drepper <drepper@cygnus.com>
2187
2188 * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
2189 aliases.
2190
2191 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.
2192
2193 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
2194 for -Inf and return NaN.
2195
2196 * math/gen-libm-test.pl: Fix program name in help message.
2197
2198 * math/libm-test.inc (check_complex): It's Imaginary, not Complex.
2199
2200 * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.
2201
2202 * sysdeps/i386/Implies: Correct order of libm directories.
2203
2204 1999-10-19 Andreas Jaeger <aj@suse.de>
2205
2206 * include/bits/ipc.h: Remove K&R compatibility.
2207 * include/libintl.h: Likewise.
2208 * include/math.h: Likewise.
2209 * include/mntent.h: Likewise
2210 * include/netdb.h: Likewise.
2211 * include/pwd.h: Likewise.
2212 * include/sched.h: Likewise.
2213 * include/shadow.h: Likewise
2214 * include/stdlib.h: Likewise.
2215 * include/sys/file.h: Likewise.
2216 * include/sys/gmon.h: Likewise.
2217 * include/sys/ioctl.h: Likewise.
2218 * include/sys/mman.h: Likewise.
2219 * include/sys/resource.h: Likewise.
2220 * include/sys/socket.h: Likewise.
2221 * include/sys/stat.h: Likewise.
2222 * include/sys/sysinfo.h: Likewise.
2223 * include/sys/time.h: Likewise.
2224 * include/sys/times.h: Likewise.
2225 * include/sys/uio.h: Likewise.
2226 * include/sys/wait.h: Likewise.
2227 * include/termios.h: Likewise.
2228 * include/time.h: Likewise.
2229 * include/ulimit.h: Likewise.
2230 * include/utmp.h: Likewise.
2231 * include/wchar.h: Likewise.
2232 * include/wctype.h: Likewise.
2233
2234 1999-10-19 Andreas Jaeger <aj@suse.de>
2235
2236 * math/libm-test.inc: Remove one K&R compatibility.
2237 (main): Enable nexttoward_test.
2238
2239 * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
2240 libm-test-ulps.h; pretty print output a bit.
2241
2242 1999-10-19 Andreas Jaeger <aj@suse.de>
2243
2244 * iconv/iconv_prog.c (main): Set exit value in case that reading
2245 from stdin failed [PR libc/1404].
2246
2247 1999-10-18 Andreas Jaeger <aj@suse.de>
2248
2249 Added improved math testsuite:
2250 * math/libm-test.inc: New file, contains all tests from
2251 libm-test.c but in a different form.
2252 * math/libm-test.c: Removed.
2253 * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file.
2254 * math/gen-libm-test.pl: New file: Preprocessor.
2255 * math/test-double.c: Adopted to new testsuite.
2256 * math/test-idouble.c: Likewise.
2257 * math/test-float.c: Likewise.
2258 * math/test-ifloat.c: Likewise.
2259 * math/test-ldouble.c: Likewise.
2260 * math/test-ildoubl.c: Likewise.
2261 * math/Makefile: Added rules to generate new suite.
2262
2263 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
2264
2265 * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
2266 Patch by J. Richard Sladkey <jrs@world.std.com>.
2267
2268 * scripts/config.sub: Update from latest autoconf version.
2269 * scripts/config.guess: Likewise.
2270
2271 1999-10-18 Andreas Jaeger <aj@suse.de>
2272
2273 * inet/arpa/inet.h: Remove K&R compatibility.
2274 * math/fenv.h: Likewise.
2275
2276 1999-10-18 Andreas Jaeger <aj@suse.de>
2277
2278 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
2279 kernel_sigaction): Remove K&R compatibility.
2280 * sysdeps/unix/sysv/linux/net/if.h: Likewise.
2281 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
2282 * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
2283 * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
2284 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
2285 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
2286 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
2287 * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
2288 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
2289 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
2290 * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
2291 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
2292 * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
2293 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
2294 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2295 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2296 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
2297
2298 1999-10-18 Andreas Jaeger <aj@suse.de>
2299
2300 * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
2301 Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
2302
2303 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
2304
2305 * po/gl.po: New file.
2306
2307 1999-10-18 Andreas Schwab <schwab@suse.de>
2308
2309 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
2310 namespace selection.
2311
2312 1999-10-18 Andreas Schwab <schwab@suse.de>
2313
2314 * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
2315 clash with the TERM environment variable.
2316
2317 1999-10-18 Andreas Jaeger <aj@suse.de>
2318
2319 * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
2320 returns now NaN + i NaN.
2321 * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
2322 * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
2323
2324 1999-10-18 Andreas Jaeger <aj@suse.de>
2325
2326 * include/aio.h: Remove K&R compatiblity.
2327 * include/alloca.h: Likewise.
2328 * include/db.h: Likewise.
2329 * include/dirent.h: Likewise.
2330 * include/fcntl.h: Likewise.
2331 * include/fpu_control.h: Likewise.
2332 * include/glob.h: Likewise.
2333 * include/grp.h: Likewise.
2334 * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
2335 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2336 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
2337 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2338
2339 * include/execinfo.h: Add __THROW.
2340
2341 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
2342
2343 * sysdeps/mips/Implies: Remove wordsize-32 reference.
2344 * sysdeps/mips/mips3/Implies: Add it here.
2345
2346 1999-10-17 Ulrich Drepper <drepper@cygnus.com>
2347
2348 * elf/elf.h: Add various platform and architecture extensions.
2349
2350 * locale/lc-collate.c (_nl_postload_collate): Disable code for now.
2351 * locale/setlocale.c (setlocale): Don't call _nl_find_locale for
2352 LC_ALL.
2353
2354 * socket/sys/socket.h: Remove K&R compatibility.
2355
2356 1999-10-16 Andreas Jaeger <aj@suse.de>
2357
2358 * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
2359
2360 1999-10-15 Andreas Jaeger <aj@suse.de>
2361
2362 * stdlib/Makefile (tests): Added tst-xpg-basename.
2363
2364 * stdlib/tst-xpg-basename.c: New test file.
2365
2366 1999-10-14 Cristian Gafton <gafton@redhat.com>
2367
2368 * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
2369
2370 1999-10-14 Andreas Jaeger <aj@suse.de>
2371
2372 * resolv/inet_addr.c (inet_aton): Fix last patch. The little
2373 endian version works for both endiannesses.
2374
2375 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
2376 seconds.
2377
2378 1999-10-12 Ulrich Drepper <drepper@cygnus.com>
2379
2380 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
2381 register names unconditionally, only if __USE_GNU.
2382
2383 * debug/Makefile: Fix rules to generate pcprofiledump.
2384
2385 * include/ucontext.h: New file.
2386
2387 * locale/setlocale.c: Fix gcc warning about uninitialized variable.
2388
2389 1999-10-12 Andreas Jaeger <aj@suse.de>
2390
2391 * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
2392
2393 * math/basic-test.c: Fix typo.
2394
2395 * locale/programs/xstrdup.c: Include string.h for glibc
2396 compilation to get string prototypes.
2397
2398 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
2399 gregset_t and fpregset_t.
2400
2401 * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
2402 warnings. Correct value for x == 0.
2403
2404 * argp/argp-help.c: Remove broken definition of flockfile and
2405 funlockfile.
2406
2407 1999-10-12 Andreas Schwab <schwab@suse.de>
2408
2409 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
2410 generic Linux version.
2411
2412 1999-10-12 Ulrich Drepper <drepper@cygnus.com>
2413
2414 * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
2415
2416 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
2417
2418 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
2419 and fpregset_t definitions.
2420
2421 * malloc/memprof.c (GETSP): Define for PowerPC.
2422 (GETTIME): Fix generic version.
2423
2424 1999-10-10 Philip Blundell <philb@gnu.org>
2425
2426 * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
2427 __BYTE_ORDER.
2428
2429 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
2430
2431 * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
2432 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
2433 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
2434 * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
2435
2436 * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
2437
2438 * sysdeps/powerpc/e_sqrt.c: Moved to...
2439 * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
2440 * sysdeps/powerpc/e_sqrtf.c: Moved to...
2441 * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
2442
2443 * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
2444 * sysdeps/powerpc/sub_n.S: Likewise.
2445 * sysdeps/powerpc/strlen.S: Likewise.
2446 * sysdeps/powerpc/strcpy.S: Likewise.
2447 * sysdeps/powerpc/strcmp.S: Likewise.
2448 * sysdeps/powerpc/strchr.S: Likewise.
2449 * sysdeps/powerpc/stpcpy.S: Likewise.
2450 * sysdeps/powerpc/setjmp.S: Likewise.
2451 * sysdeps/powerpc/rshift.S: Likewise.
2452 * sysdeps/powerpc/ppc-mcount.S: Likewise.
2453 * sysdeps/powerpc/mul_1.S: Likewise.
2454 * sysdeps/powerpc/memset.S: Likewise.
2455 * sysdeps/powerpc/lshift.S: Likewise.
2456 * sysdeps/powerpc/dl-start.S: Likewise.
2457 * sysdeps/powerpc/bzero.S: Likewise.
2458 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
2459 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
2460 * sysdeps/powerpc/addmul_1.S: Likewise.
2461 * sysdeps/powerpc/add_n.S: Likewise.
2462 * sysdeps/powerpc/__longjmp.S: Likewise.
2463 * sysdeps/powerpc/elf/start.S: Likewise.
2464
2465 1999-10-11 Cristian Gafton <gafton@redhat.com>
2466
2467 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
2468 SA_SIGINFO.
2469
2470 1999-10-10 Ulrich Drepper <drepper@cygnus.com>
2471
2472 * stdlib/atexit.c (initial): New variable. Use to initialize
2473 __exit_funcs.
2474 * stdlib/exit.c (exit): Beware to not free statically allocated
2475 list element [PR libc/1305].
2476
2477 * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
2478 slash before the basename [PR libc/1383].
2479
2480 * argp/argp.h: Fix typo in last patch.
2481
2482 * sysdeps/powerpc/sysdep.h: New file.
2483 * sysdeps/unix/powerpc/sysdep.h: New file.
2484 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
2485 sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
2486 * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
2487 instead of bare numbers.
2488 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
2489 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
2490 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
2491
2492 * sysdeps/hppa/sysdep.h: New file.
2493
2494 1999-10-10 Andreas Jaeger <aj@suse.de>
2495
2496 * misc/sgtty.h: Fix typo in last patch.
2497
2498 1999-10-09 Ulrich Drepper <drepper@cygnus.com>
2499
2500 * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
2501 * sysdeps/powerpc/s_copysign.S: Move to...
2502 * sysdeps/powerpc/fpu/s_copysign.S: ...here. Use portable asm syntax.
2503 * sysdeps/powerpc/s_copysignf.S: Move to...
2504 * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
2505 * sysdeps/powerpc/s_fabs.S: Move to...
2506 * sysdeps/powerpc/fpu/s_fabs.S: ...here. Use portable asm syntax.
2507 * sysdeps/powerpc/s_fabsf.S: Move to...
2508 * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
2509 * sysdeps/powerpc/s_fdim.c: Move to...
2510 * sysdeps/powerpc/fpu/s_fdim.c: ...here.
2511 * sysdeps/powerpc/s_fdimf.c: Move to...
2512 * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
2513 * sysdeps/powerpc/s_fmax.S: Move to...
2514 * sysdeps/powerpc/fpu/s_fmax.S: ...here. Use portable asm syntax.
2515 * sysdeps/powerpc/s_fmaxf.S: Move to...
2516 * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
2517 * sysdeps/powerpc/s_fmin.S: Move to...
2518 * sysdeps/powerpc/fpu/s_fmin.S: ...here. Use portable asm syntax.
2519 * sysdeps/powerpc/s_fminf.S: Move to...
2520 * sysdeps/powerpc/fpu/s_fminf.S: ...here.
2521 * sysdeps/powerpc/s_isnan.S: Move to...
2522 * sysdeps/powerpc/fpu/s_isnan.c: ...here.
2523 * sysdeps/powerpc/s_isnanf.S: Move to...
2524 * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
2525 * sysdeps/powerpc/s_llrint.c: Move to...
2526 * sysdeps/powerpc/fpu/s_llrint.c: ...here.
2527 * sysdeps/powerpc/s_llrintf.c: Move to...
2528 * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
2529 * sysdeps/powerpc/s_llround.c: Move to...
2530 * sysdeps/powerpc/fpu/s_llround.c: ...here.
2531 * sysdeps/powerpc/s_llroundf.c: Move to...
2532 * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
2533 * sysdeps/powerpc/s_lrint.c: Move to...
2534 * sysdeps/powerpc/fpu/s_lrint.c: ...here.
2535 * sysdeps/powerpc/s_lrintf.S: Move to...
2536 * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
2537 * sysdeps/powerpc/s_lround.c: Move to...
2538 * sysdeps/powerpc/fpu/s_lround.c: ...here.
2539 * sysdeps/powerpc/s_lroundf.c: Move to...
2540 * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
2541 * sysdeps/powerpc/s_rint.c: Move to...
2542 * sysdeps/powerpc/fpu/s_rint.c: ...here.
2543 * sysdeps/powerpc/s_rintf.c: Move to...
2544 * sysdeps/powerpc/fpu/s_rintf.c: ...here.
2545 * sysdeps/powerpc/t_sqrt.c: Move to...
2546 * sysdeps/powerpc/fpu/t_sqrt: ...here.
2547 * sysdeps/powerpc/w_sqrt.c: Move to...
2548 * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
2549 * sysdeps/powerpc/w_sqrtf.c: Move to...
2550 * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
2551 * configure.in: Support platforms which have no .text pseudo-op.
2552 Patches partly by Jimi X <jimix@pobox.com>.
2553
2554 * Makeconfig: Look also in all subdirs for shlib-versions files.
2555
2556 * malloc/memprof.sh: Fix --help string a bit.
2557
2558 * argp/argp.h: Remove K&R compatiblity.
2559 * assert/assert.h: Likewise.
2560 * catgets/nl_types.h: Likewise.
2561 * ctype/ctype.h: Likewise.
2562 * db/db.h: Likewise.
2563 * db/ndbm.h: Likewise.
2564 * db2/db.h: Likewise.
2565 * db2/db_185.h: Likewise.
2566 * debug/execinfo.h: Likewise.
2567 * dirent/dirent.h: Likewise.
2568 * dlfcn/dlfcn.h: Likewise.
2569 * gmon/sys/gmon.h: Likewise.
2570 * grp/grp.h: Likewise.
2571 * iconv/gconv.h: Likewise.
2572 * iconv/iconv.h: Likewise.
2573 * include/execinfo.h: Likewise.
2574 * inet/aliases.h: Likewise.
2575 * inet/netinet/ether.h: Likewise.
2576 * inet/netinet/in.h: Likewise.
2577 * intl/libintl.h: Likewise.
2578 * io/fcntl.h: Likewise.
2579 * io/fts.h: Likewise.
2580 * io/ftw.h: Likewise.
2581 * io/utime.h: Likewise.
2582 * io/sys/poll.h: Likewise.
2583 * io/sys/stat.h: Likewise.
2584 * io/sys/statfs.h: Likewise.
2585 * io/sys/statvfs.h: Likewise.
2586 * libio/libio.h: Likewise.
2587 * libio/stdio.h: Likewise.
2588 * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
2589 * locale/locale.h: Likewise.
2590 * login/pty.h: Likewise.
2591 * login/utmp.h: Likewise.
2592 * malloc/mcheck.h: Likewise.
2593 * math/complex.h: Likewise.
2594 * math/math.h: Likewise.
2595 * math/math_private.h: Likewise.
2596 * misc/err.h: Likewise.
2597 * misc/fstab.h: Likewise.
2598 * misc/libgen.h: Likewise.
2599 * misc/mntent.h: Likewise.
2600 * misc/regexp.h: Likewise.
2601 * misc/search.h: Likewise.
2602 * misc/sgtty.h: Likewise.
2603 * misc/ttyent.h: Likewise.
2604 * misc/sys/cdefs.h: Likewise.
2605 * misc/sys/file.h: Likewise.
2606 * misc/sys/ioctl.h: Likewise.
2607 * misc/sys/mman.h: Likewise.
2608 * misc/sys/select.h: Likewise.
2609 * misc/sys/syslog.h: Likewise.
2610 * misc/sys/uio.h: Likewise.
2611 * misc/sys/ustat.h: Likewise.
2612 * nss/nss.h: Likewise.
2613 * posix/sched.h: Likewise.
2614 * posix/unistd.h: Likewise.
2615 * posix/wordexp.h: Likewise.
2616 * posix/sys/times.h: Likewise.
2617 * posix/sys/utsname.h: Likewise.
2618 * posix/sys/wait.h: Likewise.
2619 * pwd/pwd.h: Likewise.
2620 * resolv/netdb.h: Likewise.
2621 * resolv/resolv.h: Likewise.
2622 * resource/ulimit.h: Likewise.
2623 * resource/sys/resource.h: Likewise.
2624 * resource/sys/vlimit.h: Likewise.
2625 * resource/sys/vtimes.h: Likewise.
2626 * rt/aio.h: Likewise.
2627 * setjmp/setjmp.h: Likewise.
2628 * shadow/shadow.h: Likewise.
2629 * signal/signal.h: Likewise.
2630 * socket/socket.h: Likewise.
2631 * stdio/stdio.h: Likewise.
2632 * stdio-common/_itoa.h: Likewise.
2633 * stdio-common/_itowa.h: Likewise.
2634 * stdio-common/printf.h: Likewise.
2635 * stdlib/alloca.h: Likewise.
2636 * stdlib/fmtmsg.h: Likewise.
2637 * stdlib/monetary.h: Likewise.
2638 * stdlib/stdlib.h: Likewise.
2639 * stdlib/ucontext.h: Likewise.
2640 * streams/stropts.h: Likewise.
2641 * string/argz.h: Likewise.
2642 * string/envz.h: Likewise.
2643 * string/string.h: Likewise.
2644 * string/strings.h: Likewise.
2645 * string/bits/string2.h: Likewise.
2646 * sunrpc/rpc/auth.h: Likewise.
2647 * sunrpc/rpc/auth_des.h: Likewise.
2648 * sunrpc/rpc/auth_unix.h: Likewise.
2649 * sunrpc/rpc/clnt.h: Likewise.
2650 * sunrpc/rpc/des_crypt.h: Likewise.
2651 * sunrpc/rpc/netdb.h: Likewise.
2652 * sunrpc/rpc/pmap_clnt.h: Likewise.
2653 * sunrpc/rpc/pmap_prot.h: Likewise.
2654 * sunrpc/rpc/pmap_rmt.h: Likewise.
2655 * sunrpc/rpc/rpc_msg.h: Likewise.
2656 * sunrpc/rpc/svc.h: Likewise.
2657 * sunrpc/rpc/svc_auth.h: Likewise.
2658 * sunrpc/rpc/xdr.h: Likewise.
2659 * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
2660 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2661 * sysvipc/sys/ipc.h: Likewise.
2662 * sysvipc/sys/msg.h: Likewise.
2663 * sysvipc/sys/sem.h: Likewise.
2664 * sysvipc/sys/shm.h: Likewise.
2665 * termios/termios.h: Likewise.
2666 * time/time.h: Likewise.
2667 * time/sys/time.h: Likewise.
2668 * time/sys/timeb.h: Likewise.
2669 * wcsmbs/wchar.h: Likewise.
2670 * wctype/wctype.h: Likewise.
2671
2672 1999-10-05 Roland McGrath <roland@baalperazim.frob.com>
2673
2674 * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
2675 _GNU_SOURCE be defined.
2676
2677 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
2678
2679 * ctype/ctype.h: Pretty print.
2680
2681 * po/cs.po: Fix typos.
2682
2683 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
2684 handling of empty entries. [PR libc/1345]
2685 Patch by Thorsten Kukuk <kukuk@suse.de>.
2686
2687 1999-10-08 Andreas Schwab <schwab@suse.de>
2688
2689 * debug/xtrace.sh: Fix quoting bugs. Implement --help and --version.
2690
2691 1999-10-08 Andreas Schwab <schwab@suse.de>
2692
2693 * debug/pcprofiledump.c: Fix typos.
2694
2695 1999-10-07 Andreas Jaeger <aj@suse.de>
2696
2697 * math/Makefile (tests): Added basic-tests.
2698
2699 * math/basic-test.c: New file. Contains function basic_tests from
2700 libm-test.
2701
2702 1999-10-07 Andreas Schwab <schwab@suse.de>
2703
2704 * malloc/memprof.sh: Fix quoting bugs.
2705
2706 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
2707
2708 * timezone/europe: Update from tzdata1999h.
2709
2710 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
2711
2712 * elf/elf.h: Update from last gABI draft.
2713
2714 * elf/elf.h: Remove EM_486 entry.
2715 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
2716 test for EM_486.
2717
2718 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
2719
2720 * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
2721 Add rules for both programs.
2722 * debug/pcprofiledump.c: New file.
2723 * debug/xtrace.sh: New file.
2724 * debug/pcprofile.c: Allow creating output file. Add magic signature
2725 to let reader recognize file format.
2726
2727 1999-10-06 Ulrich Drepper <drepper@cygnus.com>
2728
2729 * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
2730
2731 1999-10-05 Andreas Jaeger <aj@suse.de>
2732
2733 * locale/programs/ld-identification.c: Fix typo in comment.
2734 * locale/programs/ld-messages.c: Likewise.
2735 * locale/programs/ld-monetary.c: Likewise.
2736 * locale/programs/ld-name.c: Likewise.
2737
2738 * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
2739 (collate_read): Remove unnecessary comparisons with ignore_content.
2740
2741 * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
2742 assigned elements.
2743 (ctype_read): Remove unnecessary comparisons with ignore_content.
2744 Fix typos in comments.
2745
2746 * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
2747 comparisons with ignore_content.
2748
2749 1999-10-05 Ulrich Drepper <drepper@cygnus.com>
2750
2751 * po/cs.po: Update.
2752
2753 * time/time.h: Move __gmtime_r declaration to ...
2754 * include/time.h: ...here.
2755
2756 1999-10-05 Andreas Jaeger <aj@suse.de>
2757
2758 * manual/message.texi (The message catalog files): Fix description
2759 to match gencat implementation and Unix98: Message fields are
2760 separated by a single blank space.
2761
2762 1999-10-05 Andreas Jaeger <aj@suse.de>
2763
2764 * manual/string.texi (Search Functions): Add missing end for
2765 memrchr description.
2766
2767 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
2768
2769 * malloc/memprof.sh: Various small cleanups. Add short options.
2770 Write error messages to stderr.
2771
2772 * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
2773
2774 * malloc/memprof.sh: Take options to control memprofstat.
2775
2776 * malloc/Makefile: Add rule to generate memprof script.
2777 * malloc/memprof.sh: New file.
2778
2779 * elf/ldd.bash.in: Add "Usage: " in help message to comply with
2780 GNU standard.
2781
2782 1999-10-04 Andreas Jaeger <aj@suse.de>
2783
2784 * configure.in: Allow makeinfo 4.*.
2785
2786 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
2787
2788 * stdio-common/vfprintf.c: Correct last patch and use outchar
2789 instead of PUTC to output single characters.
2790 * stdio-common/Makefile (tests): Add bug13.
2791 * stdio-common/bug13.c: New file.
2792
2793 * configure.in: Add additional options --with-gd-include and
2794 --with-gd-lib to help people with strange installations.
2795
2796 * malloc/Makefile: Add libdl dependency to libmemprof.so.
2797 * malloc/Depend: New file.
2798
2799 1999-10-04 Andreas Jaeger <aj@suse.de>
2800
2801 * timezone/README: Change wording to not mention the current
2802 version. This way we can't forget to update the file.
2803
2804 1999-10-04 Andreas Jaeger <aj@suse.de>
2805
2806 * manual/time.texi (Basic CPU Time): Fix typo.
2807 Reported by Ben Pfaff <pfaffben@msu.edu>.
2808
2809 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
2810
2811 * string/string.h: Move __memrchr declaration to ...
2812 * include/string.h: ...here.
2813
2814 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
2815
2816 * string/Makefile (routines): Add memrchr.
2817
2818 * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
2819 Correct order of tests for matching bytes.
2820
2821 * string/tester.c: Add tests for memrchr.
2822
2823 * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
2824 Start from the last character and take decrement not increment
2825 into account for correction in return line. Add memrchr alias.
2826 * sysdeps/i386/bits/string.h: Likewise.
2827
2828 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
2829
2830 * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
2831
2832 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
2833
2834 * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
2835
2836 * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
2837 conventions.
2838
2839 * string/Versions: Export memrchr.
2840
2841 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
2842
2843 * misc/Versions (GLIBC_2.2): Add getloadavg.
2844 * misc/Makefile (routines): Add getloadavg.
2845 * sysdeps/generic/getloadavg.c: New file.
2846 * sysdeps/mach/getloadavg.c: New file.
2847 * sysdeps/unix/sysv/linux/getloadavg.c: New file.
2848
2849 * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
2850 * sysdeps/i386/bits/string.h (__memrchr): New function.
2851 * string/string.h: Declare memrchr, __memrchr.
2852 * manual/string.texi (Search Functions): Document memrchr.
2853
2854 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
2855
2856 * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
2857 CFLAGS-memprofstat.c, and LIBGD variables.
2858 * config.make.in: Add LIBGD.
2859 * malloc/Makefile: Add rules to generate libmemprof.so and
2860 memprofstat.
2861 * malloc/memprof.c: New file.
2862 * malloc/memprofstat.c: New file.
2863
2864 1999-10-02 Ulrich Drepper <drepper@cygnus.com>
2865
2866 * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
2867
2868 * resolv/inet_ntop.c (inet_ntop4): Little optimization.
2869 (inet_ntop6): Likewise.
2870
2871 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
2872 overruns.
2873
2874 * resolv/tst-aton.c (main): Add more tests.
2875
2876 * resolv/inet_addr.c (inet_aton): Correct some problems with to
2877 large numbers. Optimize a bit.
2878
2879 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
2880
2881 * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
2882 account for added '0'.
2883
2884 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
2885 handling of IPv6 tunnel address handling with bind 8.2.1. Allow
2886 len argument to be greater than needed address size.
2887
2888 1999-10-01 Andreas Jaeger <aj@suse.de>
2889
2890 * locale/programs/ld-collate.c (insert_value): Add cast to avoid
2891 warning.
2892 * intl/finddomain.c (_nl_find_domain): Likewise.
2893
2894 1999-09-30 Andreas Schwab <schwab@suse.de>
2895
2896 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
2897
2898 1999-09-30 Andreas Jaeger <aj@suse.de>
2899
2900 * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
2901 * sysdeps/i386/rshift.S: Likewise.
2902 * sysdeps/i386/strchrnul.S: Likewise.
2903 * sysdeps/i386/strchr.S: Likewise.
2904 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
2905 PR libc/1339.
2906
2907 1999-09-30 Andreas Jaeger <aj@suse.de>
2908
2909 * manual/examples/pipe.c: Close other end of pipe to make example work.
2910
2911 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
2912
2913 * timezone/checktab.awk: Update from tzcode1999g.
2914 * timezone/tzselect.ksh: Likewise.
2915 * timezone/africa: Update from tzdata1999g.
2916 * timezone/asia: Likewise.
2917 * timezone/australasia: Likewise.
2918 * timezone/europe: Likewise.
2919 * timezone/northamerica: Likewise.
2920 * timezone/southamerica: Likewise.
2921 * timezone/iso3166.tab: Likewise.
2922 * timezone/zone.tab: Likewise.
2923
2924 1999-09-27 Andreas Jaeger <aj@suse.de>
2925
2926 * resolv/netdb.h: Remove declaration of getnodebyname. It has
2927 been renamed to getipnodebyname. Move flags around.
2928
2929 1999-09-27 Andreas Schwab <schwab@suse.de>
2930
2931 * manual/message.texi (Locating gettext catalog): Fix typos.
2932
2933 1999-09-27 Andreas Jaeger <aj@suse.de>
2934
2935 * manual/socket.texi (Out-of-Band Data): Correct example program,
2936 rename some variables for clarity.
2937 Reported by James Antill <james@and.org>, close PR libc/1329.
2938
2939 1999-09-27 Ulrich Drepper <drepper@cygnus.com>
2940
2941 * locale/programs/ld-collate.c (insert_value): Add hack to not
2942 crash in incomplete collate implementation.
2943
2944 * locale/programs/ld-collate.c (read_directions): Read new token
2945 after accepting sorting rule.
2946
2947 1999-09-26 Ulrich Drepper <drepper@cygnus.com>
2948
2949 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
2950 error message printing. Correctly test whether all characters of
2951 current token are used.
2952 (ctype_read): NUL terminate last_str.
2953
2954 1999-09-26 Thorsten Kukuk <kukuk@suse.de>
2955
2956 * nscd/connections.c: Invalidate caches on request.
2957 * nscd/nscd-client.h: Add INVALIDATE to request_type.
2958 * nscd/nscd.c: Add invalidate cache option.
2959 * nscd/nscd.conf: Change log directory to /var/log (FHS).
2960
2961 1999-09-24 Ulrich Drepper <drepper@cygnus.com>
2962
2963 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
2964 not ovverwrite last group member with NULL pointer.
2965 Reported by Thomas Winder <thomas.winder@newlogic.at>.
2966
2967 1999-09-24 Andreas Jaeger <aj@suse.de>
2968
2969 * stdio-common/tst-printf.c (main): Add a testcase for large
2970 precision. Reported by Tymm Twillman <tymm@coe.missouri.edu>.
2971
2972 1999-09-24 Andreas Schwab <schwab@suse.de>
2973
2974 * math/bits/mathcalls.h: Fix last change. Also declare __finite.
2975
2976 1999-09-24 Andreas Jaeger <aj@suse.de>
2977
2978 * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
2979 normalized_codeset. Reported by Belicky Zsolt <zsolt@prolan.hu>.
2980
2981 1999-09-23 Mark Kettenis <kettenis@gnu.org>
2982
2983 * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
2984 variable. Define MORECORE_CLEARS to 2.
2985
2986 * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
2987 doesn't clear the contents of memory that is reallocated after
2988 decrementing the break value first. Update comment about
2989 MORECORE_CLEARS, explaining the meaning of the values it can be
2990 set to.
2991
2992 1999-09-23 Ulrich Drepper <drepper@cygnus.com>
2993
2994 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
2995 one more case.
2996
2997 * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
2998 (log): Likewise.
2999 (log10): Likewise.
3000 (log1p): Likewise.
3001 (log2): Likewise.
3002
3003 1999-09-22 Andreas Jaeger <aj@suse.de>
3004
3005 * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
3006 reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
3007
3008 1999-09-22 Andreas Schwab <schwab@suse.de>
3009
3010 * stdio-common/vfscanf.c: Fix width handling when scanning floats.
3011
3012 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3013
3014 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
3015 the source directory. Fixes PR libc/1059.
3016
3017 1999-09-21 Ulrich Drepper <drepper@cygnus.com>
3018
3019 * locale/programs/repertoire.c (repertoire_find_value): Abort if
3020 rep parameter is NULL.
3021 (repertoire_find_symbol): Likewise.
3022 (repertoire_find_seq): Likewise.
3023
3024 1999-09-20 Jean-Louis Martineau <martinea@IRO.UMontreal.CA>
3025
3026 * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
3027 returned errno value in some cases.
3028
3029 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
3030
3031 * iconvdata/Makefile (modules): Add GBK.
3032 (distribute): Add gbk.c.
3033 * iconvdata/gbk.c: New file.
3034 * iconvdata/gconv-modules: Add GBK entry.
3035 Contributed by Sean Chen <sean.chen@turbolinux.com>.
3036
3037 * locale/programs/ld-monetary.c (monetary_output): Remove
3038 byte-order code.
3039
3040 * locale/programs/ld-time.c (time_output): Correct expected number
3041 of iov entries.
3042
3043 * manual/filesys.texi (Testing File Access): Correct description of
3044 SUID.
3045
3046 1999-080-25 H.J. Lu <hjl@gnu.org>
3047
3048 * csu/defs.awk (.end): Only match with leading white spaces.
3049 (.align): Likewise.
3050
3051 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
3052
3053 * stdlib/isomac.c: Add va_copy to allowed macros.
3054
3055 * po/pl.po: Updated.
3056
3057 1999-09-17 Andreas Schwab <schwab@suse.de>
3058
3059 * Makefile (clean): Also remove $(postclean) files.
3060
3061 1999-09-15 Andreas Jaeger <aj@suse.de>
3062
3063 * pwd/Makefile (otherlibs): Add for building with static-nss.
3064 * inet/Makefile (otherlibs): Likewise.
3065
3066 1999-09-15 Andreas Jaeger <aj@suse.de>
3067
3068 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
3069 function definition to avoid a compilation failure.
3070
3071 1999-09-15 Andreas Jaeger <aj@suse.de>
3072
3073 * stdlib/tst-environ.c (main): Add getenv regression test for
3074 environment variable that's one character long.
3075
3076 1999-09-15 Andreas Jaeger <aj@suse.de>
3077
3078 * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
3079 signal definitions to let glibc compile with older Linux versions
3080 (2.0.10 to 2.1.100 or so).
3081
3082 1999-09-18 Roland McGrath <roland@baalperazim.frob.com>
3083
3084 * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
3085 return zero to indicate no children died yet (assuming WNOHANG).
3086
3087 * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
3088
3089 1999-09-17 Roland McGrath <roland@baalperazim.frob.com>
3090
3091 * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
3092
3093 * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
3094 Return _hurd_pgrp instead of 0.
3095
3096 1999-09-19 Roland McGrath <roland@baalperazim.frob.com>
3097
3098 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
3099 pages rather than just reprotecting them. This way we don't hold on
3100 to the backing space.
3101
3102 * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
3103 Use __munmap instead of __vm_deallocate.
3104
3105 1999-09-18 Ulrich Drepper <drepper@cygnus.com>
3106
3107 * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
3108 returned errno value in some cases.
3109
3110 1999-09-17 Andreas Jaeger <aj@suse.de>
3111
3112 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
3113 to override user settings.
3114
3115 1999-09-17 Andreas Schwab <schwab@suse.de>
3116
3117 * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
3118 using a pointer to it.
3119
3120 1999-09-16 Ulrich Drepper <drepper@cygnus.com>
3121
3122 * time/getdate.c (__getdate_r): Pass correct year to check_mday.
3123 Reported by Vern Staats <staatsvr@asc.hpc.mil>.
3124
3125 1999-09-14 Ulrich Drepper <drepper@cygnus.com>
3126
3127 * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
3128
3129 * elf/elf.h (PF_MASKOS): New definition.
3130 (EM_VAX): New definition.
3131
3132 1999-08-09 Scott Bambrough <scottb@netwinder.org>
3133
3134 * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
3135 'unsigned char ftype[8]', and 'unsigned int init_flag' to
3136 struct user_fp. These were added in version 2.2.12 of the
3137 ARM Linux kernel.
3138 * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
3139 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
3140 The generic procfs.h included <asm/elf.h>. This causes
3141 structure redefinition errors when <sys/user.h> and <sys/procfs.h>
3142 are included in the same source file. Found when building GDB.
3143
3144 1999-09-13 Ulrich Drepper <drepper@cygnus.com>
3145
3146 * locale/langinfo.h: Remove byte-order dependent names.
3147 * locale/categories.def: Update after removal of byte-order dependent
3148 names.
3149 * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
3150 with magic number in other byte order.
3151 * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
3152 * locale/C-collate.c: Remove initializers for other byte-order.
3153 * locale/C-ctype.c: Likewise.
3154 * locale/C-monetary.c: Likewise.
3155 * locale/C-paper.c: Likewise.
3156 * locale/C-time.c: Likewise.
3157 * locale/lc-collate.c: Remove byte-order oriented initialization.
3158 * locale/lc-ctype.c: Likewise.
3159 * locale/lc-monetary.c: Likewise.
3160 * locale/lc-time.c: Likewise.
3161 * locale/programs/ld-address.c: Don't generate output in both
3162 byte-orders.
3163 * locale/programs/ld-ctype.c: Likewise.
3164 * locale/programs/ld-paper.c: Likewise.
3165 * locale/programs/ld-time.c: Likewise.
3166 * time/strftime.c (NLW): Don't use different byte-orders.
3167 * wctype/cname-lookup.h (cname_lookup): Likewise.
3168
3169 * Makeconfig (localedir): Define using libdir, not datadir.
3170 (msgcatdir): New variable.
3171 * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
3172 * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
3173 msgcatdir.
3174 * intl/Makefile (install-others): Install locale.alias in msgcatdir.
3175 (CPPFLAGS): Define paths using msgcatdir.
3176 * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
3177 * po/Makefile (mo-installed): Define using msgcatdir.
3178
3179 * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
3180
3181 1999-09-12 Ulrich Drepper <drepper@cygnus.com>
3182
3183 * stdio-common/vfprintf.c: Remove limitation on size of precision
3184 for integers.
3185
3186 * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
3187 glibc by defining internal_function if it isn't already.
3188
3189 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
3190 fails don't rely on errno value.
3191 (getanswer_r): Set *ERRNOP in error cases.
3192
3193 * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
3194 (gaih_inet_serv): Return EIA_NODATA if name is known but has no
3195 associated data. Test for matching numeric address and family.
3196 (getaddrinfo): Remember EAI_NODATA result and return this in case
3197 everything fails.
3198 Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
3199
3200 * locale/programs/ld-address.c: Fix handling of non-existing
3201 definitions for this category. Correctly ignore content of this
3202 category is this is necessary.
3203 * locale/programs/ld-collate.c: Likewise.
3204 * locale/programs/ld-ctype.c: Likewise.
3205 * locale/programs/ld-identification.c: Likewise.
3206 * locale/programs/ld-measurement.c: Likewise.
3207 * locale/programs/ld-messages.c: Likewise.
3208 * locale/programs/ld-monetary.c: Likewise.
3209 * locale/programs/ld-name.c: Likewise.
3210 * locale/programs/ld-numeric.c: Likewise.
3211 * locale/programs/ld-paper.c: Likewise.
3212 * locale/programs/ld-telephone.c: Likewise.
3213 * locale/programs/ld-time.c: Likewise.
3214 * locale/programs/locfile.h (handle_copy): Take extra parameter
3215 with result pointer. Fill in name of locale from which to copy.
3216 Correctly read token after `END'.
3217
3218 * locale/programs/localedef.c (main): Correct handling copy.
3219 (add_to_readlist): Take extra parameter which says whether we
3220 are supposed to read the file or not.
3221 (find_locale): Call add_to_readlist with extra parameter set to 0.
3222
3223 * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
3224 instead of wrong number in array definitions.
3225 (add_to_readlist): Update prototype.
3226
3227 * locale/programs/locfile.c (locfile_read): Mark categories not
3228 available in source file as read.
3229 (write_all_categories): Fix typo.
3230
3231 * locale/programs/locales.h: Removed.
3232
3233 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
3234
3235 * elf/elf.h (SHF_MASKOS): Added.
3236
3237 * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
3238
3239 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3240
3241 * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
3242
3243 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3244
3245 * configure.in: Fix make version test for make 3.77.95 and later
3246 versions.
3247 Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
3248
3249 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
3250
3251 * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
3252
3253 * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
3254 WINT_MAX values.
3255
3256 * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
3257
3258 1999-09-09 Andreas Schwab <schwab@suse.de>
3259
3260 * elf/link.h: Fix comment.
3261
3262 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
3263
3264 * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
3265
3266 * math/math.h: Pretty print.
3267
3268 1999-09-10 Andreas Schwab <schwab@suse.de>
3269
3270 * sysdeps/generic/getenv.c (getenv): Fix lookup for single
3271 character variable on bigendian platforms without unaligned memory
3272 access.
3273
3274 1999-09-07 Cristian Gafton <gafton@redhat.com>
3275
3276 * sysdeps/unix/sysv/linux/sys/raw.h: New file
3277 * sysdeps/unix/sysv/linux/Dist: Add raw.h.
3278 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
3279
3280 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
3281
3282 * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
3283
3284 * time/ap.c: Removed. It was not used.
3285 * time/date.c: Likewise.
3286 * sysdeps/unix/nlist.c: Likewise.
3287 * sysdeps/generic/nlist.c: Likewise.
3288 * sysdeps/generic/varargs.h: Likewise.
3289 * stdio-common/scanf11.c: Likewise.
3290 * stdio-common/scanf6.c: Likewise.
3291 * scripts/=__ify: Likewise.
3292 * scripts/printsources: Likewise.
3293 * resolv/getnetnamadr.c: Likewise.
3294 * posix/id.c: Likewise.
3295 * misc/ioctltst.c: Likewise.
3296 * misc/nlist.h: Likewise.
3297 * math/test-math.h: Likewise.
3298 * include/nlist.h: Likewise.
3299
3300 1999-09-06 Andreas Schwab <schwab@suse.de>
3301
3302 * time/tzset.c (compute_change): Replace slow loop to compute T by
3303 simple algorithm.
3304
3305 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
3306
3307 * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
3308 escape sequences out even if the character itself does not fit
3309 into the buffer.
3310
3311 * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
3312
3313 1999-08-31 H.J. Lu <hjl@gnu.org>
3314
3315 * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
3316
3317 1999-09-05 Roland McGrath <roland@baalperazim.frob.com>
3318
3319 * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
3320 it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
3321 (_hurd_priority_which_map):
3322
3323 1999-09-04 Ulrich Drepper <drepper@cygnus.com>
3324
3325 * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
3326
3327 1999-09-03 Andreas Schwab <schwab@suse.de>
3328
3329 * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
3330 fork from __syscall_fork to __libc_fork.
3331 * posix/Versions: Add __libc_fork and __vfork to version
3332 GLIBC_2.1.2.
3333
3334 1999-08-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3335
3336 * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
3337 dependencies in sort.
3338
3339 1999-09-01 H.J. Lu <hjl@gnu.org>
3340
3341 * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
3342
3343 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
3344 <sys/user.h> instead of <asm/user.h>.
3345
3346 1999-09-02 Ulrich Drepper <drepper@cygnus.com>
3347
3348 * elf/elf.h: Update PARISC-specific flags and symbolic names.
3349
3350 1999-09-01 Ulrich Drepper <drepper@cygnus.com>
3351
3352 * elf/elf.h: Update PARISC relocations.
3353
3354 1999-08-31 Scott Bambrough <scottb@netwinder.org>
3355
3356 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
3357 #ifdef statement to prevent it from being included twice.
3358 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
3359 #include <bits/armsigctx.h>.
3360
3361 1999-08-31 Andreas Schwab <schwab@suse.de>
3362
3363 * locale/C-collate.c: Add missing initialisations.
3364 * locale/C-ctype.c: Likewise.
3365
3366 1999-08-31 Ulrich Drepper <drepper@cygnus.com>
3367
3368 * time/strftime.c (my_strftime): Remove unneeded variable len.
3369
3370 * time/strptime.c: Undo last change.
3371
3372 1999-08-30 Ulrich Drepper <drepper@cygnus.com>
3373
3374 * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
3375 Change charset.h to charmap.h.
3376 (categories): Add new categories. Leave out collate for now.
3377 Update build rules.
3378 * locale/categories.def: Add definitions for new categories.
3379 * locale/langinfo.h: Likewise.
3380 * locale/locale.h: Likewise.
3381 * locale/C-address.c: New file.
3382 * locale/C-identification.c: New file.
3383 * locale/C-measurement.c: New file.
3384 * locale/C-name.c: New file.
3385 * locale/C-paper.c: New file.
3386 * locale/C-telephone.c: New file.
3387 * locale/lc-address.c: Likewise.
3388 * locale/lc-identification.c: Likewise.
3389 * locale/lc-measurement.c: Likewise.
3390 * locale/lc-name.c: Likewise.
3391 * locale/lc-paper.c: Likewise.
3392 * locale/lc-telephone.c: Likewise.
3393 * locale/C-ctype.c: Update for locale rewrite.
3394 * locale/C-messages.c: Likewise.
3395 * locale/C-monetary.c: Likewise.
3396 * locale/C-time.c: Likewise.
3397 * locale/lc-collate.c: Likewise.
3398 * locale/lc-ctype.c: Likewise.
3399 * locale/lc-monetary.c: Likewise.
3400 * locale/lc-time.c: Likewise.
3401 * locale/localeinfo.h: Likewise.
3402 * locale/newlocale.c: Likewise.
3403 * locale/setlocale.c: Likewise.
3404 * locale/weight.h: Likewise.
3405 * locale/findlocale.c: Unconditionally use mmap.
3406 Handle new categories.
3407 * locale/loadlocale.c: Likewise.
3408 * locale/iso-3166.def: New file.
3409 * locale/iso-639.def: New file.
3410 * locale/programs/charmap-kw.gperf: Add new keywords.
3411 * locale/programs/locfile-kw.gperf: Likewise.
3412 * locale/programs/locfile-token.h: Define new tokens.
3413 * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
3414 * locale/programs/charmap.h: New file.
3415 * locale/programs/charset.h: Removed.
3416 * locale/programs/config.h: Add __LC_LAST.
3417 * locale/programs/lc-address.c: New file.
3418 * locale/programs/lc-identification.c: New file.
3419 * locale/programs/lc-measurement.c: New file.
3420 * locale/programs/lc-name.c: New file.
3421 * locale/programs/lc-paper.c: New file.
3422 * locale/programs/lc-telephone.c: New file.
3423 * locale/programs/lc-collate.c: Update for locale rewrite.
3424 * locale/programs/lc-ctype.c: Likewise.
3425 * locale/programs/lc-messages.c: Likewise.
3426 * locale/programs/lc-monetary.c: Likewise.
3427 * locale/programs/lc-numeric.c: Likewise.
3428 * locale/programs/lc-time.c: Likewise.
3429 * locale/programs/locale.c: Likewise.
3430 * locale/programs/localedef.c: Likewise.
3431 * locale/programs/locfile.c: Likewise.
3432 * locale/programs/repertoire.c: Likewise.
3433 * locale/programs/repertoire.h: Likewise.
3434 * locale/programs/locfile.c: Update prototypes.
3435 Update handle_copy definition.
3436 * locale/programs/linereader.c: Add handling of wide char strings and
3437 new definition file syntax.
3438 * locale/programs/linereader.h (struct token): Add elements for wide
3439 character strings.
3440 * locale/programs/locale-spec.c: Disable handling of collation
3441 elements for now.
3442 * locale/programs/simple-hash.h: Cleanup.
3443 * locale/programs/stringtrans.h: Handle quite of end of line.
3444 * string/strcoll.c: Fall back on strcmp for now.
3445 * string/strxfrm.c: Fall back on strncpy/strlen for now.
3446 * time/strftime.c: Use new wide character data for wcsftime.
3447 * time/strptime.c: Remove _nl_C_LC_TIME declaration.
3448 * wctype/cname-lookup.h: Update for new LC_CTYPE data.
3449
3450 * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
3451 compiling for i386 to avoid i686-like GOT pointer computation.
3452
3453 * db2/db_int.h: Change tsl_t type to u_int32_t.
3454 * db2/mutex/mutex.c: Allow Alpha mutex definitions.
3455 * db2/mutex/alpha.h: New file.
3456 * db2/mutex/sparc.gcc: Fix store code for v9. Simplify clear code.
3457 * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
3458 known.
3459 Patches by Richard Henderson.
3460
3461 * stdlib/tst-environ.c: Add cast to avoid warning.
3462 * timezone/test-tz.c: Use setenv instead of putenv.
3463
3464 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3465
3466 * manual/libc.texinfo: Update version and date.
3467
3468 * manual/locale.texi (Formatting Numbers): Fix @node pointers.
3469
3470 * manual/filesys.texi (Working with Directory Trees): Add missing @code.
3471 (File System Interface): Correct entry.
3472 (Permission Bits): Add missing commata after @xref.
3473
3474 1999-08-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3475
3476 * timezone/tst-timezone.c (main): Don't pass const strings to
3477 putenv to avoid warnings.
3478
3479 * posix/regexbug1.c: Include <stdio.h> for puts prototype.
3480
3481 1999-08-29 Thorsten Kukuk <kukuk@suse.de>
3482
3483 * nis/Versions: Add _nss_*_getipnodebyname_r.
3484 * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
3485 * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
3486 * nss/Versions: Add _nss_files_getipnodebyname_r.
3487
3488 1999-08-28 H.J. Lu <hjl@gnu.org>
3489
3490 * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
3491 memory for buffer.
3492
3493 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
3494
3495 * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
3496 kernel.
3497 * inet/netinet/in.h: Likewise.
3498 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
3499 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3500
3501 1999-08-28 Ulrich Drepper <drepper@cygnus.com>
3502
3503 * malloc/malloc.c (ptmalloc_init): Don't use variables to set
3504 thresholds for SUID binaries. [PR libc/1277]
3505
3506 * posix/regexbug1.c: Add one more similar case.
3507
3508 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3509
3510 * manual/install.texi (Running make install): Give examples for
3511 timezone and locale installation.
3512
3513 1999-08-28 Zack Weinberg <zack@bitmover.com>
3514
3515 * glibcbug.in: Get CCVERSION from autoconf substitution.
3516 * configure.in: Calculate and substitute CCVERSION.
3517
3518 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3519
3520 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
3521 partially reverting a patch from 1998-12-29. We just can't change
3522 the flags, kernels with different flags lead to
3523 incompatibilities.
3524
3525 1999-08-26 Andreas Schwab <schwab@suse.de>
3526
3527 * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
3528
3529 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
3530
3531 * inet/rexec.c (rexec): Free memory if strings were allocated in
3532 ruserpass. Reported by Andrew Morton <morton@nortelnetworks.com>.
3533
3534 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
3535
3536 * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
3537
3538 * manual/argp.texi: Fixing language and typos.
3539 * manual/conf.texi: Likewise.
3540 * manual/contrib.texi: Likewise.
3541 * manual/ctype.texi: Likewise.
3542 * manual/filesys.texi: Likewise.
3543 * manual/install.texi: Likewise.
3544 * manual/job.texi: Likewise.
3545 * manual/lang.texi: Likewise.
3546 * manual/llio.texi: Likewise.
3547 * manual/locale.texi: Likewise.
3548 * manual/math.texi: Likewise.
3549 * manual/nss.texi: Likewise.
3550 * manual/pipe.texi: Likewise.
3551 * manual/signal.texi: Likewise.
3552 * manual/socket.texi: Likewise.
3553 * manual/stdio.texi: Likewise.
3554 * manual/sysinfo.texi: Likewise.
3555 * manual/users.texi: Likewise.
3556 Patches by Neil Booth <NeilB@earthling.net>.
3557
3558 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
3559
3560 * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
3561 unsigned to avoid warning. [PR libc/1271].
3562
3563 * conform/conformtest.pl: Allow testing regex.h which requires
3564 sys/types.h being included.
3565
3566 * conform/data/regex.h-data: Allow *_t types.
3567 * conform/data/pwd.h-data: Likewise.
3568 * conform/data/sched.h-data: Likewise.
3569 * conform/data/pthread.h-data: Likewise.
3570 * conform/data/search.h-data: Likewise.
3571
3572 * misc/search.h: Avoid namespace pollution.
3573
3574 * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
3575 pwd.h, and pthread.h.
3576 * conform/data/pthread.h-data: New file.
3577 * conform/data/pwd.h-data: New file.
3578 * conform/data/regex.h-data: New file.
3579 * conform/data/sched.h-data: New file.
3580 * conform/data/search.h-data: New file.
3581
3582 * NAMESPACE: Add REG_ for regex.h.
3583
3584 * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
3585 they are removed.
3586
3587 * configure.in (libc_cv_asm_global_directive): Indent .text in
3588 test code so that the lame HPUX compiler recognizes it.
3589 * sysdeps/hppa/bits/endian.h: New file.
3590 * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
3591 * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
3592 * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
3593 * sysdeps/unix/sysv/hpux/bits/types.h: New file.
3594
3595 * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
3596 Patch by John Tobey <jtobey@banta-im.com>.
3597
3598 * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
3599
3600 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
3601 old_siocfifconf definition to toplevel.
3602 (__protocol_available): Remove old_siocfifconf definition.
3603
3604 1999-08-25 Mark Kettenis <kettenis@gnu.org>
3605
3606 * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
3607 really dealing with a master pseudo terminal, and really returning
3608 the name of the associated slave pseudo terminal by checking the
3609 device number.
3610 * sysdeps/unix/sysv/linux/pty-private.h: Removed.
3611 * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
3612
3613 1999-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3614
3615 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
3616 underscore in _llseek entry.
3617
3618 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
3619 entry.
3620
3621 * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
3622 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
3623
3624 * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
3625 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
3626
3627 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
3628
3629 * inet/Makefile (routines): Add getipnodebynm.
3630 * inet/getipnodebynm.c: New file.
3631 * nss/digits_dots.c: If HAVE_TYPE is define type contains the
3632 interface type.
3633 * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
3634 EXTRA_ARGS_VALUE is not already done.
3635 (internal_getent): Allow extra parameters and pass them to parse_line.
3636 (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
3637 (_nss_files_get##name##_r): Likewise.
3638 * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
3639 and EXTRA_ARGS_VALUE to pass flags and type to parser.
3640 Add getipnodebyname function.
3641 * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
3642 EXTRA_ARGS_VALUE is not already done.
3643 (parse_line): Add EXTRA_ARGS_DECL to parameter list.
3644 * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
3645 to parse_line.
3646 (_nss_db_get##name##_r): Pass extra parameters to lookup.
3647 (_nss_db_get,ENTNAME_r): Likewise.
3648 * sysdeps/generic/if_index.c (__protocol_available): New function.
3649 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3650
3651 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
3652
3653 * login/pty-private.h: Move to...
3654 * sysdeps/generic/pty-private.h: ...here.
3655 * sysdeps/unix/sysv/linux/pty-private.h: New file. Linux specific
3656 version.
3657 * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
3658 available.
3659
3660 * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
3661 of __overflow.
3662
3663 * conform/conformtest.pl (@headers): Add monetary.h-data,
3664 mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
3665 * conform/data/monetary.h-data: New file.
3666 * conform/data/mqueue.h-data: New file.
3667 * conform/data/ndbm.h-data: New file.
3668 * conform/data/nl_types.h.h-data: New file.
3669 * conform/data/poll.h-data: New file.
3670
3671 * stdio-common/Makefile (test): Add tst-cookie.
3672 * stdio-common/tst-cookie.c: New file.
3673
3674 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
3675 changed in last patch. Reported by Ralf Baechle.
3676
3677 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3678
3679 * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
3680
3681 * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
3682 Patches by Ralf Baechle <ralf@uni-koblenz.de>
3683
3684 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3685
3686 * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
3687 Linux 2.3.15.
3688
3689 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
3690
3691 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
3692 syscall.
3693 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3694
3695 * misc/libgen.h: Don't take basename macro as taking arguments.
3696
3697 * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
3698 for gcc >= 2.95.
3699 * sysdeps/i386/bits/huge_val.h: Likewise.
3700 * sysdeps/i386/bits/huge_val.h: Likewise.
3701 * sysdeps/ieee754/bits/huge_val.h: Likewise.
3702 * sysdeps/m68k/bits/huge_val.h: Likewise.
3703 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
3704 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
3705
3706 * conform/Makefile: New file.
3707 * conform/conformtest.pl: New file.
3708 * conform/data/aio.h-data: New file.
3709 * conform/data/assert.h-data: New file.
3710 * conform/data/cpio.h-data: New file.
3711 * conform/data/ctype.h-data: New file.
3712 * conform/data/dirent.h-data: New file.
3713 * conform/data/dlfcn.h-data: New file.
3714 * conform/data/errno.h-data: New file.
3715 * conform/data/fcntl.h-data: New file.
3716 * conform/data/float.h-data: New file.
3717 * conform/data/fmtmsg.h-data: New file.
3718 * conform/data/fnmatch.h-data: New file.
3719 * conform/data/ftw.h-data: New file.
3720 * conform/data/glob.h-data: New file.
3721 * conform/data/grp.h-data: New file.
3722 * conform/data/iconv.h-data: New file.
3723 * conform/data/inttypes.h-data: New file.
3724 * conform/data/iso646.h-data: New file.
3725 * conform/data/langinfo.h-data: New file.
3726 * conform/data/libgen.h-data: New file.
3727 * conform/data/locale.h-data: New file.
3728 * conform/data/math.h-data: New file.
3729
3730 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
3731
3732 * posix/execvp.c (execvp): Correct copying of file name.
3733
3734 1999-08-23 Mark Kettenis <kettenis@gnu.org>
3735
3736 * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
3737
3738 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
3739
3740 * stdio-common/Makefile: Move addition to routines to the right place.
3741
3742 1999-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3743
3744 * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file. Neccessary
3745 since mips*-linux has ECANCELED.
3746
3747 1999-08-23 Andreas Schwab <schwab@suse.de>
3748
3749 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
3750 SIGCONTEXT_EXTRA_ARGS.
3751 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
3752 * sysdeps/generic/sigcontextinfo.h: Likewise.
3753 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
3754 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
3755 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3756 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
3757 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
3758 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3759
3760 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
3761
3762 * posix/regexbug1.c: Make it an error if the test fails.
3763
3764 1999-08-23 Andreas Schwab <schwab@suse.de>
3765
3766 * posix/regex.c (re_match_2_internal): Correct check for charset
3767 after exactn in loop.
3768
3769 1999-08-22 Ulrich Drepper <drepper@cygnus.com>
3770
3771 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
3772 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3773 Patch by Joel Klecker.
3774
3775 * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
3776 (__gconv_find_transform): Update prototype.
3777 (__gconv_open): Likewise.
3778 * iconv/gconv_open.c: Take extra parameter and pass it to
3779 __gconv_find_transform.
3780 * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
3781 flags. If GCONV_AVOID_NOCONV flag is set don't return copying
3782 transformation.
3783 * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
3784 * wcsmbs/wcsmbsload.c: Likewise.
3785 * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
3786 iconv for glibc.
3787 * intl/gettextP.h: Likewise.
3788 * intl/loadmsgcat.c: Likewise.
3789
3790 * posix/regexbug1.c: New file.
3791 * posix/Makefile (tests): Add regexbug1.
3792
3793 1999-08-22 Mark Kettenis <kettenis@gnu.org>
3794
3795 * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
3796 * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
3797 installing PORT in the descriptor cell.
3798
3799 1999-08-19 Roland McGrath <roland@baalperazim.frob.com>
3800
3801 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
3802 TIMEOUT as outputs of the asm to indicate that the signal thread
3803 might mutate them.
3804 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
3805 mach_msg if only sending or only receiving (i.e., not an RPC). When
3806 making an RPC that might get interrupted, save OPTION and the portion
3807 of the message buffer that gets clobbered by an EINTR reply message,
3808 and properly restore them before attempting to retry the request
3809 message send.
3810
3811 1999-08-21 Mark Kettenis <kettenis@gnu.org>
3812
3813 * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
3814 definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
3815 CHAR_T, UCHAR_T and WIN_T to make the code compile again when
3816 stdio is used instead of libio.
3817 * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
3818 definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
3819 to make the code compile again when stdio is used instead of
3820 libio.
3821 (vfprintf): Only check for correct orientation if ORIENT is
3822 defined.
3823 * stdio-common/Makefile (routines): Only add vfwprintf and
3824 vfwscanf if we're using libio.
3825
3826 1999-08-21 Mark Kettenis <kettenis@gnu.org>
3827
3828 * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
3829 any additional prototype just as we do for libio.
3830
3831 1999-08-21 Mark Kettenis <kettenis@gnu.org>
3832
3833 * include/bits/xopen_lim.h: Do not define STREAM_MAX and
3834 TZNAME_MAX. These limits are not X/Open specific.
3835 * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
3836 is defined.
3837
3838 1999-08-21 Mark Kettenis <kettenis@gnu.org>
3839
3840 * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
3841 UIO_MAXIOV is left undefined in sys/uio.h.
3842 * stdio-common/stdio_lim.h.in: Adapt for change above.
3843
3844 1999-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3845
3846 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
3847 * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
3848 Patches by Ralf Baechle <ralf@uni-koblenz.de>
3849
3850 1999-08-21 Ulrich Drepper <drepper@cygnus.com>
3851
3852 * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
3853
3854 1999-08-20 Ulrich Drepper <drepper@cygnus.com>
3855
3856 * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
3857
3858 * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
3859 call. It should not be necessary andis harmful for Alpha.
3860
3861 * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
3862 type. [PR libc/1269]
3863
3864 * posix/execvp.c (execvp): Allocate array name of correct size.
3865 Optimize inner loop. Use execve directly, not execv.
3866
3867 * elf/elf.h: Corrected SHT_ values from new draft.
3868
3869 * intl/gettextP.h (struct loaded_domain): Add conv element.
3870 * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
3871 Instead of returning found message directly convert it using iconv
3872 if a conversion was found when opening the file.
3873 * intl/loadinfo.h: Protect against multiple inclusion.
3874 Declare _nl_find_msg.
3875 * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
3876 in the message file and if necessary find approrpiate
3877 conversion to match currently selected charset.
3878 * include/libintl.h: Declare __dgettext and __dcgettext.
3879 * include/iconv.h: New file.
3880
3881 1999-08-20 Andreas Schwab <schwab@suse.de>
3882
3883 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
3884
3885 1999-08-19 Ulrich Drepper <drepper@cygnus.com>
3886
3887 * sysdeps/unix/sysv/linux/execve.c: New file. This version terminates
3888 all threads [PR libc/1223].
3889
3890 * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
3891 [PR libc/1165].
3892
3893 * configure.in: Search for programs with prefix gnu* and g* first.
3894 [PR libc/1104].
3895
3896 * dirent/Makefile (routines): Add getdents64.
3897 * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
3898 Remove getdents64.
3899 * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
3900 compiled with _FILE_OFFSET_BITS=64.
3901 * sysdeps/generic/getdents64.c: New file.
3902 * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
3903 __lseek for getdirentries64 definition.
3904
3905 * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
3906
3907 * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
3908 _FILE_OFFSET_BITS=64.
3909
3910 * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
3911 parameter.
3912
3913 * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
3914 after we have the lock.
3915
3916 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
3917 Patch by Richard Henderson.
3918
3919 1999-08-19 Andreas Schwab <schwab@suse.de>
3920
3921 * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
3922 and call _IO_fwide, to get the wide stream state initialized
3923 correctly. Don't set _IO_JUMPS.
3924 * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
3925 * libio/vswprintf.c (_IO_vswprintf): Likewise. Pass
3926 _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
3927 directly.
3928
3929 1999-08-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3930
3931 * math/libm-test.c (jn_test): Fix typo in description.
3932 (erfc_test): Add some more tests.
3933 (erf_test): Add some more tests.
3934
3935 1999-08-19 Andreas Schwab <schwab@suse.de>
3936
3937 * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
3938 expression using $(exceptions).
3939
3940 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
3941
3942 * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
3943
3944 * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
3945 allocated so far. [PR libc/1261].
3946
3947 * math/libm-test.c (j0_test): Adjust deltas for m68k.
3948 (jn_test): Likewise.
3949
3950 * dirent/dirent.h: Only define ino64_t if not already done.
3951 * posix/sys/types.h: Likewise.
3952
3953 * ctype/ctype.h: Avoid useless #endif #if pairs.
3954
3955 * dirent/dirent.h: Define ino_t and ino64_t if not done already.
3956 (seekdir): Fix type of second parameter.
3957 * sysdeps/generic/seekdir.c: Likewise.
3958 * sysdeps/mach/hurd/seekdir.c: Likewise.
3959 * sysdeps/unix/seekdir.c: Likewise.
3960
3961 * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
3962
3963 1999-08-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3964
3965 * manual/install.texi (Configuring and compiling): Clarify ix86
3966 situation.
3967
3968 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
3969
3970 * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
3971 * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
3972 * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
3973 stdio_lim.h. Define LONG_BIT and WORD_BIT.
3974
3975 * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
3976
3977 * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
3978
3979 * misc/search.h: Don't define NULL.
3980
3981 * posix/sys/types.h: Define blksize_t if it hasn't happened.
3982 Only define key_t and blkcnt_t if it hasn't happened before.
3983 Define blksize_t if not happened before.
3984 * io/sys/stat.h: Don't define pid_t. Define blkcnt_t and blksize_t.
3985 * sysdeps/generic/bits/types.h: Define __blksize_t.
3986 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3987 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3988 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3989 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3990 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
3991 * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
3992 st_blksize member.
3993 (struct stat64): Likewise.
3994 * sysdeps/unix/bsd/bits/stat.h: Likewise.
3995 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
3996 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
3997 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3998 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
3999 * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
4000 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
4001
4002 * stdlib/getsubopt.c: Correct type of second argument.
4003 * stdlib/stdlib.h: Likewise.
4004
4005 * stdlib/monetary.h: Don't include sys/types.h. Define only size_t
4006 and ssize_t.
4007
4008 * sysdeps/generic/putenv.c: Correct type of parameter.
4009 * stdlib/stdlib.h: Likewise.
4010
4011 * sysdeps/generic/msgsnd.c: Correct type of second parameter.
4012 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
4013 * sysvips/sys/msg.h: Likewise.
4014
4015 * sysdeps/generic/semop.c: Correct type of third parameter.
4016 * sysdeps/unix/sysv/linux/semop.c: Likewise.
4017 * sysvipc/sys/sem.h: Likewise. Don't include sys/types.h, define
4018 size_t.
4019
4020 * sysdeps/generic/shmget.c: Correct type of second parameter.
4021 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
4022 * sysvips/sys/shm.h: Likewise. Don't include unistd.h and sys/types.h.
4023 Declare __getpagesize here.
4024
4025 * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
4026 sys/types.h.
4027 * sysdeps/gnu/bits/ipc.h: Likewise.
4028 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
4029 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
4030 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4031 * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
4032 already done.
4033
4034 * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
4035
4036 * debug/versions: Export __cyg_profile_func_enter and
4037 __cyg_profile_func_exit.
4038
4039 * math/bits/mathcalls.h: Pretty print.
4040
4041 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
4042
4043 * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
4044 case for new tzdata.
4045
4046 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
4047 unsigned.
4048 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4049 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4050 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4051 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
4052
4053 * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
4054
4055 * sysdeps/generic/ualarm.c (ualarm): Change return value and
4056 parameter type to useconds_t.
4057 * sysdeps/unix/bsd/ualarm.c: Likewise.
4058
4059 * sysdeps/generic/usleep.c (usleep): Change parameter type to
4060 useconds_t.
4061 * sysdeps/unix/sysv/linux/usleep.c: Likewise.
4062 * sysdeps/mach/usleep.c: Likewise.
4063
4064 * locale/weight.h: Include <errno.h>.
4065
4066 * posix/sys/types.h: Define type useconds_t if not done already.
4067 * posix/unistd.h: Likewise. Use this in ualarm and usleep
4068 declarations.
4069 * sysdeps/generic/bits/types.h: Define type __useconds_t.
4070 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4071 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4072 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4073 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4074 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
4075
4076 * dirent/dirent.h (telldir): Change return type to long int.
4077 * sysdeps/generic/telldir.c: Likewise.
4078 * sysdeps/mach/hurd/telldir.c: Likewise.
4079 * sysdeps/unix/telldir.c: Likewise.
4080 * sysdeps/unix/bsd/telldir.c: Likewise. Fix locking problem.
4081
4082 * locale/weight.h: Set errno if an invalid character is found.
4083
4084 1999-08-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4085
4086 * math/libm-test.c (erfc_test): Add test for example from PR
4087 libc/1259.
4088 (erf_test): Likewise.
4089
4090 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
4091
4092 * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
4093 rewrite. Patch by Alan Stern <stern@kitsilano.rowland.org>.
4094
4095 * timezone/private.h: Update from tzcode1999e.
4096 * timezone/zic.c: Likewise.
4097
4098 * timezone/africa: Update from tzdata1999e.
4099 * timezone/antarctica: Likewise.
4100 * timezone/asia: Likewise.
4101 * timezone/australasia: Likewise.
4102 * timezone/europe: Likewise.
4103 * timezone/leapseconds: Likewise.
4104 * timezone/northamerica: Likewise.
4105 * timezone/southamerica: Likewise.
4106
4107 * stdio-common/vfprintf.c (process_string_arg): Correct last patch
4108 and write correct number of bytes in case of %ls with precision.
4109 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4110
4111 1999-08-16 Ulrich Drepper <drepper@cygnus.com>
4112
4113 * nscd/nscd.init: Test for kernel version and make LSB compliant.
4114 Patch by Christian Gafton.
4115
4116 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
4117 O_RSYNC. Patch by Christian Gafton.
4118
4119 * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
4120 possibly unterminated strings for %ls when a precision is
4121 specified.
4122 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
4123
4124 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
4125 update_conversion_ptrs.
4126 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4127
4128 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
4129
4130 * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
4131 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4132
4133 * wcsmbs/Makefile (tests): Add tst-wcsnlen.
4134 * wcsmbs/tst-wcsnlen.c: New file.
4135
4136 1999-08-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4137
4138 * libio/ioputs.c (_IO_puts): Add missing brace.
4139
4140 1999-07-20 Geoff Keating <geoffk@cygnus.com>
4141
4142 * math/libm-test.c: Tweak deltas for a clean run on ppc.
4143
4144 1999-08-10 H.J. Lu <hjl@gnu.org>
4145
4146 * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
4147 (vfprintf): Likewise.
4148 * stdio-common/vfscanf.c (ORIENT): Likewise.
4149 * libio/genops.c (__underflow): Likewise.
4150 (__uflow): Likewise.
4151 * libio/iofputs.c (_IO_fputs): Likewise.
4152 * libio/ioftell.c (_IO_ftell): Likewise.
4153 * libio/iofwrite.c (_IO_fwrite): Likewise.
4154 * libio/ioputs.c (_IO_puts): Likewise.
4155 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
4156 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
4157
4158 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
4159
4160 * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
4161
4162 1999-08-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4163
4164 * manual/job.texi (Process Group Functions): Document getpgid,
4165 getsid.
4166
4167 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
4168
4169 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
4170 initialize si_pid from it.
4171 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
4172 parameter.
4173 * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
4174 * rt/aio_misc.h (struct waitlist): Add caller_pid element.
4175 (struct requestlist): Likewise.
4176 Adjust prototypes of __aio_notify_only and __aio_sigqueue.
4177 * rt/aio_notify.c (__aio_notify_only): Take extra parameter. Pass it
4178 to __aio_sigqueue.
4179 (__aio_notify): Pass caller PID to __aio_notify_only.
4180 * rt/aio_suspend.c: Initialize caller_pid.
4181 * rt/lio_listio.c: Likewise.
4182 * rt/lio_listio64.c: Likewise.
4183
4184 * rt/lio_listio.c: If nothing has to be done free mutex before
4185 signalling.
4186 * rt/lio_listio64.c: Likewise.
4187
4188 1999-08-10 H.J. Lu <hjl@gnu.org>
4189
4190 * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
4191 handling.
4192
4193 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
4194
4195 * elf/elf.h: Define ElfXX_Versym.
4196 * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
4197 definition.
4198
4199 * stdio-common/vfprintf.c (process_string_arg): Handle precisions
4200 for string output correctly in the wide character case.
4201 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
4202
4203 * intl/locale.alias: Add catalan.
4204
4205 1999-08-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4206
4207 * manual/install.texi (Configuring and compiling): Mention CFLAGS.
4208
4209 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
4210
4211 * po/pt_BR.po: New file.
4212
4213 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4214
4215 * math/libm-test.c (yn_test): Adjust deltas for i386.
4216 (ccosh_test): Likewise.
4217 (jn_test): Likewise.
4218
4219 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
4220
4221 * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
4222
4223 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
4224
4225 * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
4226 problem.
4227
4228 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4229
4230 * configure.in: install-sh lives now in scripts subdir.
4231 PR libc/1255 (bug 4).
4232
4233 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
4234
4235 * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
4236 version.
4237
4238 * po/fr.po: Update.
4239
4240 1999-08-11 Thorsten Kukuk <kukuk@suse.de>
4241
4242 * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
4243
4244 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
4245
4246 * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
4247 exponent.
4248
4249 1999-08-10 Andreas Schwab <schwab@suse.de>
4250
4251 * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
4252 header.
4253
4254 1999-08-09 Scott Bambrough <scottb@netwinder.org>
4255
4256 * elf/elf.h: Added definition of ELFOSABI_ARM.
4257 * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
4258 VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
4259 object's header and ABI values are acceptable.
4260 (VALID_ELF_HEADER): New macro; provide default definition.
4261 (VALID_ELF_OSABI): New macro; provide default definition.
4262 (VALID_ELF_ABIVERSION): New macro; provide default definition.
4263 * sysdeps/arm/dl-machine.h Define ARM specific versions of
4264 VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
4265
4266 1999-08-09 Andreas Schwab <schwab@suse.de>
4267
4268 * inet/tst-ipnode.c (main): Don't compare integer with NULL.
4269
4270 1999-08-09 Thorsten Kukuk <kukuk@suse.de>
4271
4272 * sunrpc/svc_run.c (svc_run): Free my_pollfd.
4273
4274 1999-08-09 Andreas Schwab <schwab@suse.de>
4275
4276 * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
4277
4278 1999-08-08 Ulrich Drepper <drepper@cygnus.com>
4279
4280 * sysdeps/ieee754/ieee754.h: Handle platforms with special
4281 __FLOAT_WORD_ORDER. Patch by Joel Klecker <jk@espy.org>.
4282
4283 * string/bits/string2.h: Mark void* operations as extensions.
4284 * sysdeps/i386/i486/bits/string.h: Likewise.
4285
4286 * debug/Makefile (routines): Add noophooks.
4287 (extra-libs): Add libpcprofile. Add rules to build libpcprofile.
4288 * debug/noophooks.c: New file.
4289 * debug/pcprofile.c: New file.
4290
4291 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
4292
4293 * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
4294 systems which allow using the functions also on non-seekable
4295 devices.
4296
4297 * resolv/res_send.c (res_send): Recompute timeout for poll for
4298 each jump to `wait'.
4299
4300 * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
4301 braces to avoid warnings.
4302 (IN6ADDR_LOOPBACK_INIT): Likewise.
4303
4304 * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
4305 MSG_DONTWAIT).
4306
4307 1999-08-06 H.J. Lu <hjl@gnu.org>
4308
4309 * malloc/malloc.c: Initialize __libc_pagesize early.
4310
4311 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
4312
4313 * string/string-inlines.c: Undefined __USE_STRING_INLINES before
4314 defining it.
4315
4316 * inet/Makefile (tests): Add tst-ipnode.
4317 * inet/tst-ipnode.c: New file.
4318
4319 1999-08-06 Andreas Schwab <schwab@suse.de>
4320
4321 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
4322 New definitions.
4323 (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
4324 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
4325 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
4326 New definitions.
4327 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
4328 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
4329
4330 1999-08-06 Jakub Jelinek <jj@ultra.linux.cz>
4331
4332 * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
4333 * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
4334 * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
4335
4336 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
4337
4338 * resolv/res_send.c (res_send): Don't test file descriptor for
4339 range, we use poll now. [PR libc/1240]
4340
4341 1999-08-05 Ulrich Drepper <drepper@cygnus.com>
4342
4343 * libio/genops.c (_IO_flush_all): Don't access elements beyond what
4344 2.0 defined if they are not available.
4345
4346 1999-08-05 Thorsten Kukuk <kukuk@suse.de>
4347
4348 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
4349 Define.
4350
4351 1999-08-04 Ulrich Drepper <drepper@cygnus.com>
4352
4353 * rt/aio_read.c: Fix return value.
4354 * rt/aio_read64.c: Likewise.
4355 Reported by Christian Gafton.
4356
4357 * rt/aio_write.c: Fix return value.
4358 * rt/aio_write64.c: Likewise.
4359 * rt/aio_fsync.c: Likewise.
4360
4361 * rt/aio_misc.c: Set errno at correct place.
4362
4363 * rt/aio_fsync.c: Test OP parameter for correct values.
4364
4365 * hesiod/hesiod.c: Avoid emitting rcsid in object file.
4366
4367 1999-08-04 Andreas Schwab <schwab@suse.de>
4368
4369 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
4370 Initialize result to one.
4371 (GET_NPROCS_CONF_PARSER): Likewise.
4372
4373 1999-08-03 Ulrich Drepper <drepper@cygnus.com>
4374
4375 * inet/ether_hton.c: Pass errno pointer to NSS function.
4376 * inet/getnetgrent_r.c: Likewise.
4377 Reported by Marty Leisner <leisner@rochester.rr.com>.
4378
4379 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
4380
4381 * nis/nis_callback.c: Fix port problem on big-endian machines
4382 * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
4383 fields are always 32 bit.
4384 Patches from Paul Mackerras <paulus@cs.anu.edu.au>
4385
4386 * nis/nss_nis/nis-service.c: Remove htons, port is always in
4387 network-byte-order.
4388 * nis/nss_nisplus/nisplus-service.c: Rename number to port.
4389
4390 1999-08-03 Andreas Schwab <schwab@suse.de>
4391
4392 * sysdeps/posix/sigset.c: Unblock the signal after setting its
4393 disposition. Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
4394 avoid two calls to sigprocmask.
4395
4396 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
4397
4398 * sysdeps/generic/s_nexttowardf.c: Fix typo.
4399
4400 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
4401
4402 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
4403 Only allow rt signal frames. No SA_SIGINFO signals will have the
4404 siginfo_t just not filled out with SI_NOINFO code.
4405 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
4406 (register_dump): Take the above change into account.
4407 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
4408 (rt_signal_frame): Likewise.
4409
4410 * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
4411
4412 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
4413
4414 * nis/nis_callback.c (internal_nis_do_callback): Use poll()
4415 instead of select().
4416
4417 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
4418
4419 * sysdeps/generic/s_nextafter.c: Define __nexttoward and
4420 nexttoward so something else so that aliasing works.
4421
4422 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
4423
4424 * sysdeps/generic/math_ldbl.h: Fix typo.
4425 * sysdeps/generic/strtold.c: Remove unbalanced #endif.
4426 * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
4427
4428 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
4429
4430 * elf/resolvfail.c: Include stdio.h. Also test dlerror.
4431
4432 1999-08-01 Ulrich Drepper <drepper@cygnus.com>
4433
4434 * elf/Makefile (tests): Add resolvfail. Add rules to build the
4435 program.
4436 * elf/resolvfail.c: New file.
4437
4438 * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
4439 pass it to _dl_lookup_symbol.
4440
4441 * elf/dl-error.c (_dl_signal_error): Optimize string generation a
4442 bit. Reword message.
4443
4444 * dlfcn/dlerror.c: Make code thread-safe.
4445
4446 1999-07-31 Roland McGrath <roland@baalperazim.frob.com>
4447
4448 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
4449 initializer in CHECK: a bit size, not the type code repeated!
4450
4451 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
4452
4453 * string/tester.c: Add tests with constant arguments for strcpy
4454 and stpcpy.
4455
4456 1999-07-31 H.J. Lu <hjl@gnu.org>
4457
4458 * string/bits/string2.h (__strcpy_small): Fix a typo.
4459
4460 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
4461
4462 * Makeconfig (link-libc): Always define it, not only for shared
4463 builds.
4464
4465 * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
4466 * sysdeps/i386/fpu/e_powf.S: Likewise.
4467 * sysdeps/i386/fpu/e_powl.S: Likewise. [PR libc/1213].
4468
4469 * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
4470 * sysdeps/generic/e_gammal_r.c: Likewise. [PR libc/1212].
4471
4472 1999-07-30 Andreas Schwab <schwab@suse.de>
4473
4474 * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
4475 definition.
4476 (__get_nprocs): Use it.
4477 (__get_nprocs_conf): Define as separate function if
4478 GET_NPROCS_CONF_PARSER is defined.
4479 * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
4480
4481 * include/sys/sysinfo.h: New file.
4482 * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
4483 interface.
4484 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
4485
4486 1999-07-30 H.J. Lu <hjl@gnu.org>
4487
4488 * libio/iofflush.c (fflush_unlocked): Weak aliase if
4489 _IO_MTSAFE_IO is not defined.
4490 * libio/clearerr.c (clearerr_unlocked): Likewise.
4491 * libio/feof.c (feof_unlocked): Likewise.
4492 * libio/ferror.c (ferror_unlocked): Likewise.
4493 * libio/fputc.c (fputc_unlocked): Likewise.
4494 * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
4495 * libio/getchar.c (getchar_unlocked): Likewise.
4496 * libio/putc.c (putc_unlocked): Likewise.
4497 * libio/putchar.c (putchar_unlocked): Likewise.
4498
4499 1999-07-30 Thorsten Kukuk <kukuk@suse.de>
4500
4501 * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
4502 svc_max_pollfd and svc_pollfd to GLIBC_2.2
4503 * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
4504 for svc_run/poll interface.
4505 * sunrpc/rpc/types.h: Add rpc*_t typedefs.
4506 * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
4507 global variable.
4508 * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
4509 rewrite other svc_getreq* functions to use svc_getreq_common.
4510 * sunrpc/svc_run.c: Use poll().
4511
4512 1999-07-30 Andreas Schwab <schwab@suse.de>
4513
4514 * Makerules: Put sysd-versions and Versions.all on
4515 postclean-generated instead of common-generated.
4516
4517 1999-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4518
4519 * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
4520 around and CLOCKS_PER_SEC is 1e6.
4521
4522 1999-07-30 Ulrich Drepper <drepper@cygnus.com>
4523
4524 * configure.in: Add test for local label subtraction.
4525 * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
4526 * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
4527 labels to reduce number of runtime relocations and move jump
4528 tables in read-only seciton.
4529
4530 * malloc/malloc.c (ptmalloc_init): Correct last patch. The
4531 assignment cannot be moved.
4532
4533 1999-07-29 H.J. Lu <hjl@gnu.org>
4534
4535 * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
4536 if no threads are used.
4537
4538 * libio/iofwrite.c: Add weak alias for _unlocked function if not
4539 _IO_MTSAFE_IO.
4540 * libio/iofread.c: Likewise.
4541 * libio/iofgets.c: Likewise.
4542 * libio/iofputs.c: Likewise.
4543
4544 * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
4545 definition.
4546
4547 * stdlib/mbtowc.c: Include <string.h>.
4548 * stdlib/wctomb.c: Likewise.
4549 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
4550 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
4551
4552 * misc/mntent_r.c: Include <alloca.h>.
4553 * elf/dl-runtime.c: Likewise.
4554
4555 1999-07-29 Andreas Schwab <schwab@suse.de>
4556
4557 * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
4558 all floating point formats supported by gcc. Error out for
4559 unhandled precisions.
4560 * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
4561 * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
4562 * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
4563
4564 1999-07-29 Ulrich Drepper <drepper@cygnus.com>
4565
4566 * sysdeps/generic/setenv.c: Move setenv code in new function
4567 __add_to_environ. Add new parameter specifying already
4568 constructed string for the environment.
4569 (setenv): Call __add_to_environ with new parameter set to NULL.
4570 (unsetenv): Really test all elements for duplicated name. Missed those
4571 cases where the two are following each other.
4572 * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
4573 * include/stdlib.h: Add prototype of __add_to_environ.
4574 * stdlib/tst-environ.c: New file.
4575 * stdlib/Makefile (tests): Add tst-environ.
4576
4577 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
4578
4579 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
4580 argument in realloc call.
4581 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
4582 Likewise.
4583 Reported by Danny Braniss <danny@cs.huji.ac.il>.
4584
4585 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
4586
4587 * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
4588 to print.
4589 * misc/efgcvt_r.c: Likewise.
4590 * misc/qefgcvt.c: Likewise.
4591 * misc/qefgcvt_r.c: Likewise.
4592 * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
4593 anymore.
4594
4595 1999-07-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4596
4597 * manual/math.texi (FP Function Optimization): Mention drawbacks.
4598
4599 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
4600
4601 * stdlib/mblen.c: Use static state.
4602 Reported by Bruno Haible <haible@ilog.fr>.
4603
4604 * stdlib/mbtowc.c: Reset state for s == NULL.
4605 * stdlib/wctomb.c: Likewise.
4606 Reported by Bruno Haible <haible@ilog.fr>.
4607
4608 * stdlib/mbstowcs.c: Do not use global state.
4609 Reported by Bruno Haible <haible@ilog.fr>.
4610
4611 1999-07-28 Andeas Schwab <schwab@suse.de>
4612
4613 * iconvdata/Makefile: Don't try to run iconv tests when cross
4614 compiling.
4615
4616 1999-07-27 Mark Kettenis <kettenis@gnu.org>
4617
4618 * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
4619 assembler code to switch stacks and call init1 outside this
4620 function. Inside `init' the code was optimized away by gcc
4621 2.95 since it was "clearly" unreachable.
4622 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
4623 Do something similar for the trampoline code.
4624
4625 1999-07-27 Ulrich Drepper <drepper@cygnus.com>
4626
4627 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
4628 for the hinted protocol.
4629
4630 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4631
4632 * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
4633
4634 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
4635
4636 * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
4637 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
4638 * elf/dl-load.c (_dl_map_object): Likewise.
4639 * elf/do-lookup.h (do_lookup*): Likewise.
4640 * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
4641 * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
4642 as uint64_t.
4643 * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
4644
4645 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
4646
4647 * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
4648 * sysdeps/generic/getpgrp.c: Likewise.
4649 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
4650 * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
4651 Patch by John Tobey <jtobey@banta-im.com>.
4652
4653 * sysdeps/posix/wait3.c: Help compiling in presence of
4654 __transparent_union__. Reported by John Tobey <jtobey@banta-im.com>.
4655
4656 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
4657
4658 * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
4659 as much as possible. Declare them using .register pseudo-op if they
4660 are still used.
4661 * sysdeps/sparc/sparc64/lshift.S: Likewise.
4662 * sysdeps/sparc/sparc64/memchr.S: Likewise.
4663 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
4664 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4665 * sysdeps/sparc/sparc64/memset.S: Likewise.
4666 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4667 * sysdeps/sparc/sparc64/rshift.S: Likewise.
4668 * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
4669 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4670 * sysdeps/sparc/sparc64/strcat.S: Likewise.
4671 * sysdeps/sparc/sparc64/strchr.S: Likewise.
4672 * sysdeps/sparc/sparc64/strcmp.S: Likewise.
4673 * sysdeps/sparc/sparc64/strcpy.S: Likewise.
4674 * sysdeps/sparc/sparc64/strcspn.S: Likewise.
4675 * sysdeps/sparc/sparc64/strlen.S: Likewise.
4676 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4677 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4678 * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
4679 * sysdeps/sparc/sparc64/strspn.S: Likewise.
4680 * sysdeps/sparc/sparc64/sub_n.S: Likewise.
4681 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4682 Optimize trampoline code for .plt4-.plt32767.
4683 Fix trampolines for .plt32768+.
4684
4685 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
4686
4687 * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
4688 -mcpu=v8.
4689 * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
4690 * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
4691 libc's private use (as assembly routine clobber it anyway).
4692
4693 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4694
4695 * README.template (configurations): The crypt add-on has a new
4696 ftp site.
4697 * manual/install.texi (Installation): Likewise.
4698
4699 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
4700
4701 * time/time.h: Add forward for struct sigevent. Unix98 maybe
4702 requires to have a full definition but we wait for a bug report
4703 based on the test suite.
4704
4705 * sysdeps/generic/clock_getres.c: New file.
4706 * sysdeps/generic/clock_gettime.c: New file.
4707 * sysdeps/generic/clock_settime.c: New file.
4708 * sysdeps/generic/timer_create.c: New file.
4709 * sysdeps/generic/timer_delete.c: New file.
4710 * sysdeps/generic/timer_getoverr.c: New file.
4711 * sysdeps/generic/timer_gettime.c: New file.
4712 * sysdeps/generic/timer_settime.c: New file.
4713
4714 * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
4715 CLOCK_REALTIME, and TIMER_ABSTIME.
4716 * sysdeps/mach/hurd/bits/time.h: Likewise.
4717 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
4718 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
4719
4720 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
4721
4722 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
4723 si_timer2.
4724
4725 * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
4726
4727 * time/Makefile (routines): Add clock_getres, clock_gettime,
4728 clock_setres, timer_create, timer_delete, timer_getoverr,
4729 timer_gettime, and timer_settime.
4730
4731 * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
4732 POSIX.1b. Add prototypes for clock and timer functions.
4733
4734 1999-07-26 Roland McGrath <roland@baalperazim.frob.com>
4735
4736 * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
4737 Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
4738
4739 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
4740
4741 * stdlib/wcstombs.c: Do not use global state.
4742 Reported by Bruno Haible <haible@ilog.fr>.
4743
4744 * wcsmbs/wctob.c: Avoid sign extension when returning character.
4745 Reported by Bruno Haible <haible@ilog.fr>.
4746
4747 * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
4748 of wide characters to convert do it right and don't overestimate
4749 by multiplying with MB_CUR_MAX.
4750 Reported by Bruno Haible <haible@ilog.fr>.
4751
4752 1999-07-26 Jakub Jelinek <jj@ultra.linux.jz>
4753
4754 * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
4755 (__stpcpy_small): Likewise.
4756 Union has no __uc member but __c.
4757
4758 1999-07-26 Andreas Schwab <schwab@suse.de>
4759
4760 * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
4761
4762 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
4763
4764 * libio/iofclose.c (_IO_new_fclose): Only fall back on
4765 _IO_old_fclose if doing versioning.
4766
4767 * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
4768 them appropriately.
4769 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4770
4771 * misc/mntent_r.c: Allow spaces and tabs in entry names by
4772 encoding these characters.
4773 * misc/tst-mntent.c: Add test case for addmntent and getmntent.
4774
4775 * string/bits/string2.h: Fix aliasing problems.
4776 * sysdeps/i386/i486/bits/string.h: Likewise.
4777 * sysdeps/i386/bits/string.h: Likewise.
4778
4779 1998-12-28 Geoff Keating <geoffk@ozemail.com.au>
4780
4781 * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
4782 * elf/rtld.c (dl_main): Don't call malloc() between
4783 re-relocating the dynamic linker and running the application's crt0.
4784
4785 1999-07-21 Paul D. Smith <psmith@gnu.org>
4786
4787 * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
4788 glob.h to get __P() macro.
4789
4790 * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
4791 not ANSI.
4792 (__strchrnul): This won't exist outside GLIBC, so create one.
4793
4794 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
4795
4796 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
4797 __ino64_t should be 32bit unsigned type on sparc32.
4798 Define __off64_t to __quad_t instead of __int64_t.
4799 Make __pic_pid_t unsigned on sparc32.
4800
4801 1999-07-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4802
4803 * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
4804 in bash 2.03.
4805
4806 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
4807
4808 * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
4809 of an error. Patch by Changwoo Ryu <cwryu@debian.org>.
4810
4811 1999-07-24 Ulrich Drepper <drepper@cygnus.com>
4812
4813 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
4814 accesses.
4815
4816 * resolv/res_send.c: Add locks for res_send and res_close use.
4817
4818 * elf/Makefile (dl-routines): Add preinit.
4819 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
4820 * elf/link.h (struct link_map): Add new field l_preinitcount.
4821 * elf/dl-preinit.c: New file.
4822 * elf/dynamic-link.h: Initialize l_preinitcount.
4823 * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
4824
4825 * elf/dl-fini.c: Handle DT_FINI_ARRAY.
4826 * elf/link.h (struct link_map): Remove l_init_running. Add l_runcount
4827 and l_initcount.
4828 * elf/dl-init.c: Handle DT_INIT_ARRAY.
4829 * elf/dynamic-link.h: Change parameters. Now only get link_map
4830 pointer. Calculate l_initcount.
4831
4832 * elf/link.h (struct link_map): Add l_runpath_dirs.
4833 * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
4834 * elf/dl-load.c: Pretty print.
4835 (decompose_rpath): Take new parameter with info from where the path
4836 comes. Pass it the fillin_rpath.
4837 (_dl_init_paths): Initialize l_runpath_dirs.
4838 (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
4839 Search using RUNPATH after LD_LIBRARY_PATH.
4840 * elf/dl-support.c: Adjust comment.
4841 * elf/rtld.c: Adjust help message.
4842
4843 1999-07-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4844
4845 * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
4846 interface.
4847
4848 1999-07-23 Roland McGrath <roland@baalperazim.frob.com>
4849
4850 * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
4851 match BSD value; previous value of 1<<8 was a typo. I bet nothing
4852 ever used this, so I'm not going to worry about compatibility.
4853 [__USE_GNU] (IUCLC, OLCUC): New macros.
4854
4855 1999-07-23 Ulrich Drepper <drepper@cygnus.com>
4856
4857 * include/libintl.h: Undefine N_ and _ first to avoid warnings.
4858
4859 * elf/elf.h: Add ET_LOOS and ET_HIOS.
4860 Add various EM_* constants.
4861 Add SHN_LOOS and SHN_HIOS.
4862 Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
4863 Add SHF_MERGE and SHF_STRINGS.
4864 (ElfXX_Sym): Update description of st_other field.
4865 Add STT_COMMON.
4866 Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
4867 Add STV_* macros.
4868 Update comment on DT_RPATH. Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
4869 DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
4870 Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
4871
4872 * posix/unistd.h: Move declaration of __libc_enable_secure to...
4873 * include/unistd.h: ...here.
4874
4875 * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
4876 * elf/dl-deps.c (expand_dst): Likewise.
4877
4878 * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
4879 based on DT_FLAGS value.
4880
4881 * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
4882 Add test for symbols marked STV_HIDDEN.
4883 * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
4884 add undef_map. Compute reference_name locally. Update call to
4885 do_lookup.
4886 (_dl_lookup_symbol_skip): Likewise.
4887 (_dl_lookup_versioned_symbol): Likewise.
4888 (_dl_lookup_versioned_symbol_skip): Likewise.
4889 * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
4890 * elf/dl-runtime.c: Likewise.
4891 * elf/dl-sym.c: Likewise.
4892 * elf/dl-symbol.c: Likewise.
4893 * elf/ldsodefs.h: Adjust prototypes.
4894
4895 * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
4896 handle appropriately. Add comment about DT_TEXTREL.
4897 * elf/dl-runtime.c: Likewise.
4898
4899 1999-07-21 Roland McGrath <roland@baalperazim.frob.com>
4900
4901 * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
4902 * elf/ldsodefs.h: Declare it.
4903 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
4904 instead of assert.
4905 (elf_machine_lazy_rel): Likewise. Take new arg MAP.
4906 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4907 (elf_machine_lazy_rel): Likewise.
4908 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
4909 (elf_machine_lazy_rel): Likewise.
4910 * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
4911 (elf_machine_lazy_rel): Likewise.
4912 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
4913 (elf_machine_lazy_rel): Likewise.
4914 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4915 (elf_machine_lazy_rel): Likewise.
4916 * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
4917 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
4918 (elf_machine_lazy_rel): Likewise.
4919 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
4920 (elf_machine_lazy_rel): Likewise.
4921 * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
4922 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
4923 _dl_reloc_bad_type instead of _dl_signal_error.
4924 * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
4925
4926 1999-07-20 Mark Kettenis <kettenis@gnu.org>
4927
4928 * sysdeps/mach/_strerror.c: Include <libintl.h>.
4929
4930 1999-07-19 Roland McGrath <roland@baalperazim.frob.com>
4931
4932 * hurd/hurdsig.c (_hurd_internal_post_signal): If a
4933 hurd_signal_preemptor matches but its `preemptor' field is null, use
4934 its `handler' field directly. This is to comply with behavior
4935 documented in <hurd/sigpreempt.h>.
4936
4937 1999-07-21 Andreas Schwab <schwab@suse.de>
4938
4939 * libio/fileops.c (_IO_new_file_underflow): Set error indicator
4940 when reading from write-only stream.
4941 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
4942 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4943
4944 1999-07-21 Andreas Schwab <schwab@suse.de>
4945
4946 * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
4947 NULL.
4948
4949 1999-07-21 Mark Kettenis <kettenis@gnu.org>
4950
4951 * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
4952 <hurd/fd.h>.
4953 * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
4954 <hurd/fd.h>.
4955 (__libc_write): Call __pwrite instead of __pread.
4956
4957 1999-07-20 Mark Kettenis <kettenis@gnu.org>
4958
4959 * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
4960 __vm_allocate calls.
4961
4962 * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>. Fix typo.
4963 * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
4964
4965 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
4966 _hurd_fd_read with new OFFSET argument set to -1.
4967 (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
4968 to -1.
4969
4970 1999-07-17 Roland McGrath <roland@baalperazim.frob.com>
4971
4972 * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
4973 descriptor table sent in the RPC.
4974
4975 1999-07-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4976
4977 * time/strptime.c [!_LIBC]: Fix __mon_day size. Reported by
4978 bill@taniwha.org [PR libc/1211].
4979
4980 1999-07-19 Andreas Schwab <schwab@suse.de>
4981
4982 * libio/Makefile (routines): Add fwprintf.
4983
4984 PowerPC has own version of w_sqrt.c and w_sqrtf.c.
4985 * math/w_sqrt.c: Moved to ...
4986 * sysdeps/generic/w_sqrt.c: ... here.
4987 * math/w_sqrtf.c: Moved to ...
4988 * sysdeps/generic/w_sqrtf.c: ... here.
4989
4990 * Make-dist (generic-dirs): New variable.
4991 (try-sysdeps, +sysdep-names): Use it.
4992 * extra-lib.mk (all-$(lib)-routines): New variable. Use it
4993 instead of $(lib)-routines.
4994 * elf/Makefile (distribute): Add dl-cache.h.
4995 * db2/Makefile (distribute): Add all new files.
4996 * iconvdata/Makefile (distribute): Don't distribute CVS
4997 directory.
4998 * math/Makefile (distribute): Remove machine/endian.h, add
4999 math_ldbl.h.
5000 * stdio-common/Makefile (distribute): Add _itowa.h.
5001 * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
5002 * sysdeps/gnu/Dist: Add eval.c
5003 * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
5004 dlfcn]: Add to this instead of libdl-routines.
5005 * sysdeps/ieee754/ldbl-128/Dist: New file.
5006 * sysdeps/mach/hurd/Dist: Add siglist.h
5007 * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
5008
5009 1999-07-18 Ulrich Drepper <drepper@cygnus.com>
5010
5011 * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
5012
5013 * inet/Makefile (routines): Add getipnodebyad and freehostent.
5014 * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
5015 * inet/freehostent.c: New file.
5016 * inet/getipnodebyad.c: New file.
5017 * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
5018 and getipnodebyname. The latter comes soon.
5019 * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
5020 Add support for getipnode* functions.
5021
5022 * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
5023 Set h_aliases to NULL and not to a pointer to an array with a NULL
5024 pointer following XNS 5.2.
5025
5026 * posix/sched.h: Remove internal interfaces.
5027 * include/sched.h: Add internal interfaces.
5028
5029 * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
5030
5031 * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
5032
5033 * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
5034 and return an error in this case.
5035 * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
5036 available.
5037
5038 1999-07-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5039
5040 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
5041 1999-07-17 and adjust len parameter.
5042 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
5043 * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
5044 * manual/socket.texi (Host Names): Likewise.
5045 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
5046 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
5047 Likewise.
5048 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
5049 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
5050 (ht_gethostbyaddr): Likewise.
5051 (_gethtbyaddr): Likewise.
5052
5053 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
5054
5055 * resolv/netdb.h: Adjust parameters of gethostbyaddr and
5056 gethostbyaddr_r.
5057 * include/netdb.h: Likewise.
5058 * inet/gethstbyad.c: Correct type of len parameter.
5059 * inet/gethstbyad_r.c: Likewise.
5060
5061 * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
5062
5063 1999-07-17 Zack Weinberg <zack@rabi.columbia.edu>
5064
5065 * include/libc-symbol.h: Clean up definitions of weak_alias,
5066 strong_alias, symbol_version, etc. etc.
5067 * posix/getopt.h: Use ctype.h to get features.h included, and don't
5068 include it at all if __GNU_LIBRARY__ is already defined.
5069
5070 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
5071
5072 * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
5073
5074 * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
5075
5076 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
5077 type for tv_usec element.
5078 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5079 * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
5080 * sysdeps/generic/bits/time.h: Likewise.
5081 * sysdeps/mach/hurd/bits/time.h: Likewise.
5082 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5083 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5084 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5085 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5086 * sysdeps/generic/bits/types.h: Likewise.
5087 * posix/sys/types.h: Define suseconds_t for X/Open.
5088
5089 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
5090
5091 * stdio-common/bug1.c: Avoid memory leak.
5092
5093 * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
5094 program deterministic.
5095 * sysdeps/i386/fpu/e_powf.S: Likewise.
5096 * sysdeps/i386/fpu/e_powl.S: Likewise.
5097
5098 1999-07-15 Jakub Jelinek <jj@ultra.linux.cz>
5099
5100 * math/Makefile: Add t_sincosl and k_sincosl support routines.
5101 * math/math_private.h (__kernel_sincosl): New declaration.
5102 * sysdeps/generic/t_sincosl.c: New file.
5103 * sysdeps/generic/k_sincosl.c: New file.
5104 * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
5105 * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
5106 * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
5107 * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
5108 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
5109 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
5110 __kernel_sincosl.
5111 * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
5112 definition.
5113
5114 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
5115
5116 * posix/unistd.h: Use __PMT for exit.
5117
5118 1999-07-15 Philip Blundell <pb@nexus.co.uk>
5119
5120 * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
5121 _outw, _outl): Added to GLIBC_2.1.2.
5122
5123 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
5124
5125 * posix/fnmatch.h: Use __name instead of __string in prototype to
5126 allow use outside glibc.
5127
5128 1999-07-14 Ulrich Drepper <drepper@cygnus.com>
5129
5130 * time/tst-strptime.c (main): Add one more test case. Produce
5131 output even when result is ok.
5132
5133 * time/strptime.c (get_number): Handle number parsing more
5134 consistent with strftime. Only parse a given number of digits.
5135 (get_alt_number): Fix implementation. Was broken.
5136 (strptime_internal): Add third parameter to get_number and
5137 get_alt_number calls.
5138
5139 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
5140
5141 * elf/ldd.bash.in: Add support for multiple dynamic linkers.
5142 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
5143 try both 32bit and 64bit dynamic linker.
5144 * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
5145 script on all sparc targets.
5146
5147 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
5148
5149 * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
5150 to int.
5151
5152 1999-07-13 Andreas Schwab <schwab@suse.de>
5153
5154 * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
5155 inlining. Fixes PR libc/1198.
5156
5157 1999-07-14 Andreas Schwab <schwab@suse.de>
5158
5159 * Makerules (common-generated): Don't prepend $(common-objpfx).
5160
5161 1999-07-12 Jakub Jelinek <jj@ultra.linux.cz>
5162
5163 * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
5164 as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
5165 * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
5166 quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
5167 macro.
5168 * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
5169 instead of ieee754.
5170 * sysdeps/arm/Implies: Likewise.
5171 * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
5172 ieee754/ldbl-96 instead of ieee754.
5173 * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
5174 * sysdeps/generic/e_atanhl.c: New file.
5175 * sysdeps/generic/e_coshl.c: New file.
5176 * sysdeps/generic/e_sinhl.c: New file.
5177 * sysdeps/generic/e_gammal_r.c: New file.
5178 * sysdeps/generic/e_hypotl.c: New file.
5179 * sysdeps/generic/s_cbrtl.c: New file.
5180 * sysdeps/generic/s_asinhl.c: New file.
5181 * sysdeps/generic/s_tanhl.c: New file.
5182 * sysdeps/generic/w_expl.c: New file.
5183 * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
5184 instead of ieee754.
5185 * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
5186 ieee754/ldbl-96 instead of ieee754.
5187 * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
5188 * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
5189 printf_fphex.
5190 * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
5191 instead of ieee754.
5192 * sysdeps/mips/mips64/Implies: Likewise.
5193 * sysdeps/powerpc/Implies: Likewise.
5194 * sysdeps/sparc/Implies: Remove.
5195 * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
5196 ieee754/dbl-64.
5197 * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
5198 and ieee754/ldbl-128.
5199
5200 * sysdeps/sparc/bits/wordsize.h: Remove.
5201 * sysdeps/sparc/fpu/bits/mathinline.h: New file.
5202 * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
5203 only for sparc32.
5204 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
5205 * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
5206 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
5207 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
5208 * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
5209 support.
5210
5211 * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
5212 of carries. Optimize.
5213
5214 * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
5215 * sysdeps/generic/e_exp10.c: ...here.
5216 * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
5217 * sysdeps/generic/e_exp10f.c: ...here.
5218 * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
5219 * sysdeps/generic/e_exp10l.c: ...here.
5220 * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
5221 * sysdeps/generic/e_scalb.c: ...here.
5222 * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
5223 * sysdeps/generic/e_scalbf.c: ...here.
5224 * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
5225 * sysdeps/generic/e_scalbl.c: ...here.
5226 * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
5227 * sysdeps/generic/s_cacos.c: ...here.
5228 * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
5229 * sysdeps/generic/s_cacosf.c: ...here.
5230 * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
5231 * sysdeps/generic/s_cacosh.c: ...here.
5232 * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
5233 * sysdeps/generic/s_cacoshf.c: ...here.
5234 * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
5235 * sysdeps/generic/s_cacoshl.c: ...here.
5236 * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
5237 * sysdeps/generic/s_cacosl.c: ...here.
5238 * sysdeps/libm-ieee754/s_casin.c: Moved to ...
5239 * sysdeps/generic/s_casin.c: ...here.
5240 * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
5241 * sysdeps/generic/s_casinf.c: ...here.
5242 * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
5243 * sysdeps/generic/s_casinh.c: ...here.
5244 * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
5245 * sysdeps/generic/s_casinhf.c: ...here.
5246 * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
5247 * sysdeps/generic/s_casinhl.c: ...here.
5248 * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
5249 * sysdeps/generic/s_casinl.c: ...here.
5250 * sysdeps/libm-ieee754/s_catan.c: Moved to ...
5251 * sysdeps/generic/s_catan.c: ...here.
5252 * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
5253 * sysdeps/generic/s_catanf.c: ...here.
5254 * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
5255 * sysdeps/generic/s_catanh.c: ...here.
5256 * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
5257 * sysdeps/generic/s_catanhf.c: ...here.
5258 * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
5259 * sysdeps/generic/s_catanhl.c: ...here.
5260 * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
5261 * sysdeps/generic/s_catanl.c: ...here.
5262 * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
5263 * sysdeps/generic/s_ccos.c: ...here.
5264 * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
5265 * sysdeps/generic/s_ccosf.c: ...here.
5266 * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
5267 * sysdeps/generic/s_ccosh.c: ...here.
5268 * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
5269 * sysdeps/generic/s_ccoshf.c: ...here.
5270 * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
5271 * sysdeps/generic/s_ccoshl.c: ...here.
5272 * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
5273 * sysdeps/generic/s_ccosl.c: ...here.
5274 * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
5275 * sysdeps/generic/s_cexp.c: ...here.
5276 * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
5277 * sysdeps/generic/s_cexpf.c: ...here.
5278 * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
5279 * sysdeps/generic/s_cexpl.c: ...here.
5280 * sysdeps/libm-ieee754/s_clog.c: Moved to ...
5281 * sysdeps/generic/s_clog.c: ...here.
5282 * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
5283 * sysdeps/generic/s_clog10.c: ...here.
5284 * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
5285 * sysdeps/generic/s_clog10f.c: ...here.
5286 * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
5287 * sysdeps/generic/s_clog10l.c: ...here.
5288 * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
5289 * sysdeps/generic/s_clogf.c: ...here.
5290 * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
5291 * sysdeps/generic/s_clogl.c: ...here.
5292 * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
5293 * sysdeps/generic/s_cpow.c: ...here.
5294 * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
5295 * sysdeps/generic/s_cpowf.c: ...here.
5296 * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
5297 * sysdeps/generic/s_cpowl.c: ...here.
5298 * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
5299 * sysdeps/generic/s_cproj.c: ...here.
5300 * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
5301 * sysdeps/generic/s_cprojf.c: ...here.
5302 * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
5303 * sysdeps/generic/s_cprojl.c: ...here.
5304 * sysdeps/libm-ieee754/s_csin.c: Moved to ...
5305 * sysdeps/generic/s_csin.c: ...here.
5306 * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
5307 * sysdeps/generic/s_csinf.c: ...here.
5308 * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
5309 * sysdeps/generic/s_csinh.c: ...here.
5310 * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
5311 * sysdeps/generic/s_csinhf.c: ...here.
5312 * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
5313 * sysdeps/generic/s_csinhl.c: ...here.
5314 * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
5315 * sysdeps/generic/s_csinl.c: ...here.
5316 * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
5317 * sysdeps/generic/s_csqrt.c: ...here.
5318 * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
5319 * sysdeps/generic/s_csqrtf.c: ...here.
5320 * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
5321 * sysdeps/generic/s_csqrtl.c: ...here.
5322 * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
5323 * sysdeps/generic/s_ctan.c: ...here.
5324 * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
5325 * sysdeps/generic/s_ctanf.c: ...here.
5326 * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
5327 * sysdeps/generic/s_ctanh.c: ...here.
5328 * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
5329 * sysdeps/generic/s_ctanhf.c: ...here.
5330 * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
5331 * sysdeps/generic/s_ctanhl.c: ...here.
5332 * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
5333 * sysdeps/generic/s_ctanl.c: ...here.
5334 * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
5335 * sysdeps/generic/s_fdim.c: ...here.
5336 * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
5337 * sysdeps/generic/s_fdimf.c: ...here.
5338 * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
5339 * sysdeps/generic/s_fdiml.c: ...here.
5340 * sysdeps/libm-ieee754/s_fma.c: Moved to ...
5341 * sysdeps/generic/s_fma.c: ...here.
5342 * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
5343 * sysdeps/generic/s_fmaf.c: ...here.
5344 * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
5345 * sysdeps/generic/s_fmal.c: ...here.
5346 * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
5347 * sysdeps/generic/s_fmax.c: ...here.
5348 * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
5349 * sysdeps/generic/s_fmaxf.c: ...here.
5350 * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
5351 * sysdeps/generic/s_fmaxl.c: ...here.
5352 * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
5353 * sysdeps/generic/s_fmin.c: ...here.
5354 * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
5355 * sysdeps/generic/s_fminf.c: ...here.
5356 * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
5357 * sysdeps/generic/s_fminl.c: ...here.
5358 * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
5359 * sysdeps/generic/s_ldexp.c: ...here.
5360 * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
5361 * sysdeps/generic/s_ldexpf.c: ...here.
5362 * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
5363 * sysdeps/generic/s_ldexpl.c: ...here.
5364 * sysdeps/libm-ieee754/s_nan.c: Moved to ...
5365 * sysdeps/generic/s_nan.c: ...here.
5366 * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
5367 * sysdeps/generic/s_nanf.c: ...here.
5368 * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
5369 * sysdeps/generic/s_nanl.c: ...here.
5370 * sysdeps/libm-ieee754/s_significand.c: Moved to ...
5371 * sysdeps/generic/s_significand.c: ...here.
5372 * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
5373 * sysdeps/generic/s_significandf.c: ...here.
5374 * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
5375 * sysdeps/generic/s_significandl.c: ...here.
5376 Avoid conversion from int to double and then to long double.
5377 * sysdeps/libm-ieee754/w_acos.c: Moved to ...
5378 * math/w_acos.c: ...here.
5379 * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
5380 * math/w_acosf.c: ...here.
5381 * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
5382 * math/w_acosh.c: ...here.
5383 * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
5384 * math/w_acoshf.c: ...here.
5385 * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
5386 * math/w_acoshl.c: ...here.
5387 * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
5388 * math/w_acosl.c: ...here.
5389 * sysdeps/libm-ieee754/w_asin.c: Moved to ...
5390 * math/w_asin.c: ...here.
5391 * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
5392 * math/w_asinf.c: ...here.
5393 * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
5394 * math/w_asinl.c: ...here.
5395 * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
5396 * math/w_atan2.c: ...here.
5397 * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
5398 * math/w_atan2f.c: ...here.
5399 * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
5400 * math/w_atan2l.c: ...here.
5401 * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
5402 * math/w_atanh.c: ...here.
5403 * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
5404 * math/w_atanhf.c: ...here.
5405 * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
5406 * math/w_atanhl.c: ...here.
5407 * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
5408 * math/w_cosh.c: ...here.
5409 * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
5410 * math/w_coshf.c: ...here.
5411 * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
5412 * math/w_coshl.c: ...here.
5413 * sysdeps/libm-ieee754/w_drem.c: Moved to ...
5414 * math/w_drem.c: ...here.
5415 * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
5416 * math/w_dremf.c: ...here.
5417 * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
5418 * math/w_dreml.c: ...here.
5419 * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
5420 * math/w_exp10.c: ...here.
5421 * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
5422 * math/w_exp10f.c: ...here.
5423 * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
5424 * math/w_exp10l.c: ...here.
5425 * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
5426 * math/w_exp2.c: ...here.
5427 * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
5428 * math/w_exp2f.c: ...here.
5429 * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
5430 * math/w_exp2l.c: ...here.
5431 * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
5432 * math/w_fmod.c: ...here.
5433 * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
5434 * math/w_fmodf.c: ...here.
5435 * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
5436 * math/w_fmodl.c: ...here.
5437 * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
5438 * math/w_hypot.c: ...here.
5439 * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
5440 * math/w_hypotf.c: ...here.
5441 * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
5442 * math/w_hypotl.c: ...here.
5443 * sysdeps/libm-ieee754/w_j0.c: Moved to ...
5444 * math/w_j0.c: ...here.
5445 * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
5446 * math/w_j0f.c: ...here.
5447 * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
5448 * math/w_j0l.c: ...here.
5449 * sysdeps/libm-ieee754/w_j1.c: Moved to ...
5450 * math/w_j1.c: ...here.
5451 * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
5452 * math/w_j1f.c: ...here.
5453 * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
5454 * math/w_j1l.c: ...here.
5455 * sysdeps/libm-ieee754/w_jn.c: Moved to ...
5456 * math/w_jn.c: ...here.
5457 * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
5458 * math/w_jnf.c: ...here.
5459 * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
5460 * math/w_jnl.c: ...here.
5461 * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
5462 * math/w_lgamma.c: ...here.
5463 * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
5464 * math/w_lgamma_r.c: ...here.
5465 * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
5466 * math/w_lgammaf.c: ...here.
5467 * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
5468 * math/w_lgammaf_r.c: ...here.
5469 * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
5470 * math/w_lgammal.c: ...here.
5471 * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
5472 * math/w_lgammal_r.c: ...here.
5473 * sysdeps/libm-ieee754/w_log.c: Moved to ...
5474 * math/w_log.c: ...here.
5475 * sysdeps/libm-ieee754/w_log10.c: Moved to ...
5476 * math/w_log10.c: ...here.
5477 * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
5478 * math/w_log10f.c: ...here.
5479 * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
5480 * math/w_log10l.c: ...here.
5481 * sysdeps/libm-ieee754/w_logf.c: Moved to ...
5482 * math/w_logf.c: ...here.
5483 * sysdeps/libm-ieee754/w_logl.c: Moved to ...
5484 * math/w_logl.c: ...here.
5485 * sysdeps/libm-ieee754/w_pow.c: Moved to ...
5486 * math/w_pow.c: ...here.
5487 * sysdeps/libm-ieee754/w_powf.c: Moved to ...
5488 * math/w_powf.c: ...here.
5489 * sysdeps/libm-ieee754/w_powl.c: Moved to ...
5490 * math/w_powl.c: ...here.
5491 * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
5492 * math/w_remainder.c: ...here.
5493 * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
5494 * math/w_remainderf.c: ...here.
5495 * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
5496 * math/w_remainderl.c: ...here.
5497 * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
5498 * math/w_scalb.c: ...here.
5499 * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
5500 * math/w_scalbf.c: ...here.
5501 * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
5502 * math/w_scalbl.c: ...here.
5503 * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
5504 * math/w_sinh.c: ...here.
5505 * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
5506 * math/w_sinhf.c: ...here.
5507 * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
5508 * math/w_sinhl.c: ...here.
5509 * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
5510 * math/w_sqrt.c: ...here.
5511 * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
5512 * math/w_sqrtf.c: ...here.
5513 * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
5514 * math/w_sqrtl.c: ...here.
5515 * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
5516 * math/w_tgamma.c: ...here.
5517 * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
5518 * math/w_tgammaf.c: ...here.
5519 * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
5520 * math/w_tgammal.c: ...here.
5521 * sysdeps/libm-i387/e_acos.S: Moved to ...
5522 * sysdeps/i386/fpu/e_acos.S: ...here.
5523 * sysdeps/libm-i387/e_acosf.S: Moved to ...
5524 * sysdeps/i386/fpu/e_acosf.S: ...here.
5525 * sysdeps/libm-i387/e_acosh.S: Moved to ...
5526 * sysdeps/i386/fpu/e_acosh.S: ...here.
5527 * sysdeps/libm-i387/e_acoshf.S: Moved to ...
5528 * sysdeps/i386/fpu/e_acoshf.S: ...here.
5529 * sysdeps/libm-i387/e_acoshl.S: Moved to ...
5530 * sysdeps/i386/fpu/e_acoshl.S: ...here.
5531 * sysdeps/libm-i387/e_acosl.S: Moved to ...
5532 * sysdeps/i386/fpu/e_acosl.S: ...here.
5533 * sysdeps/libm-i387/e_asin.S: Moved to ...
5534 * sysdeps/i386/fpu/e_asin.S: ...here.
5535 * sysdeps/libm-i387/e_asinf.S: Moved to ...
5536 * sysdeps/i386/fpu/e_asinf.S: ...here.
5537 * sysdeps/libm-i387/e_asinl.S: Moved to ...
5538 * sysdeps/i386/fpu/e_asinl.S: ...here.
5539 * sysdeps/libm-i387/e_atan2.S: Moved to ...
5540 * sysdeps/i386/fpu/e_atan2.S: ...here.
5541 * sysdeps/libm-i387/e_atan2f.S: Moved to ...
5542 * sysdeps/i386/fpu/e_atan2f.S: ...here.
5543 * sysdeps/libm-i387/e_atan2l.S: Moved to ...
5544 * sysdeps/i386/fpu/e_atan2l.S: ...here.
5545 * sysdeps/libm-i387/e_atanh.S: Moved to ...
5546 * sysdeps/i386/fpu/e_atanh.S: ...here.
5547 * sysdeps/libm-i387/e_atanhf.S: Moved to ...
5548 * sysdeps/i386/fpu/e_atanhf.S: ...here.
5549 * sysdeps/libm-i387/e_atanhl.S: Moved to ...
5550 * sysdeps/i386/fpu/e_atanhl.S: ...here.
5551 * sysdeps/libm-i387/e_exp.S: Moved to ...
5552 * sysdeps/i386/fpu/e_exp.S: ...here.
5553 * sysdeps/libm-i387/e_exp10.S: Moved to ...
5554 * sysdeps/i386/fpu/e_exp10.S: ...here.
5555 * sysdeps/libm-i387/e_exp10f.S: Moved to ...
5556 * sysdeps/i386/fpu/e_exp10f.S: ...here.
5557 * sysdeps/libm-i387/e_exp10l.S: Moved to ...
5558 * sysdeps/i386/fpu/e_exp10l.S: ...here.
5559 * sysdeps/libm-i387/e_expf.S: Moved to ...
5560 * sysdeps/i386/fpu/e_expf.S: ...here.
5561 * sysdeps/libm-i387/e_expl.S: Moved to ...
5562 * sysdeps/i386/fpu/e_expl.S: ...here.
5563 * sysdeps/libm-i387/e_fmod.S: Moved to ...
5564 * sysdeps/i386/fpu/e_fmod.S: ...here.
5565 * sysdeps/libm-i387/e_fmodf.S: Moved to ...
5566 * sysdeps/i386/fpu/e_fmodf.S: ...here.
5567 * sysdeps/libm-i387/e_fmodl.S: Moved to ...
5568 * sysdeps/i386/fpu/e_fmodl.S: ...here.
5569 * sysdeps/libm-i387/e_hypot.S: Moved to ...
5570 * sysdeps/i386/fpu/e_hypot.S: ...here.
5571 * sysdeps/libm-i387/e_hypotf.S: Moved to ...
5572 * sysdeps/i386/fpu/e_hypotf.S: ...here.
5573 * sysdeps/libm-i387/e_log.S: Moved to ...
5574 * sysdeps/i386/fpu/e_log.S: ...here.
5575 * sysdeps/libm-i387/e_log10.S: Moved to ...
5576 * sysdeps/i386/fpu/e_log10.S: ...here.
5577 * sysdeps/libm-i387/e_log10f.S: Moved to ...
5578 * sysdeps/i386/fpu/e_log10f.S: ...here.
5579 * sysdeps/libm-i387/e_log10l.S: Moved to ...
5580 * sysdeps/i386/fpu/e_log10l.S: ...here.
5581 * sysdeps/libm-i387/e_logf.S: Moved to ...
5582 * sysdeps/i386/fpu/e_logf.S: ...here.
5583 * sysdeps/libm-i387/e_logl.S: Moved to ...
5584 * sysdeps/i386/fpu/e_logl.S: ...here.
5585 * sysdeps/libm-i387/e_pow.S: Moved to ...
5586 * sysdeps/i386/fpu/e_pow.S: ...here.
5587 * sysdeps/libm-i387/e_powf.S: Moved to ...
5588 * sysdeps/i386/fpu/e_powf.S: ...here.
5589 * sysdeps/libm-i387/e_powl.S: Moved to ...
5590 * sysdeps/i386/fpu/e_powl.S: ...here.
5591 * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
5592 * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
5593 * sysdeps/libm-i387/e_remainder.S: Moved to ...
5594 * sysdeps/i386/fpu/e_remainder.S: ...here.
5595 * sysdeps/libm-i387/e_remainderf.S: Moved to ...
5596 * sysdeps/i386/fpu/e_remainderf.S: ...here.
5597 * sysdeps/libm-i387/e_remainderl.S: Moved to ...
5598 * sysdeps/i386/fpu/e_remainderl.S: ...here.
5599 * sysdeps/libm-i387/e_scalb.S: Moved to ...
5600 * sysdeps/i386/fpu/e_scalb.S: ...here.
5601 * sysdeps/libm-i387/e_scalbf.S: Moved to ...
5602 * sysdeps/i386/fpu/e_scalbf.S: ...here.
5603 * sysdeps/libm-i387/e_scalbl.S: Moved to ...
5604 * sysdeps/i386/fpu/e_scalbl.S: ...here.
5605 * sysdeps/libm-i387/e_sqrt.S: Moved to ...
5606 * sysdeps/i386/fpu/e_sqrt.S: ...here.
5607 * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
5608 * sysdeps/i386/fpu/e_sqrtf.S: ...here.
5609 * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
5610 * sysdeps/i386/fpu/e_sqrtl.S: ...here.
5611 * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
5612 * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
5613 * sysdeps/libm-i387/s_asinh.S: Moved to ...
5614 * sysdeps/i386/fpu/s_asinh.S: ...here.
5615 * sysdeps/libm-i387/s_asinhf.S: Moved to ...
5616 * sysdeps/i386/fpu/s_asinhf.S: ...here.
5617 * sysdeps/libm-i387/s_asinhl.S: Moved to ...
5618 * sysdeps/i386/fpu/s_asinhl.S: ...here.
5619 * sysdeps/libm-i387/s_atan.S: Moved to ...
5620 * sysdeps/i386/fpu/s_atan.S: ...here.
5621 * sysdeps/libm-i387/s_atanf.S: Moved to ...
5622 * sysdeps/i386/fpu/s_atanf.S: ...here.
5623 * sysdeps/libm-i387/s_atanl.S: Moved to ...
5624 * sysdeps/i386/fpu/s_atanl.S: ...here.
5625 * sysdeps/libm-i387/s_cbrt.S: Moved to ...
5626 * sysdeps/i386/fpu/s_cbrt.S: ...here.
5627 * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
5628 * sysdeps/i386/fpu/s_cbrtf.S: ...here.
5629 * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
5630 * sysdeps/i386/fpu/s_cbrtl.S: ...here.
5631 * sysdeps/libm-i387/s_ceil.S: Moved to ...
5632 * sysdeps/i386/fpu/s_ceil.S: ...here.
5633 * sysdeps/libm-i387/s_ceilf.S: Moved to ...
5634 * sysdeps/i386/fpu/s_ceilf.S: ...here.
5635 * sysdeps/libm-i387/s_ceill.S: Moved to ...
5636 * sysdeps/i386/fpu/s_ceill.S: ...here.
5637 * sysdeps/libm-i387/s_cexp.S: Moved to ...
5638 * sysdeps/i386/fpu/s_cexp.S: ...here.
5639 * sysdeps/libm-i387/s_cexpf.S: Moved to ...
5640 * sysdeps/i386/fpu/s_cexpf.S: ...here.
5641 * sysdeps/libm-i387/s_cexpl.S: Moved to ...
5642 * sysdeps/i386/fpu/s_cexpl.S: ...here.
5643 * sysdeps/libm-i387/s_copysign.S: Moved to ...
5644 * sysdeps/i386/fpu/s_copysign.S: ...here.
5645 * sysdeps/libm-i387/s_copysignf.S: Moved to ...
5646 * sysdeps/i386/fpu/s_copysignf.S: ...here.
5647 * sysdeps/libm-i387/s_copysignl.S: Moved to ...
5648 * sysdeps/i386/fpu/s_copysignl.S: ...here.
5649 * sysdeps/libm-i387/s_cos.S: Moved to ...
5650 * sysdeps/i386/fpu/s_cos.S: ...here.
5651 * sysdeps/libm-i387/s_cosf.S: Moved to ...
5652 * sysdeps/i386/fpu/s_cosf.S: ...here.
5653 * sysdeps/libm-i387/s_cosl.S: Moved to ...
5654 * sysdeps/i386/fpu/s_cosl.S: ...here.
5655 * sysdeps/libm-i387/s_exp2.S: Moved to ...
5656 * sysdeps/i386/fpu/s_exp2.S: ...here.
5657 * sysdeps/libm-i387/s_exp2f.S: Moved to ...
5658 * sysdeps/i386/fpu/s_exp2f.S: ...here.
5659 * sysdeps/libm-i387/s_exp2l.S: Moved to ...
5660 * sysdeps/i386/fpu/s_exp2l.S: ...here.
5661 * sysdeps/libm-i387/s_expm1.S: Moved to ...
5662 * sysdeps/i386/fpu/s_expm1.S: ...here.
5663 * sysdeps/libm-i387/s_expm1f.S: Moved to ...
5664 * sysdeps/i386/fpu/s_expm1f.S: ...here.
5665 * sysdeps/libm-i387/s_expm1l.S: Moved to ...
5666 * sysdeps/i386/fpu/s_expm1l.S: ...here.
5667 * sysdeps/libm-i387/s_fdim.S: Moved to ...
5668 * sysdeps/i386/fpu/s_fdim.S: ...here.
5669 * sysdeps/libm-i387/s_fdimf.S: Moved to ...
5670 * sysdeps/i386/fpu/s_fdimf.S: ...here.
5671 * sysdeps/libm-i387/s_fdiml.S: Moved to ...
5672 * sysdeps/i386/fpu/s_fdiml.S: ...here.
5673 * sysdeps/libm-i387/s_finite.S: Moved to ...
5674 * sysdeps/i386/fpu/s_finite.S: ...here.
5675 * sysdeps/libm-i387/s_finitef.S: Moved to ...
5676 * sysdeps/i386/fpu/s_finitef.S: ...here.
5677 * sysdeps/libm-i387/s_finitel.S: Moved to ...
5678 * sysdeps/i386/fpu/s_finitel.S: ...here.
5679 * sysdeps/libm-i387/s_floor.S: Moved to ...
5680 * sysdeps/i386/fpu/s_floor.S: ...here.
5681 * sysdeps/libm-i387/s_floorf.S: Moved to ...
5682 * sysdeps/i386/fpu/s_floorf.S: ...here.
5683 * sysdeps/libm-i387/s_floorl.S: Moved to ...
5684 * sysdeps/i386/fpu/s_floorl.S: ...here.
5685 * sysdeps/libm-i387/s_fma.S: Moved to ...
5686 * sysdeps/i386/fpu/s_fma.S: ...here.
5687 * sysdeps/libm-i387/s_fmaf.S: Moved to ...
5688 * sysdeps/i386/fpu/s_fmaf.S: ...here.
5689 * sysdeps/libm-i387/s_fmal.S: Moved to ...
5690 * sysdeps/i386/fpu/s_fmal.S: ...here.
5691 * sysdeps/libm-i387/s_fmax.S: Moved to ...
5692 * sysdeps/i386/fpu/s_fmax.S: ...here.
5693 * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
5694 * sysdeps/i386/fpu/s_fmaxf.S: ...here.
5695 * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
5696 * sysdeps/i386/fpu/s_fmaxl.S: ...here.
5697 * sysdeps/libm-i387/s_fmin.S: Moved to ...
5698 * sysdeps/i386/fpu/s_fmin.S: ...here.
5699 * sysdeps/libm-i387/s_fminf.S: Moved to ...
5700 * sysdeps/i386/fpu/s_fminf.S: ...here.
5701 * sysdeps/libm-i387/s_fminl.S: Moved to ...
5702 * sysdeps/i386/fpu/s_fminl.S: ...here.
5703 * sysdeps/libm-i387/s_frexp.S: Moved to ...
5704 * sysdeps/i386/fpu/s_frexp.S: ...here.
5705 * sysdeps/libm-i387/s_frexpf.S: Moved to ...
5706 * sysdeps/i386/fpu/s_frexpf.S: ...here.
5707 * sysdeps/libm-i387/s_frexpl.S: Moved to ...
5708 * sysdeps/i386/fpu/s_frexpl.S: ...here.
5709 * sysdeps/libm-i387/s_ilogb.S: Moved to ...
5710 * sysdeps/i386/fpu/s_ilogb.S: ...here.
5711 * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
5712 * sysdeps/i386/fpu/s_ilogbf.S: ...here.
5713 * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
5714 * sysdeps/i386/fpu/s_ilogbl.S: ...here.
5715 * sysdeps/libm-i387/s_llrint.S: Moved to ...
5716 * sysdeps/i386/fpu/s_llrint.S: ...here.
5717 * sysdeps/libm-i387/s_llrintf.S: Moved to ...
5718 * sysdeps/i386/fpu/s_llrintf.S: ...here.
5719 * sysdeps/libm-i387/s_llrintl.S: Moved to ...
5720 * sysdeps/i386/fpu/s_llrintl.S: ...here.
5721 * sysdeps/libm-i387/s_log1p.S: Moved to ...
5722 * sysdeps/i386/fpu/s_log1p.S: ...here.
5723 * sysdeps/libm-i387/s_log1pf.S: Moved to ...
5724 * sysdeps/i386/fpu/s_log1pf.S: ...here.
5725 * sysdeps/libm-i387/s_log1pl.S: Moved to ...
5726 * sysdeps/i386/fpu/s_log1pl.S: ...here.
5727 * sysdeps/libm-i387/s_log2.S: Moved to ...
5728 * sysdeps/i386/fpu/s_log2.S: ...here.
5729 * sysdeps/libm-i387/s_log2f.S: Moved to ...
5730 * sysdeps/i386/fpu/s_log2f.S: ...here.
5731 * sysdeps/libm-i387/s_log2l.S: Moved to ...
5732 * sysdeps/i386/fpu/s_log2l.S: ...here.
5733 * sysdeps/libm-i387/s_logb.S: Moved to ...
5734 * sysdeps/i386/fpu/s_logb.S: ...here.
5735 * sysdeps/libm-i387/s_logbf.S: Moved to ...
5736 * sysdeps/i386/fpu/s_logbf.S: ...here.
5737 * sysdeps/libm-i387/s_logbl.S: Moved to ...
5738 * sysdeps/i386/fpu/s_logbl.S: ...here.
5739 * sysdeps/libm-i387/s_lrint.S: Moved to ...
5740 * sysdeps/i386/fpu/s_lrint.S: ...here.
5741 * sysdeps/libm-i387/s_lrintf.S: Moved to ...
5742 * sysdeps/i386/fpu/s_lrintf.S: ...here.
5743 * sysdeps/libm-i387/s_lrintl.S: Moved to ...
5744 * sysdeps/i386/fpu/s_lrintl.S: ...here.
5745 * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
5746 * sysdeps/i386/fpu/s_nearbyint.S: ...here.
5747 * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
5748 * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
5749 * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
5750 * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
5751 * sysdeps/libm-i387/s_remquo.S: Moved to ...
5752 * sysdeps/i386/fpu/s_remquo.S: ...here.
5753 * sysdeps/libm-i387/s_remquof.S: Moved to ...
5754 * sysdeps/i386/fpu/s_remquof.S: ...here.
5755 * sysdeps/libm-i387/s_remquol.S: Moved to ...
5756 * sysdeps/i386/fpu/s_remquol.S: ...here.
5757 * sysdeps/libm-i387/s_rint.S: Moved to ...
5758 * sysdeps/i386/fpu/s_rint.S: ...here.
5759 * sysdeps/libm-i387/s_rintf.S: Moved to ...
5760 * sysdeps/i386/fpu/s_rintf.S: ...here.
5761 * sysdeps/libm-i387/s_rintl.S: Moved to ...
5762 * sysdeps/i386/fpu/s_rintl.S: ...here.
5763 * sysdeps/libm-i387/s_scalbn.S: Moved to ...
5764 * sysdeps/i386/fpu/s_scalbn.S: ...here.
5765 * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
5766 * sysdeps/i386/fpu/s_scalbnf.S: ...here.
5767 * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
5768 * sysdeps/i386/fpu/s_scalbnl.S: ...here.
5769 * sysdeps/libm-i387/s_significand.S: Moved to ...
5770 * sysdeps/i386/fpu/s_significand.S: ...here.
5771 * sysdeps/libm-i387/s_significandf.S: Moved to ...
5772 * sysdeps/i386/fpu/s_significandf.S: ...here.
5773 * sysdeps/libm-i387/s_significandl.S: Moved to ...
5774 * sysdeps/i386/fpu/s_significandl.S: ...here.
5775 * sysdeps/libm-i387/s_sin.S: Moved to ...
5776 * sysdeps/i386/fpu/s_sin.S: ...here.
5777 * sysdeps/libm-i387/s_sincos.S: Moved to ...
5778 * sysdeps/i386/fpu/s_sincos.S: ...here.
5779 * sysdeps/libm-i387/s_sincosf.S: Moved to ...
5780 * sysdeps/i386/fpu/s_sincosf.S: ...here.
5781 * sysdeps/libm-i387/s_sincosl.S: Moved to ...
5782 * sysdeps/i386/fpu/s_sincosl.S: ...here.
5783 * sysdeps/libm-i387/s_sinf.S: Moved to ...
5784 * sysdeps/i386/fpu/s_sinf.S: ...here.
5785 * sysdeps/libm-i387/s_sinl.S: Moved to ...
5786 * sysdeps/i386/fpu/s_sinl.S: ...here.
5787 * sysdeps/libm-i387/s_tan.S: Moved to ...
5788 * sysdeps/i386/fpu/s_tan.S: ...here.
5789 * sysdeps/libm-i387/s_tanf.S: Moved to ...
5790 * sysdeps/i386/fpu/s_tanf.S: ...here.
5791 * sysdeps/libm-i387/s_tanl.S: Moved to ...
5792 * sysdeps/i386/fpu/s_tanl.S: ...here.
5793 * sysdeps/libm-i387/s_trunc.S: Moved to ...
5794 * sysdeps/i386/fpu/s_trunc.S: ...here.
5795 * sysdeps/libm-i387/s_truncf.S: Moved to ...
5796 * sysdeps/i386/fpu/s_truncf.S: ...here.
5797 * sysdeps/libm-i387/s_truncl.S: Moved to ...
5798 * sysdeps/i386/fpu/s_truncl.S: ...here.
5799 * sysdeps/libm-ieee754/k_standard.c: Moved to ...
5800 * sysdeps/ieee754/k_standard.c: ...here.
5801 * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
5802 * sysdeps/ieee754/s_lib_version.c: ...here.
5803 * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
5804 * sysdeps/ieee754/s_matherr.c: ...here.
5805 * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
5806 * sysdeps/ieee754/s_signgam.c: ...here.
5807 * sysdeps/ieee754/dbl2mpn.c: Moved to ...
5808 * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
5809 * sysdeps/ieee754/mpn2dbl.c: Moved to ...
5810 * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
5811 * sysdeps/libm-ieee754/e_acos.c: Moved to ...
5812 * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
5813 * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
5814 * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
5815 * sysdeps/libm-ieee754/e_asin.c: Moved to ...
5816 * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
5817 * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
5818 * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
5819 * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
5820 * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
5821 * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
5822 * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
5823 * sysdeps/libm-ieee754/e_exp.c: Moved to ...
5824 * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
5825 * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
5826 * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
5827 * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
5828 * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
5829 * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
5830 * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
5831 * sysdeps/libm-ieee754/e_j0.c: Moved to ...
5832 * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
5833 * sysdeps/libm-ieee754/e_j1.c: Moved to ...
5834 * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
5835 * sysdeps/libm-ieee754/e_jn.c: Moved to ...
5836 * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
5837 * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
5838 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
5839 * sysdeps/libm-ieee754/e_log.c: Moved to ...
5840 * sysdeps/ieee754/dbl-64/e_log.c: ...here.
5841 * sysdeps/libm-ieee754/e_log10.c: Moved to ...
5842 * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
5843 * sysdeps/libm-ieee754/e_pow.c: Moved to ...
5844 * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
5845 * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
5846 * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
5847 * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
5848 * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
5849 * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
5850 * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
5851 * sysdeps/libm-ieee754/k_cos.c: Moved to ...
5852 * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
5853 * sysdeps/libm-ieee754/k_sin.c: Moved to ...
5854 * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
5855 * sysdeps/libm-ieee754/k_tan.c: Moved to ...
5856 * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
5857 * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
5858 * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
5859 * sysdeps/libm-ieee754/s_atan.c: Moved to ...
5860 * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
5861 * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
5862 * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
5863 * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
5864 * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
5865 * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
5866 * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
5867 * sysdeps/libm-ieee754/s_cos.c: Moved to ...
5868 * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
5869 * sysdeps/libm-ieee754/s_erf.c: Moved to ...
5870 * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
5871 * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
5872 * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
5873 * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
5874 * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
5875 * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
5876 * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
5877 * sysdeps/libm-ieee754/s_finite.c: Moved to ...
5878 * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
5879 * sysdeps/libm-ieee754/s_floor.c: Moved to ...
5880 * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
5881 * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
5882 * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
5883 * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
5884 * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
5885 * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
5886 * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
5887 * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
5888 * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
5889 * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
5890 * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
5891 (__isnan): Comment above function says it returns 0 or 1, but it
5892 used to return 0 or -1.
5893 * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
5894 * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
5895 * sysdeps/libm-ieee754/s_llround.c: Moved to ...
5896 * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
5897 * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
5898 * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
5899 * sysdeps/libm-ieee754/s_log2.c: Moved to ...
5900 * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
5901 * sysdeps/libm-ieee754/s_logb.c: Moved to ...
5902 * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
5903 * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
5904 * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
5905 * sysdeps/libm-ieee754/s_lround.c: Moved to ...
5906 * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
5907 * sysdeps/libm-ieee754/s_modf.c: Moved to ...
5908 * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
5909 * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
5910 * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
5911 * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
5912 * sysdeps/generic/s_nextafter.c: ...here.
5913 Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
5914 * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
5915 * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
5916 * sysdeps/libm-ieee754/s_rint.c: Moved to ...
5917 * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
5918 * sysdeps/libm-ieee754/s_round.c: Moved to ...
5919 * sysdeps/ieee754/dbl-64/s_round.c: ...here.
5920 * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
5921 * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
5922 * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
5923 * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
5924 * sysdeps/libm-ieee754/s_sin.c: Moved to ...
5925 * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
5926 * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
5927 * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
5928 * sysdeps/libm-ieee754/s_tan.c: Moved to ...
5929 * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
5930 * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
5931 * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
5932 * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
5933 * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
5934 * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
5935 * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
5936 * sysdeps/libm-ieee754/w_exp.c: Moved to ...
5937 * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
5938 * sysdeps/ieee754/mpn2flt.c: Moved to ...
5939 * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
5940 * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
5941 * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
5942 * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
5943 * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
5944 * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
5945 * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
5946 * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
5947 * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
5948 * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
5949 * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
5950 * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
5951 * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
5952 * sysdeps/libm-ieee754/e_expf.c: Moved to ...
5953 * sysdeps/ieee754/flt-32/e_expf.c: ...here.
5954 * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
5955 * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
5956 * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
5957 * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
5958 * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
5959 * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
5960 * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
5961 * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
5962 * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
5963 * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
5964 * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
5965 * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
5966 * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
5967 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
5968 * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
5969 * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
5970 * sysdeps/libm-ieee754/e_logf.c: Moved to ...
5971 * sysdeps/ieee754/flt-32/e_logf.c: ...here.
5972 * sysdeps/libm-ieee754/e_powf.c: Moved to ...
5973 * sysdeps/ieee754/flt-32/e_powf.c: ...here.
5974 * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
5975 * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
5976 * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
5977 * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
5978 * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
5979 * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
5980 * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
5981 * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
5982 * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
5983 * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
5984 * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
5985 * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
5986 * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
5987 * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
5988 * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
5989 * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
5990 * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
5991 * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
5992 * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
5993 * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
5994 * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
5995 * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
5996 * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
5997 * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
5998 * sysdeps/libm-ieee754/s_erff.c: Moved to ...
5999 * sysdeps/ieee754/flt-32/s_erff.c: ...here.
6000 * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
6001 * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
6002 * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
6003 * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
6004 * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
6005 * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
6006 * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
6007 * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
6008 * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
6009 * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
6010 * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
6011 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
6012 * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
6013 * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
6014 * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
6015 * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
6016 * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
6017 * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
6018 * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
6019 * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
6020 * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
6021 * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
6022 * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
6023 * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
6024 * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
6025 * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
6026 * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
6027 * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
6028 * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
6029 * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
6030 * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
6031 * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
6032 * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
6033 * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
6034 * sysdeps/libm-ieee754/s_modff.c: Moved to ...
6035 * sysdeps/ieee754/flt-32/s_modff.c: ...here.
6036 * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
6037 * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
6038 * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
6039 * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
6040 * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
6041 * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
6042 * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
6043 * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
6044 * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
6045 * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
6046 * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
6047 * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
6048 * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
6049 * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
6050 * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
6051 * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
6052 * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
6053 * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
6054 * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
6055 * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
6056 * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
6057 * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
6058 * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
6059 * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
6060 * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
6061 * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
6062 * sysdeps/libm-ieee754/w_expf.c: Moved to ...
6063 * sysdeps/ieee754/flt-32/w_expf.c: ...here.
6064 * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
6065 * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
6066 * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
6067 * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
6068 * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
6069 * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
6070 * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
6071 * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
6072 * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
6073 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
6074 * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
6075 * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
6076 * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
6077 * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
6078 * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
6079 * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
6080 * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
6081 * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
6082 * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
6083 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
6084 * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
6085 * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
6086 * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
6087 * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
6088 * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
6089 * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
6090 * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
6091 * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
6092 * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
6093 * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
6094 * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
6095 * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
6096 * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
6097 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
6098 * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
6099 * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
6100 * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
6101 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
6102 * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
6103 * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
6104 * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
6105 * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
6106 * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
6107 * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
6108 * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
6109 * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
6110 * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
6111 * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
6112 * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
6113 * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
6114 (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
6115 INSERT_WORDS.
6116 * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
6117 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
6118 (__nearbyintl): Fix for exponents 2^30.
6119 * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
6120 * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
6121 * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
6122 * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
6123 (__rintl): Fix for exponents 2^30.
6124 * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
6125 * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
6126 * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
6127 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
6128 (__scalbnl): Fix exponent for subnormal result.
6129 * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
6130 * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
6131 * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
6132 * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
6133 * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
6134 * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
6135 * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
6136 * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
6137 * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
6138 * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
6139 * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
6140 * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
6141 * sysdeps/libm-ieee754/w_expl.c: Moved to ...
6142 * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
6143 * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
6144 * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
6145 * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
6146 * sysdeps/i386/fpu/s_scalblnf.c: ...here.
6147 * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
6148 * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
6149 * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
6150 * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
6151 * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
6152 * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
6153 * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
6154 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
6155 * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
6156 * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
6157 * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
6158 * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
6159 * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
6160 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
6161 * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
6162 * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
6163 * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
6164 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
6165 * sysdeps/libm-i387/s_scalbln.c: Moved to ...
6166 * sysdeps/i386/fpu/s_scalbln.c: ...here.
6167 * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
6168 * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
6169 * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
6170 * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
6171 * sysdeps/libm-i387/t_exp.c: Moved to ...
6172 * sysdeps/i386/fpu/t_exp.c: ...here.
6173 * sysdeps/libm-ieee754/t_exp.c: Moved to ...
6174 * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
6175 * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
6176 * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
6177 * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
6178 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
6179 * sysdeps/libm-i387/s_isinfl.c: Moved to ...
6180 * sysdeps/i386/fpu/s_isinfl.c: ...here.
6181 * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
6182 * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
6183 * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
6184 * sysdeps/i386/fpu/s_scalblnl.c: ...here.
6185 * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
6186 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
6187 Fix exponent for subnormal result.
6188 * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
6189 * sysdeps/generic/s_nexttowardl.c: ...here.
6190 * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
6191 * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
6192 * sysdeps/libm-i387/s_isnanl.c: Moved to ...
6193 * sysdeps/i386/fpu/s_isnanl.c: ...here.
6194 * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
6195 * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
6196 Comment above function says it returns 0 or 1, but it used to return
6197 0 or -1.
6198 * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
6199 * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
6200 * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
6201 * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
6202 * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
6203 * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
6204 * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
6205 * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
6206 * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
6207 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
6208 Cannot compare exponents with different biases without adjusting.
6209 * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
6210 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
6211 Cannot compare exponents with different biases without adjusting.
6212 * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
6213 * sysdeps/i386/fpu/s_nextafterl.c: ...here.
6214 * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
6215 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
6216 * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
6217 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
6218 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
6219 * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
6220 * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
6221 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
6222 * sysdeps/libm-ieee754/Dist: Split into ...
6223 * sysdeps/ieee754/dbl-64/Dist: ...this and ...
6224 * sysdeps/ieee754/flt-32/Dist: ...this file.
6225
6226 * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
6227 * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
6228 * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
6229 * sysdeps/ieee754/ldbl-96/strtold.c: New file.
6230 * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
6231 * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
6232 * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
6233 * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
6234 * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
6235 * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
6236 * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
6237 * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
6238 * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
6239 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
6240 * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
6241 * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
6242 * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
6243 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
6244 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
6245 * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
6246 * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
6247 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
6248 * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
6249 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
6250 * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
6251 * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
6252 * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
6253 * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
6254 * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
6255 * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
6256 * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
6257 * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
6258 * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
6259 * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
6260 * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
6261 * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
6262 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
6263 * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
6264 * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
6265 * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
6266 * sysdeps/ieee754/ldbl-128/strtold.c: New file.
6267 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
6268 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
6269 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
6270 * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
6271 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
6272 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
6273
6274 * sysdeps/generic/math_ldbl.h: New file.
6275 * sysdeps/generic/s_nexttowardf.c: New file.
6276 * sysdeps/generic/strtold.c: New file.
6277 * sysdeps/generic/ldbl2mpn.c: New file.
6278
6279 * math/machine/endian.h: Remove.
6280 * sysdeps/i386/fpu/Implies: Remove.
6281 * sysdeps/ieee754/Implies: Remove.
6282
6283 * math/math_private.h: Move long double macros to math_ldbl.h
6284 header.
6285
6286 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
6287
6288 * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
6289 connections without a hostname set address to localhost address.
6290
6291 1999-07-11 H.J. Lu <hjl@gnu.org>
6292
6293 * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
6294 nscd's own strong version of the get[a-z]*_r function.
6295 * nscd/hstcache.c: Likewise.
6296 * nscd/pwdcache.c: Likewise.
6297
6298 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
6299
6300 * configure.in: Recognize 2.95 as gcc version number.
6301 Patch by Joel Klecker <jk@espy.org>.
6302
6303 1999-07-12 Andreas Schwab <schwab@suse.de>
6304
6305 * elf/rtld.c (dl_main): When putting back the interpreter object
6306 handle the case where a missing object might occur in the list of
6307 objects but not in the search list when in trace mode.
6308
6309 1999-07-11 Ulrich Drepper <drepper@cygnus.com>
6310
6311 * Versions.def (libnss_hesiod): Add GLIBC_2.2.
6312 * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
6313 _nss_hesiod_initgroups.
6314
6315 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
6316
6317 * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
6318 (_hurd_set_brk, init_brk): Use that instead of &__data_start.
6319 Initialize it from &__data_start if defined, or else &_end.
6320
6321 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
6322
6323 * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
6324 for MAP_ANON, prot==PROT_READ|PROT_WRITE.
6325
6326 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
6327
6328 * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
6329
6330 1999-07-09 H.J. Lu <hjl@gnu.org>
6331
6332 * Versions.def (GLIBC_2.1.2): Added.
6333
6334 * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
6335 old one as GLIBC_2.0.
6336 * nss/getXXbyYY_r.c: Likewise.
6337
6338 * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
6339 GLIBC_2.1.2.
6340 * inet/Versions (getaliasbyname_r, getaliasent_r,
6341 gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
6342 gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
6343 getnetgrent_r, getprotobyname_r, getprotobynumber_r,
6344 getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
6345 getservbyname_r): Likewise.
6346 * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
6347 * shadow/Versions (getspent_r, getspnam_r): Likewise.
6348
6349 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
6350
6351 * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
6352 compilers.
6353 (__memset_cc): Likewise.
6354
6355 * sysdeps/generic/libc-start.c: For SUID binaries check whether
6356 the standard file descriptors are open.
6357 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
6358
6359 * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
6360 * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
6361 range of mmap. If not fail.
6362 Patches by Daniel Jacobowitz <dan@debian.org>.
6363
6364 * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
6365 before the relocation happened.
6366 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
6367
6368 * Versions.def (libnsl): Add GLIBC_2.2.
6369 * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
6370
6371 1999-07-08 Cristian Gafton <gafton@redhat.com>
6372
6373 * nis/yp_xdr.c (xdr_ypall): New function.
6374
6375 1999-07-09 Andreas Schwab <schwab@suse.de>
6376
6377 * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
6378
6379 * dlfcn/Makefile (headers): Add bits/dlfcn.h.
6380
6381 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
6382
6383 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
6384 * hesiod/hesiod-grp.c: Add initgroups support.
6385 Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
6386
6387 1999-07-08 Andreas Schwab <schwab@suse.de>
6388
6389 * libio/iofopncook.c (fopencookie): Set _fileno to -2.
6390
6391 * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
6392 negative numbers.
6393
6394 * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
6395 EOF.
6396 * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
6397
6398 1999-07-08 Andreas Schwab <schwab@suse.de>
6399
6400 * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
6401
6402 1999-07-08 Andreas Schwab <schwab@suse.de>
6403
6404 * libio/fileno.c: Return -1 instead of EOF and set errno if the
6405 stream is not a real file stream.
6406
6407 1999-07-08 Andreas Schwab <schwab@suse.de>
6408
6409 * manual/charset.texi: Fix typos.
6410
6411 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
6412
6413 * sysdeps/gnu/Makefile (libdl-routines): Add eval.
6414
6415 1999-07-06 Zack Weinberg <zack@rabi.columbia.edu>
6416
6417 * dlfcn: New directory. Move the following files from elf:
6418 dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
6419 dlopenold.c, dlsym.c, dlvsym.c.
6420 * dlfcn/Makefile: New file.
6421 * dlfcn/Versions: New file.
6422 * dlfcn/dlsym.c: All ELF-specific code split out to new
6423 function _dl_sym.
6424 * dlfcn/dlvsym.c: All ELF-specific code split out to new
6425 function _dl_vsym.
6426 * elf/dl-sym.c: New file. _dl_sym and _dl_vsym are
6427 implemented here.
6428
6429 * dlfcn/dladdr.c: Remove all references to ELF data structures
6430 or headers.
6431 * dlfcn/dlclose.c: Likewise.
6432 * dlfcn/dlerror.c: Likewise.
6433 * dlfcn/dlopen.c: Likewise.
6434 * dlfcn/dlopenold.c: Likewise.
6435
6436 * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
6437 yes, empty otherwise.
6438 (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
6439 depending on build-shared.
6440 (subdirs): Add $(dlfcn).
6441 (rpath-dirs): Add dlfcn.
6442 * elf/Makefile: Remove all references to libdl or its
6443 components, except the ones relating to the test cases.
6444 (routines): Add dl-sym.
6445 * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
6446 (libdl): Delete.
6447
6448 * elf/dl-close.c (_dl_close): Change argument to void *.
6449 * elf/dl-open.c (_dl_open): Change return type to void *.
6450 * elf/eval.c: Removed.
6451 * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
6452 _dlerror_run, _dl_open, _dl_close, _dl_addr, and
6453 _dl_mcount_wrapper_check to include/dlfcn.h. Delete
6454 _CALL_DL_FCT macro.
6455 * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
6456 Include real header from dlfcn directory.
6457 * include/ldsodefs.h: Removed.
6458
6459 * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
6460 * nss/getXXbyYY_r.c: Likewise.
6461 * nss/getXXent_r.c: Likewise.
6462 * iconv/gconv.c: Likewise. Don't include ldsodefs.h.
6463 * iconv/gconv_db.c: Likewise. Don't include ldsodefs.h.
6464 * iconv/skeleton.c: Don't include ldsodefs.h.
6465 * nss/nsswitch.h: Don't include ldsodefs.h. Include dlfcn.h.
6466
6467 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
6468
6469 * sysdeps/generic/setenv.c: Describe problem.
6470
6471 * malloc/malloc.c (request2size): Also set errno if failing.
6472
6473 * malloc/malloc.c (request2size): Take care of overflow in
6474 addition.
6475
6476 * sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd
6477 (NULL, != 0) correctly.
6478
6479 * elf/dl-load.c: Use a few more __builtin_expect.
6480
6481 * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
6482 is large enough.
6483
6484 1999-07-07 Andreas Schwab <schwab@suse.de>
6485
6486 * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
6487 (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
6488 (_PATH_DEVPTMX): Use _PATH_DEV.
6489
6490 1999-07-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6491
6492 * malloc/tst-malloc.c: New file. Tests some basic functionality.
6493 * malloc/Makefile (tests): Add tst-malloc.
6494
6495 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
6496
6497 * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
6498 convention.
6499
6500 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
6501 motherboards.
6502 Patch by Jay Estabrook.
6503
6504 * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
6505 ldd for SPARC.
6506 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
6507 Patch by Cristian Gafton.
6508
6509 1999-07-02 Cristian Gafton <gafton@redhat.com>
6510
6511 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
6512 instead of "return NULL" to make C++ happy.
6513
6514 1999-07-04 Mark Kettenis <kettenis@gnu.org>
6515
6516 * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
6517 allowed by the file access mode of the open file.
6518
6519 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
6520
6521 * sysdeps/generic/setfpucw.c: Include math.h to get all needed
6522 macros defined.
6523
6524 1999-07-03 Jakub Jelinek <jj@ultra.linux.cz>
6525
6526 * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
6527 * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
6528 * sysdeps/sparc/sparc64/rshift.S: Likewise.
6529 * sysdeps/sparc/sparc64/mul_1.S: Optimize.
6530
6531 1999-07-04 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
6532
6533 * malloc/malloc.c (request2size): Check for overflow and return
6534 NULL whenever it is encountered.
6535
6536 1999-07-04 Zack Weinberg <zack@rabi.columbia.edu>
6537
6538 * sysdeps/posix/tempname.c (__gen_tempname): Add
6539 ability to create directories. Replace OPENIT and LARGEFILE
6540 args with a single flags parameter.
6541 * sysdeps/generic/tempname.c: Likewise.
6542 * include/stdio.h: Adjust prototype of __gen_tempname to
6543 match. Define symbolic constants for second argument.
6544
6545 * misc/mkdtemp.c: New file, provides new function mkdtemp().
6546 * stdlib/stdlib.h: Prototype it.
6547 * misc/Versions: Export it.
6548 * misc/Makefile (routines): Add mktemp.
6549 * manual/filesys.texi: Document it.
6550
6551 * misc/mktemp.c: Adjust call of __gen_tempname to match new
6552 convention.
6553 * misc/mkstemp.c: Likewise.
6554 * stdio-common/tempnam.c: Likewise.
6555 * stdio-common/tmpfile.c: Likewise.
6556 * stdio-common/tmpfile64.c: Likewise.
6557 * stdio-common/tmpnam.c: Likewise.
6558 * stdio-common/tmpnam_r.c: Likewise.
6559
6560 1999-07-05 Jakub Jelinek <jj@ultra.linux.cz>
6561
6562 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
6563 R_SPARC_OLO10 relocations.
6564 * elf/elf.h (R_SPARC_OLO10): Fix comment.
6565
6566 1999-07-02 Tim Waugh <tim@cyberelk.demon.co.uk>
6567
6568 * posix/wordexp-test.c: Revert bogus 'unset IFS' change. It
6569 doesn't belong in the tests, but in the wordexp implementation.
6570
6571 * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
6572 split fields.
6573
6574 1999-07-01 Cristian Gafton <gafton@redhat.com>
6575
6576 * time/strptime.c (strptime): Initialize the tm struct first to avoid
6577 returning bogus results on incomplete data.
6578 (strptime_internal): day_of_the_week() requres both tm_mon and
6579 tm_mday to be initialized.
6580 Compute them first if they are not given.
6581 (strptime_internal): (have_mon, have_mday): New variables.
6582
6583 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6584
6585 * inet/rcmd.c (__icheckhost): Fix typo in last patch.
6586
6587 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6588
6589 * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
6590 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6591
6592 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6593
6594 * posix/wordexp.c (parse_tilde): Handle failing call to
6595 get.*_r functions correctly for non-existing entry.
6596 * sysdeps/posix/cuserid.c (cuserid): Likewise.
6597 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
6598
6599 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
6600
6601 * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
6602 getxxbyYY_r functions correctly for non-existing entry.
6603 * sunrpc/getrpcport.c: Likewise.
6604 * sunrpc/clnt_simp.c: Likewise.
6605 * inet/rexec.c: Likewise.
6606 * sunrpc/clnt_gen.c: Likewise.
6607 * inet/rcmd.c: Likewise.
6608 * sysdeps/generic/glob.c: Likewise.
6609
6610 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6611
6612 * pwd/Makefile (tests): Add rules for tst-getpw.
6613
6614 * pwd/tst-getpw.c: New program to test getpw.
6615
6616 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6617
6618 * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
6619 correctly.
6620
6621 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6622
6623 * manual/arith.texi (System V Number Conversion): Fix the
6624 description which confused pointer and value to pointer.
6625 Reported by Andries.Brouwer@cwi.nl.
6626
6627 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6628
6629 * pwd/getpw.c (__getpw): Check for NULL result pointer.
6630
6631 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6632
6633 * manual/users.texi (Lookup User): Document POSIX return
6634 semantics for getpwuid_r and getgrgid_r.
6635
6636 * manual/socket.texi (Host Names): Document that the result
6637 pointer is null in case of error or host not found and fix a
6638 typo. Give a small example.
6639
6640 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
6641
6642 * pwd/getpw.c: Add warning since no buffer size is given and
6643 therefore no overrun tests are possible.
6644
6645 1999-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6646
6647 * pwd/pwd.h: Add getpw prototype declaration.
6648
6649 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
6650
6651 * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
6652 * wcsmbs/wcschr.c: Likewise.
6653
6654 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
6655
6656 * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
6657 returns.
6658 * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
6659 * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
6660 Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
6661
6662 * elf/dl-dst.h: Fix typo.
6663 * elf/dl-open.c: Likewise.
6664
6665 1999-06-26 Zack Weinberg <zack@rabi.columbia.edu>
6666
6667 * elf/dl-libc.c: New file, provides three functions:
6668 __libc_dlopen, __libc_dlclose, __libc_dlsym.
6669 * include/dlfcn.h: Prototype them. Prototype _dl_addr.
6670 * elf/Makefile (routines): Add dl-libc.c.
6671 * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
6672 argument to void *.
6673 * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
6674
6675 * iconv/gconv.c: Include dlfcn.h.
6676 * iconv/gconv_db.c: Likewise.
6677 * malloc/mtrace.c: Likewise. Don't include ldsodefs.h.
6678
6679 * iconv/gconv_int.h (struct __gconv_loaded_object): Change
6680 `handle' to a void *.
6681 (__gconv_find_func): Delete prototype.
6682
6683 * iconv/gconv_dl.c: Don't include ldsodefs.h. Remove
6684 dlerror_run and related functions and structs. Use
6685 __libc_dlopen, __libc_dlsym, __libc_dlclose.
6686 * nss/nsswitch.c: Likewise.
6687
6688 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
6689
6690 * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
6691 function correctly.
6692
6693 * sunrpc/getrpcport.c: Test for gethostbyname_r function
6694 correctly.
6695
6696 * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
6697
6698 * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
6699 functions correctly.
6700
6701 * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
6702
6703 * inet/rcmd.c: Test for gethostbyname_r result correctly. Optimize
6704 file reading a bit.
6705
6706 * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
6707
6708 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6709
6710 * manual/string.texi (Copying and Concatenation): Mention that
6711 strndup is a GNU extension.
6712
6713 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6714
6715 * pwd/getpw.c (__getpw): Fix check for error return.
6716
6717 1999-06-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6718
6719 * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
6720 occurence of the aux object start with the current list entry, not
6721 the new one. Adjust tail pointer in the unique list. Explain how
6722 the meaning of the variables changes [PR libc/1168].
6723
6724 1999-06-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6725
6726 * sysdeps/m68k/fpu/Dist: New file.
6727
6728 1999-06-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6729
6730 * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
6731 definitions...
6732 * sysdeps/m68k/fpu/mathimpl.h: ... here. New file.
6733 * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
6734 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
6735 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
6736 * sysdeps/m68k/fpu/e_pow.c: Likewise.
6737 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
6738 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
6739 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
6740 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
6741 * sysdeps/m68k/fpu/s_csin.c: Likewise.
6742 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
6743 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
6744 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
6745 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
6746 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
6747 * sysdeps/m68k/fpu/s_modf.c: Likewise.
6748
6749 1999-06-25 Roland McGrath <roland@baalperazim.frob.com>
6750
6751 * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
6752 hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
6753 _EXTERN_INLINE, use a macro specific to each file,
6754 _HURD_FD_H_EXTERN_INLINE and the like.
6755 * hurd/Makefile (inline-headers): New variable.
6756 (routines): Remove hurdinline. Add $(inlines).
6757 (inlines): New variable.
6758 ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
6759 (generated): Append those here.
6760 * hurd/hurdinline.c: File removed.
6761
6762 * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
6763
6764 * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
6765
6766 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6767
6768 * nscd/connections.c (nscd_run): Use correct type for optlen variable.
6769
6770 1999-06-25 Ulrich Drepper <drepper@cygnus.com>
6771
6772 * string/bits/string2.h (strnlen): Remove extra prototype.
6773
6774 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6775
6776 * manual/filesys.texi (Working on Directory Trees): Fix typos.
6777 Reported by Andries.Brouwer@cwi.nl.
6778
6779 1999-06-24 Ulrich Drepper <drepper@cygnus.com>
6780
6781 * nscd/connections.c (handle_request): Use correct type for optlen
6782 variable.
6783
6784 * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
6785 * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
6786
6787 1999-06-24 Thorsten Kukuk <kukuk@suse.de>
6788
6789 * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
6790 * nscd/pwdcache.c: Likewise.
6791 * nscd/hstcache.c: Likewise.
6792
6793 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
6794
6795 * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
6796
6797 * posix/getopt.h: Include stdio.h.
6798
6799 * manual/arith.texi: Document restriction of ndigit parameter of
6800 ecvt and friends.
6801 * misc/efgcvt.c: Define NDIGIT_MAX.
6802 (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
6803 Do not dynamically allocate the static buffers. They are small enough.
6804 * misc/efgcvt_r.c: Define NDIGIT_MAX.
6805 (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
6806 * misc/qefgcvt.c: Define NDIGIT_MAX.
6807 * misc/qefgcvt_r.c: Likewise.
6808 * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
6809
6810 1999-06-23 Zack Weinberg <zack@rabi.columbia.edu>
6811
6812 * libio/stdio.h: Define stdin, stdout, stderr as macros.
6813 * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
6814 These are *pragmas* not macros.
6815 * wcsmbs/wchar.h: Fix comment.
6816
6817 * grp/grp.h: Use __foo_t_defined convention to typedef things
6818 only once.
6819 * io/sys/stat.h: Likewise.
6820 * libio/stdio.h: Likewise.
6821 * posix/unistd.h: Likewise.
6822 * posix/sys/types.h: Likewise.
6823 * posix/sys/wait.h: Likewise.
6824 * pwd/pwd.h: Likewise.
6825 * signal/signal.h: Likewise.
6826 * sysdeps/generic/stdint.h: Likewise.
6827 * sysdeps/gnu/utmpx.h: Likewise.
6828 * termios/termios.h: Likewise.
6829
6830 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
6831
6832 * stdio/fputc.c: Don't define alias if fputc is defined as a
6833 macro.
6834 * stdio/putc.c: Define weak alias here since it is not done
6835 anymore in fputc.c.
6836
6837 1999-06-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6838
6839 * assert/assert.h: Don't produce `defined' as part of macro
6840 expansion.
6841
6842 1999-06-23 Roland McGrath <roland@baalperazim.frob.com>
6843
6844 * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
6845 OFFSET argument of (off_t) -1.
6846 * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
6847 OFFSET argument of (off_t) -1.
6848
6849 * sysdeps/mach/hurd/pwrite.c: New file.
6850 * sysdeps/mach/hurd/pread.c: New file.
6851
6852 * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
6853 pass it in the RPC instead of always -1.
6854 * hurd/fd-write.c (_hurd_fd_write): Likewise.
6855 * hurd/hurd/fd.h: Update decls.
6856
6857 1999-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6858
6859 * libio/wscanf.c: Include <wchar.h> for prototype.
6860
6861 1999-06-22 Ulrich Drepper <drepper@cygnus.com>
6862
6863 * manual/io.texi. Fix typos.
6864 * manual/stdio.texi: Likewise.
6865 Patches by Brian Youmans <3diff@gnu.org>.
6866
6867 1999-06-22 Geoff Keating <geoffk@ozemail.com.au>
6868
6869 * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
6870 bits of two words differ.
6871
6872 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6873
6874 * libio/Makefile (routines): Add putwchar and putwchar_u.
6875
6876 * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
6877 * libio/putwchar_u.c: Likewise. Use _IO_stdout instead of
6878 stdout. Fix parameter name.
6879
6880 * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
6881 * libio/getchar_u.c: Likewise.
6882
6883 * libio/putchar_u.c: Use _IO_stdout instead of stdout.
6884
6885 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6886
6887 * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
6888 macro expansion---it's undefined. Properly parenthesize
6889 substituted parameters.
6890 (__GLIBC_PREREQ): Likewise.
6891
6892 1999-06-21 Ulrich Drepper <drepper@cygnus.com>
6893
6894 * Makeconfig (CPPFLAGS): Revert last change. It has too many
6895 weird effects.
6896
6897 * stdlib/longlong.h: Provide __P definition if not already
6898 defined.
6899
6900 * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
6901
6902 1999-06-18 Thorsten Kukuk <kukuk@suse.de>
6903
6904 * sysdeps/alpha/atomicity.h: Correct counting of subsections.
6905
6906 1999-06-17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6907
6908 * stdlib/tst-strtoll.c: Avoid warning about huge constant.
6909
6910 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6911
6912 * stdio-common/vfprintf.c (group_member): Make parameters and
6913 return types pointers to CHAR_T instead of UCHAR_T.
6914 (vfprintf): Change type of work_buffer, workend and string to
6915 CHAR_T pointer/array.
6916 (process_arg, process_string_arg): Adjust/remove casts. Add
6917 missing use of L_ macro.
6918 (printf_unknown): Add missing uses of L_ macro.
6919
6920 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6921
6922 * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
6923 warning.
6924
6925 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6926
6927 * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF. Call
6928 _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
6929 (__wunderflow): Likewise.
6930 (_IO_switch_to_wget_mode): Likewise.
6931 (_IO_init_wmarker): Likewise.
6932
6933 * libio/wfileops.c (_IO_wfile_seekoff): Call
6934 _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
6935 (_IO_wfile_jumps): Fix pbackfail entry.
6936
6937 * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
6938 function if the stream is currently unoriented.
6939
6940 1999-06-19 Zack Weinberg <zack@rabi.columbia.edu>
6941
6942 * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
6943 Wrap all wide stream functions with #ifdef __USE_ISOC9X. Use
6944 __gnuc_va_list in v*w(printf|scanf) prototypes.
6945
6946 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6947
6948 * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
6949 1999-03-29 to iopopen also here.
6950 Reported by Richard Braakman <dark@xs4all.nl>.
6951
6952 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6953
6954 * include/features.h: Use __GNUC_PREREQ.
6955 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
6956
6957 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6958
6959 * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
6960 Change EOF to WEOF and remove cast.
6961 (UNGETC): Remove macro.
6962 (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
6963 * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
6964 Change ISASCII to isascii and MBRLEN to mbrlen.
6965 (parse_one_spec): Compare info.spec always against wchar_t
6966 values.
6967 * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
6968 (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
6969 (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
6970
6971 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6972
6973 * libio/Makefile (shared-only-routines): Add oldiofgetpos,
6974 oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
6975 (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
6976 oldiofsetpos64 only if doing versioning.
6977
6978 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
6979
6980 * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
6981
6982 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6983
6984 * libio/libio.h: Fix last patch.
6985
6986 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
6987
6988 * libio/libio.h (_IO_putwc): Correct type of first argument.
6989 * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
6990 putwc_unlocked, putwchar_unlocked): Likewise.
6991 * libio/fputwc.c: Likewise.
6992 * libio/fputwc_unlocked.c: Likewise.
6993 * libio/putwc.c: Likewise.
6994 * libio/putwc_unlocked.c: Likewise.
6995 * libio/putwchar.c: Likewise.
6996 * libio/putwchar_unlocked.c: Likewise.
6997
6998 1999-06-19 Roland McGrath <roland@baalperazim.frob.com>
6999
7000 * sysdeps/gnu/siglist.h: File moved to ...
7001 * sysdeps/generic/siglist.h: ... here. This file should be usable for
7002 any platform, since it just associates the SIG* macros with text names
7003 and descriptions. For any signal macros do not exist on every
7004 platform, we can use #ifdef tests here and still use this single
7005 common file for all platforms.
7006 * sysdeps/generic/siglist.c: Rewrite using <siglist.h>. This file
7007 should be usable for all platforms after the binary compatibility
7008 stuff in the current sysdeps/gnu version is no longer required.
7009 * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
7010 * sysdeps/generic/make_siglist.c: File removed.
7011 * sysdeps/mach/hurd/siglist.h: Use #include_next.
7012 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
7013
7014 1999-06-16 Roland McGrath <roland@baalperazim.frob.com>
7015
7016 * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
7017 * sysdeps/gnu/siglist.c: ... here.
7018 Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
7019 Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
7020 * sysdeps/gnu/siglist.h: New file, contents from linux version.
7021 Add entry for SIGLOST protected by #ifdef.
7022 * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
7023 and define OLD_SIGLIST_SIZE_STR.
7024 * sysdeps/mach/hurd/siglist.h: New file, likewise.
7025
7026 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
7027
7028 * include/features.h: Define new macros __GNUC_PREREQ and
7029 __GLIBC_PREREQ which can be used to test the version of gcc
7030 and glibc respectively.
7031
7032 * assert/assert.h: Use __GNUC_PREREQ.
7033 * intl/libintl.h: Likewise.
7034 * math/complex.h: Likewise.
7035 * math/tgmath.h: Likewise.
7036 * misc/sys/cdefs.h: Likewise.
7037 * posix/sys/types.h: Likewise.
7038 * socket/sys/socket.h: Likewise.
7039 * string/bits/string2.h: Likewise.
7040 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
7041 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
7042
7043 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
7044
7045 * include/libintl.h: Declare _libc_intl_domainname here.
7046 Define _ and N_ here.
7047 * include/libc-symbols.h: Don't include <libintl.h>. Don't
7048 define _ and N_. Don't declare _libc_intl_domainname.
7049 * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
7050
7051 * db2/config.h: Don't include sys/stat.h or define
7052 HAVE_ST_BLKSIZE here...
7053 * db2/compat.h: ...do it here.
7054
7055 * linuxthreads/internals.h: Include bits/libc-tsd.h after all
7056 other headers.
7057 * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
7058 * iconv/iconv.c: Include stddef.h for NULL.
7059 * malloc/malloc.h: Include features.h.
7060 * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
7061
7062 * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
7063 into the generated file.
7064 * sysdeps/gnu/errlist.awk: Likewise.
7065 * sysdeps/gnu/errlist.c: Rebuilt.
7066
7067 * assert/assert-perr.c: Include libintl.h.
7068 * assert/assert.c: Likewise.
7069 * elf/dl-open.c: Likewise.
7070 * elf/dlsym.c: Likewise.
7071 * elf/dlvsym.c: Likewise.
7072 * iconv/iconv_prog.c: Likewise.
7073 * inet/rcmd.c: Likewise.
7074 * inet/ruserpass.c: Likewise.
7075 * locale/programs/charset.c: Likewise.
7076 * locale/programs/ld-collate.c: Likewise.
7077 * locale/programs/ld-ctype.c: Likewise.
7078 * locale/programs/ld-messages.c: Likewise.
7079 * locale/programs/ld-monetary.c: Likewise.
7080 * locale/programs/ld-numeric.c: Likewise.
7081 * locale/programs/ld-time.c: Likewise.
7082 * locale/programs/locfile.c: Likewise.
7083 * locale/programs/repertoire.c: Likewise.
7084 * login/programs/database.c: Likewise.
7085 * login/programs/request.c: Likewise.
7086 * malloc/mcheck.c: Likewise.
7087 * misc/error.c: Likewise.
7088 * nis/nis_call.c: Likewise.
7089 * nis/nis_callback.c: Likewise.
7090 * nis/nis_error.c: Likewise.
7091 * nis/nis_local_names.c: Likewise.
7092 * nis/nis_print.c: Likewise.
7093 * nis/nis_print_group_entry.c: Likewise.
7094 * nis/ypclnt.c: Likewise.
7095 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
7096 * nscd/cache.c: Likewise.
7097 * nscd/connections.c: Likewise.
7098 * nscd/grpcache.c: Likewise.
7099 * nscd/hstcache.c: Likewise.
7100 * nscd/nscd_conf.c: Likewise.
7101 * nscd/nscd_stat.c: Likewise.
7102 * nscd/pwdcache.c: Likewise.
7103 * posix/id.c: Likewise.
7104 * resolv/herror.c: Likewise.
7105 * stdio-common/psignal.c: Likewise.
7106 * string/strsignal.c: Likewise.
7107 * sunrpc/auth_unix.c: Likewise.
7108 * sunrpc/clnt_perr.c: Likewise.
7109 * sunrpc/clnt_raw.c: Likewise.
7110 * sunrpc/clnt_tcp.c: Likewise.
7111 * sunrpc/clnt_udp.c: Likewise.
7112 * sunrpc/clnt_unix.c: Likewise.
7113 * sunrpc/get_myaddr.c: Likewise.
7114 * sunrpc/pm_getmaps.c: Likewise.
7115 * sunrpc/pmap_clnt.c: Likewise.
7116 * sunrpc/pmap_rmt.c: Likewise.
7117 * sunrpc/rpc_main.c: Likewise.
7118 * sunrpc/rpc_scan.c: Likewise.
7119 * sunrpc/svc_run.c: Likewise.
7120 * sunrpc/svc_simple.c: Likewise.
7121 * sunrpc/svc_tcp.c: Likewise.
7122 * sunrpc/svc_udp.c: Likewise.
7123 * sunrpc/svc_unix.c: Likewise.
7124 * sunrpc/xdr_rec.c: Likewise.
7125 * sunrpc/xdr_ref.c: Likewise.
7126 * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
7127 * sysdeps/posix/gai_strerror.c: Likewise.
7128 * sysdeps/unix/siglist.c: Likewise.
7129 * sysdeps/unix/sysv/linux/siglist.c: Likewise.
7130 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
7131 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
7132 * timezone/zic.c: Likewise.
7133
7134 1999-06-18 H.J. Lu <hjl@gnu.org>
7135
7136 * localedata/Makefile (charmaps): Exclude SCCS.
7137 (locales): Likewise.
7138 (repertoiremaps): Likewise.
7139
7140 1999-06-18 Ulrich Drepper <drepper@cygnus.com>
7141
7142 * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
7143 * sysdeps/generic/bsd-setjmp.c: Likewise.
7144
7145 * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
7146
7147 * iconv/gconv_open.c: Include string.h for memset prototype.
7148
7149 * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
7150 definitions.
7151
7152 * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
7153 assignment to avoid warning on 64bit platforms.
7154
7155 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
7156
7157 * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
7158
7159 * nss/getXXbyYY_r.c: Return error code not -1.
7160 * nss/getXXent_r.c: Likewise.
7161 * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
7162 small.
7163 * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
7164 value > 0 for error.
7165 * nscd/nscd_gethst_r.c: Likewise.
7166 * nscd/nscd_getpw_r.c: Likewise.
7167
7168 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7169
7170 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
7171 disciplines.
7172
7173 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7174
7175 * nscd/nscd_nischeck.c: Fix typos.
7176
7177 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
7178
7179 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
7180 always when oact is NULL.
7181 Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
7182
7183 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7184
7185 * math/libm-test.c (jn_test): Adjust delta.
7186
7187 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7188
7189 * libio/vwprintf.c: Include <wchar.h> for prototypes.
7190 * libio/wprintf.c: Likewise.
7191
7192 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7193
7194 * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
7195 to not write beyond allocated memory.
7196 Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
7197
7198 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
7199
7200 * malloc/mtrace.c: Keep lock while printing output lines.
7201 Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
7202
7203 1999-06-16 Ulrich Drepper <drepper@cygnus.com>
7204
7205 * configure.in: Add warnings about broken code.
7206
7207 * Versions.def: Add GLIBC_2.2 for libc.
7208
7209 * iconv/gconv.h: Make header suitable for inclusion in public header
7210 by protecting all names with __.
7211 * iconv/gconv.c: Adapt for symbol name changes.
7212 * iconv/gconv.h: Likewise.
7213 * iconv/gconv_builtin.c: Likewise.
7214 * iconv/gconv_close.c: Likewise.
7215 * iconv/gconv_db.c: Likewise.
7216 * iconv/gconv_dl.c: Likewise.
7217 * iconv/gconv_int.h: Likewise.
7218 * iconv/gconv_open.c: Likewise.
7219 * iconv/gconv_simple.c: Likewise.
7220 * iconv/iconv.c: Likewise.
7221 * iconv/iconv_close.c: Likewise.
7222 * iconv/iconv_open.c: Likewise.
7223 * iconv/loop.c: Likewise.
7224 * iconv/skeleton.c: Likewise.
7225 * iconvdata/8bit-gap.c: Likewise.
7226 * iconvdata/8bit-generic.c: Likewise.
7227 * iconvdata/ansi_x3.110.c: Likewise.
7228 * iconvdata/big5.c: Likewise.
7229 * iconvdata/cns11643.h: Likewise.
7230 * iconvdata/cns11643l1.h: Likewise.
7231 * iconvdata/euc-cn.c: Likewise.
7232 * iconvdata/euc-jp.c: Likewise.
7233 * iconvdata/euc-kr.c: Likewise.
7234 * iconvdata/euc-tw.c: Likewise.
7235 * iconvdata/gb2312.h: Likewise.
7236 * iconvdata/iso-2022-jp.c: Likewise.
7237 * iconvdata/iso-2022-kr.c: Likewise.
7238 * iconvdata/iso646.c: Likewise.
7239 * iconvdata/iso8859-1.c: Likewise.
7240 * iconvdata/iso_6937-2.c: Likewise.
7241 * iconvdata/iso_6937.c: Likewise.
7242 * iconvdata/jis0201.h: Likewise.
7243 * iconvdata/jis0208.h: Likewise.
7244 * iconvdata/jis0212.h: Likewise.
7245 * iconvdata/johab.c: Likewise.
7246 * iconvdata/ksc5601.h: Likewise.
7247 * iconvdata/sjis.c: Likewise.
7248 * iconvdata/t.61.c: Likewise.
7249 * iconvdata/uhc.c: Likewise.
7250 * stdlib/mblen.c: Likewise.
7251 * stdlib/mbtowc.c: Likewise.
7252 * stdlib/wctomb.c: Likewise.
7253 * wcsmbs/btowc.c: Likewise.
7254 * wcsmbs/mbrtowc.c: Likewise.
7255 * wcsmbs/mbsnrtowcs.c: Likewise.
7256 * wcsmbs/mbsrtowcs.c: Likewise.
7257 * wcsmbs/wchar.h: Likewise.
7258 * wcsmbs/wcrtomb.c: Likewise.
7259 * wcsmbs/wcsmbsload.c: Likewise.
7260 * wcsmbs/wcsmbsload.h: Likewise.
7261 * wcsmbs/wcsnrtombs.c: Likewise.
7262 * wcsmbs/wcsrtombs.c: Likewise.
7263 * wcsmbs/wctob.c: Likewise.
7264
7265 * include/limits.h (MB_LEN_MAX): Increase to 16.
7266
7267 * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct. Define
7268 _G_iconv_t.
7269 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
7270 * include/wchar.h: Change mbstate_t to __mbstate_t.
7271
7272 * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
7273 oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
7274 getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
7275 iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
7276 putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
7277 vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
7278 and iofwide.
7279 (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
7280 * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
7281 _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
7282 fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
7283 fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
7284 getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
7285 putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
7286 vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
7287 GLIBC_2.2 for libc.
7288 * libio/libio.h: Define codecvt struct. Define _IO_wide_data.
7289 Extend _IO_file contain pointer to codecvt, widedata and mode.
7290 (_IO_getwc_unlocked): New macro.
7291 (_IO_putwc_unlocked): New macro.
7292 (_IO_fwide): New macro.
7293 * libio/libioP.h: Add new prototypes and adjust existing declarations.
7294 * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
7295 buffers based on mode.
7296 (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
7297 oriented.
7298 (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
7299 flag to be enough to signal unallocated buffer. For wide oriented
7300 stream don't make it linebuffered. Don't use _IO_do_flush, use
7301 _IO_new_do_write directly.
7302 (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
7303 (_IO_file_seek): Likewise.
7304 * libio/genops.c (_IO_least_marker): Make global.
7305 (__underflow): Orient stream if not already done.
7306 (__uflow): Likewise.
7307 (_IO_default_seekpos): Change to type _IO_off64_t.
7308 (_IO_default_seekoff): Likewise.
7309 (_IO_default_seek): Likewise.
7310 (_IO_no_init): New function. Similar to _IO_init but allows to orient
7311 in initialization.
7312 * libio/iolibio.h: Add prototype for _IO_vswprintf. Change _IO_pos_BAD
7313 to use _IO_off64_t.
7314 * libio/ftello.c: Use _IO_off_t. For now abort when use with wide
7315 char stream.
7316 * libio/ftello64.c: Likewise.
7317 * libio/ioftell.c: Likewise.
7318 * libio/iofopncook.c: Likewise.
7319 * libio/ioseekoff.c: Likewise.
7320 * libio/ioseekpos.c: Likewise.
7321 * libio/oldfileops.c: Likewise.
7322 * libio/iofgetpos.c: Store state of conversion if necessary.
7323 * libio/iofgetpos64.c: Likewise.
7324 * libio/iofsetpos.c: Restore conversion state if necessary.
7325 * libio/iofsetpos64.c: Likewise.
7326 * libio/iofdopen.c: Initialize so that stream can be wide oriented.
7327 * libio/iofopen.c: Likewise.
7328 * libio/iofopen64.c: Likewise.
7329 * libio/iopopen.c: Likewise.
7330 * libio/iovdprintf.c: Likewise.
7331 * libio/iovsprintf.c: Likewise.
7332 * libio/iovsscanf.c: Likewise.
7333 * libio/memstream.c: Likewise.
7334 * libio/obprintf.c: Likewise.
7335 * libio/iofputs.c: Orient stream if not already happened.
7336 * libio/iofputs_u.c: Likewise.
7337 * libio/iofwrite.c: Likewise.
7338 * libio/iofwrite_u.c: Likewise.
7339 * libio/ioputs.c: Likewise.
7340 * libio/iosetbuffer.c: Handle not yet oriented stream.
7341 * libio/iosetvbuf.c: Likewise.
7342 * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
7343 * libio/stdfiles.c: Likewise.
7344 * libio/strops.c (_IO_str_overflow): Correctly free buffer after
7345 failed allocation.
7346 (_IO_str_seekoff): Use _IO_off64_t.
7347 * libio/vasprintf.c: Pre-orient stream.
7348 * libio/vsnprintf.c: Likewise.
7349 * libio/fputwc.c: New file.
7350 * libio/fputwc_u.c: New file.
7351 * libio/fwprintf.c: New file.
7352 * libio/fwscanf.c: New file.
7353 * libio/getwc.c: New file.
7354 * libio/getwc_u.c: New file.
7355 * libio/getwchar.c: New file.
7356 * libio/getwchar_u.c: New file.
7357 * libio/iofgetws.c: New file.
7358 * libio/iofgetws_u.c: New file.
7359 * libio/iofputws.c: New file.
7360 * libio/iofputws_u.c: New file.
7361 * libio/iofwide.c: New file.
7362 * libio/iogetwline.c: New file.
7363 * libio/ioungetwc.c: New file.
7364 * libio/iovswscanf.c: New file.
7365 * libio/iowpadn.c: New file.
7366 * libio/oldiofgetpos.c: New file.
7367 * libio/oldiofgetpos64.c: New file.
7368 * libio/oldiofsetpos.c: New file.
7369 * libio/oldiofsetpos64.c: New file.
7370 * libio/putwc.c: New file.
7371 * libio/putwc_u.c: New file.
7372 * libio/putwchar.c: New file.
7373 * libio/putwchar_u.c: New file.
7374 * libio/swprintf.c: New file.
7375 * libio/swscanf.c: New file.
7376 * libio/tst_swprintf.c: New file.
7377 * libio/tst_swscanf.c: New file.
7378 * libio/tst_wprintf.c: New file.
7379 * libio/tst_wscanf.c: New file.
7380 * libio/tst_wscanf.input: New file.
7381 * libio/vswprintf.c: New file.
7382 * libio/vwprintf.c: New file.
7383 * libio/vwscanf.c: New file.
7384 * libio/wfiledoalloc.c: New file.
7385 * libio/wfileops.c: New file.
7386 * libio/wgenops.c: New file.
7387 * libio/wprintf.c: New file.
7388 * libio/wscanf.c: New file.
7389 * libio/wstrops.c: New file.
7390 * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
7391 vfwprintf, and vfwscanf.
7392 * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
7393 make global.
7394 * stdio-common/_itowa.c: New file.
7395 * stdio-common/_itowa.h: New file.
7396 * stdio-common/itoa-digits.c: Minimal optimization.
7397 * stdio-common/itowa-digits.c: New file.
7398 * stdio-common/printf-parse.h: Allow use in wide character context.
7399 * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
7400 * stdio-common/printf.h (printf_info): Add wide bit.
7401 * stdio-common/printf_fp.c: Determine from wide bit whether stream
7402 is wide oriented or not.
7403 * stdio-common/printf_size.c: Likewise.
7404 * sysdeps/generic/printf_fphex.c: Likewise.
7405 * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
7406 * stdio-common/vfprintf.c: Rewrite to allow use in wide character
7407 context.
7408 * stdio-common/vfscand.c: Likewise.
7409 * stdio-common/vfwprintf.c: New file.
7410 * stdio-common/vfwscanf.c: New file.
7411
7412 * time/Makefile (routines): Add wcsftime.
7413 (tests): Add tst_wcsftime.
7414 * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
7415 * time/strftime.c: Make usable as wcsftime.
7416 * time/wcsftime.c: New file.
7417 * time/tst_wcsftime.c: New file.
7418
7419 * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
7420 * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
7421 * wcsmbs/wcschrnul.c: New file.
7422 * wcsmbs/wmemcpy.c: New file.
7423 * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
7424 * wcsmbs/wmemmove.c: Likewise for wmemmove.
7425
7426 * manual/stdio.texi: Document is_char and wide element if printf_info.
7427
7428 * manual/time.texi: Document wcsftime.
7429
7430 * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
7431 __wmemmove, __wcschrnul, and __vfwscanf.
7432
7433 * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
7434 * locale/C-time.c: Adapt for above change.
7435 * locale/categories.def: Likewise.
7436 * locale/localeinfo.h: Likewise.
7437 * localedata/Makefile: Don't run tests for now.
7438
7439 * manual/errno.texi: Fix typos.
7440 * manual/memory.texi: Likewise.
7441 * manual/ctype.texi: Likewise.
7442 Patches by Brian Youmans <3diff@gnu.org>.
7443
7444 1999-06-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7445
7446 * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
7447
7448 1999-06-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7449
7450 * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
7451 word order.
7452 * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
7453 * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
7454
7455 1999-06-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7456
7457 * db2/db/db.c: Restore __nss_db_open alias.
7458 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
7459 include.
7460 * db2/os/os_rw.c (__os_write): Maintain const correctness.
7461 * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
7462
7463 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
7464
7465 * stdio-common/printf-parse.h (parse_one_spec): Don't set
7466 is_longlong if not necessary.
7467
7468 1999-06-15 H.J. Lu <hjl@gnu.org>
7469
7470 * Make-dist (sysdep_dirs): Exclude SCCS.
7471 * MakeTAGS (sysdep_dirs): Likewise.
7472
7473 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
7474
7475 * posix/regex.c (re_error_msgid): Remove extra commas.
7476
7477 1999-06-14 Geoff Keating <geoffk@ozemail.com.au>
7478
7479 * stdlib/tst-strtoll.c: New file.
7480 * stdlib/Makefile (tests): Add tst-strtoll.c
7481 * stdlib/strtol.c: It is not generally true that if
7482 (unsigned)a*(unsigned)b overflows, then the result is
7483 less than 'a'.
7484
7485 1999-06-14 Thorsten Kukuk <kukuk@suse.de>
7486
7487 * nscd/connections.c (handle_request): Only root is allowed to
7488 send GETSTAT request in non secure mode.
7489 * nscd/nscd.c: Print error message if other then root try to
7490 use getstat.
7491
7492 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7493
7494 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
7495
7496 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7497
7498 * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
7499 Closes PR libc/1164, reported by sascha@schumann.2ns.de.
7500
7501 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7502
7503 * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
7504 for character to search, to help the compiler.
7505 * sysdeps/generic/strchrnul.c: Likewise.
7506 * sysdeps/generic/memchr.c: Likewise.
7507 * sysdeps/generic/memccpy.c: Likewise.
7508 * sysdeps/generic/rawmemchr.c: Likewise. Fix comment.
7509
7510 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7511
7512 * sysdeps/m68k/memchr.S: New file.
7513 * sysdeps/m68k/rawmemchr.S: New file.
7514 * sysdeps/m68k/strchr.S: New file.
7515 * sysdeps/m68k/strchrnul.S: New file.
7516
7517 1999-06-13 Geoff Keating <geoffk@ozemail.com.au>
7518
7519 * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
7520 add `memory' clobber; optimise for constant `val'.
7521 (atomic_add): Likewise.
7522 (test_and_set): Remove `volatile'; add `memory' clobber; be more
7523 like the original `test_and_set'.
7524 (compare_and_swap): Remove `volatile'; add `memory' clobber;
7525 optimise for constant `oldval'.
7526 (always_swap): Remove `volatile'; add `memory' clobber.
7527
7528 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7529
7530 * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
7531 functions for gcc <= 2.7.x.
7532
7533 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
7534
7535 * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
7536 change.
7537
7538 1999-06-13 Ulrich Drepper <drepper@cygnus.com>
7539
7540 * db2/Makefile (distribute): Remove files which do not exist
7541 anymore.
7542
7543 * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
7544 definitions to calm down gcc.
7545
7546 * db2/db.h: Update from db 2.7.5.
7547 * db2/db_185.h: Likewise.
7548 * db2/db_int.h: Likewise.
7549 * db2/btree/bt_compare.c: Likewise.
7550 * db2/btree/bt_conv.c: Likewise.
7551 * db2/btree/bt_curadj.c: Likewise.
7552 * db2/btree/bt_cursor.c: Likewise.
7553 * db2/btree/bt_delete.c: Likewise.
7554 * db2/btree/bt_open.c: Likewise.
7555 * db2/btree/bt_page.c: Likewise.
7556 * db2/btree/bt_put.c: Likewise.
7557 * db2/btree/bt_rec.c: Likewise.
7558 * db2/btree/bt_recno.c: Likewise.
7559 * db2/btree/bt_rsearch.c: Likewise.
7560 * db2/btree/bt_search.c: Likewise.
7561 * db2/btree/bt_split.c: Likewise.
7562 * db2/btree/bt_stat.c: Likewise.
7563 * db2/btree/btree_auto.c: Likewise.
7564 * db2/common/db_appinit.c: Likewise.
7565 * db2/common/db_apprec.c: Likewise.
7566 * db2/common/db_err.c: Likewise.
7567 * db2/common/db_region.c: Likewise.
7568 * db2/common/db_salloc.c: Likewise.
7569 * db2/db/db.c: Likewise.
7570 * db2/db/db.src: Likewise.
7571 * db2/db/db_am.c: Likewise.
7572 * db2/db/db_auto.c: Likewise.
7573 * db2/db/db_dispatch.c: Likewise.
7574 * db2/db/db_dup.c: Likewise.
7575 * db2/db/db_iface.c: Likewise.
7576 * db2/db/db_join.c: Likewise.
7577 * db2/db/db_overflow.c: Likewise.
7578 * db2/db/db_pr.c: Likewise.
7579 * db2/db/db_rec.c: Likewise.
7580 * db2/db/db_ret.c: Likewise.
7581 * db2/db185/db185.c: Likewise.
7582 * db2/dbm/dbm.c: Likewise.
7583 * db2/hash/hash.c: Likewise.
7584 * db2/hash/hash_auto.c: Likewise.
7585 * db2/hash/hash_dup.c: Likewise.
7586 * db2/hash/hash_page.c: Likewise.
7587 * db2/hash/hash_rec.c: Likewise.
7588 * db2/hash/hash_stat.c: Likewise.
7589 * db2/include/btree.h: Likewise.
7590 * db2/include/btree_ext.h: Likewise.
7591 * db2/include/clib_ext.h: Likewise.
7592 * db2/include/common_ext.h: Likewise.
7593 * db2/include/db_am.h: Likewise.
7594 * db2/include/db_auto.h: Likewise.
7595 * db2/include/db_cxx.h: Likewise.
7596 * db2/include/db_ext.h: Likewise.
7597 * db2/include/db_join.h: Likewise.
7598 * db2/include/db_page.h: Likewise.
7599 * db2/include/hash.h: Likewise.
7600 * db2/include/hash_ext.h: Likewise.
7601 * db2/include/lock.h: Likewise.
7602 * db2/include/lock_ext.h: Likewise.
7603 * db2/include/log.h: Likewise.
7604 * db2/include/log_ext.h: Likewise.
7605 * db2/include/mp.h: Likewise.
7606 * db2/include/mp_ext.h: Likewise.
7607 * db2/include/os.h: Likewise.
7608 * db2/include/os_ext.h: Likewise.
7609 * db2/include/os_func.h: Likewise.
7610 * db2/include/txn.h: Likewise.
7611 * db2/include/txn_auto.h: Likewise.
7612 * db2/include/txn_ext.h: Likewise.
7613 * db2/include/xa.h: Likewise.
7614 * db2/include/xa_ext.h: Likewise.
7615 * db2/lock/lock.c: Likewise.
7616 * db2/lock/lock_conflict.c: Likewise.
7617 * db2/lock/lock_deadlock.c: Likewise.
7618 * db2/lock/lock_region.c: Likewise.
7619 * db2/lock/lock_util.c: Likewise.
7620 * db2/log/log.c: Likewise.
7621 * db2/log/log_archive.c: Likewise.
7622 * db2/log/log_auto.c: Likewise.
7623 * db2/log/log_findckp.c: Likewise.
7624 * db2/log/log_get.c: Likewise.
7625 * db2/log/log_put.c: Likewise.
7626 * db2/log/log_rec.c: Likewise.
7627 * db2/log/log_register.c: Likewise.
7628 * db2/mp/mp_bh.c: Likewise.
7629 * db2/mp/mp_fget.c: Likewise.
7630 * db2/mp/mp_fopen.c: Likewise.
7631 * db2/mp/mp_fput.c: Likewise.
7632 * db2/mp/mp_fset.c: Likewise.
7633 * db2/mp/mp_open.c: Likewise.
7634 * db2/mp/mp_pr.c: Likewise.
7635 * db2/mp/mp_region.c: Likewise.
7636 * db2/mp/mp_sync.c: Likewise.
7637 * db2/mutex/mutex.c: Likewise.
7638 * db2/mutex/uts4_cc.s: Likewise.
7639 * db2/os/os_abs.c: Likewise.
7640 * db2/os/os_alloc.c: Likewise.
7641 * db2/os/os_config.c: Likewise.
7642 * db2/os/os_dir.c: Likewise.
7643 * db2/os/os_fid.c: Likewise.
7644 * db2/os/os_fsync.c: Likewise.
7645 * db2/os/os_map.c: Likewise.
7646 * db2/os/os_oflags.c: Likewise.
7647 * db2/os/os_open.c: Likewise.
7648 * db2/os/os_rw.c: Likewise.
7649 * db2/os/os_seek.c: Likewise.
7650 * db2/os/os_sleep.c: Likewise.
7651 * db2/os/os_spin.c: Likewise.
7652 * db2/os/os_stat.c: Likewise.
7653 * db2/os/os_tmpdir.c: Likewise.
7654 * db2/os/os_unlink.c: Likewise.
7655 * db2/progs/db_archive/db_archive.c: Likewise.
7656 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
7657 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
7658 * db2/progs/db_dump/db_dump.c: Likewise.
7659 * db2/progs/db_load/db_load.c: Likewise.
7660 * db2/progs/db_printlog/README: Likewise.
7661 * db2/progs/db_printlog/commit.awk: Likewise.
7662 * db2/progs/db_printlog/count.awk: Likewise.
7663 * db2/progs/db_printlog/db_printlog.c: Likewise.
7664 * db2/progs/db_printlog/pgno.awk: Likewise.
7665 * db2/progs/db_printlog/range.awk: Likewise.
7666 * db2/progs/db_printlog/status.awk: Likewise.
7667 * db2/progs/db_printlog/txn.awk: Likewise.
7668 * db2/progs/db_recover/db_recover.c: Likewise.
7669 * db2/progs/db_stat/db_stat.c: Likewise.
7670 * db2/txn/txn.c: Likewise.
7671 * db2/txn/txn.src: Likewise.
7672 * db2/txn/txn_auto.c: Likewise.
7673 * db2/txn/txn_rec.c: Likewise.
7674 * db2/xa/xa.c: Likewise.
7675 * db2/xa/xa_db.c: Likewise.
7676 * db2/xa/xa_map.c: Likewise.
7677
7678 * db2/btree/bt_close.c: Removed.
7679 * db2/db/db_thread.c: Likewise.
7680 * db2/hash/hash_debug.c: Likewise.
7681 * db2/include/db.h.src: Likewise.
7682 * db2/include/db_int.h.src: Likewise.
7683 * db2/include/os_jump.h: Likewise.
7684 * db2/mutex/alpha.dec: Likewise.
7685 * db2/mutex/alpha.gcc: Likewise.
7686 * db2/mutex/parisc.hp: Likewise.
7687 * db2/mutex/uts4.cc.s: Likewise.
7688
7689 * db2/Makefile: Add new routines, remove old for 2.7.5.
7690 * db2/Versions: Add internal function names for the helper programs.
7691 * db2/makedb.c: Update for new cursor callback.
7692 * Versions.def: Define versions for libdb.
7693
7694 1999-06-13 Thorsten Kukuk <kukuk@suse.de>
7695
7696 * nscd/connections.c (nscd_run): Get user ID for all non-db services.
7697 * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
7698 * nscd/nscd_nischeck.c: New file.
7699 * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
7700
7701 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7702
7703 * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
7704 MSG_* flags from Linux 2.2.9.
7705
7706 1999-06-12 Mark Kettenis <kettenis@gnu.org>
7707
7708 * Makeconfig (static-start-installed-name): Set to
7709 $(start-installed-name) if not defined.
7710 (+link-static): Use $(static-start-installed-name) instead of
7711 $(start-installed-name).
7712 * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
7713 Set to crt0.o.
7714
7715 1999-06-12 Mark Kettenis <kettenis@gnu.org>
7716
7717 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
7718 inserting a send right into the child instead of unconditionally
7719 copying the send right.
7720
7721 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
7722
7723 * locale/lc-time.c: Add free_mem function to free if necessary
7724 statically allocated memory.
7725
7726 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
7727
7728 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
7729 bias from the raw exponent.
7730
7731 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
7732
7733 * inet/arpa/tftp.h: Move attribute declaration in right position.
7734
7735 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
7736
7737 * nscd/nscd.c: Add -S options for separate caching of data for
7738 every user. So one user couldn't see the data another user
7739 has gotten with his credentials.
7740 * nscd/nscd.h: Add new prototypes.
7741 * nscd/cache.c: Compare owner of cache entry if in secure mode.
7742 * nscd/connections.c: Check on shutdown if caller really was root.
7743 In secure mode get uid of caller.
7744 * nscd/grpcache.c: Add support for new secure group mode.
7745 * nscd/hstcache.c: Add support for new secure hosts mode.
7746 * nscd/pwdcache.c: Add support for new secure passwd mode.
7747
7748 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
7749
7750 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
7751 of user-provided buffer.
7752
7753 1999-06-11 Mark Kettenis <kettenis@gnu.org>
7754
7755 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
7756 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
7757
7758 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
7759
7760 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
7761 and A format.
7762
7763 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
7764 returning after last entry.
7765 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
7766
7767 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
7768
7769 * misc/sysexits.h: Remove advertising clause of copyright.
7770 * resolv/getnetnamadr.c: Likewise.
7771 * sysdeps/vax/bcopy.s: Likewise.
7772 * sysdeps/vax/bzero.s: Likewise.
7773 * sysdeps/vax/ffs.s: Likewise.
7774 * sysdeps/vax/memchr.s: Likewise.
7775 * sysdeps/vax/memcmp.s: Likewise.
7776 * sysdeps/vax/memmove.s: Likewise.
7777 * sysdeps/vax/memset.s: Likewise.
7778 * sysdeps/vax/strcat.s: Likewise.
7779 * sysdeps/vax/strchr.s: Likewise.
7780 * sysdeps/vax/strcmp.s: Likewise.
7781 * sysdeps/vax/strcpy.s: Likewise.
7782 * sysdeps/vax/strcspn.s: Likewise.
7783 * sysdeps/vax/strlen.s: Likewise.
7784 * sysdeps/vax/strncat.s: Likewise.
7785 * sysdeps/vax/strncmp.s: Likewise.
7786 * sysdeps/vax/strncpy.s: Likewise.
7787 * sysdeps/vax/strpbrk.s: Likewise.
7788 * sysdeps/vax/strrchr.s: Likewise.
7789 * sysdeps/vax/strsep.s: Likewise.
7790 * sysdeps/vax/strspn.s: Likewise.
7791 * sysdeps/vax/strstr.s: Likewise.
7792
7793 * libio/iofopncook.c: Adjust for renaming of structure elements.
7794 * libio/libio.h: Define cookie functions with all the names.
7795
7796 * pwd/fgetpwent_r.c: Set errno in the correct way.
7797 * shadow/fgetspent_r.c: Likewise.
7798 * pwd/fgetpwent.c: Handle long lines correctly. Little
7799 optimizations. Free static buffer when debugging memory handling.
7800 * shadow/fgetspent.c: Likewise.
7801
7802 * grp/fgetgrent.c: Little optimization in loop.
7803
7804 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7805
7806 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
7807 in a different way.
7808
7809 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
7810
7811 * stdlib/longlong.h: gas changed sethi handling when without
7812 %hi(). Fix assembly.
7813 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
7814 port specific cache id checks.
7815 * sysdeps/generic/dl-cache.h: New file.
7816 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
7817
7818 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
7819
7820 * gmon/gmon.c: Remove advertising clause of copyright.
7821 * gmon/mcount.c: Likewise.
7822 * gmon/sys/gmon.h: Likewise.
7823 * inet/arpa/ftp.h: Likewise.
7824 * inet/arpa/telnet.h: Likewise.
7825 * inet/arpa/tftp.h: Likewise.
7826 * inet/inet_lnaof.c: Likewise.
7827 * inet/inet_mkadr.c: Likewise.
7828 * inet/inet_net.c: Likewise.
7829 * inet/inet_netof.c: Likewise.
7830 * inet/protocols/routed.h: Likewise.
7831 * inet/protocols/rwhod.h: Likewise.
7832 * inet/protocols/talkd.h: Likewise.
7833 * inet/protocols/timed.h: Likewise.
7834 * inet/rcmd.c: Likewise.
7835 * inet/rexec.c: Likewise.
7836 * inet/ruserpass.c: Likewise.
7837 * io/fts.c: Likewise.
7838 * io/fts.h: Likewise.
7839 * login/login_tty.c: Likewise.
7840 * misc/fstab.h: Likewise.
7841 * misc/getttyent.c: Likewise.
7842 * misc/getusershell.c: Likewise.
7843 * misc/sys/queue.h: Likewise.
7844 * misc/sys/syslog.h: Likewise.
7845 * misc/syslog.c: Likewise.
7846 * misc/ttyent.h: Likewise.
7847 * misc/ttyslot.c: Likewise.
7848 * resolv/arpa/nameser.h: Likewise.
7849 * resolv/gethnamaddr.c: Likewise.
7850 * resolv/herror.c: Likewise.
7851 * resolv/inet_addr.c: Likewise.
7852 * resolv/mapv4v6addr.h: Likewise.
7853 * resolv/mapv4v6hostent.h: Likewise.
7854 * resolv/nss_dns/dns-host.c: Likewise.
7855 * resolv/nss_dns/dns-network.c: Likewise.
7856 * resolv/res_comp.c: Likewise.
7857 * resolv/res_data.c: Likewise.
7858 * resolv/res_debug.c: Likewise.
7859 * resolv/res_init.c: Likewise.
7860 * resolv/res_mkquery.c: Likewise.
7861 * resolv/res_query.c: Likewise.
7862 * resolv/res_send.c: Likewise.
7863 * resolv/resolv.h: Likewise.
7864 * sysdeps/generic/div.c: Likewise.
7865 * sysdeps/generic/netinet/ip.h: Likewise.
7866 * sysdeps/generic/netinet/tcp.h: Likewise.
7867 * sysdeps/generic/paths.h: Likewise.
7868 * sysdeps/generic/prof-freq.c: Likewise.
7869 * sysdeps/generic/sys/ttydefaults.h: Likewise.
7870 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7871 * sysdeps/gnu/netinet/tcp.h: Likewise.
7872 * sysdeps/ieee754/support.c: Likewise.
7873 * sysdeps/mach/hurd/sys/param.h: Likewise.
7874 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
7875 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7876 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
7877 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7878 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
7879 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
7880 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
7881 * sysdeps/unix/sysv/linux/paths.h: Likewise.
7882 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
7883 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
7884 * sysdeps/vax/DEFS.h: Likewise.
7885 * termios/sys/ttychars.h: Likewise.
7886 * misc/daemon.c: Likewise. Call fork.
7887
7888 * grp/fgetgrent.c (buffer): Make file local variable.
7889 (free_mem): New function. Call for malloc debugging.
7890
7891 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
7892
7893 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7894
7895 * grp/Makefile: Add rules for tst_fgetgrent.
7896
7897 * grp/tst_fgetgrent.c: Rewritten to read only one file.
7898
7899 * grp/tst_fgetgrent.sh: New file.
7900
7901 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
7902
7903 * grp/Makefile (tests): Add tst_fgetgrent.
7904 * grp/tst_fgetgrent.c: New file.
7905 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
7906
7907 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
7908
7909 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
7910 be POSIX compliant. Prior definition was broken for Hurd.
7911 Reported by Mark Kettenis <kettenis@gnu.org>.
7912
7913 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
7914
7915 * ctype/ctype.h: Protect __tobody code by __extension__.
7916
7917 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
7918
7919 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
7920 reading and reset in case the buffer was too small.
7921
7922 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
7923 of EOF.
7924
7925 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7926
7927 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
7928 another SIOGIFNAME typo.
7929
7930 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
7931
7932 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
7933
7934 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
7935 bit.
7936
7937 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7938
7939 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
7940 the precision if the mantissa is zero.
7941
7942 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7943
7944 * manual/lang.texi (Floating Point Parameters): GCC already
7945 supports long double for a long time.
7946
7947 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7948
7949 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
7950 yn_test): Increase some epsilons.
7951
7952 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
7953
7954 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
7955 parameters.
7956
7957 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
7958
7959 * sysdeps/unix/sysv/linux/kernel-features.h: Define
7960 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
7961 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
7962 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
7963
7964 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
7965 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
7966 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
7967 * sysdeps/libm-ieee754/w_j1.c: Likewise.
7968 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
7969 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
7970 * sysdeps/libm-ieee754/w_jn.c: Likewise.
7971 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
7972 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
7973
7974 * stdio-common/vfprintf.c: Correct typos.
7975
7976 * math/libm-test.c (jn_test): Adjust delta.
7977 (y1_test): Likewise.
7978 (yn_test): Likewise.
7979
7980 * elf/do-lookup.h: It should never happen that if we expect a versioned
7981 symbol from a file the file has no version table. This should have
7982 been checked in dl-version.c.
7983 * elf/dl-lookup.c: Include assert.h.
7984
7985 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
7986 function handling.
7987
7988 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
7989
7990 1999-06-06 Andi Kleen <ak@muc.de>
7991
7992 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
7993 SA_RESTORER flag.
7994
7995 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7996
7997 * math/libm-test.c (yn_test): Change one delta.
7998 (jn_test): Likewise.
7999 (j1_test): Likewise.
8000 (y0_test): Likewise.
8001
8002 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
8003
8004 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
8005 avoid multiple calls to getpagesize() which might be a syscall.
8006
8007 1999-06-06 Philip Blundell <philb@gnu.org>
8008
8009 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
8010
8011 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8012
8013 * manual/install.texi (Running make install): Correct typo in
8014 dynamic linker invocation.
8015
8016 1999-06-05 Philip Blundell <philb@gnu.org>
8017
8018 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
8019 problems with GOT addressing.
8020
8021 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
8022
8023 * malloc/malloc.c (check_action): Change into bitmap so that both
8024 diagnostic and abort can be requested by setting it to 3.
8025 (mALLOC_SET_STATe): Disable malloc checking if necessary.
8026
8027 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
8028
8029 * configure.in: Few changes for HPUX.
8030
8031 * scripts/config.guess: Update from latest version.
8032 * scripts/config.sub: Likewise.
8033
8034 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8035
8036 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
8037 map files. Closes PR libc/1147.
8038
8039 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8040
8041 * math/libm-test.c (main): Add new test functions.
8042 (jn_test): New tests.
8043 (j1_test): Add some more tests.
8044 (j0_test): Add some more tests.
8045 (y0_test): Add some more tests.
8046 (y1_test): Add some more tests.
8047
8048 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8049
8050 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
8051 Patch by mhagger@dera.gov.uk [PR libc/1145].
8052
8053 * math/libm-test.c (y1_test): New tests.
8054 (y0_test): Likewise.
8055 (j1_test): Likewise.
8056 (j0_test): Likewise.
8057 (main): Added new tests.
8058
8059 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
8060
8061 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
8062 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
8063 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
8064 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
8065 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
8066 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
8067
8068 1999-06-02 David S. Miller <davem@redhat.com>
8069
8070 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
8071 pointers properly.
8072
8073 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
8074
8075 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
8076 and elide compatibility code if possible.
8077
8078 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
8079
8080 * manual/llio.texi: Remove menu entry for removed section.
8081
8082 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8083
8084 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
8085 variables.
8086
8087 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8088
8089 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
8090 (from Linux 2.3.4).
8091
8092 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
8093
8094 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
8095
8096 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8097
8098 * manual/stdio.texi: Fix some typos.
8099
8100 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8101
8102 * malloc/malloc.h: Properly handle future GCC versions.
8103
8104 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8105
8106 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
8107 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
8108 text of error message.
8109
8110 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
8111
8112 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
8113
8114 * manual/filesys.texi: Extend (f)truncate documentation.
8115 * manual/llio.texi: Remove duplicate (f)truncate definition.
8116
8117 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8118
8119 * manual/stdio.texi (Formatted Output Functions): Mention
8120 semantics of snprintf in glibc 2.0.
8121 Reported by Ben Pfaff <pfaffben@msu.edu>.
8122
8123 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
8124
8125 * include/features.h (__GLIBC_MINOR__): Bump to 2.
8126
8127 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
8128
8129 * math/libm-test.c: Adjust a few more deltas for the poor ARM
8130 FPU emulator.
8131
8132 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8133
8134 * configure.in: Fix typo.
8135
8136 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8137
8138 * manual/socket.texi (Host Names): Remove statement that h_errno
8139 needs to be declared since this isn't true anymore.
8140 Closes PR libc/1138.
8141
8142 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
8143
8144 * config.h.in: Add __LINUX_KERNEL_VERSION.
8145 * configure.in: Recognize --enable-kernel.
8146 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
8147 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
8148 appropriately.
8149 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
8150 given perform runtime test.
8151
8152 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
8153 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
8154 minimal supported kernel is known to have the feature.
8155 * sysdeps/unix/sysv/linux/poll.c: Likewise.
8156 * sysdeps/unix/sysv/linux/pread.c: Likewise.
8157 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8158 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8159 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8160 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
8161 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8162 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8163 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8164 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8165 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8166 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
8167 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
8168 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
8169 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
8170
8171 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
8172
8173 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
8174
8175 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
8176
8177 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
8178
8179 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
8180 Optimized sparc64 routines.
8181
8182 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
8183
8184 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
8185 they are the same as ints.
8186 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
8187
8188 * version.h (VERSION): Bump to 2.1.90.
8189 (RELEASE): Mark as development.
8190
8191 * stdio-common/vfprintf.c (vfprintf): Don't implement special
8192 handling for long long if it is the same as long.
8193 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
8194
8195 * stdlib/strtol.c: Moved to ...
8196 * sysdeps/generic/strtol.c: ...here.
8197 * stdlib/strtoul.c: Moved to ...
8198 * sysdeps/generic/strtoul.c: ...here.
8199 * stdlib/strtoll.c: Moved to ...
8200 * sysdeps/generic/strtoll.c: ...here.
8201 * stdlib/strtoull.c: Moved to ...
8202 * sysdeps/generic/strtoull.c: ...here.
8203 * stdlib/strtol_l.c: Moved to ...
8204 * sysdeps/generic/strtol_l.c: ...here.
8205 * stdlib/strtoul_l.c: Moved to ...
8206 * sysdeps/generic/strtoul_l.c: ...here.
8207 * stdlib/strtoll_l.c: Moved to ...
8208 * sysdeps/generic/strtoll_l.c: ...here.
8209 * stdlib/strtoull_l.c: Moved to ...
8210 * sysdeps/generic/strtoull_l.c: ...here.
8211
8212 * sysdeps/wordsize-64/strtol.c: New file.
8213 * sysdeps/wordsize-64/strtoul.c: New file.
8214 * sysdeps/wordsize-64/strtoll.c: New file.
8215 * sysdeps/wordsize-64/strtoull.c: New file.
8216 * sysdeps/wordsize-64/strtol_l.c: New file.
8217 * sysdeps/wordsize-64/strtoul_l.c: New file.
8218 * sysdeps/wordsize-64/strtoll_l.c: New file.
8219 * sysdeps/wordsize-64/strtoull_l.c: New file.
8220
8221 * wcsmbs/wcstol.c: Moved to ...
8222 * sysdeps/generic/wcstol.c: ...here.
8223 * wcsmbs/wcstoul.c: Moved to ...
8224 * sysdeps/generic/wcstoul.c: ...here.
8225 * wcsmbs/wcstoll.c: Moved to ...
8226 * sysdeps/generic/wcstoll.c: ...here.
8227 * wcsmbs/wcstoull.c: Moved to ...
8228 * sysdeps/generic/wcstoull.c: ...here.
8229 * wcsmbs/wcstol_l.c: Moved to ...
8230 * sysdeps/generic/wcstol_l.c: ...here.
8231 * wcsmbs/wcstoul_l.c: Moved to ...
8232 * sysdeps/generic/wcstoul_l.c: ...here.
8233 * wcsmbs/wcstoll_l.c: Moved to ...
8234 * sysdeps/generic/wcstoll_l.c: ...here.
8235 * wcsmbs/wcstoull_l.c: Moved to ...
8236 * sysdeps/generic/wcstoull_l.c: ...here.
8237
8238 * sysdeps/wordsize-64/wcstol.c: New file.
8239 * sysdeps/wordsize-64/wcstoul.c: New file.
8240 * sysdeps/wordsize-64/wcstoll.c: New file.
8241 * sysdeps/wordsize-64/wcstoull.c: New file.
8242 * sysdeps/wordsize-64/wcstol_l.c: New file.
8243 * sysdeps/wordsize-64/wcstoul_l.c: New file.
8244 * sysdeps/wordsize-64/wcstoll_l.c: New file.
8245 * sysdeps/wordsize-64/wcstoull_l.c: New file.
8246
8247 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
8248
8249 * sysdeps/sparc/bits/wordsize.h: New file.
8250 * sysdeps/sparc/fpu/bits/fenv.h: New file.
8251 * sysdeps/sparc/fpu/fpu_control.h: New file.
8252 * sysdeps/sparc/gmp-mparam.h: New file.
8253
8254 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
8255 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
8256 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
8257 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
8258 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
8259 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
8260
8261 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
8262 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
8263 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
8264 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
8265
8266 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
8267 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
8268 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
8269 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
8270 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
8271
8272 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
8273
8274 * login/openpty.c (openpty): Make sure pty does not because
8275 controlling TTY.
8276
8277 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
8278
8279 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
8280
8281 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
8282 Do proper error return.
8283
8284 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8285
8286 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
8287 of __P in the rest of glibc; define __MALLOC_PMT and use it.
8288 Reported by Stephan Kulow <coolo@kde.org>.
8289
8290 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
8291
8292 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
8293
8294 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
8295
8296 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8297
8298 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
8299 names to protect from user's macro namespace.
8300 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
8301 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
8302 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
8303 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
8304 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
8305 Adapted.
8306 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
8307 sysdeps/arm/fpu/fesetenv.c: Likewise.
8308 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
8309 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
8310 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
8311 * sysdeps/mips/fesetenv.c: Likewise.
8312
8313 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
8314
8315 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
8316
8317 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
8318
8319 * configure.in: Recognize and allow gcc 2.95.
8320
8321 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
8322
8323 * sysdeps/generic/bits/elfclass.h: Version common to
8324 wordsize-32 and wordsize-64.
8325 * sysdeps/generic/bits/environments.h: Ditto.
8326 * sysdeps/generic/stdint.h: Ditto.
8327 * sysdeps/generic/inttypes.h: Ditto.
8328
8329 * sysdeps/generic/bits/wordsize.h: New file.
8330 * stdlib/Makefile: Add bits/wordsize.h to headers.
8331
8332 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
8333
8334 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
8335 headers to be used for 32bit and 64bit ABI compilations.
8336 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
8337 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
8338 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
8339 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
8340 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
8341
8342 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
8343 * sysdeps/wordsize-64/bits/environments.h: Remove.
8344 * sysdeps/wordsize-64/stdint.h: Remove.
8345 * sysdeps/wordsize-64/inttypes.h: Remove.
8346 * sysdeps/wordsize-64/bits/wordsize.h: New file.
8347
8348 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
8349 * sysdeps/wordsize-32/bits/environments.h: Remove.
8350 * sysdeps/wordsize-32/stdint.h: Remove.
8351 * sysdeps/wordsize-32/inttypes.h: Remove.
8352 * sysdeps/wordsize-32/bits/wordsize.h: New file.
8353
8354 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
8355
8356 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
8357 __align_cpy_16): New functions.
8358 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
8359
8360 * sysdeps/sparc/sparc32/Versions: New file.
8361 * sysdeps/sparc/sparc64/Versions: New file.
8362 * sysdeps/sparc/Versions: Remove.
8363
8364 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
8365
8366 * sysdeps/unix/sysv/linux/configure.in:
8367 On sparc64-*-linux*, set slibdir to /lib64 if prefix
8368 is /usr, plus set libdir to ${exec_prefix}/lib64.
8369 * sysdeps/unix/sysv/linux/configure: Regenerated.
8370 * config.make.in: Propagate libdir settings from configure
8371 to the Makefiles.
8372 * shlib-versions: sparc64-*-linux* dynamic linker is
8373 /lib64/ld-linux.so.2.
8374
8375 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
8376
8377 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
8378 RPC connection.
8379
8380 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
8381
8382 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
8383 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
8384
8385 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
8386 contains garbage in bits 8-63.
8387 * sysdeps/sparc/sparc64/memset.S: Ditto.
8388 * sysdeps/sparc/sparc64/strchr.S: Ditto.
8389
8390 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
8391
8392 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
8393
8394 1999-05-17 David S. Miller <davem@redhat.com>
8395
8396 * sysdeps/sparc/sparc32/atomicity.h: New file.
8397 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
8398 * sysdeps/sparc/sparc64/atomicity.h: New file.
8399 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
8400 sysdep-CFLAGS.
8401
8402 1999-05-18 Richard Henderson <rth@twiddle.net>
8403
8404 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
8405
8406 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
8407
8408 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
8409 posix/sys/types.h: Handle the case of __GNUC__=3,
8410 __GNUC_MINOR__=(anything).
8411
8412 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8413
8414 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
8415 if _FORCE_INLINES.
8416
8417 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
8418
8419 * elf/Makefile (distribute): Remove dl-origin.h.
8420 Add dl-dst.h and gen-trusted-dirs.awk.
8421
8422 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8423
8424 * sysdeps/i386/i486/Versions: New file with inline functions from
8425 sysdeps/i386/i486/bits/string.h for now.
8426
8427 * sysdeps/i386/Versions: Add inline functions from
8428 sysdeps/i386/bits/string.h.
8429
8430 * string/Versions: Add inline functions from <bits/string2.h>.
8431
8432 * string/Makefile (routines): Add string-inlines.
8433 * string/string-inlines.c: New file, used for implementation of
8434 extern inline functions.
8435
8436 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
8437 non inlined versions of functions.
8438 * string/bits/string2.h: Likewise.
8439 * sysdeps/i386/bits/string.h: Likewise.
8440
8441 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
8442
8443 * inet/arpa/tftp.h: Add second packed attribute.
8444
8445 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
8446
8447 * malloc/malloc.c: Cleanup to bring in line with released
8448 stand-alone version `ptmalloc'. Update some comments.
8449 (internal_function): Move fallback definition so that the source
8450 compiles outside of libc, and use it in more places.
8451 (malloc_atfork): Fix when malloc_check is in use.
8452
8453 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8454
8455 * stdlib/tst-strtod.c: Fix typo.
8456
8457 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8458
8459 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
8460 const incorrectness.
8461
8462 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
8463
8464 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
8465
8466 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
8467
8468 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
8469 * sunrpc/key_call.c: Fix memory leak, close file handle.
8470 * nis/nis_creategroup.c: Use malloc instead of calloc,
8471 set ctime and mtime.
8472 * nis/nis_subr.c: Check for realloc result.
8473 * nis/nis_file.c: Fix memory leak.
8474 * nis/nis_table.c: Pretty print.
8475 * nis/nis_getservlist.c: Likewise.
8476 * nis/nis_ismember.c: Likewise.
8477 * nis/nis_lookup.c: Likewise.
8478 * nis/nis_ping.c: Likewise.
8479 * nis/nis_removemember.c: Likewise.
8480 * nis/nis_util.c: Likewise, check calloc result.
8481
8482 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
8483
8484 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
8485 * sysdeps/generic/sys/socketvar.h: ... here.
8486 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
8487 * sysdeps/generic/netinet/in_systm.h: ... here.
8488 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
8489 sys/socketvar.h.
8490 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
8491 * inet/Makefile (headers): Add netinet/in_systm.h here.
8492 * socket/Makefile (headers): Add sys/socketvar.h here.
8493
8494 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
8495
8496 * stdlib/strtol.c: Optimize inner loop of long long versions.
8497
8498 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
8499 Unix98. Add forward declaration of struct utmp.
8500
8501 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
8502
8503 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
8504 calloc.
8505
8506 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
8507 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
8508 memory allocation results.
8509
8510 1999-05-14 Mark Kettenis <kettenis@gnu.org>
8511
8512 * sysdeps/generic/getutmp.c: Include <string.h>
8513 (getutmp): Rewrite to only copy those members that are really
8514 present in `struct utmp'.
8515 * sysdeps/generic/getutmpx.c: Likewise.
8516
8517 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
8518
8519 * nss/getXXbyYY.c: Add free_mem function which disposes all
8520 statically allocated memory when debugging.
8521 * nss/getXXent.c: Likewise.
8522 * nss/nsswitch.c: Likewise.
8523
8524 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
8525
8526 * sysdeps/gnu/getutmpx.c: New file.
8527 * sysdeps/gnu/getutmp.c: New file.
8528
8529 1999-05-13 H.J. Lu <hjl@gnu.org>
8530
8531 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
8532 (getutmp): Likewise.
8533
8534 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
8535 getutmpx for login.
8536
8537 * sysdeps/gnu/utmpx.h (getutmp): Added.
8538 (getutmpx): Likewise.
8539
8540 * sysdeps/generic/getutmp.c: New file.
8541
8542 * sysdeps/generic/getutmpx.c: New file.
8543
8544 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8545
8546 * glibcbug.in (BUGGLIBC): Change address to
8547 libc-alpha@sourceware.cygnus.com.
8548
8549 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8550
8551 * resolv/arpa/nameser.h: Add C++ protectors.
8552
8553 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8554
8555 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
8556 Elad Tsur <eladts@post.tau.ac.il>.
8557
8558 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
8559
8560 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
8561 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
8562 lazily if LD_BIND_NOW is not set.
8563 * elf/dl-support.c (_dl_lazy): New variable.
8564 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
8565 * elf/rtld.c (_dl_lazy): new global variable.
8566 ( dl_main): Remove lazy, replace it by _dl_lazy.
8567
8568 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8569
8570 * locale/setlocale.c (new_composite_name): Check also whether the
8571 first category name differs.
8572
8573 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8574
8575 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
8576 the generic one.
8577
8578 1999-05-11 Philip Blundell <pb@nexus.co.uk>
8579
8580 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
8581 structure; storage suitable for any socket address.
8582 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
8583 Likewise.
8584 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
8585 sockaddr_storage): Likewise.
8586
8587 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
8588 platform.
8589
8590 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
8591
8592 * hesiod/Versions: Change _nss_hesiod_getpwuid and
8593 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
8594 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
8595
8596 1999-05-09 Mark Kettenis <kettenis@gnu.org>
8597
8598 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
8599 if the file is empty.
8600
8601 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
8602
8603 * elf/do-lookup.h: Fix typo in comment.
8604
8605 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
8606 f_bsize to help some broken programs.
8607
8608 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
8609
8610 * stdio-common/vfprintf.c: Fix typo.
8611
8612 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
8613
8614 * elf/link.h (struct link_map): New field l_phdr_allocated.
8615 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
8616 the program header being part of any loaded segment. If it is not
8617 allocate memory and set l_phdr_allocated flag.
8618 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
8619
8620 * nss/digits_dots.c: Correct return value interpretation of
8621 inet_ntoa. Fix PR libc/1109.
8622
8623 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
8624
8625 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
8626
8627 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
8628
8629 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
8630 * stdlib/fpioconst.c: Move #endif before end of struct.
8631
8632 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
8633
8634 * Versions.def (ld.so): Add GLIBC_2.1.1.
8635 * elf/Makefile (routines): Add dl-origin.
8636 (tests): Add origtest. Add dependencies for the program.
8637 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
8638 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
8639 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
8640 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
8641 DT_AUXILIARY, and DT_FILTER filenames.
8642 * elf/dl-load.c (expand_dynamic_string_token): Explode into
8643 two functions and three macros.
8644 (_dl_dst_count, _dl_dst_substitute): New functions.
8645 * elf/dl-dst.h: New file.
8646 * elf/dl-open.c (_dl_open): Take extra parameter with address of
8647 caller. Pass address in args structure.
8648 (dl_open_worker): Recognize and expand DSTs in filename.
8649 * elf/ldsodefs.h (_dl_open): Adapt prototype.
8650 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
8651 (__dlopen_check): Pass caller address to dlopen_doit in args.
8652 * elf/dlopendoit.c: Likewise.
8653 * iconv/gconv_dl.c: Adapt call of _dl_open.
8654 * nss/nsswitch.c: Likewise.
8655 * elf/origtest.c: New file.
8656 * sysdeps/generic/dl-origin.h: Moved to...
8657 * sysdeps/generic/dl-origin.c: ...here.
8658 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
8659 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
8660
8661 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
8662 with specific bases and only few bits set in second word.
8663
8664 * timezone/Makefile (install-others): Create target directory
8665 before creating tzfiles.
8666
8667 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
8668
8669 * nis/nis_file.c (readColdStartFile): Allocate memory only after
8670 the file is opened successfully.
8671
8672 * nis/nis_table.c: Fix some memory leaks.
8673
8674 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
8675
8676 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
8677 variable.
8678
8679 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
8680 around DST. Correctly ignore ORIGIN IN SUID binaries.
8681
8682 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
8683
8684 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
8685 * sysdeps/generic/strtok.c: Likewise.
8686
8687 * string/tester.c: Add test of rawmemchr.
8688
8689 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
8690 specification. It's not necessary.
8691
8692 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
8693 * elf/gen-trusted-dirs.awk: New file.
8694 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
8695 from SYSTEM_DIRS macro.
8696 (system_dirs_len): New variable. Contains lengths of system_dirs
8697 strings.
8698 (fillin_rpath): Rewrite for systems_dirs being a simple string.
8699 Improve string comparisons. Change parameter trusted to be a flag.
8700 Change all callers.
8701 (_dt_init_paths): Improve using new format for system_dirs.
8702
8703 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
8704 $ORIGIN for SUID binaries.
8705
8706 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
8707
8708 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8709
8710 * sunrpc/Makefile: Generate dependencies for all flavors of
8711 librpcsvc objects.
8712 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
8713 invocations.
8714
8715 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8716
8717 * elf/dlopenold.c: Move #if down after includes to get
8718 dependencies right.
8719
8720 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8721
8722 * sysdeps/generic/bzero.c: Undefine __bzero.
8723
8724 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
8725
8726 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
8727 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
8728 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
8729 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
8730
8731 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
8732 parameter to struct gaih_servtuple *. Adapt appropriately.
8733 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
8734 This fixes a memory leak.
8735 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
8736
8737 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
8738 and fpregset_t definition. They are defined in ucontext.h.
8739
8740 1999-04-14 Scott Bambrough <scottb@netwinder.org>
8741
8742 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
8743 and struct ether_header must be packed on the ARM. The default
8744 alignment constraints add padding to the end of the structures.
8745
8746 1999-04-14 Scott Bambrough <scottb@netwinder.org>
8747
8748 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
8749 default alignment constraints add padding to the end of the
8750 structure and between members.
8751
8752 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
8753
8754 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
8755 _dl_cache_libcmp instead of strcmp.
8756
8757 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
8758 fails on a file.
8759 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
8760
8761 1998-03-30 Joel Klecker <espy@debian.org>
8762
8763 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
8764 (sysdep-others,install-bin): Add lddlibc4.
8765
8766 1999-05-02 H.J. Lu <hjl@gnu.org>
8767
8768 * timezone/zic.c (dolink): Remove the symlink destination first.
8769
8770 * catgets/open_catalog.c (__open_catalog): Set catalog->status
8771 to "nonexisting" if failed to open the file.
8772
8773 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
8774
8775 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
8776 gcc3.
8777
8778 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
8779 Prevent warnings from multiplication with 0x01010101 by another cast.
8780
8781 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8782
8783 * string/bits/string2.h (memset): Revert to previous version if
8784 unaligned writes are not available.
8785
8786 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
8787
8788 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
8789 better code in presence of the asm.
8790
8791 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8792
8793 * stdlib/fmtmsg.c (keywords): Increase array size for faster
8794 indexing.
8795
8796 * locale/localeinfo.h (_nl_category_names): Increase array element
8797 size for faster indexing.
8798 * locale/setlocale.c (_nl_category_names): Adjusted.
8799
8800 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8801
8802 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
8803
8804 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8805
8806 * sysdeps/m68k/stackinfo.h: New file.
8807
8808 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
8809
8810 * string/tester.c (test_strchrnul): New function.
8811 (test_memset): Test one more special case.
8812
8813 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
8814 25% of all cases.
8815
8816 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
8817 base types.
8818
8819 * string/bits/string2.h: Fix bugs I introduced in last change.
8820
8821 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
8822 register stall.
8823 Extend memset optimization.
8824 Correct i686 version of memchr.
8825
8826 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
8827
8828 * sysdeps/i386/bzero.c: Add #undef __bzero.
8829
8830 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
8831 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
8832 exec server simulated a SIGTRAP before we even started up, so gdb is
8833 already happy.
8834
8835 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
8836
8837 * nss/digits_dots.c: Always initialize not_ok.
8838
8839 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
8840
8841 * string/bits/string2.h (memset): Avoid arithmetic overflow at
8842 compile time, which produces obnoxious warnings. If GCCv2 is
8843 in use, map __bzero to __builtin_memset to enable that
8844 optimization.
8845
8846 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
8847
8848 * string/bits/string2.h: Add more memset optimizations.
8849
8850 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
8851
8852 * resolv/inet_pton.c (inet_pton4): Little optimizations.
8853 (inet_pton6): Likewise.
8854
8855 * nss/getXXbyYY_r.c: Include assert.h.
8856 * nss/getXXbyYY.c: Likewise.
8857
8858 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8859
8860 * termios/tcgetsid.c (tcgetsid): Rename variable to
8861 tiocgsid_does_not_work.
8862
8863 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
8864
8865 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
8866
8867 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8868
8869 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
8870 This allows e.g. gethostbyname to accept "10.1234".
8871 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
8872
8873 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
8874 non quad IPv4 numbers.
8875
8876 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8877
8878 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
8879
8880 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
8881
8882 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
8883 * argp/argp-parse.c (_argp_hang): Likewise.
8884 * argp/argp-pv.c (argp_program_version): Likewise.
8885 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
8886 * inet/ether_hton.c (ether_hton, startp): Likewise.
8887 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
8888 * inet/getnetgrent_r.c (setup, startp): Likewise.
8889 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
8890 * intl/localealias.c (string_space, string_space_act, string_space_max,
8891 nmap, maxmap): Likewise.
8892 * libio/iopopen.c (proc_file_chain): Likewise.
8893 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
8894 * locale/lc-collate.c (__collate_table, __collate_extra,
8895 __collate_element_hash, __collate_element_strings,
8896 __collate_element_values): Likewise.
8897 * malloc/mcheck.c (mcheck_used): Likewise.
8898 * malloc/mtrace.c (added_atexit_handler): Likewise.
8899 * malloc/set-freeres.c (already_called): Likewise.
8900 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
8901 * misc/syslog.c (LogStat, LogTag): Likewise.
8902 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
8903 * nss/getXXbyYY_r.c (startp): Likewise.
8904 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
8905 * posix/regex.c (init_syntax_once) [done]: Likewise.
8906 (debug): Likewise.
8907 * string/strfry.c (init): Likewise.
8908 * sunrpc/svc_run.c (svc_top): Likewise.
8909 * posix/euidaccess.c (have_ids): Likewise.
8910 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
8911 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
8912 * time/getdate.c (getdate_err): Likewise.
8913 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
8914 Likewise.
8915 * time/tzset.c (old_tz, is_initialized): Likewise.
8916
8917 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
8918 of static data with zero.
8919 * signal/allocrtsig.c (init): Likewise.
8920
8921 * string/Makefile (routines): Add strchrnul.
8922 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
8923 * string/string.c: Add strchrnul prototype.
8924 * include/string.h: Add __strchrnul prototype.
8925 * sysdeps/generic/strchrnul.c: New file.
8926 * sysdeps/i386/strchrnul.S: New file.
8927 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
8928 * sysdeps/i386/i486/bits/string.c: Likewise.
8929 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
8930 * inet/ether_line.c (ether_line): Likewise.
8931 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
8932 * nss/nsswitch.c (nss_parse_file): Likewise.
8933 * posix/execvp.c (execvp): Likewise.
8934 * posix/fnmatch.c (internal_fnmatch): Likewise.
8935 * resolv/res_hconf.c (_res_hconv_init): Likewise.
8936 * resolv/res_init.c (res_init): Likewise.
8937 * stdlib/fmtmsg.c (init): Likewise.
8938 * stdlib/getsubopt.c (getsubopt): Likewise.
8939
8940 * catgets/catgets.c (catopen): Only allocate one memory block.
8941 (catclose): Only one free call necessary.
8942
8943 * catgets/open_catalog.c (__open_catalog): Simplify handling of
8944 file descriptor.
8945
8946 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
8947 of real functions. Simplify _tolower and _toupper.
8948
8949 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
8950 variable.
8951
8952 * iconv/gconv.h (struct gconv_info): Change data element from pointer
8953 to array of size 0.
8954 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
8955 * iconv/gconv_close.c (__gconv_close): Don't free data.
8956
8957 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
8958 insert new alias.
8959
8960 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
8961 for error while inserting in tree.
8962
8963 * include/time.h: Pretty print.
8964
8965 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
8966 in table and lots of relocations.
8967 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
8968 string pointers in table and lots of relocations.
8969
8970 * intl/finddomain.c: Remove definition of strchr macro.
8971
8972 * io/ftw.c (nftw_arr, ftw_arr): Make const.
8973
8974 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
8975
8976 * locale/localeinfo.h (_nl_category_names): Change into an array with
8977 fixed width char string elements.
8978 * locale/setlocale.c (_nl_category_names): Likewise.
8979 (_nl_current): Make global.
8980 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
8981
8982 * malloc/Makefile (distribute): Add stackinfo.h.
8983 * sysdeps/generic/stackinfo.h: New file.
8984 * sysdeps/i386/stackinfo.h: New file.
8985 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
8986 * posix/execle.c: Likewise.
8987 * posix/execlp.c: Likewise.
8988
8989 * nis/nis_table.c (__create_ib_request): Always use realloc.
8990
8991 * posix/execvp.c (execute): Rename to script_execute and keep only
8992 code to execute using shell.
8993 (execvp): Call execv directly and only fall back on script_execute.
8994
8995 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
8996 and always use xdigits instead.
8997
8998 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
8999 where appropriate.
9000
9001 * stdlib/fpioconst.h (__tens): New declaration.
9002 (struct mp_power): Remove array, add arrayoff element.
9003 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
9004 __tens array and add in _fpioconst_pow10 offsets into __tens.
9005 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
9006 * stdlib/strtod.c: Likewise.
9007
9008 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
9009
9010 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
9011 of the list.
9012 * stdlib/atexit.c (__exit_funcs): Don't initialize.
9013
9014 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
9015
9016 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
9017 a single and an array with offsets.
9018
9019 * sunrpc/des_soft.c (partab): Make it const.
9020
9021 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
9022 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
9023 (__key_decryptsession_pk_LOCAL): Likewise.
9024 (__key_gendes_LOCAL): Likewise.
9025 (MESSENGER): Mark const.
9026 (key_call_private_main): Don't initialize with 0.
9027 (use_keyenvoy): Don't initialize with 0.
9028 (key_call): Rewrite to reverse logic of use_doors variable.
9029
9030 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
9031 (startp): Don't initialize with zero.
9032
9033 * sunrpc/openchild.c (_openchild): Make first argument const.
9034
9035 * sunrpc/pmap_rmt.c (timeout): Mark const.
9036 * sunrpc/xcrypt.c (hex): Likewise.
9037
9038 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
9039 initialization of global variables.
9040 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
9041 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9042 * termios/tcgetsid.c: Likewise.
9043
9044 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
9045 fxsr to osfxsr.
9046
9047 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
9048 block. Add function to free memory if wanted.
9049 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
9050
9051 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
9052
9053 * wcsmbs/wmemset.c: Little code optimization.
9054
9055 1999-04-23 Paul Eggert <eggert@twinsun.com>
9056
9057 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
9058 ifdef _LIBC.
9059
9060 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
9061
9062 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
9063 implementation and just always fail with ENOSYS. This entry point is
9064 obsolete. Add link warning to that effect.
9065
9066 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
9067
9068 * hurd/get-host.c: Include <hurd/lookup.h>.
9069
9070 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
9071
9072 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
9073 is != NULL.
9074
9075 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9076
9077 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
9078 ISO C9x and Unix98.
9079
9080 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
9081
9082 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
9083 Patch by Peter Miller <millerp@canb.auug.org.au>.
9084
9085 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
9086
9087 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
9088 prefers loopback device.
9089
9090 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
9091
9092 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
9093 no_leading_period change.
9094
9095 * posix/testfnm.c: More test cases.
9096
9097 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
9098
9099 * include/dirent.h: Remove __getdirentries declaration, add __getdents
9100 and __getdents64.
9101 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
9102 * sysdeps/unix/readdir_r.c: Likewise.
9103 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9104 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
9105 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
9106 __getdirentries. Remove fourth argument.
9107 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
9108 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
9109 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
9110 Add getdirentries and getdirentries64.
9111 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
9112
9113 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
9114 pointer in case of an invalid [[: expression.
9115
9116 * posix/testfnm.c: Add more test cases.
9117
9118 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
9119
9120 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
9121 set, pass EXEC_SIGTRAP flag in exec RPC.
9122
9123 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
9124
9125 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
9126 extra parameter. Fix several more bugs involving wildcard and
9127 ranges.
9128 (fnmatch): New function. Call internal_fnmatch.
9129
9130 * posix/testfnm.c: More test cases.
9131
9132 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9133
9134 * manual/install.texi (Configuring and compiling): Explain that
9135 files are changed in the source directory.
9136 Closes PR libc/981.
9137 (Configuring and compiling): Explain situation with PARALLELMFLAGS
9138 in the source directory.
9139
9140 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9141
9142 * locale/programs/ld-ctype.c: Spelling fixes.
9143 (ctype_finish): Fix argument of error message format.
9144 * locale/programs/ld-messages.c: Spelling fixes.
9145 * locale/programs/ld-monetary.c: Spelling fixes.
9146 * locale/programs/ld-time.c (time_finish): Make sure that name and
9147 format of era_entries are adjacent.
9148 (time_output): Reduce the size of the io vector.
9149
9150 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9151
9152 * manual/filesys.texi (Attribute Meanings): Move a misplaced
9153 paragraph.
9154
9155 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9156
9157 * locale/programs/ld-collate.c (collate_output): Convert
9158 undefined_offset to an array index. Fix computation of other
9159 endian extra table.
9160
9161 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
9162
9163 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
9164 return success with empty value.
9165
9166 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
9167
9168 * posix/fnmatch.c: Include string.h also for glibc.
9169 (fnmatch, case '?'): Optimize if cascades a bit.
9170 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
9171
9172 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
9173
9174 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
9175
9176 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
9177 * iconv/gconv_int.h: Declare UTF16 functions.
9178 * iconv/gconv_simple.c: Add UTF16 conversion functions.
9179
9180 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9181
9182 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
9183 be used correctly as parameter for parse_dollars/parse_tilde.
9184
9185 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9186
9187 * manual/conf.texi (Utility Limits): Remove duplicate description
9188 of BC_DIM_MAX.
9189
9190 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
9191
9192 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
9193 outbufend for dst==NULL.
9194
9195 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
9196
9197 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
9198 for dst==NULL.
9199 Fixes PR libc/1084.
9200
9201 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
9202 Fixes PR libc/1083.
9203
9204 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
9205
9206 * sunrpc/Makefile: Remove special handling of bootparam.x,
9207 add rpcsvc/bootparam.h to headers.
9208 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
9209 * sunrpc/rpcsvc/bootparam.x: Renamed to...
9210 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
9211
9212 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
9213
9214 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
9215 detect and handle invalid descriptors.
9216
9217 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
9218
9219 * timezone/zic.c (dolink): Append complete path not only filename
9220 to ../ list.
9221
9222 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9223
9224 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
9225
9226 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
9227
9228 * iconvdata/gconv-modules: Rename CP874 to IBM874.
9229 * iconvdata/Makefile: Likewise.
9230 * iconvdata/cp874.h: Removed.
9231 * iconvdata/cp874.c: Renamed to...
9232 * iconvdata/ibm874.c: ...this.
9233
9234 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
9235
9236 * sysdeps/unix/sysv/linux/bits/types.h: Correct
9237 signed/unsigned-ness of blkcnt and fsblkcnt.
9238 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9239 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9240
9241 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
9242 SOL_AAL, and SOL_IRDA.
9243
9244 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9245
9246 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
9247 include "linux_fsinfo.h".
9248 Based on a patch by H.J. Lu <hjl@gnu.org>.
9249
9250 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
9251
9252 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
9253
9254 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
9255
9256 * nscd/cache.c (prune_cache): Only disable file checking for
9257 future if the file does not exist.
9258 Update file_mtime if cache was flushed.
9259
9260 1999-04-15 David S. Miller <davem@redhat.com>
9261
9262 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
9263 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
9264
9265 1999-04-15 Scott Bambrough <scottb@netwinder.org>
9266
9267 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
9268 compilation of file.
9269
9270 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
9271
9272 * Versions.def: Add GLIBC_2.1.1 to libpthread.
9273
9274 * iconvdata/Makefile (modules): Add KOI8-U.
9275 (distribute): Add koi8-u.c.
9276 (gen-8bit-gap-modules): Add koi8-u.
9277 * iconvdata/gconv-modules: Add KOI8-U entries.
9278 * iconvdata/koi8-u.c: New file.
9279
9280 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
9281
9282 * sunrpc/auth_des.c: 64bit fixes, security fixes.
9283 * sunrpc/auth_none.c: Pretty print.
9284 * sunrpc/auth_unix.c: Likewise.
9285 * sunrpc/authdes_prot.c: Likewise.
9286 * sunrpc/authuxprot.c: Likewise.
9287 * sunrpc/bindrsvprt.c: Likewise.
9288 * sunrpc/clnt_gen.c: Likewise.
9289 * sunrpc/rpc/xdr.h: Likewise.
9290 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
9291 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
9292 * sunrpc/rtime.c: Use new rpc_timeval.
9293 * sunrpc/svc_authux.c: Don't use *long pointers.
9294 * sunrpc/svcauth_des.c: Likewise + security fixes.
9295 * sunrpc/xdr_mem.c: Don't use *long pointers.
9296 * sunrpc/xdr_rec.c: Likewise.
9297 * sunrpc/xdr_sizeof.c: Likewise.
9298 * sunrpc/xdr_stdio.c: Likewise.
9299
9300 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
9301
9302 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
9303 so that it is redone for each sending.
9304
9305 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9306
9307 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
9308
9309 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
9310
9311 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
9312 known to not exist don't try to load shared objects.
9313 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
9314
9315 * nscd/cache.c (prune_cache): The table might not be unused. In
9316 this case do nothing.
9317
9318 * catgets/gencat.c (read_input_file): Don't drop white spaces
9319 between number/identifier and string.
9320 Patch by Dima Barsky <dima@pwd.hp.com>.
9321 If no white space at all follows number/identifier remove existing
9322 message with the number/identifier.
9323
9324 1999-04-14 H.J. Lu <hjl@gnu.org>
9325
9326 * sunrpc/clnt_udp.c (is_network_up): New function.
9327 (clntudp_call): Call is_network_up () to check if any network
9328 interface is up in case of timeout.
9329
9330 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9331
9332 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
9333 * wctype/Makefile (tests): Add test_wcfuncs.
9334
9335 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
9336
9337 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
9338 architectures.
9339 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
9340 instead of CFLAGS.
9341 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
9342 instead of CFLAGS. For gnulib and string directories use
9343 -Wa,-Av9a gcc ASFLAGS.
9344 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
9345 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
9346 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
9347 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
9348 the same way as sparc-*.
9349
9350 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
9351
9352 * locale/programs/locfile.c (locfile_read): Fix typo.
9353 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
9354
9355 1999-04-14 Scott Bambrough <scottb@netwinder.org>
9356
9357 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
9358 restarted after being interrupted by a signal. The parameters on
9359 the stack were corrupted by the signal handler.
9360
9361 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
9362 restarted after being interrupted by a signal. The parameters on
9363 the stack were corrupted by the signal handler.
9364
9365 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9366
9367 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
9368 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
9369
9370 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
9371
9372 * posix/wordexp-test.c: In field-splitting test cases where
9373 subshells were involved, unset IFS first: some shells (ash) use
9374 IFS even when no expansion is performed.
9375
9376 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9377
9378 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
9379 the real end of the chunk, not some random point inbetween.
9380 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
9381 obstack when growing. Use fast version of obstack_blank when
9382 shrinking.
9383 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
9384 allocating the vtable pointer.
9385 (_IO_obstack_vprintf): Adjust for above change and avoid
9386 unnecessary casts. Use fast version of obstack_blank when
9387 shrinking.
9388 Fixes PR libc/1075.
9389
9390 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
9391
9392 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
9393 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
9394
9395 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
9396
9397 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
9398 is seen, as well as fixing semantics. Don't reset the word count
9399 to zero when an invalid character is seen, but leave it as it was
9400 (this makes a difference with WRDE_APPEND).
9401
9402 * posix/wordexp-test.c: More test cases.
9403
9404 * posix/wordexp.c (parse_param): In words like ${var#pattern},
9405 always expand pattern when it is needed. Also, handle quoting in
9406 pattern properly.
9407
9408 1999-04-12 Philip Blundell <philb@gnu.org>
9409
9410 * elf/elf.h: Update ARM definitions to match current gas2.
9411
9412 * sysdeps/arm/bits/endian.h: Support big endian operation.
9413
9414 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
9415 Don't bother range checking the port number.
9416
9417 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
9418
9419 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
9420 the syscall name in assembler output for ease of debugging.
9421
9422 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
9423 compiler behaviour.
9424 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
9425 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
9426 (sysdep_routines): Add sigrestorer.
9427
9428 * string/tester.c (test_strcpy): Add new tests for unaligned
9429 arguments.
9430 * sysdeps/arm/bits/string.h: Delete inline implementations of
9431 strcpy and stpcpy.
9432
9433 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
9434
9435 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
9436
9437 1999-04-10 Mark Kettenis <kettenis@gnu.org>
9438
9439 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
9440
9441 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
9442
9443 * iconvdata/Makefile (modules): Add TIS-620.
9444 (distribute): Add tis-620.c.
9445 (gen-8bit-gap-modules): tis-620.
9446 * iconvdata/tis-620.c: New file.
9447 * iconvdata/gconv-modules: Add TIS-620 entries.
9448
9449 * iconvdata/asmo_449.c: Correct comment.
9450
9451 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9452
9453 * manual/install.texi (Configuring and compiling): Comment out
9454 description of --disable-static since this doesn't work currently
9455 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
9456
9457 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
9458
9459 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
9460 use binary search.
9461 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
9462
9463 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9464
9465 * scripts/test-installation.pl (installation_problem): Skip
9466 libnss1_* libraries from glibc-compat add-on.
9467
9468 1999-04-07 H.J. Lu <hjl@gnu.org>
9469
9470 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
9471 libstdc++ 2.7.2.
9472 * posix/Versions (__waitpid): Likewise.
9473
9474 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9475
9476 * manual/install.texi (Reporting Bugs): Add section about reported
9477 bugs and correct email address of glibcbug script.
9478
9479 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
9480
9481 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
9482 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
9483 xdr_u_longlong_t. Based on patch from Dan Shechter
9484 <damageboy@isdn.net.il>.
9485 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
9486 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
9487
9488 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
9489
9490 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9491
9492 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
9493 directly if getdents returns with error set.
9494
9495 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9496
9497 * locale/langinfo.h (THOUSEP): Rename second occurence of
9498 THOUSANDS_SEP to THOUSEP.
9499 Reported by Roman Belenov <roman@nstl.nnov.ru>.
9500
9501 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
9502
9503 * hurd/STATUS: File removed. Moved items that are still relevant into
9504 TODO list in hurd source.
9505
9506 1999-03-26 Mark Kettenis <kettenis@gnu.org>
9507
9508 * sysdeps/mach/hurd/bits/time.h: New file.
9509 * sysdeps/mach/hurd/getrusage.c: New file.
9510 * sysdeps/mach/hurd/clk_tck.c: New file.
9511 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
9512 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
9513 (sysdep_routines): Add clk_tck.
9514 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
9515 implemented.
9516
9517 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
9518
9519 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
9520 (closelog): But instead here.
9521 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
9522
9523 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9524
9525 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
9526 the source directory. Fixes PR libc/1059.
9527
9528 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9529
9530 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
9531 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9532
9533 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
9534
9535 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
9536 * iconvdata/testdata/ISO-8859-14: New file.
9537 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
9538 * iconvdata/testdata/ISO-8859-15: New file.
9539 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
9540
9541 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
9542
9543 * iconvdata/testdata/CP1258: New file.
9544 * iconvdata/testdata/CP1258..UTF8: New file.
9545 * iconvdata/TESTS: Add CP1258 entry.
9546
9547 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
9548
9549 * timezone/africa: Update from tzdata1999d.
9550 * timezone/europe: Likewise.
9551 * timezone/northamerica: Likewise.
9552
9553 1999-03-31 Mark Kettenis <kettenis@gnu.org>
9554
9555 * login/programs/pt_chown.c (main): Save effective user ID before
9556 dropping priviliges and use this to check if the program is
9557 properly installed.
9558
9559 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
9560
9561 * iconvdata/testdata/CP1254: Update for charmap changes.
9562 * iconvdata/testdata/CP1254..UTF8: Likewise.
9563 * iconvdata/testdata/CP1255: Likewise.
9564 * iconvdata/testdata/CP1255..UTF8: Likewise.
9565 * iconvdata/testdata/CP1256: Likewise.
9566 * iconvdata/testdata/CP1256..UTF8: Likewise.
9567 * iconvdata/testdata/CP1257: Likewise.
9568 * iconvdata/testdata/CP1257..UTF8: Likewise.
9569
9570 * iconvdata/Makefile (distribute): Remove cp1258.h.
9571 (gen-8bit-gap-modules): Add cp1258.
9572 * iconvdata/cp1258.h: Removed.
9573
9574 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
9575
9576 * timezone/tst-timezone.c (tests): Add more cases.
9577 (check_tzvars): Mark errors clearer.
9578 (main): Likewise.
9579
9580 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
9581
9582 * login/programs/pt_chown.c: Drop privileges if invoked with
9583 arguments. Don't close the master pty.
9584
9585 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
9586
9587 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
9588 Minor optimization.
9589
9590 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
9591
9592 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
9593 relocation for SUID binaries.
9594
9595 1999-03-29 Paul Eggert <eggert@twinsun.com>
9596
9597 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
9598 while in child process.
9599
9600 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
9601
9602 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
9603 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
9604 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
9605 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
9606 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
9607
9608 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
9609 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
9610 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
9611 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
9612 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
9613 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
9614 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
9615 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
9616 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
9617 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
9618 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
9619 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
9620 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
9621 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
9622 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
9623 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
9624 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
9625 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
9626 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
9627 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
9628 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
9629 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
9630 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
9631 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
9632 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
9633 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
9634
9635 * sysdeps/sparc/sparc32/bcopy.c: New file.
9636 * sysdeps/sparc/sparc32/bzero.c: New file.
9637 * sysdeps/sparc/sparc32/memchr.S: New file.
9638 * sysdeps/sparc/sparc32/memcpy.S: New file.
9639 * sysdeps/sparc/sparc32/memmove.c: New file.
9640 * sysdeps/sparc/sparc32/memset.S: New file.
9641 * sysdeps/sparc/sparc32/stpcpy.S: New file.
9642 * sysdeps/sparc/sparc32/strchr.S: New file.
9643 * sysdeps/sparc/sparc32/strrchr.c: New file.
9644 * sysdeps/sparc/sparc32/strcpy.S: New file.
9645 * sysdeps/sparc/sparc32/strlen.S: New file.
9646 * sysdeps/sparc/sparc32/strcat.S: New file.
9647 * sysdeps/sparc/sparc32/strcmp.S: New file.
9648
9649 * sysdeps/sparc/sparc64/bcopy.c: New file.
9650 * sysdeps/sparc/sparc64/bzero.c: New file.
9651 * sysdeps/sparc/sparc64/memchr.S: New file.
9652 * sysdeps/sparc/sparc64/memcmp.S: New file.
9653 * sysdeps/sparc/sparc64/memcpy.S: New file.
9654 * sysdeps/sparc/sparc64/memset.S: New file.
9655 * sysdeps/sparc/sparc64/stpcpy.S: New file.
9656 * sysdeps/sparc/sparc64/strcat.S: New file.
9657 * sysdeps/sparc/sparc64/strchr.S: New file.
9658 * sysdeps/sparc/sparc64/strcmp.S: New file.
9659 * sysdeps/sparc/sparc64/strcpy.S: New file.
9660 * sysdeps/sparc/sparc64/strcspn.S: New file.
9661 * sysdeps/sparc/sparc64/strlen.S: New file.
9662 * sysdeps/sparc/sparc64/strncpy.S: New file.
9663 * sysdeps/sparc/sparc64/strpbrk.S: New file.
9664 * sysdeps/sparc/sparc64/strrchr.c: New file.
9665 * sysdeps/sparc/sparc64/strspn.S: New file.
9666 * sysdeps/sparc/sparc64/stpncpy.S: New file.
9667 * sysdeps/sparc/sparc64/strncmp.S: New file.
9668
9669 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
9670 Append -fPIC, don't replace.
9671
9672 * configure.in: Recognize sparcv8plus / sparcv9.
9673
9674 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9675
9676 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
9677 char * to avoid C++ warning.
9678 Patch by yasushi@cs.washington.edu [PR libc/1035].
9679
9680 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9681
9682 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
9683 declared in stdlib.h, correct return value of mkstemp.
9684 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
9685
9686 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
9687 from Linux 2.2.5.
9688
9689 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9690
9691 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
9692 C++ warning.
9693
9694 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
9695 inline functions. Closes PR libc/1049.
9696
9697 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9698
9699 * timezone/README: Update from tzdata1999c and tzcode1999c.
9700
9701 * timezone/africa: Update from tzdata1999c.
9702 * timezone/antarctica: Likewise.
9703 * timezone/asia: Likewise.
9704 * timezone/australasia: Likewise.
9705 * timezone/europe: Likewise.
9706 * timezone/northamerica: Likewise.
9707 * timezone/southamerica: Likewise.
9708 * timezone/zone.tab: Likewise.
9709
9710 * timezone/zic.c: Update from tzcode1999c.
9711
9712 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9713
9714 * Makerules: Add $(common-objpfx)Versions.all to common-generated
9715 outside of ifndef avoid-generated.
9716
9717 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
9718 in iofdopen.c.
9719 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
9720 iofopen.c.
9721 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
9722 in iofclose.c.
9723 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
9724 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
9725
9726 1999-03-26 Mark Kettenis <kettenis@gnu.org>
9727
9728 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
9729 if we build the profiled library.
9730
9731 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9732
9733 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
9734 Jaeger <aj@arthur.rhein-neckar.de>
9735
9736 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
9737
9738 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
9739 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
9740 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
9741
9742 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
9743
9744 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
9745 works properly in subdirs.
9746
9747 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
9748
9749 * sysdeps/mach/hurd/Makefile: Undo last change.
9750 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
9751 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
9752
9753 * mach/Machrules (+preinit, +postinit, +interp,
9754 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
9755 linked just like other shared libraries.
9756 (interface.so): Fix typo in defn, so it works.
9757 ($(objpfx)$(interface.so)): Make it depend on libc.so.
9758
9759 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
9760
9761 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
9762 $(link-rpcuserlibs).
9763
9764 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9765
9766 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
9767 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
9768 targets if not building shared libraries.
9769
9770 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9771
9772 * configure.in: Also look in $PATH when searching for
9773 install-info. Remove autoconf bug workaround and require autoconf
9774 2.13.
9775
9776 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9777
9778 * db/Makefile: Don't try to install shared library link if not
9779 building with shared libs.
9780
9781 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9782
9783 * rt/Makefile: Link against static library if no shared lib is
9784 available.
9785
9786 * localedata/Makefile: The shells scripts implementing the test
9787 require the dynamic linker which is not available with
9788 --disable-shared. Skip the test if --disable-shared is given.
9789
9790 * linuxthreads/Makefile: Link test against static libpthread if no
9791 shared lib is available.
9792
9793 * iconvdata/Makefile (tests): Run iconv-test only if we're
9794 building shared libraries.
9795 * elf/Makefile (tests): Likewise for elf tests.
9796
9797 * posix/Makefile: The test frameworks globtest and wordexp-test
9798 require the dynamic linker which is not available with
9799 --disable-shared. Skip the test if --disable-shared is given.
9800
9801 * grp/Makefile (otherlibs): For static nss build link against
9802 necessary libs.
9803
9804 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9805
9806 * debug/Makefile (install-bin): Install and build catchsegv only
9807 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
9808 libc/965].
9809
9810 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9811
9812 * time/tzfile.c (__tzfile_read): Handle the case where there are
9813 transitions but no DST.
9814
9815 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
9816
9817 * mach/Machrules (extra-libs-others): Add $(interface-library) here
9818 too, so it gets built in the others pass rather than the lib pass.
9819 This is necessary since the RPC libraries need to be linked against
9820 libc.
9821
9822 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
9823
9824 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
9825 _itoa_word decl.
9826
9827 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
9828 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
9829 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
9830 versions of lib{mach,hurd}user.so without reference to libc.so,
9831 then link libc.so against that to get deps and symbol versions, then
9832 finally link real lib*user.so against libc.so.
9833
9834 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
9835 Support whole-file locking (only) by using the file_lock RPC. This
9836 has very wrong semantics, but is better than nothing for the time
9837 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
9838 protocols that will be somewhat hairy to specify.)
9839
9840 1999-03-17 Mark Kettenis <kettenis@gnu.org>
9841
9842 * sysdeps/mach/hurd/ptsname.c: New file.
9843
9844 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9845
9846 * timezone/asia: Fix rule in Asia/Nicosia entry.
9847
9848 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9849
9850 * manual/getopt.texi (Using Getopt): Explain "::" in option
9851 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
9852
9853 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
9854
9855 * sunrpc/clnt_unix.c: Fix creation of parameters for
9856 sendmsg/recvmsg on non intel platforms.
9857 * sunrpc/svc_unix.c: Likewise.
9858
9859 1999-03-18 Philip Blundell <philb@gnu.org>
9860
9861 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
9862 implementation.
9863
9864 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9865
9866 * timezone/africa: Update from tzdata1999b.
9867 * timezone/asia: Likewise.
9868 * timezone/australasia: Likewise.
9869 * timezone/europe: Likewise.
9870 * timezone/northamerica: Likewise.
9871 * timezone/southamerica: Likewise.
9872 * timezone/zone.tab: Likewise.
9873
9874 * timezone/README: Mention tzdata1999b.
9875
9876 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
9877
9878 * sysdeps/generic/segfault.c (write_strsignal): New function.
9879 (catch_segfault): Use it instead of calling strsignal.
9880
9881 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9882
9883 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
9884 char to avoid warning.
9885
9886 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
9887
9888 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
9889
9890 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
9891 outbuf to unsigned char to avoid warning.
9892
9893 1999-03-11 David S. Miller <davem@redhat.com>
9894
9895 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
9896 masks.
9897 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
9898
9899 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
9900
9901 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
9902 `unsigned char'.
9903 (gconv_step_data): Likewise.
9904 * iconv/gconv_int.h (__gconv): Likewise.
9905 (__BUILINT_TRANS): Likewise.
9906 * iconv/gconv.c (__gconv): Likewise.
9907 * iconv/iconv.c (iconv): Add casts for call of __gconv.
9908 * iconv/skeleton.c: Change local parameters and variable from `char' to
9909 `unsigned char'. Remove casts from calls into modules.
9910 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
9911 `char' to `unsigned char'.
9912 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
9913 * wcsmbs/mbrtowc.c: Likewise.
9914 * wcsmbs/mbsnrtowcs.c: Likewise.
9915 * wcsmbs/mbsrtowcs.c: Likewise.
9916 * wcsmbs/wcrtomb.c: Likewise.
9917 * wcsmbs/wcsnrtombs.c: Likewise.
9918 * wcsmbs/wcsrtombs.c: Likewise.
9919 * wcsmbs/wctob.c: Likewise.
9920
9921 1999-03-15 Mark Kettenis <kettenis@gnu.org>
9922
9923 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
9924 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
9925 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
9926 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
9927 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
9928 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
9929
9930 1999-03-15 Mark Kettenis <kettenis@gnu.org>
9931
9932 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
9933 _hurd_select if TIMEMOUT is -1.
9934
9935 1999-03-15 Mark Kettenis <kettenis@gnu.org>
9936
9937 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
9938
9939 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
9940
9941 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
9942 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
9943
9944 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9945
9946 * manual/libc.texinfo: Undo last change for now.
9947
9948 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
9949
9950 * intl/locale.alias: Add entries for Croatian.
9951 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
9952
9953 1999-03-13 Mark Kettenis <kettenis@gnu.org>
9954
9955 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
9956 if the opened master pty really is a pty. `isatty' checks for
9957 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
9958 if we are out of pty's.
9959
9960 1999-03-13 Mark Kettenis <kettenis@gnu.org>
9961
9962 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
9963 opened file is closed on exec.
9964 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
9965 opened socket.
9966
9967 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9968
9969 * manual/llio.texi (File Position Primitive): Reformat @end
9970 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
9971
9972 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
9973
9974 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
9975 entry is found.
9976 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9977 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
9978
9979 * locale/programs/localedef.c (main): Initialize `cat' to please
9980 the compiler.
9981
9982 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
9983
9984 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
9985 check for root-owned symlinks and reject them too.
9986
9987 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9988
9989 * stdio-common/printf_fphex.c: Move to ...
9990 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
9991 extended precision number.
9992 * sysdeps/m68k/printf_fphex.c: New file.
9993
9994 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9995
9996 * manual/stdio.texi: Fix typos.
9997
9998 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
9999
10000 * version.h (VERSION): Bump to 2.1.1.
10001
10002 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
10003
10004 * nis/ypclnt.c: Try only twice to connect to NIS server.
10005
10006 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
10007
10008 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
10009
10010 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10011
10012 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
10013 (DENORM_EXP): New define. Use it as the exponent for a denormal.
10014 * stdlib/strtold.c: Moved to ...
10015 * sysdeps/generic/strtold.c: ... here.
10016 * sysdeps/m68k/strtold.c: New file.
10017
10018 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10019
10020 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
10021 point if the precision is zero, even if the mantissa is non-zero.
10022
10023 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
10024
10025 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
10026 arguments into the request message buffer inside `send_rpc'
10027 subfunction. We must repeat the marshalling when retrying the RPC
10028 after a SIGTTOU delivery.
10029
10030 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
10031 path when there is no ctty port.
10032 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
10033 Move sigstate check inside loop so we recheck after handling a signal.
10034
10035 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10036
10037 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
10038 O_EXLOCK are BSD extensions.
10039 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
10040
10041 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
10042
10043 * manual/signal.texi (Termination in Handler): Correct example.
10044 Install default handler before reraising the signal.
10045 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
10046
10047 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
10048
10049 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
10050 null, in which case send an empty string.
10051
10052 1999-03-02 Mark Kettenis <kettenis@gnu.org>
10053
10054 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
10055 backward compatibility EH functions to be linked when using
10056 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
10057
10058 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10059
10060 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
10061 /dev/pts status may change during runtime.
10062
10063 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10064
10065 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
10066 change. /dev/pts status can change during runtime.
10067
10068 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
10069
10070 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
10071 poll reports error.
10072 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
10073 add some more sanity checks.
10074 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
10075 parser prototype.
10076
10077 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
10078
10079 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
10080 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
10081 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
10082 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
10083 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
10084 for x_getint32.
10085 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
10086 * nis/nis_print.c: Fix ctime argument for platforms where
10087 sizeof (time_t) != sizeof (int).
10088
10089 1999-03-07 Mark Kettenis <kettenis@gnu.org>
10090
10091 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
10092 CLOCKS_PER_SEC instead of CLK_TCK.
10093
10094 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
10095
10096 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
10097 whether /dev/pts is available.
10098 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
10099 dev_pts_available.
10100
10101 * posix/globtest.sh: Make common_objpfx path absolute and and db2
10102 and hesiod directory to library path [PR libc/1007].
10103
10104 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10105
10106 * resolv/inet_addr.c (inet_aton): Don't allow componets >
10107 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
10108
10109 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
10110
10111 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
10112 DT_PLTGOT has already been relocated.
10113 (__elf_machine_fixup_plt): Likewise.
10114 Minor cleanups.
10115
10116 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
10117
10118 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
10119
10120 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
10121
10122 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
10123 and fold string to uppercase [PR libc/1005].
10124
10125 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10126
10127 * elf/dl-load.c (lose): Fix return type.
10128
10129 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
10130
10131 * sysdeps/mach/hurd/bits/fcntl.h
10132 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
10133 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
10134 set O_NOTRANS as well.
10135 (__hurd_file_name_lookup_retry): At successful end of lookup,
10136 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
10137 it is a translated node not owned by root.
10138 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
10139 on the file name passed to LOOKUP.
10140
10141 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
10142
10143 * manual/time.texi (High Resolution Timer): Correct computation in
10144 example. Reported by jjf@devel.cemsys.com.
10145
10146 1999-03-02 Philip Blundell <pb@nexus.co.uk>
10147
10148 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
10149 entry is already relocated.
10150
10151 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10152
10153 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
10154 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
10155
10156 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10157
10158 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
10159 uc_link which is the right name according to Unix98.
10160 Reported by Craig Metz [PR libc/1001].
10161 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
10162 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
10163 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
10164 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
10165 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise.
10166 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
10167
10168 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10169
10170 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
10171 @ifinfo.
10172
10173 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10174
10175 * iconvdata/Makefile: Always include iconv-rules, but disable rule
10176 to regenerate it if avoid-generated.
10177
10178 * Makeconfig: Always include sys-dirs, but disable rule to
10179 regenerate it when avoid-generated.
10180
10181 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
10182 rule to generate sysd-syscalls.
10183
10184 * elf/Makefile (generated): Remove $(objpfx) from names.
10185
10186 1999-02-28 Mark Kettenis <kettenis@gnu.org>
10187
10188 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
10189 actual length if the adress length is smaller than the input
10190 value. Change type of *LEN paramater to socklen_t.
10191 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
10192 * sysdeps/mach/hurd/accept.c (accept): Likewise.
10193 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
10194 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
10195 paramater to socklen_t.
10196
10197 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
10198
10199 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
10200 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
10201 with the RPC.
10202
10203 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
10204
10205 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
10206 __get_phys_pages): Cast &HBI to silence warning.
10207
10208 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
10209 * hurd/hurdchdir.c: New file.
10210 * hurd/hurdfchdir.c: New file.
10211 * sysdeps/mach/hurd/chroot.c: Call
10212 _hurd_change_directory_port_from_name to do the work.
10213 * sysdeps/mach/hurd/chdir.c: Likewise.
10214 * sysdeps/mach/hurd/fchdir.c: Call
10215 _hurd_change_directory_port_from_fd to do the work.
10216 * hurd/fchroot.c: Likewise.
10217 * hurd/hurd.h: Declare them.
10218
10219 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
10220
10221 * elf/dl-load.c (lose): Add more comments to explain the `why'.
10222 (_dl_map_object): Remove redundant test.
10223
10224 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
10225
10226 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
10227 try to _hurd_port_free a lower-numbered descriptor that was not in any
10228 fd_set.
10229
10230 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10231
10232 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
10233 declaration for ____wcstod_l_internal.
10234
10235 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
10236 __strtod_internal prototype.
10237 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
10238 (____strtold_l_internal): Add prototype declaration.
10239 (__strtold_l): Call correct function.
10240
10241 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
10242
10243 * elf/elf.h: Add 32bit HPPA definitions.
10244
10245 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10246
10247 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
10248 non-checked heap is restored when malloc checking was requested by
10249 the user.
10250 (struct malloc_state): Add using_malloc_checking.
10251 (MALLOC_STATE_VERSION): Increment minor.
10252 (using_malloc_checking, disallow_malloc_check): New variables.
10253 (__malloc_check_init): Use them.
10254 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
10255 that it can the chunk is properly instrumented when malloc
10256 checking is enabled. Set the new using_malloc_checking field.
10257 (malloc_hook_ini): Correct signature when _LIBC is not defined.
10258
10259 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10260
10261 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
10262 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
10263 time.
10264
10265 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
10266 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
10267 if ld.so is the main program.
10268
10269 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
10270
10271 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
10272 large for work_buffer, allocate new buffer.
10273 (printf_unknown): Likewise. [PR libc/988]
10274
10275 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
10276
10277 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
10278 instead of stat and fstat.
10279 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10280
10281 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10282
10283 * elf/dl-error.c (_dl_signal_cerror): New function.
10284 (_dl_signal_error): Don't call receiver function.
10285 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
10286 instead of _dl_signal_error when reporting references to undefined
10287 symbols or versions.
10288 (_dl_lookup_versioned_symbol): Likewise.
10289 (_dl_lookup_versioned_symbol_skip): Likewise.
10290 * elf/dl-version.c (match_symbol): Likewise.
10291
10292 * elf/ldsodefs.h: Declare _dl_signal_cerror.
10293
10294 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
10295
10296 * misc/getttyent.c (getttyent): Release lock on stream later to
10297 also protect global variable zapchar.
10298
10299 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
10300 __times [PR libc/990].
10301
10302 1999-02-21 David S. Miller <davem@redhat.com>
10303
10304 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
10305 parentheses in Feb 2 changes.
10306 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
10307
10308 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10309
10310 * sysdeps/generic/glob.c (glob): Save previous errno.
10311
10312 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
10313
10314 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
10315 lookup functions if it is too small.
10316
10317 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
10318
10319 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
10320 for tracing to the scope lists.
10321 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
10322 DT_SYMTAB is always available according to ELF spec.
10323
10324 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
10325 call test whether there is any scope left.
10326 (_dl_lookup_versioned_symbol_skip): Likewise.
10327
10328 * elf/Makefile (distribute): Add do-lookup.h.
10329 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
10330 * elf/dl-lookup.c: Move do_lookup function in separate file and
10331 include the file twice, for handling versioning and without it.
10332
10333 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
10334 entry is already relocated.
10335 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
10336 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
10337 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
10338 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
10339 Likewise.
10340 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
10341 Likewise.
10342 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
10343 Likewise.
10344
10345 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
10346 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
10347 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
10348 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
10349 rel and rela relocations can both happen and skip one test if this
10350 is not possible.
10351 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
10352 appropriately.
10353 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
10354 already relocated.
10355 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
10356 relocated.
10357 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
10358 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
10359 (_dl_map_object): DT_STRTAB entry is already relocated.
10360 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
10361 already relocated.
10362 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
10363 relocated.
10364 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
10365 DT_VERSYM entries are already relocated.
10366 (profile_fixup): Likewise.
10367 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
10368 all users.
10369 (match_symbol): DT_STRTAB entry is already relocated.
10370 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
10371 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
10372 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
10373 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
10374 (find_needed): DT_STRTAB entry is already relocated.
10375 (dl_main): Pass extra argument to elf_get_dynamic_info.
10376 DT_STRTAB entry is already relocated.
10377 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
10378 DT_PLTGOT entries are already relocated.
10379 (elf_machine_rela): Likewise for DT_SYMTAB.
10380 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
10381 relocated.
10382 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
10383 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
10384 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10385 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10386 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
10387 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
10388 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
10389 * sysdeps/mips/mips64/dl-machine.h: Likewise.
10390
10391 * grp/initgroups.c (initgroups): If function in current module was
10392 successful don't stop but continue to process to get all the groups.
10393
10394 * elf/dl-load.c (_dl_map_object_from_fd): Use global
10395 _dl_pf_to_proot array to convert p_flags value.
10396 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10397
10398 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
10399 loop to clear `info'.
10400
10401 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
10402 do the work and don't use inline assembler.
10403
10404 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
10405
10406 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
10407 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
10408 noreturn, and prevent it from being inlined.
10409 Define LOSE appropriately.
10410 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
10411 Optimize decoding of p_flags for certain platforms.
10412
10413 1999-02-19 Philip Blundell <pb@nexus.co.uk>
10414
10415 * Makeconfig (link-libc): When doing a static link, make sure that
10416 libgcc.a is included both before and after libc.a.
10417
10418 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
10419
10420 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
10421 sp_warn, sp_inact, sp_expire and sp_flag.
10422
10423 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
10424
10425 * elf/link.h (link_map): Add l_dev and l_ino.
10426 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
10427 loaded shared object with all loaded objects. Initialize l_ino
10428 and l_dev in case it's new.
10429 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
10430 object.
10431 * elf/Makefile: Compile and run new test.
10432 * elf/multiload.c: New file.
10433
10434 * nss/nsswitch.h (service_user): Change name field from const char *
10435 to char[0].
10436 (name_database_entry): Likewise.
10437 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
10438 for change of `service_user'.
10439 (nss_getline): Adjust memory allocation for change of
10440 `name_database_entry'.
10441
10442 * catgets/catgets.c: Correctly handle NLSPATH from environment
10443 [PR libc/980].
10444
10445 * io/Makefile (routines): Add lock64.
10446 * io/Versions: Add lockf64 for GLIBC_2.1.1.
10447 * sysdeps/generic/lockf64.c: New file.
10448
10449 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
10450
10451 * string/bits/string2.h: Only use strncmp optimization if count
10452 argument is constant.
10453
10454 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
10455
10456 * sysdeps/mach/hurd/revoke.c: New file.
10457
10458 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
10459
10460 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
10461 int to avoid warning about `ISO C restricts enumerator values to
10462 range of `int''.
10463
10464 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10465
10466 * elf/dlfcn.h: Fix typo.
10467 * sysdeps/generic/bits/dlfcn.h: Likewise.
10468 * sysdeps/mips/bits/dlfcn.h: Likewise.
10469
10470 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
10471
10472 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
10473 for the case N == 0.
10474
10475 * db2/Makefile (distribute): Add LICENSE.
10476
10477 1999-02-03 Jeff Bailey <jbailey@nisa.net>
10478
10479 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
10480 generated files.
10481
10482 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
10483
10484 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
10485
10486 * time/mktime.c: Use ISO C form for function definitions and
10487 remove unnecessary prototypes.
10488
10489 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
10490
10491 * time/time.h: Avoid unneccesary #ifdef.
10492
10493 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
10494
10495 * stdio-common/_itoa.c (_itoa): Correct parameters to
10496 udiv_qrnnd_preinv.
10497
10498 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10499
10500 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
10501 before (e.g. in glob.h).
10502 Closes PR libc/959.
10503
10504 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10505
10506 * sysdeps/mips/fpu_control.h: Fix typo.
10507 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
10508 Remove __setfpucw.
10509
10510 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
10511
10512 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
10513 the "unused" ends of the sockets. Let pipes be bidirectional.
10514
10515 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
10516
10517 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
10518 invalid ai_flags.
10519
10520 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10521
10522 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
10523 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
10524
10525 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
10526 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
10527
10528 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
10529
10530 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
10531
10532 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10533
10534 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
10535 check for priority mask.
10536
10537 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
10538
10539 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
10540 Reported by Craig Metz <cmetz@inner.net> .
10541
10542 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10543
10544 * stdio-common/Makefile (tests): tllformat added.
10545
10546 * stdio-common/tllformat.c: New program, based on tiformat.c with
10547 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
10548
10549 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10550
10551 * posix/test-vfork.c: Fix exit status test.
10552
10553 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10554
10555 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
10556 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
10557
10558 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10559
10560 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
10561 of separare explicit comparisons.
10562
10563 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10564
10565 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
10566 defined.
10567
10568 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
10569 defined.
10570
10571 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
10572
10573 * po/el.po: Update from translation team.
10574
10575 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10576
10577 * intl/locale.alias: Fix slovenian entry [PR libc/948].
10578
10579 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10580
10581 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
10582 * inet/ruserpass.c: Likewise.
10583 * locale/programs/stringtrans.c: Likewise.
10584 * locale/programs/localedef.c: Likewise.
10585 * nscd/grpcache.c: Likewise.
10586 * nss/nss_files/files-XXX.c: Likewise.
10587 * stdlib/canonicalize.c: Likewise.
10588 * sysdeps/posix/sigwait.c: Likewise.
10589
10590 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10591
10592 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
10593 even on 64 bit platforms.
10594
10595 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
10596 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
10597
10598 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
10599
10600 * intl/dcgettext.c: Include locale.h is available.
10601
10602 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
10603
10604 * po/nl.po: Update from translation team.
10605
10606 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
10607
10608 * Makefile: Allow calling goals for po subdir.
10609
10610 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
10611 signal definitions.
10612
10613 * po/el.po: New file.
10614
10615 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10616
10617 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
10618 when processing DT_SYMBOLIC objects.
10619
10620 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10621
10622 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
10623 program headers without PT_PHDR only require that they are
10624 contained within one of the loaded segments. Don't use assert,
10625 since that would be a bug in the object, not the dynamic linker.
10626
10627 1999-02-08 Richard Henderson <rth@cygnus.com>
10628
10629 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
10630 restore all call-clobbered fp regs.
10631
10632 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
10633
10634 * po/cs.po: New file.
10635
10636 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
10637 SUID binaries.
10638
10639 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
10640
10641 * signal/signal.h: Don't declare __libc_allocate_rtsig.
10642 * include/signal.h: Declare __libc_allocate_rtsig here.
10643
10644 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
10645 point functions, not do_lookup since the later can be called more
10646 than once.
10647
10648 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
10649
10650 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
10651 macro, so that architectures which need to add some special
10652 offset to stack pointer can share this file.
10653
10654 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
10655 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
10656 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
10657 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
10658
10659 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
10660 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
10661 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
10662 between sparc32 and sparc64.
10663
10664 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
10665 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
10666 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
10667 between sparc32 and sparc64.
10668
10669 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
10670 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
10671 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
10672 between sparc32 and sparc64.
10673
10674 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
10675 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
10676 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
10677 between sparc32 and sparc64.
10678
10679 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
10680
10681 * Versions.def: New version GLIBC_2.1.1 for libc.
10682 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
10683 * stdlib/labs.c: Moved to...
10684 * sysdeps/generic/labs.c: ...here.
10685 * stdlib/llabs.c: Moved to...
10686 * sysdeps/generic/llabs.c: ...here.
10687 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
10688 header. Declare _Exit.
10689 * sysdeps/generic/_exit.c: Add alias _Exit.
10690 * sysdeps/mach/hurd/_exit.c: Likewise.
10691 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
10692 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
10693 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
10694 * sysdeps/unix/_exit.c: Likewise.
10695 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
10696 imaxdiv and imaxabs. Declare lldiv_t if necessary.
10697 * sysdeps/wordsize-64/inttypes.h: Likewise.
10698 * sysdeps/wordsize-32/llabs.c: New file.
10699 * sysdeps/wordsize-32/lldiv.c: New file.
10700 * sysdeps/wordsize-64/labs.c: New file.
10701 * sysdeps/wordsize-64/ldiv.c: New file.
10702 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
10703 * manual/startup.texi: Document _Exit.
10704
10705 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10706
10707 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
10708
10709 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
10710
10711 * Versions.def: Add versions for ld.so.
10712 * csu/Versions: Remove __libc_stack_end here.
10713 * elf/Versions: Split libc definitions in libc and ld.so definitions.
10714 * elf/Makefile (ld-map): Change to ld.so.map.
10715 * scripts/versions.awk: Recognize dot in library names.
10716
10717 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
10718 Don't use __tolower and __toupper in inline functions.
10719 Add optimizing macros for tolower and toupper.
10720 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
10721 (_toupper): Don't use __toupper.
10722 * ctype/ctype.c (tolower): Don't use __tolower.
10723 (toupper): Don't use toupper.
10724
10725 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
10726
10727 * resolv/Versions (libresolv): Export __ns_name_unpack and
10728 __ns_name_ntop.
10729 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
10730 make it global. Change all users. Similar for ns_name_ntop.
10731 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
10732 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
10733 directly to detect too small buffer.
10734 * resolv/nss_dns/dns-network.c: Likewise.
10735
10736 * stdio-common/Makefile (tests): Add scanf12.
10737 * stdio-common/scanf12.c: New file.
10738 * stdio-common/scanf12.input: New file.
10739 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
10740 floating-point correctly if the number is invalid.
10741
10742 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
10743 functions.
10744 * stdio-common/printf_fp.c: Likewise.
10745 * stdio-common/printf_fphex.c: Likewise.
10746 * stdio-common/vfprintf.c: Likewise.
10747
10748
10749 See ChangeLog.9 for earlier changes.