]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog.8
Update nss tests to new skeleton
[thirdparty/glibc.git] / ChangeLog.8
CommitLineData
edf66db1 11998-08-11 14:05 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 2
edf66db1
SP
3 * timezone/backward: Update from tzdata1998g.
4 * timezone/etcetera: Likewise.
5 * timezone/europe: Likewise.
f81d98d6 6
edf66db1 71998-08-11 Philip Blundell <pb@nexus.co.uk>
f81d98d6 8
edf66db1
SP
9 * sysdeps/generic/tempname.c (__path_search): Fix typo and
10 formatting.
f81d98d6 11
edf66db1 121998-08-11 H.J. Lu <hjl@gnu.org>
f81d98d6 13
edf66db1
SP
14 * malloc/malloc.c (free_check): Print pointer value using %p.
15 (realloc_check): Likewise.
f81d98d6 16
edf66db1 171998-08-11 13:57 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 18
edf66db1
SP
19 * libio/fileops.c (_IO_file_sync): Use _IO_ssize_t for delta, not
20 _IO_size_t.
f81d98d6 21
edf66db1 221998-08-10 15:49 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 23
edf66db1 24 * include/dirent.h: Protect from double inclusion.
f81d98d6 25
edf66db1 261998-08-09 Mark Kettenis <kettenis@phys.uva.nl>
f81d98d6 27
edf66db1
SP
28 * posix/glob.h: Add LFS support for glob and globfree.
29 * posix/Versions [GLIBC_2.1]: Add glob64 and globfree64.
30 * posix/Makefile (routines): Add glob64.
31 * sysdeps/generic/glob64.c: New file.
32 * sysdeps/unix/sysv/linux/glob64.c: New file.
33 * sysdeps/unix/sysv/linux/alpha/glob64.c: New file.
34 * sysdeps/unix/sysv/linux/sparc/sparc64/glob64.c: New file.
35 * sysdeps/generic/glob.c [_LIBC && glob] (__glob_pattern_p):
36 Elide function.
37 * sysdeps/unix/sysv/linux/alpha/glob.c: Add glob64 as a weak alias
38 for __new_glob. Likewise for globfree64.
39 * sysdeps/unix/sysv/linux/sparc/sparc64/glob.c: New file.
f81d98d6 40
edf66db1 411998-08-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 42
edf66db1
SP
43 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Remove
44 -include flag from command.
f81d98d6 45
edf66db1 461998-08-10 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 47
edf66db1
SP
48 * nss/nss_db/db-XXX.c (_nss_db_getXXX): If buffer is too small
49 decrement `entidx' to allow retrieving the same entry again.
f81d98d6 50
edf66db1 511998-08-09 22:32 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 52
edf66db1
SP
53 * sysdeps/powerpc/ffs.c: Fix typo. Add support for ffsl.
54 Patch by Matt McLean <keys@yikes.com>.
f81d98d6 55
edf66db1 561998-08-07 Geoff Keating <geoffk@ozemail.com.au>
f81d98d6 57
edf66db1
SP
58 * sysdeps/powerpc/bits/setjmp.h: Use word to save condition
59 registers.
60 * sysdeps/powerpc/setjmp.S: Save condition registers.
61 * sysdeps/powerpc/__longjmp.S: Restore condition registers.
f81d98d6 62
edf66db1 631998-08-09 09:40 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 64
edf66db1
SP
65 * nss/nss_files/files-XXX.c (internal_getent): In case of an read
66 error do not trust errno value, set it to ENOENT.
f81d98d6 67
edf66db1
SP
68 * db2/db_185.h: Move __ prototypes into include/* header.
69 * dirent/dirent.h: Likewise.
70 * elf/dlfcn.h: Likewise.
71 * gmon/sys/gmon.h: Likewise.
72 * grp/grp.h: Likewise.
73 * intl/libintl.h: Likewise.
74 * io/fcntl.h: Likewise.
75 * io/sys/stat.h: Likewise.
76 * io/sys/statfs.h: Likewise.
77 * io/sys/statvfs.h: Likewise.
78 * libio/stdio.h: Likewise.
79 * login/utmp.h: Likewise.
80 * misc/mntent.h: Likewise.
81 * misc/search.h: Likewise.
82 * misc/sys/file.h: Likewise.
83 * misc/sys/ioctl.h: Likewise.
84 * misc/sys/select.h: Likewise.
85 * misc/sys/uio.h: Likewise.
86 * misc/sys/ustat.h: Likewise.
87 * posix/unistd.h: Likewise.
88 * posix/sys/times.h: Likewise.
89 * posix/sys/wait.h: Likewise.
90 * pwd/pwd.h: Likewise.
91 * resource/ulimit.h: Likewise.
92 * resource/sys/resource.h: Likewise.
93 * setjmp/setjmp.h: Likewise.
94 * shadow/shadow.h: Likewise.
95 * signal/signal.h: Likewise.
96 * socket/sys/socket.h: Likewise.
97 * stdlib/alloca.h: Likewise.
98 * stdlib/stdlib.h: Likewise.
99 * string/string.h: Likewise.
100 * sysdeps/generic/sys/mman.h: Likewise.
101 * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
102 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
103 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
104 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
105 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
106 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
107 * termios/termios.h: Likewise.
108 * time/time.h: Likewise.
109 * time/sys/time.h: Likewise.
110 * wcsmbs/wchar.h: Likewise.
f81d98d6 111
edf66db1
SP
112 * include/alloca.h: Add __ prototypes here.
113 * include/db_185.h: Likewise.
114 * include/dirent.h: Likewise.
115 * include/dlfcn.h: Likewise.
116 * include/fcntl.h: Likewise.
117 * include/grp.h: Likewise.
118 * include/libintl.h: Likewise.
119 * include/mntent.h: Likewise.
120 * include/pwd.h: Likewise.
121 * include/sched.h: Likewise.
122 * include/search.h: Likewise.
123 * include/setjmp.h: Likewise.
124 * include/shadow.h: Likewise.
125 * include/signal.h: Likewise.
126 * include/stdio.h: Likewise.
127 * include/stdlib.h: Likewise.
128 * include/string.h: Likewise.
129 * include/termios.h: Likewise.
130 * include/time.h: Likewise.
131 * include/ulimit.h: Likewise.
132 * include/unistd.h: Likewise.
133 * include/utmp.h: Likewise.
134 * include/wchar.h: Likewise.
135 * include/sys/file.h: Likewise.
136 * include/sys/gmon.h: Likewise.
137 * include/sys/ioctl.h: Likewise.
138 * include/sys/mman.h: Likewise.
139 * include/sys/resource.h: Likewise.
140 * include/sys/select.h: Likewise.
141 * include/sys/socket.h: Likewise.
142 * include/sys/stat.h: Likewise.
143 * include/sys/statfs.h: Likewise.
144 * include/sys/time.h: Likewise.
145 * include/sys/times.h: Likewise.
146 * include/sys/uio.h: Likewise.
147 * include/sys/wait.h: Likewise.
148
149 * Makeconfig (+includes): Search in $(..)include first.
150
151 * io/fstat.c: Undefine __fstat.
152 * io/lstat.c: Undefine __lstat.
153
154 * wcsmbs/Versions: Add __mbrlen.
155
1561998-08-09 Ulrich Drepper <drepper@cygnus.com>
157
158 * elf/dl-reloc.c (_dl_relocate_object): Implement DT_BIND_NOW.
159
1601998-07-31 17:59 Ulrich Drepper <drepper@cygnus.com>
161
162 * sysdeps/generic/bits/byteswap.h: Fix problems with side effects.
163
164 * manual/filesys.texi: Document truncate and ftruncate.
165 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
166
167 * shadow/putspent.c: Lock stream while generating the output.
168
169 * sunrpc/clnt_unix.c: Use ucred instead of cmsgcred again.
170 (__msgwrite): Rewrite accordingly.
171 * sunrpc/svc_unix.c: Likewise.
172 * sysdeps/unix/sysv/linux/Dist: Remove __recvmsg.S and __sendmsg.S.
173 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==socket]
174 (sysdep_routines): Remove __sendmsg and __recvmsg.
175 * sysdeps/unix/sysv/linux/__recvmsg.S: Removed.
176 * sysdeps/unix/sysv/linux/__sendmsg.S: Removed.
177 * sysdeps/unix/sysv/linux/recvmsg.c: Removed.
178 * sysdeps/unix/sysv/linux/sendmsg.c: Removed.
179 * sysdeps/unix/sysv/linux/recvmsg.S: New file.
180 * sysdeps/unix/sysv/linux/sendmsg.S: New file.
181 * sysdeps/unix/sysv/linux/bits/socket.h: Define SCM_CREDENTIALS and
182 struct ucred. Remove struct cmsgcred.
183 Patches by Thorsten Kukuk.
184
1851998-08-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
186
187 * inet/rcmd.c (__ivaliduser): Allow '#' as comment character.
188
1891998-08-08 14:42 Ulrich Drepper <drepper@cygnus.com>
190
191 * argp/argp-help.c: Prepare to be used outside glibc without gcc by
192 adding usual alloca cruft.
193 Reported by Eleftherios Gkioulekas <lf@amath.washington.edu>.
194
1951998-04-05 Jim Meyering <meyering@ascend.com>
196
197 * lib/regex.c (WIDE_CHAR_SUPPORT): Define.
198 This now depends on HAVE_BTOWC so systems that lack btowc (like
199 solaris-2.5.1) don't lose.
200
2011998-08-07 Mark Kettenis <kettenis@phys.uva.nl>
202
203 * sysdeps/generic/bits/sigaction.h: Remove definition of SA_DISABLE.
204 * sysdeps/generic/bits/sigstack.h: Define SS_DISABLE, SS_ONSTACK,
205 MINSIGSTKZ and SIGSTKSZ. Definitions match BSD.
206 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Use SS_ONSTACK
207 instead of SA_ONSTACK.
208 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Renamed from
209 sigaltstack, and created a weak alias. Use SS_DISABLE and
210 SS_ONSTACK instead of SA_DISABLE and SA_ONSTACK.
211 * sysdeps/mach/hurd/sigstack.c (sigstack): Use SS_ONSTACK instead
212 of SA_ONSTACK. Call __sigaltstack instead of sigaltstack.
213 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use SS_ONSTACK
214 instead of SA_ONSTACK.
215 * sysdeps/mach/hurd/alpha/sigreturn.c (__sigreturn): Likewise.
216 * sysdeps/mach/hurd/mips/sigreturn.c (__sigreturn): Likewise.
217 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
218 Use SS_DISABLE instead of SA_DISABLE. Use SS_ONSTACK instead of
219 SA_ONSTACK where appropriate.
220 * sysdeps/mach/hurd/alpha/trampoline.c (_hurd_setup_sighandler):
221 Likewise.
222 * sysdeps/mach/hurd/hppa/trampoline.c (_hurd_setup_sighandler):
223 Likewise.
224 * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler):
225 Likewise.
226 * manual/signal.texi (Signal Stack): Talk about SS_DISABLE and
227 SS_ONSTACK instead of SA_DISABLE and SA_ONSTACK in discussion of
228 the `ss_flags' member of `struct sigaltstack'.
229
2301998-08-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
231
232 * libio/Makefile (routines) [$(versioning)=yes]: Add oldtmpfile.
233 (shared-only-routines): Likewise.
234 * libio/oldtmpfile.c: New file
235 * stdio-common/tmpfile.c: Use __fdopen and __close.
236 [USE_IN_LIBIO]: Use _IO_fdopen instead of _IO_new_fdopen. Put
237 tmpfile on symbol version GLIBC_2.1.
238 * stdio-common/tmpfile64.c: Use __fdopen and __close.
239 [USE_IN_LIBIO]: Use _IO_fdopen instead of _IO_new_fdopen.
240 * stdio-common/Version [GLIBC_2.1]: Add tmpfile.
241 * stdio-common/tempnam.c: Use __strdup instead of strdup.
242 * sysdeps/posix/fdopen.c: Define __fdopen and make fdopen weak
243 alias.
244 * sysdeps/generic/fdopen.c: Likewise.
245 * sysdeps/mach/hurd/fdopen.c: Likewise.
246 * stdio/stdio.h: Declare __fdopen.
247 * sunrpc/openchild.c: Use __fdopen instead of fdopen.
248 [USE_IN_LIBIO]: Map __fdopen to _IO_fdopen.
249 * sysdeps/posix/tempname.c (__gen_tempname): Don't bother checking
250 __stub_open64, it is never defined.
f81d98d6 251
edf66db1 2521998-08-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 253
edf66db1
SP
254 * libio/iofopen64.c: Fix typo. Avoid unnessary casts.
255 * libio/iopopen.c: Unlink file before freeing it if command
256 creation failed. Avoid unnessary casts.
257 * libio/iofdopen.c: Avoid unnecessary cast.
258 * pwd/fgetpwent_r.c [USE_IN_LIBIO]: Map funlockfile to
259 _IO_funlockfile.
260 * pwd/fgetspent_r.c [USE_IN_LIBIO]: Likewise.
f81d98d6 261
edf66db1 2621998-08-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 263
edf66db1
SP
264 * grp/grp.h, pwd/pwd.h: Don't declare __grpopen, __grpread,
265 __grpalloc, __grpscan and the corresponding pwd functions, they
266 were removed long ago.
f81d98d6 267
edf66db1 2681998-08-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 269
edf66db1
SP
270 * math/libm-test.c (csqrt_test): Adjust epsilons.
271 (casinh_test): Likewise.
f81d98d6 272
edf66db1 2731998-08-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 274
edf66db1 275 * posix/globtest.sh: Fix typo. Remove second test output file.
f81d98d6 276
edf66db1 2771998-08-07 Cristian Gafton <gafton@redhat.com>
f81d98d6 278
edf66db1
SP
279 * pwd/putpwent.c (putpwent): Avoid writting (none) in the passwd file.
280 * shadow/putspent.c (putspent): Likewise.
281 * grp/putgrent.c: New file.
282 * grp/Makefile (routines): Add putgrent.
283 * grp/Versions [GLIBC_2.1]: Add putgrent.
284 * grp/grp.h: Add putgrent prototype.
f81d98d6 285
edf66db1 2861998-08-04 19:33 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 287
edf66db1 288 * elf/elf.h: More ELF definitions.
f81d98d6 289
edf66db1 2901998-08-04 16:53 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 291
edf66db1
SP
292 * stdio-common/tmpfile.c: Include unistd.h for close prototype.
293 * stdio-common/tmpfile64.c: Likewise.
f81d98d6 294
edf66db1
SP
295 * db2/makedb.c: Generate output file with same access permissions
296 the input file has.
f81d98d6 297
edf66db1 298 * signal/signal.h: Pretty printing.
f81d98d6 299
edf66db1 3001998-08-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 301
edf66db1
SP
302 * misc/mktemp.c: Add include <stlib.h> for prototype, remove
303 unneccessary includes.
304 * misc/mkstemp.c: Likewise.
f81d98d6 305
edf66db1 3061998-08-03 16:36 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 307
edf66db1
SP
308 * catgets/catgets.c: Use mmap/munmap only is _POSIX_MAPPED_FILES
309 is defined.
310 * catgets/open_catalog.c: Likewise.
311 * iconv/iconv_prog.c: Likewise.
312 * intl/loadmsgcat.c: Likewise.
313 * locale/findlocale.c: Likewise.
314 * locale/loadlocale.c: Likewise.
315 * locale/programs/localedef.c: Likewise.
316 * malloc/malloc.c: Likewise.
f81d98d6 317
edf66db1 318 * elf/elf.h: Fix typo.
f81d98d6 319
edf66db1 320 * math/Makefile: Use $(LN_S) instead of ln.
f81d98d6 321
edf66db1 322 * sysdeps/generic/getpgid.c: Fix return type.
f81d98d6 323
edf66db1 3241998-08-01 02:49 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81d98d6 325
edf66db1
SP
326 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Rename to
327 __gen_tempname and simplify the interface. Strip out the
328 code to do path search and create FILE objects. This function
329 now takes a mktemp() style template and returns either a name
330 or a file descriptor.
331 (__path_search): New function; searches for directories for
332 temp files.
333 * sysdeps/generic/tempname.c: Stub out __gen_tempname and
334 __path_search, not __stdio_gen_tempname.
f81d98d6 335
edf66db1
SP
336 * libio/stdio.h: Prototype __gen_tempname and __path_search,
337 not __stdio_gen_tempname.
338 * stdio/stdio.h: Likewise.
f81d98d6 339
edf66db1
SP
340 * stdio-common/tempnam.c: Use __path_search and __gen_tempname.
341 * stdio-common/tmpfile.c: Likewise.
342 * stdio-common/tmpfile64.c: Likewise.
343 * stdio-common/tmpnam.c: Likewise.
344 * stdio-common/tmpnam_r.c: Likewise.
f81d98d6 345
edf66db1
SP
346 * misc/mkstemp.c: New file. Use __gen_tempname.
347 * misc/mktemp.c: Likewise.
f81d98d6 348
edf66db1
SP
349 * sysdeps/posix/mkstemp.c: Removed.
350 * sysdeps/posix/mktemp.c: Removed.
351 * sysdeps/generic/mkstemp.c: Removed.
352 * sysdeps/generic/mktemp.c: Removed.
f81d98d6 353
edf66db1 3541998-08-02 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
f81d98d6 355
edf66db1
SP
356 * configure.in: Check, if door add-on is installed.
357 * config.make.in: Add have_doors.
358 * sunrpc/Makefile: Add HAVE_DOOR define.
359 * sunrpc/key_call.c: Add keyserv/door interface.
f81d98d6 360
edf66db1
SP
361 * sunrpc/svc_unix.c: Call setsockopt only if SO_PASSCRED is defined.
362 * sunrpc/clnt_unix.c: Likewise.
f81d98d6 363
edf66db1 3641998-08-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 365
edf66db1
SP
366 * inet/netinet/in.h (IN_CLASSC): Correct mask.
367 Reported by Ian Staniforth <I.Staniforth@sheffield.ac.uk> [fixes
368 PR libc/727].
f81d98d6 369
edf66db1 3701998-08-03 10:23 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 371
edf66db1
SP
372 * misc/Makefile: Fix installation problem with --disable-shared.
373 * posix/Makefile: Likewise.
f81d98d6 374
edf66db1 3751998-08-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 376
edf66db1
SP
377 * posix/regex.c (re_search_2): Optimize searching for anchored
378 pattern if '^' cannot match at embedded newlines.
379 (regerror): Renamed from __regerror, which it should only be
380 called if _LIBC.
f81d98d6 381
edf66db1 3821998-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 383
edf66db1 384 * sunrpc/svc_unix.c (__msgread): Check setsockopt return value.
f81d98d6 385
edf66db1 3861998-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 387
edf66db1 388 * sysdeps/generic/glob.c: Remove obsolete cast.
f81d98d6 389
edf66db1 3901998-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 391
edf66db1 392 * Rules (tests): Fix last change.
f81d98d6 393
edf66db1 3941998-07-31 17:59 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 395
edf66db1
SP
396 * sysdeps/unix/sysv/linux/Makefile [subdir==misc] (sysdep_routines):
397 Add sys_setresuid.
f81d98d6 398
edf66db1 3991998-07-30 Mark Kettenis <kettenis@phys.uva.nl>
f81d98d6 400
edf66db1
SP
401 * sysdeps/unix/sysv/linux/syscalls.list: Add __syscall_setresuid
402 as real name for system call and make setresuid a weak alias. Set
403 caller to seteuid.
404 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Implement using
405 `setresuid' syscall if availble. Fixes problems with sendmail
406 which expects `seteuid' to not set the saved user ID.
f81d98d6 407
edf66db1 4081998-07-30 20:09 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81d98d6 409
edf66db1
SP
410 * time/tzset.c (__tzstring): Get rid of excessive cleverness
411 which was causing stack corruption.
f81d98d6 412
edf66db1 4131998-07-31 16:41 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81d98d6 414
edf66db1
SP
415 * argp/argp-fmtstream.c (__argp_fmtstream_update): Correct
416 off-by-one in wordwrap algorithm when there' a space at the
417 beginning of the buffer.
f81d98d6 418
edf66db1 4191998-07-31 15:45 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 420
edf66db1 421 * Makerules (LDLIBS-c.so): Extend value instead of overwriting it.
f81d98d6 422
edf66db1 4231998-07-31 11:10 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 424
edf66db1 425 * elf/elf.h: Add lots of new symbols from Irix and Solaris.
f81d98d6 426
edf66db1
SP
427 * sysdeps/unix/sysv/linux/sigstack.c: Include stddef.h to get NULL
428 definition.
f81d98d6 429
edf66db1 4301998-07-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
f81d98d6 431
edf66db1 432 * sunrpc/xcrypt.c: Use only the first 8 characters of the password.
f81d98d6 433
edf66db1 4341998-07-30 21:06 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81d98d6 435
edf66db1
SP
436 * sysdeps/generic/glob.c: Undefine strdup before defining it,
437 because bits/string2.h may have defined it already.
f81d98d6 438
edf66db1 4391998-07-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 440
edf66db1
SP
441 * stdio-common/vfscanf.c: Optimize looking for type modifiers.
442 Fix recognition of 'a' modifier vs. 'a' format.
443 (TYPEMOD): Removed.
f81d98d6 444
edf66db1
SP
445 * stdio-common/printf-parse.h (parse_one_spec): Optimize looking
446 for type modifiers. Fix recognition of 'hh' modifier.
f81d98d6 447
edf66db1 4481998-07-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
f81d98d6 449
edf66db1 450 * sunrpc/svc_unix.c: Fix typo.
f81d98d6 451
edf66db1 4521998-07-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
f81d98d6 453
edf66db1
SP
454 * sysdeps/unix/sysv/linux/recvmsg.c: Don't check for SCM_CREDS before
455 syscall.
f81d98d6 456
edf66db1 4571998-07-30 12:38 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 458
edf66db1
SP
459 * sysdeps/i386/ffs.c: Add ffsl entry point.
460 * sysdeps/i386/i686/ffs.c: Likewise.
461 * sysdeps/m68k/ffs.c: Likewise.
462 * sysdeps/powerpc/ffs.c: Likewise.
f81d98d6 463
edf66db1
SP
464 * sysdeps/i386/i486/bits/string.h: Add optimizations for ffs/ffsl
465 on i686.
f81d98d6 466
edf66db1 4671998-07-30 Richard Henderson <rth@cygnus.com>
f81d98d6 468
edf66db1 469 * elf/Makefile (ld-map): Move initialization below Makeconfig include.
f81d98d6 470
edf66db1
SP
471 * sysdeps/libm-ieee754/k_standard.c (zero): Make non-const to
472 work around gcc bug.
f81d98d6 473
edf66db1
SP
474 * string/string.h (ffsl, ffsll): Prototype.
475 * string/Version (GLIBC_2.1): Add them.
476 * sysdeps/alpha/ffs.S: Schedule for EV5. Add ffsl and ffsll
477 entry points.
478 * sysdeps/alpha/ffsll.S: New file. Empty.
479 * sysdeps/generic/ffs.c: Add ffsl and ffsll entry points.
480 * sysdeps/generic/ffsll.c: New file.
481 * string/Makefile (routines): Add ffsll.
f81d98d6 482
edf66db1 4831998-07-30 10:03 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 484
edf66db1
SP
485 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Don't define CLK_TCK for
486 strictly ISO C compliant programs.
487 * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
f81d98d6 488
edf66db1 4891998-07-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 490
edf66db1 491 * inet/protocols/rwhod.h: Correct typo in comment.
f81d98d6 492
edf66db1 493 * configure.in: Use better regex for gettext.
f81d98d6 494
edf66db1 4951998-07-29 21:29 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 496
edf66db1
SP
497 * elf/elf.h: Define more EM_* constants, ELFCLASSNUM, ELFDATANUM,
498 EV_NUM, Elf32_Nhdr, Elf64_Nhdr and various note section values.
f81d98d6 499
edf66db1 500 * elf/elf.h: Add DT_FLAGS_1 and the DF_1_* flag definitions.
f81d98d6 501
edf66db1
SP
502 * elf/sprof.c: Implement -c/--call-pairs option to emit list with
503 caller/callee and the number of calls.
f81d98d6 504
edf66db1 5051998-07-29 Mark Kettenis <kettenis@phys.uva.nl>
f81d98d6 506
edf66db1
SP
507 * sysdeps/mach/hurd/dl-sysdep.c (__lseek): New function.
508 (__getpid): New function.
509 (abort): New function.
f81d98d6 510
edf66db1 5111998-07-29 15:07 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 512
edf66db1 513 * sysdeps/arm/fpu/Dist: New file. Add ieee754.h.
f81d98d6 514
edf66db1
SP
515 * nis/nis_cache2_xdr.c: Removed.
516 * nis/nis_cache.c: Removed.
517 * nis/nis_cache2.h: Removed.
f81d98d6 518
edf66db1 5191998-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 520
edf66db1 521 * Rules (tests): Depend on tests-static only if build-static == yes.
f81d98d6 522
edf66db1
SP
523 * misc/Makefile (install-lib): Compile libbsd-compat.a and libg.a
524 only if build-static == yes.
f81d98d6 525
edf66db1 5261998-07-29 12:58 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 527
edf66db1
SP
528 * sysdeps/generic/glob.c: Windows compatibility stuff.
529 Patch received from Paul D. Smith <psmith@BayNetworks.COM>.
f81d98d6 530
edf66db1 5311998-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 532
edf66db1
SP
533 * sunrpc/clnt_unix.c (__msgwrite)[!SCM_CRED]: Add return
534 statement, fix typo.
535 * sunrpc/svc_unix.c (__msgwrite)[!SCM_CRED]: Likewise.
f81d98d6 536
edf66db1 5371998-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 538
edf66db1 539 * manual/pattern.texi (More Flags for Globbing): Fix typo.
f81d98d6 540
edf66db1 541 * manual/math.texi (Special Functions): Fix typo.
f81d98d6 542
edf66db1
SP
543 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT): New
544 constant from Linux 2.1.112.
f81d98d6 545
edf66db1
SP
546 * posix/Makefile (install-lib): Compile libposix.a only if
547 build-static == yes.
f81d98d6 548
edf66db1 5491998-07-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 550
edf66db1
SP
551 * sysdeps/generic/glob.c: Maintain const correctness. Move extern
552 declarations to file level. Cope with unsupported
553 _SC_GETPW_R_SIZE_MAX.
f81d98d6 554
edf66db1 5551998-07-29 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 556
edf66db1 557 * stdio-common/tst-printf.c: %z is now recognized by printf.
f81d98d6 558
edf66db1
SP
559 * sysdeps/libm-ieee754/c_csqrt.c: Fix problems with some cancelation
560 errors.
561 * sysdeps/libm-ieee754/c_csqrtf.c: Likewise.
562 * sysdeps/libm-ieee754/c_csqrtlc: Likewise.
563 Patch by Stephen L Moshier <moshier@mediaone.net>.
f81d98d6 564
edf66db1
SP
565 * math/libm-test.c (csqrt_test): Correct typo in one test, add
566 another one.
f81d98d6 567
edf66db1
SP
568 * sysdeps/unix/sysv/linux/bits/siginfo.h: Adjust siginfo_t after
569 latest kernel change.
f81d98d6 570
edf66db1 5711998-07-29 6:39 Kazushige Goto <goto@statabo.rim.or.jp>
f81d98d6 572
edf66db1
SP
573 * sysdeps/alpha/fpu/e_sqrt.c [!_IEEE_FP]: Correctly handle
574 inputs near DBL_MIN.
f81d98d6 575
edf66db1 5761998-07-28 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 577
edf66db1
SP
578 * resolv/nss_dns/dns-host.c (getanswer_r): Lower the priority of
579 warnings when DNSSEC related records are received.
580 * resolv/gethnamaddr.c (getanswer): Likewise.
581 Patch by Brian Wellington <bwelling@anomaly.munge.com>.
f81d98d6 582
edf66db1 583 * signal/signal.h: Add prototype for sysv_signal.
f81d98d6 584
edf66db1 585 * math/libm-test.c (tgamma_test): Remove redundant tests.
f81d98d6 586
edf66db1
SP
587 * sysdeps/generic/glob.c: Correct problems with */foo and GLOB_NOCHECK
588 where foo does not exist in any of the subdirectories.
589 Reported by Paul D. Smith <psmith@BayNetworks.COM>.
f81d98d6 590
edf66db1 591 * posix/globtest.sh: Add test for this bug.
f81d98d6 592
edf66db1
SP
593 * posix/glob.h: Add GLOB_TILDE_CHECK.
594 * sysdeps/generic/glob.c: Implement GLOB_TILDE_CHECK.
595 * posix/globtest.c: Add option T to enable GLOB_TILDE_CHECK.
596 * posix/globtest.sh: Re-enable test with ~ and non-existing user name.
f81d98d6 597
edf66db1 5981998-07-28 Mark Kettenis <kettenis@phys.uva.nl>
f81d98d6 599
edf66db1
SP
600 * io/sys/statfs.h: Fix typos.
601 * io/sys/statvfs.h: Fix typos.
f81d98d6 602
edf66db1 6031998-07-28 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 604
edf66db1 605 * version.h (VERSION): Bump to 2.0.95.
f81d98d6 606
edf66db1
SP
607 * math/Makefile (libm-calls): Remove w_gamma, add w_tgamma.
608 * math/Versions [GLIBC_2.1]: Add tgamma, tgammaf, and tgammal.
609 * math/libm-test.c: Split old gamma_test and move half of it in new
610 function tgamma_test.
611 * math/bits/mathcalls.h: Add declaration of tgamma.
612 * sysdeps/libm-ieee754/k_standard.c: Change gamma errors into
613 tgamma errors.
614 * sysdeps/libm-ieee754/w_gamma.c: Remove lgamma compatibility code
615 and rename to ...
616 * sysdeps/libm-ieee754/w_tgamma.c: ... this. New file.
617 * sysdeps/libm-ieee754/w_gammaf.c: Remove lgammaf compatibility code
618 and rename to ...
619 * sysdeps/libm-ieee754/w_tgammaf.c: ... this. New file.
620 * sysdeps/libm-ieee754/w_gammal.c: Remove lgammal compatibility code
621 and rename to ...
622 * sysdeps/libm-ieee754/w_tgammal.c: ... this. New file.
623 * sysdeps/libm-ieee754/w_lgamma.c: Add gamma as weak alias.
624 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
625 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
f81d98d6 626
edf66db1
SP
627 * stgdio-common/printf-parse.h: Implement handling of j, t, and z
628 modifiers.
629 * stdio-common/vfprintf.c: Likewise.
630 * stdio-common/vfscanf.c: Likewise.
631 * manual/stdio.texi: Document new printf/scanf modifiers.
f81d98d6 632
edf66db1
SP
633 * sysdeps/unix/sysv/linux/recvmsg.c: Remove alias __recvmsg.
634 * sysdeps/unix/sysv/linux/sendmsg.c: Remove alias __sendmsg.
f81d98d6 635
edf66db1 6361998-07-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
f81d98d6 637
edf66db1
SP
638 * sunrpc/Makefile (routines): Add clnt_unix and svc_unix.
639 * sunrpc/Versions: Add new *unix_create functions.
640 * sunrpc/clnt_gen.c: Add support for RPC over AF_UNIX.
641 * sunrpc/clnt_unix.c: New, client side of RPC over AF_UNIX.
642 * sunrpc/key_call.c: Use RPC over AF_UNIX for communication
643 with keyserv daemon.
644 * sunrpc/rpc/clnt.h: Add AF_UNIX based RPC function prototypes.
645 * sunrpc/rpc/svc.h: Likewise.
646 * sunrpc/svc_authux.c: Copy internal auth flavor if none is given.
647 * sunrpc/svc_tcp.c: Fix typos.
648 * sunrpc/svc_unix.c: New, server side of AF_UNIX based RPC.
649
650 * nis/Makefile: Remove currently not working cache functions.
651 * nis/Versions: Add __nisbind_* functions for rpc.nisd.
652 * nis/nis_call.c: Rewrite binding to a NIS+ server to reuse
653 CLIENT handles.
654 * nis/nis_file.c: Fix memory leaks.
655 * nis/nis_intern.h: Move internal structs from here ...
656 * nis/rpcsvc/nislib.h: ... to here for NIS+ server and tools.
657 * nis/nis_lookup.c: Try at first if last client handle works.
658 * nis/nis_table.c: Likewise.
659 * nis/nis_checkpoint.c: Adjust __do_niscall2 parameters.
660 * nis/nis_mkdir.c: Likewise.
661 * nis/nis_ping.c: Likewise.
662 * nis/nis_rmdir.c: Likewise.
663 * nis/nis_server.c: Likewise.
664 * nis/nis_util.c: Likewise.
665 * nis/nis_findserv.c (__nis_findfastest): Little optimization.
f81d98d6 666
edf66db1 6671998-07-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 668
edf66db1
SP
669 * stdlib/strtol.c (STRTOL_LONG_MAX): Correct typo in last patch -
670 define as LONG_MAX.
f81d98d6 671
edf66db1 6721998-07-28 09:31 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 673
edf66db1
SP
674 * nscd/connections.c (gr_send_answer): Deal with missing UIO_MAXIOV.
675 Correct test whether writev send all data.
676 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Correct test whether readv
677 received all data.
f81d98d6 678
edf66db1 6791998-07-28 Mark Kettenis <kettenis@phys.uva.nl>
f81d98d6 680
edf66db1 681 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Deal with missing UIO_MAXIOV.
f81d98d6 682
edf66db1 6831998-07-28 Mark Kettenis <kettenis@phys.uva.nl>
f81d98d6 684
edf66db1
SP
685 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Change assert call to
686 allow mode to be 0.
687 (__xstat): New function.
688 (__fxstat): New function.
689 (_dl_sysdep_read_whole_file): Removed. The implementation in
690 `elf/dl-misc.c' now also works for the Hurd.
f81d98d6 691
edf66db1 6921998-07-27 22:25 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 693
edf66db1 694 * sysdeps/generic/glob.c: Handle ~ and ~NAME case correctly.
f81d98d6 695
edf66db1
SP
696 * posix/globtest.sh: Also add directories with NSS modules into the
697 library path.
f81d98d6 698
edf66db1 6991998-07-27 17:42 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 700
edf66db1
SP
701 * nss/nss_files/files-parse.c (INT_FIELD): Use strtoul instead of
702 strtol.
703 (INT_FIELD_MAYBE_NULL): Likewise.
f81d98d6 704
edf66db1
SP
705 * posix/globtest.c: Rewrite for extended test suite.
706 * posix/globtest.sh: More tests.
707 Patch by Brian Wellington <bwelling@anomaly.munge.com>.
f81d98d6 708
edf66db1
SP
709 * stdlib/strtol.c: Don't redefine LONG_MAX, LONG_MIN, and ULONG_MAX.
710 Use new macro.
f81d98d6 711
edf66db1
SP
712 * sysdeps/generic/readv.c: Correct return type.
713 * sysdeps/generic/writev.c: Likewise.
f81d98d6 714
edf66db1 7151998-07-24 Gordon Matzigkeit <gord@fig.org>
f81d98d6 716
edf66db1
SP
717 * argp/argp-help.c (_GNU_SOURCE): Define, to suck in
718 program_invocation_name when compiling outside of glibc.
f81d98d6 719
edf66db1 7201998-07-26 Philip Blundell <philb@gnu.org>
f81d98d6 721
edf66db1
SP
722 * sysdeps/unix/sysv/linux/arm/siglist.c: New file; ARM tools don't
723 like `@' in .type directives.
f81d98d6 724
edf66db1
SP
725 * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Check whether
726 FE_TONEAREST exists for this platform before using it.
727 * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Likewise.
f81d98d6 728
edf66db1
SP
729 * sysdeps/arm/dl-machine.h (elf_machine_rel): Delete redundant
730 debugging code. Correct handling of PC24 relocs.
f81d98d6 731
edf66db1 732 * elf/Makefile (ld-map): Only define if versioning is in use.
f81d98d6 733
edf66db1
SP
734 * sysdeps/arm/fpu_control.h: Move to ...
735 * sysdeps/arm/fpu/fpu_control.h: ... here.
736 * sysdeps/generic/fpu_control.h: Made usable as a dummy
737 implementation.
f81d98d6 738
edf66db1 739 * sysdeps/unix/sysv/linux/arm/brk.c: New file.
f81d98d6 740
edf66db1
SP
741 * sysdeps/arm/machine-gmon.h: Improved profiling for ARM.
742 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Replace stub with real
743 implementation.
744 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
745 Based on patch from Scott Bambrough and Pat Beirne.
f81d98d6 746
edf66db1 747 * shlib-versions: Add appropriate definitions for ARM machines.
f81d98d6 748
edf66db1 749 * README.template: Mention that Linux/ARM with ELF works now.
f81d98d6 750
edf66db1 7511998-07-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 752
edf66db1
SP
753 * Makerules: Generate compilation rules for all object suffixes,
754 not only those currently selected, for sources in the current or
755 object directory.
f81d98d6 756
edf66db1 7571998-07-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 758
edf66db1
SP
759 * posix/fnmatch.c (fnmatch): Allow `/' in character class. Don't
760 match `/' in filename by a character class if requested.
761 * posix/testfnm.c: Rewritten.
762 * posix/testfnm.args: Removed.
f81d98d6 763
edf66db1 7641998-07-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 765
edf66db1
SP
766 * posix/annexc.c (limits_syms): Add missing symbols.
767 (stdarg_syms): Move va_list to `maybe' list.
768 (stdio_syms): Add FOPEN_MAX.
f81d98d6 769
edf66db1 7701998-07-25 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 771
edf66db1
SP
772 * sysdeps/i386/bits/byteswap.h (__bswap_64): Change __v to __w to
773 prevent conflict with __bswap_32.
f81d98d6 774
edf66db1 7751998-07-24 21:29 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 776
edf66db1
SP
777 * nscd/connections.c (pw_send_answer): Make one single writev call.
778 (gr_send_answer): Do the work in two writev calls. This change
779 changes the protocol.
f81d98d6 780
edf66db1
SP
781 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Adjust for protocol change.
782 We now can do the job using two readv calls.
f81d98d6 783
edf66db1 7841998-07-24 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 785
edf66db1
SP
786 * sysdeps/generic/glob.c (glob): Fix problems with handle tilde.
787 Reported by Brian Wellington <bwelling@anomaly.munge.com>.
f81d98d6 788
edf66db1
SP
789 * elf/elf.h: Really define Elf64_Verdef, Elf64_Verdaux, Elf64_Verneed,
790 and Elf64_Vernaux.
f81d98d6 791
edf66db1 7921998-07-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 793
edf66db1
SP
794 * configure.in: Recognize pgcc as compiler.
795 Reported by sauron@angband.ee.ualberta.ca.
f81d98d6 796
edf66db1 7971998-07-02 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
f81d98d6 798
edf66db1
SP
799 * nscd/dbg_log.c: Make sure, that debug message is really written.
800 * nscd/nscd.c: Don't use daemon(), set signal handler after fork.
f81d98d6 801
edf66db1 8021998-07-23 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 803
edf66db1
SP
804 * sysdeps/generic/glob.c: Fix two problems with GLOB_DOOFFS.
805 Reported by bwelling@anomaly.munge.com [PR libc/720].
f81d98d6 806
edf66db1
SP
807 * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
808 SVID more for gamma(x) with x integer <= 0.
809 Reported by Stephen L Moshier <moshier@mediaone.net>.
f81d98d6 810
edf66db1
SP
811 * math/libm-test.c (gamma_test): Add test for gamma(-1) and gamma(0).
812 Correct test for SVID version of gamma.
f81d98d6 813
edf66db1
SP
814 * sysdeps/libm-ieee754/w_gamma.c: Use correct matherr call in SVID
815 emulation mode.
816 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
817 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
f81d98d6 818
edf66db1
SP
819 * string/string.h: Don't use string function optimization for C++
820 as long as we use macros.
f81d98d6 821
edf66db1 8221998-07-22 23:47 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 823
edf66db1 824 * posix/fnmatch.c: Fix completely broken range matching.
f81d98d6 825
edf66db1 8261998-07-22 23:19 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 827
edf66db1 828 * sysdeps/unix/sysv/linux/bits/siginfo.h: Fix typo.
f81d98d6 829
edf66db1 8301998-07-22 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 831
edf66db1 832 * Makefile (headers2_0): Add sigstack.h.
f81d98d6 833
edf66db1 834 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Also define __getrusage.
f81d98d6 835
edf66db1 8361998-07-22 11:43 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 837
edf66db1
SP
838 * libio/fileops.c (_IO_file_sync): Don't lock stream here.
839 Reported by Thorsten Kukuk.
f81d98d6 840
edf66db1
SP
841 * string/strcoll.c: Correct problem with empty strings.
842 * string/strxfrm.c: Likewise.
843 Reported by vbzoli@hbrt.hu [PR libc/719].
f81d98d6 844
edf66db1 8451998-07-21 18:40 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81d98d6 846
edf66db1
SP
847 * sysdeps/posix/tempname.c: Use the random-name generator
848 already used by mktemp/mkstemp. Honor TMPDIR.
f81d98d6 849
edf66db1 8501998-07-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 851
edf66db1
SP
852 * hurd/Makefile (routines): Remove cthreads.
853 * sysdeps/mach/hurd/Makefile (sysdep_routines): Add cthreads.
f81d98d6 854
edf66db1 855 * sysdeps/unix/sysv/linux/i386/Dist: Add missing files.
f81d98d6 856
edf66db1 857 * manual/Makefile (distribute): Add summary.texi.
f81d98d6 858
edf66db1 8591998-07-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 860
edf66db1 861 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Fix typo.
f81d98d6 862
edf66db1 8631998-07-21 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 864
edf66db1 865 * configure.in: Correct expression to match gcc version.
f81d98d6 866
edf66db1
SP
867 * configure.in: Move test for available port after machine
868 variable is defined.
f81d98d6 869
edf66db1 8701998-07-21 16:08 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81d98d6 871
edf66db1
SP
872 * sysdeps/unix/sysv/linux/sendmsg.c: If passing a SCM_CREDS
873 message, copy the buffer and resize it to what the kernel
874 wants to see. Bug found and analyzed by Thorsten Kukuk
875 <kukuk@weber-eb.uni-paderborn.de>
f81d98d6 876
edf66db1 8771998-07-20 Jose M. Moya <josem@gnu.org>
f81d98d6 878
edf66db1
SP
879 * hurd/hurdmsg.c (_S_msg_get_env_variable): Copy getenv return
880 value.
f81d98d6 881
edf66db1 8821998-07-20 Roland McGrath <roland@baalperazim.frob.com>
f81d98d6 883
edf66db1
SP
884 * sysdeps/mach/hurd/getdomain.c: New file.
885 * sysdeps/mach/hurd/setdomain.c: New file.
f81d98d6 886
edf66db1 8871998-07-20 Roland McGrath <roland@baalperazim.frob.com>
f81d98d6 888
edf66db1
SP
889 * sysdeps/unix/bsd/sigsuspend.c: Define __sigsuspend with sigsuspend as
890 a weak alias.
f81d98d6 891
edf66db1 8921998-07-20 18:23 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 893
edf66db1
SP
894 * libio/libioP.h: Use __PMT in typedef.
895 * libio/strfile.h: Likewise.
f81d98d6 896
edf66db1 8971998-07-20 18:20 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 898
edf66db1
SP
899 * sysdeps/unix/sysv/linux/gethostname.c: Return ENAMETOOLONG if
900 buffer is too small.
901 Reported by John Levon <j_levon@ncc.co.uk>.
f81d98d6 902
edf66db1 9031998-07-20 17:09 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 904
edf66db1 905 * shlib-versions: Remove definition for libSegFault.
f81d98d6 906
edf66db1
SP
907 * memory.texi: Comment out the relocating allocator description.
908 * manual/signal.texi: Remove reference to relocating allocator.
909 * manual/top-menu.texi: Regenerated.
f81d98d6 910
edf66db1
SP
911 * posix/fnmatch.c: Implement [: :] and change to recognize
912 ^ as negation only when not _POSIXLY_CORRECT.
f81d98d6 913
edf66db1 914 * sysdeps/generic/glob.c: Add several optimizations.
f81d98d6 915
edf66db1
SP
916 * posix/glob.h: Undefine __PMT to prevent warnings.
917 Reported by Roland McGrath.
f81d98d6 918
edf66db1 919 * posix/regex.c: Define namespace macros only for _LIBC.
f81d98d6 920
edf66db1 921 * sysdeps/arm/dl-machine.h: Fix typo.
f81d98d6 922
edf66db1
SP
923 * sysdeps/unix/sysv/sysv4/solaris2/sigpending.c: New file.
924 * sysdeps/unix/sysv/sysv4/solaris2/sigstack.c: New file.
925 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: New file.
926 * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: Add sigaltstack,
927 sigpending, sigqueue, and sigtimedwait.
928 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sparc32/syscall.S: New file.
f81d98d6 929
edf66db1 930 * timezone/leapseconds: Update from tzdata1998f.
f81d98d6 931
edf66db1 9321998-07-18 Mark Kettenis <kettenis@phys.uva.nl>
f81d98d6 933
edf66db1
SP
934 * stdio/stdio.h [__USE_GNU]: Add prototype for fputs_unlocked.
935 * stdio/Versions [GLIBC_2.1]: Add fputs_unlocked.
936 * libio/stdio.h: Fix typo.
f81d98d6 937
edf66db1 9381998-07-19 Roland McGrath <roland@baalperazim.frob.com>
f81d98d6 939
edf66db1
SP
940 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): #if 0 out the
941 magic memobj port arg parsing stuff. Fix it someday when we are ready
942 to really use it.
943 (_dl_sysdep_output): New function, modified from _dl_sysdep_error.
944 (_dl_sysdep_error, _dl_sysdep_message, _dl_sysdep_fatal): Removed.
f81d98d6 945
edf66db1 9461998-07-19 Roland McGrath <roland@baalperazim.frob.com>
f81d98d6 947
edf66db1 948 * stdio/fputs.c: Add fputs_unlocked as weak alias for fputs.
f81d98d6 949
edf66db1 9501998-07-19 Roland McGrath <roland@baalperazim.frob.com>
f81d98d6 951
edf66db1
SP
952 * sysdeps/posix/sigsuspend.c: Define __sigsuspend with sigsuspend as
953 a weak alias.
954 * sysdeps/mach/hurd/sigsuspend.c: Likewise.
955 * sysdeps/generic/sigsuspend.c: Likewise.
f81d98d6 956
edf66db1 9571998-07-19 Roland McGrath <roland@baalperazim.frob.com>
f81d98d6 958
edf66db1 959 * sysdeps/mach/hurd/i386/sigcontextinfo.h: New file.
f81d98d6 960
edf66db1 9611998-07-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 962
edf66db1
SP
963 * Makerules (map-file): Don't use $(wildcard) to find the
964 generated version script, instead look in $(version-maps).
965 ($(common-objpfx)libc.so): Only depend on libc.map if versioning
966 is used.
967 * extra-lib.mk ($(objpfx)$(lib).so): Only depend on version script
968 if versioning is used. Don't use $(wildcard) to find the
969 generated version script, instead look in $(verson-maps).
f81d98d6 970
edf66db1 9711998-07-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 972
edf66db1
SP
973 * sysdeps/generic/segfault.c: Rename GET_EIP to GET_PC. Remove
974 unused function handle.
975 * sysdeps/generic/sigcontextinfo.h: Rename GET_EIP to GET_PC.
976 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
977 * debug/catchsegv.sh: Fix argument processing, quoting and various
978 typos. Put the crash info always in the current directory. Find
979 program in $PATH if it contains no directory component.
980 * Makerules (install-lib.so-versioned,
981 install-lib.so-unversioned): New variables.
982 (install-lib-nosubdir): Depend on unversioned libs in
983 slibdir, not libdir.
f81d98d6 984
edf66db1 9851998-07-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 986
edf66db1
SP
987 * Make-dist (+tsrcs): Remove references to %-map variables and
988 *.map files. Add Versions in subdirs.
989 * Makerules (distinfo-vars): Don't write out %-map variables.
f81d98d6 990
edf66db1 9911998-07-20 13:55 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 992
edf66db1
SP
993 * inet/protocols/rwhod.h: Remove definition of _PATH_RWHODIR.
994 Include <paths.h> instead.
995 * sysdeps/generic/paths.h: Define _PATH_RWHODIR.
996 * sysdeps/unix/sysv/linux/paths.h: Likewise.
997 Reported by Dale Scheetz <dwarf@polaris.net>.
f81d98d6 998
edf66db1 9991998-07-17 21:44 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 1000
edf66db1
SP
1001 * catgets/open_catalog.c: Strictly check whether catalog file is
1002 larger enough for the data. Reported by Andries.Brouwer@cwi.nl.
f81d98d6 1003
edf66db1 10041998-07-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 1005
edf66db1 1006 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: New file.
f81d98d6 1007
edf66db1 1008 * sysdeps/unix/sysv/linux/m68k/socket.S: Support NO_WEAK_ALIAS.
f81d98d6 1009
edf66db1 10101998-07-17 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 1011
edf66db1 1012 * debug/catchsegv.sh: Fix several stupid bugs.
f81d98d6 1013
edf66db1
SP
1014 * shlib-versions: Define version for libSegFault.
1015 * debug/Makefile: Replace shared lib version number while rewriting.
f81d98d6 1016
edf66db1 10171998-07-17 Mark Kettenis <kettenis@phys.uva.nl>
f81d98d6 1018
edf66db1
SP
1019 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Add sanity check.
1020 Suggested by Roland McGrath.
f81d98d6 1021
edf66db1 10221998-07-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 1023
edf66db1
SP
1024 * timezone/Makefile: Remove '-L (leapseconds)' for testdata
1025 generation to control environment.
f81d98d6 1026
edf66db1 10271998-07-17 09:21 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 1028
edf66db1
SP
1029 * sysdeps/unix/sysv/sysv4/solaris2/bits/signum.h: Define SIG_HOLD.
1030 Patch by John Tobey <jtobey@banta-im.com>.
f81d98d6 1031
edf66db1
SP
1032 * manual/llio.texi: Document readv/writev and mmap functions.
1033 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
f81d98d6 1034
edf66db1 10351998-07-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 1036
edf66db1
SP
1037 * manual/Makefile (texis): Depend on texis.awk.
1038 (nonexamples): Filter out add-on chapters.
1039 (chapters.% top-menu.%): Depend on libc-texinfo.sh.
1040 (stamp-summary): Depend on $(texis) except summary.texi.
1041 ($(inst_infodir)/libc.info): Simplify command.
1042 * manual/libc-texinfo.sh: Cleaned up to use less temporary files.
1043 Fix the generation of the detailed node listing to make it
1044 complete again.
1045 * manual/math.texi: Fix signature of lgamma_r.
f81d98d6 1046
edf66db1 10471998-07-16 23:06 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 1048
edf66db1
SP
1049 * debug/Makefile (distribute): Add sigcontextinfo.h.
1050 Add rules to generate and install catchsegv.
1051 * debug/catchsegv.sh: New file.
f81d98d6 1052
edf66db1 10531998-07-16 Mark Kettenis <kettenis@phys.uva.nl>
f81d98d6 1054
edf66db1
SP
1055 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Return a Hurd I/O
1056 port instead of a Mach memory object.
1057 (__open): Likewise.
1058 (__libc_read): New function.
1059 (__mmap): Change to take a Hurd I/O port instead of a Mach memory
1060 object.
f81d98d6 1061
edf66db1 10621998-07-16 20:01 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 1063
edf66db1
SP
1064 * debug/Makefile (routines): Add backtracesymsfd.
1065 Add rules to generate libSegFault.
1066 * debug/Versions: Add __backtrace_symbols_fd and backtrace_symbols_fd.
1067 * debug/execinfo.h: Declare backtrace_symbols_fd.
1068 * sysdeps/generic/backtracesymsfd.c: New file.
1069 * sysdeps/generic/elf/backtracesymsfd.c: New file.
1070 * sysdeps/generic/segfault.c: New file.
1071 * sysdeps/generic/sigcontextinfo.h: New file.
1072 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: New file.
f81d98d6 1073
edf66db1 1074 * sysdeps/generic/elf/backtracesyms.c: Remove unneeded +.
f81d98d6 1075
edf66db1 10761998-07-16 19:27 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 1077
edf66db1
SP
1078 * elf/rtld.c (process_envvars): Also recognize on as LD_BIND_NOW value.
1079 (process_envvars): Append .PID to LD_DEBUG_OUTPUT file name.
f81d98d6 1080
edf66db1 10811998-07-16 13:44 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 1082
edf66db1
SP
1083 * argp/argp-fmtstream.c: Fix warnings introduced in last change.
1084 * assert/assert-perr.c: Likewise.
1085 * assert/assert.c: Likewise.
1086 * gconv_conf.c: Likewise.
1087 * libio/iofputs_u.c: Likewise.
1088 * malloc/mtrace.c: Likewise.
1089 * malloc/obstack.c: Likewise.
1090 * misc/error.c: Likewise.
1091 * misc/syslog.c: Likewise.
1092 * stdio-common/asprintf.c: Likewise.
1093 * stdio-common/dprintf.c: Likewise.
1094 * stdio-common/getw.c: Likewise.
1095 * stdio-common/putw.c: Likewise.
1096 * stdio-common/snprintf.c: Likewise.
1097 * stdio-common/sprintf.c: Likewise.
1098 * stdio-common/sscanf.c: Likewise.
1099 * sunrpc/svc_simple.c: Likewise.
1100 * sysdeps/generic/abort.c: Likewise.
f81d98d6 1101
edf66db1
SP
1102 * rt/aio_cancel.c: Don't define ECANCELED here.
1103 * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED correctly.
f81d98d6 1104
edf66db1 11051998-07-16 10:23 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 1106
edf66db1
SP
1107 * argp/argp-fmtstream.c: Unify names of used global functions.
1108 * argp/argp-help.c: Likewise.
1109 * assert/assert-perr.c: Likewise
1110 * assert/assert.c: Likewise
1111 * dirent/scandir.c: Likewise
1112 * dirent/scandir64.c: Likewise
1113 * dirent/versionsort.c: Likewise
1114 * dirent/versionsort64.c: Likewise
1115 * gmon/bb_exit_func.c: Likewise.
1116 * gmon/gmon.c: Likewise.
1117 * grp/initgroups.c: Likewise.
1118 * iconv/gconv_conf.c: Likewise.
1119 * inet/getnameinfo.c: Likewise.
1120 * inet/getnetgrent_r.c: Likewise.
1121 * inet/inet_ntoa.c: Likewise.
1122 * inet/rcmd.c: Likewise.
1123 * inet/rexec.c: Likewise.
1124 * inet/ruserpass.c: Likewise.
1125 * io/fts.c: Likewise.
1126 * io/ftw.c: Likewise.
1127 * io/ftw64.c: Likewise.
1128 * io/getdirname.c: Likewise.
1129 * io/getwd.c: Likewise.
1130 * io/lockf.c: Likewise.
1131 * libio/iofdopen.c: Likewise.
1132 * libio/iopopen.c: Likewise.
1133 * login/utmp_daemon.c: Likewise.
1134 * malloc/mtrace.c: Likewise.
1135 * malloc/obstack.c
1136 * misc/daemon.c: Likewise.
1137 * misc/efgcvt_r.c: Likewise.
1138 * misc/err.c: Likewise.
1139 * misc/error.c: Likewise.
1140 * misc/fstab.c: Likewise.
1141 * misc/getpass.c: Likewise.
1142 * misc/getttyent.c: Likewise.
1143 * misc/mntent_r.c: Likewise.
1144 * misc/search.h: Likewise.
1145 * misc/syslog.c: Likewise.
1146 * nscd/nscd_getgr_r.c: Likewise.
1147 * nscd/nscd_getpw_r.c: Likewise.
1148 * posix/getpgrp.c: Likewise.
1149 * posix/wordexp.c: Likewise.
1150 * pwd/fgetpwent_r.c: Likewise.
1151 * pwd/getpw.c: Likewise.
1152 * resolv/herror.c: Likewise.
1153 * resolv/res_init.c: Likewise.
1154 * shadow/fgetspent_r.c: Likewise.
1155 * shadow/lckpwdf.c: Likewise.
1156 * signal/sigrelse.c: Likewise.
1157 * stdio-common/asprintf.c: Likewise.
1158 * stdio-common/dprintf.c: Likewise.
1159 * stdio-common/getw.c: Likewise.
1160 * stdio-common/putw.c: Likewise.
1161 * stdio-common/snprintf.c: Likewise.
1162 * stdio-common/sprintf.c: Likewise.
1163 * stdio-common/sscanf.c: Likewise.
1164 * stdlib/lrand48_r.c: Likewise.
1165 * stdlib/mrand48_r.c: Likewise.
1166 * string/argz-replace.c: Likewise.
1167 * string/envz.c: Likewise.
1168 * sunrpc/auth_des.c: Likewise.
1169 * sunrpc/auth_unix.c: Likewise.
1170 * sunrpc/bindrsvprt.c: Likewise.
1171 * sunrpc/clnt_gen.c: Likewise.
1172 * sunrpc/clnt_perr.c: Likewise.
1173 * sunrpc/clnt_simp.c: Likewise.
1174 * sunrpc/clnt_tcp.c: Likewise.
1175 * sunrpc/clnt_udp.c: Likewise.
1176 * sunrpc/get_myaddr.c: Likewise.
1177 * sunrpc/key_call.c: Likewise.
1178 * sunrpc/netname.c: Likewise.
1179 * sunrpc/openchild.c: Likewise.
1180 * sunrpc/pmap_rmt.c: Likewise.
1181 * sunrpc/rpc_dtable.c: Likewise.
1182 * sunrpc/rtime.c: Likewise.
1183 * sunrpc/svc_run.c: Likewise.
1184 * sunrpc/svc_simple.c: Likewise.
1185 * sunrpc/svc_tcp.c: Likewise.
1186 * sunrpc/svc_udp.c: Likewise.
1187 * sunrpc/svcauth_des.c: Likewise.
1188 * sunrpc/xdr_array.c: Likewise.
1189 * sunrpc/xdr_rec.c: Likewise.
1190 * sunrpc/xdr_ref.c: Likewise.
1191 * sunrpc/xdr_stdio.c: Likewise.
1192 * sysdeps/generic/abort.c: Likewise.
1193 * sysdeps/generic/dl-sysdep.c: Likewise.
1194 * sysdeps/generic/fstatfs64.c: Likewise.
1195 * sysdeps/generic/ftruncate64.c: Likewise.
1196 * sysdeps/generic/getrlimit64.c: Likewise.
1197 * sysdeps/generic/glob.c: Likewise.
1198 * sysdeps/generic/prof-freq.c: Likewise.
1199 * sysdeps/generic/putenv.c: Likewise.
1200 * sysdeps/generic/statfs64.c: Likewise.
1201 * sysdeps/generic/ttyname_r.c: Likewise.
1202 * sysdeps/generic/utmp_file.c: Likewise.
1203 * sysdeps/generic/vlimit.c: Likewise.
1204 * sysdeps/generic/vtimes.c: Likewise.
1205 * sysdeps/posix/cuserid.c: Likewise.
1206 * sysdeps/posix/euidaccess.c: Likewise.
1207 * sysdeps/posix/mkstemp.c: Likewise.
1208 * sysdeps/posix/mktemp.c: Likewise.
1209 * sysdeps/posix/pread.c: Likewise.
1210 * sysdeps/posix/pread64.c: Likewise.
1211 * sysdeps/posix/profil.c: Likewise.
1212 * sysdeps/posix/pwrite.c: Likewise.
1213 * sysdeps/posix/pwrite64.c: Likewise.
1214 * sysdeps/posix/sigblock.c: Likewise.
1215 * sysdeps/posix/sigpause.c: Likewise.
1216 * sysdeps/posix/ttyname.c: Likewise.
1217 * sysdeps/posix/ttyname_r.c: Likewise.
1218 * sysdeps/posix/waitid.c: Likewise.
1219 * sysdeps/unix/getlogin_r.c: Likewise.
1220 * sysdeps/unix/grantpt.c: Likewise.
1221 * sysdeps/unix/rewinddir.c: Likewise.
1222 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
1223 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
1224 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1225 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1226 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1227 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
1228 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1229 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1230 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
1231 * sysdeps/unix/sysv/linux/unlockpt.c: Likewise.
1232 * sysvipc/sys/shm.h: Likewise.
1233 * time/ctime_r.c: Likewise.
1234 * time/strptime.c: Likewise.
1235 * wcsmbs/mbrlen.c: Likewise.
1236 * wcsmbs/wcsdup.c: Likewise.
1237 * wcsmbs/wcsxfrm.c: Likewise.
1238 * wctype/wcfuncs.c: Likewise.
f81d98d6 1239
edf66db1
SP
1240 * sysdeps/unix/sysv/linux/i386/socker.S: Change to honor NO_WEAK_ALIAS.
1241 * sysdeps/unix/sysv/linux/accept.S: Don't generate __ name.
1242 * sysdeps/unix/sysv/linux/bind.S: Likewise.
1243 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
1244 * sysdeps/unix/sysv/linux/listen.S: Likewise.
1245 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1246 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1247 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
f81d98d6 1248
edf66db1 1249 * grp/fgetgrent_r.c: Use explicit locking of the stream.
f81d98d6 1250
edf66db1
SP
1251 * elf/Makefile (rtld-routines): Add dl-environ.
1252 * sysdeps/generic/dl-sysdep.c: Move _dl_next_ld_env_entry and unsetenv
1253 to...
1254 * sysdeps/generic/dl-environ.c: here. New file.
f81d98d6 1255
edf66db1
SP
1256 * libio/Makefile [REENTRANT] (routines): Add iofputs_u.
1257 * libio/Versions: Add fputs_unlocked.
1258 * libio/iofputs_u.c: New file.
1259 * libio/stdio.h: Add prototype for fputs_unlocked.
f81d98d6 1260
edf66db1
SP
1261 * sunrpc/rpc/auth.h: Use __PMT instead of __P in type definitions.
1262 * sunrpc/rpc/clnt.h: Likewise.
1263 * sunrpc/rpc/pmap_clnt.h: Likewise.
1264 * sunrpc/rpc/svc.h: Likewise.
1265 * sunrpc/rpc/xdr.h: Likewise.
f81d98d6 1266
edf66db1
SP
1267 * sysdeps/i386/memchr.S: Correct for more strict gas.
1268 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
1269 * sysdeps/libm-i387/i686/s_fdim.S: Likewise.
1270 * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
1271 * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
1272
12731998-07-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1274
1275 * configure.in: Change message for binutils version from
1276 2.8.1.0.17->2.8.1.0.23.
1277
12781998-07-15 Ulrich Drepper <drepper@cygnus.com>
1279
1280 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Define LOC.
1281 Patch by John Tobey <jtobey@banta-im.com>.
1282
12831998-07-14 Ulrich Drepper <drepper@cygnus.com>
1284
1285 * sunrpc/auth_unix.c (authunix_create_default): Use __sysconf
1286 instead of sysconf.
1287
12881998-07-14 19:39 Ulrich Drepper <drepper@cygnus.com>
1289
1290 * stdio-common/vfscanf.c (ungetc): Use _IO_sputbackc, not _IO_ungetc.
1291 [_USE_IN_LIBIO] (encode_error): Free cancelation handler.
1292 (conv_error): Likewise.
1293 (input_error): Likewise.
1294 (memory_error): Likewise.
1295
12961998-07-12 Mark Kettenis <kettenis@phys.uva.nl>
1297
1298 * sysdeps/mach/hurd/dl-sysdep.c: Bring in sync with generic
1299 implementation. Include <entry.h>. Replace references to symbol
1300 _start with macro ENTRY_POINT.
1301 (__libc_uid): Remove.
1302 (__libc_multiple_libcs): New variable.
1303 (__libc_stack_end): New variable.
1304 (_dl_hwcap_mask): New variable.
1305 (_dl_important_hwcaps): New function.
1306 (_dl_show_auxv): Mark internal.
1307
13081998-07-14 Mark Kettenis <kettenis@phys.uva.nl>
1309
1310 * mach/Makefile: Create target directory before generating
1311 mach-syscalls.mk.
1312 * mach/Machrules: Invoke awk using AWK variable. Create target
1313 directory before generating server stubs.
1314
13151998-07-14 Ulrich Drepper <drepper@cygnus.com>
1316
1317 * wcsmbs/wcslen.c (__wcslen): Fix comment.
1318
1319 * configure.in: Allow egcs-2.92.
1320
13211998-07-10 18:14 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1322
1323 * manual/Makefile: Overhauled. Generate libc.texinfo from the
1324 chapter files. Exorcise the chapters, chapters-incl mess.
1325 Support inserting doc chapters from add-on modules.
1326 (chapters): New variable.
1327 (add-chapters): New variable.
1328 (appendices): New variable.
1329 (libc.texinfo): New target.
1330 (clean): Fix bugs.
1331 (realclean): Fix bugs.
f81d98d6 1332
edf66db1
SP
1333 * manual/texis.awk: New file.
1334 * manual/libc-texinfo.sh: New file.
1335 * manual/libc-texinfo.in: New file.
f81d98d6 1336
edf66db1
SP
1337 * manual/conf.texi (top @node): Remove next pointer.
1338 * manual/lang.texi (top @node): Remove prev pointer.
f81d98d6 1339
edf66db1
SP
1340 * manual/job.texi (top @node): Add explicit pointers.
1341 * manual/message.texi (top @node): Add explicit pointers.
1342 * manual/nss.texi (top @node): Add explicit pointers.
1343 * manual/process.texi (top @node): Add explicit pointers.
1344 * manual/startup.texi (top @node): Add explicit pointers.
1345 * manual/terminal.texi (top @node): Add explicit pointers.
1346 * manual/users.texi (top @node): Add explicit pointers.
f81d98d6 1347
edf66db1
SP
1348 * manual/arith.texi: Add %MENU% tag.
1349 * manual/conf.texi: Add %MENU% tag.
1350 * manual/contrib.texi: Add %MENU% tag.
1351 * manual/ctype.texi: Add %MENU% tag.
1352 * manual/errno.texi: Add %MENU% tag.
1353 * manual/filesys.texi: Add %MENU% tag.
1354 * manual/header.texi: Add %MENU% tag.
1355 * manual/install.texi: Add %MENU% tag.
1356 * manual/intro.texi: Add %MENU% tag.
1357 * manual/io.texi: Add %MENU% tag.
1358 * manual/job.texi: Add %MENU% tag.
1359 * manual/lang.texi: Add %MENU% tag.
1360 * manual/llio.texi: Add %MENU% tag.
1361 * manual/locale.texi: Add %MENU% tag.
1362 * manual/maint.texi: Add %MENU% tag.
1363 * manual/math.texi: Add %MENU% tag.
1364 * manual/mbyte.texi: Add %MENU% tag.
1365 * manual/memory.texi: Add %MENU% tag.
1366 * manual/message.texi: Add %MENU% tag.
1367 * manual/nss.texi: Add %MENU% tag.
1368 * manual/pattern.texi: Add %MENU% tag.
1369 * manual/pipe.texi: Add %MENU% tag.
1370 * manual/process.texi: Add %MENU% tag.
1371 * manual/search.texi: Add %MENU% tag.
1372 * manual/setjmp.texi: Add %MENU% tag.
1373 * manual/signal.texi: Add %MENU% tag.
1374 * manual/socket.texi: Add %MENU% tag.
1375 * manual/startup.texi: Add %MENU% tag.
1376 * manual/stdio.texi: Add %MENU% tag.
1377 * manual/string.texi: Add %MENU% tag.
1378 * manual/sysinfo.texi: Add %MENU% tag.
1379 * manual/terminal.texi: Add %MENU% tag.
1380 * manual/time.texi: Add %MENU% tag.
1381 * manual/users.texi: Add %MENU% tag.
f81d98d6 1382
edf66db1 13831998-07-13 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 1384
edf66db1
SP
1385 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
1386 Update.
1387
13881998-07-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1389
1390 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Use ANSI
1391 style declaration to avoid warning.
1392 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
1393
13941998-07-04 Mark Kettenis <kettenis@phys.uva.nl>
1395
1396 * elf/rtld.c (process_dl_debug): Add missing continue.
1397
13981998-07-12 Mark Kettenis <kettenis@phys.uva.nl>
1399
1400 * elf/rtld.c (_dl_skip_args): Make global because the Hurd startup
1401 code needs it.
1402
14031998-07-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 1404
edf66db1
SP
1405 * Makeconfig ($(common-objpfx)sysd-dirs): Write out definition of
1406 sysd-dirs-done.
1407 * Makerules: Don't generate version maps too early.
1408 ($(common-objpfx)sysd-versions): Force regeneration if the list of
1409 subdirs has changed.
1410
14111998-07-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 1412
edf66db1 1413 * elf/dlfcn.h (DL_CALL_FCT): Use portable comma expression.
f81d98d6 1414
edf66db1 14151998-07-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 1416
edf66db1
SP
1417 * iconv/gconv_db.c (gen_steps): Always set *handle and *nsteps.
1418 * iconv/gconv_dl.c (__gconv_find_shlib): Correct use of tfind
1419 return value.
1420
14211998-07-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1422
1423 * elf/dl-open.c (dl_open_worker): New function.
1424 (_dl_open): Call it to do the actual work while catching errors.
1425 * elf/dl-close.c (_dl_close): Only call termination function if
1426 the initialisation function was called.
1427
14281998-07-13 Ulrich Drepper <drepper@cygnus.com>
1429
1430 * libio/libioP.h (_IO_cleanup_registration_needed): Use __PMT.
1431 Reported by Felix von Leitner <leitner@amdiv.de>.
f81d98d6 1432
edf66db1
SP
14331998-07-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1434
1435 * Make-dist (+sysdep-tsrcs): Add Versions.
f81d98d6 1436
edf66db1
SP
14371998-07-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1438
1439 * math/Versions: Remove __log1p, __atan2, __fe_dfl_env,
1440 __fe_enabled_env, __fe_nonieee_env and __fe_nomask_env.
1441 * sysdeps/powerpc/Versions: New file.
1442 * csu/Versions: Remove brk, sbrk, environ, __environ, _environ
1443 and __errno_location.
1444 * misc/Versions: Add brk and sbrk.
1445 * posix/Versions: Add environ, __environ and _environ.
1446 * sysdeps/unix/sysv/linux/Versions: Add __errno_location.
f81d98d6 1447
edf66db1 14481998-07-10 11:58 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 1449
edf66db1
SP
1450 * Makerules [no_defs]: Avoid dependency for loading sysd-versions.
1451 Patch by Zack Weinberg.
f81d98d6 1452
edf66db1 14531998-07-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 1454
edf66db1
SP
1455 * posix/annexc.c (errno_maybe): EACCESS->EACCES.
1456 (signal_maybe): Remove duplicate entry SIGEV_SIGNAL.
1457 (mman_maybe): Remove duplicates MS_ASYNC, MS_INVALIDATE.
f81d98d6 1458
edf66db1 14591998-07-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 1460
edf66db1 1461 * sysdeps/unix/sysv/linux/bits/fcntl.h: Fix typo.
f81d98d6 1462
edf66db1 14631998-07-09 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 1464
edf66db1 1465 * posix/unistd.h: Simplify #ifdefs.
f81d98d6 1466
edf66db1
SP
1467 * libio/libio.h: Undo last change due to possible C++ problems.
1468 * libio/fileops.h: Likewise.
f81d98d6 1469
edf66db1 14701998-07-09 13:34 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 1471
edf66db1
SP
1472 * grp/grp.h: Define gid_t also for __USE_XOPEN.
1473 * io/fcntl.h: Include <sys/stat.h> also for __USE_XOPEN.
1474 * io/utime.h: Define time_t also for __USE_XOPEN.
1475 * io/sys/stat.h: Define time_t also for __USE_XOPEN.
1476 Define *_t types except for pid_t also for __USE_XOPEN.
1477 Define S_* macros also for __USE_XOPEN.
1478 * locale/langinfo.h: Define CODESET, CRNCYSTR, RADIXCHAR, and
1479 THOUSEP also for __USE_XOPEN.
1480 * math/math.c: Define M_* macros also for __USE_XOPEN.
1481 * math/bits/mathcalls.h: Declare hypot also for __USE_XOPEN.
1482 * posix/fnmatch.h: Define FNM_NOSYS and for if _XOPEN_SOURCE is
1483 defined.
1484 * posix/glob.h: Likewise for GLOB_NOSYS.
1485 * posix/regex.h: Likewise for REG_NOSYS.
1486 * posix/wordexp.h: Likewise for WRDE_NOSYS.
1487 * posix/unistd.h: Define *_t types also for __USE_XOPEN.
1488 * posix/sys/wait.h: Define pid_t for __USE_XOPEN.
1489 * pwd/pwd.h: Define gid_t and pid_t also for __USE_XOPEN.
1490 * signal/signal.h: Define pid_t also for __USE_XOPEN.
1491 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define _RSYNC and O_DSYNC also
1492 for __USE_POSIX199309.
1493 * sysdeps/unix/sysv/linux/bits/termios.h: Define the various B*
1494 constants also for __USE_XOPEN.
1495 * wcsmbs/wchar.h: For XPG4 include wctype.h.
1496
1497 * intl/dcgettext.c (find_msg): Initialize act to prevent warning.
1498 * locale/setlocale.c (new_composite_name): Likewise for last_len.
1499
1500 * libio/stdio.h: Don't declare fclose_unlocked.
1501
1502 * sysdeps/posix/fpathconf.c: Handle _PC_FILESIZEBITS.
1503
15041998-07-08 Mark Kettenis <kettenis@phys.uva.nl>
1505
1506 * stdio/stdio.h: Add prototypes for fflush_unlocked,
1507 getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked,
1508 fgets_unlocked, fread_unlocked, fwrite_unlocked,
1509 clearerr_unlocked, feof_unlocked, ferror_unlocked,
1510 fileno_unlocked, flockfile, ftrylockfile, funlockfile.
1511 [__USE_XOPEN && !__USE_GNU] Declare optarg, optind, opterr. Add
1512 prototype for getopt.
1513 * stdio/clearerr.c (clearerr_unlocked): Weak alias for clearerr.
1514 * stdio/feof.c (feof_unlocked): Weak alias for feof.
1515 * stdio/ferror.c (ferror_unlocked): Weak alias for ferror.
1516 * stdio/fflush.c (fflush_unlocked): Weak alias for fflush.
1517 * stdio/fgets.c (fgets_unlocked): Weak alias for fgets.
1518 * stdio/fileno.c (fileno_unlocked): Weak alias for fileno.
1519 * stdio/fputc.c (fputc_unlocked): Weak alias for fputc.
1520 * stdio/fread.c (fread_unlocked): Weak alias for fread.
1521 * stdio/fwrite.c (fwrite_unlocked): Weak alias for fwrite.
1522 * stdio/getc.c (getchar_unlocked): Weak alias for getc.
1523 * stdio/getchar.c (getchar_unlocked): Weak alias for getchar.
1524 * stdio/putc.c (putc_unlocked): Weak alias for putc.
1525 * stdio/putchar.c (putchar_unlocked): Weak alias for putchar.
1526 * stdio/Versions [GLIBC_2.1]: Add clearerr_unlocked,
1527 feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked,
1528 fileno_unlocked, fputc_unlocked, fread_unlocked, fwrite_unlocked,
1529 getc_unlocked, getchar_unlocked, putc_unlocked and
1530 putchar_unlocked.
1531
1532 * libio/Versions: Move flockfile, ftrylockfile and funlockfile
1533 from here ...
1534 * stdio-common/Versions: ... to here.
1535
15361998-07-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1537
1538 * Makerules (versioning): Correct typo.
1539
15401998-07-08 22:18 Ulrich Drepper <drepper@cygnus.com>
1541
1542 * elf/Versions: Add _dl_mcount_wrapper_check.
1543 * elf/dlfcn.h (DL_CALL_FCT): Don't test _dl_profile_map, simply use
1544 _dl_mcount_wrapper_check.
1545 * iconv/skeleton.c: Use DL_CALL_FCT, not _CALL_DL_FCT.
1546
1547 * elf/dl-reloc.c (_dl_relocate_object): Don't declare using
1548 internal_function.
1549 * elf/ldsodefs.h: Likewise.
1550
1551 * io/fcntl.h: Define SEEK_SET, SEEK_CUR, and SEEK_END.
1552
1553 * libio/stdio.h: Make sure va_list is defined for X/Open.
1554 Define P_tmpdir for X/Open.
1555
1556 * posix/regex.h: Fix typo.
1557
1558 * posix/unistd.h: Define intptr_t if not already happened.
1559 Add pthread_atfork prototype.
1560 * sysdeps/generic/bits/types.h: Define __intptr_t.
1561 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1562 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1563 * sysdeps/unix/sysv/linux/bits/mips/types.h: Likewise.
1564 * sysdeps/unix/sysv/linux/bits/sparc/sparc64/types.h: Likewise.
1565 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1566 * sysdeps/wordsize-32/stdint.h: Don't define intptr_t if already done.
1567 * sysdeps/wordsize-64/stdint.h: Likewise.
f81d98d6 1568
edf66db1 1569 * posix/bits/posix1_lim.h: Define _POSIX_CLOCKRES_MIN.
f81d98d6 1570
edf66db1
SP
1571 * signal/Makefile (headers): Add bits/sigthread.h.
1572 * signal/signal.h: Include bits/sigthread.h.
1573 * sysdeps/generic/bits/sigthread.h: New file.
f81d98d6 1574
edf66db1 1575 * stdlib/stdlib.h: Declare rand_r use __USE_POSIX.
f81d98d6 1576
edf66db1
SP
1577 * sysdeps/generic/bits/confname.h: Define _PC_FILESIZEBITS.
1578 * sysdeps/posix/pathconf.c: Handle _PC_FILESIZEBITS.
1579 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: New file.
1580 * sysdeps/unix/sysv/linux/alpha/pathconf.c: New file.
f81d98d6 1581
edf66db1 1582 * sysdeps/generic/bits/dlfcn.h: Define RTLD_LOCAL.
f81d98d6 1583
edf66db1
SP
1584 * elf/rtld.c: Remove preloading and loadpath variables in SUID
1585 programs.
1586 * sysdeps/generic/dl-sysdep.c: Define unsetenv.
1587 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Define other envvar
1588 names.
f81d98d6 1589
edf66db1 1590 * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED.
f81d98d6 1591
edf66db1
SP
1592 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_RSYNC and O_DSYNC.
1593 Remove O_READ and O_WRITE definition.
f81d98d6 1594
edf66db1
SP
1595 * sysdeps/unix/sysv/linux/bits/resource.h: Define RLIM_SAVED_MAX
1596 and RLIM_SAVED_CUR.
f81d98d6 1597
edf66db1 1598 * sysdeps/unix/sysv/linux/fstatvfs.h: Handle UFS filesystem.
f81d98d6 1599
edf66db1 16001998-07-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 1601
edf66db1
SP
1602 * Makerules ($(common-objpfx)sysd-versions): Expect awk script in
1603 scripts directory. Pass move-if-change to awk.
1604 (common-generated): Add $(version-maps) and sysd-versions.
1605 * versions.awk: Moved to...
1606 * scripts/versions.awk: ... here. Use move-if-change to void
1607 touching unchanged files. Print "version-maps = ..." instead of
1608 "all-version-maps = ..." and without $(common-objpfx). Explain
1609 expected variable names.
1610 * Makefile (distribute): Updated.
f81d98d6 1611
edf66db1 16121998-07-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 1613
edf66db1
SP
1614 * misc/getttyent.c (getttyent): Don't return with locked stream.
1615 * misc/mntent_r.c (__getmntent_r): Likewise.
f81d98d6 1616
edf66db1 16171998-07-07 18:24 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 1618
edf66db1
SP
1619 * libio/fileops.c (_IO_do_write): Don't shrink wwrite buffer to zero
1620 if stream is line buffered.
1621 (_io_file_overflow): Likewise.
1622 * libio/libio.h (_IO_putc_unlocked): Make sure that for line-buffered
1623 streams writing '\n' flushes the string.
f81d98d6 1624
edf66db1 16251998-07-07 17:28 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 1626
edf66db1
SP
1627 * elf/dl-profstub.c (_dl_profile_map): Only declare variable here.
1628 * elf/dl-support.c: Define it here...
1629 * elf/rtld.c: ...and here.
f81d98d6 1630
edf66db1 16311998-07-07 16:28 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 1632
edf66db1 1633 * grp/initgroups.c: Handle directives from nsswitch.conf file.
f81d98d6 1634
edf66db1 16351998-07-07 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 1636
edf66db1
SP
1637 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Add
1638 __ino64_t definition.
1639 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Define
1640 __off64_t. Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
f81d98d6 1641
edf66db1
SP
1642 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell
1643 script if lddlibc4 failed.
1644 Reported by B. D. Elliott <bde@accessone.com>.
f81d98d6 1645
edf66db1 16461998-07-06 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 1647
edf66db1
SP
1648 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
1649 Improve generated strings a bit.
f81d98d6 1650
edf66db1 16511998-07-06 14:36 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 1652
edf66db1 1653 * posix/Makefile (generated): Remove $(objpfx) from the names.
f81d98d6 1654
edf66db1 16551998-07-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 1656
edf66db1
SP
1657 * stdio-common/test_rdwr.c: Use %Zu for size_t in printf
1658 format string.
1659
1660 * libio/iofread_u.c: Include <stdio.h> for prototype.
1661 * libio/iofwrite_u.c: Likewise.
1662
16631998-07-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1664
1665 * db2/Versions: New file.
1666
16671998-07-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1668
1669 * Makefile (lib-noranlib): Don't depend on sysd-versions.
1670 ($(common-objpfx)sysd-versions): Remove rule.
1671 * Makerules ($(common-objpfx)sysd-versions): Define here instead.
1672 Pass name of Versions.def file to script and redirect output to
1673 target. Include it and make all generated version maps depend on
1674 it.
1675 * versions.awk: Print out variable definition containing all
1676 generated version maps. Print error messages to stderr. Remove
1677 temp file.
1678
16791998-07-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1680
1681 * posix/annexc.c (check_header): Terminate macro name before
1682 comparing.
1683 (get_null_defines): Allow builtin macros with parameters.
1684 (fmt, testfmt): Add -D_LIBC.
1685 * posix/Makefile: Remove bogus duplicate include directories from
1686 annexc test command.
1687
16881998-07-06 12:04 Ulrich Drepper <drepper@cygnus.com>
1689
1690 * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Handle adjunct
1691 password scheme.
1692 (_nss_nis_getpwnam_r): Likewise.
1693 (_nss_nis_getpwuid_r): Likewise.
1694
16951998-07-05 Mark Kettenis <kettenis@phys.uva.nl>
1696
1697 * libio/Versions: Move symbols whose source lives in
1698 stdio-common to ...
1699 * stdio-common/Versions: ... here.
1700 * stdio/Versions: Add missing symbols.
1701
17021998-07-05 Ulrich Drepper <drepper@cygnus.com>
1703
1704 * sysdeps/unix/sysv/linux/__sendmsg.S: Define function as
1705 __syscall_sendmsg.
1706 * sysdeps/unix/sysv/linux/__recvmsg.S: Define function as
1707 __syscall_recvmsg.
1708 * sysdeps/unix/sysv/linux/recvmsg.c: Define function as __libc_recvmsg
1709 and make __recvmsg and recvmsg weak aliases.
1710 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise for sendmsg.
1711 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define __syscall_recvmsg
1712 and __syscall_sendmsg.
1713
17141998-07-05 11:49 Ulrich Drepper <drepper@cygnus.com>
1715
1716 * iconv/gconv_conf.c (read_conf_file): Use feof_unlocked on private
1717 stream.
1718 * inet/ruserpass.c (token): Likewise.
1719 * nss/nsswitch.c (nss_parse_file): Likewise.
1720 * intl/localealias.c: Likewise. Also for ferror.
1721 * time/getdate.c (__getdate_r): Likewise.
1722
1723 * libio/Makefile (routines): Add iofgets_u.
1724 * libio/iofgets_u.c: New file.
1725 * libio/Versions: Add fgets_unlocked.
1726 * libio/stdio.h: Add prototype for fgets_unlocked.
1727
1728 * misc/getttyent.c (getttyent): Use fgets_unlocked instead of fgets.
1729 * misc/getusershell.c (initshells): Likewise.
1730 * misc/mntent_r.c (__getmntent_r): Explicitly lock stream. Use
1731 fgets_unlocked.
1732 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1733 * resolv/res_init.c (res_init): Likewise.
1734 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1735
17361998-05-23 Philip Blundell <Philip.Blundell@pobox.com>
1737
1738 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add `syscall'.
1739 * sysdeps/unix/sysv/linux/arm/syscall.S: Deleted.
1740
17411998-07-05 Ulrich Drepper <drepper@cygnus.com>
1742
1743 * misc/getttyent.c (getttyent): Explicitly lock the FILE and use
1744 _unlocked functions.
1745
1746 * inet/ruserpass.c (ruserpass): Use _unlocked functions since this
1747 is a private FILE.
1748
17491998-07-04 17:11 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1750
1751 * csu/Makefile: Build crt files in lib pass.
1752 * db2/Makefile (distribute): Add mutex/sco.cc.
1753 * mach/Machrules: Don't generate .udeps files if no_deps is set.
1754 * sysdeps/unix/Makefile: Don't generate sysd-syscalls or
1755 s-proto.d if avoid-generated is set.
1756
1757 * sysdeps/alpha/Dist: List only one file per line.
1758 * sysdeps/generic/Dist: Likewise.
1759 * sysdeps/m68k/fpu/switch/Dist: Likewise.
1760 * sysdeps/sparc/sparc32/Dist: Likewise.
1761 * sysdeps/unix/Dist: Likewise.
1762 * sysdeps/unix/sysv/irix4/Dist: Likewise.
1763
1764 * sysdeps/mach/hurd/i386/Dist: New file.
1765 * sysdeps/generic/Dist: Add endutxent.c, getutxent.c, getutxid.c,
1766 getutxline.c, pututxline.c, setutxent.c, updwtmpx.c, and utmpxname.c.
1767 * sysdeps/unix/sysv/linux/Dist: Add getresuid.c and getresgid.c.
1768 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove __sigtrampoline.S.
1769
17701998-07-04 10:14 Ulrich Drepper <drepper@cygnus.com>
1771
1772 * libio/Makefile (routines): Add iofread_u and iofwrite_u.
1773 * libio/Versions: Add fread_unlocked and fwrite_unlocked.
1774
1775 * Makerules (lib%.so): Adjust ignore pattern for last makefile change.
1776
1777 * time/tzfile.c (decode): Optimize by using bswap_32.
1778 (__tzfile_read): Use _unlocked stream functions. Correct setting of
1779 __tzname array values.
1780 (__tzfile_compute): Correct setting of __tzname array values.
1781 * time/tzset.c (__tzstring): Clean up a bit.
1782
17831998-06-29 19:01 Jim Wilson <wilson@cygnus.com>
1784
1785 * posix/regex.c (re_comp): Add cast to char * before gettext calls.
1786
17871998-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1788
1789 * sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so
1790 that fd can be bigger than FD_SETSIZE.
1791
17921998-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1793
1794 * nscd/grpcache.c: Include <unistd.h>.
1795 * nscd/pwdcache.c: Likewise.
1796
1797 * nis/nis_modify.c: Include <string.h>.
1798 * nis/nis_add.c: Likewise.
1799 * nis/nis_checkpoint.c: Likewise.
1800 * posix/runptests.c: Likewise.
1801 * sysdeps/generic/statvfs64.c: Likewise.
1802 * sysdeps/generic/fstatvfs64.c: Likewise.
1803
18041998-07-03 13:16 Ulrich Drepper <drepper@cygnus.com>
1805
1806 * localedata/charmaps/ISO-8859-9: Change mapping for 0xea, 0xec, 0xef
1807 to match data from Unicode.
1808 Reported by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1809
18101998-07-03 11:45 Ulrich Drepper <drepper@cygnus.com>
1811
1812 * stdio-common/printf.h: Define printf_function and
1813 printf_arginfo_function types using __PMT not __P.
1814 Reported by Marc Lehmann.
1815
18161998-07-02 14:07 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1817
1818 * assert/test-assert.c: New test.
1819 * assert/test-assert-perr.c: New test.
1820 * assert/Makefile (tests): Add test-assert and test-assert-perr.
1821
18221998-07-02 13:45 Zack Weinberg <zack@rabi.phys.columbia.edu>
1823
1824 BSD-style SCM_CREDS support.
1825
1826 * sysdeps/unix/sysv/linux/socket.h: Define struct cmsgcred and
1827 SCM_CREDS.
1828 * sysdeps/unix/sysv/linux/sendmsg.c: New file. Convert user
1829 visible SCM_CREDS packet to what the kernel wants.
1830 * sysdeps/unix/sysv/linux/recvmsg.c: New file. Convert
1831 SCM_CREDS packet output by kernel to what users want.
1832
1833 * sysdeps/unix/sysv/linux/sendmsg.S: Moved to...
1834 * sysdeps/unix/sysv/linux/__sendmsg.S: here.
1835 * sysdeps/unix/sysv/linux/recvmsg.S: Moved to...
1836 * sysdeps/unix/sysv/linux/__recvmsg.S: here.
1837
1838 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]: Add
1839 __sendmsg and __recvmsg to sysdep_routines.
1840 * sysdeps/unix/sysv/linux/Dist: Add __sendmsg.S and __recvmsg.S.
1841
18421998-07-02 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1843
1844 * nscd/grpcache.c: Fix gid pointer handling and debug messages.
1845 * nscd/pwdcache.c: Fix uid pointer handling and debug messages.
1846 * nscd/nscd.c: Check, if pthread_create fails.
1847
18481998-07-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1849
1850 * stdio-common/test_rdwr.c (main): Use %Zu for size_t in printf
1851 format strings.
1852 * stdio-common/bug1.c (main): Likewise.
1853 * stdio-common/bug5.c (main): Likewise.
1854 * stdio-common/tstgetln.c (main): Likewise.
1855 * elf/sprof.c (generate_call_graph): Likewise.
1856 (load_shobj): Likewise.
1857 * posix/runptests.c (main): Likewise.
1858 * string/tst-strlen.c (main): Likewise.
1859
1860 * sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused
1861 variable q3.
1862 * sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise
1863
18641998-07-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1865
1866 * wctype/Versions: Add __towctrans.
1867 Noticed by Alex Buell <alex.buell@tahallah.demon.co.uk>.
1868
18691998-07-02 Mark Kettenis <kettenis@phys.uva.nl>
1870
1871 * grp/initgroups.c (compat_call): Only call dynamically loaded
1872 functions if they are really present.
1873
18741998-07-02 Mark Kettenis <kettenis@phys.uva.nl>
1875
1876 * sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within
1877 #ifdef that contains __BEGIN_DECLS.
1878
18791998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1880
1881 * libio/iofwrite.c: Fix return value when size == 0.
1882
18831998-07-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1884
1885 * posix/Makefile (distribute): Add annexc.c.
1886 (generated): Add $(objpfx)annexc and $(objpfx)annexc.out.
1887
18881998-07-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1889
1890 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1891 bits/pthreadtypes.h here, and do not clobber headers.
1892
1893 * sysdeps/unix/sysv/linux/Dist: Add bits/pthreadtypes.h.
1894
18951998-07-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1896
1897 * timezone/tst-timezone.c: Add tests for tzname variable.
1898
18991998-07-03 12:17 Zack Weinberg <zack@rabi.phys.columbia.edu>
1900
1901 * Makefile [versioning=yes]: Build the mapfiles with a pattern
1902 rule that lists all of them as targets.
1903 (sysd-versions): Depend only on Versions.def. Write a Makefile
1904 fragment that defines $(vers-libs) based on contents of that file;
1905 then include it.
1906 (lib-noranlib): Depend on lib-mapfiles not sysd-versions.
1907 (lib-mapfiles): New target, depends on sysd-versions and $(vers-libs).
1908 Predicate all this on avoid-generated unset as well as versioning.
1909
19101998-07-03 14:35 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1911
1912 * sysdeps/unix/sysv/linux/m68k/Versions: New file.
1913
19141998-07-02 21:51 Ulrich Drepper <drepper@cygnus.com>
1915
1916 * Makeconfig: Define list of subdirs as all-subdirs and make subdirs
1917 a copy.
1918 * Makefile: Add rules to generate map files.
1919 (distribute): Remove libc.map, add Versions.def and versions.awk.
1920 * Makerules: Change rules to find map files on common-objpfx.
1921 * elf/Makefile: Likewise.
1922 * md5-crypt/Makefile: Likewise.
1923 * nis/Makefile (libnsl-map): Remove.
1924 * Versions.def: New file.
1925 * versions.awk: New file.
1926 * argp/Versions: New file.
1927 * assert/Versions: New file.
1928 * catgets/Versions: New file.
1929 * csu/Versions: New file.
1930 * ctype/Versions: New file.
1931 * db/Versions: New file.
1932 * debug/Versions: New file.
1933 * dirent/Versions: New file.
1934 * elf/Versions: New file.
1935 * gmon/Versions: New file.
1936 * grp/Versions: New file.
1937 * hesiod/Versions: New file.
1938 * hurd/Versions: New file.
1939 * iconv/Versions: New file.
1940 * inet/Versions: New file.
1941 * intl/Versions: New file.
1942 * io/Versions: New file.
1943 * libio/Versions: New file.
1944 * linuxthreads/Versions: New file.
1945 * locale/Versions: New file.
1946 * login/Versions: New file.
1947 * malloc/Versions: New file.
1948 * math/Versions: New file.
1949 * md5-crypt/Versions: New file.
1950 * misc/Versions: New file.
1951 * nis/Versions: New file.
1952 * nss/Versions: New file.
1953 * posix/Versions: New file.
1954 * pwd/Versions: New file.
1955 * resolv/Versions: New file.
1956 * resource/Versions: New file.
1957 * rt/Versions: New file.
1958 * setjmp/Versions: New file.
1959 * shadow/Versions: New file.
1960 * signal/Versions: New file.
1961 * socket/Versions: New file.
1962 * stdio/Versions: New file.
1963 * stdio-common/Versions: New file.
1964 * stdlib/Versions: New file.
1965 * streams/Versions: New file.
1966 * string/Versions: New file.
1967 * sunrpc/Versions: New file.
1968 * sysdeps/alpha/Versions: New file.
1969 * sysdeps/alpha/fpu/Versions: New file.
1970 * sysdeps/i386/Versions: New file.
1971 * sysdeps/sparc/Versions: New file.
1972 * sysdeps/unix/sysv/Versions: New file.
1973 * sysdeps/unix/sysv/linux/Versions: New file.
1974 * sysdeps/unix/sysv/linux/alpha/Versions: New file.
1975 * sysdeps/unix/sysv/linux/i386/Versions: New file.
1976 * sysdeps/unix/sysv/linux/mips/Versions: New file.
1977 * sysvipc/Versions: New file.
1978 * termios/Versions: New file.
1979 * time/Versions: New file.
1980 * wcsmbs/Versions: New file.
1981 * wctype/Versions: New file.
1982 * libc.map: Removed.
1983 * db/libdb.map: Removed.
1984 * elf/libdl.map: Removed.
1985 * hesiod/libnss_hesiod.map: Removed.
1986 * hurd/libhurduser.map: Removed.
1987 * hurd/libmachuser.map: Removed.
1988 * linuxthreads/libpthread.map: Removed.
1989 * locale/libBrokenLocale.map: Removed.
1990 * login/libutil.map: Removed.
1991 * math/libm.map: Removed.
1992 * md5-crypt/libcrypt.map: Removed.
1993 * nis/libnsl.map: Removed.
1994 * nis/libnsl_compat.map: Removed.
1995 * nis/libnss_nis.map: Removed.
1996 * nis/libnss_nisplus.map: Removed.
1997 * nss/libnss_db.map: Removed.
1998 * nss/libnss_files.map: Removed.
1999 * resolv/libnss_dns.map: Removed.
2000 * resolv/libresolv.map: Removed.
2001 * rt/librt.map: Removed.
2002
2003 * elf/dl-load.c (fillin_rpath): Fix test for trusted directory.
2004 Fix typos.
2005
2006 * elf/rtld.c (process_dl_debug): Recognize 'all'.
2007 (process_envvars): LD_BIND_NOW must be followed by y, Y, or 1.
2008
2009 * sysdeps/generic/elf/backtracesyms.c: Allocate string memory of
2010 correct size.
2011
20121998-07-01 Ulrich Drepper <drepper@cygnus.com>
2013
2014 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo
2015 in comment.
2016
2017 * nscd/nscd.c: Include unistd.h.
2018
20191998-07-01 09:32 Ulrich Drepper <drepper@cygnus.com>
2020
2021 * math/libm-test.c: Adjust delta for indentities1_test because gcc
2022 became cleverer.
2023
20241998-06-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2025
2026 * resolv/inet_addr.c (inet_aton): Define variable base only if needed.
2027
20281998-06-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2029
2030 * scripts/test-installation.pl: Include <stdio.h> in test program
2031 to make it strictly conforming.
2032
20331998-06-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2034
2035 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
2036 not a strong alias.
2037 * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
2038 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
2039 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
2040 * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
2041
20421998-06-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2043
2044 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
2045 not a strong alias.
2046
20471998-06-30 Ulrich Drepper <drepper@cygnus.com>
2048
2049 * posix/Makefile (headers): Remove bits/pthreadtypes.h.
2050 * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add
2051 bits/pthreadtypes.h.
2052
20531998-06-30 11:47 Ulrich Drepper <drepper@cygnus.com>
2054
2055 * include/aio.h: New file.
2056 * posix/Makefile (distribute): Add bits/pthreadtypes.h.
2057 (tests): Build and run annexc program.
2058 * posix/annexc.c: New file.
2059 * posix/bits/posix1_lim.h: Add several more _POSIX_* limits.
2060 * rt/aio.h: Remove __need_timespec_t. We can include the whole time.h.
2061 * rt/aio_misc.c: Include limits.h.
2062 * rt/aio_notify.c: Include errno.h.
2063 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h.
2064 Define size_t.
92c3af3c 2065 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
edf66db1 2066 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
92c3af3c 2067 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
edf66db1
SP
2068 * sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the
2069 kernel doesn't do this.
2070 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if
2071 __USE_LARGEFILE64 is defined.
2072 * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file. Empty.
2073 * sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct
2074 if requested.
2075 * sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names.
f81d98d6 2076
edf66db1 2077 * stdlib/isomac.c: Avoid include_next warning.
f81d98d6 2078
edf66db1 20791998-06-29 12:27 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 2080
edf66db1
SP
2081 * argp/argp.h: Use __PMT instead of __P for function pointer.
2082 * iconv/gconv.h: Likewise.
2083 * io/fts.h: Likewise.
2084 * io/ftw.h: Likewise.
2085 * libio/libio.h: Likewise.
2086 * malloc/mcheck.h: Likewise.
2087 * misc/search.h: Likewise.
2088 * posix/glob.h: Likewise.
2089 * resolv/resolv.h: Likewise.
2090 * signal/signal.h: Likewise.
2091 * stdlib/stdlib.h: Likewise.
2092 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
2093 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
f81d98d6 2094
edf66db1 20951998-06-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 2096
edf66db1 2097 * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once.
f81d98d6 2098
edf66db1 20991998-06-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 2100
edf66db1 2101 * posix/wordexp.c (parse_param): Fix memory leak.
f81d98d6 2102
edf66db1 21031998-06-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 2104
edf66db1 2105 * libc.map: Export _IO_ftrylockfile.
f81d98d6 2106
edf66db1 21071998-06-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 2108
edf66db1
SP
2109 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of
2110 __get[pu]id.
f81d98d6 2111
edf66db1 21121998-06-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 2113
edf66db1 2114 * elf/dl-misc.c (_dl_debug_message): Don't cache the pid.
f81d98d6 2115
edf66db1
SP
2116 * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the
2117 same search list twice.
f81d98d6 2118
edf66db1 21191998-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 2120
edf66db1
SP
2121 * login/programs/utmpd.c (handle_requests): Set and use maximal fd
2122 used to optimize loop/select.
f81d98d6 2123
edf66db1 21241998-06-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 2125
edf66db1
SP
2126 * sysdeps/generic/init-first.c: Don't define __libc_pid.
2127 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
2128 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
2129 * sysdeps/mach/hurd/mips/init-first.c: Likewise.
2130 * sysdeps/arm/init-first.c: Likewise.
2131 * posix/getopt_init.c: Don't use __libc_pid.
2132 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2133 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
2134 * libc.map: Remove __libc_uid and __libc_pid.
f81d98d6 2135
edf66db1 21361998-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 2137
edf66db1 2138 * sunrpc/rtime.c (rtime): Use poll instead of select.
f81d98d6 2139
edf66db1 21401998-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 2141
edf66db1
SP
2142 * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select.
2143 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2144 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2145 Patches from FreeBSD current.
2146
21471998-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2148
2149 * nscd/connections.c (handle_new_request): Handle POLLHUP
2150 correctly.
2151 (close_sockets): Correct parameter to dbg_log.
2152
21531998-06-27 David S. Miller <davem@pierdol.cobaltmicro.com>
2154
2155 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
2156 Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
2157 (elf_machine_fixup_plt): Likewise.
2158 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When
2159 _dl_pagesize not set, use system call to always get correct answer.
2160 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
2161 (__syscall_getpagesize): Add
2162
21631998-06-27 Ulrich Drepper <drepper@cygnus.com>
2164
2165 * resolv/res_send.c (res_send): Fix typo.
2166
21671998-06-25 Andi Kleen <ak@muc.de>
2168
2169 * inet/rcmd.c (rcmd): Change to use __poll instead of select.
2170 * resolv/res_send.c (res_send): Likewise.
2171
21721998-06-27 12:58 Ulrich Drepper <drepper@cygnus.com>
2173
2174 * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
2175 * sysdeps/unix/sysv/linux/poll.c: Likewise.
2176
21771998-06-27 7:07 Richard Henderson <rth@cygnus.com>
2178
2179 * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately.
2180 * math/atest-exp2.c (exp_mpn, main): Likewise.
2181 * math/atest-sincos.c (main): Likewise.
2182
2183 * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow. Move
2184 base handling away from strtoul. Always reset errno.
2185
2186 * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs.
2187
2188 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set
2189 _dl_profile_map if _dl_name_match_p.
2190 (RTLD_START): Fix .prologue. Set __libc_stack_end.
2191 * sysdeps/alpha/elf/start.S: Pass sp as arg 7. Kill __data_start.
2192
2193 * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp
2194 as early-clobber.
2195
2196 * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h".
2197 * sysdeps/libm-ieee754/e_exp10f.c: Likewise.
2198 * sysdeps/libm-ieee754/e_exp10l.c: Likewise.
2199
22001998-06-26 Ulrich Drepper <drepper@cygnus.com>
2201
2202 * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code.
2203
22041998-06-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2205
2206 * nis/nis_call.c: Don't copy server structure.
2207 * nis/nis_intern.h: Remove unused entries.
2208 * nis/nis_table.c: Rewrite __create_ib_request.
2209
22101998-06-26 14:37 Ulrich Drepper <drepper@cygnus.com>
2211
2212 * configure.in: Check for -fexceptions.
2213 * config.make.in: Define exceptions, not no-exceptions.
2214 * misc/sys/cdefs.h: Define __PMT. When using modern g++ define
2215 __P to use throw().
2216 * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
2217 $(exceptions).
2218 * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
2219 * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
2220 lfind, and lsearch prototpypes.
2221 * stdlib/stdlib.h: Likewise for bsearch and qsort.
2222
22231998-06-26 Ulrich Drepper <drepper@cygnus.com>
2224
2225 * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.
2226
22271998-06-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2228
2229 * Makefile (remove-old-headers): Make phony.
2230
2231 * configure.in: Substitute @old_glibc_headers@.
2232
22331998-06-26 Ulrich Drepper <drepper@cygnus.com>
2234
2235 * libc.map: Remove __libc_uid.
2236
22371998-06-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2238
2239 * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
2240 typos.
2241
22421998-06-26 Ulrich Drepper <drepper@cygnus.com>
2243
2244 * libc.map: Add Alpha-specific io function from protected namespace.
2245
22461998-06-25 19:26 Ulrich Drepper <drepper@cygnus.com>
2247
2248 * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
2249 * locale/Makefile: Define locale-CPPFLAGS instead of redefining
2250 CPPFLAGS.
2251
2252 * libc.map: Export __sigaction.
2253
22541998-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2255
2256 * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
2257 (from Linux 2.1.107).
2258
22591998-06-24 Ulrich Drepper <drepper@cygnus.com>
2260
2261 * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
2262 position when file was opened here.
2263 Reported by Howard Chu <hyc@platinum.com>.
2264
2265 * sysdeps/generic/glob.c: Also protect FNM_* macros from being
2266 undefined in a second inclusion.
2267
22681998-06-20 Mark Kettenis <kettenis@phys.uva.nl>
2269
2270 * sysdeps/mach/hurd/i386/Makefile: New file.
2271 * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
2272 __libc_init_secure.
2273 (_hurd_stack_setup): Renamed
2274 from __libc_init_first.
2275 (__libc_init_first): New function.
2276 * sysdeps/mach/hurd/i386/static-start.S: New file.
2277
22781998-05-30 Mark Kettenis <kettenis@phys.uva.nl>
2279
2280 * sysdeps/mach/hurd/i386/init-first.c
2281
22821998-06-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2283
2284 * grp/initgroups.c: Use _CALL_DL_FCT.
2285
22861998-06-23 Mark Kettenis <kettenis@phys.uva.nl>
2287
2288 * elf/rtld.c (process_dl_debug): Add missing continue.
2289
22901998-06-23 Mark Kettenis <kettenis@phys.uva.nl>
2291
2292 * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
2293
22941998-06-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2295
2296 * manual/terminal.texi (Pseudo-Terminals): Correct typos.
2297
22981998-06-23 Ulrich Drepper <drepper@cygnus.com>
2299
2300 * config.make.in: Remove LDAP support.
2301 * nss/Makefile: Likewise.
2302
23031998-06-22 17:02 Ulrich Drepper <drepper@cygnus.com>
2304
2305 * sysdeps/generic/enbl-secure.c: Don't use __libc_uid.
2306 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2307 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
2308 * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid.
2309
23101998-06-02 Gordon Matzigkeit <gord@profitpress.com>
2311
2312 * mach/Makefile: Change `mv' invocations to `mv -f'.
2313 * mach/Machrules: Likewise.
2314
23151998-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2316
2317 * config.make.in (old-glibc-headers): Add it.
2318
2319 * configure.in: Add test for glibc 2.0.x headers.
2320
2321 * Makefile (headers2_0): New variable - contains so far only
2322 Linux/Intel glibc 2.0.x headers.
2323 (remove-old-headers): New rule to remove headers from glibc 2.0.x.
2324 (install): Depend on remove-old-headers.
2325
23261998-06-19 Mark Kettenis <kettenis@phys.uva.nl>
2327
2328 * sysdeps/generic/ftruncate.c: Define function as __ftruncate and
2329 make ftruncate a weak alias.
2330 * sysdeps/mach/hurd/ftruncate.c: Really define function as
2331 __ftruncate.
2332 * sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
2333 (truncate): Fix function defenition to match prototype.
2334
23351998-06-20 Mark Kettenis <kettenis@phys.uva.nl>
2336
2337 * manual/terminal.texi: Document ttyname_r, getpt, grantpt,
2338 unlockpt, ptsname, ptsname_r, openpty and forkpty.
2339
23401998-06-22 Ulrich Drepper <drepper@cygnus.com>
2341
2342 * sysdeps/generic/glob.c: Make it possible to include glob.h
2343 before loading glob.c.
2344 Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
2345
23461998-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2347
2348 * nscd/connections.c: Use poll() instead of select().
2349
23501998-06-22 14:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2351
2352 * sysdeps/generic/Dist: Fix typo.
2353
23541998-06-20 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2355
2356 * nis/nis_add.c: Avoid unnecessary strlen () calls.
2357 * nis/nis_addmember.c: Likewise.
2358 * nis/nis_call.c: Likewise.
2359 * nis/nis_creategroup.c: Likewise.
2360 * nis/nis_destroygroup.c: Likewise.
2361 * nis/nis_findserv.c: Likewise.
2362 * nis/nis_ismember.c: Likewise.
2363 * nis/nis_print.c: Likewise.
2364 * nis/nis_print_group_entry.c: Likewise.
2365 * nis/nis_removemember.c: Likewise.
2366 * nis/nis_verifygroup.c: Likewise.
2367 * nis/ypclnt.c: Likewise.
2368
2369 * nis/nis_file.c: Close file handles.
2370
2371 * nis/nis_callback.c: Fix typo.
2372
23731998-06-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2374
2375 * nis/Makefile: Add nis-initgroups and compat-initgroups.
2376 * nis/libnss_compat.map: Add _nss_compat_initgroups.
2377 * nis/libnss_nis.map: Add _nss_nis_initgroups.
2378 * nis/nss_compat/compat-initgroups.c: New, faster then getgrent().
2379 * nis/nss_nis/nis-initgroups.c: Likewise.
2380 * libc-work/nss/nsswitch.c: Rename nss_lookup_function to
2381 __nss_lookup_function and make it public.
2382 * grp/initgroups.c: Rewrite, to use initgroups function from NSS
2383 module if exists, else use old method.
2384
23851998-06-19 Ulrich Drepper <drepper@cygnus.com>
2386
2387 * nss/getXXbyYY_r.c (lookup_function): Correct return in type
2388 definition.
2389 * nss/getXXent_r.c (set_function, end_function, get_function):
2390 Likewise. Reported by Thorsten Kukuk.
2391
2392 * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous.
2393
23941998-06-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2395
2396 * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from
2397 1998-06-16 and distribute kernel_termios.h.
2398
2399 * nis/Makefile (distribute): Add nis_xdr.h.
2400
24011998-06-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2402
2403 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for
2404 kernels that don't have sigaltstack.
2405
24061998-06-19 Ulrich Drepper <drepper@cygnus.com>
2407
2408 * sysdeps/generic/bits/sem.h: Don't define union semun.
2409
2410 * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo.
2411
2412 * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition
2413 here.
2414 * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge
2415 definition here.
2416
24171998-06-18 21:45 Ulrich Drepper <drepper@cygnus.com>
2418
2419 * signal/signal.h: Add prototype for __sigaltstack.
2420 * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name.
2421 Remove sigstack entry.
2422 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here.
2423 * sysdeps/unix/sysv/linux/sigstack.c: New file.
2424
2425 * sysdeps/i386/backtrace.c: Add casts.
2426
24271998-06-18 19:49 Ulrich Drepper <drepper@cygnus.com>
2428
2429 * intl/dcgettext.c: use complete type name.
2430 * intl/hash-string.h: Likewise.
2431
2432 * intl/localealias.c: Undo patch from 1998-04-29.
2433 * intl/l10nflist.c: Likewise.
2434 * intl/loadinfo.h: Likewise.
2435
24361998-06-18 Ulrich Drepper <drepper@cygnus.com>
2437
2438 * sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
2439
24401998-06-18 16:40 Ulrich Drepper <drepper@cygnus.com>
2441
2442 * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
2443 _dl_mcount, _dl_mcount_wrapper.
2444 * elf/Makefile (routines): Add dl-profstub.
2445 * elf/dl-profstub.c: New file.
2446 * elf/dl-support.c: Don't define _dl_profile_map.
2447 * elf/rtld.c: Likewise.
2448 * elf/dlfcn.h: Define DL_CALL_FCT macro.
2449 * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper.
2450 Define _CALL_DL_FCT.
2451 * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically
2452 loaded object.
2453 * iconv/gconv_db.c: Likewise.
2454 * iconv/skeleton.c: Likewise.
2455 * nss/getXXbyYY_r.c: Likewise.
2456 * nss/getXXent_r.c: Likewise.
2457 * nss/nsswitch.c: Likewise.
2458
24591998-06-18 12:29 Ulrich Drepper <drepper@cygnus.com>
2460
2461 * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling.
2462 * sysdeps/libm-i387/e_scalbf.S: Likewise.
2463 * sysdeps/libm-i387/e_scalbl.S: Likewise.
2464
24651998-06-18 Ulrich Drepper <drepper@cygnus.com>
2466
2467 * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate
2468 longestdbl.
2469
24701998-06-18 10:26 Ulrich Drepper <drepper@cygnus.com>
2471
2472 * iconvdata/Makefile (modules): Add MACINTOSH.
2473 (MACINTOSH-routines): New variable.
2474 (distribute): Add macintosh.c.
2475 (awk-generated-headers): Add macintosh.h.
2476 Add rule for macintosh.h generation.
2477 * iconvdata/gconv-modules: Add definitions for MACINTOSH.
2478 * iconvdata/macintosh.c: New file.
2479
24801998-06-17 Ulrich Drepper <drepper@cygnus.com>
2481
2482 * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers.
2483
2484 * stdlib/strtod.c (str_to_mpn): Fix extending of n array which
2485 only should happen for cy != 0.
2486
2487 * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before
2488 glob.h.
2489
24901998-06-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2491
2492 * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it
2493 to compare stack addresses.
2494
24951998-06-17 Ulrich Drepper <drepper@cygnus.com>
2496
2497 * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before
2498 defining prototypes.
2499
25001998-06-16 David S. Miller <davem@dm.cobaltmicro.com>
2501
2502 * sysdeps/sparc/sparc32/dl-machine.h
2503 (elf_machine_fixup_plt): During rtld bootstrap, always perform
2504 flushes as the kernel will emulate it when the underlying cpu does
2505 not implement flush.
2506
2507 * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
2508 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.
2509
2510 * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
2511 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
2512 trampoline code.
2513
2514 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
2515 (__clone): Branch to label .Lerror not __clone_syscall_error.
2516 (.Lerror): Fixup EINVAL setting.
2517 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
2518 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
2519 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
2520 (__syscall_getgroups, __syscall_setgroups): Add.
2521
2522 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2523 (__sigaction): Member name is k_sa_handler. Use memcpy to copy
2524 around sa_mask data.
2525
25261998-06-16 Ulrich Drepper <drepper@cygnus.com>
2527
2528 * math/math.h: Include bits/nan.h when compiling for ISO C 9x.
2529
2530 * string/Makefile: Make sure test-ffs does not use builtins.
2531
25321998-06-16 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2533
2534 * sunrpc/svc.c: Check for NULL pointer.
2535
2536 * nis/libnsl.map: Add public NIS+ xdr functions.
2537
2538 * nis/rpcsvc/nis_callback.h: New file.
2539 * nis/rpcsvc/nis.h: Move xdr_* functions from here ...
2540 * nis/nis_xdr.h: ... here.
2541
2542 * nis/nis_add.c: Use internal _xdr_* functions, check for NULL
2543 pointers, use NIS+ defines where possible.
2544 * nis/nis_cache.c: Likewise.
2545 * nis/nis_cache2_xdr.c: Likewise.
2546 * nis/nis_call.c: Likewise.
2547 * nis/nis_checkpoint.c: Likewise.
2548 * nis/nis_clone_dir.c: Likewise.
2549 * nis/nis_clone_obj.c: Likewise.
2550 * nis/nis_clone_res.c: Likewise.
2551 * nis/nis_creategroup.c: Likewise.
2552 * nis/nis_file.c: Likewise.
2553 * nis/nis_free.c: Likewise.
2554 * nis/nis_getservlist.c: Likewise.
2555 * nis/nis_local_names.c: likewise.
2556 * nis/nis_lookup.c: Likewise.
2557 * nis/nis_mkdir.c: Likewise.
2558 * nis/nis_modify.c: Likewise.
2559 * nis/nis_ping.c: Likewise.
2560 * nis/nis_print.c: Likewise.
2561 * nis/nis_remove.c: Likewise.
2562 * nis/nis_removemember.c: Likewise.
2563 * nis/nis_rmdir.c: Likewise.
2564 * nis/nis_server.c: Likewise.
2565 * nis/nis_table.c: Likewise.
2566 * nis/nis_util.c: Likewise.
2567 * nis/nis_verifygroup.c: Likewise.
2568 * nis/nis_xdr.c: Likewise.
2569 * nis/nis_callback.c: Likewise, and move xdr functions from here ...
2570 * nis/nis_xdr.c: ... to here.
2571
25721998-06-15 18:07 Ulrich Drepper <drepper@cygnus.com>
2573
2574 * iconvdata/ksc5601.h: Clean up a bit.
2575
25761998-06-15 14:35 Ulrich Drepper <drepper@cygnus.com>
2577
2578 * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections
2579 and process incoming data.
2580 * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length
2581 fragments as invalid.
2582 Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
2583
25841998-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2585
2586 Removal of duplicates like "the the".
2587 * manual/time.texi (TZ Variable): Likewise.
2588 * manual/users.texi (Manipulating the Database): Likewise.
2589 * manual/sysinfo.texi (Filesystem handling): Likewise.
2590 * manual/signal.texi (Signaling Yourself): Likewise.
2591 * manual/message.texi (Message Translation): Likewise.
2592 (Common Usage): Likewise.
2593 * manual/llio.texi: Likewise.
2594 * manual/arith.texi (Old-style number conversion): Likewise.
2595 * manual/argp.texi (Argp): Likewise.
2596 (Argp Parsers): Likewise.
2597 (Argp Help Filtering): Likewise.
2598
2599 * hesiod/README.hesiod: Correct typo.
2600
2601 * manual/llio.texi: Correct typos.
2602 * manual/sysinfo.texi: Likewise.
2603
26041998-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2605
2606 * rt/aio.h: Rename __op to __operation for g++.
2607
26081998-06-13 20:17 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2609
2610 * iconvdata/gen-8bit-gap.sh: Use awk not perl. Clean up sed
2611 script.
2612 * iconvdata/gen-8bit-gap-1.sh: Likewise.
2613 * iconvdata/gen-8bit.sh: Clean up sed script.
2614
2615 * iconvdata/Makefile: Remove all PERL conditionals; build all
2616 the modules all the time. Export AWK.
2617 (gen-8bit-gap): Delete setting of PERL.
2618 (gen-8bit-gap-1): Likewise.
2619 (perl-generated-headers): Renamed awk-generated-headers.
2620
2621 * iconvdata/gap.pl: Removed.
2622 * iconvdata/gaptab.pl: Removed.
2623 * iconvdata/gap.awk: New file.
2624 * iconvdata/gaptab.awk: New file.
2625
26261998-06-15 Ulrich Drepper <drepper@cygnus.com>
2627
2628 * sysdeps/generic/Dist: Add errno-loc.c.
2629
2630 * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the
2631 __new_* functions.
2632
26331998-06-14 14:21 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2634
2635 * stdio-common/bug12.c: New test for fread()/fseek().
2636 * stdio-common/Makefile (tests): Add bug12.
2637
26381998-06-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2639
2640 * sysdeps/generic/elf/backtracesyms.c: Make array elements
2641 constant.
2642 * sysdeps/generic/backtracesyms.c: Likewise. Fix type of RESULT.
2643 * debug/execinfo.h: Update declaration.
2644
26451998-06-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2646
2647 * sysdeps/generic/elf/backtracesyms.c: Make array elements constant.
2648 * sysdeps/generic/backtracesyms.c: Likewise. Fix type of RESULT.
2649 * debug/execinfo.h: Update declaration.
2650
26511998-06-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2652
2653 * manual/llio.texi: Fix spelling.
2654 * manual/sysinfo.texi: Fix spelling.
2655
26561998-06-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2657
2658 * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak
2659 alias for old name. Put this on __libc_subfreeres.
2660 * misc/search.h: Declare it.
2661
26621998-06-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2663
2664 * string/bits/string2.h (strcmp): Add missing parens around macro
2665 parameters.
2666
26671998-06-12 23:34 Ulrich Drepper <drepper@cygnus.com>
2668
2669 * manual/arith.texi: Fix problem with @math and texinfo.tex.
2670
2671 * manual/filesys.texi: Document LFS functions.
2672 * manual/llio.texi: Likewise.
2673 * manual/stdio.texi: Likewise.
2674 * manual/time.texi: Likewise.
2675
2676 * manual/llio.texi: Document AIO functions.
2677
2678 * resource/sys/resource.h: Mark second argument of setrlimit as const.
2679 * sysdeps/generic/setrlimit.c: Likewise.
2680 * sysdeps/generic/setrlimit64.c: Likewise.
2681 * sysdeps/mach/hurd/setrlimit.c: Likewise.
2682 * sysdeps/unix/sysv/setrlimit.c: Likewise.
2683
26841998-06-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2685
2686 * sysdeps/generic/getenv.c: Fix last change.
2687
26881998-06-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2689
2690 * sysdeps/generic/backtrace.c: Provide generic implementation.
2691
26921998-06-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2693
2694 * configure.in: Give visual feedback of the default directories we
2695 added.
2696
26971998-06-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2698
2699 * io/fts.c (fts_build): Define oflag only if needed.
2700
27011998-06-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2702
2703 * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment.
2704
27051998-06-11 Ulrich Drepper <drepper@cygnus.com>
2706
2707 * libc.map: Don't export argp's fmtstream handling functions.
2708
2709 * manual/sysinfo.texi: Document fstab and mtab handling functions.
2710 * manual/llio.texi: Document more LFS functions and start documenting
2711 the AIO functions.
2712
27131998-06-03 03:09 Geoff Keating <geoffk@ozemail.com.au>
2714
2715 * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll().
2716 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2717 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2718 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2719
27201998-06-03 03:09 Geoff Keating <geoffk@ozemail.com.au>
2721
2722 * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this
2723 makes it easier to undump emacs.
2724 * sysdeps/powerpc/bits/endian.h: Use more informative error message
2725 for when the endianness can't be determined.
2726
27271998-06-04 13:19 Geoff Keating <geoffk@ozemail.com.au>
2728
2729 * nss/Makefile: Add files publickey database support.
2730 * nss/libnss_files.map: Export the required functions.
2731 * nss/nss_files/files-key.c: Implement it.
2732 * sunrpc/rpc/auth_des.h: Correct typos in comments.
2733
27341998-06-10 Ulrich Drepper <drepper@cygnus.com>
2735
2736 * iconv/gconv_builtin.h: Add aliases for CORBA.
2737 * iconvdata/gconv-modules: Likewise.
2738
27391998-06-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2740
2741 * math/libm-test.c (main): Call exp10_test.
2742 (exp10_test): New function which tests exp10.
2743
27441998-06-10 Ulrich Drepper <drepper@cygnus.com>
2745
2746 * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and
2747 sigstack.
2748
2749 * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of
2750 SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ.
2751 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file.
2752
27531998-06-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2754
2755 * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address
2756 in the variable, not its GOT slot.
2757
27581998-06-10 10:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2759
2760 * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as
2761 inline.
2762 * sysdeps/m68k/fpu/e_exp10.c: New file.
2763 * sysdeps/m68k/fpu/e_exp10f.c: New file.
2764 * sysdeps/m68k/fpu/e_exp10l.c: New file.
2765
2766 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
2767 _dl_profile_map only if the name matches.
2768 (_dl_start_user): Remember stack address.
2769 * sysdeps/m68k/elf/start.S: Pass new argument to
2770 __libc_start_user.
2771
2772 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
2773 definition.
2774 (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
2775 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2776 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2777 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2778 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2779
27801998-06-09 18:16 Ulrich Drepper <drepper@cygnus.com>
2781
2782 * math/Makefile (libm-calls): Add w_exp10 and e_exp10.
2783 * math/libm.map: Add exp10{,f,l} and pow10{,f,l}.
2784 * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}.
2785 * math/bits/mathcalls.h: Add definitions for exp10 and pow10
2786 prototypes.
2787 * sysdeps/libm-i387/e_exp10.S: New file.
2788 * sysdeps/libm-i387/e_exp10f.S: New file.
2789 * sysdeps/libm-i387/e_exp10l.S: New file.
2790 * sysdeps/libm-ieee754/e_exp10.c: New file.
2791 * sysdeps/libm-ieee754/e_exp10f.c: New file.
2792 * sysdeps/libm-ieee754/e_exp10l.c: New file.
2793 * sysdeps/libm-ieee754/w_exp10.c: New file.
2794 * sysdeps/libm-ieee754/w_exp10f.c: New file.
2795 * sysdeps/libm-ieee754/w_exp10l.c: New file.
2796 * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10.
2797
27981998-05-25 22:18 H.J. Lu <hjl@gnu.org>
2799
2800 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add
2801 sys/elf.h and sys/reg.h.
2802 * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file.
2803 * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file.
2804 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file.
2805 * sysdeps/unix/sysv/linux/i386/sys/user.h: New file.
2806
2807 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS,
2808 PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added.
2809
28101998-06-09 Ulrich Drepper <drepper@cygnus.com>
2811
2812 * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define
2813 __data member only for gcc. Reported by ak@muc.de.
2814
2815 * misc/mntent.h: Undo last patch.
2816 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch.
2817 * misc/tst/mntent.c: Adjust code for this change.
2818
2819 * io/fts.c: Updated from a slightly more recent BSD version.
2820 * io/fts.h: Likewise.
2821
2822 * libc.map: Add __libc_stack_end.
2823
2824 * db2/Makefile (routines): Add lock_region.
2825 * db2/config.h: Update from db-2.4.14.
2826 * db2/db.h: Likewise.
2827 * db2/db_185.h: Likewise.
2828 * db2/db_int.h: Likewise.
2829 * db2/btree/bt_close.c: Likewise.
2830 * db2/btree/bt_compare.c: Likewise.
2831 * db2/btree/bt_conv.c: Likewise.
2832 * db2/btree/bt_cursor.c: Likewise.
2833 * db2/btree/bt_delete.c: Likewise.
2834 * db2/btree/bt_open.c: Likewise.
2835 * db2/btree/bt_page.c: Likewise.
2836 * db2/btree/bt_put.c: Likewise.
2837 * db2/btree/bt_rec.c: Likewise.
2838 * db2/btree/bt_recno.c: Likewise.
2839 * db2/btree/bt_rsearch.c: Likewise.
2840 * db2/btree/bt_search.c: Likewise.
2841 * db2/btree/bt_split.c: Likewise.
2842 * db2/btree/bt_stat.c: Likewise.
2843 * db2/btree/btree.src: Likewise.
2844 * db2/btree/btree_auto.c: Likewise.
2845 * db2/clib/getlong.c: Likewise.
2846 * db2/common/db_appinit.c: Likewise.
2847 * db2/common/db_apprec.c: Likewise.
2848 * db2/common/db_byteorder.c: Likewise.
2849 * db2/common/db_err.c: Likewise.
2850 * db2/common/db_log2.c: Likewise.
2851 * db2/common/db_region.c: Likewise.
2852 * db2/common/db_salloc.c: Likewise.
2853 * db2/common/db_shash.c: Likewise.
2854 * db2/db/db.c: Likewise.
2855 * db2/db/db.src: Likewise.
2856 * db2/db/db_auto.c: Likewise.
2857 * db2/db/db_conv.c: Likewise.
2858 * db2/db/db_dispatch.c: Likewise.
2859 * db2/db/db_dup.c: Likewise.
2860 * db2/db/db_overflow.c: Likewise.
2861 * db2/db/db_pr.c: Likewise.
2862 * db2/db/db_rec.c: Likewise.
2863 * db2/db/db_ret.c: Likewise.
2864 * db2/db/db_thread.c: Likewise.
2865 * db2/db185/db185.c: Likewise.
2866 * db2/db185/db185_int.h: Likewise.
2867 * db2/dbm/dbm.c: Likewise.
2868 * db2/hash/hash.c: Likewise.
2869 * db2/hash/hash.src: Likewise.
2870 * db2/hash/hash_auto.c: Likewise.
2871 * db2/hash/hash_conv.c: Likewise.
2872 * db2/hash/hash_debug.c: Likewise.
92c3af3c
SP
2873 * db2/hash/hash_dup.c: Likewise.
2874 * db2/hash/hash_func.c: Likewise.
2875 * db2/hash/hash_page.c: Likewise.
2876 * db2/hash/hash_rec.c: Likewise.
edf66db1 2877 * db2/hash/hash_stat.c: Likewise.
92c3af3c
SP
2878 * db2/include/btree.h: Likewise.
2879 * db2/include/btree_ext.h: Likewise.
edf66db1
SP
2880 * db2/include/clib_ext.h: Likewise.
2881 * db2/include/common_ext.h: Likewise.
2882 * db2/include/cxx_int.h: Likewise.
92c3af3c
SP
2883 * db2/include/db.h.src: Likewise.
2884 * db2/include/db_185.h.src: Likewise.
edf66db1
SP
2885 * db2/include/db_am.h: Likewise.
2886 * db2/include/db_auto.h: Likewise.
92c3af3c 2887 * db2/include/db_cxx.h: Likewise.
edf66db1 2888 * db2/include/db_dispatch.h: Likewise.
92c3af3c
SP
2889 * db2/include/db_ext.h: Likewise.
2890 * db2/include/db_int.h.src: Likewise.
2891 * db2/include/db_page.h: Likewise.
2892 * db2/include/db_shash.h: Likewise.
edf66db1
SP
2893 * db2/include/db_swap.h: Likewise.
2894 * db2/include/hash.h: Likewise.
2895 * db2/include/hash_ext.h: Likewise.
92c3af3c 2896 * db2/include/lock.h: Likewise.
edf66db1 2897 * db2/include/lock_ext.h: Likewise.
92c3af3c
SP
2898 * db2/include/log.h: Likewise.
2899 * db2/include/log_ext.h: Likewise.
2900 * db2/include/mp.h: Likewise.
edf66db1
SP
2901 * db2/include/mp_ext.h: Likewise.
2902 * db2/include/mutex_ext.h: Likewise.
2903 * db2/include/os_ext.h: Likewise.
2904 * db2/include/os_func.h: Likewise.
2905 * db2/include/queue.h: Likewise.
92c3af3c
SP
2906 * db2/include/shqueue.h: Likewise.
2907 * db2/include/txn.h: Likewise.
2908 * db2/lock/lock.c: Likewise.
edf66db1 2909 * db2/lock/lock_conflict.c: Likewise.
92c3af3c 2910 * db2/lock/lock_deadlock.c: Likewise.
edf66db1
SP
2911 * db2/lock/lock_region.c: Likewise.
2912 * db2/lock/lock_util.c: Likewise.
92c3af3c 2913 * db2/log/log.c: Likewise.
edf66db1 2914 * db2/log/log.src: Likewise.
92c3af3c
SP
2915 * db2/log/log_archive.c: Likewise.
2916 * db2/log/log_auto.c: Likewise.
edf66db1
SP
2917 * db2/log/log_compare.c: Likewise.
2918 * db2/log/log_findckp.c: Likewise.
92c3af3c
SP
2919 * db2/log/log_get.c: Likewise.
2920 * db2/log/log_put.c: Likewise.
edf66db1 2921 * db2/log/log_rec.c: Likewise.
92c3af3c
SP
2922 * db2/log/log_register.c: Likewise.
2923 * db2/mp/mp_bh.c: Likewise.
2924 * db2/mp/mp_fget.c: Likewise.
2925 * db2/mp/mp_fopen.c: Likewise.
2926 * db2/mp/mp_fput.c: Likewise.
2927 * db2/mp/mp_fset.c: Likewise.
2928 * db2/mp/mp_open.c: Likewise.
edf66db1
SP
2929 * db2/mp/mp_pr.c: Likewise.
2930 * db2/mp/mp_region.c: Likewise.
2931 * db2/mp/mp_sync.c: Likewise.
2932 * db2/mutex/68020.gcc: Likewise.
92c3af3c 2933 * db2/mutex/mutex.c: Likewise.
edf66db1
SP
2934 * db2/mutex/parisc.gcc: Likewise.
2935 * db2/mutex/parisc.hp: Likewise.
2936 * db2/mutex/sco.cc: Likewise.
2937 * db2/os/os_abs.c: Likewise.
2938 * db2/os/os_alloc.c: Likewise.
2939 * db2/os/os_config.c: Likewise.
2940 * db2/os/os_dir.c: Likewise.
2941 * db2/os/os_fid.c: Likewise.
2942 * db2/os/os_fsync.c: Likewise.
2943 * db2/os/os_map.c: Likewise.
2944 * db2/os/os_oflags.c: Likewise.
2945 * db2/os/os_open.c: Likewise.
2946 * db2/os/os_rpath.c: Likewise.
2947 * db2/os/os_rw.c: Likewise.
2948 * db2/os/os_seek.c: Likewise.
2949 * db2/os/os_sleep.c: Likewise.
2950 * db2/os/os_spin.c: Likewise.
2951 * db2/os/os_stat.c: Likewise.
2952 * db2/os/os_unlink.c: Likewise.
2953 * db2/progs/db_archive/db_archive.c: Likewise.
92c3af3c
SP
2954 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
2955 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
edf66db1 2956 * db2/progs/db_dump/db_dump.c: Likewise.
92c3af3c
SP
2957 * db2/progs/db_dump185/db_dump185.c: Likewise.
2958 * db2/progs/db_load/db_load.c: Likewise.
edf66db1 2959 * db2/progs/db_printlog/db_printlog.c: Likewise.
92c3af3c 2960 * db2/progs/db_recover/db_recover.c: Likewise.
edf66db1 2961 * db2/progs/db_stat/db_stat.c: Likewise.
92c3af3c 2962 * db2/txn/txn.c: Likewise.
edf66db1 2963 * db2/txn/txn.src: Likewise.
92c3af3c 2964 * db2/txn/txn_auto.c: Likewise.
edf66db1
SP
2965 * db2/txn/txn_rec.c: Likewise.
2966
2967 * elf/rtld.c: Move definition of __libc_stack_end to ...
2968 * sysdeps/generic/dl-sysdep.h: ...here.
2969
2970 * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option.
2971 * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME.
2972 * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME.
2973
2974 * sysdeps/generic/libc-start.c: Always set __libc_stack_end.
2975 * sysdeps/i386/backtrace.c: Test whether frame pointer is legal
2976 before following it.
2977
29781998-06-08 21:44 Ulrich Drepper <drepper@cygnus.com>
2979
2980 * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string
2981 from mntent correctly.
2982
29831998-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2984
2985 * sunrpc/Makefile (generated): Correct typo.
2986
29871998-06-04 Philip Blundell <philb@gnu.org>
2988
2989 * elf/elf.h (EM_ARM, et al.): New definitions.
2990 * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI.
2991
29921998-06-08 21:33 Ulrich Drepper <drepper@cygnus.com>
2993
2994 * localedata/SUPPORTED: Add sk_SK.
2995 * localedata/locales/sk_SK: New file.
2996
29971998-06-08 18:57 Ulrich Drepper <drepper@cygnus.com>
2998
2999 * Makeconfig (subdirs): Add debug.
3000 * configure.in: Use sysdeps/generic/elf subdir if ELF platform.
3001 * libc.map: Add __backtrace, __backtrace_symbols, backtrace and
3002 backtrace_symbols.
3003 * sysdeps/generic/backtrace.c: New file.
3004 * sysdeps/generic/backtracesyms.c: New file.
3005 * sysdeps/generic/elf/backtracesyms.c: New file.
3006 * sysdeps/i386/backtrace.c: New file.
3007 * debug/Makefile: New file.
3008 * debug/backtrace-tst.c: New file.
3009 * debug/execinfo.h: New file.
3010
30111998-06-08 13:34 Ulrich Drepper <drepper@cygnus.com>
3012
3013 * elf/sprof.c: Implement call graph profiling.
3014
3015 * sysdeps/generic/getenv.c: Optimize to use strncmp less often.
3016
30171998-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3018
3019 * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix.
3020 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
3021 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
3022 Noticed by Jake Garver <garver@valkyrie.net>.
3023
30241998-06-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3025
3026 * libio/genops.c (__underflow): Read character from read pointer
3027 as unsigned.
3028 (__uflow): Likewise.
3029
30301998-06-07 13:32 Ulrich Drepper <drepper@cygnus.com>
3031
3032 * libc.map: Add _dl_profile.
3033 * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass
3034 this to ELF_DYNAMIC_RELOCATE.
3035 Always allocate array for relocation result if LD_PROFILE is defined.
3036 * elf/ldsodefs.h: Adjust prototypes.
3037 * elf/dl-open.c (_dl_open): Call relocation function with extra
3038 argument.
3039 * elf/rtld.c: Likewise.
3040 * elf/dl-profile.c (_dl_mcount): Don't mark as internal function.
3041 Correct loop condition.
3042 * elf/dynamic-link.h: Don't examine _dl_profile variable, pass
3043 consider_profile to runtime setup function.
3044 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use
3045 _dl_runtime_profile for all shared objects if LD_PROFILE is defined.
3046
3047 * elf/dl-support.c: Define __libc_stack_end.
3048 * elf/rtld.c: Likewise.
3049 * sysdeps/generic/libc-start.c: Store last stack address in
3050 __libc_stack_end.
3051 * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address.
3052 * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument.
3053
3054 * elf/elf.h: Include <features.h>, not <sys/cdefs.h>.
3055 Include <stdint.h>, not <inttypes.h>.
3056
3057 * elf/sprof.c: Implement flat profiling.
3058
3059 * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call
3060 _IO_funlockfile explicitly.
3061 * libio/fileops.c: Likewise.
3062 * libio/fputc.c: Likewise.
3063 * libio/freopen.c: Likewise.
3064 * libio/freopen64.c: Likewise.
3065 * libio/fseek.c: Likewise.
3066 * libio/fseeko.c: Likewise.
3067 * libio/fseeko64.c: Likewise.
3068 * libio/ftello.c: Likewise.
3069 * libio/ftello64.c: Likewise.
3070 * libio/getc.c: Likewise.
3071 * libio/getchar.c: Likewise.
3072 * libio/iofclose.c: Likewise.
3073 * libio/iofflush.c: Likewise.
3074 * libio/iofgetpos.c: Likewise.
3075 * libio/iofgetpos64.c: Likewise.
3076 * libio/iofgets.c: Likewise.
3077 * libio/iofputs.c: Likewise.
3078 * libio/iofread.c: Likewise.
3079 * libio/iofsetpos.c: Likewise.
3080 * libio/iofsetpos64.c: Likewise.
3081 * libio/ioftell.c: Likewise.
3082 * libio/iofwrite.c: Likewise.
3083 * libio/iogetdelim.c: Likewise.
3084 * libio/iogets.c: Likewise.
3085 * libio/ioputs.c: Likewise.
3086 * libio/ioseekoff.c: Likewise.
3087 * libio/ioseekpos.c: Likewise.
3088 * libio/iosetbuffer.c: Likewise.
3089 * libio/iosetvbuf.c: Likewise.
3090 * libio/ioungetc.c: Likewise.
3091 * libio/iovsprintf.c: Likewise.
3092 * libio/iovsscanf.c: Likewise.
3093 * libio/oldfileops.c: Likewise.
3094 * libio/oldiofclose.c: Likewise.
3095 * libio/peekc.c: Likewise.
3096 * libio/putc.c: Likewise.
3097 * libio/putchar.c: Likewise.
3098 * libio/rewind.c: Likewise.
3099
3100 * malloc/mtrace.c: Pretty print.
3101
3102 * misc/mntent.h (struct mentent): Make string elements const char *.
3103
3104 * nis/nis_printf.c: Optimize I/O a little bit.
3105
3106 * signal/Makefile (distribute): Add sigset-cvt-mask.h.
3107 * sysdeps/generic/sigset-cvt-mask.h: New file.
3108 * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file.
3109 * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file.
3110 * sysdeps/posix/sigvec.c: Rewrite the use definitions from
3111 sigset-cvt-mask.h to do the dirty work.
3112 Patches by Joe Keane.
3113
3114 * sysdeps/posix/mkstemp.c: Save one precious byte of rodata.
3115
3116 * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make
3117 syscall_error label in case of PIC anonymous.
3118 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
3119 * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change.
3120 * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change.
3121 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change.
3122 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change.
3123 * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change.
3124 * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change.
3125
31261998-06-05 Ulrich Drepper <drepper@cygnus.com>
3127
3128 * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since
3129 we cannot declare the struct element as const.
3130 * sunrpc/xdr_mem.c (xdrmem_create): Likewise.
3131 * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise.
3132
31331998-06-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3134
3135 * manual/Makefile: Include ../Makeconfig earlier.
3136 (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not
3137 exist.
3138 (dir-add.texinfo): Remove useless $(SHELL).
3139
31401998-06-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3141
3142 * Makefile (others): Build programs from install-bin.
3143 * configure.in: Modify config.make only if is was just created and
3144 move that command to second argument of AC_OUTPUT. Add command to
3145 set config_vars in config.status.
3146
31471998-06-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3148
3149 * malloc/Makefile (address-width): Fix conditional.
3150
31511998-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3152
3153 * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext,
3154 putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax,
3155 strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with
3156 version GLIBC_2.1.
3157
31581998-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3159
3160 * manual/lang.texi (Range of Type): Change @end table->@end vtable.
3161 (Floating Point Parameters): Likewise.
3162
31631998-06-01 Gordon Matzigkeit <gord@profitpress.com>
3164
3165 * hurd/Makefile (routines): Add cthreads.
3166
31671998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
3168
3169 * login/login.c (login): Let pututline take care of finding the
3170 positin to insert the UTMP entry. This corrects a bug where ssh
3171 was not reusing UTMP entries marked as DEAD_PROCESS.
3172 Reported by Herbert Xu <herbert@gondor.apana.org.au>.
3173
31741998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
3175
3176 * login/Makefile (tests): New variable, add tst-utmp and
3177 tst-utmpx.
3178 * login/tst-utmp.c: New file.
3179 * login/tst-utmpx.c: New file.
3180
31811998-06-01 Gordon Matzigkeit <gord@profitpress.com>
3182
3183 * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak
3184 aliases for _hurd_nerr, for programs that don't use sys_errlist,
3185 but need sys_err.
3186
31871998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
3188
3189 * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx.
3190 * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1.
3191
31921998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
3193
3194 * sysdeps/mach/hurd/read.c: Rename function to __libc_read and
3195 make __read a weak alias. Use ANSI-style function definition.
3196 * sysdeps/mach/hurd/write.c: Likewise.
3197
31981998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
3199
3200 * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of
3201 _sys_errlist.
3202
32031998-05-30 Mark Kettenis <kettenis@phys.uva.nl>
3204
3205 * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os):
3206 Renamed from librtld.so.
3207
32081998-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3209
3210 * libc.map: Remove _IO_getline_info which was erroneously
3211 introduced in section GLIBC_2.0.
3212 Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
3213
32141998-06-01 Gordon Matzigkeit <gord@profitpress.com>
3215
3216 * sysdeps/generic/socket.c (__socket): Renamed from socket, and
3217 created a weak alias.
3218 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3219
32201998-05-31 Gordon Matzigkeit <gord@profitpress.com>
3221
3222 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
3223 ftruncate function, and create a weak alias to ftruncate.
3224
32251998-06-01 Gordon Matzigkeit <gord@profitpress.com>
3226
3227 * grp/fgetgrent_r.c: Use &errno instead of __errno_location ().
3228 * inet/getnetgrent_r.c: Likewise.
3229 * nss/getXXbyYY_r.c: Likewise.
3230 * nss/getXXent_r.c: Likewise.
3231 * pwd/fgetpwent_r.c: Likewise.
3232 * shadow/sgetspent_r.c: Likewise.
3233 * shadow/fgetspent_r.c: Likewise.
3234 * sunrpc/publickey.c: Likewise.
3235
32361998-06-01 Gordon Matzigkeit <gord@profitpress.com>
3237
3238 * hurd/libhurduser.map: New file.
3239 * mach/libmachuser.map: Likewise.
3240
3241 * libc.map: Add Hurd-specific functions to version 2.1.
3242 Add __flshfp and __fillbf.
3243
32441998-05-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3245
3246 * manual/signal.texi (Basic Signal Handling): Fix typo.
3247 * manual/errno.texi (Error Codes): Likewise.
3248
32491998-06-02 Ulrich Drepper <drepper@cygnus.com>
3250
3251 * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h>
3252 instead of <sys/socket.h>.
3253 Patch by NIIBE Yutaka <gniibe@mri.co.jp>
3254
3255 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS):
3256 Finally make it working.
3257 Patch by Mark Hatle <fray@kernel.crashing.org>.
3258
32591998-03-22 Paul Eggert <eggert@twinsun.com>
3260
3261 * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around
3262 a Solaris 2.6 bug.
3263
32641998-05-30 Philip Blundell <Philip.Blundell@pobox.com>
3265
3266 * stdlib/gmp-impl.h: Support strange mixed-endian double format
3267 used by ARM systems.
3268 * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to
3269 FE_EXCEPT_SHIFT.
3270 * sysdeps/arm/bits/fenv.h: Deleted.
3271 * sysdeps/arm/fpu/ieee754.h: New file.
3272 * sysdeps/arm/gmp-mparam.h: New file.
3273 * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM
3274 implementation.
3275
32761998-06-01 Ulrich Drepper <drepper@cygnus.com>
3277
3278 * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
3279
3280 * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
3281 of ((unused)). Reported by Bruno Haible.
3282
32831998-05-31 Philip Blundell <philb@gnu.org>
3284
3285 * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when
3286 referring to errno and _errno.
3287
3288 * sysdeps/arm/fpu/feholdexcpt.c: New file.
3289
3290 * sysdeps/i386/fpu_control.h: Fix typo.
3291
3292 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support.
3293 (_JMPBUF_UNWINDS): Added.
3294 * sysdeps/arm/fpu/bits/setjmp.h: New file.
3295
32961998-05-25 Gordon Matzigkeit <gord@profitpress.com>
3297
3298 * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in
3299 order to build header files, not `generated'.
3300
3301 * Rules (before-compile): New target which depends on all
3302 $(before-compile) files.
3303
33041998-06-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3305
3306 * nis/nis_call.c: Make directory search faster.
3307
3308 * nis/nis_callback.c: Insert public key of user in callback data.
3309
3310 * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
3311
3312 * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
3313
3314 * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
3315
3316 * nis/nis_intern.h: Remove duplicated prototype.
3317
33181998-06-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3319
3320 * sunrpc/auth_des.c: Move prototypes from here ...
3321 * sunrpc/rpc/auth.h: ... to here.
3322
3323 * sunrpc/clnt_tcp.c: Add more control flags.
3324 * sunrpc/clnt_udp.c: Likewise.
3325
3326 * sunrpc/netname.c (host2netname): Remove prefixing dot from
3327 domainname.
3328
3329 * sunrpc/rpc/clnt.h: Document, which control flags are not
3330 implementable.
3331
3332 * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
3333
33341998-05-29 Ulrich Drepper <drepper@cygnus.com>
3335
3336 * locale/loadlocale.c (_nl_load_locale): Don't allow too small
3337 files crash the program.
3338
3339 * io/Makefile: Don't run ftwtest-sh if cross-compiling.
3340 * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
3341 Reported by Deborah Wallach <kerr@pa.dec.com>.
3342
33431998-05-28 00:53 Zack Weinberg <zack@rabi.phys.columbia.edu>
3344
3345 * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
3346 on whether this is a stable release or not (keeps snapshot bug
3347 reports out of the database).
3348
3349 * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
3350 * sysdeps/arm/sysdep.h: Likewise.
3351 * sysdeps/i386/sysdep.h: Likewise.
3352 * sysdeps/m68k/sysdep.h: Likewise.
3353 * sysdeps/mach/mips/sysdep.h: Likewise.
3354 * sysdeps/mach/sys/reboot.h: Likewise.
3355 * sysdeps/mach/sysdep.h: Likewise.
3356 * sysdeps/unix/alpha/sysdep.h: Likewise.
3357 * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
3358 * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
3359 * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
3360 * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
3361 * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
3362 * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
3363 * sysdeps/unix/i386/sysdep.h: Likewise.
3364 * sysdeps/unix/mips/sysdep.h: Likewise.
3365 * sysdeps/unix/sparc/sysdep.h: Likewise.
3366 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
3367 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3368 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3369 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3370 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
3371 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3372 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3373 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
3374
33751998-05-27 Mark Kettenis <kettenis@phys.uva.nl>
3376
3377 * mach/Machrules: Use $(move-if-change).
3378
33791998-05-27 Mark Kettenis <kettenis@phys.uva.nl>
3380
3381 * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
3382 * Makerules (lib%.so): Depend on $(+interp).
3383 (libc.so): Add interp.os to list of dependencies.
3384 (interp-obj): Remove variable.
3385 * mach/Machrules (+interp): Define to empty since libhurduser and
3386 libmachuser don't need to have the interpreter set.
3387
33881998-05-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3389
3390 * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
3391
3392 * resolv/gethnamaddr.c: Likewise.
3393
3394 * resolv/res_comp.c: Likewise.
3395
33961998-05-28 Mark Kettenis <kettenis@phys.uva.nl>
3397
3398 * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
3399 so that transparent union works.
3400
34011998-05-29 08:58 Ulrich Drepper <drepper@cygnus.com>
3402
3403 * manual/texinfo.tex: Update to last available version.
3404
3405 * timezone/africa: Update from tzdata1998e.
3406 * timezone/antarctica: Likewise.
3407 * timezone/asia: Likewise.
3408 * timezone/australasia: Likewise.
3409 * timezone/europe: Likewise.
3410 * timezone/iso3166.tab: Likewise.
3411 * timezone/northamerica: Likewise.
3412 * timezone/tzselect.ksh: Likewise.
3413 * timezone/zone.tab: Likewise.
3414
34151998-05-27 Ulrich Drepper <drepper@cygnus.com>
3416
3417 * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
3418 Reported by Matt McLean <keys@brio.yikes.com>.
3419
34201998-05-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3421
3422 * catgets/Makefile ($(objpfx)de.cat): Renamed from
3423 do-gencat-test. Use automatic variables.
3424 ($(objpfx)de.msg): Fix reference to po file.
3425
34261998-05-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3427
3428 * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
3429 $(move-if-change).
3430
34311998-05-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3432
3433 * intl/dcgettext.c: Fix typo.
3434
34351998-05-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3436
3437 * configure.in: Allow more make versions e.g 3.76.90.
3438
34391998-05-25 Ulrich Drepper <drepper@cygnus.com>
3440
3441 * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
3442
3443 * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
3444 for Hurd. Patch by Mark Kettenis.
3445
34461998-04-18 Gordon Matzigkeit <gord@profitpress.com>
3447
3448 * mach/Machrules (+preinit, +postinit): Define these variables to
3449 empty because libhurduser and libmachuser don't need startup
3450 files.
3451
34521998-04-22 Gordon Matzigkeit <gord@profitpress.com>
3453
3454 * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
3455 instead of a raw bitmask.
3456
34571998-05-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3458
3459 * Makeconfig (rpath-dirs): New variable.
3460 (rpath-link): Use it.
3461 (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
3462 (db-objpfx): Removed.
3463 * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
3464 * md5-crypt/Makefile: Likewise.
3465 * sysdeps/mach/hurd/Makefile: Likewise.
3466
3467 * Makeconfig (move-if-change): New variable.
3468 * iconvdata/Makefile (move-if-change): Removed.
3469 * manual/Makefile (move-if-change): Set only if undefined, use
3470 local script by default.
3471 * sunrpc/Makefile (move-if-change): Removed.
3472 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
3473 $(move-if-change).
3474
3475 * elf/Makefile: Remove all references to obsolete file
3476 $(objpfx)rtldtbl.h.
3477 ($(objpfx)trusted-dirs.h): Use stamp file. Cleanup command.
3478
34791998-05-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3480
3481 * elf/dl-close.c (_dl_close): Add debugging message.
3482
34831998-05-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3484
3485 * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
3486 to get Linux version and not gcc version.
3487 Reported by Alan Curry <pacman@cqc.com>.
3488
34891998-05-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3490
3491 * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
3492 pointers - return unknown error message instead.
3493 Reported by Alan Curry <pacman@cqc.com>.
3494
34951998-05-24 Mark Kettenis <kettenis@phys.uva.nl>
3496
3497 * iconvdata/Makefile (modules, sed-generated-headers,
3498 perl-generated-headers): ibm424.h is perl generated. Make
3499 necessary modifications to compile without perl.
3500
35011998-05-24 Mark Kettenis <kettenis@phys.uva.nl>
3502
3503 * hesiod/hesiod.c (read_config_file): Fix typo.
3504
35051998-05-24 Ulrich Drepper <drepper@cygnus.com>
3506
3507 * version.h: Bump VERSION.
3508
3509 * csu/Makefile (distribute): Add munch-tmpl.c.
3510
35111998-05-23 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3512
3513 * nis/nis_defaults.c: Fix buffer problems and typos.
3514
35151998-05-23 08:42 Ulrich Drepper <drepper@cygnus.com>
3516
3517 * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
3518 Patch by Fred Fish.
3519
35201998-05-22 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 3521
edf66db1
SP
3522 * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
3523 overwriting bugs.
f81d98d6 3524
edf66db1
SP
3525 * libio/strops.c (_IO_str_underflow): Read newly available
3526 character from buffer as unsigned.
f81d98d6 3527
edf66db1 35281998-05-22 10:56 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 3529
edf66db1
SP
3530 * catgets/Makefile (distribute): Add xopen-msg.h.
3531 (generated): Add de.msg and de.cat.
3532 (tests): Add do-gencat-test.
3533 (do-gencat-test): New goal. Run gencat on a generated msg file.
3534 * catgets/xopen-msg.h: New file.
f81d98d6 3535
edf66db1 35361998-05-22 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 3537
edf66db1
SP
3538 * catgets/open_catalog.c (__open_catalog): Use byteswap.h
3539 functions. Optimize filename creation a bit.
f81d98d6 3540
edf66db1 35411998-05-22 09:29 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 3542
edf66db1
SP
3543 * stdlib/random_r.c: Help gcc to optimize the code.
3544 Patch by Joe Keane <jgk@jgk.org>.
f81d98d6 3545
edf66db1 35461998-05-21 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 3547
edf66db1
SP
3548 * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
3549 tsearch calls.
f81d98d6 3550
edf66db1 35511998-05-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 3552
edf66db1
SP
3553 * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
3554 it.
f81d98d6 3555
edf66db1 35561998-05-21 15:27 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 3557
edf66db1
SP
3558 * wcsmbs/wcsnrtombs.c: Correct computation of result.
3559 * wcsmbs/wcsrtombs.c: Likewise.
f81d98d6 3560
edf66db1
SP
3561 * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
3562 * wcsmbs/wcsmbs-tst1.c: New file.
f81d98d6 3563
edf66db1 3564 * iconv/loop.c (COUNT_CONVERTED): Correct computation.
f81d98d6 3565
edf66db1
SP
3566 * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
3567 as 1.
f81d98d6 3568
edf66db1
SP
3569 * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
3570 weak.
f81d98d6 3571
edf66db1 35721998-05-21 Philip Blundell <philb@gnu.org>
f81d98d6 3573
edf66db1
SP
3574 * sysdeps/arm/fpu_control.h: Replace stub file with real
3575 implementation.
3576 * sysdeps/arm/fpu/bits/fenv.h: New file.
3577 * sysdeps/arm/fpu/fesetround.c: Likewise.
3578 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
3579 * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
3580 * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
3581 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
3582 * sysdeps/arm/fpu/fegetenv.c: Likewise.
3583 * sysdeps/arm/fpu/fesetenv.c: Likewise.
f81d98d6 3584
edf66db1 35851998-05-21 16:34 Richard Henderson <rth@cygnus.com>
f81d98d6 3586
edf66db1
SP
3587 * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
3588 read instead of mmap.
f81d98d6 3589
edf66db1 35901998-05-21 8:16 Richard Henderson <rth@cygnus.com>
f81d98d6 3591
edf66db1
SP
3592 * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
3593 directly instead of include_next. Add missing semicolons.
3594 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
3595 Add missing semicolons.
f81d98d6 3596
edf66db1 35971998-05-21 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 3598
edf66db1
SP
3599 * iconvdata/gconv-modules: Add more aliases to please java
3600 environments.
f81d98d6 3601
edf66db1 36021998-05-20 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 3603
edf66db1 3604 * stdio-common/vfprintf.c (process_arg): Fix typo.
f81d98d6 3605
edf66db1 3606 * iconvdata/TESTS: New tests for EUC-KR.
f81d98d6 3607
edf66db1
SP
3608 * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
3609 * iconvdata/testdata/EUC-KR: New file.
f81d98d6 3610
edf66db1 36111998-05-20 07:26 H.J. Lu <hjl@gnu.org>
f81d98d6 3612
edf66db1 3613 * math/libm-test.c (hypot_test): Fix a typo.
f81d98d6 3614
edf66db1 36151998-05-20 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 3616
edf66db1
SP
3617 * stdio-common/vfprintf.c: When precision is specified for %ls or
3618 %S handle it correctly.
f81d98d6 3619
edf66db1 36201998-05-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 3621
edf66db1
SP
3622 * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
3623 the" in one line - fixed it.
3624 * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
3625 * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
3626 * posix/unistd.h: Likewise
f81d98d6 3627
edf66db1 36281998-05-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 3629
edf66db1
SP
3630 * Makeconfig (rpath-link): Add resolvobjdir.
3631 (resolvobjdir): New variable.
3632 Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
f81d98d6 3633
edf66db1 36341998-05-20 09:36 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 3635
edf66db1
SP
3636 * elf/dl-close.c: Call shared object terminators at the right time.
3637 Patch by Philippe Troin <phil@fifi.org>.
f81d98d6 3638
edf66db1 36391998-05-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 3640
edf66db1
SP
3641 * Make-dist (+tsrcs): Also add *.map for every member of
3642 $(extra-libs).
f81d98d6 3643
edf66db1
SP
3644 * Makefile (distribute): Don't distribute scripts/printsources and
3645 scripts/=__ify. Distribute FAQ.in.
3646 (rpm/%): Don't pass subdirs to sub-make.
f81d98d6 3647
edf66db1
SP
3648 * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
3649 instead of $(no_deps).
f81d98d6 3650
edf66db1 36511998-05-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 3652
edf66db1
SP
3653 * sysdeps/generic/setenv.c: Protect against GNU C extension.
3654 (KNOWN_VALUE, STORE_VALUE): Do it right.
3655 (setenv): Remove unused variable.
f81d98d6 3656
edf66db1 36571998-05-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 3658
edf66db1
SP
3659 * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
3660 (CFLAGS-zdump.c): Add $(tz-cflags).
f81d98d6 3661
edf66db1
SP
3662 * timezone/zdump.c (abbr): Use TM_ZONE if defined. Add const to
3663 return type.
f81d98d6 3664
edf66db1 36651998-05-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 3666
edf66db1
SP
3667 * time/tzfile.c (__tzfile_compute): Undo last change. Instead
3668 take struct tm parameter and set tm_isdst, tm_zone and tm_offset
3669 if use_localtime.
3670 * time/tzset.c: Update prototype of __tzfile_compute.
3671 (__tz_convert): Pass tp to __tzfile_compute. Don't set tm_isdst,
3672 tm_zone and tm_offset here if __use_tzfile.
f81d98d6 3673
edf66db1 36741998-05-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 3675
edf66db1 3676 * Makerules: Install libc.a even if there are no object file.
f81d98d6 3677
edf66db1 36781998-05-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 3679
edf66db1
SP
3680 * Makerules (do-makelib): Don't force creating library from
3681 scratch, which is faster and gets correct behaviour if $(subdirs)
3682 is incomplete.
f81d98d6 3683
edf66db1 36841998-05-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 3685
edf66db1
SP
3686 * Makerules (do-stamp): Make it work when building in source
3687 directory.
f81d98d6 3688
edf66db1 36891998-05-20 00:10 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 3690
edf66db1
SP
3691 * elf/dl-load.c: Rename option and variable from ignore-rpath to
3692 inhibit-rpath.
3693 * elf/dl-support.c: Likewise.
3694 * elf/ldsodefs.h: Likewise.
3695 * elf/rtld.c: Likewise.
3696 * iconvdata/run-iconv-test.sh: Likewise.
f81d98d6 3697
edf66db1 36981998-05-19 23:08 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 3699
edf66db1
SP
3700 * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
3701 variable using the value.
3702 * elf/ldsodefs.h: Declare _dl_ignore_path.
3703 * elf/dl-load.c (decompose_rpath): Compare name of handled shared
3704 object against list in _dl_ignore_path and ignore RPATH if on the list.
3705 * elf/dl-support.c: Define _dl_ignore_path for static binaries.
3706 * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
3707 to make sure we get the correct helper libraries loaded.
f81d98d6 3708
edf66db1
SP
3709 * elf/dl-load.c (decompose_rpath): Remove `room' parameter. Use
3710 "RPATH" string in call to fillin_rpath instead.
3711 (_dl_init_paths): Remove this parameter from call to decompose_rpath.
f81d98d6 3712
edf66db1 37131998-05-19 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 3714
edf66db1
SP
3715 * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
3716 correctly. Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
f81d98d6 3717
edf66db1 37181998-05-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 3719
edf66db1 3720 * manual/terminal.texi (I/O Queues): Fix typo.
f81d98d6 3721
edf66db1 3722 * manual/stdio.texi (Closing Streams): Fix grammar.
f81d98d6 3723
edf66db1
SP
3724 * manual/arith.texi (Absolute Value): Correct typo.
3725 Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
f81d98d6 3726
edf66db1 37271998-05-19 15:58 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 3728
edf66db1
SP
3729 * elf/rtld.c (process_envvars): Fix typo. Don't handle
3730 LD_PROFILE_OUTPUT in SUID binaries.
3731 * intl/dcgettext.c: In SUID binaries don't let language part of
3732 locale value contain path elements.
3733 * intl/explodename.h: Define new function _nl_find_language.
3734 * intl/loadinfo.h: Declare _nl_find_language.
3735 * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
3736 language part it drop the value is path element is contained.
f81d98d6 3737
edf66db1 3738 * locale/setlocale.c: Fix typo.
f81d98d6 3739
edf66db1 37401998-05-18 Philip Blundell <Philip.Blundell@pobox.com>
f81d98d6 3741
edf66db1 3742 * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
f81d98d6 3743
edf66db1 3744 * sysdeps/arm/strlen.S: Support both big and little endian processors.
f81d98d6 3745
edf66db1
SP
3746 * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
3747 log, not a byte-count.
f81d98d6 3748
edf66db1
SP
3749 * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
3750 a.out compatibility.
f81d98d6 3751
edf66db1 37521998-05-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 3753
edf66db1
SP
3754 * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
3755 * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
3756 * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
3757 * posix/unistd.h: Likewise.
3758 * math/math.h: Likewise.
3759 * manual/users.texi (Manipulating the Database): Likewise.
3760 * manual/signal.texi (Job Control Signals): Likewise.
3761 * manual/message.texi (The gencat program): Likewise.
3762 * manual/filesys.texi (Hard Links): Likewise.
3763 * manual/math.texi (SVID Random): Likewise.
3764 * manual/llio.texi (Waiting for I/O): Likewise.
3765 * manual/io.texi (File Name Errors): Likewise.
3766 * manual/conf.texi (String Parameters): Likewise.
3767 * manual/arith.texi (Infinity): Likewise.
3768 * malloc/malloc.c: Likewise.
3769 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
3770 * csu/Makefile: Likewise.
f81d98d6 3771
edf66db1 37721998-05-19 12:16 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 3773
edf66db1 3774 * manual/memory.texi: Add back accidently removed line.
f81d98d6 3775
edf66db1 37761998-04-25 Mark Kettenis <kettenis@phys.uva.nl>
f81d98d6 3777
edf66db1
SP
3778 * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
3779 (timeout_handler): New function.
3780 (LOCK_FILE, UNLOCK_FILE): New macros.
3781 Implement file locking with timeout.
3782 (getutent_r_file, internal_getut_r, getutline_r_file,
3783 pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
3784 locking.
f81d98d6 3785
edf66db1 37861998-05-18 11:38 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 3787
edf66db1
SP
3788 * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
3789 directory.
f81d98d6 3790
edf66db1 37911998-05-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 3792
edf66db1 3793 * rpm/Makefile: Delete inclusion of version.mk.
f81d98d6 3794
edf66db1 37951998-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 3796
edf66db1
SP
3797 * libc.map: Add all libio functions needed libstdc++ with version
3798 2.0, sort entries.
f81d98d6 3799
edf66db1 38001998-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 3801
edf66db1 3802 * iconvdata/Makefile (generated): Add *.stmp files.
f81d98d6 3803
edf66db1 38041998-05-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 3805
edf66db1
SP
3806 * timezone/Makefile (testdata, build-testdata): New variables, use
3807 them in rules for test data.
3808 ($(objpfx)tst-timezone.out): Depend on test data.
3809 ($(testdata)/Europe/Berlin, $(testdata)/Universal,
3810 $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
3811 New rules to build test data.
3812 (tst-timezone-ENV): Pass TZDIR to point to test data.
f81d98d6 3813
edf66db1 38141998-05-18 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 3815
edf66db1
SP
3816 * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
3817 (the designation sequence is disturbing).
f81d98d6 3818
edf66db1 38191998-05-17 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
f81d98d6 3820
edf66db1
SP
3821 * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
3822 * sunrpc/xdr_rec.c: Likewise.
f81d98d6 3823
edf66db1 38241998-05-15 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 3825
edf66db1
SP
3826 * posix/Makefile (tests): Add runptests.
3827 (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
3828 (before-compile): Add ptestcases.h.
3829 (ptestscases.h): Add rule to generate from PTESTS.
3830 * posix/runptests.c: New file.
3831 * posix/PTESTS: New file.
3832 * posix/PTESTS2C.sed: New file.
3833
38341998-05-15 Ulrich Drepper <drepper@cygnus.com>
3835
3836 * iconv/loop.c: Let user add code to use and set paramaters.
3837
3838 * iconvdata/iso-2022-kr.c: Correct to-loop.
3839
3840 * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
3841 point to output buffer.
3842
3843 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
3844 hanja.
3845
3846 * iconvdata/TESTS: Add ISO-2022-KR test.
3847 * iconvdata/testdata/ISO-2022-KR: New file.
3848
38491998-05-15 21:07 Ulrich Drepper <drepper@cygnus.com>
3850
3851 * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
3852 and internal_use.
3853 * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
3854 and internal_use.
3855 * wcsmbs/btowc.c: Likewise.
3856 * wcsmbs/mbrtowcs.c: Likewise.
3857 * wcsmbs/mbsnrtowcs.c: Likewise.
3858 * wcsmbs/mbsrtowcs.c: Likewise.
3859 * wcsmbs/wcrtomb.c: Likewise.
3860 * wcsmbs/wcsnrtombs.c: Likewise.
3861 * wcsmbs/wcsrtombs.c: Likewise.
3862 * wcsmbs/wctob.c: Likewise.
3863 * iconv/skeleton.c: Increment invocation_counter.
3864 * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
3865 sequence first.
f81d98d6 3866
edf66db1
SP
3867 * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
3868 * iconvdata/iso-2022-jp.c: Likewise.
3869 * iconvdata/iso646.c: Likewise.
f81d98d6 3870
edf66db1 3871 * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
f81d98d6 3872
edf66db1 38731998-05-15 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 3874
edf66db1 3875 * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
f81d98d6 3876
edf66db1
SP
3877 * sysdeps/generic/setenv.c (setenv): Remove optimization for
3878 overwriting existing values if it fits.
f81d98d6 3879
edf66db1 38801998-05-15 14:36 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 3881
edf66db1 3882 * posix/wordexp-test.c: Avoid duplicate messages.
f81d98d6 3883
edf66db1
SP
3884 * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
3885 tsearch. Correctly interpret values returned by those functions.
3886 (unsetenv): Store pointer to string, not pointer to string pointer.
f81d98d6 3887
edf66db1
SP
3888 * time/tzfile.c (__tzfile_compute): Take new arguments. Store
3889 DST information and offset in them.
3890 * time/tzset.c (__tz_convert): Pass extra parameters to
3891 __tzfile_compute. Compute equivalent values for use of tz_rules.
f81d98d6 3892
edf66db1 38931998-05-15 00:49:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81d98d6 3894
edf66db1
SP
3895 * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
3896 stamp files to avoid unnecessary recompilation.
3897 (gen-8bit-gap-table): Likewise.
3898 (move-if-change): New variable.
3899 (all generated .h rules): Change to be .stmp rules.
3900 (%.h): New rule; depend on %.stmp; no commands.
3901 (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
3902 gen-8bit-gap-1.sh.
f81d98d6 3903
edf66db1 39041998-05-15 01:09 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81d98d6 3905
edf66db1
SP
3906 * Makerules (libc-map): Deleted.
3907 (load-map-file): Set to the appropriate compiler switch, not
3908 just the file name. If libfoo-map is not set, look for a
3909 libfoo.map in the current directory and $(..).
3910 (map-file): New variable, contains just the mapfile name.
3911 (build-shlib): Adjust for new value of load-map-file.
3912 (libc.so): Correct dependencies.
f81d98d6 3913
edf66db1
SP
3914 * extra-lib.mk: Correct shlib dependencies since libfoo-map
3915 may not be set anymore.
f81d98d6 3916
edf66db1
SP
3917 * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
3918 Delete libdl-map. Tweak ld.so link rule to work with changed
3919 variable settings in Makerules.
3920 * iconvdata/Makefile: Tweak build-module to work with changed
3921 variable settings in Makerules.
f81d98d6 3922
edf66db1
SP
3923 * db/Makefile: Delete libdb-map.
3924 * hesiod/Makefile: Delete libnss_hesiod-map.
3925 * linuxthreads/Makefile: Delete libpthread-map.
3926 * locale/Makefile: Delete libBrokenLocale-map.
3927 * login/Makefile: Delete libutil-map.
3928 * math/Makefile: Delete libm-map.
3929 * md5-crypt/Makefile: Delete libcrypt-map.
3930 * nis/Makefile: Delete libnsl-map, libnss_nis-map,
3931 libnss_nisplus-map, and libnss_compat-map.
3932 * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
3933 libnss_ldap-map.
3934 * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
3935 * rt/Makefile: Delete librt-map.
f81d98d6 3936
edf66db1 39371998-05-15 01:06 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81d98d6 3938
edf66db1
SP
3939 * configure.in: Instead of substituting `yes' or `no' for whether
3940 --no-whole-archive is available, set @no_whole_archive@ to the
3941 appropriate gcc switch or the empty string. Likewise for
3942 -fno-exceptions.
3943 * config.make.in: Replace have-no-whole-archive with
3944 no-whole-archive and have-no-exceptions with no-exceptions.
3945 * Makerules: Delete stanzas setting no-whole-archive and
3946 no-exceptions.
3947
3948 * sunrpc/Makefile: Use move-if-change to update generated .h
3949 and .c files.
3950
39511998-05-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3952
3953 * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
3954 of strchr loop.
3955
39561998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 3957
edf66db1
SP
3958 * time/tzfile.c (__tzfile_read): Remove unused variable info.
3959 (__tzfile_compute): Likewise.
f81d98d6 3960
edf66db1 39611998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 3962
edf66db1
SP
3963 * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
3964 defines from Linux 2.1.102.
f81d98d6 3965
edf66db1 39661998-05-14 23:14 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 3967
edf66db1 3968 * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
f81d98d6 3969
edf66db1 39701998-05-14 13:25 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 3971
edf66db1
SP
3972 * inet/netinet/in.h: Add defines for multicast.
3973 Reported by Jeremy Hall <jhall@UU.NET>.
f81d98d6 3974
edf66db1
SP
3975 * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
3976 * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
3977 and unsetenv. Optimize _LIBC case.
3978 * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
3979 Define functions with leading __.
f81d98d6 3980
edf66db1
SP
3981 * time/tzfile.c: Correct handling of global variables daylight,
3982 timezone, and tzname.
3983 * time/tzset.c: Likewise.
3984 * timezone/Makefile (tests): Add tst-timezone.
3985 * timezone/tst-timezone.c: New file.
f81d98d6 3986
edf66db1 39871998-05-14 10:35 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 3988
edf66db1
SP
3989 * timezone/asia: Update from tzdata1998d.
3990 * timezone/australasia: Likewise.
3991 * timezone/europe: Likewise.
f81d98d6 3992
edf66db1 39931998-05-13 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 3994
edf66db1
SP
3995 * string/string.h: Don't use the optimized versions for the string
3996 functions if optimizing for space.
f81d98d6 3997
edf66db1 3998 * stdlib/tst-strtod.c: Add test for -0.0.
f81d98d6 3999
edf66db1 4000 * io/ftwtest-sh: Prevent tests from being run by root.
f81d98d6 4001
edf66db1
SP
4002 * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
4003 last addition. Patch by wkpark@chem.skku.ac.kr.
f81d98d6 4004
edf66db1 40051998-05-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 4006
edf66db1
SP
4007 * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
4008 table.
f81d98d6 4009
edf66db1 40101998-05-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 4011
edf66db1
SP
4012 * iconvdata/gen-8bit.sh: New file.
4013 * iconvdata/gen-8bit-gap.sh: New file.
4014 * iconvdata/gen-8bit-gap-1.sh: New file.
4015 * iconvdata/Makefile (generate-8bit-table): Use shell script
4016 instead of writing the commands directly.
4017 (generate-8bit-gap-table): Likewise.
4018 ($(objpfx)iso8859-7jp.h): Likewise.
4019 (generated headers): Depend on shell script instead of Makefile.
4020 (before-compile): Add $(perl-generated-headers) only if perl is
4021 available.
4022 (headers): Depend on $(perl-generated-headers) only if perl is
4023 available.
4024 (sed-generated-headers): Remove iso8859-7jp.h.
f81d98d6 4025
edf66db1 40261998-05-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 4027
edf66db1
SP
4028 * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command. Clean up.
4029 (/): Removed.
f81d98d6 4030
edf66db1 40311998-05-12 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4032
edf66db1
SP
4033 * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
4034 formed charset names to getfct. Let user override charset
4035 selection by mention charset in locale name.
f81d98d6 4036
edf66db1 40371998-05-12 12:15 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4038
edf66db1
SP
4039 * posix/glob.c: Move to ...
4040 * sysdeps/generic/glob.c: ...here.
4041 * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
4042 elements.
4043 * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
4044 * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
4045 * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
4046 * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
4047 subdir.
4048 * libc.map [GLIBC_2.1]: Add glob and globfree.
f81d98d6 4049
edf66db1 40501998-05-12 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4051
edf66db1 4052 * sunrpc/Makefile (generated): Restore old list.
f81d98d6 4053
edf66db1 40541998-05-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 4055
edf66db1 4056 * rt/Makefile (tests): Define only if we have a thread library.
f81d98d6 4057
edf66db1 4058 * nis/ypclnt.c: Add: #include <errno.h>.
f81d98d6 4059
edf66db1 40601998-05-10 15:39 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81d98d6 4061
edf66db1
SP
4062 * configure.in: Define and substitute RELEASE as well as
4063 VERSION.
4064 * config.make.in: Add RELEASE and VERSION to be substituted.
4065 * Makeconfig: Delete all references to version.mk.
4066 * Make-dist: Likewise.
4067 * MakeTAGS: Likewise.
4068 * elf/Makefile: Likewise.
f81d98d6 4069
edf66db1 40701998-05-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
f81d98d6 4071
edf66db1
SP
4072 * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
4073 yp_get_default_domain.
f81d98d6 4074
edf66db1 40751998-05-12 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4076
edf66db1
SP
4077 * sysdeps/posix/profil.c (__profil): Don't define act and timer
4078 variables as static. Patch by Joe Keane <jgk@jgk.org>.
f81d98d6 4079
edf66db1 40801998-05-12 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
f81d98d6 4081
edf66db1 4082 * malloc/malloc.c: Fix for NO_THREADS case.
f81d98d6 4083
edf66db1 40841998-05-11 18:02 Richard Henderson <rth@cygnus.com>
f81d98d6 4085
edf66db1
SP
4086 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
4087 Remove statfs and fstatfs.
4088 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
4089 and pwrite as EXTRA.
4090 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
f81d98d6 4091
edf66db1 40921998-05-09 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4093
edf66db1 4094 * libc.map: Add capget and capset.
f81d98d6 4095
edf66db1 40961998-05-08 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4097
edf66db1
SP
4098 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4099 (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
4100 vector. Patch by Mark Hatle <fray@kernel.crashing.org>
4101 and Matt McLean <keys@brio.yikes.com>.
4102
41031998-05-08 23:49 Ulrich Drepper <drepper@cygnus.com>
4104
4105 * misc/Makefile (tests): Add tst-mntent.
4106 * misc/tst-mntent.c: New file.
4107
41081998-05-08 21:56 Zack Weinberg <zack@rabi.phys.columbia.edu>
4109
4110 * autolock.sh: Removed.
4111 * manual/move-if-change: Removed.
4112
4113 * scripts: New directory.
4114 * =__ify: Moved to scripts.
4115 * config.guess: Likewise.
4116 * config.sub: Likewise.
4117 * gen-FAQ.pl: Likewise.
4118 * install-sh: Likewise.
4119 * mkinstalldirs: Likewise.
4120 * move-if-change: Likewise.
4121 * printsources: Likewise.
4122 * rellns.sh: Likewise.
4123 * test-installation.pl: Likewise.
4124
4125 * configure.in: Look in scripts for config.guess, config.sub,
4126 install-sh.
4127 * Makefile: Distribute all above files in their
4128 new home. Find gen-FAQ.pl and test-installation.pl in scripts.
4129 * manual/Makefile: Find mkinstalldirs and move-if-change in
4130 $(..)scripts. Drop them from distribute. Minor cleanups.
4131 * Makerules: Find mkinstalldirs and rellns-sh in scripts.
4132 * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
4133 * timezone/Makefile: Find rellns-sh in scripts.
4134
41351998-05-08 Ulrich Drepper <drepper@cygnus.com>
4136
4137 * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
4138 Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
4139
41401998-05-08 19:24 Zack Weinberg <zack@rabi.phys.columbia.edu>
4141
4142 * Makefile (+subdir-inits): Delete variable.
4143 (+init_subdirs): Likewise.
4144 (aux): Likewise.
4145 (before-compile): Likewise.
4146 (libc-init): Delete stanza.
4147 (version-info.h): Delete rule and associated variable.
4148 (distribute): Don't distribute moved files.
4149 * Makerules (interp-obj): It lives in elf now. Only use it
4150 if $(elf) is set. Delete rule to build it.
4151 * csu/Makefile: Build set-init.o and/or munch-init.o. Build
4152 version.o and version-info.h. Minor cleanups.
4153 (routines): Add libc-init, sysdep, version.
4154 (generated): Add version-info.h.
4155 * elf/Makefile: Build interp.os.
4156
4157 * interp.c: Moved to elf.
4158 * set-init.c: Moved to csu.
4159 * munch-init.c: Likewise.
4160 * munch.awk: Likewise.
4161 * version.c: Likewise.
f81d98d6 4162
edf66db1 4163 * Rules: Unconfuse syntax highlighting with a fake comment.
f81d98d6 4164
edf66db1 41651998-05-08 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4166
edf66db1
SP
4167 * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
4168 syscalls.
f81d98d6 4169
edf66db1 41701998-05-08 16:36 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81d98d6 4171
edf66db1
SP
4172 * iconvdata/Makefile (generated): Set to *-generated-headers
4173 plus gconv-modules.
4174 (tests): Set to iconv-test.
4175 * localedata/Makefile (generated-dirs): Add ld-test-names to list.
4176 * posix/Makefile (generated): Set to wordexp-test-result*.
4177 * sunrpc/Makefile (generated): Remove rpcsvc/*.
4178 (generated-dirs): Add rpcsvc.
4179 * libio/Makefile: Clean up.
f81d98d6 4180
edf66db1 41811998-05-08 14:55 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4182
edf66db1
SP
4183 * Make-dist (+tsrcs): Also use tests-statc where tests is used.
4184 * Makerules: Likewise.
4185 (+depfiles): Also add sysdep-others.
4186 * Rules: Likewise.
4187 * iconv/Makefile (distribute): Add loop.s and skeleton.c.
4188 * iconvdata/Makefile (distribute): Add TESTS.
4189 * localedata/Makefile (repertoires): Rename to repertoiremaps.
4190 * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
4191 * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
4192 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
4193 sysdep-others, not others.
4194 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
4195 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
4196
41971998-05-08 12:26 Ulrich Drepper <drepper@cygnus.com>
4198
4199 * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
4200 cost_hi and cost_lo.
4201 * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
4202 Cost parameter and set cost_lo to INT_MAX.
4203 (add_module): Take new parameter and use it to initialize cost_lo.
4204 (read_conf_file): Count modules being loaded and use counter for
4205 new parameter to add_module.
4206 * iconv/gconv_db.c (find_derivation): When look for cost examine
4207 cost_hi and cost_lo.
4208
42091998-05-08 10:52 Ulrich Drepper <drepper@cygnus.com>
4210
4211 * string/bits/string2.h: Don't use unsigned char * unless really
4212 necessary since this disturbs C++.
4213 * sysdeps/i386/i486/bits/string.h: Likewise.
4214 Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
f81d98d6 4215
edf66db1 42161998-05-08 13:53 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 4217
edf66db1 4218 * malloc/malloc.c (top_check): Fix last change.
f81d98d6 4219
edf66db1 42201998-05-07 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4221
edf66db1
SP
4222 * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
4223 Patch by Matt McLean <keys@brio.yikes.com>.
f81d98d6 4224
edf66db1 42251997-05-07 13:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 4226
edf66db1
SP
4227 * Makerules (lib): Put back dependency on lib-noranlib.
4228 ($(subdirs-stamps)): Remove dependency on stamp.* again.
f81d98d6 4229
edf66db1 42301998-05-07 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4231
edf66db1
SP
4232 * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
4233 test in __pow2 implementation.
f81d98d6 4234
edf66db1 42351998-04-16 07:42 Geoff Keating <geoffk@ozemail.com.au>
f81d98d6 4236
edf66db1
SP
4237 * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
4238 Still need *FLAGS-.o because we still sometimes build .o files.
4239 * db2/Makefile: Don't build libndbm.a if !build-static.
92c3af3c 4240
edf66db1 42411998-05-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
92c3af3c 4242
edf66db1 4243 * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
92c3af3c 4244
edf66db1 42451998-04-16 07:42 Geoff Keating <geoffk@ozemail.com.au>
f81d98d6 4246
edf66db1
SP
4247 * configure.in: New test for broken gcc on PowerPC.
4248 * sysdeps/powerpc/atomicity.h: Use result of test.
4249 * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
f81d98d6 4250
edf66db1
SP
4251 * math/libm-test.c: Update many of the epsilon to match actual
4252 performance.
f81d98d6 4253
edf66db1
SP
4254 * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
4255 * sysdeps/libm-ieee754/e_expf.c: Likewise.
4256 * sysdeps/libm-ieee754/s_exp2.c: Likewise.
4257 * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
f81d98d6 4258
edf66db1 4259 * sysdeps/libm-ieee754/e_pow.c: Correct typo.
f81d98d6 4260
edf66db1
SP
4261 * sysdeps/powerpc/elf/libc-start.c: New file.
4262 * sysdeps/powerpc/elf/start.S: New file, use libc-start.
4263 * sysdeps/powerpc/elf/start.c: Delete.
f81d98d6 4264
edf66db1
SP
4265 * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
4266 * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete. It was unused.
f81d98d6 4267
edf66db1
SP
4268 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
4269 few patches.
f81d98d6 4270
edf66db1 42711998-05-06 12:51 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4272
edf66db1
SP
4273 * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
4274 test for integer.
f81d98d6 4275
edf66db1
SP
4276 * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
4277 * sysdeps/libm-i387/e_powl.S: Likewise.
f81d98d6 4278
edf66db1 42791998-03-31 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
f81d98d6 4280
edf66db1
SP
4281 * malloc/malloc.c (chunk2mem_check, top_check): New functions.
4282 (malloc_check, free_check, realloc_check, memalign_check): Use
4283 them to improve overrun checking. Overruns of a single byte and
4284 corruption of the top chunk are now detected much more reliably.
f81d98d6 4285
edf66db1 42861998-05-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 4287
edf66db1
SP
4288 * math/libm-test.c (pow_test): Add test for special value from PR
4289 libc/590.
f81d98d6 4290
edf66db1 42911998-05-06 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4292
edf66db1
SP
4293 * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
4294 including linux/errno.h.
f81d98d6 4295
edf66db1 42961998-05-06 09:49 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4297
edf66db1
SP
4298 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
4299 Use correct types.
4300 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
4301 * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
f81d98d6 4302
edf66db1 43031998-05-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 4304
edf66db1
SP
4305 * Makerules (elide-routines.*): Fix assignments.
4306 (do-makelib): Fix typo.
4307 ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
4308 makefile.
f81d98d6 4309
edf66db1 43101998-05-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 4311
edf66db1
SP
4312 * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
4313 $(objpfx)sysd-dirs): Move them...
4314 * Makeconfig: ... here.
4315 * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
4316 (stubs): Fix circular depedency.
4317 (do-makelib): Clean up.
4318 (lib): Don't depend on lib-noranlib.
4319 ($(objpfx)stamp.oS): Remove special case for empty
4320 static-only-routines.
4321 (elide-routines.o): Add $(static-only-routines).
4322 (elide-routines$o): Define this instead of elide-routines.$o.
4323 * manual/Makefile (stubs): Fix circular dependency.
f81d98d6 4324
edf66db1 43251998-05-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 4326
edf66db1 4327 * libio/Makefile (routines): Remove duplicate oldiofclose.
f81d98d6 4328
edf66db1 43291998-05-05 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4330
edf66db1 4331 * string/strcoll.c: Use uint32_t instead of u_int32_t.
f81d98d6 4332
edf66db1 43331998-05-05 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4334
edf66db1
SP
4335 * libio/stdio.h: Fix typo in __REDIRECT.
4336 * io/sys/stat.h: Likewise.
4337 Reported by Myles Uyema <myles@uyema.nws.net>.
f81d98d6 4338
edf66db1 43391998-05-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 4340
edf66db1 4341 * locale/programs/localedef.c (options): Fix help message.
f81d98d6 4342
edf66db1 43431998-05-04 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4344
edf66db1
SP
4345 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
4346 relocations. Patch by Joe Keane <jgk@jgk.org>.
f81d98d6 4347
edf66db1 43481998-05-04 12:40 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4349
edf66db1
SP
4350 * malloc/malloc.c (ptmalloc_init_all): New function. Similar to
4351 ptmalloc_unlock_all, but re-initializes the mutexes instead.
4352 (ptmalloc_init): Use new function in thread_at_fork call.
4353 (thread_atfork_static): Likewise.
4354 Suggested by Wolfram Gloger and Xavier Leroy.
f81d98d6 4355
edf66db1 43561998-05-04 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4357
edf66db1
SP
4358 * signal/signal.h: Move definitions of struct sigstack and
4359 struct sigaltstack into separate file and include it.
4360 * sysdeps/generic/bits/sigstack.h: New file.
4361 * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
4362 * signal/Makefile (headers): Add bits/sigstack.h.
f81d98d6 4363
edf66db1 43641998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 4365
edf66db1
SP
4366 * elf/rtld.c (dl_main): Fix check for number of references to
4367 interpreter object.
f81d98d6 4368
edf66db1 43691998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 4370
edf66db1
SP
4371 * elf/rtld.c (dl_main): Check has_interp after executing platform
4372 specific code.
f81d98d6 4373
edf66db1 43741998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 4375
edf66db1 4376 * iconvdata/run-iconv-test.sh: Fix typo.
f81d98d6 4377
edf66db1 43781998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 4379
edf66db1
SP
4380 * Makerules (+depfiles): Add depfiles for $(tests-static).
4381 Simplified.
f81d98d6 4382
edf66db1 43831998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 4384
edf66db1
SP
4385 * manual/terminal.texi (Special Characters): Fix description of
4386 c_cc indexes.
f81d98d6 4387
edf66db1 43881998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 4389
edf66db1
SP
4390 * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
4391 array.
4392 * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise. Initialize rest
4393 of c_cc array.
f81d98d6 4394
edf66db1 43951998-04-30 14:15 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81d98d6 4396
edf66db1 4397 * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
f81d98d6 4398
edf66db1 43991998-05-01 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4400
edf66db1 4401 * intl/locale.alias: Update russian entry.
f81d98d6 4402
edf66db1 44031998-05-01 21:54 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81d98d6 4404
edf66db1
SP
4405 * Makerules (static-only-routines): Reimplement in terms of
4406 elide-routines.os.
4407 (shared-only-routines): Reimplement in terms of
4408 elide-routines.X [where X is all object-suffixes except .os].
f81d98d6 4409
edf66db1
SP
4410 (stubs): Create stubs file inside the subdir.
4411 (common-mostlyclean): Remove stubs file from inside the subdir.
4412 * Makefile (subdir-stubs): Look for stubs files inside the
4413 subdirs.
4414 * manual/Makefile (stubs): Create dummy stubs file inside the
4415 subdir.
f81d98d6 4416
edf66db1 44171998-05-01 21:01 Zack Weinberg <zack@rabi.phys.columbia.edu>
92c3af3c 4418
edf66db1 4419 Build speed improvement: make ar less of a bottleneck.
f81d98d6 4420
edf66db1
SP
4421 * Makerules (stamp$o): Just record the object list for later
4422 use.
4423 (libc_foo.a): New rule, depends on subdir stamp files; builds
4424 and ranlibs the library from the lists saved in those files.
f81d98d6 4425
edf66db1
SP
4426 (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
4427 (subdirs-stamp-o): Likewise.
f81d98d6 4428
edf66db1
SP
4429 (ar-symtab-name): Delete variable.
4430 (lib%.a): Delete target.
4431 (libc_foo.a(bar.%)): Delete target.
4432 (libc_foo.a($(ar-symtab-name))): Delete target.
f81d98d6 4433
edf66db1
SP
4434 (objects objs): Just depend on libobjs and extra-objs.
4435 (libobjs): Depend on the stamp files, not the objects.
4436 (extra-objs): New target, just depends on the extra-objs list.
f81d98d6 4437
edf66db1 4438 (CREATE_ARFLAGS): Kill the `ar S' hack.
f81d98d6 4439
edf66db1
SP
4440 * config.make.in (have-ar-S): Deleted.
4441 * configure.in: Delete test for `ar S'. Add test to determine
4442 whether ranlib does anything useful.
f81d98d6 4443
edf66db1 44441998-05-01 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4445
edf66db1 4446 * inet/tst-ether_aton.c: Include <stdio.h>.
f81d98d6 4447
edf66db1 44481998-04-30 16:45 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4449
edf66db1 4450 * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
f81d98d6 4451
edf66db1
SP
4452 * locale/Makefile (distribute): Add programs/repertoire.h.
4453 (localedef-modules): Add repertoire.
4454 (CPPFLAGS): Define REPERTOIREMAP_PATH.
4455 * locale/programs/repertoire.c: New file.
4456 * locale/programs/repertoire.h: New file.
4457 * locale/programs/charmap.c: Starting fixing character set handling
4458 to handle multi-byte encodings.
4459 * locale/programs/charset.c: Likewise.
4460 * locale/programs/charset.h: Likewise.
4461 * locale/programs/ld-collate.c: Likewise.
4462 * locale/programs/ld-ctype.c: Likewise.
4463 * locale/programs/linereader.c: Likewise.
4464 * locale/programs/localedef.c: Likewise.
4465 * locale/programs/locfile-kw.gperf: Likewise.
4466 * locale/programs/locfile-kw.h: Likewise.
4467 * locale/programs/locfile-token.h: Likewise.
4468 * locale/programs/locfile.h: Likewise.
4469 * locale/programs/stringtrans.c: Likewise.
f81d98d6 4470
edf66db1
SP
4471 * locale/programs/locfile.c: Interpret I18NPATH value as base of
4472 path, extended with "/locales/".
f81d98d6 4473
edf66db1 44741998-04-18 Philip Blundell <Philip.Blundell@pobox.com>
92c3af3c 4475
edf66db1 4476 * sysdeps/arm/memset.S: Fix off by one error.
92c3af3c 4477
edf66db1
SP
4478 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
4479 __syscall_error rather than syscall_error directly.
92c3af3c 4480
edf66db1 44811998-04-17 Philip Blundell <Philip.Blundell@pobox.com>
92c3af3c 4482
edf66db1
SP
4483 * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
4484 mmap() syscall for ARM.
92c3af3c 4485
edf66db1
SP
4486 * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
4487 binaries.
92c3af3c 4488
edf66db1 44891998-04-30 Ulrich Drepper <drepper@cygnus.com>
92c3af3c 4490
edf66db1 4491 * locale/programs/localedef.c: Recognize repertoire-map option.
92c3af3c 4492
edf66db1 44931998-04-29 Ulrich Drepper <drepper@cygnus.com>
92c3af3c 4494
edf66db1
SP
4495 * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
4496 converting non-hex numbers.
4497 Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
92c3af3c 4498
edf66db1 44991998-04-23 07:31 H.J. Lu <hjl@gnu.org>
92c3af3c 4500
edf66db1
SP
4501 * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
4502 check overflow.
4503 * resolv/Makefile (tests): New, add tst-aton.
4504 * resolv/tst-aton.c: New file.
92c3af3c 4505
edf66db1 45061998-04-29 Ulrich Drepper <drepper@cygnus.com>
92c3af3c 4507
edf66db1
SP
4508 * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
4509 semicolon.
92c3af3c 4510
edf66db1 45111998-04-29 12:11 Ulrich Drepper <drepper@cygnus.com>
92c3af3c 4512
edf66db1
SP
4513 * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
4514 by letting the later modify the variable computing the total directly.
4515 * wcsmbs/mbsrtowcs.c: Likewise.
4516 * wcsmbs/wcsnrtombs.c: Likewise.
4517 * wcsmbs/wcsrtombs.c: Likewise.
92c3af3c 4518
edf66db1
SP
4519 * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
4520 it is not used.
4521 * wcsmbs/wctoc.c: Likewise.
92c3af3c 4522
edf66db1
SP
4523 * wcsmbs/mbsrtowcs.c: Optimize a bit more.
4524 * wcsmbs/wcsrtombs.c: Likewise.
92c3af3c 4525
edf66db1 4526 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
92c3af3c 4527
edf66db1 45281998-04-29 Ulrich Drepper <drepper@cygnus.com>
92c3af3c 4529
edf66db1
SP
4530 * iconv/skeleton.c: Correct counting of actually converted
4531 characters.
92c3af3c 4532
edf66db1
SP
4533 * intl/localealias.c (read_alias_file): Use unsigned char for
4534 local variables. Remove unused variable tp.
4535 * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
4536 for type of codeset. For loosing Solaris systems.
4537 * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
4538 * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
4539 len if not needed.
4540 Patches by Jim Meyering.
92c3af3c 4541
edf66db1
SP
4542 * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
4543 wcsrtombs must put it into initial state.
92c3af3c 4544
edf66db1 45451998-04-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
92c3af3c 4546
edf66db1
SP
4547 * iconv/gconv_simple.c: Fix endian bug. Don't put side effects in
4548 argument of bswap_XX macro.
92c3af3c 4549
edf66db1
SP
45501998-04-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4551
4552 * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
4553 variable name.
4554
45551998-04-28 Ulrich Drepper <drepper@cygnus.com>
4556
4557 * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
4558 semun and use stdarg macros to get the value.
4559 * sysdeps/generic/semctl.c: Don't use union semun.
4560
4561 * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
4562
4563 * string/basename.c [!_LIBC]: Define function as gnu_basename.
4564
4565 * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
4566 strings.h.
4567
4568 * stdlib/grouping.h: Accept ungrouped numbers even if locale
4569 defines grouping.
4570
4571 * intl/hash-string.h: Don't include values.h.
4572
4573 * inet/Makefile (tests): Add tst-ether_aton.
4574 * inet/tst-ether_aton.c: New file.
4575
4576 * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
4577 in hex conversion.
4578 * inet/ether_aton.c (ether_aton): Declare result variable static.
4579 Reported by ahyung@unixg.ubc.ca.
4580
4581 * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
4582 Define macro _SEM_SEMUN_UNDEFINED instead.
4583 Reported by Dirk Laessig <d.laessig@tu-bs.de>.
4584
4585 * stdio-common/tst-wc-printf.c: New file. Test for %S and %C format.
4586 * stdio-common/Makefile (tests): Add tst-wc-printf.
4587
45881998-04-28 16:32 Philip Blundell <philb@gnu.org>
4589
4590 * manual/stdio.texi (Variable Arguments Output): Correct variable
4591 name. Patch from Ewan Mellor <em@nexus.co.uk>
4592
45931998-04-27 Ulrich Drepper <drepper@cygnus.com>
4594
4595 * intl/dcgettext.c: Remove unneeded definition of
4596 internal_function.
4597
45981998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4599
4600 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
4601 instead of do-iconv-test.
4602 ($(objpfx)gconv-modules): Define rule only if objpfx is not
4603 empty.
4604
46051998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4606
4607 * string/string.h: Fix feature test.
4608
46091998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4610
4611 * iconvdata/iso646.c (BODY): Don't use character constants that
4612 depend on signedness of char.
4613
46141998-04-27 Ulrich Drepper <drepper@cygnus.com>
4615
4616 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
4617 (sysdep_routines): Add s_pread64 and s_pwrite64.
4618
46191998-04-27 09:54 Ulrich Drepper <drepper@cygnus.com>
4620
4621 * iconvdata/Makefile (distribute): Remove generated .h files.
4622 * iconvdata/koi8-r.h: Removed.
4623 * iconvdata/latin-greek-1.h: Removed.
4624 * iconvdata/latin-greek.h: Removed.
4625
4626 * iconvdata/testdata/CP1258..UTF8: New iconv test source.
4627 * iconvdata/KOI-8: Likewise.
4628 * iconvdata/KOI-8..UTF8: Likewise.
4629 * iconvdata/KOI8-R: Likewise.
4630 * iconvdata/KOI8-R..UTF8: Likewise.
4631
46321998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 4633
edf66db1
SP
4634 * streams/Makefile (headers): Add sys/stropts.h.
4635 * streams/sys/stropts.h: New file.
f81d98d6 4636
edf66db1 46371998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 4638
edf66db1
SP
4639 * sysdeps/unix/sysv/linux/ttyname.c,
4640 sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
4641 sysdeps/posix/ttyname*.c, but look in /dev/pts first.
f81d98d6 4642
edf66db1 46431998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 4644
edf66db1
SP
4645 * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
4646 argument of _itoa_word.
f81d98d6 4647
edf66db1 46481998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 4649
edf66db1
SP
4650 * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
4651 s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
4652 caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
4653 sigprocmask, resp., instead of EXTRA.
f81d98d6 4654
edf66db1
SP
4655 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4656 s_pread64 and s_pwrite64.
f81d98d6 4657
edf66db1 46581998-04-26 18:44 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4659
edf66db1
SP
4660 * iconvdata/Makefile: Correct rules to generate gap table.
4661 * iconvdata/gap.pl: Simplify.
f81d98d6 4662
edf66db1
SP
4663 * iconvdata/TESTS: Name new tests.
4664 * iconvdata/testdata/CP1250: New file.
4665 * iconvdata/testdata/CP1250..UTF8: New file.
4666 * iconvdata/testdata/CP1251: New file.
4667 * iconvdata/testdata/CP1251..UTF8: New file.
4668 * iconvdata/testdata/CP1252: New file.
4669 * iconvdata/testdata/CP1252..UTF8: New file.
4670 * iconvdata/testdata/CP1253: New file.
4671 * iconvdata/testdata/CP1253..UTF8: New file.
4672 * iconvdata/testdata/CP1254: New file.
4673 * iconvdata/testdata/CP1254..UTF8: New file.
4674 * iconvdata/testdata/CP1255: New file.
4675 * iconvdata/testdata/CP1255..UTF8: New file.
4676 * iconvdata/testdata/CP1256: New file.
4677 * iconvdata/testdata/CP1256..UTF8: New file.
4678 * iconvdata/testdata/CP1257: New file.
4679 * iconvdata/testdata/CP1257..UTF8: New file.
f81d98d6 4680
edf66db1 46811998-04-26 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4682
edf66db1
SP
4683 * iconvdata/Makefile: Add rules for ISO-2022-KR.
4684 * iconvdata/iso-2022-kr.c: New file.
f81d98d6 4685
edf66db1
SP
4686 * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
4687 and ISO-2022-KR.
f81d98d6 4688
edf66db1 46891998-04-25 18:39 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4690
edf66db1
SP
4691 * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
4692 iso8859-8 and iso8859-10.
4693 * iconvdata/iso8859-5.c: Change to use gap method.
4694 * iconvdata/iso8859-7.c: Likewise.
4695 * iconvdata/iso8859-8.c: Likewise.
4696 * iconvdata/iso8859-10.c: Likewise.
f81d98d6 4697
edf66db1
SP
4698 * iconvdata/Makefile: Add rules for ISO-2022-JP module.
4699 * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
4700 end of the loop.
4701 * iconvdata/iso-2022-jp.c: New file.
f81d98d6 4702
edf66db1
SP
4703 * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
4704 * iconvdata/ksc5601.h: Unify function interfaces.
4705 * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
4706 * iconvdata/uhc.c: Likewise.
f81d98d6 4707
edf66db1 4708 * iconvdata/gb2312.h: Use correct types.
f81d98d6 4709
edf66db1
SP
4710 * iconvdata/iso646.c (gconv_open): Correctly initialize the character
4711 size elements of data.
f81d98d6 4712
edf66db1 47131998-04-24 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4714
edf66db1
SP
4715 * string/tst-svc.expect: Adapt for change in .input.
4716 * string/tst-svc.input: More tests.
f81d98d6 4717
edf66db1 47181998-04-24 17:15 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4719
edf66db1
SP
4720 * iconvdata/Makefile: Add rules for new modules.
4721 * iconvdata/gconv-modules: Likewise.
4722 * iconvdata/cp737.c: New file.
4723 * iconvdata/cp737.h: New file.
4724 * iconvdata/cp775.c: New file.
4725 * iconvdata/cp775.h: New file.
4726 * iconvdata/cp874.c: New file.
4727 * iconvdata/cp874.h: New file.
f81d98d6 4728
edf66db1 47291998-04-24 16:30 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4730
edf66db1
SP
4731 * iconvdata/Makefile: Create target directory before generating
4732 headers.
f81d98d6 4733
edf66db1 47341998-04-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 4735
edf66db1
SP
4736 * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
4737 __USER_LABEL_PREFIX__.
4738 (__ASMNAME, __ASMNAME2): New macros.
f81d98d6 4739
edf66db1 47401998-04-24 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4741
edf66db1 4742 * elf/dl-load.c: Include sys/param.h for MAX.
f81d98d6 4743
edf66db1 47441998-04-24 21:44 Richard Henderson <rth@cygnus.com>
f81d98d6 4745
edf66db1
SP
4746 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
4747 __ftruncate the strong symbol, and add weak alias.
4748 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
f81d98d6 4749
edf66db1 47501998-04-24 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 4751
edf66db1
SP
4752 * termios/cfsetspeed.c: Make code cleaner and add missing const.
4753 Patch by Joe Keane <jgk@jgk.org>.
f81d98d6 4754
edf66db1
SP
4755 * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
4756 free()ing.
4757
47581998-04-24 13:56 Ulrich Drepper <drepper@cygnus.com>
4759
4760 * sysdeps/generic/bits/socket.h: Add #defines for enum values.
4761 Patch by Thomas Bushnell, n/BSG.
4762
47631998-04-24 Ulrich Drepper <drepper@cygnus.com>
4764
4765 * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
4766
47671998-04-24 Ulrich Drepper <drepper@cygnus.com>
4768
4769 * iconvdata/Makefile: Put generated headers in build directory.
4770
47711998-04-23 22:43 Ulrich Drepper <drepper@cygnus.com>
4772
4773 * elf/dl-load.c (fillin_rpath): Handle empty element returned by
4774 strsep as current directory.
4775
4776 * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
4777 Java. Add definitions for unicodelittle implementation.
4778 * iconv/gconv_int.h: Add declaration for unicodelittle functions.
4779 * iconv/gconv_simple.c: Define unicodelittle functions.
4780
4781 * iconv/iconv_prog.c: Make program print information about position
4782 of illegal character in input.
4783
4784 * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
4785 comparison of charset name.
4786 * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
4787 * iconvdata/ebcdic-at-de-a.c: Likewise.
4788 * iconvdata/ebcdic-at-de.c: Likewise.
4789 * iconvdata/ebcdic-ca-fr.c: Likewise.
4790 * iconvdata/euccn.c: Likewise.
4791 * iconvdata/eucjp.c: Likewise.
4792 * iconvdata/euckr.c: Likewise.
4793 * iconvdata/euctw.c: Likewise.
4794 * iconvdata/hp-roman8.c: Likewise.
4795 * iconvdata/iso6937.c: Likewise.
4796 * iconvdata/iso8859-1.c: Likewise.
4797 * iconvdata/iso8859-10.c: Likewise.
4798 * iconvdata/iso8859-2.c: Likewise.
4799 * iconvdata/iso8859-3.c: Likewise.
4800 * iconvdata/iso8859-4.c: Likewise.
4801 * iconvdata/iso8859-5.c: Likewise.
4802 * iconvdata/iso8859-6.c: Likewise.
4803 * iconvdata/iso8859-7.c: Likewise.
4804 * iconvdata/iso8859-8.c: Likewise.
4805 * iconvdata/iso8859-9.c: Likewise.
4806 * iconvdata/johab.c: Likewise.
4807 * iconvdata/koi-8.c: Likewise.
4808 * iconvdata/koi8-r.c: Likewise.
4809 * iconvdata/latin-greek-1.c: Likewise.
4810 * iconvdata/latin-greek.c: Likewise.
4811 * iconvdata/sjis.c: Likewise.
4812 * iconvdata/t61.c: Likewise.
4813 * iconvdata/uhc.c: Likewise.
4814
4815 * iconvdata/iso646.c: Add support for more ISO 646 variants.
4816 * iconvdata/TESTS: Add tests for ISO646 module.
4817 * iconvdata/gconv-modules: Add new modules.
4818 * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
4819 * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
4820 * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
4821 * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
4822 * iconvdata/testdate/DIN_66003: Likewise.
4823 * iconvdata/testdate/DIN_66003..UTF8: Likewise.
4824 * iconvdata/testdate/DS_2089: Likewise.
4825 * iconvdata/testdate/DS_2089..UTF8: Likewise.
4826 * iconvdata/testdate/ES: Likewise.
4827 * iconvdata/testdate/ES..UTF8: Likewise.
4828 * iconvdata/testdate/ES2: Likewise.
4829 * iconvdata/testdate/ES2..UTF8: Likewise.
4830 * iconvdata/testdate/GB_1988-80: Likewise.
4831 * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
4832 * iconvdata/testdate/IT: Likewise.
4833 * iconvdata/testdate/IT..UTF8: Likewise.
4834 * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
4835 * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
4836 * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
4837 * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
4838 * iconvdata/testdate/JUS_I.B1.002: Likewise.
4839 * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
4840 * iconvdata/testdate/KSC5636: Likewise.
4841 * iconvdata/testdate/KSC5636..UTF8: Likewise.
4842 * iconvdata/testdate/MSZ_7795.3: Likewise.
4843 * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
4844 * iconvdata/testdate/NC_NC00-10: Likewise.
4845 * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
4846 * iconvdata/testdate/NF_Z_62-010: Likewise.
4847 * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
4848 * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
4849 * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
4850 * iconvdata/testdate/NS_4551-1: Likewise.
4851 * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
4852 * iconvdata/testdate/NS_4551-2: Likewise.
4853 * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
4854 * iconvdata/testdate/PT: Likewise.
4855 * iconvdata/testdate/PT..UTF8: Likewise.
4856 * iconvdata/testdate/PT2: Likewise.
4857 * iconvdata/testdate/PT2..UTF8: Likewise.
4858 * iconvdata/testdate/SEN_850200_B: Likewise.
4859 * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
4860 * iconvdata/testdate/SEN_850200_C: Likewise.
4861 * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
4862
4863 * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
4864 * iconvdata/cns11643l1.h: Likewise.
4865 * iconvdata/latin-greek-1.h: Likewise.
4866 * iconvdata/latin-greek.h: Likewise.
4867 * iconvdata/koi8-r.h: Likewise.
4868 * iconvdata/jis0212.h: Likewise.
4869 * iconvdata/gb2312.h: Likewise.
4870 * iconvdata/ksc5601.h: Likewise.
4871
4872 * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
4873
4874 * iconvdata/Makefile: Add rules for lots of more modules.
4875 * iconvdata/cp1250.c: New file.
4876 * iconvdata/cp1251.c: New file.
4877 * iconvdata/cp1252.c: New file.
4878 * iconvdata/cp1253.c: New file.
4879 * iconvdata/cp1254.c: New file.
4880 * iconvdata/cp1255.c: New file.
4881 * iconvdata/cp1256.c: New file.
4882 * iconvdata/cp1257.c: New file.
4883 * iconvdata/ebcdic-dk-no-a.c: New file.
4884 * iconvdata/ebcdic-dk-no.c: New file.
4885 * iconvdata/ebcdic-es-a.c: New file.
4886 * iconvdata/ebcdic-es-s.c: New file.
4887 * iconvdata/ebcdic-es.c: New file.
4888 * iconvdata/ebcdic-fi-se-a.c: New file.
4889 * iconvdata/ebcdic-fi-se.c: New file.
4890 * iconvdata/ebcdic-fr.c: New file.
4891 * iconvdata/ebcdic-is-friss.c: New file.
4892 * iconvdata/ebcdic-it.c: New file.
4893 * iconvdata/ebcdic-pt.c: New file.
4894 * iconvdata/ebcdic-uk.c: New file.
4895 * iconvdata/ebcdic-us.c: New file.
4896 * iconvdata/ibm037.c: New file.
4897 * iconvdata/ibm038.c: New file.
4898 * iconvdata/ibm1004.c: New file.
4899 * iconvdata/ibm1026.c: New file.
4900 * iconvdata/ibm1047.c: New file.
4901 * iconvdata/ibm256.c: New file.
4902 * iconvdata/ibm273.c: New file.
4903 * iconvdata/ibm274.c: New file.
4904 * iconvdata/ibm275.c: New file.
4905 * iconvdata/ibm277.c: New file.
4906 * iconvdata/ibm278.c: New file.
4907 * iconvdata/ibm280.c: New file.
4908 * iconvdata/ibm281.c: New file.
4909 * iconvdata/ibm284.c: New file.
4910 * iconvdata/ibm285.c: New file.
4911 * iconvdata/ibm290.c: New file.
4912 * iconvdata/ibm297.c: New file.
4913 * iconvdata/ibm420.c: New file.
4914 * iconvdata/ibm423.c: New file.
4915 * iconvdata/ibm424.c: New file.
4916 * iconvdata/ibm437.c: New file.
4917 * iconvdata/ibm500.c: New file.
4918 * iconvdata/ibm850.c: New file.
4919 * iconvdata/ibm851.c: New file.
4920 * iconvdata/ibm852.c: New file.
4921 * iconvdata/ibm855.c: New file.
4922 * iconvdata/ibm857.c: New file.
4923 * iconvdata/ibm860.c: New file.
4924 * iconvdata/ibm861.c: New file.
4925 * iconvdata/ibm862.c: New file.
4926 * iconvdata/ibm863.c: New file.
4927 * iconvdata/ibm864.c: New file.
4928 * iconvdata/ibm865.c: New file.
4929 * iconvdata/ibm868.c: New file.
4930 * iconvdata/ibm869.c: New file.
4931 * iconvdata/ibm870.c: New file.
4932 * iconvdata/ibm871.c: New file.
4933 * iconvdata/ibm875.c: New file.
4934 * iconvdata/ibm880.c: New file.
4935 * iconvdata/ibm891.c: New file.
4936 * iconvdata/ibm903.c: New file.
4937 * iconvdata/ibm904.c: New file.
4938 * iconvdata/ibm905.c: New file.
4939 * iconvdata/ibm918.c: New file.
4940
4941 * locale/iso-4217.def: Update.
4942 * localedata/locales/pt_BR: Correct. Patches by Andreas Jaeger.
4943
4944 * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
4945 formats.
4946
49471998-04-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4948
4949 * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
4950 LD_LIBRARY_PATH.
4951
49521998-04-22 Gordon Matzigkeit <gord@profitpress.com>
4953
4954 * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
4955 * Makefile: Likewise.
4956 * posix/Makefile: Likewise.
4957 * sysdeps/mach/hurd/Makefile: Likewise.
f81d98d6 4958
edf66db1 49591998-04-22 Gordon Matzigkeit <gord@profitpress.com>
f81d98d6 4960
edf66db1
SP
4961 * sysdeps/mach/hurd/bits/dirent.h: New file.
4962 * sysdeps/mach/hurd/readdir64.c: New file.
4963 * sysdeps/mach/hurd/readdir64_r.c: New file.
f81d98d6 4964
edf66db1 49651998-04-21 Gordon Matzigkeit <gord@profitpress.com>
f81d98d6 4966
edf66db1
SP
4967 * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
4968 dprintf): Synchronize declarations with libio/stdio.h.
f81d98d6 4969
edf66db1 49701998-04-21 Gordon Matzigkeit <gord@profitpress.com>
f81d98d6 4971
edf66db1
SP
4972 * elf/dlerror.c (dlerror): Don't assume that
4973 __libc_internal_tsd_get is defined. __libc_getspecific is already
4974 well-protected, so just use it directly.
f81d98d6 4975
edf66db1 49761998-04-22 Gordon Matzigkeit <gord@profitpress.com>
f81d98d6 4977
edf66db1 4978 * io/ftw.h (ftw): Fix typo.
f81d98d6 4979
edf66db1 49801998-04-21 Gordon Matzigkeit <gord@profitpress.com>
f81d98d6 4981
edf66db1 4982 * sysdeps/gnu/utmp_file.c: Fix typo.
f81d98d6 4983
edf66db1 49841998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 4985
edf66db1
SP
4986 * iconvdata/run-iconv-test.sh: Fix more portability bugs. When
4987 one part of a test fails move on to the next test.
f81d98d6 4988
edf66db1 49891998-04-24 5:45 Richard Henderson <rth@cygnus.com>
f81d98d6 4990
edf66db1 4991 * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
f81d98d6 4992
edf66db1 49931998-04-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 4994
edf66db1
SP
4995 * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
4996 as pointers, not signed integers.
f81d98d6 4997
edf66db1 49981998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 4999
edf66db1 5000 * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
f81d98d6 5001
edf66db1 50021998-04-21 21:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81d98d6 5003
edf66db1
SP
5004 * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
5005 asm symbol name of functions.
5006 * include/features.h: Kill redundant test.
f81d98d6 5007
edf66db1
SP
5008 * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
5009 * io/ftw.h: Likewise.
5010 * io/sys/stat.h: Likewise.
5011 * io/sys/statfs.h: Likewise.
5012 * io/sys/statvfs.h: Likewise.
5013 * libio/stdio.h: Likewise.
5014 * resource/sys/resource.h: Likewise.
5015 * rt/aio.h: Likewise.
5016
5017 * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
5018 __FAVOR_BSD.
5019 * signal/signal.h: Use new macros for BSD vs. SysV signal().
5020
5021 * misc/Makefile: Drop bsd-compat.c. Make libbsd-compat.a
5022 a dummy library.
5023 * misc/bsd-compat.c: Removed.
5024
50251998-04-21 20:32 Ulrich Drepper <drepper@cygnus.com>
5026
5027 * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
5028 function declaration.
5029 * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
5030 and use them in conversion function.
5031 * iconvdata/Makefile (modules): Re-add ISO6446.
5032 * iconvdata/TEST: Add tests for ASCII variants.
5033 * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
5034 * iconvdata/testdata/ANSI_X3.4-1968: New file.
5035 * iconvdata/testdata/BS_4730: New file.
5036 * iconvdata/testdata/BS_4730..UTF8: New file.
5037
50381998-04-21 19:05 Ulrich Drepper <drepper@cygnus.com>
5039
5040 * iconv/gconv.h (struct gconv_step): Add element stateful.
5041 * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
5042 to zero for all internal conversions.
5043 * iconv/skeleton.c: Initialize stateful depending on whether or not
5044 RESET_STATE is defined to one or zero respectively.
5045 * stdlib/mblen.c: Use stateful element of currently selected
5046 converter for result if S is NULL.
5047 * stdlib/mbtowc.c: Likewise.
5048 * stdlib/wctomb.c: Likewise.
f81d98d6 5049
edf66db1 50501998-04-21 18:00 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5051
edf66db1 5052 * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
f81d98d6 5053
edf66db1 5054 * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
f81d98d6 5055
edf66db1
SP
5056 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
5057 character in comparison with uint32_t.
5058 (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
5059 (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
5060 Optimize BODY a bit.
f81d98d6 5061
edf66db1
SP
5062 * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
5063 be defined.
f81d98d6 5064
edf66db1
SP
5065 * iconv/skeleton.c: Also reset converted counter in case of an error.
5066 Call reset function using correct value for output buffer start.
f81d98d6 5067
edf66db1 5068 * iconvdata/Makefile: Re-enable tests.
f81d98d6 5069
edf66db1
SP
5070 * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
5071 value for to-conversion.
f81d98d6 5072
edf66db1
SP
5073 * iconvdata/TESTS: Add new third column.
5074 * iconvdata/run-iconv-test.sh: Add support for charsets which are
5075 not ASCII based.
5076 * iconvdata/testdata/suntzus: New file.
f81d98d6 5077
edf66db1
SP
5078 * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
5079 while reading. Correctly used base. Little optimization.
5080 (__strtoul_internal): Likewise.
f81d98d6 5081
edf66db1
SP
5082 * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
5083 was wrong. Use explicit variable.
f81d98d6 5084
edf66db1 50851998-04-20 23:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81d98d6 5086
edf66db1
SP
5087 * configure.in: Check for awk.
5088 * config.make.in: Add AWK to be substituted.
f81d98d6 5089
edf66db1
SP
5090 * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
5091 * manual/users.texi: Fix typo exposed by above rewrite.
f81d98d6 5092
edf66db1
SP
5093 * Makefile: Invoke awk using AWK variable.
5094 * csu/Makefile: Likewise.
5095 * elf/Makefile: Likewise.
5096 * mach/Makefile: Likewise.
5097 * manual/Makefile: Likewise.
5098 * sysdeps/gnu/Makefile: Likewise.
5099 * sysdeps/mach/hurd/Makefile: Likewise.
5100 * sysdeps/unix/Makefile: Likewise.
5101 * timezone/Makefile: Likewise.
f81d98d6 5102
edf66db1 51031998-04-10 Gordon Matzigkeit <gord@profitpress.com>
f81d98d6 5104
edf66db1
SP
5105 * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
5106 array index translation.
5107 (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
5108 these are defined.
f81d98d6 5109
edf66db1 5110 * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
f81d98d6 5111
edf66db1
SP
5112 * sysdeps/mach/hurd/errlist.c: New file.
5113 (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
5114 (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
5115 semantics, so rename it.
f81d98d6 5116
edf66db1 51171998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 5118
edf66db1
SP
5119 * iconvdata/run-iconv-test.sh: Make portable. Always test all
5120 conversions.
f81d98d6 5121
edf66db1 51221998-04-21 12:30 H.J. Lu <hjl@gnu.org>
f81d98d6 5123
edf66db1
SP
5124 * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
5125 * wcsmbs/wcsnrtombs.c: Likewise.
f81d98d6 5126
edf66db1 51271998-04-21 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5128
edf66db1 5129 * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
f81d98d6 5130
edf66db1 5131 * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
f81d98d6 5132
edf66db1
SP
5133 * time/strftime.c (my_strftime): Initialize pad variable in
5134 declaration.
f81d98d6 5135
edf66db1
SP
5136 * iconvdata/big5.c: Don't use character constants in comparisons
5137 with unsigned value.
f81d98d6 5138
edf66db1 51391998-04-20 18:00 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5140
edf66db1
SP
5141 * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
5142 __libc_siglongjmp to GLIBC_2.1.
f81d98d6 5143
edf66db1
SP
5144 * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
5145 __strerror_r.
f81d98d6 5146
edf66db1
SP
5147 * iconv/Makefile: Don't run tests now.
5148
5149 * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
5150 with correct output buffer.
5151
5152 Major rewrite of the low-level gconv functionality.
5153 * iconv/gconv.c: Rewritten.
5154 * iconv/gconv.h: Likewise.
5155 * iconv/gconv_builtin.c: Likewise.
5156 * iconv/gconv_builtin.h: Likewise.
5157 * iconv/gconv_conf.c: Likewise.
5158 * iconv/gconv_int.h: Likewise.
5159 * iconv/gconv_open.c: Likewise.
5160 * iconv/gconv_simple.c: Likewise.
5161 * iconv/iconv.c: Likewise.
5162 * iconvdata/8bit-gap.c: Likewise.
5163 * iconvdata/8bit-generic.c: Likewise.
5164 * iconvdata/Makefile: Likewise.
5165 * iconvdata/big5.c: Likewise.
5166 * iconvdata/cns11643.c: Likewise.
5167 * iconvdata/cns11643.h: Likewise.
5168 * iconvdata/cns11643l1.c: Likewise.
5169 * iconvdata/cns11643l1.h: Likewise.
5170 * iconvdata/ebcdic-at-de-a.c: Likewise.
5171 * iconvdata/ebcdic-at-de.c: Likewise.
5172 * iconvdata/ebcdic-ca-fr.c: Likewise.
5173 * iconvdata/euccn.c: Likewise.
5174 * iconvdata/eucjp.c: Likewise.
5175 * iconvdata/euckr.c: Likewise.
5176 * iconvdata/euctw.c: Likewise.
5177 * iconvdata/gb2312.c: Likewise.
5178 * iconvdata/gb2312.h: Likewise.
5179 * iconvdata/hp-roman8.c: Likewise.
5180 * iconvdata/iso646.c: Likewise.
5181 * iconvdata/iso6937.c: Likewise.
5182 * iconvdata/iso8859-1.c: Likewise.
5183 * iconvdata/iso8859-10.c: Likewise.
5184 * iconvdata/iso8859-2.c: Likewise.
5185 * iconvdata/iso8859-3.c: Likewise.
5186 * iconvdata/iso8859-4.c: Likewise.
5187 * iconvdata/iso8859-5.c: Likewise.
5188 * iconvdata/iso8859-6.c: Likewise.
5189 * iconvdata/iso8859-7.c: Likewise.
5190 * iconvdata/iso8859-8.c: Likewise.
5191 * iconvdata/iso8859-9.c: Likewise.
5192 * iconvdata/jis0201.c: Likewise.
5193 * iconvdata/jis0201.h: Likewise.
5194 * iconvdata/jis0208.c: Likewise.
5195 * iconvdata/jis0208.h: Likewise.
5196 * iconvdata/jis0212.c: Likewise.
5197 * iconvdata/jis0212.h: Likewise.
5198 * iconvdata/johab.c: Likewise.
5199 * iconvdata/koi-8.c: Likewise.
5200 * iconvdata/koi8-r.c: Likewise.
5201 * iconvdata/ksc5601.c: Likewise.
5202 * iconvdata/ksc5601.h: Likewise.
5203 * iconvdata/latin-greek-1.c: Likewise.
5204 * iconvdata/latin-greek.c: Likewise.
5205 * iconvdata/run-iconv-test.sh: Likewise.
5206 * iconvdata/sjis.c: Likewise.
5207 * iconvdata/t61.c: Likewise.
5208 * iconvdata/uhc.c: Likewise.
5209 * wcsmbs/btowc.c: Likewise.
5210 * wcsmbs/mbrtowc.c: Likewise.
5211 * wcsmbs/mbsnrtowcs.c: Likewise.
5212 * wcsmbs/mbsrtowcs.c: Likewise.
5213 * wcsmbs/wcrtomb.c: Likewise.
5214 * wcsmbs/wcsmbsload.c: Likewise.
5215 * wcsmbs/wcsnrtombs.c: Likewise.
5216 * wcsmbs/wcsrtombs.c: Likewise.
5217 * wcsmbs/wctob.c: Likewise.
5218 * iconv/loop.c: New file.
5219 * iconv/skeleton.c: New file.
5220
5221 * stdlib/mblen.c: Handle empty input string correctly.
5222 * stdlib/mbtowc.c: Likewise.
f81d98d6 5223
edf66db1 5224 * posix/getopt.c: Various cleanups.
f81d98d6 5225
edf66db1
SP
5226 * sysdeps/arm/bits/setjmp.h: Add copyright text.
5227 * sysdeps/i386/bits/setjmp.h: Likewise.
5228 * sysdeps/m68k/bits/setjmp.h: Likewise.
5229 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5230 * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
f81d98d6 5231
edf66db1
SP
5232 * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
5233 and make longjmp weak alias.
f81d98d6 5234
edf66db1 52351998-04-18 20:29 Philip Blundell <Philip.Blundell@pobox.com>
f81d98d6 5236
edf66db1
SP
5237 * iconv/Makefile (routines): Only include gconv_dl if building for
5238 an ELF system - dynamic linking is not available on a.out.
5239 (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
5240 due to above check.
5241 * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
5242 routines from gconv_dl.
f81d98d6 5243
edf66db1 52441998-04-17 Gordon Matzigkeit <gord@profitpress.com>
f81d98d6 5245
edf66db1
SP
5246 * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
5247 we can compile without libio.
f81d98d6 5248
edf66db1 52491998-04-20 16:28 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5250
edf66db1 5251 * sysdeps/mach/hurd/Subdirs: Remove login.
f81d98d6 5252
edf66db1 52531998-04-11 Gordon Matzigkeit <gord@profitpress.com>
f81d98d6 5254
edf66db1
SP
5255 * db2/compat.h: Include <errno.h>, to make sure we get the
5256 definition of EFTYPE before we define it ourselves.
f81d98d6 5257
edf66db1 52581998-04-10 Gordon Matzigkeit <gord@profitpress.com>
f81d98d6 5259
edf66db1
SP
5260 * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
5261 * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
5262 Fix typo to allow inclusion from sys/ioctl.h again.
f81d98d6 5263
edf66db1 52641998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 5265
edf66db1 5266 * iconvdata/*.[ch]: Clean up namespace. Optimize character lookup.
f81d98d6 5267
edf66db1 52681998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 5269
edf66db1 5270 * libc.map: Export __strerror_r. Remove _strerror_internal.
f81d98d6 5271
edf66db1 52721998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 5273
edf66db1
SP
5274 * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
5275 Also undefine __strcasestr.
f81d98d6 5276
edf66db1 52771998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 5278
edf66db1
SP
5279 * posix/regex.c: Rename __re_max_failures back to re_max_failures,
5280 aliases do not work with global variables due to copy relocations.
f81d98d6 5281
edf66db1 52821998-04-20 15:12 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5283
edf66db1 5284 * manual/creature.texi: Fix type. Patch by Andreas Schwab.
f81d98d6 5285
edf66db1 52861998-04-20 13:47 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5287
edf66db1
SP
5288 * signal/sighold.c: Include stddef.h for NULL definition.
5289 * signal/sigrelse.c: Likewise.
5290 * sysdeps/posix/sigignore.c: Likewise.
5291 * sysdeps/posix/sigset.c: Likewise.
5292 * sysdeps/posix/waitid.c: Likewise.
5293 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
5294 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
5295 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5296 * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
5297 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
f81d98d6 5298
edf66db1 52991998-04-13 Mark Kettenis <kettenis@phys.uva.nl>
f81d98d6 5300
edf66db1
SP
5301 * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
5302 * login/getutent.c (getutxent): Remove alias.
5303 * login/getutent_r.c (setutxent, pututxline, endutxent):
5304 Remove aliases.
5305 * login/getutid.c (getutxid): Remove alias.
5306 * login/getutline.c (getutxline): Remove alias.
5307 * login/utmp.h: Add prototypes for __updwtmp, __getutent,
5308 __getutid, __getutline and __pututline.
5309 * login/utmpx.h: Moved to ...
5310 * sysdeps/gnu/utmpx.h: ... here. [__USE_GNU]: Define UTMPX_FILE,
5311 UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
5312 and updwtmpx.
5313 * login/updwtmp.c: Moved to ...
5314 * sysdeps/generic/updwtmp.c: ... here. (updwtmp): Generalized by
5315 allowing file name transformation.
5316 * sysdeps/gnu/updwtmp.c: New file. Use generic implementation with
5317 additional file name transformation.
5318 * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
5319 * login/utmp_file.c: Moved to ...
5320 * sysdeps/generic/utmp_file.c: ... here. (setutent_file):
5321 Generalized by allowing file name transformation. Do not
5322 print error message. Library functions should not print them.
5323 Reported by Jim Meyering.
5324 * sysdeps/gnu/utmp_file.c: New file. Use generic implementation
5325 with additional file name transformation.
5326 * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
5327 * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
5328 setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
5329 pututxline, utmpxname and updwtmpx. (sysdep_headers): Add utmpx.h
5330 and bits/utmpx.h.
5331 * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
5332 (_PATH_UTMPX): Define to _PATH_UTMP. (_PATH_WTMPX): Define to
5333 _PATH_WTMPX. (RUN_LVL): Define only if __USE_GNU. (ACCOUNTING):
5334 Define if __USE_GNU.
5335 * sysdeps/generic/setutxent.c: New file.
5336 * sysdeps/generic/getutxent.c: New file.
5337 * sysdeps/generic/endutxent.c: New file.
5338 * sysdeps/generic/getutxid.c: New file.
5339 * sysdeps/generic/getutxline.c: New file.
5340 * sysdeps/generic/pututxline.c: New file.
5341 * sysdeps/generic/utmpxname.c: New file.
5342 * sysdeps/generic/updwtmpx.c: New file.
5343 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
5344 * sysdeps/generic/bits/utmpx.h: Remove.
5345
53461998-04-20 Ulrich Drepper <drepper@cygnus.com>
5347
5348 * posix/wordexp-test.c (main): Initialize ifs element of ts for
5349 ~root test.
5350
53511998-04-17 07:53 H.J. Lu <hjl@gnu.org>
5352
5353 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
5354
53551998-04-17 11:32 Ulrich Drepper <drepper@cygnus.com>
5356
5357 * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
5358 variable using _G_stat64.
5359 * libio/fileops.c: Remove macro definition of fstat, it is in the
5360 global header.
5361 Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
5362
53631998-04-17 Philip Blundell <pb@nexus.co.uk>
5364
5365 * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
5366 <willy@odie.barnet.ac.uk>.
5367
53681998-04-16 Philip Blundell <Philip.Blundell@pobox.com>
5369
5370 * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
5371 required by IPv6 Basic API.
5372 (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
5373 (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
5374 (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
5375 (IN6_IS_ADDR_MC_GLOBAL): Likewise.
5376
53771998-04-15 16:41 Ulrich Drepper <drepper@cygnus.com>
5378
5379 Don't name internal representation since it might be different from
5380 the external form (namely on little endian machines).
5381 * iconv/gconv_builtin.h: Add UCS4 support. Change references to
5382 UCS4 into references to INTERNAL.
5383 * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
5384 Add endianess support to UCS functions. Change references to
5385 UCS4 into references to INTERNAL.
5386 * iconv/gconv_int.h: Change references to UCS4 into references to
5387 INTERNAL.
5388 * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
5389 * iconvdata/gconv-modules: Change accordingly.
5390 * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
5391
5392 * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
5393 overflow.
5394 * iconvdata/8bit-gap.c: Likewise.
5395 * iconvdata/8bit-generic.c: Likewise.
5396 * iconvdata/big5.c: Likewise.
5397 * iconvdata/euccn.c: Likewise.
5398 * iconvdata/eucjp.c: Likewise.
5399 * iconvdata/euckr.c: Likewise.
5400 * iconvdata/euctw.c: Likewise.
5401 * iconvdata/iso646.c: Likewise.
5402 * iconvdata/iso6937.c: Likewise.
5403 * iconvdata/iso8859-1.c: Likewise.
5404 * iconvdata/johab.c: Likewise.
5405 * iconvdata/sjis.c: Likewise.
5406 * iconvdata/t61.c: Likewise.
5407 * iconvdata/uhc.c: Likewise.
f81d98d6 5408
edf66db1
SP
5409 * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
5410 * iconvdata/8bit-generic.c: Likewise.
f81d98d6 5411
edf66db1 5412 * iconvdata/TESTS: Add more tests.
f81d98d6 5413
edf66db1 5414 * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
f81d98d6 5415
edf66db1 54161998-04-15 11:47 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5417
edf66db1 5418 * iconvdata/Makefile: Better rules to run tests.
f81d98d6 5419
edf66db1
SP
5420 * iconvdata/testdata/ISO-8859-1..UTF8: New file.
5421 * iconvdata/testdata/ISO-8859-10: Likewise.
5422 * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
5423 * iconvdata/testdata/ISO-8859-2: Likewise.
5424 * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
5425 * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
5426 * iconvdata/testdata/ISO-8859-3: Likewise.
5427 * iconvdata/testdata/ISO-8859-4: Likewise.
5428 * iconvdata/testdata/ISO-8859-5: Likewise.
5429 * iconvdata/testdata/ISO-8859-6: Likewise.
5430 * iconvdata/testdata/ISO-8859-7: Likewise.
5431 * iconvdata/testdata/ISO-8859-8: Likewise.
5432 * iconvdata/testdata/ISO-8859-9: Likewise.
f81d98d6 5433
edf66db1 54341998-04-15 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5435
edf66db1
SP
5436 * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
5437 intermediate result (if available).
f81d98d6 5438
edf66db1
SP
5439 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
5440 last change.
f81d98d6 5441
edf66db1
SP
5442 * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
5443 (distribute): Add run-iconv-test.sh and testdata/*.
f81d98d6 5444
edf66db1 5445 * stdlib/testmb.c (main): Simplify mbc array handling.
f81d98d6 5446
edf66db1 54471998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 5448
edf66db1
SP
5449 * elf/dl-minimal.c (__strtol_internal): Correct range check. Fix
5450 return value on overflow.
f81d98d6 5451
edf66db1 54521998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 5453
edf66db1
SP
5454 * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
5455 bits.
f81d98d6 5456
edf66db1 54571998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 5458
edf66db1
SP
5459 * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
5460 of non-standard function setbuffer.
f81d98d6 5461
edf66db1 54621998-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 5463
edf66db1 5464 * stdio-common/perror.c: Include <string.h> for __strerror_r.
f81d98d6 5465
edf66db1 54661998-04-14 23:54 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5467
edf66db1
SP
5468 * iconvdata/Makefile: Add rules to run tests.
5469 * iconvdata/TESTS: New file.
5470 * iconvdata/run-iconv-test.sh: New file.
5471 * iconvdata/testdata/ISO-8859-1: New file.
f81d98d6 5472
edf66db1
SP
5473 * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
5474 not stdout.
f81d98d6 5475
edf66db1 54761998-04-14 18:22 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5477
edf66db1
SP
5478 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
5479 counter element of step.
f81d98d6 5480
edf66db1 5481 * iconv/gconv_dl.c: Don't mark get_sym as internal function.
f81d98d6 5482
edf66db1
SP
5483 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
5484 termination test.
5485 (__gconv_transform_ucs4_utf8): Likewise. Remove unnecessary variable
5486 ACTUALLY.
5487 (__gconv_transform_utf8_ucs4): Correct test for empty input.
f81d98d6 5488
edf66db1 54891998-04-14 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5490
edf66db1
SP
5491 * Makefile: Include makeconfig before defining rule to regenerate
5492 configure files.
f81d98d6 5493
edf66db1
SP
5494 * configure.in: Remove restriction on compiling without static
5495 libs.
f81d98d6 5496
edf66db1 54971998-04-14 16:34 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5498
edf66db1
SP
5499 * test-skeleton.c: Provide hook for initializing code before the fork.
5500 * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
5501 removed.
f81d98d6 5502
edf66db1
SP
5503 * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
5504 * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
5505 * libio/libioP.h: Adopt _IO_cleanup prototype.
f81d98d6 5506
edf66db1
SP
5507 * stdlib/Makefile (tests): Add test-canon2.
5508 * stdlib/test-canon2.c: New file.
5509 * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
5510 be NULL. Use __lxstat, not __lstat. Correctly recognize long
5511 symlink sequences.
5512 (__realpath): Make real function which checks RESOLVED parameter for
5513 not being NULL.
f81d98d6 5514
edf66db1 55151998-04-14 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5516
edf66db1
SP
5517 * catgets/open_catalog.c (__open_catalog): Fix problems with
5518 reading non-files. Always close file.
5519 Reported by Cristian Gafton <gafton@redhat.com>.
f81d98d6 5520
edf66db1 5521 * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
f81d98d6 5522
edf66db1 55231998-04-14 13:28 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5524
edf66db1 5525 * libc.map: Add various low-level I/O functions.
f81d98d6 5526
edf66db1 55271998-04-14 10:35 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5528
edf66db1
SP
5529 * string/Makefile (routines): Remove strerror_r.
5530 * string/strerror_r.c: Removed.
5531 * string/strerror.c: Call __strerror_r for doing the real work.
5532 * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
5533 add weak alias strerror_r.
5534 * sysdeps/mach/_strerror.c: Likewise.
5535 * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
5536 * elf/dl-error.c (_dl_signal_error): Likewise.
5537 * elf/dl-profile.c (_dl_start_profile): Likewise.
5538 * gmon/gmon.c (write_gmon): Likewise.
5539 * stdio-common/perror.c: Likewise.
5540 * stdio-common/vfprintf.c: Likewise.
f81d98d6 5541
edf66db1 55421998-04-10 Mark Kettenis <kettenis@phys.uva.nl>
f81d98d6 5543
edf66db1
SP
5544 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
5545 (sysdep_headers): Add netatalk/at.h.
f81d98d6 5546
edf66db1 55471998-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 5548
edf66db1
SP
5549 * manual/socket.texi, manual/creature.texi, manual/time.texi:
5550 Formatting fixes.
f81d98d6 5551
edf66db1 55521998-04-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 5553
edf66db1
SP
5554 * posix/regex.c: Rename __re_syntax_options back to
5555 re_syntax_options, aliases do not work with global variables due
5556 to copy relocations.
5557 (regex_compile): Use syntax parameter instead of
5558 re_syntax_options.
f81d98d6 5559
edf66db1 55601998-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 5561
edf66db1 5562 * configure.in: Document that enable-force-install is default.
f81d98d6 5563
edf66db1 55641998-04-13 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5565
edf66db1
SP
5566 * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
5567 all needed 36 bits.
5568 * sysdeps/posix/mkstemp.c: Likewise.
f81d98d6 5569
edf66db1 55701998-04-13 17:40 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5571
edf66db1
SP
5572 * iconvdata/8bit-gap.c: Simplify step data handling.
5573 * iconvdata/8bit-generic.c: Likewise.
5574 * iconvdata/big5.c: Likewise.
5575 * iconvdata/euccn.c: Likewise.
5576 * iconvdata/eucjp.c: Likewise.
5577 * iconvdata/euckr.c: Likewise.
5578 * iconvdata/euctw.c: Likewise.
5579 * iconvdata/iso6937.c: Likewise.
5580 * iconvdata/iso8859-1.c: Likewise.
5581 * iconvdata/jis0208.h: Likewise.
5582 * iconvdata/jis0212.c: Likewise.
5583 * iconvdata/jis0212.h: Likewise.
5584 * iconvdata/johab.c: Likewise.
5585 * iconvdata/ksc5601.h: Likewise.
5586 * iconvdata/sjis.c: Likewise.
5587 * iconvdata/t61.c: Likewise.
5588 * iconvdata/uhc.c: Likewise.
f81d98d6 5589
edf66db1 55901998-04-13 16:36 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5591
edf66db1 5592 * manual/texinfo.texi: Updated from last version.
f81d98d6 5593
edf66db1 55941998-04-13 14:52 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5595
edf66db1
SP
5596 * iconvdata/cns11643.c: New file.
5597 * iconvdata/cns11643.h: New file.
5598 * iconvdata/cns11643l1.c: New file.
5599 * iconvdata/cns11643l1.h: New file.
5600 * iconvdata/euctw.c: New file.
5601 * iconvdata/Makefile: Add rules for EUC-TW and CNS.
5602 * iconvdata/gconv-modules: Likewise.
f81d98d6 5603
edf66db1
SP
5604 * iconvdata/eucjp.c: Several bug fixes and improvements.
5605 * iconvdata/gb2312.h: Likewise.
5606 * iconvdata/jis0201.h: Likewise.
5607 * iconvdata/jis0208.h: Likewise.
5608 * iconvdata/jis0212.h: Likewise.
f81d98d6 5609
edf66db1 56101998-04-13 09:11 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5611
edf66db1
SP
5612 * iconvdata/eucjp.c: New file.
5613 * iconvdata/euccn.c: New file.
5614 * iconvdata/gb2312.h: New file.
5615 * iconvdata/gb2312.c: New file.
5616 * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
5617 * iconvdata/gconv-modules: Likewise.
f81d98d6 5618
edf66db1 5619 * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
f81d98d6 5620
edf66db1 56211998-04-12 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5622
edf66db1
SP
5623 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5624 (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
5625 Patch by Mark Hatle <fray@kernel.crashing.org>.
f81d98d6 5626
edf66db1 56271998-04-12 22:47 Philip Blundell <Philip.Blundell@pobox.com>
f81d98d6 5628
edf66db1
SP
5629 * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
5630 comment.
5631 (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
5632 (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
f81d98d6 5633
edf66db1 56341998-04-12 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5635
edf66db1 5636 * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
f81d98d6 5637
edf66db1
SP
5638 * iconvdata/Makefile: Add rules for big5 conversion.
5639 * iconvdata/gconv-modules: Likewise.
5640 * iconvdata/big5.c: New file.
f81d98d6 5641
edf66db1
SP
5642 * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
5643 Patch by Jim Meyering.
f81d98d6 5644
edf66db1 56451998-04-11 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5646
edf66db1 5647 * rt/tst-aio.c: Add test for aio_read and lio_listio.
f81d98d6 5648
edf66db1 5649 * rt/lio_listio.c: Correct total counter handling.
f81d98d6 5650
edf66db1
SP
5651 * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
5652 from request queue.
f81d98d6 5653
edf66db1
SP
5654 * test-skeleton.c (main): Make stdout unbuffered. Improve message
5655 of signal on exit even more.
f81d98d6 5656
edf66db1
SP
5657 * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
5658 instead of call to pthread_cond_init.
5659 * rt/lio_listio.c (lio_listio): Likewise.
5660 * rt/lio_listio64.c (lio_listio64): Likewise.
f81d98d6 5661
edf66db1 5662 * nis/nis_findserv.c: Include sys/socket.h.
f81d98d6 5663
edf66db1 56641998-04-11 09:33 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5665
edf66db1
SP
5666 * Makeconfig (rtobjdir): New variable.
5667 (rpath-link): Add rtobjdir and thread directory, if available.
f81d98d6 5668
edf66db1
SP
5669 * test-skeleton.c: Add support to remove temporary files.
5670 Always define test_dir. Improve message about expected signal.
f81d98d6 5671
edf66db1
SP
5672 * rt/Makefile (tests): Add tst-aio.
5673 Add rules for tst-aio to be linked with librt and thread library.
5674 * rt/aio_misc.c: Correct fundamental bugs.
5675 * rt/aio_suspend.c: Correct bug in test for available request.
5676 Initialize conditional variable.
5677 * rt/lio_listio.c: Initialize conditional variable.
5678 * rt/lio_listio64.c: Likewise.
5679 * rt/tst-aio.c: New file.
f81d98d6 5680
edf66db1
SP
5681 * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
5682 * sysdeps/libm-ieee754/w_gamma.c: Likewise. Adopt for ISO C 9x.
5683 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
5684 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
5685 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
5686 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
5687 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
f81d98d6 5688
edf66db1 56891998-04-11 14:49 Mark Kettenis <kettenis@landau.phys.uva.nl>
f81d98d6 5690
edf66db1 5691 * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
f81d98d6 5692
edf66db1 56931998-04-10 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5694
edf66db1
SP
5695 * elf/dl-load.c (open_path): Use correct name for test whether
5696 directory in load path exists.
f81d98d6 5697
edf66db1
SP
5698 * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
5699 * sysdeps/libm-ieee754/e_pow.c: Fix typo.
5700 Patches by Tom Rini <trini@kernel.crashing.org>.
f81d98d6 5701
edf66db1
SP
5702 * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
5703 * wcsmbs/wcstod_l.c: Likewise.
5704 * wcsmbs/wcstold_l.c: Likewise.
f81d98d6 5705
edf66db1 5706 * include/byteswap.h: New file.
f81d98d6 5707
edf66db1
SP
5708 * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
5709 .bss segment size. Patch by Joe Keane <jgk@jgk.org>.
f81d98d6 5710
edf66db1
SP
5711 * inet/getnameinfo.c (getnameinfo): Change parameter to match
5712 declaration. Patch by Richard Henderson.
f81d98d6 5713
edf66db1 57141998-04-10 12:40 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81d98d6 5715
edf66db1 5716 * manual/process.texi (SIGCHLD example): Save errno.
f81d98d6 5717
edf66db1 57181998-04-09 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5719
edf66db1
SP
5720 * posix/regex.c: Define regerror really as __regerror.
5721 * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
5722 regerror and regfree.
f81d98d6 5723
edf66db1
SP
5724 * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
5725 * stdlib/strtod_l.c: Likewise.
5726 * stdlib/strtold_l.c: Likewise.
f81d98d6 5727
edf66db1 5728 * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
f81d98d6 5729
edf66db1 5730 * sysdeps/i386/i486/bits/string.h: Remove unused variables.
f81d98d6 5731
edf66db1
SP
5732 * misc/syslog.c (closelog_internal): Set LogTag to NULL.
5733 Patch by Christian Gafton.
f81d98d6 5734
edf66db1 57351998-04-09 14:27 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5736
edf66db1
SP
5737 * manual/socket.texi (Interface Naming): Correct @deftypefun line
5738 for if_indextoname.
f81d98d6 5739
edf66db1 57401998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 5741
edf66db1 5742 * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
f81d98d6 5743
edf66db1 5744 * manual/socket.texi (Interface Naming): Fix typo.
f81d98d6 5745
edf66db1 57461998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 5747
edf66db1 5748 * manual/examples/filesrv.c (main): Remove filename first.
f81d98d6 5749
edf66db1
SP
5750 * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
5751 ?F_UNIX.
f81d98d6 5752
edf66db1
SP
5753 * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
5754 instead of PF_UNIX.
f81d98d6 5755
edf66db1
SP
5756 * manual/examples/filecli.c (main): Use AF_LOCAL
5757 instead of AF_UNIX.
f81d98d6 5758
edf66db1 57591998-04-09 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5760
edf66db1
SP
5761 * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
5762 signgam weak alias.
5763 * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
5764 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
5765 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
5766 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
5767 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
5768 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
f81d98d6 5769
edf66db1 5770 * login/utmp_daemon.c (open_socket): Use __connect not connect.
f81d98d6 5771
edf66db1 57721998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 5773
edf66db1
SP
5774 * configure.in: Add new option --enable-force-install. Substitute
5775 force_install.
5776 * config.make.in (force-install): Set from configure.
5777 * Makerules (force-install): New phony target.
5778 * Makeconfig (+force): New variable.
5779 * Makefile: Use it in dependency list of installation targets.
5780 * db/Makefile: Likewise.
5781 * db2/Makefile: Likewise.
5782 * elf/Makefile: Likewise.
5783 * hurd/Makefile: Likewise.
5784 * iconv/Makefile: Likewise.
5785 * iconvdata/Makefile: Likewise.
5786 * intl/Makefile: Likewise.
5787 * localedata/Makefile: Likewise.
5788 * login/Makefile: Likewise.
5789 * po/Makefile: Likewise.
5790 * sunrpc/Makefile: Likewise.
5791 * sysdeps/mach/hurd/Makefile: Likewise.
5792 * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
5793 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5794 * timezone/Makefile: Likewise.
f81d98d6 5795
edf66db1 57961998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 5797
edf66db1
SP
5798 * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
5799 alloc_size. Pass return value of getcwd syscall to realloc.
f81d98d6 5800
edf66db1 58011998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 5802
edf66db1 5803 * manual/socket.texi: Spelling fixes.
f81d98d6 5804
edf66db1 58051998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 5806
edf66db1 5807 * elf/dl-load.c (print_search_path): Remove unused variable.
f81d98d6 5808
edf66db1 58091998-04-08 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5810
edf66db1
SP
5811 * login/utmp_file.c: use __ftruncate not ftruncate.
5812 * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
5813 for system call and make ftruncate weak alias.
5814 * posix/unistd.h: Add prototype for __ftruncate.
5815 * login/utmp_daemon.c (open_socket): Use __socket not socket.
5816 * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
5817 instead of snprintf and readv.
5818 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
5819 snprintf.
5820 * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
5821 directly.
f81d98d6 5822
edf66db1
SP
58231998-04-08 20:06 Ulrich Drepper <drepper@cygnus.com>
5824
5825 * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
5826 * iconv/gconv_db.c: Use __ protected regex functions.
5827 * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
5828 * posix/getopt_init.c: Use __getpid not getpid.
5829 * posix/regex.c: Rename all global functions to start with __ and
5830 make old names weak aliases.
5831 * posix/regex.h: Adopt prototypes for this.
5832 * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
5833 a weak alias and use __getcwd instead of getcwd.
5834 * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
5835 * stdlib/strtod.c: Use __btowc instead of btowc.
5836 * stdlib/strtol.c: Likewise.
5837 * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
5838 * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
5839 and sys_errlist are weak.
5840 * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
5841 * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
5842 * wcsmbs/mbsnrtowcs.c: Likewise.
5843 * wcsmbs/mbsrtowcs.c: Likewise.
5844 * wcsmbs/wcsnrtombs.c: Likewise.
5845 * wcsmbs/wcsrtombs.c: Likewise.
5846 * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
5847 weak alias.
5848 * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
5849 * wctype/wctype.c: Define function as __wctype and make wctype
5850 weak alias.
5851 * wctype/wctype.h: Declare __wctype.
5852
58531998-04-08 Ulrich Drepper <drepper@cygnus.com>
5854
5855 * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
5856
58571998-04-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5858
5859 * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
5860 stat64.
5861 (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
5862 functions.
5863 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
5864 for __llseek.
5865 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5866 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
5867 * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
5868 make it a weak alias.
5869 * posix/unistd.h: Declare __lseek64.
f81d98d6 5870
edf66db1
SP
5871 * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
5872 (_IO_file_stat): Fix typo.
5873 (_IO_file_xsgetn): Update fd->_offset. Read a multiple of the
5874 block size from the file. Use __mempcpy if _LIBC.
f81d98d6 5875
edf66db1 58761998-04-07 20:32 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5877
edf66db1
SP
5878 * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
5879 * wcsmbs/mbrtowc.c: Likewise.
5880 * wcsmbs/mbsnrtowcs.c: Likewise.
5881 * wcsmbs/mbsrtowcs.c: Likewise.
5882 * wcsmbs/wcrtomb.c: Likewise.
5883 * wcsmbs/wcsnrtombs.c: Likewise.
5884 * wcsmbs/wcsrtombs.c: Likewise.
5885 * wcsmbs/wctob.c: Likewise.
f81d98d6 5886
edf66db1
SP
5887 * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
5888 position of next output character correctly.
5889 (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
f81d98d6 5890
edf66db1 5891 * stdio-common/vfprintf.c (vfprintf): Clear state before used.
f81d98d6 5892
edf66db1 5893 * stdlib/strtod.c: Don't use mbtowc.
f81d98d6 5894
edf66db1 58951998-04-07 19:07 H.J. Lu <hjl@gnu.org>
f81d98d6 5896
edf66db1
SP
5897 * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
5898 what we want is smaller than a buffer.
f81d98d6 5899
edf66db1 59001998-04-07 18:14 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5901
edf66db1
SP
5902 * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
5903 this function.
f81d98d6 5904
edf66db1 59051998-04-07 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5906
edf66db1
SP
5907 * configure.in: Recognize --with-headers flag and determine
5908 commandline options to be used in compilation.
5909 * Makeconfig (+includes): Use $(sysincludes).
5910 * config.make.in (sysincludes): Define from SYSINCLUDES.
5911 * glibcbug.in: Use SYSINCLUDES information.
5912 Patches by Zack Weinberg.
f81d98d6 5913
edf66db1 59141998-04-07 19:03 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81d98d6 5915
edf66db1
SP
5916 * glibcbug.in: On linux, report version of kernel headers seen
5917 by compiler.
f81d98d6 5918
edf66db1 59191998-04-07 16:18 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5920
edf66db1
SP
5921 * libc.map: Add __asprintf to GLIBC_2.1.
5922 * elf/dlerror.c: Use __asprintf, not asprintf.
5923 * libio/stdio.h: Declare __asprintf.
5924 * stdio-common/asprintf.c: Define as __asprintf and make asprintf
5925 a weak alias.
f81d98d6 5926
edf66db1
SP
5927 * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
5928 to avoid inclusion from libc_pic.a.
f81d98d6 5929
edf66db1 5930 * elf/dl-runtime.c: Undo last patch.
f81d98d6 5931
edf66db1 5932 * stdlib/strtod.c: Don't use mbtowc, use btowc.
f81d98d6 5933
edf66db1
SP
5934 * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
5935 as default, use NULL.
f81d98d6 5936
edf66db1 59371998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 5938
edf66db1
SP
5939 * resolv/Makefile: Include ../Makeconfig - needed for building
5940 static NSS module.
f81d98d6 5941
edf66db1 59421998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 5943
edf66db1
SP
5944 * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
5945 static-nss since we don't want hesiod in the static NSS.
f81d98d6 5946
edf66db1 5947 * nss/Makefile: Build only nss_files as static.
f81d98d6 5948
edf66db1 5949 * nss/function.def: Remove support for service db.
f81d98d6 5950
edf66db1 59511998-04-04 09:44 H.J. Lu <hjl@gnu.org>
f81d98d6 5952
edf66db1 5953 * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
f81d98d6 5954
edf66db1 59551998-04-04 18:29 Tim Waugh <tim@cyberelk.demon.co.uk>
f81d98d6 5956
edf66db1 5957 * posix/wordexp-test.c: Make IFS per test-case.
f81d98d6 5958
edf66db1 59591998-04-07 17:50 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81d98d6 5960
edf66db1
SP
5961 * glibcbug.in: Report version of gcc in use. Remove unused variable
5962 ENVIRONMENT.
f81d98d6 5963
edf66db1 59641998-04-07 Gordon Matzigkeit <gord@profitpress.com>
f81d98d6 5965
edf66db1
SP
5966 * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
5967 `-print-file-name' to find as and ld.
f81d98d6 5968
edf66db1 59691998-04-07 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 5970
edf66db1
SP
5971 * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
5972 template is wrong. Remove unused varaible `ignored'.
5973
59741998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5975
5976 * libc.map: Export __libc_sa_len.
5977
5978 * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
5979
59801998-04-07 08:51 Ulrich Drepper <drepper@cygnus.com>
5981
5982 * iconv/gconv.c: Take care for NULL arguments.
5983 * iconv/gconv_dl.c: Make find_func function global.
5984 * iconv/gconv_int.h: Add prototype for __gconv_find_func.
5985 Add prototypes for ASCII conversion functions.
5986 * iconv/gconv_simple.c: Add ASCII conversion functions.
5987 * locale/C-ctype.c: Correct charset name.
5988
5989 * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
5990 (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
5991 wcsmbsload.
5992 * wcsmbs/btowc.c: Rewrite to use iconv functionality.
5993 * wcsmbs/mbrtowc.c: Likewise.
5994 * wcsmbs/mbsnrtowcs.c: Likewise.
5995 * wcsmbs/mbsrtowcs.c: Likewise.
5996 * wcsmbs/wcrtomb.c: Likewise.
5997 * wcsmbs/wcsnrtombs.c: Likewise.
5998 * wcsmbs/wcsrtombs.c: Likewise.
5999 * wcsmbs/wctob.c: Likewise.
6000 * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen. Remove
6001 prototypes for wmemr*.
6002 * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
6003 * wcsmbs/wcsnlen.c: New file.
6004 * wcsmbs/wcsmbsload.c: New file.
6005 * wcsmbs/wcsmbsload.h: New file.
6006
6007 * manual/filesys.texi: Mention risks of tmpnam and mktemp.
f81d98d6 6008
edf66db1 6009 * manual/install.texi: Describe some more critical points.
f81d98d6 6010
edf66db1
SP
6011 * string/string.h: Add prototype for __strnlen.
6012 * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
f81d98d6 6013
edf66db1
SP
6014 * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
6015 much less predictable names.
6016 * sysdeps/posix/mkstemp.c: Likewise.
f81d98d6 6017
edf66db1 60181998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 6019
edf66db1
SP
6020 * manual/libc.texinfo (Top): Change "file namespace" to "local
6021 namespace".
f81d98d6 6022
edf66db1
SP
6023 * manual/socket.texi: Change file namespace to local namespace.
6024 (Out-of-Band Data): Remove unneeded variable link.
6025 (Host Address Functions): Use uint32_t consequently and add a
6026 number of clarifications for IPv4/IPv6, classless addresses.
6027 (Internet Namespace): Added some paragraphs about IPv6.
6028 Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
f81d98d6 6029
edf66db1 60301998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
f81d98d6 6031
edf66db1 6032 Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
f81d98d6 6033
edf66db1
SP
6034 * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
6035 (NI_NUMERICHOST, et al.): Tidy up and add comments.
6036 (AI_NUMERICHOST): Define.
6037 (getnodebyname): New prototype.
6038 (AI_V4MAPPED, et al.): New constants.
f81d98d6 6039
edf66db1
SP
6040 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
6041 * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
6042 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
6043 for socket.
6044 * sysdeps/unix/sysv/linux/sa_len.c: New file.
6045 * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
f81d98d6 6046
edf66db1
SP
6047 * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
6048
6049 * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
6050 * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
6051 * socket/Makefile (headers): Add bits/sockunion.h.
6052 * socket/sys/socket.h: Include <bits/sockunion.h>
6053 * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
6054 <sys/socket.h>, to avoid getting sockaddr_union defined.
6055 * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
92c3af3c 6056 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
edf66db1 6057 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
f81d98d6 6058
edf66db1
SP
6059 * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
6060 (2.2.x kernels won't have it).
f81d98d6 6061
edf66db1 60621998-04-06 21:21 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6063
edf66db1
SP
6064 * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
6065 * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
6066 * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
6067 Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
f81d98d6 6068
edf66db1 60691998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
f81d98d6 6070
edf66db1
SP
6071 * manual/socket.texi (Socket Addresses): Fix a typo.
6072 (Interface Naming): New section.
f81d98d6 6073
edf66db1 60741998-04-05 23:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81d98d6 6075
edf66db1
SP
6076 * configure.in: Check for CC using $ac_tool_prefix, to handle
6077 cross-compilation. Use AC_CHECK_TOOL to find MiG.
6078 * config.make.in: Add MIG to be substituted.
6079 * mach/Machrules: Don't define MIG variable.
f81d98d6 6080
edf66db1 6081 Patch by Gordon Matzigkeit <gord@profitpress.com>.
f81d98d6 6082
edf66db1 60831998-04-05 Mark Kettenis <kettenis@phys.uva.nl>
f81d98d6 6084
edf66db1
SP
6085 * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
6086 strdupa to copy rpath.
f81d98d6 6087
edf66db1 60881998-04-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 6089
edf66db1 6090 * configure.in: Fix gcc version check.
f81d98d6 6091
edf66db1
SP
6092 * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
6093 confusing.
f81d98d6 6094
edf66db1 60951998-03-31 Mark Kettenis <kettenis@phys.uva.nl>
f81d98d6 6096
edf66db1
SP
6097 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
6098 of ptsname_r.
f81d98d6 6099
edf66db1
SP
6100 * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
6101 like ttyname_r.
6102 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
6103 * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
6104 * sysdeps/unix/grantpt.c (grantpt): Change check of return value
6105 of __ptsname_r accordingly.
6106 * login/openpty.c (openpty): Likewise.
f81d98d6 6107
edf66db1 61081998-06-04 18:47 H.J. Lu <hjl@gnu.org>
f81d98d6 6109
edf66db1 6110 * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
f81d98d6 6111
edf66db1 61121998-04-06 13:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 6113
edf66db1 6114 * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
f81d98d6 6115
edf66db1 6116 * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
f81d98d6 6117
edf66db1 61181998-04-06 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
f81d98d6 6119
edf66db1
SP
6120 * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
6121 return value for better error checking.
f81d98d6 6122
edf66db1 61231998-04-06 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
f81d98d6 6124
edf66db1
SP
6125 * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
6126 _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
f81d98d6 6127
edf66db1
SP
6128 * elf/elf.h (EM_SPARC64): Remove.
6129 (EM_SPARC32PLUS, EM_SPARCV9): Add.
6130 (HWCAP_SPARC_V9): Add.
f81d98d6 6131
edf66db1
SP
6132 * elf/ldsodefs.h (_dl_hwcap): Declare.
6133 * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
6134 Weaken so dlopen from static progies works.
6135 (WEAKADDR): New macro.
6136 (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
6137 (LD_SO_PRELOAD): New macro.
6138 (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
6139 (elf_machine_rela): Weaken _dl_rtld_map.
f81d98d6 6140
edf66db1
SP
6141 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
6142 to __clone, and remove the later's alias.
6143 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
f81d98d6 6144
edf66db1
SP
6145 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
6146 the kernel's structure.
f81d98d6 6147
edf66db1
SP
6148 * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
6149 Sparc needs a custom value of __KERNEL_NCCS.
f81d98d6 6150
edf66db1 61511998-04-06 Richard Henderson <rth@cygnus.com>
f81d98d6 6152
edf66db1 6153 * sysdeps/generic/libc-start.c: Allow init and fini to be null.
f81d98d6 6154
edf66db1
SP
6155 * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
6156 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
f81d98d6 6157
edf66db1 61581998-04-06 Richard Henderson <rth@cygnus.com>
f81d98d6 6159
edf66db1
SP
6160 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
6161 as the buffer is not properly aligned.
6162 Reported by Juan Cespedes <cespedes@debian.org>.
f81d98d6 6163
edf66db1 61641998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 6165
edf66db1
SP
6166 * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
6167 instead of AF_FILE.
f81d98d6 6168
edf66db1 61691998-04-05 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6170
edf66db1
SP
6171 * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
6172 and wc*tomb* functions.
f81d98d6 6173
edf66db1 61741998-04-04 15:16 Philip Blundell <Philip.Blundell@pobox.com>
f81d98d6 6175
edf66db1 6176 * sysdeps/unix/start.c: Fix typo.
f81d98d6 6177
edf66db1 61781998-04-04 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6179
edf66db1 6180 * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
f81d98d6 6181
edf66db1 61821998-04-03 23:38 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6183
edf66db1
SP
6184 * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
6185 expressions and using array variables.
6186 * sysdeps/libm-ieee754/e_asin.c: Likewise.
6187 * sysdeps/libm-ieee754/e_j0.c: Likewise.
6188 * sysdeps/libm-ieee754/e_j1.c: Likewise.
6189 * sysdeps/libm-ieee754/e_log.c: Likewise.
6190 * sysdeps/libm-ieee754/e_pow.c: Likewise.
6191 * sysdeps/libm-ieee754/k_cos.c: Likewise.
6192 * sysdeps/libm-ieee754/k_sin.c: Likewise.
6193 * sysdeps/libm-ieee754/k_tan.c: Likewise.
6194 * sysdeps/libm-ieee754/s_atan.c: Likewise.
6195 * sysdeps/libm-ieee754/s_erf.c: Likewise.
6196 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
6197 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
6198 Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
6199
62001998-04-03 23:17 Ulrich Drepper <drepper@cygnus.com>
6201
6202 * iconv/gconv.c: Rewrite of the low-level of gconv.
6203 * iconv/gconv.h: Likewise.
6204 * iconv/gconv_builtin.h: Likewise.
6205 * iconv/gconv_close.c: Likewise.
6206 * iconv/gconv_db.: Likewise.
6207 * iconv/gconv_dl.c: Likewise.
6208 * iconv/gconv_int.h: Likewise.
6209 * iconv/gconv_open.c: Likewise.
6210 * iconv/gconv_simple.c: Likewise.
6211 * iconvdata/8bit-gap.c: Adapt for rewrite.
6212 * iconvdata/8bit-generic.c: Likewise.
6213 * iconvdata/euckr.c: Likewise.
6214 * iconvdata/iso646.c: Likewise.
6215 * iconvdata/iso6937.c: Likewise.
6216 * iconvdata/iso8859-1.c: Likewise.
6217 * iconvdata/johab.c: Likewise.
6218 * iconvdata/sjis.c: Likewise.
6219 * iconvdata/t61.c: Likewise.
6220 * iconvdata/uhc.c: Likewise.
6221
62221998-04-03 15:34 Ulrich Drepper <drepper@cygnus.com>
6223
6224 * iconv/gconv_int.h: New file. Internal header.
6225 * iconv/Makefile (distribute): Add gconv_int.h.
6226 * iconv/gconv.h: Remove definition which are now in gconv_int.h.
6227 * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
6228 * iconv/gconv_close.c: Likewise.
6229 * iconv/gconv_conf.c: Likewise.
6230 * iconv/gconv_db.c: Likewise.
6231 * iconv/gconv_dl.c: Likewise.
6232 * iconv/gconv_int.h: Likewise.
6233 * iconv/gconv_open.c: Likewise.
6234 * iconv/iconv.c: Likewise.
6235 * iconv/iconv_close.c: Likewise.
6236 * iconv/iconv_open.c: Likewise.
6237 * iconv/iconv_prog.c: Likewise.
6238
62391998-04-03 Ulrich Drepper <drepper@cygnus.com>
6240
6241 * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
6242 missing braces.
6243
62441998-04-03 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6245
6246 * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
6247
62481998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
6249
6250 Based on patch from Pat Beirne:
6251 * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
6252 PIC and non-PIC now. Correctly negate error number.
6253 (errno): Use `%' not `@' in .type directives.
6254
62551998-04-03 Ulrich Drepper <drepper@cygnus.com>
6256
6257 * sysdeps/i386/strtok.S: Change to use single exit point.
6258 * sysdeps/i386/i686/strtok.S: Likewise.
6259
62601998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6261
6262 * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
6263 default.
f81d98d6 6264
edf66db1 62651998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 6266
edf66db1 6267 * Makerules (installed-libcs): Fix typo.
f81d98d6 6268
edf66db1 62691998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 6270
edf66db1
SP
6271 * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
6272 (UHC-routines): Remove ksc5601.
f81d98d6 6273
edf66db1 62741998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
f81d98d6 6275
edf66db1
SP
6276 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
6277 introduced in last change.
f81d98d6 6278
edf66db1 62791998-04-03 06:22 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6280
edf66db1
SP
6281 * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
6282 before 2.1.92.
f81d98d6 6283
edf66db1 62841998-04-02 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6285
edf66db1 6286 * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
f81d98d6 6287
edf66db1
SP
6288 * stdlib/isomac.c: Use -isystem instead of -I for system include
6289 dir.
f81d98d6 6290
edf66db1 62911998-03-30 08:05 H.J. Lu <hjl@gnu.org>
f81d98d6 6292
edf66db1
SP
6293 * resolv/res_comp.c (underscorechar): New.
6294 (middlechar): Allow '_'.
f81d98d6 6295
edf66db1 62961998-04-02 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6297
edf66db1
SP
6298 * intl/explodename.c (stdlib.h): Include that file only if
6299 STDC_HEADERS or _LIBC.
6300 (string.h): Include that file only if HAVE_STRING_H or _LIBC.
6301 Patch by Philippe De Muyter <phdm@macqel.be>.
f81d98d6 6302
edf66db1 63031998-04-01 21:08 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81d98d6 6304
edf66db1
SP
6305 * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
6306 (AC_PROG_CHECK_VER): New macro.
6307 * configure.in: Use AC_PROG_CHECK_VER to check versions of
6308 gcc, gmake, msgfmt, makeinfo. Remove superfluous tests.
f81d98d6 6309
edf66db1 63101998-04-02 15:13 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6311
edf66db1
SP
6312 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
6313 * sysdeps/i386/i686/strtok.S: New file
6314 * sysdeps/i386/i686/strtok_r.S: New file
f81d98d6 6315
edf66db1 63161998-04-02 Mark Kettenis <kettenis@phys.uva.nl>
f81d98d6 6317
edf66db1
SP
6318 * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
6319 type to __off64_t.
6320 * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
6321 parameter as __off64_t instead of __off_t.
6322 (ftello): Make alias for ftello64 instead of ftello. Change
6323 return type to __off64_t.
f81d98d6 6324
edf66db1 63251998-04-02 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6326
edf66db1
SP
6327 * sysdeps/i386/bits/string.h: Fix various typos.
6328 Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
f81d98d6 6329
edf66db1 6330 * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
f81d98d6 6331
edf66db1 63321998-04-02 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6333
edf66db1
SP
6334 * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
6335 lchown syscall correctly. [PR libc/541].
f81d98d6 6336
edf66db1 63371998-04-02 11:45 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6338
edf66db1 6339 * localedata/Makefile: Correct testsuite rules.
f81d98d6 6340
edf66db1
SP
6341 * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
6342 * iconvdata/iso646.c: Fix conversion from UCS4.
6343
6344 * elf/ldsodefs.h: Mark internal function with internal_function.
6345 * elf/dl-addr.c: Likewise.
6346 * elf/dl-close.c: Likewise.
6347 * elf/dl-debug.c: Likewise.
6348 * elf/dl-deps.c: Likewise.
6349 * elf/dl-error.c: Likewise.
6350 * elf/dl-fini.c: Likewise.
6351 * elf/dl-init.c: Likewise.
6352 * elf/dl-load.c: Likewise.
6353 * elf/dl-lookup.c: Likewise.
6354 * elf/dl-object.c: Likewise.
6355 * elf/dl-open.c: Likewise.
6356 * elf/dl-profile.c: Likewise.
6357 * elf/dl-reloc.c: Likewise.
6358 * elf/dl-runtime.c: Likewise.
6359 * elf/dl-symbol.c: Likewise.
6360 * elf/dl-version.c: Likewise.
6361 * elf/dlerror.c: Likewise.
6362 * sysdeps/generic/dl-sysdep.c: Likewise.
6363 * sysdeps/i386/dl-machine.h: Likewise.
6364 * intl/finddomain.c: Likewise.
6365 * intl/gettextP.h: Likewise.
6366 * intl/loadmsgcat.c: Likewise.
f81d98d6 6367
edf66db1 63681998-04-01 17:38 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6369
edf66db1
SP
6370 * iconv/gconv_simple.c: New builtins for UCS en/decoding.
6371 * iconv/gconv_builtin.h: Add definitions for new builtins.
6372 * iconv/gconv.h: Add prototypes for new builtins.
f81d98d6 6373
edf66db1
SP
6374 * iconvdata/Makefile (modules): Add ISO646.
6375 Add rules for ISO646 module.
6376 (distribute): Add iso646.c.
6377 * iconvdata/gconv-modules: Add module and alias definition for
6378 ISO646 charsets.
6379 * iconvdata/iso646.c: New file.
f81d98d6 6380
edf66db1 63811998-04-01 16:10 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6382
edf66db1
SP
6383 * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
6384 * iconv/iconv_prog.c: Implement --list option to print available
6385 coded character sets.
f81d98d6 6386
edf66db1 63871998-04-01 18:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81d98d6 6388
edf66db1 6389 Make fread() read large blocks straight to the user buffer.
f81d98d6 6390
edf66db1
SP
6391 * libio/fileops.c (_IO_file_xsgetn): New function.
6392 (_IO_file_jumps): Use it.
6393 * libio/libioP.h: Prototype it.
f81d98d6 6394
edf66db1 63951998-04-01 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6396
edf66db1
SP
6397 * iconv/gconv_conf.c (builtin_aliases): New variable.
6398 (__gconv_read_conf): Add builtin aliases.
6399 * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
6400 noop macro before including gconv_builtin.h.
6401 * iconv/gconv_builtin.h: Add alias names.
f81d98d6 6402
edf66db1
SP
6403 * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
6404 number of converted bytes correctly.
f81d98d6 6405
edf66db1 64061998-04-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
f81d98d6 6407
edf66db1
SP
6408 * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
6409 we only wait for a replay.
f81d98d6 6410
edf66db1 64111998-04-01 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6412
edf66db1
SP
6413 * iconvdata/Makefile: Finally fix dependencies for JOHAB and
6414 EUC-KR modules.
f81d98d6 6415
edf66db1 64161998-04-1 16:52 Philip Blundell <pb@nexus.co.uk>
f81d98d6 6417
edf66db1
SP
6418 * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
6419 use PLTJMP() rather than explicit (PLT).
f81d98d6 6420
edf66db1
SP
6421 * sysdeps/arm/elf/start.S: Leave most of the initialisation for
6422 __libc_start_main().
f81d98d6 6423
edf66db1
SP
6424 Based on patch from Pat Beirne:
6425 * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
6426 Always define, not only #ifndef PIC.
6427 (DO_CALL): Pass fifth argument correctly in R4.
6428 (PSEUDO): Correct test for error, call syscall_error through PLT
6429 if PIC.
f81d98d6 6430
edf66db1 64311998-03-31 10:51 Philip Blundell <pb@nexus.co.uk>
f81d98d6 6432
edf66db1
SP
6433 * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
6434 definitions.
f81d98d6 6435
edf66db1 64361998-04-01 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6437
edf66db1
SP
6438 * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
6439 JOHAB.so.
f81d98d6 6440
edf66db1 64411998-04-01 13:20 Mark Kettenis <kettenis@phys.uva.nl>
f81d98d6 6442
edf66db1
SP
6443 * io/Makefile (static-only-routines): Add stat64, fstat64 and
6444 lstat64.
6445
64461998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6447
6448 * manual/Makefile: Use object-suffixes-for-libc instead of
6449 object-suffixes.
6450 * rpm/Makefile (install-lib): Likewise.
6451
64521998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6453
6454 * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
6455
6456 * sysdeps/unix/sysv/linux/configure.in: Match $machine against
6457 `m68*', not only `m68k'.
6458
64591998-04-01 10:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6460
6461 * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
6462
6463 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
6464 install lddlibc4.
6465
64661998-03-31 Ulrich Drepper <drepper@cygnus.com>
6467
6468 * iconvdata/Makefile: Use libKSC shared object in JOHAB and
6469 EUC-KR.
6470
6471 * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
6472 comment.
6473
64741998-03-30 08:43 H.J. Lu <hjl@gnu.org>
6475
6476 * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
6477 the init stuff.
6478
64791998-03-31 Ulrich Drepper <drepper@cygnus.com>
6480
6481 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
6482 adjtimex syscall.
6483 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
6484 adjtimex.
6485 Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
6486
64871998-03-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6488
6489 * Makerules (install): Change comment for libc.so following the
6490 libc_nonshared changes.
6491
64921998-03-31 Ulrich Drepper <drepper@cygnus.com>
6493
6494 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
6495
6496 * iconvdata/gap.pl: Avoid using %#06x.
6497
64981998-03-31 19:55 Zack Weinberg <zack@rabi.phys.columbia.edu>
6499
6500 * Makerules: Use $? instead of S^ when invoking ar.
6501
65021998-03-31 Ulrich Drepper <drepper@cygnus.com>
6503
6504 * db2/compat.h: Allow EFTYPE being defined.
6505 * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
6506 * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
6507 * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
6508 * sysdeps/mach/bits/libc-lock.h: Fix typo.
6509 (__libc_once): Correctly unlock semaphore.
6510 * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
6511 * sysdeps/unix/bsd/getpt.c: Fix typo.
6512 Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
6513
65141998-03-31 Ulrich Drepper <drepper@cygnus.com>
6515
6516 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
6517 macros.
6518
65191998-03-31 18:11 Ulrich Drepper <drepper@cygnus.com>
6520
6521 * include/mntent.h: New file.
6522
6523 * elf/Makefile (trusted-dirs.h): Append slash to filename.
6524 * elf/dl-load.c: Rewrite search path handling.
6525 * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
6526 * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
6527 * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
6528 * elf/ldsodefs.h: Add prototype.
6529
65301998-03-30 Ulrich Drepper <drepper@cygnus.com>
6531
6532 * nss/nsswitch.c (__nss_lookup): Adjust comment.
6533
6534 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
6535 function.
6536
6537 * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
6538
6539 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
6540 New function.
6541 (HWCAP_IMPORTANT): New definition.
6542
65431998-03-30 17:26 H.J. Lu <hjl@gnu.org>
6544
6545 * elf/dl-open.c (_dl_open): Fix a typo.
6546 (_dl_global_scope_alloc): Make it static.
6547
65481998-03-30 17:20 Ulrich Drepper <drepper@cygnus.com>
6549
6550 * Makerules: Remove duplicate rules to handle stamp.oS.
6551
65521998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6553
6554 * manual/examples/inetsrv.c (main): Change prototype of
6555 make_socket following change in mkisock.c.
6556
6557 * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
6558 example host.
6559 (main): Change prototype of init_sockaddr following change in
6560 isockadd.c.
6561
6562 * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
6563 * manual/examples/isockad.c (init_sockaddr): Likewise.
6564
6565 * manual/examples/mkfsock.c (make_named_socket): Removed blank
6566 lines for clarification.
6567 (make_named_socket): Use strncpy instead of strcpy.
6568 Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
6569
65701998-03-30 13:28 Ulrich Drepper <drepper@cygnus.com>
6571
6572 * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
6573 determining libs to remove.
6574 (postclean): Add soversions.mk.
6575 * Makerules (common-mostlyclean): Add tests-static and generated
6576 files.
6577
65781998-03-30 12:53 Ulrich Drepper <drepper@cygnus.com>
6579
6580 * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
6581 scanning for \0.
6582 (__strncat_g): Add i686 specific code.
6583
65841998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6585
6586 * manual/install.texi (Reporting Bugs): Ask to include section
6587 names in reports.
6588
65891998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6590
6591 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
6592 guard against direct inclusion.
6593
65941998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6595
6596 Rework support for libc_nonshared.a:
6597 * Makeconfig (object-suffixes-for-libc): New variable.
6598 * Rules: Remove handling of static-only and shared-only routines.
6599 * Makerules: Handle them here instead. Use
6600 object-suffixes-for-libc instead of object-suffixes when dealing
6601 with libc objects.
6602 (object-suffixes-for-rules): Remove variable.
6603 (elide-routines.oS): Elide all routines except static-only
6604 routines.
6605 ($(objpfx)stamp.oS): Special rule for when static-only-routines is
6606 empty.
6607 (installed-libcs): Remove special case for .oS.
6608 (rmobjs): Likewise.
6609
66101998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6611
6612 * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
6613 do-tst-rpmatch): New targets.
6614 (test): Use them.
6615 (install-locales): Ignore comment lines.
6616
66171998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6618
6619 * elf/Makefile ($(objpfx)ld.so): Depend on version script.
6620 ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
6621 ($(objpfx)rtldtbl.h): Likewise.
6622 (CPPFLAGS-dl-load.c): Fix reference to object directory.
6623
66241998-03-30 09:36 Ulrich Drepper <drepper@cygnus.com>
6625
6626 * manual/string.texi (Finding Tokens in a String): Extend strsep
6627 description and correct example.
6628
66291998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6630
6631 * manual/socket.texi: Remove misguided explicit line breaks and
6632 fix the formatting problem instead by reformulating the
6633 paragraphs.
6634 * manual/filesys.texi: Likewise.
6635 * manual/conf.texi: Likewise. Don't typeset table with index
6636 fonts, that looks worse than a minimally overfull line.
6637
66381998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 6639
edf66db1
SP
6640 * nscd/Makefile (nscd-modules): Move definition outside of
6641 conditional.
f81d98d6 6642
edf66db1
SP
6643 * pwd/Makefile: Use have-thread-library to test for thread
6644 library.
f81d98d6 6645
edf66db1 66461998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 6647
edf66db1 6648 * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
f81d98d6 6649
edf66db1 6650 * iconvdata/uhc.c (gconv): Remove unused variable idx.
f81d98d6 6651
edf66db1 66521998-03-30 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6653
edf66db1 6654 * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
f81d98d6 6655
edf66db1 66561998-03-29 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6657
edf66db1 6658 * nss/getXXent_r.c: Correctly handle failing setXXent function.
f81d98d6 6659
edf66db1
SP
6660 * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
6661 Reported by Andreas Jaeger.
f81d98d6 6662
edf66db1 66631998-03-29 20:59 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6664
edf66db1
SP
6665 * elf/Makefile: Fix typo.
6666 (distribute): Add dl-librecon.h.
6667 * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
6668 * elf/ldd.sh.in: Likewise.
6669 * elf/ldsodefs.h: Declare _dl_correct_cache_id.
6670 * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
6671 Use strsep correctly.
6672 (process_envvars): Allow platform specific variables.
6673 * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
6674 (_dl_load_cache_lookup): Test cache IDs found against
6675 _dl_correct_cache_id.
6676 * sysdeps/generic/dl-librecon.h: New file.
6677 * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
6678
6679 * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
6680
66811998-03-29 16:50 Ulrich Drepper <drepper@cygnus.com>
6682
6683 * config.make.in (ldd-rewrite-script): New variable.
6684 * configure.in: Substitute ldd-rewrite-script.
6685 * elf/Makefile: Rewrite rules to generate ldd script.
6686 * elf/ldd.bash.in: Allow handling of non-ELF binaries.
6687 * elf/ldd.sh.in: Likewise.
6688 * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
6689 * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
6690 point to sed script for libc4 handling insertion for ix86, m68, SPARC.
6691 * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
6692 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
f81d98d6 6693
edf66db1 66941998-03-26 15:20 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81d98d6 6695
edf66db1
SP
6696 * inet/rcmd.c (iruserok): Remain setuid to the local user
6697 while .rhosts is actually read, to make .rhosts-over-NFS work
6698 (PR libc/524). Use iruserfopen() for security checks on both
6699 hosts.equiv and .rhosts. General cleanup.
6700 (iruserfopen): New function, performs careful checking on
6701 hosts.equiv/.rhosts files. Disallows all the old forbidden
6702 stuff plus hard links to files.
f81d98d6 6703
edf66db1 67041998-03-29 09:26 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6705
edf66db1 6706 * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
f81d98d6 6707
edf66db1 6708 * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
f81d98d6 6709
edf66db1 67101998-03-29 02:02 H.J. Lu <hjl@gnu.org>
f81d98d6 6711
edf66db1 6712 * sysdeps/i386/i486/bits/string.h: Fix typos.
f81d98d6 6713
edf66db1 67141998-03-28 00:13 H.J. Lu <hjl@gnu.org>
f81d98d6 6715
edf66db1
SP
6716 * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
6717 strong alias.
f81d98d6 6718
edf66db1 6719 * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
f81d98d6 6720
edf66db1
SP
6721 * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
6722 Added. Used by libm.so on alpha.
f81d98d6 6723
edf66db1 67241998-03-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
f81d98d6 6725
edf66db1
SP
6726 * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
6727 defined.
f81d98d6 6728
edf66db1 67291998-03-27 07:29 H.J. Lu <hjl@gnu.org>
f81d98d6 6730
edf66db1
SP
6731 * Makerules (object-suffixes-for-rules): Add .oS only for
6732 building shared library.
6733 Add ranlib rule for nonshared library.
6734 (rmobjs): Fix typo.
f81d98d6 6735
edf66db1
SP
6736 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
6737 into for shared library only.
6738 (CPPFLAGS-.oS): Add -DPIC.
6739 (libtypes): Use $(object-suffixes-for-rules) instead of
6740 $(object-suffixes).
f81d98d6 6741
edf66db1 67421998-03-28 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6743
edf66db1
SP
6744 * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
6745 and install lddlibc4.
f81d98d6 6746
edf66db1 67471998-03-28 09:13 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81d98d6 6748
edf66db1
SP
6749 * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
6750 hash.
6751 * iconvdata/gaptab.pl: Likewise.
f81d98d6 6752
edf66db1 67531998-03-27 22:46 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6754
edf66db1
SP
6755 * Rules: Allow Makefiles to specify test-static for tests which
6756 cannot be linked dynamically.
6757 * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
6758 tests-static.
f81d98d6 6759
edf66db1 6760 * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
f81d98d6 6761
edf66db1 6762 * misc/error.c: Pretty print.
f81d98d6 6763
edf66db1 67641998-03-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 6765
edf66db1
SP
6766 * Makerules (libc_nonshared-name): Remove variable.
6767 (installed-libcs): Use libc-name instead.
6768 ($(inst_libdir)/libc.so): Likewise. Remove explicit reference to
6769 dynamic linker.
f81d98d6 6770
edf66db1
SP
6771 * Makeconfig (link-libc): Link against libc_nonshared.a instead of
6772 libc.a. Remove explicit reference to dynamic linker.
f81d98d6 6773
edf66db1 67741998-03-27 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6775
edf66db1
SP
6776 * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
6777 to wchar_t.
6778 * iconv/iconv_prog.c: Correctly test for write failure.
6779 * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
6780 * iconvdata/gconv-modules: Likewise.
6781 * iconvdata/euckr.c: New file.
6782 * iconvdata/johab.c: New file.
6783 * iconvdata/ksc5601.c: New file.
6784 * iconvdata/ksc5601.h: New file.
6785 * iconvdata/uhc.c: New file.
6786 Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
f81d98d6 6787
edf66db1
SP
6788 * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
6789 * stdio/fopen.c: Correct handling of 'x' flag.
6790 Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
f81d98d6 6791
edf66db1 67921998-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 6793
edf66db1
SP
6794 * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
6795 * sunrpc/rpcsvc/key_prot.x: Likewise.
6796 * sunrpc/key_prot.c: Likewise.
f81d98d6 6797
edf66db1 67981998-03-27 13:49 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6799
edf66db1
SP
6800 * sysdeps/i386/bits/string.h: Correct things which never worked.
6801 * sysdeps/i386/i486/bits/string.h: Add clobber marks.
6802 Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
f81d98d6 6803
edf66db1 68041998-03-27 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6805
edf66db1
SP
6806 * intl/textdomain.c [_LIBC]: Define strdup only if not yet
6807 defined. Reported by Thorsten Kukuk.
f81d98d6 6808
edf66db1 68091998-03-26 18:50 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6810
edf66db1 6811 * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
f81d98d6 6812
edf66db1 68131998-03-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 6814
edf66db1
SP
6815 * manual/install.texi (Supported Configurations): Add
6816 arm-linuxaout and arm-none.
f81d98d6 6817
edf66db1 68181998-03-26 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6819
edf66db1 6820 * version.h (VERSION): Bump to 2.0.93.
f81d98d6 6821
edf66db1 68221998-03-25 07:30 H.J. Lu <hjl@gnu.org>
f81d98d6 6823
edf66db1 6824 * configure.in (libc_cv_ar_S): New to indicate if ar S works.
f81d98d6 6825
edf66db1 6826 * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
f81d98d6 6827
edf66db1
SP
6828 * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
6829 (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
f81d98d6 6830
edf66db1 68311998-03-26 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6832
edf66db1 6833 * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
f81d98d6 6834
edf66db1 68351998-03-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 6836
edf66db1
SP
6837 Put the static-only routines in a separate library.
6838 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
6839 variables.
6840 (all-object-suffixes): Add .oS.
6841 * Makerules (libc_static-name): New variable.
6842 (installed-libcs): Add libc_nonshared.a.
6843 ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
6844 (object-suffixes-for-rules): New variable. Use it instead of
6845 object-suffixes for generating compilation rules.
6846 (rmobjs): Also remove *.oS.
6847 * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
6848 ($(objpfx)stamp.oS): New target.
f81d98d6 6849
edf66db1 68501998-03-26 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6851
edf66db1 6852 * Makefile (FAQ): Automatically check in regenerated FAQ.
f81d98d6 6853
edf66db1 68541998-03-26 10:16 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81d98d6 6855
edf66db1 6856 * Makefile (INSTALL): Depend on install.texi, not maint.texi.
f81d98d6 6857
edf66db1 68581998-03-25 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6859
edf66db1
SP
6860 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
6861 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
f81d98d6 6862
edf66db1 6863 * sysdeps/generic/stub_warning: Removed.
f81d98d6 6864
edf66db1 6865 * Makefile (distribute): Add include/des.h.
f81d98d6 6866
edf66db1
SP
6867 * manual/Makefile (distribute): Change dir-add.texi to
6868 dir-add.texinfo.
f81d98d6 6869
edf66db1 6870 * glibcbug.in: Create files safely when mktemp is not available.
f81d98d6 6871
edf66db1
SP
6872 * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
6873 Patch by a sun <asun@saul1.u.washington.edu>.
f81d98d6 6874
edf66db1 68751998-03-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
f81d98d6 6876
edf66db1 6877 * libc.map: Rename getname to getnetname.
f81d98d6 6878
edf66db1 68791998-03-25 13:35 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6880
edf66db1 6881 * manual/maint.texi: Use supported platform in examples.
f81d98d6 6882
edf66db1 6883 * manual/install.texi: Document some installation tips.
f81d98d6 6884
edf66db1 68851998-03-25 10:56 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6886
edf66db1
SP
6887 * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
6888 Fix a bug so that it returns an error if a numeric parameter is
6889 unset and WRDE_UNDEF is set.
6890 Patch by Andreas Schwab and Tim Waugh.
6891 * posix/wordexp-test.c: Add new new test.
f81d98d6 6892
edf66db1 68931998-03-25 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6894
edf66db1
SP
6895 * posix/regex.c (regex_compile): Last patch wasn't entirely
6896 correct. Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
f81d98d6 6897
edf66db1 68981998-03-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 6899
edf66db1 6900 * manual/filesys.texi (Scanning Directory Content): Fix typo.
f81d98d6 6901
edf66db1 69021998-03-25 09:24 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
f81d98d6 6903
edf66db1
SP
6904 * sysdeps/i386/bits/string.h: Fix all assembler statements so that
6905 clobbered registers don't appear as operands.
f81d98d6 6906
edf66db1 69071998-03-24 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6908
edf66db1
SP
6909 * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
6910 Solaris' sake.
f81d98d6 6911
edf66db1
SP
6912 * posix/regex.c (regex_compile): Don't allow non-alphabet
6913 characters in character set name.
f81d98d6 6914
edf66db1 69151998-03-25 00:00 Tim Waugh <tim@cyberelk.demon.co.uk>
f81d98d6 6916
edf66db1
SP
6917 * posix/wordexp.c (w_newword): New function.
6918 (do_parse_glob): New function.
6919 (parse_glob): Use do_parse_glob. Now handles the case where a
6920 variable expansion causes a field-split.
6921 (wordexp): Use w_newword.
6922 (parse_arith): Likewise.
6923 (exec_comm): Likewise.
6924 (parse_comm): Likewise.
6925 (parse_param): Likewise.
6926 (parse_backtick): Likewise.
f81d98d6 6927
edf66db1 69281998-03-24 19:36 Tim Waugh <tim@cyberelk.demon.co.uk>
f81d98d6 6929
edf66db1 6930 * posix/wordexp-tst.sh: Another test.
f81d98d6 6931
edf66db1 6932 * posix/wordexp-test.c: Two new tests.
f81d98d6 6933
edf66db1
SP
6934 * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
6935 directly (the code using realloc was buggy).
6936 (parse_param): Fix typo in comment.
f81d98d6 6937
edf66db1 69381998-03-24 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6939
edf66db1 6940 * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
f81d98d6 6941
edf66db1 69421998-03-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
f81d98d6 6943
edf66db1 6944 * libc.map: Add more rpc auth functions/variables.
f81d98d6 6945
edf66db1 6946 * nscd/nscd.c: Add -g option to argp options.
f81d98d6 6947
edf66db1 69481998-03-24 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6949
edf66db1
SP
6950 * configure.in: Be prepared for gcc 2.9.10 and up.
6951 * configure.in: Add missing disabling of quote characters in
6952 compiler version check. Reported by HJ Lu.
f81d98d6 6953
edf66db1 69541998-03-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 6955
edf66db1 6956 * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
f81d98d6 6957
edf66db1 69581998-03-24 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6959
edf66db1 6960 * intl/locale.alias: Fix spelling of romanian.
f81d98d6 6961
edf66db1
SP
6962 * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
6963 (distribute): Remove des.h.
6964 * include/des.h: New file.
6965 * sunrpc/des.h: Moved to ...
6966 * sunrpc/rpc/rpc_des.h: ...here.
f81d98d6 6967
edf66db1 69681998-03-22 NIIBE Yutaka <gniibe@mri.co.jp>
f81d98d6 6969
edf66db1
SP
6970 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
6971 Fix paren.
f81d98d6 6972
edf66db1 69731998-03-24 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6974
edf66db1
SP
6975 * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
6976 parameter const. Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
f81d98d6 6977
edf66db1 69781998-03-24 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 6979
edf66db1
SP
6980 * elf/ldsodesf.h: New file.
6981 * elf/Makefile (distribute): Add ldsodefs.h.
6982 * elf/link.h: Separate internal information in exter header.
6983 * elf/rtld.c: Include elf/ldsodefs.h not link.h.
6984 * elf/dl-minimal.c: Likewise.
6985 * sysdeps/generic/dl-sysdep.c: Likewise.
6986 * elf/sprof.c: Likewise.
6987 * elf/dlsym.c: Likewise.
6988 * elf/dlvsym.c: Likewise.
6989 * elf/dlerror.c: Likewise.
6990 * elf/dladdr.c: Likewise.
6991 * elf/dlclose.c: Likewise.
6992 * elf/dlopen.c: Likewise.
6993 * elf/dl-addr.c: Likewise.
6994 * elf/dl-close.c: Likewise.
6995 * elf/dl-debug.c: Likewise.
6996 * elf/dl-deps.c: Likewise.
6997 * elf/dl-error.c: Likewise.
6998 * elf/dl-fini.c: Likewise.
6999 * elf/dl-init.c: Likewise.
7000 * elf/dl-load.c: Likewise.
7001 * elf/dl-lookup.c: Likewise.
7002 * elf/dl-object.c: Likewise.
7003 * elf/dl-open.c: Likewise.
7004 * elf/dl-profile.c: Likewise.
7005 * elf/dl-reloc.c: Likewise.
7006 * elf/dl-runtime.c: Likewise.
7007 * elf/dl-support.c: Likewise.
7008 * elf/dl-symbol.c: Likewise.
7009 * elf/dl-version.c: Likewise.
7010 * sysdeps/generic/dl-cache.c: Likewise.
7011 * sysdeps/generic/libc-start.c: Likewise.
7012 * iconv/gconv_dl.c: Likewise.
7013 * nss/nsswitch.c: Likewise.
f81d98d6 7014
edf66db1 70151998-03-23 13:45 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7016
edf66db1
SP
7017 * manual/nss.texi: The database is not called network but networks.
7018 Reported by Herbert Xu <herbert@gondor.apana.org.au>.
f81d98d6 7019
edf66db1 70201998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 7021
edf66db1
SP
7022 * configure.in: Correct test for compiler version.
7023 Check that LD_LIBRARY_PATH doesn't contain current path.
f81d98d6 7024
edf66db1 70251998-03-23 07:52 H.J. Lu <hjl@gnu.org>
f81d98d6 7026
edf66db1
SP
7027 * elf/dl-close.c (_dl_close): Fix byte count while removing
7028 the shared object from the global scope list and optimize
7029 a little bit.
f81d98d6 7030
edf66db1 70311998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 7032
edf66db1
SP
7033 * manual/filesys.texi (Scanning Directory Content): Add missing
7034 closing brace.
7035 (Scanning Directory Content): Fix text.
f81d98d6 7036
edf66db1 70371998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 7038
edf66db1
SP
7039 * manual/memory.texi (Heap Consistency Checking): Add paragraph
7040 explaining difference of -lmcheck and MALLOC_CHECK_.
f81d98d6 7041
edf66db1 70421998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 7043
edf66db1
SP
7044 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
7045 typos in comments.
f81d98d6 7046
edf66db1 70471998-03-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 7048
edf66db1 7049 * test-skeleton.c (main): Fix test for exit signal.
f81d98d6 7050
edf66db1 70511998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 7052
edf66db1 7053 * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
f81d98d6 7054
edf66db1 70551998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 7056
edf66db1
SP
7057 * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
7058 appropriate.
f81d98d6 7059
edf66db1 70601998-03-23 11:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 7061
edf66db1 7062 * libc.map: Export __strtok_r.
f81d98d6 7063
edf66db1 70641998-03-23 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7065
edf66db1
SP
7066 * posix/regex.c (re_compile_fastmap): Remove unused variable
7067 num_regs and adjust comment.
7068 Patch by Jim Meyering <meyering@ascend.com>.
f81d98d6 7069
edf66db1
SP
7070 * math/math.h (M_*l): Extend long double constants to be usable
7071 for 128 bit floats. Patch by Richard Henderson.
f81d98d6 7072
edf66db1 70731998-03-23 11:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 7074
edf66db1 7075 * sysdeps/m68k/m68020/wordcopy.S: New file.
f81d98d6 7076
edf66db1 70771998-03-22 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7078
edf66db1
SP
7079 * posix/wordexp.c: Rewrite parse_param.
7080 Patch by Tim Waugh and Andreas Schwab.
f81d98d6 7081
edf66db1 70821998-03-21 23:46 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81d98d6 7083
edf66db1 7084 * Rules: Update timestamps on empty object files.
f81d98d6 7085
edf66db1 70861998-03-21 09:15 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7087
edf66db1
SP
7088 * manual/filesys.texi (Scanning Directory Content): Add description
7089 of 64 bits scandir function and friends.
f81d98d6 7090
edf66db1 70911998-03-20 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7092
edf66db1
SP
7093 * glibcbug.in: Use mktemp to generate unique file name for
7094 temporary files.
f81d98d6 7095
edf66db1
SP
7096 * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
7097 ptsname_r. Use cast for execve call.
f81d98d6 7098
edf66db1 70991998-03-20 16:24 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7100
edf66db1
SP
7101 * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
7102 * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
7103 * io/sys/statvfs.h: New file.
7104 * sysdeps/generic/fstatvfs.h: New file.
7105 * sysdeps/generic/statvfs.h: New file.
7106 * sysdeps/generic/fstatvfs64.h: New file.
7107 * sysdeps/generic/statvfs64.h: New file.
7108 * sysdeps/generic/bits/statvfs.h: New file.
7109 * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
7110 * sysdeps/unix/sysv/linux/statvfs.c: New file.
7111 * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
f81d98d6 7112
edf66db1
SP
7113 * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
7114 and f_ffree elements.
f81d98d6 7115
edf66db1
SP
7116 * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print. Define
7117 mount options in enum.
f81d98d6 7118
edf66db1 71191998-03-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 7120
edf66db1 7121 * configure.in: Check for recent egcs/gcc.
f81d98d6 7122
edf66db1 71231998-03-20 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7124
edf66db1
SP
7125 * libc.map: Add alphasort64, scandir64, versionsort64.
7126 * dirent/Makefile (routines): Add scandir64, alphasort64, and
7127 versionsort64.
7128 * dirent/alphasort64.c: New file.
7129 * dirent/scandir64.c: New file.
7130 * dirent/versionsort64.c: New file.
7131 * dirent/dirent.h: Add LFS support for scandir, alphasort, and
7132 versionsort.
7133 * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
7134 old name weak alias.
7135 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
f81d98d6 7136
edf66db1 7137 * dirent/alphasort.c: Use strcoll instead of strcmp.
f81d98d6 7138
edf66db1 7139 * dirent/scandir.c: Optimize a bit.
f81d98d6 7140
edf66db1 7141 * dirent/versionsort.c: Pretty print.
f81d98d6 7142
edf66db1 71431998-03-20 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7144
edf66db1 7145 * string/string.h: Add prototype for __strtok_r.
f81d98d6 7146
edf66db1 71471998-03-20 12:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 7148
edf66db1 7149 * posix/Makefile: Fix typo in last change.
f81d98d6 7150
edf66db1 71511998-03-20 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7152
edf66db1
SP
7153 * dirent/dirent.h (scandir): Make argument of select function const.
7154 * dirent/scandir.c (scandir): Likewise.
7155 Reported by David.Faure@insa-lyon.fr [PR libc/512].
f81d98d6 7156
edf66db1 71571998-03-19 14:28 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7158
edf66db1
SP
7159 * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
7160 weak alias.
7161 * sysdeps/i386/strtok_r.c: Likewise.
f81d98d6 7162
edf66db1
SP
7163 * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
7164 * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
7165 * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
7166 * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
7167 * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
7168 * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
f81d98d6 7169
edf66db1 71701998-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 7171
edf66db1 7172 * intl/localealias.c: Remove unneeded define for strdup.
f81d98d6 7173
edf66db1 71741998-03-19 13:45 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7175
edf66db1
SP
7176 * manual/argp.texi: Adjust for better TeX output.
7177 * manual/arith.texi: Likewise.
7178 * manual/conf.texi: Likewise.
7179 * manual/filesys.texi: Likewise.
7180 * manual/header.texi: Likewise.
7181 * manual/lgpl.texinfo: Likewise.
7182 * manual/math.texi: Likewise.
7183 * manual/message.texi: Likewise.
7184 * manual/pattern.texi: Likewise.
7185 * manual/process.texi: Likewise.
7186 * manual/signal.texi: Likewise.
7187 * manual/socket.texi: Likewise.
7188 * manual/startup.texi: Likewise.
7189 * manual/stdio.texi: Likewise.
7190 * manual/terminal.texi: Likewise.
7191 * manual/examples/rprintf.c: Likewise.
7192 * manual/examples/testopt.c: Likewise.
7193 Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
f81d98d6 7194
edf66db1 71951998-03-19 20:45 Tim Waugh <tim@cyberelk.demon.co.uk>
f81d98d6 7196
edf66db1
SP
7197 * posix/wordexp.c (parse_param): Don't immediately stop parsing a
7198 parameter name after seeing a digit if it's enclosed in braces.
f81d98d6 7199
edf66db1 72001998-03-18 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7201
edf66db1 7202 * sysdeps/i386/i686/Implies: Add libm-i387/i686.
f81d98d6 7203
edf66db1 72041998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 7205
edf66db1
SP
7206 * manual/memory.texi (Heap Consistency Checking): Document
7207 MALLOC_CHECK_. Based on a text by Wolfram Gloger.
f81d98d6 7208
edf66db1 72091998-03-18 17:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81d98d6 7210
edf66db1 7211 * manual/Makefile: Add missing rules.
f81d98d6 7212
edf66db1 72131998-03-18 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7214
edf66db1 7215 * timezone/Makefile (generated): Define to remove all stamp files.
f81d98d6 7216
edf66db1 7217 * sysdeps/generic/strsep.c: Also undefine __strsep.
f81d98d6 7218
edf66db1
SP
7219 * string/strdup.c: Undefine __strdup and strdup first.
7220 * string/strndup.c: Likewise.
f81d98d6 7221
edf66db1
SP
7222 * string/bits/string2.h: Correct strtok_r and strsep.
7223 Add strndup optimization.
f81d98d6 7224
edf66db1 7225 * sysdeps/generic/strsep.c: Little optimization.
f81d98d6 7226
edf66db1 72271998-03-18 14:25 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7228
edf66db1
SP
7229 * string/bits/string2.h: Add optimization for strdup.
7230 Always define __strsep and __strtok_r and make real names available
7231 when feature select macros are defined.
f81d98d6 7232
edf66db1 72331998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 7234
edf66db1
SP
7235 * manual/install.texi (Installation): Use i486-linux as example
7236 instead of the unsupported sunos4.
7237 (Reporting Bugs): Mention glibcbug script.
7238 (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
f81d98d6 7239
edf66db1 72401998-03-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 7241
edf66db1 7242 * posix/wordexp-tst.sh: Make portable. Add more tests.
f81d98d6 7243
edf66db1 7244 * posix/Makefile (do-globtest do-wordexp-test): New targets.
f81d98d6 7245
edf66db1 72461998-03-18 13:38 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7247
edf66db1
SP
7248 * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
7249 * sysdeps/generic/libc-start.c: ...here, replacing former content.
f81d98d6 7250
edf66db1
SP
7251 * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
7252 netpacket/packet.h.
f81d98d6 7253
edf66db1 7254 * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
f81d98d6 7255
edf66db1 72561998-03-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 7257
edf66db1
SP
7258 * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
7259 in enumerator for strict standard compliance.
7260 * sysdeps/generic/bits/resource.h: Likewise.
f81d98d6 7261
edf66db1 72621998-03-18 10:04 Philip Blundell <pb@nexus.co.uk>
f81d98d6 7263
edf66db1
SP
7264 * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
7265 (PLTJMP): New macro.
f81d98d6 7266
edf66db1
SP
7267 * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
7268 longjmp() when floating point enabled.
7269 * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
7270 * sysdeps/arm/__longjmp.S: Remove floating point code.
7271 * sysdeps/arm/setjmp.S: Likewise.
f81d98d6 7272
edf66db1
SP
7273 * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
7274 * sysdeps/arm/bsd-_setjmp.S: Likewise.
f81d98d6 7275
edf66db1
SP
7276 * sysdeps/arm/memset.S: New file; optimised ARM implementation of
7277 memset().
f81d98d6 7278
edf66db1
SP
7279 * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
7280 prototype.
f81d98d6 7281
edf66db1 72821998-03-17 16:16 Philip Blundell <pb@nexus.co.uk>
f81d98d6 7283
edf66db1 7284 Based on patches from Pat Beirne and Scott Bambrough:
f81d98d6 7285
edf66db1 7286 * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
f81d98d6 7287
edf66db1 7288 * sysdeps/arm/bits/fenv.h: New file.
f81d98d6 7289
edf66db1
SP
7290 * sysdeps/arm/dl-machine.h: New file. Add ELF support.
7291 * sysdeps/arm/elf/setjmp.S: Likewise.
7292 * sysdeps/arm/elf/start.S: Likewise.
7293 * sysdeps/arm/init-first.c: Likewise.
7294 * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
7295 * sysdeps/arm/sysdep.h: Change format of .type directive. Correct
7296 comment about floating point to reflect current reality.
f81d98d6 7297
edf66db1
SP
7298 * sysdeps/unix/arm/brk.S: Support PIC.
7299 * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
7300 re-entrant code.
7301 * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
7302 return; call syscall_error through PLT.
7303 * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
f81d98d6 7304
edf66db1 73051998-03-04 12:01 Philip Blundell <pb@nexus.co.uk>
f81d98d6 7306
edf66db1
SP
7307 * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
7308 * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
7309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
f81d98d6 7310
edf66db1 73111998-03-18 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7312
edf66db1
SP
7313 * dirent/list.c (test): Return error value.
7314 (main): Exit with error value.
f81d98d6 7315
edf66db1 7316 * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
f81d98d6 7317
edf66db1
SP
7318 * Makefile (distribute): Add test-skeleton.c.
7319 * test-skeleton.c: New file.
7320 * dirent/Makefile (tests): Add opendir-tst1.
7321 * dirent/opendir-tst1.c: New file.
f81d98d6 7322
edf66db1 73231998-03-18 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7324
edf66db1
SP
7325 * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
7326 Optimize memory handling.
7327 * sysdeps/unix/closedir.c: Optmize memory handling.
f81d98d6 7328
edf66db1 73291998-03-17 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7330
edf66db1
SP
7331 * posix/wordexp.c (parse_param): Fix off-by-on error in $@
7332 handling. Optimize a bit.
f81d98d6 7333
edf66db1 73341998-03-18 00:25 Tim Waugh <tim@cyberelk.demon.co.uk>
f81d98d6 7335
edf66db1
SP
7336 * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
7337 (parse_param): Fold in Andreas' fixes to do with when the end of
7338 the parameter name has been reached, and quoting inside ${...}.
7339 (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
7340 $((echo);(ls)).
f81d98d6 7341
edf66db1 73421998-03-16 22:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
f81d98d6 7343
edf66db1
SP
7344 * manual/maint.texi: Split out installation and contribution
7345 sections to their own appendices. Misc cleanups.
7346 * manual/install.texi: New file. Mention add-ons. Refer to FAQ.
7347 * manual/contrib.texi: New file.
7348 * manual/libc.texinfo: Pull in new appendices.
7349 * manual/header.texi: Correct node pointer.
f81d98d6 7350
edf66db1 73511998-03-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 7352
edf66db1
SP
7353 * manual/process.texi (Process Completion): Clarify return value
7354 of waitpid a bit. Patch by Zack Weinberg. [PR libc/490]
f81d98d6 7355
edf66db1 73561998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 7357
edf66db1
SP
7358 * posix/wordexp-test.c: Add more tests.
7359 (testit): Fix logic.
f81d98d6 7360
edf66db1
SP
7361 * posix/wordexp.c (exec_comm): In the child, redirect stderr to
7362 /dev/null instead of closing it, close pipe. Always chop off all
7363 trailing newlines. Kill and reap child before returning error.
7364 (w_addword, parse_glob): Fix memory leak.
7365 (wordexp): Fix dangling pointer problem.
f81d98d6 7366
edf66db1 73671998-03-16 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7368
edf66db1 7369 * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
f81d98d6 7370
edf66db1 7371 * posix/wordexp-test.c (main): Fix little thinkos and typos.
f81d98d6 7372
edf66db1
SP
7373 * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
7374 directory index by only the language.
f81d98d6 7375
edf66db1 73761998-03-16 13:02 Tim Waugh <tim@cyberelk.demon.co.uk>
f81d98d6 7377
edf66db1
SP
7378 * posix/wordexp-tst.sh: Store test results in the
7379 ${common_objpfx}posix directory.
f81d98d6 7380
edf66db1 7381 * posix/wordexp-test.c: Remove temporary directory afterwards.
f81d98d6 7382
edf66db1 73831998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 7384
edf66db1 7385 * libc.map: Export internal versions of cancelable functions.
f81d98d6 7386
edf66db1 73871998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 7388
edf66db1 7389 * Makerules (MAKEFLAGS): Append `r'.
f81d98d6 7390
edf66db1 73911998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 7392
edf66db1
SP
7393 * Makeconfig: Define have-thread-library, shared-thread-library
7394 and static-thread-library if a thread library is available. Don't
7395 define rt.
7396 * nscd/Makefile: Compile nscd if have-thread-library. Rename
7397 nscd-routines to nscd-modules. Use shared-thread-library and
7398 static-thread-library in dependencies.
7399 * rt/Makefile: Only compile librt if have-thread-library is
7400 defined.
7401 * Makefile (subdirs): Always include rt subdir.
f81d98d6 7402
edf66db1 74031998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 7404
edf66db1 7405 * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
f81d98d6 7406
edf66db1 74071998-03-14 21:55 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7408
edf66db1
SP
7409 * configure.in: Recognize variations for 32 MIPS processors.
7410 Don't assume ELF systems always have .weak, test for .weakext.
f81d98d6 7411
edf66db1
SP
74121998-03-14 Ulrich Drepper <drepper@cygnus.com>
7413
7414 * configure.in: Irix6 is an ELF platform.
f81d98d6 7415
edf66db1 74161998-03-14 11:47 H.J. Lu <hjl@gnu.org>
f81d98d6 7417
edf66db1
SP
7418 * elf/dl-close.c (_dl_close): Stop unmapping the segments after
7419 unmapping the last loaded segment.
f81d98d6 7420
edf66db1 74211998-03-14 15:54 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7422
edf66db1
SP
7423 * configure.in: Set base_os for Irix6.
7424 Correct test for .weakext.
f81d98d6 7425
edf66db1 74261998-03-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 7427
edf66db1
SP
7428 * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
7429 (new_line) to _dl_debug_message call.
f81d98d6 7430
edf66db1 74311998-03-14 00:52 Tim Waugh <tim@cyberelk.demon.co.uk>
f81d98d6 7432
edf66db1
SP
7433 * posix/wordexp.c (parse_param): Perform field-splitting after
7434 expanding positional parameter.
f81d98d6 7435
edf66db1
SP
7436 * posix/wordexp-tst.sh: Test that field-splitting is performed
7437 after expanding positional parameter.
f81d98d6 7438
edf66db1
SP
7439 * posix/wordexp.c (parse_param): Fixed memory leak in
7440 field-splitting after parameter expansion.
f81d98d6 7441
edf66db1 74421998-03-14 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7443
edf66db1
SP
7444 * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
7445 (get_toplvl_escape): Correctly terminate loop at EOF.
7446 Patch by Cristian Gafton <gafton@redhat.com>.
f81d98d6 7447
edf66db1 74481998-03-13 16:55 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7449
edf66db1
SP
7450 * string/tester.c (test_strpbrk): Add more strpbrk tests.
7451 (test_strsep): Likewise. Correct horrible bugs.
f81d98d6 7452
edf66db1
SP
7453 * string/bits/string2.h (strcspn): Optimize also reject string of
7454 length 2 and 3.
7455 (strspn): Likewise.
7456 (strpbrk): Likewise.
7457 (strsep): Likewise. Correct bug with successive separators and
7458 separators at the end of the string.
7459 * sysdeps/generic/strsep.c: Correct bug with successive separators
7460 and separators at the end of the string.
f81d98d6 7461
edf66db1 74621998-03-13 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
f81d98d6 7463
edf66db1
SP
7464 * posix/wordexp.c (parse_param): Positional parameters ($1, $2
7465 etc) now handled, as well as $$ (pid).
f81d98d6 7466
edf66db1
SP
7467 * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
7468 (distribute): Add wordexp-tst.sh.
f81d98d6 7469
edf66db1 7470 * posix/wordexp-tst.sh: New file.
f81d98d6 7471
edf66db1
SP
7472 * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
7473 number of positional parameters. Renamed substitute_length to
7474 seen_hash.
7475 Don't free(env) is env is NULL.
f81d98d6 7476
edf66db1 74771998-03-13 16:50 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7478
edf66db1 7479 * libc.map: Add pthread_attr_init to GLIBC_2.1.
f81d98d6 7480
edf66db1 74811998-03-13 15:01 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7482
edf66db1
SP
7483 * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
7484 for output file replacing gmon.out.
7485 Patch by Dean Gaudet <dgaudet@arctic.org>.
f81d98d6 7486
edf66db1 74871998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 7488
edf66db1
SP
7489 * elf/dl-misc.c (_dl_debug_message): Fix printing of pid. Clean
7490 up namespace. Optimize finding end of line.
f81d98d6 7491
edf66db1 74921998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 7493
edf66db1
SP
7494 * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
7495 securely. Optimized.
7496 (process_dl_debug): Add ':' to list of separators. Optimized.
f81d98d6 7497
edf66db1 74981998-03-13 10:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 7499
edf66db1
SP
7500 * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
7501 isless, islessequal, islessgreater, isunordered): Return zero or
7502 one.
f81d98d6 7503
edf66db1 75041998-03-12 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
f81d98d6 7505
edf66db1
SP
7506 * posix/wordexp-test.c: More tests.
7507 (main): Set up arena for pathname expansion tests (in a temporary
7508 directory).
7509 (testit): Don't check word count or word vector if return value is
7510 non-zero.
f81d98d6 7511
edf66db1
SP
7512 * posix/wordexp.c (exec_comm): Always chop off terminating
7513 linefeed (just like bash does).
7514 (parse_param): Change lots of occurrences of "if (!*env)" to "if
7515 (!env || !*env)".
7516 (parse_param): For assignment inside parameter expansion, use all
7517 expanded words in assignment rather than just the first.
7518 (parse_param): Corrected return value for parameter expansion of
7519 an unset variable when WRDE_UNDEF is in effect.
7520 (parse_dollars): Don't field-split if quoted.
7521 (wordexp): Opening brace character isn't allowed unquoted.
f81d98d6 7522
edf66db1 75231998-03-12 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7524
edf66db1
SP
7525 * elf/dlerror.c: Fix concurrency problems with error string and
7526 number.
f81d98d6 7527
edf66db1
SP
7528 * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
7529 filter/auxiliary are being loaded.
f81d98d6 7530
edf66db1 75311998-03-12 14:24 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7532
edf66db1
SP
7533 * elf/dlerror.c (last_object_name): Removed.
7534 (dlerror): Don't use last_object_name.
7535 (_dl_error_run): Omit second argument to _dl_catch_error.
7536 * elf/dl-error.c (struct catch): Remove objname member.
7537 (_dl_signal_error): Construct string including objname when given.
7538 (_dl_catch_error): Remove objname handling.
7539 * elf/link.h (_dl_catch_error): Fix prototype and comment.
7540 * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
7541 * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
7542 * nss/nsswitch.c (nss_dlerror_run): Likewise.
7543 * iconv/gconv_dl.c (dlerror_run): Likewise.
7544 [Corrects PR libc/501].
f81d98d6 7545
edf66db1 75461998-03-12 Matthias Urlichs <smurf@noris.de>
f81d98d6 7547
edf66db1 7548 * nscd/nscd.c: Ignore SIGPIPE.
f81d98d6 7549
edf66db1 75501998-03-12 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7551
edf66db1
SP
7552 * nscd/nscd_getgr_r.c: Use __ protected names.
7553 * nscd/nscd_getpw_r.c: Likewise.
f81d98d6 7554
edf66db1 75551998-03-12 Matthias Urlichs <smurf@noris.de>
f81d98d6 7556
edf66db1
SP
7557 * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
7558 * nscd/nscd_getpw_r.c: Fix length calculation in result check,
7559 null bytes are not transmitted.
f81d98d6 7560
edf66db1 75611998-03-12 00:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
f81d98d6 7562
edf66db1
SP
7563 * powerpc/syscalls.list: Correct typo.
7564 * alpha/syscalls.list: Likewise.
7565 * mips/syscalls.list: Likewise.
7566
75671998-03-12 Ulrich Drepper <drepper@cygnus.com>
7568
7569 * socket/sys/socket.h: Add prototype for __socket.
f81d98d6 7570
edf66db1 75711998-03-10 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7572
edf66db1 7573 * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
f81d98d6 7574
edf66db1
SP
7575 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
7576 constants.
f81d98d6 7577
edf66db1
SP
7578 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
7579 definition here.
7580 * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
7581 definition here.
f81d98d6 7582
edf66db1
SP
7583 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
7584 AF_* and PF_* constants.
f81d98d6 7585
edf66db1 7586 * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
f81d98d6 7587
edf66db1 75881998-03-11 15:27 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7589
edf66db1
SP
7590 * elf/rtld.c: Update help message.
7591 Install link maps for preloaded objects using main_map as loader.
f81d98d6 7592
edf66db1
SP
7593 * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
7594 * elf/dl-profile.c: Likewise.
f81d98d6 7595
edf66db1
SP
7596 * elf/dlsym.c: Little optimization.
7597 * elf/dlvsym.c: Likewise.
f81d98d6 7598
edf66db1 75991998-03-11 14:56 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7600
edf66db1
SP
7601 * posix/wordexp-test.c: Move test for parameter list at the very
7602 beginning.
f81d98d6 7603
edf66db1 76041998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
f81d98d6 7605
edf66db1
SP
7606 * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
7607 WRDE_REUSE flag is set.
7608 (parse_param): Allow `*', `@', and numbers in parameter names.
7609 (parse_dollars): Differentiate between arithmetic expansion and a
7610 command substitution that starts immediately with a sub-shell
7611 (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
7612 (parse_param): Memory allocated with __alloca in a block was
7613 referenced outside that block. Adjusted to use malloc/free.
7614 (parse_param): Adjusted field-splitting algorithm so that there is
7615 not necessarily a field split at the end of a parameter expansion.
f81d98d6 7616
edf66db1 76171998-03-10 19:52 Tim Waugh <tim@cyberelk.demon.co.uk>
f81d98d6 7618
edf66db1
SP
7619 * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
7620 don't free words that have already been allocated.
7621 (parse_param): A dollar sign on its own will never have a pattern
7622 associated with it (like "${HOME%%/}" has), so don't try to free it.
7623 (parse_glob): Attempt to glob when an unquoted `[' is found
7624 (rather than an unquoted '{' (!)). Also for unquoted '?'.
7625 (parse_glob): Sorted out quoting in a glob-able word.
7626 (parse_param): Added $* and $@ handling.
f81d98d6 7627
edf66db1 76281998-03-11 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7629
edf66db1
SP
7630 * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
7631 parsing it.
f81d98d6 7632
edf66db1 76331998-03-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 7634
edf66db1
SP
7635 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
7636 _dl_debug_message.
f81d98d6 7637
edf66db1 76381998-03-12 Matthias Urlichs <smurf@noris.de>
f81d98d6 7639
edf66db1
SP
7640 * elf/dl-misc.c: Default for debug output should be stderr.
7641 * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
7642 * elf/dl-lookup.c: reference_name may be NULL or empty.
f81d98d6 7643
edf66db1 76441998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 7645
edf66db1 7646 * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
f81d98d6 7647
edf66db1 76481998-03-11 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7649
edf66db1 7650 * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
f81d98d6 7651
edf66db1 7652 * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
f81d98d6 7653
edf66db1 76541998-03-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 7655
edf66db1
SP
7656 * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
7657 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
f81d98d6 7658
edf66db1 76591998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 7660
edf66db1
SP
7661 * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
7662 init stuff.
f81d98d6 7663
edf66db1 76641998-03-10 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7665
edf66db1
SP
7666 * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
7667 flag.
f81d98d6 7668
edf66db1
SP
7669 * misc/syslog.c (vsyslog): Don't try to send if not connected to
7670 syslog daemon.
7671 (closelog_internal): Don't do anything if not connected.
f81d98d6 7672
edf66db1 76731998-03-10 17:54 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7674
edf66db1
SP
7675 * libc.map: Add _dl_debug_message.
7676 * elf/dl-misc.c: Make _dl_debug_message a function. Print the PID
7677 before every line.
7678 * elf/fini.c: Correctly use new _dl_debug_message function.
7679 * elf/init.c: Likewise.
7680 * elf/dl-lookup.c: Likewise.
7681 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
7682 * elf/dl-load.c: Likewise. Add more debugging prints.
7683 * elf/dl-reloc.c: Likewise.
7684 * elf/dl-version.c: Likewise.
7685 * elf/dl-support.c: Add variables for debugging.
7686 * elf/rtld.c: Likewise. Recognize new debug options.
7687 * elf/link.h: Declare new variables.
f81d98d6 7688
edf66db1 7689 * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
f81d98d6 7690
edf66db1 76911998-03-10 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7692
edf66db1
SP
7693 * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
7694 kernel headers. Patch by a sun <asun@saul7.u.washington.edu>.
f81d98d6 7695
edf66db1 76961998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
f81d98d6 7697
edf66db1
SP
7698 * posix/wordexp-test.c (command_line_test): New function to allow
7699 testing of specific cases from the command-line.
f81d98d6 7700
edf66db1 77011998-03-10 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7702
edf66db1
SP
7703 * elf/dl-init.c (_dl_init_next): Print nicer messages.
7704 * elf/dl-fini.c (_dl_fini): Likewise.
7705 * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
f81d98d6 7706
edf66db1
SP
7707 * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
7708 symbol in debug message.
7709 (_dl_lookup_versioned_symbol_skip): Likewise.
f81d98d6 7710
edf66db1 77111998-03-10 19:43 Matthias Urlichs <urlichs@noris.de>
f81d98d6 7712
edf66db1
SP
7713 * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
7714 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
7715 * manual/filesys/texi: Document this.
f81d98d6 7716
edf66db1 77171998-03-10 10:49 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7718
edf66db1 7719 * manual/filesys.texi: Document the change below.
f81d98d6 7720
edf66db1 77211998-03-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 7722
edf66db1
SP
7723 * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
7724 Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
f81d98d6 7725
edf66db1 77261998-03-10 00:10 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7727
edf66db1
SP
7728 * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
7729 instead scope. If debugging display information about symbol
7730 resolving.
7731 (_dl_lookup_symbol): Call do_lookup with correct parameters.
7732 (_dl_lookup_symbol_skip): Likewise.
7733 (_dl_lookup_versioned_symbol): Likewise.
7734 (_dl_lookup_versioned_symbol_skip): Likewise.
7735 * elf/dl-support.c: Define _dl_debug_symbols.
7736 * elf/link.h: Add declaration for _dl_debug_symbols.
7737 * elf/rtld.c: Define _dl_debug_symbols.
7738 (process_dl_debug): Recognize symbols option.
7739
77401998-03-09 23:36 Ulrich Drepper <drepper@cygnus.com>
7741
7742 * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
7743 in correct format.
7744 * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
7745 with correct parameters.
7746 [!PIC]: Initialize __libc_multiple_libcs.
7747
77481998-03-09 18:21 Ulrich Drepper <drepper@cygnus.com>
7749
7750 * elf/dl-support.c (_dl_debug_bindings): Add definition.
7751 * elf/rtld.c (_dl_debug_bindings): Add definition.
7752 (process_dl_debug): Recognize bindings option. Update help message.
7753 * elf/link.h (struct link_map): Add l_versyms member.
7754 (_dl_debug_bindings): Add declaration.
7755 * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
7756 * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
7757 and l_reloc_result.
7758 * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
7759 (sym_val): Remove a member, add m as link_map.
7760 (do_lookup): Return result appropriately.
7761 (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
7762 Call do_lookup correctly.
7763 (_dl_lookup_symbol_skip): Likewise.
7764 (_dl_lookup_versioned_symbol): Likewise.
7765 (_dl_lookup_versioned_symbol_skip): Likewise.
f81d98d6 7766
edf66db1 77671998-03-09 08:21 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7768
edf66db1
SP
7769 * sysdeps/unix/sysv/linux/chown.c: Moved to ...
7770 * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
f81d98d6 7771
edf66db1
SP
7772 * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
7773 * libc.map: Add chown to GLIBC_2.1.
7774 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
7775 * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
f81d98d6 7776
edf66db1 77771998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 7778
edf66db1
SP
7779 * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
7780 weak alias.
7781 * sysdeps/alpha/ffs.c: Likewise.
7782 * sysdeps/am29k/ffs.c: Likewise.
7783 * sysdeps/i386/ffs.c: Likewise.
7784 * sysdeps/i960/ffs.c: Likewise.
7785 * sysdeps/m68k/ffs.c: Likewise.
7786 * sysdeps/m88k/ffs.c: Likewise.
7787 * sysdeps/powerpc/ffs.c: Likewise.
7788 * sysdeps/rs6000/ffs.c: Likewise.
7789 * sysdeps/vax/ffs.s: Likewise.
7790 * string/string.h: Declare __ffs.
7791 * libc.map: Export it.
7792 * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
7793 __builtin_ffs, which is not guaranteed to be namespace clean.
f81d98d6 7794
edf66db1 77951998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 7796
edf66db1
SP
7797 * elf/sprof.c: Rewrite symbol handling to use the normal symbol
7798 table, which is much more likely to exist than debugging symbols.
7799 (printsym): Remove const.
7800 (load_shobj): Don't use _dl_pagesize. Fix mapping of section
7801 header table.
f81d98d6 7802
edf66db1
SP
7803 * libc.map: Export __profile_frequency, used by elf/sprof, to
7804 avoid infinite recursion during startup.
f81d98d6 7805
edf66db1 78061998-03-09 12:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 7807
edf66db1
SP
7808 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
7809 Readd lost negate.
f81d98d6 7810
edf66db1 7811 * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
f81d98d6 7812
edf66db1 78131998-03-09 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7814
edf66db1 7815 * elf/dl-support.c: Add definition of _dl_debug_impcalls.
f81d98d6 7816
edf66db1 78171998-03-08 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7818
edf66db1
SP
7819 * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
7820 LD_PRELOAD, and LD_VERBOSE.
7821 (dl_main): Use global variables set by process_envvars instead of
7822 calling getenv.
7823 * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
7824 LD_LIBRARY_PATH value, this comes with the parameter.
7825 * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
7826 ("LD_LIBRARY_PATH") to _dl_init_paths.
f81d98d6 7827
edf66db1 78281998-03-08 22:55 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7829
edf66db1
SP
7830 * elf/rtld.c (dl_main): Delay initialization of path structure if
7831 the dynamically linker is invoked implicitly until we read the
7832 dynamic section.
f81d98d6 7833
edf66db1 78341998-03-08 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7835
edf66db1 7836 * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
f81d98d6 7837
edf66db1 78381998-03-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 7839
edf66db1
SP
7840 * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
7841 Linux 2.0 and 2.1.
f81d98d6 7842
edf66db1 7843 * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
f81d98d6 7844
edf66db1 78451998-03-08 14:58 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7846
edf66db1
SP
7847 * Makeconfig (nisobjdir): Set to path to nis directory.
7848 (rpath-link): Add nisobjdir.
7849 Patch by Sven Verdoolaege <skimo@kotnet.org>.
f81d98d6 7850
edf66db1
SP
7851 * elf/Makefile: Pretty print.
7852 * elf/dl-lookup.c: Include unistd.h.
7853 * elf/dl-runtime.c: Likewise.
f81d98d6 7854
edf66db1
SP
7855 * localedata/Makefile (test-srcs): Add tst-rpmatch.
7856 (distribute): Add tst-rpmatch.sh.
7857 (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
f81d98d6 7858
edf66db1
SP
7859 New tests for rpmatch function by
7860 Jochen Hein <jochen.hein@delphi.central.de>.
7861 * localedata/tst-rpmatch.c: New file.
7862 * localedata/tst-rpmatch.sh: New file.
f81d98d6 7863
edf66db1
SP
7864 * localedata/locales/de_DE: Correct yesexpr and noexpr.
7865 * localedata/locales/de_AT: Likewise.
f81d98d6 7866
edf66db1
SP
7867 * posix/getopt.c: Update contact address.
7868 * posix/getopt1.c: Pretty print.
f81d98d6 7869
edf66db1
SP
7870 * sysdeps/generic/libc-start.c: Do most of the initialization now
7871 here instead of in start.S.
7872 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
7873 * sysdeps/i386/elf/start.S: Remove most of the initialization code.
f81d98d6 7874
edf66db1
SP
7875 * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
7876 profil_counter to be public.
f81d98d6 7877
edf66db1 78781998-03-08 13:06 Tim Waugh <tim@cyberelk.demon.co.uk>
f81d98d6 7879
edf66db1
SP
7880 * posix/wordexp.c (parse_arith): Now works for negative numbers too.
7881 (parse_param): Coded parameter length expansion (${#var}).
7882 (parse_param): Handling for "=", "+", "-", and the ":" versions added.
7883 (parse_param): Cleaned up (fixed) error handling.
f81d98d6 7884
edf66db1
SP
7885 * posix/wordexp-test.c: IFS now includes non-whitespace character
7886 (comma). Added more tests.
f81d98d6 7887
edf66db1 78881998-03-07 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7889
edf66db1
SP
7890 * elf/link.h: Fix typos.
7891 Reported by Andreas Jaeger.
f81d98d6 7892
edf66db1
SP
7893 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
7894 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
f81d98d6 7895
edf66db1 78961998-03-06 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7897
edf66db1
SP
7898 * argp/argp-help.c: Remove last bits of using gettext instead of
7899 dgettext.
f81d98d6 7900
edf66db1 79011998-03-06 17:04 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7902
edf66db1
SP
7903 * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
7904 __libc_start_main.
7905 * csu/Makefile (routines): Add libc-start.
7906 * elf/dl-error.c: Remove declaration of _dl_argv. Include <unitsd.h>.
7907 * elf/dl-lookup.c: Likewise.
7908 * elf/dl-version.c: Likewise.
7909 * sysdeps/i386/dl-machine.h: Likewise.
7910 * elf/link.h: Declare _dl_argv, _dl_debug_fd.
7911 Declare _dl_sysdep_output. Make _dl_sysdep_fatal, _dl_sysdep_error and
7912 _dl_sysdep_message macros which use _dl_sysdep_output.
7913 * elf/dl-fini.c: Write out which destructor is called while debugging.
7914 * elf/dl-init.c: Likewise for constructor.
7915 * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
7916 * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
7917 _dl_sysdep_message. Add _dl_sysdep_output.
7918 * elf/rtld.c: Recognize LD_DEBUG_OUTPUT. Set _dl_debug_fd if
7919 this file can be opened.
7920 For LD_DEBUG=libs also set _dl_debug_impcalls.
7921 * sysdeps/generic/dl-cache.c: Include unistd.h.
7922 * sysdeps/generic/libc-start.c: New file.
7923 * sysdeps/unix/sysv/linux/libc-start.c: New file.
7924 * sysdeps/i386/elf/start.S: Don't call main directly, call
7925 __libc_start_main instead.
7926
7927 * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
7928
79291998-03-06 Ulrich Drepper <drepper@cygnus.com>
7930
7931 * nss/nsswitch.c (__nss_nscd_not_available): Removed.
7932
79331998-03-06 12:42 Ulrich Drepper <drepper@cygnus.com>
7934
7935 * argp/argp.h (struct argp): Add new field domain.
7936 * argp/argp-help.c: Change all gettext calls to dgettext and use
7937 domain field from appropriate argp in call.
7938 * argp/argp-parse.c: Likewise.
f81d98d6 7939
edf66db1 79401998-03-06 11:35 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7941
edf66db1
SP
7942 * posix/wordexp-test.c: Change testsuite so that it can run even
7943 for ~root != /root.
f81d98d6 7944
edf66db1 79451998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 7946
edf66db1 7947 * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
f81d98d6 7948
edf66db1 79491998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 7950
edf66db1
SP
7951 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7952 Don't store into global errno if we already store through
7953 __errno_location.
7954 * sysdeps/unix/i386/sysdep.S: Likewise.
7955 * sysdeps/unix/alpha/sysdep.S: Likewise.
7956 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7957 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
7958 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. Add
7959 missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
7960 PIC).
f81d98d6 7961
edf66db1 79621998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 7963
edf66db1
SP
7964 * sysdeps/generic/sysdep.h (L): Remove definition.
7965 * sysdeps/i386/sysdep.h (L): Define it here instead.
f81d98d6 7966
edf66db1 79671998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 7968
edf66db1 7969 * nis/nis_call.c (__do_niscall): Safe and reset errno.
f81d98d6 7970
edf66db1 7971 * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
f81d98d6 7972
edf66db1 79731998-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 7974
edf66db1
SP
7975 * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
7976 declaration style to avoid warnings.
f81d98d6 7977
edf66db1 79781998-03-06 11:48 Mark M._Kettenis <kettenis@hall.phys.uva.nl>
f81d98d6 7979
edf66db1
SP
7980 * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
7981 "LD_DEBUG".
f81d98d6 7982
edf66db1 79831998-03-05 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7984
edf66db1
SP
7985 * posix/Makefile (tests): Add wordexp-test.
7986 * posix/wordexp-test.c: New file. Testsuite for wrodexp.
7987 Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
f81d98d6 7988
edf66db1 79891998-03-05 16:04 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 7990
edf66db1
SP
7991 * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
7992 dependencies.
f81d98d6 7993
edf66db1
SP
7994 * elf/link.h (struct r_search_path_elem): Add two new field for
7995 lib path debugging.
7996 * elf/rtld.c: Recognize LD_DEBUG environment variable and set
7997 variable accordingly.
7998 * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
7999 is considered next along with information about load paths.
8000 * sysdeps/generic/dl-cache.c: Likewise.
8001 * elf/dl-support.c: Define _dl_debug_libs.
8002 * elf/genrtldtbl.awk: Add initializers for two new field in
8003 struct r_search_path_elem.
f81d98d6 8004
edf66db1 80051998-03-06 10:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 8006
edf66db1
SP
8007 * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
8008 * sysdeps/m68k/lshift.S: Likewise.
8009 * sysdeps/m68k/rshift.S: Likewise.
8010 * sysdeps/m68k/sub_n.S: Likewise.
8011 * sysdeps/m68k/m68020/addmul_1.S: Likewise.
8012 * sysdeps/m68k/m68020/mul_1.S: Likewise.
8013 * sysdeps/m68k/m68020/submul_1.S: Likewise.
f81d98d6 8014
edf66db1
SP
8015 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
8016 [_LIBC_REENTRANT]: Don't store into global errno.
f81d98d6 8017
edf66db1
SP
8018 * sysdeps/m68k/sysdep.h: New file.
8019 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it. Use the macros
8020 ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
8021 (DO_CALL): Change to expect syscall name as argument.
8022 (PSEUDO): Pass syscall_name to DO_CALL.
8023 (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
8024 errno.
f81d98d6 8025
edf66db1 80261998-03-05 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 8027
edf66db1
SP
8028 * elf/rtld.c: Speed up processing of environment variables. Do
8029 only one run on the environment by avoiding to call getenv.
8030 * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
8031 function. Used by patch above.
f81d98d6 8032
edf66db1 80331998-03-05 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
f81d98d6 8034
edf66db1
SP
8035 * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
8036 running nscd.
8037 * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
8038 * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
8039 * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
f81d98d6 8040
edf66db1 80411998-03-05 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 8042
edf66db1
SP
8043 * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
8044 module cannot be found. Reported by Andreas Jaeger.
f81d98d6 8045
edf66db1 80461998-03-05 11:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
f81d98d6 8047
edf66db1
SP
8048 * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
8049 on platforms which default to unsigned chars.
8050 * nscd/nscd_getpw_r.c: Likewise.
8051 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
8052 defining it.
f81d98d6 8053
edf66db1 80541998-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 8055
edf66db1
SP
8056 * elf/Makefile (install-bin): Change = to += for sprof to install
8057 ldd also.
f81d98d6 8058
edf66db1 80591998-03-04 16:12 H.J. Lu <hjl@gnu.org>
f81d98d6 8060
edf66db1 8061 * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
f81d98d6 8062
edf66db1 80631998-03-04 16:19 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 8064
edf66db1 8065 * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
f81d98d6 8066
edf66db1 80671998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 8068
edf66db1
SP
8069 * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
8070 that a failure to connect to nscd doesn't change errno.
f81d98d6 8071
edf66db1 80721998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 8073
edf66db1
SP
8074 * manual/maint.texi (Reporting Bugs): Change
8075 bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
f81d98d6 8076
edf66db1 8077 * locale/iso-4217.def: Likewise
f81d98d6 8078
edf66db1 80791998-03-04 12:43 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 8080
edf66db1 8081 * manual/texinfo.tex: Updated.
f81d98d6 8082
edf66db1 80831998-03-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 8084
edf66db1
SP
8085 * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
8086 value.
8087 * sysdeps/posix/pathconf.c: Likewise.
8088 * posix/getconf.c: Print `undefined' if pathconf returns -1
8089 without setting errno.
f81d98d6 8090
edf66db1 80911998-03-04 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 8092
edf66db1
SP
8093 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
8094 problem.
8095 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
8096 Patches by Elliot Lee <sopwith@cuc.edu>.
f81d98d6 8097
edf66db1 80981998-03-04 09:43 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 8099
edf66db1
SP
8100 * elf/link.h (struct link_map): Add new field l_reloc_result.
8101 * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
8102 of relocation for the object to be profiled.
8103 * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
8104 to NULL.
8105 * elf/rtld.c (_dl_start): Add comment that we must not allocate an
8106 array here.
8107 * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
8108 contains a result from a previous run use this instead of computing
8109 the value again.
8110 * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
f81d98d6 8111
edf66db1 81121998-03-04 11:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 8113
edf66db1
SP
8114 * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
8115 offsets into the GOT.
8116 (RTLD_START): Likewise.
f81d98d6 8117
edf66db1 81181998-03-03 17:55 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 8119
edf66db1 8120 * elf/sprof.c: Cleanup a bit.
f81d98d6 8121
edf66db1 81221998-03-03 08:01 H.J. Lu <hjl@gnu.org>
f81d98d6 8123
edf66db1 8124 * sysdeps/generic/sysdep.h (L): New. Define.
f81d98d6 8125
edf66db1 8126 * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
f81d98d6 8127
edf66db1 8128 * sysdeps/i386/i586/addmul_1.S: Fix a typo.
f81d98d6 8129
edf66db1
SP
8130 * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
8131 to have only one exit point for functions.
8132 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8133 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
8134 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
8135 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8136 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
f81d98d6 8137
edf66db1 81381998-03-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 8139
edf66db1
SP
8140 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
8141 reset errno so that errno isn't set to ENOSYS in the first call.
8142 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
8143 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8144 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
8145 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
f81d98d6 8146
edf66db1 81471998-03-02 17:55 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 8148
edf66db1
SP
8149 * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
8150 * sysdeps/i386/addmul_1.S: Likewise.
8151 * sysdeps/i386/lshift.S: Likewise.
8152 * sysdeps/i386/mul_1.S: Likewise.
8153 * sysdeps/i386/rshift.S: Likewise.
8154 * sysdeps/i386/sub_n.S: Likewise.
8155 * sysdeps/i386/submul_1.S: Likewise.
8156 * sysdeps/i386/i586/add_n.S: Likewise.
8157 * sysdeps/i386/i586/addmul_1.S: Likewise.
8158 * sysdeps/i386/i586/lshift.S: Likewise.
8159 * sysdeps/i386/i586/mul_1.S: Likewise.
8160 * sysdeps/i386/i586/rshift.S: Likewise.
8161 * sysdeps/i386/i586/sub_n.S: Likewise.
8162 * sysdeps/i386/i586/submul_1.S: Likewise.
f81d98d6 8163
edf66db1 8164 * sysdeps/i386/sysdep.h: Extend last change.
f81d98d6 8165
edf66db1
SP
8166 * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
8167 to have only one exit point for functions.
f81d98d6 8168
edf66db1 81691998-03-02 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 8170
edf66db1
SP
8171 * configure.in: Fix msgfmt test. Fix handling of //s in sysdeps
8172 search.
f81d98d6 8173
edf66db1 81741998-03-02 13:28 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 8175
edf66db1
SP
8176 * Makerules: Generate libc.so with absolute paths for the used
8177 shared objects.
f81d98d6 8178
edf66db1 8179 * config.make.in: Add MAKEINFO definition.
f81d98d6 8180
edf66db1 81811998-03-02 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 8182
edf66db1
SP
8183 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
8184 (ENTRY): Use STABS_FUN.
8185 (END): Use STABS_FUN_END.
8186 (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
f81d98d6 8187
edf66db1
SP
8188 * elf/Makefile: Add rules to build sprof program.
8189 * elf/sprof.c: New file.
f81d98d6 8190
edf66db1 81911998-02-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 8192
edf66db1 8193 * misc/syslog.c (openlog_internal): Insert missing closing brace.
f81d98d6 8194
edf66db1 81951998-02-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 8196
edf66db1
SP
8197 * configure.in: Check for working msgfmt version (from GNU gettext
8198 0.10 or later).
f81d98d6 8199
edf66db1 82001998-03-02 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 8201
edf66db1
SP
8202 * configure.in: Avoid //s in sysdirs.
8203 Patch by Roland McGrath.
f81d98d6 8204
edf66db1 8205 * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
f81d98d6 8206
edf66db1 82071998-03-02 07:17 H.J. Lu <hjl@gnu.org>
f81d98d6 8208
edf66db1
SP
8209 * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
8210 setting _dl_global_scope for RTLD_GLOBAL.
f81d98d6 8211
edf66db1 82121998-02-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
f81d98d6 8213
edf66db1
SP
8214 * sysdeps/unix/make-syscalls.sh: Fix last change so that all
8215 possible lists of object-suffixes are taken care of.
f81d98d6 8216
edf66db1 82171998-03-02 10:16 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 8218
edf66db1
SP
8219 * timezone/private.h: Update from tzcode1998c.
8220 * timezone/zic.c: Likewise.
8221 * timezone/antarctica: Updated from tzdata1998c.
8222 * timezone/asia: Likewise.
8223 * timezone/australasia: Likewise.
8224 * timezone/europe: Likewise.
8225 * timezone/southamerica: Likewise.
f81d98d6 8226
edf66db1 82271998-03-02 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 8228
edf66db1
SP
8229 * posix/glob.c (glob_in_dir): Add support for cases insensitive
8230 VMS. Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
f81d98d6 8231
edf66db1 82321998-03-01 19:05 H.J. Lu (hjl@gnu.org)
f81d98d6 8233
edf66db1
SP
8234 * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
8235 Changed type of TWO43, TWO52 from float to double.
8236 * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
8237 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
8238 Changed type of TWO43 from float to double.
8239 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
8240 Use __isinff.
f81d98d6 8241
edf66db1 82421998-03-01 18:52 H.J. Lu (hjl@gnu.org)
f81d98d6 8243
edf66db1
SP
8244 * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
8245 osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
8246 osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
f81d98d6 8247
edf66db1 82481998-03-01 09:11 Richard Henderson <rth@cygnus.com>
f81d98d6 8249
edf66db1
SP
8250 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
8251 kernel_termios.h.
8252 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
8253 Clean up random whitespace.
8254 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
8255 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
8256 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
8257 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
f81d98d6 8258
edf66db1 82591998-03-01 08:31 Richard Henderson <rth@cygnus.com>
f81d98d6 8260
edf66db1
SP
8261 * shlib-versions: Match alpha*.
8262 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
8263 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
f81d98d6 8264
edf66db1
SP
8265 * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
8266 Implement copysign* with and without __ prefix.
8267 Likewise for fabs; use builtin for gcc 2.8.
8268 (floor*): New.
8269 (fdim*): New.
f81d98d6 8270
edf66db1
SP
8271 * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
8272 (R_SPARC*): Match current v9 ABI.
f81d98d6 8273
edf66db1 8274 * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
f81d98d6 8275
edf66db1
SP
8276 * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
8277 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8278 * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
8279 * sysdeps/generic/getresgid.c: Use prototype form because of warning.
8280 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8281 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
8282 * sysdeps/unix/grantpt.c (argv): Fix consts.
8283 * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
8284 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
f81d98d6 8285
edf66db1 82861998-02-27 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 8287
edf66db1
SP
8288 * misc/syslog.c: Change to allow user the interpretation of the
8289 outcome even with syslog having no return value.
f81d98d6 8290
edf66db1 82911998-02-05 20:41 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
f81d98d6 8292
edf66db1
SP
8293 * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
8294 that the number of program headers is >0 (which is wrong for the
8295 loader itself).
f81d98d6 8296
edf66db1 82971998-02-27 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 8298
edf66db1 8299 * Makefile (distribute): Add README.libm.
f81d98d6 8300
edf66db1 83011998-02-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
f81d98d6 8302
edf66db1 8303 * time/clocktest.c (main): Correct typo: "--" -> "==".
f81d98d6 8304
edf66db1 83051998-02-25 20:53 H.J. Lu <hjl@gnu.org>
f81d98d6 8306
edf66db1
SP
8307 * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
8308 inline function.
8309 (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
8310 inline functions.
f81d98d6 8311
edf66db1 8312 * math/libm.map (__atan2): Added.
f81d98d6 8313
edf66db1 83141998-02-27 Ulrich Drepper <drepper@cygnus.com>
f81d98d6 8315
edf66db1
SP
8316 * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
8317