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