Update.
[platform/upstream/glibc.git] / ChangeLog
1 1998-05-08 21:56  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2
3         * autolock.sh: Removed.
4         * manual/move-if-change: Removed.
5
6         * scripts: new directory.
7         * =__ify: moved to scripts.
8         * config.guess: Likewise.
9         * config.sub: Likewise.
10         * gen-FAQ.pl: Likewise.
11         * install-sh: Likewise.
12         * mkinstalldirs: Likewise.
13         * move-if-change: Likewise.
14         * printsources: Likewise.
15         * rellns.sh: Likewise.
16         * test-installation.pl: Likewise.
17
18         * configure.in: Look in scripts for config.guess, config.sub,
19         install-sh.
20         * Makefile: Distribute all above files in their
21         new home.  Find gen-FAQ.pl and test-installation.pl in scripts.
22         * manual/Makefile: Find mkinstalldirs and move-if-change in
23         $(..)scripts.  Drop them from distribute.  Minor cleanups.
24         * Makerules: Find mkinstalldirs and rellns-sh in scripts.
25         * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
26         * timezone/Makefile: Find rellns-sh in scripts.
27
28 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
29
30         * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
31         Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
32
33 1998-05-08 19:24  Zack Weinberg  <zack@rabi.phys.columbia.edu>
34
35         * Makefile (+subdir-inits): Delete variable.
36         (+init_subdirs): Likewise.
37         (aux): Likewise.
38         (before-compile): Likewise.
39         (libc-init): Delete stanza.
40         (version-info.h): Delete rule and associated variable.
41         (distribute): Don't distribute moved files.
42         * Makerules (interp-obj): It lives in elf now.  Only use it
43         if $(elf) is set.  Delete rule to build it.
44         * csu/Makefile: Build set-init.o and/or munch-init.o.  Build
45         version.o and version-info.h.  Minor cleanups.
46         (routines): Add libc-init, sysdep, version.
47         (generated): Add version-info.h.
48         * elf/Makefile: Build interp.os.
49
50         * interp.c: Moved to elf.
51         * set-init.c: Moved to csu.
52         * munch-init.c: Likewise.
53         * munch.awk: Likewise.
54         * version.c: Likewise.
55
56         * Makeconfig: Add emacs mode marker.
57         * Makerules: Likewise.
58         * Rules: Likewise, and also unconfuse syntax highlighting with
59         a fake comment.
60
61 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
62
63         * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
64         syscalls.
65
66 1998-05-08 16:36  Zack Weinberg  <zack@rabi.phys.columbia.edu>
67
68         * iconvdata/Makefile (generated): Set to *-generated-headers
69         plus gconv-modules.
70         (tests): Set to iconv-test.
71         * localedata/Makefile (generated-dirs): Add ld-test-names to list.
72         * posix/Makefile (generated): Set to wordexp-test-result*.
73         * sunrpc/Makefile (generated): Remove rpcsvc/*.
74         (generated-dirs): Add rpcsvc.
75         * libio/Makefile: Clean up.
76
77 1998-05-08 14:55  Ulrich Drepper  <drepper@cygnus.com>
78
79         * Make-dist (+tsrcs): Also use tests-statc where tests is used.
80         * Makerules: Likewise.
81         (+depfiles): Also add sysdep-others.
82         * Rules: Likewise.
83         * iconv/Makefile (distribute): Add loop.s and skeleton.c.
84         * iconvdata/Makefile (distribute): Add TESTS.
85         * localedata/Makefile (repertoires): Rename to repertoiremaps.
86         * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
87         * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
88         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
89         sysdep-others, not others.
90         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
91         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
92
93 1998-05-08 12:26  Ulrich Drepper  <drepper@cygnus.com>
94
95         * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
96         cost_hi and cost_lo.
97         * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
98         Cost parameter and set cost_lo to INT_MAX.
99         (add_module): Take new parameter and use it to initialize cost_lo.
100         (read_conf_file): Count modules being loaded and use counter for
101         new parameter to add_module.
102         * iconv/gconv_db.c (find_derivation): When look for cost examine
103         cost_hi and cost_lo.
104
105 1998-05-08 10:52  Ulrich Drepper  <drepper@cygnus.com>
106
107         * string/bits/string2.h: Don't use unsigned char * unless really
108         necessary since this disturbs C++.
109         * sysdeps/i386/i486/bits/string.h: Likewise.
110         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
111
112 1998-05-08 13:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
113
114         * malloc/malloc.c (top_check): Fix last change.
115
116 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
117
118         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
119         Patch by Matt McLean <keys@brio.yikes.com>.
120
121 1997-05-07 13:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
122
123         * Makerules (lib): Put back dependency on lib-noranlib.
124         ($(subdirs-stamps)): Remove dependency on stamp.* again.
125
126 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
127
128         * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
129         test in __pow2 implementation.
130
131 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
132
133         * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
134         Still need *FLAGS-.o because we still sometimes build .o files.
135         * db2/Makefile: Don't build libndbm.a if !build-static.
136
137 1998-05-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
138
139         * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
140
141 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
142
143         * configure.in: New test for broken gcc on PowerPC.
144         * sysdeps/powerpc/atomicity.h: Use result of test.
145         * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
146
147         * math/libm-test.c: Update many of the epsilon to match actual
148         performance.
149
150         * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
151         * sysdeps/libm-ieee754/e_expf.c: Likewise.
152         * sysdeps/libm-ieee754/s_exp2.c: Likewise.
153         * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
154
155         * sysdeps/libm-ieee754/e_pow.c: Correct typo.
156
157         * sysdeps/powerpc/elf/libc-start.c: New file.
158         * sysdeps/powerpc/elf/start.S: New file, use libc-start.
159         * sysdeps/powerpc/elf/start.c: Delete.
160
161         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
162         * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete.  It was unused.
163
164         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
165         few patches.
166
167 1998-05-06 12:51  Ulrich Drepper  <drepper@cygnus.com>
168
169         * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
170         test for integer.
171
172         * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
173         * sysdeps/libm-i387/e_powl.S: Likewise.
174
175 1998-03-31  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
176
177         * malloc/malloc.c (chunk2mem_check, top_check): New functions.
178         (malloc_check, free_check, realloc_check, memalign_check): Use
179         them to improve overrun checking.  Overruns of a single byte and
180         corruption of the top chunk are now detected much more reliably.
181
182 1998-05-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
183
184         * math/libm-test.c (pow_test): Add test for special value from PR
185         libc/590.
186
187 1998-05-06  Ulrich Drepper  <drepper@cygnus.com>
188
189         * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
190         including linux/errno.h.
191
192 1998-05-06 09:49  Ulrich Drepper  <drepper@cygnus.com>
193
194         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
195         Use correct types.
196         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
197         * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
198
199 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
200
201         * Makerules (elide-routines.*): Fix assignments.
202         (do-makelib): Fix typo.
203         ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
204         makefile.
205
206 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
207
208         * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
209         $(objpfx)sysd-dirs): Move them...
210         * Makeconfig: ... here.
211         * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
212         (stubs): Fix circular depedency.
213         (do-makelib): Clean up.
214         (lib): Don't depend on lib-noranlib.
215         ($(objpfx)stamp.oS): Remove special case for empty
216         static-only-routines.
217         (elide-routines.o): Add $(static-only-routines).
218         (elide-routines$o): Define this instead of elide-routines.$o.
219         * manual/Makefile (stubs): Fix circular dependency.
220
221 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
222
223         * libio/Makefile (routines): Remove duplicate oldiofclose.
224
225 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
226
227         * string/strcoll.c: Use uint32_t instead of u_int32_t.
228
229 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
230
231         * libio/stdio.h: Fix typo in __REDIRECT.
232         * io/sys/stat.h: Likewise.
233         Reported by Myles Uyema <myles@uyema.nws.net>.
234
235 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
236
237         * locale/programs/localedef.c (options): Fix help message.
238
239 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
240
241         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
242         relocations.  Patch by Joe Keane <jgk@jgk.org>.
243
244 1998-05-04 12:40  Ulrich Drepper  <drepper@cygnus.com>
245
246         * malloc/malloc.c (ptmalloc_init_all): New function.  Similar to
247         ptmalloc_unlock_all, but re-initializes the mutexes instead.
248         (ptmalloc_init): Use new function in thread_at_fork call.
249         (thread_atfork_static): Likewise.
250         Suggested by Wolfram Gloger and Xavier Leroy.
251
252 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
253
254         * signal/signal.h: Move definitions of struct sigstack and
255         struct sigaltstack into separate file and include it.
256         * sysdeps/generic/bits/sigstack.h: New file.
257         * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
258         * signal/Makefile (headers): Add bits/sigstack.h.
259
260 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
261
262         * elf/rtld.c (dl_main): Fix check for number of references to
263         interpreter object.
264
265 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
266
267         * elf/rtld.c (dl_main): Check has_interp after executing platform
268         specific code.
269
270 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
271
272         * iconvdata/run-iconv-test.sh: Fix typo.
273
274 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
275
276         * Makerules (+depfiles): Add depfiles for $(tests-static).
277         Simplified.
278
279 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
280
281         * manual/terminal.texi (Special Characters): Fix description of
282         c_cc indexes.
283
284 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
285
286         * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
287         array.
288         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.  Initialize rest
289         of c_cc array.
290
291 1998-04-30 14:15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
292
293         * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
294
295 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
296
297         * intl/locale.alias: Update russian entry.
298
299 1998-05-01 21:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
300
301         * Makerules (static-only-routines): Reimplement in terms of
302         elide-routines.os.
303         (shared-only-routines): Reimplement in terms of
304         elide-routines.X [where X is all object-suffixes except .os].
305
306         (stubs): Create stubs file inside the subdir.
307         (common-mostlyclean): Remove stubs file from inside the subdir.
308         * Makefile (subdir-stubs): Look for stubs files inside the
309         subdirs.
310         * manual/Makefile (stubs): Create dummy stubs file inside the
311         subdir.
312
313 1998-05-01 21:01  Zack Weinberg  <zack@rabi.phys.columbia.edu>
314
315         Build speed improvement: make ar less of a bottleneck.
316
317         * Makerules (stamp$o): Just record the object list for later
318         use.
319         (libc_foo.a): New rule, depends on subdir stamp files; builds
320         and ranlibs the library from the lists saved in those files.
321
322         (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
323         (subdirs-stamp-o): Likewise.
324
325         (ar-symtab-name): Delete variable.
326         (lib%.a): Delete target.
327         (libc_foo.a(bar.%)): Delete target.
328         (libc_foo.a($(ar-symtab-name))): Delete target.
329
330         (objects objs): Just depend on libobjs and extra-objs.
331         (libobjs): Depend on the stamp files, not the objects.
332         (extra-objs): New target, just depends on the extra-objs list.
333
334         (CREATE_ARFLAGS): Kill the `ar S' hack.
335
336         * config.make.in (have-ar-S): Deleted.
337         * configure.in: Delete test for `ar S'.  Add test to determine
338         whether ranlib does anything useful.
339
340 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
341
342         * inet/tst-ether_aton.c: Include <stdio.h>.
343
344 1998-04-30 16:45  Ulrich Drepper  <drepper@cygnus.com>
345
346         * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
347
348         * locale/Makefile (distribute): Add programs/repertoire.h.
349         (localedef-modules): Add repertoire.
350         (CPPFLAGS): Define REPERTOIREMAP_PATH.
351         * locale/programs/repertoire.c: New file.
352         * locale/programs/repertoire.h: New file.
353         * locale/programs/charmap.c: Starting fixing character set handling
354         to handle multi-byte encodings.
355         * locale/programs/charset.c: Likewise.
356         * locale/programs/charset.h: Likewise.
357         * locale/programs/ld-collate.c: Likewise.
358         * locale/programs/ld-ctype.c: Likewise.
359         * locale/programs/linereader.c: Likewise.
360         * locale/programs/localedef.c: Likewise.
361         * locale/programs/locfile-kw.gperf: Likewise.
362         * locale/programs/locfile-kw.h: Likewise.
363         * locale/programs/locfile-token.h: Likewise.
364         * locale/programs/locfile.h: Likewise.
365         * locale/programs/stringtrans.c: Likewise.
366
367         * locale/programs/locfile.c: Interpret I18NPATH value as base of
368         path, extended with "/locales/".
369
370 1998-04-18  Philip Blundell  <Philip.Blundell@pobox.com>
371
372         * sysdeps/arm/memset.S: Fix off by one error.
373
374         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
375         __syscall_error rather than syscall_error directly.
376
377 1998-04-17  Philip Blundell  <Philip.Blundell@pobox.com>
378
379         * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
380         mmap() syscall for ARM.
381
382         * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
383         binaries.
384
385 1998-04-30  Ulrich Drepper  <drepper@cygnus.com>
386
387         * locale/programs/localedef.c: Recognize repertoire-map option.
388
389 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
390
391         * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
392         converting non-hex numbers.
393         Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
394
395 1998-04-23 07:31  H.J. Lu  <hjl@gnu.org>
396
397         * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
398         check overflow.
399         * resolv/Makefile (tests): New, add tst-aton.
400         * resolv/tst-aton.c: New file.
401
402 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
403
404         * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
405         semicolon.
406
407 1998-04-29 12:11  Ulrich Drepper  <drepper@cygnus.com>
408
409         * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
410         by letting the later modify the variable computing the total directly.
411         * wcsmbs/mbsrtowcs.c: Likewise.
412         * wcsmbs/wcsnrtombs.c: Likewise.
413         * wcsmbs/wcsrtombs.c: Likewise.
414
415         * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
416         it is not used.
417         * wcsmbs/wctoc.c: Likewise.
418
419         * wcsmbs/mbsrtowcs.c: Optimize a bit more.
420         * wcsmbs/wcsrtombs.c: Likewise.
421
422         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
423
424 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
425
426         * iconv/skeleton.c: Correct counting of actually converted
427         characters.
428
429         * intl/localealias.c (read_alias_file): Use unsigned char for
430         local variables.  Remove unused variable tp.
431         * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
432         for type of codeset.  For loosing Solaris systems.
433         * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
434         * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
435         len if not needed.
436         Patches by Jim Meyering.
437
438         * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
439         wcsrtombs must put it into initial state.
440
441 1998-04-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
442
443         * iconv/gconv_simple.c: Fix endian bug.  Don't put side effects in
444         argument of bswap_XX macro.
445
446 1998-04-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
447
448         * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
449         variable name.
450
451 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
452
453         * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
454         semun and use stdarg macros to get the value.
455         * sysdeps/generic/semctl.c: Don't use union semun.
456
457         * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
458
459         * string/basename.c [!_LIBC]: Define function as gnu_basename.
460
461         * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
462         strings.h.
463
464         * stdlib/grouping.h: Accept ungrouped numbers even if locale
465         defines grouping.
466
467         * intl/hash-string.h: Don't include values.h.
468
469         * inet/Makefile (tests): Add tst-ether_aton.
470         * inet/tst-ether_aton.c: New file.
471
472         * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
473         in hex conversion.
474         * inet/ether_aton.c (ether_aton): Declare result variable static.
475         Reported by ahyung@unixg.ubc.ca.
476
477         * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
478         Define macro _SEM_SEMUN_UNDEFINED instead.
479         Reported by Dirk Laessig <d.laessig@tu-bs.de>.
480
481         * stdio-common/tst-wc-printf.c: New file.  Test for %S and %C format.
482         * stdio-common/Makefile (tests): Add tst-wc-printf.
483
484 1998-04-28 16:32  Philip Blundell  <philb@gnu.org>
485
486         * manual/stdio.texi (Variable Arguments Output): Correct variable
487         name.  Patch from Ewan Mellor <em@nexus.co.uk>
488
489 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
490
491         * intl/dcgettext.c: Remove unneeded definition of
492         internal_function.
493
494 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
495
496         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
497         instead of do-iconv-test.
498         ($(objpfx)gconv-modules): Define rule only if objpfx is not
499         empty.
500
501 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
502
503         * string/string.h: Fix feature test.
504
505 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
506
507         * iconvdata/iso646.c (BODY): Don't use character constants that
508         depend on signedness of char.
509
510 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
511
512         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
513         (sysdep_routines): Add s_pread64 and s_pwrite64.
514
515 1998-04-27 09:54  Ulrich Drepper  <drepper@cygnus.com>
516
517         * iconvdata/Makefile (distribute): Remove generated .h files.
518         * iconvdata/koi8-r.h: Removed.
519         * iconvdata/latin-greek-1.h: Removed.
520         * iconvdata/latin-greek.h: Removed.
521
522         * iconvdata/testdata/CP1258..UTF8: New iconv test source.
523         * iconvdata/KOI-8: Likewise.
524         * iconvdata/KOI-8..UTF8: Likewise.
525         * iconvdata/KOI8-R: Likewise.
526         * iconvdata/KOI8-R..UTF8: Likewise.
527
528 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
529
530         * streams/Makefile (headers): Add sys/stropts.h.
531         * streams/sys/stropts.h: New file.
532
533 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
534
535         * sysdeps/unix/sysv/linux/ttyname.c,
536         sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
537         sysdeps/posix/ttyname*.c, but look in /dev/pts first.
538
539 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
540
541         * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
542         argument of _itoa_word.
543
544 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
545
546         * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
547         s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
548         caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
549         sigprocmask, resp., instead of EXTRA.
550
551         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
552         s_pread64 and s_pwrite64.
553
554 1998-04-26 18:44  Ulrich Drepper  <drepper@cygnus.com>
555
556         * iconvdata/Makefile: Correct rules to generate gap table.
557         * iconvdata/gap.pl: Simplify.
558
559         * iconvdata/TESTS: Name new tests.
560         * iconvdata/testdata/CP1250: New file.
561         * iconvdata/testdata/CP1250..UTF8: New file.
562         * iconvdata/testdata/CP1251: New file.
563         * iconvdata/testdata/CP1251..UTF8: New file.
564         * iconvdata/testdata/CP1252: New file.
565         * iconvdata/testdata/CP1252..UTF8: New file.
566         * iconvdata/testdata/CP1253: New file.
567         * iconvdata/testdata/CP1253..UTF8: New file.
568         * iconvdata/testdata/CP1254: New file.
569         * iconvdata/testdata/CP1254..UTF8: New file.
570         * iconvdata/testdata/CP1255: New file.
571         * iconvdata/testdata/CP1255..UTF8: New file.
572         * iconvdata/testdata/CP1256: New file.
573         * iconvdata/testdata/CP1256..UTF8: New file.
574         * iconvdata/testdata/CP1257: New file.
575         * iconvdata/testdata/CP1257..UTF8: New file.
576
577 1998-04-26  Ulrich Drepper  <drepper@cygnus.com>
578
579         * iconvdata/Makefile: Add rules for ISO-2022-KR.
580         * iconvdata/iso-2022-kr.c: New file.
581
582         * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
583         and ISO-2022-KR.
584
585 1998-04-25 18:39  Ulrich Drepper  <drepper@cygnus.com>
586
587         * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
588         iso8859-8 and iso8859-10.
589         * iconvdata/iso8859-5.c: Change to use gap method.
590         * iconvdata/iso8859-7.c: Likewise.
591         * iconvdata/iso8859-8.c: Likewise.
592         * iconvdata/iso8859-10.c: Likewise.
593
594         * iconvdata/Makefile: Add rules for ISO-2022-JP module.
595         * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
596         end of the loop.
597         * iconvdata/iso-2022-jp.c: New file.
598
599         * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
600         * iconvdata/ksc5601.h: Unify function interfaces.
601         * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
602         * iconvdata/uhc.c: Likewise.
603
604         * iconvdata/gb2312.h: Use correct types.
605
606         * iconvdata/iso646.c (gconv_open): Correctly initialize the character
607         size elements of data.
608
609 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
610
611         * string/tst-svc.expect: Adapt for change in .input.
612         * string/tst-svc.input: More tests.
613
614 1998-04-24 17:15  Ulrich Drepper  <drepper@cygnus.com>
615
616         * iconvdata/Makefile: Add rules for new modules.
617         * iconvdata/gconv-modules: Likewise.
618         * iconvdata/cp737.c: New file.
619         * iconvdata/cp737.h: New file.
620         * iconvdata/cp775.c: New file.
621         * iconvdata/cp775.h: New file.
622         * iconvdata/cp874.c: New file.
623         * iconvdata/cp874.h: New file.
624
625 1998-04-24 16:30  Ulrich Drepper  <drepper@cygnus.com>
626
627         * iconvdata/Makefile: Create target directory before generating
628         headers.
629
630 1998-04-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
631
632         * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
633         __USER_LABEL_PREFIX__.
634         (__ASMNAME, __ASMNAME2): New macros.
635
636 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
637
638         * elf/dl-load.c: Include sys/param.h for MAX.
639
640 1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>
641
642         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
643         __ftruncate the strong symbol, and add weak alias.
644         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
645
646 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
647
648         * termios/cfsetspeed.c: Make code cleaner and add missing const.
649         Patch by Joe Keane <jgk@jgk.org>.
650
651         * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
652         free()ing.
653
654 1998-04-24 13:56  Ulrich Drepper  <drepper@cygnus.com>
655
656         * sysdeps/generic/bits/socket.h: Add #defines for enum values.
657         Patch by Thomas Bushnell, n/BSG.
658
659 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
660
661         * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
662
663 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
664
665         * iconvdata/Makefile: Put generated headers in build directory.
666
667 1998-04-23 22:43  Ulrich Drepper  <drepper@cygnus.com>
668
669         * elf/dl-load.c (fillin_rpath): Handle empty element returned by
670         strsep as current directory.
671
672         * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
673         Java.  Add definitions for unicodelittle implementation.
674         * iconv/gconv_int.h: Add declaration for unicodelittle functions.
675         * iconv/gconv_simple.c: Define unicodelittle functions.
676
677         * iconv/iconv_prog.c: Make program print information about position
678         of illegal character in input.
679
680         * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
681         comparison of charset name.
682         * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
683         * iconvdata/ebcdic-at-de-a.c: Likewise.
684         * iconvdata/ebcdic-at-de.c: Likewise.
685         * iconvdata/ebcdic-ca-fr.c: Likewise.
686         * iconvdata/euccn.c: Likewise.
687         * iconvdata/eucjp.c: Likewise.
688         * iconvdata/euckr.c: Likewise.
689         * iconvdata/euctw.c: Likewise.
690         * iconvdata/hp-roman8.c: Likewise.
691         * iconvdata/iso6937.c: Likewise.
692         * iconvdata/iso8859-1.c: Likewise.
693         * iconvdata/iso8859-10.c: Likewise.
694         * iconvdata/iso8859-2.c: Likewise.
695         * iconvdata/iso8859-3.c: Likewise.
696         * iconvdata/iso8859-4.c: Likewise.
697         * iconvdata/iso8859-5.c: Likewise.
698         * iconvdata/iso8859-6.c: Likewise.
699         * iconvdata/iso8859-7.c: Likewise.
700         * iconvdata/iso8859-8.c: Likewise.
701         * iconvdata/iso8859-9.c: Likewise.
702         * iconvdata/johab.c: Likewise.
703         * iconvdata/koi-8.c: Likewise.
704         * iconvdata/koi8-r.c: Likewise.
705         * iconvdata/latin-greek-1.c: Likewise.
706         * iconvdata/latin-greek.c: Likewise.
707         * iconvdata/sjis.c: Likewise.
708         * iconvdata/t61.c: Likewise.
709         * iconvdata/uhc.c: Likewise.
710
711         * iconvdata/iso646.c: Add support for more ISO 646 variants.
712         * iconvdata/TESTS: Add tests for ISO646 module.
713         * iconvdata/gconv-modules: Add new modules.
714         * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
715         * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
716         * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
717         * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
718         * iconvdata/testdate/DIN_66003: Likewise.
719         * iconvdata/testdate/DIN_66003..UTF8: Likewise.
720         * iconvdata/testdate/DS_2089: Likewise.
721         * iconvdata/testdate/DS_2089..UTF8: Likewise.
722         * iconvdata/testdate/ES: Likewise.
723         * iconvdata/testdate/ES..UTF8: Likewise.
724         * iconvdata/testdate/ES2: Likewise.
725         * iconvdata/testdate/ES2..UTF8: Likewise.
726         * iconvdata/testdate/GB_1988-80: Likewise.
727         * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
728         * iconvdata/testdate/IT: Likewise.
729         * iconvdata/testdate/IT..UTF8: Likewise.
730         * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
731         * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
732         * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
733         * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
734         * iconvdata/testdate/JUS_I.B1.002: Likewise.
735         * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
736         * iconvdata/testdate/KSC5636: Likewise.
737         * iconvdata/testdate/KSC5636..UTF8: Likewise.
738         * iconvdata/testdate/MSZ_7795.3: Likewise.
739         * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
740         * iconvdata/testdate/NC_NC00-10: Likewise.
741         * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
742         * iconvdata/testdate/NF_Z_62-010: Likewise.
743         * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
744         * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
745         * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
746         * iconvdata/testdate/NS_4551-1: Likewise.
747         * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
748         * iconvdata/testdate/NS_4551-2: Likewise.
749         * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
750         * iconvdata/testdate/PT: Likewise.
751         * iconvdata/testdate/PT..UTF8: Likewise.
752         * iconvdata/testdate/PT2: Likewise.
753         * iconvdata/testdate/PT2..UTF8: Likewise.
754         * iconvdata/testdate/SEN_850200_B: Likewise.
755         * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
756         * iconvdata/testdate/SEN_850200_C: Likewise.
757         * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
758
759         * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
760         * iconvdata/cns11643l1.h: Likewise.
761         * iconvdata/latin-greek-1.h: Likewise.
762         * iconvdata/latin-greek.h: Likewise.
763         * iconvdata/koi8-r.h: Likewise.
764         * iconvdata/jis0212.h: Likewise.
765         * iconvdata/gb2312.h: Likewise.
766         * iconvdata/ksc5601.h: Likewise.
767
768         * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
769
770         * iconvdata/Makefile: Add rules for lots of more modules.
771         * iconvdata/cp1250.c: New file.
772         * iconvdata/cp1251.c: New file.
773         * iconvdata/cp1252.c: New file.
774         * iconvdata/cp1253.c: New file.
775         * iconvdata/cp1254.c: New file.
776         * iconvdata/cp1255.c: New file.
777         * iconvdata/cp1256.c: New file.
778         * iconvdata/cp1257.c: New file.
779         * iconvdata/ebcdic-dk-no-a.c: New file.
780         * iconvdata/ebcdic-dk-no.c: New file.
781         * iconvdata/ebcdic-es-a.c: New file.
782         * iconvdata/ebcdic-es-s.c: New file.
783         * iconvdata/ebcdic-es.c: New file.
784         * iconvdata/ebcdic-fi-se-a.c: New file.
785         * iconvdata/ebcdic-fi-se.c: New file.
786         * iconvdata/ebcdic-fr.c: New file.
787         * iconvdata/ebcdic-is-friss.c: New file.
788         * iconvdata/ebcdic-it.c: New file.
789         * iconvdata/ebcdic-pt.c: New file.
790         * iconvdata/ebcdic-uk.c: New file.
791         * iconvdata/ebcdic-us.c: New file.
792         * iconvdata/ibm037.c: New file.
793         * iconvdata/ibm038.c: New file.
794         * iconvdata/ibm1004.c: New file.
795         * iconvdata/ibm1026.c: New file.
796         * iconvdata/ibm1047.c: New file.
797         * iconvdata/ibm256.c: New file.
798         * iconvdata/ibm273.c: New file.
799         * iconvdata/ibm274.c: New file.
800         * iconvdata/ibm275.c: New file.
801         * iconvdata/ibm277.c: New file.
802         * iconvdata/ibm278.c: New file.
803         * iconvdata/ibm280.c: New file.
804         * iconvdata/ibm281.c: New file.
805         * iconvdata/ibm284.c: New file.
806         * iconvdata/ibm285.c: New file.
807         * iconvdata/ibm290.c: New file.
808         * iconvdata/ibm297.c: New file.
809         * iconvdata/ibm420.c: New file.
810         * iconvdata/ibm423.c: New file.
811         * iconvdata/ibm424.c: New file.
812         * iconvdata/ibm437.c: New file.
813         * iconvdata/ibm500.c: New file.
814         * iconvdata/ibm850.c: New file.
815         * iconvdata/ibm851.c: New file.
816         * iconvdata/ibm852.c: New file.
817         * iconvdata/ibm855.c: New file.
818         * iconvdata/ibm857.c: New file.
819         * iconvdata/ibm860.c: New file.
820         * iconvdata/ibm861.c: New file.
821         * iconvdata/ibm862.c: New file.
822         * iconvdata/ibm863.c: New file.
823         * iconvdata/ibm864.c: New file.
824         * iconvdata/ibm865.c: New file.
825         * iconvdata/ibm868.c: New file.
826         * iconvdata/ibm869.c: New file.
827         * iconvdata/ibm870.c: New file.
828         * iconvdata/ibm871.c: New file.
829         * iconvdata/ibm875.c: New file.
830         * iconvdata/ibm880.c: New file.
831         * iconvdata/ibm891.c: New file.
832         * iconvdata/ibm903.c: New file.
833         * iconvdata/ibm904.c: New file.
834         * iconvdata/ibm905.c: New file.
835         * iconvdata/ibm918.c: New file.
836
837         * locale/iso-4217.def: Update.
838         * localedata/locales/pt_BR: Correct.  Patches by Andreas Jaeger.
839
840         * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
841         formats.
842
843 1998-04-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
844
845         * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
846         LD_LIBRARY_PATH.
847
848 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
849
850         * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
851         * Makefile: Likewise.
852         * posix/Makefile: Likewise.
853         * sysdeps/mach/hurd/Makefile: Likewise.
854
855 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
856
857         * sysdeps/mach/hurd/bits/dirent.h: New file.
858         * sysdeps/mach/hurd/readdir64.c: New file.
859         * sysdeps/mach/hurd/readdir64_r.c: New file.
860
861 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
862
863         * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
864         dprintf): Synchronize declarations with libio/stdio.h.
865
866 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
867
868         * elf/dlerror.c (dlerror): Don't assume that
869         __libc_internal_tsd_get is defined.  __libc_getspecific is already
870         well-protected, so just use it directly.
871
872 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
873
874         * io/ftw.h (ftw): Fix typo.
875
876 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
877
878         * sysdeps/gnu/utmp_file.c: Fix typo.
879
880 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
881
882         * iconvdata/run-iconv-test.sh: Fix more portability bugs.  When
883         one part of a test fails move on to the next test.
884
885 1998-04-24  5:45  Richard Henderson  <rth@cygnus.com>
886
887         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
888
889 1998-04-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
890
891         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
892         as pointers, not signed integers.
893
894 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
895
896         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
897
898 1998-04-21 21:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
899
900         * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
901         asm symbol name of functions.
902         * include/features.h: Kill redundant test.
903
904         * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
905         * io/ftw.h: Likewise.
906         * io/sys/stat.h: Likewise.
907         * io/sys/statfs.h: Likewise.
908         * io/sys/statvfs.h: Likewise.
909         * libio/stdio.h: Likewise.
910         * resource/sys/resource.h: Likewise.
911         * rt/aio.h: Likewise.
912
913         * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
914          __FAVOR_BSD.
915         * signal/signal.h: Use new macros for BSD vs. SysV signal().
916
917         * misc/Makefile: Drop bsd-compat.c.  Make libbsd-compat.a
918         a dummy library.
919         * misc/bsd-compat.c: Removed.
920
921 1998-04-21 20:32  Ulrich Drepper  <drepper@cygnus.com>
922
923         * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
924         function declaration.
925         * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
926         and use them in conversion function.
927         * iconvdata/Makefile (modules): Re-add ISO6446.
928         * iconvdata/TEST: Add tests for ASCII variants.
929         * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
930         * iconvdata/testdata/ANSI_X3.4-1968: New file.
931         * iconvdata/testdata/BS_4730: New file.
932         * iconvdata/testdata/BS_4730..UTF8: New file.
933
934 1998-04-21 19:05  Ulrich Drepper  <drepper@cygnus.com>
935
936         * iconv/gconv.h (struct gconv_step): Add element stateful.
937         * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
938         to zero for all internal conversions.
939         * iconv/skeleton.c: Initialize stateful depending on whether or not
940         RESET_STATE is defined to one or zero respectively.
941         * stdlib/mblen.c: Use stateful element of currently selected
942         converter for result if S is NULL.
943         * stdlib/mbtowc.c: Likewise.
944         * stdlib/wctomb.c: Likewise.
945
946 1998-04-21 18:00  Ulrich Drepper  <drepper@cygnus.com>
947
948         * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
949
950         * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
951
952         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
953         character in comparison with uint32_t.
954         (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
955         (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
956         Optimize BODY a bit.
957
958         * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
959         be defined.
960
961         * iconv/skeleton.c: Also reset converted counter in case of an error.
962         Call reset function using correct value for output buffer start.
963
964         * iconvdata/Makefile: Re-enable tests.
965
966         * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
967         value for to-conversion.
968
969         * iconvdata/TESTS: Add new third column.
970         * iconvdata/run-iconv-test.sh: Add support for charsets which are
971         not ASCII based.
972         * iconvdata/testdata/suntzus: New file.
973
974         * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
975         while reading.  Correctly used base.  Little optimization.
976         (__strtoul_internal): Likewise.
977
978         * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
979         was wrong.  Use explicit variable.
980
981 1998-04-20 23:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
982
983         * configure.in: Check for awk.
984         * config.make.in: Add AWK to be substituted.
985
986         * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
987         * manual/users.texi: Fix typo exposed by above rewrite.
988
989         * Makefile: Invoke awk using AWK variable.
990         * csu/Makefile: Likewise.
991         * elf/Makefile: Likewise.
992         * mach/Makefile: Likewise.
993         * manual/Makefile: Likewise.
994         * sysdeps/gnu/Makefile: Likewise.
995         * sysdeps/mach/hurd/Makefile: Likewise.
996         * sysdeps/unix/Makefile: Likewise.
997         * timezone/Makefile: Likewise.
998
999 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
1000
1001         * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
1002         array index translation.
1003         (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
1004         these are defined.
1005
1006         * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
1007
1008         * sysdeps/mach/hurd/errlist.c: New file.
1009         (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
1010         (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
1011         semantics, so rename it.
1012
1013 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1014
1015         * iconvdata/run-iconv-test.sh: Make portable.  Always test all
1016         conversions.
1017
1018 1998-04-21 12:30  H.J. Lu  <hjl@gnu.org>
1019
1020         * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
1021         * wcsmbs/wcsnrtombs.c: Likewise.
1022
1023 1998-04-21  Ulrich Drepper  <drepper@cygnus.com>
1024
1025         * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
1026
1027         * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
1028
1029         * time/strftime.c (my_strftime): Initialize pad variable in
1030         declaration.
1031
1032         * iconvdata/big5.c: Don't use character constants in comparisons
1033         with unsigned value.
1034
1035 1998-04-20 18:00  Ulrich Drepper  <drepper@cygnus.com>
1036
1037         * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
1038         __libc_siglongjmp to GLIBC_2.1.
1039
1040         * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
1041         __strerror_r.
1042
1043         * iconv/Makefile: Don't run tests now.
1044
1045         * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
1046         with correct output buffer.
1047
1048         Major rewrite of the low-level gconv functionality.
1049         * iconv/gconv.c: Rewritten.
1050         * iconv/gconv.h: Likewise.
1051         * iconv/gconv_builtin.c: Likewise.
1052         * iconv/gconv_builtin.h: Likewise.
1053         * iconv/gconv_conf.c: Likewise.
1054         * iconv/gconv_int.h: Likewise.
1055         * iconv/gconv_open.c: Likewise.
1056         * iconv/gconv_simple.c: Likewise.
1057         * iconv/iconv.c: Likewise.
1058         * iconvdata/8bit-gap.c: Likewise.
1059         * iconvdata/8bit-generic.c: Likewise.
1060         * iconvdata/Makefile: Likewise.
1061         * iconvdata/big5.c: Likewise.
1062         * iconvdata/cns11643.c: Likewise.
1063         * iconvdata/cns11643.h: Likewise.
1064         * iconvdata/cns11643l1.c: Likewise.
1065         * iconvdata/cns11643l1.h: Likewise.
1066         * iconvdata/ebcdic-at-de-a.c: Likewise.
1067         * iconvdata/ebcdic-at-de.c: Likewise.
1068         * iconvdata/ebcdic-ca-fr.c: Likewise.
1069         * iconvdata/euccn.c: Likewise.
1070         * iconvdata/eucjp.c: Likewise.
1071         * iconvdata/euckr.c: Likewise.
1072         * iconvdata/euctw.c: Likewise.
1073         * iconvdata/gb2312.c: Likewise.
1074         * iconvdata/gb2312.h: Likewise.
1075         * iconvdata/hp-roman8.c: Likewise.
1076         * iconvdata/iso646.c: Likewise.
1077         * iconvdata/iso6937.c: Likewise.
1078         * iconvdata/iso8859-1.c: Likewise.
1079         * iconvdata/iso8859-10.c: Likewise.
1080         * iconvdata/iso8859-2.c: Likewise.
1081         * iconvdata/iso8859-3.c: Likewise.
1082         * iconvdata/iso8859-4.c: Likewise.
1083         * iconvdata/iso8859-5.c: Likewise.
1084         * iconvdata/iso8859-6.c: Likewise.
1085         * iconvdata/iso8859-7.c: Likewise.
1086         * iconvdata/iso8859-8.c: Likewise.
1087         * iconvdata/iso8859-9.c: Likewise.
1088         * iconvdata/jis0201.c: Likewise.
1089         * iconvdata/jis0201.h: Likewise.
1090         * iconvdata/jis0208.c: Likewise.
1091         * iconvdata/jis0208.h: Likewise.
1092         * iconvdata/jis0212.c: Likewise.
1093         * iconvdata/jis0212.h: Likewise.
1094         * iconvdata/johab.c: Likewise.
1095         * iconvdata/koi-8.c: Likewise.
1096         * iconvdata/koi8-r.c: Likewise.
1097         * iconvdata/ksc5601.c: Likewise.
1098         * iconvdata/ksc5601.h: Likewise.
1099         * iconvdata/latin-greek-1.c: Likewise.
1100         * iconvdata/latin-greek.c: Likewise.
1101         * iconvdata/run-iconv-test.sh: Likewise.
1102         * iconvdata/sjis.c: Likewise.
1103         * iconvdata/t61.c: Likewise.
1104         * iconvdata/uhc.c: Likewise.
1105         * wcsmbs/btowc.c: Likewise.
1106         * wcsmbs/mbrtowc.c: Likewise.
1107         * wcsmbs/mbsnrtowcs.c: Likewise.
1108         * wcsmbs/mbsrtowcs.c: Likewise.
1109         * wcsmbs/wcrtomb.c: Likewise.
1110         * wcsmbs/wcsmbsload.c: Likewise.
1111         * wcsmbs/wcsnrtombs.c: Likewise.
1112         * wcsmbs/wcsrtombs.c: Likewise.
1113         * wcsmbs/wctob.c: Likewise.
1114         * iconv/loop.c: New file.
1115         * iconv/skeleton.c: New file.
1116
1117         * stdlib/mblen.c: Handle empty input string correctly.
1118         * stdlib/mbtowc.c: Likewise.
1119
1120         * posix/getopt.c: Various cleanups.
1121
1122         * sysdeps/arm/bits/setjmp.h: Add copyright text.
1123         * sysdeps/i386/bits/setjmp.h: Likewise.
1124         * sysdeps/m68k/bits/setjmp.h: Likewise.
1125         * sysdeps/powerpc/bits/setjmp.h: Likewise.
1126         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
1127
1128         * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
1129         and make longjmp weak alias.
1130
1131 1998-04-18 20:29  Philip Blundell  <Philip.Blundell@pobox.com>
1132
1133         * iconv/Makefile (routines): Only include gconv_dl if building for
1134         an ELF system - dynamic linking is not available on a.out.
1135         (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
1136         due to above check.
1137         * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
1138         routines from gconv_dl.
1139
1140 1998-04-17  Gordon Matzigkeit  <gord@profitpress.com>
1141
1142         * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
1143         we can compile without libio.
1144
1145 1998-04-20 16:28  Ulrich Drepper  <drepper@cygnus.com>
1146
1147         * sysdeps/mach/hurd/Subdirs: Remove login.
1148
1149 1998-04-11  Gordon Matzigkeit  <gord@profitpress.com>
1150
1151         * db2/compat.h: Include <errno.h>, to make sure we get the
1152         definition of EFTYPE before we define it ourselves.
1153
1154 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
1155
1156         * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
1157         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
1158         Fix typo to allow inclusion from sys/ioctl.h again.
1159
1160 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1161
1162         * iconvdata/*.[ch]: Clean up namespace.  Optimize character lookup.
1163
1164 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1165
1166         * libc.map: Export __strerror_r.  Remove _strerror_internal.
1167
1168 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1169
1170         * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
1171         Also undefine __strcasestr.
1172
1173 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1174
1175         * posix/regex.c: Rename __re_max_failures back to re_max_failures,
1176         aliases do not work with global variables due to copy relocations.
1177
1178 1998-04-20 15:12  Ulrich Drepper  <drepper@cygnus.com>
1179
1180         * manual/creature.texi: Fix type.  Patch by Andreas Schwab.
1181
1182 1998-04-20 13:47  Ulrich Drepper  <drepper@cygnus.com>
1183
1184         * signal/sighold.c: Include stddef.h for NULL definition.
1185         * signal/sigrelse.c: Likewise.
1186         * sysdeps/posix/sigignore.c: Likewise.
1187         * sysdeps/posix/sigset.c: Likewise.
1188         * sysdeps/posix/waitid.c: Likewise.
1189         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
1190         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
1191         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1192         * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
1193         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1194
1195 1998-04-13  Mark Kettenis  <kettenis@phys.uva.nl>
1196
1197         * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
1198         * login/getutent.c (getutxent): Remove alias.
1199         * login/getutent_r.c (setutxent, pututxline, endutxent):
1200         Remove aliases.
1201         * login/getutid.c (getutxid): Remove alias.
1202         * login/getutline.c (getutxline): Remove alias.
1203         * login/utmp.h: Add prototypes for __updwtmp, __getutent,
1204         __getutid, __getutline and __pututline.
1205         * login/utmpx.h: Moved to ...
1206         * sysdeps/gnu/utmpx.h: ... here.  [__USE_GNU]: Define UTMPX_FILE,
1207         UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
1208         and updwtmpx.
1209         * login/updwtmp.c: Moved to ...
1210         * sysdeps/generic/updwtmp.c: ... here.  (updwtmp): Generalized by
1211         allowing file name transformation.
1212         * sysdeps/gnu/updwtmp.c: New file.  Use generic implementation with
1213         additional file name transformation.
1214         * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
1215         * login/utmp_file.c: Moved to ...
1216         * sysdeps/generic/utmp_file.c: ... here.  (setutent_file):
1217         Generalized by allowing file name transformation.  Do not
1218         print error message.  Library functions should not print them.
1219         Reported by Jim Meyering.
1220         * sysdeps/gnu/utmp_file.c: New file.  Use generic implementation
1221         with additional file name transformation.
1222         * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
1223         * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
1224         setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
1225         pututxline, utmpxname and updwtmpx.  (sysdep_headers): Add utmpx.h
1226         and bits/utmpx.h.
1227         * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
1228         (_PATH_UTMPX): Define to _PATH_UTMP.  (_PATH_WTMPX): Define to
1229         _PATH_WTMPX.  (RUN_LVL): Define only if __USE_GNU.  (ACCOUNTING):
1230         Define if __USE_GNU.
1231         * sysdeps/generic/setutxent.c: New file.
1232         * sysdeps/generic/getutxent.c: New file.
1233         * sysdeps/generic/endutxent.c: New file.
1234         * sysdeps/generic/getutxid.c: New file.
1235         * sysdeps/generic/getutxline.c: New file.
1236         * sysdeps/generic/pututxline.c: New file.
1237         * sysdeps/generic/utmpxname.c: New file.
1238         * sysdeps/generic/updwtmpx.c: New file.
1239         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
1240         * sysdeps/generic/bits/utmpx.h: Remove.
1241
1242 1998-04-20  Ulrich Drepper  <drepper@cygnus.com>
1243
1244         * posix/wordexp-test.c (main): Initialize ifs element of ts for
1245         ~root test.
1246
1247 1998-04-17 07:53  H.J. Lu  <hjl@gnu.org>
1248
1249         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
1250
1251 1998-04-17 11:32  Ulrich Drepper  <drepper@cygnus.com>
1252
1253         * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
1254         variable using _G_stat64.
1255         * libio/fileops.c: Remove macro definition of fstat, it is in the
1256         global header.
1257         Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
1258
1259 1998-04-17  Philip Blundell  <pb@nexus.co.uk>
1260
1261         * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
1262         <willy@odie.barnet.ac.uk>.
1263
1264 1998-04-16  Philip Blundell  <Philip.Blundell@pobox.com>
1265
1266         * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
1267         required by IPv6 Basic API.
1268         (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
1269         (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
1270         (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
1271         (IN6_IS_ADDR_MC_GLOBAL): Likewise.
1272
1273 1998-04-15 16:41  Ulrich Drepper  <drepper@cygnus.com>
1274
1275         Don't name internal representation since it might be different from
1276         the external form (namely on little endian machines).
1277         * iconv/gconv_builtin.h: Add UCS4 support.  Change references to
1278         UCS4 into references to INTERNAL.
1279         * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
1280         Add endianess support to UCS functions.  Change references to
1281         UCS4 into references to INTERNAL.
1282         * iconv/gconv_int.h: Change references to UCS4 into references to
1283         INTERNAL.
1284         * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
1285         * iconvdata/gconv-modules: Change accordingly.
1286         * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
1287
1288         * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
1289         overflow.
1290         * iconvdata/8bit-gap.c: Likewise.
1291         * iconvdata/8bit-generic.c: Likewise.
1292         * iconvdata/big5.c: Likewise.
1293         * iconvdata/euccn.c: Likewise.
1294         * iconvdata/eucjp.c: Likewise.
1295         * iconvdata/euckr.c: Likewise.
1296         * iconvdata/euctw.c: Likewise.
1297         * iconvdata/iso646.c: Likewise.
1298         * iconvdata/iso6937.c: Likewise.
1299         * iconvdata/iso8859-1.c: Likewise.
1300         * iconvdata/johab.c: Likewise.
1301         * iconvdata/sjis.c: Likewise.
1302         * iconvdata/t61.c: Likewise.
1303         * iconvdata/uhc.c: Likewise.
1304
1305         * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
1306         * iconvdata/8bit-generic.c: Likewise.
1307
1308         * iconvdata/TESTS: Add more tests.
1309
1310         * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
1311
1312 1998-04-15 11:47  Ulrich Drepper  <drepper@cygnus.com>
1313
1314         * iconvdata/Makefile: Better rules to run tests.
1315
1316         * iconvdata/testdata/ISO-8859-1..UTF8: New file.
1317         * iconvdata/testdata/ISO-8859-10: Likewise.
1318         * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
1319         * iconvdata/testdata/ISO-8859-2: Likewise.
1320         * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
1321         * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
1322         * iconvdata/testdata/ISO-8859-3: Likewise.
1323         * iconvdata/testdata/ISO-8859-4: Likewise.
1324         * iconvdata/testdata/ISO-8859-5: Likewise.
1325         * iconvdata/testdata/ISO-8859-6: Likewise.
1326         * iconvdata/testdata/ISO-8859-7: Likewise.
1327         * iconvdata/testdata/ISO-8859-8: Likewise.
1328         * iconvdata/testdata/ISO-8859-9: Likewise.
1329
1330 1998-04-15  Ulrich Drepper  <drepper@cygnus.com>
1331
1332         * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
1333         intermediate result (if available).
1334
1335         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
1336         last change.
1337
1338         * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
1339         (distribute): Add run-iconv-test.sh and testdata/*.
1340
1341         * stdlib/testmb.c (main): Simplify mbc array handling.
1342
1343 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1344
1345         * elf/dl-minimal.c (__strtol_internal): Correct range check.  Fix
1346         return value on overflow.
1347
1348 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1349
1350         * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
1351         bits.
1352
1353 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1354
1355         * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
1356         of non-standard function setbuffer.
1357
1358 1998-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1359
1360         * stdio-common/perror.c: Include <string.h> for __strerror_r.
1361
1362 1998-04-14 23:54  Ulrich Drepper  <drepper@cygnus.com>
1363
1364         * iconvdata/Makefile: Add rules to run tests.
1365         * iconvdata/TESTS: New file.
1366         * iconvdata/run-iconv-test.sh: New file.
1367         * iconvdata/testdata/ISO-8859-1: New file.
1368
1369         * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
1370         not stdout.
1371
1372 1998-04-14 18:22  Ulrich Drepper  <drepper@cygnus.com>
1373
1374         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
1375         counter element of step.
1376
1377         * iconv/gconv_dl.c: Don't mark get_sym as internal function.
1378
1379         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
1380         termination test.
1381         (__gconv_transform_ucs4_utf8): Likewise.  Remove unnecessary variable
1382         ACTUALLY.
1383         (__gconv_transform_utf8_ucs4): Correct test for empty input.
1384
1385 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
1386
1387         * Makefile: Include makeconfig before defining rule to regenerate
1388         configure files.
1389
1390         * configure.in: Remove restriction on compiling without static
1391         libs.
1392
1393 1998-04-14 16:34  Ulrich Drepper  <drepper@cygnus.com>
1394
1395         * test-skeleton.c: Provide hook for initializing code before the fork.
1396         * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
1397         removed.
1398
1399         * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
1400         * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
1401         * libio/libioP.h: Adopt _IO_cleanup prototype.
1402
1403         * stdlib/Makefile (tests): Add test-canon2.
1404         * stdlib/test-canon2.c: New file.
1405         * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
1406         be NULL.  Use __lxstat, not __lstat.  Correctly recognize long
1407         symlink sequences.
1408         (__realpath): Make real function which checks RESOLVED parameter for
1409         not being NULL.
1410
1411 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
1412
1413         * catgets/open_catalog.c (__open_catalog): Fix problems with
1414         reading non-files.  Always close file.
1415         Reported by Cristian Gafton <gafton@redhat.com>.
1416
1417         * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
1418
1419 1998-04-14 13:28  Ulrich Drepper  <drepper@cygnus.com>
1420
1421         * libc.map: Add various low-level I/O functions.
1422
1423 1998-04-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
1424
1425         * string/Makefile (routines): Remove strerror_r.
1426         * string/strerror_r.c: Removed.
1427         * string/strerror.c: Call __strerror_r for doing the real work.
1428         * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
1429         add weak alias strerror_r.
1430         * sysdeps/mach/_strerror.c: Likewise.
1431         * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
1432         * elf/dl-error.c (_dl_signal_error): Likewise.
1433         * elf/dl-profile.c (_dl_start_profile): Likewise.
1434         * gmon/gmon.c (write_gmon): Likewise.
1435         * stdio-common/perror.c: Likewise.
1436         * stdio-common/vfprintf.c: Likewise.
1437
1438 1998-04-10  Mark Kettenis  <kettenis@phys.uva.nl>
1439
1440         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
1441         (sysdep_headers): Add netatalk/at.h.
1442
1443 1998-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1444
1445         * manual/socket.texi, manual/creature.texi, manual/time.texi:
1446         Formatting fixes.
1447
1448 1998-04-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1449
1450         * posix/regex.c: Rename __re_syntax_options back to
1451         re_syntax_options, aliases do not work with global variables due
1452         to copy relocations.
1453         (regex_compile): Use syntax parameter instead of
1454         re_syntax_options.
1455
1456 1998-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1457
1458         * configure.in: Document that enable-force-install is default.
1459
1460 1998-04-13  Ulrich Drepper  <drepper@cygnus.com>
1461
1462         * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
1463         all needed 36 bits.
1464         * sysdeps/posix/mkstemp.c: Likewise.
1465
1466 1998-04-13 17:40  Ulrich Drepper  <drepper@cygnus.com>
1467
1468         * iconvdata/8bit-gap.c: Simplify step data handling.
1469         * iconvdata/8bit-generic.c: Likewise.
1470         * iconvdata/big5.c: Likewise.
1471         * iconvdata/euccn.c: Likewise.
1472         * iconvdata/eucjp.c: Likewise.
1473         * iconvdata/euckr.c: Likewise.
1474         * iconvdata/euctw.c: Likewise.
1475         * iconvdata/iso6937.c: Likewise.
1476         * iconvdata/iso8859-1.c: Likewise.
1477         * iconvdata/jis0208.h: Likewise.
1478         * iconvdata/jis0212.c: Likewise.
1479         * iconvdata/jis0212.h: Likewise.
1480         * iconvdata/johab.c: Likewise.
1481         * iconvdata/ksc5601.h: Likewise.
1482         * iconvdata/sjis.c: Likewise.
1483         * iconvdata/t61.c: Likewise.
1484         * iconvdata/uhc.c: Likewise.
1485
1486 1998-04-13 16:36  Ulrich Drepper  <drepper@cygnus.com>
1487
1488         * manual/texinfo.texi: Updated from last version.
1489
1490 1998-04-13 14:52  Ulrich Drepper  <drepper@cygnus.com>
1491
1492         * iconvdata/cns11643.c: New file.
1493         * iconvdata/cns11643.h: New file.
1494         * iconvdata/cns11643l1.c: New file.
1495         * iconvdata/cns11643l1.h: New file.
1496         * iconvdata/euctw.c: New file.
1497         * iconvdata/Makefile: Add rules for EUC-TW and CNS.
1498         * iconvdata/gconv-modules: Likewise.
1499
1500         * iconvdata/eucjp.c: Several bug fixes and improvements.
1501         * iconvdata/gb2312.h: Likewise.
1502         * iconvdata/jis0201.h: Likewise.
1503         * iconvdata/jis0208.h: Likewise.
1504         * iconvdata/jis0212.h: Likewise.
1505
1506 1998-04-13 09:11  Ulrich Drepper  <drepper@cygnus.com>
1507
1508         * iconvdata/eucjp.c: New file.
1509         * iconvdata/euccn.c: New file.
1510         * iconvdata/gb2312.h: New file.
1511         * iconvdata/gb2312.c: New file.
1512         * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
1513         * iconvdata/gconv-modules: Likewise.
1514
1515         * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
1516
1517 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
1518
1519         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1520         (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
1521         Patch by Mark Hatle <fray@kernel.crashing.org>.
1522
1523 1998-04-12 22:47  Philip Blundell  <Philip.Blundell@pobox.com>
1524
1525         * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
1526         comment.
1527         (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
1528         (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
1529
1530 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
1531
1532         * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
1533
1534         * iconvdata/Makefile: Add rules for big5 conversion.
1535         * iconvdata/gconv-modules: Likewise.
1536         * iconvdata/big5.c: New file.
1537
1538         * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
1539         Patch by Jim Meyering.
1540
1541 1998-04-11  Ulrich Drepper  <drepper@cygnus.com>
1542
1543         * rt/tst-aio.c: Add test for aio_read and lio_listio.
1544
1545         * rt/lio_listio.c: Correct total counter handling.
1546
1547         * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
1548         from request queue.
1549
1550         * test-skeleton.c (main): Make stdout unbuffered.  Improve message
1551         of signal on exit even more.
1552
1553         * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
1554         instead of call to pthread_cond_init.
1555         * rt/lio_listio.c (lio_listio): Likewise.
1556         * rt/lio_listio64.c (lio_listio64): Likewise.
1557
1558         * nis/nis_findserv.c: Include sys/socket.h.
1559
1560 1998-04-11 09:33  Ulrich Drepper  <drepper@cygnus.com>
1561
1562         * Makeconfig (rtobjdir): New variable.
1563         (rpath-link): Add rtobjdir and thread directory, if available.
1564
1565         * test-skeleton.c: Add support to remove temporary files.
1566         Always define test_dir.  Improve message about expected signal.
1567
1568         * rt/Makefile (tests): Add tst-aio.
1569         Add rules for tst-aio to be linked with librt and thread library.
1570         * rt/aio_misc.c: Correct fundamental bugs.
1571         * rt/aio_suspend.c: Correct bug in test for available request.
1572         Initialize conditional variable.
1573         * rt/lio_listio.c: Initialize conditional variable.
1574         * rt/lio_listio64.c: Likewise.
1575         * rt/tst-aio.c: New file.
1576
1577         * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
1578         * sysdeps/libm-ieee754/w_gamma.c: Likewise.  Adopt for ISO C 9x.
1579         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
1580         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
1581         * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
1582         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
1583         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
1584
1585 1998-04-11 14:49  Mark Kettenis  <kettenis@landau.phys.uva.nl>
1586
1587         * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
1588
1589 1998-04-10  Ulrich Drepper  <drepper@cygnus.com>
1590
1591         * elf/dl-load.c (open_path): Use correct name for test whether
1592         directory in load path exists.
1593
1594         * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
1595         * sysdeps/libm-ieee754/e_pow.c: Fix typo.
1596         Patches by Tom Rini <trini@kernel.crashing.org>.
1597
1598         * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
1599         * wcsmbs/wcstod_l.c: Likewise.
1600         * wcsmbs/wcstold_l.c: Likewise.
1601
1602         * include/byteswap.h: New file.
1603
1604         * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
1605         .bss segment size.  Patch by Joe Keane <jgk@jgk.org>.
1606
1607         * inet/getnameinfo.c (getnameinfo): Change parameter to match
1608         declaration.  Patch by Richard Henderson.
1609
1610 1998-04-10 12:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1611
1612         * manual/process.texi (SIGCHLD example): Save errno.
1613
1614 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
1615
1616         * posix/regex.c: Define regerror really as __regerror.
1617         * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
1618         regerror and regfree.
1619
1620         * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
1621         * stdlib/strtod_l.c: Likewise.
1622         * stdlib/strtold_l.c: Likewise.
1623
1624         * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
1625
1626         * sysdeps/i386/i486/bits/string.h: Remove unused variables.
1627
1628         * misc/syslog.c (closelog_internal): Set LogTag to NULL.
1629         Patch by Christian Gafton.
1630
1631 1998-04-09 14:27  Ulrich Drepper  <drepper@cygnus.com>
1632
1633         * manual/socket.texi (Interface Naming): Correct @deftypefun line
1634         for if_indextoname.
1635
1636 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1637
1638         * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
1639
1640         * manual/socket.texi (Interface Naming): Fix typo.
1641
1642 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1643
1644         * manual/examples/filesrv.c (main): Remove filename first.
1645
1646         * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
1647         ?F_UNIX.
1648
1649         * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
1650         instead of PF_UNIX.
1651
1652         * manual/examples/filecli.c (main): Use AF_LOCAL
1653         instead of AF_UNIX.
1654
1655 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
1656
1657         * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
1658         signgam weak alias.
1659         * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
1660         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
1661         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
1662         * sysdeps/libm-ieee754/w_gamma.c: Likewise.
1663         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
1664         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
1665
1666         * login/utmp_daemon.c (open_socket): Use __connect not connect.
1667
1668 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1669
1670         * configure.in: Add new option --enable-force-install.  Substitute
1671         force_install.
1672         * config.make.in (force-install): Set from configure.
1673         * Makerules (force-install): New phony target.
1674         * Makeconfig (+force): New variable.
1675         * Makefile: Use it in dependency list of installation targets.
1676         * db/Makefile: Likewise.
1677         * db2/Makefile: Likewise.
1678         * elf/Makefile: Likewise.
1679         * hurd/Makefile: Likewise.
1680         * iconv/Makefile: Likewise.
1681         * iconvdata/Makefile: Likewise.
1682         * intl/Makefile: Likewise.
1683         * localedata/Makefile: Likewise.
1684         * login/Makefile: Likewise.
1685         * po/Makefile: Likewise.
1686         * sunrpc/Makefile: Likewise.
1687         * sysdeps/mach/hurd/Makefile: Likewise.
1688         * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
1689         * sysdeps/unix/sysv/linux/Makefile: Likewise.
1690         * timezone/Makefile: Likewise.
1691
1692 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1693
1694         * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
1695         alloc_size.  Pass return value of getcwd syscall to realloc.
1696
1697 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1698
1699         * manual/socket.texi: Spelling fixes.
1700
1701 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1702
1703         * elf/dl-load.c (print_search_path): Remove unused variable.
1704
1705 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
1706
1707         * login/utmp_file.c: use __ftruncate not ftruncate.
1708         * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
1709         for system call and make ftruncate weak alias.
1710         * posix/unistd.h: Add prototype for __ftruncate.
1711         * login/utmp_daemon.c (open_socket): Use __socket not socket.
1712         * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
1713         instead of snprintf and readv.
1714         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
1715         snprintf.
1716         * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
1717         directly.
1718
1719 1998-04-08 20:06  Ulrich Drepper  <drepper@cygnus.com>
1720
1721         * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
1722         * iconv/gconv_db.c: Use __ protected regex functions.
1723         * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
1724         * posix/getopt_init.c: Use __getpid not getpid.
1725         * posix/regex.c: Rename all global functions to start with __ and
1726         make old names weak aliases.
1727         * posix/regex.h: Adopt prototypes for this.
1728         * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
1729         a weak alias and use __getcwd instead of getcwd.
1730         * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
1731         * stdlib/strtod.c: Use __btowc instead of btowc.
1732         * stdlib/strtol.c: Likewise.
1733         * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
1734         * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
1735         and sys_errlist are weak.
1736         * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
1737         * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
1738         * wcsmbs/mbsnrtowcs.c: Likewise.
1739         * wcsmbs/mbsrtowcs.c: Likewise.
1740         * wcsmbs/wcsnrtombs.c: Likewise.
1741         * wcsmbs/wcsrtombs.c: Likewise.
1742         * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
1743         weak alias.
1744         * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
1745         * wctype/wctype.c: Define function as __wctype and make wctype
1746         weak alias.
1747         * wctype/wctype.h: Declare __wctype.
1748
1749 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
1750
1751         * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
1752
1753 1998-04-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1754
1755         * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
1756         stat64.
1757         (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
1758         functions.
1759         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
1760         for __llseek.
1761         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1762         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1763         * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
1764         make it a weak alias.
1765         * posix/unistd.h: Declare __lseek64.
1766
1767         * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
1768         (_IO_file_stat): Fix typo.
1769         (_IO_file_xsgetn): Update fd->_offset.  Read a multiple of the
1770         block size from the file.  Use __mempcpy if _LIBC.
1771
1772 1998-04-07 20:32  Ulrich Drepper  <drepper@cygnus.com>
1773
1774         * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
1775         * wcsmbs/mbrtowc.c: Likewise.
1776         * wcsmbs/mbsnrtowcs.c: Likewise.
1777         * wcsmbs/mbsrtowcs.c: Likewise.
1778         * wcsmbs/wcrtomb.c: Likewise.
1779         * wcsmbs/wcsnrtombs.c: Likewise.
1780         * wcsmbs/wcsrtombs.c: Likewise.
1781         * wcsmbs/wctob.c: Likewise.
1782
1783         * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
1784         position of next output character correctly.
1785         (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
1786
1787         * stdio-common/vfprintf.c (vfprintf): Clear state before used.
1788
1789         * stdlib/strtod.c: Don't use mbtowc.
1790
1791 1998-04-07 19:07  H.J. Lu  <hjl@gnu.org>
1792
1793         * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
1794         what we want is smaller than a buffer.
1795
1796 1998-04-07 18:14  Ulrich Drepper  <drepper@cygnus.com>
1797
1798         * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
1799         this function.
1800
1801 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
1802
1803         * configure.in: Recognize --with-headers flag and determine
1804         commandline options to be used in compilation.
1805         * Makeconfig (+includes): Use $(sysincludes).
1806         * config.make.in (sysincludes): Define from SYSINCLUDES.
1807         * glibcbug.in: Use SYSINCLUDES information.
1808         Patches by Zack Weinberg.
1809
1810 1998-04-07 19:03  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1811
1812         * glibcbug.in: On linux, report version of kernel headers seen
1813         by compiler.
1814
1815 1998-04-07 16:18  Ulrich Drepper  <drepper@cygnus.com>
1816
1817         * libc.map: Add __asprintf to GLIBC_2.1.
1818         * elf/dlerror.c: Use __asprintf, not asprintf.
1819         * libio/stdio.h: Declare __asprintf.
1820         * stdio-common/asprintf.c: Define as __asprintf and make asprintf
1821         a weak alias.
1822
1823         * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
1824         to avoid inclusion from libc_pic.a.
1825
1826         * elf/dl-runtime.c: Undo last patch.
1827
1828         * stdlib/strtod.c: Don't use mbtowc, use btowc.
1829
1830         * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
1831         as default, use NULL.
1832
1833 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1834
1835         * resolv/Makefile: Include ../Makeconfig - needed for building
1836         static NSS module.
1837
1838 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1839
1840         * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
1841         static-nss since we don't want hesiod in the static NSS.
1842
1843         * nss/Makefile: Build only nss_files as static.
1844
1845         * nss/function.def: Remove support for service db.
1846
1847 1998-04-04 09:44  H.J. Lu  <hjl@gnu.org>
1848
1849         * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
1850
1851 1998-04-04 18:29  Tim Waugh  <tim@cyberelk.demon.co.uk>
1852
1853         * posix/wordexp-test.c: Make IFS per test-case.
1854
1855 1998-04-07 17:50  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1856
1857         * glibcbug.in: Report version of gcc in use.  Remove unused variable
1858         ENVIRONMENT.
1859
1860 1998-04-07  Gordon Matzigkeit  <gord@profitpress.com>
1861
1862         * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
1863         `-print-file-name' to find as and ld.
1864
1865 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
1866
1867         * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
1868         template is wrong.  Remove unused varaible `ignored'.
1869
1870 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1871
1872         * libc.map: Export __libc_sa_len.
1873
1874         * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
1875
1876 1998-04-07 08:51  Ulrich Drepper  <drepper@cygnus.com>
1877
1878         * iconv/gconv.c: Take care for NULL arguments.
1879         * iconv/gconv_dl.c: Make find_func function global.
1880         * iconv/gconv_int.h: Add prototype for __gconv_find_func.
1881         Add prototypes for ASCII conversion functions.
1882         * iconv/gconv_simple.c: Add ASCII conversion functions.
1883         * locale/C-ctype.c: Correct charset name.
1884
1885         * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
1886         (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
1887         wcsmbsload.
1888         * wcsmbs/btowc.c: Rewrite to use iconv functionality.
1889         * wcsmbs/mbrtowc.c: Likewise.
1890         * wcsmbs/mbsnrtowcs.c: Likewise.
1891         * wcsmbs/mbsrtowcs.c: Likewise.
1892         * wcsmbs/wcrtomb.c: Likewise.
1893         * wcsmbs/wcsnrtombs.c: Likewise.
1894         * wcsmbs/wcsrtombs.c: Likewise.
1895         * wcsmbs/wctob.c: Likewise.
1896         * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen.  Remove
1897         prototypes for wmemr*.
1898         * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
1899         * wcsmbs/wcsnlen.c: New file.
1900         * wcsmbs/wcsmbsload.c: New file.
1901         * wcsmbs/wcsmbsload.h: New file.
1902
1903         * manual/filesys.texi: Mention risks of tmpnam and mktemp.
1904
1905         * manual/install.texi: Describe some more critical points.
1906
1907         * string/string.h: Add prototype for __strnlen.
1908         * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
1909
1910         * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
1911         much less predictable names.
1912         * sysdeps/posix/mkstemp.c: Likewise.
1913
1914 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1915
1916         * manual/libc.texinfo (Top): Change "file namespace" to "local
1917         namespace".
1918
1919         * manual/socket.texi: Change file namespace to local namespace.
1920         (Out-of-Band Data): Remove unneeded variable link.
1921         (Host Address Functions): Use uint32_t consequently and add a
1922         number of clarifications for IPv4/IPv6, classless addresses.
1923         (Internet Namespace): Added some paragraphs about IPv6.
1924         Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
1925
1926 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
1927
1928         Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
1929
1930         * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
1931         (NI_NUMERICHOST, et al.): Tidy up and add comments.
1932         (AI_NUMERICHOST): Define.
1933         (getnodebyname): New prototype.
1934         (AI_V4MAPPED, et al.): New constants.
1935
1936         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
1937         * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
1938         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
1939         for socket.
1940         * sysdeps/unix/sysv/linux/sa_len.c: New file.
1941         * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
1942
1943         * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
1944
1945         * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
1946         * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
1947         * socket/Makefile (headers): Add bits/sockunion.h.
1948         * socket/sys/socket.h: Include <bits/sockunion.h>
1949         * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
1950         <sys/socket.h>, to avoid getting sockaddr_union defined.
1951         * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
1952         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1953         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1954
1955         * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
1956         (2.2.x kernels won't have it).
1957
1958 1998-04-06 21:21  Ulrich Drepper  <drepper@cygnus.com>
1959
1960         * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
1961         * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
1962         * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
1963         Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
1964
1965 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
1966
1967         * manual/socket.texi (Socket Addresses): Fix a typo.
1968         (Interface Naming): New section.
1969
1970 1998-04-05 23:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1971
1972         * configure.in: Check for CC using $ac_tool_prefix, to handle
1973         cross-compilation.  Use AC_CHECK_TOOL to find MiG.
1974         * config.make.in: Add MIG to be substituted.
1975         * mach/Machrules: Don't define MIG variable.
1976
1977         Patch by Gordon Matzigkeit <gord@profitpress.com>.
1978
1979 1998-04-05  Mark Kettenis  <kettenis@phys.uva.nl>
1980
1981         * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
1982         strdupa to copy rpath.
1983
1984 1998-04-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1985
1986         * configure.in: Fix gcc version check.
1987
1988         * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
1989         confusing.
1990
1991 1998-03-31  Mark Kettenis  <kettenis@phys.uva.nl>
1992
1993         * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
1994         of ptsname_r.
1995
1996         * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
1997         like ttyname_r.
1998         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
1999         * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
2000         * sysdeps/unix/grantpt.c (grantpt): Change check of return value
2001         of __ptsname_r accordingly.
2002         * login/openpty.c (openpty): Likewise.
2003
2004 1998-06-04 18:47  H.J. Lu  <hjl@gnu.org>
2005
2006         * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
2007
2008 1998-04-06 13:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2009
2010         * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
2011
2012         * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
2013
2014 1998-04-06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2015
2016         * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
2017         return value for better error checking.
2018
2019 1998-04-06  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
2020
2021         * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
2022         _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
2023
2024         * elf/elf.h (EM_SPARC64): Remove.
2025         (EM_SPARC32PLUS, EM_SPARCV9): Add.
2026         (HWCAP_SPARC_V9): Add.
2027
2028         * elf/ldsodefs.h (_dl_hwcap): Declare.
2029         * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
2030         Weaken so dlopen from static progies works.
2031         (WEAKADDR): New macro.
2032         (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
2033         (LD_SO_PRELOAD): New macro.
2034         (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
2035         (elf_machine_rela): Weaken _dl_rtld_map.
2036
2037         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
2038         to __clone, and remove the later's alias.
2039         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2040
2041         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
2042         the kernel's structure.
2043
2044         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
2045         Sparc needs a custom value of __KERNEL_NCCS.
2046
2047 1998-04-06  Richard Henderson  <rth@cygnus.com>
2048
2049         * sysdeps/generic/libc-start.c: Allow init and fini to be null.
2050
2051         * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
2052         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2053
2054 1998-04-06  Richard Henderson  <rth@cygnus.com>
2055
2056         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
2057         as the buffer is not properly aligned.
2058         Reported by Juan Cespedes <cespedes@debian.org>.
2059
2060 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2061
2062         * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
2063         instead of AF_FILE.
2064
2065 1998-04-05  Ulrich Drepper  <drepper@cygnus.com>
2066
2067         * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
2068         and wc*tomb* functions.
2069
2070 1998-04-04 15:16  Philip Blundell  <Philip.Blundell@pobox.com>
2071
2072         * sysdeps/unix/start.c: Fix typo.
2073
2074 1998-04-04  Ulrich Drepper  <drepper@cygnus.com>
2075
2076         * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
2077
2078 1998-04-03 23:38  Ulrich Drepper  <drepper@cygnus.com>
2079
2080         * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
2081         expressions and using array variables.
2082         * sysdeps/libm-ieee754/e_asin.c: Likewise.
2083         * sysdeps/libm-ieee754/e_j0.c: Likewise.
2084         * sysdeps/libm-ieee754/e_j1.c: Likewise.
2085         * sysdeps/libm-ieee754/e_log.c: Likewise.
2086         * sysdeps/libm-ieee754/e_pow.c: Likewise.
2087         * sysdeps/libm-ieee754/k_cos.c: Likewise.
2088         * sysdeps/libm-ieee754/k_sin.c: Likewise.
2089         * sysdeps/libm-ieee754/k_tan.c: Likewise.
2090         * sysdeps/libm-ieee754/s_atan.c: Likewise.
2091         * sysdeps/libm-ieee754/s_erf.c: Likewise.
2092         * sysdeps/libm-ieee754/s_expm1.c: Likewise.
2093         * sysdeps/libm-ieee754/s_log1p.c: Likewise.
2094         Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
2095
2096 1998-04-03 23:17  Ulrich Drepper  <drepper@cygnus.com>
2097
2098         * iconv/gconv.c: Rewrite of the low-level of gconv.
2099         * iconv/gconv.h: Likewise.
2100         * iconv/gconv_builtin.h: Likewise.
2101         * iconv/gconv_close.c: Likewise.
2102         * iconv/gconv_db.: Likewise.
2103         * iconv/gconv_dl.c: Likewise.
2104         * iconv/gconv_int.h: Likewise.
2105         * iconv/gconv_open.c: Likewise.
2106         * iconv/gconv_simple.c: Likewise.
2107         * iconvdata/8bit-gap.c: Adapt for rewrite.
2108         * iconvdata/8bit-generic.c: Likewise.
2109         * iconvdata/euckr.c: Likewise.
2110         * iconvdata/iso646.c: Likewise.
2111         * iconvdata/iso6937.c: Likewise.
2112         * iconvdata/iso8859-1.c: Likewise.
2113         * iconvdata/johab.c: Likewise.
2114         * iconvdata/sjis.c: Likewise.
2115         * iconvdata/t61.c: Likewise.
2116         * iconvdata/uhc.c: Likewise.
2117
2118 1998-04-03 15:34  Ulrich Drepper  <drepper@cygnus.com>
2119
2120         * iconv/gconv_int.h: New file.  Internal header.
2121         * iconv/Makefile (distribute): Add gconv_int.h.
2122         * iconv/gconv.h: Remove definition which are now in gconv_int.h.
2123         * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
2124         * iconv/gconv_close.c: Likewise.
2125         * iconv/gconv_conf.c: Likewise.
2126         * iconv/gconv_db.c: Likewise.
2127         * iconv/gconv_dl.c: Likewise.
2128         * iconv/gconv_int.h: Likewise.
2129         * iconv/gconv_open.c: Likewise.
2130         * iconv/iconv.c: Likewise.
2131         * iconv/iconv_close.c: Likewise.
2132         * iconv/iconv_open.c: Likewise.
2133         * iconv/iconv_prog.c: Likewise.
2134
2135 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
2136
2137         * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
2138         missing braces.
2139
2140 1998-04-03  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2141
2142         * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
2143
2144 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
2145
2146         Based on patch from Pat Beirne:
2147         * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
2148         PIC and non-PIC now.  Correctly negate error number.
2149         (errno): Use `%' not `@' in .type directives.
2150
2151 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
2152
2153         * sysdeps/i386/strtok.S: Change to use single exit point.
2154         * sysdeps/i386/i686/strtok.S: Likewise.
2155
2156 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2157
2158         * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
2159         default.
2160
2161 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2162
2163         * Makerules (installed-libcs): Fix typo.
2164
2165 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2166
2167         * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
2168         (UHC-routines): Remove ksc5601.
2169
2170 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
2171
2172         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
2173         introduced in last change.
2174
2175 1998-04-03 06:22  Ulrich Drepper  <drepper@cygnus.com>
2176
2177         * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
2178         before 2.1.92.
2179
2180 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
2181
2182         * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
2183
2184         * stdlib/isomac.c: Use -isystem instead of -I for system include
2185         dir.
2186
2187 1998-03-30 08:05  H.J. Lu  <hjl@gnu.org>
2188
2189         * resolv/res_comp.c (underscorechar): New.
2190         (middlechar): Allow '_'.
2191
2192 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
2193
2194         * intl/explodename.c (stdlib.h): Include that file only if
2195         STDC_HEADERS or _LIBC.
2196         (string.h): Include that file only if HAVE_STRING_H or _LIBC.
2197         Patch by Philippe De Muyter <phdm@macqel.be>.
2198
2199 1998-04-01 21:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2200
2201         * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
2202         (AC_PROG_CHECK_VER): New macro.
2203         * configure.in: Use AC_PROG_CHECK_VER to check versions of
2204         gcc, gmake, msgfmt, makeinfo.  Remove superfluous tests.
2205
2206 1998-04-02 15:13  Ulrich Drepper  <drepper@cygnus.com>
2207
2208         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
2209         * sysdeps/i386/i686/strtok.S: New file
2210         * sysdeps/i386/i686/strtok_r.S: New file
2211
2212 1998-04-02  Mark Kettenis  <kettenis@phys.uva.nl>
2213
2214         * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
2215         type to __off64_t.
2216         * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
2217         parameter as __off64_t instead of __off_t.
2218         (ftello): Make alias for ftello64 instead of ftello.  Change
2219         return type to __off64_t.
2220
2221 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
2222
2223         * sysdeps/i386/bits/string.h: Fix various typos.
2224         Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2225
2226         * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
2227
2228 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
2229
2230         * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
2231         lchown syscall correctly.  [PR libc/541].
2232
2233 1998-04-02 11:45  Ulrich Drepper  <drepper@cygnus.com>
2234
2235         * localedata/Makefile: Correct testsuite rules.
2236
2237         * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
2238         * iconvdata/iso646.c: Fix conversion from UCS4.
2239
2240         * elf/ldsodefs.h: Mark internal function with internal_function.
2241         * elf/dl-addr.c: Likewise.
2242         * elf/dl-close.c: Likewise.
2243         * elf/dl-debug.c: Likewise.
2244         * elf/dl-deps.c: Likewise.
2245         * elf/dl-error.c: Likewise.
2246         * elf/dl-fini.c: Likewise.
2247         * elf/dl-init.c: Likewise.
2248         * elf/dl-load.c: Likewise.
2249         * elf/dl-lookup.c: Likewise.
2250         * elf/dl-object.c: Likewise.
2251         * elf/dl-open.c: Likewise.
2252         * elf/dl-profile.c: Likewise.
2253         * elf/dl-reloc.c: Likewise.
2254         * elf/dl-runtime.c: Likewise.
2255         * elf/dl-symbol.c: Likewise.
2256         * elf/dl-version.c: Likewise.
2257         * elf/dlerror.c: Likewise.
2258         * sysdeps/generic/dl-sysdep.c: Likewise.
2259         * sysdeps/i386/dl-machine.h: Likewise.
2260         * intl/finddomain.c: Likewise.
2261         * intl/gettextP.h: Likewise.
2262         * intl/loadmsgcat.c: Likewise.
2263
2264 1998-04-01 17:38  Ulrich Drepper  <drepper@cygnus.com>
2265
2266         * iconv/gconv_simple.c: New builtins for UCS en/decoding.
2267         * iconv/gconv_builtin.h: Add definitions for new builtins.
2268         * iconv/gconv.h: Add prototypes for new builtins.
2269
2270         * iconvdata/Makefile (modules): Add ISO646.
2271         Add rules for ISO646 module.
2272         (distribute): Add iso646.c.
2273         * iconvdata/gconv-modules: Add module and alias definition for
2274         ISO646 charsets.
2275         * iconvdata/iso646.c: New file.
2276
2277 1998-04-01 16:10  Ulrich Drepper  <drepper@cygnus.com>
2278
2279         * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
2280         * iconv/iconv_prog.c: Implement --list option to print available
2281         coded character sets.
2282
2283 1998-04-01 18:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2284
2285         Make fread() read large blocks straight to the user buffer.
2286
2287         * libio/fileops.c (_IO_file_xsgetn): New function.
2288         (_IO_file_jumps): Use it.
2289         * libio/libioP.h: Prototype it.
2290
2291 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
2292
2293         * iconv/gconv_conf.c (builtin_aliases): New variable.
2294         (__gconv_read_conf): Add builtin aliases.
2295         * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
2296         noop macro before including gconv_builtin.h.
2297         * iconv/gconv_builtin.h: Add alias names.
2298
2299         * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
2300         number of converted bytes correctly.
2301
2302 1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2303
2304         * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
2305         we only wait for a replay.
2306
2307 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
2308
2309         * iconvdata/Makefile: Finally fix dependencies for JOHAB and
2310         EUC-KR modules.
2311
2312 1998-04-1 16:52  Philip Blundell  <pb@nexus.co.uk>
2313
2314         * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
2315         use PLTJMP() rather than explicit (PLT).
2316
2317         * sysdeps/arm/elf/start.S: Leave most of the initialisation for
2318         __libc_start_main().
2319
2320         Based on patch from Pat Beirne:
2321         * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
2322         Always define, not only #ifndef PIC.
2323         (DO_CALL): Pass fifth argument correctly in R4.
2324         (PSEUDO): Correct test for error, call syscall_error through PLT
2325         if PIC.
2326
2327 1998-03-31 10:51  Philip Blundell  <pb@nexus.co.uk>
2328
2329         * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
2330         definitions.
2331
2332 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
2333
2334         * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
2335         JOHAB.so.
2336
2337 1998-04-01 13:20  Mark Kettenis  <kettenis@phys.uva.nl>
2338
2339         * io/Makefile (static-only-routines): Add stat64, fstat64 and
2340         lstat64.
2341
2342 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2343
2344         * manual/Makefile: Use object-suffixes-for-libc instead of
2345         object-suffixes.
2346         * rpm/Makefile (install-lib): Likewise.
2347
2348 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2349
2350         * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
2351
2352         * sysdeps/unix/sysv/linux/configure.in: Match $machine against
2353         `m68*', not only `m68k'.
2354
2355 1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2356
2357         * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
2358
2359         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
2360         install lddlibc4.
2361
2362 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
2363
2364         * iconvdata/Makefile: Use libKSC shared object in JOHAB and
2365         EUC-KR.
2366
2367         * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
2368         comment.
2369
2370 1998-03-30 08:43  H.J. Lu  <hjl@gnu.org>
2371
2372         * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
2373         the init stuff.
2374
2375 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
2376
2377         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
2378         adjtimex syscall.
2379         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
2380         adjtimex.
2381         Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
2382
2383 1998-03-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2384
2385         * Makerules (install): Change comment for libc.so following the
2386         libc_nonshared changes.
2387
2388 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
2389
2390         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
2391
2392         * iconvdata/gap.pl: Avoid using %#06x.
2393
2394 1998-03-31 19:55  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2395
2396         * Makerules: Use $? instead of S^ when invoking ar.
2397
2398 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
2399
2400         * db2/compat.h: Allow EFTYPE being defined.
2401         * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
2402         * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
2403         * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
2404         * sysdeps/mach/bits/libc-lock.h: Fix typo.
2405         (__libc_once): Correctly unlock semaphore.
2406         * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
2407         * sysdeps/unix/bsd/getpt.c: Fix typo.
2408         Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
2409
2410 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
2411
2412         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
2413         macros.
2414
2415 1998-03-31 18:11  Ulrich Drepper  <drepper@cygnus.com>
2416
2417         * include/mntent.h: New file.
2418
2419         * elf/Makefile (trusted-dirs.h): Append slash to filename.
2420         * elf/dl-load.c: Rewrite search path handling.
2421         * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
2422         * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
2423         * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
2424         * elf/ldsodefs.h: Add prototype.
2425
2426 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
2427
2428         * nss/nsswitch.c (__nss_lookup): Adjust comment.
2429
2430         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
2431         function.
2432
2433         * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
2434
2435         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
2436         New function.
2437         (HWCAP_IMPORTANT): New definition.
2438
2439 1998-03-30 17:26  H.J. Lu  <hjl@gnu.org>
2440
2441         * elf/dl-open.c (_dl_open): Fix a typo.
2442         (_dl_global_scope_alloc): Make it static.
2443
2444 1998-03-30 17:20  Ulrich Drepper  <drepper@cygnus.com>
2445
2446         * Makerules: Remove duplicate rules to handle stamp.oS.
2447
2448 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2449
2450         * manual/examples/inetsrv.c (main): Change prototype of
2451         make_socket following change in mkisock.c.
2452
2453         * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
2454         example host.
2455         (main): Change prototype of init_sockaddr following change in
2456         isockadd.c.
2457
2458         * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
2459         * manual/examples/isockad.c (init_sockaddr): Likewise.
2460
2461         * manual/examples/mkfsock.c (make_named_socket): Removed blank
2462         lines for clarification.
2463         (make_named_socket): Use strncpy instead of strcpy.
2464         Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
2465
2466 1998-03-30 13:28  Ulrich Drepper  <drepper@cygnus.com>
2467
2468         * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
2469         determining libs to remove.
2470         (postclean): Add soversions.mk.
2471         * Makerules (common-mostlyclean): Add tests-static and generated
2472         files.
2473
2474 1998-03-30 12:53  Ulrich Drepper  <drepper@cygnus.com>
2475
2476         * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
2477         scanning for \0.
2478         (__strncat_g): Add i686 specific code.
2479
2480 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2481
2482         * manual/install.texi (Reporting Bugs): Ask to include section
2483         names in reports.
2484
2485 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2486
2487         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
2488         guard against direct inclusion.
2489
2490 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2491
2492         Rework support for libc_nonshared.a:
2493         * Makeconfig (object-suffixes-for-libc): New variable.
2494         * Rules: Remove handling of static-only and shared-only routines.
2495         * Makerules: Handle them here instead.  Use
2496         object-suffixes-for-libc instead of object-suffixes when dealing
2497         with libc objects.
2498         (object-suffixes-for-rules): Remove variable.
2499         (elide-routines.oS): Elide all routines except static-only
2500         routines.
2501         ($(objpfx)stamp.oS): Special rule for when static-only-routines is
2502         empty.
2503         (installed-libcs): Remove special case for .oS.
2504         (rmobjs): Likewise.
2505
2506 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2507
2508         * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
2509         do-tst-rpmatch): New targets.
2510         (test): Use them.
2511         (install-locales): Ignore comment lines.
2512
2513 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2514
2515         * elf/Makefile ($(objpfx)ld.so): Depend on version script.
2516         ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
2517         ($(objpfx)rtldtbl.h): Likewise.
2518         (CPPFLAGS-dl-load.c): Fix reference to object directory.
2519
2520 1998-03-30 09:36  Ulrich Drepper  <drepper@cygnus.com>
2521
2522         * manual/string.texi (Finding Tokens in a String): Extend strsep
2523         description and correct example.
2524
2525 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2526
2527         * manual/socket.texi: Remove misguided explicit line breaks and
2528         fix the formatting problem instead by reformulating the
2529         paragraphs.
2530         * manual/filesys.texi: Likewise.
2531         * manual/conf.texi: Likewise.  Don't typeset table with index
2532         fonts, that looks worse than a minimally overfull line.
2533
2534 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2535
2536         * nscd/Makefile (nscd-modules): Move definition outside of
2537         conditional.
2538
2539         * pwd/Makefile: Use have-thread-library to test for thread
2540         library.
2541
2542 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2543
2544         * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
2545
2546         * iconvdata/uhc.c (gconv): Remove unused variable idx.
2547
2548 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
2549
2550         * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
2551
2552 1998-03-29  Ulrich Drepper  <drepper@cygnus.com>
2553
2554         * nss/getXXent_r.c: Correctly handle failing setXXent function.
2555
2556         * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
2557         Reported by Andreas Jaeger.
2558
2559 1998-03-29 20:59  Ulrich Drepper  <drepper@cygnus.com>
2560
2561         * elf/Makefile: Fix typo.
2562         (distribute): Add dl-librecon.h.
2563         * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
2564         * elf/ldd.sh.in: Likewise.
2565         * elf/ldsodefs.h: Declare _dl_correct_cache_id.
2566         * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
2567         Use strsep correctly.
2568         (process_envvars): Allow platform specific variables.
2569         * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
2570         (_dl_load_cache_lookup): Test cache IDs found against
2571         _dl_correct_cache_id.
2572         * sysdeps/generic/dl-librecon.h: New file.
2573         * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
2574
2575         * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
2576
2577 1998-03-29 16:50  Ulrich Drepper  <drepper@cygnus.com>
2578
2579         * config.make.in (ldd-rewrite-script): New variable.
2580         * configure.in: Substitute ldd-rewrite-script.
2581         * elf/Makefile: Rewrite rules to generate ldd script.
2582         * elf/ldd.bash.in: Allow handling of non-ELF binaries.
2583         * elf/ldd.sh.in: Likewise.
2584         * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
2585         * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
2586         point to sed script for libc4 handling insertion for ix86, m68, SPARC.
2587         * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
2588         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
2589
2590 1998-03-26 15:20  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2591
2592         * inet/rcmd.c (iruserok): Remain setuid to the local user
2593         while .rhosts is actually read, to make .rhosts-over-NFS work
2594         (PR libc/524).  Use iruserfopen() for security checks on both
2595         hosts.equiv and .rhosts.  General cleanup.
2596         (iruserfopen): New function, performs careful checking on
2597         hosts.equiv/.rhosts files.  Disallows all the old forbidden
2598         stuff plus hard links to files.
2599
2600 1998-03-29 09:26  Ulrich Drepper  <drepper@cygnus.com>
2601
2602         * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
2603
2604         * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
2605
2606 1998-03-29 02:02  H.J. Lu  <hjl@gnu.org>
2607
2608         * sysdeps/i386/i486/bits/string.h: Fix typos.
2609
2610 1998-03-28 00:13  H.J. Lu  <hjl@gnu.org>
2611
2612         * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
2613         strong alias.
2614
2615         * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
2616
2617         * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
2618         Added.  Used by libm.so on alpha.
2619
2620 1998-03-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2621
2622         * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
2623         defined.
2624
2625 1998-03-27 07:29  H.J. Lu  <hjl@gnu.org>
2626
2627         * Makerules (object-suffixes-for-rules): Add .oS only for
2628         building shared library.
2629         Add ranlib rule for nonshared library.
2630         (rmobjs): Fix typo.
2631
2632         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
2633         into for shared library only.
2634         (CPPFLAGS-.oS): Add -DPIC.
2635         (libtypes): Use $(object-suffixes-for-rules) instead of
2636         $(object-suffixes).
2637
2638 1998-03-28  Ulrich Drepper  <drepper@cygnus.com>
2639
2640         * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
2641         and install lddlibc4.
2642
2643 1998-03-28 09:13  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2644
2645         * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
2646         hash.
2647         * iconvdata/gaptab.pl: Likewise.
2648
2649 1998-03-27 22:46  Ulrich Drepper  <drepper@cygnus.com>
2650
2651         * Rules: Allow Makefiles to specify test-static for tests which
2652         cannot be linked dynamically.
2653         * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
2654         tests-static.
2655
2656         * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
2657
2658         * misc/error.c: Pretty print.
2659
2660 1998-03-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2661
2662         * Makerules (libc_nonshared-name): Remove variable.
2663         (installed-libcs): Use libc-name instead.
2664         ($(inst_libdir)/libc.so): Likewise.  Remove explicit reference to
2665         dynamic linker.
2666
2667         * Makeconfig (link-libc): Link against libc_nonshared.a instead of
2668         libc.a.  Remove explicit reference to dynamic linker.
2669
2670 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
2671
2672         * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
2673         to wchar_t.
2674         * iconv/iconv_prog.c: Correctly test for write failure.
2675         * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
2676         * iconvdata/gconv-modules: Likewise.
2677         * iconvdata/euckr.c: New file.
2678         * iconvdata/johab.c: New file.
2679         * iconvdata/ksc5601.c: New file.
2680         * iconvdata/ksc5601.h: New file.
2681         * iconvdata/uhc.c: New file.
2682         Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
2683
2684         * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
2685         * stdio/fopen.c: Correct handling of 'x' flag.
2686         Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
2687
2688 1998-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2689
2690         * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
2691         * sunrpc/rpcsvc/key_prot.x: Likewise.
2692         * sunrpc/key_prot.c: Likewise.
2693
2694 1998-03-27 13:49  Ulrich Drepper  <drepper@cygnus.com>
2695
2696         * sysdeps/i386/bits/string.h: Correct things which never worked.
2697         * sysdeps/i386/i486/bits/string.h: Add clobber marks.
2698         Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
2699
2700 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
2701
2702         * intl/textdomain.c [_LIBC]: Define strdup only if not yet
2703         defined.  Reported by Thorsten Kukuk.
2704
2705 1998-03-26 18:50  Ulrich Drepper  <drepper@cygnus.com>
2706
2707         * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
2708
2709 1998-03-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2710
2711         * manual/install.texi (Supported Configurations): Add
2712         arm-linuxaout and arm-none.
2713
2714 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
2715
2716         * version.h (VERSION): Bump to 2.0.93.
2717
2718 1998-03-25 07:30  H.J. Lu  <hjl@gnu.org>
2719
2720         * configure.in (libc_cv_ar_S): New to indicate if ar S works.
2721
2722         * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
2723
2724         * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
2725         (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
2726
2727 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
2728
2729         * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
2730
2731 1998-03-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2732
2733         Put the static-only routines in a separate library.
2734         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
2735         variables.
2736         (all-object-suffixes): Add .oS.
2737         * Makerules (libc_static-name): New variable.
2738         (installed-libcs): Add libc_nonshared.a.
2739         ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
2740         (object-suffixes-for-rules): New variable.  Use it instead of
2741         object-suffixes for generating compilation rules.
2742         (rmobjs): Also remove *.oS.
2743         * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
2744         ($(objpfx)stamp.oS): New target.
2745
2746 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
2747
2748         * Makefile (FAQ): Automatically check in regenerated FAQ.
2749
2750 1998-03-26 10:16  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2751
2752         * Makefile (INSTALL): Depend on install.texi, not maint.texi.
2753
2754 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
2755
2756         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
2757         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
2758
2759         * sysdeps/generic/stub_warning: Removed.
2760
2761         * Makefile (distribute): Add include/des.h.
2762
2763         * manual/Makefile (distribute): Change dir-add.texi to
2764         dir-add.texinfo.
2765
2766         * glibcbug.in: Create files safely when mktemp is not available.
2767
2768         * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
2769         Patch by a sun <asun@saul1.u.washington.edu>.
2770
2771 1998-03-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2772
2773         * libc.map: Rename getname to getnetname.
2774
2775 1998-03-25 13:35  Ulrich Drepper  <drepper@cygnus.com>
2776
2777         * manual/maint.texi: Use supported platform in examples.
2778
2779         * manual/install.texi: Document some installation tips.
2780
2781 1998-03-25 10:56  Ulrich Drepper  <drepper@cygnus.com>
2782
2783         * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
2784         Fix a bug so that it returns an error if a numeric parameter is
2785         unset and WRDE_UNDEF is set.
2786         Patch by Andreas Schwab and Tim Waugh.
2787         * posix/wordexp-test.c: Add new new test.
2788
2789 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
2790
2791         * posix/regex.c (regex_compile): Last patch wasn't entirely
2792         correct.  Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
2793
2794 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2795
2796         * manual/filesys.texi (Scanning Directory Content): Fix typo.
2797
2798 1998-03-25 09:24  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
2799
2800         * sysdeps/i386/bits/string.h: Fix all assembler statements so that
2801         clobbered registers don't appear as operands.
2802
2803 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
2804
2805         * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
2806         Solaris' sake.
2807
2808         * posix/regex.c (regex_compile): Don't allow non-alphabet
2809         characters in character set name.
2810
2811 1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>
2812
2813         * posix/wordexp.c (w_newword): New function.
2814         (do_parse_glob): New function.
2815         (parse_glob): Use do_parse_glob.  Now handles the case where a
2816         variable expansion causes a field-split.
2817         (wordexp): Use w_newword.
2818         (parse_arith): Likewise.
2819         (exec_comm): Likewise.
2820         (parse_comm): Likewise.
2821         (parse_param): Likewise.
2822         (parse_backtick): Likewise.
2823
2824 1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>
2825
2826         * posix/wordexp-tst.sh: Another test.
2827
2828         * posix/wordexp-test.c: Two new tests.
2829
2830         * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
2831         directly (the code using realloc was buggy).
2832         (parse_param): Fix typo in comment.
2833
2834 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
2835
2836         * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
2837
2838 1998-03-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2839
2840         * libc.map: Add more rpc auth functions/variables.
2841
2842         * nscd/nscd.c: Add -g option to argp options.
2843
2844 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
2845
2846         * configure.in: Be prepared for gcc 2.9.10 and up.
2847         * configure.in: Add missing disabling of quote characters in
2848         compiler version check.  Reported by HJ Lu.
2849
2850 1998-03-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2851
2852         * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
2853
2854 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
2855
2856         * intl/locale.alias: Fix spelling of romanian.
2857
2858         * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
2859         (distribute): Remove des.h.
2860         * include/des.h: New file.
2861         * sunrpc/des.h: Moved to ...
2862         * sunrpc/rpc/rpc_des.h: ...here.
2863
2864 1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>
2865
2866         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
2867         Fix paren.
2868
2869 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
2870
2871         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
2872         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
2873
2874 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
2875
2876         * elf/ldsodesf.h: New file.
2877         * elf/Makefile (distribute): Add ldsodefs.h.
2878         * elf/link.h: Separate internal information in exter header.
2879         * elf/rtld.c: Include elf/ldsodefs.h not link.h.
2880         * elf/dl-minimal.c: Likewise.
2881         * sysdeps/generic/dl-sysdep.c: Likewise.
2882         * elf/sprof.c: Likewise.
2883         * elf/dlsym.c: Likewise.
2884         * elf/dlvsym.c: Likewise.
2885         * elf/dlerror.c: Likewise.
2886         * elf/dladdr.c: Likewise.
2887         * elf/dlclose.c: Likewise.
2888         * elf/dlopen.c: Likewise.
2889         * elf/dl-addr.c: Likewise.
2890         * elf/dl-close.c: Likewise.
2891         * elf/dl-debug.c: Likewise.
2892         * elf/dl-deps.c: Likewise.
2893         * elf/dl-error.c: Likewise.
2894         * elf/dl-fini.c: Likewise.
2895         * elf/dl-init.c: Likewise.
2896         * elf/dl-load.c: Likewise.
2897         * elf/dl-lookup.c: Likewise.
2898         * elf/dl-object.c: Likewise.
2899         * elf/dl-open.c: Likewise.
2900         * elf/dl-profile.c: Likewise.
2901         * elf/dl-reloc.c: Likewise.
2902         * elf/dl-runtime.c: Likewise.
2903         * elf/dl-support.c: Likewise.
2904         * elf/dl-symbol.c: Likewise.
2905         * elf/dl-version.c: Likewise.
2906         * sysdeps/generic/dl-cache.c: Likewise.
2907         * sysdeps/generic/libc-start.c: Likewise.
2908         * iconv/gconv_dl.c: Likewise.
2909         * nss/nsswitch.c: Likewise.
2910
2911 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
2912
2913         * manual/nss.texi: The database is not called network but networks.
2914         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
2915
2916 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2917
2918         * configure.in: Correct test for compiler version.
2919         Check that LD_LIBRARY_PATH doesn't contain current path.
2920
2921 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
2922
2923         * elf/dl-close.c (_dl_close): Fix byte count while removing
2924         the shared object from the global scope list and optimize
2925         a little bit.
2926
2927 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2928
2929         * manual/filesys.texi (Scanning Directory Content): Add missing
2930         closing brace.
2931         (Scanning Directory Content): Fix text.
2932
2933 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2934
2935         * manual/memory.texi (Heap Consistency Checking): Add paragraph
2936         explaining difference of -lmcheck and MALLOC_CHECK_.
2937
2938 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2939
2940         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
2941         typos in comments.
2942
2943 1998-03-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2944
2945         * test-skeleton.c (main): Fix test for exit signal.
2946
2947 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2948
2949         * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
2950
2951 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2952
2953         * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
2954         appropriate.
2955
2956 1998-03-23 11:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2957
2958         * libc.map: Export __strtok_r.
2959
2960 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
2961
2962         * posix/regex.c (re_compile_fastmap): Remove unused variable
2963         num_regs and adjust comment.
2964         Patch by Jim Meyering <meyering@ascend.com>.
2965
2966         * math/math.h (M_*l): Extend long double constants to be usable
2967         for 128 bit floats.  Patch by Richard Henderson.
2968
2969 1998-03-23 11:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2970
2971         * sysdeps/m68k/m68020/wordcopy.S: New file.
2972
2973 1998-03-22  Ulrich Drepper  <drepper@cygnus.com>
2974
2975         * posix/wordexp.c: Rewrite parse_param.
2976         Patch by Tim Waugh and Andreas Schwab.
2977
2978 1998-03-21 23:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2979
2980         * Rules: Update timestamps on empty object files.
2981
2982 1998-03-21 09:15  Ulrich Drepper  <drepper@cygnus.com>
2983
2984         * manual/filesys.texi (Scanning Directory Content): Add description
2985         of 64 bits scandir function and friends.
2986
2987 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
2988
2989         * glibcbug.in: Use mktemp to generate unique file name for
2990         temporary files.
2991
2992         * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
2993         ptsname_r.  Use cast for execve call.
2994
2995 1998-03-20 16:24  Ulrich Drepper  <drepper@cygnus.com>
2996
2997         * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
2998         * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
2999         * io/sys/statvfs.h: New file.
3000         * sysdeps/generic/fstatvfs.h: New file.
3001         * sysdeps/generic/statvfs.h: New file.
3002         * sysdeps/generic/fstatvfs64.h: New file.
3003         * sysdeps/generic/statvfs64.h: New file.
3004         * sysdeps/generic/bits/statvfs.h: New file.
3005         * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
3006         * sysdeps/unix/sysv/linux/statvfs.c: New file.
3007         * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
3008
3009         * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
3010         and f_ffree elements.
3011
3012         * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print.  Define
3013         mount options in enum.
3014
3015 1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3016
3017         * configure.in: Check for recent egcs/gcc.
3018
3019 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
3020
3021         * libc.map: Add alphasort64, scandir64, versionsort64.
3022         * dirent/Makefile (routines): Add scandir64, alphasort64, and
3023         versionsort64.
3024         * dirent/alphasort64.c: New file.
3025         * dirent/scandir64.c: New file.
3026         * dirent/versionsort64.c: New file.
3027         * dirent/dirent.h: Add LFS support for scandir, alphasort, and
3028         versionsort.
3029         * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
3030         old name weak alias.
3031         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
3032
3033         * dirent/alphasort.c: Use strcoll instead of strcmp.
3034
3035         * dirent/scandir.c: Optimize a bit.
3036
3037         * dirent/versionsort.c: Pretty print.
3038
3039 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
3040
3041         * string/string.h: Add prototype for __strtok_r.
3042
3043 1998-03-20 12:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3044
3045         * posix/Makefile: Fix typo in last change.
3046
3047 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
3048
3049         * dirent/dirent.h (scandir): Make argument of select function const.
3050         * dirent/scandir.c (scandir): Likewise.
3051         Reported by David.Faure@insa-lyon.fr [PR libc/512].
3052
3053 1998-03-19 14:28  Ulrich Drepper  <drepper@cygnus.com>
3054
3055         * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
3056         weak alias.
3057         * sysdeps/i386/strtok_r.c: Likewise.
3058
3059         * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
3060         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
3061         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
3062         * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
3063         * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
3064         * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
3065
3066 1998-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3067
3068         * intl/localealias.c: Remove unneeded define for strdup.
3069
3070 1998-03-19 13:45  Ulrich Drepper  <drepper@cygnus.com>
3071
3072         * manual/argp.texi: Adjust for better TeX output.
3073         * manual/arith.texi: Likewise.
3074         * manual/conf.texi: Likewise.
3075         * manual/filesys.texi: Likewise.
3076         * manual/header.texi: Likewise.
3077         * manual/lgpl.texinfo: Likewise.
3078         * manual/math.texi: Likewise.
3079         * manual/message.texi: Likewise.
3080         * manual/pattern.texi: Likewise.
3081         * manual/process.texi: Likewise.
3082         * manual/signal.texi: Likewise.
3083         * manual/socket.texi: Likewise.
3084         * manual/startup.texi: Likewise.
3085         * manual/stdio.texi: Likewise.
3086         * manual/terminal.texi: Likewise.
3087         * manual/examples/rprintf.c: Likewise.
3088         * manual/examples/testopt.c: Likewise.
3089         Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
3090
3091 1998-03-19 20:45  Tim Waugh  <tim@cyberelk.demon.co.uk>
3092
3093         * posix/wordexp.c (parse_param): Don't immediately stop parsing a
3094         parameter name after seeing a digit if it's enclosed in braces.
3095
3096 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
3097
3098         * sysdeps/i386/i686/Implies: Add libm-i387/i686.
3099
3100 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3101
3102         * manual/memory.texi (Heap Consistency Checking): Document
3103         MALLOC_CHECK_.  Based on a text by Wolfram Gloger.
3104
3105 1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3106
3107         * manual/Makefile: Add missing rules.
3108
3109 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
3110
3111         * timezone/Makefile (generated): Define to remove all stamp files.
3112
3113         * sysdeps/generic/strsep.c: Also undefine __strsep.
3114
3115         * string/strdup.c: Undefine __strdup and strdup first.
3116         * string/strndup.c: Likewise.
3117
3118         * string/bits/string2.h: Correct strtok_r and strsep.
3119         Add strndup optimization.
3120
3121         * sysdeps/generic/strsep.c: Little optimization.
3122
3123 1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>
3124
3125         * string/bits/string2.h: Add optimization for strdup.
3126         Always define __strsep and __strtok_r and make real names available
3127         when feature select macros are defined.
3128
3129 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3130
3131         * manual/install.texi (Installation): Use i486-linux as example
3132         instead of the unsupported sunos4.
3133         (Reporting Bugs): Mention glibcbug script.
3134         (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
3135
3136 1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3137
3138         * posix/wordexp-tst.sh: Make portable.  Add more tests.
3139
3140         * posix/Makefile (do-globtest do-wordexp-test): New targets.
3141
3142 1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>
3143
3144         * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
3145         * sysdeps/generic/libc-start.c: ...here, replacing former content.
3146
3147         * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
3148         netpacket/packet.h.
3149
3150         * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
3151
3152 1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3153
3154         * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
3155         in enumerator for strict standard compliance.
3156         * sysdeps/generic/bits/resource.h: Likewise.
3157
3158 1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>
3159
3160         * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
3161         (PLTJMP): New macro.
3162
3163         * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
3164         longjmp() when floating point enabled.
3165         * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
3166         * sysdeps/arm/__longjmp.S: Remove floating point code.
3167         * sysdeps/arm/setjmp.S: Likewise.
3168
3169         * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
3170         * sysdeps/arm/bsd-_setjmp.S: Likewise.
3171
3172         * sysdeps/arm/memset.S: New file; optimised ARM implementation of
3173         memset().
3174
3175         * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
3176         prototype.
3177
3178 1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>
3179
3180         Based on patches from Pat Beirne and Scott Bambrough:
3181
3182         * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
3183
3184         * sysdeps/arm/bits/fenv.h: New file.
3185
3186         * sysdeps/arm/dl-machine.h: New file.  Add ELF support.
3187         * sysdeps/arm/elf/setjmp.S: Likewise.
3188         * sysdeps/arm/elf/start.S: Likewise.
3189         * sysdeps/arm/init-first.c: Likewise.
3190         * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
3191         * sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
3192         comment about floating point to reflect current reality.
3193
3194         * sysdeps/unix/arm/brk.S: Support PIC.
3195         * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
3196         re-entrant code.
3197         * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
3198         return; call syscall_error through PLT.
3199         * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
3200
3201 1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>
3202
3203         * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
3204         * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
3205         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
3206
3207 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
3208
3209         * dirent/list.c (test): Return error value.
3210         (main): Exit with error value.
3211
3212         * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
3213
3214         * Makefile (distribute): Add test-skeleton.c.
3215         * test-skeleton.c: New file.
3216         * dirent/Makefile (tests): Add opendir-tst1.
3217         * dirent/opendir-tst1.c: New file.
3218
3219 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
3220
3221         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
3222         Optimize memory handling.
3223         * sysdeps/unix/closedir.c: Optmize memory handling.
3224
3225 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
3226
3227         * posix/wordexp.c (parse_param): Fix off-by-on error in $@
3228         handling.  Optimize a bit.
3229
3230 1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
3231
3232         * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
3233         (parse_param): Fold in Andreas' fixes to do with when the end of
3234         the parameter name has been reached, and quoting inside ${...}.
3235         (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
3236         $((echo);(ls)).
3237
3238 1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3239
3240         * manual/maint.texi: Split out installation and contribution
3241         sections to their own appendices.  Misc cleanups.
3242         * manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
3243         * manual/contrib.texi: New file.
3244         * manual/libc.texinfo: Pull in new appendices.
3245         * manual/header.texi: Correct node pointer.
3246
3247 1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3248
3249         * manual/process.texi (Process Completion): Clarify return value
3250         of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]
3251
3252 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3253
3254         * posix/wordexp-test.c: Add more tests.
3255         (testit): Fix logic.
3256
3257         * posix/wordexp.c (exec_comm): In the child, redirect stderr to
3258         /dev/null instead of closing it, close pipe.  Always chop off all
3259         trailing newlines.  Kill and reap child before returning error.
3260         (w_addword, parse_glob): Fix memory leak.
3261         (wordexp): Fix dangling pointer problem.
3262
3263 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
3264
3265         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
3266
3267         * posix/wordexp-test.c (main): Fix little thinkos and typos.
3268
3269         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
3270         directory index by only the language.
3271
3272 1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>
3273
3274         * posix/wordexp-tst.sh: Store test results in the
3275         ${common_objpfx}posix directory.
3276
3277         * posix/wordexp-test.c: Remove temporary directory afterwards.
3278
3279 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3280
3281         * libc.map: Export internal versions of cancelable functions.
3282
3283 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3284
3285         * Makerules (MAKEFLAGS): Append `r'.
3286
3287 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3288
3289         * Makeconfig: Define have-thread-library, shared-thread-library
3290         and static-thread-library if a thread library is available.  Don't
3291         define rt.
3292         * nscd/Makefile: Compile nscd if have-thread-library.  Rename
3293         nscd-routines to nscd-modules.  Use shared-thread-library and
3294         static-thread-library in dependencies.
3295         * rt/Makefile: Only compile librt if have-thread-library is
3296         defined.
3297         * Makefile (subdirs): Always include rt subdir.
3298
3299 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3300
3301         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
3302
3303 1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>
3304
3305         * configure.in: Recognize variations for 32 MIPS processors.
3306         Don't assume ELF systems always have .weak, test for .weakext.
3307
3308 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
3309
3310         * configure.in: Irix6 is an ELF platform.
3311
3312 1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>
3313
3314         * elf/dl-close.c (_dl_close): Stop unmapping the segments after
3315         unmapping the last loaded segment.
3316
3317 1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>
3318
3319         * configure.in: Set base_os for Irix6.
3320         Correct test for .weakext.
3321
3322 1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3323
3324         * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
3325         (new_line) to _dl_debug_message call.
3326
3327 1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
3328
3329         * posix/wordexp.c (parse_param): Perform field-splitting after
3330         expanding positional parameter.
3331
3332         * posix/wordexp-tst.sh: Test that field-splitting is performed
3333         after expanding positional parameter.
3334
3335         * posix/wordexp.c (parse_param): Fixed memory leak in
3336         field-splitting after parameter expansion.
3337
3338 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
3339
3340         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
3341         (get_toplvl_escape): Correctly terminate loop at EOF.
3342         Patch by Cristian Gafton <gafton@redhat.com>.
3343
3344 1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>
3345
3346         * string/tester.c (test_strpbrk): Add more strpbrk tests.
3347         (test_strsep): Likewise.  Correct horrible bugs.
3348
3349         * string/bits/string2.h (strcspn): Optimize also reject string of
3350         length 2 and 3.
3351         (strspn): Likewise.
3352         (strpbrk): Likewise.
3353         (strsep): Likewise.  Correct bug with successive separators and
3354         separators at the end of the string.
3355         * sysdeps/generic/strsep.c: Correct bug with successive separators
3356         and separators at the end of the string.
3357
3358 1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
3359
3360         * posix/wordexp.c (parse_param): Positional parameters ($1, $2
3361         etc) now handled, as well as $$ (pid).
3362
3363         * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
3364         (distribute): Add wordexp-tst.sh.
3365
3366         * posix/wordexp-tst.sh: New file.
3367
3368         * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
3369         number of positional parameters.  Renamed substitute_length to
3370         seen_hash.
3371         Don't free(env) is env is NULL.
3372
3373 1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>
3374
3375         * libc.map: Add pthread_attr_init to GLIBC_2.1.
3376
3377 1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>
3378
3379         * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
3380         for output file replacing gmon.out.
3381         Patch by Dean Gaudet <dgaudet@arctic.org>.
3382
3383 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3384
3385         * elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
3386         up namespace.  Optimize finding end of line.
3387
3388 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3389
3390         * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
3391         securely.  Optimized.
3392         (process_dl_debug): Add ':' to list of separators.  Optimized.
3393
3394 1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3395
3396         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
3397         isless, islessequal, islessgreater, isunordered): Return zero or
3398         one.
3399
3400 1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
3401
3402         * posix/wordexp-test.c: More tests.
3403         (main): Set up arena for pathname expansion tests (in a temporary
3404         directory).
3405         (testit): Don't check word count or word vector if return value is
3406         non-zero.
3407
3408         * posix/wordexp.c (exec_comm): Always chop off terminating
3409         linefeed (just like bash does).
3410         (parse_param): Change lots of occurrences of "if (!*env)" to "if
3411         (!env || !*env)".
3412         (parse_param): For assignment inside parameter expansion, use all
3413         expanded words in assignment rather than just the first.
3414         (parse_param): Corrected return value for parameter expansion of
3415         an unset variable when WRDE_UNDEF is in effect.
3416         (parse_dollars): Don't field-split if quoted.
3417         (wordexp): Opening brace character isn't allowed unquoted.
3418
3419 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
3420
3421         * elf/dlerror.c: Fix concurrency problems with error string and
3422         number.
3423
3424         * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
3425         filter/auxiliary are being loaded.
3426
3427 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
3428
3429         * elf/dlerror.c (last_object_name): Removed.
3430         (dlerror): Don't use last_object_name.
3431         (_dl_error_run): Omit second argument to _dl_catch_error.
3432         * elf/dl-error.c (struct catch): Remove objname member.
3433         (_dl_signal_error): Construct string including objname when given.
3434         (_dl_catch_error): Remove objname handling.
3435         * elf/link.h (_dl_catch_error): Fix prototype and comment.
3436         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
3437         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
3438         * nss/nsswitch.c (nss_dlerror_run): Likewise.
3439         * iconv/gconv_dl.c (dlerror_run): Likewise.
3440         [Corrects PR libc/501].
3441
3442 1998-03-12  Matthias Urlichs <smurf@noris.de>
3443
3444         * nscd/nscd.c: Ignore SIGPIPE.
3445
3446 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
3447
3448         * nscd/nscd_getgr_r.c: Use __ protected names.
3449         * nscd/nscd_getpw_r.c: Likewise.
3450
3451 1998-03-12  Matthias Urlichs <smurf@noris.de>
3452
3453         * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
3454         * nscd/nscd_getpw_r.c: Fix length calculation in result check,
3455         null bytes are not transmitted.
3456
3457 1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3458
3459         * powerpc/syscalls.list: Correct typo.
3460         * alpha/syscalls.list: Likewise.
3461         * mips/syscalls.list: Likewise.
3462
3463 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
3464
3465         * socket/sys/socket.h: Add prototype for __socket.
3466
3467 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
3468
3469         * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
3470
3471         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
3472         constants.
3473
3474         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
3475         definition here.
3476         * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
3477         definition here.
3478
3479         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
3480         AF_* and PF_* constants.
3481
3482         * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
3483
3484 1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>
3485
3486         * elf/rtld.c: Update help message.
3487         Install link maps for preloaded objects using main_map as loader.
3488
3489         * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
3490         * elf/dl-profile.c: Likewise.
3491
3492         * elf/dlsym.c: Little optimization.
3493         * elf/dlvsym.c: Likewise.
3494
3495 1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>
3496
3497         * posix/wordexp-test.c: Move test for parameter list at the very
3498         beginning.
3499
3500 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
3501
3502         * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
3503         WRDE_REUSE flag is set.
3504         (parse_param): Allow `*', `@', and numbers in parameter names.
3505         (parse_dollars): Differentiate between arithmetic expansion and a
3506         command substitution that starts immediately with a sub-shell
3507         (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
3508         (parse_param): Memory allocated with __alloca in a block was
3509         referenced outside that block.  Adjusted to use malloc/free.
3510         (parse_param): Adjusted field-splitting algorithm so that there is
3511         not necessarily a field split at the end of a parameter expansion.
3512
3513 1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
3514
3515         * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
3516         don't free words that have already been allocated.
3517         (parse_param): A dollar sign on its own will never have a pattern
3518         associated with it (like "${HOME%%/}" has), so don't try to free it.
3519         (parse_glob): Attempt to glob when an unquoted `[' is found
3520         (rather than an unquoted '{' (!)).  Also for unquoted '?'.
3521         (parse_glob): Sorted out quoting in a glob-able word.
3522         (parse_param): Added $* and $@ handling.
3523
3524 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
3525
3526         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
3527         parsing it.
3528
3529 1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3530
3531         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
3532         _dl_debug_message.
3533
3534 1998-03-12  Matthias Urlichs  <smurf@noris.de>
3535
3536         * elf/dl-misc.c: Default for debug output should be stderr.
3537         * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
3538         * elf/dl-lookup.c: reference_name may be NULL or empty.
3539
3540 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3541
3542         * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
3543
3544 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
3545
3546         * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
3547
3548         * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
3549
3550 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3551
3552         * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
3553         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
3554
3555 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3556
3557         * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
3558         init stuff.
3559
3560 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
3561
3562         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
3563         flag.
3564
3565         * misc/syslog.c (vsyslog): Don't try to send if not connected to
3566         syslog daemon.
3567         (closelog_internal): Don't do anything if not connected.
3568
3569 1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>
3570
3571         * libc.map: Add _dl_debug_message.
3572         * elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
3573         before every line.
3574         * elf/fini.c: Correctly use new _dl_debug_message function.
3575         * elf/init.c: Likewise.
3576         * elf/dl-lookup.c: Likewise.
3577         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
3578         * elf/dl-load.c: Likewise.  Add more debugging prints.
3579         * elf/dl-reloc.c: Likewise.
3580         * elf/dl-version.c: Likewise.
3581         * elf/dl-support.c: Add variables for debugging.
3582         * elf/rtld.c: Likewise.  Recognize new debug options.
3583         * elf/link.h: Declare new variables.
3584
3585         * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
3586
3587 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
3588
3589         * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
3590         kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.
3591
3592 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
3593
3594         * posix/wordexp-test.c (command_line_test): New function to allow
3595         testing of specific cases from the command-line.
3596
3597 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
3598
3599         * elf/dl-init.c (_dl_init_next): Print nicer messages.
3600         * elf/dl-fini.c (_dl_fini): Likewise.
3601         * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
3602
3603         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
3604         symbol in debug message.
3605         (_dl_lookup_versioned_symbol_skip): Likewise.
3606
3607 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
3608
3609         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
3610         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
3611         * manual/filesys/texi: Document this.
3612
3613 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
3614
3615         * manual/filesys.texi: Document the change below.
3616
3617 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3618
3619         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
3620         Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
3621
3622 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
3623
3624         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
3625         instead scope.  If debugging display information about symbol
3626         resolving.
3627         (_dl_lookup_symbol): Call do_lookup with correct parameters.
3628         (_dl_lookup_symbol_skip): Likewise.
3629         (_dl_lookup_versioned_symbol): Likewise.
3630         (_dl_lookup_versioned_symbol_skip): Likewise.
3631         * elf/dl-support.c: Define _dl_debug_symbols.
3632         * elf/link.h: Add declaration for _dl_debug_symbols.
3633         * elf/rtld.c: Define _dl_debug_symbols.
3634         (process_dl_debug): Recognize symbols option.
3635
3636 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
3637
3638         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
3639         in correct format.
3640         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
3641         with correct parameters.
3642         [!PIC]: Initialize __libc_multiple_libcs.
3643
3644 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
3645
3646         * elf/dl-support.c (_dl_debug_bindings): Add definition.
3647         * elf/rtld.c (_dl_debug_bindings): Add definition.
3648         (process_dl_debug): Recognize bindings option.  Update help message.
3649         * elf/link.h (struct link_map): Add l_versyms member.
3650         (_dl_debug_bindings): Add declaration.
3651         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
3652         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
3653         and l_reloc_result.
3654         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
3655         (sym_val): Remove a member, add m as link_map.
3656         (do_lookup): Return result appropriately.
3657         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
3658         Call do_lookup correctly.
3659         (_dl_lookup_symbol_skip): Likewise.
3660         (_dl_lookup_versioned_symbol): Likewise.
3661         (_dl_lookup_versioned_symbol_skip): Likewise.
3662
3663 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
3664
3665         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
3666         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
3667
3668         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
3669         * libc.map: Add chown to GLIBC_2.1.
3670         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
3671         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
3672
3673 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3674
3675         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
3676         weak alias.
3677         * sysdeps/alpha/ffs.c: Likewise.
3678         * sysdeps/am29k/ffs.c: Likewise.
3679         * sysdeps/i386/ffs.c: Likewise.
3680         * sysdeps/i960/ffs.c: Likewise.
3681         * sysdeps/m68k/ffs.c: Likewise.
3682         * sysdeps/m88k/ffs.c: Likewise.
3683         * sysdeps/powerpc/ffs.c: Likewise.
3684         * sysdeps/rs6000/ffs.c: Likewise.
3685         * sysdeps/vax/ffs.s: Likewise.
3686         * string/string.h: Declare __ffs.
3687         * libc.map: Export it.
3688         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
3689         __builtin_ffs, which is not guaranteed to be namespace clean.
3690
3691 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3692
3693         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
3694         table, which is much more likely to exist than debugging symbols.
3695         (printsym): Remove const.
3696         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
3697         header table.
3698
3699         * libc.map: Export __profile_frequency, used by elf/sprof, to
3700         avoid infinite recursion during startup.
3701
3702 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3703
3704         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
3705         Readd lost negate.
3706
3707         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
3708
3709 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
3710
3711         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
3712
3713 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
3714
3715         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
3716         LD_PRELOAD, and LD_VERBOSE.
3717         (dl_main): Use global variables set by process_envvars instead of
3718         calling getenv.
3719         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
3720         LD_LIBRARY_PATH value, this comes with the parameter.
3721         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
3722         ("LD_LIBRARY_PATH") to _dl_init_paths.
3723
3724 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
3725
3726         * elf/rtld.c (dl_main): Delay initialization of path structure if
3727         the dynamically linker is invoked implicitly until we read the
3728         dynamic section.
3729
3730 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
3731
3732         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
3733
3734 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3735
3736         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
3737         Linux 2.0 and 2.1.
3738
3739         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
3740
3741 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
3742
3743         * Makeconfig (nisobjdir): Set to path to nis directory.
3744         (rpath-link): Add nisobjdir.
3745         Patch by Sven Verdoolaege <skimo@kotnet.org>.
3746
3747         * elf/Makefile: Pretty print.
3748         * elf/dl-lookup.c: Include unistd.h.
3749         * elf/dl-runtime.c: Likewise.
3750
3751         * localedata/Makefile (test-srcs): Add tst-rpmatch.
3752         (distribute): Add tst-rpmatch.sh.
3753         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
3754
3755         New tests for rpmatch function by
3756         Jochen Hein <jochen.hein@delphi.central.de>.
3757         * localedata/tst-rpmatch.c: New file.
3758         * localedata/tst-rpmatch.sh: New file.
3759
3760         * localedata/locales/de_DE: Correct yesexpr and noexpr.
3761         * localedata/locales/de_AT: Likewise.
3762
3763         * posix/getopt.c: Update contact address.
3764         * posix/getopt1.c: Pretty print.
3765
3766         * sysdeps/generic/libc-start.c: Do most of the initialization now
3767         here instead of in start.S.
3768         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
3769         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
3770
3771         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
3772         profil_counter to be public.
3773
3774 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
3775
3776         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
3777         (parse_param): Coded parameter length expansion (${#var}).
3778         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
3779         (parse_param): Cleaned up (fixed) error handling.
3780
3781         * posix/wordexp-test.c: IFS now includes non-whitespace character
3782         (comma).  Added more tests.
3783
3784 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
3785
3786         * elf/link.h: Fix typos.
3787         Reported by Andreas Jaeger.
3788
3789         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
3790         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
3791
3792 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
3793
3794         * argp/argp-help.c: Remove last bits of using gettext instead of
3795         dgettext.
3796
3797 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
3798
3799         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
3800         __libc_start_main.
3801         * csu/Makefile (routines): Add libc-start.
3802         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
3803         * elf/dl-lookup.c: Likewise.
3804         * elf/dl-version.c: Likewise.
3805         * sysdeps/i386/dl-machine.h: Likewise.
3806         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
3807         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
3808         _dl_sysdep_message macros which use _dl_sysdep_output.
3809         * elf/dl-fini.c: Write out which destructor is called while debugging.
3810         * elf/dl-init.c: Likewise for constructor.
3811         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
3812         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
3813         _dl_sysdep_message.  Add _dl_sysdep_output.
3814         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
3815         this file can be opened.
3816         For LD_DEBUG=libs also set _dl_debug_impcalls.
3817         * sysdeps/generic/dl-cache.c: Include unistd.h.
3818         * sysdeps/generic/libc-start.c: New file.
3819         * sysdeps/unix/sysv/linux/libc-start.c: New file.
3820         * sysdeps/i386/elf/start.S: Don't call main directly, call
3821         __libc_start_main instead.
3822
3823         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
3824
3825 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
3826
3827         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
3828
3829 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
3830
3831         * argp/argp.h (struct argp): Add new field domain.
3832         * argp/argp-help.c: Change all gettext calls to dgettext and use
3833         domain field from appropriate argp in call.
3834         * argp/argp-parse.c: Likewise.
3835
3836 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
3837
3838         * posix/wordexp-test.c: Change testsuite so that it can run even
3839         for ~root != /root.
3840
3841 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3842
3843         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
3844
3845 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3846
3847         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3848         Don't store into global errno if we already store through
3849         __errno_location.
3850         * sysdeps/unix/i386/sysdep.S: Likewise.
3851         * sysdeps/unix/alpha/sysdep.S: Likewise.
3852         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3853         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3854         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
3855         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
3856         PIC).
3857
3858 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3859
3860         * sysdeps/generic/sysdep.h (L): Remove definition.
3861         * sysdeps/i386/sysdep.h (L): Define it here instead.
3862
3863 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3864
3865         * nis/nis_call.c (__do_niscall): Safe and reset errno.
3866
3867         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
3868
3869 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3870
3871         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
3872         declaration style to avoid warnings.
3873
3874 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
3875
3876         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
3877         "LD_DEBUG".
3878
3879 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
3880
3881         * posix/Makefile (tests): Add wordexp-test.
3882         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
3883         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
3884
3885 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
3886
3887         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
3888         dependencies.
3889
3890         * elf/link.h (struct r_search_path_elem): Add two new field for
3891         lib path debugging.
3892         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
3893         variable accordingly.
3894         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
3895         is considered next along with information about load paths.
3896         * sysdeps/generic/dl-cache.c: Likewise.
3897         * elf/dl-support.c: Define _dl_debug_libs.
3898         * elf/genrtldtbl.awk: Add initializers for two new field in
3899         struct r_search_path_elem.
3900
3901 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3902
3903         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
3904         * sysdeps/m68k/lshift.S: Likewise.
3905         * sysdeps/m68k/rshift.S: Likewise.
3906         * sysdeps/m68k/sub_n.S: Likewise.
3907         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
3908         * sysdeps/m68k/m68020/mul_1.S: Likewise.
3909         * sysdeps/m68k/m68020/submul_1.S: Likewise.
3910
3911         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
3912         [_LIBC_REENTRANT]: Don't store into global errno.
3913
3914         * sysdeps/m68k/sysdep.h: New file.
3915         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
3916         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
3917         (DO_CALL): Change to expect syscall name as argument.
3918         (PSEUDO): Pass syscall_name to DO_CALL.
3919         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
3920         errno.
3921
3922 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
3923
3924         * elf/rtld.c: Speed up processing of environment variables.  Do
3925         only one run on the environment by avoiding to call getenv.
3926         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
3927         function.  Used by patch above.
3928
3929 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3930
3931         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
3932         running nscd.
3933         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
3934         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
3935         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
3936
3937 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
3938
3939         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
3940         module cannot be found.  Reported by Andreas Jaeger.
3941
3942 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3943
3944         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
3945         on platforms which default to unsigned chars.
3946         * nscd/nscd_getpw_r.c: Likewise.
3947         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
3948         defining it.
3949
3950 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3951
3952         * elf/Makefile (install-bin): Change = to += for sprof to install
3953         ldd also.
3954
3955 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
3956
3957         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
3958
3959 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
3960
3961         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
3962
3963 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3964
3965         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
3966         that a failure to connect to nscd doesn't change errno.
3967
3968 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3969
3970         * manual/maint.texi (Reporting Bugs): Change
3971         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
3972
3973         * locale/iso-4217.def: Likewise
3974
3975 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
3976
3977         * manual/texinfo.tex: Updated.
3978
3979 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3980
3981         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
3982         value.
3983         * sysdeps/posix/pathconf.c: Likewise.
3984         * posix/getconf.c: Print `undefined' if pathconf returns -1
3985         without setting errno.
3986
3987 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
3988
3989         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
3990         problem.
3991         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
3992         Patches by Elliot Lee <sopwith@cuc.edu>.
3993
3994 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
3995
3996         * elf/link.h (struct link_map): Add new field l_reloc_result.
3997         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
3998         of relocation for the object to be profiled.
3999         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
4000         to NULL.
4001         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
4002         array here.
4003         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
4004         contains a result from a previous run use this instead of computing
4005         the value again.
4006         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
4007
4008 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4009
4010         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
4011         offsets into the GOT.
4012         (RTLD_START): Likewise.
4013
4014 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
4015
4016         * elf/sprof.c: Cleanup a bit.
4017
4018 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
4019
4020         * sysdeps/generic/sysdep.h (L): New. Define.
4021
4022         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
4023
4024         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
4025
4026         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
4027         to have only one exit point for functions.
4028         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4029         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
4030         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
4031         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4032         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
4033
4034 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4035
4036         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
4037         reset errno so that errno isn't set to ENOSYS in the first call.
4038         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
4039         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4040         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
4041         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
4042
4043 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
4044
4045         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
4046         * sysdeps/i386/addmul_1.S: Likewise.
4047         * sysdeps/i386/lshift.S: Likewise.
4048         * sysdeps/i386/mul_1.S: Likewise.
4049         * sysdeps/i386/rshift.S: Likewise.
4050         * sysdeps/i386/sub_n.S: Likewise.
4051         * sysdeps/i386/submul_1.S: Likewise.
4052         * sysdeps/i386/i586/add_n.S: Likewise.
4053         * sysdeps/i386/i586/addmul_1.S: Likewise.
4054         * sysdeps/i386/i586/lshift.S: Likewise.
4055         * sysdeps/i386/i586/mul_1.S: Likewise.
4056         * sysdeps/i386/i586/rshift.S: Likewise.
4057         * sysdeps/i386/i586/sub_n.S: Likewise.
4058         * sysdeps/i386/i586/submul_1.S: Likewise.
4059
4060         * sysdeps/i386/sysdep.h: Extend last change.
4061
4062         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
4063         to have only one exit point for functions.
4064
4065 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
4066
4067         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
4068         search.
4069
4070 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
4071
4072         * Makerules: Generate libc.so with absolute paths for the used
4073         shared objects.
4074
4075         * config.make.in: Add MAKEINFO definition.
4076
4077 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
4078
4079         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
4080         (ENTRY): Use STABS_FUN.
4081         (END): Use STABS_FUN_END.
4082         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
4083
4084         * elf/Makefile: Add rules to build sprof program.
4085         * elf/sprof.c: New file.
4086
4087 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4088
4089         * misc/syslog.c (openlog_internal): Insert missing closing brace.
4090
4091 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4092
4093         * configure.in: Check for working msgfmt version (from GNU gettext
4094         0.10 or later).
4095
4096 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
4097
4098         * configure.in: Avoid //s in sysdirs.
4099         Patch by Roland McGrath.
4100
4101         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
4102
4103 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
4104
4105         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
4106         setting _dl_global_scope for RTLD_GLOBAL.
4107
4108 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4109
4110         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
4111         possible lists of object-suffixes are taken care of.
4112
4113 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
4114
4115         * timezone/private.h: Update from tzcode1998c.
4116         * timezone/zic.c: Likewise.
4117         * timezone/antarctica: Updated from tzdata1998c.
4118         * timezone/asia: Likewise.
4119         * timezone/australasia: Likewise.
4120         * timezone/europe: Likewise.
4121         * timezone/southamerica: Likewise.
4122
4123 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
4124
4125         * posix/glob.c (glob_in_dir): Add support for cases insensitive
4126         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
4127
4128 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
4129
4130         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
4131         Changed type of TWO43, TWO52 from float to double.
4132         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
4133         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
4134         Changed type of TWO43 from float to double.
4135         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
4136         Use __isinff.
4137
4138 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
4139
4140         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
4141         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
4142         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
4143
4144 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
4145
4146         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
4147         kernel_termios.h.
4148         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
4149         Clean up random whitespace.
4150         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
4151         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
4152         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
4153         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
4154
4155 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
4156
4157         * shlib-versions: Match alpha*.
4158         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
4159         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
4160
4161         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
4162         Implement copysign* with and without __ prefix.
4163         Likewise for fabs; use builtin for gcc 2.8.
4164         (floor*): New.
4165         (fdim*): New.
4166
4167         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
4168         (R_SPARC*): Match current v9 ABI.
4169
4170         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
4171
4172         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
4173         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4174         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
4175         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
4176         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4177         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
4178         * sysdeps/unix/grantpt.c (argv): Fix consts.
4179         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
4180         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4181
4182 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
4183
4184         * misc/syslog.c: Change to allow user the interpretation of the
4185         outcome even with syslog having no return value.
4186
4187 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
4188
4189         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
4190         that the number of program headers is >0 (which is wrong for the
4191         loader itself).
4192
4193 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
4194
4195         * Makefile (distribute): Add README.libm.
4196
4197 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4198
4199         * time/clocktest.c (main): Correct typo: "--" -> "==".
4200
4201 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
4202
4203         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
4204         inline function.
4205         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
4206         inline functions.
4207
4208         * math/libm.map (__atan2): Added.
4209
4210 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
4211
4212         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
4213         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
4214
4215         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
4216         bug.
4217
4218 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4219
4220         * manual/arith.texi (Old-style number conversion): Correct
4221         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
4222
4223 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
4224
4225         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
4226         but does not require it.  Handle missing argv[] values gracefully.
4227         * posix/execl.c: Likewise.
4228         * posix/execle.c: Likewise.
4229
4230 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4231
4232         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
4233         bit.
4234         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
4235
4236 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
4237
4238         * libc.map: Add __adjtimex.
4239
4240 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4241
4242         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
4243         Remove memset.
4244
4245 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
4246
4247         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
4248         to 64.
4249
4250         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
4251
4252         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
4253         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
4254
4255         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
4256         for shared library.
4257
4258         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
4259
4260         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
4261         Added adjtimex and old_adjtimex.
4262
4263         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
4264         New.
4265         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
4266         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
4267
4268         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
4269         symbols only for shared library.
4270         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
4271         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
4272         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
4273         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
4274         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
4275         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
4276         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
4277
4278         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
4279         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
4280         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
4281         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
4282         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
4283         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
4284         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
4285         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
4286
4287         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
4288         rusage pointer.
4289
4290         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
4291         New macros.
4292         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
4293         timex and __adjtimex, respectively.
4294
4295         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
4296
4297         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
4298
4299 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
4300
4301         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
4302         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
4303
4304 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
4305
4306         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
4307
4308 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4309
4310         * Makefile.in: Disable built-in rules.
4311
4312 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4313
4314         * sysdeps/i386/fpu/t_exp.c: Move to ...
4315         * sysdeps/libm-i387/t_exp.c: ... here.
4316
4317 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
4318
4319         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
4320         from __exp2_deltatable.
4321
4322 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
4323
4324         * nis/ypclnt.c (yp_master): Check result of strdup.
4325         Patch by Thorsten Kukuk.
4326
4327 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4328
4329         * nis/ypclnt.c: Give clnt handle after error checking free, change
4330         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
4331
4332 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
4333
4334         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
4335         Patch by Joe Keane <jgk@jgk.org>.
4336
4337         * misc/fstab.h (struct fstab): Change fs_type member to be const.
4338         * misc/fstab.c: Remove casts in fs_type assignments.
4339
4340 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4341
4342         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
4343         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
4344         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
4345         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
4346         * sysdeps/powerpc/bits/fenv.h: Likewise.
4347         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
4348         * sysdeps/generic/bits/fenv.h: Likewise.
4349         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
4350         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
4351         * sysdeps/powerpc/test-arith.c (main): Likewise.
4352
4353 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
4354
4355         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
4356         the comparison macros.
4357
4358 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
4359
4360         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
4361         (__log2): Fixed return values.
4362         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
4363
4364 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
4365
4366         * math/math.h (isunordered): Rename local variables to ensure
4367         correct code.  Reported by HJ Lu.
4368
4369 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
4370
4371         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
4372         isless, islessequal, islessgreater, isunordered): Fix syntax for
4373         fucompip instruction.
4374         (isless, islessequal): Fix logic.
4375
4376 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4377
4378         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
4379         (comparisons_test): New tests for comparison macros.
4380
4381 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
4382
4383         * Makeconfig: Filter out frame-pointer effecting options when
4384         compiling profiling or debugging code.
4385         * config.h.in (internal_function): Don't define here if PROF is
4386         defined.
4387         * gmon/gmon.c (__moncontrol): Don't change state if already in error
4388         state.
4389         (__monstartup): If calloc fails set error state and mark array as
4390         not allocated.
4391         (_mcleanup): Don't call write_gmon if in error state.  Don't try
4392         to free array if not  successfully allocated.
4393
4394         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
4395         Include elf.h to get macro definitions.
4396         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
4397
4398 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
4399
4400         * elf/ldd.sh.in: Add compatibility for broken old shells.
4401         * elf/ldd.bash.in: Likewise.
4402
4403 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
4404
4405         * sunrpc/rpc_main.c (open_input): Check pipe return error.
4406
4407         * time/clocktest.c (main): Check signal return error.
4408
4409 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4410
4411         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
4412         "/" and use do-install-program. Reported by Mark M. Kettenis.
4413         (subdir_install):  Likewise.
4414
4415 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4416
4417         * sunrpc/rpc_sample.c: Fix typo.
4418
4419         * nscd/connections.c: Use locale.
4420         * nscd/grpcache.c: Add debug messages, gidtbl should get the
4421           calloc result.
4422         * nscd/nscd.c: Check if init functions fails.
4423         * nscd/nscd_conf.c: Allow disabling of group cache.
4424         * nscd/nscd_getgr_r.c: Fix return code if group not found.
4425         * nscd/pwdcache.c: Fix debug messages.
4426
4427 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4428
4429         * libc.map: Add __monstartup and _mcleanup for profiling support.
4430
4431 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4432
4433         * libc.map: Export __getpagesize, for binary compatibility with
4434         2.0.
4435
4436 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4437
4438         * posix/globtest.sh: Use --library-path instead of
4439         LD_LIBRARY_PATH.
4440         * localedata/sort-test.sh: Likewise.
4441         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
4442
4443 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4444
4445         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
4446         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
4447         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4448
4449         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
4450         kernel_sigaction): Define.
4451         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
4452         kernel_sigaction): Define.
4453
4454 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4455
4456         * math/libm-test.c: Change epsilons for libm-ieee754.
4457
4458 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
4459
4460         * sysdeps/i386/__longjmp.S: Fix race condition.
4461         Reported by Bruno Haible <haible@ilog.fr>.
4462
4463 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
4464
4465         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
4466         * iconvdata/8bit-gap.c: Likewise.
4467         * iconvdata/8bit-generic.c: Likewise.
4468         * iconvdata/iso6937.c: Likewise.
4469         * iconvdata/iso8859-1.c: Likewise.
4470         * iconvdata/sjis.c: Likewise.
4471         * iconvdata/t61.c: Likewise.
4472
4473 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4474
4475         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
4476         feature tests by positive feature tests.
4477
4478 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4479
4480         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
4481
4482 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
4483
4484         * elf/dlvsym.c (dlvsym_doit): More corrections.
4485         Patch by Andreas Jaeger.
4486
4487 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
4488
4489         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
4490
4491 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
4492
4493         * libc.map: More reordering for GLIBC_2.1 symbols.
4494
4495 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4496
4497         * libc.map: Move some functions from version GLIBC_2.0 to
4498         GLIBC_2.1, reorder declarations.
4499
4500 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
4501
4502         * resolv/gethnamaddr.c (addrsort): Make this function extern.
4503         Patch by zab@thebrain.grumblesmurf.net.
4504
4505 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4506
4507         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
4508         NIS+ functions with version GLIBC_2.1.
4509
4510 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
4511
4512         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
4513         with 2.0 binaries.  Reported by Thorsten Kukuk.
4514
4515 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4516
4517         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
4518
4519         * elf/dlsym.c (dlsym_doit): Likewise.
4520
4521 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4522
4523         * elf/link.h: Correct typos.
4524
4525         * iconv/iconv_prog.c: Correct typo.
4526
4527 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
4528
4529         * iconv/Makefile: Add rules to build and install iconv program.
4530         * iconv/iconv_prog.c: New file.
4531
4532 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
4533
4534         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
4535         _dl_lookup_symbol_skip call.
4536         * elf/dlvsym.c (dlvsym_doit): Likewise.
4537
4538 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
4539
4540         * libio/iovsscanf.c: Do not include errno.h.
4541
4542 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4543
4544         * elf/dl-load.c (add_name_to_object): Don't translate strings.
4545         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
4546         pulling in the whole error list.
4547         (__dcgettext, dcgettext): Removed.
4548         * libc.map: Export _strerror_internal.
4549
4550 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
4551
4552         * sysdeps/i386/fpu/t_exp.c: New file.
4553
4554 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4555
4556         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
4557         everything with version GLIBC_2.1.
4558         * hesiod/libnss_hesiod.map: Likewise.
4559
4560 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4561
4562         * manual/arith.texi (Old-style number conversion): This node is a
4563         section, not a subsection.
4564
4565 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4566
4567         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
4568
4569 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4570
4571         * elf/rtld.c (dl_main): Make sure that the library search paths
4572         have been initialized before the first call to _dl_map_object.
4573
4574 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4575
4576         * Makerules (common-generated): Add libc_pic.os.
4577
4578 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4579
4580         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
4581         of the executable.
4582
4583 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4584
4585         * sysdeps/m68k/fpu/t_exp.c: New file.
4586
4587 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
4588
4589         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
4590         to global errno variable anymore.
4591
4592 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
4593
4594         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
4595         If PRELOADED is nonzero check in case of an SUID application
4596         whether the shared object has the SUID bit set.
4597         Fix some other problems with handling shared objects in system
4598         specific directories.
4599         (_dl_map_object): Also take extra parameter and pass it to open_path.
4600         * elf/link.h (_dl_map_object): Correct prototype and comment.
4601         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
4602         * elf/dl-open.c (_dl_open): Likewise.
4603         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
4604
4605         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
4606
4607 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
4608
4609         * math/libm-test.c (modf_test): Add test for 1.5.
4610
4611         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
4612         0 to get always an int.
4613
4614 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4615
4616         * math/libm.map: Move all symbols that are new in glibc 2.1 to
4617         version GLIBC_2.1.
4618
4619 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
4620
4621         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
4622         trying to read another character.
4623
4624 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4625
4626         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
4627         name to lowercase.
4628
4629         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
4630         name to lowercase, add test for big enough buffer.
4631
4632 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4633
4634         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
4635         Make compatible with older kernels.  Patch by Richard Henderson.
4636
4637 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
4638
4639         * elf/dl-load.c (open_path): Use __xstat instead of stat.
4640
4641         * localedata/tst-locale.sh: Comment out first test for now.
4642
4643 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
4644
4645         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
4646         as 1.
4647         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4648         Likewise.
4649
4650         * libio/iogetline.c (_IO_getline_info): Renamed from
4651         _IO_getline.
4652         (_IO_getline): Just call _IO_getline_info.
4653
4654         * libio/libioP.h (_IO_getline_info): New declaration.
4655
4656         * libc.map (_IO_getline_info, __write): Added.
4657
4658 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4659
4660         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
4661         const char* to shut up gcc.
4662
4663 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
4664
4665         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
4666         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
4667
4668         * math/math.h: Define M_* constants always as `double' and add new
4669         macros M_*l which are of type `long double'.
4670         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
4671         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
4672         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
4673         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
4674         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
4675         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
4676         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
4677         * math/libm-tst.c: Likewise.
4678
4679         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
4680         define as long double unconditionally.
4681
4682 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4683
4684         * manual/arith.texi (Old-style number conversion): Correct some
4685         typos.
4686
4687 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
4688
4689         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
4690         Restore.
4691
4692         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
4693
4694 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
4695
4696         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
4697         on $(rtld-ldscript).
4698
4699         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
4700         starting from 0 not only from `from'.
4701         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4702
4703 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
4704
4705         * elf/rtld.c (dl_main): Recognize --library-path parameter and
4706         pass value (or NULL) to _dl_init_paths.
4707         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
4708         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
4709         environment variable.
4710         * elf/link.h: Change prototype for _dl_init_paths.
4711         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
4712
4713         * localedata/Makefile (distribute): Add test files.
4714
4715 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4716
4717         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
4718         test1.def, test2.def, test3.def, test4.def}: Simple input files
4719         for localedef. Contributed by Yung-Ching Hsiao
4720         <yhsiao@cae.wisc.edu>.
4721
4722         * localedata/Makefile (tests): Call tst-locale.sh.
4723
4724         * localedata/tst-locale.sh: New file, regression tests for some
4725         localedef problems.
4726
4727 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4728
4729         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
4730
4731         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
4732         terminated.
4733         * nis/nss_nisplus/nisplus-network.c: Likewise.
4734         * nis/nss_nisplus/nisplus-proto.c: Likewise.
4735         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4736         * nis/nss_nisplus/nisplus-service.c: Likewise.
4737
4738         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
4739         and support generating thread safe RPC code.
4740         * sunrpc/rpc_main.c: Add changes.
4741         * sunrpc/rpc_clntout.c: Likewise.
4742         * sunrpc/rpc_cout.c: Likewise.
4743         * sunrpc/rpc_hout.c: Likewise.
4744         * sunrpc/rpc_parse.c: Likewise.
4745         * sunrpc/rpc_sample.c: Likewise.
4746         * sunrpc/rpc_scan.c: Likewise.
4747         * sunrpc/rpc_svcout.c: Likewise.
4748         * sunrpc/rpc_util.c: Likewise.
4749         * sunrpc/rpc_util.h: Add new structs and prototypes.
4750         * sunrpc/proto.h: Remove prototypes for static functions.
4751
4752 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4753
4754         * locale/programs/ld-messages.c (messages_finish): Don't skip
4755         error checking when being quiet.
4756         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
4757         (set_class_defaults): Likewise.
4758         * locale/programs/charmap.c (parse_charmap): Likewise.
4759         * locale/programs/ld-collate.c (collate_finish): Likewise.
4760         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
4761         * locale/programs/ld-time.c (time_finish): Likewise.
4762         * locale/programs/locfile.c (write_locale_data): Likewise.
4763
4764         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
4765         unknown characters and empty ranges.
4766         * locale/programs/ld-collate.c (collate_order_elem): When
4767         processing an ellipsis properly form a linked list in the result
4768         table, fix typo when allocating ordering array.
4769         [PR libc/419]
4770
4771 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4772
4773         * elf/Makefile (ld-map): Define.
4774         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
4775         `$(rtld-ldscript)'.
4776         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
4777         on $(ld-map).
4778         (rtld-link): Combine the two versions of this definition.  Fixed
4779         to make it work when no symbol versioning is used.
4780
4781 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
4782
4783         * Makeconfig (build-program-cmd): Use --library-path parameter to
4784         ld.so instead of environment variable.
4785
4786         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
4787         * sunrpc/rpc_main.c: Remove support for -$$ option again.
4788
4789 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4790
4791         * Make-dist: Respect with-cvs setting.
4792         * MakeTAGS (all-pot): Likewise.
4793         * sysdeps/sparc/sparc32/Makefile: Likewise.
4794         * sysdeps/mach/hurd/Makefile: Likewise.
4795         * stdlib/Makefile: Likewise.
4796         * posix/Makefile: Likewise.
4797         * intl/Makefile: Likewise.
4798         * po/Makefile (linguas): Likewise
4799
4800 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4801
4802         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
4803
4804 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
4805
4806         * libc.map: Add __strcasecmp.
4807
4808         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
4809         module.
4810
4811         * nss/getXXent_r.c: If no more module is found don't try to call
4812         setXXent functions but leave unsuccessfully.
4813
4814         * malloc/obstack.h: Cleanups.
4815
4816         * sysdeps/wordsize-32/stdint.h: New file.
4817         * sysdeps/wordsize-64/stdint.h: New file.
4818         * sysdeps/generic/stdint.h: New file.
4819         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
4820         * sysdeps/wordsize-64/inttypes.h: Likewise.
4821         * stdlib/Makefile (headers): Add stdint.h.
4822
4823 1998-02-03  Paul Eggert  <eggert@twinsun.com>
4824
4825         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
4826
4827 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4828
4829         * timezone: New directory.
4830         * time/README, time/africa, time/antarctica, time/asia,
4831         time/australasia, time/backward, time/checktab.awk,
4832         time/etcetera, time/europe, time/factory, time/ialloc.c,
4833         time/iso3166.tab, time/leapseconds, time/northamerica,
4834         time/pacificnew, time/private.h, time/scheck.c,
4835         time/solar87, time/solar88, time/solar89, time/southamerica,
4836         time/systemv, time/test-tz.c, time/tzfile.h,
4837         time/tzselect.ksh, time/yearistype, time/zdump.c,
4838         time/zic.c, time/zone.tab: Moved to timezone.
4839         * time/tzfile.c: Include tzfile.h from timezone subdir.
4840         * time/tzset.c: Likewise.
4841         * time/Makefile: Cut out all code relating to timezones...
4842         * timezone/Makefile: ...and paste it in here.
4843         * Makefile (subdirs): Add timezone.
4844
4845 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
4846
4847         * libc.map (_sys_nerr): Added.
4848
4849         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
4850         versioned symbol.
4851
4852 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
4853
4854         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
4855         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
4856         Reported by Craig Metz <cmetz@inner.net>.
4857
4858 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4859
4860         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
4861         instead of strcasecmp.
4862         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
4863
4864         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
4865
4866 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
4867
4868         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
4869         Patch by Dean Gaudet <dgaudet@arctic.org>.
4870
4871 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
4872
4873         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
4874
4875 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4876
4877         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
4878         with no poll syscall, just include the BSD version.
4879         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
4880         kernel without the syscall, include the stub version.
4881         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
4882         * sysdeps/generic/getresuid.c: New file.
4883         * sysdeps/generic/getresgid.c: New file.
4884
4885 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
4886
4887         * stdio-common/vfscanf.c: Correct last change a bit.
4888
4889 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
4890
4891         * elf/Makefile: Don't use --version-script parameter to link ld.so
4892         unconditionally.
4893
4894 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
4895
4896         * math/Makefile: Add t_exp.
4897         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
4898         constants.
4899         * math/test-reduce.c: Remove temporarily, it seems to be broken.
4900         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
4901         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
4902         better accuracy.
4903         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
4904         algorithm for very large/very small arguments.
4905         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
4906         correct algorithm for very large/very small arguments; adjust for
4907         new table.
4908         * sysdeps/libm-ieee754/t_exp.c: New file.
4909         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
4910
4911         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
4912         back, with comment that explains what breaks when you remove it :-(.
4913
4914         * localedata/xfrm-test.c: Avoid integer overflow.
4915
4916         * stdlib/strfmon.c: char is unsigned, sometimes.
4917
4918         * sysdeps/powerpc/Makefile: Remove quad float support.
4919         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
4920         * sysdeps/powerpc/quad_float.h: Likewise.
4921         * sysdeps/powerpc/test-arith.c: Likewise.
4922         * sysdeps/powerpc/test-arithf.c: Likewise.
4923
4924         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
4925         * sysdeps/generic/s_exp2f.c: Likewise.
4926
4927         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
4928         don't try anything if _SOFT_FLOAT.
4929
4930 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4931
4932         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
4933         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
4934         * wctype/wctype.c: Likewise.
4935         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
4936         changed.  They are incompatible with the _ISxxx values from
4937         <ctype.h> on little endian machines.
4938         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
4939         bit number.  This fixes the real bug and restores the integrity of
4940         the ctype locale file.
4941         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
4942         * wctype/wcfuncs_l.c: Likewise.
4943         * wctype/wcextra.c: Likewise.
4944         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
4945         byte swapping.
4946
4947 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4948
4949         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
4950         into .bss segment instead of .common, so that aliases on it work.
4951
4952         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
4953         .size directives, put into .bss segment instead of initializing it
4954         to 4.
4955
4956 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
4957
4958         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
4959
4960         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
4961         functions.
4962         Make names without __ weak aliases.
4963         (__libc_release, __libc_version): Make them static.
4964
4965         * include/gnu/libc-version.h: New file.
4966         * Makefile (headers): Add gnu/libc-version.h.
4967
4968 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
4969
4970         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
4971         and use x for member name.
4972         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
4973
4974         * stdlib/drand48.c: Change according to member name change.
4975         * stdlib/drand48_r.c: Likewise.
4976         * stdlib/lcong48_r.c: Likewise.
4977         * stdlib/lrand48.c: Likewise.
4978         * stdlib/lrand48_r.c: Likewise.
4979         * stdlib/mrand48.c: Likewise.
4980         * stdlib/mrand48_r.c: Likewise.
4981         * stdlib/seed48.c: Likewise.
4982         * stdlib/seed48_r.c: Likewise.
4983         * stdlib/srand48_r.c: Likewise.
4984
4985 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4986
4987         * nss/test-netdb.c: Add some more test cases.
4988
4989 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
4990
4991         * libio/iovsscanf.c: Undo last change modifying errno.
4992
4993 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4994
4995         * stdio-common/vfscanf.c: Never try to read another character
4996         after EOF.  Don't decrement read_in after EOF, it wasn't
4997         incremented in the first place.
4998         (NEXT_WIDE_CHAR): Set First, not first.
4999
5000 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
5001
5002         * db/Makefile ($(inst_libdir)/libndbm.a,
5003         $(inst_libdir)/libndbm.so): New targets.
5004         * db2/Makefile: Likewise.
5005
5006 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
5007
5008         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
5009         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
5010
5011 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5012
5013         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
5014         <streambuf.h>.
5015         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
5016
5017 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5018
5019         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
5020         versioned symbols.
5021
5022 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
5023
5024         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
5025         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
5026         Added for libdl.so.
5027
5028 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5029
5030         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
5031         extra syscall.
5032
5033         * grp/Makefile: Fix logic when checking for thread package.
5034         * pwd/Makefile: Likewise.
5035
5036 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
5037
5038         * elf/Makefile (rtld-map): Replaced by libc-map.
5039
5040         * elf/rtld.map: Removed.
5041
5042         * libc.map (__libc_enable_secure, _dl_catch_error,
5043         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
5044         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
5045         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
5046         _dl_object_relocation_scope, _dl_relocate_object,
5047         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
5048         _r_debug): Added for ld.so.
5049
5050 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
5051
5052         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
5053         DO_VERSIONING.
5054         * libio/iofdopen.c: Ditto.
5055         * libio/iofopen.c: Ditto.
5056         * libio/oldfileops.c: Ditto.
5057
5058         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
5059         version GLIBC_2.1.
5060
5061         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
5062         oldsiglist from sysdep_routines and shared-only-routines.
5063
5064         * sysdeps/unix/sysv/linux/errlist.c: New.
5065         * sysdeps/unix/sysv/linux/errlist.h: New.
5066         * sysdeps/unix/sysv/linux/sizes.h: New.
5067         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
5068         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
5069
5070         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
5071
5072         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
5073         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
5074         directive.
5075
5076         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
5077
5078         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
5079         (oldsiglist.c): Removed.
5080
5081         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
5082         (_sys_siglist): Use SYS_SIGLIST instead.
5083         (_sys_nerr): Use SYS_NERR instead.
5084
5085         * sysdeps/gnu/errlist.c: Rebuilt.
5086
5087 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
5088
5089         * elf/Makefile (others-static): New, set to ldconfig.
5090         ($(objpfx)ldconfig): Removed.
5091
5092         * Rules (binaries-all, binaries-static, binaries-shared): New.
5093         Create targets for $(binaries-static) and $(binaries-shared).
5094
5095         * Makeconfig (+link-static, link-libc-static,
5096         link-extra-libs-static): New for static linking.
5097
5098 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5099
5100         * manual/memory.texi (Using the Memory Debugger): Fix typo.
5101
5102         * math/libm-test.c (modf_test): Add one more test for modf.
5103
5104 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
5105
5106         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
5107         Rename from __libc_have_rt_sigs and leave as COMMON data.
5108
5109 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
5110
5111         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
5112         of __finite.
5113
5114 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
5115
5116         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
5117
5118 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
5119
5120         * misc/tst-efgcvt.c: Add yet more tests.
5121         * misc/efgcvt_r.c: And correct for these tests again.
5122         Reported by HJ Lu.
5123
5124         * isomac.c: Move to...
5125         * stdlib/isomac.c: ...here.
5126         * Makefile: Move rules for handling isomac...
5127         * stdlib/Makefile: ...to here.
5128
5129 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
5130
5131         * misc/tst-efgcvt.c: Add more tests.
5132         * misc/efgcvt_r.c: Correct result for above new tests.
5133
5134 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
5135
5136         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
5137         NDIGIT <= 0.
5138
5139 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
5140
5141         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
5142         if the programs weren't built.
5143
5144 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
5145
5146         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
5147         FE_TONEAREST, soldier on regardless and do the best we can.
5148         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
5149
5150 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
5151
5152         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
5153         _STDIO_H, before including <bits/stdio_lim.h>.
5154
5155         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
5156
5157         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
5158         exist.
5159
5160         * sysdeps/arm/sys/ucontext.h: New file.
5161
5162 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
5163
5164         * manual/stdio.texi (Formatted Output Functions): Explicitly say
5165         that the return value from snprintf() does not count the
5166         terminating NUL as a character.
5167
5168 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
5169
5170         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
5171         add description for sete[ug]id and general cleanup.
5172         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5173
5174 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5175
5176         * Makefile (parent-clean): Don't remove makefile fragments here.
5177         (postclean): New variable.
5178         (clean): Remove makefile fragments here.
5179         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
5180         (generated): Add isomac and isomanc.out.
5181         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
5182         avoid-generated is set.
5183         (postclean-generated): Add soversion.mk.
5184         ($(common-objpfx)version.mk): Don't include if avoid-generated is
5185         set.
5186         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
5187         avoid-generated is set.
5188         (common-generated): Add libc.so and libc.so$(libc.so-version).
5189         (generated): Add versioned libraries.
5190         (common-mostlyclean): Also remove %.so and %_pic.a.
5191         * csu/Makefile (generated): Add abi-tag.h.
5192         * db2/Makefile (extra-objs): Add getlong.o.
5193         * elf/Makefile (generated): Add ld.so, ldd and
5194         $(rtld-installed-name).
5195         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
5196         * malloc/Makefile (generated): Add mtrace.
5197         * po/Makefile: Don't include version.mk, not needed any more.
5198         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
5199         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
5200         syscall.h -> sys/syscall.h.
5201         (common-generated): Add s-proto.d.
5202         (postclean-generated): Add sysd-syscalls.
5203         * localedata/Makefile (test-output): Add all output files.
5204         (generated): Add test-input and test-output.
5205         (generated-dirs): Add all the dirs.
5206
5207 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5208
5209         * Makefile (test-output, generated, generated-dirs): New
5210         variables.
5211
5212 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
5213
5214         * resolv/nss_dns/dns-host.c: Various code cleanups.
5215
5216 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
5217
5218         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
5219         From Philip Blundell <pb@nexus.co.uk>.
5220         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
5221
5222 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5223
5224         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
5225         Suggested by debian/sparc porters.
5226
5227 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5228
5229         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
5230         for ecvt and fcvt.
5231
5232 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
5233
5234         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
5235         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
5236
5237         * signal/signal.h: Always define sigset_t if __need_sigset_t is
5238         defined even if __USE_POSIX is not defined.
5239
5240 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5241
5242         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
5243         to support obsolete tty major numbers correctly.
5244
5245 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
5246
5247         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
5248         directory first and ignore install error.
5249
5250         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
5251         128 from ptyno and fix a typo for the BSD style pty.
5252
5253 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5254
5255         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
5256         syscalls.list's.
5257
5258 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5259
5260         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5261         getresuid and getresgid.
5262
5263         * sysdeps/unix/sysv/linux/getresuid.c: New file.
5264         * sysdeps/unix/sysv/linux/getresgid.c: New file.
5265
5266         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
5267         s_getres[ug]id.
5268
5269         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
5270         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5271         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5272         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
5273
5274 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
5275
5276         * nscd/grpcache.c: Include <stdlib.h>.
5277
5278 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
5279
5280         * stdlib/atoll.c: Fix comments.
5281
5282         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
5283         * sysdeps/posix/ttyname_r.c: Ditto.
5284
5285 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5286
5287         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
5288         __USE_MISC, independent of __USE_UNIX98.
5289
5290 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
5291
5292         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
5293         Rename from __libc_have_rt_sigs and leave as COMMON data.
5294
5295 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
5296
5297         * Makeconfig (CFLAGS-.os): Kill -fno-common.
5298         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
5299
5300         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
5301         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
5302         version symbols.
5303         * include/libc-symbols.h (symbol_version, default_symbol_version):
5304         Provide asm versions and correct !DO_VERSIONING versions.
5305         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
5306         the weak symbol list.
5307
5308         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
5309         Rename from __libc_have_rt_sigs and leave as COMMON data.
5310         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5311         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5312         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5313
5314 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5315
5316         * sunrpc/Makefile: Correct dependencies of rpcgen.
5317
5318 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
5319
5320         * nscd/Makefile: Fix test for available linuxthreads add-on.
5321         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5322
5323 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5324
5325         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
5326
5327 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5328
5329         * sysdeps/gnu/Makefile: Respect with-cvs variable.
5330
5331         * manual/errno.texi (Error Messages): Correct description of
5332         strerror_r.  Pointed out by jonas@bagge.se.
5333
5334 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5335
5336         * manual/socket.texi (Host Address Functions): Clarify description
5337         of inet_network.
5338
5339 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5340
5341         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
5342         (grantpt): Delete superfluous cast.
5343
5344 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5345
5346         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
5347         elf/ldso_install instead of elf/subdir_install.
5348         (elf/ldso_install): New target.
5349
5350         * elf/Makefile (ldso_install): New target.
5351
5352 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5353
5354         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
5355         of 1998-01-06.
5356
5357 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5358
5359         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
5360         constant expressions.
5361
5362 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5363
5364         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
5365         for __nss_configure_lookup.
5366         (output_hostent): Remove unused variable.
5367
5368 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5369
5370         * string/tst-inlcall.c: Fix format string.
5371
5372 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5373
5374         * inet/netinet/in.h: Rename second parameter of bindresvport to
5375         avoid buggy gcc warning. [PR libc/412]
5376
5377 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
5378
5379         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
5380         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
5381
5382         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
5383         Follow POSIX and make tv_sec a time_t.
5384         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
5385         new tv64 syscall as well as fall back to tv32.
5386         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
5387         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
5388         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
5389         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
5390         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
5391         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
5392         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
5393         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
5394
5395         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
5396         * include/rpcsvc/nis_tags.h: Likewise.
5397         * include/rpcsvc/nislib.h: Likewise.
5398
5399 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
5400
5401         * libc.map: Add _h_errno.
5402         * inet/herrno.c: Make _h_errno weak alias.
5403
5404         * login/Makefile (distribute): Add pty-internal.h.
5405
5406         * nscd/Makefile (distribute): Add all the files missing.
5407
5408         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
5409         are available.
5410
5411         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
5412         and report status at the end.
5413
5414         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
5415
5416         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
5417         variable.
5418         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
5419         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
5420         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
5421
5422 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
5423
5424         * configure.in: Fix --enable-add-ons code.
5425
5426 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5427
5428         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
5429         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
5430         [PR libc/441]
5431
5432         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
5433         occurence in cache.  Reported by Rudolf Leitgeb
5434         <leitgeb@leland.stanford.edu>.
5435         [PR libc/440]
5436
5437 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
5438
5439         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
5440         that it never is EINTR (which is tested for in _IO_vfscanf).
5441
5442         * Makefile.in: Call sub-make with CVSOPTS.
5443
5444         * elf/Makefile (distribute): Add dl-procinfo.h.
5445
5446         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
5447
5448 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
5449
5450         * version.h (VERSION): Bump to 2.0.92.
5451
5452 1998-01-31  Phil Blundell  <philb@gnu.org>
5453
5454         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
5455         alias for __new_sys_siglist.
5456
5457 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
5458
5459         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
5460         getgrgid_r.c if thread package is available.
5461         * pwd/Makefile: Likewise.
5462         * grp/getgrnam_r.c: Remove USE_NSCD definition.
5463         * grp/getgrgid_r.c: Likewise.
5464         * pwd/getpwnam_r.c: Likewise.
5465         * pwd/getpwuid_r.c: Likewise.
5466
5467 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
5468
5469         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
5470         with error to allow user intervention.
5471         * nss/getXXent_r.c: Likewise.
5472
5473 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
5474
5475         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
5476         AT_PLATFORM string.  Pretty print AT_BASE info.
5477
5478         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
5479         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
5480         * sysdeps/generic/dl-procinfo.h: New file.
5481         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
5482
5483 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
5484
5485         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
5486
5487         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
5488         thread and not pthread_detach.
5489
5490         * nscd/nscd.c: Rewrite to use argp instead of getopt.
5491
5492 1998-01-31  Phil Blundell  <philb@gnu.org>
5493
5494         * configure.in: Add --without-cvs option to suppress automatic
5495         checkin of regenerated files.
5496         * config.make.in: Likewise.
5497         * Makefile: Respect with-cvs setting.
5498         * Makerules: Likewise.
5499
5500         * configure.in: Allow the standalone ARM port to be configured.
5501
5502 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5503
5504         * grp/getgrgid_r.c: Define USE_NSCD.
5505         * grp/getgrnam_r.c: Likewise.
5506         * pwd/getpwuid_r.c: Likewise.
5507         * pwd/getpwnam_r.c: Likewise.
5508
5509         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
5510
5511         * nss/getXXbyYY_r.c: Try at first nscd.
5512
5513         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
5514         * nscd/connections.c: New file.
5515         * nscd/dbg_log.c: New file.
5516         * nscd/dbg_log.h: New file.
5517         * nscd/grpcache.c: New file.
5518         * nscd/nscd.c: New file.
5519         * nscd/nscd.h: New file.
5520         * nscd/nscd_conf.c: New file.
5521         * nscd/nscd_stat.c: New file.
5522         * nscd/pwdcache.c: New file.
5523
5524         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
5525         * nscd/nscd_getpw_r.c: Likewise.
5526         * nscd/nscd_proto.h: New, prototypes for client functions.
5527
5528         * nscd/nscd.conf: New, example for a configuration file.
5529         * nscd/nscd.init: New, example for a startup script.
5530
5531         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
5532         avoid deadlocks.
5533         * nscd/getgrnam_r.c: Likewise.
5534         * nscd/getpwnam_r.c: Likewise.
5535         * nscd/getpwuid_r.c: Likewise.
5536
5537 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
5538
5539         * intl/Makefile: Use CVSOPTS in cvs invocation.
5540         * po/Makefile: Likewise.
5541         * posix/Makefile: Likewise.
5542         * stdlib/Makefile: Likewise.
5543
5544 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
5545
5546         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
5547         [PR libc/410]
5548         * misc/Makefile (tests): Add tst-efgcvt.
5549         * misc/tst-efgcvt.c: New file.
5550
5551 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
5552
5553         * posix/regex.c: Add some more cleanups by Akim Demaille.
5554
5555 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
5556
5557         * signal/signal.h: Revert last change.
5558         * string/strsignal.c: Regard signal number NSGI as illegal.
5559         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
5560         members.
5561
5562 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
5563
5564         * Makefile.in: Add comment about CVSOPTS Makefile variable.
5565         * Makerules: Use CVSOPTS in cvs invocation.
5566         * Makefile: Likewise.
5567         * MakeTAGS: Likewise.
5568         * Make-dist: Likewise.
5569
5570 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
5571
5572         * sysdeps/generic/memmem.c: Correct last change.
5573
5574 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
5575
5576         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
5577         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
5578
5579 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5580
5581         * nis/ypclnt.c: Try at first to use the binding file from ypbind
5582         before using RPC.
5583
5584 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5585
5586         * manual/memory.texi (Heap Consistency Checking): mcheck is
5587         declared in <mcheck.h>.
5588         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
5589
5590 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5591
5592         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
5593         beginning of haystack.
5594
5595 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5596
5597         * nss/nss_files/files-service.c: Correct last patch.
5598
5599 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
5600
5601         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
5602         __libc_have_rt_sigs.
5603         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
5604         including <bits/setjmp.h>.
5605         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
5606         Patch from the Debian glibc/SPARC package.
5607
5608 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
5609
5610         * sysdeps/alpha/bzero.S: Fix a typo.
5611         * sysdeps/alpha/htonl.S: Ditto.
5612         * sysdeps/alpha/htons.S: Ditto.
5613
5614 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5615
5616         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
5617
5618 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
5619
5620         * include/cpio.h: Move to ...
5621         * posix/cpio.h: ...here.
5622
5623         * locale/programs/ld-collate.c: Fix typo.
5624
5625         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
5626
5627         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
5628
5629         * login/utmp_file.c (pututline_file): Don't always report success
5630         if similar entry is found.  Patch by Mark M. Kettenis.
5631
5632 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
5633
5634         * manual/Makefile: Don't try to install the info files if makeinfo
5635         is not available.
5636
5637 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
5638
5639         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
5640         kernel's network ioctls, rather than using <linux/sockios.h> to
5641         get them.  This way we are sure of maintaining compatibility if
5642         the kernel interface should change.
5643
5644 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
5645
5646         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
5647
5648 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
5649
5650         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
5651         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
5652
5653 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5654
5655         Implement System V pseudoterminal handling.
5656
5657         * login/Makefile
5658         (routines): Add getpt, grantpt, unlockpt, ptsname.
5659         (libutil-routines): Remove pty. Add openpty, forkpty.
5660         (distribute): New internal header pty-internal.h.
5661         (others): Add the helper program, pt_chown.
5662         (install-others): Install it, in $(libexecdir), mode 4755.
5663
5664         * login/pty-internal.h: New file.
5665         * login/openpty.c: New file.
5666         * login/forkpty.c: New file.
5667         * login/programs/pt_chown.c: New file.
5668
5669         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
5670         * stdlib/stdlib.h: Prototype them.
5671
5672         * config.make.in: Define $(libexecdir).
5673         * Makeconfig: Define $(inst_libexecdir).
5674
5675         * sysdeps/generic/pty.c: Removed.
5676         * sysdeps/unix/sysv/linux/pty.c: Removed.
5677
5678         * sysdeps/generic/getpt.c: Stub out.
5679         * sysdeps/generic/grantpt.c: Likewise.
5680         * sysdeps/generic/ptsname.c: Likewise.
5681         * sysdeps/generic/unlockpt.c: Likewise.
5682
5683         * sysdeps/unix/grantpt.c: New file.
5684         * sysdeps/unix/bsd/getpt.c: New file.
5685         * sysdeps/unix/bsd/unlockpt.c: New file.
5686         * sysdeps/unix/sysv/linux/getpt.c: New file.
5687         * sysdeps/unix/sysv/linux/ptsname.c: New file.
5688         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
5689
5690 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
5691
5692         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
5693
5694 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5695
5696         * nss/Makefile (tests): Add rule for test-netdb.c.
5697
5698         * nss/test-netdb.c: New file.
5699
5700 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
5701
5702         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
5703         really kept as a variable.  Patch by Richard Henderson,
5704         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
5705
5706         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
5707         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
5708         entries as not existing.
5709
5710 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5711
5712         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
5713         zero in alternate form with precision of zero, which must produce
5714         "0".  Add braces to avoid ambiguous `else'.
5715
5716 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5717
5718         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
5719         problem with strncpy.
5720         * nis/nss_compat/compat-pwd.c: Likewise.
5721         * nis/nss_compat/comapt-spwd.c: Likewise.
5722
5723 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5724
5725         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
5726         by uch@nop.or.jp. [PR libc/437]
5727
5728 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5729
5730         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
5731
5732 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5733
5734         * stdio-common/test-popen.c: Include <errno.h>.
5735
5736         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
5737         close.
5738
5739         * inet/getnetgrent_r.c: Include <errno.h>.
5740
5741         * db2/db/db_conv.c: Include <string.h> for memcpy.
5742
5743         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
5744         so that memcpy is declared.
5745
5746         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
5747
5748         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
5749
5750 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5751
5752         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
5753         overflow while reading line with fgets.
5754         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
5755
5756 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
5757
5758         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
5759         unsigned short, not short.
5760         Reported by Andreas Jaeger.
5761
5762 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5763
5764         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
5765         (ccept->accept).
5766
5767         * sysdeps/generic/inttypes.h: Fix spelling.
5768
5769 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5770
5771         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
5772
5773         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
5774
5775 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
5776
5777         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
5778         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
5779         field for hh modifier.
5780         * stdio-common/vfprint.c: Use is_char field and do not depend in
5781         is_short having the value 2.
5782         Bug reported by Andreas Jaeger.
5783
5784 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5785
5786         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
5787         PIC && DO_VERSIONING.
5788
5789 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5790
5791         * Rules: Add rules for $(common-objpfx)dummy$o.
5792
5793 1998-01-26  Richard Henderson  <rth@cygnus.com>
5794
5795         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
5796         unimplemented OSF/1 definitions so that they are not accidentally seen.
5797
5798         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
5799         of the trampoline function into the macro.
5800         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
5801         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
5802         kernel 2.1.82 has this fixed.
5803
5804         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
5805         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
5806
5807 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
5808
5809         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
5810         support sigaction on kernels > 2.1.7x.
5811
5812 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
5813
5814         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
5815         if it is empty.
5816
5817         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
5818         Patch by David Engel <david@sw.ods.com>.
5819
5820         * configure.in: Fix another typo in --enable-add-ons code.
5821
5822 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
5823
5824         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
5825
5826 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5827
5828         * nss/nss_files/files-network.c: Correct order of parameters for
5829         getnetbyaddr.
5830
5831 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
5832
5833         * db2/Makefile (routines): Add os_alloc.
5834         * db2/db.h: Update from db-2.3.16.
5835         * db2/db_185.h: Likewise.
5836         * db2/db_int.h: Likewise.
5837         * db2/btree/bt_close.c: Likewise.
5838         * db2/btree/bt_cursor.c: Likewise.
5839         * db2/btree/bt_delete.c: Likewise.
5840         * db2/btree/bt_open.c: Likewise.
5841         * db2/btree/bt_page.c: Likewise.
5842         * db2/btree/bt_put.c: Likewise.
5843         * db2/btree/bt_rec.c: Likewise.
5844         * db2/btree/bt_recno.c: Likewise.
5845         * db2/btree/btree_auto.c: Likewise.
5846         * db2/common/db_appinit.c: Likewise.
5847         * db2/common/db_apprec.c: Likewise.
5848         * db2/common/db_err.c: Likewise.
5849         * db2/common/db_region.c: Likewise.
5850         * db2/common/db_shash.c: Likewise.
5851         * db2/db/db.c: Likewise.
5852         * db2/db/db_auto.c: Likewise.
5853         * db2/db/db_conv.c: Likewise.
5854         * db2/db/db_dispatch.c: Likewise.
5855         * db2/db/db_dup.c: Likewise.
5856         * db2/db/db_pr.c: Likewise.
5857         * db2/db/db_rec.c: Likewise.
5858         * db2/db185/db185.c: Likewise.
5859         * db2/dbm/dbm.c: Likewise.
5860         * db2/hash/hash.c: Likewise.
5861         * db2/hash/hash_auto.c: Likewise.
5862         * db2/hash/hash_dup.c: Likewise.
5863         * db2/hash/hash_page.c: Likewise.
5864         * db2/hash/hash_rec.c: Likewise.
5865         * db2/include/btree_ext.h: Likewise.
5866         * db2/include/clib_ext.h: Likewise.
5867         * db2/include/common_ext.h: Likewise.
5868         * db2/include/db.h.src: Likewise.
5869         * db2/include/db_185.h.src: Likewise.
5870         * db2/include/db_am.h: Likewise.
5871         * db2/include/db_ext.h: Likewise.
5872         * db2/include/db_int.h.src: Likewise.
5873         * db2/include/hash_ext.h: Likewise.
5874         * db2/include/lock_ext.h: Likewise.
5875         * db2/include/log.h: Likewise.
5876         * db2/include/log_auto.h: Likewise.
5877         * db2/include/log_ext.h: Likewise.
5878         * db2/include/mp.h: Likewise.
5879         * db2/include/mp_ext.h: Likewise.
5880         * db2/include/mutex_ext.h: Likewise.
5881         * db2/include/os_ext.h: Likewise.
5882         * db2/include/os_func.h: Likewise.
5883         * db2/include/txn_ext.h: Likewise.
5884         * db2/lock/lock.c: Likewise.
5885         * db2/lock/lock_util.c: Likewise.
5886         * db2/log/log.c: Likewise.
5887         * db2/log/log.src: Likewise.
5888         * db2/log/log_archive.c: Likewise.
5889         * db2/log/log_auto.c: Likewise.
5890         * db2/log/log_get.c: Likewise.
5891         * db2/log/log_put.c: Likewise.
5892         * db2/log/log_rec.c: Likewise.
5893         * db2/log/log_register.c: Likewise.
5894         * db2/mp/mp_bh.c: Likewise.
5895         * db2/mp/mp_fget.c: Likewise.
5896         * db2/mp/mp_fopen.c: Likewise.
5897         * db2/mp/mp_fput.c: Likewise.
5898         * db2/mp/mp_pr.c: Likewise.
5899         * db2/mp/mp_sync.c: Likewise.
5900         * db2/mutex/mutex.c: Likewise.
5901         * db2/os/os_alloc.c: Likewise.
5902         * db2/os/os_config.c: Likewise.
5903         * db2/os/os_stat.c: Likewise.
5904         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
5905         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
5906         * db2/progs/db_load/db_load.c: Likewise.
5907         * db2/progs/db_printlog/db_printlog.c: Likewise.
5908         * db2/progs/db_recover/db_recover.c: Likewise.
5909         * db2/progs/db_stat/db_stat.c: Likewise.
5910         * db2/txn/txn.c: Likewise.
5911
5912         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
5913         Unmap memory blocks in reverse order of allocation.
5914         Call munmap with load address added to offset.
5915         Bug reported by Miguel de Icaza.
5916
5917         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
5918         up weight array.
5919
5920         * localedata/locales/cs_CZ: Update by Michael Mraka
5921         <michael@informatics.muni.cz>.
5922
5923         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
5924         __USE_BSD.
5925
5926         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
5927         reading line with fgets.
5928         * nis/nss_compat/compat-pwd.c: Likewise.
5929         * nis/nss_compat/compat-spwd.c: Likewise.
5930         * nss/nss_files/files-XXX.c: Likewise.
5931         * nss/nss_files/files-alias.c: Likewise.
5932         * shadow/fgetspent_r.c: Likewise.
5933
5934         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
5935
5936         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
5937         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5938         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5939
5940         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
5941         FP register content in ucontext_t.
5942
5943 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5944
5945         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
5946         calculation.  Patch by Markus Schoder
5947         <Markus.Schoder@dresdner-bank.de>.
5948
5949         * math/libm-test.c (modf_test): Add more tests for modf.
5950
5951         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
5952         munlock according to Unix98.
5953
5954 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5955
5956         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
5957         AF_INET.
5958
5959 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
5960
5961         * sysdeps/posix/ttyname.c: Handle symbolic links.
5962         * sysdeps/posix/ttyname_r.c: Ditto.
5963
5964 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
5965
5966         * db2/makedb.c (process_input): Write terminating \0 for value.
5967         (print_database): Simply print value string, don't use length.
5968
5969 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5970
5971         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
5972         exit of loop.
5973
5974 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5975
5976         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
5977         close all sockets.
5978
5979 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
5980
5981         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
5982         sigset.
5983         * signal/sighold.c: New file.
5984         * signal/sigrelse.c: New file.
5985         * sysdeps/generic/sigignore.c: New file.
5986         * sysdeps/generic/sigset.c: New file.
5987         * sysdeps/posix/sigignore.c: New file.
5988         * sysdeps/posix/sigset.c: New file.
5989         * signal/signal.h: Add prototypes for new functions.
5990
5991         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
5992         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
5993         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
5994         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
5995
5996 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
5997
5998         * posix/wordexp.c: Added IFS field-splitting in parameter and
5999         command substitution.  Fixed an IFS-related bug that caused an
6000         infinite loop.
6001
6002 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
6003
6004         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
6005         and swapcontext.
6006         * stdlib/ucontext.h: Correct prototypes.
6007         * sysdeps/generic/getcontext.c: New file.
6008         * sysdeps/generic/setcontext.c: New file.
6009         * sysdeps/generic/makecontext.c: New file.
6010         * sysdeps/generic/swapcontext.c: New file.
6011         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
6012
6013 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
6014
6015         * resource/sys/resource.h: Remove #include of ulimit.h which is
6016         not allowed by SUSv2 and not available on other systems.
6017         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
6018
6019         * streams/Makefile: New file.
6020         * streams/stropts.h: New file.
6021         * sysdeps/generic/bits/stropts.h: New file.
6022         * sysdeps/generic/isastream.c: New file.
6023         * sysdeps/generic/getmsg.c: New file.
6024         * sysdeps/generic/getpmsg.c: New file.
6025         * sysdeps/generic/putmsg.c: New file.
6026         * sysdeps/generic/putpmsg.c: New file.
6027         * sysdeps/generic/fattach.c: New file.
6028         * sysdeps/generic/fdetach.c: New file.
6029         * sysdeps/unix/inet/Subdirs: Add streams.
6030         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
6031         __t_uscalar_t.
6032         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6033         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6034         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6035         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
6036
6037         * sysdeps/mach/_strerror.c: Follow changes of generic version to
6038         handle small buffers correctly.
6039
6040 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
6041
6042         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
6043         Remove the 3rd arg and add declaration for _dl_runtime_resolve
6044         and _dl_runtime_profile.
6045
6046 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
6047
6048         * include/cpio.h: New file.  Mainly copied from GNU cpio.
6049         * posix/Makefile (headers): Add cpio.h.
6050
6051 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6052
6053         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
6054         to routines.
6055         * nis/nis_cache.c: New file.
6056         * nis/nis_cache2.h: New file.
6057         * nis/nis_cache2_xdr.c: New file.
6058         * nis/nis_call.c: Changes for cache2_info parameter.
6059         * nis/nis_checkpoint.c: Likewise.
6060         * nis/nis_intern.h: Likewise.
6061         * nis/nis_mkdir.c: Likewise.
6062         * nis/nis_ping.c: Likewise.
6063         * nis/nis_rmdir.c: Likewise.
6064         * nis/nis_server.c: Likewise.
6065         * nis/nis_util.c: Likewise.
6066
6067 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6068
6069         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
6070         return/errnop codes.
6071         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
6072         * nis/nss_nisplus/nisplus-grp.c: Likewise.
6073         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6074         * nis/nss_nisplus/nisplus-proto.c: Likewise.
6075         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
6076         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
6077         * nis/nss_nisplus/nisplus-rpc.c: Likewise
6078         * nis/nss_nisplus/nisplus-service.c: Likewise.
6079         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
6080
6081 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6082
6083         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
6084         * nis/nss_nis/nis-ethers.c: Likewise.
6085         * nis/nss_nis/nis-grp.c: Likewise.
6086         * nis/nss_nis/nis-hosts.c: Likewise.
6087         * nis/nss_nis/nis-network.c: Likewise.
6088         * nis/nss_nis/nis-proto.c: Likewise.
6089         * nis/nss_nis/nis-hosts.c: Likewise.
6090         * nis/nss_nis/nis-network.c: Likewise.
6091         * nis/nss_nis/nis-proto.c: Likewise.
6092         * nis/nss_nis/nis-publickey.c: Likewise.
6093         * nis/nss_nis/nis-pwd.c: Likewise.
6094         * nis/nss_nis/nis-rpc.c: Likewise.
6095         * nis/nss_nis/nis-service.c: Likewise.
6096         * nis/nss_nis/nis-spwd.c: Likewise.
6097
6098 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
6099
6100         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
6101         Added to follow latest kernel development.
6102
6103 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
6104
6105         * nss/db-Makefile: Handle empty and comment lines better.
6106         ($(VAR_DB)/services.db): Generate entries with missing protocol
6107         value.
6108
6109 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6110
6111         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
6112           NULL.
6113           (getservbyname): Allow proto == NULL.
6114           Pointed out by David N. Welton <davidw@gate.cks.com>.
6115           [PR libc/430].
6116
6117 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
6118
6119         * nis/nislib/nislib.h: Finally removed.
6120
6121         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
6122         C compiler.  From Kaveh Ghazi.
6123         (TYPE_MINIMUM): Define.
6124         (TYPE_MAXIMUM): Define.
6125         (TIME_T_MIN): Use TYPE_MINIMUM.
6126         (TIME_T_MAX): Use TYPE_MAXIMUM.
6127         Patch by Jim Meyering <meyering@ascend.com>.
6128
6129 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
6130
6131         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
6132         __pread64, __pwrite64, and __getpid.
6133
6134         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
6135         versions.
6136
6137 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6138
6139         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
6140         cancelable socket functions as __libc_xxx with __xxx as weak
6141         alias.
6142         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6143         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6144
6145         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
6146         redefined.
6147         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6148         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
6149         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
6150         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
6151
6152         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
6153         and __xxx a weak alias.
6154         * sysdeps/unix/sysv/linux/connect.S: Likewise.
6155         * sysdeps/unix/sysv/linux/recv.S: Likewise.
6156         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
6157         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
6158         * sysdeps/unix/sysv/linux/send.S: Likewise.
6159         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
6160         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
6161
6162 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6163
6164         * locale/langinfo.h: Add defines.
6165
6166         * dirent/dirent.h: Add defines for DT_*, check also for
6167         _DIRENT_HAVE_D_TYPE.
6168         Suggested by Roland McGrath.
6169
6170 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6171
6172         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
6173         Update from Linux 2.1.73+79.
6174
6175         * README.template: Update information about possible
6176         configurations.
6177
6178         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
6179         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
6180         [PR libc/417].
6181
6182         * manual/time.texi (Priority): Correct description of
6183         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
6184         [PR libc/416].
6185
6186 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
6187
6188         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
6189         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
6190
6191 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
6192
6193         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
6194         Andreas Jaeger.
6195
6196 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
6197
6198         * locale/programs/ld-collate.c: Little optimizations.
6199
6200         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
6201
6202         * string/Makefile (tests): Add tst-inlcall.
6203         * string/tst-inlcall.c: New file.
6204
6205         * string/strsignal.c: Add support for real-time signals.
6206
6207         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
6208         presense of small buffer.
6209
6210         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
6211
6212         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
6213         for i686.
6214
6215         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
6216         _NSIG + 1.
6217
6218 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
6219
6220         * Rules: Add explicit rule for dummy.o; at least one library needs
6221           it and it isn't autogenerated by the default rules.
6222
6223 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6224
6225         * math/libm-test.c: Tweak epsilons.
6226
6227 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6228
6229         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
6230         child.
6231         (feenv_mask_test): Likewise.
6232
6233 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6234
6235         * Makeconfig: Don't export CPPFLAGS.
6236
6237 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6238
6239         * sunrpc/rpc_main.c (parseargs): Use perror to print error
6240         message.
6241
6242 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6243
6244         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
6245         terminating null in key size.
6246
6247 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6248
6249         * nss/nss_files/files-service.c: Fix allocation size to include
6250         length of PROTO.
6251
6252         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
6253         applicable.  Fix return value and error checking.
6254         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
6255         unparsable lines.
6256         (DB_LOOKUP): Allocate space for terminating null byte.
6257
6258         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
6259         uids specially.
6260
6261         * db2/makedb.c (process_input): Continue processing if a duplicate
6262         key is encountered.
6263
6264 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
6265
6266         * time/tzfile.h: Updated from tzcode1998b.
6267         * time/zdump.c: Likewise.
6268         * time/zic.c: Likewise.
6269         * time/africa: Update from tzdata1998b.
6270         * time/antarctica: Likewise.
6271         * time/asia: Likewise.
6272         * time/australasia: Likewise.
6273         * time/etcetera: Likewise.
6274         * time/europe: Likewise.
6275         * time/leapseconds: Likewise.
6276         * time/northamerica: Likewise.
6277         * time/southamerica: Likewise.
6278
6279 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6280
6281         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
6282         lookups ignoring case.
6283         * nss/nss_files/files-network.c: Do network lookups ignoring
6284         case.
6285         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
6286         case.
6287         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
6288         case insensitive comparing.
6289         Patches by Cristian Gafton <gafton@redhat.com>.
6290
6291 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6292
6293         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
6294         by Roland McGrath. [PR libc/395]
6295
6296 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6297
6298         * manual/arith.texi (Parsing of Integers): Correct description of
6299         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
6300         [PR libc/396]
6301
6302 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
6303
6304         * misc/lsearch.c (lsearch): Return a pointer to the new element
6305         if one was "allocated".
6306
6307 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6308
6309         * string/strsignal.c: NSIG is not a valid index into
6310         _sys_siglist.  Don't zap the last character of the "Unknown
6311         signal" message.
6312
6313 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
6314
6315         * locale/programs/charmap.c (parse_charmap): Correct parsing of
6316         ellipsis expressions.
6317
6318         * locale/programs/charset.c (insert_char): Correctly insert value
6319         of eliipsis expression.
6320
6321 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
6322
6323         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
6324         <bits/setjmp.h>.
6325         * sysdeps/powerpc/setjmp.S: Likewise.
6326         Patches by Matt McLean <keys@keys.got.net>.
6327
6328         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
6329
6330         * Makefile: Undo last patch.
6331         (distribute): Add test-installation.pl.
6332
6333         * configure.in: Correct handling of --enable-add-ons without parameter.
6334         Correct address of WWW pages.
6335
6336         * libc.map: Add _nl_domain_bindings.
6337
6338         * db2/mutex/tsl_parisc.s: New file.
6339
6340         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
6341         and extra-module.mk.
6342
6343         * localedata/Makefile (distribute): New.  Add all the files.
6344
6345         * stdlib/Makefile (headers): Add inttypes.h.
6346         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
6347         * sysdeps/generic/inttypes.h: New file.
6348         * sysdeps/generic/strtoimax.c: New file.
6349         * sysdeps/generic/strtoumax.c: New file.
6350         * sysdeps/generic/wcstoimax.c: New file.
6351         * sysdeps/generic/wcstoumax.c: New file.
6352         * sysdeps/wordsize-32/Dist: Removed.
6353         * sysdeps/wordsize-32/Makefile: Removed.
6354         * sysdeps/wordsize-64/Dist: Removed.
6355         * sysdeps/wordsize-64/Makefile: Removed.
6356         * sysdeps/generic/bits/environments.h: New file.
6357
6358         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
6359         header is still not correct.
6360
6361         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
6362         * posix/unistd.h: Likewise.
6363         * sysdeps/generic/sys/mman.h: Likewise.
6364         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
6365
6366         * manual/arith.texi: Change definition of mul macro.
6367         * manual/math.texi: Likewise.
6368
6369         * misc/Makefile (routines): Add mmap64.
6370         * sysdeps/generic/mmap64.c: New file.
6371         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
6372         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
6373         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
6374         aliases to mmap.
6375         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6376
6377         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
6378
6379         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
6380
6381         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
6382
6383         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
6384         FOPEN_MAX also when included by limits.h.
6385         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
6386
6387         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
6388         and netrom/netrom.h.
6389         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
6390         oldsiglist to sysdep_routines, not aux.
6391         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
6392
6393         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
6394         and SOL_NETROM definition.
6395
6396         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
6397
6398         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
6399         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
6400
6401 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
6402
6403         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
6404
6405         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
6406         sa_handler with k_sa_handler.
6407         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
6408         strong alias.
6409         Reported by a sun.
6410
6411         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
6412         __libc_have_rt_sigs here.
6413         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
6414         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6415         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
6416         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6417
6418 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
6419
6420         * sysdeps/powerpc/atomicity.h: New file.
6421         * sysdeps/mach/powerpc/machine-lock.h: New file.
6422
6423         * Rules: Use -fpic to build anything that might end up in a users'
6424         shared library.
6425
6426         * sysdeps/powerpc/s_fdim.c: New file.
6427         * sysdeps/powerpc/s_fdimf.c: New file.
6428         * sysdeps/powerpc/s_fmax.S: New file.
6429         * sysdeps/powerpc/s_fmaxf.S: New file.
6430         * sysdeps/powerpc/s_fmin.S: New file.
6431         * sysdeps/powerpc/s_fminf.S: New file.
6432         * sysdeps/powerpc/s_llrint.c: Now is for double.
6433         * sysdeps/powerpc/s_llrintf.c: New file.
6434         * sysdeps/powerpc/s_llround.c: Now is for double.
6435         * sysdeps/powerpc/s_llroundf.c: New file.
6436         * sysdeps/powerpc/s_lrint.c: Now is for double.
6437         * sysdeps/powerpc/s_lrintf.S: New file.
6438         * sysdeps/powerpc/s_lround.c: Now is for double.
6439         * sysdeps/powerpc/s_lroundf.c: New file.
6440         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
6441         lrintf, fdim, fdimf.
6442
6443         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
6444         file directly, use its parent.
6445
6446         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
6447         (for the third time).
6448
6449 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
6450
6451         * posix/sched.h: timespec is in <time.h>.
6452
6453         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
6454
6455 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
6456
6457         * configure.in: Stop with error if --disable-static is used when
6458         the shared lib uses this library.
6459
6460         * gen-FAQ.pl: I've perl installed in /usr/bin.
6461
6462         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
6463
6464         Fix Unix98 conformance problems in the headers.
6465         * catgets/nl_types.h: Define nl_item.
6466         * grp/grp.h: Define gid_t.
6467         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
6468         * include/nl_types.h: New file.
6469         * include/ulimit.h: New file.
6470         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
6471         constants in POSIX mode.
6472         * io/utime.h: Get definition for time_t.
6473         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
6474         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
6475         * libio/stdio.h: Define va_list.  Make snprintf also available is
6476         __USE_UNIX98.  Declare getopt function and variables.
6477         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
6478         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
6479         * math/math.h: Defined M_* constants as double for Unix98 mode.
6480         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
6481         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
6482         * posix/regex.h: Define REG_NOSYS.
6483         * posix/wordexp.h: Define WRDE_NOSYS.
6484         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
6485         500 for Unix98.
6486         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
6487         somewhere else as well.  Define clock_t for Unix98.
6488         * posix/sys/wait.h: Define pid_t.
6489         * pwd/pwd.h: Define gid_t, uid_t.
6490         * resource/Makefile (headers): Add ulimit.h.
6491         * resource/ulimit.h: New file.
6492         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
6493         instead of second argument.
6494         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
6495         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
6496         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
6497         * signal/signal.h: Define pid_t.
6498         * string/string.h: Don't declare BSD string functions in POSIX mode.
6499         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
6500         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
6501         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
6502         and POSIX.
6503
6504         * inet/test_ifindex.c: Change test so that it does not fail for
6505         interface aliases.
6506
6507         * locale/programs/locale.c (show_info): Use correct cast sequence
6508         for 64bit machines.
6509
6510         * malloc/malloc.c: __malloc_initialized now signals three states:
6511         uninitialized, initializing, initialized.  Used in mcheck.
6512         * malloc/mcheck.c (mabort): Add '\n' to messages.
6513         (mcheck): Allow installation when malloc is uninitialized or is
6514         just initializing.
6515
6516         * manual/memory.texi: Explain mtrace output a bit more.
6517
6518         * math/libm-test.c: Add more epsilons.
6519
6520         * misc/regexp.h (compile): Remove __ prefix from parameter names.
6521
6522         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
6523         instead of strcpy for security.
6524         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
6525         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
6526         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
6527
6528         * nss/digits_dots.c: Pretty print.
6529
6530         * posix/getconf.c (vars): Add symbols for programming environment
6531         recognition.  Recognize --version.
6532
6533         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
6534         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
6535         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
6536
6537         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
6538         __need_FOPEN_MAX.
6539         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
6540         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
6541         __need_FOPEN_MAX.
6542
6543         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
6544         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
6545
6546         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
6547         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6548         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
6549         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
6550         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
6551         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
6552
6553         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
6554         SCNu*.
6555         * sysdeps/wordsize-64/inttypes.h: Likewise.
6556
6557         * time/africa: Update from tzdata1997j.
6558         * time/antarctica: Likewise.
6559         * time/asia: Likewise.
6560         * time/australasia: Likewise.
6561         * time/backward: Likewise.
6562         * time/etcetera: Likewise.
6563         * time/europe: Likewise.
6564         * time/factory: Likewise.
6565         * time/northamerica: Likewise.
6566         * time/pacificnew: Likewise.
6567         * time/southamerica: Likewise.
6568
6569         * time/tzfile.h: Update from tzcode1997h.
6570         * time/zic.c: Likewise.
6571
6572         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
6573         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
6574         isw*() functions for Unix98.
6575         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
6576         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
6577         is defined.
6578
6579 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6580
6581         * locale/duplocale.c: Increase usage_count only if less than
6582         MAX_USAGE_COUNT.
6583         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
6584         MAX_USAGE_COUNT.
6585         * locale/setlocale.c: Likewise.
6586
6587 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6588
6589         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
6590         dependency to make it easier to install it selectively.
6591
6592         * Makerules (.SUFFIXES): Don't define any suffixes.
6593
6594 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6595
6596         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
6597         * sysdeps/generic/statfs64.c: Emulate using statfs.
6598         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
6599         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
6600         * sysdpes/generic/ftruncate64.c: New file.
6601         * sysdpes/generic/truncate64.c: New file.
6602
6603         * sysdeps/generic/bits/stat.h: Add LFS support.
6604         * sysdeps/generic/bits/statfs.h: Likewise.
6605
6606         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
6607         [__USE_FILE_OFFSET64]: Make long long constant.
6608         (RLIM64_INFINITY): Likewise.
6609
6610         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
6611         for LFS support.
6612         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
6613         * sysdeps/generic/bits/resource.h: Likewise.
6614
6615         * misc/Makefile (routines): Add truncate64 and ftruncate64.
6616
6617         * include/features.h: Don't prevent LFS support from defining BSD
6618         and SYSV things.
6619
6620         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
6621         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
6622         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
6623
6624         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
6625         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
6626         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6627
6628         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
6629         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
6630         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
6631         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
6632         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
6633         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
6634         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
6635         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
6636         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
6637         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
6638         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
6639         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
6640         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
6641         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
6642         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
6643         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
6644         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
6645         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
6646         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
6647         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
6648
6649         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
6650         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
6651         * sysdeps/unix/sysv/linux/xstat64.c: New file.
6652         * sysdeps/unix/sysv/linux/readdir64.c: New file.
6653         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
6654
6655         * sysdeps/unix/sysv/linux/getdents64.c: New file.
6656         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
6657         [$(subdir)=dirent]: Add getdents64.
6658         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
6659
6660         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
6661
6662 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
6663
6664         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
6665
6666         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
6667         * sysdeps/generic/getrlimit64.c: Likewise.
6668         * sysdeps/generic/setrlimit.c: Likewise.
6669         * sysdeps/generic/setrlimit64.c: Likewise.
6670
6671 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
6672
6673         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
6674         using versioning.
6675
6676         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
6677
6678         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
6679
6680 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6681
6682         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
6683         after the codeset name.
6684
6685 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6686
6687         * libc.map: Add get_kernel_syms.
6688
6689 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6690
6691         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
6692         static.
6693         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
6694         Likewise.  Fix condition.
6695
6696 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6697
6698         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
6699
6700 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6701
6702         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
6703         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
6704
6705 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6706
6707         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
6708         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
6709         instead.  Oops.
6710
6711 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6712
6713         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
6714
6715 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6716
6717         * math/libm-test.c (catanh_test): Change epsilon.
6718         Reported by H.J. Lu.
6719
6720 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
6721
6722         * libc.map (__getpid): Added for linuxthreads.
6723
6724 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
6725
6726         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
6727         it if gcc uses static variable in DWARF2 unwind information
6728         for exception support.
6729
6730         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
6731
6732         * elf/soinit.c (__libc_global_ctors, _fini): Handle
6733         HAVE_DWARF2_UNWIND_INFO_STATIC.
6734
6735         * libc.map (__register_frame*, __deregister_frame*): Make them
6736         global.
6737
6738 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6739
6740         * math/libm-test.c: Add more tests for "normal" values.
6741
6742 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6743
6744         * stdio-common/printf_fphex.c: Fix printing of long double number
6745         with a biased exponent of zero.  Fix rounding.
6746
6747 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6748
6749         * sunrpc/rpc_main.c: Accept new flag -$.
6750         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
6751
6752 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6753
6754         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
6755         dynamic linker first, in case the interface has changed.
6756
6757 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6758
6759         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
6760         order.
6761
6762 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6763
6764         * math/tgmath.h: Check for double first, for architectures where
6765         sizeof (long double) == sizeof (double).
6766
6767 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6768
6769         * math/libm-test.c: New tests for "normal" values added for most
6770         functions.
6771
6772 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
6773
6774         * version.h (VERSION): Bump to 2.0.91.
6775
6776         * db2/makedb.c (process_input): Fix typo in message.
6777         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
6778
6779         * elf/dynamic-link.h: Pretty print.
6780
6781         * elf/rtld.c: Allow multiple preloading of a shared object.
6782
6783         * include/limits.h: Prevent multiple inclusion.
6784
6785         * malloc/Makefile (headers): Add mcheck.h.
6786         (distribute): Remove it here.
6787         * malloc/mcheck.h: Pretty print.
6788         * malloc/mtrace.c (mallenv): Make `const'.
6789         * malloc/mtrace.pl: Don't print table head for memory leaks if there
6790         are none.
6791         * manual/memory.texi: Update descriptor of malloc hooks.
6792
6793         * posix/Makefile (routines): Add waitid.
6794         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
6795         on __id_t.
6796         * posix/sys/wait.h: Define idtype_t type.
6797         Add prototype for waitid.
6798         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
6799         * sysdeps/generic/waitid.c: Stub for waitid.
6800         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
6801         the __need_siginfo_t defined.
6802         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
6803         * sysdeps/generic/bits/types.h: Define __id_t.
6804         Correct definition of __FDMASK.
6805         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6806         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6807         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
6808
6809         * sysdeps/posix/waitid.c: New file.
6810         Provided by Zack Weinberg.
6811
6812         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
6813
6814         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
6815         Add missing parameters.
6816
6817         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
6818         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
6819         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
6820         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
6821         initialized.
6822
6823         * sysdeps/i386/dl-machine.h: Little cleanup.
6824
6825         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
6826         (__finite): Mark function as const.
6827         Add inline code for __ieee754_atan2.
6828
6829         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
6830         (but don't use it now).
6831         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
6832         __atan.
6833         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
6834         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
6835         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
6836         real part.
6837         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
6838         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
6839         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
6840         __ieee754_atan2 to base 10.
6841         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
6842         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
6843
6844         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
6845         old_kernel_sigaction.
6846
6847         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
6848
6849         * wctype/Makefile (routines): Add wctype_l.
6850         * wctype/wctype.h: Add declaration of __wctype_l.
6851         * wctype/wctype_l.c: New file.
6852
6853 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
6854
6855         * locale/C-ctype.c: Correct data for isw* functions.
6856         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
6857         byte order.
6858         * wctype/test_wctype.c: Add test for isw* functions.
6859         * wctype/wctype.c: Return value with expected byte order.
6860
6861 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6862
6863         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
6864
6865 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
6866
6867         * iconvdata/Makefile: Fix a typo.
6868
6869         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
6870         oldsiglist for shared library.
6871
6872         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
6873         sys_sigabbrev): Make them as the default version GLIBC_2.1.
6874
6875         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
6876         sys_siglist, sys_sigabbrev): New file. Make them as the old
6877         version GLIBC_2.0.
6878
6879         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
6880         to GLIBC_2.1.
6881
6882 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
6883
6884         * libio/iofgets.c (_IO_fgets): Return an error only if there
6885         is a new error.
6886         * libio/iogets.c (_IO_gets): Ditto.
6887
6888 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
6889
6890         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
6891
6892         * libio/Makefile (routines, shared-only-routines): Add
6893         oldiofdopen.
6894
6895         * libio/fileops.c: Don't use _IO_FILE_complete.
6896         * libio/iofdopen.c: Ditto.
6897         * libio/iofopen.c: Ditto.
6898         * libio/iofopen64.c: Ditto.
6899         * libio/iopopen.c: Ditto.
6900         * libio/iovdprintf.c: Ditto.
6901
6902         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
6903
6904         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
6905         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
6906
6907         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
6908         _IO_old_fdopen, _IO_new_fdopen): New declaration.
6909
6910         * libio/libio.h (_IO_FILE): Add more fields.
6911         (_IO_FILE_complete): Defined and make _IO_FILE be the old
6912         one if _IO_USE_OLD_IO_FILE is defined
6913         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
6914         them _IO_FILE_complete.
6915
6916         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
6917         to adjust vtable.
6918         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
6919         _IO_JUMPS.
6920         (_IO_FILE_complete): Commented out.
6921
6922         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
6923         * libio/oldiofclose.c: Ditto.
6924         * libio/oldiofopen.c: Ditto.
6925         * libio/oldstdfiles.c: Ditto.
6926
6927         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
6928         for the old _IO_FILE.
6929
6930         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
6931         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
6932         and stderr.
6933
6934         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
6935         and remove INAME.
6936
6937         * libio/stdio.c (stdin, stdout, stdin): Don't use
6938         _IO_FILE_complete.
6939
6940         * libio/oldiofdopen.c: New.
6941
6942         * stdio-common/vfprintf.c (buffered_vfprintf): Set
6943         hp->_vtable_offset to 0.
6944
6945 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
6946
6947         * libc.map (_IO_file_open): Added.
6948
6949         * libio/libioP.h (_IO_file_open): Declared.
6950
6951         * libio/fileops.c (_IO_file_open): New.
6952         (_IO_file_fopen): Call _IO_file_open ().
6953
6954         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
6955         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
6956
6957 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6958
6959         * signal/signal.h: Fix selection of signal semantics to match
6960         comment.
6961
6962 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6963
6964         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
6965         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
6966         rt_sigreturn.
6967         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
6968         [$(subdir)=signal]: Remove rt_sigreturn.
6969         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
6970         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
6971         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
6972
6973 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6974
6975         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
6976         declarations.
6977
6978 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6979
6980         * iconvdata/extra-module.mk: Expand extra-objs now.
6981
6982 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6983
6984         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
6985         inline functions by feature tests to avoid warning about missing
6986         prototype declarations.
6987
6988 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6989
6990         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
6991         return code for non existent +name entries.
6992         * nis/nss_compat/compat-pwd.c: Likewise.
6993         * nis/nss_compat/compat-spwd.c: Likewise.
6994
6995 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
6996
6997         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
6998         (EIO): Likewise.
6999         (ENOSPC): Likewise.
7000         (EEXIST): Likewise.
7001         (__errno_location): Likewise.
7002
7003         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
7004
7005         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
7006
7007 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7008
7009         * sunrpc/publickey.c: Use new NSS interface.
7010
7011 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
7012
7013         * manual/malloc.texi: Document mtrace/muntrace and the concept.
7014
7015 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7016
7017         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
7018         value, to match spirit of the standard.
7019         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
7020         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
7021         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
7022
7023 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7024
7025         * manual/signal.texi (Signal Stack): Remove spurious @item.
7026
7027 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7028
7029         * rt/aio.h: Remove double semicolon.
7030
7031         * rt/librt.map: Add aio_init.
7032
7033 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
7034
7035         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
7036         * Makefile (subdirs): Replace rt by $(rt).
7037
7038         * shlib-versions: Use version .2 for NSS modules.
7039
7040         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
7041         argument.
7042         * pwd/fgetpwent_r.c: Likewise.
7043         * spwd/fgetspent_r.c: Likewise.
7044         * spwd/sgetspent_r.c: Likewise.
7045         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
7046         Store error number in *ERRNOP.  Little optimization.
7047         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
7048         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
7049         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
7050         (__internal_getnetgrent_r): New argument.
7051         Call __internal_setnetgrent_reuse with new argument.
7052         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
7053         * inet/netgroup.h: Add argument to prototypes.
7054         * nis/nisplus-parser.h: Likewise.
7055         * nis/nss_compat/compat-grp.c: Change everything to store error
7056         code through provided pointer and not use errno.
7057         * nis/nss_compat/compat-pwd.c: Likewise.
7058         * nis/nss_compat/compat-spwd.c: Likewise.
7059         * nis/nss_nis/nis-alias.c: Likewise.
7060         * nis/nss_nis/nis-ethers.c: Likewise.
7061         * nis/nss_nis/nis-grp.c: Likewise.
7062         * nis/nss_nis/nis-hosts.c: Likewise.
7063         * nis/nss_nis/nis-netgrp.c: Likewise.
7064         * nis/nss_nis/nis-network.c: Likewise.
7065         * nis/nss_nis/nis-proto.c: Likewise.
7066         * nis/nss_nis/nis-publickey.c: Likewise.
7067         * nis/nss_nis/nis-pwd.c: Likewise.
7068         * nis/nss_nis/nis-rpc.c: Likewise.
7069         * nis/nss_nis/nis-service.c: Likewise.
7070         * nis/nss_nis/nis-spwd.c: Likewise.
7071         * nis/nss_nisplus/nisplus-alias.c: Likewise.
7072         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
7073         * nis/nss_nisplus/nisplus-grp.c: Likewise.
7074         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7075         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
7076         * nis/nss_nisplus/nisplus-network.c: Likewise.
7077         * nis/nss_nisplus/nisplus-parser.c: Likewise.
7078         * nis/nss_nisplus/nisplus-proto.c: Likewise.
7079         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
7080         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
7081         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7082         * nis/nss_nisplus/nisplus-service.c: Likewise.
7083         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
7084         * nss/nss_db/db-XXX.c: Likewise.
7085         * nss/nss_db/db-alias.c: Likewise.
7086         * nss/nss_db/db-netgrp.c: Likewise.
7087         * nss/nss_files/files-XXX.c: Likewise
7088         * nss/nss_files/files-alias.c: Likewise
7089         * nss/nss_files/files-netgrp.c: Likewise
7090         * nss/nss_files/files-parse.c: Likewise
7091         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
7092         parameter of get functions.
7093         * nss/getXXent_r.c: Likewise.
7094
7095         * localedata/tst-fmon.c: Print debug info if test fails.
7096
7097         * rt/Makefile (routines): Add aio_notify.
7098         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
7099         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
7100         * rt/aio_fsync.c: Likewise.
7101         * rt/aio_misc.c: Likewise.
7102         * rt/aio_misc.h: Likewise.
7103         * rt/aio_read.c: Likewise.
7104         * rt/aio_read64.c: Likewise.
7105         * rt/aio_suspend.c: Likewise.
7106         * rt/aio_write.c: Likewise.
7107         * rt/aio_write64.c: Likewise.
7108         * rt/lio_listio.c: Likewise.
7109         * rt/lio_listio64.c: Likewise.
7110         * rt/aio_notify.c: New file.
7111
7112         * sysdeps/generic/bits/sigset.h: Pretty print.
7113
7114         * sysdeps/posix/pwrite.c: Define weak alias only if function is
7115         really defined as __pwrite.
7116
7117         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
7118         instead of pread64.
7119         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7120
7121         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
7122         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
7123         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
7124         size in syscall.
7125         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7126         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7127         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
7128         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7129         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
7130         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7131         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
7132         for ACT being NULL.
7133         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
7134         RT signals.
7135         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
7136         __NR_pread is not defined.
7137         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
7138         __NR_pwrite is not defined.
7139
7140 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7141
7142         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
7143         handle for /etc/group back in some more cases.
7144         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
7145         handle for /etc/passwd back in some more cases.
7146         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
7147         handle for /etc/shadow back in some more cases.
7148
7149 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
7150
7151         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
7152         beyound its size.
7153         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
7154         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
7155
7156 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
7157
7158         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
7159         handling.  Don't use macros, we need functions.  Use inline functions
7160         for optimization.
7161         * sysdeps/wordsize-64/inttypes.h: Likewise.
7162         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
7163         and wcstoumax.
7164         * sysdeps/wordsize-64/Makefile: Likewise.
7165         * sysdeps/wordsize-32/Dist: Likewise.
7166         * sysdeps/wordsize-64/Dist: Likewise.
7167         * sysdeps/wordsize-32/strtoimax.c: New file.
7168         * sysdeps/wordsize-32/strtoumax.c: New file.
7169         * sysdeps/wordsize-32/wcstoimax.c: New file.
7170         * sysdeps/wordsize-32/wcstoumax.c: New file.
7171         * sysdeps/wordsize-64/strtoimax.c: New file.
7172         * sysdeps/wordsize-64/strtoumax.c: New file.
7173         * sysdeps/wordsize-64/wcstoimax.c: New file.
7174         * sysdeps/wordsize-64/wcstoumax.c: New file.
7175
7176 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
7177
7178         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
7179         that transparent union works.
7180         * sysdeps/generic/wait4.c (__wait4): Likewise.
7181         * sysdeps/generic/wait.c (__wait): Likewise.
7182
7183         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
7184         size_t.
7185
7186         * sysdeps/generic/syscall.c (syscall): Return value and arg are
7187         long, to match prototype.
7188
7189         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
7190         have mremap() yet.
7191
7192         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
7193
7194         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
7195
7196         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
7197
7198         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
7199         __rlim_t.
7200
7201         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
7202
7203         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
7204
7205         * io/sys/stat.h (S_ISLNK): Always false if we don't have
7206         __S_IFLNK.
7207
7208         * sysdeps/standalone/close.c (_STDIO_H): Define before including
7209         <bits/stdio_lim.h>.
7210         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
7211
7212 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
7213
7214         * posix/sys/wait.h: Don't use transparent unions in C++.
7215
7216 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7217
7218         * time/time.h: Add strfxtime.
7219
7220         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
7221         sysv_signal, strfxtime, pread64, pwrite64.
7222
7223 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
7224
7225         Alpha changes for EGCS:
7226         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
7227         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
7228         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
7229         (_start): Likewise.
7230         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
7231
7232 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
7233
7234         The kernel expects the arguments in a different order.
7235         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
7236         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
7237
7238         * FAQ.in: New file.
7239         * gen-FAQ.pl: New file.
7240         * Makefile (FAQ): Add rule to generate from FAQ.in.
7241
7242         * iconvdata/Makefile: Treat libJIS like the other modules.
7243
7244         * rt/librt.map: New file.
7245
7246         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
7247         inclusion.
7248         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
7249         comment.
7250
7251 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
7252
7253         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
7254         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
7255         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
7256         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
7257
7258 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7259
7260         * string/bits/string2.h: Fix spellings.
7261
7262         * string/string.h: Fix spellings.
7263
7264 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7265
7266         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
7267         declaration to __syscall_rt_sigaction.
7268
7269         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
7270         non-existant <sigcontext.h>.
7271
7272 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7273
7274         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
7275         typo.
7276
7277 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7278
7279         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
7280
7281         * Makeconfig (shared-thread-library): Correct spelling.
7282
7283         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
7284         <asm/pci.h>.
7285
7286 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7287
7288         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
7289         constants from Linux headers. Pointed out by
7290         csmall@scooter.o.i.net. [PR libc/369]
7291
7292 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7293
7294         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
7295
7296 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7297
7298         * configure.in: If --enable-add-ons is given without an
7299         argument, set the addons list to all subdirs with a configure
7300         script.
7301
7302 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
7303
7304         * Makeconfig: Add shared-thread-library variable.
7305
7306         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
7307         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
7308         here.
7309         * sysdeps/m68k/fpu/e_acos.c: Likewise.
7310         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
7311         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
7312         * sysdeps/m68k/fpu/e_pow.c: Likewise.
7313         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
7314         * sysdeps/m68k/fpu/k_cos.c: Likewise.
7315         * sysdeps/m68k/fpu/k_sin.c: Likewise.
7316         * sysdeps/m68k/fpu/k_tan.c: Likewise.
7317         * sysdeps/m68k/fpu/s_atan.c: Likewise.
7318         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
7319         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
7320         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
7321         * sysdeps/m68k/fpu/s_csin.c: Likewise.
7322         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
7323         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
7324         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
7325         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
7326         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
7327         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
7328         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
7329         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
7330         * sysdeps/m68k/fpu/s_modf.c: Likewise.
7331         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
7332         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
7333         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
7334
7335         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
7336         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
7337         * signal/Makefile (headers): Add bits/siginfo.h.
7338         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
7339         (distribute): Add testrtsig.h.
7340         * signal/allocrtsig.c: New file.
7341         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
7342         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
7343         __libc_current_sigrtmax.
7344         * sysdeps/generic/sigqueue.c: New file.
7345         * sysdeps/generic/sigtimedwait.c: New file.
7346         * sysdeps/generic/sigwaitinfo.c: New file.
7347         * sysdeps/generic/testrtsig.h: New file.
7348         * sysdeps/generic/bits/siginfo.h: New file.
7349         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
7350         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
7351         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
7352         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
7353         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
7354         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
7355         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
7356         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
7357         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
7358         * sysdeps/unix/sysv/linux/sigpending.c: New file.
7359         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
7360         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
7361         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
7362         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
7363         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
7364         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
7365         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
7366         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
7367         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
7368         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
7369         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
7370         and _POSIX_REALTIME_SIGNALS.
7371         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
7372         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
7373         update _NSIG.
7374         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
7375         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
7376         definitions.
7377
7378         * Makefile (subdirs): Add rt.
7379         * shlib-versions: Add entry for librt.
7380         * rt/Makefile: New file.
7381         * rt/aio.h: New file.
7382         * rt/aio_cancel.c: New file.
7383         * rt/aio_error.c: New file.
7384         * rt/aio_fsync.c: New file.
7385         * rt/aio_misc.c: New file.
7386         * rt/aio_misc.h: New file.
7387         * rt/aio_read.c: New file.
7388         * rt/aio_read64.c: New file.
7389         * rt/aio_return.c: New file.
7390         * rt/aio_suspend.c: New file.
7391         * rt/aio_write.c: New file.
7392         * rt/aio_write64.c: New file.
7393         * rt/lio_listio.c: New file.
7394         * rt/lio_listio64.c: New file.
7395         * sysdeps/generic/aio_sigqueue.c: New file.
7396         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
7397         * sysdeps/unix/sysv/linux/Dist: Add new files
7398         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
7399         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
7400         rt_sigqueueinfo, rt_sigaction.
7401
7402         * posix/Makefile (headers): Add bits/environments.h.
7403         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
7404         and _CS_LFS_CFLAGS on 64bit platforms.
7405         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
7406         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
7407         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
7408         compilation modules.
7409         * sysdeps/wordsize-32/bits/environments.h: New file.
7410         * sysdeps/wordsize-64/bits/environments.h: New file.
7411
7412         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
7413         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
7414         __libc_pid.
7415         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
7416         0xf00baa.
7417
7418         * string/string.h: Add declaration of __strverscmp.
7419         * string/strverscmp.c: Rename function ot __strverscmp and make old
7420         name weak alias.
7421
7422         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
7423         * sysdeps/generic/enbl-secure.c: Likewise.
7424         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7425
7426         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
7427
7428         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
7429
7430 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
7431
7432         * posix/sys/wait.h: Use __transparent_union__ instead of
7433         transparent_union.  Reported by Roland McGrath.
7434
7435 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7436
7437         * resolv/inet_neta.c (inet_neta): Change type of first parameter
7438         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
7439         [PR libc/366].
7440
7441         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
7442
7443         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
7444
7445 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7446
7447         * grp/initgroups.c: Increase buffer if it is too small.
7448
7449 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
7450
7451         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
7452         fields, this is no ISO C.  Reported by Andreas Jaeger.
7453
7454 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7455
7456         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
7457
7458 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
7459
7460         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
7461         _SYS_UTSNAME_H not _UTSNAME_H.
7462
7463 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7464
7465         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
7466         computing s_scale.
7467
7468 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7469
7470         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
7471         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
7472         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
7473
7474         * math/libm-test.c (csqrt_test): Add testcase.
7475
7476 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
7477
7478         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
7479         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
7480         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
7481
7482 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7483
7484         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
7485
7486 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7487
7488         * math/libm-test.c (acos_test): Add more tests.
7489         (asin_test): Likewise.
7490         (atan_test): Likewise.
7491         (exp_test): Likewise.
7492         (sin_test): Likewise.
7493         (sqrt_test): Likewise.
7494         (cpow_test): Likewise.
7495         (csqrt_test): Likewise.
7496         (cexp_test): Correct typo in gcc version test.
7497
7498 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
7499
7500         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
7501         <bits/setjmp.h>.
7502         * sysdeps/arm/setjmp.S: Likewise.
7503
7504         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
7505
7506 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
7507
7508         * stdio/stdio.h: Add prototype for tmpfile64().
7509
7510 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
7511
7512         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
7513         prototype to keep in step with libio version.
7514
7515         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
7516
7517 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
7518
7519         * sysdeps/generic/Makefile: Don't try to use make_siglist if
7520         cross-compiling.
7521
7522 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
7523
7524         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
7525         load GOT ptr before jumping to _exit.
7526         Reported by Xavier Leroy.
7527
7528 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
7529
7530         * Makefile (subdirs): Add iconvdata and localedata.
7531
7532         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
7533
7534         * iconv/gconv_conf.c (read_conf_file): Little optimization.
7535
7536         * iconvdata/8bit-gap.c: New file.
7537         * iconvdata/8bit-generic.c: Renamed from ...
7538         * iconvdata/iso8859-generic.c: ...this.
7539         * iconvdata/configure: Removed.
7540         * iconvdata/Makefile: Add new modules and better rules.
7541         * iconvdata/iso6937.c: Minor bug fixes.
7542         * iconvdata/iso8859-1.c: Likewise.
7543         * iconvdata/t61.c: Likewise.
7544         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
7545         Minor bug fixes.
7546         * iconvdata/iso8859-3.c: Likewise.
7547         * iconvdata/iso8859-4.c: Likewise.
7548         * iconvdata/iso8859-5.c: Likewise.
7549         * iconvdata/iso8859-6.c: Likewise.
7550         * iconvdata/iso8859-7.c: Likewise.
7551         * iconvdata/iso8859-8.c: Likewise.
7552         * iconvdata/iso8859-9.c: Likewise.
7553         * iconvdata/iso8859-10.c: Likewise.
7554         * iconvdata/ebcdic-at-de-a.c: New file.
7555         * iconvdata/ebcdic-at-de.c: New file.
7556         * iconvdata/ebcdic-ca-fr.c: New file.
7557         * iconvdata/hp-roman8.c: New file.
7558         * iconvdata/koi-8.c: New file.
7559         * iconvdata/koi8-r.c: New file.
7560         * iconvdata/koi8-h.c: New file.
7561         * iconvdata/latin-greek-1.c: New file.
7562         * iconvdata/latin-greek-1.h: New file.
7563         * iconvdata/latin-greek.c: New file.
7564         * iconvdata/latin-greek.h: New file.
7565         * iconvdata/jis0201.c: New file.
7566         * iconvdata/jis0201.h: New file.
7567         * iconvdata/jis0208.c: New file.
7568         * iconvdata/jis0208.h: New file.
7569         * iconvdata/jis0212.c: New file.
7570         * iconvdata/jis0212.h: New file.
7571         * iconvdata/sjis.c: New file.
7572         * iconvdata/gap.pl: New file.  Script to generate table header.
7573         * iconvdata/gaptab.pl: New file.
7574         * iconvdata/gconv-modules: Add info about new modules.
7575
7576         * locale/programs/charmap.c: Also examine alias names given in charmap
7577         files.
7578
7579         * localedata/*: Add to here from add-on.  We need the information
7580         to generate tables for iconv.
7581
7582         Update from db-2.3.14.
7583         * db2/Makefile: Updated.
7584         * db2/config.h: Likewise.
7585         * db2/db.h: Likewise.
7586         * db2/db_int.h: Likewise.
7587         * db2/btree/bt_cursor.c: Likewise.
7588         * db2/btree/bt_delete.c: Likewise.
7589         * db2/btree/bt_put.c: Likewise.
7590         * db2/btree/bt_search.c: Likewise.
7591         * db2/btree/bt_split.c: Likewise.
7592         * db2/btree/btree_auto.c: Likewise.
7593         * db2/common/db_appinit.c: Likewise.
7594         * db2/common/db_apprec.c: Likewise.
7595         * db2/common/db_err.c: Likewise.
7596         * db2/common/db_region.c: Likewise.
7597         * db2/db/db_auto.c: Likewise.
7598         * db2/db/db_dispatch.c: Likewise.
7599         * db2/db/db_ret.c: Likewise.
7600         * db2/dbm/dbm.c: Likewise.
7601         * db2/hash/hash_auto.c: Likewise.
7602         * db2/include/btree_ext.h: Likewise.
7603         * db2/include/common_ext.h: Likewise.
7604         * db2/include/db.h.src: Likewise.
7605         * db2/include/db_cxx.h: Likewise.
7606         * db2/include/db_ext.h: Likewise.
7607         * db2/include/db_int.h.src: Likewise.
7608         * db2/include/lock.h: Likewise.
7609         * db2/include/log.h: Likewise.
7610         * db2/include/mp.h: Likewise.
7611         * db2/include/mp_ext.h: Likewise.
7612         * db2/include/os_ext.h: Likewise.
7613         * db2/include/os_func.h: Likewise.
7614         * db2/lock/lock.c: Likewise.
7615         * db2/lock/lock_deadlock.c: Likewise.
7616         * db2/log/log.c: Likewise.
7617         * db2/log/log_archive.c: Likewise.
7618         * db2/log/log_auto.c: Likewise.
7619         * db2/log/log_get.c: Likewise.
7620         * db2/log/log_put.c: Likewise.
7621         * db2/mp/mp_bh.c: Likewise.
7622         * db2/mp/mp_fget.c: Likewise.
7623         * db2/mp/mp_fopen.c: Likewise.
7624         * db2/mp/mp_fput.c: Likewise.
7625         * db2/mp/mp_fset.c: Likewise.
7626         * db2/mp/mp_open.c: Likewise.
7627         * db2/mp/mp_pr.c: Likewise.
7628         * db2/mp/mp_region.c: Likewise.
7629         * db2/mp/mp_sync.c: Likewise.
7630         * db2/mutex/README: Likewise.
7631         * db2/mutex/mutex.c: Likewise.
7632         * db2/os/os_open.c: Likewise.
7633         * db2/os/os_func.c: Removed.
7634         * db2/os/os_config.c: New file.
7635         * db2/os/os_spin.c: New file.
7636         * db2/txn/txn.c: Likewise.
7637         * db2/txn/txn_auto.c: Likewise.
7638
7639 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
7640
7641         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
7642         __typeof for C++ since this fails for class members.
7643         Reported by Neal Becker <neal@ctd.comsat.com>.
7644
7645 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7646
7647         * configure.in: Check for a working makeinfo (3.11 or better).
7648         * config.make.in: Add MAKEINFO to be substituted.
7649         * manual/Makefile: Don't update info if makeinfo is too old.
7650
7651 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
7652
7653         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
7654         * sysdeps/alpha/__longjmp.S: Likewise.
7655         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
7656         not <bits/termios.h>.
7657
7658         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
7659         __llseek and make llseek and lseek64 weak aliases.
7660         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7661         Patches by a sun <asun@zoology.washington.edu>.
7662
7663 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7664
7665         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
7666         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7667         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7668         * misc/sys/syslog.h: Clean up BSD header.
7669
7670 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7671
7672         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
7673
7674         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
7675         for ctan(+-inf,x).
7676         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
7677         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
7678
7679         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
7680         csqrt (-1), ctanh(i*pi/4).
7681
7682 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7683
7684         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
7685
7686 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
7687
7688         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
7689
7690 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7691
7692         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
7693
7694 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
7695
7696         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
7697         and use.  Define GETCWD_RETURN_TYPE instead and use it.
7698         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
7699         of GETCWD_STORYGE_CLASS and put the return type and the
7700         `internal_function' in the right order for gcc 2.7.2.
7701
7702 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7703
7704         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
7705         incompatible with Linux 2.1.x.  Packages using modules
7706         (e.g. modutils) should/do provide their own version.  Suggested by
7707         Richard Henderson.
7708
7709         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
7710
7711         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
7712         [$(subdir)=socket]: Remove sys/module.h.
7713
7714 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
7715
7716         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
7717         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
7718
7719         * iconv/gconv_close.c: Correct freeing of descriptor data.
7720         * iconv/gconv_simple.c: Return correct error values for illegal or
7721         incomplete characters.
7722
7723         * Makefile (iconvdata/%): Special goal to simplify iconvdata
7724         development.
7725         * iconvdata/Makefile: New file.
7726         * iconvdata/configure: Likewise.
7727         * iconvdata/extra-module.mk: Likewise.
7728         * iconvdata/gconv-modules: Likewise.
7729         * iconvdata/iso6937.c: Likewise.
7730         * iconvdata/iso8859-1.c: Likewise.
7731         * iconvdata/iso8859-10.c: Likewise.
7732         * iconvdata/iso8859-10.h: Likewise.
7733         * iconvdata/iso8859-2.c: Likewise.
7734         * iconvdata/iso8859-2.h: Likewise.
7735         * iconvdata/iso8859-3.c: Likewise.
7736         * iconvdata/iso8859-3.h: Likewise.
7737         * iconvdata/iso8859-4.c: Likewise.
7738         * iconvdata/iso8859-4.h: Likewise.
7739         * iconvdata/iso8859-5.c: Likewise.
7740         * iconvdata/iso8859-5.h: Likewise.
7741         * iconvdata/iso8859-6.c: Likewise.
7742         * iconvdata/iso8859-6.h: Likewise.
7743         * iconvdata/iso8859-7.c: Likewise.
7744         * iconvdata/iso8859-7.h: Likewise.
7745         * iconvdata/iso8859-8.c: Likewise.
7746         * iconvdata/iso8859-8.h: Likewise.
7747         * iconvdata/iso8859-9.c: Likewise.
7748         * iconvdata/iso8859-9.h: Likewise.
7749         * iconvdata/iso8859-generic.c: Likewise.
7750         * iconvdata/t61.c: Likewise.
7751
7752         * string/Makefile (routines): Add strcasestr.
7753         * string/string.h: Add prototype for strcasestr.
7754         * sysdeps/generic/strcasestr.c: New file.
7755         * wcsmbs/mbrtowc.c: Simplify special case a bit.
7756         * wcsmbs/wcrtomb.c: Likewise.
7757         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
7758         * wcsmbs/wcsnrtombs.c: Likewise.
7759         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
7760         partial character is read.
7761         * wcsmbs/wcsrtombs.c: Likewise.
7762         * wcsmbs/wmemrtombs.c: Likewise.
7763         * wcsmbs/wmemrtowcs.c: Likewise.
7764
7765         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
7766         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
7767         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
7768         * sysdeps/i386/elf/setjmp.S: Likewise.
7769         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
7770         <bits/termios.h>.
7771
7772         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
7773         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
7774
7775         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
7776         * sysvipc/sys/ipc.h: Likewise.
7777         * sysvipc/sys/msg.h: Likewise.
7778         * sysvipc/sys/sem.h: Likewise.
7779         * sysvipc/sys/shm.h: Likewise.
7780
7781         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
7782         used directly.
7783         * sysdeps/alpha/bits/setjmp.h: Likewise.
7784         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7785         * sysdeps/arm/bits/endian.h: Likewise.
7786         * sysdeps/arm/bits/setjmp.h: Likewise.
7787         * sysdeps/generic/bits/byteswap.h: Likewise.
7788         * sysdeps/generic/bits/confname.h: Likewise.
7789         * sysdeps/generic/bits/dirent.h: Likewise.
7790         * sysdeps/generic/bits/dlfcn.h: Likewise.
7791         * sysdeps/generic/bits/endian.h: Likewise.
7792         * sysdeps/generic/bits/fenv.h: Likewise.
7793         * sysdeps/generic/bits/huge_val.h: Likewise.
7794         * sysdeps/generic/bits/in.h: Likewise.
7795         * sysdeps/generic/bits/ioctl-types.h: Likewise.
7796         * sysdeps/generic/bits/ioctls.h: Likewise.
7797         * sysdeps/generic/bits/ipc.h: Likewise.
7798         * sysdeps/generic/bits/msq.h: Likewise.
7799         * sysdeps/generic/bits/poll.h: Likewise.
7800         * sysdeps/generic/bits/resource.h: Likewise.
7801         * sysdeps/generic/bits/sched.h: Likewise.
7802         * sysdeps/generic/bits/sem.h: Likewise.
7803         * sysdeps/generic/bits/setjmp.h: Likewise.
7804         * sysdeps/generic/bits/shm.h: Likewise.
7805         * sysdeps/generic/bits/sigaction.h: Likewise.
7806         * sysdeps/generic/bits/sigcontext.h: Likewise.
7807         * sysdeps/generic/bits/socket.h: Likewise.
7808         * sysdeps/generic/bits/stat.h: Likewise.
7809         * sysdeps/generic/bits/statfs.h: Likewise.
7810         * sysdeps/generic/bits/stdio_lim.h: Likewise.
7811         * sysdeps/generic/bits/termios.h: Likewise.
7812         * sysdeps/generic/bits/time.h: Likewise.
7813         * sysdeps/generic/bits/uio.h: Likewise.
7814         * sysdeps/generic/bits/utmp.h: Likewise.
7815         * sysdeps/generic/bits/utmpx.h: Likewise.
7816         * sysdeps/generic/bits/utsname.h: Likewise.
7817         * sysdeps/generic/bits/waitflags.h: Likewise.
7818         * sysdeps/generic/bits/waitstatus.h: Likewise.
7819         * sysdeps/gnu/bits/utmp.h: Likewise.
7820         * sysdeps/gnu/bits/utmpx.h: Likewise.
7821         * sysdeps/i386/bits/byteswap.h: Likewise.
7822         * sysdeps/i386/bits/endian.h: Likewise.
7823         * sysdeps/i386/bits/huge_val.h: Likewise.
7824         * sysdeps/i386/bits/setjmp.h: Likewise.
7825         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7826         * sysdeps/ieee754/bits/huge_val.h: Likewise.
7827         * sysdeps/m68k/bits/byteswap.h: Likewise.
7828         * sysdeps/m68k/bits/endian.h: Likewise.
7829         * sysdeps/m68k/bits/setjmp.h: Likewise.
7830         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
7831         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
7832         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
7833         * sysdeps/mach/hurd/bits/stat.h: Likewise.
7834         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
7835         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
7836         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
7837         * sysdeps/mips/bits/dlfcn.h: Likewise.
7838         * sysdeps/mips/bits/endian.h: Likewise.
7839         * sysdeps/mips/bits/setjmp.h: Likewise.
7840         * sysdeps/mips/dec/bits/endian.h: Likewise.
7841         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
7842         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
7843         * sysdeps/mips/p40/bits/endian.h: Likewise.
7844         * sysdeps/powerpc/bits/endian.h: Likewise.
7845         * sysdeps/powerpc/bits/fenv.h: Likewise.
7846         * sysdeps/powerpc/bits/setjmp.h: Likewise.
7847         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
7848         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
7849         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
7850         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
7851         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
7852         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
7853         * sysdeps/unix/bsd/bits/stat.h: Likewise.
7854         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
7855         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
7856         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
7857         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
7858         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
7859         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
7860         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
7861         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
7862         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
7863         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
7864         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
7865         * sysdeps/unix/common/bits/dirent.h: Likewise.
7866         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
7867         * sysdeps/unix/sysv/bits/stat.h: Likewise.
7868         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7869         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7870         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
7871         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
7872         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
7873         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
7874         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
7875         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
7876         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
7877         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7878         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
7879         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
7880         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
7881         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
7882         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
7883         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7884         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7885         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
7886         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7887         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7888         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7889         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7890         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
7891         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
7892         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7893         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7894         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
7895         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
7896         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
7897         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7898         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
7899         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
7900         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
7901         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7902         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
7903         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
7904         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
7905         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
7906         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
7907         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
7908         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7909         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
7910         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
7911         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
7912         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
7913         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7914         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
7915         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
7916         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7917         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7918         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
7919         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
7920         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
7921         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7922         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
7923         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
7924         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
7925         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
7926         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
7927         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
7928         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
7929         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
7930         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
7931         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
7932         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
7933         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
7934         * sysdeps/vax/bits/huge_val.h: Likewise.
7935         * sysdeps/vax/bits/setjmp.h: Likewise.
7936         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
7937         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
7938
7939 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7940
7941         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
7942
7943 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
7944
7945         * strftime.c (strftime):
7946         No longer any need to undef or declare if emacs is defined.
7947         (my_strftime): When checking a -1 returned by mktime, don't blow up
7948         if localtime_r returns NULL.
7949
7950 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7951
7952         * README.template: Fix spelling.
7953
7954 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7955
7956         * configure.in: Enhance --enable-add-ons description a wee bit.
7957
7958 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7959
7960         * glibcbug.in: Add more information of build environment and flags.
7961
7962 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7963
7964         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
7965         it into ENOENT.
7966
7967 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
7968
7969         * elf/dl-support.c: Call __libc_init_secure to make sure
7970         __libc_enable_secure is defined early.
7971         * sysdeps/generic/enbl-secure.c: Change function name to
7972         __libc_init_secure and make it global instead of a constructor.
7973
7974         * iconv/gconv.c: Fix lots of bugs.
7975         * iconv/gconv.h: Likewise.
7976         * iconv/gconv_builtin.h: Likewise.
7977         * iconv/gconv_close.c: Likewise.
7978         * iconv/gconv_conf.c: Likewise.
7979         * iconv/gconv_db.c: Likewise.
7980         * iconv/gconv_dl.c: Likewise.
7981         * iconv/gconv_open.c: Likewise.
7982         * iconv/gconv_simple.c: Likewise.
7983         * iconv/iconv.c: Likewise.
7984         * iconv/iconv_close.c: Likewise.
7985         * iconv/iconv_open.c: Likewise.
7986
7987         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
7988         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
7989         * wcsmbs/wmemrtombs.c: New file.
7990         * wcsmbs/wmemrtowcs.c: New file.
7991
7992 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
7993
7994         * iconv/gconv_simple.c: Fix lots of bugs.
7995         * iconv/iconv_open.c: Normalize names before passing them to
7996         __gconv_open.
7997
7998         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
7999
8000         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
8001         * stdio-common/test-popen.c: Add test for above change.
8002
8003         * math/libm-test.c: Print test results also using %a format,
8004         specified in PRINTF_XEXPR macro.
8005         * math/test-double.c: Define PRINTF_XEXPR.
8006         * math/test-float.c: Likewise.
8007         * math/test-ldouble.c: Likewise.
8008         * math/test-idouble.c: Likewise.
8009         * math/test-ifloat.c: Likewise.
8010         * math/test-ildoubl.c: Likewise.
8011
8012         * stdio-common/vfscanf.c: Recognize a in format specifier only as
8013         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
8014         FP number format.
8015
8016         * stdlib/strtod.c: Little code cleanup.
8017
8018         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
8019         compiling in math subdir.
8020
8021         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
8022         instead of __LIBC_M81_MATH_INLINES.
8023         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
8024         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
8025         * sysdeps/m68k/fpu/e_pow.c: Likewise.
8026         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
8027         * sysdeps/m68k/fpu/k_cos.c: Likewise.
8028         * sysdeps/m68k/fpu/k_sin.c: Likewise.
8029         * sysdeps/m68k/fpu/k_tan.c: Likewise.
8030         * sysdeps/m68k/fpu/s_atan.c: Likewise.
8031         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
8032         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
8033         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
8034         * sysdeps/m68k/fpu/s_csin.c: Likewise.
8035         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
8036         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
8037         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
8038         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
8039         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
8040         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
8041         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
8042         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
8043         * sysdeps/m68k/fpu/s_modf.c: Likewise.
8044         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
8045         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
8046         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
8047         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
8048         __LIBC_INTERNAL_MATH_INLINES is defined.
8049
8050         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
8051         of compare macros from ISO C 9X.  Optimize generic versions a bit.
8052         Define __signbit inline functions and __ieee754_sqrt which can be
8053         used if the ompiler is fixed.
8054
8055         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
8056
8057 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8058
8059         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
8060         sysdeps/generic in the whole dep file, not only in the first line.
8061
8062 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8063
8064         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
8065
8066 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8067
8068         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
8069         place.
8070
8071 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8072
8073         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
8074         is non-empty.
8075
8076 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
8077
8078         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
8079         return value.
8080
8081 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
8082
8083         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
8084         readlink succeeds but the return value is too long.
8085
8086         * stdio-common/printf_fphex.c: Determine sign of number correctly.
8087
8088 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
8089
8090         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
8091         __remqu for Alpha.
8092
8093 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
8094
8095         * sysdeps/generic/sys/ucontext.h: Stub context file.
8096
8097         * libio/iofprintf.c: Removed.  We use the stdio-common version.
8098
8099         * manual/Makefile (distribute): Add stdio-fp.c.
8100
8101         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
8102
8103         * db2/Makefile (distribute): Add include/os_func.h, README and
8104         mutex/tsl_parisc.s.
8105
8106         * hesiod/Makefile (distribute): Add README.hesiod.
8107
8108 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
8109
8110         * iconv/gconv.c: Correctly call transformation function.
8111
8112         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
8113
8114 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8115
8116         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
8117         wrong results for e.g. remquo (3,2, &x)).
8118         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
8119         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
8120
8121 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8122
8123         * configure.in (ld --version-script): Test if the same symbol
8124         maybe defined in all versions (needed by recent changes to
8125         libc.map and supported with binutils 2.8.1.0.17) and issue warning
8126         if versioning is not supported/enabled.
8127         (bash test): Correct test case.
8128
8129         * math/libm-test.c: Added counting/reporting of number of test cases.
8130
8131         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
8132         use awk instead.
8133
8134         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
8135
8136 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8137
8138         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
8139
8140 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
8141
8142         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
8143         Replace revoke call by use of REVOKE.
8144         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
8145         empty and #include generic version.
8146         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8147
8148 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
8149
8150         * libc.map: Add socket functions with __libc_* names.
8151         Reported by Andreas Jaeger.
8152
8153 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8154
8155         * libc.map: Tidy up (remove duplicates, sort entries).
8156
8157 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8158
8159         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
8160
8161 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
8162
8163         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
8164         again after successful call.
8165         Patch by Marc Lehmann <pcg@goof.com>.
8166
8167 1997-11-17  Paul Eggert  <eggert@twinsun.com>
8168
8169         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
8170         as some hosts need this to declare localtime_r properly.
8171
8172 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
8173
8174         * libc.map: Add iconv_open, iconv, and iconv_close.
8175
8176 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
8177
8178         * iconv/Makefile: New file.
8179         * iconv/gconv.c: New file.
8180         * iconv/gconv.h: New file.
8181         * iconv/gconv_builtin.c: New file.
8182         * iconv/gconv_builtin.h: New file.
8183         * iconv/gconv_close.c: New file.
8184         * iconv/gconv_conf.c: New file.
8185         * iconv/gconv_db.c: New file.
8186         * iconv/gconv_dl.c: New file.
8187         * iconv/gconv_open.c: New file.
8188         * iconv/gconv_simple.c: New file.
8189         * iconv/iconv.c: New file.
8190         * iconv/iconv.h: New file.
8191         * iconv/iconv_close.c: New file.
8192         * iconv/iconv_open.c: New file.
8193         * include/gconv.h: New file.
8194
8195         * Makeconfig: Define gconvdir.
8196         * Makefile (subdirs): Add iconv.
8197
8198         * string/bits/string2.h: Add optimization for strtok_r.
8199
8200         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
8201         for NULL.
8202         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
8203         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
8204
8205         * configure.in: Correct test for bash2.
8206         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8207
8208         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
8209         (CFLAGS-locfile.c): Likewise.
8210         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8211
8212         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
8213         non-existing entry if the table is full.
8214
8215         * posix/regex.h: Pretty print.
8216
8217         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
8218
8219         * sysdeps/posix/ctermid.c: Simplify a bit.
8220
8221         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
8222
8223 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8224
8225         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
8226         <sys/types.h> instead of <asm/types.h>.
8227
8228 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8229
8230         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
8231
8232 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
8233
8234         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
8235         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
8236         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
8237         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
8238         fclose): Added to GLIBC_2.1.
8239
8240         * libio/Makefile (routines, shared-only-routines): Add
8241         oldiofclose.  Remove oldfreopen.
8242
8243         * libio/freopen.c (freopen): When PIC is defined, call
8244         _IO_old_freopen () for old stdio.
8245
8246         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
8247         (_IO_fclose, fclose): Use _IO_new_fclose as default version
8248         for GLIBC_2.1.
8249
8250         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
8251         instead of _IO_file_close_it.
8252
8253         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
8254         to _IO_2_1_stdxxx_.
8255         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
8256         is defined.
8257
8258         * libio/libioP.h (_IO_old_do_flush): New.
8259
8260         * libio/oldfileops.c (_IO_old_file_close_it,
8261         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
8262         Call _IO_old_do_flush () instead of _IO_do_flush ().
8263         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
8264         _IO_do_write ().
8265
8266         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
8267         instead of _IO_file_init ().
8268         Bind old symbols to version GLIBC_2.0.
8269
8270         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
8271         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
8272         _IO_stdxxx_.
8273         (_IO_check_libio): New function in .init.
8274
8275         * libio/oldiofclose.c: New file.
8276
8277         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
8278         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
8279         (DEF_STDFILE): Don't use default_symbol_version.
8280
8281         * libio/stdio.c (stdin, stdout, stderr): Set to
8282         _IO_2_1_stdxxx_._
8283         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
8284         stdxxx.
8285
8286         * csu/Makefile (distribute): Add init.c.
8287         (extra-objs): Add init.o for ELF.
8288         (start-installed-name): Add $(objpfx)init.o.
8289
8290         * csu/init.c: New file.
8291
8292 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
8293
8294         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
8295         definition as the default.
8296
8297 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
8298
8299         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
8300
8301 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8302
8303         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
8304         (PR 351).
8305
8306 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
8307
8308         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
8309         to preserve condition codes on function call.
8310
8311 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8312
8313         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
8314
8315 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8316
8317         * math/libm-test.c (asin_test): Add epsilon for float.
8318         (tan_test): Add epsilon for float.
8319         (log1p_test): Add epsilon for float.
8320         (inverse_functions): Add epsilons.
8321
8322         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
8323         net/if_packet.h.
8324
8325         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
8326
8327 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8328
8329         * md5-crypt/Makefile (extra-objs): Make recursively expanded
8330         variable, since $(object-suffixes) is not defined yet.
8331
8332 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8333
8334         * db2/Makefile (distribute): db185/db185_int.src ->
8335         db185/db185_int.h.
8336
8337 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8338
8339         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
8340         exactly one.
8341
8342 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8343
8344         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
8345         name.
8346         * sysdeps/generic/e_acosl.c: Likewise.
8347         * sysdeps/generic/e_asinl.c: Likewise.
8348         * sysdeps/generic/e_atan2l.c: Likewise.
8349         * sysdeps/generic/e_expl.c: Likewise.
8350         * sysdeps/generic/e_fmodl.c: Likewise.
8351         * sysdeps/generic/e_j0l.c: Likewise.
8352         * sysdeps/generic/e_j1l.c: Likewise.
8353         * sysdeps/generic/e_jnl.c: Likewise.
8354         * sysdeps/generic/e_lgammal_r.c: Likewise.
8355         * sysdeps/generic/e_log10l.c: Likewise.
8356         * sysdeps/generic/e_logl.c: Likewise.
8357         * sysdeps/generic/e_powl.c: Likewise.
8358         * sysdeps/generic/e_sqrtl.c: Likewise.
8359         * sysdeps/generic/e_exp2l.c: Likewise.
8360
8361 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8362
8363         * Make-dist (+sysdep-names): Remove extra paren.
8364         * Makefile (distribute): Add stub-tag.h.
8365         * elf/Makefile (distribute): Add atomicity.h.
8366         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
8367         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
8368         [$(subdir)=socket]: Add net/if_packet.h.
8369         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
8370         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
8371         net/if_packet.h, scsi/sg.h.
8372
8373 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8374
8375         * Makefile (install): Quote $(CC) expansion.
8376
8377 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8378
8379         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
8380         working /proc cwd and no restrictions on path length.  Following
8381         some ideas from Andi Kleen <ak@muc.de> (PR 350).
8382
8383 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8384
8385         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
8386         * nis/nss_compat/compat-pwd.c: Likewise.
8387         * nis/nss_compat/compat-spwd.c: Likewise.
8388
8389 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
8390
8391         * sysdeps/libm-i387/s_fdim.S: New file.
8392         * sysdeps/libm-i387/s_fdimf.S: New file.
8393         * sysdeps/libm-i387/s_fdiml.S: New file.
8394         * sysdeps/libm-i387/i686/s_fdim.S: New file.
8395         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
8396         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
8397
8398 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8399
8400         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
8401         pointer to unsigned char.
8402
8403 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8404
8405         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
8406
8407         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
8408
8409         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
8410
8411 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8412
8413         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
8414         ilogb(0/NaN).
8415         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
8416         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
8417
8418 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
8419
8420         * sysdeps/libm-i387/s_fmin.S: New file.
8421         * sysdeps/libm-i387/s_fminf.S: New file.
8422         * sysdeps/libm-i387/s_fminl.S: New file.
8423         * sysdeps/libm-i387/s_fmax.S: New file.
8424         * sysdeps/libm-i387/s_fmaxf.S: New file.
8425         * sysdeps/libm-i387/s_fmaxl.S: New file.
8426         * sysdeps/libm-i387/i686/s_fmin.S: New file.
8427         * sysdeps/libm-i387/i686/s_fminf.S: New file.
8428         * sysdeps/libm-i387/i686/s_fminl.S: New file.
8429         * sysdeps/libm-i387/i686/s_fmax.S: New file.
8430         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
8431         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
8432
8433 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
8434
8435         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
8436         * sysdeps/unix/sysv/linux/send.S: Likewise.
8437         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
8438         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
8439         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
8440         * sysdeps/unix/sysv/linux/recv.S: Likewise.
8441         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
8442         * sysdeps/unix/sysv/linux/connect.S: Likewise.
8443         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
8444
8445 See ChangeLog.7 for earlier changes.