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