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