Update.
[platform/upstream/glibc.git] / ChangeLog
1 1997-04-15 03:14  Ulrich Drepper  <drepper@cygnus.com>
2
3         * wcsmbs/wcsstr.c: Add weak alias wcswcs for Unix98 compliance.
4
5         * math/Makefile (libm-calls): Add s_sincos and s_cproj.
6         * math/mathcalls.h: Add prototype for sincos.
7         * sysdeps/i386/fpu/__math.h: Warn about restriction on arguments to
8         inlined sin and cos function.
9         Define functions new in ISO C 9X when __USE_ISOC9X is defined.
10         Add optimized version of finite.
11         Rewrite sincos function to handle too large arguments.
12         * sysdeps/libm-i387/s_cos.S: Better code alignment.
13         * sysdeps/libm-i387/s_cosl.S: Likewise.
14         * sysdeps/libm-i387/s_sin.S: Likewise.
15         * sysdeps/libm-i387/s_sinl.S: Likewise.
16         * sysdeps/libm-i387/s_finite.S: Yet better code.
17         * sysdeps/libm-i387/s_finitef.S: Likewise.
18         * sysdeps/libm-i387/s_sincos.S: New file.
19         * sysdeps/libm-i387/s_sincosf.S: New file.
20         * sysdeps/libm-i387/s_sincosl.S: New file.
21         * sysdeps/libm-ieee754/s_sincos.c: New file.
22         * sysdeps/libm-ieee754/s_sincosf.c: New file.
23         * sysdeps/libm-ieee754/s_sincosl.c: New file.
24
25         * sysdeps/libm-ieee754/s_ccosh.c: Change to use sincos function.
26         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
27         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
28         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
29         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
30         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
31         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
32         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
33         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
34         * sysdeps/libm-ieee754/s_ctan.c: Likewise.
35         * sysdeps/libm-ieee754/s_ctanf.c: Likewise.
36         * sysdeps/libm-ieee754/s_ctanl.c: Likewise.
37         * sysdeps/libm-ieee754/s_ctanh.c: Likewise.
38         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
39         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
40
41         * sysdeps/libm-ieee754/s_cosl.c: Correct check for range.
42         * sysdeps/libm-ieee754/s_sinl.c: Likewise.
43
44         * sysdeps/libm-ieee754/s_roundtol.c: Fix typos.
45         * sysdeps/libm-ieee754/s_roundtoll.c: Likewise.
46
47         * nis/Makefile (services): Mention nisplus before compat.
48         * nis/nis_call.c (__do_niscall): Change type of variable server_len
49         to prevent warning.
50         * nis/nss_compat/compat-grp.c (getgrent_next_file_plusgroup): Add
51         cast to prevent warning.
52         * nis/nss_compat/compat-pwd.c (getpwent_next_file_plususer): Likewise.
53         * nis/nss_compat/compat-spwd.c (getspent_next_file_plususer): Likewise.
54         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): Change
55         type of variable `i' to prevent warning.
56         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent):
57         Likewise.
58         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent):
59         Likewise.
60         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): Likewise.
61         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent):
62         Likewise.
63
64         * sysdeps/generic/Dist: Remove old math implementation files.
65         * sysdeps/generic/mathimpl.h: Removed.
66         * sysdeps/generic/trig.h: Removed.
67         * sysdeps/generic/sincos.c: Removed.
68         * sysdeps/generic/asincos.c: Removed.
69         * sysdeps/generic/exp__E.c: Removed.
70         * sysdeps/generic/log__L.c: Removed.
71
72 1997-04-13 17:18  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
73
74         * malloc/malloc.c (fREe): Small optimization.  Before returning,
75         add fast check whether the heap containing top can go away.
76
77 1997-04-11 16:46  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
78
79         * malloc/malloc.c (mALLOc, rEALLOc, cALLOc, mEMALIGn): When
80         failing to allocate a new chunk, also try the main_arena.  It may
81         be that we are only running out of mmapped regions, and other
82         arenas cannot be enlarged sufficiently.
83         (new_heap, malloc_extend_top): Handle top_pad more consistently,
84         i.e. only in new_heap().
85
86 1997-04-13 21:10  Philip Blundell  <pjb27@cl.cam.ac.uk>
87
88         * sysdeps/posix/Makefile: Don't try to build and run mk-stdiolim
89         if cross-compiling.
90
91         * configure.in: Recognise "...linuxaout" OS names and turn off ELF.
92
93         * configure.in: Add ARM support.
94         * sysdeps/arm/Implies: New file.
95         * sysdeps/arm/__longjmp.S: New file.
96         * sysdeps/arm/bsd-_setjmp: New file.
97         * sysdeps/arm/bsd-setjmp: New file.
98         * sysdeps/arm/bytesex.h: New file.
99         * sysdeps/arm/fpu_control.h: New file.
100         * sysdeps/arm/jmp_buf.h: New file.
101         * sysdeps/arm/setjmp.h: New file.
102         * sysdeps/arm/sysdep.h: New file.
103         * sysdeps/unix/arm/config.h: New file.
104
105 1997-04-14 04:03  Ulrich Drepper  <drepper@cygnus.com>
106
107         * sysdeps/libm-ieee754/s_cproj.c: New file.
108         * sysdeps/libm-ieee754/s_cprojf.c: New file.
109         * sysdeps/libm-ieee754/s_cprojl.c: New file.
110
111 1997-04-13 01:06  Ulrich Drepper  <drepper@cygnus.com>
112
113         * isomac.c: Improve messages.
114
115         * math/Makefile (libm-calls): Add s_nearbyint, s_catan, s_casin,
116         s_ccos, s_csin, s_ctan, s_ctanh, s_cacos, s_casinh, s_cacosh,
117         s_catanh, s_csqrt, and s_cpow.
118         * math/libm-test.c: New functions ccos_test, cacos_test, cacosh_test,
119         casin_test, casinh_test, catan_test, catanh_test, ctanh_test,
120         csqrt_test, cpow_test, rint_test.
121         * math/math.h: Include new header mathbits.h which defines some
122         more (system dependent) types and some macros.
123         (isfinite): Use __finite instead of fpclassify.
124         * sysdeps/generic/mathbits.h: New file.
125         * sysdeps/i386/fpu/mathbits.h: New file.
126         * sysdeps/i386/huge_val.h: Don't define INFINITY.
127         * sysdeps/ieee754/huge_val.h: Likewise.
128         * sysdeps/m68k/huge_val.h: Likewise.
129
130         * sysdeps/i386/fpu/fenvbits.h: Define FE_NOMASK_ENV.
131         * sysdeps/i386/fpu/fesetenv.c: Handle FE_NOMASK_ENV.
132
133         * math/complex.h (_Imaginary_I): Define correctly.  I misread the
134         standard first.
135
136         * sysdeps/libm-i387/s_finite.S: Optimized rewrite.
137         * sysdeps/libm-i387/s_finitef.S: Likewise.
138         * sysdeps/libm-i387/s_finitel.S: Likewise.
139         Provided by Joe Keane <jgk@jgk.org>.
140
141         * sysdeps/libm-i387/s_nearbyint.S: New file.
142         * sysdeps/libm-i387/s_nearbyintf.S: New file.
143         * sysdeps/libm-i387/s_nearbyintl.S: New file.
144         * sysdeps/libm-ieee754/s_nearbyint.S: New file.
145         * sysdeps/libm-ieee754/s_nearbyintf.S: New file.
146         * sysdeps/libm-ieee754/s_nearbyintl.S: New file.
147
148         * sysdeps/libm-ieee754/s_cacos.c: New file.
149         * sysdeps/libm-ieee754/s_cacosf.c: New file.
150         * sysdeps/libm-ieee754/s_cacosl.c: New file.
151         * sysdeps/libm-ieee754/s_cacosh.c: New file.
152         * sysdeps/libm-ieee754/s_cacoshf.c: New file.
153         * sysdeps/libm-ieee754/s_cacoshl.c: New file.
154         * sysdeps/libm-ieee754/s_casin.c: New file.
155         * sysdeps/libm-ieee754/s_casinf.c: New file.
156         * sysdeps/libm-ieee754/s_casinl.c: New file.
157         * sysdeps/libm-ieee754/s_casinh.c: New file.
158         * sysdeps/libm-ieee754/s_casinhf.c: New file.
159         * sysdeps/libm-ieee754/s_casinhl.c: New file.
160         * sysdeps/libm-ieee754/s_catan.c: New file.
161         * sysdeps/libm-ieee754/s_catanf.c: New file.
162         * sysdeps/libm-ieee754/s_catanl.c: New file.
163         * sysdeps/libm-ieee754/s_catanh.c: New file.
164         * sysdeps/libm-ieee754/s_catanhf.c: New file.
165         * sysdeps/libm-ieee754/s_catanhl.c: New file.
166         * sysdeps/libm-ieee754/s_ccos.c: New file.
167         * sysdeps/libm-ieee754/s_ccosf.c: New file.
168         * sysdeps/libm-ieee754/s_ccosl.c: New file.
169         * sysdeps/libm-ieee754/s_cpow.c: New file.
170         * sysdeps/libm-ieee754/s_cpowf.c: New file.
171         * sysdeps/libm-ieee754/s_cpowl.c: New file.
172         * sysdeps/libm-ieee754/s_csin.c: New file.
173         * sysdeps/libm-ieee754/s_csinf.c: New file.
174         * sysdeps/libm-ieee754/s_csinl.c: New file.
175         * sysdeps/libm-ieee754/s_csqrt.c: New file.
176         * sysdeps/libm-ieee754/s_csqrtf.c: New file.
177         * sysdeps/libm-ieee754/s_csqrtl.c: New file.
178         * sysdeps/libm-ieee754/s_ctan.c: New file.
179         * sysdeps/libm-ieee754/s_ctanf.c: New file.
180         * sysdeps/libm-ieee754/s_ctanl.c: New file.
181         * sysdeps/libm-ieee754/s_ctanh.c: New file.
182         * sysdeps/libm-ieee754/s_ctanhf.c: New file.
183         * sysdeps/libm-ieee754/s_ctanhl.c: New file.
184
185         * time/strftime.c (memset_space): Increment pointer.
186         * time/strptime.c: Interpret year number 00-59 as 2000--2059.
187         Patches by Karl Heuer <kwzh@gnu.ai.mit.edu>.
188
189 1997-04-11 11:57  Miguel de Icaza <miguel@nuclecu.unam.mx>
190
191         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove fork,
192         pipe, syscall.
193
194 1997-04-05 00:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
195
196         * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although
197         probably still wrong.
198         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
199         * sysdeps/libm-ieee754/s_remquol.c: Likewise.
200
201         * math/libm-test.c (remquo_test): Corrected.
202
203 1997-04-11 00:01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
204
205         * sysdeps/m68k/fpu/__math.h (__rinttol, rinttol): New inline.
206         * sysdeps/m68k/fpu/s_rinttol.c: New file.
207         * sysdeps/m68k/fpu/s_rinttoll.c: New file.
208
209         * math/libm-test.c (remquo_test): Use check_long to test the
210         quotient.
211         (cbrt_test): Add epsilons for long double.
212
213 1997-04-10 18:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
214
215         * locale/localeinfo.h: Update declaration of _nl_current.
216
217 1997-04-11 11:27  Ulrich Drepper  <drepper@cygnus.com>
218
219         * rellnsh-sh: Use explicitely /bin/pwd to find the external program.
220
221         * math/Makefile (headers): Add fenv.h and fenvbits.h.
222         (libm-support): Add s_rountol, s_roundtoll, fclrexcpt, fgetexcptflg,
223         fraiseexcpt, fsetexcptflg, ftestexcept, fegetround, fesetround,
224         fegetenv, feholdexcpt, fesetenv, feupdateenv.
225         (libm-calls): Add s_round.
226         * math/fenv.h: New file.
227         * math/libm-test.c: Correct tests for s_rinttol and s_rinttoll.
228         Add roundtol_check and roundtoll_check.
229         * math/math.h: Pretty printing.
230         * sysdeps/i386/fpu/fclrexcpt.c: New file.
231         * sysdeps/i386/fpu/fegetenv.c: New file.
232         * sysdeps/i386/fpu/fegetround.c: New file.
233         * sysdeps/i386/fpu/feholdexcpt.c: New file.
234         * sysdeps/i386/fpu/fenvbits.h: New file.
235         * sysdeps/i386/fpu/fesetenv.c: New file.
236         * sysdeps/i386/fpu/fesetround.c: New file.
237         * sysdeps/i386/fpu/fgetexcptflg.c: New file.
238         * sysdeps/i386/fpu/fraiseexcpt.c: New file.
239         * sysdeps/i386/fpu/fsetexcptflg.c: New file.
240         * sysdeps/i386/fpu/ftestexcept.c: New file.
241         * sysdeps/stub/fclrexcpt.c: New file.
242         * sysdeps/stub/fegetenv.c: New file.
243         * sysdeps/stub/fegetround.c: New file.
244         * sysdeps/stub/feholdexcpt.c: New file.
245         * sysdeps/stub/fenvbits.h: New file.
246         * sysdeps/stub/fesetenv.c: New file.
247         * sysdeps/stub/fesetround.c: New file.
248         * sysdeps/stub/fgetexcptflg.c: New file.
249         * sysdeps/stub/fraiseexcpt.c: New file.
250         * sysdeps/stub/fsetexcptflg.c: New file.
251         * sysdeps/stub/ftestexcept.c: New file.
252
253         * sysdeps/libm-i387/s_trunc.S: New file.
254         * sysdeps/libm-i387/s_truncf.S: New file.
255         * sysdeps/libm-i387/s_truncl.S: New file.
256
257         * sysdeps/libm-ieee754/s_round.c: New file.
258         * sysdeps/libm-ieee754/s_roundf.c: New file.
259         * sysdeps/libm-ieee754/s_roundl.c: New file.
260
261         * sysdeps/libm-ieee754/s_ccosh.c: Rewritten to use fpclassify.
262         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
263         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
264         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
265         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
266         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
267         * sysdeps/libm-ieee754/s_clog.c: Likewise.
268         * sysdeps/libm-ieee754/s_clogf.c: Likewise.
269         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
270         * sysdeps/libm-ieee754/s_csinh.c. Likewise.
271         * sysdeps/libm-ieee754/s_csinhf.c. Likewise.
272         * sysdeps/libm-ieee754/s_csinhl.c. Likewise.
273
274         * sysdeps/libm-ieee754/s_ceill.c: Corrected.  The mantissa has only
275         63 bits.
276         * sysdeps/libm-ieee754/s_floorl.c: Likewise.
277
278         * po/pl.po: Updated.
279
280         * string/swab.c: Correctly handle array of odd length.
281
282         * sysdeps/generic/memmem.c: Update copyright.
283         * manual/string.texi: Correct prototype in memmem documentation.
284
285 1997-04-10 20:22  Ulrich Drepper  <drepper@cygnus.com>
286
287         * hurd/Makefile (sunrpc-headers): Add clnt.h.
288         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
289
290 1997-04-09 14:21  Miguel de Icaza  <miguel@nuclecu.unam.mx>
291
292         * sysdeps/sparc/dl-machine.h: Bug fix: I was not loading
293         the proper value from the GOT.  Pass argument block to
294         init function.
295
296         * sysdeps/sparc/elf/start.c: Call atexit (_fini) after calling
297         _init ().
298
299         * sysdeps/sparc/fpu_control.h: Fix the FPU constants.  I got them
300         wrong the first time.
301
302         * sysdeps/sparc/setjmp.S: PIC code was clobbering a callee saved
303         register.
304
305         * sysdeps/sparc/udiv_qrnnd.S: Add type @function.
306
307         * sysdeps/unix/sysv/linux/sparc/init-first.h: Linux/SPARC specific
308         SYSDEP_CALL_INIT.
309
310         * sysdeps/unix/sysv/linux/sparc/signum.h: Remove definition for
311         NSIG and duplicated SIGIOT.
312
313 1997-04-05 00:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
314
315         * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although
316         probably still wrong.
317         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
318         * sysdeps/libm-ieee754/s_remquol.c: Likewise.
319
320         * math/libm-test.c (remquo_test): Corrected.
321
322 1997-04-03 18:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
323
324         * Makefile (parent-tests): New target to run the tests to that
325         they are executed even if some subdir tests have failed.
326         (tests): Depend on parent-tests instead of running the tests
327         directly.
328
329 1997-04-03 12:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
330
331         Clean up name space pollution in libnss_*.so:
332         * nis/nss_compat/compat-pwd.c, resolv/mapv4v6addr.h,
333         resolv/nss_dns/dns-host.c: Replace bzero by memset, bcopy by
334         memcpy and bcmp by memcmp to clean up namespace.
335         * nss/nss_db/db-XXX.c (internal_setent): Use __dbopen instead of
336         dbopen.
337         * nss/nss_db/db-alias.c (internal_setent): Likewise.
338         * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Likewise.
339         * db/db/db.c [_LIBC]: Define __dbopen instead of dbopen and make
340         the latter a weak alias.
341         * db/db.h: Declare __dbopen.
342         * db/btree/btree.h [_LIBC]: Prepend __ to all mpool functions.
343         * db/mpool/mpool.c [_LIBC]: Define all external functions with __
344         prefix and make the old names weak aliases.
345         * db/mpool.h: Declare the new internal names.
346
347 1997-04-04 23:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
348
349         * stdio-common/vfscanf.c: Fix scanning of hexadecimal fp number.
350         * stdio-common/tstscanf.c: Add test case for this.
351
352 1997-04-04 17:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
353
354         * math/libm-test.c: Fix more typos.
355
356 1997-04-03 17:15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
357
358         * math/libm-test.c (csinh_test): Fix test names.
359         (ccosh_test): Likewise.
360
361         * sysdeps/libm-ieee754/s_csinh.c: Use sinh function instead of
362         computing it directly.
363         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
364         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
365
366         * sysdeps/libm-ieee754/s_ccosh.c:  Use cosh function instead of
367         computing it directly.
368         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
369         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
370
371         * sysdeps/libm-ieee754/s_cexp.c: Use internal exp function instead
372         of wrapper.
373         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
374         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
375         * sysdeps/m68k/fpu/s_cexp.c: Likewise.  Correct handling of
376         special values.  Avoid use of fsincos if all that is needed is the
377         quadrant.
378
379         * sysdeps/m68k/fpu/s_ccosh.c: New file.
380         * sysdeps/m68k/fpu/s_ccoshf.c: New file.
381         * sysdeps/m68k/fpu/s_ccoshl.c: New file.
382         * sysdeps/m68k/fpu/s_csinh.c: New file.
383         * sysdeps/m68k/fpu/s_csinhl.c: New file.
384         * sysdeps/m68k/fpu/s_csinhf.c: New file.
385
386 1997-04-03 10:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
387
388         * manual/Makefile (dir-add.texi): Simplify.
389
390 1997-04-09 01:24  Ulrich Drepper  <drepper@cygnus.com>
391
392         * rellns-sh: Rewrite to work also in presence of symlinks.
393
394         * arpg/argp-fmtstream.c: Add casts to prevent warnings.
395         * argp/argp-fmtstream.h: Likewise.
396         * argp/argp-help.c: Likewise.
397
398         * elf/dl-minimal.c: Add definition of calloc.
399         * elf/version.c: Add casts to prevent warnings.
400         (_dl_check_map_versions): Use calloc instead of malloc+memset.
401
402         * locale/setlocale.c (_nl_current): Add element with index LC_ALL.
403         Reported by Greg McGary <gkm@eng.ascend.com>.
404
405         * manual/libc.texinfo: Update malloc documentation for new malloc.
406         * manual/memory.texi: Likewise.
407         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
408
409         * math/libm-test.c (check_long): New function.
410         (check_longlong): New function.
411         (rinttol_test): New function.
412         (rinttoll_test): New function.
413
414         * nis/nss_compat/compat-grp.c (in_blacklist): Improve a bit.
415         * nis/nss_compat/compat-pwd.c: Likewise.
416         * nis/nss_compat/compat-spwd.c: Likewise.
417
418         * stdlib/erand48_r.c (erand48_r): Build double value using
419         ieee754_double union and use random bits in different order to
420         increase effect of seed.
421         Reported by David Mosberger-Tang <davidm@AZStarNet.com>.
422
423         * sunrpc/svc_auth.c: Moved to ...
424         * sysdeps/generic/svc_auth.c: ...here.
425
426         * time/time.h: Pretty print.
427
428 1997-04-08 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
429
430         * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on
431         a read-only stream.
432
433 1997-04-09 01:19  Ulrich Drepper  <drepper@cygnus.com>
434
435         * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration
436         in correct place.
437         Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
438
439 1997-04-07 15:34  Ulrich Drepper  <drepper@cygnus.com>
440
441         * stdio-common/Makefile (tests): Add tst-ferror.
442         * stdio-common/tst-ferror.c: New file.  Some tests for error
443         indicator of streams.
444         * stdio-common/tst-ferror.input: New file.
445
446         * isomac.c: Let tests not fail because the compiler defines itself
447         symbols which violate the name space rules.  gcc defines symbols
448         for the architecture which are not protected by an underscore
449         character.
450
451         * math/Makefile (libm-support): Add s_rinttol and s_rinttoll.
452         (libm-calls): Add s_clog.
453         * sysdeps/libm-ieee754/s_clog.c: New file.  Implementation of
454         logarithm of complex value.
455         * sysdeps/libm-ieee754/s_clogf.c: New file.
456         * sysdeps/libm-ieee754/s_clogl.c: New file.
457         * math/libm-test.c (clog_test): Compile this function.  Fix a few
458         typos.
459         (main): Call clog_test.
460
461         * sysdeps/libm-ieee754/s_rinttol.c: New file.  Round long double
462         value to long int.
463         * sysdeps/libm-i387/s_rinttol.S: New file.
464         * sysdeps/libm-ieee754/s_rinttoll.c: new file.  Round long double
465         value to long long int.
466         * sysdeps/libm-i387/s_rinttoll.S: New file.
467
468         * sysdeps/libm-ieee754/s_rintl.c: Many corrections.  The previous
469         version was full of errors.
470
471         * math/math.h (rinttol): Argument is of type `long double' not
472         `double'.
473         (rinttoll): Likewise.
474         (roundtol): Likewise.
475         (roundtoll): Likewise.
476
477 1997-04-06 11:32  H.J. Lu  <hjl@gnu.ai.mit.edu>
478
479         * posix/getopt.c (_getopt_initialize): Preserve optind.
480         (_getopt_internal): Set optind to 1 if optind == 0 before
481         calling _getopt_initialize ().
482
483 1997-04-05 16:45  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
484
485         * nis/rpcsvc/nislib.h: Change const nis_name to new type
486         const_nis_name.
487         * nis/nis_intern.c: Likewise.
488         * nis/nis_intern.h: Likewise.
489         * nis/nis_server.c: Likewise.
490         * nis/nis_subr.c: Likewise.
491         * nis/nis_table.c: Likewise.
492         * nis/nis_names.c: Likewise.  Fill out ns_request structure in
493         nis_add().
494
495         * nis/nss_compat/compat-pwd.c: Use reentrant netgroup functions.
496         * nis/nss_compat/compat-spwd.c: Likewise.
497
498 1997-03-27 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
499
500         * libio/fileops.c (_IO_file_overflow): Set error when try to write
501         on a read-only stream.
502
503         * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
504         (ut_time): Define it only if _NO_UT_TIME is not defined.
505
506 1997-04-06 00:42  Ulrich Drepper  <drepper@cygnus.com>
507
508         * misc/tst-tsearch.c: Include <string.h>.  Define _GNU_SOURCE only
509         if not already defined.
510
511 1997-04-05 16:14  Ulrich Drepper  <drepper@cygnus.com>
512
513         * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to
514         get definition of sa_family_t for <linux/atalk.h>.
515         Reported by a sun <asun@zoology.washington.edu>.
516
517         * malloc/malloc.c (cALLOc): Little optimization.
518
519 1997-04-05 03:11  Ulrich Drepper  <drepper@cygnus.com>
520
521         * inet/arpa/inet.h: Rewrite.  Don't use the ugly BSD way to write
522         headers but instead add comments and parameter names.
523         Don't use BSD specific types in prototypes.
524
525         * manual/nss.texi: Correct a few typos and errors.
526
527         * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite based on better
528         algorithm.
529         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
530         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
531
532         * sysdeps/libm-i387/s_cbrt.S: New file.  Optimized assembler version
533         with new algorithm.
534         * sysdeps/libm-i387/s_cbrtf.S: New file.
535         * sysdeps/libm-i387/s_cbrtl.S: New file.
536
537         * sysdeps/libm-i387/s_frexp.S: Optimize even more.
538         * sysdeps/libm-i387/s_frexpf.S: Likewise.
539         * sysdeps/libm-i387/s_frexpl.S: Likewise.
540
541 1997-04-04 18:55  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
542
543         * nis/Makefile: Remove CFLAGS-*, add publickey to databases.
544
545         * nis/nis_call.c: Add MASTER_ONLY and HARD_LOOKUP flags, compile
546         DES part only with secure RPC add-on.
547
548         * nis/nis_names.c (nis_modify): Fix rpc function number.
549
550         * nis/nis_server.c: Fix typos.
551
552         * nis/nss_compat/compat-grp.c: Add NIS+ support.
553         * nis/nss_compat/compat-pwd.c: Likewise.
554         * nis/nss_compat/compat-spwd.c: Likewise.
555
556         * nis/nss_nis/nis-grp.c: Only a return value > 0 from parse_line
557         signals success.
558
559         * nis/nss_nis/nis-publickey.c: Changes for compiling with/without
560         secure RPC.
561         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
562         * nis/ypclnt.c: Likewise.
563         * nis/nis_intern.h: Likewise.
564
565         * nis/nss_nisplus/nisplus-alias.c: Correct parser return code.
566         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
567         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
568         * nis/nss_nisplus/nisplus-network.c: Likewise.
569         * nis/nss_nisplus/nisplus-proto.c: Likewise.
570         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
571         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
572         * nis/nss_nisplus/nisplus-service.c: Likewise.
573         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
574
575         * nis/nss_nisplus/nisplus-grp.c: Rewrite parser for fixing errors
576         and speedup.
577         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
578
579 1997-04-04 17:03  Ulrich Drepper  <drepper@cygnus.com>
580
581         * math/libm-test.c (cbrt_test): Add tests for +-inf and NaN
582         arguments.
583
584 1997-04-03 19:24  H.J. Lu  <hjl@gnu.ai.mit.edu>
585
586         * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a
587         typo.
588
589 1997-04-03 16:10  Andreas Jaeger  <aj@arthur.pfalz.de>
590
591         * sysdeps/libm-ieee754/s_nanf.c:
592         * sysdeps/libm-ieee754/s_nan.c:
593         * sysdeps/libm-ieee754/s_nanl.c: Include <stdio.h> for
594         declaration of sprintf.
595
596 1997-04-03 13:37  Ulrich Drepper  <drepper@cygnus.com>
597
598         * sysdeps/libm-ieee754/s_cexp.c: Fix type: string_alias ->
599         strong_alias.
600         Reported by sun <asun@zoology.washington.edu>.
601
602         * rpc/auth.h: Removed.
603         * rpc/auth_des.h: Removed.
604         * sunrpc/rpc/auth.h: Moved to ...
605         * sysdeps/generic/rpc/auth.h: ...here.
606         * sunrpc/rpc/auth_des.h: Moved to ...
607         * sysdeps/generic/rpc/auth_des.h: ...here.
608
609 1997-04-03 04:28  Ulrich Drepper  <drepper@cygnus.com>
610
611         * sysdeps/libm-i387/s_frexp.S: New file.  ix87 optimized version.
612         * sysdeps/libm-i387/s_frexpf.S: New file.
613         * sysdeps/libm-i387/s_frexpl.S: New file.
614
615 1997-04-01 10:11  H.J. Lu  <hjl@gnu.ai.mit.edu>
616
617         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
618         (sysdep_headers): Remove netinet/icmp.h.
619
620 1997-04-02 16:55  Ulrich Drepper  <drepper@cygnus.com>
621
622         * manual/socket.texi: Document behaviour of inet_ntoa in multi-
623         threaded programs.
624         * manual/stdio.texi: Change wording for snprintf description a bit.
625         Correct typo in example.
626         * manual/lang.texi: Add documentation of __va_copy.
627
628         * Makefile: Add rule to easily generate dir-add.texi file.
629         * manual/Makefile: Likewise.
630
631         * manual/arith.texi: Add description of lldiv_t, lldiv, and atoll.
632         Change description of strtoll and strtoull to make clear these
633         are the preferred names.
634         Describe `inf', `infinity', `nan', `nan(...)' inputs for strtod
635         and friends.
636         Change references to HUGE_VALf and HUGE_VALl to HUGE_VALF and
637         HUGE_VALL.
638
639 1997-04-02 16:28  Ulrich Drepper  <drepper@cygnus.com>
640
641         * grp/fgetgrent.c: Don't use fixed buffer length.  Allow dynamic
642         adjustment if the underlying function say it is too small.
643         * pwd/fgetpwent.c: Likewise.
644         * shadow/fgetspent.c: Likewise.
645         * shadow/sgetspent.c: Likewise.
646
647         * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1
648         this means there was not enough room for the gr_mem array.
649
650         * nss/nss_files/files-XXX.c: Leave loop and return error if
651         `parse_result' returns -1.
652
653         * nss/nss_files/files-parse.c (parse_line): Return -1 if parsing
654         of trailing list fails because of low memory.
655         (parse_list): Rewrite.  The logic was completly incorrect since
656         the checks for overflowing the array were not executed when
657         needed.
658
659         * shadow/sgetspent_r.c: Only a return value > 0 from parse_line
660         signals success.
661
662         * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory.
663         * nss/getXXent.c: Likewise.
664
665         * stdlib/strtod.c (SET_MANTISSA): Make sure that at least one bit
666         is set in mantissa.
667         * stdlib/strtof.c: Likewise.
668         * stdlib/strtold.c: Likewise.
669         * wcsmbs/wcstof.c: Likewise.
670         * wcsmbs/wcstold.c: Likewise.
671
672         * sysdeps/libm-ieee754/s_nan.c: Use strtod if parameter is not empty
673         string.
674         * sysdeps/libm-ieee754/s_nanf.c: Likewise.
675         * sysdeps/libm-ieee754/s_nanl.c: Likewise.
676
677 1997-04-02 13:56  Ulrich Drepper  <drepper@cygnus.com>
678
679         * manual/errno.texi: Add description of strerror_r.
680
681 1997-04-01 19:07  H.J. Lu (hjl@gnu.ai.mit.edu)
682
683         * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE.
684
685 1997-04-02 13:55  Ulrich Drepper  <drepper@cygnus.com>
686
687         * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi.
688
689 1997-03-30 10:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
690
691         * sysdeps/m68k/fpu/s_cexp.c: New file.
692         * sysdeps/m68k/fpu/s_cexpf.c: New file.
693         * sysdeps/m68k/fpu/s_cexpl.c: New file.
694         * sysdeps/m68k/fpu/s_nearbyint.c: New file.
695         * sysdeps/m68k/fpu/s_nearbyintf.c: New file.
696         * sysdeps/m68k/fpu/s_nearbyintl.c: New file.
697         * sysdeps/m68k/fpu/s_trunc.c: New file.
698         * sysdeps/m68k/fpu/s_truncf.c: New file.
699         * sysdeps/m68k/fpu/s_truncl.c: New file.
700
701         * sysdeps/m68k/fpu/s_modf.c: Rewritten.
702         * sysdeps/m68k/fpu/s_modff.c: Adapted.
703         * sysdeps/m68k/fpu/s_modfl.c: Likewise.
704
705         * sysdeps/m68k/fpu/e_atan2.c: Use __signbit inline.
706         * sysdeps/m68k/fpu/e_pow.c: Likewise.  Write 0.0/0.0 for NaN.  Fix
707         typo in test for `y = 0.5'.
708
709         * sysdeps/m68k/fpu/__math.h: Define __trunc, __signbit,
710         __nearbyint.  Remove __modf.
711
712         * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c) [$(subdir)=math]:
713         Define for gcc bug workaround.
714
715         * math/libm-test.c (log2_test): Add epsilon for long double to
716         "log2 (e)" and "log2 (16)".
717         (modf_test): Fix test name.
718         (sqrt_test): Add missing FUNC.
719
720 1997-03-29 16:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
721
722         * sunrpc/Makefile (CFLAGS-xrquota.c): Fix typo in variable name.
723
724 1997-03-28 20:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
725
726         * stdlib/stdlib.h: Declare __clearenv.
727
728 1997-03-28 18:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
729
730         * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of
731         the last change.
732
733 1997-03-28 17:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
734
735         * configure.in: Call AC_CANONICAL_BUILD before referencing
736         $build.  Fix test for BUILD_CC.
737
738 1997-04-02 01:29  Philip Blundell  <pjb27@cam.ac.uk>
739
740         * sysdeps/libm-ieee754/s_log2f.c (__log2f): Fix typo.
741
742 1997-03-31 18:53  Philip Blundell  <pjb27@cam.ac.uk>
743
744         * sysdeps/unix/sysv/linux/net/route.h: Add new IPv6 definitions.
745
746 1997-04-01 14:08  Ulrich Drepper  <drepper@cygnus.com>
747
748         * sysdeps/i386/memset.c: Fix typo.
749         * sysdeps/stub/fchmod.c: Fix typo.
750         * sysdeps/stub/fchdir.c: Fix typo.
751         Reported by Fila Kolodny <fila@ibi.com>.
752
753 1997-04-01 00:37  Ulrich Drepper  <drepper@cygnus.com>
754
755         * math/Makefile: Prevent inlining for test-{float,double,longdouble}.
756         * math/libm-test.c (initialize): Make strings unique and force
757         values to memory.
758
759         * posix/regex.c: Debug debugging code.
760
761         * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct
762         syntax for local label.
763         * sysdeps/i386/add_n.S: Use correct local label syntax for the
764         binary format.
765         * sysdeps/i386/addmul_1.S: Likewise.
766         * sysdeps/i386/lshift.S: Likewise.
767         * sysdeps/i386/memchr.S: Likewise.
768         * sysdeps/i386/memcmp.S: Likewise.
769         * sysdeps/i386/mul_1.S: Likewise.
770         * sysdeps/i386/rshift.S: Likewise.
771         * sysdeps/i386/stpcpy.S: Likewise.
772         * sysdeps/i386/stpncpy.S: Likewise.
773         * sysdeps/i386/strchr.S: Likewise.
774         * sysdeps/i386/strcspn.S: Likewise.
775         * sysdeps/i386/strlen.S: Likewise.
776         * sysdeps/i386/strpbrk.S: Likewise.
777         * sysdeps/i386/strrchr.S: Likewise.
778         * sysdeps/i386/strspn.S: Likewise.
779         * sysdeps/i386/strtok.S: Likewise.
780         * sysdeps/i386/sub_n.S: Likewise.
781         * sysdeps/i386/submul_1.S: Likewise.
782         * sysdeps/i386/i486/strcat.S: Likewise.
783         * sysdeps/i386/i486/strlen.S: Likewise.
784         * sysdeps/i386/i586/add_n.S: Likewise.
785         * sysdeps/i386/i586/addmul_1.S: Likewise.
786         * sysdeps/i386/i586/lshift.S: Likewise.
787         * sysdeps/i386/i586/memset.S: Likewise.
788         * sysdeps/i386/i586/mul_1.S: Likewise.
789         * sysdeps/i386/i586/rshift.S: Likewise.
790         * sysdeps/i386/i586/strchr.S: Likewise.
791         * sysdeps/i386/i586/strlen.S: Likewise.
792         * sysdeps/i386/i586/sub_n.S: Likewise.
793         * sysdeps/i386/i586/submul_1.S: Likewise.
794
795         * sysdeps/stub/s_log2l.c: Correct function name.
796
797         * time/africa: Updated from ADO tzdata1997e.
798         * time/antarctica: Likewise.
799         * time/asia: Likewise.
800         * time/australasia: Likewise.
801         * time/europe: Likewise.
802         * time/northamerica: Likewise.
803         * time/southamerica: Likewise.
804         * time/private.h: Updated from ADO tzcode1997d.
805         * time/scheck.c: Likewise.
806
807 1997-03-31 12:42  Ulrich Drepper  <drepper@cygnus.com>
808
809         * sysdeps/unix/sysv/linux/powerpc/Dist: Add kernel_*.h files.
810
811 1997-03-23 01:41  Geoff Keating  <geoffk@ozemail.com.au>
812
813         * sysdeps/powerpc/strlen.s: Rewrote for more speed.
814         * string/tst-strlen.c: Also test various string alignments.
815
816 1997-03-19 06:11  Geoff Keating  <geoffk@ozemail.com.au>
817
818         * sysdeps/unix/sysv/linux/powerpc/statbuf.h: Removed.
819         * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h: Added.
820
821         * sysdeps/powerpc/dl-machine.h (ELF_PREFERRED_ADDRESS): Assume
822         program base address is 0x01800000 if we can't otherwise tell what
823         it is.
824         (elf_machine_rela): Replace `assertion failed' with real error
825         messages.
826
827         * sysdeps/powerpc/dl-machine.h: More comments, more GNU indenting.
828         Put in extra parentheses to make explicit the relative precedence
829         of + and >>.
830
831         * sysdeps/powerpc/bsd-setjmp.S: Add `__setjmp' symbol so the tests
832         pass.
833         * sysdeps/powerpc/clone.S: Rewrite.  Probably still doesn't work.
834
835         * sysdeps/unix/sysv/linux/powerpc/sys/sysdep.h: Use .section "text"
836         instead of .text.
837
838 1997-03-31 02:28  Ulrich Drepper  <drepper@cygnus.com>
839
840         * misc/tst-tsearch.c: Don't write to stderr, write to stdout
841         instead.
842
843         * inet/inet_ntoa.c (inet_ntoa): Complete rewrite.  Now uses
844         thread-specific memory in multi-threaded programs.
845
846         * sysdeps/stub/s_exp2.c: New file.  Stub version for exp2 function.
847         * sysdeps/stub/s_exp2f.c: New file.
848         * sysdeps/stub/s_exp2l.c: New file.
849         Reported by a sun <asun@zoology.washington.edu>.
850
851         * sysdeps/unix/sysv/linux/netatalk/atalk.h: Rename to...
852         * sysdeps/unix/sysv/linux/netatalk/at.h: ...this.
853         Suggested by a sun <asun@zoology.washington.edu>.
854
855 1997-03-30 14:53  Ulrich Drepper  <drepper@cygnus.com>
856
857         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: Add former contents
858         of <netinet/icmp.h>.
859         Patch by a sun <asun@zoology.washington.edu>.
860
861 1997-03-30 03:42  Ulrich Drepper  <drepper@cygnus.com>
862
863         * math/libm-test.c: Add definition of ctanh_test, clog_test, and
864         csqrt_test.
865
866 1997-03-29 17:39  Ulrich Drepper  <drepper@cygnus.com>
867
868         * math/Makefile (routines): Add carg, s_ccosh and s_csinh.
869
870         * math/complex.h: Add C++ protection.
871
872         * math/libm-test.c (cexp_test): Correct a few bugs.
873         (csinh_test): New function.
874         (ccosh_test): New function.
875         (cacos_test): New function.
876         (cacosh_test): New function.
877         (casinh_test): New function.
878         (catanh_test): New function.
879         (main): Add calls to csinh_test and ccosh_test.
880
881         * misc/Makefile (tests): Add tst-tsearch.
882         Add rule to link tst-tsearch against libm.
883         * misc/tsearch.c: Rewritten to use Red-Black-Tree algorithm by
884         Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
885         * misc/tst-tsearch.c: New file.
886
887         * stdio-common/bug5.c: Clear LD_LIBRARY_PATH environment variable
888         before using system.
889         * stdio-common/test-popen.c: Clear LD_LIBRARY_PATH environment variable
890         before using popen.
891
892         * sysdeps/libm-ieee754/s_cexp.c: Correct handling of special cases.
893         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
894         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
895
896         * sysdeps/libm-i387/s_cexp.S: New file.  ix87 specific implementation
897         of complex exponential function.
898         * sysdeps/libm-i387/s_cexpf.S: New file.
899         * sysdeps/libm-i387/s_cexpl.S: New file.
900
901         * sysdeps/libm-ieee754/s_ccosh.c: New file.  Implementation of
902         complex cosh function.
903         * sysdeps/libm-ieee754/s_ccoshf.c: New file.
904         * sysdeps/libm-ieee754/s_ccoshl.c: New file.
905         * sysdeps/libm-ieee754/s_csinh.c: New file.  Implementation of
906         complex sinh function.
907         * sysdeps/libm-ieee754/s_csinhf.c: New file.
908         * sysdeps/libm-ieee754/s_csinhl.c: New file.
909
910         * math/carg.c: New file.  Generic implementatio of carg function.
911         * math/cargf.c: New file.
912         * math/cargl.c: New file.
913
914 1997-03-29 16:07  Ulrich Drepper  <drepper@cygnus.com>
915
916         * sysdeps/posix/system.c: Update copyright.
917
918 1997-03-29 04:18  Ulrich Drepper  <drepper@cygnus.com>
919
920         * elf/dl-error.c (_dl_catch_error): Add another argument which is
921         passed to OPERATE.
922         (_dl_receive_error): Likewise.
923         * elf/link.h: Change prototypes for _dl_catch_error and
924         _dl_receive_error to reflect above change.
925         * elf/dl-deps.c: Don't use nested function.  Call _dl_catch_error
926         with additional argument with pointer to data.
927         * elf/dlclose.c: Likewise.
928         * elf/dlerror.c: Likewise.
929         * elf/dlopen.c: Likewise.
930         * elf/dlsym.c: Likewise.
931         * elf/dlvsym.c: Likewise.
932         * elf/rtld.c: Likewise.
933         * nss/nsswitch.c: Likewise.
934         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
935
936 1997-03-28 21:14  Miguel de Icaza  <miguel@nuclecu.unam.mx>
937
938         * elf/dl-error.c: Manually set up the values of "c", this avoids a
939         call to memcpy and a zero 152 bytes structure.
940
941         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Test
942         RTLD_BOOTSTRAP to avoid performing relative relocs on a second
943         pass.
944
945         * sysdeps/sparc/udiv_qrnnd.S: Make the code PIC aware.
946
947         * sysdeps/unix/sysv/linux/sparc/Dist: Add kernel_stat.h and
948         kernel_sigaction.h
949
950         Add Linux/SPARC specific definitions.
951         * sysdeps/unix/sysv/linux/sparc/fcntlbits.h: New file.
952         * sysdeps/unix/sysv/linux/sparc/ioctls.h: New file.
953         * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: New file.
954         * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: New file.
955         * sysdeps/unix/sysv/linux/sparc/sigaction.h: New file.
956         * sysdeps/unix/sysv/linux/sparc/signum.h: New file.
957         * sysdeps/unix/sysv/linux/sparc/termbits.h: New file.
958
959 1997-03-28 13:06  Philip Blundell  <pjb27@cam.ac.uk>
960
961         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Use
962         __getservbyname_r() not getservbyname().
963         (BROKEN_LIKE_POSIX): Define to 1 so we get strict POSIX behaviour.
964
965 1997-03-27 02:28  Ulrich Drepper  <drepper@cygnus.com>
966
967         * gmon/gmon.c (monstartup): Mark all messages.
968         (write_call_graph): Rewrite to use larger I/O vector for writev
969         call to reduce syscall overhead.
970         (write_bb_counts): Simplify writev handling.
971
972         * inet/rexec.c: Make string parameters `const'.
973         * resolv/netdb.h: Add prototypes for rcmd, rexec, ruserok, and
974         rresvport.
975
976         * math/Makefile: Don't define CFLAGS-* macros to prevent inlining
977         in libm-test.
978         * math/libm-test.c (this_does_nothing): Remove functions.  It's
979         notuseful on any platform but ix86.
980         (inverse_func_pair_test): Don't use this_does_nothing.  Use
981         memory reference.
982         (identities1_test): Likewise.
983         (identities2_test): Likewise.
984         (identities3_test): Likewise.
985         (basic_test): Likewise.
986         Patch by Andreas Schwab.
987         (BUILD_COMPLEX): New macro.  Create complex number from real and
988         imaginary parts.  This works around bugs/inefficiencies in current
989         gcc.
990         (cexp_test): Use BUILD_COMPLEX.  Add more tests.
991
992         * nss/nsswitch.c: Fix typo.
993
994         * posix/glob.h: Add declaration for glob_pattern_p.
995         * posix/glob.c: Rename glob_pattern_p to __glob_pattern_p and
996         make glob_pattern_p a weak alias.  This function is used in other
997         packages (e.g. bash).
998
999         * signal/Makefile (routines): Add sigisempty, sigandset, and
1000         sigorset.
1001         * signal/signal.h: Add prototypes for sigisempty, sigandset, and
1002         sigorset.
1003         * signal/sigisempty.c: New file.
1004         * signal/sigandset.c: New file.
1005         * signal/sigorset.c: New file.
1006         * sysdeps/generic/sigset.h: Define __sigisemptyset, __sigandset,
1007         and __sigorset.
1008         * sysdeps/unix/sysv/linux/sigset.h: Likewise.
1009
1010         * stdlib/strtod.c: Handle `n-char-sequence' in NaN parsing.  It
1011         determines the bits in the mantissa part of the NaN.
1012         * stdlib/strtof.c: Define SET_MANTISSA for float type.
1013         * wcsmbs/wcstof.c: Define SET_MANTISSA for float type.
1014         * stdlib/strtold.c: Define SET_MANTISSA for long double type.
1015         * wcsmbs/wcstold.c: Define SET_MANTISSA for long double type.
1016
1017         * sysdeps/libm-ieee754/s_cexp.c: Use explicit assignment to
1018         complex number components.  Some more corrects for special cases.
1019         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
1020         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
1021
1022         * sysdeps/sparc/elf/start.S: Remove as per request of Miguel de Icaza.
1023
1024         * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have
1025         ip_icmp.h.  Reported by HJ Lu.
1026
1027 1997-03-25 03:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1028
1029         * sysdeps/m68k/Makefile (CFLAGS-rtld.c): Add -Wno-unused.
1030
1031         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Rewritten as for
1032         i386.
1033         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
1034         ELF_MACHINE_RELOC_NOPLT): Define.
1035
1036 1997-03-25 03:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1037
1038         * grp/grp.h: Include <stddef.h> only once.
1039
1040 1997-03-25 09:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1041
1042         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define.
1043         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
1044
1045         * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or
1046         TAB3, if one of them is defined.
1047
1048 1997-03-26 04:53  Ulrich Drepper  <drepper@cygnus.com>
1049
1050         * posix/glob.c (next_brace_sub): Decrement depth counter when '}'
1051         is found.
1052         Patch by Dennis Henriksen <opus@flamingo.osrl.dk>.
1053
1054 1997-03-25  16:25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1055
1056         * sunrpc/Makefile: Comment gccwarn out.
1057         * sunrpc/auth_none.c: Fix prototypes and parameters for compiling
1058         with enabled warnings.
1059         * sunrpc/auth_unix.c: Likewise.
1060         * sunrpc/authuxprot.c: Likewise.
1061         * sunrpc/bindrsvprt.c: Likewise.
1062         * sunrpc/clnt_gen.c: Likewise.
1063         * sunrpc/clnt_perr.c: Likewise.
1064         * sunrpc/clnt_raw.c: Likewise.
1065         * sunrpc/clnt_simp.c: Likewise.
1066         * sunrpc/clnt_tcp.c: Likewise.
1067         * sunrpc/clnt_udp.c: Likewise.
1068         * sunrpc/get_myaddr.c: Likewise.
1069         * sunrpc/getrpcport.c: Likewise.
1070         * sunrpc/pm_getmaps.c: Likewise.
1071         * sunrpc/pm_getport.c: Likewise.
1072         * sunrpc/pmap_clnt.c: Likewise.
1073         * sunrpc/pmap_prot.c: Likewise.
1074         * sunrpc/pmap_prot2.c: Likewise.
1075         * sunrpc/pmap_rmt.c: Likewise.
1076         * sunrpc/rpc/auth.h: Likewise.
1077         * sunrpc/rpc/clnt.h: Likewise.
1078         * sunrpc/rpc/pmap_clnt.h: Likewise.
1079         * sunrpc/rpc/svc.h: Likewise.
1080         * sunrpc/rpc/svc_auth.h: Likewise.
1081         * sunrpc/rpc/types.h: Likewise.
1082         * sunrpc/rpc/xdr.h: Likewise.
1083         * sunrpc/rpc_clntout.c: Likewise.
1084         * sunrpc/rpc_cmsg.c: Likewise.
1085         * sunrpc/rpc_dtable.c: Likewise.
1086         * sunrpc/rpc_prot.c: Likewise.
1087         * sunrpc/svc.c: Likewise.
1088         * sunrpc/svc_auth.c: Likewise.
1089         * sunrpc/svc_authux.c: Likewise.
1090         * sunrpc/svc_raw.c: Likewise.
1091         * sunrpc/svc_run.c: Likewise.
1092         * sunrpc/svc_simple.c: Likewise.
1093         * sunrpc/svc_tcp.c: Likewise.
1094         * sunrpc/svc_udp.c: Likewise.
1095         * sunrpc/xdr.c: Likewise.
1096         * sunrpc/xdr_array.c: Likewise.
1097         * sunrpc/xdr_mem.c: Likewise.
1098         * sunrpc/xdr_rec.c: Likewise.
1099         * sunrpc/xdr_ref.c: Likewise.
1100         * sunrpc/xdr_stdio.c: Likewise.
1101
1102 1997-03-25 13:39  Ulrich Drepper  <drepper@cygnus.com>
1103
1104         * math/libm-test.c (log2_test): Compile this function and call it.
1105         (exp2_test): Likewise, but check whether function really exists
1106         before testing.
1107
1108         * math/Makefile (libm-calls): Add s_log2 and s_exp2.
1109
1110 1997-03-25 04:50  Ulrich Drepper  <drepper@cygnus.com>
1111
1112         Implement exp2 function.
1113         * sysdeps/libm-i387/s_exp2.S: New file.
1114         * sysdeps/libm-i387/s_exp2f.S: New file.
1115         * sysdeps/libm-i387/s_exp2l.S: New file.
1116
1117         Implement log2 function.
1118         * sysdeps/libm-i387/s_log2.S: New file.
1119         * sysdeps/libm-i387/s_log2f.S: New file.
1120         * sysdeps/libm-i387/s_log2l.S: New file.
1121         * sysdeps/libm-ieee754/s_log2.c: New file.
1122         * sysdeps/libm-ieee754/s_log2f.c: New file.
1123         * sysdeps/stub/s_log2.c: New file.  Stub version.
1124
1125 1997-03-24 19:58  Richard Henderson  <rth@tamu.edu>
1126
1127         * stdlib/tst-strtol.c (tests): Correct 64-bit entry.
1128
1129         * sysdeps/alpha/bsd-_setjmp.S: Alias _setjmp to __setjmp for
1130         change to tst-setjmp.c.
1131
1132         * sysdeps/alpha/dl-machine.h: Mirror Roland's recent changes.
1133         * sysdeps/i386/dl-machine.h: Correct noexec_p comment.
1134         * sysdeps/sparc/dl-machine.h: Likewise.
1135
1136         * sysdeps/libm-ieee754/s_remquo.c: Rename {hp,lp} -> {hy,ly}.
1137         Add missing qs variable.
1138         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
1139
1140 1997-03-25 02:15  Ulrich Drepper  <drepper@cygnus.com>
1141
1142         * gmon/gmon.c: Optimize a bit by using more sets of records to
1143         write in a single writev call.
1144
1145         * math/math.h: Add definitions of macros __MATHCALLX and __MATHDECLX.
1146         * math/mathcalls.h: Use __MATHCALLX for fabs, infnan, copysign,
1147         nan, isnan, nextafter, trunc, __fpclassify and signbit to mark as
1148         `const'.
1149         Use __MATHDECLX for isinf and finite.
1150
1151         * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make
1152         clearenv a weak alias.
1153
1154         Implement complex exponential function.
1155         * sysdeps/libm-ieee754/s_cexp.c: New file.
1156         * sysdeps/libm-ieee754/s_cexpf.c: New file.
1157         * sysdeps/libm-ieee754/s_cexpl.c: New file.
1158
1159         * sysdeps/libm-ieee754/s_nan.c: Define function as __nan and make
1160         nan a weak alias.
1161         * sysdeps/libm-ieee754/s_nanf.c: Likewise for nanf.
1162         * sysdeps/libm-ieee754/s_nanl.c: Likewise for nanl.
1163
1164         * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because
1165         of type clashes.  Add all definitions here.
1166
1167         * sysdeps/unix/sysv/linux/shmat.c: Likewise.  Correct types according
1168         to XPG4.2.
1169         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
1170         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1171
1172         * sysvipc/sys/shm.h (shmat, shmdt): Correct types.
1173
1174         * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid
1175         use of kernel types.
1176
1177 1997-03-25 00:00  Ulrich Drepper  <drepper@cygnus.com>
1178
1179         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp):
1180         Correct typos.  Reported by a sun <asun@zoology.washington.edu>.
1181
1182 1997-03-20 21:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1183
1184         * sysdeps/libm-ieee754/s_asinhl.c: Fix sign of result.
1185
1186 1997-03-20 16:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1187
1188         * sysdeps/libm-ieee754/e_atan2l.c: Fix typo.
1189
1190 1997-03-20 14:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1191
1192         * sysdeps/m68k/fpu/__math.h (__logb, logb): Don't define.
1193         * sysdeps/m68k/fpu/s_logb.c: Removed.
1194         * sysdeps/m68k/fpu/s_logbf.c: Removed.
1195         * sysdeps/m68k/fpu/s_logbl.c: Removed.
1196
1197         * sysdeps/m68k/fpu/__math.h (__ieee754_atan2, __ieee754_pow):
1198         Don't define here.
1199         * sysdeps/m68k/fpu/e_atan2.c: Rewritten.
1200         * sysdeps/m68k/fpu/e_pow.c: Likewise.
1201         * sysdeps/m68k/fpu/e_atan2f.c: Based on e_atan2.c.
1202         * sysdeps/m68k/fpu/e_atan2l.c: Likewise.
1203         * sysdeps/m68k/fpu/e_powf.c: Based on e_pow.c.
1204         * sysdeps/m68k/fpu/e_powl.c: Likewise.
1205
1206         * sysdeps/m68k/fpu/s_log2.c: New file.
1207         * sysdeps/m68k/fpu/s_log2f.c: New file.
1208         * sysdeps/m68k/fpu/s_log2l.c: New file.
1209         * sysdeps/m68k/fpu/s_exp2.c: New file.
1210         * sysdeps/m68k/fpu/s_exp2f.c: New file.
1211         * sysdeps/m68k/fpu/s_exp2l.c: New file.
1212
1213 1997-03-20 14:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1214
1215         * Makeconfig (all): Make sure this is always the default goal.
1216
1217 1997-03-20 11:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1218
1219         * math/libm-test.c: Increase epsilon in many places.  Fix many
1220         typos.  Allow optinal argument also for short option.
1221
1222 1997-03-20 11:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1223
1224         * math/Makefile ($(objpfx)$(tests)): Link against libm.
1225
1226 1997-03-24 23:14  Ulrich Drepper  <drepper@cygnus.com>
1227
1228         * sysdeps/libm-ieee754/s_fpclassifyl.c: Correct recognition of
1229         denormalized numbers.
1230
1231         * sysdeps/i386/huge_val.h: Remove references to byte order macros.
1232         Don't include <endian.h>.
1233
1234 1997-03-19 15:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1235         * sysdeps/m68k/huge_val.h: Remove references to byte order macros.
1236         Don't include <endian.h>.
1237
1238 1997-03-24 23:09  Ulrich Drepper  <drepper@cygnus.com>
1239
1240         * inet/rcmd.c (iruserok): Use access instead of euidaccess.
1241
1242 1997-03-15 18:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1243
1244         * math/cmathcalls.h: Remove whitespace before function name in use
1245         of __MATHDECL macro, to make it compilable with a traditional
1246         preprocessor.
1247
1248 1997-03-24 15:31  Ulrich Drepper  <drepper@cygnus.com>
1249
1250         * configure.in: Use AC_PROG_CC instead of AC_PROG_TOOL to find
1251         compiler.
1252
1253 1997-03-24 02:34  Ulrich Drepper  <drepper@cygnus.com>
1254
1255         * sysdeps/libm-ieee754/s_finitel.c (__finitel): Shift return value
1256         by 31 positions to get 0/1 result.
1257         Patch by Joe Keane <jgk@jgk.org>.
1258
1259 1997-03-23 12:15  H.J. Lu  <hjl@gnu.ai.mit.edu>
1260
1261         * posix/getopt.c (__getopt_nonoption_flags): Make it extern
1262         to prevent from ld linking in getopt.o even if there is another
1263         incompatible one.
1264
1265         * posix/getopt_init.c (__getopt_nonoption_flags): Remove extern.
1266
1267 1997-03-23 23:30   Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1268
1269         * nis/nis_call.c (__do_niscall): Print message if cold start file
1270         does not exist.
1271         * nis/nis_file.c: Don't print error messages.
1272         * nis/nis_local_name.c (nis_local_host): Fix pointer errors.
1273         * nis/rpcsvc/ypclnt.h: Fix copyright and prototypes.
1274         * nis/rpcsvc/nis.h: Likewise.
1275         * nis/ypclnt.c: Fix prototypes.
1276
1277 1997-03-24 01:36  Ulrich Drepper  <drepper@cygnus.com>
1278
1279         * sysdeps/libm-i387/e_scalb.S: Pop additional result before
1280         returning.
1281         * sysdeps/libm-i387/e_scalbf.S: Likewise.
1282         * sysdeps/libm-i387/e_scalbl.S: Likewise.
1283         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
1284
1285         * elf/rtld.c (dl_main): Set main_map->l_opencount to 1 also if
1286         dynamic linker was called implicitly by the kernel.
1287         Reported by Eric Youngdale <eric@andante.jic.com>.
1288
1289         * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c,
1290         CFLAGS-test-longdouble.c): New variables.  Set to -fno-inline to
1291         prevent clever optimizations which corrupt the tests.
1292
1293 1997-03-23 21:33  Andreas Jaeger  <aj@arthur.pfalz.de>
1294
1295         * math/libm-test.c (scalb_test): New function.
1296         (sqrt_test): New function.
1297         (scalbn_test): New function.
1298         (ilogb_test): New function.
1299         (main): Added calls for new test functions.
1300         (ldexp_test): Add another test for ldexp(x,0).
1301
1302 1997-03-23 12:35  Andreas Jaeger  <aj@arthur.pfalz.de>
1303
1304         * math/libm-test.c (remquo_test): Correct messages so that they
1305         match the tests.
1306         (copysign_test): Likewise.
1307
1308 1997-03-23 16:28  Ulrich Drepper  <drepper@cygnus.com>
1309
1310         * stdio-common/Makefile (routines): Add printf_size.
1311
1312         * stdio-common/printf.h: Add declarations for printf_size and
1313         printf_size_info.
1314
1315         * stdio-common/printf-parse.h (__printf_arginfo_table): Correct
1316         declaration.
1317         (parse_one_spec): Test whether __printf_function_table is not NULL
1318         before using registered handlers and don't test
1319         __printf_arginfo_table.  Update nargs also when handler is
1320         registered.
1321
1322         * stdio-common/vfprintf.c (vfprintf): Count number of specifiers
1323         processed in fast loop.
1324
1325         * stdio-common/printf_size: New file.
1326
1327 1997-03-23 02:11  Ulrich Drepper  <drepper@cygnus.com>
1328
1329         * time/sys/time.h: Make values ITIMER_* also available as macros.
1330
1331         * elf/dl-support.c (_dl_sysdep_read_whole_file): Don't call
1332         __fstat but instead __fxstat directly to avoid dependency on
1333         libc.a when inline failed.
1334         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): Likewise.
1335
1336         * math/Makefile (libm-routines): Add s_remquo.
1337         * sysdeps/libm-i387/s_remquo.S: New file.
1338         * sysdeps/libm-i387/s_remquof.S: New file.
1339         * sysdeps/libm-i387/s_remquol.S: New file.
1340         * sysdeps/libm-ieee754/s_remquo.c: New file.
1341         * sysdeps/libm-ieee754/s_remquof.c: New file.
1342         * sysdeps/libm-ieee754/s_remquol.c: New file.
1343
1344         * math/libm-test.c (remquo_test): New function.
1345
1346         * sysdeps/libm-ieee754/s_rintl.c: Handle implicit leading one
1347         correctly.
1348
1349 1997-03-22 14:06  Ulrich Drepper  <drepper@cygnus.com>
1350
1351         * math/Makefile (libm-calls): Add s_nan.
1352         * sysdeps/libm-ieee754/s_nan.c: New file.  Implement `nan' function.
1353         * sysdeps/libm-ieee754/s_nanf.c: New file.  Implement `nanf' function.
1354         * sysdeps/libm-ieee754/s_nanl.c: New file.  Implement `nanl' function.
1355
1356         * math/libm-test.c (basic_tests): Add tests for `nan' function.
1357
1358         * math/libm-test.c (copysign_test): New function.
1359         (main): Call copysign_test.
1360
1361 1997-03-22 06:28  Ulrich Drepper  <drepper@cygnus.com>
1362
1363         * sysdeps/libm-ieee754/s_nextafter.c: Return y if x == y.
1364         * sysdeps/libm-ieee754/s_nextafterf.c: Likewise.
1365         * sysdeps/libm-ieee754/s_nextafterl.c: Likewise.
1366         * sysdeps/libm-i387/s_nextafterl.c: Likewise.
1367
1368         * math/libm-test.c (fdim_test, fmin_test, fmax_test, nextafter_test):
1369         New functions.  Test these functions.
1370         (main): Call above new functions.
1371
1372 1997-03-22 04:53  Ulrich Drepper  <drepper@cygnus.com>
1373
1374         * Net release 2.0.2.
1375
1376 1997-03-22 04:37  Ulrich Drepper  <drepper@cygnus.com>
1377
1378         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Define as alias for
1379         XTABS.
1380         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
1381         * termios/sys/ttydefaults.h: Partly revert patch by Andreas Schwab
1382         of Sun Dec 15 16:33:44 1996.
1383         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
1384
1385 1997-03-21 13:41  Roland McGrath  <roland@baalperazim.frob.com>
1386
1387         * sysdeps/sparc/dl-machine.h (elf_machine_rel): Rewritten as for i386.
1388         Check here for non-SHN_UNDEF STB_LOCAL symbols don't do any lookup or
1389         consult their values.
1390         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
1391         ELF_MACHINE_RELOC_NOPLT): New macros.
1392
1393         * elf/rtld.c (dl_main): Pass ELF_MACHINE_RELOC_NOPLT to
1394         _dl_lookup_symbol in place of DL_LOOKUP_NOPLT.
1395         * sysdeps/i386/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): New macro.
1396
1397         * sysdeps/i386/dl-machine.h (elf_machine_rel): Rewritten to do the
1398         symbol lookup before checking reloc type except for R_386_RELATIVE.
1399         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p): New macros.
1400
1401         * elf/dl-reloc.c (RESOLVE): Remove STB_LOCAL check; let it be
1402         per-machine since it supposedly can't happen on i386.
1403
1404         * elf/dl-lookup.c (do_lookup): Change arg FLAGS to RELOC_TYPE.  Use
1405         elf_machine_lookup_{noexec,noplt}_p macros on it.  Remove gratuitous
1406         indirection from REF arg; change callers.
1407         (_dl_lookup_symbol, _dl_lookup_versioned_symbol): Change arg name.
1408         (_dl_lookup_symbol_skip, _dl_lookup_versioned_symbol_skip): Remove
1409         FLAGS arg altogether.
1410         * elf/dlsym.c: Remove argument of FLAGS parameter.
1411         * elf/dlvsym.c: Likewise.
1412         * elf/link.h: Update decls.
1413
1414 1997-03-21 20:55  Ulrich Drepper  <drepper@cygnus.com>
1415
1416         * Makefile (distribute): Add BUGS.
1417
1418         * sysdeps/generic/machine-gmon.h: Update copyright.
1419
1420         * sysdeps/i386/Makefile [$(subdir)=gmon] (sysdep_routines): Add
1421         i386-mcount.
1422         * sysdeps/i386/dl-machine.h [PROF] (_dl_runtime_resolve): Don't
1423         use regparam mechanism for call of `fixup' call.
1424         * sysdeps/i386/Dist: New file.
1425         * sysdeps/i386/i386-mcount.S: New file.  `mcount' entry point.
1426         * sysdeps/i386/machine-gmon.h: New file.  i386 specific version
1427         of gmon definitions.
1428
1429 1997-03-20 13:39  Andreas Jaeger  <aj@arthur.pfalz.de>
1430
1431         * stdlib/tst-strtol.c (main): Save the value of errno since printf
1432         may modify it, use the saved errno everywhere.
1433         * stdlib/tst-strtod.c (main): Likewise.
1434
1435 1997-03-21 05:54  Ulrich Drepper  <drepper@cygnus.com>
1436
1437         * posix/glob.c (glob): Fix completely broken handling of
1438         GLOB_BRACE and partly broken handling of GLOB_TILDE.
1439         Reported by Dennis Henriksen <opus@flamingo.osrl.dk>.
1440
1441 1997-03-20 20:22  Ulrich Drepper  <drepper@cygnus.com>
1442
1443         * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small
1444         UIO_FASTIOV value by multiple readv calls since we need atomicity.
1445         * sysdeps/unix/sysv/linux/writev.c: Likewise.
1446         Reported by Matthis Urlichs.
1447
1448 1997-03-20 04:34  Roland McGrath  <roland@baalperazim.frob.com>
1449
1450         * sysdeps/unix/sysv/linux/i386/sysdep.S (CALL_MCOUNT): Clear this
1451         macro so ENTRY(__syscall_error) doesn't insert a call to _mcount,
1452         which clobbers %eax.
1453
1454         * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for
1455         crtbegin.o/crtend.o, using gcc to find them.
1456         (+link): Use them.
1457
1458 1997-03-20 00:06  Richard Henderson  <rth@tamu.edu>
1459
1460         * gmon/sys/gmon.h: Revert the bulk of the 960930 changes, as they
1461         affect the alignment, and therefore the end padding of the structs.
1462         Reported by David Mosberger <davidm@azstarnet.com>.
1463         * gmon.c: Declare the variables with aligned tags to compensate.
1464         Use __writev instead of write for the I/O.
1465
1466         * misc/sys/uio.h: Declare __writev and __readv.
1467         * sysdeps/posix/readv.c: Rename and alias readv to __readv.
1468         * sysdeps/posix/writev.c: Likewise for writev.
1469         * sysdeps/stub/readv.c: Likewise.
1470         * sysdeps/stub/writev.c: Likewise.
1471         * sysdeps/unix/syscalls.list: Likewise.
1472         * sysdeps/unix/sysv/linux/readv.c: Likewise.
1473         * sysdeps/unix/sysv/linux/writev.c: Likewise.
1474
1475         * stdlib/testdiv.c: Exit with error status when we have an error.
1476         * sysdeps/alpha/div.S: Initialize `quotient' and `mask'.
1477         * sysdeps/alpha/ldiv.S: Likewise.
1478
1479         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit.
1480
1481 1997-03-20 14:51  Ulrich Drepper  <drepper@cygnus.com>
1482
1483         * nis/nis_file.c: Unify error handling.
1484
1485 1997-03-19 18:36  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1486
1487         * nis/nis_file.c (writeColdStartFile): Fix typo.
1488         * nis/nis_free.c (nis_free_endpoints): Use unsigned int.
1489         * nis/nis_free.c (nis_free_servers): Likewise.
1490         * nis/rpcsvc/nislib.h: Likewise.
1491
1492         * sunrpc/rpc/netdb.h: Add setrpcent and endrpcent prototypes.
1493
1494 1997-03-20 06:07  Ulrich Drepper  <drepper@cygnus.com>
1495
1496         * sysdeps/powerpc/dl-machine.h: Fix typo in last change.
1497
1498         * sysdeps/unix/sparc/sysdep.h: Update copyright.
1499
1500 1997-03-19 15:13  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1501
1502         * linuxthreads/sysdeps/sparc/pt-machine (RELEASE): Fix.
1503
1504         * stdlib/tst-strtol.c: Save the value of errno, printf may modify
1505         it.
1506
1507         * sysdeps/sparc/DEFS.h [HAVE_ELF]: Use type @function in the FUNC
1508         macro on ELF systems.
1509
1510         * sysdeps/sparc/configure.in: Fix.
1511
1512         * sysdeps/sparc/dl-machine.h: Fix OPCODE_CALL.
1513
1514         * sysdeps/sparc/setjmp.S: Fix my bugs.
1515
1516         * sysdeps/unix/sysv/linux/sparc/Dist: Add start.c, fork.S, and pipe.S.
1517         * sysdeps/unix/sysv/linux/sparc/Makefile: Define asm-CPPFLAGS and
1518         as-FLAGS-.so.
1519         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Add fork, pipe, and
1520         syscall.
1521         * sysdeps/unix/sysv/linux/sparc/fork.S: New file.
1522         * sysdeps/unix/sysv/linux/sparc/pipe.S: New file.
1523         * sysdeps/unix/sysv/linux/sparc/socket.S: Fix.
1524         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Fix.
1525
1526         * elf/dl-lookup.c (do_lookup): Return true if we found a weak
1527         symbol.
1528         (_dl_lookup_symbol): Test against the symbol being global not
1529         against the symbol being not weak (fixes important problem with
1530         the SPARC linker)
1531
1532         * sysdeps/unix/sysv/linux/sparc/brk.c: Fix.
1533
1534         * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for
1535         Linux/SPARC (while I get my asmCPPFLAGS-so variable).
1536
1537 1997-03-20 01:49  Ulrich Drepper  <drepper@cygnus.com>
1538
1539         * Makeconfig: (rpath-link): Add math/ directory.
1540         (math-objdir): New variable.
1541         (link-extra-lib): Define to special version when
1542         $(common-objpfx)!=$(objpfx) to allow libraries outside
1543         $(common-objpfx) be linked to the application.
1544
1545         * math/Makefile: Add rules to build and run test programs.
1546         * math/libm-test.c (_GNU_SOURCE): Define only if still undefined.
1547         (check_equal): Correct check for error.
1548         (ceil_test): Fix typo.
1549         (log_test): Fix typo.
1550         (floor_test): Fix typo.
1551         (pow_test): Fix typos.
1552         (log10_test): Allow slight incorrectness for `log10(e)'.
1553         (modf_test): New functions to test `modf' et.al.
1554         (hypot_test): Rewrite test completely.
1555         Patch partly by Andreas Jaeger.
1556         * math/test-double.h (__NO_MATH_INLINES): Define only if not
1557         already defined.
1558         * math/test-float.h: Likewise.
1559         * math/test-logdouble.h: Likewise.
1560
1561         * setjmp/setjmp.h: Change references of ANSI C to ISO C.
1562         * setjmp/tst-setjmp.c: Correct and extend test suite.
1563         * sysdeps/i386/__longjmp.S: Update copyright.
1564         * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to
1565         `__sigsetjmp' in PIC code.
1566         * sysdeps/i386/bsd-setjmp.S: Likewise.
1567
1568         * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa
1569         overflow.
1570         * sysdeps/libm-i387/e_powf.S: Likewise.
1571         * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special
1572         case since expm1(-0) == -0.
1573         * sysdeps/libm-i387/s_expm1f.S: Likewise.
1574         * sysdeps/libm-i387/s_expm1l.S: Likewise.
1575         * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded
1576         access to FP number.
1577         * sysdeps/libm-ieee754/s_modff.c: Likewise.
1578         * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus
1579         code.  It never worked correctly.
1580         * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special
1581         case since tanh(-0) == -0.
1582         * sysdeps/libm-ieee754/s_tanhf.c: Likewise.
1583         * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf.
1584
1585 1997-03-19 21:13  Ulrich Drepper  <drepper@cygnus.com>
1586
1587         * stdlib/strtod.c (STRTOL): Use wchar_t as type for `decimal' and
1588         `thousands' to support systems with sizeof(wchar_t) !=
1589         sizeof(wint_t).  Blargh.
1590
1591         * sysdeps/unix/sysv/linux/socketbits.h: Remove definition of
1592         SOL_IP, SOL_TCP, SOL_UDP, and SOL_IPX as they are defined in
1593         appropriate headers.
1594
1595         * sysdeps/unix/sysv/linux/writev.c: Don't use MAX_IOVEC.  Test for
1596         UIO_FASTIOV and set to 8 if not available.
1597         * sysdeps/unix/sysv/linux/readv.c: Likewise.
1598         Patch by HJ Lu.
1599
1600         * sysdeps/unix/sysv/linux/xstat.c: Include <kernel_stat.h>, not
1601         "kernel_stat.h".
1602         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1603         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
1604         Reported by fabsoft@fabsoft2.zarm.uni-bremen.de.
1605
1606 1997-03-19 01:40  Ulrich Drepper  <drepper@cygnus.com>
1607
1608         * sysdeps/unix/sysv/sco3.2.4/Dist: New file.
1609
1610         * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
1611
1612         * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrgid.c, and setruid.c.
1613
1614         * sysdeps/unix/sysv/Dist: Add direct.h.
1615
1616         * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
1617
1618         * Make-dist ($(tardir).tar): Prefer writing temporary file to
1619         $TMPDIR is available.  The default is /tmp.
1620
1621         * sysdeps/generic/ip.h: Move to...
1622         * sysdeps/generic/netinet/ip.h: ...here.
1623
1624         * Makefile (tests): Quote $(CC) argument to isomac program.
1625         Patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
1626
1627         * sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
1628         is placed in wrong place on the stack.
1629         Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
1630         * sysdeps/tst-setjmp.c: Add new test for above problem.
1631
1632         * sysdeps/libm-i387/e_pow.S: Compute PIC addres early.
1633         * sysdeps/libm-i387/e_powf.S: Likewise.
1634         * sysdeps/libm-i387/e_powl.S: Likewise.
1635
1636 1997-03-18 23:18  Ulrich Drepper  <drepper@cygnus.com>
1637
1638         * time/offtime.c (__offtime): Change type of `yg' to long int.
1639         Reported by a sun <asun@zoology.washington.edu>.
1640
1641 1997-03-18 23:08  a sun  <asun@zoology.washington.edu>
1642
1643         * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
1644         2.2.0 to prevent version mismatch.
1645
1646 1997-03-17 19:26  Andreas Jaeger  <aj@arthur.pfalz.de>
1647
1648         * stdio-common/printf_fphex.c (MIN): Only define MIN if not
1649         already defined.
1650
1651 1997-03-14 23:34  Geoff Keating  <geoffk@ozemail.com.au>
1652
1653         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Leave ioctl numbers
1654         in ioctls.h.
1655
1656         * elf/rtld.c (_dl_start): Call elf_machine_runtime_setup when the
1657         loader first relocates itself.
1658         * sysdeps/powerpc/elf/start.c (__start1): Fix bug for static objects.
1659         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Fix bugs in
1660         jump slot relocation. Prefer relative branches (some PowerPC chips
1661         don't predict absolute branches).
1662         (elf_machine_runtime_setup): Simplify and correct expressions.
1663         (RTLD_START): Fix bug changing _dl_starting_up.
1664         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Added. Deal with
1665         strange Linux/PPC padding of initial stack.
1666
1667 1997-03-11 04:14  Geoff Keating  <geoffk@ozemail.com.au>
1668
1669         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Increase NCCS to 39,
1670         for future expansion.
1671         * sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Added.
1672         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Explain why it
1673         can't have a switch statement.
1674         * sysdeps/powerpc/elf/start.c (__start1): Explain why it can't be
1675         static.
1676
1677         * sysdeps/powerpc/elf/start.c (_start): Use .previous to avoid
1678         confusing gcc's idea of the current section.
1679         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
1680         RTLD_START): Likewise.
1681
1682 1997-03-08 09:10  Geoff Keating  <geoffk@ozemail.com.au>
1683
1684         * sysdeps/powerpc/dl-machine.h (elf_machine_rela,
1685         elf_machine_runtime_setup): Flush data & instruction caches when
1686         necessary, for 603/604 support. Add better support for large PLTs.
1687         (elf_machine_rela): Remove relocations that wouldn't work if
1688         anyone ever used them. Use memcpy for copy reloc, it'll be safe.
1689         Never target branch relocations at a PLT entry.
1690
1691         * sysdeps/powerpc/bsd-setjmp.S: Make jump to PLT entry if we are
1692         generating PIC.
1693         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
1694         * sysdeps/powerpc/setjmp.S: Likewise.
1695         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
1696         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
1697         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
1698         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
1699
1700         * sysdeps/powerpc/elf/start.c: Clean up.
1701
1702         * sysdeps/powerpc/__longjmp.S: Return 'value' as result from
1703         setjmp call.
1704
1705         * sysdeps/unix/sysv/linux/powerpc/statbuf.h: New file.
1706
1707 1997-03-09 12:36  H.J. Lu  <hjl@gnu.ai.mit.edu>
1708
1709         * Make-dist (srcs): Add $(test-srcs).
1710         * MakeTAGS (all-sources): Likewise.
1711         * Makerules (depfiles, common-mostlyclean): Likewise.
1712         * Rules (tests): Likewise.
1713
1714 1997-03-18 05:28  Roland McGrath  <roland@frob.com>
1715
1716         * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols.
1717
1718 1997-03-17 21:39  Philip Blundell  <phil@london.uk.eu.org>
1719
1720         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
1721         protocol=NULL to match any protocol rather than returning an
1722         error.
1723
1724 1997-03-17 19:00  Philip Blundell  <phil@london.uk.eu.org>
1725
1726         * nss/nss_files/files-service.c (servbyname): Match any protocol
1727         if proto==NULL.
1728
1729 1997-03-18 05:17  Ulrich Drepper  <drepper@cygnus.com>
1730
1731         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
1732         * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
1733         Proposed by Thomas Bushnell, n/BSG.
1734
1735 1997-03-18 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
1736
1737         * sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
1738         the buffer for replacement.
1739
1740 1997-03-16 19:30  H.J. Lu  <hjl@gnu.ai.mit.edu>
1741
1742         * sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
1743         sys_lstat and sys_stat.
1744
1745 1997-03-17 12:43  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1746
1747         Add NIS+ functions
1748         * shlib-versions: Add libnss_nisplus.
1749         * nis/Makefile: Add NIS+ source files.
1750         * nis/nis_call.c: New file.
1751         * nis/nis_clone.c: New file.
1752         * nis/nis_error.c: New file.
1753         * nis/nis_file.c: New file.
1754         * nis/nis_free.c: New file.
1755         * nis/nis_intern.c: New file.
1756         * nis/nis_intern.h: New file.
1757         * nis/nis_local_names.c: New file.
1758         * nis/nis_names.c: New file.
1759         * nis/nis_print.c: New file.
1760         * nis/nis_server.c: New file.
1761         * nis/nis_subr.c: New file.
1762         * nis/nis_table.c: New file.
1763         * nis/nis_xdr.c: New file.
1764         * nis/nss-nisplus.h: New file.
1765         * nis/nss_nisplus/nisplus-alias.c: New file.
1766         * nis/nss_nisplus/nisplus-ethers.c: New file.
1767         * nis/nss_nisplus/nisplus-grp.c: New file.
1768         * nis/nss_nisplus/nisplus-hosts.c: New file.
1769         * nis/nss_nisplus/nisplus-netgrp.c: New file.
1770         * nis/nss_nisplus/nisplus-network.c: New file.
1771         * nis/nss_nisplus/nisplus-proto.c: New file.
1772         * nis/nss_nisplus/nisplus-publickey.c: New file.
1773         * nis/nss_nisplus/nisplus-pwd.c: New file.
1774         * nis/nss_nisplus/nisplus-rpc.c: New file.
1775         * nis/nss_nisplus/nisplus-service.c: New file.
1776         * nis/nss_nisplus/nisplus-spwd.c: New file.
1777         * nis/rpcsvc/nis.h: New file.
1778         * nis/rpcsvc/nis.x: New file.
1779         * nis/rpcsvc/nis_object.x: New file.
1780         * nis/rpcsvc/nis_tags.h: New file.
1781         * nis/rpcsvc/nislib.h: New file.
1782
1783 1997-03-17 12:52  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1784
1785         * mach/devstream.c (output/write_some): Don't try and write more
1786         than IO_INBAND_MAX in a single call to device_write_inband.
1787
1788 1997-03-17 04:00  Ulrich Drepper  <drepper@cygnus.com>
1789
1790         * sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
1791         type is SVID.
1792         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
1793         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
1794
1795         * sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
1796         FLAGS parameter.
1797
1798 1997-03-16 20:28  Philip Blundell  <phil@london.uk.eu.org>
1799
1800         * sysdeps/unix/sysv/linux/socketbits.h: Add more SOL_ values.
1801         Change msg_iovlen and msg_controllen (in struct msghdr) to
1802         `size_t' to keep in step with kernel.
1803
1804 1997-03-16 18:43  Ulrich Drepper  <drepper@cygnus.com>
1805
1806         * manual/filesys.texi: Add documentation for scandir and alphasort.
1807         * manual/examples/dir2.c: New example for scandir.
1808
1809         * math/math.c (fpclassify): Correct stupid typos.
1810
1811         * math/libm-test.c: New file.  libm test suite by Andreas Jaeger.
1812         * math/test/float.c: New file.  Frontend for float tests.
1813         * math/test/double.c: New file.  Frontend for double tests.
1814         * math/test/longdouble.c: New file.  Frontend for long double  tests.
1815
1816         * posix/Makefile (routines): Add bsd-getpgrp.
1817         * posix/bsd-getpgrp.c: New file.
1818         * posix/unistd.h [__FAVOR_BSD]: Define macro getpgrp which maps
1819         calls to __bsd_getpgrp.
1820
1821         * sysdeps/generic/getpgrp.c: De-ANSI-declfy.
1822
1823         * sysdeps/i386/huge_val.h: New file.  ix87 specific infinity values.
1824         * sysdeps/m68k/huge_val.h: New file.  m68k specific infinity values.
1825         * sysdeps/ieee754/huge_val.h: Remove definition of long double
1826         definition.  Make it the same as the double definition.
1827
1828         * sysdeps/libm-i387/e_acos.S: Fix bug in FPU stack handling.
1829         * sysdeps/libm-i387/e_acosf.S: Likewise.
1830         * sysdeps/libm-i387/e_acosl.S: Likewise.
1831         * sysdeps/libm-i387/e_asin.S: Likewise.
1832         * sysdeps/libm-i387/e_asinf.S: Likewise.
1833         * sysdeps/libm-i387/e_asinl.S: Likewise.
1834         * sysdeps/libm-i387/e_exp.S: Likewise.
1835         * sysdeps/libm-i387/e_expf.S: Likewise.
1836         * sysdeps/libm-i387/e_expl.S: Likewise.
1837         * sysdeps/libm-i387/s_scalbn.S: Likewise.
1838         * sysdeps/libm-i387/s_scalbnf.S: Likewise.
1839         * sysdeps/libm-i387/s_scalbnl.S: Likewise.
1840
1841         * sysdeps/libm-i387/e_log.S: Optimize branch code.
1842         * sysdeps/libm-i387/e_logf.S: Likewise.
1843         * sysdeps/libm-i387/e_logl.S: Likewise.
1844         * sysdeps/libm-i387/e_log10.S: Likewise.
1845         * sysdeps/libm-i387/e_log10f.S: Likewise.
1846         * sysdeps/libm-i387/e_log10l.S: Likewise.
1847
1848         * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases.
1849         * sysdeps/libm-i387/e_powf.S: Likewise.
1850         * sysdeps/libm-i387/e_powl.S: Likewise.
1851
1852         * sysdeps/libm-i387/s_expm1.S: Change return value for -inf
1853         argument to -1.0.
1854         * sysdeps/libm-i387/s_expm1f.S: Likewise.
1855         * sysdeps/libm-i387/s_expm1l.S: Likewise.
1856
1857         * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf.
1858
1859         * sysdeps/libm-i387/s_logbl.S: Correct return value.  Discard first
1860         stack element after fxtract.
1861
1862         * sysdeps/libm-ieee754/e_atan2l.c: New file.  `long double'
1863         implementation for atan2 function.
1864
1865         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
1866         _SVID_ mode when acos, asin, atan2, log, log10 is called with
1867         argument out of range.
1868         Add new error case for pow(+0,neg).
1869
1870         * sysdeps/libm-ieee754/s_fpclassifyf.c: Correct recognition of
1871         NaN and +-inf.
1872         * sysdeps/libm-ieee754/s_fpclassifyl.c: Mask out explicit leading
1873         digit in stupid 80 bit formats.
1874
1875         * sysdeps/libm-ieee754/s_isinf.c: Rewrite to return -1 for -inf.
1876         * sysdeps/libm-ieee754/s_isinff.c: Likewise.
1877         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
1878
1879         * sysdeps/libm-ieee754/s_scalbnl.c (huge, tiny): Adapt values for
1880         long double type.
1881
1882         * sysdeps/libm-ieee754/w_atan2.c: Do not raise exception expect when
1883         in SVID mode.
1884         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
1885         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
1886
1887         * sysdeps/libm-ieee754/w_pow.c: Distinguish error cases for x is +0
1888         or -0.
1889         * sysdeps/libm-ieee754/w_powf.c: Likewise.
1890         * sysdeps/libm-ieee754/w_powl.c: Likewise.
1891
1892         * sysdeps/posix/isfdtype.c: Add cast to prevent warning.
1893
1894         * sysdeps/stub/fcntlbits.h: Update copyright.
1895         * sysdeps/unix/bsd/fcntlbits.h: Likewise.
1896         * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
1897         * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
1898         * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
1899         * sysdeps/unix/common/fcntlbits.h: Likewise.
1900         * sysdeps/unix/sysv/fcntlbits.h: Likewise.  Define O_FSYNC as alias
1901         of O_SYNC.  Add BSD compatibility macros FAPPEND, FFSYNC, FNONBLOCK,
1902         and FNDELAY.
1903         * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
1904
1905         * sysdeps/unix/readdir_r.c: Don't copy whole `struct dirent' record,
1906         only reclen bytes.
1907
1908         * sysdeps/unix/sysv/linux/fcntlbits.h [__USE_GNU]: Add O_READ, O_WRITE
1909         and O_NORW.
1910         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
1911
1912         * sysdeps/unix/sysv/linux/init-first.h: Add copyright.
1913
1914         * sysdeps/unix/sysv/linux/fxstat.c: New file.  Rewrite kernel-level
1915         struct stat to user-level form.
1916         * sysdeps/unix/sysv/linux/lxstat: New file.
1917         * sysdeps/unix/sysv/linux/xstat: New file.
1918         * sysdeps/unix/sysv/linux/kernel_stat.h: Define struct stat used in
1919         kernel.
1920         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Change definition
1921         to use prescribed types for elements.
1922         (_STAT_VER): Change to value 3.
1923         * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
1924         * sysdeps/unix/sysv/linux/Dist: Add kernel_stat.h.
1925         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
1926
1927         * time/Makefile: Correct dependencies for test-tz.
1928
1929 1997-03-16 14:59  Philip Blundell  <phil@london.uk.eu.org>
1930
1931         * resolv/netdb.h: Add prototypes for gai_strerror and getnameinfo
1932         (needed for IPv6 basic sockets API).
1933
1934 1997-03-16 15:02  a sun  <asun@zoology.washington.edu>
1935
1936         * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible
1937         kernel header.
1938         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
1939
1940 1997-03-14 17:15  Ulrich Drepper  <drepper@cygnus.com>
1941
1942         * db/hash/hash_bigkey.c (__big_delete): Don't call __free_ovflpage
1943         without testing for last_bfp to be NULL.
1944         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
1945
1946 1997-03-13 11:42  Jim Meyering  <meyering@asic.sc.ti.com>
1947
1948         * time/mktime.c (TIME_T_MIN): Work around a bug in Cray C 5.0.3.0.
1949
1950 1997-03-14 04:00  Kurt Garloff  <garloff@kg1.ping.de>
1951
1952         * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC.
1953         (FASYNC): Move to __USE_BSD section.  Create new macro O_ASYNC.
1954
1955 1997-03-14 02:50  Ulrich Drepper  <drepper@cygnus.com>
1956
1957         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): New
1958         functions.  Compare result for correct address type.
1959         (_nss_nis_gethostbyname_r): Use _nss_nis_gethostbyname2_r.
1960         * nss/nss_files/files-hosts.c: Likewise.
1961         Reported by Mirko Streckenbach <mirko@marian.hil.de>.
1962
1963 1997-02-17 01:40  Zlatko Calusic  <zcalusic@srce.hr>
1964
1965         * time/strptime.c (recursive): Return rp to caller.
1966         (strptime_internal): First check for long names, then abbreviated
1967         (month & weekday).
1968
1969 1997-03-10 19:44  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1970
1971         * Makeconfig: Remove useless definitions of ASFLAGS-%.
1972         * config.make.in (ASFLAGS-.so): Remove.
1973         * configure.in: Don't substitute ASFLAGS_SO.
1974         * sysdeps/sparc/configure.in: Remove file.
1975         * sysdeps/sparc/Makefile (ASFLAGS-.so): Define.
1976
1977 1997-03-11 17:00  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1978
1979         * time/strptime.c (strptime_internal) [case 'Y']: Always subtract
1980         1900 from year, regardless of century.
1981
1982 1997-03-12 05:43  Ulrich Drepper  <drepper@cygnus.com>
1983
1984         * stdlib/strtod.c (_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make
1985         all numbers unsigned to make buggy gccs happy.
1986         Patch by Bryan W. Headley <bheadley@interaccess.com>.
1987
1988         * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility
1989         definitions.  Patch by a sun <asun@zoology.washington.edu>.
1990         Pretty print header.
1991
1992         * Makerules (build-shlib): Also create symlink if library is versioned.
1993         Based on a patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
1994         Remove special rule to libc.so symlink.
1995
1996 1997-03-11 20:16  Andreas Jaeger  <aj@arthur.pfalz.de>
1997
1998         * manual/math.texi (Domain and Range Errors): Change descriptions
1999         according to recent changes for ISO C 9X.
2000
2001 1997-03-11 22:39  Ulrich Drepper  <drepper@cygnus.com>
2002
2003         * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct
2004         return values for acos, asin, and atan2.
2005         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
2006
2007 1997-03-10 18:16 Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2008
2009         * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow.
2010
2011 1997-03-10 18:06  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
2012
2013         * dirent/alphasort.c (alphasort): Interpret arguments as pointers
2014         to pointers to directory entries so that alphasort really can be
2015         used as argument for scandir.
2016
2017 1997-03-09 23:33  Andreas Jaeger  <aj@arthur.pfalz.de>
2018
2019         * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS)
2020         instead of strcpy.
2021
2022 1997-03-10 03:34  Ulrich Drepper  <drepper@cygnus.com>
2023
2024         * catgets/catgets.c (catopen): Always add NLSPATH to search path for
2025         catalogs, not only if the envvar NLSPATH is not available.
2026         Reported by Andries.Brouwer@cwi.nl.
2027
2028 1997-03-10 02:46  Ulrich Drepper  <drepper@cygnus.com>
2029
2030         * Makeconfig (localtime-file): Don't define using installation
2031         directory.
2032         (inst_localtime-file): New variable.
2033         * time/Makefile (installed-localtime-file): Use inst_localtime-file.
2034         Reported by Edward Seidl <seidl@janed.com>.
2035
2036 1997-03-10 02:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
2037
2038         * time/Makefile: Add source files to dependencies for test data.
2039
2040 1997-03-09 22:53  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
2041
2042         * nis/nss_nis/nis-ethers.c: Don't ignore return value of yp_all.
2043         * nis/nss_nis/nis-proto.c: Likewise.
2044         * nis/nss_nis/nis-rpc.c: Likewise.
2045         * nis/nss_nis/nis-service.c: Likewise.
2046
2047 1997-03-08 14:37  Miguel de Icaza  <miguel@nuclecu.unam.mx>
2048
2049         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Upgrade to
2050         versioning;  Added missing R_SPARC_WDISP30 handling.
2051         (RTLD_START): Implement it.
2052
2053         * sysdeps/unix/sysv/linux/sparc/brk.c: Fix.
2054
2055         * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for
2056         Linux/SPARC.
2057
2058 1997-03-02 18:06  Miguel de Icaza  <miguel@nuclecu.unam.mx>
2059
2060         * sysdeps/sparc/dl-machine.h (RTLD_START): Make arg as expected by
2061         the dynamic linker instead of having a new conditional define.
2062         Thanks to Richard Henderson for pointing this out.
2063         * elf/rtld.c: Remove usage of ELF_ADJUST_ARG.
2064
2065 1997-03-20 20:44  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2066
2067         * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make
2068         euidaccess weak alias.
2069
2070 1997-03-07 10:30  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2071
2072         * stdio-common/printf_fphex.c (MIN): New macro.
2073
2074         * sysdeps/generic/netinet/in.h: Include <sys/types.h>.
2075
2076         * sysdeps/generic/sys/mman.h (msync): Mention third arg.
2077
2078         * sysdeps/generic/netinet/in.h: Add definitions for IPv6 basic
2079         API.  (See change by Philip Blundell on Feb 16, 1997.)
2080
2081 1997-03-05 10:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2082
2083         * hurd/hurd.h (vpprintf): Include <stdarg.h>.  New declaration.
2084
2085         * hurd/set-host.c (_hurd_set_host_config): Cast second arg to
2086         __file_name_split.
2087
2088         * mach/mach_error.c (mach_error_string_int): Give full prototype.
2089         * mach/errstring.c (mach_error_string_int): Likewise.
2090         * mach/error_compat.c (__mach_error_map_compat): Likewise.
2091         * hurd/vpprintf.c (pwrite, vpprintf): Likewise.
2092         * stdio/vasprintf.c (vasprintf): Likewise.
2093
2094         * mach/mach/mach_traps.h: Include <mach/kern_return.h>.
2095
2096         * mach/spin-solid.c: Include <mach/mach_traps.h>.
2097         * mach/spin-solid.c (__spin_lock_solid): Provide arg to
2098         swtch_pri.
2099
2100         * mach/mach_init.c: Include <mach/mig_support.h>.
2101
2102         * mach/mach_error.h (mach_error_string, mach_error,
2103         mach_error_type): Always provide prototypes.
2104
2105         * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it
2106         appears to be entirely unused dead code.
2107
2108 1997-03-02 13:38  Miles Bader  <miles@gnu.ai.mit.edu>
2109
2110         * string/argz.h (__need_error_t): New macro, before including <errno.h>
2111         [!__const] (__const): New macro.
2112         [!__error_t_defined] (error_t): New typedef.
2113
2114 1997-03-09 06:59  Ulrich Drepper  <drepper@cygnus.com>
2115
2116         * Makeconfig: Add ASFLAGS-% flags for SPARC assembler which need
2117         -fPIC.
2118         * Makerules (compile.S): Use ASFLAGS-%.
2119         (COMPILE.S): Likewise.
2120         * config.make.in (ASFLAGS-.so): Define from ASFLAGS_SO.
2121         * configure.in: Substitute ASFLAGS_SO.
2122         * sysdeps/sparc/configure.in: New file.
2123
2124         * posix/unistd.h: Add prototype for __euidaccess.
2125         * sysdeps/posix/euidaccess.c: Define as __euidaccess and make
2126         euidaccess weak alias.
2127         * sysdeps/stub/euidaccess.c: Likewise.
2128         * inet/rcmd.c: Use __ protected versions of non-standard functions.
2129
2130         * locale/setlocale.c (setlocale): Don't set usage_count to
2131         MAX_USAGE_COUNT if it already has this value.
2132
2133         * locale/programs/localedef.c: Don't use LOCALE_PATH to find
2134         binary locale files.  Use LOCALEDIR only.
2135         * locale/programs/locfile.c: When named file not found and not
2136         absolute use path in I18NPATH.
2137
2138         * stdlib/Makefile (headers): Add inttypes.h.
2139         * sysdeps/wordsize-32/inttypes.h: New file.
2140         * sysdeps/wordsize-64/inttypes.h: New file.
2141
2142         * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL
2143         and AF_FILE as synonym for AF_LOCAL.
2144         * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
2145
2146         * time/Makefile: Rewrite rules for test to handle parallel builds.
2147
2148 1997-03-09 05:26  Ulrich Drepper  <drepper@cygnus.com>
2149
2150         * manual/startup.texi (EXIT_FAILURE): Fix typo.  Patch by
2151         robbe@orcus.priv.at.
2152
2153 1997-03-09 05:10  Edward Seidl  <seidl@janed.com>
2154
2155         * sysdeps/i386/elf/start.S (nofini): *Really* align stack to
2156         8-byte boundary.
2157
2158 1997-03-09 01:48  Ulrich Drepper  <drepper@cygnus.com>
2159
2160         * elf/link.h: Define __need_NULL to get definition.  Include
2161         <features.h>.
2162         Patch by Andreas Jaeger  <aj@arthur.pfalz.de>.
2163
2164 1997-03-08 21:48  Thorsten Kukuk  <kukuk@tk.uni-paderborn.de>
2165
2166         Rewrite NIS code to allow empty keys.
2167         * nis/nss_nis/nis-ethers.c: Rewritten.
2168         * nis/nss_nis/nis-proto.c: Rewritten.
2169         * nis/nss_nis/nis-publickey.c: Rewritten.
2170         * nis/nss_nis/nis-rpc.c: Rewritten.
2171         * nis/nss_nis/nis-service.c: Rewritten.
2172
2173 1997-03-08 16:02  Andreas Jaeger  <aj@arthur.pfalz.de>
2174
2175         * time/scheck.c (scheck): Add extra const to second argument.
2176
2177         * time/private.h: Correct prototypes to match definition.
2178
2179 1997-03-08 18:55  Ulrich Drepper  <drepper@cygnus.com>
2180
2181         * sysdeps/alpha/__math.h: Remove cabs inline definition.
2182         Reported by Philip Blundell <pjb27@cam.ac.uk>.
2183
2184 1997-03-08 05:30  Ulrich Drepper  <drepper@cygnus.com>
2185
2186         * argp/Makefile (routines): Add argp-eexst.
2187         * argp/argp-ba.c (argp_program_bug_address): Make `const'.
2188         * argp/argp-eexst.c: New file.  Define exit status variable.
2189         * argp/argp-help.c (__argp_state_help): Use argp_err_exit_status
2190         variable instead of always exiting with value 1.
2191         * argp/argp-pv.c (argp_program_version): Make `const'.
2192         * argp/argp.h: Declare argp_err_exit_status.
2193         Patches by Miles Bader <miles@gnu.ai.mit.edu>.
2194
2195         * locale/programs/localedef.c: Use argp_err_exit_status to
2196         terminate with correct value.
2197
2198         * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted
2199         switching of UID before opening .rhosts.
2200
2201         * libio/vsnprintf.c: Change implementation to follow ISO C 9X
2202         proposal.  The return value now is always the number of characters
2203         which would be written if enough space is available.
2204         * manual/stdio.texi: Update description for new behaviour.
2205
2206         * locale/locale.h (__locale_t): Don't use __locale_t for struct
2207         name and pointer to struct since old gccs cannot keep the namespaces
2208         apart.  Rename struct to __locale_struct.
2209         * locale/duplocale.h: Likewise.
2210         * locale/newlocale.h: Likewise.
2211
2212         * math/Makefile (headers): Add complex.h and cmathcalls.h.
2213         (routines): Remove w_cabs.  Add conj, cimag, creal, and cabs.
2214         * math/math.h: Undefine __MATHDECL_1, __MATHDECL, and __MATHCALL
2215         after use.
2216         (signgam): Move declaration to here from mathcalls.h.
2217         * math/mathcalls.h (cabs, __cabs_complex, signgam): Remove definition.
2218         Correct comment for fmin and fmax.
2219         Start implementing complex math function from ISO C 9X.
2220         * math/complex.h: New file.
2221         * math/cmathcalls.h: New file.
2222         * math/cabs.c: New file.
2223         * math/cabsf.c: New file.
2224         * math/cabsl.c: New file.
2225         * math/cimag.c: New file.
2226         * math/cimagf.c: New file.
2227         * math/cimagl.c: New file.
2228         * math/conj.c: New file.
2229         * math/conjf.c: New file.
2230         * math/conjl.c: New file.
2231         * math/creal.c: New file.
2232         * math/crealf.c: New file.
2233         * math/creall.c: New file.
2234         * sysdeps/libm-ieee754/w_cabs.c: Removed.
2235         * sysdeps/libm-ieee754/w_cabsf.c: Removed.
2236         * sysdeps/libm-ieee754/w_cabsl.c: Removed.
2237
2238         * posix/regex.c: Merge with regex sources from Arnold Robbins'
2239         version in GNU awk.
2240         * posix/regex.h: Likewise.
2241
2242         Add regex test suite by Tom Lord.
2243         * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h.
2244         (tests): Add runtests.
2245         (before-compile): Add testcases.h.
2246         (testcases.h): New rule to generate header with tests.
2247         * posix/TESTS: New file.
2248         * posix/TESTS2C.sed.: New file.
2249         * posix/runtests.c: New file.
2250         * posix/testcases.h: New file.
2251
2252         * sysdeps/unix/sysv/linux/poll.c: Test whether poll syscall is
2253         available and use fall-back implementation if not.
2254
2255         * sysdeps/unix/sysv/linux/syscalls.list: Sort entries.
2256
2257         * time/ialloc.c: Update from tzcode1997c.
2258         * time/private.h: Likewise.
2259         * time/scheck.c: Likewise.
2260         * time/tzselect.ksh: Likewise.
2261         * time/zdump.c: Likewise.
2262         * time/zic.c: Likewise.
2263
2264         * time/tzfile.c: Pretty print.
2265
2266 1997-03-06 07:37  Geoff Keating  <geoffk@ozemail.com.au>
2267
2268         Port to powerpc-*-linux-gnu.  Slightly tested, under MkLinux,
2269         on a 601.
2270
2271         * sysdeps/powerpc/Implies: Added.
2272         * sysdeps/powerpc/__longjmp.S: Added.
2273         * sysdeps/powerpc/__math.h: Added.
2274         * sysdeps/powerpc/bsd-_setjmp.S: Added.
2275         * sysdeps/powerpc/bsd-setjmp.S: Added.
2276         * sysdeps/powerpc/dl-machine.h: Added.
2277         * sysdeps/powerpc/ffs.c: Added.
2278         * sysdeps/powerpc/fpu_control.h: Added.
2279         * sysdeps/powerpc/jmp_buf.h: Added.
2280         * sysdeps/powerpc/setjmp.S: Added.
2281         * sysdeps/powerpc/strlen.S: Added.
2282         * sysdeps/powerpc/elf/start.c: Added.
2283         * sysdeps/powerpc/fpu_control.h: Added.
2284         * sysdeps/powerpc/jmp_buf.h: Added.
2285
2286         * sysdeps/unix/sysv/linux/powerpc/Dist: Added.
2287         * sysdeps/unix/sysv/linux/powerpc/_exit.S: Added.
2288         * sysdeps/unix/sysv/linux/powerpc/brk.c: Added.
2289         * sysdeps/unix/sysv/linux/powerpc/clone.S: Added.
2290         * sysdeps/unix/sysv/linux/powerpc/init-first.h: Added.
2291         * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Added.
2292         * sysdeps/unix/sysv/linux/powerpc/profil.c: Added.
2293         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Added.
2294         * sysdeps/unix/sysv/linux/powerpc/socket.S: Added.
2295         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Added.
2296         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Added.
2297         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Added.
2298         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Added.
2299         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Added.
2300
2301 1997-03-05 05:24  Geoff Keating  <geoffk@ozemail.com.au>
2302
2303         * elf/dl-runtime.c (fixup): Add ELF_FIXUP_RETURNS_ADDRESS switch,
2304         because knowing the first instruction of a PowerPC PLT trampoline
2305         is not very helpful.
2306
2307 1997-03-04 08:04  Geoff Keating  <geoffk@ozemail.com.au>
2308
2309         * elf/dl-load.c (ELF_PREFERRED_ADDRESS, ELF_PREFERRED_ADDRESS_DATA,
2310         ELF_FIXED_ADDRESS): Added. These are for dl-machine.h to indicate
2311         a preference as to where executables should be loaded.
2312
2313 1997-02-28 08:50  Geoff Keating  <geoffk@ozemail.com.au>
2314
2315         * elf/elf.h: Add in all those PowerPC reloc types.
2316
2317 1997-02-24 07:12  Geoff Keating  <geoffk@ozemail.com.au>
2318
2319         * stdio-common/vfscanf.c: Use __va_copy if available.
2320
2321 1997-03-06 13:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2322
2323         * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to
2324         clean up namespace.
2325
2326 1997-03-07 14:27  Ulrich Drepper  <drepper@cygnus.com>
2327
2328         * sysdeps/libm-ieee754/s_fpclassify.c (__fpclassify): Don't use
2329         non-existing GET_WORDS macro, use EXTRACT_WORDS.
2330         Reported by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
2331
2332 1997-03-07 05:27  Ulrich Drepper  <drepper@cygnus.com>
2333
2334         * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and
2335         kernel-level sigaction structure is different.  handle this
2336         correctly.
2337         Bug report by Andreas Jaeger <jaeger@informatik.uni-kl.de>.
2338
2339 1997-03-06 05:55  David Engel  <david@sw.ods.com>
2340
2341         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also
2342         recognize cache entries with flag == 3.
2343
2344 1997-03-06 01:05  Ulrich Drepper  <drepper@cygnus.com>
2345
2346         * sysdeps/generic/netinet/in.h (INADDR_NONE): Cast to unsigned int.
2347         (INADDR_LOOPBACK): Likewise.
2348         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
2349
2350         * manual/socket.texi: Correct types of INADDR_* constants from
2351         unsigned long to unsigned.
2352
2353 1997-03-05 23:14  Ulrich Drepper  <drepper@cygnus.com>
2354
2355         * time/antarctica: Update from tzdata1997c.
2356         * time/asia: Likewise.
2357         * time/zone.tab: Likewise.
2358
2359 1997-03-05 00:43  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2360
2361         * configure.in (libc_cv_asm_symver_directive,
2362         libc_cv_ld_version_script_option): Remove unknown instruction from
2363         assembler test file.
2364
2365 1997-03-04 19:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2366
2367         * sysdeps/m68k/fpu/__math.h: Update feature tests to use
2368         __USE_ISOC9X.
2369         [__USE_ISOC9X]: Define __log2 and __exp2 inlines.
2370         (fabs): Remove defininition, it is a gcc builtin.
2371         (sqrt, __sqrt): Remove definition, they have wrappers in libm.
2372
2373 1997-03-04 10:11  H.J. Lu  <hjl@lucon.org>
2374
2375         * sunrpc/Makefile ($(objpfx)rpc-proto.c): Create subdir before
2376         generating file.
2377
2378 1997-03-05 03:59  Ulrich Drepper  <drepper@cygnus.com>
2379
2380         * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline
2381         instead to avoid namespace problems.
2382         Reported by David Mosberger-Tang <davidm@AZStarNet.COM>.
2383
2384 1997-03-03 19:01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2385
2386         * login/utmp_file.c: Fix previous change.  Make portable by
2387         checking the _HAVE_UT_* feature macros.
2388
2389 1997-03-04 04:31  Ulrich Drepper  <drepper@cygnus.com>
2390
2391         * Makerules: Add rules to handle versioning.
2392         * config.h.in (DO_VERSIONING): New macro.
2393         * config.make.in (versioning): New variable.
2394         * configure.in: Add checks for .symver directive in gas and
2395         --version-script option to ld.  Define DO_VERSIONING and
2396         versioning if appropriate.
2397
2398         * math/Makefile (routines): Add s_signbit, s_fpclassify, s_fmax,
2399         s_fmin, and s_fdim.
2400         * math/math.h: Define ISO C 9X constants, macros and functions.
2401         * math/mathcalls.h: Likewise.
2402         * sysdeps/libm-ieee754/s_fdim.c: New file.
2403         * sysdeps/libm-ieee754/s_fdimf.c: New file.
2404         * sysdeps/libm-ieee754/s_fdiml.c: New file.
2405         * sysdeps/libm-ieee754/s_fmax.c: New file.
2406         * sysdeps/libm-ieee754/s_fmaxf.c: New file.
2407         * sysdeps/libm-ieee754/s_fmaxl.c: New file.
2408         * sysdeps/libm-ieee754/s_fmin.c: New file.
2409         * sysdeps/libm-ieee754/s_fminf.c: New file.
2410         * sysdeps/libm-ieee754/s_fminl.c: New file.
2411         * sysdeps/libm-ieee754/s_fpclassify.c: New file.
2412         * sysdeps/libm-ieee754/s_fpclassifyf.c: New file.
2413         * sysdeps/libm-ieee754/s_fpclassifyl.c: New file.
2414         * sysdeps/libm-ieee754/s_signbit.c: New file.
2415         * sysdeps/libm-ieee754/s_signbitf.c: New file.
2416         * sysdeps/libm-ieee754/s_signbitl.c: New file.
2417
2418         * stdio-common/printf_fphex.c: Correct printing of decimal point
2419         character.
2420         Simplify conversion of mantissa to string.
2421         * stdio-common/vfscanf.c: Handle %A format.
2422         Optimize termination of floating-point scanning.
2423         * stdio-common/tstscanf.c (main): Add new test to scanf to test
2424         scanning float values with given width.
2425         * stdlib/strtod.c: Add handling of floating-point numbers in
2426         hexadecimal notation.
2427
2428         * stdlib/stdlib.h: Use __USE_ISOC9X feature macro for new long long
2429         functions.
2430         Pretty print #if directives.
2431         * string/string.h: Pretty print #if directives.
2432
2433         * sysdeps/ieee754/dbl2mpn.c: Update copyright.
2434         * sysdeps/ieee754/ldbl2mpn.c: Likewise.
2435         * sysdeps/ieee754/mpn2dbl.c: Likewise.
2436         * sysdeps/ieee754/mpn2flt.c: Likewise.
2437         * sysdeps/ieee754/mpn2ldbl.c: Likewise.
2438
2439         * sysdeps/unix/sysv/linux/poll.c: Implement poll function by
2440         falling back to select-based implementation if syscall isn't
2441         available.
2442         * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
2443
2444         * time/leapseconds: Update from tzdata1997b.
2445         * time/zic.c: Update from tzcode1997b.
2446
2447 1997-03-01 15:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2448
2449         * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
2450         depedencies between installed $(tzlinks) and $(tzbases) files.
2451
2452 1997-03-01 14:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2453
2454         * math/math.h: Make compatible with traditional preprocessor;
2455         requires carefull placement of whitespace in macro arguments.
2456         Use __CONCAT instead of ##.
2457         Declare long double functions only if __STDC__ or __GNUC__.
2458         * math/mathcall.h: Avoid whitespace before argument of macro call
2459         that is used as function name.
2460
2461         * sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
2462         (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
2463         of __NO_M81_MATH_INLINES.
2464         [!__LIBC_M81_MATH_INLINES]: Don't define internal functions
2465         starting with __ieee754.
2466         [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
2467         functions as inlines.
2468         (__m81_defun): Put __attribute__ between return type and function
2469         name.
2470         * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
2471         is defined.
2472         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
2473         instead of __NO_M81_MATH_INLINES.
2474         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
2475         * sysdeps/m68k/fpu/k_cos.c: Likewise.
2476         * sysdeps/m68k/fpu/k_sin.c: Likewise.
2477         * sysdeps/m68k/fpu/k_tan.c: Likewise.
2478         * sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
2479         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
2480         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
2481         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
2482         * sysdeps/m68k/fpu/s_modf.c: Likewise.
2483         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
2484
2485 1997-02-27 21:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2486
2487         * Makefile (tests): Cope with $PATH not including the current
2488         directory.
2489
2490 1997-02-27 18:04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2491
2492         * sysdeps/unix/Makefile ($(common-objpfx)mk-local_lim): Use
2493         $(common-objdir-compile).
2494         ($(common-objpfx)make-ioctls): Likewise.
2495         (mk-local_lim-CFLAGS): Set this instead of local_lim-CFLAGS.
2496         ($(common-objpfx)sys/param.h): Use $(make-target-directory).
2497         ($(addprefix $(common-objpfx),$(sys/param.h-includes))):
2498         Likewise.
2499         ($(common-objpfx)sys/syscall.h): Likewise.
2500         ($(common-objpfx)local_lim.h): Let make deal with command
2501         failure.
2502         ($(common-objpfx)param.h.dep): Use temporary file and update
2503         target atomically.
2504         ($(common-objpfx)errnos): Avoid the Useless Use of cat Award.
2505         (include $(common-objpfx)param.h.dep): Ignore error.
2506
2507         * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Use
2508         $(common-objdir-compile).
2509         (mk-stdiolim-CFLAGS): Renamed from cded-objdir-includes, use
2510         $(shell pwd) instead of $$cwd.
2511
2512         * sysdeps/generic/Makefile ($(common-objpfx)det_endian): Use
2513         $(common-objdir-compile).
2514         ($(objpfx)make_siglist): Use $(native-compile).
2515         (make_siglist-CFLAGS): New variable.
2516
2517         * Makerules (ALL_BUILD_CFLAGS): Renamed from BUILD_CFLAGS, leaving
2518         the old name for the user to pass additional flags to the host
2519         compiler.  Fix reference to config header.
2520         (native-compile, common-objdir-compile): Rewritten to make more
2521         generally usable.
2522         * sysdeps/unix/sysv/sysv4/solaris2/Makefile: Set ALL_BUILD_CFLAGS
2523         instead of BUILD_CFLAGS.
2524
2525         * sysvips/sys/ipc.h: Warn if needed feature select macro are not
2526         defined.
2527
2528 1997-02-27 17:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2529
2530         * sunrpc/Makefile ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c):
2531         New rules to generate dependencies for the RPC service objects.
2532
2533 1997-02-27 16:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2534
2535         * argp/argp-parse.c (parser_finalize): Always set *END_INDEX if
2536         supplied.
2537
2538 1997-02-28 03:27  Ulrich Drepper  <drepper@cygnus.com>
2539
2540         * stdlib/strtod.c (STRTOF): Make sure return value is large enough
2541         so that clearing second word is necessary.
2542
2543         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
2544         header since it is wrong for 64 bit systems.
2545         Patch by a sun <asun@zoology.washington.edu>.
2546
2547 1997-02-27 10:34:11  Richard Henderson  <rth@tamu.edu>
2548
2549         * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
2550         and OSF/1 style brk syscalls.  We may want to change Linux/Alpha
2551         for the benefit of running foreign binaries.
2552
2553 1997-03-01 20:21  Miles Bader  <miles@gnu.ai.mit.edu>
2554
2555         * login/utmp_file.c (pututline_file): Correctly decide whether
2556         LAST_ENTRY matches DATA.
2557         Don't depend on ut_id ever being set.
2558         (proc_utmp_eq): New function.
2559         (internal_getut_r): Renamed from internal_getutid_r.
2560         Use proc_utmp_eq.
2561
2562         * login/logout.c (logout): Change type of entry to be DEAD_PROCESS.
2563
2564 1997-02-25 19:42  Miles Bader  <miles@gnu.ai.mit.edu>
2565
2566         * sysdeps/mach/hurd/fcntlbits.h (O_NORW): New macro.
2567
2568 1997-02-27 05:12  Ulrich Drepper  <drepper@cygnus.com>
2569
2570         * manual/Makefile: Add rules to run and distribute xtract-typefun.
2571         * manual/xtract-typefun.awk: New file.  Script to extract function,
2572         variable, macro anchor to put into the `dir' file.
2573         * manual/signal.texi: Document difference between SysV and BSD
2574         signal(3) function and add documentation for sysv_signal.
2575
2576         * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing
2577         exponent before comparing.
2578
2579 1997-02-27 01:13  Ulrich Drepper  <drepper@cygnus.com>
2580
2581         * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change
2582         prototypes to use types with explicit width.  `unsigned long' is
2583         different on 64 bit systems.
2584         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
2585         * sysdeps/generic/htonl.c: Likewise.
2586         * sysdeps/generic/htons.c: Likewise.
2587         * sysdeps/generic/ntohl.c: Likewise.
2588         * sysdeps/generic/ntohs.c: Likewise.
2589         Suggested by a sun <asun@zoology.washington.edu>.
2590
2591 1997-02-26 08:30  Andreas Jaeger  <aj@arthur.pfalz.de>
2592
2593         * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not
2594         defined and we want optimization.
2595
2596 1997-02-02 19:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2597
2598         * misc/getpass.c: Don't disable canonical input.
2599         Reverted patch of Mon Jan  6 01:35:29 1997.
2600
2601 1996-12-14 22:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2602
2603         * libio/libioP.h (_IO_finish_t): Take additional parameter, to
2604         match the hidden __in_chrg parameter of the destructor.
2605         (_IO_FINISH): Pass zero for it.
2606         * libio/genops.c (_IO_default_finish): Add second parameter, which
2607         is ignored.
2608         * libio/memstream.c (_IO_mem_finish): Likewise.
2609         * libio/fileops.c (_IO_file_finish): Likewise.
2610         * libio/strops.c (_IO_str_finish): Likewise.  All callers changed.
2611
2612 1997-02-27 00:23  H.J. Lu  <hjl@lucon.org>
2613
2614         * time/Makefile: Avoid using patterns in dependencies.
2615
2616 1997-02-26 00:56  Miguel de Icaza  <miguel@nuclecu.unam.mx>
2617
2618         * elf/rtld.c: Make _dl_start static.  Otherwise the linker on the
2619         SPARC will convert the call _dl_start into a call into the PLT.
2620
2621         * elf/rtld.c (_dl_start): On the SPARC we need to adjust the value
2622         of arg to make it point to the actual values.
2623
2624         * sysdeps/sparc/elf/DEFS.h: New ELF specific version.
2625         * sysdeps/sparc/Dist: Mention sysdeps/sparc/elf/DEFS.h.
2626
2627         * sysdeps/sparc/bsd-_setjmp.S, sysdeps/sparc/bsd-setjmp.S: Make
2628         them PIC aware.
2629
2630         * sysdeps/sparc/dl-machine.h (elf_machine_load_address):
2631         Implemented.
2632         (elf_machine_rela): Make it compile; fix existing relocation
2633         types; add unhandled relocation types.
2634         (ELF_ADJUST_ARG): Get pointer to arguments at program startup.
2635         (RTLD_START): Initial implementation, not yet finished.
2636
2637         * sysdeps/sparc/elf/start.S: Fix.
2638
2639         * sysdeps/sparc/fpu_control.h: Remove duplicate declaration of
2640         __setfpucw.
2641
2642         * sysdeps/sparc/divrem.m4: Make compilable under Linux.
2643         * sysdeps/sparc/rem.S, sysdeps/sparc/sdiv.S, sysdeps/sparc/udiv.S,
2644         sysdeps/sparc/urem.S : Regenerated.
2645
2646         * sysdeps/sparc/setjmp.S: Make it PIC aware.
2647
2648         * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Define
2649         __ASSEMBLY__ before using kernel header.
2650
2651         * sysdeps/unix/sysv/linux/sparc/Makefile: Use -mv8 flag to compile
2652         rtld.c.
2653
2654         * sysdeps/unix/sysv/linux/sparc/brk.c: Implement.
2655         * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Remove code
2656         to handle old signals.
2657         * sysdeps/unix/sysv/linux/sparc/sigaction.c: Implements sigaction
2658         for all Linux/SPARC kernels.
2659         * sysdeps/unix/sysv/linux/sparc/syscall.S: Add code to store
2660         errno using __errno_location.
2661         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Add various handler
2662         macros for assembler sources.
2663         * sysdeps/unix/sysv/linux/sparc/errno.c: Define errno.
2664
2665 1997-02-25 16:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2666
2667         * elf/rtld.c (dl_main): Remove dead code that is never executed.
2668         Rename local variable l to main_map where it is used to point to
2669         the load_map for the executable.
2670
2671 1997-02-25 15:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2672
2673         * elf/dl-version.c (_dl_check_all_versions): Ignore libraries that
2674         could not be found.
2675
2676 1997-02-24 23:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2677
2678         * Makerules: Generate implicit object suffix rules automagically.
2679         (o-iterator): Move before first use.
2680
2681         * Makeconfig (all-object-suffixes): Add .bo suffix.
2682
2683 1997-02-25 15:11  Ulrich Drepper  <drepper@cygnus.com>
2684
2685         * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct
2686         word on stack for overflow.
2687
2688 1997-02-24 23:05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2689
2690         * malloc/malloc.c (malloc_get_state): New function.
2691         Saves global malloc state to an opaque data structure which
2692         is dynamically allocated in the heap.
2693         * malloc/malloc.c (malloc_set_state): New function.
2694         Restore previously obtained state.
2695         * malloc/malloc.h: Add declaration of malloc_get_state()
2696         and malloc_set_state().
2697
2698 1997-02-24 23:27  Ulrich Drepper  <drepper@cygnus.com>
2699
2700         * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right
2701         position.
2702
2703 1997-02-24 17:38  Ulrich Drepper  <drepper@cygnus.com>
2704
2705         * misc/error.c: Make error and error_at_line weak aliases of
2706         __error and __error_at_line respectively.
2707         Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>.
2708
2709         * sysdeps/unix/sysv/linux/i386/socket.S: Update copyright.
2710
2711 1997-02-22 11:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2712
2713         * elf/ldd.bash.in: Run the program directly, not as argument
2714         to the dynamic linker, if it contains an interpreter segment.
2715         * elf/ldd.sh.in: Likewise.
2716
2717         * elf/rtld.c (dl_main): In verify mode check whether the dynamic
2718         object contains an interpreter segment and exit with 2 if not.
2719
2720 1997-02-23 01:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2721
2722         * Makefile (distribute): Remove nsswitch.h, netgroup.h, mcheck.h
2723         and xlocale.h.  Make-dist adds them automagically.
2724
2725 1997-02-22 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2726
2727         * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for
2728         time-era-num-entries.
2729
2730 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2731
2732         * rellns-sh: No need to check for existance of first parameter.
2733
2734 1997-02-24 15:20  Jonathan T. Agnew  <jtagnew@amherst.edu>
2735
2736         * glibcbug.in: Don't mention destination on MAIL_AGENT command line
2737         to avoid duplicate mail.
2738
2739 1997-02-24 03:51  Ulrich Drepper  <drepper@cygnus.com>
2740
2741         * Makefile (distribute): Add isomac.c.
2742         (tests): Run isomac test.
2743
2744         * features.h (__USE_ISOC9X): New macro.
2745
2746         * catgets/catgets.c: Don't use global variable `optind'.  Instead
2747         use result computed by argp_parse.
2748         * db/makedb: Likewise.
2749         * locale/programs/locale.c: Likewise.
2750         * locale/programs/localedef.c: Likewise.
2751
2752         * libio/stdio.h: Rewrite.  Make it more readable and add comments.
2753
2754         * libio/clearerr.c: Remove clearerr_locked alias.
2755         * libio/feof.c: Remove feof_locked alias.
2756         * libio/ferror.c: Remove feof_locked alias.
2757         * libio/fileno.c: Remove fileno_locked alias.
2758         * libio/fputc.c: Remove fputc_locked alias.
2759         * libio/getc.c: Remove getc_locked alias.
2760         * libio/getchar.c: Remove getchar_locked alias.
2761         * libio/iofflush.c: Remove fflush_locked alias.
2762         * libio/putc.c: Remove putc_locked alias.
2763         * libio/putc.c: Remove putchar_locked alias.
2764
2765         * stdio-common/printf_fp.c: When number is inifinity print INF
2766         or inf depending on case of specifier.  Same for NaN where NAN
2767         or nan is printed.  Specified in ISO C 9X.
2768
2769         * misc/sys/cdefs.h (__restrict): Define to empty string for now.
2770         * stdio/stdio.h: Add __restrict to prototypes where necessary.
2771         * libio/stdio.h: Likewise.
2772         * stdlib/stdlib.h: Likewise.
2773         * string/string.h: Likewise.
2774         * time/time.h: Likewise.
2775         * wcsmbs/wchar.h: Likewise.
2776
2777         * stdlib/strtod.c: Change to recognize INF, INFINITY, NAN, and
2778         NAN(...).
2779
2780         * sysdeps/ieee754/huge_val.h: Define HUGE_VALF and HUGE_VALL instead
2781         of HUGE_VALf and HUGE_VALL.
2782         * stdlib/strtof.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALF
2783         instead of HUGE_VALf.
2784         * wcsmbs/wcstof.c: Likewise.
2785         * stdlib/strtold.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALL
2786         instead of HUGE_VALl.
2787         * wcsmbs/wcstold.c: Likewise.
2788
2789         * sysdeps/posix/gai_strerror.c: Use size_t for counter variable to
2790         avoid warning.
2791
2792         * wcsmbs/Makefile (routines): Add wcscasecmp and wcsncase.
2793         * wcsmbs/wchar.h: Add prototypes for wcscasecmp and wcsncase.
2794         * wcsmbs/wcscasecmp.c: New file.
2795         * wcsmbs/wcsncase.c: New file.
2796
2797         * stdlib/strtol.c: Define wide character quad word functions as
2798         wcstoll and wcstoull and normal versions as strtoll and strtoull.
2799         * wcsmbs/wchar.h: Add prototypes for wcstoll and wcstoull.
2800         * wcsmbs/wcstoq: Renamed to wcstoll.c.
2801         * wcsmbs/wcstouq: Renamed to wcstoull.c.
2802         * wcsmbs/wcstoll.c: Renamed from wcstoq.c.  Make wcstoq a weak
2803         alias of wcstoll.
2804         * wcsmbs/wcstoull.c: Renamed from wcstouq.c.  Make wcstouq a weak
2805         alias of wcstoull.
2806         * wcsmbs/Makefile (routines): Replace wcstoq and wcstouq by
2807         wcstoll and wcstoull respectively.
2808         * stdlib/strtoq.c: Rename to strtoll.c.
2809         * stdlib/strtouq.c: Rename to strtoull.c.
2810         * stdlib/strtoll.c: Renamed from strtoq.c.  Make strtoq a weak
2811         alias of strtoll.
2812         * stdlib/strtoll.c: Renamed from strtouq.c.  Make strtouq a weak
2813         alias of strtoull.
2814         * stdlib/Makefile (routines): Replace strtoq and strtouq by
2815         strtoll and strtoull respectively.
2816         * stdio-common/vfscanf.c: Don't use __strtoq_internal and
2817         __strtouq_internal but instead __strtoll_internal and
2818         __strtoull_internal respectively.
2819         * stdlib/stdlib.h (strtoq): Use __internal_strtoll in inline version.
2820         (strtouq): Similar with __internal_strtoull.
2821         * wcsmbs/wchar.h (wcstoq): Use __internal_wcstoll in inline version.
2822         (wcstouq): Similar with __internal_wcstoull.
2823
2824 1997-02-23 04:38  Ulrich Drepper  <drepper@cygnus.com>
2825
2826         * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus
2827         sign in the strtouXX functions.  The results gets simply negated.
2828         * stdio-common/tstscanf.c: Add testcase for above case.
2829         * stdlib/tst-strtol.c: Correct tests.
2830
2831         * manual/stdio-fp.c: New file.  Generate output for example program
2832         in stdio.texi.
2833
2834         * stdio-common/Makefile (routines): Add printf_fphex.
2835         * stdio-common/vfprintf.c: Add handling of %a and %A specifier.
2836         * stdio-common/printf_fphex.c: New file.  Implement %a and %A
2837         specifier.
2838
2839 1997-02-22 03:01  Ulrich Drepper  <drepper@cygnus.com>
2840
2841         * sysdeps/unix/sysv/linux/timebits.h (CLK_TCK): Don't defined if
2842         __STRICT_ANSI__.
2843
2844         * math/math.h: Prevent definition of struct exception when using
2845         C++.  Use __exception instead.
2846
2847 1997-02-22 01:45  Ulrich Drepper  <drepper@cygnus.com>
2848
2849         * sysdeps/unix/syscalls.list: Dup takes only one argument.
2850         Reported by Greg McGary.
2851
2852 1997-02-21 00:22  Miles Bader  <miles@gnu.ai.mit.edu>
2853
2854         * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather
2855         than file_get_translator.
2856
2857         * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c
2858         (_cleanup): Use __fcloseall instead of fclose with a NULL stream.
2859
2860 1997-02-20 01:28  Miles Bader  <miles@gnu.ai.mit.edu>
2861
2862         * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root.
2863         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2864
2865 1997-02-19 13:56  Miles Bader  <miles@gnu.ai.mit.edu>
2866
2867         * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0
2868         but ADDR also == 0.
2869
2870         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for
2871         now instead of a weak extern, as some old programs expect it to be
2872         defined by ld.so.
2873
2874 1997-02-18 15:39  Miles Bader  <miles@gnu.ai.mit.edu>
2875
2876         * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias.
2877
2878         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max,
2879         __hurd_threadvar_stack_offset): Restore initialized versions, so
2880         startup works correctly.
2881
2882         * malloc/thread-m.h (mutex_trylock): Invert sense of return value.
2883
2884 1997-02-17 10:58  Miles Bader  <miles@gnu.ai.mit.edu>
2885
2886         * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock,
2887         not __mutex_try_lock.
2888         (tsd_setspecific): Cast DATA to (unsigned long) before storing.
2889         (tsd_getspecific): Case variable to (void *) before returning.
2890
2891         * hurd/hurdinit.c (__libc_argv): Remove extern.
2892         (__libc_argc): New variable.
2893
2894 1997-02-15 10:23  Miles Bader  <miles@gnu.ai.mit.edu>
2895
2896         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
2897         _HURD_THREADVAR_MALLOC.
2898         * malloc/thread-m.h
2899         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
2900         (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of
2901         __mutex_*.
2902         (mutex_t): Type removed & replaced by new macro.
2903         (tsd_key_t): Typedef to int instead of pthread_key_t.
2904         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
2905         (__pthread_initialize): New macro, work around assumption of pthreads.
2906         (tsd_keys_alloced): New static variable.
2907         <hurd/threadvar.h>: New include.
2908
2909         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern.
2910         (_S_msg_report_wait): Check to see if _hurd_itimer_thread is
2911         defined before using it.
2912
2913         * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc):
2914         Make extern.
2915         * hurd/hurdinit.c (__libc_argv): Make extern.
2916
2917         * hurd/getdport.c (_default_hurd_getdport_fn): New variable.
2918         (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn.
2919
2920         * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max,
2921         __hurd_threadvar_stack_offset,
2922         __hurd_threadvar_stack_mask): New variables.
2923         * hurd/hurdsig.c (__hurd_sigthread_stack_base,
2924         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
2925         New variables (moved here from hurdstartup.c).
2926         * hurd/hurdstartup.c (__hurd_sigthread_stack_base,
2927         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
2928         Variables removed (moved to hurdsig.c).
2929         (__hurd_threadvar_max, __hurd_threadvar_stack_offset,
2930         __hurd_threadvar_stack_mask): Variables removed.
2931         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
2932         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables,
2933         __hurd_threadvar_max, __hurd_threadvar_stack_offset,
2934         __hurd_threadvar_stack_mask): Variables removed.
2935
2936 1997-02-14 14:07  Miles Bader  <miles@gnu.ai.mit.edu>
2937
2938         * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
2939         Declare extern.
2940
2941         * malloc/thread-m.h
2942         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
2943         (mutex_t): Type removed.
2944         (mutex_t): New macro.
2945         (mutex_trylock): New macro.
2946         (__x_mutex_lock, __x_mutex_unlock): New functions.
2947         (mutex_lock, mutex_unlock): New macros, redefining the behavior of
2948         the cthread definitions.
2949         (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t.
2950         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
2951         (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed.
2952         (__pthread_initialize): New macro, work around assumption of pthreads.
2953
2954 1997-02-11 05:27  Ulrich Drepper  <drepper@cygnus.com>
2955
2956         * locale/weight.h (collate_rules): It's an u_int32_t array.
2957         (get_weight): Compute initial SLOT value correctly.
2958
2959 1997-02-24 17:06  Geoffrey Keating  <geoffk@discus.anu.edu.au>
2960
2961         * sysdeps/unix/sysv/linux/accept.S (NARGS): Describe number of
2962         arguments taken, for sysdeps/unix/sysv/linux/powerpc/socket.S.
2963         * sysdeps/unix/sysv/linux/bind.S: Likewise.
2964         * sysdeps/unix/sysv/linux/connect.S: Likewise.
2965         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2966         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2967         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2968         * sysdeps/unix/sysv/linux/listen.S: Likewise.
2969         * sysdeps/unix/sysv/linux/recv.S: Likewise.
2970         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2971         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2972         * sysdeps/unix/sysv/linux/send.S: Likewise.
2973         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2974         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2975         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2976         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2977         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2978
2979 1997-02-22 00:17  Ulrich Drepper  <drepper@cygnus.com>
2980
2981         * catgets/gencat.c: Change to use argp.
2982         * db/makedb: Likewise.
2983         * locale/programs/localedef.c: Likewise.
2984
2985         * locale/programs/locale.c: Little adjustment for better usage of
2986         argp.
2987
2988 1997-02-20 20:07  Greg McGary  <gkm@eng.ascend.com>
2989
2990         * Makeconfig: Add rules for libc with bounded pointers.
2991         * Makerules: Likewise.
2992         * config.make.in: Likewise.
2993         * configure.in: Likewise.
2994
2995 1997-02-21 10:41  Miles Bader  <miles@gnu.ai.mit.edu>
2996
2997         * argp.h (OPTION_NO_USAGE): New macro.
2998         * argp-help.c (usage_long_opt, usage_argful_short_opt,
2999         add_argless_short_opt): Implement OPTION_NO_USAGE.
3000
3001 1997-02-20 16:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3002
3003         * malloc/obstack.h: Fix typo.
3004
3005 1997-02-20 15:56  Miles Bader  <miles@gnu.ai.mit.edu>
3006
3007         * argp-fmtstream.c (__argp_fmtstream_update): Account for case
3008         where NEXTLINE points one past the end of the active buffer.
3009
3010         * argp-help.c <stddef.h>: New include.
3011         (__argp_failure): Only exit if STATE says it's ok.
3012         (print_header, hol_entry_help): Use UPARAMS fields rather than
3013         constants.
3014         (_help): Call fill_in_uparams if necessary.
3015         (struct hol_help_state): New type.
3016         (struct pentry_state): Add hhstate field.  Remove prev_entry &
3017         sep_groups fields.
3018         (hol_entry_help): Add HHSTATE parameter.  Remove prev_entry &
3019         sep_groups parameters.
3020         Suppress duplicate arguments if requested, and note the fact.
3021         (print_header, comma): Use PEST->hhstate fields.
3022         (hol_help): Add HHSTATE variable & pass to hol_entry_help.
3023         Remove LAST_ENTRY & SEP_GROUPS variables.
3024         If any suplicate arguments were suppressed, print explanatory note.
3025         (filter_doc): Replace PEST parameter with STATE.
3026         (struct uparams): New type.
3027         (uparams): New variable.
3028         (struct uparam_name): New type.
3029         (uparam_names): New variable.
3030         (fill_in_uparams): New function.
3031         (__argp_failure, __argp_error, __argp_state_help): Make STATE
3032         parameter const.
3033         * argp.h (argp_state_help, __argp_state_help, argp_usage,
3034         __argp_usage, argp_error, __argp_error, argp_failure,
3035         __argp_failure): Make STATE parameter const.
3036         (ARGP_KEY_HELP_DUP_ARGS_NOTE): New macro.
3037
3038         * argp.h (argp_program_bug_address): Make const.
3039
3040 1997-02-20 19:20  Ulrich Drepper  <drepper@cygnus.com>
3041
3042         * sysdeps/unix/mman/syscalls.list: Explain msync interface.
3043
3044 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
3045
3046         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
3047
3048 1997-02-20 14:44  Andreas Jaeger  <aj@arthur.pfalz.de>
3049
3050         * stdio-common/test-fseek.c: Remove temporary file, add
3051         copyright.
3052
3053 1997-02-20 17:51  Ulrich Drepper  <drepper@cygnus.com>
3054
3055         * sysdeps/generic/netinet/in.h: Protect contents using
3056         __BEGIN/END_DECLS.  Reported by a sun <asun@zoology.washington.edu>.
3057
3058         * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net.
3059         * inet/Makefile (headers): Remove net/ethernet.h.
3060         * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h.
3061         * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h.
3062
3063 1997-02-20 15:23  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
3064
3065         * nss/nsswitch.c (__nss_configure_lookup): Use correct test when
3066         searching in sorted array.
3067
3068 1997-02-20 01:24  Philip Blundell  <pjb27@cam.ac.uk>
3069
3070         * inet/getnameinfo.c: Change to use reentrant getXXbyYY functions
3071         and protect modification of global data.
3072
3073 1997-02-19 18:48  Miles Bader  <miles@gnu.ai.mit.edu>
3074
3075         * argp-parse.c (argp_default_parser): Set STATE->name for OPT_PROGNAME.
3076         (parser_init): Use the basename for PARSER->state.name.
3077         * argp-help.c (__argp_error, __argp_failure, __argp_state_help):
3078         Use PROGRAM_INVOCATION_SHORT_NAME instead of PROGRAM_INVOCATION_NAME.
3079
3080         * argp-parse.c (parser_init): Set PARSER->state.flags.
3081         Make check whether PARSER has the prog name in argv[0] at the
3082         proper place.
3083
3084 1997-02-19 23:34  Ulrich Drepper  <drepper@cygnus.com>
3085
3086         * locale/programs/ld-time.c (time_finish): t_fmt_ampm is optional.
3087         Use default value instead of printing a warning.
3088
3089         * nss/XXX-lookup.c: Add misssing explanation.
3090
3091 1997-02-19 19:14  Andreas Jaeger  <aj@arthur.pfalz.de>
3092
3093         * inet/in6_addr.c: Add missing braces.
3094
3095         * inet/getnameinfo.c: Include <arpa/inet.h>.
3096
3097         * sysdeps/posix/getaddrinfo.c: Include <arpa/inet.h>.
3098
3099 1997-02-19 11:46  Ulrich Drepper  <drepper@cygnus.com>
3100
3101         * string/strxfrm.c (STRCOLL): Correct handling of `position'
3102         levels with no non-IGNOREd element and handling of NUL byte.
3103         * string/strcoll.c (STRXFRM): Likewise.
3104         * locale/weight.h: Likewise.
3105
3106         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
3107
3108 1997-02-19 03:28  Miles Bader  <miles@gnu.ai.mit.edu>
3109
3110         * argp/argp-help.c: Add support for user provided filter of help
3111         messages.
3112         * argp/argp-parse.c: Likewise.
3113         * argp/argp.h: Likewise.
3114         * argp/argp-namefrob.h: Define __argp_input.
3115
3116         * argp/argp-test.c: Add example for filter.
3117
3118 1997-02-19 02:58  Ulrich Drepper  <drepper@cygnus.com>
3119
3120         * argp.h: New file.
3121         * locale/programs/locale.c: Switch to use argp.
3122
3123         * errno.h: Make it possible to get definition of error_t even
3124         after having errno.h already.
3125
3126         * elf/dl-hash.h: New file.  ELF hashing function.  Extracted
3127         from dl-lookup.c.
3128         * elf/dl-lookup.c (_dl_elf_hash): Remove definition.
3129
3130         * elf/dl-load.c: Rename _dl_does_name_match_p to _dl_name_match_p.
3131         * elf/dl-version.c: Likewise.
3132
3133         * elf/dl-lookup.c: Implement new versioning lookup scheme.
3134         * elf/dl-version.c (_dl_check_map_versions): Initialize new field
3135         in l_versions member.
3136
3137         * elf/dlvsym.c: Correct call of _dl_lookup_versioned_symbol_skip
3138         and _dl_lookup_versioned_symbol.
3139
3140         * elf/link.h: Rename hash_name_pair to struct r_found_version.
3141         * sysdeps/alpha/dl-machine.h: Likewise.
3142         * sysdeps/i386/dl-machine.h: Likewise.
3143         * sysdeps/m68k/dl-machine.h: Likewise.
3144         * sysdeps/mips/dl-machine.h: Likewise.
3145
3146         * intl/l10nflist.c: (_nl_make_l10nflist): Fix bug in computation of
3147         length of abs_filename.
3148
3149         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH.
3150
3151         * locale/programs/ld-monetary.c (monetary_add): Allow value 0
3152         in mon_grouping information.  This means no more grouping.
3153         * locale/programs/ld-numeric.c (numeric_add): Write value \377
3154         when seein value 0 in grouping information.
3155         * locale/programs/linereader.c (lr_close): Don't free fname since
3156         it might be used in error messages.
3157
3158         * locale/programs/locale.c: Check whether output of `locale -a'
3159         really is locale directory.  Also print locale aliases.
3160
3161         * misc/search.h (__action_fn_t): Parameters VALUE and LEVEL cannot
3162         be const.
3163
3164 1997-02-19 02:16  Ulrich Drepper  <drepper@cygnus.com>
3165
3166         * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Correct #defin to
3167         #define.  Reported by Rick Flower <FLOWER@sdvax2.sdd.TRW.COM>.
3168
3169 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
3170
3171         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
3172
3173 1997-02-19 01:02  Ulrich Drepper  <drepper@cygnus.com>
3174
3175         * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments.
3176         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
3177
3178         * sysdeps/stub/msync.c (msync): Add missing third parameter.
3179
3180 1997-02-19 00:29  Ulrich Drepper  <drepper@cygnus.com>
3181
3182         * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed
3183         additional argument.
3184
3185 1997-02-18 22:13  Ulrich Drepper  <drepper@cygnus.com>
3186
3187         * inet/net/ethernet.h: New file.
3188         * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility.
3189         * sysdeps/unix/sysv/linux/net/if_slip.h: New file.
3190         Contributed by a sun <asun@zoology.washington.edu>.
3191
3192         * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>.
3193         * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>.
3194         Reported by a sun <asun@zoology.washington.edu>.
3195
3196 1997-02-16 14:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3197
3198         * Makerules ((common-objpfx)distinfo-$(subdir)): Depend on sysdep
3199         makefiles which may change the distinfo variables.
3200
3201 1997-02-16 14:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3202
3203         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
3204         [$(subdir)=misc]: Add sys/quota.h.
3205         (sysdep_headers) [$(subdir)=inet]: Add netinet/udp.h.
3206
3207 1997-02-17 13:12  aleph1@dfw.net
3208
3209         * sunrpc/clnt_simp.c (callrpc): Prevent buffer overflow by using
3210         strncpy.
3211
3212 1997-02-18 03:28  Ulrich Drepper  <drepper@cygnus.com>
3213
3214         * stdio-common/bug10.c (main): Correct parameter.
3215
3216 1997-02-17 02:51  Ulrich Drepper  <drepper@cygnus.com>
3217
3218         * malloc/obstack.h: Add `extern "C"' protection.
3219         * posix/regex.h: Likewise.
3220         * io/ftw.h: Likewise.
3221         * misc/libgen.h: Likewise.
3222         * login/utmp.h: Likewise.
3223         * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
3224         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3225         * sunrpc/rpc/pmap_rmt.h: Likewise.
3226         * sunrpc/rpc/auth_des.h: Likewise.
3227         * elf/link.h: Likewise.
3228         Reported by HJ Lu.
3229
3230 1997-02-17 01:45  a sun  <asun@zoology.washington.edu>
3231
3232         Linux specific network headers.
3233         * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file.
3234         * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file.
3235         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file.
3236         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file.
3237         * sysdeps/unix/sysv/linux/netinet/igmp.h: New file.
3238         * sysdeps/unix/sysv/linux/netinet/icmp.h: New file.
3239         * sysdeps/unix/sysv/linux/netinet/ip.h: New file.
3240         * sysdeps/unix/sysv/linux/netinet/tcp.h: New file.
3241         * sysdeps/unix/sysv/linux/netipx/ipx.h: New file.
3242         * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file.
3243         * sysdeps/unix/sysv/linux/Dist: Add new network headers.
3244         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
3245         Add sys/quota.h.
3246         [$(subdir)=inet] (sysdep_headers): Add new network header.
3247
3248         * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes.
3249
3250         * inet/netinet/ip.h: Move to sysdeps/generic.
3251         * inet/netinet/tcp.h: Likewise.
3252         * sysdeps/generic/netinet/ip.h: Moved to here from inet/netinet.
3253         * sysdeps/generic/netinet/tcp.h: Likewise.
3254
3255 1997-02-17 01:18  Ulrich Drepper  <drepper@cygnus.com>
3256
3257         * misc/sys/syslog.h (prioritynames): Correct definition to use
3258         braces where necessary.
3259         (facilitynames): Likewise.
3260         Patch by Ronald F. Guilmette <rfg@monkeys.com>.
3261         Comment and beautify declarations.
3262
3263 1997-02-16 19:54 1997  Philip Blundell  <Philip.Blundell@pobox.com>
3264
3265         * inet/Makefile (routines): Add in6_addr, getnameinfo.
3266         * inet/getnameinfo.c: New file.  Implementation of getnameinfo()
3267         by Craig Metz.
3268         * inet/in6_addr.c: New file.  IPv6 addressing constants.
3269         * posix/Makefile (routines): Add gai_strerror.
3270         * resolv/netdb.h: Add more constants for IPv6 basic API.
3271         * sysdeps/posix/gai_strerror.c: New file.
3272         * sysdeps/stub/gai_strerror.c New file.
3273         * sysdeps/unix/sysv/linux/netinet/in.h: Add definitions for IPv6
3274         basic API.
3275
3276         * sysdeps/posix/getaddrinfo.c: Update from latest version by
3277         Craig Metz and use reentrant getXXbyYY functions.
3278
3279 1997-02-15 14:32 Andreas Jaeger  <aj@arthur.pfalz.de>
3280
3281         * argp/argp.h: Declare argp_program_version as const char.
3282         * argp/argp-test.c: Likewise
3283
3284         * stdlib/testrand.c (main): Declare main prototype.
3285         * stdlib/testdiv.c (main): Likewise.
3286         * string/testcopy.c (main): Likewise.
3287         * string/test-ffs.c (main): Likewise.
3288         * time/test_time.c (main): Likewise.
3289
3290         * locale/duplocale.c (__duplocale): Return result.
3291
3292 1997-02-16 03:54  Ulrich Drepper  <drepper@cygnus.com>
3293
3294         * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport.
3295         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
3296
3297         * nss/nss.h: Remove declaration of __nss_shlib_revision.
3298         * nss/nsswitch.c: Don't use NSS_SHLIB_VERSION macro.
3299
3300 1997-02-16 03:48  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
3301
3302         * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to
3303         _nss_nis_gethostton_r.
3304         (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r.
3305
3306 1997-02-15 22:37  Andy Berkheimer  <andy@tho.org>
3307
3308         * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before
3309         trying to resolv name as numeric IPv6 address.
3310         * nss/digits_dots.c: Likewise.
3311
3312 1997-02-15 04:51  Ulrich Drepper  <drepper@cygnus.com>
3313
3314         * locale/setlocale.c (setlocale): Don't try to be clever about
3315         unused locales.  When the existence of the locale files isn't
3316         tested the result of setlocale might be different.
3317
3318 1997-02-15 03:34  Ulrich Drepper  <drepper@cygnus.com>
3319
3320         * locale/setlocale.c (setlocale): Don't increment usage_count of
3321         new locale if it already has the value MAX_USAGE_COUNT (it might
3322         be the C locale data which is read-only).
3323
3324 1997-02-15 02:41  Miles Bader  <miles@gnu.ai.mit.edu>
3325
3326         * argp/argp-help.c: Gettextize sources.
3327         * argp/argp-parse.c: Likewise.
3328
3329 1997-02-13 22:32  Ulrich Drepper  <drepper@cygnus.com>
3330
3331         * features.h (__GLIBC_MINOR__): Bump to 1.
3332
3333         * xlocale.h: New file.  Wrapper around locale/xlocale.h.
3334         * Makefile (distribute): Add xlocale.h.
3335         * locale/Makefile (routines): Add ctype_l.
3336         * locale/ctype-extn.c: Update copyright. De-ANSI-declfy.
3337         Add __isblank_l, __toascii_l and __isascii_l.
3338         * ctype/ctype.h: Add definitions and declarations for *_l functions.
3339         * locale/Makefile (headers): Add xlocale.h.
3340         (routines): Add newlocale, duplocale, and freelocale.
3341         * locale/localeinfo.h (MAX_USAGE_COUNT): New macro.
3342         (struct locale_data): Add new fields mmaped and usage_count.
3343         Correct various declarations.
3344         * locale/C-collate.c: Define value for new fields mmaped and
3345         usage_count.
3346         * locale/C-ctype.c: Likewise.
3347         * locale/C-messages.c: Likewise.
3348         * locale/C-monetary.c: Likewise.
3349         * locale/C-numeric.c: Likewise.
3350         * locale/C-time.c: Likewise.
3351         * locale/loadlocale.c (_nl_load_locale): Initialize mmaped and
3352         usage_count fields.
3353         * locale/locale.h: Don't define locale_t here (moved to xlocale.h).
3354         Correct prototypes for __newlocale and __freelocale.
3355         Add prototype for __duplocale.
3356         * locale/findlocale.c (copy): Remove function.  Use __strdup instead.
3357         (_nl_remove_locale): New function.
3358         * locale/nl_langinfo.c: Don't declare locale_data objects as const.
3359         * locale/setlocale.c: Likewise.
3360         * locale/weight.h: Change for use with locale objects.
3361         * locale/xlocale.h: New file.  Define __locale_t type.
3362         * locale/newlocale.c: New file.  Create new locale object.
3363         * locale/freelocale.c: New file.  Destroy locale object.
3364         * locale/duplocale.c: New file.  Create copy of locale object.
3365         * stdlib/Makefile (routines): Add strfmon_l.
3366         * stdlib/monetary.h [__USE_GNU]: Declare __strfmon_l.
3367         * stdlib/strfmon.c: Add support for use in extended locale model.
3368         * stdlib/strfmon_l.c: New file.
3369         * string/Makefile (routines): Add strcoll_l and strxfrm_l.
3370         * string/strcoll.c: Change for use in extended locale model.
3371         * string/strxfrm.c: Likewise.
3372         * string/strcoll_l.c: New file.  Implement __strcoll_l function.
3373         * string/strxfrm_l.c: New file.  Implement __strxfrm_l function.
3374         * wcsmbs/Makefile (routines): Add wcscoll_l and wcsxfrm_l.
3375         * wcsmbs/wchar.h [__USE_GNU]: Declare wcscoll_l and wcsxfrm_l.
3376         * wcsmbs/wcscoll.c: Change for use in extended locale model.
3377         * wcsmbs/wcscoll_l.c: New file.  Implement __wcscoll_l function.
3378         * wcsmbs/wcsxfrm_l.c: New file.  Implement __wcsxfrm_l function.
3379         * wctype/Makefile (routines): Add wcextra, wcfuncs_l, iswctype_l,
3380         and towctrans_l.
3381         * wctype/cname-lookup.h: Prepare for use in extended locale model.
3382         * wctype/iswctype_l.c: New file.  Implement character classification
3383         functions for use with locale objects.
3384         * wctype/wctype.h: Declare functions for use with locale objects.
3385         * wctype/towctrans_l.c: New file.  Implement __towctrans_l function
3386         for use with locale objects.
3387         * wctype/wcfuncs_l.c: New file.  Implement wide character
3388         classification functions for use with locale objects.
3389         * wctype/wcextra.c: New file.  Implement real functions for
3390         non-standard classification functions.
3391
3392         * elf/ldd.bash.in: Don't use --data-relocs and --function-relocs
3393         parameters to ld.so.  Use environment variables.
3394         * elf/ldd.sh.in: Likewise.
3395         * elf/rtld.c: Remove handling of --data-relocs and --function-relocs
3396         options.  Instead read environment variables.
3397
3398         * elf/link.h (receiver_fct): Add new argument to take error code.
3399         * elf/dl-error.c (_dl_signal_error): Call receiver function with
3400         another argument.
3401
3402         * elf/dl-object.c (_dl_new_object): Create new object with list of
3403         names in l_libname member.
3404         * elf/dl-load.c (_dl_map_object_from_fd): Add name which was used to
3405         find to object to the list in the link_map variable.
3406         (_dl_map_object): Use _dl_does_name_match_p to compare with all
3407         available names of the object.
3408         Optimize handling of LD_LIBRARY_PATH a bit.
3409         * elf/rtld.c: Initialize l_libname member of _dl_rtld_map.
3410
3411         * elf/dl-lookup.c (_dl_elf_hash): Optimize function.
3412
3413         * elf/Makefile (routines): Add dl-version.
3414         * elf/link.h (hash_name_pair): New type.  Group pointer to string
3415         and its hash value.
3416         (struct link_map): Change l_libname member to be a list of names,
3417         not a single pointer to a name.
3418         Add new members l_nversions and l_versions.
3419         (_dl_does_name_match_p): New function to test for all names of an
3420         object.
3421         Add prototypes for new lookup and versioning functions.
3422         * elf/dl-lookup.c (do_lookup): Add new argument and handle case
3423         when versioned symbol is requested.
3424         (_dl_lookup_symbol): Call do_lookup with another argument.
3425         (_dl_lookup_symbol_skip): Likewise.
3426         (_dl_lookup_versioned_symbol): New function.  Handle lookup of
3427         versioned symbol.
3428         (_dl_lookup_versioned_symbol_skip): Likewise, similar to
3429         _dl_lookup_symbol_skip.
3430         * elf/dl-reloc.c (RESOLVE): Call _dl_lookup_versioned_symbol or
3431         _dl_lookup_symbol depending on availability of version information.
3432         * elf/dl-runtime.c (RESOLVE): Likewise.
3433         (fixup): Call elf_machine_relplt with additional argument to point
3434         to versioning information if available.
3435         * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
3436         * elf/dl-open.c (_dl_open): Call _dl_check_map_versions to check
3437         for correct versions.
3438         * elf/dl-version.c: New file.  Check library versions and extract
3439         version information for easier access.
3440         * elf/dlfcn.h [__USE_GNU]: Add prototype for dlvsym.
3441         * elf/dlvsym.c: New file.  Implementation of function similar to
3442         dlsym, but looks for versioned symbol.
3443         * elf/elf.h: Add types and macros for versioning.
3444         * elf/rtld.c (dl_main): Check availability of needed versions.
3445         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add additional
3446         argument for version information.  Call RESOLVE with additional
3447         argument.
3448         * sysdeps/i386/dl-machine.h: Likewise.
3449         * sysdeps/m68k/dl-machine.h: Likewise.
3450         * sysdeps/mips/dl-machine.h: Likewise.
3451
3452         * elf/dlerror.c: Change comment to align with guidelines.
3453         * elf/dlopen.c: Likewise.
3454         * elf/dlsym.c: Likewise.
3455
3456         * locale/programs/localedef.c: Implement --quiet option.
3457         * locale/programs/charset.h: Declare be_quiet variable.
3458         * locale/programs/locfile.h: Likewise.
3459         * locale/programs/charmap.c: Don't print warnings if quiet option
3460         was given.
3461         * locale/programs/ld-collate.c: Likewise.
3462         * locale/programs/ld-ctype.c: Likewise.
3463         * locale/programs/ld-messages.c: Likewise.
3464         * locale/programs/ld-monetary.c: Likewise.
3465         * locale/programs/ld-numeric.c: Likewise.
3466         * locale/programs/ld-time.c: Likewise.
3467         * locale/programs/locfile.c: Likewise.
3468
3469         * Makefile (subdirs): Add argp.
3470
3471         * catgets/catgets.c (catopen): Little code improvement.
3472
3473         * posix/execl.c: Remove restriction to 1024 arguments.
3474         * posix/execle.c: Likewise.
3475         * posix/execlp.c: Likewise.
3476
3477         * posix/getopt.c [_LIBC]: Define global objects with __ prefix
3478         and make regular names weak aliases.
3479         * posix/getopt1.c: Likewise.
3480         * posix/getopt.h [_LIBC]: Provide prototypes and declarations for
3481         __ protected forms.
3482
3483         * posix/unistd.h: Add prototype for __sleep.
3484         * sysdeps/mach/sleep.c: Make sleep weak alias of __sleep.
3485         * sysdeps/posix/sleep.c: Likewise.
3486         * sysdeps/stub/sleep.c: Likewise.
3487         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3488
3489         * ctype/ctype-info.c: Update copyright.
3490         * ctype/ctype.c: Likewise.
3491         * ctype/test_ctype.c: Likewise.
3492         * dirent/alphasort.c: Likewise.
3493         * dirent/list.c: Likewise.
3494         * gmon/bb_exit_func.c: Likewise.
3495         * grp/fgetgrent.c: Likewise.
3496         * grp/getgrent.c: Likewise.
3497         * grp/getgrent_r.c: Likewise.
3498         * grp/getgrgid.c: Likewise.
3499         * grp/getgrgid_r.c: Likewise.
3500         * grp/getgrnam.c: Likewise.
3501         * grp/getgrnam_r.c: Likewise.
3502         * hurd/alloc-fd.c: Likewise.
3503         * hurd/catch-exc.c: Likewise.
3504         * hurd/ctty-input.c: Likewise.
3505         * hurd/ctty-output.c: Likewise.
3506         * hurd/dtable.c: Likewise.
3507         * hurd/fchroot.c: Likewise.
3508         * hurd/fd-close.c: Likewise.
3509         * hurd/fd-read.c: Likewise.
3510         * hurd/fd-write.c: Likewise.
3511         * hurd/fopenport.c: Likewise.
3512         * hurd/get-host.c: Likewise.
3513         * hurd/getdport.c: Likewise.
3514         * hurd/getuids.c: Likewise.
3515         * hurd/getumask.c: Likewise.
3516         * hurd/hurd-raise.c: Likewise.
3517         * hurd/hurd.h: Likewise.
3518         * hurd/hurdauth.c: Likewise.
3519         * hurd/hurdexec.c: Likewise.
3520         * hurd/hurdhost.h: Likewise.
3521         * hurd/hurdid.c: Likewise.
3522         * hurd/hurdinit.c: Likewise.
3523         * hurd/hurdioctl.c: Likewise.
3524         * hurd/hurdkill.c: Likewise.
3525         * hurd/hurdlookup.c: Likewise.
3526         * hurd/hurdmsg.c: Likewise.
3527         * hurd/hurdpid.c: Likewise.
3528         * hurd/hurdports.c: Likewise.
3529         * hurd/hurdprio.c: Likewise.
3530         * hurd/hurdrlimit.c: Likewise.
3531         * hurd/hurdsock.c: Likewise.
3532         * hurd/hurdstartup.c: Likewise.
3533         * hurd/hurdstartup.h: Likewise.
3534         * hurd/intern-fd.c: Likewise.
3535         * hurd/intr-msg.c: Likewise.
3536         * hurd/intr-rpc.defs: Likewise.
3537         * hurd/intr-rpc.h: Likewise.
3538         * hurd/msgportdemux.c: Likewise.
3539         * hurd/new-fd.c: Likewise.
3540         * hurd/openport.c: Likewise.
3541         * hurd/pid2task.c: Likewise.
3542         * hurd/port-cleanup.c: Likewise.
3543         * hurd/port2fd.c: Likewise.
3544         * hurd/ports-get.c: Likewise.
3545         * hurd/ports-set.c: Likewise.
3546         * hurd/privports.c: Likewise.
3547         * hurd/report-wait.c: Likewise.
3548         * hurd/set-host.c: Likewise.
3549         * hurd/setauth.c: Likewise.
3550         * hurd/setuids.c: Likewise.
3551         * hurd/siginfo.c: Likewise.
3552         * hurd/sigunwind.c: Likewise.
3553         * hurd/task2pid.c: Likewise.
3554         * hurd/thread-cancel.c: Likewise.
3555         * hurd/thread-self.c: Likewise.
3556         * hurd/vpprintf.c: Likewise.
3557         * hurd/hurd/fd.h: Likewise.
3558         * hurd/hurd/id.h: Likewise.
3559         * hurd/hurd/ioctl.h: Likewise.
3560         * hurd/hurd/lookup.h: Likewise.
3561         * hurd/hurd/port.h: Likewise.
3562         * hurd/hurd/resource.h: Likewise.
3563         * hurd/hurd/threadvar.h: Likewise.
3564         * hurd/hurd/userlink.h: Likewise.
3565         * inet/ether_aton.c: Likewise.
3566         * inet/ether_aton_r.c: Likewise.
3567         * inet/ether_ntoa.c: Likewise.
3568         * inet/ether_ntoa_r.c: Likewise.
3569         * inet/gethstbyad.c: Likewise.
3570         * inet/gethstbyad_r.c: Likewise.
3571         * inet/gethstent.c: Likewise.
3572         * inet/getnetbyad.c: Likewise.
3573         * inet/getnetbyad_r.c: Likewise.
3574         * inet/getnetbynm.c: Likewise.
3575         * inet/getnetbynm_r.c: Likewise.
3576         * inet/getnetent.c: Likewise.
3577         * inet/getnetent_r.c: Likewise.
3578         * inet/getproto.c: Likewise.
3579         * inet/getproto_r.c: Likewise.
3580         * inet/getprtent.c: Likewise.
3581         * inet/getprtent_r.c: Likewise.
3582         * inet/getprtname.c: Likewise.
3583         * inet/getrpcbyname.c: Likewise.
3584         * inet/getrpcbyname_r.c: Likewise.
3585         * inet/getrpcbynumber.c: Likewise.
3586         * inet/getrpcbynumber_r.c: Likewise.
3587         * inet/getrpcent.c: Likewise.
3588         * inet/getrpcent_r.c: Likewise.
3589         * inet/getservent.c: Likewise.
3590         * inet/getservent_r.c: Likewise.
3591         * inet/getsrvbynm.c: Likewise.
3592         * inet/getsrvbynm_r.c: Likewise.
3593         * inet/getsrvbypt.c: Likewise.
3594         * inet/getsrvbypt_r.c: Likewise.
3595         * inet/herrno.c: Likewise.
3596         * inet/netgroup.h: Likewise.
3597         * ient/netinet/ether.h: Likewise.
3598         * intl/bindtextdom.c: Likewise.
3599         * intl/dcgettext.c: Likewise.
3600         * intl/dgettext.c: Likewise.
3601         * intl/gettext.c: Likewise.
3602         * intl/gettext.h: Likewise.
3603         * intl/gettextP.h: Likewise.
3604         * intl/hash-string.h: Likewise.
3605         * intl/loadmsgcat.c: Likewise.
3606         * intl/localealias.c: Likewise.
3607         * intl/textdomain.c: Likewise.
3608         * io/creat.c: Likewise.
3609         * io/getdirname.c: Likewise.
3610         * io/lockf.c: Likewise.
3611         * io/pwd.c: Likewise.
3612         * io/test-utime.c: Likewise.
3613         * locale/categories.def: Likewise.
3614         * locale/codeset_name.c: Likewise.
3615         * locale/lc-collate.c: Likewise.
3616         * locale/lc-ctype.c: Likewise.
3617         * locale/lc-messages.c: Likewise.
3618         * locale/lc-monetary.c: Likewise.
3619         * locale/lc-numeric.c: Likewise.
3620         * locale/lc-time.c: Likewise.
3621         * locale/loadlocale.c: Likewise.
3622         * locale/localeconv.c: Likewise.
3623         * locale/nl_langinfo.c: Likewise.
3624         * locale/setlocale.c: Likewise.
3625         * locale/strlen-hash.h: Likewise.
3626         * locale/programs/charmap-kw.gperf: Likewise.
3627         * locale/programs/charmap-kw.h: Likewise.
3628         * locale/programs/charset.c: Likewise.
3629         * locale/programs/ld-ctype.c: Likewise.
3630         * locale/programs/ld-messages.c: Likewise.
3631         * locale/programs/ld-monetary.c: Likewise.
3632         * locale/programs/linereader.h: Likewise.
3633         * locale/programs/locale-spec.c: Likewise.
3634         * locale/programs/locales.h: Likewise.
3635         * locale/programs/locfile-kw.gperf: Likewise.
3636         * locale/programs/locfile-kw.h: Likewise.
3637         * locale/programs/locfile-token.h: Likewise.
3638         * locale/programs/simple-hash.h: Likewise.
3639         * locale/programs/stringtrans.c: Likewise.
3640         * locale/programs/stringtrans.h: Likewise.
3641         * login/logout.c: Likewise.
3642         * mach/bootprivport.c: Likewise.
3643         * mach/devstream.c: Likewise.
3644         * mach/hello.c: Likewise.
3645         * mach/mach.h: Likewise.
3646         * mach/mach_init.c: Likewise.
3647         * mach/mach_init.h: Likewise.
3648         * mach/mig-alloc.c: Likewise.
3649         * mach/mig-dealloc.c: Likewise.
3650         * mach/mutex-init.c: Likewise.
3651         * mach/mutex-solid.c: Likewise.
3652         * mach/setup-thread.c: Likewise.
3653         * mach/spin-lock.h: Likewise.
3654         * mach/spin-solid.c: Likewise.
3655         * mach/mach/mig_support.h: Likewise.
3656         * md5-crypt/md5-crypt.c: Likewise.
3657         * misc/nlist.h: Likewise.
3658         * nss/nss_files/files-ether.c: Likewise.
3659         * posix/confstr.c: Likewise.
3660         * posix/execl.c: Likewise.
3661         * posix/execle.c: Likewise.
3662         * posix/execlp.c: Likewise.
3663         * posix/execv.c: Likewise.
3664         * posix/execvp.c: Likewise.
3665         * posix/fnmatch.c: Likewise.
3666         * posix/getopt.c: Likewise.
3667         * posix/getopt.h: Likewise.
3668         * posix/getopt1.c: Likewise.
3669         * posix/id.c: Likewise.
3670         * posix/regex.c: Likewise.
3671         * posix/setpgrp.c: Likewise.
3672         * posix/unistd.h: Likewise.
3673         * posix/wordexp.c: Likewise.
3674         * pwd/fgetpwent.c: Likewise.
3675         * pwd/getpwent.c: Likewise.
3676         * pwd/getpwent_r.c: Likewise.
3677         * pwd/getpwnam.c: Likewise.
3678         * pwd/getpwnam_r.c: Likewise.
3679         * pwd/getpwuid.c: Likewise.
3680         * pwd/getpwuid_r.c: Likewise.
3681         * pwd/putpwent.c: Likewise.
3682         * resolv/gethnamaddr.c: Likewise.
3683         * resolv/res_hconf.c: Likewise.
3684         * resolv/res_hconf.h: Likewise.
3685         * setjmp/longjmp.c: Likewise.
3686         * setjmp/sigjmp.c: Likewise.
3687         * setjmp/tst-setjmp.c: Likewise.
3688         * stdio/clearerr.c: Likewise.
3689         * stdio/ferror.c: Likewise.
3690         * stdio/fgetc.c: Likewise.
3691         * stdio/fgetpos.c: Likewise.
3692         * stdio/fgets.c: Likewise.
3693         * stdio/fileno.c: Likewise.
3694         * stdio/fmemopen.c: Likewise.
3695         * stdio/fopen.c: Likewise.
3696         * stdio/fopncook.c: Likewise.
3697         * stdio/fputc.c: Likewise.
3698         * stdio/fputs.c: Likewise.
3699         * stdio/fread.c: Likewise.
3700         * stdio/freopen.c: Likewise.
3701         * stdio/fseek.c: Likewise.
3702         * stdio/fsetpos.c: Likewise.
3703         * stdio/ftell.c: Likewise.
3704         * stdio/fwrite.c: Likewise.
3705         * stdio/getchar.c: Likewise.
3706         * stdio/getdelim.c: Likewise.
3707         * stdio/gets.c: Likewise.
3708         * stdio/glue.c: Likewise.
3709         * stdio/internals.c: Likewise.
3710         * stdio/linewrap.c: Likewise.
3711         * stdio/linewrap.h: Likewise.
3712         * stdio/memstream.c: Likewise.
3713         * stdio/newstream.c: Likewise.
3714         * stdio/putchar.c: Likewise.
3715         * stdio/puts.c: Likewise.
3716         * stdio/rewind.c: Likewise.
3717         * stdio/setbuf.c: Likewise.
3718         * stdio/setbuffer.c: Likewise.
3719         * stdio/setlinebuf.c: Likewise.
3720         * stdio/setvbuf.c: Likewise.
3721         * stdio/ungetc.c: Likewise.
3722         * stdio/vasprintf.c: Likewise.
3723         * stdio/vscanf.c: Likewise.
3724         * stdio/vsnprintf.c: Likewise.
3725         * stdio/vsprintf.c: Likewise.
3726         * stdio/vsscanf.c: Likewise.
3727         * stdio-common/asprintf.c: Likewise.
3728         * stdio-common/dprintf.c: Likewise.
3729         * stdio-common/errnobug.c: Likewise.
3730         * stdio-common/fprintf.c: Likewise.
3731         * stdio-common/getline.c: Likewise.
3732         * stdio-common/getw.c: Likewise.
3733         * stdio-common/perror.c: Likewise.
3734         * stdio-common/psignal.c: Likewise.
3735         * stdio-common/putw.c: Likewise.
3736         * stdio-common/reg-printf.c: Likewise.
3737         * stdio-common/scanf.c: Likewise.
3738         * stdio-common/snprintf.c: Likewise.
3739         * stdio-common/sprintf.c: Likewise.
3740         * stdio-common/tempnam.c: Likewise.
3741         * stdio-common/test_rdwr.c: Likewise.
3742         * stdio-common/tst-fileno.c: Likewise.
3743         * stdio-common/tst-printf.c: Likewise.
3744         * stdio-common/tstgetln.c: Likewise.
3745         * stdio-common/vprintf.c: Likewise.
3746         * stdlib/drand48.c: Likewise.
3747         * stdlib/drand48_r.c: Likewise.
3748         * stdlib/erand48.c: Likewise.
3749         * stdlib/erand48_r.c: Likewise.
3750         * stdlib/exit.h: Likewise.
3751         * stdlib/strtoq.c: Likewise.
3752         * stdlib/strtoul.c: Likewise.
3753         * stdlib/strtouq.c: Likewise.
3754         * stdlib/test-canon.c: Likewise.
3755         * stdlib/testdiv.c: Likewise.
3756         * stdlib/testrand.c: Likewise.
3757         * string/argz-append.c: Likewise.
3758         * string/argz-count.c: Likewise.
3759         * string/argz-create.c: Likewise.
3760         * string/argz-ctsep.c: Likewise.
3761         * string/argz-delete.c: Likewise.
3762         * string/argz-extract.c: Likewise.
3763         * string/argz-insert.c: Likewise.
3764         * string/argz-next.c: Likewise.
3765         * string/argz-stringify.c: Likewise.
3766         * string/basename.c: Likewise.
3767         * string/envz.c: Likewise.
3768         * string/memfrob.c: Likewise.
3769         * string/strcoll.c: Likewise.
3770         * string/strdup.c: Likewise.
3771         * string/string.h: Likewise.
3772         * string/strndup.c: Likewise.
3773         * string/strnlen.c: Likewise.
3774         * string/strsignal.c: Likewise.
3775         * string/strxfrm.c: Likewise.
3776         * string/test-ffs.c: Likewise.
3777         * string/testcopy.c: Likewise.
3778         * sysdeps/generic/enbl-secure.c: Likewise.
3779         * sysdeps/generic/memcopy.h: Likewise.
3780         * sysdeps/generic/stpncpy.c: Likewise.
3781         * sysdeps/generic/strcasecmp.c: Likewise.
3782         * sysdeps/generic/strcat.c: Likewise.
3783         * sysdeps/generic/strchr.c: Likewise.
3784         * sysdeps/generic/strcpy.c: Likewise.
3785         * sysdeps/generic/strcspn.c: Likewise.
3786         * sysdeps/generic/strlen.c: Likewise.
3787         * sysdeps/generic/strncase.c: Likewise.
3788         * sysdeps/generic/strncat.c: Likewise.
3789         * sysdeps/generic/strncpy.c: Likewise.
3790         * sysdeps/generic/strpbrk.c: Likewise.
3791         * sysdeps/generic/strsep.c: Likewise.
3792         * sysdeps/generic/strspn.c: Likewise.
3793         * sysdeps/generic/strstr.c: Likewise.
3794         * sysdeps/generic/strtok.c: Likewise.
3795         * sysdeps/generic/strtok_r.c: Likewise.
3796         * sysdeps/mach/sleep.c: Likewise.
3797         * sysdeps/posix/sleep.c: Likewise.
3798         * sysdeps/stub/sleep.c: Likewise.
3799         * time/date.c: Likewise.
3800         * time/test_time.c: Likewise.
3801         * wcsmbs/wmemcpy.c: Likewise.
3802         * wctye/test_wctype.c: Likewise.
3803         * wctye/towctrans.c: Likewise.
3804         * wctye/wcfuncs.c: Likewise.
3805         * wctye/wctrans.c: Likewise.
3806
3807 1997-02-13 22:15  Miles Bader  <miles@gnu.ai.mit.edu>
3808
3809         * argp/Makefile: New file.
3810         * argp/argp.h: Likewise.
3811         * argp/argp-ba.c: Likewise.
3812         * argp/argp-fmtstream.c: Likewise.
3813         * argp/argp-fmtstream.h: Likewise.
3814         * argp/argp-fs-xinl.c: Likewise.
3815         * argp/argp-help.c: Likewise.
3816         * argp/argp-namefrob.h: Likewise.
3817         * argp/argp-parse.c: Likewise.
3818         * argp/argp-pv.c: Likewise.
3819         * argp/argp-pvh.c: Likewise.
3820         * argp/argp-test.c: Likewise.
3821         * argp/argp-xinl.c: Likewise.
3822
3823 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
3824
3825         * stdlib/qsort.c: Add prototype for _quicksort.
3826
3827         * stdlib/msort.c (qsort): Correct prototype for _quicksort.
3828
3829         * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
3830         from dl-machine.h.
3831
3832 1997-02-13 18:18  Marcus G. Daniels  <marcus@sysc.pdx.edu>
3833
3834         * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
3835         Allow user to overwrite it.
3836
3837 1997-02-13 17:55  Ulrich Drepper  <drepper@cygnus.com>
3838
3839         * libio/_G_config.h: Make sure wint_t is also defined for old gcc
3840         versions.  Reported by Andreas Jaeger.
3841
3842 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
3843
3844         * time/tzfile.c (__tzfile_read): Change comment to follow
3845         change of 1997-02-12.
3846
3847 1997-02-13 02:32  Ulrich Drepper  <drepper@cygnus.com>
3848
3849         * time/time.h (__nanosleep): Define only when struct timespec is
3850         also available.
3851         Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
3852
3853 1997-02-12 21:34  a sun  <asun@zoology.washington.edu>
3854
3855         * sysdeps/unix/sysv/linux/netinet/udp.h: New file.
3856         * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
3857
3858 1997-02-12 21:16  Ulrich Drepper  <drepper@cygnus.com>
3859
3860         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
3861         of 1997-02-09 in resolv/gethnamaddr.c.
3862
3863 1997-02-11 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
3864
3865         * libio/_G_config.h (_G_wint_t): New.
3866
3867 1997-02-09 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
3868
3869         * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
3870         to sizeof (buf.buf) while calling res_search ().
3871
3872 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
3873
3874         * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
3875         val to keydat, stat to status.
3876
3877 1997-02-12 20:45  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
3878
3879         * time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
3880
3881 1997-02-12 19:55  Ulrich Drepper  <drepper@cygnus.com>
3882
3883         * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
3884         by Keith Bostic.
3885
3886 1997-02-11 14:49  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
3887
3888         * stdlib/atoll.c: Undefine atoll, not atol.
3889
3890 1997-02-08 09:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3891
3892         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
3893         unused arguments of shell script.
3894
3895         * Makeconfig (all-object-suffixes): New variable.
3896         * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
3897         of $(object-suffixes).
3898         * sysdeps/unix/make-syscalls.sh: Likewise.  Fix comment.
3899
3900 1997-02-10 17:45  Ulrich Drepper  <drepper@cygnus.com>
3901
3902         * string/argz-ctsep.c: Initialize *LEN when successful.
3903
3904 1997-02-09 04:35  Ulrich Drepper  <drepper@cygnus.com>
3905
3906         * stdio-common/_itoa.h: Update copyright.
3907
3908 1997-02-09 02:59  Ulrich Drepper  <drepper@cygnus.com>
3909
3910         * version.h (VERSION): Bump to 2.0.2.
3911
3912         * posix/Makefile (routines): Add getopt_init.
3913         * posix/getopt.c: Don't get environment variable with nonoption
3914         flags here.  Depend on __getopt_nonoption_flags variable filled
3915         somewhere else.  This is necessary since the variable must be
3916         removed even when getopt isn't used in case exec(2) gets called.
3917         * posix/getopt_init.c: New file.  Initialize __getopt_nonoption_flags
3918         and remove environment variable.
3919         * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
3920         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
3921         * sysdeps/stub/init-first.c: Likewise.
3922         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
3923
3924         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
3925         AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
3926
3927         * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
3928         encryption is wanted.
3929
3930         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
3931         * stdio/vsnprintf.c: Likewise.
3932         Reported by Philip Blundell <pjb27@cam.ac.uk>.
3933
3934         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
3935         * stdio/vsnprintf.c: Likewise.
3936         Reported by Philip Blundell <pjb27@cam.ac.uk>.
3937
3938 1997-02-07 17:43  Ulrich Drepper  <drepper@cygnus.com>
3939
3940         * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
3941         Change PTR to void *.
3942         * sysdeps/posix/vdprintf.c: Change PTR to void *.
3943         Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
3944
3945 1997-02-07 17:41  Philip Blundell <pjb27@cam.ac.uk>
3946
3947         * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
3948
3949 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3950
3951         * rellns-sh: No need to check for existance of first parameter.
3952
3953 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3954
3955         * rellns-sh: No need to check for existance of first parameter.
3956
3957 1997-02-06 14:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3958
3959         * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks.  Reported
3960         by David Holland <dholland@eecs.harvard.edu>.
3961
3962 1997-02-06 14:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3963
3964         * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
3965         select, in case it is modified by the latter.
3966         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3967         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3968         * sunrpc/svc_tcp.c (readtcp): Likewise.
3969
3970         * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
3971         array.
3972
3973         * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
3974         and gid_t.
3975
3976         * sunrpc/auth_unix.c (authunix_validate): Fix type of second
3977         argument.
3978
3979 1997-02-06 14:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3980
3981         * elf/Makefile (extra-objs): Don't zap previous value.
3982         * Makefile (before-compile): Likewise.  Don't add gnu/lib-names.h
3983         twice.
3984
3985 1997-02-06 14:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3986
3987         * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
3988         braindamage (sigh!).
3989
3990 1997-02-06 17:10  Jim Meyering  <meyering@asic.sc.ti.com>
3991
3992         * manual/memory.texi: Correct `copystring' example for obstacks.
3993
3994 1997-02-06 14:10  Ulrich Drepper  <drepper@cygnus.com>
3995
3996         * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
3997         GNU tr don't grok it.
3998
3999 1997-02-03 21:13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4000
4001         * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
4002         Don't use GNU C extensions.
4003         (CMSG_DATA): Use portable definition.
4004
4005 1997-02-05 05:58  Ulrich Drepper  <drepper@cygnus.com>
4006
4007         * elf/ldd.bash.in: Add test for read permission and print appropriate
4008         message.  Change warning and error messages to print "ldd: " at start.
4009         * elf/ldd.sh.in: Likewise.
4010
4011         * stdlib/Makefile (routines): Add atoll.
4012         * stdlib/atoll.c: New file.
4013         * stdlib/stdlib.h: Add prototype and optimization for atoll.
4014
4015         * stdlib/a64l.c: Update copyright.
4016         * stdlib/abs.c: Likewise.
4017         * stdlib/atof.c: Likewise.
4018         * stdlib/atoi.c: Likewise.
4019         * stdlib/atol.c: Likewise.
4020         * stdlib/bsearch.c: Likewise.
4021         * stdlib/exit.c: Likewise.
4022         * stdlib/fpioconst.c: Likewise.
4023         * stdlib/fpioconst.h: Likewise.
4024         * stdlib/jrand48.c: Likewise.
4025         * stdlib/jrand48_r.c: Likewise.
4026         * stdlib/labs.c: Likewise.
4027         * stdlib/lcong48.c: Likewise.
4028         * stdlib/lcong48_r.c: Likewise.
4029         * stdlib/llabs.c: Likewise.
4030         * stdlib/lrand48.c: Likewise.
4031         * stdlib/lrand48_r.c: Likewise.
4032         * stdlib/mblen.c: Likewise.
4033         * stdlib/mbstowcs.c: Likewise.
4034         * stdlib/mbtowc.c: Likewise.
4035         * stdlib/mp_clz_tab.c: Likewise.
4036         * stdlib/mrand48.c: Likewise.
4037         * stdlib/mrand48_r.c: Likewise.
4038         * stdlib/msort.c: Likewise.
4039         * stdlib/nrand48.c: Likewise.
4040         * stdlib/nrand48_r.c: Likewise.
4041         * stdlib/qsort.c: Likewise.
4042         * stdlib/rpmatch.c: Likewise.
4043         * stdlib/seed48.c: Likewise.
4044         * stdlib/seed48_r.c: Likewise.
4045         * stdlib/srand48.c: Likewise.
4046         * stdlib/srand48_r.c: Likewise.
4047         * stdlib/strtod.c: Likewise.
4048         * stdlib/wcstombs.c: Likewise.
4049         * stdlib/wctomb.c: Likewise.
4050
4051 1997-02-05 05:08  Ulrich Drepper  <drepper@cygnus.com>
4052
4053         * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
4054         as const.
4055
4056 1997-02-04 23:57  Fila Kolodny  <fila@ibi.com>
4057
4058         * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
4059         including <stddef.h>.
4060
4061 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
4062
4063         * time/Makefile (tzbases, tzlinks): New.
4064         (tzfiles): Changed to $(tzbases) $(tzlinks).
4065         ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
4066
4067 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
4068
4069         * Makefile (install): Ignore error from ldconfig.
4070
4071         * time/zic.c (mkdirs): Double check the error return of mkdir ().
4072
4073 1997-02-04 22:01  Ulrich Drepper  <drepper@cygnus.com>
4074
4075         * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
4076         like PPC where va_list is no integral type.
4077
4078 1997-02-04 15:27  Roma Ekzhanov  <ekzhanov@paragraph.com>
4079
4080         * posix/getopt.c (exchange): Don't allocate nonoption_flags array
4081         if nonoption_flags_len == -1.
4082
4083 1997-02-04 02:08  Ulrich Drepper  <drepper@cygnus.com>
4084
4085         * Version 2.0.1 net release.
4086
4087 1997-02-03 23:34  Stephen L Moshier  <moshier@world.std.com>
4088
4089         * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
4090
4091 1997-02-03 19:59  Ulrich Drepper  <drepper@cygnus.com>
4092
4093         * stdlib/getsubopt.c: Don't return `=' for suboption which has
4094         a parameter.  Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
4095
4096 1997-02-03 18:20  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
4097
4098         * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
4099         values as in yp.x and yp.h.
4100
4101 1997-02-03 16:58  Ulrich Drepper  <drepper@cygnus.com>
4102
4103         * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
4104         1997-02-03 02:17.  Sun's implementation internally corrects
4105         this bug but we don't want to hide this from the user.
4106         * nis/rpcsvc/yp.h: Likewise.
4107
4108 1997-02-01 18:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4109
4110         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
4111         inclusion.
4112
4113 1997-02-02 14:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4114
4115         * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
4116         fixes.
4117
4118 1997-02-02 11:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4119
4120         * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
4121         (all-sources, all-headers): Use them instead of $(sources) and
4122         $(headers) when searching in sysdep directories.
4123
4124 1997-02-02 11:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4125
4126         * Makerules (REAL_MAKE_VERSION): Use internal make function
4127         instead of shelling out.
4128
4129 1997-02-02 11:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4130
4131         * time/Makefile (install-test-data): Remove mkdir command, zic can
4132         handle that gracefully.
4133
4134 1997-02-03 14:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4135
4136         * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
4137         somehow.
4138
4139 1997-02-02 07:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4140
4141         * sunrpc/Makefile: Check $(cross-compiling) only after including
4142         ../Makeconfig.
4143         ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
4144         being considered as a rule.
4145         (generated): Add stamp files before the inclusion of Makerules to
4146         magically mark them as not being intermediate via the `generated'
4147         target.
4148
4149 1997-02-03 02:33  Ulrich Drepper  <drepper@cygnus.com>
4150
4151         * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
4152         entries.  This is still no complete implementation since AUXILIARY
4153         entries in other shared objects are not yet handled.
4154
4155         * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
4156         place.
4157
4158         * po/es.po: Update.
4159         * po/fr.po: Update.
4160         * po/nl.po: Update.
4161
4162         * time/Makefile: Better cross-compile support.  Avoid test which
4163         cannot be run.
4164         (CFLAGS-tzset.c): New variable.  Overwrite TZDEFAULT value from
4165         tzfile.h file.
4166         * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
4167         in SUID programs.
4168         * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
4169         default values as in tzfile.c.
4170
4171         * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
4172         tags.
4173         * elf/link.h: Likewise.
4174         * elf/elf.h: Add tag definitions and data structures for versioning.
4175
4176 1997-02-03 02:17  Ulrich Drepper  <drepper@cygnus.com>
4177
4178         * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
4179         "Sun bug".  This is the order of elements also used by 4.4BSD.
4180         * nis/rpcsvc/yp.h: Likewise.
4181         Reported by HJ Lu.
4182
4183 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
4184
4185         * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
4186         action.
4187
4188         * Makefile (install): Pass installation directories as arguments
4189         to ldconfig.
4190
4191 1997-02-02 23:15  Ulrich Drepper  <drepper@cygnus.com>
4192
4193         * malloc/malloc.c (__after_morecore_hook): New variable.
4194         (malloc_extend_top): Call __after_morecore_hook if set.
4195         (main_trim): Likewise.
4196         * malloc/malloc.h: Add declaration of __after_morecore_hook.
4197         Suggested by Marcus Daniels.
4198
4199 1997-02-02 23:00  Marcus G. Daniels  <marcus@tdb.com>
4200
4201         * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
4202         #ifndef NO_THREADS.
4203         (mallinfo): Likewise.
4204
4205         * malloc/malloc.c (__morecore): Make external since it is used in
4206         programs.
4207
4208 1997-02-02 15:10  Ulrich Drepper  <drepper@cygnus.com>
4209
4210         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
4211         unsigned.
4212
4213 1997-02-01 23:36  Richard Henderson  <rth@tamu.edu>
4214
4215         * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
4216         use t6 as a temporary; it contains bits we still need in $u_head.
4217
4218 1997-01-31 15:05  John Bowman  <bowman@ipp-garching.mpg.de>
4219
4220         * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
4221         using __ prefix.  Add prototype for log1p.
4222
4223 1997-02-02 00:39  Ulrich Drepper  <drepper@cygnus.com>
4224
4225         * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
4226
4227 1997-02-01 17:04  Philip Blundell  <pjb27@cam.ac.uk>
4228
4229         * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
4230
4231 1997-02-01 17:00  Ulrich Drepper  <drepper@cygnus.com>
4232
4233         * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
4234         structure plus related macros.
4235         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
4236         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
4237         (sysdep_routines): Add cmsg_nxthdr.
4238         * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
4239         Suggested by Philip Blundell <pjb27@cam.ac.uk>.
4240
4241 1997-02-01 12:34  Ulrich Drepper  <drepper@cygnus.com>
4242
4243         * time/strftime.c: Define _strftime_copytm without protecting arguments
4244         which breaks the definition.
4245
4246 1997-02-01 03:31  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
4247
4248         * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
4249         definition of type for element.
4250
4251 1997-02-01 03:28  Philip Blundell  <pjb27@cam.ac.uk>
4252
4253         * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
4254         constants.
4255
4256 1997-02-01 03:09  H.J. Lu  <hjl@lucon.org>
4257
4258         * Makefile: Pass PARALLELMFLAGS to sub-makes.
4259         * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
4260
4261 1997-01-31  Paul Eggert  <eggert@twinsun.com>
4262
4263         * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
4264         Define if _LIBC is defined.
4265         <limits.h>: Include if HAVE_LIMITS_H instead of if
4266         __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
4267         <stdlib.h>: Similarly, include if STDC_HEADERS.
4268         (localtime_r): Redo #ifdef to make it clear that glibc has
4269         localtime_r now.
4270
4271 1997-02-29 20:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4272
4273         * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
4274         file to avoid unnecessary recompilation.
4275
4276 1997-01-29 19:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4277
4278         * Makefile: Set install-others, not install_others.
4279         (before-compile): Use += to preserve previous value.
4280         ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
4281         fix dependency name.
4282         ($(objpfx)lib-names.h): Remove rule.
4283         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
4284         with correct name, using an intermediate stamp file.
4285         (common-generated): Add gnu/lib-names.h.
4286         (before-compile): Add $(common-objpfx)gnu/lib-names.h.
4287
4288 1997-01-30 18:29  Richard Henderson  <richard@atheist.tamu.edu>
4289
4290         * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
4291         to prevent warnings on 64 bit systems.
4292         Reported by Paul Wouters <paul@xtdnet.nl>.
4293
4294         * sysdeps/alpha/dl-machine.h: Revert check for broken gas.  By default
4295         we assume it works.
4296
4297 1997-01-30 03:24  Ulrich Drepper  <drepper@cygnus.com>
4298
4299         * sysdeps/i386/elf/start.S (_start): Align stack pointer to
4300         double word boundary before pushing args for main.  This way we
4301         don't get penalties for misaligned memory accesses.  Reported by
4302         Edward Seidl <seidl@janed.com>.
4303
4304         * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
4305         Patch by HJ Lu.
4306
4307         * misc/bsd-compat.c: Update copyright.
4308         * misc/efgcvt.c: Likewise.
4309         * misc/efgcvt_r.c: Likewise.
4310         * misc/error.c: Likewise.
4311         * misc/error.h: Likewise.
4312         * misc/fstab.c: Likewise.
4313         * misc/init-misc.c: Likewise.
4314         * misc/lsearch.c: Likewise.
4315         * misc/mntent.c: Likewise.
4316         * misc/qefgcvt.c: Likewise.
4317         * misc/qefgcvt_r.c: Likewise.
4318         * nss/databases.def: Likewise.
4319         * nss/db-Makefile: Likewise.
4320         * nss/ethers-lookup.c: Likewise.
4321         * nss/hosts-lookup.c: Likewise.
4322         * nss/netgrp-lookup.c: Likewise.
4323         * nss/nsswitch.h: Likewise.
4324         * nss/proto-lookup.c: Likewise.
4325         * nss/rpc-lookup.c: Likewise.
4326         * nss/service-lookup.c: Likewise.
4327         * nss/nss_db/db-netgrp.c: Likewise.
4328         * nss/nss_files/files-grp.c: Likewise.
4329         * nss/nss_files/files-hosts.c: Likewise.
4330         * nss/nss_files/files-network.c: Likewise.
4331         * nss/nss_files/files-proto.c: Likewise.
4332         * nss/nss_files/files-pwd.c: Likewise.
4333         * nss/nss_files/files-rpc.c: Likewise.
4334         * nss/nss_files/files-service.c: Likewise.
4335         * nss/nss_files/files-spwd.c: Likewise.
4336         * shadow/fgetspent.c: Likewise.
4337         * shadow/fgetspent_r.c: Likewise.
4338         * shadow/getspent.c: Likewise.
4339         * shadow/getspent_r.c: Likewise.
4340         * shadow/getspnam.c: Likewise.
4341         * shadow/getspnam_r.c: Likewise.
4342         * shadow/putspent.c: Likewise.
4343         * shadow/sgetspent.c: Likewise.
4344         * shadow/sgetspent_r.c: Likewise.
4345         * sysdeps/i386/init-first.c: Likewise.
4346         * sysdeps/unix/i386/sysdep.S: Likewise.
4347
4348         * shadow/shadow.h: Don't use __USE_REENTRENT.  All code must be
4349         prepared to be running in a multi-threaded environment.  Change
4350         to __USE_MISC unless the function is defined in POSIX.1 (in this
4351         case also test for __USE_POSIX).
4352         * dirent/dirent.h: Likewise.
4353         * grp/grp.h: Likewise.
4354         * inet/aliases.h: Likewise.
4355         * libio/libio.h: Likewise.
4356         * libio/stdio.h: Likewise.
4357         * login/utmp.h: Likewise.
4358         * math/mathcalls.h: Likewise.
4359         * misc/mntent.h: Likewise.
4360         * pwd/pwd.h: Likewise.
4361         * resolv/netdb.h: Likewise.
4362         * stdlib/stdlib.h: Likewise.
4363         * string/string.h: Likewise.
4364         * sunrpc/rpc/netdb.h: Likewise.
4365         * sysdeps/generic/crypt.h: Likewise.
4366         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
4367         * time/time.h: Likewise.
4368
4369 1997-01-30 00:27  Fila Kolodny  <fila@ibi.com>
4370
4371         * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
4372         only if not cross compiling.
4373
4374 1997-01-29 16:16  Fila Kolodny  <fila@ibi.com>
4375
4376         * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
4377         NULL.
4378         * sysdeps/posix/sigwait.c: Likewise.
4379
4380 1997-01-28 23:42  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4381
4382         * Makeconfig ($(common-objpfx)config.make): Depend on
4383         $(..)config.make.in.
4384
4385 1997-01-29 04:30  Ulrich Drepper  <drepper@cygnus.com>
4386
4387         * sunrpc/Makefile: Don't generate headers derived from .x files when
4388         crosscompiling.
4389
4390 1997-01-28 10:51  Richard Henderson  <rth@tamu.edu>
4391
4392         * Makefile: Generate gnu/lib-names.h in before-compile.
4393         * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
4394         * nss/nssswitch.c (__nss_shlib_revision): New variable.  Initialize
4395         to the revision found for LIBNSS_FILES_SO.
4396         (nss_initilized): Removed.  It was tested but never set.
4397         (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
4398
4399         * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
4400         not just libc.  Except instead of ld.so.1.1 use ld-linux.so.2.
4401
4402         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
4403
4404 1997-01-28 12:16  Andreas Jaeger  <aj@arthur.pfalz.de>
4405
4406         * elf/Makefile (CFLAGS-dl-load.c): Use += to not
4407         override the definition.
4408
4409 1997-01-28 20:13  Fila Kolodny  <fila@ibi.com>
4410
4411         * config.make.in (malloc): Remove.
4412
4413 1997-01-28 04:23  Ulrich Drepper  <drepper@cygnus.com>
4414
4415         * version.h (VERSION): Bump to 2.0.1.
4416
4417         * posix/getopt.c: Handle another problem introduced by the
4418         nonoption_flags array.  We must be able to work with reordered
4419         argv arrays.  Reported by Andreas Schwab.
4420
4421 1997-01-28 02:38  Ulrich Drepper  <drepper@cygnus.com>
4422
4423         * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
4424         stack.
4425
4426 1997-01-27 17:34  Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
4427
4428         * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
4429         that it works with yp.h.
4430
4431 1997-01-27 13:28  Ulrich Drepper  <drepper@cygnus.com>
4432
4433         * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
4434         __libc_malloc_initialized so that this variable is not shared with
4435         other users of GNU malloc.
4436         Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
4437
4438         * mcheck.h: Correct typo.  Use malloc/ instead of new-malloc/.
4439
4440         * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
4441         variables to prevent warnings.
4442         * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
4443         using attribute regparm.
4444         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
4445         is changed by the resolver code.
4446
4447 1997-01-14 14:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4448
4449         * malloc/malloc.c (weak_variable): Define.
4450         (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
4451         __memalign_hook): Make them weak definitions.
4452
4453 1997-01-26 11:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4454
4455         * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
4456         limits, correctly take structure padding into account, use correct
4457         offset when resetting the stream, change heuristic to assume an
4458         average name length of 14 characters.
4459
4460 1997-01-25 18:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4461
4462         * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
4463         inclusion.
4464
4465
4466 See ChangeLog.6 for earlier changes.