]> sourceware.org Git - glibc.git/blame - ChangeLog
Update.
[glibc.git] / ChangeLog
CommitLineData
133d3d30
UD
11998-12-16 Ulrich Drepper <drepper@cygnus.com>
2
3 * version.h (VERSION): Bump to 2.0.107.
4
5 * sysdeps/i386/i486/bits/string.h: Pretty printing.
6
d8a167a5
UD
71998-12-16 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
8
9 * sunrpc/rpc/xdr.h: Revert patch from 1998-12-14, partly revert
10 patch from 1998-12-01.
11
d735bcf4
RM
121998-12-16 Roland McGrath <roland@baalperazim.frob.com>
13
14 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Define this #ifdef
15 __USE_BSD as well as #ifdef __USE_GNU, so MAXSYMLINKS can use it.
16 Reported by UCHIYAMA Yasushi <uch@nop.or.jp>
17
88fd9830
UD
181998-12-16 Ulrich Drepper <drepper@cygnus.com>
19
20 * iconvdata/ibm866.c: New file.
21 * iconvdata/cp1258.c: New file.
22 * iconvdata/cp1258.h: New file.
23 * iconvdata/mac-uk.c: New file.
24 * iconvdata/gconv-modules: Add rules for new modules.
25 * iconvdata/Makefile: Likewise.
26
27 * sysdeps/gnu/bits/ipc.h: Move libc internal bits to...
28 * include/bits/ipc.h: ..here. New file.
29
d735bcf4
RM
301998-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
31
32 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Don't change
33 read-only struct termios_p* but change k_termios member directly.
34
a3fc1f71
UD
351998-12-15 H.J. Lu <hjl@gnu.org>
36
37 * sysdeps/posix/tempname.c (__path_search): Fix the maximum
38 string length.
39
5a7cb1a2
UD
401998-12-15 Ulrich Drepper <drepper@cygnus.com>
41
e9dcb080
UD
42 * sysdeps/unix/sysv/linux/msgctl.c: Use INLINE_SYSCALL.
43 * sysdeps/unix/sysv/linux/msgget.c: Likewise.
44 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
45 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
46 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
47 * sysdeps/unix/sysv/linux/semget.c: Likewise.
48 * sysdeps/unix/sysv/linux/semop.c: Likewise.
49 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
50 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
51 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
52 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
53 * sysdeps/unix/sysv/linux/syscalls.list: Remove ipc syscall here.
54 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add ipc syscall here.
55
56 * time/strftime.c: Remove 'f' format.
57
58 * time/strptime.c (get_number): Ignore trailing whitespace.
59 (strptime_internal): Handle 'F' and 'k' formats.
60
5a7cb1a2
UD
61 * sysdeps/posix/tempname.c (__path_search): Add second part of the
62 patch by Andreas Jaeger.
63
641998-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
65
66 * stdio-common/tst-tmpnam.c (main): Use void as parameter to avoid
67 warnings about unused args. Fix comment.
68
691998-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
70
71 * sysdeps/posix/tempname.c (__path_search): Correct last patch.
72
c870d249
UD
731998-12-14 Ulrich Drepper <drepper@cygnus.com>
74
75 * sunrpc/rpc/xdr.h (IXDR_GET_INT32): Case pointer before reading from
76 it.
77 (IXDR_PUT_INT32): Likewise for writing.
181a8546 78 Patch by Bruce Elliott <bde@nwlink.com>.
c870d249 79
5a7cb1a2
UD
801998-12-08 H.J. Lu <hjl@gnu.org>
81
82 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Don't clear
83 the IBAUD0 bit in c_iflag.
84
85 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear the
86 the IBAUD0 bit in c_iflag.
87
6269e521
UD
881998-12-14 Ulrich Drepper <drepper@cygnus.com>
89
90 * time/Makefile (tests): Add tst-strptime.
91 * time/tst-strptime.c: New file.
92 * time/strptime.c: Correct bugs in weekday and yearday computation.
93
59036602
UD
941998-12-14 Ulrich Drepper <drepper@cygnus.com>
95
c2cfb512
UD
96 * time/strptime.c (strptime_internal): Set tm_wday and tm_yday in
97 any of tm_year, tm_mon, or tm_mday was changed and the value
98 itself wasn't specified.
99
60876a75
UD
100 * include/stdio.h: Add new parameter to __path_search.
101 * libio/oldtmpfile.c: Add 0 as new parameter to __path_search.
102 * stdio-common/tmpfile.c: Likewise.
103 * stdio-common/tmpfile64.c: Likewise.
104 * stdio-common/tmpnam.c: Likewise.
105 * stdio-common/tmpnam_r.c: Likewise.
106 * stdio-common/tempnam.c: Add 1 as new parameter to __path_search.
107 * sysdeps/posix/tempname.c: Add new parameter. If value is nonzero
108 consider TMPDIR environment variable and dir parameter. Otherwise not.
109 * stdio-common/Makefile (tests): Add tst-tmpnam.
110 * stdio-common/tst-tmpnam.c: New file.
111
59036602
UD
112 * po/es.po: Update from translation team.
113
4260bc74 1141998-12-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
59036602 115
4260bc74
UD
116 * timezone/Makefile: Protect inclusion of z.* by avoid-generated
117 and inhibit_timezone_rules instead of no_deps.
118 * Make-dist: Pass inhibit_timezone_rules=t when making
119 echo-distinfo.
59036602 120
4260bc74 1211998-12-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
59036602 122
4260bc74 123 * manual/Makefile (distribute): Remove dir-add.texinfo.
59036602 124
4260bc74
UD
125 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/procfs.h and
126 sys/user.h.
59036602 127
4260bc74 1281998-12-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
59036602 129
4260bc74
UD
130 * manual/Makefile (stamp-summary): Use ^L as separator for
131 sorting.
132 * manual/arith.texi: Add comments before all @deffoox lines to get
133 them added to the summary.
134 * manual/creature.texi: Likewise.
135 * manual/math.texi: Likewise.
59036602 136
4260bc74 1371998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
59036602 138
4260bc74
UD
139 * math/libm-test.c: Remove macro ISINF. Change all usages of
140 ISINF to isinf.
59036602 141
550be6cd
UD
1421998-12-13 Ulrich Drepper <drepper@cygnus.com>
143
144 * sysdeps/posix/tempname.c: Use __xstat instead of __stat.
145 * sysdeps/unix/grantpt.c: Likewise.
146 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
147 * sysvipc/ftok.c: Likewise.
148 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
149
a3f4b50b
UD
150 * stdlib/test-canon.c: Define PATH_MAX if the system does not.
151 * string/stratcliff.c: Use MAP_ANON instead of MAP_ANONYMOUS.
152 Patch by UCHIYAMA Yasushi <uch@nop.or.jp>.
153
4260bc74 1541998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
59036602 155
4260bc74 156 * sysdeps/alpha/fpu/fsetexcptflg.c: Avoid -Wparentheses warning.
59036602 157
4260bc74
UD
158 * sysdeps/libm-ieee754/s_expm1.c (__expm1): Avoid -Wparentheses
159 warning.
160 * sysdeps/libm-ieee754/s_log1p.c (__log1p): Likewise.
161 * sysdeps/libm-ieee754/e_logf.c (__ieee754_logf): Likewise.
162 * sysdeps/libm-ieee754/s_expm1f.c (__expm1f): Likewise.
163 * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Likewise.
164 * sysdeps/libm-ieee754/s_log1pf.c (__log1pf): Likewise.
3bb266e0 165
4260bc74 1661998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
59036602 167
4260bc74
UD
168 * sunrpc/svc_udp.c (svcudp_bufcreate): Declare len as socklen_t.
169 (svcudp_recv): Likewise.
59036602 170
4260bc74 1711998-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
59036602 172
4260bc74
UD
173 * nis/nss-nisplus.h: Change some mappings of NIS+ errors to
174 NSS error codes to avoid endless loops.
59036602 175
70b0abba
UD
1761998-12-13 Ulrich Drepper <drepper@cygnus.com>
177
178 * iconvdata/gconv-modules: Correct aliases for ISO-8859-13 and add
179 aliases for ISO-8859-14.
180
4260bc74 1811998-12-12 Geoff Keating <geoffk@ozemail.com.au>
59036602 182
4260bc74
UD
183 * posix/fnmatch.c (fnmatch): Arguments to FOLD must not have
184 side-effects.
59036602 185
c090aa15
UD
1861998-12-12 Ulrich Drepper <drepper@cygnus.com>
187
188 * iconvdata/iso-8859-11.h: ISO 8859-11 conversion data.
189 * iconvdata/iso-8859-11.c: ISO 8859-11 conversion module.
190 * iconvdata/iso-8859-13.c: Likewise for 8859-13.
191 * iconvdata/iso-8859-14.c: Likewise for 8859-14.
192 * iconvdata/iso-8859-15.c: Likewise for 8859-15.
193 * iconvdata/gconv-modules: Add rules for new modules.
194 * iconvdata/Makefile: Likewise.
195
f98b4bbd
UD
1961998-12-12 Ulrich Drepper <drepper@cygnus.com>
197
198 * stdio-common/printf_fp.c: #ifdef out long double handling code if
199 __NO_LONG_DOUBLE_MATH is defined to avoid warnings.
200 * stdio-common/printf_fphex.c: Likewise.
201 * stdio-common/printf-size.c: Likewise.
202
2031998-12-12 Ulrich Drepper <drepper@cygnus.com>
204
205 * login/Makefile: Install pt_chown using INSTALL_PROGRAM.
206 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
207
bc15f0f8
UD
2081998-12-11 Ulrich Drepper <drepper@cygnus.com>
209
c2a32973
UD
210 * sysdeps/powerpc/dl-machine.h (elf_machine_matches_host): Mark
211 static inline, not extern inline.
212 (elf_machine_dynamic): Likewise.
213 (elf_machine_lazy_rel): Likewise.
214 (elf_machine_plt_value): Likewise.
215 * sysdeps/powerpc/backtrace.c: Include stddef.h to get NULL
216 definition.
f98b4bbd 217 Patchess by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
c2a32973 218
486fa0b7
UD
219 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fixl_addr parameter
220 type. Reported by job bogan <job@piquin.uchicago.edu>.
221
bc15f0f8
UD
222 * sysdeps/unix/opendir.c (__opendir): Use __xstat instead of
223 __stat.
224
724049ba
UD
2251998-12-11 Kunihiro Ishiguro <kunihiro@zebra.org>
226
227 * inet/netinet/in.h: Change obsolete structure member
228 ipv6mr_ifindex to new ipv6mr_interface.
229
981993e1
UD
2301998-12-11 Ulrich Drepper <drepper@cygnus.com>
231
232 * sysdeps/ieee754/dbl2mpn.c: Changed '#include "ieee754.h"' to
233 '#include <ieee754.h>'. ARM port has its own version of 'ieee754.h'
234 due to its big endian floating point format.
235 * sysdeps/ieee754/ldbl2mpn.c: Likewise.
236 * sysdeps/ieee754/mpn2dbl.c: Likewise.
237 * sysdeps/ieee754/mpn2ldbl.c: Likewise.
238 * sysdeps/ieee754/mpn2flt.c: Likewise.
239 Patch by Scott Bambrough <scottb@corelcomputer.com>.
240
631f2dd0
UD
2411998-12-10 Ulrich Drepper <drepper@cygnus.com>
242
a6e3a56a
UD
243 * sysdeps/unix/sysv/linux/adjtime.c: Undo last change.
244
631f2dd0
UD
245 * posix/PTESTS: Fix typo.
246
adc9be5c 247 * po/es.po: Update from translation team.
f2bbe1fd 248 * po/fr.po: Likewise.
adc9be5c 249
04c216a8
UD
2501998-12-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
251
631f2dd0 252 * nis/nss_compat/compat-pwd.c: Fix handling of +/- entries.
04c216a8 253
38e11096
UD
2541998-12-10 Ulrich Drepper <drepper@cygnus.com>
255
256 * sunrpc/Makefile: Call rpcgen program which -Y parameter so that
257 it can find the preprocessor.
258
648c1337
UD
2591998-12-09 Geoff Keating <geoffk@ozemail.com.au>
260
261 * sysdeps/unix/sysv/linux/sys/procfs.h: Use sys/user.h not
262 asm/user.h.
263 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
264
265 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: New file,
266 like linux/sys/procfs.h but uses uid_t and gid_t.
267 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: New file,
268 don't include <linux/ptrace.h>.
269
2701998-12-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
271
272 * posix/runptests.c (main): Check that regcomp did not succeed
273 unexpectedly.
274 * posix/runtests.c (run_a_test): Likewise. Return appropriate
275 exit code.
276 * posix/TESTS: Regexp "a[b-a]" should not compile.
277 * posix/PTESTS: Comment out bogus tests GA113(2), GA145(2) and
278 GA147(2).
279
2801998-12-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
281
282 * locale/programs/ld-ctype.c (allocate_arrays): Don't crash if
283 there is no codeset name.
284 * locale/programs/ld-collate.c (collate_output): Don't crash if a
285 character has no weight.
286
b77e6cd6
UD
2871998-12-10 Ulrich Drepper <drepper@cygnus.com>
288
289 * inet/getnetgrent_r.c (innetgr): Check host and domain name with
290 strcasecmp, not strcmp. [PR libc/894].
291
2921998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
293
294 * posix/regex.h: Declare re_comp, re_exec if compiling for libc to
295 get prototypes.
296
297 * wctype/wctype.h: Add prototypes for __iswblank_l and iswblank.
298
2991998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
300
301 * sysdeps/unix/sysv/linux/gethostid.c: Include <netdb.h> to get
302 prototype for __gethostbyname_r.
303
304 * include/time.h: Add declarations of internal interfaces.
305
306 * time/tzset.c: Remove declarations of internal interfaces.
307 * time/gmtime.c: Likewise.
308 * time/localtime.c: Likewise.
309 * time/offtime.c: Likewise.
310 * time/tzfile.c: Likewise.
311
c3c95a7b
UD
3121998-12-01 09:47 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
313
314 * sysdeps/unix/sysv/linux/sys/timex.h: Copy out
315 user-space-relevant definitions from linux/timex.h of kernel
316 2.1.130 and remove include of kernel header.
317
318 * sysdeps/unix/sysv/linux/adjtime.c: Remove portability crud.
319
5c2a0669
UD
3201998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
321
322 * posix/regex.c: Get regex.h from system path, not from local
323 directory.
324
325 * posix/regex.h: Move internal interfaces to ...
326 * include/regex.h: ...here.
327
328 * posix/unistd.h: Move internal interfaces to ...
329 * include/unistd.h: ...here.
330
331 * math/math.h: Move internal interfaces to ...
332 * include/math.h: ...here.
333
334 * posix/glob.h: Move internal interfaces to ...
335 * include/glob.h: ...here.
336
337 * string/string.h: Move internal interfaces to ...
338 * include/string.h: ...here.
339
340 * time/sys/time.h: Move internal interfaces to ...
341 * include/sys/time.h: ...here.
342
343 * resolv/netdb.h: Move internal interfaces to ...
344 * include/netdb.h: ...here.
345
3461998-12-08 Ulrich Drepper <drepper@cygnus.com>
347
348 * iconvdata/eucjp.c: Handle Yen in overscore conversion from ISO 10646
349 correctly.
350 * iconvdata/iso-2022-jp.c: Handle Kana in 2022-JP2 correctly
351 Fix various bugs in conversion routine.
352 * iconvdata/jis0201.h: Correct variable name.
353 * iconvdata/jis0208.c: Correct script to generate tables and regenerate
354 them.
355 * iconvdata/jis0208.h: Likewise.
356 * iconvdata/jis0212.c: Likewise.
357 * iconvdata/sjis.c: Likewise.
358 Patch by HANATAKA Shinya <hanataka@abyss.rim.or.jp>.
359
5470bc9f
UD
3601998-12-07 Ulrich Drepper <drepper@cygnus.com>
361
a94b2ac0
UD
362 * sysdeps/unix/sysv/linux/speed.c (IBAUD0): New definition. Bit
363 set in c_iflag if cfsetispeed is call with SPEED set to zero.
364 (cfgetispeed): Return zero if prior if IBAUD0 is set.
365 (cfsetospeed): Clear IBAUD0 bit.
366 (cfgetispeed): Set IBAUD0 bit if necessary.
367 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear
368 the IBAUD0 bit in c_iflag when making the system call.
369 Work around a Linux kernel bug which silently changes the
370 PARENB/CREAD/CSIZE bits in c_cflag on pty.
5470bc9f
UD
371 * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Make a real
372 function. Don't set speed is SPEED parameter is zero since this
373 means set it to the output speed.
a94b2ac0 374 Based on a patch by H.J. Lu <hjl@gnu.org>.
5470bc9f
UD
375
376 * version.h (VERSION): Bump to 2.0.106.
377
a94b2ac0
UD
378 * Makeconfig (link-libc-static): Don't use link-libc since this
379 includes the shared object. Use gnulib only.
380
b38bb8ca
UD
381 * configure.in: Disable --disable-static.
382
5470bc9f
UD
3831998-12-07 12:06 Ulrich Drepper <drepper@cygnus.com>
384
385 * po/de.po: Update from translation team.
386 * po/ko.po: Likewise.
387
3881998-12-07 Richard Henderson <rth@cygnus.com>
389
390 * sysdeps/unix/sysv/linux/alpha/select.S: Save a4 through
391 both paths.
392
0d3eb016
RM
3931998-12-05 Roland McGrath <roland@baalperazim.frob.com>
394
395 * sysdeps/mach/hurd/pselect.c: New file.
396
397 * sysdeps/mach/hurd/poll.c: New file.
398
399 * hurd/Makefile (routines): Add hurdselect.
400 * hurd/hurdselect.c: New file.
401 (_hurd_select): New function, guts taken from ...
402 * sysdeps/mach/hurd/select.c (__select): ... here.
403 Now work by just calling _hurd_select.
404 * hurd/hurd/fd.h: Declare _hurd_select.
405
4061998-12-05 Roland McGrath <roland@baalperazim.frob.com>
407
408 * time/strptime.c: Fix unterminated comment in last change.
409
31604a65
UD
4101998-12-05 Ulrich Drepper <drepper@cygnus.com>
411
6685edd3 412 * ctype/ctype.h (_ISbit): Protect use of parameter with
9c8cfaf5 413 parentheses.
6685edd3 414 * wctype/wctype.h (_ISwbit): Likewise.
9c8cfaf5 415
83ce8c14
UD
416 * locale/Versions: Make experimental locale interface available in
417 GLIBC_2.1.
418
69c7e1dd 419 * sysdeps/gnu/bits/utmp.h (struct exit_status): Define members
31604a65 420 without leading __ only for __USE_GNU.
69c7e1dd 421 * sysdeps/gnu/bits/utmpx.h (struct __exit_status): Likewise.
31604a65 422
a6ff34d7
UD
4231998-12-04 Ulrich Drepper <drepper@cygnus.com>
424
0d3eb016 425 * argp/argp.h: Add __restrict.
a6ff34d7
UD
426 * dirent/dirent.h: Likewise.
427 * elf/dlfcn.h: Likewise.
428 * grp/grp.h: Likewise.
429 * iconv/iconv.h: Likewise.
430 * inet/aliases.h: Likewise.
431 * libio/libio.h: Likewise.
432 * libio/stdio.h: Likewise.
433 * locale/locale.h: Likewise.
434 * misc/mntent.h: Likewise.
435 * posix/wordexp.h: Likewise.
436 * pwd/pwd.h: Likewise.
437 * resolv/netdb.h: Likewise.
438 * rt/aio.h: Likewise.
439 * stdio-common/printf.h: Likewise.
440 * stdlib/monetary.h: Likewise.
441 * stdlib/stdlib.h: Likewise.
442 * string/argz.h: Likewise.
443 * string/envz.h: Likewise.
444 * string/string.h: Likewise.
445 * time/time.h: Likewise.
446
4471998-12-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
448
449 * misc/sys/cdefs.h: Only include features.h if _FEATURES_H isn't
450 defined. gcc's redundant include optimizer isn't clever enough to
451 prevent a reinclusion here.
452 Define __restrict to the empty string only if not GCC or
453 GCC version less than 2.92.
454
4551998-12-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
456
457 * sysdeps/unix/sysv/linux/configure.in: Fix last change.
458
4591998-12-03 Mark Kettenis <kettenis@phys.uva.nl>
460
461 * time/strptime.c (strptime_internal): Make use of `%C' format
462 specifier if it is seen together with the `%y' specifier.
463
4641998-12-04 Ulrich Drepper <drepper@cygnus.com>
465
466 * po/sk.po: New file.
467
4681998-12-03 Scott Bambrough <scottb@corelcomputer.com>
469
470 * sysdeps/arm/dl-machine.h (dl_start_user): Incorrect address
471 for _dl_main_searchlist passed to _dl_init_next.
472
4731998-12-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
474
475 * math/libm-test.c: Expand literal tabs in strings. Normalize
476 whitespace.
477
4781998-12-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
479
480 * sysdeps/unix/sysv/linux/sys/fsuid.h: Fix spelling.
481
aab217f3 4821998-12-04 Mark Kettenis <kettenis@phys.uva.nl>
c31fd66e 483
aab217f3
RM
484 Provide backwards binary compatibility for the Hurd.
485 * hurd/geteuids.c [PIC && DO_VERSIONING]: Make __getuids a weak
486 alias for geteuids.
487 * hurd/Versions [GLIBC_2.0]: Add __getuids,
488 __hurd_file_name_lookup and _hurd_umask.
489 [GLIBC_2.1]: Add _hurd_proc_init.
490 * hurd/Makefile [versioning] (routines): Add compat-20.
491 (shared-only-routines): Likewise.
492 * hurd/hurdinit.c (_hurd_new_proc_init): Renamed from
493 _hurd_proc_init. Use it as the default _hurd_proc_init version
494 for GLIBC_2.1.
495 * hurd/compat-20.c: New file.
496 * mach/Versions [GLIBC_2.0]: Add __vm_allocate.
c31fd66e 497
eeabe877
UD
4981998-12-02 Ulrich Drepper <drepper@cygnus.com>
499
500 * elf/elf.h: Add R_MIPS_JALR and adjust R_MIPS_NUM appropriately.
501
5021998-12-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
503
504 * inet/Versions: Remove inet6_isipv4mapped.
505
5061998-12-02 Philip Blundell <pb@nexus.co.uk>
507
508 * inet/in6_addr.c (inet6_isipv4mapped): Obsolete, deleted.
509
5101998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
511
512 * manual/time.texi (Formatting Date and Time): Fix typo.
513
5141998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
515
516 * sysdeps/unix/sysv/linux/configure.in: Only check for symlinks
517 when configuring natively. Use autoconf macros instead of rolling
518 our own. Handle defaulted prefix.
519
19c6b9c8
UD
5201998-12-01 Ulrich Drepper <drepper@cygnus.com>
521
522 * version.h (VERSION): Bump to 2.0.105.
523
524 * sysdeps/generic/Dist: Add bits/libc-tsd.h.
525
526 * sysdeps/mach/hurd/Dist: Add bits/libc-tsd.h.
527
528 * sysdeps/unix/sysv/linux/mips/Dist: Add xstatconv.c.
529
628a0aa1
UD
5301998-11-29 1998 H.J. Lu <hjl@gnu.org>
531
532 * libio/genops.c (_IO_unbuffer_write): Renamed from
533 _IO_unbuffer_all.
534 (_IO_cleanup): Call _IO_unbuffer_write instead of
535 _IO_unbuffer_all.
536
5371998-12-01 Ulrich Drepper <drepper@cygnus.com>
538
539 * intl/localealias.c: Use *_unlocked version of stdio function if
540 _LIBC_REENTRANT is defined, not _LIBC.
541
5421998-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
543
544 * include/grp.h: Add prototypes for internal functions
545 __getgrgid_r and __getgrnam_r.
546
547 * inet/herrno.c: Include <netdb.h> for prototype, undef h_errno.
548
549 * resolv/nsap_addr.c: Include <arpa/inet.h> for inet_nsap_addr and
550 inet_nsap_ntoa prototypes.
551
62595351
UD
5521998-12-01 Ulrich Drepper <drepper@cygnus.com>
553
628a0aa1
UD
554 * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Pass -I option
555 to gcc to have it find the correct system header.
556 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
557
62595351 558 * Makefile (postclean): Add sysd-sorted.
628a0aa1 559 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
62595351 560
ee586e0e
UD
5611998-12-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
562
563 * sunrpc/auth_des.c: Use new XDR int32 functions for integers.
564 * sunrpc/rpc/xdr.h: Add IXDR INT32 functions.
565 * sunrpc/rpc_hout.c: Remove (u_long) casts in defines to avoid
566 conflicts with new solaris version.
567 * sunrpc/rpc_main.c: Fix bug in generating Makefile name (malloc
568 doesn't zero allocated memory).
569 * sunrpc/rpc_svcout.c: Local variables now starts with a _ to avoid
570 conflicts with xdr functions. Solves PR libc/877.
571 * nis/rpcsvc/nis.x: Use always uint32_t.
572 * nis/rpcsvc/nis.h: Likewise.
573 * nis/rpcsvc/nis_object.x: Likewise.
574
5751998-12-01 Ulrich Drepper <drepper@cygnus.com>
576
577 * math/libm-test.c: Various cleanups. Patch by Zack Weinberg.
578
579 * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use correct type for
580 parameter. Patch by Christian Gafton.
581
582 * string/envz.h: Add prototype for envz_remove.
583 Reported by Andreas Jaeger.
584
42ee0538
RM
5851998-11-30 Mark Kettenis <kettenis@phys.uva.nl>
586
587 * mach/Versions [libc, GLIBC_2.0]: Add __spin_lock,
588 __spin_lock_init, __mutex_lock, __mutex_trylock,
589 __mutex_unlock.
590 Remove get_priviliged_ports. Moved to hurd/Versions.
591
592 * hurd/Versions [libc, GLIBC_2.0]: Add _end. This makes the Hurd
593 brk implementation see the end of the data segment of the program
594 instead of the shared library.
595 Add __hurd_errno_location. This inline function is used in user
596 programs.
597 Add _hurd_critical_section_lock, _hurd_critical_section_unlock,
598 _hurd_fd_get, _hurd_port_free, _hurd_port_get,
599 _hurd_port_locked_get. These inline functions are used by macros
600 used in mail.local in the Hurd distribution.
601 Add get_privileged_ports. Moved here from mach/Versions.
602 Remove __hurd_file_name_lookup, __hurd_file_name_lookup_retry,
603 __hurd_file_name_split, __hurd_file_name_path_lookup. These are
604 not used outside libc.
605
6061998-11-30 Mark Kettenis <kettenis@phys.uva.nl>
607
608 * hurd/hurdstartup.c: Really include set-hooks.h with <> instead
609 of "".
610
5713a71e
UD
6111998-11-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
612
613 * sunrpc/Makefile: Add xdr_intXX_t to routines.
614 * sunrpc/Versions: Add xdr_int8_t, xdr_uint8_t, xdr_in16_t and
615 xdr_uint16_t.
616 * sunrpc/rpc/xdr.h: Add prototypes for new xdr_intXX_t functions.
617 * sunrpc/xdr.c: Remove xdr_int32_t and xdr_uint32_t.
618 * sunrpc/xdr_intXX_t.c: New, contains all xdr_intXX_t functions.
619
620 * nis/Depend: New.
621 * nis/nss_nis/nis-service.c: Include generated prototype for parser.
622
348ed515
UD
6231998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
624
625 * nscd/nscd_getpw_r.c: Include nscd_proto.h for prototypes.
626
627 * sysdeps/generic/errno-loc.c: Include <errno.h> for prototype,
628 undefine errno to get variable.
629
630 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Include <sys/fsuid.h>
631 instead of <unistd.h> for prototype.
632 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
633
6341998-11-30 Ulrich Drepper <drepper@cygnus.com>
635
636 * misc/err.h: Correct comments and use protected attribute keywords.
637 Reported by Joseph Myers <jsm28@cam.ac.uk>.
638
6391998-11-29 Roland McGrath <roland@baalperazim.frob.com>
640
641 * malloc/thread-m.h [_LIBC]: Include <bits/libc-tsd.h>, and
642 remove tsd stuff from pthreads/cthreads libc sections.
643 Use __libc_tsd_define for MALLOC key.
644 [_LIBC] (tsd_key_t, tsd_key_create): Define to a zero-size type and a
645 no-op, respectively.
646 [_LIBC] (tsd_setspecific, tsd_getspecific): Use __libc_tsd_get/set.
647
648 * elf/dl-error.c: Include <bits/libc-tsd.h>.
649 Use __libc_tsd_define for DL_ERROR key.
650 (tsd_setspecific, tsd_getspecific): Rewritten using __libc_tsd_get/set.
651
652 * sysdeps/mach/hurd/bits/libc-tsd.h: New file.
653 * sysdeps/generic/bits/libc-tsd.h: New file.
654 * Makefile (distribute): Add bits/libc-tsd.h.
655
6561998-10-12 Roland McGrath <roland@baalperazim.frob.com>
657
658 * elf/dl-error.c: Remove kludge to check for ld.so load address.
659 There is no need if weak undefined symbols are not used in ld.so;
660 see linuxthreads/ChangeLog for changes to files
661 linuxthreads/sysdeps/pthread/bits/libc-lock.h and
662 linuxthreads/sysdeps/pthread/bits/libc-tsd.h.
663
6641998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
665
666 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo (s->__s).
667
668 * sysdeps/i386/i486/bits/string.h: Add prototypes for all new
669 inline functions.
670 * sysdeps/i386/bits/string.h: Likewise.
671
6721998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
673
674 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Remove ipc_kludge.
675
6761998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
677
678 * db2/progs/db_load/db_load.c (main): Avoid -Wparentheses warning.
679
3dc9c979
RM
6801998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
681
682 * sysdeps/mach/hurd/dl-sysdep.c: Do not define
683 __hurd_threadvar_max. Add comment explaining why we define
684 __hurd_threadvar_stack_offset and __hurd_threadvar_stack_mask here.
685
6861998-07-29 Mark Kettenis <kettenis@phys.uva.nl>
687
688 * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
689 __hurd_sigthread_stack_end, __hurd_sigthread_variables): Define to
690 prevent inclusion of Hurd signal handling code.
691 (__libc_write): New function.
692 (_dl_sysdep_output): Removed. The implementation in
693 `elf/dl-misc.c' now also works for the Hurd.
694
f69139ec
RM
6951998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
696
697 * hurd/hurdstartup.c: Do not include hurdmalloc.h; _hurd_startup
698 does not use any of malloc/realloc/free anymore. Include
699 set-hooks.h with <> instead of "".
700
0c4db20b
RM
7011998-11-29 Roland McGrath <roland@baalperazim.frob.com>
702
703 * sunrpc/svc_unix.c (__msgread): Move ON local var inside block
704 within #ifdef SO_PASSCRED. Avoids unused var when no SO_PASSCRED.
705 * sunrpc/clnt_unix.c (__msgread): Likewise.
706
cbef6235
RM
7071998-11-28 Roland McGrath <roland@baalperazim.frob.com>
708
709 * hurd/setuids.c: Renamed to ...
710 * hurd/seteuids.c: this.
711 (setuids): Renamed to seteuids.
712 * hurd/getuids.c: Renamed to ...
713 * hurd/geteuids.c: this.
714 (__getuids): Renamed to geteuids, no aliases.
715 * hurd/hurd.h (geteuids, seteuids): Declare them.
716 * hurd/Versions: Replace getuids; __getuids with geteuids; seteuids.
717 * hurd/Makefile (routines): Updated.
718
5f75d1e2
UD
7191998-11-29 Ulrich Drepper <drepper@cygnus.com>
720
721 * sysdeps/generic/segfault.c (install_handler): Correct test for
722 SEGFAULT_HANDLER=all.
723 Patch by Zack Weinberg.
724
cbef6235
RM
7251998-11-28 23:23 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
726
727 * sysdeps/unix/sysv/linux/configure.in: Test for symlinks in
728 $prefix/include that may be clobbered on installation.
729
6d4752d8
UD
7301998-11-27 Philip Blundell <pb@nexus.co.uk>
731
732 Fixes to allow compilation with static NSS:
733 * nss/Makefile: Make explicit the dependency of getent on
734 libnss_files.a.
735 [build_static_nss]: Define $(otherlibs) appropriately.
736 * nss/Depend: Add a dependency on `resolv'.
737
7381998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
739
740 Partial support for MIPS ISO C 9x exception handling:
741 * sysdeps/mips/fclrexcpt.c: New file.
742 * sysdeps/mips/ftestexcept.c: New file.
743 * sysdeps/mips/fgetexcptflg.c: New file.
744 * sysdeps/mips/fesetround.c: New file.
745 * sysdeps/mips/fegetround.c: New file.
746 * sysdeps/mips/fegetenv.c: New file.
747 * sysdeps/mips/fesetenv.c: New file.
748 * sysdeps/mips/feupdateenv.c: Likewise.
749 * sysdeps/mips/bits/fenv.h: New file.
750
7511998-11-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
752
753 * sysdeps/unix/sysv/linux/mips/bits/signum.h: Remove inclusion of
754 <asm/signal.h> and add needed symbols from <asm/signal.h>; bring
755 in sync with linux specific version.
756
757 Patches by Ralf Baechle <ralf@uni-koblenz.de> for mips-linux:
758
759 * sysdeps/unix/mips/sysdep.S: Define _errno as weak_alias, rewrite
760 errno declaration.
761
762 * sysdeps/unix/sysv/linux/mips/ustat.c: Use INLINE_SYSCALL instead
763 of calling __syscall_*.
764 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
765
766 * sysdeps/unix/sysv/linux/mips/syscalls.list: Update entries.
767
768 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add missing SYS_*
769 constants, correct values according to Linux 2.1.130.
770
771 * sysdeps/unix/sysv/linux/mips/pwrite.c: New file.
772 * sysdeps/unix/sysv/linux/mips/pwrite64.c: New file.
773 * sysdeps/unix/sysv/linux/mips/pread.c: New file.
774 * sysdeps/unix/sysv/linux/mips/pread64.c: New file.
775
776 * sysdeps/mips/Makefile (sysdep_routines): Use += instead of a
777 :=.
778
779 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Remove ipc_kludge.
780
781 * sysdeps/unix/sysv/linux/mips/xstatconv.c: New file.
782
783 * sysdeps/unix/sysv/linux/mips/xstat.c: Removed.
784
785 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: New file.
786
787 * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Add copyright
788 message, change name of include protection, remove inclusion of
789 <bits/termios.h>.
790
791 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
792 (old_kernel_sigaction): Define.
793 (struct kernel_sigaction): Rename sa_handler to k_sa_handler.
794
795 * sysdeps/unix/sysv/linux/mips/bits/time.h: Removed, we can use
796 the general linux version.
797 * sysdeps/unix/sysv/linux/mips/bits/stat.h (_STAT_VER_KERNEL): Added.
798
799 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Update file.
800
8011998-09-03 Philip Blundell <pb@nexus.co.uk>
802
803 * sysdeps/arm/bits/endian.h (__FLOAT_WORD_ORDER): Define to big
804 endian.
805 * math/math_private.h: Use __FLOAT_WORD_ORDER rather than
806 BYTE_ORDER.
807 * string/endian.h: If __FLOAT_WORD_ORDER wasn't defined by
808 <bits/endian.h>, make it the same as __BYTE_ORDER.
809
48252123
UD
8101998-11-27 Ulrich Drepper <drepper@cygnus.com>
811
812 * math/math.h: Avoid using long double functions in generic macros
813 if __NO_LONG_DOUBLE_MATH.
814
815 * sysdeps/arm/dl-machine.h: Fix handling of weak undefined symbols
816 during bootstrapping.
817 * scripts/config.sub: Add Netwinder specific matches.
818 Patch by Scott Bambrough <scottb@corelcomputer.com>.
819
6d4752d8
UD
8201998-11-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
821
822 * Makeconfig ($(common-objpfx)sysd-dirs): Use automatic variables
823 if possible.
824 ($(common-objpfx)sysd-sorted): Likewise.
825
8261998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
827
828 * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Add declaration of
829 local variables t1,t2 only if needed.
830
48252123
UD
831 * sysdeps/libm-ieee754/e_atan2.c: Added braces to avoid compiler
832 warnings.
6d4752d8
UD
833 * sysdeps/libm-ieee754/s_truncf.c (__truncf): Likewise.
834 * sysdeps/libm-ieee754/s_trunc.c (__trunc): Likewise.
835
836 * sysdeps/mips/mul_1.S (Loop): Add closing comment to avoid
837 warning.
838
8391998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
840
841 * math/math.h: Add brace to correct #if expression.
842
8431998-11-26 Philip Blundell <philb@gnu.org>
844
845 Undo change of 1998-11-12:
846 * sysdeps/unix/sysv/linux/netlink/netlink.h: Deleted.
847 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
848 netlink/netlink.h.
849 * sysdeps/unix/sysv/linux/Dist: Likewise.
850
8511998-11-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
852
853 * nis/nis_print.c (nis_print_entry): Changes to match Solaris output.
854
cb0509a8
UD
8551998-11-26 Ulrich Drepper <drepper@cygnus.com>
856
857 * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): New defined macro.
858 (elf_machine_got_rel): Remove scope variable. Use scope from the map.
859 Don't modify _dl_global_scope_end in the end.
860 (__dl_runtime_resolv): Also use scope from the map.
861 * sysdeps/mips/mips64/dl-machine.h: Likewise.
862 * elf/dl-runtime.c: Don't define fixup and profile_fixup if
863 ELF_MACHINE_NO_PLT is defined.
864 * sysdeps/mips/sys/ucontext.h: New file.
865 Patches by kaz Kojima <kkojima@rr.iij4u.or.jp>.
866
6d4752d8
UD
8671998-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
868
869 * sysdeps/generic/pselect.c (__pselect): Change interface,
870 set/restore sigmask.
871
872 * misc/sys/select.h: Change declaration according to Stevens' Unix
873 Network Programming.
874 * include/sys/select.h (__pselect): Likewise.
875 Reported by <bwelling@anomaly.munge.com> [PR libc/872].
876
877 * include/fpu_control.h: New file, contains __setfpucw
878 declaration.
879
880 * sysdeps/generic/fpu_control.h: Remove __setfpucw declaration,
881 it's an internal symbol.
882 * sysdeps/alpha/fpu/fpu_control.h: Likewise.
883 * sysdeps/arm/fpu/fpu_control.h: Likewise.
884 * sysdeps/i386/fpu_control.h: Likewise.
885 * sysdeps/m68k/fpu_control.h: Likewise.
886 * sysdeps/powerpc/fpu_control.h: Likewise.
887 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Likewise.
888 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
889
0155a773
UD
8901998-11-25 Ulrich Drepper <drepper@cygnus.com>
891
892 * version.h (VERSION): Bump to 2.0.104.
893
8941998-11-25 Mark Kettenis <kettenis@phys.uva.nl>
895
896 * libio/bits/stdio.h (fread_unlocked): Add missing parentheses
897 around parameter n.
898
8991998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
900
901 * time/tzfile.c (__tzfile_read): Fix comment.
902
9031998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
904
905 * Makerules (build-shlib): Pass -O1 down to linker to get
906 optimized shared libraries.
907
9081998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
909
910 * Makeconfig ($(common-objpfx)sysd-dirs): Cope with no Subdirs
911 file. Strip "-" from inhibited subdir name. Combine into a
912 single awk program.
913 ($(common-objpfx)sysd-sorted): Fix sed command.
914
77dd7355
RM
9151998-11-25 Roland McGrath <roland@baalperazim.frob.com>
916
917 * sysdeps/mach/hurd/i386/init-first.c (init): Restored as inline fn.
918 Use constant _HURD_THREADVARS_MAX for temporary array size.
919
920 * Makeconfig ($(common-objpfx)sysd-sorted): Use @ instead of / as sed
921 s separator, since $(..) might contain a /.
922
45b3d8ad
UD
9231998-11-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
924
925 * configure.in (mips): Fix typo (Replace ,, by ;;).
926
927 * libio/Versions: Clean up entries.
928
33127459
UD
9291998-11-23 Ulrich Drepper <drepper@cygnus.com>
930
931 * sysdeps/i386/fpu/bits/mathinline.h: Add optimizations for lrint
932 and llrint.
933
a42134a7
UD
9341998-11-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
935
936 * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Removed. There are too
937 many differences between the Linux 2.0 and 2.1 versions of this
938 file and it's too difficult to convert all calls. The file should
939 only be needed by the ipfw program which has to take care of the
940 correct kernel version and include files.
941
942 * sysdeps/unix/sysv/linux/Dist: Remove netinet/ip_fw.h.
943 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
944
7d6a8338
UD
9451998-11-23 Ulrich Drepper <drepper@cygnus.com>
946
947 * Makeconfig: Don't read sysd-sorted unless sysd-dirs is read.
948 Patch by Zack Weinberg.
949
950 * math/bits/mathcalls.h: Adjust comments. Remove gamma_r prototype.
951
952 * sysdeps/i386/fpu/bits/mathinline.h: Make log2 only available if
953 __USE_ISOC9X is defined. Provide rint optimization.
954
9551998-11-21 H.J. Lu <hjl@gnu.org>
956
957 * libio/Versions (_IO_popen, _IO_proc_open, _IO_proc_close,
958 popen, pclose): Add to GLIBC_2.1.
959
960 * libio/Makefile (routines): Add oldiopopen and oldpclose.
961 (shared-only-routines): Likewise.
962
963 * libio/pclose.c (pclose): Make it default for GLIBC_2.1.
964 * libio/iopopen.c (_IO_proc_open, _IO_popen, popen,
965 _IO_proc_close): Likewise.
966
967 * libio/iolibio.h (_IO_new_popen, _IO_old_popen, __new_pclose,
968 __old_pclose): New prototypes.
969
970 * libio/libioP.h (_IO_new_file_jumps): Removed.
971 (_IO_old_proc_jumps): Added.
972 (_IO_new_proc_open, _IO_old_proc_open): New prototypes.
973
974 * libio/oldiopopen.c: New file.
975
976 * libio/oldpclose.c: New file.
977
9781998-11-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
979
980 * nss/Makefile: Build and install getent.
981 * nss/getent.c: New, get entries from administrative database.
982
1521f3a5
RM
9831998-11-22 Roland McGrath <roland@baalperazim.frob.com>
984
985 * sysdeps/mach/hurd/i386/init-first.c (init): Provide temporary storage
986 for the per-thread variables of the main user thread to make it
987 possible to use malloc as soon as _hurd_preinit_hook has been run.
988 For cthreads, copy values to new stack from there.
989 For non-cthreads, malloc threadvar array here and copy from temp space.
990 (init1): No longer initialize threadvars here.
991 (doinit1): Made static void at top level.
992 (init): Folded into [PIC] _init or [!PIC] doinit1, since GCC cannot
993 inline a function that uses dynamic auto arrays.
994
5edb9387
UD
9951998-11-20 Ulrich Drepper <drepper@cygnus.com>
996
d89e7a96
UD
997 * version.h (VERSION): Bump to 2.0.103.
998
5edb9387
UD
999 * aclocal.m4 (LIBC_PROG_BINUTILS): Also add AR and RANLIB using the
1000 same method.
1001 * configure.in: Don't define AR and RANLIB here.
1002
1003 * inet/gethstbyad_r.c: Define NEED__RES_HCONV and POSTPROCESS for
1004 host name res_hconf code.
1005 * inet/gethstbynm_r.c: Likewise.
1006 * nss/getXXbyYY_r.c: Include resolv/res_hconf.h if NEED__RES_HCONF
1007 is defined. Call res_hconf_init if necessary. If POSTPROCESS is
1008 defined execute the code.
1009 * resolv/Makefile (routines): Add res_hconf.
1010 (headers): Add res_hconf.h.
1011 * resolv/res_hconf.c: Pretty print.
1012 * resolv/res_hconf.h: Likewise.
1013
10141998-11-20 Ulrich Drepper <drepper@cygnus.com>
1015
1016 * sysdeps/generic/bits/byteswap.h: Fix typos in non-GCC
1017 definitions. Reported by Scott Bambrough <scottb@corelcomputer.com>.
1018
10191998-11-20 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1020
1021 * math/libm-test.c: Raise some epsilons a bit.
1022
10231998-11-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1024
1025 * Makeconfig ($(common-objpfx)sysd-sorted): Fix portability problems.
1026
10271998-11-20 Ulrich Drepper <drepper@cygnus.com>
1028
1029 * Makefile (distribute): Add scripts/gen-sorted.awk.
1030
bece5ca7
UD
10311998-11-19 Ulrich Drepper <drepper@cygnus.com>
1032
1033 * posix/regex.c (regex_compile): Handle extra long class names
1034 correctly.
1035
50463d27
UD
10361998-11-19 Geoff Keating <geoffk@ozemail.com.au>
1037
1038 * elf/rtld.c (_dl_start): Handle weak undefined symbols in ld.so
1039 correctly.
1040
1da99555
UD
10411998-11-19 Ulrich Drepper <drepper@cygnus.com>
1042
b0428320
UD
1043 * misc/error.c: Undo last change.
1044
1da99555
UD
1045 * ctype/Versions: Add _tolower and _toupper.
1046
f1317ef5
UD
10471998-11-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1048
1049 * sunrpc/svc_unix.c (readunix): Check for POLLERR, POLLHUP and
1050 POLLNVAL.
1051
bb41a976
UD
10521998-11-19 Ulrich Drepper <drepper@cygnus.com>
1053
1054 * Makeconfig: Add comment to all-subdirs definition.
1055 Add rule to generate sysd-sorted. Include this file and and set
1056 subdirs value to $(sorted-subdirs).
1057 * scripts/gen-sorted.awk: New file.
1058 * Make-dist (+tsrcs): Add Depend.
1059 * nscd/Depend: New file.
1060 * nss/Depend: New file.
1061 * rt/Depend: New file.
1062
090ca000
UD
10631998-11-18 Ulrich Drepper <drepper@cygnus.com>
1064
dfd2464b
UD
1065 * sysdeps/unix/bsd/poll.c (__poll): Add code to extend sets if any
1066 passed file descriptor exceeds the size determined by
1067 getdtablesize.
1068
1069 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Update
1070 from inline version in bits/socket.h.
1071
1072 * sysdeps/unix/sysv/linux/bits/socket.h: Define __cmsg_nxthdr as
1073 inline function only is __USE_EXTERN_INLINES is defined.
1074
1075 * time/strftime.c (my_strftime): Make code a bit clearer.
1076 Patch by Paul Eggert <eggert@twinsun.com>.
1077
090ca000
UD
1078 * io/Makefile (CFLAGS-ftw.c): Removed.
1079
b0428320 1080 * manual/errno.texi: Change the short text for ENODEV to
bb41a976
UD
1081 "No such device".
1082
090ca000
UD
10831998-11-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1084
1085 * io/Makefile (tests): Make sure that the test program has an
1086 explicit directory part.
1087
10881998-11-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1089
1090 * configure.in: Fix last change.
1091
10921998-11-18 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1093
1094 * sunrpc/Makefile (routines): Add create_xid.
1095
1096 * sunrpc/clnt_tcp.c: Use non-guessable xid.
1097 * sunrpc/clnt_udp.c: Likewise.
1098 * sunrpc/clnt_unix.c: Likewise.
1099 * sunrpc/pmap_rmt.c: Likewise.
1100 * sunrpc/create_xid.c: New, create non-guessable xid.
1101
1102 * sunrpc/svc_tcp.c: Remove patch from 1998-06-15, use poll instead
1103 of select.
1104 * sunrpc/svc_unix.c: Use poll instead of select.
1105
d8cceb4f
UD
11061998-11-17 Ulrich Drepper <drepper@cygnus.com>
1107
45a9a50e 1108 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Make Unix98 compliant
dfd2464b 1109 by removing SIG_IGN handler for SIGCHLD if necessary.
45a9a50e
UD
1110 Patch by H.J. Lu <hjl@lucon.org>.
1111
d8cceb4f
UD
1112 * stdio-common/printf_fphex.c (__printf_fphex): Correct printing
1113 of denormalized numbers.
1114
11151998-10-06 Geoff Keating <geoffk@ozemail.com.au>
1116
1117 * sysdeps/powerpc/dl-machine.h (elf_machine_load_address): Suppress
1118 another parentheses warning, make nano-optimisation.
1119
1120 * sysdeps/powerpc/dl-machine.h (_dl_runtime_resolve): Preserve
1121 saved LR on stack so _mcount works.
1122 (_dl_prof_resolve): Likewise.
1123 * sysdeps/powerpc/register-dump.h: Print FPRs. Adjust for correct
1124 signal handler calling convention.
1125 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Adjust for
1126 correct signal handler calling convention---more like x86 linux and
1127 mklinux, less like linux-ppc versions between 2.1 and 2.1.126.
1128
11291998-11-17 Ulrich Drepper <drepper@cygnus.com>
1130
1131 * configure.in: Correct allowed makeinfo version.
1132
11331998-11-17 Philip Blundell <pb@nexus.co.uk>
1134
1135 * sysdeps/generic/bits/mathdef.h: Fix typo.
1136
cae88996
UD
11371998-11-17 Geoff Keating <geoffk@ozemail.com.au>
1138
1139 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Prototype the syscall
1140 under the right name (squish warning).
1141 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1142
11431998-11-17 Geoff Keating <geoffk@ozemail.com.au>
1144
1145 * stdio-common/_itoa.c (_itoa): Add redundant parentheses to
1146 prevent warnings.
1147
9d1efe33
UD
11481998-11-16 Ulrich Drepper <drepper@cygnus.com>
1149
d8cceb4f 1150 * intl/locale.alias: Change `japanese' alias to match X11R6's.
9d1efe33
UD
1151 Add `japanese.euc' alias.
1152
1153 * manual/Makefile (%.info): Set LANGUAGE and LC_ALL explicitly to C
1154 before running makeinfo.
1155
1156 * math/Makefile (libm-routines): $(strip) entire value.
1157
1158 * nss/nss_db/db-XXX.c (internal_setent): Rewrite to avoid warning.
1159
11601998-10-24 H.J. Lu <hjl@gnu.org>
1161
1162 * libio/libio.h (_IO_cookie_io_functions_t): Protect with __USE_GNU.
1163 (_IO_cookie_file): Likewise.
1164
11651998-11-16 Philip Blundell <philb@gnu.org>
1166
1167 * inet/netinet/icmp6.h: Correct naming of constants.
1168
8b7fb588
UD
11691998-11-16 Ulrich Drepper <drepper@cygnus.com>
1170
1171 * sysdeps/unix/opendir.c: Use o_directory_works differently. Treat
1172 zero value as uninitialized so that variable can go into .bss.
1173
1174 * dirent/opendir-tst1.c: Print error strings to stdout.
1175
1176 * sysdeps/unix/sysv/linux/mmap64.c: New file. Empty.
1177 * sysdeps/unix/sysv/linux/syscalls.list: Add mmap with mmap64 alias.
1178 * sysdeps/unix/sysv/linux/arm/mmap.S: Add mmap64 alias.
1179 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1180 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1181
11821998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1183
1184 * time/tzfile.c (__tzfile_read): Check that types[i].isdst is in
1185 range.
1186
11871998-11-16 Ulrich Drepper <drepper@cygnus.com>
1188
1189 * libio/bits/stdio.h (fread_unlocked): Do handle zero size and number.
1190 (fwrite_unlocked): Likewise.
1191
11921998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1193
1194 * libio/bits/stdio.h (fread_unlocked): Don't evaluate non-constant
1195 twice. Don't bother handling zero size.
9d1efe33 1196 (fwrite_unlocked): Likewise.
8b7fb588
UD
1197
11981998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1199
1200 * configure.in: Fix regex for makeinfo version string.
1201
12021998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1203
1204 * sunrpc/rpc_sample.c (write_sample_server): Avoid -Wparentheses
1205 warning.
1206 * sunrpc/rpc_svcout.c (write_program): Likewise.
1207
12081998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1209
1210 * time/Makefile (CFLAGS-test_time.c): Add -Wno-format.
1211
12121998-11-16 Ulrich Drepper <drepper@cygnus.com
1213
1214 * misc/sys/mman.h: Pretty print prototypes.
1215
12161998-11-15 Ulrich Drepper <drepper@cygnus.com
1217
1218 * misc/error.c (error): Don't use result of strerror_r call directly
1219 since at least DEC Unix has a wrong return type.
1220 Patch by Johan Danielsson <joda@pdc.kth.se>.
1221
12221998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
22bb3c7f
AS
1223
1224 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Undo
1225 last change.
1226
77d10f94
UD
12271998-11-13 Ulrich Drepper <drepper@cygnus.com>
1228
27658f20 1229 * stdio-common/vfscanf.c: Don't return -1 in case of an invalid
9d1efe33 1230 format, just stop.
27658f20 1231
77d10f94
UD
1232 * version.h (VERSION): Bump to 2.0.102.
1233
1234 * stdio-common/tstdiomisc.c (t2): Update test case for last scanf
1235 change.
1236 * stdio-common/scanf7.c (main): Likewise.
1237
99c9e773
UD
12381998-11-13 Ulrich Drepper <drepper@cygnus.com>
1239
47b856a9
UD
1240 * stdio-common/vfscanf.c: Return EOF for invalid format
1241 characters.
1242
fb3d8ad6
UD
1243 * version.h (VERSION): Bump to 2.0.101.
1244
99c9e773
UD
1245 * Makerules (Versions.all): Generate this file from all Versions.def
1246 files.
1247 (sysd-versions): Use Versions.all instead of Versions.def.
1248
47b856a9
UD
12491998-11-13 Philip Blundell <philb@gnu.org>
1250
1251 * sysdeps/arm/fpu/bits/setjmp.h (__JMP_BUF_SP): Correct value.
1252 Reported by Scott Bambrough.
1253
93d63a59
UD
12541998-11-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1255
1256 * locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c.
1257
a3e0e9ae
UD
12581998-11-13 Ulrich Drepper <drepper@cygnus.com>
1259
1260 * libio/bits/stdio.h: Correct and improve fread_unlocked and
1261 fwrite_unlocked optimizations.
1262
1263 * time/tzfile.c (__tzfile_read): Set __tzname based on last names
1264 in time not to last entries in the file.
1265 (__tzfile_compute): Likewise. Fix for PR libc/863.
1266
1267 * timezone/Makefile: Generate GB timezone data for test.
1268 * timezone/tst-timezone.c: More tests for DST switching time (disabled
1269 for now).
1270
12711998-11-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2dc9c8cd
AS
1272
1273 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove
1274 d0 from clobber list.
1275
d2537a47
UD
12761998-11-12 Ulrich Drepper <drepper@cygnus.com>
1277
1278 * inet/netinet/in.h: Add a few more IPPROTO_* macros.
1279
1280 * libio/Makefile (headers): Add bits/stdio.h.
1281 * libio/iofread_u.c: Undefine fread_unlocked before definition.
1282 * libio/iofwrite_u.c: Undefine fwrite_unlocked before definition.
1283 * libio/stdio.h: Move optimizations into ...
1284 * libio/bits/stdio.h: ...here. New file.
1285
1286 * libio/iofread.c: Pretty print.
1287
12881998-11-12 Mark Kettenis <kettenis@phys.uva.nl>
1289
1290 * sysdeps/gnu/bits/utmpx.h: Protect members of struct
1291 __exit_status with `__'. Rename pad member of struct utmpx to
1292 __unused.
1293 (RUN_LVL): Define unconditionally.
a3e0e9ae 1294 * sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmp to
d2537a47
UD
1295 __unused.
1296
12971998-11-12 Philip Blundell <philb@gnu.org>
1298
1299 * sysdeps/unix/sysv/linux/netlink/netlink.h: New file, support for
1300 Linux AF_NETLINK sockets (needed since the kernel version is
1301 unusable).
1302 * sysdeps/unix/sysv/linux/Makefile: Install it.
1303 * sysdeps/unix/sysv/linux/Dist: Distribute it.
1304
13051998-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1306
1307 * timezone/tst-timezone.c (tests): Add entry for America/Chicago
1308 to test for bug in PR libc/863.
1309
13101998-11-12 Ulrich Drepper <drepper@cygnus.com>
1311
1312 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Cleanup comment.
1313
1314 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Rename macro
1315 parameter lazy to do_lazy to avoid clashing with struct member name.
1316 Reported by Ralf Baechle <ralf@uni-koblenz.de>.
1317
13181998-11-10 H.J. Lu <hjl@gnu.org>
1319
1320 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN
1321 if it is defined in <linux/limits.h>.
1322
13231998-11-09 13:07 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1324
1325 * include/protocols/routed.h: Include the real header with
1326 a full path from the top of the source tree.
1327 * include/protocols/rwhod.h: Likewise.
1328 * include/protocols/talkd.h: Likewise.
1329 * include/protocols/timed.h: Likewise.
1330
1331 * timezone/Makefile: Don't include z.ZONE files if no_deps
1332 is set, not if avoid-generated is set.
1333
13341998-11-12 Ulrich Drepper <drepper@cygnus.com>
1335
1336 * signal/signal.h: Undo last change. Get definition of timespec
1337 if __USE_POSIX199309.
1338
1339 * string/bits/string2.h (__strpbrk_c2): Add intermediate cast to
1340 size_t to prevent gcc warning when using -Wqual-cast.
1341 (__strpbrk_c3): Likewise.
1342 Suggested by Alan Curry <pacman@cqc.com>.
1343
fc7af6d6
RM
13441998-11-11 Roland McGrath <roland@baalperazim.frob.com>
1345
159d4836
RM
1346 * hurd/hurdsig.c (_hurdsig_init): Add assertion that no pending,
1347 unblocked signals are set in the startup masks.
1348
fc7af6d6
RM
1349 * hurd/hurdsig.c (_hurdsig_init): Take new args, INTARRAY and
1350 INTARRAYSIZE. Initialize main thread's sigstate from INIT_SIG* ints.
159d4836 1351
fc7af6d6
RM
1352 * hurd/hurd/signal.h: Update _hurdsig_init decl.
1353 * hurd/hurdinit.c (_hurd_proc_init): Take new args, INTARRAY and
1354 INTARRAYSIZE, pass them down to _hurdsig_init.
1355 * hurd/hurd.h: Update _hurd_proc_init decl.
1356
74eee886
UD
13571998-11-10 Ulrich Drepper <drepper@cygnus.com>
1358
1359 * math/cabs.c: Replace complex by _Complex.
1360 * math/cabsf.c: Likewise.
1361 * math/cabsl.c: Likewise.
1362 * math/cimag.c: Likewise.
1363 * math/cimagf.c: Likewise.
1364 * math/cimagl.c: Likewise.
1365 * math/conj.c: Likewise.
1366 * math/conjf.c: Likewise.
1367 * math/conjl.c: Likewise.
1368 * math/creal.c: Likewise.
1369 * math/crealf.c: Likewise.
1370 * math/creall.c: Likewise.
1371
1372 * sysdeps/alpha/fpu/bits/mathdef.h: Define ISO C 9X stuff only if
1373 included from math.h and __USE_ISOC9X is defined.
1374 * sysdeps/generic/bits/mathdef.h: Likewise.
1375 * sysdeps/generic/i386/fpu/mathdef.h: Likewise.
1376 * sysdeps/generic/m68k/fpu/mathdef.h: Likewise.
1377 * sysdeps/generic/powerpc/bits/mathdef.h: Likewise.
1378 * sysdeps/generic/sparc/fpu/bits/mathdef.h: Likewise.
1379
13801998-11-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1381
1382 * sysdeps/i386/fpu/bits/mathdef.h: Allow direct inclusion by
1383 <complex.h>.
1384 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
1385 * sysdeps/generic/bits/mathdef.h: Likewise.
1386 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1387 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1388 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
1389
13901998-11-09 Ulrich Drepper <drepper@cygnus.com>
1391
1392 * extra-lib.mk: Fix typo in last change.
1792d4db
UD
1393
1394 * math/complex.h: Include bits/mathdef.h to get __NO_LONG_DOUBLE_MATH
1395 is needed.
1396 Don't define long double functions if __NO_LONG_DOUBLE_MATH is defined.
1397 Don't define `complex' but instead `_Complex'. The later is the
1398 reserved keyword.
1399 * math/bits/cmathcalls.c: Define _Mdouble_complex_ using _Complex,
1400 not complex.
1401
14021998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1403
1404 * manual/libc.texinfo: Remove colon from category name.
1405 * manual/Makefile (dir-add.info): Likewise.
1406
14071998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1408
1409 * configure.in: Avoid autoconf bug.
1410
14111998-10-28 H.J. Lu <hjl@gnu.org>
1412
1413 * posix/getopt.h: Add "__" to arguments in prototypes.
1414
14151998-11-05 H.J. Lu <hjl@gnu.org>
1416
1417 * libio/iofgets.c (_IO_fgets): Don't report error
1418 if something was read in and errno is set to
1419 EAGAIN.
1420 * libio/iofgets_u.c (fgets_unlocked): Likewise.
1421
14221998-11-05 Philip Blundell <philb@gnu.org>
1423
1424 * sysdeps/unix/sysv/linux/net/if_packet.h: Don't include kernel
1425 header; it defines too much. Provide a local definition of struct
1426 sockaddr_pkt and a comment advising against its use.
1427
14281998-11-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1429
1430 * extra-lib.mk: Avoid empty include list.
1431
14321998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1433
1434 * extra-lib.mk: Add support for $(lib)-shared-only-routines.
1435
1436 * elf/Makefile (libdl-routines): Add dlopenold only if doing
1437 versioning.
1438 (libdl-shared-only-routines): New variable.
1439
14401998-11-06 Paul Eggert <eggert@twinsun.com>
1441
1442 Don't invoke localtime_r or gmtime_r unless it's the GNU C
1443 library's localtime_r and gmtime_r; there are too many buggy
1444 implementations of localtime_r and gmtime_r out there, and
1445 it's not worth keeping track of all the different bugs.
1446
1447 * time/mktime.c (__EXTENSIONS__): Remove.
1448 (<unistd.h>): No need to include.
05f732b3
UD
1449 * time/strftime.c: Likewise.
1450
1451 * time/mktime.c (_POSIX_THREAD_SAFE_FUNCTIONS, HAVE_LOCALTIME_R):
1792d4db
UD
1452 Remove.
1453 (my_mktime_localtime_r): Renamed from localtime_r; all uses changed.
1454 Base it on localtime unless _LIBC.
1455
1456 * time/strftime.c (my_strftime_gmtime_r): Renamed from gmtime_r;
1457 all uses changed.
1458 (my_strftime_localtime_r): Renamed from localtime_r; all uses changed.
1459 Base them on localtime/gmtime if not _LIBC.
05f732b3
UD
1460
14611998-11-07 Ulrich Drepper <drepper@cygnus.com>
1462
1463 * sysdeps/generic/isastream.c: Always return 0 unless it is an invalid
1464 file descriptor. This makes this function actually usable.
1465 Proposed by Mark Kettenis <kettenis@phys.uva.nl>.
1466
9a821cf9
UD
14671998-11-05 Ulrich Drepper <drepper@cygnus.com>
1468
d76bd17f
UD
1469 * math/math.h: Unconditionally include bits/mathdef.h. Declare
1470 long double functions only if __NO_LONG_DOUBLE_MATH is not
1471 defined.
1472 * sysdeps/generic/bits/mathdef.h: Define only if __USE_ISOC9X.
1473 Define __NO_LONG_DOUBLE_MATH.
1474 * sysdeps/m68k/fpu/bits/mathdef.h: Define only if __USE_ISOC9X.
1475 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1476
9a821cf9
UD
1477 * elf/rtld.c: Add a few __builtin_expects where they will improve
1478 a lot.
1479
c0016081
UD
14801998-11-05 Ulrich Drepper <drepper@cygnus.com>
1481
fe959e1e
UD
1482 * version.h (VERSION): Bump to 2.0.100.
1483
c0016081
UD
1484 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Fix fldl -> fld.
1485
1486 * sysdeps/libm-i387/s_fma.S: Optimize a bit.
1487 * sysdeps/libm-i387/s_fmaf.S: Likewise.
1488
9a821cf9
UD
14891998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1490
1491 * libio/genops.c (_IO_least_marker): Add additional parameter
1492 end_p replacing fp->_IO_read_end.
1493 (save_for_backup): Likewise. All callers changed. Use _IO_size_t
1494 and _IO_ssize_t instead of int.
1495 (_IO_switch_to_main_get_area): Remove use of _IO_save_ptr.
1496 (_IO_switch_to_backup_area): Likewise. Fix comments.
1497 (_IO_seekmark): Undo last change.
1498 (_IO_default_pbackfail): Correct use of backup area.
1499 * libio/libio.h (_IO_FILE_complete): Remove _IO_save_ptr.
1500
c0016081
UD
15011998-11-04 19:47 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1502
1503 * configure.in: Search for install-info and substitute it.
1504 Determine whether install-info is the buggy Debian version
1505 that doesn't understand INFO-DIR-SECTION.
1506 * config.make.in: Add INSTALL_INFO and OLD_DEBIAN_INSTALL_INFO
1507 to be substituted.
1508 * manual/Makefile: If OLD_DEBIAN_INSTALL_INFO, give
1509 install-info the --section argument it needs to work properly.
1510 (dir-add.texinfo): Delete target.
1511 (dir-add.info): Generate this directly. Sort entries. Put a
1512 colon at the end of the INFO-DIR-SECTION line.
1513 * manual/libc.texinfo: Put a colon at the end of the
1514 @dircategory line.
1515
15161998-11-05 Paul Eggert <eggert@twinsun.com>
1517
1518 * time/mktime.c (__mktime_internal): Adopt the traditional (and
1519 problematic) notion of what to do when tm_isdst doesn't match.
1520
15211998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1522
1523 * posix/PTESTS: Fix spelling.
1524
ff8ac383
UD
15251998-11-04 Ulrich Drepper <drepper@cygnus.com>
1526
1527 * misc/efgcvt_r.c (fcvt_r): Remove code which tries to use libm
1528 functions. Reduce error in computing normalized value by multiplying
1529 factor in loop and compute result in one step.
a92599ea
UD
1530 Reported by Christian Gafton.
1531
1532 * sysdeps/libm-i387/e_hypot.S: New file.
1533 * sysdeps/libm-i387/e_hypotf.S: New file.
ff8ac383 1534
c0016081
UD
15351998-11-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1536
1537 * elf/dlopenold.c: Compile only if DO_VERSIONING is also defined.
1538
15391998-11-03 H.J. Lu <hjl@gnu.org>
1540
1541 * libio/fileops.c (new_do_write): New function.
1542 (_IO_new_do_write): Call new_do_write.
1543 (_IO_new_file_xsputn): Likewise.
1544
1545 * libio/oldfileops.c (old_do_write): New function.
1546 (_IO_old_do_write): Call old_do_write.
1547 (_IO_old_file_xsputn): Likewise.
1548
3ddfec55
UD
15491998-11-04 Ulrich Drepper <drepper@cygnus.com>
1550
98b567ff
UD
1551 * time/mktime.c (__mktime_internal): Correct last change. We must
1552 stop searching for the right isdst value before stepping to the
1553 initial value.
1554
3ddfec55
UD
1555 * malloc/malloc.c: Make sure calloc really returned zeroed memory.
1556 Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
1557
f540c0a4
UD
15581998-11-02 16:12 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1559
1560 * sysdeps/generic/bits/signum.h: Define signals with their
1561 historical numbers when those are in the 1-15 range and
1562 consistent across platforms.
1563 Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC.
1564 Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast
1565 appropriately instead of with fake function declarations
1566 (would cause link errors).
1567 If __USE_UNIX98, define SIG_HOLD.
1568
15691998-10-29 H.J. Lu <hjl@gnu.org>
1570
1571 * sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use
1572 union only if __USE_POSIX199309 is defined.
1573
1574 * misc/sys/select.h (pselect): Declared only if __USE_GNU is
1575 defined.
1576
5fea58fb
UD
15771998-11-03 Ulrich Drepper <drepper@cygnus.com>
1578
1579 * time/mktime.c (__mktime_internal): Handle broken down times
1580 around the time of the DST switches more correctly.
1581
e254df14
UD
15821998-11-02 Ulrich Drepper <drepper@cygnus.com>
1583
1584 * elf/Makefile (libdl-routines): Add dlopenold.
1585 * elf/Versions [libdl, GLIBC_2.1]: Add dlopen.
1586 * elf/dl-open.c (_dl_open): Check whether RTLD_LAZY or RTLD_GLOBAL
1587 is set and bounce otherwise.
1588 * elf/dlopen.c: Rename function to __dlopen_check and make version
1589 named dlopen.
1590 * elf/dlopenold.c: New file.
1591
e3e35cfc
UD
15921998-11-02 Ulrich Drepper <drepper@cygnus.com>
1593
1594 * elf/Versions [libc, GLIBC_2.01]: Add _dl_global_scope_alloc.
1595 * elf/dl-open.c (_dl_global_scope_alloc): Move definition to
1596 * elf/dl-deps.c: ...here.
1597 * elf/dl-open.c (dl_open_worker): Call _dl_map_object_deps with
1598 new parameter and expect result. Remove code handling RTLD_GLOBAL.
1599 Add return value of _dl_map_object_deps to
1600 _dl_main_searchlist->r_nlist.
1601 * elf/dl-deps.c (_dl_map_object_deps): Change to return value.
1602 If we parameter GLOBAL is nonzero add object and dependencies to
1603 the global scope.
1604 * elf/ldsodefs.h: Adapt prototype for _dl_map_object_deps.
1605 * elf/rtld.c (dl_main): Call _dl_map_object_deps with new parameter.
1606 Mark all objects as in global scope.
1607 * elf/dl-object.c (_dl_new_object): Initialize l_global to zero.
1608
1609 * sysdeps/unix/sysv/linux/bits/sockunion.h: Add Econet support.
1610
1611 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add .L prefix to symbols
1612 used in macro magic.
1613
5fea58fb
UD
16141998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1615
f540c0a4
UD
1616 * sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
1617 before <sys/socket.h> to make sockaddr_at available to
1618 <sys/socket.h>.
e3e35cfc
UD
1619
1620 * posix/glob.h: Remove __P from parameter lists of declarations.
5fea58fb
UD
1621
16221998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1623
1624 * time/tzset.c (tz_compute): Remove unused parameter timer.
1625 Change caller.
1626
16271998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
1628
1629 * sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef.
1630
160698e2
UD
16311998-11-02 Ulrich Drepper <drepper@cygnus.com>
1632
1633 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Remove
1634 unnecessary test and add cast.
1635
16361998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1637
1638 * posix/getconf.c: Add initializer SYSCONF for CHARCLASS_NAME_MAX.
1639
1640 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Remove unused
1641 parameter fd.
1642 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1643
16441998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
1645
1646 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
1647 fds_bits member.
1648 (__FDMASK): Use __fd_mask instead of unsigned long int in cast.
1649
16501998-10-31 Richard Henderson <rth@cygnus.com>
1651
1652 * math/Makefile (gmp-objs): Add udiv_qrnnd.
1653
1654 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL*): New.
1655 (inline_syscall*): New.
1656 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): New.
1657 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Kill __syscall* bits.
1658
256705f4
UD
16591998-10-31 Ulrich Drepper <drepper@cygnus.com>
1660
1661 * aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to
1662 avoid ld test generating an unwanted file.
1663
c55be36d
UD
1664 * posix/PTESTS: Remove comment about incorrect test (it is correct).
1665
160698e2
UD
16661998-10-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1667
1668 * sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t.
1669 * sunrpc/pmap_rmt.c: Initialize clnt_stat variable.
1670 * sunrpc/rpc/auth_des.h: Use uint32_t for time values.
1671 * sunrpc/rpc/xdr.h: Add INT32 support.
a1129917 1672 * sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t .
160698e2
UD
1673
1674 * nis/nis_call.c: Changes for new 64bit clean NIS+ interface.
1675 * nis/nis_callback.c: Likewise.
1676 * nis/nis_creategroup.c: Likewise.
1677 * nis/nis_defaults.c: Likewise.
1678 * nis/nis_intern.h: Likewise.
1679 * nis/nis_lookup.c: Likewise.
1680 * nis/nis_ping.c: Likewise.
1681 * nis/nis_print.c: Likewise.
1682 * nis/nis_table.c: Likewise.
1683 * nis/nis_util.c: Likewise.
1684 * nis/nis_xdr.c: Likewise.
1685 * nis/rpcsvc/nis.h: Likewise.
1686 * nis/rpcsvc/nis.x: Likewise.
1687 * nis/rpcsvc/nis_callback.h: Likewise.
1688 * nis/rpcsvc/nis_object.x: Likewise.
1689 * nis/rpcsvc/nislib.h: Likewise.
1690
1691 * nis/rpcsvc/yp.h: Remove casts to (u_long).
1692 * nis/rpcsvc/yp_prot.h: Likewise.
1693 * nis/rpcsvc/ypupd.h: Likewise.
1694 * nis/ypclnt.c: Change %ld to %d in sprintf.
1695
16961998-10-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1697
1698 * manual/locale.texi (Formatting Numbers): Fix strfmon examples.
1699
17001998-10-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1701
1702 * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain
1703 0, __fd_mask is usually not a char.
1704
17051998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1706
1707 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow
1708 compilation on systems without rt_* syscalls (e.g. on Linux 2.0).
1709 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
1710 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1711 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1712 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise
1713 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1714 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1715
1716 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow
1717 compiling on systems without rt_sigaction syscall.
1718 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction):
1719 Likewise.
1720
17211998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1722
1723 * time/strptime.c (HERE_D_FMT): Fix typo.
1724 Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842.
1725
a3b2008a
UD
17261998-10-30 Ulrich Drepper <drepper@cygnus.com>
1727
646fffb9
UD
1728 * catgets/Makefile (tests): Add rules to run gencat on test1.msg.
1729 (generate): Add test1.cat and test1.h.
1730 (distribute): Add test1.msg.
655b26bb 1731 * catgets/test1.msg: New file.
646fffb9 1732
a3b2008a
UD
1733 * catgets/gencat.c: Do a better job in initializing dynamic
1734 memory [PR libc/844].
1735
00995ca9
UD
17361998-10-30 18:11 Ulrich Drepper <drepper@cygnus.com>
1737
1738 * iconv/gconv_conf.c (__gconv_read_conf): Don't define as
1739 internal_function since it is called through a pointer.
1740 * iconv/gconv_db.c (free_derivation): Likewise.
1741 * iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.
1742
1743 * posix/wordexp.c: Add internal_function to parse_backtick definition.
1744 * rt/aio_misc.c: Add internal_function to __aio_free_request,
1745 __aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
1746 definitions.
1747 * rt/aio_notify.c: Add internal_function to __aio_notify_only and
1748 __aio_notify definitions.
1749 * wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.
1750
e980ca92
UD
17511998-10-30 Ulrich Drepper <drepper@cygnus.com>
1752
1753 * Makerules (build-shlib): Add -O to generate optimized shared
1754 objects.
1755
0e19d4a3
UD
17561998-10-30 11:15 Ulrich Drepper <drepper@cygnus.com>
1757
1758 * sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix.
1759 * sysdeps/libm-i387/e_fmodf.S: Likewise.
1760 * sysdeps/libm-i387/e_fmodl.S: Likewise.
1761 * sysdeps/libm-i387/s_ilogb.S: Likewise.
1762 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
1763 * sysdeps/libm-i387/s_logb.S: Likewise.
1764 * sysdeps/libm-i387/s_logbf.S: Likewise.
1765 * sysdeps/libm-i387/s_remquo.S: Likewise.
1766 * sysdeps/libm-i387/s_remquof.S: Likewise.
1767 * sysdeps/libm-i387/s_remquol.S: Likewise.
1768 * sysdeps/libm-i387/s_significand.S: Likewise.
1769 * sysdeps/libm-i387/s_significandf.S: Likewise.
1770
17711998-10-30 Geoff Keating <geoffk@ozemail.com.au>
1772
1773 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct
1774 _llseek.
1775
17761998-10-30 Geoff Keating <geoffk@ozemail.com.au>
1777
1778 * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.
1779
c5e340c7
UD
17801998-10-29 Ulrich Drepper <drepper@cygnus.com>
1781
b0882748
UD
1782 * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
1783 returns without cleaning up the lock.
d8334b9a 1784 (printf_unknown): Add label all_done.
b0882748 1785
7dc7f7b2
UD
1786 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
1787 kernels in mind when reading /proc/self/fd/FD.
1788 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1789
67a96999
UD
1790 * nscd/nscd.c (doc): It's "Name Service" not "Name Switch".
1791
d5cabaa4
UD
1792 * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
1793 _fitoa.
1794
c5e340c7
UD
1795 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
1796 /prof/self/fd/FD first.
1797 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1798
1799 * stdio-common/_itoa.h (_fitoa_word): New inline function. Write
1800 formatted number starting at given position and return pointer to
1801 following byte.
1802 (_fitoa): Likewise, for long long.
1803
cf3a0eca
RM
18041998-10-29 Roland McGrath <roland@baalperazim.frob.com>
1805
1806 * sysdeps/unix/sysv/linux/bits/sem.h,
1807 sysdeps/unix/sysv/linux/bits/ipc.h,
1808 sysdeps/unix/sysv/linux/bits/shm.h,
1809 sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
1810 * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
1811 sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
1812 so the same bits will be used for the Hurd.
1813
f3c1143b
UD
18141998-10-29 Ulrich Drepper <drepper@cygnus.com>
1815
1816 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
1817 compiling on systems without rt_sigaction syscall.
1818
18191998-10-12 Philip Blundell <pb@nexus.co.uk>
1820
1821 * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
1822 directories as well as add them.
1823
18241998-10-28 Philip Blundell <pb@nexus.co.uk>
1825
1826 * sysdeps/unix/sysv/linux/neteconet/ec.h: New file. Support for
1827 AF_ECONET sockets as found in recent Linux 2.1 kernels.
1828 * sysdeps/unix/sysv/linux/Dist: Distribute it.
1829 * sysdeps/unix/sysv/linux/Makefile: Install it.
1830
18311998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1832
1833 * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
1834
18351998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1836
1837 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
1838 fds_bits member.
1839 * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
1840 * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
1841 * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
1842 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
1843 Likewise.
1844 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
1845 Likewise.
1846 * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
1847 __FD_ISSET): Use it.
1848 * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
1849 __FD_ISSET): Likewise.
6e2cc2c1 1850
91cc83ff
UD
18511998-10-28 Geoff Keating <geoffk@ozemail.com.au>
1852
1853 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
1854 llseek.
1855
c70ca1fa
UD
1856 * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
1857 Instead call the system call wrapper function using an 64bit argument.
1858 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
1859 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
1860 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1861
2898c3a5
UD
18621998-10-27 Ulrich Drepper <drepper@cygnus.com>
1863
7e986b8b
UD
1864 * signal/signal.h: Don't include <time.h> for timespec, add
1865 forward declaration.
1866
2898c3a5
UD
1867 * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
1868 of __FD_* macros which use __fds_bits.
1869 * sysdeps/generic/bits/select.h: Likewise.
1870 Reported by Matt McLean <keys@yikes.com>.
1871
c1a61edb
UD
18721998-10-27 Philip Blundell <pb@nexus.co.uk>
1873
1874 * elf/elf.h: Update ARM definitions.
1875
cc368887
UD
18761998-10-27 Ulrich Drepper <drepper@cygnus.com>
1877
1878 * signal/signal.h: Include bits/sigthread.h only for Unix98.
1879
665a657e
UD
18801998-10-26 Ulrich Drepper <drepper@cygnus.com>
1881
a8eab8b1
UD
1882 * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
1883 define __builtin_expect as a macro substituting to the first
1884 argument.
1885 * config.h.in: Define HAVE_BUILTIN_EXPECT.
1886 * configure.in: Add test for __builtin_expect.
1887
665a657e
UD
1888 * sysdeps/unix/sysv/linux/bits/types.h: Include
1889 bits/pthreadtypes.h only not for POSIX 199506.
1890 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1891 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1892 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1893
48ab6a9e
UD
18941998-10-26 Mark Kettenis <kettenis@phys.uva.nl>
1895
1896 * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
1897 * socket/Versions [libc, GLIBC_2.0]: ... to here.
1898
992af677
UD
18991998-10-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1900
1901 * include/stdio.h: Included <stddef.h> for size_t.
1902
1903 * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
1904 to ...
1905 * include/stdio.h: ...here.
1906 * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
1907
0e103c6d
UD
19081998-10-26 11:09 Ulrich Drepper <drepper@cygnus.com>
1909
1910 * time/Makefile (tests): Add tst-posixtz.
1911 * time/tst-posixtz.c: New file.
1912
19131998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1914
1915 * elf/rtld.c (process_envvars): Accept any non-null value of
1916 LD_BIND_NOW, as mandated by the ABI.
1917
19181998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1919
1920 * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
1921 __syscall_pread.
1922 * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
1923 __syscall_pwrite.
1924 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
1925 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1926 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1927 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1928 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. Remove
1929 duplicate entries.
1930 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
1931 s_pread64 and s_pwrite64.
1932 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
1933
19341998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1935
1936 * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
1937 * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
1938 to __syscall__llseek.
1939 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1940 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1941 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
1942 __sys_llseek.
1943
19441998-10-26 Cristian Gafton <gafton@redhat.com>
1945
1946 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
1947 and s_setfsuid.
1948
19491998-10-26 Ulrich Drepper <drepper@cygnus.com>
1950
1951 * time/tzset.c (tz_compute): Correct last patch and describe this
1952 in a comment.
1953
d499a27c
AS
19541998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1955
1956 * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
1957 rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
1958 rt_sigaction and rt_sigpending.
1959 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
1960 for __syscall_* functions.
1961 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
1962
c2ef7930
RM
19631998-10-26 Roland McGrath <roland@baalperazim.frob.com>
1964
1965 * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
1966 _hurd_dtable_lock, _hurd_intern_fd.
1967
1968 * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
1969 cthread_getspecific, cthread_setspecific, __libc_getspecific.
1970
1971 * mach/Versions: Fix typo in last change.
1972
1938c489
UD
19731998-10-25 Ulrich Drepper <drepper@cygnus.com>
1974
1975 * time/tzset.c (tz_compute): If time to switch to DST is later in
1976 the year switch back in the next year.
1977 Reported by jwitford@hutch.com.au.
c2ef7930 1978
a825f8e8
RM
19791998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
1980
1981 * mach/Versions: Add evc_wait, mach_error, mach_error_string,
1982 mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
1983 Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
1984 __mach_port_allocate, __mach_port_allocate_name,
c2ef7930
RM
1985 __mach_port_insert_right __mutex_trylock, __mutex_lock,
1986 __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
1987 __task_set_special_port, __task_terminate, __thread_depress_abort,
1988 __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These
1989 functions are not used outside libc.
a825f8e8
RM
1990
1991 * sysdeps/mach/hurd/Versions: New file.
1992 [libc, GLIBC_2.0]: Add _cthread_exit_routine and
1993 _cthread_init_routine. These are set by the Hurd cthreads library.
1994 Add __getcwd, __mmap. If we don't add these, the weak definitions in
1995 the dynamic linker will not be replaced by the corresponding shared
1996 library routines once they are loaded.
1997
19981998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
1999
2000 * sysdeps/mach/hurd/i386/init-first.c: Only define
2001 __libc_enable_secure if PIC is not defined.
2002
20031998-10-25 Roland McGrath <roland@baalperazim.frob.com>
2004
2005 * argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
2006 to recurse into argp.
2007
4a582094
UD
20081998-10-25 Ulrich Drepper <drepper@cygnus.com>
2009
2010 * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
2011 greater or equal than 199506L.
2012
2013 * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
2014 only is __USE_XOPEN. Otherwise use __fds_bits.
2015 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2016 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2017 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
2018 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2019 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2020
20211998-10-24 H.J. Lu <hjl@gnu.org>
2022
2023 * locale/programs/charmap.c (parse_charmap): Accept tok_string
2024 for <code_set_name>.
2025
20261998-10-25 H.J. Lu <hjl@gnu.org>
2027
2028 * locale/programs/ld-ctype.c (ctype_finish): Also check
2029 <space>.
2030
20311998-10-25 Ulrich Drepper <drepper@cygnus.com>
2032
2033 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
2034
2035 * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
2036 if __USE_POSIX199506 or __USE_UNIX98.
2037
20381998-10-24 22:34 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2039
2040 * string/bits/string2.h: Inline strdup+friends only if
2041 __USE_MISC || __USE_GNU (prevents namespace pollution).
2042
20431998-10-24 H.J. Lu <hjl@gnu.org>
2044
2045 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
2046 LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
2047 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
2048 LOCK_NB, LOCK_UN): Likewise.
2049 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
2050 LOCK_NB, LOCK_UN): Likewise.
2051 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
2052 LOCK_NB, LOCK_UN): Likewise.
2053 * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
2054 LOCK_NB, LOCK_UN): Likewise.
2055
20561998-10-24 H.J. Lu <hjl@gnu.org>
2057
2058 * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
2059
2060 * libio/rewind.c (rewind): Clear the error.
2061
20621998-10-24 H.J. Lu <hjl@gnu.org>
2063
2064 * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
2065 "buffer".
2066
20671998-10-24 H.J. Lu <hjl@gnu.org>
2068
2069 * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
2070 with __need_timeval.
2071 * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
2072 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
2073
20741998-10-24 H.J. Lu <hjl@gnu.org>
2075
2076 * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
2077 sigqueue): Protect with __USE_POSIX199309.
2078
20791998-10-24 H.J. Lu <hjl@gnu.org>
2080
2081 * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
2082 __USE_POSIX.
2083
20841998-10-24 H.J. Lu <hjl@gnu.org>
2085
2086 * libio/fileops.c (_IO_new_file_seekoff): Always resync with
2087 the kernel file offset.
2088 * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
2089
88455219
UD
20901998-10-24 H.J. Lu <hjl@gnu.org>
2091
2092 * time/tzfile.c (__tzfile_default): Set num_types to 2.
2093
20941998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2095
2096 * rt/aio.h: Move __aio_init to...
2097 * include/aio.h: ...here.
2098
20991998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2100
2101 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
2102 definition of O_LARGEFILE.
2103
21041998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2105
2106 * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
2107 as first argument to statfs.
2108
21091998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2110
2111 * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
2112
21131998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2114
2115 * malloc/mtrace.c: Include <string.h> for strlen.
2116
3c068816
RM
21171998-10-24 Roland McGrath <roland@baalperazim.frob.com>
2118
184edc95
RM
2119 * sysdeps/mach/hurd/bits/environments.h: New file.
2120
3c068816
RM
2121 * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
2122
2123 * mach/Versions, hurd/Versions: Add numerous symbols.
2124 Remove libmachuser and libhurduser sections, punt
2125 versioning for those libraries for now.
2126
2127 * misc/Versions: Add reboot here; it exists on all platforms.
2128 * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
2129
fc40fc6c
UD
21301998-10-23 Ulrich Drepper <drepper@cygnus.com>
2131
2132 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
2133 macro.
2134 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
2135 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
2136 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
2137 O_NOFOLLOW, O_DIRECT): New macros.
2138 (O_DIRECTORY): Correct definition according to official 2.1.126.
2139 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
2140 O_NOFOLLOW): New macros.
2141
b1fcf686
RM
21421998-10-24 Roland McGrath <roland@baalperazim.frob.com>
2143
d606f528
RM
2144 * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
2145
b1fcf686
RM
2146 * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
2147 (__opendir): Add trailing slash to name for open, for ENOTDIR check.
2148
24f25de6
UD
21491998-10-23 Ulrich Drepper <drepper@cygnus.com>
2150
0d486134
UD
2151 * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
2152 setfsuid.c, and setfsgid.c.
2153 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
2154 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
2155 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
2156
24f25de6
UD
2157 * version.h (VERSION): Bump to 2.0.99.
2158
8a6da7e6
UD
2159 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
2160 ustat definition.
2161
1e8f0e3e
UD
2162 * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
2163 s_pwrite64.c.
2164
24f25de6
UD
2165 * posix/fnmath.h: Don't redefine __P when used in glibc.
2166 * posix/glob.h: Likewise.
2167
2168 * inet/rcmd.c (__ivaliduser2): Fix memory leak.
2169 Patch by Dick Streefland <dick_streefland@tasking.com>.
2170
2171 * stdio-common/tst-ungetc.c: Add more test cases.
2172
2173 * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
2174 * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
2175 definitions to ...
2176 * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file.
2177 * sysdeps/unix/sysv/linux/fpathconf.c: New file.
2178 * sysdeps/unix/sysv/linux/pathconf.c: New file.
2179 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
2180 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
2181
21821998-10-20 Philip Blundell <pb@nexus.co.uk>
2183
2184 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
2185 <asm/ptrace.h> to define struct pt_regs.
2186 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
2187 including <asm/ptrace.h> here.
2188
2189 * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
2190 C_SYMBOL_NAME macro.
2191
21921998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2193
2194 * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
2195 end of enumerator list.
2196 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
2197 * posix/wordexp.h: Likewise.
2198
2199 * db/db.h: Use __PMT instead of __P in typedefs.
2200 * db/mpool.h: Likewise.
2201 * sysdeps/generic/bits/siginfo.h: Likewise.
2202 * nis/rpcsvc/ypclnt.h: Likewise.
2203
d6787ff2
UD
22041998-10-23 Ulrich Drepper <drepper@cygnus.com>
2205
2206 * libio/genops.c (_IO_seekmark): When switching to backup buffer
2207 make sure all characters from the read buffer are read after
2208 switching back to it.
2209
98393660
UD
22101998-10-22 Ulrich Drepper <drepper@cygnus.com>
2211
2212 * configure.in: Add support for Cygnus GNUPro compilers.
2213
84c8da0e
UD
22141998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2215
2216 * stdio/stdio.h: Use __PMT instead of __P in typedefs.
2217
2218 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
2219 of __P for sa_restorer.
2220 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
2221 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
2222 kernel_sigaction, old_kernel_sigaction): Likewise.
2223
ed304158
UD
22241998-10-22 Ulrich Drepper <drepper@cygnus.com>
2225
c7f5a0c7
UD
2226 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
2227 and __syscall_pwrite aliases.
2228
ed304158 2229 * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES.
78e5779b
UD
2230
2231 * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
2232 improve INLINE_SYSCALL using macro assembler magic.
2233
9271a050
UD
22341998-10-22 H.J. Lu <hjl@gnu.org>
2235
2236 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
2237 sanity check for n.
2238 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
2239
2240 * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
2241 EINVAL if errno == ENODEV. Tested by VSX-PCT.
2242
2243 * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested
2244 by VSX-PCT.
2245
2246 * posix/execvp.c (execvp): Check "". Tested by VSX-PCT.
2247
e595c802
UD
22481998-10-22 Philip Blundell <pb@nexus.co.uk>
2249
2250 * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
2251 __ASSEMBLER__.
2252
7bb38c70
UD
22531998-10-21 Ulrich Drepper <drepper@cygnus.com>
2254
2255 * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
2256 and adjust formats.
2257
0dee6738
UD
22581998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com>
2259
2260 * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call
2261 __syscall_* function.
2262 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
2263 of calling __syscall_* function.
2264 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
2265 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
2266 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2267 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2268 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
2269 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
2270 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
2271 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2272 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2273 * sysdeps/unix/sysv/linux/poll.c: Likewise.
2274 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2275 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2276 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
2277 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2278 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2279 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2280 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
2281 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2282 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
2283 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2284 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2285 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
2286 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2287 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
2288 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2289 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2290 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
2291 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
2292 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2293 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
2294 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
2295 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2296 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2297 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
adcb550c 2298 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
0dee6738
UD
2299 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2300 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2301 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
2302 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2303 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2304 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2305 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
2306
2307 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
2308 inline assembler.
2309 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
2310 __syscall_* definitions.
2311
2312 * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
2313 definitions to...
2314 * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
2315 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
2316 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
2317 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
2318 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
2319 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
2320 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
2321
adcb550c
UD
2322 * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
2323 Move definition to...
2324 * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
2325 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
2326 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
2327 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
2328 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
2329 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
2330 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
2331
0dee6738
UD
2332 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
2333 (sysdep_routines): Remove s_pread64 and s_pwrite64.
2334
2335 * sysdeps/unix/sysv/linux/i386/pread.c: New file.
2336 * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
2337 * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
2338 * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
2339 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
2340 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
2341
23421998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2343
2344 * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
2345 and bring them in synch.
2346 * sysdeps/unix/siglist.c: Likewise.
2347 Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
2348
23491998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2350
2351 * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
2352 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2353
2354 * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
2355 * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
2356 * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
2357 * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
2358 * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
2359 * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
2360 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
2361 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
2362 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
2363 s_setregid.
2364 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
2365 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2366 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2367
23681998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2369
2370 * sunrpc/rpc_main.c (close_output, close_input): New functions.
2371 (c_output, h_output, s_output, l_output, t_output, svc_output,
2372 clnt_output, mkfile_output): Call them at the end.
2373
23741998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2375
2376 * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
2377 link command.
2378
39f0e778
AS
23791998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2380
2381 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
2382 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
2383
d523c981
UD
23841998-10-20 Ulrich Drepper <drepper@cygnus.com>
2385
2386 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
2387 s_pwrite64.
2388 * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
2389 * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
2390 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
2391 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
2392 Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
2393
0dee6738
UD
23941998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
2395
2396 * sysdeps/unix/opendir.c: Check at runtime for kernel support for
2397 O_DIRECTORY.
2398
23991998-10-20 H.J. Lu <hjl@gnu.org>
2400
2401 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
2402 argument types.
2403
4bd8be48
UD
24041998-10-19 Ulrich Drepper <drepper@cygnus.com>
2405
48244d09
UD
2406 * math/tgmath.h: Make nested function calls work.
2407
10411f2d
UD
2408 * include/ldsodefs.h: Fix typo.
2409
a9b171ef
UD
2410 * posix/Makefile (tests): Add tst-preadwrite.
2411 * posix/tst-preadwrite.c: New file.
2412
4bd8be48
UD
2413 * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
2414 sure that descriptor is in any case for a directory.
2415
cfb32a6c
UD
24161998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2417
2418 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
2419 (atan2): Takes two arguments.
2420
ce85d65b
UD
24211998-10-19 Ulrich Drepper <drepper@cygnus.com>
2422
2423 * include/ldsodefs.h: New file.
2424
2425 * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
2426 Remove change to avoid using _CALL_DL_FCT.
2427 * iconv/gconv_db.c: Likewise.
2428 * iconv/gconv_dl.c: Likewise.
2429 * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
2430 * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
2431 * nss/nsswitch.c: Likewise.
2432 * nss/nsswitch.h: Likewise.
2433
24341998-10-19 Philip Blundell <pb@nexus.co.uk>
2435
2436 * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
2437 required libraries.
2438 * login/Makefile (otherlibs): Likewise.
2439 * nscd/Makefile (otherlibs): Likewise.
2440 * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
2441
2442 * debug/Makefile (install-bin): Only build catchsegv if using ELF.
2443
2444 * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
2445
24461998-10-19 Philip Blundell <pb@nexus.co.uk>
2447
2448 * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
2449 and setfsuid.
2450
24511998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2452
2453 * nscd/connections.c: Fix typos in comments and strings.
2454
2455 * nscd/nscd.conf: Update according to recent changes to nscd.
2456
2457 * nscd/cache.c (prune_cache): Remove wrong comment.
2458
816e6eb5
UD
24591998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
2460
2461 * locale/programs/ld-collate.c (collate_startup): Clear bit for this
2462 category in copy_posix.
2463 (collate_finish): Don't warn about UNDEFINED not being defined.
2464 * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
2465 category in copy_posix.
2466 * locale/programs/ld-messages.c (messages_startup): Likewise.
2467 * locale/programs/ld-monetary.c (monetary_startup): Likewise.
2468 * locale/programs/ld-numeric.c (numeric_startup): Likewise.
2469 * locale/programs/ld-time.c (time_startup): Likewise.
2470 * locale/programs/localedef.c: Move copy_def_list_t definition into
2471 locales.h. Define copy_posix variable.
2472 (main): Before processing copy list add &copy_posix to copy_list.
2473 * locale/programs/locales.h: Add definition of copy_def_list_t.
2474 * locale/programs/locfile.c: Clear bit for appropriate category in
ce85d65b 2475 copy_posix.mask for copy instruction.
816e6eb5 2476
685c1676
UD
24771998-10-19 Ulrich Drepper <drepper@cygnus.com>
2478
2479 * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
2480 non-existing file with generic implementation.
2481 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2482
24831998-10-19 Philip Blundell <pb@nexus.co.uk>
2484
2485 * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
2486 defined. Avoid using _CALL_DL_FCT if it is not defined.
2487 * iconv/gconv.c: Likewise.
2488
9bbe7c3b
UD
24891998-10-19 Ulrich Drepper <drepper@cygnus.com>
2490
34489d95
UD
2491 * nscd/connections.c (dbs): Define defualt values for timeouts and
2492 set enabled to 0 by default.
2493 (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in
2494 nscd_run.
2495
9bbe7c3b
UD
2496 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
2497 character >= 0x80.
2498 (_nl_C_LC_CTYPE_class32): Likewise.
2499 Reported by HJ Lu.
2500
7d25696a
RM
25011998-10-19 Roland McGrath <roland@baalperazim.frob.com>
2502
2503 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
2504 _HURD_THREADVAR_DL_ERROR.
2505
2506 * hurd/Makefile (user-interfaces): Add login, password.
2507
2508 * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
2509
37eb58de
RM
25101998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
2511
2512 [submitted 1998-08-06]
2513 * mach/Machrules: Create target directory and force re-evaluation
2514 of Makefile to prevent `make' from optimizing away most of the
2515 implicit rules and `vpath' directives.
2516
7434cee2
RM
25171998-10-19 Roland McGrath <roland@baalperazim.frob.com>
2518
37eb58de
RM
2519 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
2520 is null, short-circuit to __mach_msg.
2521
a13d5ca5
RM
2522 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
2523 broken out of init1.
2524 (init1) [PIC]: Call it.
2525 (__libc_init_first) [! PIC]: Call it.
2526
7434cee2
RM
2527 * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
2528 __libc_init_secure. Instead set __libc_enable_secure here from
2529 the exec flags.
2530 (__libc_enable_secure): New variable it.
2531 * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
2532
3f804c95
RM
25331998-10-19 Roland McGrath <roland@baalperazim.frob.com>
2534
2535 * nscd/nscd-client.h: New file, broken out of "nscd.h".
2536 * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
2537 and #include that.
2538 * nscd/Makefile (distribute): Add nscd-client.h.
2539 * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
2540 Include "nscd-client.h" instead of "nscd.h"
2541
67479a70
UD
25421998-10-18 Ulrich Drepper <drepper@cygnus.com>
2543
74f7e7c0
UD
2544 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
2545 directory entries when a lstat call fails.
2546 Patch by Colin Plumb <colin@nyx.net>.
2547
67479a70
UD
2548 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
2549 NSS functions.
2550 * resolv/nss_dns/dns-network.c: Likewise.
2551
9bbe7c3b 2552 * grp/Makefile: Don't search for linuxthreads in add-ons, use
67479a70
UD
2553 have-thread-library to determine whether threads are available.
2554 * pwd/Makefile: Remove wrong comment.
2555
2556 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
2557 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
2558
2559 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
2560
2561 * nss/Versions: Add __nss_hosts_lookup.
2562
2563 * nss/getXXbyYY.c: Remove unneeded assignment.
2564
2565 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
2566
2567 Almost complete rewrite of the NSCD to make it smaller, faster,
2568 add more functionnality and make it easier to extend.
2569 * nscd/Makfile (routines): Add nscd_gethst_r.
2570 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
2571 * nscd/cache.c: New file.
2572 * nscd/gethstbyad_r.c: New file.
2573 * nscd/gethstbynm2_r.c: New file.
2574 * nscd/hstcache.c: New file.
2575 * nscd/nscd_gethst_r.c: New file.
2576 * nscd/connections.c: Rewritten. Don't start new thread for every
2577 new connection. Use a fixed set of threads which handle all
2578 connections and also the cache cleanup.
2579 * nscd/grpcache.c: Rewritten to use generic cache handling functions
2580 in cache.c.
2581 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
2582 for rewrite. Remove handle_requests function.
2583 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
2584 Define new data structure for the new unified cache and the host
2585 database entries.
2586 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
2587 databases easily. Recognize check-files and threads definitions.
2588 * nscd/nscd.conf: Add definition of enable-cache and check-files to
2589 passwd and group definitions. Add new set of definitions for hosts.
2590 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
2591 * nscd/nscd_getpw_r.c: Likewise.
2592 * nscd/nscd_proto.h: Add prototype for host database functions.
2593 * nscd/nscd_stat.c: Rewrite to simplify printing of information
2594 for many databases.
2595 * nscd/dbg_log.c: Remove unnecessary variable initializations.
2596 Global variable debug_flag is renamed to dbg_level.
2597 * nscd/dbg_log.h: Declare set_logfile.
2598
6cde0c60
UD
25991998-10-16 Ulrich Drepper <drepper@cygnus.com>
2600
2601 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
2602 O_LARGEFILE back.
2603
c7a9f249
UD
26041998-10-16 Paul Eggert <eggert@shade.twinsun.com>
2605
2606 * time/mktime.c: Some systems require <unistd.h> to be
2607 included before <time.h> for localtime_r to be declared
2608 properly.
2609 * time/strftime.c: Likewise.
2610
9ffbb612
UD
26111998-10-16 Ulrich Drepper <drepper@cygnus.com>
2612
0049f576
UD
2613 * db/Makefile: Add rule to generate shared object with the soname
2614 from glibc 2.0.
2615
9ffbb612
UD
2616 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
2617 available double check to verify it's a directory.
2618
2619 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
2620 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
2621 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
2622 are not generally available.
2623 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
2624
2625 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
2626 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
2627 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
2628 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
2629 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
2630 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
2631 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
2632 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
2633 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
2634 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
2635 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
2636 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
2637 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
2638 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
2639 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
2640 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
2641 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
2642 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
2643 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
2644 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
2645 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
2646 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
2647 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
2648 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
2649 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
2650 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
2651 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
2652 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
2653 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
2654 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
2655 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
2656 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
2657 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
2658 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
2659 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
2660 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
2661 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
2662 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
2663
2664 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
2665 s_setresgid, and s_setuid.
2666 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2667 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
2668 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2669 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
2670 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
2671 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2672 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
2673
39e4f7f8
UD
26741998-10-16 Ulrich Drepper <drepper@cygnus.com>
2675
2676 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
2677 localtime_t declaration on some systems.
2678
c66dbe00
UD
26791998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
2680
2681 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
2682 -DSTATIC_GCONV.
9ffbb612 2683 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
c66dbe00
UD
2684 defined. Avoid using DL_CLL_FCT if it is not defined.
2685
26861998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2687
2688 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
2689 Include endian.h unconditionally. Remove portability goop
2690 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
2691
26921998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2693
2694 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
2695
909927d2
UD
26961998-10-15 Ulrich Drepper <drepper@cygnus.com>
2697
2698 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
2699 again. Use char[44] to define size of the struct.
2700
a9e73d40
UD
2701 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
2702
fcab9698 27031998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
c66dbe00 2704
fcab9698
UD
2705 * string/bits/string2.h (strcmp): Don't cache the result of
2706 __builtin_constant_p in variables, otherwise constant folding
2707 can fail in big functions.
c66dbe00 2708
fcab9698 27091998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
c66dbe00 2710
fcab9698
UD
2711 * string/bits/string2.h: Add prototypes for the new inline
2712 functions.
c66dbe00 2713
7edb4c25
UD
27141998-10-15 Ulrich Drepper <drepper@cygnus.com>
2715
2716 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
2717 have all types defined.
2718 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
2719
fcab9698 27201998-10-08 Paul Eggert <eggert@twinsun.com>
8d5166fb 2721
fcab9698
UD
2722 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
2723 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
2724 a body that merely expands localtime_r; this works around a
2725 bug in Digital Unix 4.0A and 4.0D.
8d5166fb
UD
2726
27271998-10-14 Ulrich Drepper <drepper@cygnus.com>
2728
2729 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
2730 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
2731 __ioctl to __syscall_ioctl and include Linux version of this file.
2732 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
2733 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
2734 ioctl calls which handle struct termios.
2735 Based on a patch by Dan Jacobowitz <drow@false.org>.
2736
8583916e
UD
27371998-10-14 Ulrich Drepper <drepper@cygnus.com>
2738
2739 * version.h (VERSION): Bump to 2.0.98.
2740
6f100d04
UD
2741 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
2742 here instead of including kernel_termios.h.
2743
fcab9698 27441998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
c66dbe00 2745
fcab9698
UD
2746 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
2747 unnecessary after the changes of 1998-10-12.
c66dbe00 2748
99e46354
UD
27491998-10-13 Ulrich Drepper <drepper@cygnus.com>
2750
6c5a700e
UD
2751 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
2752 parameter format string.
2753 (inline_outw): Likewise.
2754
99e46354
UD
2755 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
2756 string.h to get memcpy prototype and NULL definition.
2757
27581998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2759
2760 * misc/sys/cdefs.h (__THROW): New macro.
2761 * argp/argp.h: Use it to replace the kludgey __P in inline
2762 function definitions.
2763 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2764 * stdlib/stdlib.h: Likewise.
2765 * wcsmbs/wchar.h: Likewise.
2766 * libio/stdio.h: Likewise.
2767 * stdio/stdio.h: Likewise.
2768 * sysdeps/wordsize-64/inttypes.h: Likewise.
2769 * sysdeps/wordsize-32/inttypes.h: Likewise.
2770 * string/argz.h: Likewise.
2771 * io/sys/stat.h: Likewise.
2772
27731998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2774
2775 * Rules (stdio_lim): New variable.
2776 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
2777 on Rules and config.make, use $(move-if-change) to avoid unnessary
2778 recompilations, and cleanup command.
2779 (common-generated): Add bits/stdio_lim.st.
2780
1622fda9
UD
27811998-10-12 Ulrich Drepper <drepper@cygnus.com>
2782
2783 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
2784 variable to prevent warnings from use of modern CPU instructions.
2785 Patch by Richard Henderson <rth@cygnus.com>.
2786
2787 * sysdeps/unix/opendir.c: Test whether NAME is directory before
2788 opening it.
2789
27901998-10-12 Philip Blundell <pb@nexus.co.uk>
2791
2792 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
2793 semicolon so that profiling works.
2794
4875f665
RM
27951998-10-12 Roland McGrath <roland@baalperazim.frob.com>
2796
2797 * sysdeps/generic/glob.c: #undef mempcpy before #define.
2798
2799 * sysdeps/unix/bsd/clock.c: Use prototype defns.
2800
431f91ba
UD
28011998-10-11 Ulrich Drepper <drepper@cygnus.com>
2802
2803 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
2804 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
2805
2806 * string/bits/string2.h [!_STRING_ARCH_unaligned]
2807 (__mempcpy_small): Add parameter for 1 byte copy and use it.
2808 Reported by Geoff Keating <geoffk@ozemail.com.au>.
2809
027acb51
UD
28101998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
2811
2812 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
2813 it is already defined in <bits/environments.h>.
2814
9a29bc37
UD
28151998-10-09 Ulrich Drepper <drepper@cygnus.com>
2816
2817 * posix/ptestcases.h: Fix typo.
2818
28191998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2820
2821 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
2822 (regexec): Allocate regs.start and regs.end as one block.
2823
28241998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2825
2826 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
2827 enum decl.
2828
28291998-10-08 Philip Blundell <pb@nexus.co.uk>
2830
2831 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
2832 sigcontext union to ...
2833 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
2834 file.
2835 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
2836 version 2.0 kernels.
2837
9ea350a4
UD
28381998-10-08 Ulrich Drepper <drepper@cygnus.com>
2839
8261bc4b
UD
2840 * malloc/mtrace.c (tr_reallochook): Produce better output for real
2841 reallocation case.
2842
16e866fa 2843 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
ea1dfb4a 2844 * argp/argp-xinl.c: Likewise.
16e866fa 2845
9ea350a4
UD
2846 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
2847 Ruffian entry back.
2848 Patch by Christian Gafton.
2849
25b3b17b
UD
28501998-10-08 Paul Eggert <eggert@twinsun.com>
2851
2852 * time/mktime.c (__mktime_internal): When the requested time falls
2853 in a spring-forward gap of size DT, return a time that is DT away
2854 from the requested time, preferring a time whose tm_isdst differs
2855 from the requested value. Bump the max number of probes from 4 to
2856 6 to account for the extra probes needed to discover a
2857 spring-forward gap in the worst case.
2858
28591998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
2860
2861 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
2862 of the weird alpha architectures.
2863 Patch by Cristian Gafton <gafton@redhat.com>.
2864
28651998-02-18 23:31 Richard Henderson <rth@cygnus.com>
2866
2867 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
2868 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
2869
604510f7
UD
28701998-10-07 Ulrich Drepper <drepper@cygnus.com>
2871
2872 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
2873 (dl_open_worker): Use realloc, not malloc to resize array.
2874 * elf/rtld.c (_dl_initial_searchlist): New variable.
2875 (_dl_main): Copy content of _dl_main_searchlist to
2876 _dl_initial_searchlist.
2877 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
2878 _dl_global_scope_alloc.
2879 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
2880 * elf/dl-close.c (_dl_close): When removing object with global
2881 scope remove allocated searchlist if no dynamically loaded object
2882 is on it anymore.
2883 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
2884 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
2885
2886 * malloc/mtrace.c (tr_where): Don't print space in location string,
2887 print it afterwards. Print better symbol name information.
2888
0163d97b
UD
28891998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2890
2891 * manual/filesys.texi (Setting Permissions): Fix example for
2892 reading umask.
2893
28941998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2895
2896 * elf/sprof.c (load_profdata): Fix typo in error message.
2897
c0de721b
AS
28981998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2899
2900 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
2901 flag.
2902
442dc326
RM
29031998-10-04 Roland McGrath <roland@baalperazim.frob.com>
2904
2905 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
2906
d53427c8
UD
29071998-10-06 Ulrich Drepper <drepper@cygnus.com>
2908
2909 * version.h (VERSION): Bump to 2.0.97.
2910
acdf1251
UD
29111998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2912
2913 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
2914 in definitions of inline stat functions so that they match the
2915 declaration.
2916 * stdlib/stdlib.h: Likewise.
2917 * wcsmbs/wchar.h: Likewise.
2918 * libio/stdio.h: Likewise.
2919 * stdio/stdio.h: Likewise.
2920 * sysdeps/wordsize-64/inttypes.h: Likewise.
2921 * sysdeps/wordsize-32/inttypes.h: Likewise.
2922 * string/argz.h: Likewise.
2923 * argp/argp.h: Likewise.
2924
3cb07217
UD
29251998-10-06 Ulrich Drepper <drepper@cygnus.com>
2926
2927 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
2928 netinet/in.h.
2929
c10bb795
UD
29301998-10-05 Philip Blundell <philb@gnu.org>
2931
2932 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
2933 and constants. Tidy up formatting a little.
2934
2935 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
2936 Move definitions to in.h.
2937
8325d82c
UD
29381998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2939
2940 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
2941 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
2942 Remove inclusion of <linux/swap.h>.
2943
29441998-10-05 Ulrich Drepper <drepper@cygnus.com>
2945
2946 * io/sys/stat.h: Use __P in definitions of inline stat functions
2947 so that they match the declaration.
2948
29491998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2950
2951 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
2952
29531998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2954
2955 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
2956 linux 2.1 version.
2957
29581998-10-02 Philip Blundell <pb@nexus.co.uk>
2959
2960 * sysdeps/arm/dl-machine.h: Fix typo in last change.
2961
2962 * sysdeps/arm/bits/huge_val.h: New file.
2963
29641998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2965
2966 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
2967
2968 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
2969 define.
2970
29711998-10-05 Ulrich Drepper <drepper@cygnus.com>
2972
2973 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
2974 store result of realloc instead of using BUF.
2975
29761998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2977
2978 * misc/sgtty.h (_SGTTY_H): Correct spelling.
2979 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
2980
29811998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2982
2983 * manual/memory.texi (Obstacks): Document
2984 obstack_alloc_failed_handler usage.
2985
2986 * malloc/obstack.h: Enhance comment about
2987 obstack_alloc_failed_handler usage.
2988 * malloc/obstack.c: Likewise.
2989
29901998-10-05 Ulrich Drepper <drepper@cygnus.com>
2991
2992 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
2993 gcc before 2.8 is used.
2994
29951998-10-01 Philip Blundell <pb@nexus.co.uk>
2996
2997 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
2998 from Scott Bambrough.
2999
3000 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
3001
3002 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
3003 include the lock member.
3004
30051998-09-03 Philip Blundell <pb@nexus.co.uk>
3006
3007 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
3008
e3e4e463
UD
30091998-10-01 Ulrich Drepper <drepper@cygnus.com>
3010
3011 * timezone/zic.c: Update from tzcode1998h.
3012 * timezone/europe: Update from tzdata1998i.
3013 * timezone/southamerica: Likewise.
3014
7782d0bf
UD
3015 * sys/types.h: Protect use of long long by __extension__.
3016 * stdlib/stdlib.h: Likewise.
3017 * string/string.h: Likewise.
3018 * sysdeps/i386/bits/byteswap.h: Likewise.
3019 * sysdeps/geeric/bits/byteswap.h: Likewise.
3020 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3021 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3022 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3023 * sysdeps/wordsize-32/inttypes.h: Likewise.
3024 * sysdeps/wordsize-32/stdint.h: Likewise.
3025 * wcsmbs/wchar.h: Likewise.
3026
8325d82c
UD
30271998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3028
3029 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
3030 expression.
3031 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
3032 __strsep): Greatly reduce size of expansion by combining common
3033 expressions.
3034 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
3035 inline function.
3036 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
3037 by the above definitions.
3038
30391998-09-27 Geoff Keating <geoffk@ozemail.com.au>
3040
3041 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
3042 correct struct ipc_perm definition.
3043
30441998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3045
3046 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
3047
999b2f6b
UD
30481998-09-29 Cristian Gafton <gafton@redhat.com>
3049
8325d82c
UD
3050 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
3051 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
999b2f6b
UD
3052 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
3053 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
3054 Add net/if_shaper.h.
3055
87052ab7
UD
30561998-09-29 Ulrich Drepper <drepper@cygnus.com>
3057
cf26217d
UD
3058 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
3059
87052ab7
UD
3060 * nis/ypclnt.c: Remove not needed close calls.
3061
6ff5bc68
UD
30621998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
3063
3064 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
3065 check a bit. Also close socket of domain client. Close socket
3066 in IPPORT_RESERVED error case.
3067
30681998-09-28 Ulrich Drepper <drepper@cygnus.com>
3069
3070 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
3071 CMSG_ALIGN (fixes a bug) and correct test for availability of
3072 another entry.
3073 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
3074 Linux version.
3075 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
3076 availability of another entry.
3077 Patch by ak@muc.de.
3078
3079 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
3080 Patch by ak@muc.de.
3081
999b2f6b
UD
3082 * libio/libio.h [!__STDC__]: Define const only if not defined.
3083
6ff5bc68
UD
30841998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3085
3086 * posix/annexc.c (xsystem): New function. Use it instead of
3087 system.
3088
30891998-09-28 Ulrich Drepper <drepper@cygnus.com>
3090
3091 * stdlib/longlong.h: Remove #endif for #if removed in last change.
3092
e07a51b5
UD
30931998-09-25 Ulrich Drepper <drepper@cygnus.com>
3094
3095 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
3096 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
3097 allow using `ut' parameter.
3098 [!emacs]: Define ut_argument, ut_argument_spec, and
3099 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
3100 argument_spec to prototypes and definitions.
3101 (my_strftime): Don't call tzset of ut != 0.
3102 Compute diff as 0 is ut != 0;
3103 [emacs]: Define new emacs_strftime function.
3104 Based on a patch by Paul Eggert.
3105
31061998-09-24 Paul Eggert <eggert@twinsun.com>
3107
3108 * time/strftime.c (my_strftime): When asking for the length of the
3109 subformatted buffer, do not limit the length to look for;
3110 otherwise, we have no reliable way to distinguish between the
3111 empty buffer and an error.
3112
390a4882
UD
31131998-09-25 Ulrich Drepper <drepper@cygnus.com>
3114
3115 * math/Makefile (gmp-objs): Add mp_clz_tab.
3116
31171998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
3118
3119 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
3120 set them.
3121 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
3122 cpus lacking hardware multiply and divide.
3123
31241998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3125
3126 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
3127 $(<F), not $(^F).
3128
31291998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3130
3131 * db/btree/bt_delete.c: Fix -Wparentheses warning.
3132
31331998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3134
3135 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
3136 $(do-install).
3137
e503270c
UD
31381998-09-24 Ulrich Drepper <drepper@cygnus.com>
3139
e07a51b5 3140 * debug/catchsegv.sh: Also produce output if clone process died.
e503270c
UD
3141
31421998-09-24 Paul Eggert <eggert@twinsun.com>
3143
390a4882 3144 * time/strftime.c (f_wkday): Remove duplicate definition.
e503270c
UD
3145 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
3146 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
3147 1998-09-11 fix to this case.
3148 (wkday_len, month_len): Remove these macros; they're no longer needed.
3149
31501998-09-24 Paul Eggert <eggert@twinsun.com>
3151
390a4882 3152 * time/strftime.c (my_strftime): Don't store past the end of a
e503270c
UD
3153 zero-sized buffer.
3154
3465c0ce
UD
31551998-09-24 Paul Eggert <eggert@twinsun.com>
3156
e503270c 3157 * time/strftime.c (underlying_strftime):
3465c0ce
UD
3158 Set the buffer to a nonzero value before calling
3159 strftime, and check to see whether strftime has set the buffer to zero.
3160 This lets us distinguish between an empty buffer and an error.
3161
31621998-09-24 Paul Eggert <eggert@shade.twinsun.com>
3163
e503270c 3164 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
3465c0ce
UD
3165 This fix is propagated from tzcode1998g.tar.gz.
3166
7a3bfc4e
UD
31671998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
3168
3169 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
3170 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
3171 sys_siglist. This is handled correctly by the weak_alias macro.
3172
369b1933
UD
31731998-09-24 Ulrich Drepper <drepper@cygnus.com>
3174
50a1b837
UD
3175 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
3176 of mempcpy. Reported by Andreas Jaeger.
3177
369b1933
UD
3178 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
3179 pollute the namespace since the compiler will resolve it inline.
3180 Reported by Florian La Roche <florian@suse.de>.
3181
2b79b6d5
UD
31821998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
3183
3184 * timezone/private.h: Update from tzcode1998g.
3185
3186 * timezone/africa: Update from tzdata1998h.
3187 * timezone/asia: Likewise.
3188 * timezone/australasia: Likewise.
3189 * timezone/europe: Likewise.
3190 * timezone/northamerica: Likewise.
3191 * timezone/southamerica: Likewise.
3192 * timezone/zone.tab: Likewise.
3193
3d42e04d
UD
31941998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3195
3196 * misc/sys/mman.h: New file.
3197
3198 * sysdeps/generic/bits/mman.h: New file.
3199 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
3200 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
3201 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
3202 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
3203
3204 * sysdeps/generic/sys/mman.h: Removed.
3205 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
3206 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
3207 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
3208 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
3209 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
3210
3211 * include/sys/mman.h: Look directly for misc/sys/mman.h.
3212 * misc/Makefile (headers): Add bits/mman.h.
3213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
3214 bits/mman.h.
3215
3216 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
3217 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
3218 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
3219 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
3220 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
3221 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
3222 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
3223 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
3224
32251998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3226
3227 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
3228 * sysdeps/mach/alpha/thread_state.h: Likewise.
3229 * sysdeps/mach/i386/sysdep.h: Likewise.
3230 * sysdeps/mach/i386/thread_state.h: Likewise.
3231 * sysdeps/mach/mips/sysdep.h: Likewise.
3232 * sysdeps/mach/mips/thread_state.h: Likewise.
3233 * sysdeps/posix/profil.c: Likewise.
3234 * sysdeps/i386/i586/memcopy.h: Likewise.
3235 * sysdeps/mach/pagecopy.h: Likewise.
3236
a379e56a
UD
32371998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
3238
3239 * libio/stdio.h: Define __need_getopt and include getopt.h to define
3240 getopt stuff.
3241 * posix/unistd.h: Likewise.
3242 * stdio/stdio.h: Likewise.
3243 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
3244 define only getopt and the variables.
3245
34a4b66d
UD
32461998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3247
3248 * scripts/test-installation.pl (installation_problem): Don't link
3249 the test program against libdb1.
3250
24fd4cc4
UD
32511998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
3252
3253 * Makeconfig (all-subdirs): Add db.
3254 * Versions.def: Add definition for libdb1.
3255 * shlib-versions: Add definitions for libdb1.
3256 * db/Makefile (extra-libs): Replace by libdb1.
3257 (libdb-routines): Rename to libdb1-routines.
3258 (headers): Rename to db1-headers.
3259 (distribute): Add $(db1-headers).
3260 (install-others): Define to install symlink libdb.so.NN and the
3261 $(db1-headers).
a379e56a 3262 (CPPFLAGS): Add -DUSE_LIBDB1
24fd4cc4
UD
3263 Remove rules to build makedb.
3264 * db/Versions: Rename libdb to libdb1.
3265 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
af564203 3266 * db/makedb.c: Removed.
24fd4cc4
UD
3267
3268 * scripts/versions.awk: Recognize digits in library names.
3269
3270 * db/btree/bt_open.c: Fix compiler warnings.
3271 * db/btree/bt_put.c: Likewise.
3272 * db/btree/bt_split.c: Likewise.
3273 * db/hash/hash.c: Likewise.
3274 * db/hash/hash_bigkey.c: Likewise.
3275 * db/recno/rec_close.c: Likewise.
3276
af564203
UD
3277 * Makefile: Add localedata/% goal.
3278
c94a8080
UD
32791998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3280
3281 * posix/execvp.c: Don't give up searching the PATH if execve
3282 returns ENOTDIR.
3283
32841998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
3285
3286 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
3287 if _dl_fpu_control_set is set.
3288 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
3289 * elf/rtld.c: Don't define _dl_fpu_control_set.
3290 * elf/Versions: Remove _dl_fpu_control_set.
3291
32921998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
3293
3294 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
3295 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
3296 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
3297 Correct values of other SA_* macros according to kernel headers.
3298
32991998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3300
3301 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
3302 variable l.
3303 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
3304 old.
3305
33061998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3307
3308 * elf/ldsodefs.h: Fix typo in comment.
3309
33101998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3311
3312 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
3313 char when comparing buffer contents with putback character.
3314
33151998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3316
3317 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
3318 Undo last change.
3319 * elf/Versions: Undo last change. Export _dl_fpu_control and
3320 _dl_fpu_control_set.
3321 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
3322 variables. Include <fpu_control.h>.
3323 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
3324 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
3325 to indicate that is was seen.
3326 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
3327 only if _dl_fpu_control was set and is equal to desired value.
3328 * math/Makefile (aux): Undo last change.
3329 * math/Versions: Export __fpu_control with version GLIBC_2.0.
3330
f74e8ed1
AS
33311998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3332
3333 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
3334 optimized.
3335
e7c5513d
UD
33361998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
3337
3338 * string/bits/string2.h: Add mempcpy optimization.
3339 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
3340 * intl/localealias.c: Define mempcpy only if not already defined.
3341
3342 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
3343 defined.
3344
33451998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3346
3347 * csu/abi-note.S: Emit the note directly instead of defining
3348 a preprocessor macro that's only used once. Don't include sysdep.h.
3349 * abi-tags: Generalize Solaris entry.
3350
33511998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3352
3353 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
3354 Change to array to avoid runtime relocation.
3355 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
3356
33571998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3358
3359 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
3360 * math/Makefile ($(objpfx)libieee.a): Likewise.
3361
33621998-09-21 Ulrich Drepper <drepper@cygnus.com>
3363
3364 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
3365 Patch by John Tobey <jtobey@banta-im.com>.
3366
b0fd6165
UD
33671998-09-20 Ulrich Drepper <drepper@cygnus.com>
3368
3369 * login/Makefile (distribute): Remove pty-internal.h, add
3370 pty-private.h.
1391f5d3
UD
3371
3372 * stdlib/tst-strtol.c: Add more checks.
3373 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
3374
a0780919
UD
33751998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
3376
3377 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
3378 * elf/elf.h: Add AT_FPUCW.
3379 * elf/Makefile (dl-routines): Add fpu_control.
3380 (elide-routines.os): Add fpu_control.
3381 (rtld-routines): Add fpu_control.
3382 * math/Makefile (aux): Remove fpu_control.
3383 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
3384 (_dl_show_auxv): Likewise.
3385 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
3386 if different from OS default.
3387
3388 * stdio-common/tstscanf.c: Add test case for (nil).
3389
00bc5db0
UD
33901998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
3391
3392 * libio/fileops.c (_IO_new_file_underflow): Before allocating
3393 buffer make sure the pushback buffer is destroyed.
3394 (_IO_new_file_seekoff): Likewise.
3395 If mode==0 quit early with the result.
3396 Clear OEF flag after successful fseek.
3397 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
3398 * libio/ftello.c (ftello): Add offset from original buffer if
3399 stream has pushed back characters.
3400 * libio/ftello64.c (ftello64): Likewise.
3401 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
3402 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
3403 * libio/ioftell.c (_IO_ftell): Likewise.
3404 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
3405 and _IO_save_ptr.
3406 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
3407 (_IO_default_pbackfail): Only stored push back character in original
3408 buffer if it is the same as the one in the file at this position.
3409 * libio/iofclose.c: Free backup buffer if one is available.
3410 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
3411 mode!=0.
3412
3413 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
3414
3415 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
3416
c53a89d4
UD
3417 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
3418
00bc5db0
UD
34191998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
3420
3421 * login/programs/pt_chown.c (more_help): Correct message that
3422 describes the purpose of the program.
3423
3424 * login/openpty.c: Do not include pty-private.h.
3425 (pts_name): New function. Return name of slave pseudo terminal in
3426 an allocated buffer if necessary.
3427 (openpty): Use pts_name to get name of the slave end of the pseudo
3428 terminal pair.
3429
3430 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
3431 pts_name before return.
3432
34331998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
3434
3435 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
3436
88263bc9
UD
34371998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3438
3439 * login/openpty.c: Include pty-private.h instead of
3440 pty-internal.h.
3441
872ea854
UD
34421998-09-09 Philip Blundell <pb@nexus.co.uk>
3443
3444 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
3445
34461998-09-07 Philip Blundell <pb@nexus.co.uk>
3447
3448 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
3449 recent ld.so changes.
3450 (elf_machine_runtime_setup): Correct behaviour when profiling.
3451
9b3c7c3c
UD
34521998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
3453
3454 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
3455 Patch by John Tobey <jtobey@banta-im.com>.
3456
34571998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
3458
3459 * login/pty-internal.h: Removed. Moved constants related to the
3460 `grantpt' helper program protocol to ...
3461 * login/pty-private.h: ... here. New file.
3462 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
3463 to make the function work with kernels >= 2.1.115.
3464 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
3465 version if using the cloning device fails.
3466 * sysdeps/unix/sysv/linux/grantpt.c: New file.
3467 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
3468 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
3469 use by Linux specific code.
3470 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
3471 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
3472 function. (grantpt): Use pts_name, check group and permission
3473 mode in addition to owner. Try to set the owner, group and
3474 permission mode first without invoking the helper program.
3475 * login/programs/pt_chown.c: Largely rewritten. Add argp and
3476 internationalization support. Use symbolic constants instead of
3477 hardwired numbers for permission mode.
3478 * sysdeps/unix/bsd/ptsname.c: New file.
3479
34801998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
3481
3482 * posix/wordexp-test.c: Undo last change.
3483
3484 * posix/wordexp.c: Undo last change.
3485
d8f2b9ea
UD
34861998-09-16 Ulrich Drepper <drepper@cygnus.com>
3487
3488 * nscd/grpcache.c (save_grp): Partly undo last change.
3489
3490 * nscd/pwdcache.c (save_pwd): Undo last change.
3491
9c4c0024
UD
34921998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3493
3494 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
3495 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
3496
34971998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
3498
3499 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
3500 Add profiling support.
3501 (TRAMPOLINE_TEMPLATE): New macro.
3502 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
3503 (RTLD_START): Prettify, and set __libc_stack_end properly.
3504 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
3505 and check for sym being NULL instead.
3506 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
3507 of stack space.
3508 * sysdeps/sparc/sparc64/lshift.S: Likewise.
3509 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
3510 * sysdeps/sparc/sparc64/rshift.S: Likewise.
3511 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
3512 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
3513 MEDANY code model %g4 usage.
3514 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
3515 MEDANY code model %g4 usage.
3516 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
3517 code model address formation.
3518 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
3519 include elf/ldsodefs.h
3520 (DT_SPARC): Remove.
3521 (elf_machine_matches_host): It is now EM_SPARCV9.
3522 (elf_machine_dynamic): Clean up to remove ugly cast.
3523 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
3524 new PLT formats.
3525 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
3526 Prettify rest of function.
3527 [R_SPARC_COPY]: Check for sym being NULL.
3528 [R_SPARC_32]: Handle it.
3529 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
3530 MEDMID code model.
3531 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
3532 MEDANY code model.
3533 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
3534 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
3535 Add profiling support.
3536 (TRAMPOLINE_TEMPLATE): New macro.
3537 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
3538 (RTLD_START): Prettify and set __libc_stack_end.
3539 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
3540 Define.
3541 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
3542 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
3543 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
3544 unused variable scratch.
3545 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3546 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
3547 Declare.
3548 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
3549 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
3550 old format kernel sigaction structures.
3551 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
3552 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
3553 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
3554 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
3555 ucontext include.
3556 (_JMPBUF_UNWINDS): Define.
3557 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
3558 statfs64 structure, which is exactly the same as the normal one.
3559 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
3560 of stack. Use correct syscall trap number. Add branch prediction
3561 settings to branch instructions. Remove old MEDANY code model %g4
3562 referneces for non-PIC.
3563 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3564 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
3565 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
3566 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
3567 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3568 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
3569 __libc_longjmp and __libc_siglongjmp strong aliases.
3570 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
3571 Also define to __no__readdir64_decl around readdir.c inclusion.
3572 (__readdir64): Add strong alias.
3573 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
3574 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
3575 Set strong and weak names properly.
3576
35771998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3578
3579 * manual/Makefile (AWK): Default to gawk if standalone.
3580
35811998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3582
3583 * Makefile (distribute): Undo last change.
3584 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
3585 for sysdep headers.
3586 (+subdir-headers): Removed, unused.
3587
35881998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3589
3590 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
3591 $(do-install).
3592
35931998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3594
3595 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
3596 absolute name in $(config-sysdirs), can never happen.
3597 ($(+sysdir_pfx)sysd-rules): Likewise.
3598 * Makeconfig (full-config-sysdirs): Likewise.
3599 (all-Subdirs-files): Prepend $(..).
3600
3601 * configure.in: Don't check for absolute name in $add_ons_pfx, can
3602 not happen. Let --enable-add-ons=yes work if no add-ons actually
3603 exist.
3604
36051998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3606
3607 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
3608 continuations in command.
3609
36101998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3611
3612 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
3613
a8125d85
UD
36141998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
3615
3616 * posix/wordexp-test.c: If expansion or substitution occurs
3617 anywhere in a word, the entire word is subject to field-splitting.
3618
3619 * posix/wordexp.c (parse_glob): Look for end of word instead of
3620 end of field when deciding what to glob.
3621 (field_split_word): New function, now the only place where
3622 field-splitting is performed.
3623 (parse_dollars): New parameter - tell the caller if
3624 field-splitting should be performed on this word.
3625
3626 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
3627 succeeded (or failed with WRDE_NOSPACE).
3628
36291998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
3630
3631 * posix/wordexp.c (wordexp): Don't convert IFS characters to
3632 blanks.
3633
3634 * posix/wordexp-test.c: Words not the result of expansion or
3635 substitution should remain unchanged.
3636
aa2bc6a3
UD
36371998-09-15 Ulrich Drepper <drepper@cygnus.com>
3638
3639 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
3640 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
3641
3a60301a
UD
36421998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3643
3644 * stdio-common/Makefile: Include Makeconfig so that
3645 $(inst_includedir) is defined.
3646
77f0d179
UD
36471998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3648
3649 * io/pwd.c: Include <mcheck.h>.
3650
6beaac4d
UD
36511998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
3652
3653 * nscd/pwdcache.c (save_pwd): Correct copying.
3654 * nscd/grpcache.c (save_grp): Likewise.
3655
0ff0d59e
UD
36561998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
3657
3658 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
3659 (free_pwd): Adjust for this change.
3660 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
3661 (free_grp): Adjust for this change.
3662
d3f8acb3
UD
36631998-09-14 Ulrich Drepper <drepper@cygnus.com>
3664
3665 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
3666
14eb5d5d
UD
36671998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
3668
3669 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
3670 (install-others): Add bits/stdio_lim.h.
3671 Add rule to install bits/stdio_lim.h.
3672
3673 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
3674
3675 * Makefile (distribute): Add include/sys/mman.h.
3676
3677 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
3678 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
3679 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
3680
0a1590ba
UD
3681 * grp/initgroups.c: Include stdlib.h.
3682 Patch by Zack Weinberg.
3683
1ffaaca2
UD
36841998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
3685
3686 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
3687 for field-splitting :abc: is correct, and that two fields should
3688 result. Revert tests to reflect this.
3689
3690 * posix/wordexp.c (w_emptyword): Remove function.
3691 (exec_comm): Don't use w_emptyword.
3692 (parse_param): Likewise.
3693
4ca020f5
UD
36941998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
3695
3696 * sysdeps/arm/fpu/Dist: Moved to...
3697 * sysdeps/arm/Dist: ...here.
3698 * sysdeps/posix/Dist: Removed.
3699 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
3700 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
3701
f624c216
UD
37021998-08-26 Geoff Keating <geoffk@ozemail.com.au>
3703
3704 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
3705
7ef90c15
UD
37061998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
3707
3708 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
3709
37101998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3711
3712 * libc-work/nis/nss_nisplus/nisplus-service.c
3713 (_nss_nisplus_parse_servent): Convert port in network byte order.
3714
37151998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3716
3717 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
3718 to provide only malloc and calloc.
3719 * include/stdlib.h: Support the above.
3720 * string/bits/string2.h: Use __need_malloc_and_calloc when
3721 including stdlib.h.
3722 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
3723
3724 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
3725 * iconvdata/iso646.c: Include <stdlib.h>.
3726
37271998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3728
3729 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
3730 * sysdeps/libm-ieee754/w_pow.c: Likewise.
3731 * sysdeps/libm-ieee754/w_powf.c: Likewise.
3732 * sysdeps/libm-ieee754/w_powl.c: Likewise.
3733
37341998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3735
3736 * stdio-common/stdio_lim.h.in: New file. All parameters
3737 are adjustable at build time.
3738 * Rules: Add a rule to build bits/stdio_lim.h from
3739 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
3740 all subdirectories know how to make the file. It can't be
3741 in Makerules because then it gets built at top level and the
3742 dependencies are wrong.)
3743
3744 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
3745 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
3746 stdio_lim.h.
3747 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
3748 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
3749 * sysdeps/posix/Makefile: Removed.
3750 * sysdeps/posix/mk-stdiolim.c: Removed.
3751 * sysdeps/generic/bits/stdio_lim.h: Removed.
3752
37531998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3754
3755 * argp/argp-help.c: Fixup indentation.
3756 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
3757 * resolv/nss_dns/dns-network.c: Likewise.
3758 * resolv/res_send.c: Likewise.
3759 * rt/aio_cancel.c: Likewise.
3760 * rt/aio_misc.c: Likewise.
3761
37621998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3763
3764 * Makefile (install-symbolic-link): Remove the link list file at last.
3765 * Makerules (install-clean-symbolic-link-list): Removed.
3766
37671998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3768
3769 * timezone/tst-timezone.c: Print time in UTC to get consistent
3770 output.
3771
37721998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3773
3774 * elf/rtld.c (_dl_rpath): Removed.
3775 * elf/dl-support.c (_dl_path): Removed.
3776 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
3777 (CFLAGS-dl-support.c): Removed.
3778
3779 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
3780 uses changed.
3781 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
3782 instead of appending it to the main map's rpath info.
3783 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
3784 DT_RPATHs. This makes it effective again.
3785 (decompose_rpath): Remove second parameter, callers changed.
3786 (fillin_rpath): Allocate enough space in curwd.
3787 (expand_dynamic_string_token): Cope with get_origin returning -1.
3788
37891998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3790
3791 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
3792 passwd.adjunct.
3793
3794 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
3795 invalid password.
3796
37971998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
3798
3799 * locale/programs/locale.c: Update dates.
3800
5d47ceca
UD
38011998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
3802
3803 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
b1fcf686 3804 size_t is defined. Some reordering of definitions to make
5d47ceca
UD
3805 maintaining this file in parallel with the linux-specific file easier.
3806
bd31edf2
UD
38071998-09-13 Ulrich Drepper <drepper@cygnus.com>
3808
3809 * io/pwd.c (main): Add call to mtrace.
3810
3811 * malloc/mtrace.pl: Quote @ in string.
3812
33c3e20e
UD
38131998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
3814
3815 * posix/wordexp.c (parse_arith): Fix memory leaks.
3816 (exec_comm): Likewise.
3817 (parse_param): Likewise.
3818 (wordexp): Likewise.
3819 (exec_comm): Reduce number of function return points.
3820 (parse_param): Likewise.
3821 (wordexp): Likewise.
3822
1720f4d0
UD
38231998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
3824
3825 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
3826 yield three fields, not two. Test both parameter expansion and
3827 command substitution for correct field-splitting behaviour.
3828
3829 * posix/wordexp.c (w_emptyword): New function.
3830 (parse_param): Use it.
3831 (exec_comm): Likewise, for consistency with the way parse_param
3832 splits fields.
3833 (parse_param): Fix some memory leaks.
3834
2d09b95d
UD
38351998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
3836
3837 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
3838 Don't mark asm `volatile'.
3839 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
3840 from the data cache too. Assume it isn't in the instruction cache yet.
3841 (__elf_machine_fixup_plt): Clear the modified address from the caches.
3842
b39c6f8b
UD
38431998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
3844
3845 * sysdeps/generic/segfault.c (install_handler): Install signal
3846 handler with SA_ONSTACK instead of setting the stack flags to
3847 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
3848 defined.
3849
38501998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3851
3852 * signal/signal.h: Fix multiple inclusion guard to cover the
3853 entire file.
3854 * wcsmbs/wchar.h: Remove prototype of internal function
3855 __mbsrtowcs.
3856 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
3857 arithmetic on `void *'.
3858
c06cc21c
UD
38591998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
3860
3861 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
3862
3863 * posix/wordexp.c (wordexp): Perform word-splitting instead of
3864 field-splitting here.
3865 (wordexp): If out of memory mid-word, free the word (but still
3866 leave pwordexp alone for caller to see).
3867 (parse_param): Allow for zero-length fields (smarter checking of
3868 memory allocation failure).
3869 (w_addword): Convert NULL words to "".
3870 (wordexp): Convert left-over IFS characters to blanks (like bash).
3871
81e0cb2d
UD
38721998-09-11 Ulrich Drepper <drepper@cygnus.com>
3873
350eb336
UD
3874 * configure.in: Use test -f instead of test -e.
3875 Patch by John Tobey <jtobey@banta-im.com>.
3876
3877 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
3878 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
3879 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
3880 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
3881 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
3882 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
3883 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
3884 Patches by John Tobey <jtobey@banta-im.com>.
3885
81e0cb2d
UD
3886 * time/strftime.c (my_strftime): Delay use of *tp values until
3887 latest possible point to allow partly initialized structures
3888 (e.g., from strptime).
3889
514d9bca
UD
3890 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
3891 and NATS-SEFI.
3892 Define *-routines variables for new modules.
3893 (distribute): Add .c files for new modules.
3894 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
3895 and nats-sefi.h.
3896 Add rules for header generation.
3897 * iconvdata/gconv-modules: Add entries for new modules.
3898 * iconvdata/iso_10367-box.c: New file.
3899 * iconvdata/mac-is.c: New file.
3900 * iconvdata/nats-dano.c: New file.
3901 * iconvdata/nats-sefi.c: New file.
3902
81e0cb2d
UD
39031998-04-30 18:20 H.J. Lu <hjl@gnu.org>
3904
3905 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
3906 loader if PIC is not defined.
3907
ec04e9ba
UD
39081998-09-11 Ulrich Drepper <drepper@cygnus.com>
3909
3910 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
3911 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
3912 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
3913 and ISO_5428.
3914 Define *-routines variables for new modules.
3915 (distribute): Add .c files for new modules.
3916 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
3917 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
3918 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
3919 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
514d9bca 3920 Add rules for header generation.
ec04e9ba
UD
3921 * iconvdata/gconv-modules: Add entries for new modules.
3922 * iconvdata/csn_369103.c: New file.
3923 * iconvdata/cwi.c: New file.
3924 * iconvdata/dec-mcs.c: New file.
3925 * iconvdata/ecma-cyrillic.c: New file.
3926 * iconvdata/gost_19768-74.c: New file.
3927 * iconvdata/greek-ccitt.c: New file.
3928 * iconvdata/greek7-old.c: New file.
3929 * iconvdata/greek7.c: New file.
3930 * iconvdata/inis-8.c: New file.
3931 * iconvdata/inis-cyrillic.c: New file.
3932 * iconvdata/inis.c: New file.
3933 * iconvdata/iso6937-2.c: New file.
3934 * iconvdata/iso_2033.c: New file.
3935 * iconvdata/iso_5427-ext.c: New file.
3936 * iconvdata/iso_5427.c: New file.
3937 * iconvdata/iso_5428.c: New file.
3938
3939 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
3940 entries.
3941 Convert U02dd correctly.
3942
25c849b1
RH
39431998-09-11 20:46 Richard Henderson <rth@cygnus.com>
3944
3945 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
3946 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
3947 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
3948 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
3949
04795ad9
UD
39501998-09-11 Ulrich Drepper <drepper@cygnus.com>
3951
3952 * resolv/res_init.c (res_init): Handle resolv.conf file with only
3953 one nameserver correctly. Patch by HJ Lu.
3954
3955 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
3956 and ANSI_X3.110.
3957 Define *-routines variables for new modules.
3958 (distribute): Add .c files for new modules.
3959 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
3960 Add rules for hedaer generation.
3961 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
3962 * iconvdata/ansi_x3.110.c: New file.
3963 * iconvdata/asmo_449.c: New file.
3964 * iconvdata/baltic.c: New file.
3965 * iconvdata/iec_p27-1.c: New file.
3966
3967 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
3968 entries.
3969 Convert U02dc correctly.
3970
3971 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
3972 * math/atest-exp2.c: Likewise.
3973 * math/atest-sincos.c: Likewise.
3974
3975 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
3976 is defined.
3977
39781998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3979
3980 * string/strcoll.c: Optimize a few expressions.
3981 * string/strxfrm.c: Likewise.
3982
5e0889da
UD
39831998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3984
3985 * manual/locale.texi: Fix typos.
3986
2c86b2bc
UD
39871998-09-10 Ulrich Drepper <drepper@cygnus.com>
3988
26afaa63
UD
3989 * stdlib/random_r.c (__setstate_r): Allow call with same state
3990 array as currently used (PR libc/774).
3991
6c79e60c
UD
3992 * include/limits.h: Include gcc's header even if this file is
3993 found more than once before it (PR libc/778)
3994
ec04e9ba
UD
3995 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
3996 (sysdep_headers): Remove sys/debugreg.h.
3997 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
3998 (sysdep_headers): Add sys/debugreg.h.
39382b8b
UD
3999 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
4000 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
4001
2c86b2bc
UD
4002 * stdio-common/tmpnam.c: Move local static variable buf to
4003 toplevel and rename to tmpnam_buffer to ease debugging.
4004 Patch by Joe Keane <jgk@jgk.org>.
4005 Optimize s == NULL case a bit.
4006
8e9f53fc
UD
4007 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
4008 correction.
4009
482a3be2
UD
40101998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
4011
4012 * resolv/res_init.c (res_init): Initialize _res.nscount and
4013 _res.nsaddr.sin_port differently for the can when no loopback
4014 is available to allow immediate timeout in non-networking environments.
4015 Patch by Cristian Gafton <gafton@redhat.com>.
4016
e8238963
UD
40171998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4018
4019 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
4020 BAR and not EM DASH.
4021 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
4022 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
4023 Fixes PR libc/717.
4024
90865aa8
UD
40251998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
4026
4027 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
4028 for test.
4029 * timezone/tst-timezone.c (tests): Fix typo in last patch.
4030
4031 * time/tzfile.c (__tzfile_read): Handle case when there are no
4032 transitions. Set __timezone based on computed offset.
4033 * time/tzset.c (tzset_internal): Set __timezone before returning.
4034
4035 * time/tzset.c (tzset_internal): Optimize handling of local string
4036 copy.
4037
40381998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4039
4040 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
4041 libc/776).
4042
adac8450
UD
40431998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4044
4045 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
4046 (csqrt_test): Likewise.
90865aa8 4047 * sysdeps/powerpc/bits/fenv.h: Add parens.
adac8450 4048
8e140239
UD
40491998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
4050
4051 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
4052 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
4053 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
4054
78acf671
UD
40551998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
4056
4057 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
4058 the special `-1' pointer.
4059
6e4c40ba
UD
40601998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
4061
4062 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
4063 inline.
4064
40651998-09-07 Paul Eggert <eggert@twinsun.com>
4066
4067 * time/mktime.c (__EXTENSIONS__): Define if not defined.
4068 (_REENTRANT): Remove. It has undesirable consequences in
4069 Solaris 2.6 (e.g. it turns off the putc macro). Defining
4070 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
4071 is what we want.
4072 * time/strftime.c: Likewise.
4073
40741998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4075
4076 * elf/dl-error.c: Fix spelling.
4077
40781998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4079
4080 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
4081 * stdio-common/_itoa.c: Likewise.
4082 * stdio-common/printf_fp.c: Likewise.
4083 * stdio-common/vfscanf.c: Likewise.
4084 * wcsmbs/wcstok.c: Likewise.
4085 * sysdeps/generic/glob.c: Likewise.
4086 * posix/getopt.c: Likewise.
4087 * sysdeps/posix/getaddrinfo.c: Likewise.
4088 * posix/wordexp.c: Likewise.
4089 * io/ftw.c: Likewise.
4090 * io/fts.c: Likewise.
4091 * misc/getpass.c: Likewise.
4092 * iconv/gconv_conf.c: Likewise.
4093 * argp/argp-fmtstream.c: Likewise.
4094 * argp/argp-help.c: Likewise.
4095 * elf/dl-load.c: Likewise.
4096 * locale/programs/stringtrans.c: Likewise.
4097 * catgets/gencat.c: Likewise.
4098 * posix/getconf.c: Likewise.
4099 * iconv/gconv_conf.c: Likewise.
4100 * iconv/iconv_prog.c: Likewise.
4101
4102 * string/strcoll.c: Optimize a few expressions.
4103 * string/strxfrm.c: Likewise.
4104
41051998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4106
4107 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
4108 level to avoid uninit variable warning.
4109
41101998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2aa236b1 4111
769ca810 4112 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
6e4c40ba 4113 instead of _dl_default_scope[2] as argument to _dl_init_next.
769ca810 4114
2aa236b1
AS
4115 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
4116 C9x macro.
4117
8ea4a95a
UD
41181998-09-08 Ulrich Drepper <drepper@cygnus.com>
4119
6e4c40ba 4120 Fix compatibility problems introduced in last change.
dc27836e
UD
4121 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
4122 defined.
4123 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
4124 -DWEAK_GMON_START to CFLAGS-initfini.s.
4125
e4d50917
UD
4126 * elf/dl-object.c (_dl_new_object): Store map address in
4127 _dl_loaded if _dl_loaded is NULL.
87c812c2 4128 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
e4d50917 4129
8ea4a95a
UD
4130 * sysdeps/generic/setrlimit64.c: Remove stub warning.
4131
88c91118
UD
41321998-09-07 Ulrich Drepper <drepper@cygnus.com>
4133
4134 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
4135 quiet.
2c874db2
UD
4136 * db2/btree/bt_cursor.c: Likewise.
4137 * db2/common/db_region.db_c: Likewise.
4138 * db2/common/db_salloc.db_c: Likewise.
4139 * db2/db/db.c: Likewise.
4140 * db2/db/db_rec.c: Likewise.
4141 * db2/hash/hash.c: Likewise.
4142 * db2/hash/hash_page.c: Likewise.
4143 * db2/hash/hash_rec.c: Likewise.
4144 * db2/log/log_findckp.c: Likewise.
4145 * db2/log/log_get.c: Likewise.
4146 * db2/log/log_put.c: Likewise.
4147 * db2/mp/mp_fget.c: Likewise.
4148 * db2/mp/mp_fput.c: Likewise.
4149 * db2/mp/mp_region.c: Likewise.
cf9f9a16
UD
4150 * stdlib/strtol.c: Likewise.
4151 * string/strcoll.c: Likewise.
4152 * string/strxfrm.c: Likewise.
94b78bb2
UD
4153 * argp/argp-help.c: Likewise.
4154 * argp/argp-parse.c: Likewise.
3121cc04 4155 * resolv/res_debug.c: Likewise.
88c91118 4156
26644e87
UD
41571998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
4158
4159 * math/tgmath.h (scalb): Only define for __USE_MISC or
4160 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
4161
2b33e5b0
UD
41621998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4163
4164 * libio/stdio.h: Fix comment.
4165
4166 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
4167 __USE_ISOC9X.
4168
6796bc80
UD
41691998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
4170
4171 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
4172
4173 * elf/dl-open.c: Quiet -Wparentheses warnings.
4174 * iconvdata/johab.c: Likewise.
4175 * iconvdata/uhc.c: Likewise.
4176 * inet/inet_net.c: Likewise.
4177 * io/fts.c: Likewise.
4178 * locale/newlocale.c: Likewise.
4179 * misc/getttyent.c: Likewise.
4180 * misc/mntent_r.c: Likewise.
4181 * misc/ttyslot.c: Likewise.
4182 * nscd/nscd_conf.c: Likewise.
4183 * nss/nsswitch.c: Likewise.
4184 * resolv/gethnamaddr.c: Likewise.
4185 * resolv/nsap_addr.c: Likewise.
4186 * resolv/res_debug.c: Likewise.
4187 * stdio-common/_itoa.c: Likewise.
4188 * stdlib/strtod.c: Likewise.
4189 * string/strverscmp.c: Likewise.
4190 * sunrpc/svc.c: Likewise.
4191 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
4192 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
4193 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
4194 * sysdeps/posix/getaddrinfo.c: Likewise.
4195
baa3334a
UD
41961998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
4197
4198 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
4199 for use of global scope.
4200 * elf/dlvsym.c (dlvsym_doit): Likewise.
4201
42021998-09-02 Paul Eggert <eggert@twinsun.com>
4203
4204 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
4205 copy the redundant bytes at the end of the format as-is; don't
4206 just copy their first byte and then rescan, as that might get
4207 us an encoding error.
4208 Account correctly for the length of multibyte sequences in the
4209 format.
4210
42111998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
4212
4213 * posix/wordexp-test.c: Add tests for different IFS values.
4214 Change unquoted-newline test so that newline is not in IFS.
4215
4216 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
4217 determining IFS characters. Return WRDE_BADCHAR for unquoted
4218 special characters _except_ if they are separators.
4219
42201998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
4221
4222 * include/tgmath.h: New file.
4223
4224 * libio/stdio.h: Correct reversed #ifs.
4225 Patch by Zack Weinberg.
4226
4227 * manual/creature.texi: Better explain reason for feature select
4228 macros.
4229 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
4230
42311998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
4232
4233 * include/alloca.h: Add multiple-inclusion guard.
4234 * include/db.h: Likewise.
4235 * include/db_185.h: Likewise.
6796bc80 4236 * include/dlfcn.h: Likewise.
baa3334a
UD
4237 * include/fcntl.h: Likewise.
4238 * include/grp.h: Likewise.
4239 * include/libintl.h: Likewise.
4240 * include/mntent.h: Likewise.
4241 * include/pwd.h: Likewise.
4242 * include/sched.h: Likewise.
4243 * include/search.h: Likewise.
4244 * include/setjmp.h: Likewise.
4245 * include/shadow.h: Likewise.
4246 * include/signal.h: Likewise.
4247 * include/stdio.h: Likewise.
4248 * include/stdlib.h: Likewise.
4249 * include/string.h: Likewise.
4250 * include/termios.h: Likewise.
4251 * include/time.h: Likewise.
4252 * include/ulimit.h: Likewise.
4253 * include/utmp.h: Likewise.
4254 * include/wchar.h: Likewise.
4255 * include/sys/file.h: Likewise.
4256 * include/sys/gmon.h: Likewise.
4257 * include/sys/ioctl.h: Likewise.
4258 * include/sys/mman.h: Likewise.
4259 * include/sys/resource.h: Likewise.
4260 * include/sys/select.h: Likewise.
4261 * include/sys/socket.h: Likewise.
4262 * include/sys/statfs.h: Likewise.
4263 * include/sys/time.h: Likewise.
4264 * include/sys/times.h: Likewise.
4265 * include/sys/wait.h: Likewise.
4266
be935610
UD
42671998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
4268
4269 * version.h (VERSION): Bump to 2.0.96.
4270
4271 Rewrite runtime linker to be truly thread-safe. There is now no
4272 global variable specifying the scope. We create all needed
4273 scopes at the time the link maps are created.
4274 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
4275 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
4276 l_symbolic_searchlist, l_scope, and l_local_scope elements in
4277 struct link_map.
4278 * elf/dl-close.c: Rewritten accordingly.
4279 * elf/dl-deps.c: Likewise.
4280 * elf/dl-error.c: Likewise.
4281 * elf/dl-init.c: Likewise.
4282 * elf/dl-load.c: Likewise.
4283 * elf/dl-lookup.c: Likewise.
4284 * elf/dl-object.c: Likewise.
4285 * elf/dl-open.c: Likewise.
4286 * elf/dl-reloc.c: Likewise.
4287 * elf/dl-runtime.c: Likewise.
4288 * elf/dl-support.c: Likewise.
4289 * elf/dl-symbol.c: Likewise.
4290 * elf/dl-version.c: Likewise.
be935610
UD
4291 * elf/dlsym.c: Likewise.
4292 * elf/dlvsym.c: Likewise.
4293 * elf/ldsodefs.h: Likewise.
4294 * elf/rtld.c: Likewise.
4295 * iconv/gconv_dl.c: Likewise.
4296 * nss/nsswitch.c: Likewise.
4297 * sysdeps/i386/dl-machine.h: Likewise.
4298 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
4299
6796bc80
UD
4300 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
4301 Define RTLD_DEFAULT.
4302
2b4083dd
RM
43031998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
4304
4305 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
4306 __getopt_clean_environment with __environ instead of envp.
4307
a361203e
RM
43081998-09-05 Roland McGrath <roland@baalperazim.frob.com>
4309
2b4083dd
RM
4310 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
4311
531e4bca
RM
4312 * string/argz-extract.c (__argz_extract): Add de-consting cast for
4313 setting results.
4314
62ee0979 4315 * string/argz.h (argz_next): Add de-consting cast for return.
531e4bca 4316 * string/argz-next.c (__argz_next): Likewise.
62ee0979 4317
59cacc81
RM
4318 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
4319 Don't add netinet/udp.h, netinet/ip_icmp.h here.
4320 * sysdeps/gnu/Makefile: Do it here instead.
4321 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
4322 * sysdeps/gnu/Dist: ... to here.
4323
a361203e
RM
4324 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
4325 sysdeps/unix/sysv/linux/netinet/tcp.h,
4326 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
4327
29659dd2
RM
43281998-09-04 Roland McGrath <roland@baalperazim.frob.com>
4329
4330 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
4331 * string/argz-next.c, string/argz-extract.c: Fix defns.
4332
1097c603
RM
43331998-09-03 Roland McGrath <roland@baalperazim.frob.com>
4334
4335 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
4336
4337 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
4338 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
4339 * sysdeps/generic/sysd-stdio.c: Likewise.
4340
143e2b96
UD
43411998-09-02 Ulrich Drepper <drepper@cygnus.com>
4342
4343 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
4344 (_dl_map_object_from_fd): Make NAME argument const.
4345 Remove last parameter in _dl_new_object call.
4346 (print_search_path): Correct construction of composed path name.
4347 (_dl_map_object): Prevent looking at RPATH of the main map twice.
4348 Remove last parameter in _dl_new_object call.
4349 * elf/dl-object.c: Remove last parameter. Determine whether create
4350 origin entry based on empty realname. Handle file in root directory
4351 correctly.
4352 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
4353 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
4354 Remove last parameter in _dl_new_object call.
4355 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
4356 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
4357
fc3597c0
UD
43581998-09-01 Ulrich Drepper <drepper@cygnus.com>
4359
4ce636da
UD
4360 * elf/dl-close.c (_dl_close): Add more comments and correct some.
4361 Free l_searchlist and l_dupsearchlist.
4362
fc3597c0
UD
4363 * debug/catchsegv.sh: Add one more pair of quotes.
4364
76156ea1
UD
43651998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
4366
4367 * elf/dl-load.c (add_name_to_object): Change return type to void and
4368 make NAME parameter const. Allocate room for NAME in same memory
4369 block used for l_libname entry.
4370 (_dl_map_object_from_fd): Don't free NAME on failure.
4371 (map_segment): Pass SONAME to add_name_to_object, not a copy.
4372 (_dl_map_object): Don't create copy of NAME. Pass NAME to
4373 _dl_map_object_from_fd.
4374 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
4375 memory block used for l_libname entry.
4376 * elf/dl-close.c: Adjust free()ing for this change.
4377
a8a1269d
UD
43781998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
4379
4380 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
4381
4382 * malloc/mtrace.c: Add bug report address. Update email address.
4383 Add more @XXX@ to print correct address size.
4384
4385 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
4386 really initialized.
4387
4388 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
4389 for munmap call instead of examining phdr again.
4390 Free all malloc()ed strings and arrays.
4391
052b6a6c
UD
43921998-08-09 Geoff Keating <geoffk@ozemail.com.au>
4393
4394 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
4395 dl-machine.h.
4396 * sysdeps/powerpc/dl-machine.c: New file.
4397 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
4398 files. Revise ELF_PREFERRED_ADDRESS to take account of
4399 the new mapping information (fixes bug involving huge bloated
4400 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
4401 * sysdeps/powerpc/dl-start.S: New file.
4402
4403 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
4404 l_map_end.
4405 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
4406 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
4407 others. Call elf_dynamic_do_##reloc only once (to save even more
4408 space).
4409 * elf/link.h: Add new members l_map_start and l_map_end to keep
4410 track of the memory map.
4411 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
4412 the executable.
4413
44141998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
4415
4416 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
4417 Reported by Andreas Jaeger.
4418
4419 * posix/glob.h: Use __size_t instead of size_t in definitions and
4420 make sure this is defined.
4421
85c165be
UD
44221998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
4423
052b6a6c 4424 * manual/locale.texi: Almost complete rewrite. Document more functions
85c165be
UD
4425 and functionality.
4426 * manual/arith.texi: Correct reference.
4427 * manual/string.texi: Pretty printing.
4428
4429 * manual/texinfo.tex: Update from last available version.
4430
44311998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
4432
4433 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
4434 invalid password.
4435 (_nss_nis_getpwuid_r): Likewise.
4436 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
4437
4438 * inet/rcmd.c: Implement netgroup support.
4439 Patch by Dick Streefland <dick_streefland@tasking.com>.
4440
7afab53d
UD
44411998-08-31 Ulrich Drepper <drepper@cygnus.com>
4442
4443 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
4444 object on the list is removed. Don't use this code for PIC.
4445 Reported by HJ Lu [PR libc/770].
4446
bfce746a
UD
44471998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
4448
4449 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
4450
4451 * include/stdio.h: Add __vsscanf.
4452
4453 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
4454 __USE_ISOC9X.
4455 Remove __vsscanf declaration.
4456 Always declare fgetpos and fsetpos.
4457
4458 * math/math.h: Define isinf as macro.
4459 * math/bits/mathcalls.h: Change to declare __isinf all the time.
4460 Don't declare scalb for ISO C 9x.
4461
4462 * math/tgmath.h: Define fma. Rewrite the underlying macros.
4463
4464 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
4465
4466 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
4467 sys/ucontext.h.
4468
4469 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
4470 macros.
4471
44721998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4473
4474 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
4475 Reported by jreising@frequentis.com [PR libc/767].
4476
44771998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4478
4479 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
4480 fl.l_start at beginning of function.
4481 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
4482
ac72fbb1
UD
44831998-08-31 Ulrich Drepper <drepper@cygnus.com>
4484
4485 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
4486 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
4487
4488 * nscd/nscd.init: Make it work in RedHat systems.
4489 Patch by Christian Gafton.
4490
44911998-08-29 Philip Blundell <philb@gnu.org>
4492
4493 * catgets/Makefile: Don't try to run test programs when
4494 cross-compiling.
4495
44961998-08-31 Ulrich Drepper <drepper@cygnus.com>
4497
4498 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
4499 Reported by Zack Weinberg.
4500
45011998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4502
4503 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
4504 * elf/Makefile (distribute): Remove ldd.sh.in.
4505
45061998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4507
4508 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
4509 variable.
4510
e0d46614
UD
45111998-08-29 Ulrich Drepper <drepper@cygnus.com>
4512
4513 * sysdeps/i386/register-dump.h: Move to ...
4514 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
4515
b0cf070b
UD
45161998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
4517
4518 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
4519 with load address, not map address.
4520 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
4521 parameter and use this value.
4522 * sysdeps/arm/dl-machine.h: Likewise.
4523 * sysdeps/i386/dl-machine.h: Likewise.
4524 * sysdeps/m68k/dl-machine.h: Likewise.
4525 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
4526 parameter.
4527 * sysdeps/powerpc/dl-machine.h: Likewise
4528 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
4529 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
4530
997a4165
UD
45311998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
4532
4533 * elf/rtld.c (process_envvars): Fix copy&paste error.
4534
4535 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
4536 memalign hook.
4537 (realloc_hook_ini): Don't overwrite memalign hook.
4538 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
4539 Reported by Philippe Troin <phil@fifi.org>.
4540
4541 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
4542 Patch by Philippe Troin <phil@fifi.org>.
4543
45441998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4545
4546 * sysdeps/generic/segfault.c (install_handler): Protect the
4547 non-POSIX signals with #ifdef.
4548 (catch_segfault): Add missing mode parameter for open.
4549 * debug/catchsegv.sh: Avoid termination message from shell. Allow
4550 other termination signals.
4551
45521998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4553
4554 * debug/Makefile (distribute): Add register-dump.h.
4555
45561998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4226897d
AS
4557
4558 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
4559
f787edde
UD
45601998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
4561
4562 * elf/Makefile (distribute): Add dl-origin.h.
4563 * sysdeps/generic/dl-origin.h: New file.
4564 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
4565 * elf/link.h (struct link_map): Add l_origin field.
4566 * elf/dl-load.c (expand_dynamic_string_token): New function.
4567 (decompose_path): Remove WHERE argument, take link map pointer instead.
4568 Call expand_dynamic_string_token instead of local_strdup to make copy
4569 of rpath.
4570 (_dl_init_paths): Call decompose_path with correct argument.
4571 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
4572 not defined.
4573 Check EI_OSABI and EI_ABIVERSION fields in header.
5f623941 4574 Call _dl_new_object with extra argument.
f787edde
UD
4575 (_dl_map_object): Call decompose_path with correct argument.
4576 Call expand_dynamic_string_token instead of local_strdup to also
4577 expand DST.
5f623941 4578 Call _dl_new_object with extra argument.
f787edde 4579 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
5f623941
UD
4580 but the main one if new argument is nonzero.
4581 * elf/ldsodefs.h: Adjust for _dl_new_object change.
f787edde
UD
4582 * elf/dl-support.c: Define _dl_origin_path.
4583 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
5f623941 4584 (dl_main): Call _dl_new_object with extra argument.
f787edde
UD
4585
4586 * elf/dl-close (_dl_close): Free l_name and l_origin.
4587
4588 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
4589 modifier in asm, not c.
4590
4591 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
4592 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
4593
6075607b
UD
45941998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
4595
4596 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
4597 variable so that map can be freed.
4598 Reported by Philippe Troin <phil@fifi.org>.
4599
4600 * elf/dl-open.c (dl_open_worker): Correct test for extending global
4601 scope array.
4602 Patch by Philippe Troin <phil@fifi.org>.
4603
46041998-08-26 Geoff Keating <geoffk@ozemail.com.au>
4605
4606 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
4607 Don't call writev() with a 100-element vector.
4608 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
4609 return address.
4610
4611 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
4612 In particular, set __libc_stack_end.
4613 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
4614 undefined. Fix copyright notice.
4615
46161998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4617
4618 * math/Makefile (gmp-objs): New variable.
4619 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
4620 Depend on it.
4621 (tests): Add atest-exp atest-sincos atest-exp2.
4622 (tests-static): Remove atest-exp atest-sincos atest-exp2.
4623
08cac4ac
UD
46241998-08-25 Ulrich Drepper <drepper@cygnus.com>
4625
4626 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
4627 to toplevel.
4628 (_dl_unload_cache): New function.
4629 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
4630 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
6075607b 4631 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
08cac4ac
UD
4632
4633 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
4634 Correct comment for O_LARGEFILE.
4635 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
4636 Change O_LARGEFILE to correct value.
4637
46381998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
4639
4640 * libio/iogetline.c (_IO_getline_info): Don't read anything for
4641 N == 0. Patch by HJ Lu.
4642
6dbb7062
UD
46431998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
4644
4645 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
4646
46471998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
4648
4649 * argp/argp.h: Use __inline__ not inline.
4650
4651 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
4652 an input register as being clobbered.
4653 * sysdeps/i386/memset.c (memset): Likewise.
4654 * sysdeps/i386/bzero.c (__bzero): Likewise.
4655 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
4656
46571998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4658
4659 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
4660 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
4661
ed1ac6a2
UD
46621998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
4663
4664 * debug/catchsegv.sh: Handle text preceding backtrace better.
4665 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
4666 to be installed for other signals than SIGSEGV.
4667 * sysdeps/generic/register-dump.h: New file.
4668 * sysdeps/i386/register-dump.h: New file.
4669 * sysdeps/powerpc/register-dump.h: New file.
4670
4671 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
4672 sigcontextinfo.h.
4673 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
4674
46751998-08-24 Geoff Keating <geoffk@ozemail.com.au>
4676
4677 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
4678
46791998-08-09 Geoff Keating <geoffk@ozemail.com.au>
4680
4681 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
4682 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
4683 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
4684 getresuid, getresgid.
4685
46861998-08-16 Geoff Keating <geoffk@ozemail.com.au>
4687
4688 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
4689 pointer in userland.
4690
46911998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4692
4693 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
4694 and fix value.
4695
46961998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4697
4698 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
4699 over arguments Bourne shell compatible. Don't exit unsuccessfully
4700 if nonelf returns successfully. Avoid duplicating most of the
4701 script.
4702 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
4703 around $file.
4704
47051998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
99475e65
AS
4706
4707 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
4708 sys/reg.h.
4709 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
4710 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
4711
b259e746
UD
47121998-08-23 Ulrich Drepper <drepper@cygnus.com>
4713
4714 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
4715 __modify_ldt and modify_ldt.
4716 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
4717
4718 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4719 Use orl $-1 instead of movl $-1 to save two bytes.
4720 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
4721 Likewise.
4722
47231998-08-17 H.J. Lu <hjl@gnu.org>
ed1ac6a2
UD
4724
4725 * libio/Versions (_IO_do_write, _IO_file_attach,
4726 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4727 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4728 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4729 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
4730
4731 * libio/fileops.c (_IO_do_write, _IO_file_attach,
4732 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4733 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4734 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4735 _IO_file_write, _IO_file_xsputn): Change the prefix to
4736 "_IO_new_". Added to GLIBC_2.1.
4737
4738 * libio/libioP.h (_IO_do_write, _IO_file_attach,
4739 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4740 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4741 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4742 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
4743 "_IO_new_".
4744
4745 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
4746 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4747 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4748 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4749 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
4750
b259e746
UD
47511998-08-23 Richard Henderson <rth@cygnus.com>
4752
4753 * Makeconfig (LDFLAGS): Remove.
4754
ed1ac6a2 4755 * csu/initfini.c: Return to .text before __gmon_start__.
b259e746 4756
ed1ac6a2
UD
4757 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
4758 (STO_MIPS_*): Rename from STO_*.
4759 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
4760 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
b259e746 4761
ed1ac6a2
UD
4762 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
4763 (main): e3s is negative on zero.
4764 * math/atest-exp2.c: Likewise.
b259e746
UD
4765 * math/atest-sincos.c: Likewise.
4766
ed1ac6a2
UD
47671998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4768
4769 * Makerules (install): Add comment about absolute paths.
4770
b259e746
UD
47711998-08-23 Ulrich Drepper <drepper@cygnus.com>
4772
4773 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
4774 array to NUL to handle maxlen==1 case correctly.
4775 Patch by HJ Lu.
4776
47771998-08-23 Richard Henderson <rth@cygnus.com>
7d84a067
RH
4778
4779 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
4780 * sysdeps/alpha/elf/crtend.S: Likewise.
4781 * sysdeps/alpha/elf/start.S: Likewise.
4782
4783 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
4784 non-standard pv usage.
4785
4786 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
4787 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
4788 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
4789 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
4790 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
4791 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
4792 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
4793 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
4794 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
4795 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
4796 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
4797
4798 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
4799 a finite non-denormal, deferring to the full IEEE version otherwise.
4800
4801 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
4802 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
4803 * sysdeps/alpha/fpu/s_floor.c: New.
4804 * sysdeps/alpha/fpu/s_floorf.c: New.
4805 * sysdeps/alpha/fpu/s_ceil.c: New.
4806 * sysdeps/alpha/fpu/s_ceilf.c: New.
4807
e86e2df1
UD
48081998-08-22 Philip Blundell <philb@gnu.org>
4809
4810 * sysdeps/arm/bits/string.h: New file.
4811
14a44a69
UD
48121998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4813
4814 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
4815 document it.
4816
4817 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
4818 test for recent Linux 2.1.100+ headers.
4819
e36b0b57
UD
48201998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4821
4822 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
4823
5148d49f
UD
48241998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
4825
4826 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
4827
48281998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4829
4830 * Makefile (elf/ldso_install): Put back. The problem still persists.
4831 * elf/Makefile (ldso_install): Likewise.
4832
48331998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4834
4835 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
4836 create weak alias.
4837 * include/db.h: Declare __nss_db_open.
4838 * db2/Versions: Export it.
4839
4840 * db2/makedb.c: Convert to use db2 API.
4841 * nss/nss_db/db-XXX.c: Likewise.
4842 * nss/nss_db/db-netgrp.c: Likewise.
4843 * nss/nss_db/db-alias.c: Likewise.
4844 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
4845
48461998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4847
4848 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4849 sys_setresuid, already built automatically (or not).
4850 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
4851 instead of __syscall_setresuid and add back setresuid.
4852 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
4853 __syscall_setresuid.
4854
48551998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4856
4857 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
4858
1ddf537f
UD
48591998-08-20 Ulrich Drepper <drepper@cygnus.com>
4860
4861 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
4862 BASH-ONLY marked region.
4863 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
4864
48651998-02-20 17:54 H.J. Lu <hjl@gnu.org>
4866
4867 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
4868 _IO_SYSSEEK fails.
4869
4870 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
4871
4df28840 4872 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1ddf537f
UD
4873 element.
4874
8e48355c
RM
48751998-08-21 Roland McGrath <roland@baalperazim.frob.com>
4876
4877 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
4878 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
4879 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
4880 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
4881 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
4882 those magic comments, and to use /bin/sh for @BASH@.
4883 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
4884 * elf/ldd.sh.in: File removed.
4885
d762684b
UD
48861998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
4887
4888 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
4889 cast them to unsigned long int.
4890 * pwd/putpwent.c (putpwent): Likewise.
4891 Patch by John Tobey <jtobey@banta-im.com>.
4892
48931998-08-20 17:14 H.J. Lu <hjl@gnu.org>
4894
4895 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
4896 _IO_pos_BAD.
4897
48981998-02-20 17:54 H.J. Lu <hjl@gnu.org>
4899
4900 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
4901 _IO_SYSSEEK fails.
4902
7934cc16
UD
49031998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
4904
4905 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
4906 Add umount and umount2.
4907 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
4908 * sysdeps/unix/sysv/linux/umount.S: New file.
4909 * sysdeps/unix/sysv/linux/umount2.S: New file.
4910 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
4911 Define MNT_FORCE.
4912
d762684b
UD
4913 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
4914 Add sys/sendfile.h.
4915 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
4916 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
4917
4918 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
4919
4920 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
4921 sendfile.
4922
df777c40
UD
49231998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
4924
4925 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
4926 * elf/ldd.bash.in: Likewise.
4927
4928 * elf/sln.c: Avoid warning for no main prototype.
4929
4930 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
4931 O_WRITE.
4932 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4933 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4934
4935 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
4936 F_GETSIG.
4937 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
4938 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4939 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4940
49411998-08-20 Philip Blundell <pb@nexus.co.uk>
4942
4943 * sysdeps/arm/fpu/ieee754.h: Move to...
4944 * sysdeps/arm/ieee754.h: ... here.
4945
4946 * sysdeps/arm/__longjmp.S: Put return value in correct register.
4947 Don't set the condition flags unnecessarily.
4948 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
4949 registers correctly.
4950
4951 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
4952 (patch from Scott Bambrough).
4953
4954 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
4955
4956 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
4957 NULL, just call it unconditionally.
4958 (__gmon_start__): Provide stub version as a weak symbol.
4959
49601998-07-30 Philip Blundell <philb@gnu.org>
4961
4962 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
4963 by Scott Bambrough)
4964
4965 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
4966 like `@' in .type directives.
4967
4968 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
4969 * sysdeps/arm/bsd-_setjmp.S: Likewise.
4970
4971 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
4972
49731998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4974
4975 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
4976 (F_GETOWN): Likewise.
4977
4978 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
4979 Linux 2.1.117).
4980
49811998-08-20 Ulrich Drepper <drepper@cygnus.com>
4982
4983 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
4984 already defined.
4985
0c6cee5d
UD
49861998-08-18 Ulrich Drepper <drepper@cygnus.com>
4987
4988 * include/features.h: Define __USE_EXTERN_INLINES for recent
4989 enough gcc.
4990 * argp/argp.h: Define extern inline functions only if
4991 __USE_EXTERN_INLINES is defined.
4992 * libio/stdio.h: Likewise.
4993 * math/math.h: Likewise.
4994 * stdlib/stdlib.h: Likewise.
4995 * string/argz.h: Likewise.
4996 * sysdeps/generic/bits/sigset.h: Likewise.
4997 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4998 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
4999 * sysdeps/wordsize-32/inttypes.h: Likewise.
5000 * sysdeps/wordsize-64/inttypes.h: Likewise.
5001 * wcsmbs/wchar.h: Likewise.
5002
5003 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
5004 to allow compilation without optimization.
5005
df777c40
UD
50061998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5007
5008 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
5009 more entries.
5010 * nis/nss_compat/compat-initgroups.c: Likewise.
5011 * nis/nss_compat/compat-pwd.c: Likewise.
5012 * nis/nss_compat/compat-spwd.c: Likewise.
5013 * nis/nss_nis/nis-alias.c: Likewise.
5014 * nis/nss_nis/nis-ethers.c: Likewise.
5015 * nis/nss_nis/nis-grp.c: Likewise.
5016 * nis/nss_nis/nis-hosts.c: Likewise.
5017 * nis/nss_nis/nis-initgroups.c: Likewise.
5018 * nis/nss_nis/nis-network.c: Likewise.
5019 * nis/nss_nis/nis-proto.c: Likewise.
5020 * nis/nss_nis/nis-pwd.c: Likewise.
5021 * nis/nss_nis/nis-rpc.c: Likewise.
5022 * nis/nss_nis/nis-service.c: Likewise.
5023 * nis/nss_nis/nis-spwd.c: Likewise.
5024
5025 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
5026
5027 * nis/ypclnt.c: Try binding dir only first time, could be to old.
5028
5029 * nis/yp_xdr.c: Remove 1024 byte limit.
5030 * nis/ypupdate_xdr.c: Likewise.
5031
5032 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
5033 wrong data.
5034
c82e6116
RM
50351998-08-18 Roland McGrath <roland@baalperazim.frob.com>
5036
5037 * Rules (binaries-static, binaries-shared static pattern rules):
5038 Depend on lib%, not just libc%, from $(link-libc{,-static}).
5039
5040 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
5041 this here, overriding Makeconfig generic value so we link against
5042 the RPC libs.
5043
364ff81f
UD
50441998-08-17 Ulrich Drepper <drepper@cygnus.com>
5045
5046 * posix/tstgetopt.c (options): Add NULL entry at end
5047 Patch by Adrian Miranda <ade@psg.com>.
5048
5d7de7aa
UD
50491998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
5050
5051 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
5052 to 9.
5053
d610a544
UD
50541998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
5055
5056 * elf/elf.h: Add PPC Diab relocations.
5057
5058 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
5059
409dfcea
UD
50601998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
5061
5062 * manual/texinfo.tex: Update.
5063
50641998-08-07 Geoff Keating <geoffk@ozemail.com.au>
5065
5066 * sysdeps/powerpc/backtrace.c: New file.
5067
50681998-08-14 Philip Blundell <pb@nexus.co.uk>
5069
5070 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
5071 sigjmp_save.
5072 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
5073
50741998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5075
5076 * Makefile (install-symbolic-link): Fix spelling.
5077
50781998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5079
5080 * elf/elf.h (SHT_HIOS): Fix value.
5081
50821998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5083
5084 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
5085 part of the expansion, this is undefined by the standard.
5086
9d141cae
UD
50871998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
5088
5089 * posix/getconf.c: Add support for systems with incomplete confname.h.
5090
5091 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
5092
5093 * sysdeps/posix/wait3.c: Make it work.
5094
50951998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5096
5097 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
5098 (elf/ldso_install): Remove.
5099
5100 * elf/Makefile (distribute): Add sln.c.
5101 (others): Add sln.
5102 (others-static): Add sln.
5103 (install-rootsbin): Add sln.
5104 (others-static): Add sln.
5105 (ldso_install): Remove.
5106
51071998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5108
5109 * Makerules (install-clean-symbolic-link-list): Make phony.
5110 * Makefile (install-symbolic-link): Make phony. Depend on
5111 subdir_install for parallel makes.
5112
5113
51141998-07-22 Ulrich Drepper <drepper@cygnus.com>
5115
5116 * elf/Makefile (distribute): Add sln.c
5117
51181998-07-21 07:10 H.J. Lu <hjl@gnu.org>
5119
5120 * elf/sln.c: New file.
5121
5122 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
5123 (install-clean-symbolic-link-list): New target.
5124 (install): Depend on install-clean-symbolic-link-list.
5125 (make-shlib-link): Changed for $(symbolic-link-list).
5126
5127 * Makefile (install-symbolic-link): New target.
5128 (install): Depend on install-symbolic-link.
5129
1f539fd1
UD
51301998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
5131
5132 * include/unistd.h: Protect against multiple inclusion.
5133
5134 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
5135 is defined, not is glob is defined.
5136 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
5137
51381998-08-01 17:18 H.J. Lu <hjl@gnu.org>
5139
5140 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
5141 xdr_string for ut_line, ut_name and ut_host.
5142
51431998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5144
5145 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
5146 /var/mail in accordance with FHS 2.0.
5147 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
5148
51491998-08-12 Richard Henderson <rth@cygnus.com>
5150
5151 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
5152 Update aliases for cancelation.
5153
5154 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
5155 playing with symbol versions.
5156
259d930a
RM
51571998-08-12 Roland McGrath <roland@baalperazim.frob.com>
5158
5159 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
5160 multiple inclusion protection.
5161 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
5162 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
5163 define all these to 1.
5164 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
5165
d6765f1d
RM
51661998-08-12 Roland McGrath <roland@baalperazim.frob.com>
5167
5168 * sysdeps/mach/usleep.c: Include <unistd.h>.
5169 (usleep): Return void.
5170
51711998-08-11 Roland McGrath <roland@baalperazim.frob.com>
5172
5173 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
5174 decl to inhibit warning in if_freenameindex defn.
5175
5176 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
5177
5178 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
5179
5180 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
5181 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
5182 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
5183 * sysdeps/mach/usleep.c: Likewise.
5184
5185 * sysdeps/mach/hurd/bind.c (bind): Add a const.
5186
5187 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
5188 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
5189 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
5190 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
5191 * sysdeps/mach/usleep.c (usleep): Likewise.
5192 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5193 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5194 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
5195 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
5196
51971998-08-11 Roland McGrath <roland@baalperazim.frob.com>
5198
5199 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
5200 (glob64): Fix typo.
5201
5202 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
5203 %p arg to fprintf, since `void *' is the right type already.
5204
b5876a19
RM
52051998-07-25 19:47 Jose M. Moya <josem@gnu.org>
5206
5207 * sysdeps/mach/hurd/getcwd.c
1f539fd1
UD
5208 (_hurd_canonicalize_directory_name_internal): Do not loop forever
5209 for unknown root directories.
b5876a19 5210 (__getcwd): Return NULL when the current root directory could not
1f539fd1 5211 be reached.
b5876a19 5212
f81d98d6 52131998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
a2bde807 5214
f81d98d6 5215 * string/strsignal.c (strsignal): Count real-time signals from zero.
a2bde807 5216
a5f4e34a 5217
f81d98d6 5218See ChangeLog.8 for earlier changes.
This page took 1.546944 seconds and 5 git commands to generate.