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