]> sourceware.org Git - glibc.git/blob - ChangeLog
Update.
[glibc.git] / ChangeLog
1 1998-04-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2
3 * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
4 we only wait for a replay.
5
6 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
7
8 * iconvdata/Makefile: Finally fix dependencies for JOHAB and
9 EUC-KR modules.
10
11 1998-04-1 16:52 Philip Blundell <pb@nexus.co.uk>
12
13 * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
14 use PLTJMP() rather than explicit (PLT).
15
16 * sysdeps/arm/elf/start.S: Leave most of the initialisation for
17 __libc_start_main().
18
19 Based on patch from Pat Beirne:
20 * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
21 Always define, not only #ifndef PIC.
22 (DO_CALL): Pass fifth argument correctly in R4.
23 (PSEUDO): Correct test for error, call syscall_error through PLT
24 if PIC.
25
26 1998-03-31 10:51 Philip Blundell <pb@nexus.co.uk>
27
28 * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
29 definitions.
30
31 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
32
33 * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
34 JOHAB.so.
35
36 1998-04-01 13:20 Mark Kettenis <kettenis@phys.uva.nl>
37
38 * io/Makefile (static-only-routines): Add stat64, fstat64 and
39 lstat64.
40
41 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
42
43 * manual/Makefile: Use object-suffixes-for-libc instead of
44 object-suffixes.
45 * rpm/Makefile (install-lib): Likewise.
46
47 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
48
49 * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
50
51 * sysdeps/unix/sysv/linux/configure.in: Match $machine against
52 `m68*', not only `m68k'.
53
54 1998-04-01 10:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
55
56 * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
57
58 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
59 install lddlibc4.
60
61 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
62
63 * iconvdata/Makefile: Use libKSC shared object in JOHAB and
64 EUC-KR.
65
66 * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
67 comment.
68
69 1998-03-30 08:43 H.J. Lu <hjl@gnu.org>
70
71 * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
72 the init stuff.
73
74 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
75
76 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
77 adjtimex syscall.
78 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
79 adjtimex.
80 Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
81
82 1998-03-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
83
84 * Makerules (install): Change comment for libc.so following the
85 libc_nonshared changes.
86
87 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
88
89 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
90
91 * iconvdata/gap.pl: Avoid using %#06x.
92
93 1998-03-31 19:55 Zack Weinberg <zack@rabi.phys.columbia.edu>
94
95 * Makerules: Use $? instead of S^ when invoking ar.
96
97 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
98
99 * db2/compat.h: Allow EFTYPE being defined.
100 * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
101 * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
102 * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
103 * sysdeps/mach/bits/libc-lock.h: Fix typo.
104 (__libc_once): Correctly unlock semaphore.
105 * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
106 * sysdeps/unix/bsd/getpt.c: Fix typo.
107 Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
108
109 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
110
111 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
112 macros.
113
114 1998-03-31 18:11 Ulrich Drepper <drepper@cygnus.com>
115
116 * include/mntent.h: New file.
117
118 * elf/Makefile (trusted-dirs.h): Append slash to filename.
119 * elf/dl-load.c: Rewrite search path handling.
120 * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
121 * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
122 * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
123 * elf/ldsodefs.h: Add prototype.
124
125 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
126
127 * nss/nsswitch.c (__nss_lookup): Adjust comment.
128
129 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
130 function.
131
132 * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
133
134 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
135 New function.
136 (HWCAP_IMPORTANT): New definition.
137
138 1998-03-30 17:26 H.J. Lu <hjl@gnu.org>
139
140 * elf/dl-open.c (_dl_open): Fix a typo.
141 (_dl_global_scope_alloc): Make it static.
142
143 1998-03-30 17:20 Ulrich Drepper <drepper@cygnus.com>
144
145 * Makerules: Remove duplicate rules to handle stamp.oS.
146
147 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
148
149 * manual/examples/inetsrv.c (main): Change prototype of
150 make_socket following change in mkisock.c.
151
152 * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
153 example host.
154 (main): Change prototype of init_sockaddr following change in
155 isockadd.c.
156
157 * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
158 * manual/examples/isockad.c (init_sockaddr): Likewise.
159
160 * manual/examples/mkfsock.c (make_named_socket): Removed blank
161 lines for clarification.
162 (make_named_socket): Use strncpy instead of strcpy.
163 Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
164
165 1998-03-30 13:28 Ulrich Drepper <drepper@cygnus.com>
166
167 * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
168 determining libs to remove.
169 (postclean): Add soversions.mk.
170 * Makerules (common-mostlyclean): Add tests-static and generated
171 files.
172
173 1998-03-30 12:53 Ulrich Drepper <drepper@cygnus.com>
174
175 * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
176 scanning for \0.
177 (__strncat_g): Add i686 specific code.
178
179 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
180
181 * manual/install.texi (Reporting Bugs): Ask to include section
182 names in reports.
183
184 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
185
186 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
187 guard against direct inclusion.
188
189 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
190
191 Rework support for libc_nonshared.a:
192 * Makeconfig (object-suffixes-for-libc): New variable.
193 * Rules: Remove handling of static-only and shared-only routines.
194 * Makerules: Handle them here instead. Use
195 object-suffixes-for-libc instead of object-suffixes when dealing
196 with libc objects.
197 (object-suffixes-for-rules): Remove variable.
198 (elide-routines.oS): Elide all routines except static-only
199 routines.
200 ($(objpfx)stamp.oS): Special rule for when static-only-routines is
201 empty.
202 (installed-libcs): Remove special case for .oS.
203 (rmobjs): Likewise.
204
205 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
206
207 * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
208 do-tst-rpmatch): New targets.
209 (test): Use them.
210 (install-locales): Ignore comment lines.
211
212 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
213
214 * elf/Makefile ($(objpfx)ld.so): Depend on version script.
215 ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
216 ($(objpfx)rtldtbl.h): Likewise.
217 (CPPFLAGS-dl-load.c): Fix reference to object directory.
218
219 1998-03-30 09:36 Ulrich Drepper <drepper@cygnus.com>
220
221 * manual/string.texi (Finding Tokens in a String): Extend strsep
222 description and correct example.
223
224 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
225
226 * manual/socket.texi: Remove misguided explicit line breaks and
227 fix the formatting problem instead by reformulating the
228 paragraphs.
229 * manual/filesys.texi: Likewise.
230 * manual/conf.texi: Likewise. Don't typeset table with index
231 fonts, that looks worse than a minimally overfull line.
232
233 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
234
235 * nscd/Makefile (nscd-modules): Move definition outside of
236 conditional.
237
238 * pwd/Makefile: Use have-thread-library to test for thread
239 library.
240
241 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
242
243 * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
244
245 * iconvdata/uhc.c (gconv): Remove unused variable idx.
246
247 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
248
249 * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
250
251 1998-03-29 Ulrich Drepper <drepper@cygnus.com>
252
253 * nss/getXXent_r.c: Correctly handle failing setXXent function.
254
255 * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
256 Reported by Andreas Jaeger.
257
258 1998-03-29 20:59 Ulrich Drepper <drepper@cygnus.com>
259
260 * elf/Makefile: Fix typo.
261 (distribute): Add dl-librecon.h.
262 * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
263 * elf/ldd.sh.in: Likewise.
264 * elf/ldsodefs.h: Declare _dl_correct_cache_id.
265 * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
266 Use strsep correctly.
267 (process_envvars): Allow platform specific variables.
268 * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
269 (_dl_load_cache_lookup): Test cache IDs found against
270 _dl_correct_cache_id.
271 * sysdeps/generic/dl-librecon.h: New file.
272 * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
273
274 * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
275
276 1998-03-29 16:50 Ulrich Drepper <drepper@cygnus.com>
277
278 * config.make.in (ldd-rewrite-script): New variable.
279 * configure.in: Substitute ldd-rewrite-script.
280 * elf/Makefile: Rewrite rules to generate ldd script.
281 * elf/ldd.bash.in: Allow handling of non-ELF binaries.
282 * elf/ldd.sh.in: Likewise.
283 * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
284 * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
285 point to sed script for libc4 handling insertion for ix86, m68, SPARC.
286 * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
287 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
288
289 1998-03-26 15:20 Zack Weinberg <zack@rabi.phys.columbia.edu>
290
291 * inet/rcmd.c (iruserok): Remain setuid to the local user
292 while .rhosts is actually read, to make .rhosts-over-NFS work
293 (PR libc/524). Use iruserfopen() for security checks on both
294 hosts.equiv and .rhosts. General cleanup.
295 (iruserfopen): New function, performs careful checking on
296 hosts.equiv/.rhosts files. Disallows all the old forbidden
297 stuff plus hard links to files.
298
299 1998-03-29 09:26 Ulrich Drepper <drepper@cygnus.com>
300
301 * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
302
303 * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
304
305 1998-03-29 02:02 H.J. Lu <hjl@gnu.org>
306
307 * sysdeps/i386/i486/bits/string.h: Fix typos.
308
309 1998-03-28 00:13 H.J. Lu <hjl@gnu.org>
310
311 * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
312 strong alias.
313
314 * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
315
316 * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
317 Added. Used by libm.so on alpha.
318
319 1998-03-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
320
321 * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
322 defined.
323
324 1998-03-27 07:29 H.J. Lu <hjl@gnu.org>
325
326 * Makerules (object-suffixes-for-rules): Add .oS only for
327 building shared library.
328 Add ranlib rule for nonshared library.
329 (rmobjs): Fix typo.
330
331 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
332 into for shared library only.
333 (CPPFLAGS-.oS): Add -DPIC.
334 (libtypes): Use $(object-suffixes-for-rules) instead of
335 $(object-suffixes).
336
337 1998-03-28 Ulrich Drepper <drepper@cygnus.com>
338
339 * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
340 and install lddlibc4.
341
342 1998-03-28 09:13 Zack Weinberg <zack@rabi.phys.columbia.edu>
343
344 * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
345 hash.
346 * iconvdata/gaptab.pl: Likewise.
347
348 1998-03-27 22:46 Ulrich Drepper <drepper@cygnus.com>
349
350 * Rules: Allow Makefiles to specify test-static for tests which
351 cannot be linked dynamically.
352 * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
353 tests-static.
354
355 * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
356
357 * misc/error.c: Pretty print.
358
359 1998-03-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
360
361 * Makerules (libc_nonshared-name): Remove variable.
362 (installed-libcs): Use libc-name instead.
363 ($(inst_libdir)/libc.so): Likewise. Remove explicit reference to
364 dynamic linker.
365
366 * Makeconfig (link-libc): Link against libc_nonshared.a instead of
367 libc.a. Remove explicit reference to dynamic linker.
368
369 1998-03-27 Ulrich Drepper <drepper@cygnus.com>
370
371 * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
372 to wchar_t.
373 * iconv/iconv_prog.c: Correctly test for write failure.
374 * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
375 * iconvdata/gconv-modules: Likewise.
376 * iconvdata/euckr.c: New file.
377 * iconvdata/johab.c: New file.
378 * iconvdata/ksc5601.c: New file.
379 * iconvdata/ksc5601.h: New file.
380 * iconvdata/uhc.c: New file.
381 Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
382
383 * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
384 * stdio/fopen.c: Correct handling of 'x' flag.
385 Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
386
387 1998-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
388
389 * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
390 * sunrpc/rpcsvc/key_prot.x: Likewise.
391 * sunrpc/key_prot.c: Likewise.
392
393 1998-03-27 13:49 Ulrich Drepper <drepper@cygnus.com>
394
395 * sysdeps/i386/bits/string.h: Correct things which never worked.
396 * sysdeps/i386/i486/bits/string.h: Add clobber marks.
397 Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
398
399 1998-03-27 Ulrich Drepper <drepper@cygnus.com>
400
401 * intl/textdomain.c [_LIBC]: Define strdup only if not yet
402 defined. Reported by Thorsten Kukuk.
403
404 1998-03-26 18:50 Ulrich Drepper <drepper@cygnus.com>
405
406 * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
407
408 1998-03-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
409
410 * manual/install.texi (Supported Configurations): Add
411 arm-linuxaout and arm-none.
412
413 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
414
415 * version.h (VERSION): Bump to 2.0.93.
416
417 1998-03-25 07:30 H.J. Lu <hjl@gnu.org>
418
419 * configure.in (libc_cv_ar_S): New to indicate if ar S works.
420
421 * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
422
423 * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
424 (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
425
426 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
427
428 * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
429
430 1998-03-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
431
432 Put the static-only routines in a separate library.
433 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
434 variables.
435 (all-object-suffixes): Add .oS.
436 * Makerules (libc_static-name): New variable.
437 (installed-libcs): Add libc_nonshared.a.
438 ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
439 (object-suffixes-for-rules): New variable. Use it instead of
440 object-suffixes for generating compilation rules.
441 (rmobjs): Also remove *.oS.
442 * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
443 ($(objpfx)stamp.oS): New target.
444
445 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
446
447 * Makefile (FAQ): Automatically check in regenerated FAQ.
448
449 1998-03-26 10:16 Zack Weinberg <zack@rabi.phys.columbia.edu>
450
451 * Makefile (INSTALL): Depend on install.texi, not maint.texi.
452
453 1998-03-25 Ulrich Drepper <drepper@cygnus.com>
454
455 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
456 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
457
458 * sysdeps/generic/stub_warning: Removed.
459
460 * Makefile (distribute): Add include/des.h.
461
462 * manual/Makefile (distribute): Change dir-add.texi to
463 dir-add.texinfo.
464
465 * glibcbug.in: Create files safely when mktemp is not available.
466
467 * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
468 Patch by a sun <asun@saul1.u.washington.edu>.
469
470 1998-03-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
471
472 * libc.map: Rename getname to getnetname.
473
474 1998-03-25 13:35 Ulrich Drepper <drepper@cygnus.com>
475
476 * manual/maint.texi: Use supported platform in examples.
477
478 * manual/install.texi: Document some installation tips.
479
480 1998-03-25 10:56 Ulrich Drepper <drepper@cygnus.com>
481
482 * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
483 Fix a bug so that it returns an error if a numeric parameter is
484 unset and WRDE_UNDEF is set.
485 Patch by Andreas Schwab and Tim Waugh.
486 * posix/wordexp-test.c: Add new new test.
487
488 1998-03-25 Ulrich Drepper <drepper@cygnus.com>
489
490 * posix/regex.c (regex_compile): Last patch wasn't entirely
491 correct. Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
492
493 1998-03-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
494
495 * manual/filesys.texi (Scanning Directory Content): Fix typo.
496
497 1998-03-25 09:24 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
498
499 * sysdeps/i386/bits/string.h: Fix all assembler statements so that
500 clobbered registers don't appear as operands.
501
502 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
503
504 * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
505 Solaris' sake.
506
507 * posix/regex.c (regex_compile): Don't allow non-alphabet
508 characters in character set name.
509
510 1998-03-25 00:00 Tim Waugh <tim@cyberelk.demon.co.uk>
511
512 * posix/wordexp.c (w_newword): New function.
513 (do_parse_glob): New function.
514 (parse_glob): Use do_parse_glob. Now handles the case where a
515 variable expansion causes a field-split.
516 (wordexp): Use w_newword.
517 (parse_arith): Likewise.
518 (exec_comm): Likewise.
519 (parse_comm): Likewise.
520 (parse_param): Likewise.
521 (parse_backtick): Likewise.
522
523 1998-03-24 19:36 Tim Waugh <tim@cyberelk.demon.co.uk>
524
525 * posix/wordexp-tst.sh: Another test.
526
527 * posix/wordexp-test.c: Two new tests.
528
529 * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
530 directly (the code using realloc was buggy).
531 (parse_param): Fix typo in comment.
532
533 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
534
535 * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
536
537 1998-03-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
538
539 * libc.map: Add more rpc auth functions/variables.
540
541 * nscd/nscd.c: Add -g option to argp options.
542
543 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
544
545 * configure.in: Be prepared for gcc 2.9.10 and up.
546 * configure.in: Add missing disabling of quote characters in
547 compiler version check. Reported by HJ Lu.
548
549 1998-03-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
550
551 * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
552
553 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
554
555 * intl/locale.alias: Fix spelling of romanian.
556
557 * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
558 (distribute): Remove des.h.
559 * include/des.h: New file.
560 * sunrpc/des.h: Moved to ...
561 * sunrpc/rpc/rpc_des.h: ...here.
562
563 1998-03-22 NIIBE Yutaka <gniibe@mri.co.jp>
564
565 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
566 Fix paren.
567
568 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
569
570 * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
571 parameter const. Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
572
573 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
574
575 * elf/ldsodesf.h: New file.
576 * elf/Makefile (distribute): Add ldsodefs.h.
577 * elf/link.h: Separate internal information in exter header.
578 * elf/rtld.c: Include elf/ldsodefs.h not link.h.
579 * elf/dl-minimal.c: Likewise.
580 * sysdeps/generic/dl-sysdep.c: Likewise.
581 * elf/sprof.c: Likewise.
582 * elf/dlsym.c: Likewise.
583 * elf/dlvsym.c: Likewise.
584 * elf/dlerror.c: Likewise.
585 * elf/dladdr.c: Likewise.
586 * elf/dlclose.c: Likewise.
587 * elf/dlopen.c: Likewise.
588 * elf/dl-addr.c: Likewise.
589 * elf/dl-close.c: Likewise.
590 * elf/dl-debug.c: Likewise.
591 * elf/dl-deps.c: Likewise.
592 * elf/dl-error.c: Likewise.
593 * elf/dl-fini.c: Likewise.
594 * elf/dl-init.c: Likewise.
595 * elf/dl-load.c: Likewise.
596 * elf/dl-lookup.c: Likewise.
597 * elf/dl-object.c: Likewise.
598 * elf/dl-open.c: Likewise.
599 * elf/dl-profile.c: Likewise.
600 * elf/dl-reloc.c: Likewise.
601 * elf/dl-runtime.c: Likewise.
602 * elf/dl-support.c: Likewise.
603 * elf/dl-symbol.c: Likewise.
604 * elf/dl-version.c: Likewise.
605 * sysdeps/generic/dl-cache.c: Likewise.
606 * sysdeps/generic/libc-start.c: Likewise.
607 * iconv/gconv_dl.c: Likewise.
608 * nss/nsswitch.c: Likewise.
609
610 1998-03-23 13:45 Ulrich Drepper <drepper@cygnus.com>
611
612 * manual/nss.texi: The database is not called network but networks.
613 Reported by Herbert Xu <herbert@gondor.apana.org.au>.
614
615 1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
616
617 * configure.in: Correct test for compiler version.
618 Check that LD_LIBRARY_PATH doesn't contain current path.
619
620 1998-03-23 07:52 H.J. Lu <hjl@gnu.org>
621
622 * elf/dl-close.c (_dl_close): Fix byte count while removing
623 the shared object from the global scope list and optimize
624 a little bit.
625
626 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
627
628 * manual/filesys.texi (Scanning Directory Content): Add missing
629 closing brace.
630 (Scanning Directory Content): Fix text.
631
632 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
633
634 * manual/memory.texi (Heap Consistency Checking): Add paragraph
635 explaining difference of -lmcheck and MALLOC_CHECK_.
636
637 1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
638
639 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
640 typos in comments.
641
642 1998-03-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
643
644 * test-skeleton.c (main): Fix test for exit signal.
645
646 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
647
648 * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
649
650 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
651
652 * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
653 appropriate.
654
655 1998-03-23 11:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
656
657 * libc.map: Export __strtok_r.
658
659 1998-03-23 Ulrich Drepper <drepper@cygnus.com>
660
661 * posix/regex.c (re_compile_fastmap): Remove unused variable
662 num_regs and adjust comment.
663 Patch by Jim Meyering <meyering@ascend.com>.
664
665 * math/math.h (M_*l): Extend long double constants to be usable
666 for 128 bit floats. Patch by Richard Henderson.
667
668 1998-03-23 11:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
669
670 * sysdeps/m68k/m68020/wordcopy.S: New file.
671
672 1998-03-22 Ulrich Drepper <drepper@cygnus.com>
673
674 * posix/wordexp.c: Rewrite parse_param.
675 Patch by Tim Waugh and Andreas Schwab.
676
677 1998-03-21 23:46 Zack Weinberg <zack@rabi.phys.columbia.edu>
678
679 * Rules: Update timestamps on empty object files.
680
681 1998-03-21 09:15 Ulrich Drepper <drepper@cygnus.com>
682
683 * manual/filesys.texi (Scanning Directory Content): Add description
684 of 64 bits scandir function and friends.
685
686 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
687
688 * glibcbug.in: Use mktemp to generate unique file name for
689 temporary files.
690
691 * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
692 ptsname_r. Use cast for execve call.
693
694 1998-03-20 16:24 Ulrich Drepper <drepper@cygnus.com>
695
696 * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
697 * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
698 * io/sys/statvfs.h: New file.
699 * sysdeps/generic/fstatvfs.h: New file.
700 * sysdeps/generic/statvfs.h: New file.
701 * sysdeps/generic/fstatvfs64.h: New file.
702 * sysdeps/generic/statvfs64.h: New file.
703 * sysdeps/generic/bits/statvfs.h: New file.
704 * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
705 * sysdeps/unix/sysv/linux/statvfs.c: New file.
706 * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
707
708 * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
709 and f_ffree elements.
710
711 * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print. Define
712 mount options in enum.
713
714 1998-03-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
715
716 * configure.in: Check for recent egcs/gcc.
717
718 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
719
720 * libc.map: Add alphasort64, scandir64, versionsort64.
721 * dirent/Makefile (routines): Add scandir64, alphasort64, and
722 versionsort64.
723 * dirent/alphasort64.c: New file.
724 * dirent/scandir64.c: New file.
725 * dirent/versionsort64.c: New file.
726 * dirent/dirent.h: Add LFS support for scandir, alphasort, and
727 versionsort.
728 * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
729 old name weak alias.
730 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
731
732 * dirent/alphasort.c: Use strcoll instead of strcmp.
733
734 * dirent/scandir.c: Optimize a bit.
735
736 * dirent/versionsort.c: Pretty print.
737
738 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
739
740 * string/string.h: Add prototype for __strtok_r.
741
742 1998-03-20 12:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
743
744 * posix/Makefile: Fix typo in last change.
745
746 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
747
748 * dirent/dirent.h (scandir): Make argument of select function const.
749 * dirent/scandir.c (scandir): Likewise.
750 Reported by David.Faure@insa-lyon.fr [PR libc/512].
751
752 1998-03-19 14:28 Ulrich Drepper <drepper@cygnus.com>
753
754 * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
755 weak alias.
756 * sysdeps/i386/strtok_r.c: Likewise.
757
758 * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
759 * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
760 * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
761 * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
762 * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
763 * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
764
765 1998-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
766
767 * intl/localealias.c: Remove unneeded define for strdup.
768
769 1998-03-19 13:45 Ulrich Drepper <drepper@cygnus.com>
770
771 * manual/argp.texi: Adjust for better TeX output.
772 * manual/arith.texi: Likewise.
773 * manual/conf.texi: Likewise.
774 * manual/filesys.texi: Likewise.
775 * manual/header.texi: Likewise.
776 * manual/lgpl.texinfo: Likewise.
777 * manual/math.texi: Likewise.
778 * manual/message.texi: Likewise.
779 * manual/pattern.texi: Likewise.
780 * manual/process.texi: Likewise.
781 * manual/signal.texi: Likewise.
782 * manual/socket.texi: Likewise.
783 * manual/startup.texi: Likewise.
784 * manual/stdio.texi: Likewise.
785 * manual/terminal.texi: Likewise.
786 * manual/examples/rprintf.c: Likewise.
787 * manual/examples/testopt.c: Likewise.
788 Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
789
790 1998-03-19 20:45 Tim Waugh <tim@cyberelk.demon.co.uk>
791
792 * posix/wordexp.c (parse_param): Don't immediately stop parsing a
793 parameter name after seeing a digit if it's enclosed in braces.
794
795 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
796
797 * sysdeps/i386/i686/Implies: Add libm-i387/i686.
798
799 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
800
801 * manual/memory.texi (Heap Consistency Checking): Document
802 MALLOC_CHECK_. Based on a text by Wolfram Gloger.
803
804 1998-03-18 17:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
805
806 * manual/Makefile: Add missing rules.
807
808 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
809
810 * timezone/Makefile (generated): Define to remove all stamp files.
811
812 * sysdeps/generic/strsep.c: Also undefine __strsep.
813
814 * string/strdup.c: Undefine __strdup and strdup first.
815 * string/strndup.c: Likewise.
816
817 * string/bits/string2.h: Correct strtok_r and strsep.
818 Add strndup optimization.
819
820 * sysdeps/generic/strsep.c: Little optimization.
821
822 1998-03-18 14:25 Ulrich Drepper <drepper@cygnus.com>
823
824 * string/bits/string2.h: Add optimization for strdup.
825 Always define __strsep and __strtok_r and make real names available
826 when feature select macros are defined.
827
828 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
829
830 * manual/install.texi (Installation): Use i486-linux as example
831 instead of the unsupported sunos4.
832 (Reporting Bugs): Mention glibcbug script.
833 (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
834
835 1998-03-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
836
837 * posix/wordexp-tst.sh: Make portable. Add more tests.
838
839 * posix/Makefile (do-globtest do-wordexp-test): New targets.
840
841 1998-03-18 13:38 Ulrich Drepper <drepper@cygnus.com>
842
843 * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
844 * sysdeps/generic/libc-start.c: ...here, replacing former content.
845
846 * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
847 netpacket/packet.h.
848
849 * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
850
851 1998-03-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
852
853 * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
854 in enumerator for strict standard compliance.
855 * sysdeps/generic/bits/resource.h: Likewise.
856
857 1998-03-18 10:04 Philip Blundell <pb@nexus.co.uk>
858
859 * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
860 (PLTJMP): New macro.
861
862 * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
863 longjmp() when floating point enabled.
864 * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
865 * sysdeps/arm/__longjmp.S: Remove floating point code.
866 * sysdeps/arm/setjmp.S: Likewise.
867
868 * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
869 * sysdeps/arm/bsd-_setjmp.S: Likewise.
870
871 * sysdeps/arm/memset.S: New file; optimised ARM implementation of
872 memset().
873
874 * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
875 prototype.
876
877 1998-03-17 16:16 Philip Blundell <pb@nexus.co.uk>
878
879 Based on patches from Pat Beirne and Scott Bambrough:
880
881 * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
882
883 * sysdeps/arm/bits/fenv.h: New file.
884
885 * sysdeps/arm/dl-machine.h: New file. Add ELF support.
886 * sysdeps/arm/elf/setjmp.S: Likewise.
887 * sysdeps/arm/elf/start.S: Likewise.
888 * sysdeps/arm/init-first.c: Likewise.
889 * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
890 * sysdeps/arm/sysdep.h: Change format of .type directive. Correct
891 comment about floating point to reflect current reality.
892
893 * sysdeps/unix/arm/brk.S: Support PIC.
894 * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
895 re-entrant code.
896 * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
897 return; call syscall_error through PLT.
898 * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
899
900 1998-03-04 12:01 Philip Blundell <pb@nexus.co.uk>
901
902 * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
903 * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
904 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
905
906 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
907
908 * dirent/list.c (test): Return error value.
909 (main): Exit with error value.
910
911 * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
912
913 * Makefile (distribute): Add test-skeleton.c.
914 * test-skeleton.c: New file.
915 * dirent/Makefile (tests): Add opendir-tst1.
916 * dirent/opendir-tst1.c: New file.
917
918 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
919
920 * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
921 Optimize memory handling.
922 * sysdeps/unix/closedir.c: Optmize memory handling.
923
924 1998-03-17 Ulrich Drepper <drepper@cygnus.com>
925
926 * posix/wordexp.c (parse_param): Fix off-by-on error in $@
927 handling. Optimize a bit.
928
929 1998-03-18 00:25 Tim Waugh <tim@cyberelk.demon.co.uk>
930
931 * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
932 (parse_param): Fold in Andreas' fixes to do with when the end of
933 the parameter name has been reached, and quoting inside ${...}.
934 (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
935 $((echo);(ls)).
936
937 1998-03-16 22:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
938
939 * manual/maint.texi: Split out installation and contribution
940 sections to their own appendices. Misc cleanups.
941 * manual/install.texi: New file. Mention add-ons. Refer to FAQ.
942 * manual/contrib.texi: New file.
943 * manual/libc.texinfo: Pull in new appendices.
944 * manual/header.texi: Correct node pointer.
945
946 1998-03-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
947
948 * manual/process.texi (Process Completion): Clarify return value
949 of waitpid a bit. Patch by Zack Weinberg. [PR libc/490]
950
951 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
952
953 * posix/wordexp-test.c: Add more tests.
954 (testit): Fix logic.
955
956 * posix/wordexp.c (exec_comm): In the child, redirect stderr to
957 /dev/null instead of closing it, close pipe. Always chop off all
958 trailing newlines. Kill and reap child before returning error.
959 (w_addword, parse_glob): Fix memory leak.
960 (wordexp): Fix dangling pointer problem.
961
962 1998-03-16 Ulrich Drepper <drepper@cygnus.com>
963
964 * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
965
966 * posix/wordexp-test.c (main): Fix little thinkos and typos.
967
968 * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
969 directory index by only the language.
970
971 1998-03-16 13:02 Tim Waugh <tim@cyberelk.demon.co.uk>
972
973 * posix/wordexp-tst.sh: Store test results in the
974 ${common_objpfx}posix directory.
975
976 * posix/wordexp-test.c: Remove temporary directory afterwards.
977
978 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
979
980 * libc.map: Export internal versions of cancelable functions.
981
982 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
983
984 * Makerules (MAKEFLAGS): Append `r'.
985
986 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
987
988 * Makeconfig: Define have-thread-library, shared-thread-library
989 and static-thread-library if a thread library is available. Don't
990 define rt.
991 * nscd/Makefile: Compile nscd if have-thread-library. Rename
992 nscd-routines to nscd-modules. Use shared-thread-library and
993 static-thread-library in dependencies.
994 * rt/Makefile: Only compile librt if have-thread-library is
995 defined.
996 * Makefile (subdirs): Always include rt subdir.
997
998 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
999
1000 * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
1001
1002 1998-03-14 21:55 Ulrich Drepper <drepper@cygnus.com>
1003
1004 * configure.in: Recognize variations for 32 MIPS processors.
1005 Don't assume ELF systems always have .weak, test for .weakext.
1006
1007 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
1008
1009 * configure.in: Irix6 is an ELF platform.
1010
1011 1998-03-14 11:47 H.J. Lu <hjl@gnu.org>
1012
1013 * elf/dl-close.c (_dl_close): Stop unmapping the segments after
1014 unmapping the last loaded segment.
1015
1016 1998-03-14 15:54 Ulrich Drepper <drepper@cygnus.com>
1017
1018 * configure.in: Set base_os for Irix6.
1019 Correct test for .weakext.
1020
1021 1998-03-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1022
1023 * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
1024 (new_line) to _dl_debug_message call.
1025
1026 1998-03-14 00:52 Tim Waugh <tim@cyberelk.demon.co.uk>
1027
1028 * posix/wordexp.c (parse_param): Perform field-splitting after
1029 expanding positional parameter.
1030
1031 * posix/wordexp-tst.sh: Test that field-splitting is performed
1032 after expanding positional parameter.
1033
1034 * posix/wordexp.c (parse_param): Fixed memory leak in
1035 field-splitting after parameter expansion.
1036
1037 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
1038
1039 * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
1040 (get_toplvl_escape): Correctly terminate loop at EOF.
1041 Patch by Cristian Gafton <gafton@redhat.com>.
1042
1043 1998-03-13 16:55 Ulrich Drepper <drepper@cygnus.com>
1044
1045 * string/tester.c (test_strpbrk): Add more strpbrk tests.
1046 (test_strsep): Likewise. Correct horrible bugs.
1047
1048 * string/bits/string2.h (strcspn): Optimize also reject string of
1049 length 2 and 3.
1050 (strspn): Likewise.
1051 (strpbrk): Likewise.
1052 (strsep): Likewise. Correct bug with successive separators and
1053 separators at the end of the string.
1054 * sysdeps/generic/strsep.c: Correct bug with successive separators
1055 and separators at the end of the string.
1056
1057 1998-03-13 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
1058
1059 * posix/wordexp.c (parse_param): Positional parameters ($1, $2
1060 etc) now handled, as well as $$ (pid).
1061
1062 * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
1063 (distribute): Add wordexp-tst.sh.
1064
1065 * posix/wordexp-tst.sh: New file.
1066
1067 * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
1068 number of positional parameters. Renamed substitute_length to
1069 seen_hash.
1070 Don't free(env) is env is NULL.
1071
1072 1998-03-13 16:50 Ulrich Drepper <drepper@cygnus.com>
1073
1074 * libc.map: Add pthread_attr_init to GLIBC_2.1.
1075
1076 1998-03-13 15:01 Ulrich Drepper <drepper@cygnus.com>
1077
1078 * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
1079 for output file replacing gmon.out.
1080 Patch by Dean Gaudet <dgaudet@arctic.org>.
1081
1082 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1083
1084 * elf/dl-misc.c (_dl_debug_message): Fix printing of pid. Clean
1085 up namespace. Optimize finding end of line.
1086
1087 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1088
1089 * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
1090 securely. Optimized.
1091 (process_dl_debug): Add ':' to list of separators. Optimized.
1092
1093 1998-03-13 10:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1094
1095 * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
1096 isless, islessequal, islessgreater, isunordered): Return zero or
1097 one.
1098
1099 1998-03-12 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
1100
1101 * posix/wordexp-test.c: More tests.
1102 (main): Set up arena for pathname expansion tests (in a temporary
1103 directory).
1104 (testit): Don't check word count or word vector if return value is
1105 non-zero.
1106
1107 * posix/wordexp.c (exec_comm): Always chop off terminating
1108 linefeed (just like bash does).
1109 (parse_param): Change lots of occurrences of "if (!*env)" to "if
1110 (!env || !*env)".
1111 (parse_param): For assignment inside parameter expansion, use all
1112 expanded words in assignment rather than just the first.
1113 (parse_param): Corrected return value for parameter expansion of
1114 an unset variable when WRDE_UNDEF is in effect.
1115 (parse_dollars): Don't field-split if quoted.
1116 (wordexp): Opening brace character isn't allowed unquoted.
1117
1118 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
1119
1120 * elf/dlerror.c: Fix concurrency problems with error string and
1121 number.
1122
1123 * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
1124 filter/auxiliary are being loaded.
1125
1126 1998-03-12 14:24 Ulrich Drepper <drepper@cygnus.com>
1127
1128 * elf/dlerror.c (last_object_name): Removed.
1129 (dlerror): Don't use last_object_name.
1130 (_dl_error_run): Omit second argument to _dl_catch_error.
1131 * elf/dl-error.c (struct catch): Remove objname member.
1132 (_dl_signal_error): Construct string including objname when given.
1133 (_dl_catch_error): Remove objname handling.
1134 * elf/link.h (_dl_catch_error): Fix prototype and comment.
1135 * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
1136 * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
1137 * nss/nsswitch.c (nss_dlerror_run): Likewise.
1138 * iconv/gconv_dl.c (dlerror_run): Likewise.
1139 [Corrects PR libc/501].
1140
1141 1998-03-12 Matthias Urlichs <smurf@noris.de>
1142
1143 * nscd/nscd.c: Ignore SIGPIPE.
1144
1145 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
1146
1147 * nscd/nscd_getgr_r.c: Use __ protected names.
1148 * nscd/nscd_getpw_r.c: Likewise.
1149
1150 1998-03-12 Matthias Urlichs <smurf@noris.de>
1151
1152 * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
1153 * nscd/nscd_getpw_r.c: Fix length calculation in result check,
1154 null bytes are not transmitted.
1155
1156 1998-03-12 00:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1157
1158 * powerpc/syscalls.list: Correct typo.
1159 * alpha/syscalls.list: Likewise.
1160 * mips/syscalls.list: Likewise.
1161
1162 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
1163
1164 * socket/sys/socket.h: Add prototype for __socket.
1165
1166 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
1167
1168 * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
1169
1170 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
1171 constants.
1172
1173 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
1174 definition here.
1175 * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
1176 definition here.
1177
1178 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
1179 AF_* and PF_* constants.
1180
1181 * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
1182
1183 1998-03-11 15:27 Ulrich Drepper <drepper@cygnus.com>
1184
1185 * elf/rtld.c: Update help message.
1186 Install link maps for preloaded objects using main_map as loader.
1187
1188 * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
1189 * elf/dl-profile.c: Likewise.
1190
1191 * elf/dlsym.c: Little optimization.
1192 * elf/dlvsym.c: Likewise.
1193
1194 1998-03-11 14:56 Ulrich Drepper <drepper@cygnus.com>
1195
1196 * posix/wordexp-test.c: Move test for parameter list at the very
1197 beginning.
1198
1199 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
1200
1201 * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
1202 WRDE_REUSE flag is set.
1203 (parse_param): Allow `*', `@', and numbers in parameter names.
1204 (parse_dollars): Differentiate between arithmetic expansion and a
1205 command substitution that starts immediately with a sub-shell
1206 (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
1207 (parse_param): Memory allocated with __alloca in a block was
1208 referenced outside that block. Adjusted to use malloc/free.
1209 (parse_param): Adjusted field-splitting algorithm so that there is
1210 not necessarily a field split at the end of a parameter expansion.
1211
1212 1998-03-10 19:52 Tim Waugh <tim@cyberelk.demon.co.uk>
1213
1214 * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
1215 don't free words that have already been allocated.
1216 (parse_param): A dollar sign on its own will never have a pattern
1217 associated with it (like "${HOME%%/}" has), so don't try to free it.
1218 (parse_glob): Attempt to glob when an unquoted `[' is found
1219 (rather than an unquoted '{' (!)). Also for unquoted '?'.
1220 (parse_glob): Sorted out quoting in a glob-able word.
1221 (parse_param): Added $* and $@ handling.
1222
1223 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
1224
1225 * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
1226 parsing it.
1227
1228 1998-03-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1229
1230 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
1231 _dl_debug_message.
1232
1233 1998-03-12 Matthias Urlichs <smurf@noris.de>
1234
1235 * elf/dl-misc.c: Default for debug output should be stderr.
1236 * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
1237 * elf/dl-lookup.c: reference_name may be NULL or empty.
1238
1239 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1240
1241 * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
1242
1243 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
1244
1245 * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
1246
1247 * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
1248
1249 1998-03-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1250
1251 * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
1252 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
1253
1254 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1255
1256 * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
1257 init stuff.
1258
1259 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
1260
1261 * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
1262 flag.
1263
1264 * misc/syslog.c (vsyslog): Don't try to send if not connected to
1265 syslog daemon.
1266 (closelog_internal): Don't do anything if not connected.
1267
1268 1998-03-10 17:54 Ulrich Drepper <drepper@cygnus.com>
1269
1270 * libc.map: Add _dl_debug_message.
1271 * elf/dl-misc.c: Make _dl_debug_message a function. Print the PID
1272 before every line.
1273 * elf/fini.c: Correctly use new _dl_debug_message function.
1274 * elf/init.c: Likewise.
1275 * elf/dl-lookup.c: Likewise.
1276 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
1277 * elf/dl-load.c: Likewise. Add more debugging prints.
1278 * elf/dl-reloc.c: Likewise.
1279 * elf/dl-version.c: Likewise.
1280 * elf/dl-support.c: Add variables for debugging.
1281 * elf/rtld.c: Likewise. Recognize new debug options.
1282 * elf/link.h: Declare new variables.
1283
1284 * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
1285
1286 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
1287
1288 * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
1289 kernel headers. Patch by a sun <asun@saul7.u.washington.edu>.
1290
1291 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
1292
1293 * posix/wordexp-test.c (command_line_test): New function to allow
1294 testing of specific cases from the command-line.
1295
1296 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
1297
1298 * elf/dl-init.c (_dl_init_next): Print nicer messages.
1299 * elf/dl-fini.c (_dl_fini): Likewise.
1300 * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
1301
1302 * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
1303 symbol in debug message.
1304 (_dl_lookup_versioned_symbol_skip): Likewise.
1305
1306 1998-03-10 19:43 Matthias Urlichs <urlichs@noris.de>
1307
1308 * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
1309 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
1310 * manual/filesys/texi: Document this.
1311
1312 1998-03-10 10:49 Ulrich Drepper <drepper@cygnus.com>
1313
1314 * manual/filesys.texi: Document the change below.
1315
1316 1998-03-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1317
1318 * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
1319 Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
1320
1321 1998-03-10 00:10 Ulrich Drepper <drepper@cygnus.com>
1322
1323 * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
1324 instead scope. If debugging display information about symbol
1325 resolving.
1326 (_dl_lookup_symbol): Call do_lookup with correct parameters.
1327 (_dl_lookup_symbol_skip): Likewise.
1328 (_dl_lookup_versioned_symbol): Likewise.
1329 (_dl_lookup_versioned_symbol_skip): Likewise.
1330 * elf/dl-support.c: Define _dl_debug_symbols.
1331 * elf/link.h: Add declaration for _dl_debug_symbols.
1332 * elf/rtld.c: Define _dl_debug_symbols.
1333 (process_dl_debug): Recognize symbols option.
1334
1335 1998-03-09 23:36 Ulrich Drepper <drepper@cygnus.com>
1336
1337 * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
1338 in correct format.
1339 * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
1340 with correct parameters.
1341 [!PIC]: Initialize __libc_multiple_libcs.
1342
1343 1998-03-09 18:21 Ulrich Drepper <drepper@cygnus.com>
1344
1345 * elf/dl-support.c (_dl_debug_bindings): Add definition.
1346 * elf/rtld.c (_dl_debug_bindings): Add definition.
1347 (process_dl_debug): Recognize bindings option. Update help message.
1348 * elf/link.h (struct link_map): Add l_versyms member.
1349 (_dl_debug_bindings): Add declaration.
1350 * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
1351 * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
1352 and l_reloc_result.
1353 * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
1354 (sym_val): Remove a member, add m as link_map.
1355 (do_lookup): Return result appropriately.
1356 (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
1357 Call do_lookup correctly.
1358 (_dl_lookup_symbol_skip): Likewise.
1359 (_dl_lookup_versioned_symbol): Likewise.
1360 (_dl_lookup_versioned_symbol_skip): Likewise.
1361
1362 1998-03-09 08:21 Ulrich Drepper <drepper@cygnus.com>
1363
1364 * sysdeps/unix/sysv/linux/chown.c: Moved to ...
1365 * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
1366
1367 * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
1368 * libc.map: Add chown to GLIBC_2.1.
1369 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
1370 * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
1371
1372 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1373
1374 * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
1375 weak alias.
1376 * sysdeps/alpha/ffs.c: Likewise.
1377 * sysdeps/am29k/ffs.c: Likewise.
1378 * sysdeps/i386/ffs.c: Likewise.
1379 * sysdeps/i960/ffs.c: Likewise.
1380 * sysdeps/m68k/ffs.c: Likewise.
1381 * sysdeps/m88k/ffs.c: Likewise.
1382 * sysdeps/powerpc/ffs.c: Likewise.
1383 * sysdeps/rs6000/ffs.c: Likewise.
1384 * sysdeps/vax/ffs.s: Likewise.
1385 * string/string.h: Declare __ffs.
1386 * libc.map: Export it.
1387 * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
1388 __builtin_ffs, which is not guaranteed to be namespace clean.
1389
1390 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1391
1392 * elf/sprof.c: Rewrite symbol handling to use the normal symbol
1393 table, which is much more likely to exist than debugging symbols.
1394 (printsym): Remove const.
1395 (load_shobj): Don't use _dl_pagesize. Fix mapping of section
1396 header table.
1397
1398 * libc.map: Export __profile_frequency, used by elf/sprof, to
1399 avoid infinite recursion during startup.
1400
1401 1998-03-09 12:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1402
1403 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
1404 Readd lost negate.
1405
1406 * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
1407
1408 1998-03-09 Ulrich Drepper <drepper@cygnus.com>
1409
1410 * elf/dl-support.c: Add definition of _dl_debug_impcalls.
1411
1412 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
1413
1414 * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
1415 LD_PRELOAD, and LD_VERBOSE.
1416 (dl_main): Use global variables set by process_envvars instead of
1417 calling getenv.
1418 * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
1419 LD_LIBRARY_PATH value, this comes with the parameter.
1420 * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
1421 ("LD_LIBRARY_PATH") to _dl_init_paths.
1422
1423 1998-03-08 22:55 Ulrich Drepper <drepper@cygnus.com>
1424
1425 * elf/rtld.c (dl_main): Delay initialization of path structure if
1426 the dynamically linker is invoked implicitly until we read the
1427 dynamic section.
1428
1429 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
1430
1431 * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
1432
1433 1998-03-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1434
1435 * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
1436 Linux 2.0 and 2.1.
1437
1438 * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
1439
1440 1998-03-08 14:58 Ulrich Drepper <drepper@cygnus.com>
1441
1442 * Makeconfig (nisobjdir): Set to path to nis directory.
1443 (rpath-link): Add nisobjdir.
1444 Patch by Sven Verdoolaege <skimo@kotnet.org>.
1445
1446 * elf/Makefile: Pretty print.
1447 * elf/dl-lookup.c: Include unistd.h.
1448 * elf/dl-runtime.c: Likewise.
1449
1450 * localedata/Makefile (test-srcs): Add tst-rpmatch.
1451 (distribute): Add tst-rpmatch.sh.
1452 (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
1453
1454 New tests for rpmatch function by
1455 Jochen Hein <jochen.hein@delphi.central.de>.
1456 * localedata/tst-rpmatch.c: New file.
1457 * localedata/tst-rpmatch.sh: New file.
1458
1459 * localedata/locales/de_DE: Correct yesexpr and noexpr.
1460 * localedata/locales/de_AT: Likewise.
1461
1462 * posix/getopt.c: Update contact address.
1463 * posix/getopt1.c: Pretty print.
1464
1465 * sysdeps/generic/libc-start.c: Do most of the initialization now
1466 here instead of in start.S.
1467 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
1468 * sysdeps/i386/elf/start.S: Remove most of the initialization code.
1469
1470 * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
1471 profil_counter to be public.
1472
1473 1998-03-08 13:06 Tim Waugh <tim@cyberelk.demon.co.uk>
1474
1475 * posix/wordexp.c (parse_arith): Now works for negative numbers too.
1476 (parse_param): Coded parameter length expansion (${#var}).
1477 (parse_param): Handling for "=", "+", "-", and the ":" versions added.
1478 (parse_param): Cleaned up (fixed) error handling.
1479
1480 * posix/wordexp-test.c: IFS now includes non-whitespace character
1481 (comma). Added more tests.
1482
1483 1998-03-07 Ulrich Drepper <drepper@cygnus.com>
1484
1485 * elf/link.h: Fix typos.
1486 Reported by Andreas Jaeger.
1487
1488 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
1489 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
1490
1491 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
1492
1493 * argp/argp-help.c: Remove last bits of using gettext instead of
1494 dgettext.
1495
1496 1998-03-06 17:04 Ulrich Drepper <drepper@cygnus.com>
1497
1498 * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
1499 __libc_start_main.
1500 * csu/Makefile (routines): Add libc-start.
1501 * elf/dl-error.c: Remove declaration of _dl_argv. Include <unitsd.h>.
1502 * elf/dl-lookup.c: Likewise.
1503 * elf/dl-version.c: Likewise.
1504 * sysdeps/i386/dl-machine.h: Likewise.
1505 * elf/link.h: Declare _dl_argv, _dl_debug_fd.
1506 Declare _dl_sysdep_output. Make _dl_sysdep_fatal, _dl_sysdep_error and
1507 _dl_sysdep_message macros which use _dl_sysdep_output.
1508 * elf/dl-fini.c: Write out which destructor is called while debugging.
1509 * elf/dl-init.c: Likewise for constructor.
1510 * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
1511 * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
1512 _dl_sysdep_message. Add _dl_sysdep_output.
1513 * elf/rtld.c: Recognize LD_DEBUG_OUTPUT. Set _dl_debug_fd if
1514 this file can be opened.
1515 For LD_DEBUG=libs also set _dl_debug_impcalls.
1516 * sysdeps/generic/dl-cache.c: Include unistd.h.
1517 * sysdeps/generic/libc-start.c: New file.
1518 * sysdeps/unix/sysv/linux/libc-start.c: New file.
1519 * sysdeps/i386/elf/start.S: Don't call main directly, call
1520 __libc_start_main instead.
1521
1522 * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
1523
1524 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
1525
1526 * nss/nsswitch.c (__nss_nscd_not_available): Removed.
1527
1528 1998-03-06 12:42 Ulrich Drepper <drepper@cygnus.com>
1529
1530 * argp/argp.h (struct argp): Add new field domain.
1531 * argp/argp-help.c: Change all gettext calls to dgettext and use
1532 domain field from appropriate argp in call.
1533 * argp/argp-parse.c: Likewise.
1534
1535 1998-03-06 11:35 Ulrich Drepper <drepper@cygnus.com>
1536
1537 * posix/wordexp-test.c: Change testsuite so that it can run even
1538 for ~root != /root.
1539
1540 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1541
1542 * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
1543
1544 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1545
1546 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1547 Don't store into global errno if we already store through
1548 __errno_location.
1549 * sysdeps/unix/i386/sysdep.S: Likewise.
1550 * sysdeps/unix/alpha/sysdep.S: Likewise.
1551 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1552 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1553 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. Add
1554 missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
1555 PIC).
1556
1557 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1558
1559 * sysdeps/generic/sysdep.h (L): Remove definition.
1560 * sysdeps/i386/sysdep.h (L): Define it here instead.
1561
1562 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1563
1564 * nis/nis_call.c (__do_niscall): Safe and reset errno.
1565
1566 * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
1567
1568 1998-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1569
1570 * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
1571 declaration style to avoid warnings.
1572
1573 1998-03-06 11:48 Mark M._Kettenis <kettenis@hall.phys.uva.nl>
1574
1575 * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
1576 "LD_DEBUG".
1577
1578 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
1579
1580 * posix/Makefile (tests): Add wordexp-test.
1581 * posix/wordexp-test.c: New file. Testsuite for wrodexp.
1582 Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
1583
1584 1998-03-05 16:04 Ulrich Drepper <drepper@cygnus.com>
1585
1586 * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
1587 dependencies.
1588
1589 * elf/link.h (struct r_search_path_elem): Add two new field for
1590 lib path debugging.
1591 * elf/rtld.c: Recognize LD_DEBUG environment variable and set
1592 variable accordingly.
1593 * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
1594 is considered next along with information about load paths.
1595 * sysdeps/generic/dl-cache.c: Likewise.
1596 * elf/dl-support.c: Define _dl_debug_libs.
1597 * elf/genrtldtbl.awk: Add initializers for two new field in
1598 struct r_search_path_elem.
1599
1600 1998-03-06 10:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1601
1602 * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
1603 * sysdeps/m68k/lshift.S: Likewise.
1604 * sysdeps/m68k/rshift.S: Likewise.
1605 * sysdeps/m68k/sub_n.S: Likewise.
1606 * sysdeps/m68k/m68020/addmul_1.S: Likewise.
1607 * sysdeps/m68k/m68020/mul_1.S: Likewise.
1608 * sysdeps/m68k/m68020/submul_1.S: Likewise.
1609
1610 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
1611 [_LIBC_REENTRANT]: Don't store into global errno.
1612
1613 * sysdeps/m68k/sysdep.h: New file.
1614 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it. Use the macros
1615 ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
1616 (DO_CALL): Change to expect syscall name as argument.
1617 (PSEUDO): Pass syscall_name to DO_CALL.
1618 (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
1619 errno.
1620
1621 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
1622
1623 * elf/rtld.c: Speed up processing of environment variables. Do
1624 only one run on the environment by avoiding to call getenv.
1625 * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
1626 function. Used by patch above.
1627
1628 1998-03-05 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1629
1630 * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
1631 running nscd.
1632 * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
1633 * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
1634 * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
1635
1636 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
1637
1638 * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
1639 module cannot be found. Reported by Andreas Jaeger.
1640
1641 1998-03-05 11:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1642
1643 * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
1644 on platforms which default to unsigned chars.
1645 * nscd/nscd_getpw_r.c: Likewise.
1646 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
1647 defining it.
1648
1649 1998-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1650
1651 * elf/Makefile (install-bin): Change = to += for sprof to install
1652 ldd also.
1653
1654 1998-03-04 16:12 H.J. Lu <hjl@gnu.org>
1655
1656 * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
1657
1658 1998-03-04 16:19 Ulrich Drepper <drepper@cygnus.com>
1659
1660 * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
1661
1662 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1663
1664 * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
1665 that a failure to connect to nscd doesn't change errno.
1666
1667 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1668
1669 * manual/maint.texi (Reporting Bugs): Change
1670 bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
1671
1672 * locale/iso-4217.def: Likewise
1673
1674 1998-03-04 12:43 Ulrich Drepper <drepper@cygnus.com>
1675
1676 * manual/texinfo.tex: Updated.
1677
1678 1998-03-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1679
1680 * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
1681 value.
1682 * sysdeps/posix/pathconf.c: Likewise.
1683 * posix/getconf.c: Print `undefined' if pathconf returns -1
1684 without setting errno.
1685
1686 1998-03-04 Ulrich Drepper <drepper@cygnus.com>
1687
1688 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
1689 problem.
1690 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
1691 Patches by Elliot Lee <sopwith@cuc.edu>.
1692
1693 1998-03-04 09:43 Ulrich Drepper <drepper@cygnus.com>
1694
1695 * elf/link.h (struct link_map): Add new field l_reloc_result.
1696 * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
1697 of relocation for the object to be profiled.
1698 * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
1699 to NULL.
1700 * elf/rtld.c (_dl_start): Add comment that we must not allocate an
1701 array here.
1702 * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
1703 contains a result from a previous run use this instead of computing
1704 the value again.
1705 * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
1706
1707 1998-03-04 11:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1708
1709 * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
1710 offsets into the GOT.
1711 (RTLD_START): Likewise.
1712
1713 1998-03-03 17:55 Ulrich Drepper <drepper@cygnus.com>
1714
1715 * elf/sprof.c: Cleanup a bit.
1716
1717 1998-03-03 08:01 H.J. Lu <hjl@gnu.org>
1718
1719 * sysdeps/generic/sysdep.h (L): New. Define.
1720
1721 * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
1722
1723 * sysdeps/i386/i586/addmul_1.S: Fix a typo.
1724
1725 * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
1726 to have only one exit point for functions.
1727 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1728 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
1729 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
1730 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1731 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1732
1733 1998-03-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1734
1735 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
1736 reset errno so that errno isn't set to ENOSYS in the first call.
1737 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
1738 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1739 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
1740 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
1741
1742 1998-03-02 17:55 Ulrich Drepper <drepper@cygnus.com>
1743
1744 * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
1745 * sysdeps/i386/addmul_1.S: Likewise.
1746 * sysdeps/i386/lshift.S: Likewise.
1747 * sysdeps/i386/mul_1.S: Likewise.
1748 * sysdeps/i386/rshift.S: Likewise.
1749 * sysdeps/i386/sub_n.S: Likewise.
1750 * sysdeps/i386/submul_1.S: Likewise.
1751 * sysdeps/i386/i586/add_n.S: Likewise.
1752 * sysdeps/i386/i586/addmul_1.S: Likewise.
1753 * sysdeps/i386/i586/lshift.S: Likewise.
1754 * sysdeps/i386/i586/mul_1.S: Likewise.
1755 * sysdeps/i386/i586/rshift.S: Likewise.
1756 * sysdeps/i386/i586/sub_n.S: Likewise.
1757 * sysdeps/i386/i586/submul_1.S: Likewise.
1758
1759 * sysdeps/i386/sysdep.h: Extend last change.
1760
1761 * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
1762 to have only one exit point for functions.
1763
1764 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
1765
1766 * configure.in: Fix msgfmt test. Fix handling of //s in sysdeps
1767 search.
1768
1769 1998-03-02 13:28 Ulrich Drepper <drepper@cygnus.com>
1770
1771 * Makerules: Generate libc.so with absolute paths for the used
1772 shared objects.
1773
1774 * config.make.in: Add MAKEINFO definition.
1775
1776 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
1777
1778 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
1779 (ENTRY): Use STABS_FUN.
1780 (END): Use STABS_FUN_END.
1781 (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
1782
1783 * elf/Makefile: Add rules to build sprof program.
1784 * elf/sprof.c: New file.
1785
1786 1998-02-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1787
1788 * misc/syslog.c (openlog_internal): Insert missing closing brace.
1789
1790 1998-02-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1791
1792 * configure.in: Check for working msgfmt version (from GNU gettext
1793 0.10 or later).
1794
1795 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
1796
1797 * configure.in: Avoid //s in sysdirs.
1798 Patch by Roland McGrath.
1799
1800 * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
1801
1802 1998-03-02 07:17 H.J. Lu <hjl@gnu.org>
1803
1804 * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
1805 setting _dl_global_scope for RTLD_GLOBAL.
1806
1807 1998-02-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1808
1809 * sysdeps/unix/make-syscalls.sh: Fix last change so that all
1810 possible lists of object-suffixes are taken care of.
1811
1812 1998-03-02 10:16 Ulrich Drepper <drepper@cygnus.com>
1813
1814 * timezone/private.h: Update from tzcode1998c.
1815 * timezone/zic.c: Likewise.
1816 * timezone/antarctica: Updated from tzdata1998c.
1817 * timezone/asia: Likewise.
1818 * timezone/australasia: Likewise.
1819 * timezone/europe: Likewise.
1820 * timezone/southamerica: Likewise.
1821
1822 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
1823
1824 * posix/glob.c (glob_in_dir): Add support for cases insensitive
1825 VMS. Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
1826
1827 1998-03-01 19:05 H.J. Lu (hjl@gnu.org)
1828
1829 * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
1830 Changed type of TWO43, TWO52 from float to double.
1831 * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
1832 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
1833 Changed type of TWO43 from float to double.
1834 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
1835 Use __isinff.
1836
1837 1998-03-01 18:52 H.J. Lu (hjl@gnu.org)
1838
1839 * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
1840 osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
1841 osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
1842
1843 1998-03-01 09:11 Richard Henderson <rth@cygnus.com>
1844
1845 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
1846 kernel_termios.h.
1847 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
1848 Clean up random whitespace.
1849 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
1850 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
1851 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
1852 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
1853
1854 1998-03-01 08:31 Richard Henderson <rth@cygnus.com>
1855
1856 * shlib-versions: Match alpha*.
1857 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
1858 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
1859
1860 * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
1861 Implement copysign* with and without __ prefix.
1862 Likewise for fabs; use builtin for gcc 2.8.
1863 (floor*): New.
1864 (fdim*): New.
1865
1866 * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
1867 (R_SPARC*): Match current v9 ABI.
1868
1869 * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
1870
1871 * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
1872 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1873 * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
1874 * sysdeps/generic/getresgid.c: Use prototype form because of warning.
1875 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1876 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
1877 * sysdeps/unix/grantpt.c (argv): Fix consts.
1878 * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
1879 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1880
1881 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
1882
1883 * misc/syslog.c: Change to allow user the interpretation of the
1884 outcome even with syslog having no return value.
1885
1886 1998-02-05 20:41 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
1887
1888 * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
1889 that the number of program headers is >0 (which is wrong for the
1890 loader itself).
1891
1892 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
1893
1894 * Makefile (distribute): Add README.libm.
1895
1896 1998-02-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1897
1898 * time/clocktest.c (main): Correct typo: "--" -> "==".
1899
1900 1998-02-25 20:53 H.J. Lu <hjl@gnu.org>
1901
1902 * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
1903 inline function.
1904 (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
1905 inline functions.
1906
1907 * math/libm.map (__atan2): Added.
1908
1909 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
1910
1911 * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
1912 Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
1913
1914 * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
1915 bug.
1916
1917 1998-02-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1918
1919 * manual/arith.texi (Old-style number conversion): Correct
1920 typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
1921
1922 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
1923
1924 * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
1925 but does not require it. Handle missing argv[] values gracefully.
1926 * posix/execl.c: Likewise.
1927 * posix/execle.c: Likewise.
1928
1929 1998-02-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1930
1931 * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
1932 bit.
1933 * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
1934
1935 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
1936
1937 * libc.map: Add __adjtimex.
1938
1939 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1940
1941 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
1942 Remove memset.
1943
1944 1998-02-24 08:10 H.J. Lu <hjl@gnu.org>
1945
1946 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
1947 to 64.
1948
1949 * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
1950
1951 * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
1952 * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
1953
1954 * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
1955 for shared library.
1956
1957 * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
1958
1959 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
1960 Added adjtimex and old_adjtimex.
1961
1962 * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
1963 New.
1964 (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
1965 osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
1966
1967 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
1968 symbols only for shared library.
1969 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1970 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1971 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1972 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1973 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1974 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1975 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1976
1977 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
1978 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1979 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1980 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1981 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1982 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1983 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1984 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1985
1986 * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
1987 rusage pointer.
1988
1989 * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
1990 New macros.
1991 (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
1992 timex and __adjtimex, respectively.
1993
1994 * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
1995
1996 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
1997
1998 1998-02-25 08:28 H.J. Lu <hjl@gnu.org>
1999
2000 * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
2001 for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
2002
2003 1998-02-26 14:59 Ulrich Drepper <drepper@cygnus.com>
2004
2005 * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
2006
2007 1998-02-19 11:00 Zack Weinberg <zack@rabi.phys.columbia.edu>
2008
2009 * Makefile.in: Disable built-in rules.
2010
2011 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2012
2013 * sysdeps/i386/fpu/t_exp.c: Move to ...
2014 * sysdeps/libm-i387/t_exp.c: ... here.
2015
2016 1998-02-21 13:51 H.J. Lu <hjl@gnu.org>
2017
2018 * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
2019 from __exp2_deltatable.
2020
2021 1998-02-26 Ulrich Drepper <drepper@cygnus.com>
2022
2023 * nis/ypclnt.c (yp_master): Check result of strdup.
2024 Patch by Thorsten Kukuk.
2025
2026 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2027
2028 * nis/ypclnt.c: Give clnt handle after error checking free, change
2029 return codes to fix problems with rpc.nisd in YP mode on Ultra's.
2030
2031 1998-02-26 09:00 Ulrich Drepper <drepper@cygnus.com>
2032
2033 * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
2034 Patch by Joe Keane <jgk@jgk.org>.
2035
2036 * misc/fstab.h (struct fstab): Change fs_type member to be const.
2037 * misc/fstab.c: Remove casts in fs_type assignments.
2038
2039 1998-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2040
2041 * sysdeps/i386/fpu/bits/fenv.h: Correct typo. ISO C 9X defines
2042 FE_TOWARDZERO and not FE_TOWARDSZERO. Reported by H.J. Lu.
2043 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
2044 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
2045 * sysdeps/powerpc/bits/fenv.h: Likewise.
2046 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
2047 * sysdeps/generic/bits/fenv.h: Likewise.
2048 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
2049 * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
2050 * sysdeps/powerpc/test-arith.c (main): Likewise.
2051
2052 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
2053
2054 * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
2055 the comparison macros.
2056
2057 1998-02-21 20:14 H.J. Lu <hjl@gnu.org>
2058
2059 * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
2060 (__log2): Fixed return values.
2061 * sysdeps/libm-ieee754/s_log2f.c: Likewise.
2062
2063 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
2064
2065 * math/math.h (isunordered): Rename local variables to ensure
2066 correct code. Reported by HJ Lu.
2067
2068 1998-02-25 10:34 Ulrich Drepper <drepper@cygnus.com>
2069
2070 * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
2071 isless, islessequal, islessgreater, isunordered): Fix syntax for
2072 fucompip instruction.
2073 (isless, islessequal): Fix logic.
2074
2075 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2076
2077 * math/libm-test.c (sqrt_test): Add test for sqrt(2).
2078 (comparisons_test): New tests for comparison macros.
2079
2080 1998-02-24 15:12 Ulrich Drepper <drepper@cygnus.com>
2081
2082 * Makeconfig: Filter out frame-pointer effecting options when
2083 compiling profiling or debugging code.
2084 * config.h.in (internal_function): Don't define here if PROF is
2085 defined.
2086 * gmon/gmon.c (__moncontrol): Don't change state if already in error
2087 state.
2088 (__monstartup): If calloc fails set error state and mark array as
2089 not allocated.
2090 (_mcleanup): Don't call write_gmon if in error state. Don't try
2091 to free array if not successfully allocated.
2092
2093 * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
2094 Include elf.h to get macro definitions.
2095 Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
2096
2097 1998-02-24 09:40 Ulrich Drepper <drepper@cygnus.com>
2098
2099 * elf/ldd.sh.in: Add compatibility for broken old shells.
2100 * elf/ldd.bash.in: Likewise.
2101
2102 1998-02-24 08:11 H.J. Lu <hjl@gnu.org>
2103
2104 * sunrpc/rpc_main.c (open_input): Check pipe return error.
2105
2106 * time/clocktest.c (main): Check signal return error.
2107
2108 1998-02-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2109
2110 * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
2111 "/" and use do-install-program. Reported by Mark M. Kettenis.
2112 (subdir_install): Likewise.
2113
2114 1998-02-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2115
2116 * sunrpc/rpc_sample.c: Fix typo.
2117
2118 * nscd/connections.c: Use locale.
2119 * nscd/grpcache.c: Add debug messages, gidtbl should get the
2120 calloc result.
2121 * nscd/nscd.c: Check if init functions fails.
2122 * nscd/nscd_conf.c: Allow disabling of group cache.
2123 * nscd/nscd_getgr_r.c: Fix return code if group not found.
2124 * nscd/pwdcache.c: Fix debug messages.
2125
2126 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2127
2128 * libc.map: Add __monstartup and _mcleanup for profiling support.
2129
2130 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2131
2132 * libc.map: Export __getpagesize, for binary compatibility with
2133 2.0.
2134
2135 1998-02-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2136
2137 * posix/globtest.sh: Use --library-path instead of
2138 LD_LIBRARY_PATH.
2139 * localedata/sort-test.sh: Likewise.
2140 * localedata/tst-fmon.sh: Likewise. Avoid useless use of cat.
2141
2142 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2143
2144 * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
2145 sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
2146 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2147
2148 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
2149 kernel_sigaction): Define.
2150 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
2151 kernel_sigaction): Define.
2152
2153 1998-02-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2154
2155 * math/libm-test.c: Change epsilons for libm-ieee754.
2156
2157 1998-02-23 12:33 Ulrich Drepper <drepper@cygnus.com>
2158
2159 * sysdeps/i386/__longjmp.S: Fix race condition.
2160 Reported by Bruno Haible <haible@ilog.fr>.
2161
2162 1998-02-20 18:43 Ulrich Drepper <drepper@cygnus.com>
2163
2164 * hesiod/hesiod.c: Pretty print. Don't use __ protected names.
2165 * iconvdata/8bit-gap.c: Likewise.
2166 * iconvdata/8bit-generic.c: Likewise.
2167 * iconvdata/iso6937.c: Likewise.
2168 * iconvdata/iso8859-1.c: Likewise.
2169 * iconvdata/sjis.c: Likewise.
2170 * iconvdata/t61.c: Likewise.
2171
2172 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2173
2174 * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
2175 feature tests by positive feature tests.
2176
2177 1998-02-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2178
2179 * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
2180
2181 1998-02-20 Ulrich Drepper <drepper@cygnus.com>
2182
2183 * elf/dlvsym.c (dlvsym_doit): More corrections.
2184 Patch by Andreas Jaeger.
2185
2186 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
2187
2188 * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
2189
2190 1998-02-19 17:16 Ulrich Drepper <drepper@cygnus.com>
2191
2192 * libc.map: More reordering for GLIBC_2.1 symbols.
2193
2194 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2195
2196 * libc.map: Move some functions from version GLIBC_2.0 to
2197 GLIBC_2.1, reorder declarations.
2198
2199 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
2200
2201 * resolv/gethnamaddr.c (addrsort): Make this function extern.
2202 Patch by zab@thebrain.grumblesmurf.net.
2203
2204 1998-02-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2205
2206 * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
2207 NIS+ functions with version GLIBC_2.1.
2208
2209 1998-02-19 14:05 Ulrich Drepper <drepper@cygnus.com>
2210
2211 * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
2212 with 2.0 binaries. Reported by Thorsten Kukuk.
2213
2214 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2215
2216 * elf/dlvsym.c (dlvsym_doit): Correct last patch.
2217
2218 * elf/dlsym.c (dlsym_doit): Likewise.
2219
2220 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2221
2222 * elf/link.h: Correct typos.
2223
2224 * iconv/iconv_prog.c: Correct typo.
2225
2226 1998-02-18 17:57 Ulrich Drepper <drepper@cygnus.com>
2227
2228 * iconv/Makefile: Add rules to build and install iconv program.
2229 * iconv/iconv_prog.c: New file.
2230
2231 1998-02-18 16:34 H.J. Lu <hjl@gnu.org>
2232
2233 * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
2234 _dl_lookup_symbol_skip call.
2235 * elf/dlvsym.c (dlvsym_doit): Likewise.
2236
2237 1998-02-18 Ulrich Drepper <drepper@cygnus.com>
2238
2239 * libio/iovsscanf.c: Do not include errno.h.
2240
2241 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2242
2243 * elf/dl-load.c (add_name_to_object): Don't translate strings.
2244 * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
2245 pulling in the whole error list.
2246 (__dcgettext, dcgettext): Removed.
2247 * libc.map: Export _strerror_internal.
2248
2249 1998-02-18 10:50 Ulrich Drepper <drepper@cygnus.com>
2250
2251 * sysdeps/i386/fpu/t_exp.c: New file.
2252
2253 1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2254
2255 * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
2256 everything with version GLIBC_2.1.
2257 * hesiod/libnss_hesiod.map: Likewise.
2258
2259 1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2260
2261 * manual/arith.texi (Old-style number conversion): This node is a
2262 section, not a subsection.
2263
2264 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2265
2266 * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
2267
2268 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2269
2270 * elf/rtld.c (dl_main): Make sure that the library search paths
2271 have been initialized before the first call to _dl_map_object.
2272
2273 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2274
2275 * Makerules (common-generated): Add libc_pic.os.
2276
2277 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2278
2279 * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
2280 of the executable.
2281
2282 1998-02-18 10:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2283
2284 * sysdeps/m68k/fpu/t_exp.c: New file.
2285
2286 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
2287
2288 * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
2289 to global errno variable anymore.
2290
2291 1998-02-17 17:41 Ulrich Drepper <drepper@cygnus.com>
2292
2293 * elf/dl-load.c (open_path): Take extra argument PRELOADED.
2294 If PRELOADED is nonzero check in case of an SUID application
2295 whether the shared object has the SUID bit set.
2296 Fix some other problems with handling shared objects in system
2297 specific directories.
2298 (_dl_map_object): Also take extra parameter and pass it to open_path.
2299 * elf/link.h (_dl_map_object): Correct prototype and comment.
2300 * elf/rtld.c (dl_main): Call _dl_map_object correctly.
2301 * elf/dl-open.c (_dl_open): Likewise.
2302 * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
2303
2304 * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
2305
2306 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
2307
2308 * math/libm-test.c (modf_test): Add test for 1.5.
2309
2310 * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
2311 0 to get always an int.
2312
2313 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2314
2315 * math/libm.map: Move all symbols that are new in glibc 2.1 to
2316 version GLIBC_2.1.
2317
2318 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
2319
2320 * stdio-common/vfscanf.c (inchar): Check c for being EOF before
2321 trying to read another character.
2322
2323 1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2324
2325 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
2326 name to lowercase.
2327
2328 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
2329 name to lowercase, add test for big enough buffer.
2330
2331 1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2332
2333 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
2334 Make compatible with older kernels. Patch by Richard Henderson.
2335
2336 1998-02-17 15:10 Ulrich Drepper <drepper@cygnus.com>
2337
2338 * elf/dl-load.c (open_path): Use __xstat instead of stat.
2339
2340 * localedata/tst-locale.sh: Comment out first test for now.
2341
2342 1998-02-14 14:58 H.J. Lu <hjl@gnu.org>
2343
2344 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
2345 as 1.
2346 * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
2347 Likewise.
2348
2349 * libio/iogetline.c (_IO_getline_info): Renamed from
2350 _IO_getline.
2351 (_IO_getline): Just call _IO_getline_info.
2352
2353 * libio/libioP.h (_IO_getline_info): New declaration.
2354
2355 * libc.map (_IO_getline_info, __write): Added.
2356
2357 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2358
2359 * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
2360 const char* to shut up gcc.
2361
2362 1998-02-17 11:37 Ulrich Drepper <drepper@cygnus.com>
2363
2364 * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
2365 Patch forwarded by Cristian Gafton <gafton@redhat.com>.
2366
2367 * math/math.h: Define M_* constants always as `double' and add new
2368 macros M_*l which are of type `long double'.
2369 * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
2370 * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
2371 * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
2372 * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
2373 * sysdeps/libm-ieee754/s_catanl.c: Likewise.
2374 * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
2375 * sysdeps/libm-ieee754/s_clogl.c: Likewise.
2376 * math/libm-tst.c: Likewise.
2377
2378 * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
2379 define as long double unconditionally.
2380
2381 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2382
2383 * manual/arith.texi (Old-style number conversion): Correct some
2384 typos.
2385
2386 1998-02-16 16:28 H.J. Lu <hjl@gnu.org>
2387
2388 * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
2389 Restore.
2390
2391 * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
2392
2393 1998-02-16 Ulrich Drepper <drepper@cygnus.com>
2394
2395 * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
2396 on $(rtld-ldscript).
2397
2398 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
2399 starting from 0 not only from `from'.
2400 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2401
2402 1998-02-16 17:33 Ulrich Drepper <drepper@cygnus.com>
2403
2404 * elf/rtld.c (dl_main): Recognize --library-path parameter and
2405 pass value (or NULL) to _dl_init_paths.
2406 * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
2407 replacing local variable llp. If llp is NULL examine LD_LIBRARY_PATH
2408 environment variable.
2409 * elf/link.h: Change prototype for _dl_init_paths.
2410 * elf/dl-support.c: Pass NULL in _dl_init_paths call.
2411
2412 * localedata/Makefile (distribute): Add test files.
2413
2414 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2415
2416 * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
2417 test1.def, test2.def, test3.def, test4.def}: Simple input files
2418 for localedef. Contributed by Yung-Ching Hsiao
2419 <yhsiao@cae.wisc.edu>.
2420
2421 * localedata/Makefile (tests): Call tst-locale.sh.
2422
2423 * localedata/tst-locale.sh: New file, regression tests for some
2424 localedef problems.
2425
2426 1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2427
2428 * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
2429
2430 * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
2431 terminated.
2432 * nis/nss_nisplus/nisplus-network.c: Likewise.
2433 * nis/nss_nisplus/nisplus-proto.c: Likewise.
2434 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2435 * nis/nss_nisplus/nisplus-service.c: Likewise.
2436
2437 Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
2438 and support generating thread safe RPC code.
2439 * sunrpc/rpc_main.c: Add changes.
2440 * sunrpc/rpc_clntout.c: Likewise.
2441 * sunrpc/rpc_cout.c: Likewise.
2442 * sunrpc/rpc_hout.c: Likewise.
2443 * sunrpc/rpc_parse.c: Likewise.
2444 * sunrpc/rpc_sample.c: Likewise.
2445 * sunrpc/rpc_scan.c: Likewise.
2446 * sunrpc/rpc_svcout.c: Likewise.
2447 * sunrpc/rpc_util.c: Likewise.
2448 * sunrpc/rpc_util.h: Add new structs and prototypes.
2449 * sunrpc/proto.h: Remove prototypes for static functions.
2450
2451 1998-02-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2452
2453 * locale/programs/ld-messages.c (messages_finish): Don't skip
2454 error checking when being quiet.
2455 * locale/programs/ld-ctype.c (ctype_finish): Likewise.
2456 (set_class_defaults): Likewise.
2457 * locale/programs/charmap.c (parse_charmap): Likewise.
2458 * locale/programs/ld-collate.c (collate_finish): Likewise.
2459 * locale/programs/ld-monetary.c (monetary_finish): Likewise.
2460 * locale/programs/ld-time.c (time_finish): Likewise.
2461 * locale/programs/locfile.c (write_locale_data): Likewise.
2462
2463 * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
2464 unknown characters and empty ranges.
2465 * locale/programs/ld-collate.c (collate_order_elem): When
2466 processing an ellipsis properly form a linked list in the result
2467 table, fix typo when allocating ordering array.
2468 [PR libc/419]
2469
2470 1998-02-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2471
2472 * elf/Makefile (ld-map): Define.
2473 (rtld-ldscript): Define. Change all `$(objpfx)rtld-ldscript' to
2474 `$(rtld-ldscript)'.
2475 ($(objpfx)ld.so): Combine the two versions of this rule. Depend
2476 on $(ld-map).
2477 (rtld-link): Combine the two versions of this definition. Fixed
2478 to make it work when no symbol versioning is used.
2479
2480 1998-02-16 Ulrich Drepper <drepper@cygnus.com>
2481
2482 * Makeconfig (build-program-cmd): Use --library-path parameter to
2483 ld.so instead of environment variable.
2484
2485 * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
2486 * sunrpc/rpc_main.c: Remove support for -$$ option again.
2487
2488 1998-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2489
2490 * Make-dist: Respect with-cvs setting.
2491 * MakeTAGS (all-pot): Likewise.
2492 * sysdeps/sparc/sparc32/Makefile: Likewise.
2493 * sysdeps/mach/hurd/Makefile: Likewise.
2494 * stdlib/Makefile: Likewise.
2495 * posix/Makefile: Likewise.
2496 * intl/Makefile: Likewise.
2497 * po/Makefile (linguas): Likewise
2498
2499 1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2500
2501 * nis/ypclnt.c (yp_all): Remove error message, user should print it.
2502
2503 1998-02-15 Ulrich Drepper <drepper@cygnus.com>
2504
2505 * libc.map: Add __strcasecmp.
2506
2507 * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
2508 module.
2509
2510 * nss/getXXent_r.c: If no more module is found don't try to call
2511 setXXent functions but leave unsuccessfully.
2512
2513 * malloc/obstack.h: Cleanups.
2514
2515 * sysdeps/wordsize-32/stdint.h: New file.
2516 * sysdeps/wordsize-64/stdint.h: New file.
2517 * sysdeps/generic/stdint.h: New file.
2518 * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
2519 * sysdeps/wordsize-64/inttypes.h: Likewise.
2520 * stdlib/Makefile (headers): Add stdint.h.
2521
2522 1998-02-03 Paul Eggert <eggert@twinsun.com>
2523
2524 * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
2525
2526 1998-02-13 17:59 Zack Weinberg <zack@rabi.phys.columbia.edu>
2527
2528 * timezone: New directory.
2529 * time/README, time/africa, time/antarctica, time/asia,
2530 time/australasia, time/backward, time/checktab.awk,
2531 time/etcetera, time/europe, time/factory, time/ialloc.c,
2532 time/iso3166.tab, time/leapseconds, time/northamerica,
2533 time/pacificnew, time/private.h, time/scheck.c,
2534 time/solar87, time/solar88, time/solar89, time/southamerica,
2535 time/systemv, time/test-tz.c, time/tzfile.h,
2536 time/tzselect.ksh, time/yearistype, time/zdump.c,
2537 time/zic.c, time/zone.tab: Moved to timezone.
2538 * time/tzfile.c: Include tzfile.h from timezone subdir.
2539 * time/tzset.c: Likewise.
2540 * time/Makefile: Cut out all code relating to timezones...
2541 * timezone/Makefile: ...and paste it in here.
2542 * Makefile (subdirs): Add timezone.
2543
2544 1998-02-13 18:45 H.J. Lu <hjl@gnu.org>
2545
2546 * libc.map (_sys_nerr): Added.
2547
2548 * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
2549 versioned symbol.
2550
2551 1998-02-15 17:16 Ulrich Drepper <drepper@cygnus.com>
2552
2553 * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
2554 pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
2555 Reported by Craig Metz <cmetz@inner.net>.
2556
2557 1998-01-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2558
2559 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
2560 instead of strcasecmp.
2561 * nss/nss_files/files-alias.c (get_next_alias): Likewise.
2562
2563 * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
2564
2565 1998-02-15 16:55 Ulrich Drepper <drepper@cygnus.com>
2566
2567 * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
2568 Patch by Dean Gaudet <dgaudet@arctic.org>.
2569
2570 1998-02-15 16:53 Ulrich Drepper <drepper@cygnus.com>
2571
2572 * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
2573
2574 1998-02-15 10:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
2575
2576 * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
2577 with no poll syscall, just include the BSD version.
2578 * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
2579 kernel without the syscall, include the stub version.
2580 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
2581 * sysdeps/generic/getresuid.c: New file.
2582 * sysdeps/generic/getresgid.c: New file.
2583
2584 1998-02-15 Ulrich Drepper <drepper@cygnus.com>
2585
2586 * stdio-common/vfscanf.c: Correct last change a bit.
2587
2588 1998-02-13 17:39 Ulrich Drepper <drepper@cygnus.com>
2589
2590 * elf/Makefile: Don't use --version-script parameter to link ld.so
2591 unconditionally.
2592
2593 1998-01-02 04:19 Geoff Keating <geoffk@ozemail.com.au>
2594
2595 * math/Makefile: Add t_exp.
2596 * math/libm-test.c: Tighten accuracy bounds for exp(), correct
2597 constants.
2598 * math/test-reduce.c: Remove temporarily, it seems to be broken.
2599 * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
2600 * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
2601 better accuracy.
2602 * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
2603 algorithm for very large/very small arguments.
2604 * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
2605 correct algorithm for very large/very small arguments; adjust for
2606 new table.
2607 * sysdeps/libm-ieee754/t_exp.c: New file.
2608 * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
2609
2610 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
2611 back, with comment that explains what breaks when you remove it :-(.
2612
2613 * localedata/xfrm-test.c: Avoid integer overflow.
2614
2615 * stdlib/strfmon.c: char is unsigned, sometimes.
2616
2617 * sysdeps/powerpc/Makefile: Remove quad float support.
2618 * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
2619 * sysdeps/powerpc/quad_float.h: Likewise.
2620 * sysdeps/powerpc/test-arith.c: Likewise.
2621 * sysdeps/powerpc/test-arithf.c: Likewise.
2622
2623 * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
2624 * sysdeps/generic/s_exp2f.c: Likewise.
2625
2626 * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
2627 don't try anything if _SOFT_FLOAT.
2628
2629 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2630
2631 * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
2632 * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
2633 * wctype/wctype.c: Likewise.
2634 * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
2635 changed. They are incompatible with the _ISxxx values from
2636 <ctype.h> on little endian machines.
2637 (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
2638 bit number. This fixes the real bug and restores the integrity of
2639 the ctype locale file.
2640 * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
2641 * wctype/wcfuncs_l.c: Likewise.
2642 * wctype/wcextra.c: Likewise.
2643 * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
2644 byte swapping.
2645
2646 1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2647
2648 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
2649 into .bss segment instead of .common, so that aliases on it work.
2650
2651 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
2652 .size directives, put into .bss segment instead of initializing it
2653 to 4.
2654
2655 1998-02-12 08:00 H.J. Lu <hjl@gnu.org>
2656
2657 * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
2658
2659 * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
2660 functions.
2661 Make names without __ weak aliases.
2662 (__libc_release, __libc_version): Make them static.
2663
2664 * include/gnu/libc-version.h: New file.
2665 * Makefile (headers): Add gnu/libc-version.h.
2666
2667 1998-02-13 Ulrich Drepper <drepper@cygnus.com>
2668
2669 * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
2670 and use x for member name.
2671 Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
2672
2673 * stdlib/drand48.c: Change according to member name change.
2674 * stdlib/drand48_r.c: Likewise.
2675 * stdlib/lcong48_r.c: Likewise.
2676 * stdlib/lrand48.c: Likewise.
2677 * stdlib/lrand48_r.c: Likewise.
2678 * stdlib/mrand48.c: Likewise.
2679 * stdlib/mrand48_r.c: Likewise.
2680 * stdlib/seed48.c: Likewise.
2681 * stdlib/seed48_r.c: Likewise.
2682 * stdlib/srand48_r.c: Likewise.
2683
2684 1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2685
2686 * nss/test-netdb.c: Add some more test cases.
2687
2688 1998-02-13 11:39 Ulrich Drepper <drepper@cygnus.com>
2689
2690 * libio/iovsscanf.c: Undo last change modifying errno.
2691
2692 1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2693
2694 * stdio-common/vfscanf.c: Never try to read another character
2695 after EOF. Don't decrement read_in after EOF, it wasn't
2696 incremented in the first place.
2697 (NEXT_WIDE_CHAR): Set First, not first.
2698
2699 1998-02-06 07:48 H.J. Lu <hjl@gnu.org>
2700
2701 * db/Makefile ($(inst_libdir)/libndbm.a,
2702 $(inst_libdir)/libndbm.so): New targets.
2703 * db2/Makefile: Likewise.
2704
2705 1998-02-12 08:20 H.J. Lu <hjl@gnu.org>
2706
2707 * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
2708 aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
2709
2710 1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2711
2712 * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
2713 <streambuf.h>.
2714 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
2715
2716 1998-02-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2717
2718 * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
2719 versioned symbols.
2720
2721 1998-02-13 08:14 H.J. Lu <hjl@gnu.org>
2722
2723 * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
2724 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
2725 Added for libdl.so.
2726
2727 1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2728
2729 * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
2730 extra syscall.
2731
2732 * grp/Makefile: Fix logic when checking for thread package.
2733 * pwd/Makefile: Likewise.
2734
2735 1998-02-11 08:23 H.J. Lu <hjl@gnu.org>
2736
2737 * elf/Makefile (rtld-map): Replaced by libc-map.
2738
2739 * elf/rtld.map: Removed.
2740
2741 * libc.map (__libc_enable_secure, _dl_catch_error,
2742 _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
2743 _dl_default_scope, _dl_global_scope_end, _dl_init_next,
2744 _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
2745 _dl_object_relocation_scope, _dl_relocate_object,
2746 _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
2747 _r_debug): Added for ld.so.
2748
2749 1998-02-10 08:38 H.J. Lu <hjl@gnu.org>
2750
2751 * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
2752 DO_VERSIONING.
2753 * libio/iofdopen.c: Ditto.
2754 * libio/iofopen.c: Ditto.
2755 * libio/oldfileops.c: Ditto.
2756
2757 * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
2758 version GLIBC_2.1.
2759
2760 * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
2761 oldsiglist from sysdep_routines and shared-only-routines.
2762
2763 * sysdeps/unix/sysv/linux/errlist.c: New.
2764 * sysdeps/unix/sysv/linux/errlist.h: New.
2765 * sysdeps/unix/sysv/linux/sizes.h: New.
2766 * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
2767 * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
2768
2769 * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
2770
2771 * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
2772 (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
2773 directive.
2774
2775 * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
2776
2777 * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
2778 (oldsiglist.c): Removed.
2779
2780 * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
2781 (_sys_siglist): Use SYS_SIGLIST instead.
2782 (_sys_nerr): Use SYS_NERR instead.
2783
2784 * sysdeps/gnu/errlist.c: Rebuilt.
2785
2786 1998-02-11 08:35 H.J. Lu <hjl@gnu.org>
2787
2788 * elf/Makefile (others-static): New, set to ldconfig.
2789 ($(objpfx)ldconfig): Removed.
2790
2791 * Rules (binaries-all, binaries-static, binaries-shared): New.
2792 Create targets for $(binaries-static) and $(binaries-shared).
2793
2794 * Makeconfig (+link-static, link-libc-static,
2795 link-extra-libs-static): New for static linking.
2796
2797 1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2798
2799 * manual/memory.texi (Using the Memory Debugger): Fix typo.
2800
2801 * math/libm-test.c (modf_test): Add one more test for modf.
2802
2803 1998-02-11 14:39 Ulrich Drepper <drepper@happy.cygnus.com>
2804
2805 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
2806 Rename from __libc_have_rt_sigs and leave as COMMON data.
2807
2808 1998-02-11 08:30 H.J. Lu <hjl@gnu.org>
2809
2810 * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
2811 of __finite.
2812
2813 1998-02-11 19:16 Richard Henderson <rth@cygnus.com>
2814
2815 * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
2816
2817 1998-02-11 16:56 Ulrich Drepper <drepper@happy.cygnus.com>
2818
2819 * misc/tst-efgcvt.c: Add yet more tests.
2820 * misc/efgcvt_r.c: And correct for these tests again.
2821 Reported by HJ Lu.
2822
2823 * isomac.c: Move to...
2824 * stdlib/isomac.c: ...here.
2825 * Makefile: Move rules for handling isomac...
2826 * stdlib/Makefile: ...to here.
2827
2828 1998-02-10 23:57 Ulrich Drepper <drepper@happy.cygnus.com>
2829
2830 * misc/tst-efgcvt.c: Add more tests.
2831 * misc/efgcvt_r.c: Correct result for above new tests.
2832
2833 1998-02-06 17:22 H.J. Lu <hjl@gnu.org>
2834
2835 * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
2836 NDIGIT <= 0.
2837
2838 1998-02-10 16:48 Philip Blundell <pb@nexus.co.uk>
2839
2840 * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
2841 if the programs weren't built.
2842
2843 1998-02-09 10:12 Philip Blundell <pb@nexus.co.uk>
2844
2845 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
2846 FE_TONEAREST, soldier on regardless and do the best we can.
2847 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
2848
2849 1998-02-5 17:20 Philip Blundell <pb@nexus.co.uk>
2850
2851 * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
2852 _STDIO_H, before including <bits/stdio_lim.h>.
2853
2854 * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
2855
2856 * io/fts.c (fts_build): Don't try to use d_type if it doesn't
2857 exist.
2858
2859 * sysdeps/arm/sys/ucontext.h: New file.
2860
2861 1998-02-04 10:11 Philip Blundell <pb@nexus.co.uk>
2862
2863 * manual/stdio.texi (Formatted Output Functions): Explicitly say
2864 that the return value from snprintf() does not count the
2865 terminating NUL as a character.
2866
2867 1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
2868
2869 * manual/users.texi: Rewrite to describe correct POSIX behaviour,
2870 add description for sete[ug]id and general cleanup.
2871 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
2872
2873 1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2874
2875 * Makefile (parent-clean): Don't remove makefile fragments here.
2876 (postclean): New variable.
2877 (clean): Remove makefile fragments here.
2878 (realclean distclean): Likewise. Pass sysdep-subdirs to sub-make.
2879 (generated): Add isomac and isomanc.out.
2880 * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
2881 avoid-generated is set.
2882 (postclean-generated): Add soversion.mk.
2883 ($(common-objpfx)version.mk): Don't include if avoid-generated is
2884 set.
2885 * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
2886 avoid-generated is set.
2887 (common-generated): Add libc.so and libc.so$(libc.so-version).
2888 (generated): Add versioned libraries.
2889 (common-mostlyclean): Also remove %.so and %_pic.a.
2890 * csu/Makefile (generated): Add abi-tag.h.
2891 * db2/Makefile (extra-objs): Add getlong.o.
2892 * elf/Makefile (generated): Add ld.so, ldd and
2893 $(rtld-installed-name).
2894 (others): Add ldconfig here instead of ldconfig.o to extra-objs.
2895 * malloc/Makefile (generated): Add mtrace.
2896 * po/Makefile: Don't include version.mk, not needed any more.
2897 * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
2898 * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
2899 syscall.h -> sys/syscall.h.
2900 (common-generated): Add s-proto.d.
2901 (postclean-generated): Add sysd-syscalls.
2902 * localedata/Makefile (test-output): Add all output files.
2903 (generated): Add test-input and test-output.
2904 (generated-dirs): Add all the dirs.
2905
2906 1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2907
2908 * Makefile (test-output, generated, generated-dirs): New
2909 variables.
2910
2911 1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
2912
2913 * resolv/nss_dns/dns-host.c: Various code cleanups.
2914
2915 1998-02-09 08:10 H.J. Lu <hjl@gnu.org>
2916
2917 * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
2918 From Philip Blundell <pb@nexus.co.uk>.
2919 * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
2920
2921 1998-02-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2922
2923 * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
2924 Suggested by debian/sparc porters.
2925
2926 1998-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2927
2928 * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
2929 for ecvt and fcvt.
2930
2931 1998-02-10 16:32 Ulrich Drepper <drepper@happy.cygnus.com>
2932
2933 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
2934 __fxstat instead of stat and fstat. Use namespace clean __stpcpy.
2935
2936 * signal/signal.h: Always define sigset_t if __need_sigset_t is
2937 defined even if __USE_POSIX is not defined.
2938
2939 1998-02-02 20:51 Zack Weinberg <zack@rabi.phys.columbia.edu>
2940
2941 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
2942 to support obsolete tty major numbers correctly.
2943
2944 1998-02-02 08:47 H.J. Lu <hjl@gnu.org>
2945
2946 * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
2947 directory first and ignore install error.
2948
2949 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
2950 128 from ptyno and fix a typo for the BSD style pty.
2951
2952 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2953
2954 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
2955 syscalls.list's.
2956
2957 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2958
2959 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2960 getresuid and getresgid.
2961
2962 * sysdeps/unix/sysv/linux/getresuid.c: New file.
2963 * sysdeps/unix/sysv/linux/getresgid.c: New file.
2964
2965 * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
2966 s_getres[ug]id.
2967
2968 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
2969 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2970 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2971 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
2972
2973 1998-02-02 08:11 H.J. Lu <hjl@gnu.org>
2974
2975 * nscd/grpcache.c: Include <stdlib.h>.
2976
2977 1998-02-01 16:01 H.J. Lu <hjl@gnu.org>
2978
2979 * stdlib/atoll.c: Fix comments.
2980
2981 * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
2982 * sysdeps/posix/ttyname_r.c: Ditto.
2983
2984 1998-02-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2985
2986 * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
2987 __USE_MISC, independent of __USE_UNIX98.
2988
2989 1998-02-10 19:18 Ulrich Drepper <drepper@happy.cygnus.com>
2990
2991 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
2992 Rename from __libc_have_rt_sigs and leave as COMMON data.
2993
2994 1998-02-04 11:58 Richard Henderson <rth@twiddle.rth.home>
2995
2996 * Makeconfig (CFLAGS-.os): Kill -fno-common.
2997 * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
2998
2999 * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
3000 * elf/rtld.map: New file. Needed to define the GLIBC_2.*
3001 version symbols.
3002 * include/libc-symbols.h (symbol_version, default_symbol_version):
3003 Provide asm versions and correct !DO_VERSIONING versions.
3004 * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
3005 the weak symbol list.
3006
3007 * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
3008 Rename from __libc_have_rt_sigs and leave as COMMON data.
3009 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3010 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3011 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3012
3013 1998-02-04 16:41 Zack Weinberg <zack@rabi.phys.columbia.edu>
3014
3015 * sunrpc/Makefile: Correct dependencies of rpcgen.
3016
3017 1998-02-10 03:00 Ulrich Drepper <drepper@happy.cygnus.com>
3018
3019 * nscd/Makefile: Fix test for available linuxthreads add-on.
3020 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
3021
3022 1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3023
3024 * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
3025
3026 1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3027
3028 * sysdeps/gnu/Makefile: Respect with-cvs variable.
3029
3030 * manual/errno.texi (Error Messages): Correct description of
3031 strerror_r. Pointed out by jonas@bagge.se.
3032
3033 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3034
3035 * manual/socket.texi (Host Address Functions): Clarify description
3036 of inet_network.
3037
3038 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3039
3040 * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
3041 (grantpt): Delete superfluous cast.
3042
3043 1998-02-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3044
3045 * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
3046 elf/ldso_install instead of elf/subdir_install.
3047 (elf/ldso_install): New target.
3048
3049 * elf/Makefile (ldso_install): New target.
3050
3051 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3052
3053 * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
3054 of 1998-01-06.
3055
3056 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3057
3058 * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
3059 constant expressions.
3060
3061 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3062
3063 * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
3064 for __nss_configure_lookup.
3065 (output_hostent): Remove unused variable.
3066
3067 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3068
3069 * string/tst-inlcall.c: Fix format string.
3070
3071 1998-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3072
3073 * inet/netinet/in.h: Rename second parameter of bindresvport to
3074 avoid buggy gcc warning. [PR libc/412]
3075
3076 1998-02-04 18:04 Richard Henderson <rth@cygnus.com>
3077
3078 * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
3079 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
3080
3081 * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
3082 Follow POSIX and make tv_sec a time_t.
3083 * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
3084 new tv64 syscall as well as fall back to tv32.
3085 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
3086 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
3087 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
3088 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
3089 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
3090 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
3091 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
3092 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
3093
3094 * include/rpcsvc/nis.h: New. Bounce to nis/rpcsvc.
3095 * include/rpcsvc/nis_tags.h: Likewise.
3096 * include/rpcsvc/nislib.h: Likewise.
3097
3098 1998-02-02 01:12 Ulrich Drepper <drepper@cygnus.com>
3099
3100 * libc.map: Add _h_errno.
3101 * inet/herrno.c: Make _h_errno weak alias.
3102
3103 * login/Makefile (distribute): Add pty-internal.h.
3104
3105 * nscd/Makefile (distribute): Add all the files missing.
3106
3107 * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
3108 are available.
3109
3110 * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
3111 and report status at the end.
3112
3113 * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
3114
3115 * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
3116 variable.
3117 * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
3118 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
3119 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
3120
3121 1998-01-03 20:47 Mark Kettenis <kettenis@phys.uva.nl>
3122
3123 * configure.in: Fix --enable-add-ons code.
3124
3125 1998-02-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3126
3127 * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
3128 by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
3129 [PR libc/441]
3130
3131 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
3132 occurence in cache. Reported by Rudolf Leitgeb
3133 <leitgeb@leland.stanford.edu>.
3134 [PR libc/440]
3135
3136 1998-02-01 21:18 Ulrich Drepper <drepper@cygnus.com>
3137
3138 * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
3139 that it never is EINTR (which is tested for in _IO_vfscanf).
3140
3141 * Makefile.in: Call sub-make with CVSOPTS.
3142
3143 * elf/Makefile (distribute): Add dl-procinfo.h.
3144
3145 * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
3146
3147 1998-02-01 15:54 Ulrich Drepper <drepper@cygnus.com>
3148
3149 * version.h (VERSION): Bump to 2.0.92.
3150
3151 1998-01-31 Phil Blundell <philb@gnu.org>
3152
3153 * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
3154 alias for __new_sys_siglist.
3155
3156 1998-02-01 00:53 Ulrich Drepper <drepper@cygnus.com>
3157
3158 * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
3159 getgrgid_r.c if thread package is available.
3160 * pwd/Makefile: Likewise.
3161 * grp/getgrnam_r.c: Remove USE_NSCD definition.
3162 * grp/getgrgid_r.c: Likewise.
3163 * pwd/getpwnam_r.c: Likewise.
3164 * pwd/getpwuid_r.c: Likewise.
3165
3166 1998-01-31 23:46 Ulrich Drepper <drepper@cygnus.com>
3167
3168 * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
3169 with error to allow user intervention.
3170 * nss/getXXent_r.c: Likewise.
3171
3172 1998-01-31 21:18 Ulrich Drepper <drepper@cygnus.com>
3173
3174 * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
3175 AT_PLATFORM string. Pretty print AT_BASE info.
3176
3177 * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
3178 (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
3179 * sysdeps/generic/dl-procinfo.h: New file.
3180 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
3181
3182 1998-01-31 20:52 Ulrich Drepper <drepper@cygnus.com>
3183
3184 * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
3185
3186 * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
3187 thread and not pthread_detach.
3188
3189 * nscd/nscd.c: Rewrite to use argp instead of getopt.
3190
3191 1998-01-31 Phil Blundell <philb@gnu.org>
3192
3193 * configure.in: Add --without-cvs option to suppress automatic
3194 checkin of regenerated files.
3195 * config.make.in: Likewise.
3196 * Makefile: Respect with-cvs setting.
3197 * Makerules: Likewise.
3198
3199 * configure.in: Allow the standalone ARM port to be configured.
3200
3201 1998-01-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3202
3203 * grp/getgrgid_r.c: Define USE_NSCD.
3204 * grp/getgrnam_r.c: Likewise.
3205 * pwd/getpwuid_r.c: Likewise.
3206 * pwd/getpwnam_r.c: Likewise.
3207
3208 * sysdeps/unix/inet/Subdirs: Add nscd subdir.
3209
3210 * nss/getXXbyYY_r.c: Try at first nscd.
3211
3212 * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
3213 * nscd/connections.c: New file.
3214 * nscd/dbg_log.c: New file.
3215 * nscd/dbg_log.h: New file.
3216 * nscd/grpcache.c: New file.
3217 * nscd/nscd.c: New file.
3218 * nscd/nscd.h: New file.
3219 * nscd/nscd_conf.c: New file.
3220 * nscd/nscd_stat.c: New file.
3221 * nscd/pwdcache.c: New file.
3222
3223 * nscd/nscd_getgr_r.c: New, client code, linked into libc.
3224 * nscd/nscd_getpw_r.c: Likewise.
3225 * nscd/nscd_proto.h: New, prototypes for client functions.
3226
3227 * nscd/nscd.conf: New, example for a configuration file.
3228 * nscd/nscd.init: New, example for a startup script.
3229
3230 * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
3231 avoid deadlocks.
3232 * nscd/getgrnam_r.c: Likewise.
3233 * nscd/getpwnam_r.c: Likewise.
3234 * nscd/getpwuid_r.c: Likewise.
3235
3236 1998-01-31 11:44 Ulrich Drepper <drepper@cygnus.com>
3237
3238 * intl/Makefile: Use CVSOPTS in cvs invocation.
3239 * po/Makefile: Likewise.
3240 * posix/Makefile: Likewise.
3241 * stdlib/Makefile: Likewise.
3242
3243 1998-01-31 11:18 Ulrich Drepper <drepper@cygnus.com>
3244
3245 * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
3246 [PR libc/410]
3247 * misc/Makefile (tests): Add tst-efgcvt.
3248 * misc/tst-efgcvt.c: New file.
3249
3250 1998-01-31 00:21 Ulrich Drepper <drepper@cygnus.com>
3251
3252 * posix/regex.c: Add some more cleanups by Akim Demaille.
3253
3254 1998-01-30 23:55 Ulrich Drepper <drepper@cygnus.com>
3255
3256 * signal/signal.h: Revert last change.
3257 * string/strsignal.c: Regard signal number NSGI as illegal.
3258 * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
3259 members.
3260
3261 1998-01-30 23:37 Ulrich Drepper <drepper@cygnus.com>
3262
3263 * Makefile.in: Add comment about CVSOPTS Makefile variable.
3264 * Makerules: Use CVSOPTS in cvs invocation.
3265 * Makefile: Likewise.
3266 * MakeTAGS: Likewise.
3267 * Make-dist: Likewise.
3268
3269 1998-01-30 22:37 Ulrich Drepper <drepper@cygnus.com>
3270
3271 * sysdeps/generic/memmem.c: Correct last change.
3272
3273 1998-01-30 22:12 Ulrich Drepper <drepper@cygnus.com>
3274
3275 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
3276 CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
3277
3278 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3279
3280 * nis/ypclnt.c: Try at first to use the binding file from ypbind
3281 before using RPC.
3282
3283 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3284
3285 * manual/memory.texi (Heap Consistency Checking): mcheck is
3286 declared in <mcheck.h>.
3287 Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
3288
3289 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3290
3291 * sysdeps/generic/memmem.c (memmem): An empty needle is at the
3292 beginning of haystack.
3293
3294 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3295
3296 * nss/nss_files/files-service.c: Correct last patch.
3297
3298 1998-01-30 21:29 Ulrich Drepper <drepper@cygnus.com>
3299
3300 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
3301 __libc_have_rt_sigs.
3302 * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
3303 including <bits/setjmp.h>.
3304 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
3305 Patch from the Debian glibc/SPARC package.
3306
3307 1997-12-12 07:57 H.J. Lu <hjl@gnu.org>
3308
3309 * sysdeps/alpha/bzero.S: Fix a typo.
3310 * sysdeps/alpha/htonl.S: Ditto.
3311 * sysdeps/alpha/htons.S: Ditto.
3312
3313 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3314
3315 * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
3316
3317 1998-01-30 19:58 Ulrich Drepper <drepper@cygnus.com>
3318
3319 * include/cpio.h: Move to ...
3320 * posix/cpio.h: ...here.
3321
3322 * locale/programs/ld-collate.c: Fix typo.
3323
3324 * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
3325
3326 * stdio-common/tiformat.c: Add checks for %#.0o and friends.
3327
3328 * login/utmp_file.c (pututline_file): Don't always report success
3329 if similar entry is found. Patch by Mark M. Kettenis.
3330
3331 1998-01-30 16:06 Philip Blundell <pb@nexus.co.uk>
3332
3333 * manual/Makefile: Don't try to install the info files if makeinfo
3334 is not available.
3335
3336 1998-01-30 12:05 Philip Blundell <pb@nexus.co.uk>
3337
3338 * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
3339 kernel's network ioctls, rather than using <linux/sockios.h> to
3340 get them. This way we are sure of maintaining compatibility if
3341 the kernel interface should change.
3342
3343 1998-01-30 15:52 Ulrich Drepper <drepper@cygnus.com>
3344
3345 * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
3346
3347 1998-01-25 19:54 Philip Blundell <Philip.Blundell@pobox.com>
3348
3349 * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
3350 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
3351
3352 1998-01-27 22:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
3353
3354 Implement System V pseudoterminal handling.
3355
3356 * login/Makefile
3357 (routines): Add getpt, grantpt, unlockpt, ptsname.
3358 (libutil-routines): Remove pty. Add openpty, forkpty.
3359 (distribute): New internal header pty-internal.h.
3360 (others): Add the helper program, pt_chown.
3361 (install-others): Install it, in $(libexecdir), mode 4755.
3362
3363 * login/pty-internal.h: New file.
3364 * login/openpty.c: New file.
3365 * login/forkpty.c: New file.
3366 * login/programs/pt_chown.c: New file.
3367
3368 * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
3369 * stdlib/stdlib.h: Prototype them.
3370
3371 * config.make.in: Define $(libexecdir).
3372 * Makeconfig: Define $(inst_libexecdir).
3373
3374 * sysdeps/generic/pty.c: Removed.
3375 * sysdeps/unix/sysv/linux/pty.c: Removed.
3376
3377 * sysdeps/generic/getpt.c: Stub out.
3378 * sysdeps/generic/grantpt.c: Likewise.
3379 * sysdeps/generic/ptsname.c: Likewise.
3380 * sysdeps/generic/unlockpt.c: Likewise.
3381
3382 * sysdeps/unix/grantpt.c: New file.
3383 * sysdeps/unix/bsd/getpt.c: New file.
3384 * sysdeps/unix/bsd/unlockpt.c: New file.
3385 * sysdeps/unix/sysv/linux/getpt.c: New file.
3386 * sysdeps/unix/sysv/linux/ptsname.c: New file.
3387 * sysdeps/unix/sysv/linux/unlockpt.c: New file.
3388
3389 1998-01-29 23:56 Ulrich Drepper <drepper@cygnus.com>
3390
3391 * localedata/locales/ru_RU: Fix YESEXPR. Patch by lav@yars.free.net.
3392
3393 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3394
3395 * nss/Makefile (tests): Add rule for test-netdb.c.
3396
3397 * nss/test-netdb.c: New file.
3398
3399 1998-01-29 02:38 Ulrich Drepper <drepper@cygnus.com>
3400
3401 * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
3402 really kept as a variable. Patch by Richard Henderson,
3403 reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
3404
3405 * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
3406 * elf/genrtldtbl.awk: Mark machine dependent directory of generated
3407 entries as not existing.
3408
3409 1998-01-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3410
3411 * stdio-common/vfprintf.c (process_arg): Fix printing of octal
3412 zero in alternate form with precision of zero, which must produce
3413 "0". Add braces to avoid ambiguous `else'.
3414
3415 1998-01-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3416
3417 * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
3418 problem with strncpy.
3419 * nis/nss_compat/compat-pwd.c: Likewise.
3420 * nis/nss_compat/comapt-spwd.c: Likewise.
3421
3422 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3423
3424 * assert/assert.h (assert_perror): Correct test for errnum. Patch
3425 by uch@nop.or.jp. [PR libc/437]
3426
3427 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3428
3429 * nis/nis_cache.c: Include <unistd.h> for declaration of close.
3430
3431 1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3432
3433 * stdio-common/test-popen.c: Include <errno.h>.
3434
3435 * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
3436 close.
3437
3438 * inet/getnetgrent_r.c: Include <errno.h>.
3439
3440 * db2/db/db_conv.c: Include <string.h> for memcpy.
3441
3442 * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
3443 so that memcpy is declared.
3444
3445 * iconv/iconv_open.c: Include <stdlib.h> for alloca.
3446
3447 * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
3448
3449 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3450
3451 * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
3452 overflow while reading line with fgets.
3453 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
3454
3455 1998-01-27 00:46 Ulrich Drepper <drepper@cygnus.com>
3456
3457 * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
3458 unsigned short, not short.
3459 Reported by Andreas Jaeger.
3460
3461 1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3462
3463 * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
3464 (ccept->accept).
3465
3466 * sysdeps/generic/inttypes.h: Fix spelling.
3467
3468 1998-01-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3469
3470 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
3471
3472 * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
3473
3474 1998-01-27 00:30 Ulrich Drepper <drepper@cygnus.com>
3475
3476 * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
3477 * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
3478 field for hh modifier.
3479 * stdio-common/vfprint.c: Use is_char field and do not depend in
3480 is_short having the value 2.
3481 Bug reported by Andreas Jaeger.
3482
3483 1998-01-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3484
3485 * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
3486 PIC && DO_VERSIONING.
3487
3488 1998-01-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3489
3490 * Rules: Add rules for $(common-objpfx)dummy$o.
3491
3492 1998-01-26 Richard Henderson <rth@cygnus.com>
3493
3494 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
3495 unimplemented OSF/1 definitions so that they are not accidentally seen.
3496
3497 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
3498 of the trampoline function into the macro.
3499 * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
3500 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
3501 kernel 2.1.82 has this fixed.
3502
3503 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
3504 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
3505
3506 1998-01-26 Ulrich Drepper <drepper@cygnus.com>
3507
3508 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
3509 support sigaction on kernels > 2.1.7x.
3510
3511 1998-01-01 13:52 Ulrich Drepper <drepper@cygnus.com>
3512
3513 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
3514 if it is empty.
3515
3516 * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
3517 Patch by David Engel <david@sw.ods.com>.
3518
3519 * configure.in: Fix another typo in --enable-add-ons code.
3520
3521 1998-01-26 03:48 Ulrich Drepper <drepper@cygnus.com>
3522
3523 * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
3524
3525 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3526
3527 * nss/nss_files/files-network.c: Correct order of parameters for
3528 getnetbyaddr.
3529
3530 1998-01-26 00:57 Ulrich Drepper <drepper@cygnus.com>
3531
3532 * db2/Makefile (routines): Add os_alloc.
3533 * db2/db.h: Update from db-2.3.16.
3534 * db2/db_185.h: Likewise.
3535 * db2/db_int.h: Likewise.
3536 * db2/btree/bt_close.c: Likewise.
3537 * db2/btree/bt_cursor.c: Likewise.
3538 * db2/btree/bt_delete.c: Likewise.
3539 * db2/btree/bt_open.c: Likewise.
3540 * db2/btree/bt_page.c: Likewise.
3541 * db2/btree/bt_put.c: Likewise.
3542 * db2/btree/bt_rec.c: Likewise.
3543 * db2/btree/bt_recno.c: Likewise.
3544 * db2/btree/btree_auto.c: Likewise.
3545 * db2/common/db_appinit.c: Likewise.
3546 * db2/common/db_apprec.c: Likewise.
3547 * db2/common/db_err.c: Likewise.
3548 * db2/common/db_region.c: Likewise.
3549 * db2/common/db_shash.c: Likewise.
3550 * db2/db/db.c: Likewise.
3551 * db2/db/db_auto.c: Likewise.
3552 * db2/db/db_conv.c: Likewise.
3553 * db2/db/db_dispatch.c: Likewise.
3554 * db2/db/db_dup.c: Likewise.
3555 * db2/db/db_pr.c: Likewise.
3556 * db2/db/db_rec.c: Likewise.
3557 * db2/db185/db185.c: Likewise.
3558 * db2/dbm/dbm.c: Likewise.
3559 * db2/hash/hash.c: Likewise.
3560 * db2/hash/hash_auto.c: Likewise.
3561 * db2/hash/hash_dup.c: Likewise.
3562 * db2/hash/hash_page.c: Likewise.
3563 * db2/hash/hash_rec.c: Likewise.
3564 * db2/include/btree_ext.h: Likewise.
3565 * db2/include/clib_ext.h: Likewise.
3566 * db2/include/common_ext.h: Likewise.
3567 * db2/include/db.h.src: Likewise.
3568 * db2/include/db_185.h.src: Likewise.
3569 * db2/include/db_am.h: Likewise.
3570 * db2/include/db_ext.h: Likewise.
3571 * db2/include/db_int.h.src: Likewise.
3572 * db2/include/hash_ext.h: Likewise.
3573 * db2/include/lock_ext.h: Likewise.
3574 * db2/include/log.h: Likewise.
3575 * db2/include/log_auto.h: Likewise.
3576 * db2/include/log_ext.h: Likewise.
3577 * db2/include/mp.h: Likewise.
3578 * db2/include/mp_ext.h: Likewise.
3579 * db2/include/mutex_ext.h: Likewise.
3580 * db2/include/os_ext.h: Likewise.
3581 * db2/include/os_func.h: Likewise.
3582 * db2/include/txn_ext.h: Likewise.
3583 * db2/lock/lock.c: Likewise.
3584 * db2/lock/lock_util.c: Likewise.
3585 * db2/log/log.c: Likewise.
3586 * db2/log/log.src: Likewise.
3587 * db2/log/log_archive.c: Likewise.
3588 * db2/log/log_auto.c: Likewise.
3589 * db2/log/log_get.c: Likewise.
3590 * db2/log/log_put.c: Likewise.
3591 * db2/log/log_rec.c: Likewise.
3592 * db2/log/log_register.c: Likewise.
3593 * db2/mp/mp_bh.c: Likewise.
3594 * db2/mp/mp_fget.c: Likewise.
3595 * db2/mp/mp_fopen.c: Likewise.
3596 * db2/mp/mp_fput.c: Likewise.
3597 * db2/mp/mp_pr.c: Likewise.
3598 * db2/mp/mp_sync.c: Likewise.
3599 * db2/mutex/mutex.c: Likewise.
3600 * db2/os/os_alloc.c: Likewise.
3601 * db2/os/os_config.c: Likewise.
3602 * db2/os/os_stat.c: Likewise.
3603 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
3604 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
3605 * db2/progs/db_load/db_load.c: Likewise.
3606 * db2/progs/db_printlog/db_printlog.c: Likewise.
3607 * db2/progs/db_recover/db_recover.c: Likewise.
3608 * db2/progs/db_stat/db_stat.c: Likewise.
3609 * db2/txn/txn.c: Likewise.
3610
3611 * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
3612 Unmap memory blocks in reverse order of allocation.
3613 Call munmap with load address added to offset.
3614 Bug reported by Miguel de Icaza.
3615
3616 * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
3617 up weight array.
3618
3619 * localedata/locales/cs_CZ: Update by Michael Mraka
3620 <michael@informatics.muni.cz>.
3621
3622 * misc/sys/syslog.h: Reformat a bit. Don't declare vsyslog unless
3623 __USE_BSD.
3624
3625 * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
3626 reading line with fgets.
3627 * nis/nss_compat/compat-pwd.c: Likewise.
3628 * nis/nss_compat/compat-spwd.c: Likewise.
3629 * nss/nss_files/files-XXX.c: Likewise.
3630 * nss/nss_files/files-alias.c: Likewise.
3631 * shadow/fgetspent_r.c: Likewise.
3632
3633 * string/strerror_r.c: Correct comment. Patch by Andreas Jaeger.
3634
3635 * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
3636 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
3637 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
3638
3639 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
3640 FP register content in ucontext_t.
3641
3642 1998-01-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3643
3644 * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
3645 calculation. Patch by Markus Schoder
3646 <Markus.Schoder@dresdner-bank.de>.
3647
3648 * math/libm-test.c (modf_test): Add more tests for modf.
3649
3650 * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
3651 munlock according to Unix98.
3652
3653 1998-01-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3654
3655 * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
3656 AF_INET.
3657
3658 1998-01-21 07:22 H.J. Lu <hjl@gnu.org>
3659
3660 * sysdeps/posix/ttyname.c: Handle symbolic links.
3661 * sysdeps/posix/ttyname_r.c: Ditto.
3662
3663 1998-01-25 19:39 Ulrich Drepper <drepper@cygnus.com>
3664
3665 * db2/makedb.c (process_input): Write terminating \0 for value.
3666 (print_database): Simply print value string, don't use length.
3667
3668 1998-01-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3669
3670 * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
3671 exit of loop.
3672
3673 1998-01-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3674
3675 * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
3676 close all sockets.
3677
3678 1998-01-25 14:54 Ulrich Drepper <drepper@cygnus.com>
3679
3680 * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
3681 sigset.
3682 * signal/sighold.c: New file.
3683 * signal/sigrelse.c: New file.
3684 * sysdeps/generic/sigignore.c: New file.
3685 * sysdeps/generic/sigset.c: New file.
3686 * sysdeps/posix/sigignore.c: New file.
3687 * sysdeps/posix/sigset.c: New file.
3688 * signal/signal.h: Add prototypes for new functions.
3689
3690 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
3691 * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
3692 * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
3693 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
3694
3695 1998-01-23 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
3696
3697 * posix/wordexp.c: Added IFS field-splitting in parameter and
3698 command substitution. Fixed an IFS-related bug that caused an
3699 infinite loop.
3700
3701 1998-01-25 12:38 Ulrich Drepper <drepper@cygnus.com>
3702
3703 * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
3704 and swapcontext.
3705 * stdlib/ucontext.h: Correct prototypes.
3706 * sysdeps/generic/getcontext.c: New file.
3707 * sysdeps/generic/setcontext.c: New file.
3708 * sysdeps/generic/makecontext.c: New file.
3709 * sysdeps/generic/swapcontext.c: New file.
3710 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
3711
3712 1998-01-25 04:07 Ulrich Drepper <drepper@cygnus.com>
3713
3714 * resource/sys/resource.h: Remove #include of ulimit.h which is
3715 not allowed by SUSv2 and not available on other systems.
3716 * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
3717
3718 * streams/Makefile: New file.
3719 * streams/stropts.h: New file.
3720 * sysdeps/generic/bits/stropts.h: New file.
3721 * sysdeps/generic/isastream.c: New file.
3722 * sysdeps/generic/getmsg.c: New file.
3723 * sysdeps/generic/getpmsg.c: New file.
3724 * sysdeps/generic/putmsg.c: New file.
3725 * sysdeps/generic/putpmsg.c: New file.
3726 * sysdeps/generic/fattach.c: New file.
3727 * sysdeps/generic/fdetach.c: New file.
3728 * sysdeps/unix/inet/Subdirs: Add streams.
3729 * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
3730 __t_uscalar_t.
3731 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3732 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3733 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3734 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
3735
3736 * sysdeps/mach/_strerror.c: Follow changes of generic version to
3737 handle small buffers correctly.
3738
3739 1998-01-24 17:31 H.J. Lu <hjl@gnu.org>
3740
3741 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
3742 Remove the 3rd arg and add declaration for _dl_runtime_resolve
3743 and _dl_runtime_profile.
3744
3745 1998-01-25 02:42 Ulrich Drepper <drepper@cygnus.com>
3746
3747 * include/cpio.h: New file. Mainly copied from GNU cpio.
3748 * posix/Makefile (headers): Add cpio.h.
3749
3750 1998-01-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3751
3752 * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
3753 to routines.
3754 * nis/nis_cache.c: New file.
3755 * nis/nis_cache2.h: New file.
3756 * nis/nis_cache2_xdr.c: New file.
3757 * nis/nis_call.c: Changes for cache2_info parameter.
3758 * nis/nis_checkpoint.c: Likewise.
3759 * nis/nis_intern.h: Likewise.
3760 * nis/nis_mkdir.c: Likewise.
3761 * nis/nis_ping.c: Likewise.
3762 * nis/nis_rmdir.c: Likewise.
3763 * nis/nis_server.c: Likewise.
3764 * nis/nis_util.c: Likewise.
3765
3766 1997-12-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3767
3768 * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
3769 return/errnop codes.
3770 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
3771 * nis/nss_nisplus/nisplus-grp.c: Likewise.
3772 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
3773 * nis/nss_nisplus/nisplus-proto.c: Likewise.
3774 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
3775 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
3776 * nis/nss_nisplus/nisplus-rpc.c: Likewise
3777 * nis/nss_nisplus/nisplus-service.c: Likewise.
3778 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
3779
3780 1997-12-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3781
3782 * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
3783 * nis/nss_nis/nis-ethers.c: Likewise.
3784 * nis/nss_nis/nis-grp.c: Likewise.
3785 * nis/nss_nis/nis-hosts.c: Likewise.
3786 * nis/nss_nis/nis-network.c: Likewise.
3787 * nis/nss_nis/nis-proto.c: Likewise.
3788 * nis/nss_nis/nis-hosts.c: Likewise.
3789 * nis/nss_nis/nis-network.c: Likewise.
3790 * nis/nss_nis/nis-proto.c: Likewise.
3791 * nis/nss_nis/nis-publickey.c: Likewise.
3792 * nis/nss_nis/nis-pwd.c: Likewise.
3793 * nis/nss_nis/nis-rpc.c: Likewise.
3794 * nis/nss_nis/nis-service.c: Likewise.
3795 * nis/nss_nis/nis-spwd.c: Likewise.
3796
3797 1998-01-24 Ulrich Drepper <drepper@cygnus.com>
3798
3799 * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
3800 Added to follow latest kernel development.
3801
3802 1998-01-24 15:13 Ulrich Drepper <drepper@happy.cygnus.com>
3803
3804 * nss/db-Makefile: Handle empty and comment lines better.
3805 ($(VAR_DB)/services.db): Generate entries with missing protocol
3806 value.
3807
3808 1998-01-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3809
3810 * nss/nss_files/files-service.c (getservbyport): Allow proto ==
3811 NULL.
3812 (getservbyname): Allow proto == NULL.
3813 Pointed out by David N. Welton <davidw@gate.cks.com>.
3814 [PR libc/430].
3815
3816 1998-01-24 11:34 Ulrich Drepper <drepper@happy.cygnus.com>
3817
3818 * nis/nislib/nislib.h: Finally removed.
3819
3820 * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
3821 C compiler. From Kaveh Ghazi.
3822 (TYPE_MINIMUM): Define.
3823 (TYPE_MAXIMUM): Define.
3824 (TIME_T_MIN): Use TYPE_MINIMUM.
3825 (TIME_T_MAX): Use TYPE_MAXIMUM.
3826 Patch by Jim Meyering <meyering@ascend.com>.
3827
3828 1998-01-22 00:55 Ulrich Drepper <drepper@happy.cygnus.com>
3829
3830 * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
3831 __pread64, __pwrite64, and __getpid.
3832
3833 * rt/aio_misc.c: Use pread and pwrite instead of __ protected
3834 versions.
3835
3836 1998-01-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3837
3838 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
3839 cancelable socket functions as __libc_xxx with __xxx as weak
3840 alias.
3841 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3842 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3843
3844 * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
3845 redefined.
3846 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3847 * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
3848 * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
3849 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3850
3851 * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
3852 and __xxx a weak alias.
3853 * sysdeps/unix/sysv/linux/connect.S: Likewise.
3854 * sysdeps/unix/sysv/linux/recv.S: Likewise.
3855 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3856 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3857 * sysdeps/unix/sysv/linux/send.S: Likewise.
3858 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3859 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3860
3861 1998-01-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3862
3863 * locale/langinfo.h: Add defines.
3864
3865 * dirent/dirent.h: Add defines for DT_*, check also for
3866 _DIRENT_HAVE_D_TYPE.
3867 Suggested by Roland McGrath.
3868
3869 1998-01-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3870
3871 * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
3872 Update from Linux 2.1.73+79.
3873
3874 * README.template: Update information about possible
3875 configurations.
3876
3877 * manual/mbyte.texi (Wide String Conversion): Fix declaration of
3878 wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
3879 [PR libc/417].
3880
3881 * manual/time.texi (Priority): Correct description of
3882 PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
3883 [PR libc/416].
3884
3885 11998-01-21 21:34 Ulrich Drepper <drepper@cygnus.com>
3886
3887 * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
3888 FP_ILOGNAN. Patch by a sun <asun@zoology.washington.edu>.
3889
3890 1998-01-21 17:53 Ulrich Drepper <drepper@cygnus.com>
3891
3892 * sysdeps/generic/_strerror.c: Handle BUFLEN == 0. Reported by
3893 Andreas Jaeger.
3894
3895 1998-01-20 18:13 Ulrich Drepper <drepper@cygnus.com>
3896
3897 * locale/programs/ld-collate.c: Little optimizations.
3898
3899 * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
3900
3901 * string/Makefile (tests): Add tst-inlcall.
3902 * string/tst-inlcall.c: New file.
3903
3904 * string/strsignal.c: Add support for real-time signals.
3905
3906 * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
3907 presense of small buffer.
3908
3909 * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
3910
3911 * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
3912 for i686.
3913
3914 * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
3915 _NSIG + 1.
3916
3917 1998-01-02 15:10 Matthias Urlichs <urlichs@noris.de>
3918
3919 * Rules: Add explicit rule for dummy.o; at least one library needs
3920 it and it isn't autogenerated by the default rules.
3921
3922 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3923
3924 * math/libm-test.c: Tweak epsilons.
3925
3926 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3927
3928 * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
3929 child.
3930 (feenv_mask_test): Likewise.
3931
3932 1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3933
3934 * Makeconfig: Don't export CPPFLAGS.
3935
3936 1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3937
3938 * sunrpc/rpc_main.c (parseargs): Use perror to print error
3939 message.
3940
3941 1998-01-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3942
3943 * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
3944 terminating null in key size.
3945
3946 1998-01-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3947
3948 * nss/nss_files/files-service.c: Fix allocation size to include
3949 length of PROTO.
3950
3951 * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
3952 applicable. Fix return value and error checking.
3953 (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
3954 unparsable lines.
3955 (DB_LOOKUP): Allocate space for terminating null byte.
3956
3957 * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
3958 uids specially.
3959
3960 * db2/makedb.c (process_input): Continue processing if a duplicate
3961 key is encountered.
3962
3963 1998-01-19 15:20 Ulrich Drepper <drepper@cygnus.com>
3964
3965 * time/tzfile.h: Updated from tzcode1998b.
3966 * time/zdump.c: Likewise.
3967 * time/zic.c: Likewise.
3968 * time/africa: Update from tzdata1998b.
3969 * time/antarctica: Likewise.
3970 * time/asia: Likewise.
3971 * time/australasia: Likewise.
3972 * time/etcetera: Likewise.
3973 * time/europe: Likewise.
3974 * time/leapseconds: Likewise.
3975 * time/northamerica: Likewise.
3976 * time/southamerica: Likewise.
3977
3978 1998-01-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3979
3980 * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
3981 lookups ignoring case.
3982 * nss/nss_files/files-network.c: Do network lookups ignoring
3983 case.
3984 * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
3985 case.
3986 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
3987 case insensitive comparing.
3988 Patches by Cristian Gafton <gafton@redhat.com>.
3989
3990 1998-01-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3991
3992 * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines. Suggested
3993 by Roland McGrath. [PR libc/395]
3994
3995 1998-01-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3996
3997 * manual/arith.texi (Parsing of Integers): Correct description of
3998 strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
3999 [PR libc/396]
4000
4001 1997-12-30 14:14 Matthias Urlichs <urlichs@noris.de>
4002
4003 * misc/lsearch.c (lsearch): Return a pointer to the new element
4004 if one was "allocated".
4005
4006 1997-12-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4007
4008 * string/strsignal.c: NSIG is not a valid index into
4009 _sys_siglist. Don't zap the last character of the "Unknown
4010 signal" message.
4011
4012 1998-01-19 15:08 Ulrich Drepper <drepper@cygnus.com>
4013
4014 * locale/programs/charmap.c (parse_charmap): Correct parsing of
4015 ellipsis expressions.
4016
4017 * locale/programs/charset.c (insert_char): Correctly insert value
4018 of eliipsis expression.
4019
4020 1997-12-28 15:08 Ulrich Drepper <drepper@cygnus.com>
4021
4022 * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
4023 <bits/setjmp.h>.
4024 * sysdeps/powerpc/setjmp.S: Likewise.
4025 Patches by Matt McLean <keys@keys.got.net>.
4026
4027 * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
4028
4029 * Makefile: Undo last patch.
4030 (distribute): Add test-installation.pl.
4031
4032 * configure.in: Correct handling of --enable-add-ons without parameter.
4033 Correct address of WWW pages.
4034
4035 * libc.map: Add _nl_domain_bindings.
4036
4037 * db2/mutex/tsl_parisc.s: New file.
4038
4039 * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
4040 and extra-module.mk.
4041
4042 * localedata/Makefile (distribute): New. Add all the files.
4043
4044 * stdlib/Makefile (headers): Add inttypes.h.
4045 (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
4046 * sysdeps/generic/inttypes.h: New file.
4047 * sysdeps/generic/strtoimax.c: New file.
4048 * sysdeps/generic/strtoumax.c: New file.
4049 * sysdeps/generic/wcstoimax.c: New file.
4050 * sysdeps/generic/wcstoumax.c: New file.
4051 * sysdeps/wordsize-32/Dist: Removed.
4052 * sysdeps/wordsize-32/Makefile: Removed.
4053 * sysdeps/wordsize-64/Dist: Removed.
4054 * sysdeps/wordsize-64/Makefile: Removed.
4055 * sysdeps/generic/bits/environments.h: New file.
4056
4057 * include/limits.h: Define MB_LEN_MAX in any case to 6. The gcc
4058 header is still not correct.
4059
4060 * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
4061 * posix/unistd.h: Likewise.
4062 * sysdeps/generic/sys/mman.h: Likewise.
4063 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
4064
4065 * manual/arith.texi: Change definition of mul macro.
4066 * manual/math.texi: Likewise.
4067
4068 * misc/Makefile (routines): Add mmap64.
4069 * sysdeps/generic/mmap64.c: New file.
4070 * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
4071 * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
4072 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
4073 aliases to mmap.
4074 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4075
4076 * sysdeps/generic/setrlimit64.c: Don't mark as stub.
4077
4078 * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
4079
4080 * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
4081
4082 * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
4083 FOPEN_MAX also when included by limits.h.
4084 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
4085
4086 * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
4087 and netrom/netrom.h.
4088 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
4089 oldsiglist to sysdep_routines, not aux.
4090 [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
4091
4092 * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
4093 and SOL_NETROM definition.
4094
4095 * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
4096
4097 * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
4098 * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
4099
4100 1997-12-25 Ulrich Drepper <drepper@cygnus.com>
4101
4102 * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
4103
4104 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
4105 sa_handler with k_sa_handler.
4106 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
4107 strong alias.
4108 Reported by a sun.
4109
4110 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
4111 __libc_have_rt_sigs here.
4112 * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
4113 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4114 * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
4115 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4116
4117 1997-12-11 07:51 Geoff Keating <geoffk@ozemail.com.au>
4118
4119 * sysdeps/powerpc/atomicity.h: New file.
4120 * sysdeps/mach/powerpc/machine-lock.h: New file.
4121
4122 * Rules: Use -fpic to build anything that might end up in a users'
4123 shared library.
4124
4125 * sysdeps/powerpc/s_fdim.c: New file.
4126 * sysdeps/powerpc/s_fdimf.c: New file.
4127 * sysdeps/powerpc/s_fmax.S: New file.
4128 * sysdeps/powerpc/s_fmaxf.S: New file.
4129 * sysdeps/powerpc/s_fmin.S: New file.
4130 * sysdeps/powerpc/s_fminf.S: New file.
4131 * sysdeps/powerpc/s_llrint.c: Now is for double.
4132 * sysdeps/powerpc/s_llrintf.c: New file.
4133 * sysdeps/powerpc/s_llround.c: Now is for double.
4134 * sysdeps/powerpc/s_llroundf.c: New file.
4135 * sysdeps/powerpc/s_lrint.c: Now is for double.
4136 * sysdeps/powerpc/s_lrintf.S: New file.
4137 * sysdeps/powerpc/s_lround.c: Now is for double.
4138 * sysdeps/powerpc/s_lroundf.c: New file.
4139 * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
4140 lrintf, fdim, fdimf.
4141
4142 * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
4143 file directly, use its parent.
4144
4145 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
4146 (for the third time).
4147
4148 1997-12-20 13:50 Richard Henderson <rth@cygnus.com>
4149
4150 * posix/sched.h: timespec is in <time.h>.
4151
4152 * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
4153
4154 1997-12-22 18:10 Ulrich Drepper <drepper@cygnus.com>
4155
4156 * configure.in: Stop with error if --disable-static is used when
4157 the shared lib uses this library.
4158
4159 * gen-FAQ.pl: I've perl installed in /usr/bin.
4160
4161 * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
4162
4163 Fix Unix98 conformance problems in the headers.
4164 * catgets/nl_types.h: Define nl_item.
4165 * grp/grp.h: Define gid_t.
4166 * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
4167 * include/nl_types.h: New file.
4168 * include/ulimit.h: New file.
4169 * io/fcntl.h: Include sys/stat.h for Unix98. Don't define locking
4170 constants in POSIX mode.
4171 * io/utime.h: Get definition for time_t.
4172 * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
4173 uid_t, pid_t. Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
4174 * libio/stdio.h: Define va_list. Make snprintf also available is
4175 __USE_UNIX98. Declare getopt function and variables.
4176 * locale/langinfo.h: Include nl_types.h. Don't define nl_item.
4177 Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
4178 * math/math.h: Defined M_* constants as double for Unix98 mode.
4179 * posix/fnmatch.h: Pretty print. Define FNM_NOSYS.
4180 * posix/glob.h: Pretty print. Define GLOB_NOSYS.
4181 * posix/regex.h: Define REG_NOSYS.
4182 * posix/wordexp.h: Define WRDE_NOSYS.
4183 * posix/unistd.h: Define _POSIX2_VERSION. Define _XOPEN_VERSION to
4184 500 for Unix98.
4185 * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
4186 somewhere else as well. Define clock_t for Unix98.
4187 * posix/sys/wait.h: Define pid_t.
4188 * pwd/pwd.h: Define gid_t, uid_t.
4189 * resource/Makefile (headers): Add ulimit.h.
4190 * resource/ulimit.h: New file.
4191 * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
4192 instead of second argument.
4193 * sysdeps/unix/bsd/ulimit.c: Likewise. Use UL_* constants.
4194 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
4195 * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
4196 * signal/signal.h: Define pid_t.
4197 * string/string.h: Don't declare BSD string functions in POSIX mode.
4198 * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE. Add
4199 _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
4200 * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
4201 and POSIX.
4202
4203 * inet/test_ifindex.c: Change test so that it does not fail for
4204 interface aliases.
4205
4206 * locale/programs/locale.c (show_info): Use correct cast sequence
4207 for 64bit machines.
4208
4209 * malloc/malloc.c: __malloc_initialized now signals three states:
4210 uninitialized, initializing, initialized. Used in mcheck.
4211 * malloc/mcheck.c (mabort): Add '\n' to messages.
4212 (mcheck): Allow installation when malloc is uninitialized or is
4213 just initializing.
4214
4215 * manual/memory.texi: Explain mtrace output a bit more.
4216
4217 * math/libm-test.c: Add more epsilons.
4218
4219 * misc/regexp.h (compile): Remove __ prefix from parameter names.
4220
4221 * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
4222 instead of strcpy for security.
4223 * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
4224 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
4225 * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
4226
4227 * nss/digits_dots.c: Pretty print.
4228
4229 * posix/getconf.c (vars): Add symbols for programming environment
4230 recognition. Recognize --version.
4231
4232 * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
4233 _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
4234 * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
4235
4236 * sysdeps/generic/bits/stdio_lim.h: Implement handling of
4237 __need_FOPEN_MAX.
4238 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
4239 * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
4240 __need_FOPEN_MAX.
4241
4242 * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
4243 * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
4244
4245 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
4246 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4247 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
4248 * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
4249 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4250 * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
4251
4252 * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
4253 SCNu*.
4254 * sysdeps/wordsize-64/inttypes.h: Likewise.
4255
4256 * time/africa: Update from tzdata1997j.
4257 * time/antarctica: Likewise.
4258 * time/asia: Likewise.
4259 * time/australasia: Likewise.
4260 * time/backward: Likewise.
4261 * time/etcetera: Likewise.
4262 * time/europe: Likewise.
4263 * time/factory: Likewise.
4264 * time/northamerica: Likewise.
4265 * time/pacificnew: Likewise.
4266 * time/southamerica: Likewise.
4267
4268 * time/tzfile.h: Update from tzcode1997h.
4269 * time/zic.c: Likewise.
4270
4271 * wcsmbs/wchar.h: Get definition of FILE. Define `struct tm' tag.
4272 Declare wcwidth and wcswidth for __USE_XOPEN. Declare the
4273 isw*() functions for Unix98.
4274 * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
4275 * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
4276 is defined.
4277
4278 1997-12-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4279
4280 * locale/duplocale.c: Increase usage_count only if less than
4281 MAX_USAGE_COUNT.
4282 * locale/freelocale.c: Test usage_count against UNDELETABLE, not
4283 MAX_USAGE_COUNT.
4284 * locale/setlocale.c: Likewise.
4285
4286 1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4287
4288 * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
4289 dependency to make it easier to install it selectively.
4290
4291 * Makerules (.SUFFIXES): Don't define any suffixes.
4292
4293 1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4294
4295 * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
4296 * sysdeps/generic/statfs64.c: Emulate using statfs.
4297 * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
4298 * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
4299 * sysdpes/generic/ftruncate64.c: New file.
4300 * sysdpes/generic/truncate64.c: New file.
4301
4302 * sysdeps/generic/bits/stat.h: Add LFS support.
4303 * sysdeps/generic/bits/statfs.h: Likewise.
4304
4305 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
4306 [__USE_FILE_OFFSET64]: Make long long constant.
4307 (RLIM64_INFINITY): Likewise.
4308
4309 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
4310 for LFS support.
4311 (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
4312 * sysdeps/generic/bits/resource.h: Likewise.
4313
4314 * misc/Makefile (routines): Add truncate64 and ftruncate64.
4315
4316 * include/features.h: Don't prevent LFS support from defining BSD
4317 and SYSV things.
4318
4319 * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
4320 * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
4321 * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
4322
4323 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
4324 fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
4325 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4326
4327 * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
4328 * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
4329 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
4330 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
4331 * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
4332 * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
4333 * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
4334 * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
4335 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
4336 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
4337 * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
4338 * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
4339 * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
4340 * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
4341 * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
4342 * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
4343 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
4344 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
4345 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
4346 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
4347
4348 * sysdeps/unix/sysv/linux/fxstat64.c: New file.
4349 * sysdeps/unix/sysv/linux/lxstat64.c: New file.
4350 * sysdeps/unix/sysv/linux/xstat64.c: New file.
4351 * sysdeps/unix/sysv/linux/readdir64.c: New file.
4352 * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
4353
4354 * sysdeps/unix/sysv/linux/getdents64.c: New file.
4355 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
4356 [$(subdir)=dirent]: Add getdents64.
4357 * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
4358
4359 * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
4360
4361 1997-12-18 12:07 Philip Blundell <pb@nexus.co.uk>
4362
4363 * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
4364
4365 * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
4366 * sysdeps/generic/getrlimit64.c: Likewise.
4367 * sysdeps/generic/setrlimit.c: Likewise.
4368 * sysdeps/generic/setrlimit64.c: Likewise.
4369
4370 1997-12-17 13:57 Philip Blundell <pb@nexus.co.uk>
4371
4372 * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
4373 using versioning.
4374
4375 * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
4376
4377 * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
4378
4379 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4380
4381 * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
4382 after the codeset name.
4383
4384 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4385
4386 * libc.map: Add get_kernel_syms.
4387
4388 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4389
4390 * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
4391 static.
4392 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
4393 Likewise. Fix condition.
4394
4395 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4396
4397 * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
4398
4399 1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4400
4401 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
4402 Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
4403
4404 1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4405
4406 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
4407 * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
4408 instead. Oops.
4409
4410 1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4411
4412 * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
4413
4414 1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4415
4416 * math/libm-test.c (catanh_test): Change epsilon.
4417 Reported by H.J. Lu.
4418
4419 1997-12-14 19:39 H.J. Lu <hjl@gnu.org>
4420
4421 * libc.map (__getpid): Added for linuxthreads.
4422
4423 1997-12-13 21:09 H.J. Lu <hjl@gnu.org>
4424
4425 * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
4426 it if gcc uses static variable in DWARF2 unwind information
4427 for exception support.
4428
4429 * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
4430
4431 * elf/soinit.c (__libc_global_ctors, _fini): Handle
4432 HAVE_DWARF2_UNWIND_INFO_STATIC.
4433
4434 * libc.map (__register_frame*, __deregister_frame*): Make them
4435 global.
4436
4437 1997-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4438
4439 * math/libm-test.c: Add more tests for "normal" values.
4440
4441 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4442
4443 * stdio-common/printf_fphex.c: Fix printing of long double number
4444 with a biased exponent of zero. Fix rounding.
4445
4446 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4447
4448 * sunrpc/rpc_main.c: Accept new flag -$.
4449 * sunrpc/Makefile (rpcgen-cmd): Pass it here.
4450
4451 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4452
4453 * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
4454 dynamic linker first, in case the interface has changed.
4455
4456 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4457
4458 * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
4459 order.
4460
4461 1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4462
4463 * math/tgmath.h: Check for double first, for architectures where
4464 sizeof (long double) == sizeof (double).
4465
4466 1997-12-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4467
4468 * math/libm-test.c: New tests for "normal" values added for most
4469 functions.
4470
4471 1997-12-14 21:33 Ulrich Drepper <drepper@cygnus.com>
4472
4473 * version.h (VERSION): Bump to 2.0.91.
4474
4475 * db2/makedb.c (process_input): Fix typo in message.
4476 * sunrpc/rpcinfo.c (pmapdump): Unify messages.
4477
4478 * elf/dynamic-link.h: Pretty print.
4479
4480 * elf/rtld.c: Allow multiple preloading of a shared object.
4481
4482 * include/limits.h: Prevent multiple inclusion.
4483
4484 * malloc/Makefile (headers): Add mcheck.h.
4485 (distribute): Remove it here.
4486 * malloc/mcheck.h: Pretty print.
4487 * malloc/mtrace.c (mallenv): Make `const'.
4488 * malloc/mtrace.pl: Don't print table head for memory leaks if there
4489 are none.
4490 * manual/memory.texi: Update descriptor of malloc hooks.
4491
4492 * posix/Makefile (routines): Add waitid.
4493 * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
4494 on __id_t.
4495 * posix/sys/wait.h: Define idtype_t type.
4496 Add prototype for waitid.
4497 * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
4498 * sysdeps/generic/waitid.c: Stub for waitid.
4499 * sysdeps/generic/bits/siginfo.h: Define sigval_t. Arrange to work
4500 the __need_siginfo_t defined.
4501 * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
4502 * sysdeps/generic/bits/types.h: Define __id_t.
4503 Correct definition of __FDMASK.
4504 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4505 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4506 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
4507
4508 * sysdeps/posix/waitid.c: New file.
4509 Provided by Zack Weinberg.
4510
4511 * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
4512
4513 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
4514 Add missing parameters.
4515
4516 * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
4517 * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
4518 * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
4519 * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
4520 initialized.
4521
4522 * sysdeps/i386/dl-machine.h: Little cleanup.
4523
4524 * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
4525 (__finite): Mark function as const.
4526 Add inline code for __ieee754_atan2.
4527
4528 * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
4529 (but don't use it now).
4530 * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
4531 __atan.
4532 * sysdeps/libm-ieee754/s_catanf.c: Likewise.
4533 * sysdeps/libm-ieee754/s_catanl.c: Likewise.
4534 * sysdeps/libm-ieee754/s_catanh.c: Likewise. Correct sign of
4535 real part.
4536 * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
4537 * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
4538 * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
4539 __ieee754_atan2 to base 10.
4540 * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
4541 * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
4542
4543 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
4544 old_kernel_sigaction.
4545
4546 * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
4547
4548 * wctype/Makefile (routines): Add wctype_l.
4549 * wctype/wctype.h: Add declaration of __wctype_l.
4550 * wctype/wctype_l.c: New file.
4551
4552 1997-12-10 00:38 Ulrich Drepper <drepper@cygnus.com>
4553
4554 * locale/C-ctype.c: Correct data for isw* functions.
4555 * locale/programs/ld-ctype.c: Write 32bit char classes in correct
4556 byte order.
4557 * wctype/test_wctype.c: Add test for isw* functions.
4558 * wctype/wctype.c: Return value with expected byte order.
4559
4560 1997-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4561
4562 * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
4563
4564 1997-12-05 20:19 H.J. Lu <hjl@gnu.org>
4565
4566 * iconvdata/Makefile: Fix a typo.
4567
4568 * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
4569 oldsiglist for shared library.
4570
4571 * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
4572 sys_sigabbrev): Make them as the default version GLIBC_2.1.
4573
4574 * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
4575 sys_siglist, sys_sigabbrev): New file. Make them as the old
4576 version GLIBC_2.0.
4577
4578 * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
4579 to GLIBC_2.1.
4580
4581 1997-11-20 18:02 H.J. Lu <hjl@gnu.ai.mit.edu>
4582
4583 * libio/iofgets.c (_IO_fgets): Return an error only if there
4584 is a new error.
4585 * libio/iogets.c (_IO_gets): Ditto.
4586
4587 1997-11-20 07:26 H.J. Lu <hjl@gnu.ai.mit.edu>
4588
4589 * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
4590
4591 * libio/Makefile (routines, shared-only-routines): Add
4592 oldiofdopen.
4593
4594 * libio/fileops.c: Don't use _IO_FILE_complete.
4595 * libio/iofdopen.c: Ditto.
4596 * libio/iofopen.c: Ditto.
4597 * libio/iofopen64.c: Ditto.
4598 * libio/iopopen.c: Ditto.
4599 * libio/iovdprintf.c: Ditto.
4600
4601 * libio/genops.c (_IO_init): Set _vtable_offset to 0.
4602
4603 * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
4604 and make it for _IO_fdopen/fdopen version GLIBC_2.1.
4605
4606 * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
4607 _IO_old_fdopen, _IO_new_fdopen): New declaration.
4608
4609 * libio/libio.h (_IO_FILE): Add more fields.
4610 (_IO_FILE_complete): Defined and make _IO_FILE be the old
4611 one if _IO_USE_OLD_IO_FILE is defined
4612 (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
4613 them _IO_FILE_complete.
4614
4615 * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
4616 to adjust vtable.
4617 (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
4618 _IO_JUMPS.
4619 (_IO_FILE_complete): Commented out.
4620
4621 * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
4622 * libio/oldiofclose.c: Ditto.
4623 * libio/oldiofopen.c: Ditto.
4624 * libio/oldstdfiles.c: Ditto.
4625
4626 * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
4627 for the old _IO_FILE.
4628
4629 * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
4630 (_IO_check_libio): Set _vtable_offset for old stdin, stdout
4631 and stderr.
4632
4633 * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
4634 and remove INAME.
4635
4636 * libio/stdio.c (stdin, stdout, stdin): Don't use
4637 _IO_FILE_complete.
4638
4639 * libio/oldiofdopen.c: New.
4640
4641 * stdio-common/vfprintf.c (buffered_vfprintf): Set
4642 hp->_vtable_offset to 0.
4643
4644 1997-11-18 08:03 H.J. Lu <hjl@gnu.ai.mit.edu>
4645
4646 * libc.map (_IO_file_open): Added.
4647
4648 * libio/libioP.h (_IO_file_open): Declared.
4649
4650 * libio/fileops.c (_IO_file_open): New.
4651 (_IO_file_fopen): Call _IO_file_open ().
4652
4653 * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
4654 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
4655
4656 1997-12-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4657
4658 * signal/signal.h: Fix selection of signal semantics to match
4659 comment.
4660
4661 1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4662
4663 * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
4664 * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
4665 rt_sigreturn.
4666 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
4667 [$(subdir)=signal]: Remove rt_sigreturn.
4668 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
4669 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
4670 * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
4671
4672 1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4673
4674 * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>. Fix
4675 declarations.
4676
4677 1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4678
4679 * iconvdata/extra-module.mk: Expand extra-objs now.
4680
4681 1997-12-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4682
4683 * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
4684 inline functions by feature tests to avoid warning about missing
4685 prototype declarations.
4686
4687 1997-12-09 15:08 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4688
4689 * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
4690 return code for non existent +name entries.
4691 * nis/nss_compat/compat-pwd.c: Likewise.
4692 * nis/nss_compat/compat-spwd.c: Likewise.
4693
4694 1997-12-10 13:52 Philip Blundell <pb@nexus.co.uk>
4695
4696 * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
4697 (EIO): Likewise.
4698 (ENOSPC): Likewise.
4699 (EEXIST): Likewise.
4700 (__errno_location): Likewise.
4701
4702 * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
4703
4704 * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
4705
4706 1997-12-09 08:10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4707
4708 * sunrpc/publickey.c: Use new NSS interface.
4709
4710 1997-12-09 03:08 Ulrich Drepper <drepper@cygnus.com>
4711
4712 * manual/malloc.texi: Document mtrace/muntrace and the concept.
4713
4714 1997-12-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4715
4716 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
4717 value, to match spirit of the standard.
4718 * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
4719 * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
4720 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
4721
4722 1997-12-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4723
4724 * manual/signal.texi (Signal Stack): Remove spurious @item.
4725
4726 1997-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4727
4728 * rt/aio.h: Remove double semicolon.
4729
4730 * rt/librt.map: Add aio_init.
4731
4732 1997-12-08 03:24 Ulrich Drepper <drepper@cygnus.com>
4733
4734 * Makeconfig: Define $(rt) to rt if linuxthreads is available.
4735 * Makefile (subdirs): Replace rt by $(rt).
4736
4737 * shlib-versions: Use version .2 for NSS modules.
4738
4739 * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
4740 argument.
4741 * pwd/fgetpwent_r.c: Likewise.
4742 * spwd/fgetspent_r.c: Likewise.
4743 * spwd/sgetspent_r.c: Likewise.
4744 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
4745 Store error number in *ERRNOP. Little optimization.
4746 * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
4747 * hesiod/nss_hesiod/hesiod-service.c: Likewise.
4748 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
4749 (__internal_getnetgrent_r): New argument.
4750 Call __internal_setnetgrent_reuse with new argument.
4751 (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
4752 * inet/netgroup.h: Add argument to prototypes.
4753 * nis/nisplus-parser.h: Likewise.
4754 * nis/nss_compat/compat-grp.c: Change everything to store error
4755 code through provided pointer and not use errno.
4756 * nis/nss_compat/compat-pwd.c: Likewise.
4757 * nis/nss_compat/compat-spwd.c: Likewise.
4758 * nis/nss_nis/nis-alias.c: Likewise.
4759 * nis/nss_nis/nis-ethers.c: Likewise.
4760 * nis/nss_nis/nis-grp.c: Likewise.
4761 * nis/nss_nis/nis-hosts.c: Likewise.
4762 * nis/nss_nis/nis-netgrp.c: Likewise.
4763 * nis/nss_nis/nis-network.c: Likewise.
4764 * nis/nss_nis/nis-proto.c: Likewise.
4765 * nis/nss_nis/nis-publickey.c: Likewise.
4766 * nis/nss_nis/nis-pwd.c: Likewise.
4767 * nis/nss_nis/nis-rpc.c: Likewise.
4768 * nis/nss_nis/nis-service.c: Likewise.
4769 * nis/nss_nis/nis-spwd.c: Likewise.
4770 * nis/nss_nisplus/nisplus-alias.c: Likewise.
4771 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
4772 * nis/nss_nisplus/nisplus-grp.c: Likewise.
4773 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
4774 * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
4775 * nis/nss_nisplus/nisplus-network.c: Likewise.
4776 * nis/nss_nisplus/nisplus-parser.c: Likewise.
4777 * nis/nss_nisplus/nisplus-proto.c: Likewise.
4778 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
4779 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
4780 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4781 * nis/nss_nisplus/nisplus-service.c: Likewise.
4782 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
4783 * nss/nss_db/db-XXX.c: Likewise.
4784 * nss/nss_db/db-alias.c: Likewise.
4785 * nss/nss_db/db-netgrp.c: Likewise.
4786 * nss/nss_files/files-XXX.c: Likewise
4787 * nss/nss_files/files-alias.c: Likewise
4788 * nss/nss_files/files-netgrp.c: Likewise
4789 * nss/nss_files/files-parse.c: Likewise
4790 * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
4791 parameter of get functions.
4792 * nss/getXXent_r.c: Likewise.
4793
4794 * localedata/tst-fmon.c: Print debug info if test fails.
4795
4796 * rt/Makefile (routines): Add aio_notify.
4797 * rt/aio.h: Remove non-public definitions. Add aioinit stuff.
4798 * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
4799 * rt/aio_fsync.c: Likewise.
4800 * rt/aio_misc.c: Likewise.
4801 * rt/aio_misc.h: Likewise.
4802 * rt/aio_read.c: Likewise.
4803 * rt/aio_read64.c: Likewise.
4804 * rt/aio_suspend.c: Likewise.
4805 * rt/aio_write.c: Likewise.
4806 * rt/aio_write64.c: Likewise.
4807 * rt/lio_listio.c: Likewise.
4808 * rt/lio_listio64.c: Likewise.
4809 * rt/aio_notify.c: New file.
4810
4811 * sysdeps/generic/bits/sigset.h: Pretty print.
4812
4813 * sysdeps/posix/pwrite.c: Define weak alias only if function is
4814 really defined as __pwrite.
4815
4816 * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
4817 instead of pread64.
4818 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4819
4820 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
4821 (sysdep_routines): Add rt_sigpending and rt_sigreturn.
4822 * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
4823 size in syscall.
4824 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4825 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4826 * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
4827 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4828 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
4829 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4830 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. Take care
4831 for ACT being NULL.
4832 * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
4833 RT signals.
4834 * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
4835 __NR_pread is not defined.
4836 * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
4837 __NR_pwrite is not defined.
4838
4839 1997-12-07 11:15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4840
4841 * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
4842 handle for /etc/group back in some more cases.
4843 * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
4844 handle for /etc/passwd back in some more cases.
4845 * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
4846 handle for /etc/shadow back in some more cases.
4847
4848 1997-12-06 17:00 H.J. Lu <hjl@gnu.org>
4849
4850 * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
4851 beyound its size.
4852 * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
4853 * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
4854
4855 1997-12-06 04:38 Ulrich Drepper <drepper@cygnus.com>
4856
4857 * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
4858 handling. Don't use macros, we need functions. Use inline functions
4859 for optimization.
4860 * sysdeps/wordsize-64/inttypes.h: Likewise.
4861 * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
4862 and wcstoumax.
4863 * sysdeps/wordsize-64/Makefile: Likewise.
4864 * sysdeps/wordsize-32/Dist: Likewise.
4865 * sysdeps/wordsize-64/Dist: Likewise.
4866 * sysdeps/wordsize-32/strtoimax.c: New file.
4867 * sysdeps/wordsize-32/strtoumax.c: New file.
4868 * sysdeps/wordsize-32/wcstoimax.c: New file.
4869 * sysdeps/wordsize-32/wcstoumax.c: New file.
4870 * sysdeps/wordsize-64/strtoimax.c: New file.
4871 * sysdeps/wordsize-64/strtoumax.c: New file.
4872 * sysdeps/wordsize-64/wcstoimax.c: New file.
4873 * sysdeps/wordsize-64/wcstoumax.c: New file.
4874
4875 1997-12-04 10:40 Philip Blundell <pb@nexus.co.uk>
4876
4877 * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
4878 that transparent union works.
4879 * sysdeps/generic/wait4.c (__wait4): Likewise.
4880 * sysdeps/generic/wait.c (__wait): Likewise.
4881
4882 * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
4883 size_t.
4884
4885 * sysdeps/generic/syscall.c (syscall): Return value and arg are
4886 long, to match prototype.
4887
4888 * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
4889 have mremap() yet.
4890
4891 * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
4892
4893 * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
4894
4895 * sysdeps/generic/bits/time.h: Use __time_t not time_t.
4896
4897 * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
4898 __rlim_t.
4899
4900 * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
4901
4902 * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
4903
4904 * io/sys/stat.h (S_ISLNK): Always false if we don't have
4905 __S_IFLNK.
4906
4907 * sysdeps/standalone/close.c (_STDIO_H): Define before including
4908 <bits/stdio_lim.h>.
4909 * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
4910
4911 1997-12-06 01:09 Ulrich Drepper <drepper@cygnus.com>
4912
4913 * posix/sys/wait.h: Don't use transparent unions in C++.
4914
4915 1997-12-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4916
4917 * time/time.h: Add strfxtime.
4918
4919 * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
4920 sysv_signal, strfxtime, pread64, pwrite64.
4921
4922 1997-11-30 21:57 Richard Henderson <rth@cygnus.com>
4923
4924 Alpha changes for EGCS:
4925 * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
4926 * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
4927 * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
4928 (_start): Likewise.
4929 * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
4930
4931 1997-12-05 00:01 Ulrich Drepper <drepper@cygnus.com>
4932
4933 The kernel expects the arguments in a different order.
4934 * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
4935 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
4936
4937 * FAQ.in: New file.
4938 * gen-FAQ.pl: New file.
4939 * Makefile (FAQ): Add rule to generate from FAQ.in.
4940
4941 * iconvdata/Makefile: Treat libJIS like the other modules.
4942
4943 * rt/librt.map: New file.
4944
4945 * sysdeps/wordsize-32/bits/environments.h: Add test for direct
4946 inclusion.
4947 * sysdeps/wordsize-64/bits/environments.h: Likewise. Correct
4948 comment.
4949
4950 1997-12-04 22:29 Ulrich Drepper <drepper@cygnus.com>
4951
4952 * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
4953 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
4954 * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
4955 Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
4956
4957 1997-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4958
4959 * string/bits/string2.h: Fix spellings.
4960
4961 * string/string.h: Fix spellings.
4962
4963 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4964
4965 * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
4966 declaration to __syscall_rt_sigaction.
4967
4968 * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
4969 non-existant <sigcontext.h>.
4970
4971 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4972
4973 * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
4974 typo.
4975
4976 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4977
4978 * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
4979
4980 * Makeconfig (shared-thread-library): Correct spelling.
4981
4982 * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
4983 <asm/pci.h>.
4984
4985 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4986
4987 * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
4988 constants from Linux headers. Pointed out by
4989 csmall@scooter.o.i.net. [PR libc/369]
4990
4991 1997-12-04 10:21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4992
4993 * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
4994
4995 1997-12-04 00:06 Zack Weinberg <zack@rabi.phys.columbia.edu>
4996
4997 * configure.in: If --enable-add-ons is given without an
4998 argument, set the addons list to all subdirs with a configure
4999 script.
5000
5001 1997-12-03 23:50 Ulrich Drepper <drepper@cygnus.com>
5002
5003 * Makeconfig: Add shared-thread-library variable.
5004
5005 * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
5006 * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
5007 here.
5008 * sysdeps/m68k/fpu/e_acos.c: Likewise.
5009 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
5010 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
5011 * sysdeps/m68k/fpu/e_pow.c: Likewise.
5012 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
5013 * sysdeps/m68k/fpu/k_cos.c: Likewise.
5014 * sysdeps/m68k/fpu/k_sin.c: Likewise.
5015 * sysdeps/m68k/fpu/k_tan.c: Likewise.
5016 * sysdeps/m68k/fpu/s_atan.c: Likewise.
5017 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
5018 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
5019 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
5020 * sysdeps/m68k/fpu/s_csin.c: Likewise.
5021 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
5022 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
5023 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
5024 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
5025 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
5026 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
5027 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
5028 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
5029 * sysdeps/m68k/fpu/s_modf.c: Likewise.
5030 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
5031 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
5032 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
5033
5034 * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
5035 __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
5036 * signal/Makefile (headers): Add bits/siginfo.h.
5037 (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
5038 (distribute): Add testrtsig.h.
5039 * signal/allocrtsig.c: New file.
5040 * signal/signal.h: Define `union sigval'. Include <bits/siginfo.h>.
5041 Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
5042 __libc_current_sigrtmax.
5043 * sysdeps/generic/sigqueue.c: New file.
5044 * sysdeps/generic/sigtimedwait.c: New file.
5045 * sysdeps/generic/sigwaitinfo.c: New file.
5046 * sysdeps/generic/testrtsig.h: New file.
5047 * sysdeps/generic/bits/siginfo.h: New file.
5048 * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
5049 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
5050 old_kernel_sigaction and rename sa_handler member to k_sa_handler.
5051 * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
5052 * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
5053 * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
5054 * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
5055 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
5056 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
5057 * sysdeps/unix/sysv/linux/sigpending.c: New file.
5058 * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
5059 * sysdeps/unix/sysv/linux/sigqueue.c: New file.
5060 * sysdeps/unix/sysv/linux/sigreturn.c: New file.
5061 * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
5062 * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
5063 * sysdeps/unix/sysv/linux/testrtsig.h: New file.
5064 * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
5065 * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
5066 * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
5067 * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
5068 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
5069 and _POSIX_REALTIME_SIGNALS.
5070 * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
5071 * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
5072 update _NSIG.
5073 * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
5074 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
5075 definitions.
5076
5077 * Makefile (subdirs): Add rt.
5078 * shlib-versions: Add entry for librt.
5079 * rt/Makefile: New file.
5080 * rt/aio.h: New file.
5081 * rt/aio_cancel.c: New file.
5082 * rt/aio_error.c: New file.
5083 * rt/aio_fsync.c: New file.
5084 * rt/aio_misc.c: New file.
5085 * rt/aio_misc.h: New file.
5086 * rt/aio_read.c: New file.
5087 * rt/aio_read64.c: New file.
5088 * rt/aio_return.c: New file.
5089 * rt/aio_suspend.c: New file.
5090 * rt/aio_write.c: New file.
5091 * rt/aio_write64.c: New file.
5092 * rt/lio_listio.c: New file.
5093 * rt/lio_listio64.c: New file.
5094 * sysdeps/generic/aio_sigqueue.c: New file.
5095 * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
5096 * sysdeps/unix/sysv/linux/Dist: Add new files
5097 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
5098 (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
5099 rt_sigqueueinfo, rt_sigaction.
5100
5101 * posix/Makefile (headers): Add bits/environments.h.
5102 * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
5103 and _CS_LFS_CFLAGS on 64bit platforms.
5104 * posix/unistd.h: Define _XOPEN_LEGACY. Explain _XOPEN_REALTIME
5105 and _XOPEN_REALTIME_THREADS. Include bits/environments.h.
5106 * sysdeps/generic/bits/confname.h: Define _SC_* constants for
5107 compilation modules.
5108 * sysdeps/wordsize-32/bits/environments.h: New file.
5109 * sysdeps/wordsize-64/bits/environments.h: New file.
5110
5111 * posix/getopt.c: Remove declaration of getpid and __libc_pid.
5112 * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
5113 __libc_pid.
5114 * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
5115 0xf00baa.
5116
5117 * string/string.h: Add declaration of __strverscmp.
5118 * string/strverscmp.c: Rename function ot __strverscmp and make old
5119 name weak alias.
5120
5121 * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
5122 * sysdeps/generic/enbl-secure.c: Likewise.
5123 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5124
5125 * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
5126
5127 * sysdeps/unix/sysv/linux/sys/pci.h: New file.
5128
5129 1997-12-03 Ulrich Drepper <drepper@cygnus.com>
5130
5131 * posix/sys/wait.h: Use __transparent_union__ instead of
5132 transparent_union. Reported by Roland McGrath.
5133
5134 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5135
5136 * resolv/inet_neta.c (inet_neta): Change type of first parameter
5137 to u_int32_t. Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
5138 [PR libc/366].
5139
5140 * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
5141
5142 * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
5143
5144 1997-12-03 20:40 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5145
5146 * grp/initgroups.c: Increase buffer if it is too small.
5147
5148 1997-12-03 Ulrich Drepper <drepper@cygnus.com>
5149
5150 * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
5151 fields, this is no ISO C. Reported by Andreas Jaeger.
5152
5153 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5154
5155 * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
5156
5157 1997-12-03 08:58 Philip Blundell <pb@nexus.co.uk>
5158
5159 * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
5160 _SYS_UTSNAME_H not _UTSNAME_H.
5161
5162 1997-11-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5163
5164 * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
5165 computing s_scale.
5166
5167 1997-11-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5168
5169 * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
5170 * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
5171 * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
5172
5173 * math/libm-test.c (csqrt_test): Add testcase.
5174
5175 1997-12-03 15:44 Ulrich Drepper <drepper@cygnus.com>
5176
5177 * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
5178 * sysdeps/unix/sysv/linux/sys/Dist: Add it.
5179 * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
5180
5181 1997-11-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5182
5183 * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
5184
5185 1997-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5186
5187 * math/libm-test.c (acos_test): Add more tests.
5188 (asin_test): Likewise.
5189 (atan_test): Likewise.
5190 (exp_test): Likewise.
5191 (sin_test): Likewise.
5192 (sqrt_test): Likewise.
5193 (cpow_test): Likewise.
5194 (csqrt_test): Likewise.
5195 (cexp_test): Correct typo in gcc version test.
5196
5197 1997-12-02 17:14 Philip Blundell <pb@nexus.co.uk>
5198
5199 * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
5200 <bits/setjmp.h>.
5201 * sysdeps/arm/setjmp.S: Likewise.
5202
5203 * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
5204
5205 1997-12-02 18:07 Philip Blundell <pb@nexus.co.uk>
5206
5207 * stdio/stdio.h: Add prototype for tmpfile64().
5208
5209 1997-12-02 17:47 Philip Blundell <pb@nexus.co.uk>
5210
5211 * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
5212 prototype to keep in step with libio version.
5213
5214 * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
5215
5216 1997-12-02 17:41 Philip Blundell <pb@nexus.co.uk>
5217
5218 * sysdeps/generic/Makefile: Don't try to use make_siglist if
5219 cross-compiling.
5220
5221 1997-12-02 01:18 Ulrich Drepper <drepper@cygnus.com>
5222
5223 * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
5224 load GOT ptr before jumping to _exit.
5225 Reported by Xavier Leroy.
5226
5227 1997-12-01 17:27 Ulrich Drepper <drepper@cygnus.com>
5228
5229 * Makefile (subdirs): Add iconvdata and localedata.
5230
5231 * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
5232
5233 * iconv/gconv_conf.c (read_conf_file): Little optimization.
5234
5235 * iconvdata/8bit-gap.c: New file.
5236 * iconvdata/8bit-generic.c: Renamed from ...
5237 * iconvdata/iso8859-generic.c: ...this.
5238 * iconvdata/configure: Removed.
5239 * iconvdata/Makefile: Add new modules and better rules.
5240 * iconvdata/iso6937.c: Minor bug fixes.
5241 * iconvdata/iso8859-1.c: Likewise.
5242 * iconvdata/t61.c: Likewise.
5243 * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
5244 Minor bug fixes.
5245 * iconvdata/iso8859-3.c: Likewise.
5246 * iconvdata/iso8859-4.c: Likewise.
5247 * iconvdata/iso8859-5.c: Likewise.
5248 * iconvdata/iso8859-6.c: Likewise.
5249 * iconvdata/iso8859-7.c: Likewise.
5250 * iconvdata/iso8859-8.c: Likewise.
5251 * iconvdata/iso8859-9.c: Likewise.
5252 * iconvdata/iso8859-10.c: Likewise.
5253 * iconvdata/ebcdic-at-de-a.c: New file.
5254 * iconvdata/ebcdic-at-de.c: New file.
5255 * iconvdata/ebcdic-ca-fr.c: New file.
5256 * iconvdata/hp-roman8.c: New file.
5257 * iconvdata/koi-8.c: New file.
5258 * iconvdata/koi8-r.c: New file.
5259 * iconvdata/koi8-h.c: New file.
5260 * iconvdata/latin-greek-1.c: New file.
5261 * iconvdata/latin-greek-1.h: New file.
5262 * iconvdata/latin-greek.c: New file.
5263 * iconvdata/latin-greek.h: New file.
5264 * iconvdata/jis0201.c: New file.
5265 * iconvdata/jis0201.h: New file.
5266 * iconvdata/jis0208.c: New file.
5267 * iconvdata/jis0208.h: New file.
5268 * iconvdata/jis0212.c: New file.
5269 * iconvdata/jis0212.h: New file.
5270 * iconvdata/sjis.c: New file.
5271 * iconvdata/gap.pl: New file. Script to generate table header.
5272 * iconvdata/gaptab.pl: New file.
5273 * iconvdata/gconv-modules: Add info about new modules.
5274
5275 * locale/programs/charmap.c: Also examine alias names given in charmap
5276 files.
5277
5278 * localedata/*: Add to here from add-on. We need the information
5279 to generate tables for iconv.
5280
5281 Update from db-2.3.14.
5282 * db2/Makefile: Updated.
5283 * db2/config.h: Likewise.
5284 * db2/db.h: Likewise.
5285 * db2/db_int.h: Likewise.
5286 * db2/btree/bt_cursor.c: Likewise.
5287 * db2/btree/bt_delete.c: Likewise.
5288 * db2/btree/bt_put.c: Likewise.
5289 * db2/btree/bt_search.c: Likewise.
5290 * db2/btree/bt_split.c: Likewise.
5291 * db2/btree/btree_auto.c: Likewise.
5292 * db2/common/db_appinit.c: Likewise.
5293 * db2/common/db_apprec.c: Likewise.
5294 * db2/common/db_err.c: Likewise.
5295 * db2/common/db_region.c: Likewise.
5296 * db2/db/db_auto.c: Likewise.
5297 * db2/db/db_dispatch.c: Likewise.
5298 * db2/db/db_ret.c: Likewise.
5299 * db2/dbm/dbm.c: Likewise.
5300 * db2/hash/hash_auto.c: Likewise.
5301 * db2/include/btree_ext.h: Likewise.
5302 * db2/include/common_ext.h: Likewise.
5303 * db2/include/db.h.src: Likewise.
5304 * db2/include/db_cxx.h: Likewise.
5305 * db2/include/db_ext.h: Likewise.
5306 * db2/include/db_int.h.src: Likewise.
5307 * db2/include/lock.h: Likewise.
5308 * db2/include/log.h: Likewise.
5309 * db2/include/mp.h: Likewise.
5310 * db2/include/mp_ext.h: Likewise.
5311 * db2/include/os_ext.h: Likewise.
5312 * db2/include/os_func.h: Likewise.
5313 * db2/lock/lock.c: Likewise.
5314 * db2/lock/lock_deadlock.c: Likewise.
5315 * db2/log/log.c: Likewise.
5316 * db2/log/log_archive.c: Likewise.
5317 * db2/log/log_auto.c: Likewise.
5318 * db2/log/log_get.c: Likewise.
5319 * db2/log/log_put.c: Likewise.
5320 * db2/mp/mp_bh.c: Likewise.
5321 * db2/mp/mp_fget.c: Likewise.
5322 * db2/mp/mp_fopen.c: Likewise.
5323 * db2/mp/mp_fput.c: Likewise.
5324 * db2/mp/mp_fset.c: Likewise.
5325 * db2/mp/mp_open.c: Likewise.
5326 * db2/mp/mp_pr.c: Likewise.
5327 * db2/mp/mp_region.c: Likewise.
5328 * db2/mp/mp_sync.c: Likewise.
5329 * db2/mutex/README: Likewise.
5330 * db2/mutex/mutex.c: Likewise.
5331 * db2/os/os_open.c: Likewise.
5332 * db2/os/os_func.c: Removed.
5333 * db2/os/os_config.c: New file.
5334 * db2/os/os_spin.c: New file.
5335 * db2/txn/txn.c: Likewise.
5336 * db2/txn/txn_auto.c: Likewise.
5337
5338 1997-11-30 06:01 Ulrich Drepper <drepper@cygnus.com>
5339
5340 * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
5341 __typeof for C++ since this fails for class members.
5342 Reported by Neal Becker <neal@ctd.comsat.com>.
5343
5344 1997-11-28 11:21 Zack Weinberg <zack@rabi.phys.columbia.edu>
5345
5346 * configure.in: Check for a working makeinfo (3.11 or better).
5347 * config.make.in: Add MAKEINFO to be substituted.
5348 * manual/Makefile: Don't update info if makeinfo is too old.
5349
5350 1997-11-30 05:21 Ulrich Drepper <drepper@cygnus.com>
5351
5352 * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
5353 * sysdeps/alpha/__longjmp.S: Likewise.
5354 * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
5355 not <bits/termios.h>.
5356
5357 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
5358 __llseek and make llseek and lseek64 weak aliases.
5359 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5360 Patches by a sun <asun@zoology.washington.edu>.
5361
5362 1997-11-29 19:19 Zack Weinberg <zack@rabi.phys.columbia.edu>
5363
5364 * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
5365 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5366 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5367 * misc/sys/syslog.h: Clean up BSD header.
5368
5369 1997-11-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5370
5371 * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
5372
5373 * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
5374 for ctan(+-inf,x).
5375 * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
5376 * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
5377
5378 * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
5379 csqrt (-1), ctanh(i*pi/4).
5380
5381 1997-11-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5382
5383 * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
5384
5385 1997-11-28 13:28 Philip Blundell <Philip.Blundell@pobox.com>
5386
5387 * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
5388
5389 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5390
5391 * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
5392
5393 1997-11-26 21:28 Ulrich Drepper <drepper@cygnus.com>
5394
5395 * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
5396 and use. Define GETCWD_RETURN_TYPE instead and use it.
5397 * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
5398 of GETCWD_STORYGE_CLASS and put the return type and the
5399 `internal_function' in the right order for gcc 2.7.2.
5400
5401 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5402
5403 * sysdeps/unix/sysv/linux/sys/module.h: Remove file. It's
5404 incompatible with Linux 2.1.x. Packages using modules
5405 (e.g. modutils) should/do provide their own version. Suggested by
5406 Richard Henderson.
5407
5408 * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
5409
5410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
5411 [$(subdir)=socket]: Remove sys/module.h.
5412
5413 1997-11-26 04:28 Ulrich Drepper <drepper@cygnus.com>
5414
5415 * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
5416 computing s_scale. Patch by a sun <asun@zoology.washington.edu>.
5417
5418 * iconv/gconv_close.c: Correct freeing of descriptor data.
5419 * iconv/gconv_simple.c: Return correct error values for illegal or
5420 incomplete characters.
5421
5422 * Makefile (iconvdata/%): Special goal to simplify iconvdata
5423 development.
5424 * iconvdata/Makefile: New file.
5425 * iconvdata/configure: Likewise.
5426 * iconvdata/extra-module.mk: Likewise.
5427 * iconvdata/gconv-modules: Likewise.
5428 * iconvdata/iso6937.c: Likewise.
5429 * iconvdata/iso8859-1.c: Likewise.
5430 * iconvdata/iso8859-10.c: Likewise.
5431 * iconvdata/iso8859-10.h: Likewise.
5432 * iconvdata/iso8859-2.c: Likewise.
5433 * iconvdata/iso8859-2.h: Likewise.
5434 * iconvdata/iso8859-3.c: Likewise.
5435 * iconvdata/iso8859-3.h: Likewise.
5436 * iconvdata/iso8859-4.c: Likewise.
5437 * iconvdata/iso8859-4.h: Likewise.
5438 * iconvdata/iso8859-5.c: Likewise.
5439 * iconvdata/iso8859-5.h: Likewise.
5440 * iconvdata/iso8859-6.c: Likewise.
5441 * iconvdata/iso8859-6.h: Likewise.
5442 * iconvdata/iso8859-7.c: Likewise.
5443 * iconvdata/iso8859-7.h: Likewise.
5444 * iconvdata/iso8859-8.c: Likewise.
5445 * iconvdata/iso8859-8.h: Likewise.
5446 * iconvdata/iso8859-9.c: Likewise.
5447 * iconvdata/iso8859-9.h: Likewise.
5448 * iconvdata/iso8859-generic.c: Likewise.
5449 * iconvdata/t61.c: Likewise.
5450
5451 * string/Makefile (routines): Add strcasestr.
5452 * string/string.h: Add prototype for strcasestr.
5453 * sysdeps/generic/strcasestr.c: New file.
5454 * wcsmbs/mbrtowc.c: Simplify special case a bit.
5455 * wcsmbs/wcrtomb.c: Likewise.
5456 * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
5457 * wcsmbs/wcsnrtombs.c: Likewise.
5458 * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
5459 partial character is read.
5460 * wcsmbs/wcsrtombs.c: Likewise.
5461 * wcsmbs/wmemrtombs.c: Likewise.
5462 * wcsmbs/wmemrtowcs.c: Likewise.
5463
5464 * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
5465 * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
5466 * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
5467 * sysdeps/i386/elf/setjmp.S: Likewise.
5468 * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
5469 <bits/termios.h>.
5470
5471 * sysdeps/posix/mk-stdiolim.c: Output file with comment.
5472 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
5473
5474 * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
5475 * sysvipc/sys/ipc.h: Likewise.
5476 * sysvipc/sys/msg.h: Likewise.
5477 * sysvipc/sys/sem.h: Likewise.
5478 * sysvipc/sys/shm.h: Likewise.
5479
5480 * sysdeps/alpha/bits/endian.h: Issue error message if the header is
5481 used directly.
5482 * sysdeps/alpha/bits/setjmp.h: Likewise.
5483 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
5484 * sysdeps/arm/bits/endian.h: Likewise.
5485 * sysdeps/arm/bits/setjmp.h: Likewise.
5486 * sysdeps/generic/bits/byteswap.h: Likewise.
5487 * sysdeps/generic/bits/confname.h: Likewise.
5488 * sysdeps/generic/bits/dirent.h: Likewise.
5489 * sysdeps/generic/bits/dlfcn.h: Likewise.
5490 * sysdeps/generic/bits/endian.h: Likewise.
5491 * sysdeps/generic/bits/fenv.h: Likewise.
5492 * sysdeps/generic/bits/huge_val.h: Likewise.
5493 * sysdeps/generic/bits/in.h: Likewise.
5494 * sysdeps/generic/bits/ioctl-types.h: Likewise.
5495 * sysdeps/generic/bits/ioctls.h: Likewise.
5496 * sysdeps/generic/bits/ipc.h: Likewise.
5497 * sysdeps/generic/bits/msq.h: Likewise.
5498 * sysdeps/generic/bits/poll.h: Likewise.
5499 * sysdeps/generic/bits/resource.h: Likewise.
5500 * sysdeps/generic/bits/sched.h: Likewise.
5501 * sysdeps/generic/bits/sem.h: Likewise.
5502 * sysdeps/generic/bits/setjmp.h: Likewise.
5503 * sysdeps/generic/bits/shm.h: Likewise.
5504 * sysdeps/generic/bits/sigaction.h: Likewise.
5505 * sysdeps/generic/bits/sigcontext.h: Likewise.
5506 * sysdeps/generic/bits/socket.h: Likewise.
5507 * sysdeps/generic/bits/stat.h: Likewise.
5508 * sysdeps/generic/bits/statfs.h: Likewise.
5509 * sysdeps/generic/bits/stdio_lim.h: Likewise.
5510 * sysdeps/generic/bits/termios.h: Likewise.
5511 * sysdeps/generic/bits/time.h: Likewise.
5512 * sysdeps/generic/bits/uio.h: Likewise.
5513 * sysdeps/generic/bits/utmp.h: Likewise.
5514 * sysdeps/generic/bits/utmpx.h: Likewise.
5515 * sysdeps/generic/bits/utsname.h: Likewise.
5516 * sysdeps/generic/bits/waitflags.h: Likewise.
5517 * sysdeps/generic/bits/waitstatus.h: Likewise.
5518 * sysdeps/gnu/bits/utmp.h: Likewise.
5519 * sysdeps/gnu/bits/utmpx.h: Likewise.
5520 * sysdeps/i386/bits/byteswap.h: Likewise.
5521 * sysdeps/i386/bits/endian.h: Likewise.
5522 * sysdeps/i386/bits/huge_val.h: Likewise.
5523 * sysdeps/i386/bits/setjmp.h: Likewise.
5524 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5525 * sysdeps/ieee754/bits/huge_val.h: Likewise.
5526 * sysdeps/m68k/bits/byteswap.h: Likewise.
5527 * sysdeps/m68k/bits/endian.h: Likewise.
5528 * sysdeps/m68k/bits/setjmp.h: Likewise.
5529 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
5530 * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
5531 * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
5532 * sysdeps/mach/hurd/bits/stat.h: Likewise.
5533 * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
5534 * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
5535 * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
5536 * sysdeps/mips/bits/dlfcn.h: Likewise.
5537 * sysdeps/mips/bits/endian.h: Likewise.
5538 * sysdeps/mips/bits/setjmp.h: Likewise.
5539 * sysdeps/mips/dec/bits/endian.h: Likewise.
5540 * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
5541 * sysdeps/mips/mipsel/bits/endian.h: Likewise.
5542 * sysdeps/mips/p40/bits/endian.h: Likewise.
5543 * sysdeps/powerpc/bits/endian.h: Likewise.
5544 * sysdeps/powerpc/bits/fenv.h: Likewise.
5545 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5546 * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
5547 * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
5548 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
5549 * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
5550 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
5551 * sysdeps/unix/bsd/bits/dirent.h: Likewise.
5552 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5553 * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
5554 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
5555 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
5556 * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
5557 * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
5558 * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
5559 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
5560 * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
5561 * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
5562 * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
5563 * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
5564 * sysdeps/unix/common/bits/dirent.h: Likewise.
5565 * sysdeps/unix/sysv/bits/dirent.h: Likewise.
5566 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5567 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5568 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5569 * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
5570 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
5571 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
5572 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
5573 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
5574 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
5575 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5576 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5577 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5578 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
5579 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
5580 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
5581 * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
5582 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
5583 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
5584 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
5585 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5586 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5587 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
5588 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
5589 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
5590 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
5591 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5592 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5593 * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
5594 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
5595 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
5596 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5597 * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
5598 * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
5599 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
5600 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
5601 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
5602 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
5603 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
5604 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
5605 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
5606 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
5607 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
5608 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
5609 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5610 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5611 * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
5612 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5613 * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
5614 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
5615 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5616 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5617 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
5618 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
5619 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
5620 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5621 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
5622 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
5623 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
5624 * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
5625 * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
5626 * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
5627 * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
5628 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
5629 * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
5630 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
5631 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
5632 * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
5633 * sysdeps/vax/bits/huge_val.h: Likewise.
5634 * sysdeps/vax/bits/setjmp.h: Likewise.
5635 * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
5636 * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
5637
5638 1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5639
5640 * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
5641
5642 1997-11-25 Paul Eggert <eggert@shade.twinsun.com>
5643
5644 * strftime.c (strftime):
5645 No longer any need to undef or declare if emacs is defined.
5646 (my_strftime): When checking a -1 returned by mktime, don't blow up
5647 if localtime_r returns NULL.
5648
5649 1997-11-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5650
5651 * README.template: Fix spelling.
5652
5653 1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5654
5655 * configure.in: Enhance --enable-add-ons description a wee bit.
5656
5657 1997-11-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5658
5659 * glibcbug.in: Add more information of build environment and flags.
5660
5661 1997-11-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5662
5663 * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
5664 it into ENOENT.
5665
5666 1997-11-24 03:01 Ulrich Drepper <drepper@cygnus.com>
5667
5668 * elf/dl-support.c: Call __libc_init_secure to make sure
5669 __libc_enable_secure is defined early.
5670 * sysdeps/generic/enbl-secure.c: Change function name to
5671 __libc_init_secure and make it global instead of a constructor.
5672
5673 * iconv/gconv.c: Fix lots of bugs.
5674 * iconv/gconv.h: Likewise.
5675 * iconv/gconv_builtin.h: Likewise.
5676 * iconv/gconv_close.c: Likewise.
5677 * iconv/gconv_conf.c: Likewise.
5678 * iconv/gconv_db.c: Likewise.
5679 * iconv/gconv_dl.c: Likewise.
5680 * iconv/gconv_open.c: Likewise.
5681 * iconv/gconv_simple.c: Likewise.
5682 * iconv/iconv.c: Likewise.
5683 * iconv/iconv_close.c: Likewise.
5684 * iconv/iconv_open.c: Likewise.
5685
5686 * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
5687 * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
5688 * wcsmbs/wmemrtombs.c: New file.
5689 * wcsmbs/wmemrtowcs.c: New file.
5690
5691 1997-11-22 19:28 Ulrich Drepper <drepper@cygnus.com>
5692
5693 * iconv/gconv_simple.c: Fix lots of bugs.
5694 * iconv/iconv_open.c: Normalize names before passing them to
5695 __gconv_open.
5696
5697 * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
5698
5699 * libio/iopopen.c: Check for correct mode argument and punt otherwise.
5700 * stdio-common/test-popen.c: Add test for above change.
5701
5702 * math/libm-test.c: Print test results also using %a format,
5703 specified in PRINTF_XEXPR macro.
5704 * math/test-double.c: Define PRINTF_XEXPR.
5705 * math/test-float.c: Likewise.
5706 * math/test-ldouble.c: Likewise.
5707 * math/test-idouble.c: Likewise.
5708 * math/test-ifloat.c: Likewise.
5709 * math/test-ildoubl.c: Likewise.
5710
5711 * stdio-common/vfscanf.c: Recognize a in format specifier only as
5712 modifier if used before s, S, or [. Otherwise it's the hexadecimal
5713 FP number format.
5714
5715 * stdlib/strtod.c: Little code cleanup.
5716
5717 * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
5718 compiling in math subdir.
5719
5720 * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
5721 instead of __LIBC_M81_MATH_INLINES.
5722 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
5723 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
5724 * sysdeps/m68k/fpu/e_pow.c: Likewise.
5725 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
5726 * sysdeps/m68k/fpu/k_cos.c: Likewise.
5727 * sysdeps/m68k/fpu/k_sin.c: Likewise.
5728 * sysdeps/m68k/fpu/k_tan.c: Likewise.
5729 * sysdeps/m68k/fpu/s_atan.c: Likewise.
5730 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
5731 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
5732 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
5733 * sysdeps/m68k/fpu/s_csin.c: Likewise.
5734 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
5735 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
5736 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
5737 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
5738 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
5739 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
5740 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
5741 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
5742 * sysdeps/m68k/fpu/s_modf.c: Likewise.
5743 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
5744 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
5745 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
5746 * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
5747 __LIBC_INTERNAL_MATH_INLINES is defined.
5748
5749 * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
5750 of compare macros from ISO C 9X. Optimize generic versions a bit.
5751 Define __signbit inline functions and __ieee754_sqrt which can be
5752 used if the ompiler is fixed.
5753
5754 * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
5755
5756 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5757
5758 * Makerules ($(common-objpfx)stub-$(subdir)): Look for
5759 sysdeps/generic in the whole dep file, not only in the first line.
5760
5761 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5762
5763 * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
5764
5765 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5766
5767 * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
5768 place.
5769
5770 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5771
5772 * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
5773 is non-empty.
5774
5775 1997-11-20 16:51 Ulrich Drepper <drepper@cygnus.com>
5776
5777 * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
5778 return value.
5779
5780 1997-11-19 21:36 Ulrich Drepper <drepper@cygnus.com>
5781
5782 * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
5783 readlink succeeds but the return value is too long.
5784
5785 * stdio-common/printf_fphex.c: Determine sign of number correctly.
5786
5787 1997-11-19 02:45 Ulrich Drepper <drepper@cygnus.com>
5788
5789 * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
5790 __remqu for Alpha.
5791
5792 1997-11-18 23:08 Ulrich Drepper <drepper@cygnus.com>
5793
5794 * sysdeps/generic/sys/ucontext.h: Stub context file.
5795
5796 * libio/iofprintf.c: Removed. We use the stdio-common version.
5797
5798 * manual/Makefile (distribute): Add stdio-fp.c.
5799
5800 * sysdeps/powerpc/Dist: Add ppc-mcount.S.
5801
5802 * db2/Makefile (distribute): Add include/os_func.h, README and
5803 mutex/tsl_parisc.s.
5804
5805 * hesiod/Makefile (distribute): Add README.hesiod.
5806
5807 1997-11-18 22:14 Ulrich Drepper <drepper@cygnus.com>
5808
5809 * iconv/gconv.c: Correctly call transformation function.
5810
5811 * manual/maint.texi: Document need of binutils 2.8.1.0.17.
5812
5813 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5814
5815 * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
5816 wrong results for e.g. remquo (3,2, &x)).
5817 * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
5818 * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
5819
5820 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5821
5822 * configure.in (ld --version-script): Test if the same symbol
5823 maybe defined in all versions (needed by recent changes to
5824 libc.map and supported with binutils 2.8.1.0.17) and issue warning
5825 if versioning is not supported/enabled.
5826 (bash test): Correct test case.
5827
5828 * math/libm-test.c: Added counting/reporting of number of test cases.
5829
5830 * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
5831 use awk instead.
5832
5833 * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
5834
5835 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5836
5837 * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
5838
5839 1997-11-18 18:04 Ulrich Drepper <drepper@cygnus.com>
5840
5841 * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
5842 Replace revoke call by use of REVOKE.
5843 * sysdeps/unix/sysv/linux/pty.c: New file. Define REVOKE as
5844 empty and #include generic version.
5845 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5846
5847 1997-11-18 16:02 Ulrich Drepper <drepper@cygnus.com>
5848
5849 * libc.map: Add socket functions with __libc_* names.
5850 Reported by Andreas Jaeger.
5851
5852 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5853
5854 * libc.map: Tidy up (remove duplicates, sort entries).
5855
5856 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5857
5858 * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
5859
5860 1997-11-18 06:45 Ulrich Drepper <drepper@cygnus.com>
5861
5862 * sysdeps/generic/pty.c: Make thread safe. Fix bug when calling
5863 again after successful call.
5864 Patch by Marc Lehmann <pcg@goof.com>.
5865
5866 1997-11-17 Paul Eggert <eggert@twinsun.com>
5867
5868 * time/mktime.c, time/strftime.c (_REENTRANT): #define,
5869 as some hosts need this to declare localtime_r properly.
5870
5871 1997-11-18 06:08 Ulrich Drepper <drepper@cygnus.com>
5872
5873 * libc.map: Add iconv_open, iconv, and iconv_close.
5874
5875 1997-11-18 02:31 Ulrich Drepper <drepper@cygnus.com>
5876
5877 * iconv/Makefile: New file.
5878 * iconv/gconv.c: New file.
5879 * iconv/gconv.h: New file.
5880 * iconv/gconv_builtin.c: New file.
5881 * iconv/gconv_builtin.h: New file.
5882 * iconv/gconv_close.c: New file.
5883 * iconv/gconv_conf.c: New file.
5884 * iconv/gconv_db.c: New file.
5885 * iconv/gconv_dl.c: New file.
5886 * iconv/gconv_open.c: New file.
5887 * iconv/gconv_simple.c: New file.
5888 * iconv/iconv.c: New file.
5889 * iconv/iconv.h: New file.
5890 * iconv/iconv_close.c: New file.
5891 * iconv/iconv_open.c: New file.
5892 * include/gconv.h: New file.
5893
5894 * Makeconfig: Define gconvdir.
5895 * Makefile (subdirs): Add iconv.
5896
5897 * string/bits/string2.h: Add optimization for strtok_r.
5898
5899 * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
5900 for NULL.
5901 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
5902 Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
5903
5904 * configure.in: Correct test for bash2.
5905 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5906
5907 * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
5908 (CFLAGS-locfile.c): Likewise.
5909 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5910
5911 * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
5912 non-existing entry if the table is full.
5913
5914 * posix/regex.h: Pretty print.
5915
5916 * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
5917
5918 * sysdeps/posix/ctermid.c: Simplify a bit.
5919
5920 * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
5921
5922 1997-11-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5923
5924 * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
5925 <sys/types.h> instead of <asm/types.h>.
5926
5927 1997-11-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5928
5929 * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
5930
5931 1997-11-16 17:09 H.J. Lu <hjl@gnu.ai.mit.edu>
5932
5933 * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
5934 fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
5935 (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
5936 (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
5937 fclose): Added to GLIBC_2.1.
5938
5939 * libio/Makefile (routines, shared-only-routines): Add
5940 oldiofclose. Remove oldfreopen.
5941
5942 * libio/freopen.c (freopen): When PIC is defined, call
5943 _IO_old_freopen () for old stdio.
5944
5945 * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
5946 (_IO_fclose, fclose): Use _IO_new_fclose as default version
5947 for GLIBC_2.1.
5948
5949 * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
5950 instead of _IO_file_close_it.
5951
5952 * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
5953 to _IO_2_1_stdxxx_.
5954 (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
5955 is defined.
5956
5957 * libio/libioP.h (_IO_old_do_flush): New.
5958
5959 * libio/oldfileops.c (_IO_old_file_close_it,
5960 _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
5961 Call _IO_old_do_flush () instead of _IO_do_flush ().
5962 (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
5963 _IO_do_write ().
5964
5965 * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
5966 instead of _IO_file_init ().
5967 Bind old symbols to version GLIBC_2.0.
5968
5969 * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
5970 (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
5971 _IO_stdxxx_.
5972 (_IO_check_libio): New function in .init.
5973
5974 * libio/oldiofclose.c: New file.
5975
5976 * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
5977 _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
5978 (DEF_STDFILE): Don't use default_symbol_version.
5979
5980 * libio/stdio.c (stdin, stdout, stderr): Set to
5981 _IO_2_1_stdxxx_._
5982 (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
5983 stdxxx.
5984
5985 * csu/Makefile (distribute): Add init.c.
5986 (extra-objs): Add init.o for ELF.
5987 (start-installed-name): Add $(objpfx)init.o.
5988
5989 * csu/init.c: New file.
5990
5991 1997-11-12 08:02 H.J. Lu <hjl@gnu.ai.mit.edu>
5992
5993 * elf/dl-lookup.c (do_lookup): Don't use the hidden base
5994 definition as the default.
5995
5996 1997-08-27 Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>
5997
5998 * erand48_r.c (__erand48_r): Implement for 32 bit short int.
5999
6000 1997-11-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6001
6002 * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
6003 (PR 351).
6004
6005 1997-11-16 21:01 Philip Blundell <Philip.Blundell@pobox.com>
6006
6007 * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
6008 to preserve condition codes on function call.
6009
6010 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6011
6012 * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
6013
6014 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6015
6016 * math/libm-test.c (asin_test): Add epsilon for float.
6017 (tan_test): Add epsilon for float.
6018 (log1p_test): Add epsilon for float.
6019 (inverse_functions): Add epsilons.
6020
6021 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
6022 net/if_packet.h.
6023
6024 * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
6025
6026 1997-11-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6027
6028 * md5-crypt/Makefile (extra-objs): Make recursively expanded
6029 variable, since $(object-suffixes) is not defined yet.
6030
6031 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6032
6033 * db2/Makefile (distribute): db185/db185_int.src ->
6034 db185/db185_int.h.
6035
6036 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6037
6038 * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
6039 exactly one.
6040
6041 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6042
6043 * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
6044 name.
6045 * sysdeps/generic/e_acosl.c: Likewise.
6046 * sysdeps/generic/e_asinl.c: Likewise.
6047 * sysdeps/generic/e_atan2l.c: Likewise.
6048 * sysdeps/generic/e_expl.c: Likewise.
6049 * sysdeps/generic/e_fmodl.c: Likewise.
6050 * sysdeps/generic/e_j0l.c: Likewise.
6051 * sysdeps/generic/e_j1l.c: Likewise.
6052 * sysdeps/generic/e_jnl.c: Likewise.
6053 * sysdeps/generic/e_lgammal_r.c: Likewise.
6054 * sysdeps/generic/e_log10l.c: Likewise.
6055 * sysdeps/generic/e_logl.c: Likewise.
6056 * sysdeps/generic/e_powl.c: Likewise.
6057 * sysdeps/generic/e_sqrtl.c: Likewise.
6058 * sysdeps/generic/e_exp2l.c: Likewise.
6059
6060 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6061
6062 * Make-dist (+sysdep-names): Remove extra paren.
6063 * Makefile (distribute): Add stub-tag.h.
6064 * elf/Makefile (distribute): Add atomicity.h.
6065 * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
6066 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
6067 [$(subdir)=socket]: Add net/if_packet.h.
6068 * sysdeps/alpha/Dist: Remove setjmp_aux.c.
6069 * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
6070 net/if_packet.h, scsi/sg.h.
6071
6072 1997-11-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6073
6074 * Makefile (install): Quote $(CC) expansion.
6075
6076 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6077
6078 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
6079 working /proc cwd and no restrictions on path length. Following
6080 some ideas from Andi Kleen <ak@muc.de> (PR 350).
6081
6082 1997-11-14 19:14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6083
6084 * nis/nss_compat/compat-grp.c: Remove buggy assert call.
6085 * nis/nss_compat/compat-pwd.c: Likewise.
6086 * nis/nss_compat/compat-spwd.c: Likewise.
6087
6088 1997-11-14 22:23 Ulrich Drepper <drepper@cygnus.com>
6089
6090 * sysdeps/libm-i387/s_fdim.S: New file.
6091 * sysdeps/libm-i387/s_fdimf.S: New file.
6092 * sysdeps/libm-i387/s_fdiml.S: New file.
6093 * sysdeps/libm-i387/i686/s_fdim.S: New file.
6094 * sysdeps/libm-i387/i686/s_fdimf.S: New file.
6095 * sysdeps/libm-i387/i686/s_fdiml.S: New file.
6096
6097 1997-11-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6098
6099 * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
6100 pointer to unsigned char.
6101
6102 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6103
6104 * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
6105
6106 * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
6107
6108 * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
6109
6110 1997-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6111
6112 * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
6113 ilogb(0/NaN).
6114 * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
6115 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
6116
6117 1997-11-14 05:44 Ulrich Drepper <drepper@cygnus.com>
6118
6119 * sysdeps/libm-i387/s_fmin.S: New file.
6120 * sysdeps/libm-i387/s_fminf.S: New file.
6121 * sysdeps/libm-i387/s_fminl.S: New file.
6122 * sysdeps/libm-i387/s_fmax.S: New file.
6123 * sysdeps/libm-i387/s_fmaxf.S: New file.
6124 * sysdeps/libm-i387/s_fmaxl.S: New file.
6125 * sysdeps/libm-i387/i686/s_fmin.S: New file.
6126 * sysdeps/libm-i387/i686/s_fminf.S: New file.
6127 * sysdeps/libm-i387/i686/s_fminl.S: New file.
6128 * sysdeps/libm-i387/i686/s_fmax.S: New file.
6129 * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
6130 * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
6131
6132 1997-11-14 03:06 Ulrich Drepper <drepper@cygnus.com>
6133
6134 * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
6135 * sysdeps/unix/sysv/linux/send.S: Likewise.
6136 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
6137 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
6138 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
6139 * sysdeps/unix/sysv/linux/recv.S: Likewise.
6140 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
6141 * sysdeps/unix/sysv/linux/connect.S: Likewise.
6142 Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
6143
6144 See ChangeLog.7 for earlier changes.
This page took 0.305317 seconds and 5 git commands to generate.