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