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