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