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