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