]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove NEED__RES definition since we do this anyway for digits_dots.c.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
6ac73ea7
RM
11998-12-06 Mark Kettenis <kettenis@phys.uva.nl>
2
3 Reverse the change of 1998-04-22. Providing a struct dirent with
4 different members when __USE_FILE_OFFSET64 is defined is asking
5 for trouble. Instead add the necessary LFS magic to the 4.4BSD
6 header.
7 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Add LFS definitions.
8 * sysdeps/mach/hurd/bits/dirent.h: Removed.
9 * sysdeps/mach/hurd/readdir64.c: Removed.
10 * sysdeps/mach/hurd/readdir64_r.c: Removed.
11
c5720a93
RM
121998-12-20 Roland McGrath <roland@baalperazim.frob.com>
13
6ac73ea7
RM
14 * sysdeps/generic/bits/mman.h [__USE_MISC] (MAP_ANONYMOUS): Define as
15 alias for MAP_ANON.
16
17 * stdio/stdio.h (sys_errlist, sys_nerr, _sys_errlist, _sys_nerr):
18 Remove decls. They don't exist at all on the Hurd.
19
c5720a93
RM
20 * sunrpc/svc_unix.c, sunrpc/clnt_unix.c: Avoid using `struct cmsghdr'
21 and `struct ucred' #ifndef SCM_CREDENTIALS.
22
23 * sunrpc/publickey.c (getsecretkey): Use `&errno' instead of
24 `__errno_location ()'; means the same, works for Hurd.
25
26 * sysdeps/mach/hurd/Makefile (subdirs): Don't elide sunrpc.
27
ff7059bf
UD
281998-12-18 Ulrich Drepper <drepper@cygnus.com>
29
c730d678
UD
30 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Include
31 features.h and stddef.h.
32 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h (struct
33 sigaltstack): Move ss_size field at the end.
34 Patches by Jeff Bailey <jbailey@nisa.net>.
35
51c68755
UD
36 * time/getdate.c (check_mday): tm_mon contains values from 0 to 11,
37 not 1 to 12.
38
ff7059bf
UD
39 * manual/texinfo.tex: Update to latest version.
40
41 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add ipc.
42 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
43 Patch by Cristian Gafton <gafton@redhat.com>.
44
4798763f
UD
451998-12-17 Ulrich Drepper <drepper@cygnus.com>
46
277f73d1
UD
47 * iconvdata/gconv-modules: Add remaining aliases from Internet
48 standards.
49
8c479619
UD
50 * iconv/gconv_int.h (gconv_module): Add new element from_regex_mem.
51 * iconv/gconv_conf.c (module_compare): Make s1 and s2 const.
52 (detect_conflict): New function.
53 (add_alias): Call detect_conflict to see whether there is already
54 a module for the new name.
55 (add_module): Make sure there is no alias for the new name.
56 (read_conf_file): Call add_alias with new argument.
57 (__gconv_read_conf): Don't destroy module tree immediately after
58 walking it. We need it to test the internal conversions for
59 conflicts.
60 * iconv/gconv_db.c (find_derivation): Don't allocate memory for
61 regular expression. There is now room in the module descriptor.
62 (free_mem): Don't free memory for regular expression.
63
c5b0e13e
UD
64 * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_IRDA, PF_IRDA and
65 MSG_TRYHARD.
66
c0b50509
UD
67 * sunrpc/clnt_unix.c (clntunix_destroy): Use __close not close.
68 * libio/oldtmpfile.c: Likewise.
69 * libio/oldiofdopen.c: Use __fcntl instead fcntl.
70 * sysdeps/posix/profil.c: Use __sigaction instead of sigaction.
71
09376451
UD
72 * iconvdata/iso646.c (gconv_init): Return correct error value if we
73 run out of memory.
74 * iconvdata/iso-2022-jp.c: Likewise.
75
c7ec9d75
UD
76 * iconv/gconv_db.c (gen_steps): Respect error return value from
77 init functions and abort.
78
4798763f
UD
79 * iconvdata/iso646.c: Recognize NF_Z_62-010_1973 as charset name.
80
811998-12-17 H.J. Lu <hjl@gnu.org>
536d7038
UD
82
83 * sunrpc/rpc/xdr.h (XDR_DESTROY): Add ';'.
84 (xdr_destroy): Likewise.
85
68185625
UD
861998-12-17 Ulrich Drepper <drepper@cygnus.com>
87
c0b50509 88 * login/login.c: Determine pts/3 as terminal name if path is
68185625
UD
89 /dev/pts/3. This is consistent with getlogin. [PR libc/906]
90
04166d6e
UD
911998-12-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
92
93 * sysdeps/posix/tempname.c (__path_search): Add casts for format
94 string.
95
961998-12-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
97
98 * sunrpc/rpc/xdr.h (XDR_DESTROY, xdr_destroy): Avoid dangling else
99 problem.
100 (IXDR_PUT_INT32): Fully parenthesize parameters.
101 (IXDR_GET_LONG, IXDR_PUT_LONG): Mark GCC extension. Fully
102 parenthesize parameter.
103
b76e5a4e
UD
1041998-12-16 Ulrich Drepper <drepper@cygnus.com>
105
106 * iconvdata/gconv-modules: Add some of the charset name aliases
107 used in Internet standards.
108
133d3d30
UD
1091998-12-16 Ulrich Drepper <drepper@cygnus.com>
110
111 * version.h (VERSION): Bump to 2.0.107.
112
113 * sysdeps/i386/i486/bits/string.h: Pretty printing.
114
d8a167a5
UD
1151998-12-16 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
116
117 * sunrpc/rpc/xdr.h: Revert patch from 1998-12-14, partly revert
118 patch from 1998-12-01.
119
d735bcf4
RM
1201998-12-16 Roland McGrath <roland@baalperazim.frob.com>
121
122 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Define this #ifdef
123 __USE_BSD as well as #ifdef __USE_GNU, so MAXSYMLINKS can use it.
124 Reported by UCHIYAMA Yasushi <uch@nop.or.jp>
125
88fd9830
UD
1261998-12-16 Ulrich Drepper <drepper@cygnus.com>
127
128 * iconvdata/ibm866.c: New file.
129 * iconvdata/cp1258.c: New file.
130 * iconvdata/cp1258.h: New file.
131 * iconvdata/mac-uk.c: New file.
132 * iconvdata/gconv-modules: Add rules for new modules.
133 * iconvdata/Makefile: Likewise.
134
135 * sysdeps/gnu/bits/ipc.h: Move libc internal bits to...
136 * include/bits/ipc.h: ..here. New file.
137
d735bcf4
RM
1381998-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
139
140 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Don't change
141 read-only struct termios_p* but change k_termios member directly.
142
a3fc1f71
UD
1431998-12-15 H.J. Lu <hjl@gnu.org>
144
145 * sysdeps/posix/tempname.c (__path_search): Fix the maximum
146 string length.
147
5a7cb1a2
UD
1481998-12-15 Ulrich Drepper <drepper@cygnus.com>
149
e9dcb080
UD
150 * sysdeps/unix/sysv/linux/msgctl.c: Use INLINE_SYSCALL.
151 * sysdeps/unix/sysv/linux/msgget.c: Likewise.
152 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
153 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
154 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
155 * sysdeps/unix/sysv/linux/semget.c: Likewise.
156 * sysdeps/unix/sysv/linux/semop.c: Likewise.
157 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
158 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
159 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
160 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
161 * sysdeps/unix/sysv/linux/syscalls.list: Remove ipc syscall here.
162 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add ipc syscall here.
163
164 * time/strftime.c: Remove 'f' format.
165
166 * time/strptime.c (get_number): Ignore trailing whitespace.
167 (strptime_internal): Handle 'F' and 'k' formats.
168
5a7cb1a2
UD
169 * sysdeps/posix/tempname.c (__path_search): Add second part of the
170 patch by Andreas Jaeger.
171
1721998-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
173
174 * stdio-common/tst-tmpnam.c (main): Use void as parameter to avoid
175 warnings about unused args. Fix comment.
176
1771998-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
178
179 * sysdeps/posix/tempname.c (__path_search): Correct last patch.
180
c870d249
UD
1811998-12-14 Ulrich Drepper <drepper@cygnus.com>
182
183 * sunrpc/rpc/xdr.h (IXDR_GET_INT32): Case pointer before reading from
184 it.
185 (IXDR_PUT_INT32): Likewise for writing.
181a8546 186 Patch by Bruce Elliott <bde@nwlink.com>.
c870d249 187
5a7cb1a2
UD
1881998-12-08 H.J. Lu <hjl@gnu.org>
189
190 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Don't clear
191 the IBAUD0 bit in c_iflag.
192
193 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear the
194 the IBAUD0 bit in c_iflag.
195
6269e521
UD
1961998-12-14 Ulrich Drepper <drepper@cygnus.com>
197
198 * time/Makefile (tests): Add tst-strptime.
199 * time/tst-strptime.c: New file.
200 * time/strptime.c: Correct bugs in weekday and yearday computation.
201
59036602
UD
2021998-12-14 Ulrich Drepper <drepper@cygnus.com>
203
c2cfb512
UD
204 * time/strptime.c (strptime_internal): Set tm_wday and tm_yday in
205 any of tm_year, tm_mon, or tm_mday was changed and the value
206 itself wasn't specified.
207
60876a75
UD
208 * include/stdio.h: Add new parameter to __path_search.
209 * libio/oldtmpfile.c: Add 0 as new parameter to __path_search.
210 * stdio-common/tmpfile.c: Likewise.
211 * stdio-common/tmpfile64.c: Likewise.
212 * stdio-common/tmpnam.c: Likewise.
213 * stdio-common/tmpnam_r.c: Likewise.
214 * stdio-common/tempnam.c: Add 1 as new parameter to __path_search.
215 * sysdeps/posix/tempname.c: Add new parameter. If value is nonzero
216 consider TMPDIR environment variable and dir parameter. Otherwise not.
217 * stdio-common/Makefile (tests): Add tst-tmpnam.
218 * stdio-common/tst-tmpnam.c: New file.
219
59036602
UD
220 * po/es.po: Update from translation team.
221
4260bc74 2221998-12-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
59036602 223
4260bc74
UD
224 * timezone/Makefile: Protect inclusion of z.* by avoid-generated
225 and inhibit_timezone_rules instead of no_deps.
226 * Make-dist: Pass inhibit_timezone_rules=t when making
227 echo-distinfo.
59036602 228
4260bc74 2291998-12-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
59036602 230
4260bc74 231 * manual/Makefile (distribute): Remove dir-add.texinfo.
59036602 232
4260bc74
UD
233 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/procfs.h and
234 sys/user.h.
59036602 235
4260bc74 2361998-12-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
59036602 237
4260bc74
UD
238 * manual/Makefile (stamp-summary): Use ^L as separator for
239 sorting.
240 * manual/arith.texi: Add comments before all @deffoox lines to get
241 them added to the summary.
242 * manual/creature.texi: Likewise.
243 * manual/math.texi: Likewise.
59036602 244
4260bc74 2451998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
59036602 246
4260bc74
UD
247 * math/libm-test.c: Remove macro ISINF. Change all usages of
248 ISINF to isinf.
59036602 249
550be6cd
UD
2501998-12-13 Ulrich Drepper <drepper@cygnus.com>
251
252 * sysdeps/posix/tempname.c: Use __xstat instead of __stat.
253 * sysdeps/unix/grantpt.c: Likewise.
254 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
255 * sysvipc/ftok.c: Likewise.
256 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
257
a3f4b50b
UD
258 * stdlib/test-canon.c: Define PATH_MAX if the system does not.
259 * string/stratcliff.c: Use MAP_ANON instead of MAP_ANONYMOUS.
260 Patch by UCHIYAMA Yasushi <uch@nop.or.jp>.
261
4260bc74 2621998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
59036602 263
4260bc74 264 * sysdeps/alpha/fpu/fsetexcptflg.c: Avoid -Wparentheses warning.
59036602 265
4260bc74
UD
266 * sysdeps/libm-ieee754/s_expm1.c (__expm1): Avoid -Wparentheses
267 warning.
268 * sysdeps/libm-ieee754/s_log1p.c (__log1p): Likewise.
269 * sysdeps/libm-ieee754/e_logf.c (__ieee754_logf): Likewise.
270 * sysdeps/libm-ieee754/s_expm1f.c (__expm1f): Likewise.
271 * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Likewise.
272 * sysdeps/libm-ieee754/s_log1pf.c (__log1pf): Likewise.
3bb266e0 273
4260bc74 2741998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
59036602 275
4260bc74
UD
276 * sunrpc/svc_udp.c (svcudp_bufcreate): Declare len as socklen_t.
277 (svcudp_recv): Likewise.
59036602 278
4260bc74 2791998-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
59036602 280
4260bc74
UD
281 * nis/nss-nisplus.h: Change some mappings of NIS+ errors to
282 NSS error codes to avoid endless loops.
59036602 283
70b0abba
UD
2841998-12-13 Ulrich Drepper <drepper@cygnus.com>
285
286 * iconvdata/gconv-modules: Correct aliases for ISO-8859-13 and add
287 aliases for ISO-8859-14.
288
4260bc74 2891998-12-12 Geoff Keating <geoffk@ozemail.com.au>
59036602 290
4260bc74
UD
291 * posix/fnmatch.c (fnmatch): Arguments to FOLD must not have
292 side-effects.
59036602 293
c090aa15
UD
2941998-12-12 Ulrich Drepper <drepper@cygnus.com>
295
296 * iconvdata/iso-8859-11.h: ISO 8859-11 conversion data.
297 * iconvdata/iso-8859-11.c: ISO 8859-11 conversion module.
298 * iconvdata/iso-8859-13.c: Likewise for 8859-13.
299 * iconvdata/iso-8859-14.c: Likewise for 8859-14.
300 * iconvdata/iso-8859-15.c: Likewise for 8859-15.
301 * iconvdata/gconv-modules: Add rules for new modules.
302 * iconvdata/Makefile: Likewise.
303
f98b4bbd
UD
3041998-12-12 Ulrich Drepper <drepper@cygnus.com>
305
306 * stdio-common/printf_fp.c: #ifdef out long double handling code if
307 __NO_LONG_DOUBLE_MATH is defined to avoid warnings.
308 * stdio-common/printf_fphex.c: Likewise.
309 * stdio-common/printf-size.c: Likewise.
310
3111998-12-12 Ulrich Drepper <drepper@cygnus.com>
312
313 * login/Makefile: Install pt_chown using INSTALL_PROGRAM.
314 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
315
bc15f0f8
UD
3161998-12-11 Ulrich Drepper <drepper@cygnus.com>
317
c2a32973
UD
318 * sysdeps/powerpc/dl-machine.h (elf_machine_matches_host): Mark
319 static inline, not extern inline.
320 (elf_machine_dynamic): Likewise.
321 (elf_machine_lazy_rel): Likewise.
322 (elf_machine_plt_value): Likewise.
323 * sysdeps/powerpc/backtrace.c: Include stddef.h to get NULL
324 definition.
f98b4bbd 325 Patchess by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
c2a32973 326
486fa0b7
UD
327 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fixl_addr parameter
328 type. Reported by job bogan <job@piquin.uchicago.edu>.
329
bc15f0f8
UD
330 * sysdeps/unix/opendir.c (__opendir): Use __xstat instead of
331 __stat.
332
724049ba
UD
3331998-12-11 Kunihiro Ishiguro <kunihiro@zebra.org>
334
335 * inet/netinet/in.h: Change obsolete structure member
336 ipv6mr_ifindex to new ipv6mr_interface.
337
981993e1
UD
3381998-12-11 Ulrich Drepper <drepper@cygnus.com>
339
340 * sysdeps/ieee754/dbl2mpn.c: Changed '#include "ieee754.h"' to
341 '#include <ieee754.h>'. ARM port has its own version of 'ieee754.h'
342 due to its big endian floating point format.
343 * sysdeps/ieee754/ldbl2mpn.c: Likewise.
344 * sysdeps/ieee754/mpn2dbl.c: Likewise.
345 * sysdeps/ieee754/mpn2ldbl.c: Likewise.
346 * sysdeps/ieee754/mpn2flt.c: Likewise.
347 Patch by Scott Bambrough <scottb@corelcomputer.com>.
348
631f2dd0
UD
3491998-12-10 Ulrich Drepper <drepper@cygnus.com>
350
a6e3a56a
UD
351 * sysdeps/unix/sysv/linux/adjtime.c: Undo last change.
352
631f2dd0
UD
353 * posix/PTESTS: Fix typo.
354
adc9be5c 355 * po/es.po: Update from translation team.
f2bbe1fd 356 * po/fr.po: Likewise.
adc9be5c 357
04c216a8
UD
3581998-12-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
359
631f2dd0 360 * nis/nss_compat/compat-pwd.c: Fix handling of +/- entries.
04c216a8 361
38e11096
UD
3621998-12-10 Ulrich Drepper <drepper@cygnus.com>
363
364 * sunrpc/Makefile: Call rpcgen program which -Y parameter so that
365 it can find the preprocessor.
366
648c1337
UD
3671998-12-09 Geoff Keating <geoffk@ozemail.com.au>
368
369 * sysdeps/unix/sysv/linux/sys/procfs.h: Use sys/user.h not
370 asm/user.h.
371 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
372
373 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: New file,
374 like linux/sys/procfs.h but uses uid_t and gid_t.
375 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: New file,
376 don't include <linux/ptrace.h>.
377
3781998-12-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
379
380 * posix/runptests.c (main): Check that regcomp did not succeed
381 unexpectedly.
382 * posix/runtests.c (run_a_test): Likewise. Return appropriate
383 exit code.
384 * posix/TESTS: Regexp "a[b-a]" should not compile.
385 * posix/PTESTS: Comment out bogus tests GA113(2), GA145(2) and
386 GA147(2).
387
3881998-12-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
389
390 * locale/programs/ld-ctype.c (allocate_arrays): Don't crash if
391 there is no codeset name.
392 * locale/programs/ld-collate.c (collate_output): Don't crash if a
393 character has no weight.
394
b77e6cd6
UD
3951998-12-10 Ulrich Drepper <drepper@cygnus.com>
396
397 * inet/getnetgrent_r.c (innetgr): Check host and domain name with
398 strcasecmp, not strcmp. [PR libc/894].
399
4001998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
401
402 * posix/regex.h: Declare re_comp, re_exec if compiling for libc to
403 get prototypes.
404
405 * wctype/wctype.h: Add prototypes for __iswblank_l and iswblank.
406
4071998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
408
409 * sysdeps/unix/sysv/linux/gethostid.c: Include <netdb.h> to get
410 prototype for __gethostbyname_r.
411
412 * include/time.h: Add declarations of internal interfaces.
413
414 * time/tzset.c: Remove declarations of internal interfaces.
415 * time/gmtime.c: Likewise.
416 * time/localtime.c: Likewise.
417 * time/offtime.c: Likewise.
418 * time/tzfile.c: Likewise.
419
c3c95a7b
UD
4201998-12-01 09:47 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
421
422 * sysdeps/unix/sysv/linux/sys/timex.h: Copy out
423 user-space-relevant definitions from linux/timex.h of kernel
424 2.1.130 and remove include of kernel header.
425
426 * sysdeps/unix/sysv/linux/adjtime.c: Remove portability crud.
427
5c2a0669
UD
4281998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
429
430 * posix/regex.c: Get regex.h from system path, not from local
431 directory.
432
433 * posix/regex.h: Move internal interfaces to ...
434 * include/regex.h: ...here.
435
436 * posix/unistd.h: Move internal interfaces to ...
437 * include/unistd.h: ...here.
438
439 * math/math.h: Move internal interfaces to ...
440 * include/math.h: ...here.
441
442 * posix/glob.h: Move internal interfaces to ...
443 * include/glob.h: ...here.
444
445 * string/string.h: Move internal interfaces to ...
446 * include/string.h: ...here.
447
448 * time/sys/time.h: Move internal interfaces to ...
449 * include/sys/time.h: ...here.
450
451 * resolv/netdb.h: Move internal interfaces to ...
452 * include/netdb.h: ...here.
453
4541998-12-08 Ulrich Drepper <drepper@cygnus.com>
455
456 * iconvdata/eucjp.c: Handle Yen in overscore conversion from ISO 10646
457 correctly.
458 * iconvdata/iso-2022-jp.c: Handle Kana in 2022-JP2 correctly
459 Fix various bugs in conversion routine.
460 * iconvdata/jis0201.h: Correct variable name.
461 * iconvdata/jis0208.c: Correct script to generate tables and regenerate
462 them.
463 * iconvdata/jis0208.h: Likewise.
464 * iconvdata/jis0212.c: Likewise.
465 * iconvdata/sjis.c: Likewise.
466 Patch by HANATAKA Shinya <hanataka@abyss.rim.or.jp>.
467
5470bc9f
UD
4681998-12-07 Ulrich Drepper <drepper@cygnus.com>
469
a94b2ac0
UD
470 * sysdeps/unix/sysv/linux/speed.c (IBAUD0): New definition. Bit
471 set in c_iflag if cfsetispeed is call with SPEED set to zero.
472 (cfgetispeed): Return zero if prior if IBAUD0 is set.
473 (cfsetospeed): Clear IBAUD0 bit.
474 (cfgetispeed): Set IBAUD0 bit if necessary.
475 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear
476 the IBAUD0 bit in c_iflag when making the system call.
477 Work around a Linux kernel bug which silently changes the
478 PARENB/CREAD/CSIZE bits in c_cflag on pty.
5470bc9f
UD
479 * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Make a real
480 function. Don't set speed is SPEED parameter is zero since this
481 means set it to the output speed.
a94b2ac0 482 Based on a patch by H.J. Lu <hjl@gnu.org>.
5470bc9f
UD
483
484 * version.h (VERSION): Bump to 2.0.106.
485
a94b2ac0
UD
486 * Makeconfig (link-libc-static): Don't use link-libc since this
487 includes the shared object. Use gnulib only.
488
b38bb8ca
UD
489 * configure.in: Disable --disable-static.
490
5470bc9f
UD
4911998-12-07 12:06 Ulrich Drepper <drepper@cygnus.com>
492
493 * po/de.po: Update from translation team.
494 * po/ko.po: Likewise.
495
4961998-12-07 Richard Henderson <rth@cygnus.com>
497
498 * sysdeps/unix/sysv/linux/alpha/select.S: Save a4 through
499 both paths.
500
0d3eb016
RM
5011998-12-05 Roland McGrath <roland@baalperazim.frob.com>
502
503 * sysdeps/mach/hurd/pselect.c: New file.
504
505 * sysdeps/mach/hurd/poll.c: New file.
506
507 * hurd/Makefile (routines): Add hurdselect.
508 * hurd/hurdselect.c: New file.
509 (_hurd_select): New function, guts taken from ...
510 * sysdeps/mach/hurd/select.c (__select): ... here.
511 Now work by just calling _hurd_select.
512 * hurd/hurd/fd.h: Declare _hurd_select.
513
5141998-12-05 Roland McGrath <roland@baalperazim.frob.com>
515
516 * time/strptime.c: Fix unterminated comment in last change.
517
31604a65
UD
5181998-12-05 Ulrich Drepper <drepper@cygnus.com>
519
6685edd3 520 * ctype/ctype.h (_ISbit): Protect use of parameter with
9c8cfaf5 521 parentheses.
6685edd3 522 * wctype/wctype.h (_ISwbit): Likewise.
9c8cfaf5 523
83ce8c14
UD
524 * locale/Versions: Make experimental locale interface available in
525 GLIBC_2.1.
526
69c7e1dd 527 * sysdeps/gnu/bits/utmp.h (struct exit_status): Define members
31604a65 528 without leading __ only for __USE_GNU.
69c7e1dd 529 * sysdeps/gnu/bits/utmpx.h (struct __exit_status): Likewise.
31604a65 530
a6ff34d7
UD
5311998-12-04 Ulrich Drepper <drepper@cygnus.com>
532
0d3eb016 533 * argp/argp.h: Add __restrict.
a6ff34d7
UD
534 * dirent/dirent.h: Likewise.
535 * elf/dlfcn.h: Likewise.
536 * grp/grp.h: Likewise.
537 * iconv/iconv.h: Likewise.
538 * inet/aliases.h: Likewise.
539 * libio/libio.h: Likewise.
540 * libio/stdio.h: Likewise.
541 * locale/locale.h: Likewise.
542 * misc/mntent.h: Likewise.
543 * posix/wordexp.h: Likewise.
544 * pwd/pwd.h: Likewise.
545 * resolv/netdb.h: Likewise.
546 * rt/aio.h: Likewise.
547 * stdio-common/printf.h: Likewise.
548 * stdlib/monetary.h: Likewise.
549 * stdlib/stdlib.h: Likewise.
550 * string/argz.h: Likewise.
551 * string/envz.h: Likewise.
552 * string/string.h: Likewise.
553 * time/time.h: Likewise.
554
5551998-12-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
556
557 * misc/sys/cdefs.h: Only include features.h if _FEATURES_H isn't
558 defined. gcc's redundant include optimizer isn't clever enough to
559 prevent a reinclusion here.
560 Define __restrict to the empty string only if not GCC or
561 GCC version less than 2.92.
562
5631998-12-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
564
565 * sysdeps/unix/sysv/linux/configure.in: Fix last change.
566
5671998-12-03 Mark Kettenis <kettenis@phys.uva.nl>
568
569 * time/strptime.c (strptime_internal): Make use of `%C' format
570 specifier if it is seen together with the `%y' specifier.
571
5721998-12-04 Ulrich Drepper <drepper@cygnus.com>
573
574 * po/sk.po: New file.
575
5761998-12-03 Scott Bambrough <scottb@corelcomputer.com>
577
578 * sysdeps/arm/dl-machine.h (dl_start_user): Incorrect address
579 for _dl_main_searchlist passed to _dl_init_next.
580
5811998-12-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
582
583 * math/libm-test.c: Expand literal tabs in strings. Normalize
584 whitespace.
585
5861998-12-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
587
588 * sysdeps/unix/sysv/linux/sys/fsuid.h: Fix spelling.
589
aab217f3 5901998-12-04 Mark Kettenis <kettenis@phys.uva.nl>
c31fd66e 591
aab217f3
RM
592 Provide backwards binary compatibility for the Hurd.
593 * hurd/geteuids.c [PIC && DO_VERSIONING]: Make __getuids a weak
594 alias for geteuids.
595 * hurd/Versions [GLIBC_2.0]: Add __getuids,
596 __hurd_file_name_lookup and _hurd_umask.
597 [GLIBC_2.1]: Add _hurd_proc_init.
598 * hurd/Makefile [versioning] (routines): Add compat-20.
599 (shared-only-routines): Likewise.
600 * hurd/hurdinit.c (_hurd_new_proc_init): Renamed from
601 _hurd_proc_init. Use it as the default _hurd_proc_init version
602 for GLIBC_2.1.
603 * hurd/compat-20.c: New file.
604 * mach/Versions [GLIBC_2.0]: Add __vm_allocate.
c31fd66e 605
eeabe877
UD
6061998-12-02 Ulrich Drepper <drepper@cygnus.com>
607
608 * elf/elf.h: Add R_MIPS_JALR and adjust R_MIPS_NUM appropriately.
609
6101998-12-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
611
612 * inet/Versions: Remove inet6_isipv4mapped.
613
6141998-12-02 Philip Blundell <pb@nexus.co.uk>
615
616 * inet/in6_addr.c (inet6_isipv4mapped): Obsolete, deleted.
617
6181998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
619
620 * manual/time.texi (Formatting Date and Time): Fix typo.
621
6221998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
623
624 * sysdeps/unix/sysv/linux/configure.in: Only check for symlinks
625 when configuring natively. Use autoconf macros instead of rolling
626 our own. Handle defaulted prefix.
627
19c6b9c8
UD
6281998-12-01 Ulrich Drepper <drepper@cygnus.com>
629
630 * version.h (VERSION): Bump to 2.0.105.
631
632 * sysdeps/generic/Dist: Add bits/libc-tsd.h.
633
634 * sysdeps/mach/hurd/Dist: Add bits/libc-tsd.h.
635
636 * sysdeps/unix/sysv/linux/mips/Dist: Add xstatconv.c.
637
628a0aa1
UD
6381998-11-29 1998 H.J. Lu <hjl@gnu.org>
639
640 * libio/genops.c (_IO_unbuffer_write): Renamed from
641 _IO_unbuffer_all.
642 (_IO_cleanup): Call _IO_unbuffer_write instead of
643 _IO_unbuffer_all.
644
6451998-12-01 Ulrich Drepper <drepper@cygnus.com>
646
647 * intl/localealias.c: Use *_unlocked version of stdio function if
648 _LIBC_REENTRANT is defined, not _LIBC.
649
6501998-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
651
652 * include/grp.h: Add prototypes for internal functions
653 __getgrgid_r and __getgrnam_r.
654
655 * inet/herrno.c: Include <netdb.h> for prototype, undef h_errno.
656
657 * resolv/nsap_addr.c: Include <arpa/inet.h> for inet_nsap_addr and
658 inet_nsap_ntoa prototypes.
659
62595351
UD
6601998-12-01 Ulrich Drepper <drepper@cygnus.com>
661
628a0aa1
UD
662 * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Pass -I option
663 to gcc to have it find the correct system header.
664 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
665
62595351 666 * Makefile (postclean): Add sysd-sorted.
628a0aa1 667 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
62595351 668
ee586e0e
UD
6691998-12-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
670
671 * sunrpc/auth_des.c: Use new XDR int32 functions for integers.
672 * sunrpc/rpc/xdr.h: Add IXDR INT32 functions.
673 * sunrpc/rpc_hout.c: Remove (u_long) casts in defines to avoid
674 conflicts with new solaris version.
675 * sunrpc/rpc_main.c: Fix bug in generating Makefile name (malloc
676 doesn't zero allocated memory).
677 * sunrpc/rpc_svcout.c: Local variables now starts with a _ to avoid
678 conflicts with xdr functions. Solves PR libc/877.
679 * nis/rpcsvc/nis.x: Use always uint32_t.
680 * nis/rpcsvc/nis.h: Likewise.
681 * nis/rpcsvc/nis_object.x: Likewise.
682
6831998-12-01 Ulrich Drepper <drepper@cygnus.com>
684
685 * math/libm-test.c: Various cleanups. Patch by Zack Weinberg.
686
687 * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use correct type for
688 parameter. Patch by Christian Gafton.
689
690 * string/envz.h: Add prototype for envz_remove.
691 Reported by Andreas Jaeger.
692
42ee0538
RM
6931998-11-30 Mark Kettenis <kettenis@phys.uva.nl>
694
695 * mach/Versions [libc, GLIBC_2.0]: Add __spin_lock,
696 __spin_lock_init, __mutex_lock, __mutex_trylock,
697 __mutex_unlock.
698 Remove get_priviliged_ports. Moved to hurd/Versions.
699
700 * hurd/Versions [libc, GLIBC_2.0]: Add _end. This makes the Hurd
701 brk implementation see the end of the data segment of the program
702 instead of the shared library.
703 Add __hurd_errno_location. This inline function is used in user
704 programs.
705 Add _hurd_critical_section_lock, _hurd_critical_section_unlock,
706 _hurd_fd_get, _hurd_port_free, _hurd_port_get,
707 _hurd_port_locked_get. These inline functions are used by macros
708 used in mail.local in the Hurd distribution.
709 Add get_privileged_ports. Moved here from mach/Versions.
710 Remove __hurd_file_name_lookup, __hurd_file_name_lookup_retry,
711 __hurd_file_name_split, __hurd_file_name_path_lookup. These are
712 not used outside libc.
713
7141998-11-30 Mark Kettenis <kettenis@phys.uva.nl>
715
716 * hurd/hurdstartup.c: Really include set-hooks.h with <> instead
717 of "".
718
5713a71e
UD
7191998-11-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
720
721 * sunrpc/Makefile: Add xdr_intXX_t to routines.
722 * sunrpc/Versions: Add xdr_int8_t, xdr_uint8_t, xdr_in16_t and
723 xdr_uint16_t.
724 * sunrpc/rpc/xdr.h: Add prototypes for new xdr_intXX_t functions.
725 * sunrpc/xdr.c: Remove xdr_int32_t and xdr_uint32_t.
726 * sunrpc/xdr_intXX_t.c: New, contains all xdr_intXX_t functions.
727
728 * nis/Depend: New.
729 * nis/nss_nis/nis-service.c: Include generated prototype for parser.
730
348ed515
UD
7311998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
732
733 * nscd/nscd_getpw_r.c: Include nscd_proto.h for prototypes.
734
735 * sysdeps/generic/errno-loc.c: Include <errno.h> for prototype,
736 undefine errno to get variable.
737
738 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Include <sys/fsuid.h>
739 instead of <unistd.h> for prototype.
740 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
741
7421998-11-30 Ulrich Drepper <drepper@cygnus.com>
743
744 * misc/err.h: Correct comments and use protected attribute keywords.
745 Reported by Joseph Myers <jsm28@cam.ac.uk>.
746
7471998-11-29 Roland McGrath <roland@baalperazim.frob.com>
748
749 * malloc/thread-m.h [_LIBC]: Include <bits/libc-tsd.h>, and
750 remove tsd stuff from pthreads/cthreads libc sections.
751 Use __libc_tsd_define for MALLOC key.
752 [_LIBC] (tsd_key_t, tsd_key_create): Define to a zero-size type and a
753 no-op, respectively.
754 [_LIBC] (tsd_setspecific, tsd_getspecific): Use __libc_tsd_get/set.
755
756 * elf/dl-error.c: Include <bits/libc-tsd.h>.
757 Use __libc_tsd_define for DL_ERROR key.
758 (tsd_setspecific, tsd_getspecific): Rewritten using __libc_tsd_get/set.
759
760 * sysdeps/mach/hurd/bits/libc-tsd.h: New file.
761 * sysdeps/generic/bits/libc-tsd.h: New file.
762 * Makefile (distribute): Add bits/libc-tsd.h.
763
7641998-10-12 Roland McGrath <roland@baalperazim.frob.com>
765
766 * elf/dl-error.c: Remove kludge to check for ld.so load address.
767 There is no need if weak undefined symbols are not used in ld.so;
768 see linuxthreads/ChangeLog for changes to files
769 linuxthreads/sysdeps/pthread/bits/libc-lock.h and
770 linuxthreads/sysdeps/pthread/bits/libc-tsd.h.
771
7721998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
773
774 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo (s->__s).
775
776 * sysdeps/i386/i486/bits/string.h: Add prototypes for all new
777 inline functions.
778 * sysdeps/i386/bits/string.h: Likewise.
779
7801998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
781
782 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Remove ipc_kludge.
783
7841998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
785
786 * db2/progs/db_load/db_load.c (main): Avoid -Wparentheses warning.
787
3dc9c979
RM
7881998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
789
790 * sysdeps/mach/hurd/dl-sysdep.c: Do not define
791 __hurd_threadvar_max. Add comment explaining why we define
792 __hurd_threadvar_stack_offset and __hurd_threadvar_stack_mask here.
793
7941998-07-29 Mark Kettenis <kettenis@phys.uva.nl>
795
796 * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
797 __hurd_sigthread_stack_end, __hurd_sigthread_variables): Define to
798 prevent inclusion of Hurd signal handling code.
799 (__libc_write): New function.
800 (_dl_sysdep_output): Removed. The implementation in
801 `elf/dl-misc.c' now also works for the Hurd.
802
f69139ec
RM
8031998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
804
805 * hurd/hurdstartup.c: Do not include hurdmalloc.h; _hurd_startup
806 does not use any of malloc/realloc/free anymore. Include
807 set-hooks.h with <> instead of "".
808
0c4db20b
RM
8091998-11-29 Roland McGrath <roland@baalperazim.frob.com>
810
811 * sunrpc/svc_unix.c (__msgread): Move ON local var inside block
812 within #ifdef SO_PASSCRED. Avoids unused var when no SO_PASSCRED.
813 * sunrpc/clnt_unix.c (__msgread): Likewise.
814
cbef6235
RM
8151998-11-28 Roland McGrath <roland@baalperazim.frob.com>
816
817 * hurd/setuids.c: Renamed to ...
818 * hurd/seteuids.c: this.
819 (setuids): Renamed to seteuids.
820 * hurd/getuids.c: Renamed to ...
821 * hurd/geteuids.c: this.
822 (__getuids): Renamed to geteuids, no aliases.
823 * hurd/hurd.h (geteuids, seteuids): Declare them.
824 * hurd/Versions: Replace getuids; __getuids with geteuids; seteuids.
825 * hurd/Makefile (routines): Updated.
826
5f75d1e2
UD
8271998-11-29 Ulrich Drepper <drepper@cygnus.com>
828
829 * sysdeps/generic/segfault.c (install_handler): Correct test for
830 SEGFAULT_HANDLER=all.
831 Patch by Zack Weinberg.
832
cbef6235
RM
8331998-11-28 23:23 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
834
835 * sysdeps/unix/sysv/linux/configure.in: Test for symlinks in
836 $prefix/include that may be clobbered on installation.
837
6d4752d8
UD
8381998-11-27 Philip Blundell <pb@nexus.co.uk>
839
840 Fixes to allow compilation with static NSS:
841 * nss/Makefile: Make explicit the dependency of getent on
842 libnss_files.a.
843 [build_static_nss]: Define $(otherlibs) appropriately.
844 * nss/Depend: Add a dependency on `resolv'.
845
8461998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
847
848 Partial support for MIPS ISO C 9x exception handling:
849 * sysdeps/mips/fclrexcpt.c: New file.
850 * sysdeps/mips/ftestexcept.c: New file.
851 * sysdeps/mips/fgetexcptflg.c: New file.
852 * sysdeps/mips/fesetround.c: New file.
853 * sysdeps/mips/fegetround.c: New file.
854 * sysdeps/mips/fegetenv.c: New file.
855 * sysdeps/mips/fesetenv.c: New file.
856 * sysdeps/mips/feupdateenv.c: Likewise.
857 * sysdeps/mips/bits/fenv.h: New file.
858
8591998-11-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
860
861 * sysdeps/unix/sysv/linux/mips/bits/signum.h: Remove inclusion of
862 <asm/signal.h> and add needed symbols from <asm/signal.h>; bring
863 in sync with linux specific version.
864
865 Patches by Ralf Baechle <ralf@uni-koblenz.de> for mips-linux:
866
867 * sysdeps/unix/mips/sysdep.S: Define _errno as weak_alias, rewrite
868 errno declaration.
869
870 * sysdeps/unix/sysv/linux/mips/ustat.c: Use INLINE_SYSCALL instead
871 of calling __syscall_*.
872 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
873
874 * sysdeps/unix/sysv/linux/mips/syscalls.list: Update entries.
875
876 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add missing SYS_*
877 constants, correct values according to Linux 2.1.130.
878
879 * sysdeps/unix/sysv/linux/mips/pwrite.c: New file.
880 * sysdeps/unix/sysv/linux/mips/pwrite64.c: New file.
881 * sysdeps/unix/sysv/linux/mips/pread.c: New file.
882 * sysdeps/unix/sysv/linux/mips/pread64.c: New file.
883
884 * sysdeps/mips/Makefile (sysdep_routines): Use += instead of a
885 :=.
886
887 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Remove ipc_kludge.
888
889 * sysdeps/unix/sysv/linux/mips/xstatconv.c: New file.
890
891 * sysdeps/unix/sysv/linux/mips/xstat.c: Removed.
892
893 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: New file.
894
895 * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Add copyright
896 message, change name of include protection, remove inclusion of
897 <bits/termios.h>.
898
899 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
900 (old_kernel_sigaction): Define.
901 (struct kernel_sigaction): Rename sa_handler to k_sa_handler.
902
903 * sysdeps/unix/sysv/linux/mips/bits/time.h: Removed, we can use
904 the general linux version.
905 * sysdeps/unix/sysv/linux/mips/bits/stat.h (_STAT_VER_KERNEL): Added.
906
907 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Update file.
908
9091998-09-03 Philip Blundell <pb@nexus.co.uk>
910
911 * sysdeps/arm/bits/endian.h (__FLOAT_WORD_ORDER): Define to big
912 endian.
913 * math/math_private.h: Use __FLOAT_WORD_ORDER rather than
914 BYTE_ORDER.
915 * string/endian.h: If __FLOAT_WORD_ORDER wasn't defined by
916 <bits/endian.h>, make it the same as __BYTE_ORDER.
917
48252123
UD
9181998-11-27 Ulrich Drepper <drepper@cygnus.com>
919
920 * math/math.h: Avoid using long double functions in generic macros
921 if __NO_LONG_DOUBLE_MATH.
922
923 * sysdeps/arm/dl-machine.h: Fix handling of weak undefined symbols
924 during bootstrapping.
925 * scripts/config.sub: Add Netwinder specific matches.
926 Patch by Scott Bambrough <scottb@corelcomputer.com>.
927
6d4752d8
UD
9281998-11-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
929
930 * Makeconfig ($(common-objpfx)sysd-dirs): Use automatic variables
931 if possible.
932 ($(common-objpfx)sysd-sorted): Likewise.
933
9341998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
935
936 * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Add declaration of
937 local variables t1,t2 only if needed.
938
48252123
UD
939 * sysdeps/libm-ieee754/e_atan2.c: Added braces to avoid compiler
940 warnings.
6d4752d8
UD
941 * sysdeps/libm-ieee754/s_truncf.c (__truncf): Likewise.
942 * sysdeps/libm-ieee754/s_trunc.c (__trunc): Likewise.
943
944 * sysdeps/mips/mul_1.S (Loop): Add closing comment to avoid
945 warning.
946
9471998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
948
949 * math/math.h: Add brace to correct #if expression.
950
9511998-11-26 Philip Blundell <philb@gnu.org>
952
953 Undo change of 1998-11-12:
954 * sysdeps/unix/sysv/linux/netlink/netlink.h: Deleted.
955 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
956 netlink/netlink.h.
957 * sysdeps/unix/sysv/linux/Dist: Likewise.
958
9591998-11-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
960
961 * nis/nis_print.c (nis_print_entry): Changes to match Solaris output.
962
cb0509a8
UD
9631998-11-26 Ulrich Drepper <drepper@cygnus.com>
964
965 * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): New defined macro.
966 (elf_machine_got_rel): Remove scope variable. Use scope from the map.
967 Don't modify _dl_global_scope_end in the end.
968 (__dl_runtime_resolv): Also use scope from the map.
969 * sysdeps/mips/mips64/dl-machine.h: Likewise.
970 * elf/dl-runtime.c: Don't define fixup and profile_fixup if
971 ELF_MACHINE_NO_PLT is defined.
972 * sysdeps/mips/sys/ucontext.h: New file.
973 Patches by kaz Kojima <kkojima@rr.iij4u.or.jp>.
974
6d4752d8
UD
9751998-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
976
977 * sysdeps/generic/pselect.c (__pselect): Change interface,
978 set/restore sigmask.
979
980 * misc/sys/select.h: Change declaration according to Stevens' Unix
981 Network Programming.
982 * include/sys/select.h (__pselect): Likewise.
983 Reported by <bwelling@anomaly.munge.com> [PR libc/872].
984
985 * include/fpu_control.h: New file, contains __setfpucw
986 declaration.
987
988 * sysdeps/generic/fpu_control.h: Remove __setfpucw declaration,
989 it's an internal symbol.
990 * sysdeps/alpha/fpu/fpu_control.h: Likewise.
991 * sysdeps/arm/fpu/fpu_control.h: Likewise.
992 * sysdeps/i386/fpu_control.h: Likewise.
993 * sysdeps/m68k/fpu_control.h: Likewise.
994 * sysdeps/powerpc/fpu_control.h: Likewise.
995 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Likewise.
996 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
997
0155a773
UD
9981998-11-25 Ulrich Drepper <drepper@cygnus.com>
999
1000 * version.h (VERSION): Bump to 2.0.104.
1001
10021998-11-25 Mark Kettenis <kettenis@phys.uva.nl>
1003
1004 * libio/bits/stdio.h (fread_unlocked): Add missing parentheses
1005 around parameter n.
1006
10071998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1008
1009 * time/tzfile.c (__tzfile_read): Fix comment.
1010
10111998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1012
1013 * Makerules (build-shlib): Pass -O1 down to linker to get
1014 optimized shared libraries.
1015
10161998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1017
1018 * Makeconfig ($(common-objpfx)sysd-dirs): Cope with no Subdirs
1019 file. Strip "-" from inhibited subdir name. Combine into a
1020 single awk program.
1021 ($(common-objpfx)sysd-sorted): Fix sed command.
1022
77dd7355
RM
10231998-11-25 Roland McGrath <roland@baalperazim.frob.com>
1024
1025 * sysdeps/mach/hurd/i386/init-first.c (init): Restored as inline fn.
1026 Use constant _HURD_THREADVARS_MAX for temporary array size.
1027
1028 * Makeconfig ($(common-objpfx)sysd-sorted): Use @ instead of / as sed
1029 s separator, since $(..) might contain a /.
1030
45b3d8ad
UD
10311998-11-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1032
1033 * configure.in (mips): Fix typo (Replace ,, by ;;).
1034
1035 * libio/Versions: Clean up entries.
1036
33127459
UD
10371998-11-23 Ulrich Drepper <drepper@cygnus.com>
1038
1039 * sysdeps/i386/fpu/bits/mathinline.h: Add optimizations for lrint
1040 and llrint.
1041
a42134a7
UD
10421998-11-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1043
1044 * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Removed. There are too
1045 many differences between the Linux 2.0 and 2.1 versions of this
1046 file and it's too difficult to convert all calls. The file should
1047 only be needed by the ipfw program which has to take care of the
1048 correct kernel version and include files.
1049
1050 * sysdeps/unix/sysv/linux/Dist: Remove netinet/ip_fw.h.
1051 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
1052
7d6a8338
UD
10531998-11-23 Ulrich Drepper <drepper@cygnus.com>
1054
1055 * Makeconfig: Don't read sysd-sorted unless sysd-dirs is read.
1056 Patch by Zack Weinberg.
1057
1058 * math/bits/mathcalls.h: Adjust comments. Remove gamma_r prototype.
1059
1060 * sysdeps/i386/fpu/bits/mathinline.h: Make log2 only available if
1061 __USE_ISOC9X is defined. Provide rint optimization.
1062
10631998-11-21 H.J. Lu <hjl@gnu.org>
1064
1065 * libio/Versions (_IO_popen, _IO_proc_open, _IO_proc_close,
1066 popen, pclose): Add to GLIBC_2.1.
1067
1068 * libio/Makefile (routines): Add oldiopopen and oldpclose.
1069 (shared-only-routines): Likewise.
1070
1071 * libio/pclose.c (pclose): Make it default for GLIBC_2.1.
1072 * libio/iopopen.c (_IO_proc_open, _IO_popen, popen,
1073 _IO_proc_close): Likewise.
1074
1075 * libio/iolibio.h (_IO_new_popen, _IO_old_popen, __new_pclose,
1076 __old_pclose): New prototypes.
1077
1078 * libio/libioP.h (_IO_new_file_jumps): Removed.
1079 (_IO_old_proc_jumps): Added.
1080 (_IO_new_proc_open, _IO_old_proc_open): New prototypes.
1081
1082 * libio/oldiopopen.c: New file.
1083
1084 * libio/oldpclose.c: New file.
1085
10861998-11-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1087
1088 * nss/Makefile: Build and install getent.
1089 * nss/getent.c: New, get entries from administrative database.
1090
1521f3a5
RM
10911998-11-22 Roland McGrath <roland@baalperazim.frob.com>
1092
1093 * sysdeps/mach/hurd/i386/init-first.c (init): Provide temporary storage
1094 for the per-thread variables of the main user thread to make it
1095 possible to use malloc as soon as _hurd_preinit_hook has been run.
1096 For cthreads, copy values to new stack from there.
1097 For non-cthreads, malloc threadvar array here and copy from temp space.
1098 (init1): No longer initialize threadvars here.
1099 (doinit1): Made static void at top level.
1100 (init): Folded into [PIC] _init or [!PIC] doinit1, since GCC cannot
1101 inline a function that uses dynamic auto arrays.
1102
5edb9387
UD
11031998-11-20 Ulrich Drepper <drepper@cygnus.com>
1104
d89e7a96
UD
1105 * version.h (VERSION): Bump to 2.0.103.
1106
5edb9387
UD
1107 * aclocal.m4 (LIBC_PROG_BINUTILS): Also add AR and RANLIB using the
1108 same method.
1109 * configure.in: Don't define AR and RANLIB here.
1110
1111 * inet/gethstbyad_r.c: Define NEED__RES_HCONV and POSTPROCESS for
1112 host name res_hconf code.
1113 * inet/gethstbynm_r.c: Likewise.
1114 * nss/getXXbyYY_r.c: Include resolv/res_hconf.h if NEED__RES_HCONF
1115 is defined. Call res_hconf_init if necessary. If POSTPROCESS is
1116 defined execute the code.
1117 * resolv/Makefile (routines): Add res_hconf.
1118 (headers): Add res_hconf.h.
1119 * resolv/res_hconf.c: Pretty print.
1120 * resolv/res_hconf.h: Likewise.
1121
11221998-11-20 Ulrich Drepper <drepper@cygnus.com>
1123
1124 * sysdeps/generic/bits/byteswap.h: Fix typos in non-GCC
1125 definitions. Reported by Scott Bambrough <scottb@corelcomputer.com>.
1126
11271998-11-20 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1128
1129 * math/libm-test.c: Raise some epsilons a bit.
1130
11311998-11-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1132
1133 * Makeconfig ($(common-objpfx)sysd-sorted): Fix portability problems.
1134
11351998-11-20 Ulrich Drepper <drepper@cygnus.com>
1136
1137 * Makefile (distribute): Add scripts/gen-sorted.awk.
1138
bece5ca7
UD
11391998-11-19 Ulrich Drepper <drepper@cygnus.com>
1140
1141 * posix/regex.c (regex_compile): Handle extra long class names
1142 correctly.
1143
50463d27
UD
11441998-11-19 Geoff Keating <geoffk@ozemail.com.au>
1145
1146 * elf/rtld.c (_dl_start): Handle weak undefined symbols in ld.so
1147 correctly.
1148
1da99555
UD
11491998-11-19 Ulrich Drepper <drepper@cygnus.com>
1150
b0428320
UD
1151 * misc/error.c: Undo last change.
1152
1da99555
UD
1153 * ctype/Versions: Add _tolower and _toupper.
1154
f1317ef5
UD
11551998-11-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1156
1157 * sunrpc/svc_unix.c (readunix): Check for POLLERR, POLLHUP and
1158 POLLNVAL.
1159
bb41a976
UD
11601998-11-19 Ulrich Drepper <drepper@cygnus.com>
1161
1162 * Makeconfig: Add comment to all-subdirs definition.
1163 Add rule to generate sysd-sorted. Include this file and and set
1164 subdirs value to $(sorted-subdirs).
1165 * scripts/gen-sorted.awk: New file.
1166 * Make-dist (+tsrcs): Add Depend.
1167 * nscd/Depend: New file.
1168 * nss/Depend: New file.
1169 * rt/Depend: New file.
1170
090ca000
UD
11711998-11-18 Ulrich Drepper <drepper@cygnus.com>
1172
dfd2464b
UD
1173 * sysdeps/unix/bsd/poll.c (__poll): Add code to extend sets if any
1174 passed file descriptor exceeds the size determined by
1175 getdtablesize.
1176
1177 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Update
1178 from inline version in bits/socket.h.
1179
1180 * sysdeps/unix/sysv/linux/bits/socket.h: Define __cmsg_nxthdr as
1181 inline function only is __USE_EXTERN_INLINES is defined.
1182
1183 * time/strftime.c (my_strftime): Make code a bit clearer.
1184 Patch by Paul Eggert <eggert@twinsun.com>.
1185
090ca000
UD
1186 * io/Makefile (CFLAGS-ftw.c): Removed.
1187
b0428320 1188 * manual/errno.texi: Change the short text for ENODEV to
bb41a976
UD
1189 "No such device".
1190
090ca000
UD
11911998-11-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1192
1193 * io/Makefile (tests): Make sure that the test program has an
1194 explicit directory part.
1195
11961998-11-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1197
1198 * configure.in: Fix last change.
1199
12001998-11-18 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1201
1202 * sunrpc/Makefile (routines): Add create_xid.
1203
1204 * sunrpc/clnt_tcp.c: Use non-guessable xid.
1205 * sunrpc/clnt_udp.c: Likewise.
1206 * sunrpc/clnt_unix.c: Likewise.
1207 * sunrpc/pmap_rmt.c: Likewise.
1208 * sunrpc/create_xid.c: New, create non-guessable xid.
1209
1210 * sunrpc/svc_tcp.c: Remove patch from 1998-06-15, use poll instead
1211 of select.
1212 * sunrpc/svc_unix.c: Use poll instead of select.
1213
d8cceb4f
UD
12141998-11-17 Ulrich Drepper <drepper@cygnus.com>
1215
45a9a50e 1216 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Make Unix98 compliant
dfd2464b 1217 by removing SIG_IGN handler for SIGCHLD if necessary.
45a9a50e
UD
1218 Patch by H.J. Lu <hjl@lucon.org>.
1219
d8cceb4f
UD
1220 * stdio-common/printf_fphex.c (__printf_fphex): Correct printing
1221 of denormalized numbers.
1222
12231998-10-06 Geoff Keating <geoffk@ozemail.com.au>
1224
1225 * sysdeps/powerpc/dl-machine.h (elf_machine_load_address): Suppress
1226 another parentheses warning, make nano-optimisation.
1227
1228 * sysdeps/powerpc/dl-machine.h (_dl_runtime_resolve): Preserve
1229 saved LR on stack so _mcount works.
1230 (_dl_prof_resolve): Likewise.
1231 * sysdeps/powerpc/register-dump.h: Print FPRs. Adjust for correct
1232 signal handler calling convention.
1233 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Adjust for
1234 correct signal handler calling convention---more like x86 linux and
1235 mklinux, less like linux-ppc versions between 2.1 and 2.1.126.
1236
12371998-11-17 Ulrich Drepper <drepper@cygnus.com>
1238
1239 * configure.in: Correct allowed makeinfo version.
1240
12411998-11-17 Philip Blundell <pb@nexus.co.uk>
1242
1243 * sysdeps/generic/bits/mathdef.h: Fix typo.
1244
cae88996
UD
12451998-11-17 Geoff Keating <geoffk@ozemail.com.au>
1246
1247 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Prototype the syscall
1248 under the right name (squish warning).
1249 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1250
12511998-11-17 Geoff Keating <geoffk@ozemail.com.au>
1252
1253 * stdio-common/_itoa.c (_itoa): Add redundant parentheses to
1254 prevent warnings.
1255
9d1efe33
UD
12561998-11-16 Ulrich Drepper <drepper@cygnus.com>
1257
d8cceb4f 1258 * intl/locale.alias: Change `japanese' alias to match X11R6's.
9d1efe33
UD
1259 Add `japanese.euc' alias.
1260
1261 * manual/Makefile (%.info): Set LANGUAGE and LC_ALL explicitly to C
1262 before running makeinfo.
1263
1264 * math/Makefile (libm-routines): $(strip) entire value.
1265
1266 * nss/nss_db/db-XXX.c (internal_setent): Rewrite to avoid warning.
1267
12681998-10-24 H.J. Lu <hjl@gnu.org>
1269
1270 * libio/libio.h (_IO_cookie_io_functions_t): Protect with __USE_GNU.
1271 (_IO_cookie_file): Likewise.
1272
12731998-11-16 Philip Blundell <philb@gnu.org>
1274
1275 * inet/netinet/icmp6.h: Correct naming of constants.
1276
8b7fb588
UD
12771998-11-16 Ulrich Drepper <drepper@cygnus.com>
1278
1279 * sysdeps/unix/opendir.c: Use o_directory_works differently. Treat
1280 zero value as uninitialized so that variable can go into .bss.
1281
1282 * dirent/opendir-tst1.c: Print error strings to stdout.
1283
1284 * sysdeps/unix/sysv/linux/mmap64.c: New file. Empty.
1285 * sysdeps/unix/sysv/linux/syscalls.list: Add mmap with mmap64 alias.
1286 * sysdeps/unix/sysv/linux/arm/mmap.S: Add mmap64 alias.
1287 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1288 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1289
12901998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1291
1292 * time/tzfile.c (__tzfile_read): Check that types[i].isdst is in
1293 range.
1294
12951998-11-16 Ulrich Drepper <drepper@cygnus.com>
1296
1297 * libio/bits/stdio.h (fread_unlocked): Do handle zero size and number.
1298 (fwrite_unlocked): Likewise.
1299
13001998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1301
1302 * libio/bits/stdio.h (fread_unlocked): Don't evaluate non-constant
1303 twice. Don't bother handling zero size.
9d1efe33 1304 (fwrite_unlocked): Likewise.
8b7fb588
UD
1305
13061998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1307
1308 * configure.in: Fix regex for makeinfo version string.
1309
13101998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1311
1312 * sunrpc/rpc_sample.c (write_sample_server): Avoid -Wparentheses
1313 warning.
1314 * sunrpc/rpc_svcout.c (write_program): Likewise.
1315
13161998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1317
1318 * time/Makefile (CFLAGS-test_time.c): Add -Wno-format.
1319
13201998-11-16 Ulrich Drepper <drepper@cygnus.com
1321
1322 * misc/sys/mman.h: Pretty print prototypes.
1323
13241998-11-15 Ulrich Drepper <drepper@cygnus.com
1325
1326 * misc/error.c (error): Don't use result of strerror_r call directly
1327 since at least DEC Unix has a wrong return type.
1328 Patch by Johan Danielsson <joda@pdc.kth.se>.
1329
13301998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
22bb3c7f
AS
1331
1332 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Undo
1333 last change.
1334
77d10f94
UD
13351998-11-13 Ulrich Drepper <drepper@cygnus.com>
1336
27658f20 1337 * stdio-common/vfscanf.c: Don't return -1 in case of an invalid
9d1efe33 1338 format, just stop.
27658f20 1339
77d10f94
UD
1340 * version.h (VERSION): Bump to 2.0.102.
1341
1342 * stdio-common/tstdiomisc.c (t2): Update test case for last scanf
1343 change.
1344 * stdio-common/scanf7.c (main): Likewise.
1345
99c9e773
UD
13461998-11-13 Ulrich Drepper <drepper@cygnus.com>
1347
47b856a9
UD
1348 * stdio-common/vfscanf.c: Return EOF for invalid format
1349 characters.
1350
fb3d8ad6
UD
1351 * version.h (VERSION): Bump to 2.0.101.
1352
99c9e773
UD
1353 * Makerules (Versions.all): Generate this file from all Versions.def
1354 files.
1355 (sysd-versions): Use Versions.all instead of Versions.def.
1356
47b856a9
UD
13571998-11-13 Philip Blundell <philb@gnu.org>
1358
1359 * sysdeps/arm/fpu/bits/setjmp.h (__JMP_BUF_SP): Correct value.
1360 Reported by Scott Bambrough.
1361
93d63a59
UD
13621998-11-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1363
1364 * locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c.
1365
a3e0e9ae
UD
13661998-11-13 Ulrich Drepper <drepper@cygnus.com>
1367
1368 * libio/bits/stdio.h: Correct and improve fread_unlocked and
1369 fwrite_unlocked optimizations.
1370
1371 * time/tzfile.c (__tzfile_read): Set __tzname based on last names
1372 in time not to last entries in the file.
1373 (__tzfile_compute): Likewise. Fix for PR libc/863.
1374
1375 * timezone/Makefile: Generate GB timezone data for test.
1376 * timezone/tst-timezone.c: More tests for DST switching time (disabled
1377 for now).
1378
13791998-11-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2dc9c8cd
AS
1380
1381 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove
1382 d0 from clobber list.
1383
d2537a47
UD
13841998-11-12 Ulrich Drepper <drepper@cygnus.com>
1385
1386 * inet/netinet/in.h: Add a few more IPPROTO_* macros.
1387
1388 * libio/Makefile (headers): Add bits/stdio.h.
1389 * libio/iofread_u.c: Undefine fread_unlocked before definition.
1390 * libio/iofwrite_u.c: Undefine fwrite_unlocked before definition.
1391 * libio/stdio.h: Move optimizations into ...
1392 * libio/bits/stdio.h: ...here. New file.
1393
1394 * libio/iofread.c: Pretty print.
1395
13961998-11-12 Mark Kettenis <kettenis@phys.uva.nl>
1397
1398 * sysdeps/gnu/bits/utmpx.h: Protect members of struct
1399 __exit_status with `__'. Rename pad member of struct utmpx to
1400 __unused.
1401 (RUN_LVL): Define unconditionally.
a3e0e9ae 1402 * sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmp to
d2537a47
UD
1403 __unused.
1404
14051998-11-12 Philip Blundell <philb@gnu.org>
1406
1407 * sysdeps/unix/sysv/linux/netlink/netlink.h: New file, support for
1408 Linux AF_NETLINK sockets (needed since the kernel version is
1409 unusable).
1410 * sysdeps/unix/sysv/linux/Makefile: Install it.
1411 * sysdeps/unix/sysv/linux/Dist: Distribute it.
1412
14131998-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1414
1415 * timezone/tst-timezone.c (tests): Add entry for America/Chicago
1416 to test for bug in PR libc/863.
1417
14181998-11-12 Ulrich Drepper <drepper@cygnus.com>
1419
1420 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Cleanup comment.
1421
1422 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Rename macro
1423 parameter lazy to do_lazy to avoid clashing with struct member name.
1424 Reported by Ralf Baechle <ralf@uni-koblenz.de>.
1425
14261998-11-10 H.J. Lu <hjl@gnu.org>
1427
1428 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN
1429 if it is defined in <linux/limits.h>.
1430
14311998-11-09 13:07 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1432
1433 * include/protocols/routed.h: Include the real header with
1434 a full path from the top of the source tree.
1435 * include/protocols/rwhod.h: Likewise.
1436 * include/protocols/talkd.h: Likewise.
1437 * include/protocols/timed.h: Likewise.
1438
1439 * timezone/Makefile: Don't include z.ZONE files if no_deps
1440 is set, not if avoid-generated is set.
1441
14421998-11-12 Ulrich Drepper <drepper@cygnus.com>
1443
1444 * signal/signal.h: Undo last change. Get definition of timespec
1445 if __USE_POSIX199309.
1446
1447 * string/bits/string2.h (__strpbrk_c2): Add intermediate cast to
1448 size_t to prevent gcc warning when using -Wqual-cast.
1449 (__strpbrk_c3): Likewise.
1450 Suggested by Alan Curry <pacman@cqc.com>.
1451
fc7af6d6
RM
14521998-11-11 Roland McGrath <roland@baalperazim.frob.com>
1453
159d4836
RM
1454 * hurd/hurdsig.c (_hurdsig_init): Add assertion that no pending,
1455 unblocked signals are set in the startup masks.
1456
fc7af6d6
RM
1457 * hurd/hurdsig.c (_hurdsig_init): Take new args, INTARRAY and
1458 INTARRAYSIZE. Initialize main thread's sigstate from INIT_SIG* ints.
159d4836 1459
fc7af6d6
RM
1460 * hurd/hurd/signal.h: Update _hurdsig_init decl.
1461 * hurd/hurdinit.c (_hurd_proc_init): Take new args, INTARRAY and
1462 INTARRAYSIZE, pass them down to _hurdsig_init.
1463 * hurd/hurd.h: Update _hurd_proc_init decl.
1464
74eee886
UD
14651998-11-10 Ulrich Drepper <drepper@cygnus.com>
1466
1467 * math/cabs.c: Replace complex by _Complex.
1468 * math/cabsf.c: Likewise.
1469 * math/cabsl.c: Likewise.
1470 * math/cimag.c: Likewise.
1471 * math/cimagf.c: Likewise.
1472 * math/cimagl.c: Likewise.
1473 * math/conj.c: Likewise.
1474 * math/conjf.c: Likewise.
1475 * math/conjl.c: Likewise.
1476 * math/creal.c: Likewise.
1477 * math/crealf.c: Likewise.
1478 * math/creall.c: Likewise.
1479
1480 * sysdeps/alpha/fpu/bits/mathdef.h: Define ISO C 9X stuff only if
1481 included from math.h and __USE_ISOC9X is defined.
1482 * sysdeps/generic/bits/mathdef.h: Likewise.
1483 * sysdeps/generic/i386/fpu/mathdef.h: Likewise.
1484 * sysdeps/generic/m68k/fpu/mathdef.h: Likewise.
1485 * sysdeps/generic/powerpc/bits/mathdef.h: Likewise.
1486 * sysdeps/generic/sparc/fpu/bits/mathdef.h: Likewise.
1487
14881998-11-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1489
1490 * sysdeps/i386/fpu/bits/mathdef.h: Allow direct inclusion by
1491 <complex.h>.
1492 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
1493 * sysdeps/generic/bits/mathdef.h: Likewise.
1494 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1495 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1496 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
1497
14981998-11-09 Ulrich Drepper <drepper@cygnus.com>
1499
1500 * extra-lib.mk: Fix typo in last change.
1792d4db
UD
1501
1502 * math/complex.h: Include bits/mathdef.h to get __NO_LONG_DOUBLE_MATH
1503 is needed.
1504 Don't define long double functions if __NO_LONG_DOUBLE_MATH is defined.
1505 Don't define `complex' but instead `_Complex'. The later is the
1506 reserved keyword.
1507 * math/bits/cmathcalls.c: Define _Mdouble_complex_ using _Complex,
1508 not complex.
1509
15101998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1511
1512 * manual/libc.texinfo: Remove colon from category name.
1513 * manual/Makefile (dir-add.info): Likewise.
1514
15151998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1516
1517 * configure.in: Avoid autoconf bug.
1518
15191998-10-28 H.J. Lu <hjl@gnu.org>
1520
1521 * posix/getopt.h: Add "__" to arguments in prototypes.
1522
15231998-11-05 H.J. Lu <hjl@gnu.org>
1524
1525 * libio/iofgets.c (_IO_fgets): Don't report error
1526 if something was read in and errno is set to
1527 EAGAIN.
1528 * libio/iofgets_u.c (fgets_unlocked): Likewise.
1529
15301998-11-05 Philip Blundell <philb@gnu.org>
1531
1532 * sysdeps/unix/sysv/linux/net/if_packet.h: Don't include kernel
1533 header; it defines too much. Provide a local definition of struct
1534 sockaddr_pkt and a comment advising against its use.
1535
15361998-11-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1537
1538 * extra-lib.mk: Avoid empty include list.
1539
15401998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1541
1542 * extra-lib.mk: Add support for $(lib)-shared-only-routines.
1543
1544 * elf/Makefile (libdl-routines): Add dlopenold only if doing
1545 versioning.
1546 (libdl-shared-only-routines): New variable.
1547
15481998-11-06 Paul Eggert <eggert@twinsun.com>
1549
1550 Don't invoke localtime_r or gmtime_r unless it's the GNU C
1551 library's localtime_r and gmtime_r; there are too many buggy
1552 implementations of localtime_r and gmtime_r out there, and
1553 it's not worth keeping track of all the different bugs.
1554
1555 * time/mktime.c (__EXTENSIONS__): Remove.
1556 (<unistd.h>): No need to include.
05f732b3
UD
1557 * time/strftime.c: Likewise.
1558
1559 * time/mktime.c (_POSIX_THREAD_SAFE_FUNCTIONS, HAVE_LOCALTIME_R):
1792d4db
UD
1560 Remove.
1561 (my_mktime_localtime_r): Renamed from localtime_r; all uses changed.
1562 Base it on localtime unless _LIBC.
1563
1564 * time/strftime.c (my_strftime_gmtime_r): Renamed from gmtime_r;
1565 all uses changed.
1566 (my_strftime_localtime_r): Renamed from localtime_r; all uses changed.
1567 Base them on localtime/gmtime if not _LIBC.
05f732b3
UD
1568
15691998-11-07 Ulrich Drepper <drepper@cygnus.com>
1570
1571 * sysdeps/generic/isastream.c: Always return 0 unless it is an invalid
1572 file descriptor. This makes this function actually usable.
1573 Proposed by Mark Kettenis <kettenis@phys.uva.nl>.
1574
9a821cf9
UD
15751998-11-05 Ulrich Drepper <drepper@cygnus.com>
1576
d76bd17f
UD
1577 * math/math.h: Unconditionally include bits/mathdef.h. Declare
1578 long double functions only if __NO_LONG_DOUBLE_MATH is not
1579 defined.
1580 * sysdeps/generic/bits/mathdef.h: Define only if __USE_ISOC9X.
1581 Define __NO_LONG_DOUBLE_MATH.
1582 * sysdeps/m68k/fpu/bits/mathdef.h: Define only if __USE_ISOC9X.
1583 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1584
9a821cf9
UD
1585 * elf/rtld.c: Add a few __builtin_expects where they will improve
1586 a lot.
1587
c0016081
UD
15881998-11-05 Ulrich Drepper <drepper@cygnus.com>
1589
fe959e1e
UD
1590 * version.h (VERSION): Bump to 2.0.100.
1591
c0016081
UD
1592 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Fix fldl -> fld.
1593
1594 * sysdeps/libm-i387/s_fma.S: Optimize a bit.
1595 * sysdeps/libm-i387/s_fmaf.S: Likewise.
1596
9a821cf9
UD
15971998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1598
1599 * libio/genops.c (_IO_least_marker): Add additional parameter
1600 end_p replacing fp->_IO_read_end.
1601 (save_for_backup): Likewise. All callers changed. Use _IO_size_t
1602 and _IO_ssize_t instead of int.
1603 (_IO_switch_to_main_get_area): Remove use of _IO_save_ptr.
1604 (_IO_switch_to_backup_area): Likewise. Fix comments.
1605 (_IO_seekmark): Undo last change.
1606 (_IO_default_pbackfail): Correct use of backup area.
1607 * libio/libio.h (_IO_FILE_complete): Remove _IO_save_ptr.
1608
c0016081
UD
16091998-11-04 19:47 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1610
1611 * configure.in: Search for install-info and substitute it.
1612 Determine whether install-info is the buggy Debian version
1613 that doesn't understand INFO-DIR-SECTION.
1614 * config.make.in: Add INSTALL_INFO and OLD_DEBIAN_INSTALL_INFO
1615 to be substituted.
1616 * manual/Makefile: If OLD_DEBIAN_INSTALL_INFO, give
1617 install-info the --section argument it needs to work properly.
1618 (dir-add.texinfo): Delete target.
1619 (dir-add.info): Generate this directly. Sort entries. Put a
1620 colon at the end of the INFO-DIR-SECTION line.
1621 * manual/libc.texinfo: Put a colon at the end of the
1622 @dircategory line.
1623
16241998-11-05 Paul Eggert <eggert@twinsun.com>
1625
1626 * time/mktime.c (__mktime_internal): Adopt the traditional (and
1627 problematic) notion of what to do when tm_isdst doesn't match.
1628
16291998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1630
1631 * posix/PTESTS: Fix spelling.
1632
ff8ac383
UD
16331998-11-04 Ulrich Drepper <drepper@cygnus.com>
1634
1635 * misc/efgcvt_r.c (fcvt_r): Remove code which tries to use libm
1636 functions. Reduce error in computing normalized value by multiplying
1637 factor in loop and compute result in one step.
a92599ea
UD
1638 Reported by Christian Gafton.
1639
1640 * sysdeps/libm-i387/e_hypot.S: New file.
1641 * sysdeps/libm-i387/e_hypotf.S: New file.
ff8ac383 1642
c0016081
UD
16431998-11-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1644
1645 * elf/dlopenold.c: Compile only if DO_VERSIONING is also defined.
1646
16471998-11-03 H.J. Lu <hjl@gnu.org>
1648
1649 * libio/fileops.c (new_do_write): New function.
1650 (_IO_new_do_write): Call new_do_write.
1651 (_IO_new_file_xsputn): Likewise.
1652
1653 * libio/oldfileops.c (old_do_write): New function.
1654 (_IO_old_do_write): Call old_do_write.
1655 (_IO_old_file_xsputn): Likewise.
1656
3ddfec55
UD
16571998-11-04 Ulrich Drepper <drepper@cygnus.com>
1658
98b567ff
UD
1659 * time/mktime.c (__mktime_internal): Correct last change. We must
1660 stop searching for the right isdst value before stepping to the
1661 initial value.
1662
3ddfec55
UD
1663 * malloc/malloc.c: Make sure calloc really returned zeroed memory.
1664 Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
1665
f540c0a4
UD
16661998-11-02 16:12 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1667
1668 * sysdeps/generic/bits/signum.h: Define signals with their
1669 historical numbers when those are in the 1-15 range and
1670 consistent across platforms.
1671 Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC.
1672 Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast
1673 appropriately instead of with fake function declarations
1674 (would cause link errors).
1675 If __USE_UNIX98, define SIG_HOLD.
1676
16771998-10-29 H.J. Lu <hjl@gnu.org>
1678
1679 * sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use
1680 union only if __USE_POSIX199309 is defined.
1681
1682 * misc/sys/select.h (pselect): Declared only if __USE_GNU is
1683 defined.
1684
5fea58fb
UD
16851998-11-03 Ulrich Drepper <drepper@cygnus.com>
1686
1687 * time/mktime.c (__mktime_internal): Handle broken down times
1688 around the time of the DST switches more correctly.
1689
e254df14
UD
16901998-11-02 Ulrich Drepper <drepper@cygnus.com>
1691
1692 * elf/Makefile (libdl-routines): Add dlopenold.
1693 * elf/Versions [libdl, GLIBC_2.1]: Add dlopen.
1694 * elf/dl-open.c (_dl_open): Check whether RTLD_LAZY or RTLD_GLOBAL
1695 is set and bounce otherwise.
1696 * elf/dlopen.c: Rename function to __dlopen_check and make version
1697 named dlopen.
1698 * elf/dlopenold.c: New file.
1699
e3e35cfc
UD
17001998-11-02 Ulrich Drepper <drepper@cygnus.com>
1701
1702 * elf/Versions [libc, GLIBC_2.01]: Add _dl_global_scope_alloc.
1703 * elf/dl-open.c (_dl_global_scope_alloc): Move definition to
1704 * elf/dl-deps.c: ...here.
1705 * elf/dl-open.c (dl_open_worker): Call _dl_map_object_deps with
1706 new parameter and expect result. Remove code handling RTLD_GLOBAL.
1707 Add return value of _dl_map_object_deps to
1708 _dl_main_searchlist->r_nlist.
1709 * elf/dl-deps.c (_dl_map_object_deps): Change to return value.
1710 If we parameter GLOBAL is nonzero add object and dependencies to
1711 the global scope.
1712 * elf/ldsodefs.h: Adapt prototype for _dl_map_object_deps.
1713 * elf/rtld.c (dl_main): Call _dl_map_object_deps with new parameter.
1714 Mark all objects as in global scope.
1715 * elf/dl-object.c (_dl_new_object): Initialize l_global to zero.
1716
1717 * sysdeps/unix/sysv/linux/bits/sockunion.h: Add Econet support.
1718
1719 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add .L prefix to symbols
1720 used in macro magic.
1721
5fea58fb
UD
17221998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1723
f540c0a4
UD
1724 * sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
1725 before <sys/socket.h> to make sockaddr_at available to
1726 <sys/socket.h>.
e3e35cfc
UD
1727
1728 * posix/glob.h: Remove __P from parameter lists of declarations.
5fea58fb
UD
1729
17301998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1731
1732 * time/tzset.c (tz_compute): Remove unused parameter timer.
1733 Change caller.
1734
17351998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
1736
1737 * sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef.
1738
160698e2
UD
17391998-11-02 Ulrich Drepper <drepper@cygnus.com>
1740
1741 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Remove
1742 unnecessary test and add cast.
1743
17441998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1745
1746 * posix/getconf.c: Add initializer SYSCONF for CHARCLASS_NAME_MAX.
1747
1748 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Remove unused
1749 parameter fd.
1750 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1751
17521998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
1753
1754 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
1755 fds_bits member.
1756 (__FDMASK): Use __fd_mask instead of unsigned long int in cast.
1757
17581998-10-31 Richard Henderson <rth@cygnus.com>
1759
1760 * math/Makefile (gmp-objs): Add udiv_qrnnd.
1761
1762 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL*): New.
1763 (inline_syscall*): New.
1764 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): New.
1765 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Kill __syscall* bits.
1766
256705f4
UD
17671998-10-31 Ulrich Drepper <drepper@cygnus.com>
1768
1769 * aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to
1770 avoid ld test generating an unwanted file.
1771
c55be36d
UD
1772 * posix/PTESTS: Remove comment about incorrect test (it is correct).
1773
160698e2
UD
17741998-10-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1775
1776 * sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t.
1777 * sunrpc/pmap_rmt.c: Initialize clnt_stat variable.
1778 * sunrpc/rpc/auth_des.h: Use uint32_t for time values.
1779 * sunrpc/rpc/xdr.h: Add INT32 support.
a1129917 1780 * sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t .
160698e2
UD
1781
1782 * nis/nis_call.c: Changes for new 64bit clean NIS+ interface.
1783 * nis/nis_callback.c: Likewise.
1784 * nis/nis_creategroup.c: Likewise.
1785 * nis/nis_defaults.c: Likewise.
1786 * nis/nis_intern.h: Likewise.
1787 * nis/nis_lookup.c: Likewise.
1788 * nis/nis_ping.c: Likewise.
1789 * nis/nis_print.c: Likewise.
1790 * nis/nis_table.c: Likewise.
1791 * nis/nis_util.c: Likewise.
1792 * nis/nis_xdr.c: Likewise.
1793 * nis/rpcsvc/nis.h: Likewise.
1794 * nis/rpcsvc/nis.x: Likewise.
1795 * nis/rpcsvc/nis_callback.h: Likewise.
1796 * nis/rpcsvc/nis_object.x: Likewise.
1797 * nis/rpcsvc/nislib.h: Likewise.
1798
1799 * nis/rpcsvc/yp.h: Remove casts to (u_long).
1800 * nis/rpcsvc/yp_prot.h: Likewise.
1801 * nis/rpcsvc/ypupd.h: Likewise.
1802 * nis/ypclnt.c: Change %ld to %d in sprintf.
1803
18041998-10-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1805
1806 * manual/locale.texi (Formatting Numbers): Fix strfmon examples.
1807
18081998-10-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1809
1810 * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain
1811 0, __fd_mask is usually not a char.
1812
18131998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1814
1815 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow
1816 compilation on systems without rt_* syscalls (e.g. on Linux 2.0).
1817 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
1818 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1819 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1820 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise
1821 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1822 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1823
1824 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow
1825 compiling on systems without rt_sigaction syscall.
1826 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction):
1827 Likewise.
1828
18291998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1830
1831 * time/strptime.c (HERE_D_FMT): Fix typo.
1832 Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842.
1833
a3b2008a
UD
18341998-10-30 Ulrich Drepper <drepper@cygnus.com>
1835
646fffb9
UD
1836 * catgets/Makefile (tests): Add rules to run gencat on test1.msg.
1837 (generate): Add test1.cat and test1.h.
1838 (distribute): Add test1.msg.
655b26bb 1839 * catgets/test1.msg: New file.
646fffb9 1840
a3b2008a
UD
1841 * catgets/gencat.c: Do a better job in initializing dynamic
1842 memory [PR libc/844].
1843
00995ca9
UD
18441998-10-30 18:11 Ulrich Drepper <drepper@cygnus.com>
1845
1846 * iconv/gconv_conf.c (__gconv_read_conf): Don't define as
1847 internal_function since it is called through a pointer.
1848 * iconv/gconv_db.c (free_derivation): Likewise.
1849 * iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.
1850
1851 * posix/wordexp.c: Add internal_function to parse_backtick definition.
1852 * rt/aio_misc.c: Add internal_function to __aio_free_request,
1853 __aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
1854 definitions.
1855 * rt/aio_notify.c: Add internal_function to __aio_notify_only and
1856 __aio_notify definitions.
1857 * wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.
1858
e980ca92
UD
18591998-10-30 Ulrich Drepper <drepper@cygnus.com>
1860
1861 * Makerules (build-shlib): Add -O to generate optimized shared
1862 objects.
1863
0e19d4a3
UD
18641998-10-30 11:15 Ulrich Drepper <drepper@cygnus.com>
1865
1866 * sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix.
1867 * sysdeps/libm-i387/e_fmodf.S: Likewise.
1868 * sysdeps/libm-i387/e_fmodl.S: Likewise.
1869 * sysdeps/libm-i387/s_ilogb.S: Likewise.
1870 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
1871 * sysdeps/libm-i387/s_logb.S: Likewise.
1872 * sysdeps/libm-i387/s_logbf.S: Likewise.
1873 * sysdeps/libm-i387/s_remquo.S: Likewise.
1874 * sysdeps/libm-i387/s_remquof.S: Likewise.
1875 * sysdeps/libm-i387/s_remquol.S: Likewise.
1876 * sysdeps/libm-i387/s_significand.S: Likewise.
1877 * sysdeps/libm-i387/s_significandf.S: Likewise.
1878
18791998-10-30 Geoff Keating <geoffk@ozemail.com.au>
1880
1881 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct
1882 _llseek.
1883
18841998-10-30 Geoff Keating <geoffk@ozemail.com.au>
1885
1886 * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.
1887
c5e340c7
UD
18881998-10-29 Ulrich Drepper <drepper@cygnus.com>
1889
b0882748
UD
1890 * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
1891 returns without cleaning up the lock.
d8334b9a 1892 (printf_unknown): Add label all_done.
b0882748 1893
7dc7f7b2
UD
1894 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
1895 kernels in mind when reading /proc/self/fd/FD.
1896 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1897
67a96999
UD
1898 * nscd/nscd.c (doc): It's "Name Service" not "Name Switch".
1899
d5cabaa4
UD
1900 * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
1901 _fitoa.
1902
c5e340c7
UD
1903 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
1904 /prof/self/fd/FD first.
1905 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1906
1907 * stdio-common/_itoa.h (_fitoa_word): New inline function. Write
1908 formatted number starting at given position and return pointer to
1909 following byte.
1910 (_fitoa): Likewise, for long long.
1911
cf3a0eca
RM
19121998-10-29 Roland McGrath <roland@baalperazim.frob.com>
1913
1914 * sysdeps/unix/sysv/linux/bits/sem.h,
1915 sysdeps/unix/sysv/linux/bits/ipc.h,
1916 sysdeps/unix/sysv/linux/bits/shm.h,
1917 sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
1918 * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
1919 sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
1920 so the same bits will be used for the Hurd.
1921
f3c1143b
UD
19221998-10-29 Ulrich Drepper <drepper@cygnus.com>
1923
1924 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
1925 compiling on systems without rt_sigaction syscall.
1926
19271998-10-12 Philip Blundell <pb@nexus.co.uk>
1928
1929 * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
1930 directories as well as add them.
1931
19321998-10-28 Philip Blundell <pb@nexus.co.uk>
1933
1934 * sysdeps/unix/sysv/linux/neteconet/ec.h: New file. Support for
1935 AF_ECONET sockets as found in recent Linux 2.1 kernels.
1936 * sysdeps/unix/sysv/linux/Dist: Distribute it.
1937 * sysdeps/unix/sysv/linux/Makefile: Install it.
1938
19391998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1940
1941 * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
1942
19431998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1944
1945 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
1946 fds_bits member.
1947 * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
1948 * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
1949 * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
1950 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
1951 Likewise.
1952 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
1953 Likewise.
1954 * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
1955 __FD_ISSET): Use it.
1956 * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
1957 __FD_ISSET): Likewise.
6e2cc2c1 1958
91cc83ff
UD
19591998-10-28 Geoff Keating <geoffk@ozemail.com.au>
1960
1961 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
1962 llseek.
1963
c70ca1fa
UD
1964 * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
1965 Instead call the system call wrapper function using an 64bit argument.
1966 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
1967 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
1968 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1969
2898c3a5
UD
19701998-10-27 Ulrich Drepper <drepper@cygnus.com>
1971
7e986b8b
UD
1972 * signal/signal.h: Don't include <time.h> for timespec, add
1973 forward declaration.
1974
2898c3a5
UD
1975 * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
1976 of __FD_* macros which use __fds_bits.
1977 * sysdeps/generic/bits/select.h: Likewise.
1978 Reported by Matt McLean <keys@yikes.com>.
1979
c1a61edb
UD
19801998-10-27 Philip Blundell <pb@nexus.co.uk>
1981
1982 * elf/elf.h: Update ARM definitions.
1983
cc368887
UD
19841998-10-27 Ulrich Drepper <drepper@cygnus.com>
1985
1986 * signal/signal.h: Include bits/sigthread.h only for Unix98.
1987
665a657e
UD
19881998-10-26 Ulrich Drepper <drepper@cygnus.com>
1989
a8eab8b1
UD
1990 * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
1991 define __builtin_expect as a macro substituting to the first
1992 argument.
1993 * config.h.in: Define HAVE_BUILTIN_EXPECT.
1994 * configure.in: Add test for __builtin_expect.
1995
665a657e
UD
1996 * sysdeps/unix/sysv/linux/bits/types.h: Include
1997 bits/pthreadtypes.h only not for POSIX 199506.
1998 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1999 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2000 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
2001
48ab6a9e
UD
20021998-10-26 Mark Kettenis <kettenis@phys.uva.nl>
2003
2004 * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
2005 * socket/Versions [libc, GLIBC_2.0]: ... to here.
2006
992af677
UD
20071998-10-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2008
2009 * include/stdio.h: Included <stddef.h> for size_t.
2010
2011 * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
2012 to ...
2013 * include/stdio.h: ...here.
2014 * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
2015
0e103c6d
UD
20161998-10-26 11:09 Ulrich Drepper <drepper@cygnus.com>
2017
2018 * time/Makefile (tests): Add tst-posixtz.
2019 * time/tst-posixtz.c: New file.
2020
20211998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2022
2023 * elf/rtld.c (process_envvars): Accept any non-null value of
2024 LD_BIND_NOW, as mandated by the ABI.
2025
20261998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2027
2028 * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
2029 __syscall_pread.
2030 * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
2031 __syscall_pwrite.
2032 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
2033 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2034 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2035 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2036 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. Remove
2037 duplicate entries.
2038 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
2039 s_pread64 and s_pwrite64.
2040 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
2041
20421998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2043
2044 * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
2045 * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
2046 to __syscall__llseek.
2047 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2048 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2049 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
2050 __sys_llseek.
2051
20521998-10-26 Cristian Gafton <gafton@redhat.com>
2053
2054 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
2055 and s_setfsuid.
2056
20571998-10-26 Ulrich Drepper <drepper@cygnus.com>
2058
2059 * time/tzset.c (tz_compute): Correct last patch and describe this
2060 in a comment.
2061
d499a27c
AS
20621998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2063
2064 * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
2065 rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
2066 rt_sigaction and rt_sigpending.
2067 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
2068 for __syscall_* functions.
2069 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
2070
c2ef7930
RM
20711998-10-26 Roland McGrath <roland@baalperazim.frob.com>
2072
2073 * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
2074 _hurd_dtable_lock, _hurd_intern_fd.
2075
2076 * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
2077 cthread_getspecific, cthread_setspecific, __libc_getspecific.
2078
2079 * mach/Versions: Fix typo in last change.
2080
1938c489
UD
20811998-10-25 Ulrich Drepper <drepper@cygnus.com>
2082
2083 * time/tzset.c (tz_compute): If time to switch to DST is later in
2084 the year switch back in the next year.
2085 Reported by jwitford@hutch.com.au.
c2ef7930 2086
a825f8e8
RM
20871998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
2088
2089 * mach/Versions: Add evc_wait, mach_error, mach_error_string,
2090 mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
2091 Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
2092 __mach_port_allocate, __mach_port_allocate_name,
c2ef7930
RM
2093 __mach_port_insert_right __mutex_trylock, __mutex_lock,
2094 __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
2095 __task_set_special_port, __task_terminate, __thread_depress_abort,
2096 __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These
2097 functions are not used outside libc.
a825f8e8
RM
2098
2099 * sysdeps/mach/hurd/Versions: New file.
2100 [libc, GLIBC_2.0]: Add _cthread_exit_routine and
2101 _cthread_init_routine. These are set by the Hurd cthreads library.
2102 Add __getcwd, __mmap. If we don't add these, the weak definitions in
2103 the dynamic linker will not be replaced by the corresponding shared
2104 library routines once they are loaded.
2105
21061998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
2107
2108 * sysdeps/mach/hurd/i386/init-first.c: Only define
2109 __libc_enable_secure if PIC is not defined.
2110
21111998-10-25 Roland McGrath <roland@baalperazim.frob.com>
2112
2113 * argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
2114 to recurse into argp.
2115
4a582094
UD
21161998-10-25 Ulrich Drepper <drepper@cygnus.com>
2117
2118 * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
2119 greater or equal than 199506L.
2120
2121 * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
2122 only is __USE_XOPEN. Otherwise use __fds_bits.
2123 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2124 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2125 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
2126 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2127 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2128
21291998-10-24 H.J. Lu <hjl@gnu.org>
2130
2131 * locale/programs/charmap.c (parse_charmap): Accept tok_string
2132 for <code_set_name>.
2133
21341998-10-25 H.J. Lu <hjl@gnu.org>
2135
2136 * locale/programs/ld-ctype.c (ctype_finish): Also check
2137 <space>.
2138
21391998-10-25 Ulrich Drepper <drepper@cygnus.com>
2140
2141 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
2142
2143 * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
2144 if __USE_POSIX199506 or __USE_UNIX98.
2145
21461998-10-24 22:34 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2147
2148 * string/bits/string2.h: Inline strdup+friends only if
2149 __USE_MISC || __USE_GNU (prevents namespace pollution).
2150
21511998-10-24 H.J. Lu <hjl@gnu.org>
2152
2153 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
2154 LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
2155 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
2156 LOCK_NB, LOCK_UN): Likewise.
2157 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
2158 LOCK_NB, LOCK_UN): Likewise.
2159 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
2160 LOCK_NB, LOCK_UN): Likewise.
2161 * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
2162 LOCK_NB, LOCK_UN): Likewise.
2163
21641998-10-24 H.J. Lu <hjl@gnu.org>
2165
2166 * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
2167
2168 * libio/rewind.c (rewind): Clear the error.
2169
21701998-10-24 H.J. Lu <hjl@gnu.org>
2171
2172 * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
2173 "buffer".
2174
21751998-10-24 H.J. Lu <hjl@gnu.org>
2176
2177 * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
2178 with __need_timeval.
2179 * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
2180 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
2181
21821998-10-24 H.J. Lu <hjl@gnu.org>
2183
2184 * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
2185 sigqueue): Protect with __USE_POSIX199309.
2186
21871998-10-24 H.J. Lu <hjl@gnu.org>
2188
2189 * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
2190 __USE_POSIX.
2191
21921998-10-24 H.J. Lu <hjl@gnu.org>
2193
2194 * libio/fileops.c (_IO_new_file_seekoff): Always resync with
2195 the kernel file offset.
2196 * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
2197
88455219
UD
21981998-10-24 H.J. Lu <hjl@gnu.org>
2199
2200 * time/tzfile.c (__tzfile_default): Set num_types to 2.
2201
22021998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2203
2204 * rt/aio.h: Move __aio_init to...
2205 * include/aio.h: ...here.
2206
22071998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2208
2209 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
2210 definition of O_LARGEFILE.
2211
22121998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2213
2214 * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
2215 as first argument to statfs.
2216
22171998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2218
2219 * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
2220
22211998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2222
2223 * malloc/mtrace.c: Include <string.h> for strlen.
2224
3c068816
RM
22251998-10-24 Roland McGrath <roland@baalperazim.frob.com>
2226
184edc95
RM
2227 * sysdeps/mach/hurd/bits/environments.h: New file.
2228
3c068816
RM
2229 * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
2230
2231 * mach/Versions, hurd/Versions: Add numerous symbols.
2232 Remove libmachuser and libhurduser sections, punt
2233 versioning for those libraries for now.
2234
2235 * misc/Versions: Add reboot here; it exists on all platforms.
2236 * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
2237
fc40fc6c
UD
22381998-10-23 Ulrich Drepper <drepper@cygnus.com>
2239
2240 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
2241 macro.
2242 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
2243 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
2244 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
2245 O_NOFOLLOW, O_DIRECT): New macros.
2246 (O_DIRECTORY): Correct definition according to official 2.1.126.
2247 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
2248 O_NOFOLLOW): New macros.
2249
b1fcf686
RM
22501998-10-24 Roland McGrath <roland@baalperazim.frob.com>
2251
d606f528
RM
2252 * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
2253
b1fcf686
RM
2254 * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
2255 (__opendir): Add trailing slash to name for open, for ENOTDIR check.
2256
24f25de6
UD
22571998-10-23 Ulrich Drepper <drepper@cygnus.com>
2258
0d486134
UD
2259 * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
2260 setfsuid.c, and setfsgid.c.
2261 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
2262 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
2263 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
2264
24f25de6
UD
2265 * version.h (VERSION): Bump to 2.0.99.
2266
8a6da7e6
UD
2267 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
2268 ustat definition.
2269
1e8f0e3e
UD
2270 * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
2271 s_pwrite64.c.
2272
24f25de6
UD
2273 * posix/fnmath.h: Don't redefine __P when used in glibc.
2274 * posix/glob.h: Likewise.
2275
2276 * inet/rcmd.c (__ivaliduser2): Fix memory leak.
2277 Patch by Dick Streefland <dick_streefland@tasking.com>.
2278
2279 * stdio-common/tst-ungetc.c: Add more test cases.
2280
2281 * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
2282 * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
2283 definitions to ...
2284 * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file.
2285 * sysdeps/unix/sysv/linux/fpathconf.c: New file.
2286 * sysdeps/unix/sysv/linux/pathconf.c: New file.
2287 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
2288 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
2289
22901998-10-20 Philip Blundell <pb@nexus.co.uk>
2291
2292 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
2293 <asm/ptrace.h> to define struct pt_regs.
2294 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
2295 including <asm/ptrace.h> here.
2296
2297 * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
2298 C_SYMBOL_NAME macro.
2299
23001998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2301
2302 * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
2303 end of enumerator list.
2304 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
2305 * posix/wordexp.h: Likewise.
2306
2307 * db/db.h: Use __PMT instead of __P in typedefs.
2308 * db/mpool.h: Likewise.
2309 * sysdeps/generic/bits/siginfo.h: Likewise.
2310 * nis/rpcsvc/ypclnt.h: Likewise.
2311
d6787ff2
UD
23121998-10-23 Ulrich Drepper <drepper@cygnus.com>
2313
2314 * libio/genops.c (_IO_seekmark): When switching to backup buffer
2315 make sure all characters from the read buffer are read after
2316 switching back to it.
2317
98393660
UD
23181998-10-22 Ulrich Drepper <drepper@cygnus.com>
2319
2320 * configure.in: Add support for Cygnus GNUPro compilers.
2321
84c8da0e
UD
23221998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2323
2324 * stdio/stdio.h: Use __PMT instead of __P in typedefs.
2325
2326 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
2327 of __P for sa_restorer.
2328 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
2329 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
2330 kernel_sigaction, old_kernel_sigaction): Likewise.
2331
ed304158
UD
23321998-10-22 Ulrich Drepper <drepper@cygnus.com>
2333
c7f5a0c7
UD
2334 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
2335 and __syscall_pwrite aliases.
2336
ed304158 2337 * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES.
78e5779b
UD
2338
2339 * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
2340 improve INLINE_SYSCALL using macro assembler magic.
2341
9271a050
UD
23421998-10-22 H.J. Lu <hjl@gnu.org>
2343
2344 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
2345 sanity check for n.
2346 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
2347
2348 * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
2349 EINVAL if errno == ENODEV. Tested by VSX-PCT.
2350
2351 * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested
2352 by VSX-PCT.
2353
2354 * posix/execvp.c (execvp): Check "". Tested by VSX-PCT.
2355
e595c802
UD
23561998-10-22 Philip Blundell <pb@nexus.co.uk>
2357
2358 * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
2359 __ASSEMBLER__.
2360
7bb38c70
UD
23611998-10-21 Ulrich Drepper <drepper@cygnus.com>
2362
2363 * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
2364 and adjust formats.
2365
0dee6738
UD
23661998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com>
2367
2368 * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call
2369 __syscall_* function.
2370 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
2371 of calling __syscall_* function.
2372 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
2373 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
2374 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2375 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2376 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
2377 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
2378 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
2379 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2380 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2381 * sysdeps/unix/sysv/linux/poll.c: Likewise.
2382 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2383 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2384 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
2385 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2386 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2387 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2388 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
2389 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2390 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
2391 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2392 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2393 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
2394 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2395 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
2396 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2397 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2398 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
2399 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
2400 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2401 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
2402 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
2403 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2404 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2405 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
adcb550c 2406 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
0dee6738
UD
2407 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2408 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2409 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
2410 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2411 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2412 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2413 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
2414
2415 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
2416 inline assembler.
2417 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
2418 __syscall_* definitions.
2419
2420 * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
2421 definitions to...
2422 * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
2423 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
2424 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
2425 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
2426 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
2427 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
2428 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
2429
adcb550c
UD
2430 * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
2431 Move definition to...
2432 * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
2433 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
2434 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
2435 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
2436 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
2437 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
2438 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
2439
0dee6738
UD
2440 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
2441 (sysdep_routines): Remove s_pread64 and s_pwrite64.
2442
2443 * sysdeps/unix/sysv/linux/i386/pread.c: New file.
2444 * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
2445 * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
2446 * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
2447 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
2448 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
2449
24501998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2451
2452 * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
2453 and bring them in synch.
2454 * sysdeps/unix/siglist.c: Likewise.
2455 Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
2456
24571998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2458
2459 * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
2460 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2461
2462 * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
2463 * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
2464 * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
2465 * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
2466 * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
2467 * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
2468 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
2469 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
2470 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
2471 s_setregid.
2472 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
2473 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2474 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2475
24761998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2477
2478 * sunrpc/rpc_main.c (close_output, close_input): New functions.
2479 (c_output, h_output, s_output, l_output, t_output, svc_output,
2480 clnt_output, mkfile_output): Call them at the end.
2481
24821998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2483
2484 * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
2485 link command.
2486
39f0e778
AS
24871998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2488
2489 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
2490 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
2491
d523c981
UD
24921998-10-20 Ulrich Drepper <drepper@cygnus.com>
2493
2494 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
2495 s_pwrite64.
2496 * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
2497 * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
2498 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
2499 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
2500 Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
2501
0dee6738
UD
25021998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
2503
2504 * sysdeps/unix/opendir.c: Check at runtime for kernel support for
2505 O_DIRECTORY.
2506
25071998-10-20 H.J. Lu <hjl@gnu.org>
2508
2509 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
2510 argument types.
2511
4bd8be48
UD
25121998-10-19 Ulrich Drepper <drepper@cygnus.com>
2513
48244d09
UD
2514 * math/tgmath.h: Make nested function calls work.
2515
10411f2d
UD
2516 * include/ldsodefs.h: Fix typo.
2517
a9b171ef
UD
2518 * posix/Makefile (tests): Add tst-preadwrite.
2519 * posix/tst-preadwrite.c: New file.
2520
4bd8be48
UD
2521 * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
2522 sure that descriptor is in any case for a directory.
2523
cfb32a6c
UD
25241998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2525
2526 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
2527 (atan2): Takes two arguments.
2528
ce85d65b
UD
25291998-10-19 Ulrich Drepper <drepper@cygnus.com>
2530
2531 * include/ldsodefs.h: New file.
2532
2533 * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
2534 Remove change to avoid using _CALL_DL_FCT.
2535 * iconv/gconv_db.c: Likewise.
2536 * iconv/gconv_dl.c: Likewise.
2537 * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
2538 * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
2539 * nss/nsswitch.c: Likewise.
2540 * nss/nsswitch.h: Likewise.
2541
25421998-10-19 Philip Blundell <pb@nexus.co.uk>
2543
2544 * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
2545 required libraries.
2546 * login/Makefile (otherlibs): Likewise.
2547 * nscd/Makefile (otherlibs): Likewise.
2548 * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
2549
2550 * debug/Makefile (install-bin): Only build catchsegv if using ELF.
2551
2552 * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
2553
25541998-10-19 Philip Blundell <pb@nexus.co.uk>
2555
2556 * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
2557 and setfsuid.
2558
25591998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2560
2561 * nscd/connections.c: Fix typos in comments and strings.
2562
2563 * nscd/nscd.conf: Update according to recent changes to nscd.
2564
2565 * nscd/cache.c (prune_cache): Remove wrong comment.
2566
816e6eb5
UD
25671998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
2568
2569 * locale/programs/ld-collate.c (collate_startup): Clear bit for this
2570 category in copy_posix.
2571 (collate_finish): Don't warn about UNDEFINED not being defined.
2572 * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
2573 category in copy_posix.
2574 * locale/programs/ld-messages.c (messages_startup): Likewise.
2575 * locale/programs/ld-monetary.c (monetary_startup): Likewise.
2576 * locale/programs/ld-numeric.c (numeric_startup): Likewise.
2577 * locale/programs/ld-time.c (time_startup): Likewise.
2578 * locale/programs/localedef.c: Move copy_def_list_t definition into
2579 locales.h. Define copy_posix variable.
2580 (main): Before processing copy list add &copy_posix to copy_list.
2581 * locale/programs/locales.h: Add definition of copy_def_list_t.
2582 * locale/programs/locfile.c: Clear bit for appropriate category in
ce85d65b 2583 copy_posix.mask for copy instruction.
816e6eb5 2584
685c1676
UD
25851998-10-19 Ulrich Drepper <drepper@cygnus.com>
2586
2587 * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
2588 non-existing file with generic implementation.
2589 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2590
25911998-10-19 Philip Blundell <pb@nexus.co.uk>
2592
2593 * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
2594 defined. Avoid using _CALL_DL_FCT if it is not defined.
2595 * iconv/gconv.c: Likewise.
2596
9bbe7c3b
UD
25971998-10-19 Ulrich Drepper <drepper@cygnus.com>
2598
34489d95
UD
2599 * nscd/connections.c (dbs): Define defualt values for timeouts and
2600 set enabled to 0 by default.
2601 (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in
2602 nscd_run.
2603
9bbe7c3b
UD
2604 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
2605 character >= 0x80.
2606 (_nl_C_LC_CTYPE_class32): Likewise.
2607 Reported by HJ Lu.
2608
7d25696a
RM
26091998-10-19 Roland McGrath <roland@baalperazim.frob.com>
2610
2611 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
2612 _HURD_THREADVAR_DL_ERROR.
2613
2614 * hurd/Makefile (user-interfaces): Add login, password.
2615
2616 * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
2617
37eb58de
RM
26181998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
2619
2620 [submitted 1998-08-06]
2621 * mach/Machrules: Create target directory and force re-evaluation
2622 of Makefile to prevent `make' from optimizing away most of the
2623 implicit rules and `vpath' directives.
2624
7434cee2
RM
26251998-10-19 Roland McGrath <roland@baalperazim.frob.com>
2626
37eb58de
RM
2627 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
2628 is null, short-circuit to __mach_msg.
2629
a13d5ca5
RM
2630 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
2631 broken out of init1.
2632 (init1) [PIC]: Call it.
2633 (__libc_init_first) [! PIC]: Call it.
2634
7434cee2
RM
2635 * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
2636 __libc_init_secure. Instead set __libc_enable_secure here from
2637 the exec flags.
2638 (__libc_enable_secure): New variable it.
2639 * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
2640
3f804c95
RM
26411998-10-19 Roland McGrath <roland@baalperazim.frob.com>
2642
2643 * nscd/nscd-client.h: New file, broken out of "nscd.h".
2644 * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
2645 and #include that.
2646 * nscd/Makefile (distribute): Add nscd-client.h.
2647 * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
2648 Include "nscd-client.h" instead of "nscd.h"
2649
67479a70
UD
26501998-10-18 Ulrich Drepper <drepper@cygnus.com>
2651
74f7e7c0
UD
2652 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
2653 directory entries when a lstat call fails.
2654 Patch by Colin Plumb <colin@nyx.net>.
2655
67479a70
UD
2656 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
2657 NSS functions.
2658 * resolv/nss_dns/dns-network.c: Likewise.
2659
9bbe7c3b 2660 * grp/Makefile: Don't search for linuxthreads in add-ons, use
67479a70
UD
2661 have-thread-library to determine whether threads are available.
2662 * pwd/Makefile: Remove wrong comment.
2663
2664 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
2665 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
2666
2667 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
2668
2669 * nss/Versions: Add __nss_hosts_lookup.
2670
2671 * nss/getXXbyYY.c: Remove unneeded assignment.
2672
2673 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
2674
2675 Almost complete rewrite of the NSCD to make it smaller, faster,
2676 add more functionnality and make it easier to extend.
2677 * nscd/Makfile (routines): Add nscd_gethst_r.
2678 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
2679 * nscd/cache.c: New file.
2680 * nscd/gethstbyad_r.c: New file.
2681 * nscd/gethstbynm2_r.c: New file.
2682 * nscd/hstcache.c: New file.
2683 * nscd/nscd_gethst_r.c: New file.
2684 * nscd/connections.c: Rewritten. Don't start new thread for every
2685 new connection. Use a fixed set of threads which handle all
2686 connections and also the cache cleanup.
2687 * nscd/grpcache.c: Rewritten to use generic cache handling functions
2688 in cache.c.
2689 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
2690 for rewrite. Remove handle_requests function.
2691 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
2692 Define new data structure for the new unified cache and the host
2693 database entries.
2694 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
2695 databases easily. Recognize check-files and threads definitions.
2696 * nscd/nscd.conf: Add definition of enable-cache and check-files to
2697 passwd and group definitions. Add new set of definitions for hosts.
2698 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
2699 * nscd/nscd_getpw_r.c: Likewise.
2700 * nscd/nscd_proto.h: Add prototype for host database functions.
2701 * nscd/nscd_stat.c: Rewrite to simplify printing of information
2702 for many databases.
2703 * nscd/dbg_log.c: Remove unnecessary variable initializations.
2704 Global variable debug_flag is renamed to dbg_level.
2705 * nscd/dbg_log.h: Declare set_logfile.
2706
6cde0c60
UD
27071998-10-16 Ulrich Drepper <drepper@cygnus.com>
2708
2709 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
2710 O_LARGEFILE back.
2711
c7a9f249
UD
27121998-10-16 Paul Eggert <eggert@shade.twinsun.com>
2713
2714 * time/mktime.c: Some systems require <unistd.h> to be
2715 included before <time.h> for localtime_r to be declared
2716 properly.
2717 * time/strftime.c: Likewise.
2718
9ffbb612
UD
27191998-10-16 Ulrich Drepper <drepper@cygnus.com>
2720
0049f576
UD
2721 * db/Makefile: Add rule to generate shared object with the soname
2722 from glibc 2.0.
2723
9ffbb612
UD
2724 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
2725 available double check to verify it's a directory.
2726
2727 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
2728 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
2729 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
2730 are not generally available.
2731 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
2732
2733 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
2734 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
2735 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
2736 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
2737 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
2738 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
2739 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
2740 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
2741 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
2742 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
2743 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
2744 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
2745 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
2746 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
2747 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
2748 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
2749 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
2750 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
2751 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
2752 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
2753 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
2754 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
2755 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
2756 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
2757 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
2758 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
2759 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
2760 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
2761 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
2762 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
2763 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
2764 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
2765 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
2766 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
2767 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
2768 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
2769 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
2770 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
2771
2772 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
2773 s_setresgid, and s_setuid.
2774 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2775 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
2776 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2777 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
2778 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
2779 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2780 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
2781
39e4f7f8
UD
27821998-10-16 Ulrich Drepper <drepper@cygnus.com>
2783
2784 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
2785 localtime_t declaration on some systems.
2786
c66dbe00
UD
27871998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
2788
2789 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
2790 -DSTATIC_GCONV.
9ffbb612 2791 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
c66dbe00
UD
2792 defined. Avoid using DL_CLL_FCT if it is not defined.
2793
27941998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2795
2796 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
2797 Include endian.h unconditionally. Remove portability goop
2798 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
2799
28001998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2801
2802 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
2803
909927d2
UD
28041998-10-15 Ulrich Drepper <drepper@cygnus.com>
2805
2806 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
2807 again. Use char[44] to define size of the struct.
2808
a9e73d40
UD
2809 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
2810
fcab9698 28111998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
c66dbe00 2812
fcab9698
UD
2813 * string/bits/string2.h (strcmp): Don't cache the result of
2814 __builtin_constant_p in variables, otherwise constant folding
2815 can fail in big functions.
c66dbe00 2816
fcab9698 28171998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
c66dbe00 2818
fcab9698
UD
2819 * string/bits/string2.h: Add prototypes for the new inline
2820 functions.
c66dbe00 2821
7edb4c25
UD
28221998-10-15 Ulrich Drepper <drepper@cygnus.com>
2823
2824 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
2825 have all types defined.
2826 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
2827
fcab9698 28281998-10-08 Paul Eggert <eggert@twinsun.com>
8d5166fb 2829
fcab9698
UD
2830 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
2831 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
2832 a body that merely expands localtime_r; this works around a
2833 bug in Digital Unix 4.0A and 4.0D.
8d5166fb
UD
2834
28351998-10-14 Ulrich Drepper <drepper@cygnus.com>
2836
2837 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
2838 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
2839 __ioctl to __syscall_ioctl and include Linux version of this file.
2840 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
2841 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
2842 ioctl calls which handle struct termios.
2843 Based on a patch by Dan Jacobowitz <drow@false.org>.
2844
8583916e
UD
28451998-10-14 Ulrich Drepper <drepper@cygnus.com>
2846
2847 * version.h (VERSION): Bump to 2.0.98.
2848
6f100d04
UD
2849 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
2850 here instead of including kernel_termios.h.
2851
fcab9698 28521998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
c66dbe00 2853
fcab9698
UD
2854 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
2855 unnecessary after the changes of 1998-10-12.
c66dbe00 2856
99e46354
UD
28571998-10-13 Ulrich Drepper <drepper@cygnus.com>
2858
6c5a700e
UD
2859 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
2860 parameter format string.
2861 (inline_outw): Likewise.
2862
99e46354
UD
2863 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
2864 string.h to get memcpy prototype and NULL definition.
2865
28661998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2867
2868 * misc/sys/cdefs.h (__THROW): New macro.
2869 * argp/argp.h: Use it to replace the kludgey __P in inline
2870 function definitions.
2871 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2872 * stdlib/stdlib.h: Likewise.
2873 * wcsmbs/wchar.h: Likewise.
2874 * libio/stdio.h: Likewise.
2875 * stdio/stdio.h: Likewise.
2876 * sysdeps/wordsize-64/inttypes.h: Likewise.
2877 * sysdeps/wordsize-32/inttypes.h: Likewise.
2878 * string/argz.h: Likewise.
2879 * io/sys/stat.h: Likewise.
2880
28811998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2882
2883 * Rules (stdio_lim): New variable.
2884 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
2885 on Rules and config.make, use $(move-if-change) to avoid unnessary
2886 recompilations, and cleanup command.
2887 (common-generated): Add bits/stdio_lim.st.
2888
1622fda9
UD
28891998-10-12 Ulrich Drepper <drepper@cygnus.com>
2890
2891 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
2892 variable to prevent warnings from use of modern CPU instructions.
2893 Patch by Richard Henderson <rth@cygnus.com>.
2894
2895 * sysdeps/unix/opendir.c: Test whether NAME is directory before
2896 opening it.
2897
28981998-10-12 Philip Blundell <pb@nexus.co.uk>
2899
2900 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
2901 semicolon so that profiling works.
2902
4875f665
RM
29031998-10-12 Roland McGrath <roland@baalperazim.frob.com>
2904
2905 * sysdeps/generic/glob.c: #undef mempcpy before #define.
2906
2907 * sysdeps/unix/bsd/clock.c: Use prototype defns.
2908
431f91ba
UD
29091998-10-11 Ulrich Drepper <drepper@cygnus.com>
2910
2911 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
2912 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
2913
2914 * string/bits/string2.h [!_STRING_ARCH_unaligned]
2915 (__mempcpy_small): Add parameter for 1 byte copy and use it.
2916 Reported by Geoff Keating <geoffk@ozemail.com.au>.
2917
027acb51
UD
29181998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
2919
2920 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
2921 it is already defined in <bits/environments.h>.
2922
9a29bc37
UD
29231998-10-09 Ulrich Drepper <drepper@cygnus.com>
2924
2925 * posix/ptestcases.h: Fix typo.
2926
29271998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2928
2929 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
2930 (regexec): Allocate regs.start and regs.end as one block.
2931
29321998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2933
2934 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
2935 enum decl.
2936
29371998-10-08 Philip Blundell <pb@nexus.co.uk>
2938
2939 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
2940 sigcontext union to ...
2941 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
2942 file.
2943 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
2944 version 2.0 kernels.
2945
9ea350a4
UD
29461998-10-08 Ulrich Drepper <drepper@cygnus.com>
2947
8261bc4b
UD
2948 * malloc/mtrace.c (tr_reallochook): Produce better output for real
2949 reallocation case.
2950
16e866fa 2951 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
ea1dfb4a 2952 * argp/argp-xinl.c: Likewise.
16e866fa 2953
9ea350a4
UD
2954 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
2955 Ruffian entry back.
2956 Patch by Christian Gafton.
2957
25b3b17b
UD
29581998-10-08 Paul Eggert <eggert@twinsun.com>
2959
2960 * time/mktime.c (__mktime_internal): When the requested time falls
2961 in a spring-forward gap of size DT, return a time that is DT away
2962 from the requested time, preferring a time whose tm_isdst differs
2963 from the requested value. Bump the max number of probes from 4 to
2964 6 to account for the extra probes needed to discover a
2965 spring-forward gap in the worst case.
2966
29671998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
2968
2969 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
2970 of the weird alpha architectures.
2971 Patch by Cristian Gafton <gafton@redhat.com>.
2972
29731998-02-18 23:31 Richard Henderson <rth@cygnus.com>
2974
2975 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
2976 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
2977
604510f7
UD
29781998-10-07 Ulrich Drepper <drepper@cygnus.com>
2979
2980 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
2981 (dl_open_worker): Use realloc, not malloc to resize array.
2982 * elf/rtld.c (_dl_initial_searchlist): New variable.
2983 (_dl_main): Copy content of _dl_main_searchlist to
2984 _dl_initial_searchlist.
2985 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
2986 _dl_global_scope_alloc.
2987 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
2988 * elf/dl-close.c (_dl_close): When removing object with global
2989 scope remove allocated searchlist if no dynamically loaded object
2990 is on it anymore.
2991 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
2992 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
2993
2994 * malloc/mtrace.c (tr_where): Don't print space in location string,
2995 print it afterwards. Print better symbol name information.
2996
0163d97b
UD
29971998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2998
2999 * manual/filesys.texi (Setting Permissions): Fix example for
3000 reading umask.
3001
30021998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3003
3004 * elf/sprof.c (load_profdata): Fix typo in error message.
3005
c0de721b
AS
30061998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3007
3008 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
3009 flag.
3010
442dc326
RM
30111998-10-04 Roland McGrath <roland@baalperazim.frob.com>
3012
3013 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
3014
d53427c8
UD
30151998-10-06 Ulrich Drepper <drepper@cygnus.com>
3016
3017 * version.h (VERSION): Bump to 2.0.97.
3018
acdf1251
UD
30191998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3020
3021 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
3022 in definitions of inline stat functions so that they match the
3023 declaration.
3024 * stdlib/stdlib.h: Likewise.
3025 * wcsmbs/wchar.h: Likewise.
3026 * libio/stdio.h: Likewise.
3027 * stdio/stdio.h: Likewise.
3028 * sysdeps/wordsize-64/inttypes.h: Likewise.
3029 * sysdeps/wordsize-32/inttypes.h: Likewise.
3030 * string/argz.h: Likewise.
3031 * argp/argp.h: Likewise.
3032
3cb07217
UD
30331998-10-06 Ulrich Drepper <drepper@cygnus.com>
3034
3035 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
3036 netinet/in.h.
3037
c10bb795
UD
30381998-10-05 Philip Blundell <philb@gnu.org>
3039
3040 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
3041 and constants. Tidy up formatting a little.
3042
3043 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
3044 Move definitions to in.h.
3045
8325d82c
UD
30461998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3047
3048 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
3049 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
3050 Remove inclusion of <linux/swap.h>.
3051
30521998-10-05 Ulrich Drepper <drepper@cygnus.com>
3053
3054 * io/sys/stat.h: Use __P in definitions of inline stat functions
3055 so that they match the declaration.
3056
30571998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3058
3059 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
3060
30611998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3062
3063 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
3064 linux 2.1 version.
3065
30661998-10-02 Philip Blundell <pb@nexus.co.uk>
3067
3068 * sysdeps/arm/dl-machine.h: Fix typo in last change.
3069
3070 * sysdeps/arm/bits/huge_val.h: New file.
3071
30721998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3073
3074 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
3075
3076 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
3077 define.
3078
30791998-10-05 Ulrich Drepper <drepper@cygnus.com>
3080
3081 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
3082 store result of realloc instead of using BUF.
3083
30841998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3085
3086 * misc/sgtty.h (_SGTTY_H): Correct spelling.
3087 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
3088
30891998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3090
3091 * manual/memory.texi (Obstacks): Document
3092 obstack_alloc_failed_handler usage.
3093
3094 * malloc/obstack.h: Enhance comment about
3095 obstack_alloc_failed_handler usage.
3096 * malloc/obstack.c: Likewise.
3097
30981998-10-05 Ulrich Drepper <drepper@cygnus.com>
3099
3100 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
3101 gcc before 2.8 is used.
3102
31031998-10-01 Philip Blundell <pb@nexus.co.uk>
3104
3105 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
3106 from Scott Bambrough.
3107
3108 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
3109
3110 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
3111 include the lock member.
3112
31131998-09-03 Philip Blundell <pb@nexus.co.uk>
3114
3115 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
3116
e3e4e463
UD
31171998-10-01 Ulrich Drepper <drepper@cygnus.com>
3118
3119 * timezone/zic.c: Update from tzcode1998h.
3120 * timezone/europe: Update from tzdata1998i.
3121 * timezone/southamerica: Likewise.
3122
7782d0bf
UD
3123 * sys/types.h: Protect use of long long by __extension__.
3124 * stdlib/stdlib.h: Likewise.
3125 * string/string.h: Likewise.
3126 * sysdeps/i386/bits/byteswap.h: Likewise.
3127 * sysdeps/geeric/bits/byteswap.h: Likewise.
3128 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3129 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3130 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3131 * sysdeps/wordsize-32/inttypes.h: Likewise.
3132 * sysdeps/wordsize-32/stdint.h: Likewise.
3133 * wcsmbs/wchar.h: Likewise.
3134
8325d82c
UD
31351998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3136
3137 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
3138 expression.
3139 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
3140 __strsep): Greatly reduce size of expansion by combining common
3141 expressions.
3142 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
3143 inline function.
3144 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
3145 by the above definitions.
3146
31471998-09-27 Geoff Keating <geoffk@ozemail.com.au>
3148
3149 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
3150 correct struct ipc_perm definition.
3151
31521998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3153
3154 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
3155
999b2f6b
UD
31561998-09-29 Cristian Gafton <gafton@redhat.com>
3157
8325d82c
UD
3158 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
3159 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
999b2f6b
UD
3160 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
3161 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
3162 Add net/if_shaper.h.
3163
87052ab7
UD
31641998-09-29 Ulrich Drepper <drepper@cygnus.com>
3165
cf26217d
UD
3166 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
3167
87052ab7
UD
3168 * nis/ypclnt.c: Remove not needed close calls.
3169
6ff5bc68
UD
31701998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
3171
3172 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
3173 check a bit. Also close socket of domain client. Close socket
3174 in IPPORT_RESERVED error case.
3175
31761998-09-28 Ulrich Drepper <drepper@cygnus.com>
3177
3178 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
3179 CMSG_ALIGN (fixes a bug) and correct test for availability of
3180 another entry.
3181 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
3182 Linux version.
3183 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
3184 availability of another entry.
3185 Patch by ak@muc.de.
3186
3187 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
3188 Patch by ak@muc.de.
3189
999b2f6b
UD
3190 * libio/libio.h [!__STDC__]: Define const only if not defined.
3191
6ff5bc68
UD
31921998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3193
3194 * posix/annexc.c (xsystem): New function. Use it instead of
3195 system.
3196
31971998-09-28 Ulrich Drepper <drepper@cygnus.com>
3198
3199 * stdlib/longlong.h: Remove #endif for #if removed in last change.
3200
e07a51b5
UD
32011998-09-25 Ulrich Drepper <drepper@cygnus.com>
3202
3203 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
3204 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
3205 allow using `ut' parameter.
3206 [!emacs]: Define ut_argument, ut_argument_spec, and
3207 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
3208 argument_spec to prototypes and definitions.
3209 (my_strftime): Don't call tzset of ut != 0.
3210 Compute diff as 0 is ut != 0;
3211 [emacs]: Define new emacs_strftime function.
3212 Based on a patch by Paul Eggert.
3213
32141998-09-24 Paul Eggert <eggert@twinsun.com>
3215
3216 * time/strftime.c (my_strftime): When asking for the length of the
3217 subformatted buffer, do not limit the length to look for;
3218 otherwise, we have no reliable way to distinguish between the
3219 empty buffer and an error.
3220
390a4882
UD
32211998-09-25 Ulrich Drepper <drepper@cygnus.com>
3222
3223 * math/Makefile (gmp-objs): Add mp_clz_tab.
3224
32251998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
3226
3227 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
3228 set them.
3229 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
3230 cpus lacking hardware multiply and divide.
3231
32321998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3233
3234 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
3235 $(<F), not $(^F).
3236
32371998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3238
3239 * db/btree/bt_delete.c: Fix -Wparentheses warning.
3240
32411998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3242
3243 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
3244 $(do-install).
3245
e503270c
UD
32461998-09-24 Ulrich Drepper <drepper@cygnus.com>
3247
e07a51b5 3248 * debug/catchsegv.sh: Also produce output if clone process died.
e503270c
UD
3249
32501998-09-24 Paul Eggert <eggert@twinsun.com>
3251
390a4882 3252 * time/strftime.c (f_wkday): Remove duplicate definition.
e503270c
UD
3253 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
3254 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
3255 1998-09-11 fix to this case.
3256 (wkday_len, month_len): Remove these macros; they're no longer needed.
3257
32581998-09-24 Paul Eggert <eggert@twinsun.com>
3259
390a4882 3260 * time/strftime.c (my_strftime): Don't store past the end of a
e503270c
UD
3261 zero-sized buffer.
3262
3465c0ce
UD
32631998-09-24 Paul Eggert <eggert@twinsun.com>
3264
e503270c 3265 * time/strftime.c (underlying_strftime):
3465c0ce
UD
3266 Set the buffer to a nonzero value before calling
3267 strftime, and check to see whether strftime has set the buffer to zero.
3268 This lets us distinguish between an empty buffer and an error.
3269
32701998-09-24 Paul Eggert <eggert@shade.twinsun.com>
3271
e503270c 3272 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
3465c0ce
UD
3273 This fix is propagated from tzcode1998g.tar.gz.
3274
7a3bfc4e
UD
32751998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
3276
3277 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
3278 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
3279 sys_siglist. This is handled correctly by the weak_alias macro.
3280
369b1933
UD
32811998-09-24 Ulrich Drepper <drepper@cygnus.com>
3282
50a1b837
UD
3283 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
3284 of mempcpy. Reported by Andreas Jaeger.
3285
369b1933
UD
3286 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
3287 pollute the namespace since the compiler will resolve it inline.
3288 Reported by Florian La Roche <florian@suse.de>.
3289
2b79b6d5
UD
32901998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
3291
3292 * timezone/private.h: Update from tzcode1998g.
3293
3294 * timezone/africa: Update from tzdata1998h.
3295 * timezone/asia: Likewise.
3296 * timezone/australasia: Likewise.
3297 * timezone/europe: Likewise.
3298 * timezone/northamerica: Likewise.
3299 * timezone/southamerica: Likewise.
3300 * timezone/zone.tab: Likewise.
3301
3d42e04d
UD
33021998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3303
3304 * misc/sys/mman.h: New file.
3305
3306 * sysdeps/generic/bits/mman.h: New file.
3307 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
3308 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
3309 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
3310 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
3311
3312 * sysdeps/generic/sys/mman.h: Removed.
3313 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
3314 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
3315 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
3316 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
3317 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
3318
3319 * include/sys/mman.h: Look directly for misc/sys/mman.h.
3320 * misc/Makefile (headers): Add bits/mman.h.
3321 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
3322 bits/mman.h.
3323
3324 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
3325 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
3326 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
3327 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
3328 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
3329 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
3330 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
3331 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
3332
33331998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3334
3335 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
3336 * sysdeps/mach/alpha/thread_state.h: Likewise.
3337 * sysdeps/mach/i386/sysdep.h: Likewise.
3338 * sysdeps/mach/i386/thread_state.h: Likewise.
3339 * sysdeps/mach/mips/sysdep.h: Likewise.
3340 * sysdeps/mach/mips/thread_state.h: Likewise.
3341 * sysdeps/posix/profil.c: Likewise.
3342 * sysdeps/i386/i586/memcopy.h: Likewise.
3343 * sysdeps/mach/pagecopy.h: Likewise.
3344
a379e56a
UD
33451998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
3346
3347 * libio/stdio.h: Define __need_getopt and include getopt.h to define
3348 getopt stuff.
3349 * posix/unistd.h: Likewise.
3350 * stdio/stdio.h: Likewise.
3351 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
3352 define only getopt and the variables.
3353
34a4b66d
UD
33541998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3355
3356 * scripts/test-installation.pl (installation_problem): Don't link
3357 the test program against libdb1.
3358
24fd4cc4
UD
33591998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
3360
3361 * Makeconfig (all-subdirs): Add db.
3362 * Versions.def: Add definition for libdb1.
3363 * shlib-versions: Add definitions for libdb1.
3364 * db/Makefile (extra-libs): Replace by libdb1.
3365 (libdb-routines): Rename to libdb1-routines.
3366 (headers): Rename to db1-headers.
3367 (distribute): Add $(db1-headers).
3368 (install-others): Define to install symlink libdb.so.NN and the
3369 $(db1-headers).
a379e56a 3370 (CPPFLAGS): Add -DUSE_LIBDB1
24fd4cc4
UD
3371 Remove rules to build makedb.
3372 * db/Versions: Rename libdb to libdb1.
3373 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
af564203 3374 * db/makedb.c: Removed.
24fd4cc4
UD
3375
3376 * scripts/versions.awk: Recognize digits in library names.
3377
3378 * db/btree/bt_open.c: Fix compiler warnings.
3379 * db/btree/bt_put.c: Likewise.
3380 * db/btree/bt_split.c: Likewise.
3381 * db/hash/hash.c: Likewise.
3382 * db/hash/hash_bigkey.c: Likewise.
3383 * db/recno/rec_close.c: Likewise.
3384
af564203
UD
3385 * Makefile: Add localedata/% goal.
3386
c94a8080
UD
33871998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3388
3389 * posix/execvp.c: Don't give up searching the PATH if execve
3390 returns ENOTDIR.
3391
33921998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
3393
3394 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
3395 if _dl_fpu_control_set is set.
3396 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
3397 * elf/rtld.c: Don't define _dl_fpu_control_set.
3398 * elf/Versions: Remove _dl_fpu_control_set.
3399
34001998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
3401
3402 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
3403 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
3404 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
3405 Correct values of other SA_* macros according to kernel headers.
3406
34071998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3408
3409 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
3410 variable l.
3411 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
3412 old.
3413
34141998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3415
3416 * elf/ldsodefs.h: Fix typo in comment.
3417
34181998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3419
3420 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
3421 char when comparing buffer contents with putback character.
3422
34231998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3424
3425 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
3426 Undo last change.
3427 * elf/Versions: Undo last change. Export _dl_fpu_control and
3428 _dl_fpu_control_set.
3429 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
3430 variables. Include <fpu_control.h>.
3431 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
3432 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
3433 to indicate that is was seen.
3434 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
3435 only if _dl_fpu_control was set and is equal to desired value.
3436 * math/Makefile (aux): Undo last change.
3437 * math/Versions: Export __fpu_control with version GLIBC_2.0.
3438
f74e8ed1
AS
34391998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3440
3441 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
3442 optimized.
3443
e7c5513d
UD
34441998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
3445
3446 * string/bits/string2.h: Add mempcpy optimization.
3447 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
3448 * intl/localealias.c: Define mempcpy only if not already defined.
3449
3450 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
3451 defined.
3452
34531998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3454
3455 * csu/abi-note.S: Emit the note directly instead of defining
3456 a preprocessor macro that's only used once. Don't include sysdep.h.
3457 * abi-tags: Generalize Solaris entry.
3458
34591998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3460
3461 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
3462 Change to array to avoid runtime relocation.
3463 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
3464
34651998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3466
3467 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
3468 * math/Makefile ($(objpfx)libieee.a): Likewise.
3469
34701998-09-21 Ulrich Drepper <drepper@cygnus.com>
3471
3472 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
3473 Patch by John Tobey <jtobey@banta-im.com>.
3474
b0fd6165
UD
34751998-09-20 Ulrich Drepper <drepper@cygnus.com>
3476
3477 * login/Makefile (distribute): Remove pty-internal.h, add
3478 pty-private.h.
1391f5d3
UD
3479
3480 * stdlib/tst-strtol.c: Add more checks.
3481 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
3482
a0780919
UD
34831998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
3484
3485 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
3486 * elf/elf.h: Add AT_FPUCW.
3487 * elf/Makefile (dl-routines): Add fpu_control.
3488 (elide-routines.os): Add fpu_control.
3489 (rtld-routines): Add fpu_control.
3490 * math/Makefile (aux): Remove fpu_control.
3491 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
3492 (_dl_show_auxv): Likewise.
3493 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
3494 if different from OS default.
3495
3496 * stdio-common/tstscanf.c: Add test case for (nil).
3497
00bc5db0
UD
34981998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
3499
3500 * libio/fileops.c (_IO_new_file_underflow): Before allocating
3501 buffer make sure the pushback buffer is destroyed.
3502 (_IO_new_file_seekoff): Likewise.
3503 If mode==0 quit early with the result.
3504 Clear OEF flag after successful fseek.
3505 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
3506 * libio/ftello.c (ftello): Add offset from original buffer if
3507 stream has pushed back characters.
3508 * libio/ftello64.c (ftello64): Likewise.
3509 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
3510 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
3511 * libio/ioftell.c (_IO_ftell): Likewise.
3512 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
3513 and _IO_save_ptr.
3514 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
3515 (_IO_default_pbackfail): Only stored push back character in original
3516 buffer if it is the same as the one in the file at this position.
3517 * libio/iofclose.c: Free backup buffer if one is available.
3518 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
3519 mode!=0.
3520
3521 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
3522
3523 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
3524
c53a89d4
UD
3525 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
3526
00bc5db0
UD
35271998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
3528
3529 * login/programs/pt_chown.c (more_help): Correct message that
3530 describes the purpose of the program.
3531
3532 * login/openpty.c: Do not include pty-private.h.
3533 (pts_name): New function. Return name of slave pseudo terminal in
3534 an allocated buffer if necessary.
3535 (openpty): Use pts_name to get name of the slave end of the pseudo
3536 terminal pair.
3537
3538 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
3539 pts_name before return.
3540
35411998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
3542
3543 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
3544
88263bc9
UD
35451998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3546
3547 * login/openpty.c: Include pty-private.h instead of
3548 pty-internal.h.
3549
872ea854
UD
35501998-09-09 Philip Blundell <pb@nexus.co.uk>
3551
3552 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
3553
35541998-09-07 Philip Blundell <pb@nexus.co.uk>
3555
3556 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
3557 recent ld.so changes.
3558 (elf_machine_runtime_setup): Correct behaviour when profiling.
3559
9b3c7c3c
UD
35601998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
3561
3562 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
3563 Patch by John Tobey <jtobey@banta-im.com>.
3564
35651998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
3566
3567 * login/pty-internal.h: Removed. Moved constants related to the
3568 `grantpt' helper program protocol to ...
3569 * login/pty-private.h: ... here. New file.
3570 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
3571 to make the function work with kernels >= 2.1.115.
3572 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
3573 version if using the cloning device fails.
3574 * sysdeps/unix/sysv/linux/grantpt.c: New file.
3575 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
3576 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
3577 use by Linux specific code.
3578 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
3579 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
3580 function. (grantpt): Use pts_name, check group and permission
3581 mode in addition to owner. Try to set the owner, group and
3582 permission mode first without invoking the helper program.
3583 * login/programs/pt_chown.c: Largely rewritten. Add argp and
3584 internationalization support. Use symbolic constants instead of
3585 hardwired numbers for permission mode.
3586 * sysdeps/unix/bsd/ptsname.c: New file.
3587
35881998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
3589
3590 * posix/wordexp-test.c: Undo last change.
3591
3592 * posix/wordexp.c: Undo last change.
3593
d8f2b9ea
UD
35941998-09-16 Ulrich Drepper <drepper@cygnus.com>
3595
3596 * nscd/grpcache.c (save_grp): Partly undo last change.
3597
3598 * nscd/pwdcache.c (save_pwd): Undo last change.
3599
9c4c0024
UD
36001998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3601
3602 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
3603 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
3604
36051998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
3606
3607 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
3608 Add profiling support.
3609 (TRAMPOLINE_TEMPLATE): New macro.
3610 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
3611 (RTLD_START): Prettify, and set __libc_stack_end properly.
3612 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
3613 and check for sym being NULL instead.
3614 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
3615 of stack space.
3616 * sysdeps/sparc/sparc64/lshift.S: Likewise.
3617 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
3618 * sysdeps/sparc/sparc64/rshift.S: Likewise.
3619 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
3620 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
3621 MEDANY code model %g4 usage.
3622 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
3623 MEDANY code model %g4 usage.
3624 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
3625 code model address formation.
3626 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
3627 include elf/ldsodefs.h
3628 (DT_SPARC): Remove.
3629 (elf_machine_matches_host): It is now EM_SPARCV9.
3630 (elf_machine_dynamic): Clean up to remove ugly cast.
3631 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
3632 new PLT formats.
3633 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
3634 Prettify rest of function.
3635 [R_SPARC_COPY]: Check for sym being NULL.
3636 [R_SPARC_32]: Handle it.
3637 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
3638 MEDMID code model.
3639 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
3640 MEDANY code model.
3641 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
3642 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
3643 Add profiling support.
3644 (TRAMPOLINE_TEMPLATE): New macro.
3645 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
3646 (RTLD_START): Prettify and set __libc_stack_end.
3647 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
3648 Define.
3649 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
3650 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
3651 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
3652 unused variable scratch.
3653 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3654 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
3655 Declare.
3656 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
3657 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
3658 old format kernel sigaction structures.
3659 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
3660 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
3661 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
3662 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
3663 ucontext include.
3664 (_JMPBUF_UNWINDS): Define.
3665 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
3666 statfs64 structure, which is exactly the same as the normal one.
3667 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
3668 of stack. Use correct syscall trap number. Add branch prediction
3669 settings to branch instructions. Remove old MEDANY code model %g4
3670 referneces for non-PIC.
3671 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3672 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
3673 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
3674 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
3675 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3676 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
3677 __libc_longjmp and __libc_siglongjmp strong aliases.
3678 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
3679 Also define to __no__readdir64_decl around readdir.c inclusion.
3680 (__readdir64): Add strong alias.
3681 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
3682 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
3683 Set strong and weak names properly.
3684
36851998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3686
3687 * manual/Makefile (AWK): Default to gawk if standalone.
3688
36891998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3690
3691 * Makefile (distribute): Undo last change.
3692 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
3693 for sysdep headers.
3694 (+subdir-headers): Removed, unused.
3695
36961998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3697
3698 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
3699 $(do-install).
3700
37011998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3702
3703 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
3704 absolute name in $(config-sysdirs), can never happen.
3705 ($(+sysdir_pfx)sysd-rules): Likewise.
3706 * Makeconfig (full-config-sysdirs): Likewise.
3707 (all-Subdirs-files): Prepend $(..).
3708
3709 * configure.in: Don't check for absolute name in $add_ons_pfx, can
3710 not happen. Let --enable-add-ons=yes work if no add-ons actually
3711 exist.
3712
37131998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3714
3715 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
3716 continuations in command.
3717
37181998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3719
3720 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
3721
a8125d85
UD
37221998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
3723
3724 * posix/wordexp-test.c: If expansion or substitution occurs
3725 anywhere in a word, the entire word is subject to field-splitting.
3726
3727 * posix/wordexp.c (parse_glob): Look for end of word instead of
3728 end of field when deciding what to glob.
3729 (field_split_word): New function, now the only place where
3730 field-splitting is performed.
3731 (parse_dollars): New parameter - tell the caller if
3732 field-splitting should be performed on this word.
3733
3734 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
3735 succeeded (or failed with WRDE_NOSPACE).
3736
37371998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
3738
3739 * posix/wordexp.c (wordexp): Don't convert IFS characters to
3740 blanks.
3741
3742 * posix/wordexp-test.c: Words not the result of expansion or
3743 substitution should remain unchanged.
3744
aa2bc6a3
UD
37451998-09-15 Ulrich Drepper <drepper@cygnus.com>
3746
3747 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
3748 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
3749
3a60301a
UD
37501998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3751
3752 * stdio-common/Makefile: Include Makeconfig so that
3753 $(inst_includedir) is defined.
3754
77f0d179
UD
37551998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3756
3757 * io/pwd.c: Include <mcheck.h>.
3758
6beaac4d
UD
37591998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
3760
3761 * nscd/pwdcache.c (save_pwd): Correct copying.
3762 * nscd/grpcache.c (save_grp): Likewise.
3763
0ff0d59e
UD
37641998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
3765
3766 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
3767 (free_pwd): Adjust for this change.
3768 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
3769 (free_grp): Adjust for this change.
3770
d3f8acb3
UD
37711998-09-14 Ulrich Drepper <drepper@cygnus.com>
3772
3773 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
3774
14eb5d5d
UD
37751998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
3776
3777 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
3778 (install-others): Add bits/stdio_lim.h.
3779 Add rule to install bits/stdio_lim.h.
3780
3781 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
3782
3783 * Makefile (distribute): Add include/sys/mman.h.
3784
3785 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
3786 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
3787 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
3788
0a1590ba
UD
3789 * grp/initgroups.c: Include stdlib.h.
3790 Patch by Zack Weinberg.
3791
1ffaaca2
UD
37921998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
3793
3794 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
3795 for field-splitting :abc: is correct, and that two fields should
3796 result. Revert tests to reflect this.
3797
3798 * posix/wordexp.c (w_emptyword): Remove function.
3799 (exec_comm): Don't use w_emptyword.
3800 (parse_param): Likewise.
3801
4ca020f5
UD
38021998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
3803
3804 * sysdeps/arm/fpu/Dist: Moved to...
3805 * sysdeps/arm/Dist: ...here.
3806 * sysdeps/posix/Dist: Removed.
3807 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
3808 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
3809
f624c216
UD
38101998-08-26 Geoff Keating <geoffk@ozemail.com.au>
3811
3812 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
3813
7ef90c15
UD
38141998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
3815
3816 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
3817
38181998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3819
3820 * libc-work/nis/nss_nisplus/nisplus-service.c
3821 (_nss_nisplus_parse_servent): Convert port in network byte order.
3822
38231998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3824
3825 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
3826 to provide only malloc and calloc.
3827 * include/stdlib.h: Support the above.
3828 * string/bits/string2.h: Use __need_malloc_and_calloc when
3829 including stdlib.h.
3830 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
3831
3832 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
3833 * iconvdata/iso646.c: Include <stdlib.h>.
3834
38351998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3836
3837 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
3838 * sysdeps/libm-ieee754/w_pow.c: Likewise.
3839 * sysdeps/libm-ieee754/w_powf.c: Likewise.
3840 * sysdeps/libm-ieee754/w_powl.c: Likewise.
3841
38421998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3843
3844 * stdio-common/stdio_lim.h.in: New file. All parameters
3845 are adjustable at build time.
3846 * Rules: Add a rule to build bits/stdio_lim.h from
3847 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
3848 all subdirectories know how to make the file. It can't be
3849 in Makerules because then it gets built at top level and the
3850 dependencies are wrong.)
3851
3852 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
3853 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
3854 stdio_lim.h.
3855 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
3856 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
3857 * sysdeps/posix/Makefile: Removed.
3858 * sysdeps/posix/mk-stdiolim.c: Removed.
3859 * sysdeps/generic/bits/stdio_lim.h: Removed.
3860
38611998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3862
3863 * argp/argp-help.c: Fixup indentation.
3864 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
3865 * resolv/nss_dns/dns-network.c: Likewise.
3866 * resolv/res_send.c: Likewise.
3867 * rt/aio_cancel.c: Likewise.
3868 * rt/aio_misc.c: Likewise.
3869
38701998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3871
3872 * Makefile (install-symbolic-link): Remove the link list file at last.
3873 * Makerules (install-clean-symbolic-link-list): Removed.
3874
38751998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3876
3877 * timezone/tst-timezone.c: Print time in UTC to get consistent
3878 output.
3879
38801998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3881
3882 * elf/rtld.c (_dl_rpath): Removed.
3883 * elf/dl-support.c (_dl_path): Removed.
3884 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
3885 (CFLAGS-dl-support.c): Removed.
3886
3887 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
3888 uses changed.
3889 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
3890 instead of appending it to the main map's rpath info.
3891 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
3892 DT_RPATHs. This makes it effective again.
3893 (decompose_rpath): Remove second parameter, callers changed.
3894 (fillin_rpath): Allocate enough space in curwd.
3895 (expand_dynamic_string_token): Cope with get_origin returning -1.
3896
38971998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3898
3899 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
3900 passwd.adjunct.
3901
3902 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
3903 invalid password.
3904
39051998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
3906
3907 * locale/programs/locale.c: Update dates.
3908
5d47ceca
UD
39091998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
3910
3911 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
b1fcf686 3912 size_t is defined. Some reordering of definitions to make
5d47ceca
UD
3913 maintaining this file in parallel with the linux-specific file easier.
3914
bd31edf2
UD
39151998-09-13 Ulrich Drepper <drepper@cygnus.com>
3916
3917 * io/pwd.c (main): Add call to mtrace.
3918
3919 * malloc/mtrace.pl: Quote @ in string.
3920
33c3e20e
UD
39211998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
3922
3923 * posix/wordexp.c (parse_arith): Fix memory leaks.
3924 (exec_comm): Likewise.
3925 (parse_param): Likewise.
3926 (wordexp): Likewise.
3927 (exec_comm): Reduce number of function return points.
3928 (parse_param): Likewise.
3929 (wordexp): Likewise.
3930
1720f4d0
UD
39311998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
3932
3933 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
3934 yield three fields, not two. Test both parameter expansion and
3935 command substitution for correct field-splitting behaviour.
3936
3937 * posix/wordexp.c (w_emptyword): New function.
3938 (parse_param): Use it.
3939 (exec_comm): Likewise, for consistency with the way parse_param
3940 splits fields.
3941 (parse_param): Fix some memory leaks.
3942
2d09b95d
UD
39431998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
3944
3945 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
3946 Don't mark asm `volatile'.
3947 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
3948 from the data cache too. Assume it isn't in the instruction cache yet.
3949 (__elf_machine_fixup_plt): Clear the modified address from the caches.
3950
b39c6f8b
UD
39511998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
3952
3953 * sysdeps/generic/segfault.c (install_handler): Install signal
3954 handler with SA_ONSTACK instead of setting the stack flags to
3955 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
3956 defined.
3957
39581998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3959
3960 * signal/signal.h: Fix multiple inclusion guard to cover the
3961 entire file.
3962 * wcsmbs/wchar.h: Remove prototype of internal function
3963 __mbsrtowcs.
3964 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
3965 arithmetic on `void *'.
3966
c06cc21c
UD
39671998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
3968
3969 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
3970
3971 * posix/wordexp.c (wordexp): Perform word-splitting instead of
3972 field-splitting here.
3973 (wordexp): If out of memory mid-word, free the word (but still
3974 leave pwordexp alone for caller to see).
3975 (parse_param): Allow for zero-length fields (smarter checking of
3976 memory allocation failure).
3977 (w_addword): Convert NULL words to "".
3978 (wordexp): Convert left-over IFS characters to blanks (like bash).
3979
81e0cb2d
UD
39801998-09-11 Ulrich Drepper <drepper@cygnus.com>
3981
350eb336
UD
3982 * configure.in: Use test -f instead of test -e.
3983 Patch by John Tobey <jtobey@banta-im.com>.
3984
3985 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
3986 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
3987 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
3988 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
3989 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
3990 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
3991 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
3992 Patches by John Tobey <jtobey@banta-im.com>.
3993
81e0cb2d
UD
3994 * time/strftime.c (my_strftime): Delay use of *tp values until
3995 latest possible point to allow partly initialized structures
3996 (e.g., from strptime).
3997
514d9bca
UD
3998 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
3999 and NATS-SEFI.
4000 Define *-routines variables for new modules.
4001 (distribute): Add .c files for new modules.
4002 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
4003 and nats-sefi.h.
4004 Add rules for header generation.
4005 * iconvdata/gconv-modules: Add entries for new modules.
4006 * iconvdata/iso_10367-box.c: New file.
4007 * iconvdata/mac-is.c: New file.
4008 * iconvdata/nats-dano.c: New file.
4009 * iconvdata/nats-sefi.c: New file.
4010
81e0cb2d
UD
40111998-04-30 18:20 H.J. Lu <hjl@gnu.org>
4012
4013 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
4014 loader if PIC is not defined.
4015
ec04e9ba
UD
40161998-09-11 Ulrich Drepper <drepper@cygnus.com>
4017
4018 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
4019 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
4020 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
4021 and ISO_5428.
4022 Define *-routines variables for new modules.
4023 (distribute): Add .c files for new modules.
4024 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
4025 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
4026 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
4027 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
514d9bca 4028 Add rules for header generation.
ec04e9ba
UD
4029 * iconvdata/gconv-modules: Add entries for new modules.
4030 * iconvdata/csn_369103.c: New file.
4031 * iconvdata/cwi.c: New file.
4032 * iconvdata/dec-mcs.c: New file.
4033 * iconvdata/ecma-cyrillic.c: New file.
4034 * iconvdata/gost_19768-74.c: New file.
4035 * iconvdata/greek-ccitt.c: New file.
4036 * iconvdata/greek7-old.c: New file.
4037 * iconvdata/greek7.c: New file.
4038 * iconvdata/inis-8.c: New file.
4039 * iconvdata/inis-cyrillic.c: New file.
4040 * iconvdata/inis.c: New file.
4041 * iconvdata/iso6937-2.c: New file.
4042 * iconvdata/iso_2033.c: New file.
4043 * iconvdata/iso_5427-ext.c: New file.
4044 * iconvdata/iso_5427.c: New file.
4045 * iconvdata/iso_5428.c: New file.
4046
4047 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
4048 entries.
4049 Convert U02dd correctly.
4050
25c849b1
RH
40511998-09-11 20:46 Richard Henderson <rth@cygnus.com>
4052
4053 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
4054 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
4055 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
4056 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
4057
04795ad9
UD
40581998-09-11 Ulrich Drepper <drepper@cygnus.com>
4059
4060 * resolv/res_init.c (res_init): Handle resolv.conf file with only
4061 one nameserver correctly. Patch by HJ Lu.
4062
4063 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
4064 and ANSI_X3.110.
4065 Define *-routines variables for new modules.
4066 (distribute): Add .c files for new modules.
4067 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
4068 Add rules for hedaer generation.
4069 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
4070 * iconvdata/ansi_x3.110.c: New file.
4071 * iconvdata/asmo_449.c: New file.
4072 * iconvdata/baltic.c: New file.
4073 * iconvdata/iec_p27-1.c: New file.
4074
4075 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
4076 entries.
4077 Convert U02dc correctly.
4078
4079 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
4080 * math/atest-exp2.c: Likewise.
4081 * math/atest-sincos.c: Likewise.
4082
4083 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
4084 is defined.
4085
40861998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4087
4088 * string/strcoll.c: Optimize a few expressions.
4089 * string/strxfrm.c: Likewise.
4090
5e0889da
UD
40911998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4092
4093 * manual/locale.texi: Fix typos.
4094
2c86b2bc
UD
40951998-09-10 Ulrich Drepper <drepper@cygnus.com>
4096
26afaa63
UD
4097 * stdlib/random_r.c (__setstate_r): Allow call with same state
4098 array as currently used (PR libc/774).
4099
6c79e60c
UD
4100 * include/limits.h: Include gcc's header even if this file is
4101 found more than once before it (PR libc/778)
4102
ec04e9ba
UD
4103 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
4104 (sysdep_headers): Remove sys/debugreg.h.
4105 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
4106 (sysdep_headers): Add sys/debugreg.h.
39382b8b
UD
4107 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
4108 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
4109
2c86b2bc
UD
4110 * stdio-common/tmpnam.c: Move local static variable buf to
4111 toplevel and rename to tmpnam_buffer to ease debugging.
4112 Patch by Joe Keane <jgk@jgk.org>.
4113 Optimize s == NULL case a bit.
4114
8e9f53fc
UD
4115 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
4116 correction.
4117
482a3be2
UD
41181998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
4119
4120 * resolv/res_init.c (res_init): Initialize _res.nscount and
4121 _res.nsaddr.sin_port differently for the can when no loopback
4122 is available to allow immediate timeout in non-networking environments.
4123 Patch by Cristian Gafton <gafton@redhat.com>.
4124
e8238963
UD
41251998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4126
4127 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
4128 BAR and not EM DASH.
4129 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
4130 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
4131 Fixes PR libc/717.
4132
90865aa8
UD
41331998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
4134
4135 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
4136 for test.
4137 * timezone/tst-timezone.c (tests): Fix typo in last patch.
4138
4139 * time/tzfile.c (__tzfile_read): Handle case when there are no
4140 transitions. Set __timezone based on computed offset.
4141 * time/tzset.c (tzset_internal): Set __timezone before returning.
4142
4143 * time/tzset.c (tzset_internal): Optimize handling of local string
4144 copy.
4145
41461998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4147
4148 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
4149 libc/776).
4150
adac8450
UD
41511998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4152
4153 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
4154 (csqrt_test): Likewise.
90865aa8 4155 * sysdeps/powerpc/bits/fenv.h: Add parens.
adac8450 4156
8e140239
UD
41571998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
4158
4159 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
4160 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
4161 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
4162
78acf671
UD
41631998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
4164
4165 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
4166 the special `-1' pointer.
4167
6e4c40ba
UD
41681998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
4169
4170 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
4171 inline.
4172
41731998-09-07 Paul Eggert <eggert@twinsun.com>
4174
4175 * time/mktime.c (__EXTENSIONS__): Define if not defined.
4176 (_REENTRANT): Remove. It has undesirable consequences in
4177 Solaris 2.6 (e.g. it turns off the putc macro). Defining
4178 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
4179 is what we want.
4180 * time/strftime.c: Likewise.
4181
41821998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4183
4184 * elf/dl-error.c: Fix spelling.
4185
41861998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4187
4188 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
4189 * stdio-common/_itoa.c: Likewise.
4190 * stdio-common/printf_fp.c: Likewise.
4191 * stdio-common/vfscanf.c: Likewise.
4192 * wcsmbs/wcstok.c: Likewise.
4193 * sysdeps/generic/glob.c: Likewise.
4194 * posix/getopt.c: Likewise.
4195 * sysdeps/posix/getaddrinfo.c: Likewise.
4196 * posix/wordexp.c: Likewise.
4197 * io/ftw.c: Likewise.
4198 * io/fts.c: Likewise.
4199 * misc/getpass.c: Likewise.
4200 * iconv/gconv_conf.c: Likewise.
4201 * argp/argp-fmtstream.c: Likewise.
4202 * argp/argp-help.c: Likewise.
4203 * elf/dl-load.c: Likewise.
4204 * locale/programs/stringtrans.c: Likewise.
4205 * catgets/gencat.c: Likewise.
4206 * posix/getconf.c: Likewise.
4207 * iconv/gconv_conf.c: Likewise.
4208 * iconv/iconv_prog.c: Likewise.
4209
4210 * string/strcoll.c: Optimize a few expressions.
4211 * string/strxfrm.c: Likewise.
4212
42131998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4214
4215 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
4216 level to avoid uninit variable warning.
4217
42181998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2aa236b1 4219
769ca810 4220 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
6e4c40ba 4221 instead of _dl_default_scope[2] as argument to _dl_init_next.
769ca810 4222
2aa236b1
AS
4223 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
4224 C9x macro.
4225
8ea4a95a
UD
42261998-09-08 Ulrich Drepper <drepper@cygnus.com>
4227
6e4c40ba 4228 Fix compatibility problems introduced in last change.
dc27836e
UD
4229 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
4230 defined.
4231 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
4232 -DWEAK_GMON_START to CFLAGS-initfini.s.
4233
e4d50917
UD
4234 * elf/dl-object.c (_dl_new_object): Store map address in
4235 _dl_loaded if _dl_loaded is NULL.
87c812c2 4236 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
e4d50917 4237
8ea4a95a
UD
4238 * sysdeps/generic/setrlimit64.c: Remove stub warning.
4239
88c91118
UD
42401998-09-07 Ulrich Drepper <drepper@cygnus.com>
4241
4242 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
4243 quiet.
2c874db2
UD
4244 * db2/btree/bt_cursor.c: Likewise.
4245 * db2/common/db_region.db_c: Likewise.
4246 * db2/common/db_salloc.db_c: Likewise.
4247 * db2/db/db.c: Likewise.
4248 * db2/db/db_rec.c: Likewise.
4249 * db2/hash/hash.c: Likewise.
4250 * db2/hash/hash_page.c: Likewise.
4251 * db2/hash/hash_rec.c: Likewise.
4252 * db2/log/log_findckp.c: Likewise.
4253 * db2/log/log_get.c: Likewise.
4254 * db2/log/log_put.c: Likewise.
4255 * db2/mp/mp_fget.c: Likewise.
4256 * db2/mp/mp_fput.c: Likewise.
4257 * db2/mp/mp_region.c: Likewise.
cf9f9a16
UD
4258 * stdlib/strtol.c: Likewise.
4259 * string/strcoll.c: Likewise.
4260 * string/strxfrm.c: Likewise.
94b78bb2
UD
4261 * argp/argp-help.c: Likewise.
4262 * argp/argp-parse.c: Likewise.
3121cc04 4263 * resolv/res_debug.c: Likewise.
88c91118 4264
26644e87
UD
42651998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
4266
4267 * math/tgmath.h (scalb): Only define for __USE_MISC or
4268 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
4269
2b33e5b0
UD
42701998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4271
4272 * libio/stdio.h: Fix comment.
4273
4274 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
4275 __USE_ISOC9X.
4276
6796bc80
UD
42771998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
4278
4279 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
4280
4281 * elf/dl-open.c: Quiet -Wparentheses warnings.
4282 * iconvdata/johab.c: Likewise.
4283 * iconvdata/uhc.c: Likewise.
4284 * inet/inet_net.c: Likewise.
4285 * io/fts.c: Likewise.
4286 * locale/newlocale.c: Likewise.
4287 * misc/getttyent.c: Likewise.
4288 * misc/mntent_r.c: Likewise.
4289 * misc/ttyslot.c: Likewise.
4290 * nscd/nscd_conf.c: Likewise.
4291 * nss/nsswitch.c: Likewise.
4292 * resolv/gethnamaddr.c: Likewise.
4293 * resolv/nsap_addr.c: Likewise.
4294 * resolv/res_debug.c: Likewise.
4295 * stdio-common/_itoa.c: Likewise.
4296 * stdlib/strtod.c: Likewise.
4297 * string/strverscmp.c: Likewise.
4298 * sunrpc/svc.c: Likewise.
4299 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
4300 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
4301 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
4302 * sysdeps/posix/getaddrinfo.c: Likewise.
4303
baa3334a
UD
43041998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
4305
4306 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
4307 for use of global scope.
4308 * elf/dlvsym.c (dlvsym_doit): Likewise.
4309
43101998-09-02 Paul Eggert <eggert@twinsun.com>
4311
4312 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
4313 copy the redundant bytes at the end of the format as-is; don't
4314 just copy their first byte and then rescan, as that might get
4315 us an encoding error.
4316 Account correctly for the length of multibyte sequences in the
4317 format.
4318
43191998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
4320
4321 * posix/wordexp-test.c: Add tests for different IFS values.
4322 Change unquoted-newline test so that newline is not in IFS.
4323
4324 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
4325 determining IFS characters. Return WRDE_BADCHAR for unquoted
4326 special characters _except_ if they are separators.
4327
43281998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
4329
4330 * include/tgmath.h: New file.
4331
4332 * libio/stdio.h: Correct reversed #ifs.
4333 Patch by Zack Weinberg.
4334
4335 * manual/creature.texi: Better explain reason for feature select
4336 macros.
4337 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
4338
43391998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
4340
4341 * include/alloca.h: Add multiple-inclusion guard.
4342 * include/db.h: Likewise.
4343 * include/db_185.h: Likewise.
6796bc80 4344 * include/dlfcn.h: Likewise.
baa3334a
UD
4345 * include/fcntl.h: Likewise.
4346 * include/grp.h: Likewise.
4347 * include/libintl.h: Likewise.
4348 * include/mntent.h: Likewise.
4349 * include/pwd.h: Likewise.
4350 * include/sched.h: Likewise.
4351 * include/search.h: Likewise.
4352 * include/setjmp.h: Likewise.
4353 * include/shadow.h: Likewise.
4354 * include/signal.h: Likewise.
4355 * include/stdio.h: Likewise.
4356 * include/stdlib.h: Likewise.
4357 * include/string.h: Likewise.
4358 * include/termios.h: Likewise.
4359 * include/time.h: Likewise.
4360 * include/ulimit.h: Likewise.
4361 * include/utmp.h: Likewise.
4362 * include/wchar.h: Likewise.
4363 * include/sys/file.h: Likewise.
4364 * include/sys/gmon.h: Likewise.
4365 * include/sys/ioctl.h: Likewise.
4366 * include/sys/mman.h: Likewise.
4367 * include/sys/resource.h: Likewise.
4368 * include/sys/select.h: Likewise.
4369 * include/sys/socket.h: Likewise.
4370 * include/sys/statfs.h: Likewise.
4371 * include/sys/time.h: Likewise.
4372 * include/sys/times.h: Likewise.
4373 * include/sys/wait.h: Likewise.
4374
be935610
UD
43751998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
4376
4377 * version.h (VERSION): Bump to 2.0.96.
4378
4379 Rewrite runtime linker to be truly thread-safe. There is now no
4380 global variable specifying the scope. We create all needed
4381 scopes at the time the link maps are created.
4382 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
4383 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
4384 l_symbolic_searchlist, l_scope, and l_local_scope elements in
4385 struct link_map.
4386 * elf/dl-close.c: Rewritten accordingly.
4387 * elf/dl-deps.c: Likewise.
4388 * elf/dl-error.c: Likewise.
4389 * elf/dl-init.c: Likewise.
4390 * elf/dl-load.c: Likewise.
4391 * elf/dl-lookup.c: Likewise.
4392 * elf/dl-object.c: Likewise.
4393 * elf/dl-open.c: Likewise.
4394 * elf/dl-reloc.c: Likewise.
4395 * elf/dl-runtime.c: Likewise.
4396 * elf/dl-support.c: Likewise.
4397 * elf/dl-symbol.c: Likewise.
4398 * elf/dl-version.c: Likewise.
be935610
UD
4399 * elf/dlsym.c: Likewise.
4400 * elf/dlvsym.c: Likewise.
4401 * elf/ldsodefs.h: Likewise.
4402 * elf/rtld.c: Likewise.
4403 * iconv/gconv_dl.c: Likewise.
4404 * nss/nsswitch.c: Likewise.
4405 * sysdeps/i386/dl-machine.h: Likewise.
4406 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
4407
6796bc80
UD
4408 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
4409 Define RTLD_DEFAULT.
4410
2b4083dd
RM
44111998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
4412
4413 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
4414 __getopt_clean_environment with __environ instead of envp.
4415
a361203e
RM
44161998-09-05 Roland McGrath <roland@baalperazim.frob.com>
4417
2b4083dd
RM
4418 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
4419
531e4bca
RM
4420 * string/argz-extract.c (__argz_extract): Add de-consting cast for
4421 setting results.
4422
62ee0979 4423 * string/argz.h (argz_next): Add de-consting cast for return.
531e4bca 4424 * string/argz-next.c (__argz_next): Likewise.
62ee0979 4425
59cacc81
RM
4426 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
4427 Don't add netinet/udp.h, netinet/ip_icmp.h here.
4428 * sysdeps/gnu/Makefile: Do it here instead.
4429 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
4430 * sysdeps/gnu/Dist: ... to here.
4431
a361203e
RM
4432 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
4433 sysdeps/unix/sysv/linux/netinet/tcp.h,
4434 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
4435
29659dd2
RM
44361998-09-04 Roland McGrath <roland@baalperazim.frob.com>
4437
4438 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
4439 * string/argz-next.c, string/argz-extract.c: Fix defns.
4440
1097c603
RM
44411998-09-03 Roland McGrath <roland@baalperazim.frob.com>
4442
4443 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
4444
4445 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
4446 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
4447 * sysdeps/generic/sysd-stdio.c: Likewise.
4448
143e2b96
UD
44491998-09-02 Ulrich Drepper <drepper@cygnus.com>
4450
4451 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
4452 (_dl_map_object_from_fd): Make NAME argument const.
4453 Remove last parameter in _dl_new_object call.
4454 (print_search_path): Correct construction of composed path name.
4455 (_dl_map_object): Prevent looking at RPATH of the main map twice.
4456 Remove last parameter in _dl_new_object call.
4457 * elf/dl-object.c: Remove last parameter. Determine whether create
4458 origin entry based on empty realname. Handle file in root directory
4459 correctly.
4460 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
4461 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
4462 Remove last parameter in _dl_new_object call.
4463 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
4464 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
4465
fc3597c0
UD
44661998-09-01 Ulrich Drepper <drepper@cygnus.com>
4467
4ce636da
UD
4468 * elf/dl-close.c (_dl_close): Add more comments and correct some.
4469 Free l_searchlist and l_dupsearchlist.
4470
fc3597c0
UD
4471 * debug/catchsegv.sh: Add one more pair of quotes.
4472
76156ea1
UD
44731998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
4474
4475 * elf/dl-load.c (add_name_to_object): Change return type to void and
4476 make NAME parameter const. Allocate room for NAME in same memory
4477 block used for l_libname entry.
4478 (_dl_map_object_from_fd): Don't free NAME on failure.
4479 (map_segment): Pass SONAME to add_name_to_object, not a copy.
4480 (_dl_map_object): Don't create copy of NAME. Pass NAME to
4481 _dl_map_object_from_fd.
4482 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
4483 memory block used for l_libname entry.
4484 * elf/dl-close.c: Adjust free()ing for this change.
4485
a8a1269d
UD
44861998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
4487
4488 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
4489
4490 * malloc/mtrace.c: Add bug report address. Update email address.
4491 Add more @XXX@ to print correct address size.
4492
4493 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
4494 really initialized.
4495
4496 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
4497 for munmap call instead of examining phdr again.
4498 Free all malloc()ed strings and arrays.
4499
052b6a6c
UD
45001998-08-09 Geoff Keating <geoffk@ozemail.com.au>
4501
4502 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
4503 dl-machine.h.
4504 * sysdeps/powerpc/dl-machine.c: New file.
4505 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
4506 files. Revise ELF_PREFERRED_ADDRESS to take account of
4507 the new mapping information (fixes bug involving huge bloated
4508 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
4509 * sysdeps/powerpc/dl-start.S: New file.
4510
4511 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
4512 l_map_end.
4513 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
4514 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
4515 others. Call elf_dynamic_do_##reloc only once (to save even more
4516 space).
4517 * elf/link.h: Add new members l_map_start and l_map_end to keep
4518 track of the memory map.
4519 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
4520 the executable.
4521
45221998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
4523
4524 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
4525 Reported by Andreas Jaeger.
4526
4527 * posix/glob.h: Use __size_t instead of size_t in definitions and
4528 make sure this is defined.
4529
85c165be
UD
45301998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
4531
052b6a6c 4532 * manual/locale.texi: Almost complete rewrite. Document more functions
85c165be
UD
4533 and functionality.
4534 * manual/arith.texi: Correct reference.
4535 * manual/string.texi: Pretty printing.
4536
4537 * manual/texinfo.tex: Update from last available version.
4538
45391998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
4540
4541 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
4542 invalid password.
4543 (_nss_nis_getpwuid_r): Likewise.
4544 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
4545
4546 * inet/rcmd.c: Implement netgroup support.
4547 Patch by Dick Streefland <dick_streefland@tasking.com>.
4548
7afab53d
UD
45491998-08-31 Ulrich Drepper <drepper@cygnus.com>
4550
4551 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
4552 object on the list is removed. Don't use this code for PIC.
4553 Reported by HJ Lu [PR libc/770].
4554
bfce746a
UD
45551998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
4556
4557 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
4558
4559 * include/stdio.h: Add __vsscanf.
4560
4561 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
4562 __USE_ISOC9X.
4563 Remove __vsscanf declaration.
4564 Always declare fgetpos and fsetpos.
4565
4566 * math/math.h: Define isinf as macro.
4567 * math/bits/mathcalls.h: Change to declare __isinf all the time.
4568 Don't declare scalb for ISO C 9x.
4569
4570 * math/tgmath.h: Define fma. Rewrite the underlying macros.
4571
4572 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
4573
4574 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
4575 sys/ucontext.h.
4576
4577 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
4578 macros.
4579
45801998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4581
4582 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
4583 Reported by jreising@frequentis.com [PR libc/767].
4584
45851998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4586
4587 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
4588 fl.l_start at beginning of function.
4589 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
4590
ac72fbb1
UD
45911998-08-31 Ulrich Drepper <drepper@cygnus.com>
4592
4593 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
4594 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
4595
4596 * nscd/nscd.init: Make it work in RedHat systems.
4597 Patch by Christian Gafton.
4598
45991998-08-29 Philip Blundell <philb@gnu.org>
4600
4601 * catgets/Makefile: Don't try to run test programs when
4602 cross-compiling.
4603
46041998-08-31 Ulrich Drepper <drepper@cygnus.com>
4605
4606 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
4607 Reported by Zack Weinberg.
4608
46091998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4610
4611 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
4612 * elf/Makefile (distribute): Remove ldd.sh.in.
4613
46141998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4615
4616 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
4617 variable.
4618
e0d46614
UD
46191998-08-29 Ulrich Drepper <drepper@cygnus.com>
4620
4621 * sysdeps/i386/register-dump.h: Move to ...
4622 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
4623
b0cf070b
UD
46241998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
4625
4626 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
4627 with load address, not map address.
4628 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
4629 parameter and use this value.
4630 * sysdeps/arm/dl-machine.h: Likewise.
4631 * sysdeps/i386/dl-machine.h: Likewise.
4632 * sysdeps/m68k/dl-machine.h: Likewise.
4633 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
4634 parameter.
4635 * sysdeps/powerpc/dl-machine.h: Likewise
4636 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
4637 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
4638
997a4165
UD
46391998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
4640
4641 * elf/rtld.c (process_envvars): Fix copy&paste error.
4642
4643 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
4644 memalign hook.
4645 (realloc_hook_ini): Don't overwrite memalign hook.
4646 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
4647 Reported by Philippe Troin <phil@fifi.org>.
4648
4649 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
4650 Patch by Philippe Troin <phil@fifi.org>.
4651
46521998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4653
4654 * sysdeps/generic/segfault.c (install_handler): Protect the
4655 non-POSIX signals with #ifdef.
4656 (catch_segfault): Add missing mode parameter for open.
4657 * debug/catchsegv.sh: Avoid termination message from shell. Allow
4658 other termination signals.
4659
46601998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4661
4662 * debug/Makefile (distribute): Add register-dump.h.
4663
46641998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4226897d
AS
4665
4666 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
4667
f787edde
UD
46681998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
4669
4670 * elf/Makefile (distribute): Add dl-origin.h.
4671 * sysdeps/generic/dl-origin.h: New file.
4672 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
4673 * elf/link.h (struct link_map): Add l_origin field.
4674 * elf/dl-load.c (expand_dynamic_string_token): New function.
4675 (decompose_path): Remove WHERE argument, take link map pointer instead.
4676 Call expand_dynamic_string_token instead of local_strdup to make copy
4677 of rpath.
4678 (_dl_init_paths): Call decompose_path with correct argument.
4679 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
4680 not defined.
4681 Check EI_OSABI and EI_ABIVERSION fields in header.
5f623941 4682 Call _dl_new_object with extra argument.
f787edde
UD
4683 (_dl_map_object): Call decompose_path with correct argument.
4684 Call expand_dynamic_string_token instead of local_strdup to also
4685 expand DST.
5f623941 4686 Call _dl_new_object with extra argument.
f787edde 4687 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
5f623941
UD
4688 but the main one if new argument is nonzero.
4689 * elf/ldsodefs.h: Adjust for _dl_new_object change.
f787edde
UD
4690 * elf/dl-support.c: Define _dl_origin_path.
4691 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
5f623941 4692 (dl_main): Call _dl_new_object with extra argument.
f787edde
UD
4693
4694 * elf/dl-close (_dl_close): Free l_name and l_origin.
4695
4696 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
4697 modifier in asm, not c.
4698
4699 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
4700 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
4701
6075607b
UD
47021998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
4703
4704 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
4705 variable so that map can be freed.
4706 Reported by Philippe Troin <phil@fifi.org>.
4707
4708 * elf/dl-open.c (dl_open_worker): Correct test for extending global
4709 scope array.
4710 Patch by Philippe Troin <phil@fifi.org>.
4711
47121998-08-26 Geoff Keating <geoffk@ozemail.com.au>
4713
4714 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
4715 Don't call writev() with a 100-element vector.
4716 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
4717 return address.
4718
4719 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
4720 In particular, set __libc_stack_end.
4721 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
4722 undefined. Fix copyright notice.
4723
47241998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4725
4726 * math/Makefile (gmp-objs): New variable.
4727 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
4728 Depend on it.
4729 (tests): Add atest-exp atest-sincos atest-exp2.
4730 (tests-static): Remove atest-exp atest-sincos atest-exp2.
4731
08cac4ac
UD
47321998-08-25 Ulrich Drepper <drepper@cygnus.com>
4733
4734 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
4735 to toplevel.
4736 (_dl_unload_cache): New function.
4737 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
4738 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
6075607b 4739 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
08cac4ac
UD
4740
4741 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
4742 Correct comment for O_LARGEFILE.
4743 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
4744 Change O_LARGEFILE to correct value.
4745
47461998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
4747
4748 * libio/iogetline.c (_IO_getline_info): Don't read anything for
4749 N == 0. Patch by HJ Lu.
4750
6dbb7062
UD
47511998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
4752
4753 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
4754
47551998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
4756
4757 * argp/argp.h: Use __inline__ not inline.
4758
4759 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
4760 an input register as being clobbered.
4761 * sysdeps/i386/memset.c (memset): Likewise.
4762 * sysdeps/i386/bzero.c (__bzero): Likewise.
4763 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
4764
47651998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4766
4767 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
4768 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
4769
ed1ac6a2
UD
47701998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
4771
4772 * debug/catchsegv.sh: Handle text preceding backtrace better.
4773 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
4774 to be installed for other signals than SIGSEGV.
4775 * sysdeps/generic/register-dump.h: New file.
4776 * sysdeps/i386/register-dump.h: New file.
4777 * sysdeps/powerpc/register-dump.h: New file.
4778
4779 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
4780 sigcontextinfo.h.
4781 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
4782
47831998-08-24 Geoff Keating <geoffk@ozemail.com.au>
4784
4785 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
4786
47871998-08-09 Geoff Keating <geoffk@ozemail.com.au>
4788
4789 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
4790 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
4791 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
4792 getresuid, getresgid.
4793
47941998-08-16 Geoff Keating <geoffk@ozemail.com.au>
4795
4796 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
4797 pointer in userland.
4798
47991998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4800
4801 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
4802 and fix value.
4803
48041998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4805
4806 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
4807 over arguments Bourne shell compatible. Don't exit unsuccessfully
4808 if nonelf returns successfully. Avoid duplicating most of the
4809 script.
4810 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
4811 around $file.
4812
48131998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
99475e65
AS
4814
4815 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
4816 sys/reg.h.
4817 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
4818 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
4819
b259e746
UD
48201998-08-23 Ulrich Drepper <drepper@cygnus.com>
4821
4822 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
4823 __modify_ldt and modify_ldt.
4824 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
4825
4826 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4827 Use orl $-1 instead of movl $-1 to save two bytes.
4828 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
4829 Likewise.
4830
48311998-08-17 H.J. Lu <hjl@gnu.org>
ed1ac6a2
UD
4832
4833 * libio/Versions (_IO_do_write, _IO_file_attach,
4834 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4835 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4836 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4837 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
4838
4839 * libio/fileops.c (_IO_do_write, _IO_file_attach,
4840 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4841 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4842 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4843 _IO_file_write, _IO_file_xsputn): Change the prefix to
4844 "_IO_new_". Added to GLIBC_2.1.
4845
4846 * libio/libioP.h (_IO_do_write, _IO_file_attach,
4847 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4848 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4849 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4850 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
4851 "_IO_new_".
4852
4853 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
4854 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4855 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4856 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4857 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
4858
b259e746
UD
48591998-08-23 Richard Henderson <rth@cygnus.com>
4860
4861 * Makeconfig (LDFLAGS): Remove.
4862
ed1ac6a2 4863 * csu/initfini.c: Return to .text before __gmon_start__.
b259e746 4864
ed1ac6a2
UD
4865 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
4866 (STO_MIPS_*): Rename from STO_*.
4867 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
4868 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
b259e746 4869
ed1ac6a2
UD
4870 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
4871 (main): e3s is negative on zero.
4872 * math/atest-exp2.c: Likewise.
b259e746
UD
4873 * math/atest-sincos.c: Likewise.
4874
ed1ac6a2
UD
48751998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4876
4877 * Makerules (install): Add comment about absolute paths.
4878
b259e746
UD
48791998-08-23 Ulrich Drepper <drepper@cygnus.com>
4880
4881 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
4882 array to NUL to handle maxlen==1 case correctly.
4883 Patch by HJ Lu.
4884
48851998-08-23 Richard Henderson <rth@cygnus.com>
7d84a067
RH
4886
4887 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
4888 * sysdeps/alpha/elf/crtend.S: Likewise.
4889 * sysdeps/alpha/elf/start.S: Likewise.
4890
4891 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
4892 non-standard pv usage.
4893
4894 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
4895 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
4896 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
4897 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
4898 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
4899 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
4900 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
4901 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
4902 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
4903 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
4904 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
4905
4906 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
4907 a finite non-denormal, deferring to the full IEEE version otherwise.
4908
4909 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
4910 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
4911 * sysdeps/alpha/fpu/s_floor.c: New.
4912 * sysdeps/alpha/fpu/s_floorf.c: New.
4913 * sysdeps/alpha/fpu/s_ceil.c: New.
4914 * sysdeps/alpha/fpu/s_ceilf.c: New.
4915
e86e2df1
UD
49161998-08-22 Philip Blundell <philb@gnu.org>
4917
4918 * sysdeps/arm/bits/string.h: New file.
4919
14a44a69
UD
49201998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4921
4922 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
4923 document it.
4924
4925 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
4926 test for recent Linux 2.1.100+ headers.
4927
e36b0b57
UD
49281998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4929
4930 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
4931
5148d49f
UD
49321998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
4933
4934 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
4935
49361998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4937
4938 * Makefile (elf/ldso_install): Put back. The problem still persists.
4939 * elf/Makefile (ldso_install): Likewise.
4940
49411998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4942
4943 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
4944 create weak alias.
4945 * include/db.h: Declare __nss_db_open.
4946 * db2/Versions: Export it.
4947
4948 * db2/makedb.c: Convert to use db2 API.
4949 * nss/nss_db/db-XXX.c: Likewise.
4950 * nss/nss_db/db-netgrp.c: Likewise.
4951 * nss/nss_db/db-alias.c: Likewise.
4952 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
4953
49541998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4955
4956 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4957 sys_setresuid, already built automatically (or not).
4958 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
4959 instead of __syscall_setresuid and add back setresuid.
4960 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
4961 __syscall_setresuid.
4962
49631998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4964
4965 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
4966
1ddf537f
UD
49671998-08-20 Ulrich Drepper <drepper@cygnus.com>
4968
4969 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
4970 BASH-ONLY marked region.
4971 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
4972
49731998-02-20 17:54 H.J. Lu <hjl@gnu.org>
4974
4975 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
4976 _IO_SYSSEEK fails.
4977
4978 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
4979
4df28840 4980 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1ddf537f
UD
4981 element.
4982
8e48355c
RM
49831998-08-21 Roland McGrath <roland@baalperazim.frob.com>
4984
4985 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
4986 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
4987 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
4988 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
4989 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
4990 those magic comments, and to use /bin/sh for @BASH@.
4991 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
4992 * elf/ldd.sh.in: File removed.
4993
d762684b
UD
49941998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
4995
4996 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
4997 cast them to unsigned long int.
4998 * pwd/putpwent.c (putpwent): Likewise.
4999 Patch by John Tobey <jtobey@banta-im.com>.
5000
50011998-08-20 17:14 H.J. Lu <hjl@gnu.org>
5002
5003 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
5004 _IO_pos_BAD.
5005
50061998-02-20 17:54 H.J. Lu <hjl@gnu.org>
5007
5008 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
5009 _IO_SYSSEEK fails.
5010
7934cc16
UD
50111998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
5012
5013 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
5014 Add umount and umount2.
5015 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
5016 * sysdeps/unix/sysv/linux/umount.S: New file.
5017 * sysdeps/unix/sysv/linux/umount2.S: New file.
5018 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
5019 Define MNT_FORCE.
5020
d762684b
UD
5021 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
5022 Add sys/sendfile.h.
5023 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
5024 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
5025
5026 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
5027
5028 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
5029 sendfile.
5030
df777c40
UD
50311998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
5032
5033 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
5034 * elf/ldd.bash.in: Likewise.
5035
5036 * elf/sln.c: Avoid warning for no main prototype.
5037
5038 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
5039 O_WRITE.
5040 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
5041 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5042
5043 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
5044 F_GETSIG.
5045 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
5046 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
5047 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5048
50491998-08-20 Philip Blundell <pb@nexus.co.uk>
5050
5051 * sysdeps/arm/fpu/ieee754.h: Move to...
5052 * sysdeps/arm/ieee754.h: ... here.
5053
5054 * sysdeps/arm/__longjmp.S: Put return value in correct register.
5055 Don't set the condition flags unnecessarily.
5056 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
5057 registers correctly.
5058
5059 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
5060 (patch from Scott Bambrough).
5061
5062 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
5063
5064 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
5065 NULL, just call it unconditionally.
5066 (__gmon_start__): Provide stub version as a weak symbol.
5067
50681998-07-30 Philip Blundell <philb@gnu.org>
5069
5070 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
5071 by Scott Bambrough)
5072
5073 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
5074 like `@' in .type directives.
5075
5076 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
5077 * sysdeps/arm/bsd-_setjmp.S: Likewise.
5078
5079 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
5080
50811998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5082
5083 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
5084 (F_GETOWN): Likewise.
5085
5086 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
5087 Linux 2.1.117).
5088
50891998-08-20 Ulrich Drepper <drepper@cygnus.com>
5090
5091 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
5092 already defined.
5093
0c6cee5d
UD
50941998-08-18 Ulrich Drepper <drepper@cygnus.com>
5095
5096 * include/features.h: Define __USE_EXTERN_INLINES for recent
5097 enough gcc.
5098 * argp/argp.h: Define extern inline functions only if
5099 __USE_EXTERN_INLINES is defined.
5100 * libio/stdio.h: Likewise.
5101 * math/math.h: Likewise.
5102 * stdlib/stdlib.h: Likewise.
5103 * string/argz.h: Likewise.
5104 * sysdeps/generic/bits/sigset.h: Likewise.
5105 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5106 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
5107 * sysdeps/wordsize-32/inttypes.h: Likewise.
5108 * sysdeps/wordsize-64/inttypes.h: Likewise.
5109 * wcsmbs/wchar.h: Likewise.
5110
5111 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
5112 to allow compilation without optimization.
5113
df777c40
UD
51141998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5115
5116 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
5117 more entries.
5118 * nis/nss_compat/compat-initgroups.c: Likewise.
5119 * nis/nss_compat/compat-pwd.c: Likewise.
5120 * nis/nss_compat/compat-spwd.c: Likewise.
5121 * nis/nss_nis/nis-alias.c: Likewise.
5122 * nis/nss_nis/nis-ethers.c: Likewise.
5123 * nis/nss_nis/nis-grp.c: Likewise.
5124 * nis/nss_nis/nis-hosts.c: Likewise.
5125 * nis/nss_nis/nis-initgroups.c: Likewise.
5126 * nis/nss_nis/nis-network.c: Likewise.
5127 * nis/nss_nis/nis-proto.c: Likewise.
5128 * nis/nss_nis/nis-pwd.c: Likewise.
5129 * nis/nss_nis/nis-rpc.c: Likewise.
5130 * nis/nss_nis/nis-service.c: Likewise.
5131 * nis/nss_nis/nis-spwd.c: Likewise.
5132
5133 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
5134
5135 * nis/ypclnt.c: Try binding dir only first time, could be to old.
5136
5137 * nis/yp_xdr.c: Remove 1024 byte limit.
5138 * nis/ypupdate_xdr.c: Likewise.
5139
5140 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
5141 wrong data.
5142
c82e6116
RM
51431998-08-18 Roland McGrath <roland@baalperazim.frob.com>
5144
5145 * Rules (binaries-static, binaries-shared static pattern rules):
5146 Depend on lib%, not just libc%, from $(link-libc{,-static}).
5147
5148 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
5149 this here, overriding Makeconfig generic value so we link against
5150 the RPC libs.
5151
364ff81f
UD
51521998-08-17 Ulrich Drepper <drepper@cygnus.com>
5153
5154 * posix/tstgetopt.c (options): Add NULL entry at end
5155 Patch by Adrian Miranda <ade@psg.com>.
5156
5d7de7aa
UD
51571998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
5158
5159 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
5160 to 9.
5161
d610a544
UD
51621998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
5163
5164 * elf/elf.h: Add PPC Diab relocations.
5165
5166 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
5167
409dfcea
UD
51681998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
5169
5170 * manual/texinfo.tex: Update.
5171
51721998-08-07 Geoff Keating <geoffk@ozemail.com.au>
5173
5174 * sysdeps/powerpc/backtrace.c: New file.
5175
51761998-08-14 Philip Blundell <pb@nexus.co.uk>
5177
5178 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
5179 sigjmp_save.
5180 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
5181
51821998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5183
5184 * Makefile (install-symbolic-link): Fix spelling.
5185
51861998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5187
5188 * elf/elf.h (SHT_HIOS): Fix value.
5189
51901998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5191
5192 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
5193 part of the expansion, this is undefined by the standard.
5194
9d141cae
UD
51951998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
5196
5197 * posix/getconf.c: Add support for systems with incomplete confname.h.
5198
5199 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
5200
5201 * sysdeps/posix/wait3.c: Make it work.
5202
52031998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5204
5205 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
5206 (elf/ldso_install): Remove.
5207
5208 * elf/Makefile (distribute): Add sln.c.
5209 (others): Add sln.
5210 (others-static): Add sln.
5211 (install-rootsbin): Add sln.
5212 (others-static): Add sln.
5213 (ldso_install): Remove.
5214
52151998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5216
5217 * Makerules (install-clean-symbolic-link-list): Make phony.
5218 * Makefile (install-symbolic-link): Make phony. Depend on
5219 subdir_install for parallel makes.
5220
5221
52221998-07-22 Ulrich Drepper <drepper@cygnus.com>
5223
5224 * elf/Makefile (distribute): Add sln.c
5225
52261998-07-21 07:10 H.J. Lu <hjl@gnu.org>
5227
5228 * elf/sln.c: New file.
5229
5230 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
5231 (install-clean-symbolic-link-list): New target.
5232 (install): Depend on install-clean-symbolic-link-list.
5233 (make-shlib-link): Changed for $(symbolic-link-list).
5234
5235 * Makefile (install-symbolic-link): New target.
5236 (install): Depend on install-symbolic-link.
5237
1f539fd1
UD
52381998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
5239
5240 * include/unistd.h: Protect against multiple inclusion.
5241
5242 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
5243 is defined, not is glob is defined.
5244 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
5245
52461998-08-01 17:18 H.J. Lu <hjl@gnu.org>
5247
5248 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
5249 xdr_string for ut_line, ut_name and ut_host.
5250
52511998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5252
5253 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
5254 /var/mail in accordance with FHS 2.0.
5255 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
5256
52571998-08-12 Richard Henderson <rth@cygnus.com>
5258
5259 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
5260 Update aliases for cancelation.
5261
5262 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
5263 playing with symbol versions.
5264
259d930a
RM
52651998-08-12 Roland McGrath <roland@baalperazim.frob.com>
5266
5267 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
5268 multiple inclusion protection.
5269 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
5270 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
5271 define all these to 1.
5272 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
5273
d6765f1d
RM
52741998-08-12 Roland McGrath <roland@baalperazim.frob.com>
5275
5276 * sysdeps/mach/usleep.c: Include <unistd.h>.
5277 (usleep): Return void.
5278
52791998-08-11 Roland McGrath <roland@baalperazim.frob.com>
5280
5281 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
5282 decl to inhibit warning in if_freenameindex defn.
5283
5284 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
5285
5286 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
5287
5288 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
5289 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
5290 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
5291 * sysdeps/mach/usleep.c: Likewise.
5292
5293 * sysdeps/mach/hurd/bind.c (bind): Add a const.
5294
5295 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
5296 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
5297 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
5298 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
5299 * sysdeps/mach/usleep.c (usleep): Likewise.
5300 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5301 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5302 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
5303 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
5304
53051998-08-11 Roland McGrath <roland@baalperazim.frob.com>
5306
5307 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
5308 (glob64): Fix typo.
5309
5310 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
5311 %p arg to fprintf, since `void *' is the right type already.
5312
b5876a19
RM
53131998-07-25 19:47 Jose M. Moya <josem@gnu.org>
5314
5315 * sysdeps/mach/hurd/getcwd.c
1f539fd1
UD
5316 (_hurd_canonicalize_directory_name_internal): Do not loop forever
5317 for unknown root directories.
b5876a19 5318 (__getcwd): Return NULL when the current root directory could not
1f539fd1 5319 be reached.
b5876a19 5320
f81d98d6 53211998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
a2bde807 5322
f81d98d6 5323 * string/strsignal.c (strsignal): Count real-time signals from zero.
a2bde807 5324
a5f4e34a 5325
f81d98d6 5326See ChangeLog.8 for earlier changes.