]> sourceware.org Git - glibc.git/blame - ChangeLog
Update.
[glibc.git] / ChangeLog
CommitLineData
40a55d20
UD
11997-08-20 05:30 Ulrich Drepper <drepper@cygnus.com>
2
3 * catgets/catgets.c (catclose): Use __munmap instead of munmap.
4 * catgets/gencat.c (read_input_file): Fix typo.
5
6 * dirent/dirent.h: Make seekdir and telldir available for __USE_XOPEN.
7
8 * elf/dl-load.c: Fix case of missing DT_RPATH in object which gets
9 executed (e.g., when it is a static binary).
10
11 * intl/bindtextdomain.c: Use strdup in glibc. Correct comment.
12 * intl/dcgettext.c: Likewise.
13 * intl/dgettext.c: Likewise.
14 * intl/explodename.c: Likewise.
15 * intl/finddomain.c: Likewise.
16 * intl/gettext.c: Likewise.
17 * intl/gettext.h: Likewise.
18 * intl/hash-string.h: Likewise.
19 * intl/l10nflist.c: Likewise.
20 * intl/libintl.h: Likewise.
21 * intl/loadinfo.h: Likewise.
22 * intl/loadmsgcat.c: Likewise.
23 * intl/localealias.c: Likewise.
24 * intl/textdomain.c: Likewise.
25
26 Unify libio sources with code in libg++.
27 * libio/fcloseall.c: Update and reformat copyright. Protect use
28 of weak_alias. Use _IO_* thread macros instead of __libc_*.
29 * libio/feof.c: Likewise.
30 * libio/feof_u.c: Likewise.
31 * libio/ferror.c: Likewise.
32 * libio/ferror_u.c: Likewise.
33 * libio/fgetc.c: Likewise.
34 * libio/filedoalloc.c: Likewise.
35 * libio/fileno.c: Likewise.
36 * libio/fileops.c: Likewise.
37 * libio/fputc.c: Likewise.
38 * libio/fputc_u.c: Likewise.
39 * libio/freopen.c: Likewise.
40 * libio/fseek.c: Likewise.
41 * libio/genops.c: Likewise.
42 * libio/getc.c: Likewise.
43 * libio/getc_u.c: Likewise.
44 * libio/getchar.c: Likewise.
45 * libio/getchar_u.c: Likewise.
46 * libio/iofclose.c: Likewise.
47 * libio/iofdopen.c: Likewise.
48 * libio/iofflush.c: Likewise.
49 * libio/iofflush_u.c: Likewise.
50 * libio/iofgetpos.c: Likewise.
51 * libio/iofgets.c: Likewise.
52 * libio/iofopen.c: Likewise.
53 * libio/iofopncook.c: Likewise.
54 * libio/iofprintf.c: Likewise.
55 * libio/iofputs.c: Likewise.
56 * libio/iofread.c: Likewise.
57 * libio/iofsetpos.c: Likewise.
58 * libio/ioftell.c: Likewise.
59 * libio/iofwrite.c: Likewise.
60 * libio/iogetdelim.c: Likewise.
61 * libio/iogetline.c: Likewise.
62 * libio/iogets.c: Likewise.
63 * libio/iopadn.c: Likewise.
64 * libio/iopopen.c: Likewise.
65 * libio/ioputs.c: Likewise.
66 * libio/ioseekoff.c: Likewise.
67 * libio/ioseekpos.c: Likewise.
68 * libio/iosetbuffer.c: Likewise.
69 * libio/iosetvbuf.c: Likewise.
70 * libio/iosprintf.c: Likewise.
71 * libio/ioungetc.c: Likewise.
72 * libio/iovdprintf.c: Likewise.
73 * libio/iovsprintf.c: Likewise.
74 * libio/iovsscanf.c: Likewise.
75 * libio/libio.h: Likewise.
76 * libio/libioP.h: Likewise.
77 * libio/obprintf.c: Likewise.
78 * libio/pclose.c: Likewise.
79 * libio/peekc.c: Likewise.
80 * libio/putc.c: Likewise.
81 * libio/putchar.c: Likewise.
82 * libio/rewind.c: Likewise.
83 * libio/setbuf.c: Likewise.
84 * libio/setlinebuf.c: Likewise.
85 * libio/stdfiles.c: Likewise.
86 * libio/stdio.c: Likewise.
87 * libio/strfile.h: Likewise.
88 * libio/strops.c: Likewise.
89 * libio/vasprintf.c: Likewise.
90 * libio/vscanf.c: Likewise.
91 * libio/vsnprintf.c: Likewise.
92
93 * manual/libc.texinfo: Add menu entries for chapter on message
94 translation.
95 * manual/locale.texi: Correct next entry in @node for new chapter.
96 * manual/search.texi: Likewise for previous link.
97 * manual/message.texi: New file.
98 * manual/startup.texi: Document LC_ALL, LC_MESSAGES, NLSPATH,
99 setenv, unsetenv, and clearenv.
100 * manual/string.texi: Fix typos. Patch by Jim Meyering.
101
102 * math/Makefile (test-longdouble-yes): Enable. We want long double
103 tests now.
104
105 Crusade against strcat.
106 * nis/nss_nisplus/nisplus-publickey.c: Remove uses of strcat.
107 * stdlib/canonicalize.c: Likewise.
108
109 * posix/glob.h: Define __const if necessary. Use __const in all
110 prototypes.
111
112 * sysdeps/generic/stpcpy.c: Use K&R form to allow use in other
113 GNU packages.
114
115 * posix/wordexp.c: Completely reworked buffer handling for much
116 better performance. Patch by Tim Waugh.
117
118 * socket/sys/sochet.h (getpeername): Fix type of LEN parameter,
119 it must be socklen_t.
120
121 * sysdeps/libm-i387/e_remainder.S: Pretty print.
122 * sysdeps/libm-i387/e_remainderf.S: Likewise.
123 * sysdeps/libm-i387/e_remainderl.S: Pop extra value for FPU stack.
124 * sysdeps/libm-i387/s_cexp.S: Little optimization.
125 * sysdeps/libm-i387/s_cexpl.S: Likewise.
126 * sysdep/libm-ieee754/s_csinhl.c: Include <fenv.h>.
127
1281997-08-18 15:21 Ulrich Drepper <drepper@cygnus.com>
129
130 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Fix memory leak
131 in cleanup code.
132
1331997-08-17 Paul Eggert <eggert@twinsun.com>
134
135 * tzset.c (__tzset_internal): Fix memory leak when the user
136 specifies a TZ value that uses a default rule file.
137 Do not assume US DST rules when the user specifies
138 that there is no DST.
139
1401997-08-10 19:17 Philip Blundell <Philip.Blundell@pobox.com>
141
142 * inet/getnameinfo.c: Tidy up.
143 * sysdeps/posix/getaddrinfo.c: Likewise.
144
145 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Return 0 if
146 using stub code.
147 (if_indextoname): Use SIOGIFNAME ioctl if the kernel supports it.
148 (if_nameindex): Use alloca() rather than malloc(); use
149 SIOCGIFCOUNT ioctl if the kernel supports it.
150
1511997-08-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
152
153 * sysdeps/unix/sysv/linux/sys/mount.h: Remove the IS_* macros,
154 they operate on internal kernel structures and have no place in a
155 user header.
156
1571997-08-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
158
159 * Makerules (lib%.so): Depend on $(+preinit) and $(+postinit).
160 (build-shlib): Filter them out of $^.
161
1621997-08-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
163
164 * elf/dl-error.c (_dl_signal_error): Fix error message.
165
1661997-08-16 04:06 Ulrich Drepper <drepper@cygnus.com>
167
168 * assert/assert.h [__USE_GNU]: Undefine assert_perror.
169 Reported by Theodore C. Belding <Ted.Belding@umich.edu>.
170
1711997-08-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
172
173 * Makeconfig: Change object suffixes from *.[spgb]o to *.o[spgb]
174 to avoid conflict with PO files.
175 * Makerules: Likewise.
176 * Rules: Likewise.
177 * elf/Makefile: Likewise.
178 * extra-lib.mk: Likewise.
179 * gmon/Makefile: Likewise.
180 * nis/Makefile: Likewise.
181 * nss/Makefile: Likewise.
182 * resolv/Makefile: Likewise.
183 * rpm/Makefile: Likewise.
184 * sunrpc/Makefile: Likewise.
185 * sysdeps/sparc/elf/Makefile: Likewise.
186 * sysdeps/sparc64/elf/Makefile: Likewise.
187 * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
188 (ASFLAGS-.os): Renamed from as-FLAGS.os.
189
ca34d7a7
UD
1901997-08-14 03:14 Ulrich Drepper <drepper@cygnus.com>
191
192 * elf/dl-minimal.c: Don't use relative #include paths.
193 (malloc): Don't try to initialize _dl_pagesize, it already is.
194 (__sigjmp_save, longjmp): Reformat.
195
196 * sysdeps/generic/dl-sysdep.c: Implement _dl_show_auxv function to
197 show content of auxiliary array.
198 (_dl_sysdep_start): Remember start of auxiliary vector.
199 * sysdeps/mach/hurd/dl-sysdep.c: (_dl_show_auxv): New dummy function.
200 * elf/link.h: Add prototype for _dl_show_auxv.
201 * elf/rtld.c (dl_main): Call _dl_show_auxv if LD_SHOW_AUXV envvar
202 is present.
203
204 * libio/iofdopen.c: Better prepare for use in libstdc++.
205 * libio/iofflush.c: Likewise.
206 * libio/iofgetpos.c: Likewise.
207 * libio/iofgets.c: Likewise.
208 * libio/iofopen.c: Likewise.
209 * libio/iofputs.c: Likewise.
210 * libio/iofread.c: Likewise.
211 * libio/iofsetpos.c: Likewise.
212 * libio/ioftell.c: Likewise.
213 * libio/iofwrite.c: Likewise.
214 * libio/iogetdelim.c: Likewise.
215 * libio/iogets.c: Likewise.
216 * libio/iopopen.c: Likewise.
217 * libio/ioputs.c: Likewise.
218 * libio/iosetbuffer.c: Likewise.
219 * libio/iosetvbuf.c: Likewise.
220 * libio/ioungetc.c: Likewise.
221 * libio/iovsprintf.c: Likewise.
222 * libio/iovsscanf.c: Likewise.
223
224 * manual/creature.texi: Mention _XOPEN_SOURCE_EXTENDED in correct
225 place.
226
227 * manual/math.texi: Add comment to sincos decsription to say it's a
228 GNU extension.
229 Fix description of random function.
230
231 * posix/fnmatch.h: Recognize Windog by _WINDOWS32 not WIN32.
232 * posix/glob.c: Likewise. Handle stupid system headers on SunOS.
233 Add casts for all __alloca calls.
234 * posix/glob.h: Recognize Windog by _WINDOWS32 not WIN32.
235 Declare additional GLOB_* constants also if _GNU_SOURCE is defined.
236 Patches by Paul D. Smith <psmith@BayNetworks.COM>.
237
238 * stdio-common/_itoa.c: Don't use relateive #include paths.
239
240 * sysdeps/i386/fpu/bits/mathinline.h: Enable optimizations even for
241 gcc 2.7.
242 (atan): Loading 1.0 from memory does not pay off.
243 (asinh): Fix typo.
244
2451997-08-13 09:44 Philip Blundell <Philip.Blundell@pobox.com>
246
247 * sysdeps/stub/accept.c: Use socklen_t where necessary.
248 * sysdeps/stub/bind.c: Likewise.
249 * sysdeps/stub/connect.c: Likewise.
250 * sysdeps/stub/getsockname.c: Likewise.
251 * sysdeps/stub/getsockopt.c: Likewise.
252 * sysdeps/stub/recvfrom.c: Likewise.
253 * sysdeps/stub/sendto.c: Likewise.
254 * sysdeps/stub/setsockopt.c: Likewise.
255
2561997-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
257
258 * io/ftw.c (object_compare): Avoid memcmp when comparing scalar
259 types.
260
2611997-08-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
262
263 * math/libm-test.c (cbrt_test): Add epsilon for long double to
264 `cbrt (-0.001)'.
265
2661997-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
267
268 * sysdeps/stub/bits/string.h: Fix comment.
269
2701997-08-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
271
272 * elf/Makefile (routines): Remove dl-version.
273 (dl-routines): Add it here instead. This removes dead code from
274 libc.so.
275
2761997-08-12 17:17 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
277
278 * malloc/thread-m.h (thread_atfork, thread_atfork_static): New
279 macros to encapsulate pthread_atfork's functionality.
280 * malloc/malloc.c (ptmalloc_lock_all, ptmalloc_unlock_all): New
281 functions, registered via thread_atfork in the initialization
282 routine or via thread_atfork_static in global scope. This
283 ensures a consistent state of all locks across fork().
284
2851997-08-11 23:00:32 1997 Mark Kettenis <kettenis@phys.uva.nl>
286
287 * login/programs/xtmp.c (compare_entry):
288 Partially undo patch made by Klaus Espenlaub. There
289 was no xtmp/utmp typo. Added comment to cclarify this.
290 * login/programs/xtmp.h: Likewise.
291
292 * posix/getopt.c: Recognize Windog by _WINDOWS32 not WIN32.
293 Patch by Paul D. Smith <psmith@BayNetworks.COM>.
294
2951997-08-12 13:51 Ulrich Drepper <drepper@cygnus.com>
296
297 * login/getutid.c: Rename to __getutid and make getutid and getutxid
298 weak aliases.
299 Patch by ir. Mark M._Kettenis <kettenis@phys.uva.nl>.
300
3011997-08-11 23:55 Ulrich Drepper <drepper@cygnus.com>
302
303 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
304 Add bits/mman.h.
305
3061997-08-11 08:51:21 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
307
308 * stdlib/fmtmsg.c (fmtmsg): Add static to
309 __libc_once_define macro.
310
311 * libc.map (__progname_full, __progname): Added.
312
3131997-08-04 08:31 H.J. Lu <hjl@gnu.ai.mit.edu>
314
315 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Return 0
316 if SIOGIFINDEX is not defined.
317 (if_indextoname): Initialize "result" to NULL.
318 (if_nametoindex, if_nameindex): Fix ENOSYS setting.
319
3201997-08-11 11:58 Richard Henderson <rth@cygnus.com>
321
322 Sparc ISO C 9x exception handling:
323 * sysdeps/sparc/fpu/bits/mathdef.h: New file.
324 * sysdeps/sparc/fpu/fclrexcpt.c: New file.
325 * sysdeps/sparc/fpu/fegetenv.c: New file.
326 * sysdeps/sparc/fpu/fegetround.c: New file.
327 * sysdeps/sparc/fpu/feholdexcpt.c: New file.
328 * sysdeps/sparc/fpu/fesetenv.c: New file.
329 * sysdeps/sparc/fpu/fesetround.c: New file.
330 * sysdeps/sparc/fpu/feupdateenv.c: New file.
331 * sysdeps/sparc/fpu/fgetexcptflg.c: New file.
332 * sysdeps/sparc/fpu/fraiseexcpt.c: New file.
333 * sysdeps/sparc/fpu/fsetexcptflg.c: New file.
334 * sysdeps/sparc/fpu/ftestexcept.c: New file.
335 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: New file.
336 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: New file.
337
3381997-08-11 11:58 Richard Henderson <rth@cygnus.com>
339
340 Sparc64 merge:
341 * configure.in: Change up subdirectories, rename sparc8->sparcv8.
342
343 * csu/Makefile: Nuke need-nopic-initfini bits. The problem was
344 that sparc64 ld did not recognize pic relocs at all.
345
346 * elf/dl-deps.c: Include <string.h>.
347 * elf/do-rel.h (elf_dynamic_do_rel): Take reloc address and size
348 directly instead of the DT names to get them from.
349 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): New macro distilled
350 from ELF_DYNAMIC_DO_REL{,A}. Define a second version that accounts
351 for the possibility that DT_RELA and DT_JMPPLT overlap, as such is
352 the case on the Sparc.
353
354 * elf/elf.h: Stub out Elf64_Ver*, and make them the same as the
355 Elf32_Ver* bits. The linker does not even know to differentiate
356 between the word sizes. Someone should examine this and figure
357 out what the proper sizes of things should be for 64-bit hosts
358 before the sparc64 libraries are distributed.
359
360 * shlib-versions: Rename sparc64 ld.so to not conflict with sparc32
361 on the same machine.
362
363 Move old sysdeps/sparc contents to sysdeps/sparc/sparc32,
364 rename sparc8 subdir to sparcv8, move sysdeps/sparc64 content to
365 sysdeps/sparc/sparc64. Same for sysdeps/unix/sysv/linux/sparc.
366
367 * sysdeps/sparc/Implies: Do ieee754 here.
368 * sysdeps/sparc/configure.in: Move from sparc32/.
369 * sysdeps/sparc/sparc32/Implies: Do wordsize here.
370 * sysdeps/sparc/sparc64/Implies: Likewise.
371
372 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_load_address):
373 Use uninitialized .got to find load address instead of AT_BASE, as
374 the later does not exist when running ld.so directly.
375
376 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Move from ../.
377 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
378
379 * sysdeps/sparc/sparc32/udiv_qrnnd.S: Clean up PIC support.
380
381 * sysdeps/sparc/sparc64/Makefile (sysdep_routines): Add s_finitel
382 and s_signbitl for stdio.
383 * sysdeps/sparc/sparc64/configure.in: Remove, we no longer need
384 nopic_initfini.
385
386 * sysdeps/sparc/sparc64/bsd-_setjmp.S: Remove.
387 * sysdeps/sparc/sparc64/bsd-setjmp.S: Remove.
388 * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-_setjmp.S: New empty file.
389 * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-setjmp.S: New empty file.
390 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add __longjmp alias.
391 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Add weak _setjmp
392 and setjmp entry points.
393
394 * sysdeps/sparc/sparc64/dl-machine.h: Finish real implementation.
395
396 * sysdeps/sparc/sparc64/elf/crtbegin.S: Add copyright, fix PIC.
397 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise.
398
399 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (struct sigaction):
400 Fix sa_flags size for sparc64; add sa_restorer for kernel.
401
402 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Fix PIC.
403 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
404 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
405 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
406
407 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: New file.
408
4091997-08-10 18:29:08 1997 Mark Kettenis <kettenis@phys.uva.nl>
410
411 * login/login.c (login): Check for correct return value of
412 utmpname.
413
4141997-08-11 16:49 Ulrich Drepper <drepper@cygnus.com>
415
416 * time/tzset.c (__tzset_internal): Correctly handle TZ strings
417 following incorrect old POSIX specs.
418 Patch by Paul Eggert <eggert@twinsun.com>.
419
420 * sysdeps/generic/bits/sigaction.h: Correct comment for SA_RESTART.
421 * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
422 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
423 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
424 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
425 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
426 * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
427 * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
428 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
429
4301997-08-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
431
432 * manual/math.texi: Define the macros @mul and @infinity and use
433 them to format the multiplication and infinity signs.
434 (FP Comparison Functions): Use @code, not @math, for C code
435 examples.
436
0413b54c
UD
4371997-08-10 18:48 Ulrich Drepper <drepper@cygnus.com>
438
439 * Makeconfig: Define build-programs to no if not set and $(config-os)
440 is none.
441 * Makerules (+depfiles): Don't add $(others) if not build-programs.
442 * Rules (others): Don't depend on $(install-bin), $(install-rootbin)
443 and $(install-sbin) if not build-programs.
444 * Makefile (subdirs): Remove login.
445 * sysdeps/mach/hurd/Subdirs: Add login.
446 * sysdeps/unix/Subdirs: Add login.
447
448 * sysdeps/generic/sys/mman.h: Test feature macros before defining
449 non-POSIX things. Add MAP_FAILED.
450 * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
451 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
452 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
453 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
454 * sysdeps/unix/sysv/linux/sys/mman.h: Rewrite to not use kernel header
455 but bits/mman.h. Test feature macros before definitions non-POSIX
456 functions.
457 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: New file.
458 * sysdeps/unix/sysv/linux/i386/bits/mman.h: New file.
459 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: New file.
460 * sysdeps/unix/sysv/linux/mips/bits/mman.h: New file.
461 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: New file.
462 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file.
463 * sysdeps/unix/sysv/linux/sparc64/bits/mman.h: New file.
464 * sysdeps/unix/sysv/linux/alpha/Dist: Add bits/mman.h.
465 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
466 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
467 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
468 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
469 * sysdeps/unix/sysv/linux/sparc/Dist: Likewise.
470 * sysdeps/unix/sysv/linux/sparc64/Dist: New file. Likewise.
471
472 * catgets/open_catalog.c (__open_catalog): Compare result of mmap
473 with MAP_FAILED and not -1.
474 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
475 * elf/dl-minimal.c (malloc): Likewise.
476 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Likewise.
477 * locale/loadlocale.c (_nl_load_locale): Likewise.
478 * locale/programs/localedef.c: Likewise.
479 * malloc/malloc.c (mmap_chunk): Likewise.
480 (new_heap): Likewise.
481 * string/stratcliff.c: Likewise.
482 * string/tester.c: Add tests for stpcpy.
483
484 * gmon/gmon.c (__monstartup): Use calloc instead of malloc+memset.
485
486 * gmon/sys/gmon.h: Add prototype for write_profiling.
487
ca34d7a7 488 * elf/dl-profile.c: Add descriptions and implement reading of
0413b54c
UD
489 existing data in profiling file.
490 * gmon/sys/gmon_out.h (GMON_SHOBJ_VERSION): New macro for shared
491 lib profiling data.
492
493 * sysdeps/stub/bits/libc-lock.h (__libc_once_define): Add new first
494 parameter for class.
495
496 * inet/inet_ntoa.c: Make once control variable static.
497 Correctly handle case where key cannot be retrieved.
498 * inet/Makefile (tests): Add tst-ntoa.
499 * inet/tst-ntoa.c: New file.
500
501 * manual/time.texi: Document localtime_r, gmtime_r, asctime_r, and
502 ctime_r.
503 Mention that tzname values must not be changed.
504
505 * manual/users.texi: Document UTMP/WTMP handling functions.
506 Mainly written by Mark Kettenis.
507
508 * math/libm-test.c (cbrt_test): Add test for number with aboslute
509 value < 1.0.
510
511 * nss/nss_files/files-XXX.c (internal_setent): If opening of file
512 failed with EGAIN return NSS_STATUS_TRYAGAIN.
513 * nss/nss_files/files-alias.c (internal_setent): Likewise.
514
515 * sysdeps/generic/bits/utmp.h: Pretty print.
516
517 * sysdeps/i386/i586/strcpy.S: New file. Much faster implementation.
518 * sysdeps/i386/i586/stpcpy.S: New file.
519 * sysdeps/i386/i686/Implies: Don't fall back on i586 versions since
520 these are less efficient than i486/i386 versions.
521
522 * sysdeps/libm-i387/e_rem_pio2.c: Add empty file to prevent the
523 version from libm-ieee754 be compiled since the later is not needed.
524 * sysdeps/libm-i387/e_rem_pio2f.c: Likewise.
525 * sysdeps/libm-i387/e_rem_pio2l.c: Likewise.
526 * sysdeps/libm-i387/k_rem_pio2.c: Likewise.
527 * sysdeps/libm-i387/k_rem_pio2f.c: Likewise.
528 * sysdeps/libm-i387/k_rem_pio2l.c: Likewise.
529 * sysdeps/m68k/fpu/e_rem_pio2.c: Likewise.
530 * sysdeps/m68k/fpu/e_rem_pio2f.c: Likewise.
531 * sysdeps/m68k/fpu/e_rem_pio2l.c: Likewise.
532 * sysdeps/m68k/fpu/k_rem_pio2.c: Likewise.
533 * sysdeps/m68k/fpu/k_rem_pio2f.c: Likewise.
534 * sysdeps/m68k/fpu/k_rem_pio2l.c: Likewise.
535
536 * sysdeps/libm-i387/s_cbrt.S: Fix several bugs.
537 * sysdeps/libm-i387/s_cbrtf.S: Likewise.
538 * sysdeps/libm-i387/s_cbrtl.S: Likewise.
539
540 * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct
541 little bug.
542
543 * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Make field
544 msg_iovlen of type int.
545
546 * time/tzfile.c: Change return type of __tzstring to char *.
547 * time/tzset.c: Likewise. Change definition of __tzstring.
548
549 * time/tzset.c: Interpret no DST information in user provided time
550 zone specification as it is meant: no DST.
551 Patch by Paul Eggert <eggert@twinsun.com>.
552
5531997-07-20 03:01 Geoff Keating <geoffk@ozemail.com.au>
554
555 * sysdeps/elf/dl-load.c (add_name_to_object): New procedure.
556 (_dl_map_object_from_fd): Use add_name_to_object.
557 (_dl_map_object): If an object's SONAME is used to resolve a
558 dependency, add it to the list of the object's names.
559
560 * inet/getnameinfo.c: Make `domain' non-const.
561
562 * sysdeps/unix/sysv/linux/powerpc/kernel_termios.c: Clean up.
563
564 * math/test-fenv.c (feenv_nomask_test): Don't execute if
565 FE_NOMASK_ENV is not defined, or if fesetenv(FE_NOMASK_ENV)
566 sets errno to ENOSYS.
567
568 * sysdeps/powerpc/dl-machine.h: Print proper error message on
569 unknown reloc type (rather than using assert).
570
571 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: New file.
572 * sysdeps/unix/sysv/linux/powerpc/profil.c: Deleted.
573
5741997-07-16 12:47 Geoff Keating <geoffk@ozemail.com.au>
575
576 * sysdeps/powerpc/bits/fenv.h (feraiseexcept): New optimising macro.
577 (feclearexcept): New optimising macro.
578 (FE_NOMASK_ENV): Change to procedure so it can enable exceptions.
579 (FE_ENABLED_ENV): Add.
580 (FE_NONIEEE_ENV): Add.
581 * sysdeps/powerpc/bits/fenv_const.c: Add __fe_enabled_env,
582 __fe_nonieee_env; delete __fe_nomask_env.
583 * sysdeps/powerpc/bits/fe_nomask.c: New file (stub warning until it
584 gets implemented in the kernel).
585
586 * sysdeps/powerpc/fraiseenv.c: Deal with chips that don't have
587 FE_INVALID_SOFTWARE implemented. Use macros for bit names for clarity.
588 * sysdeps/powerpc/fsetexcptflag.c: Likewise.
589
590 * io/ftw.c: Don't compare holes in structures.
591 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Cast the result of the
592 macros to `int', because otherwise it might be `long long' which
593 the calling code is probably not expecting.
594
595 * sysdeps/libm-ieee754/s_lround.c [NO_LONG_DOUBLE]: Fix a few bugs,
596 document the existence of some more.
597
598 * sysdeps/powerpc/s_llrint.c: New file.
599 * sysdeps/powerpc/s_lrint.c: New file.
600 * sysdeps/powerpc/s_llround.c: New file.
601 * sysdeps/powerpc/s_lround.c: New file.
602
603 * sysdeps/powerpc/s_sqrt.c: New file.
604 * sysdeps/powerpc/s_sqrtf.c: New file.
605 * sysdeps/powerpc/w_sqrt.s: New empty file.
606 * sysdeps/powerpc/w_sqrtf.s: New empty file.
607 * sysdeps/powerpc/t_sqrt.c: New file.
608 * sysdeps/powerpc/test-arithf.c: New file.
609 * sysdeps/powerpc/Makefile [subdir=math]: Add t_sqrt to support
610 routines. Add test-arithf to test programs.
611
612 * sysdeps/powerpc/bits/mathdef.h: Add FP_ILOGB0, FP_ILOGBNAN.
613
614 * sysdeps/powerpc/strcmp.s: Simplify drastically. Now much neater,
615 and possibly faster (or possibly slower, depending on input).
616
6171997-06-08 22:55 Geoff Keating <geoffk@ozemail.com.au>
618
619 * sysdeps/powerpc/fenvbits.h: Correct FE_DFL_ENV and FE_NOMASK_ENV
620 macros.
621 * sysdeps/powerpc/s_rint.c: New file.
622
6231997-05-22 08:47 Geoff Keating <geoffk@ozemail.com.au>
624
625 * sysdeps/powerpc/Makefile [subdir=math]: Add q_* routines.
626 * sysdeps/powerpc/Dist: Add quad_float.h.
627 * sysdeps/powerpc/q_dtoq.c: New file.
628 * sysdeps/powerpc/q_itoq.c: New file.
629 * sysdeps/powerpc/q_lltoq.c: New file.
630 * sysdeps/powerpc/q_neg.c: New file.
631 * sysdeps/powerpc/q_qtoi.c: New file.
632 * sysdeps/powerpc/q_qtoll.c: New file.
633 * sysdeps/powerpc/q_qtos.c: New file.
634 * sysdeps/powerpc/q_qtou.c: New file.
635 * sysdeps/powerpc/q_qtoull.c: New file.
636 * sysdeps/powerpc/q_stoq.c: New file.
637 * sysdeps/powerpc/q_ulltoq.c: New file.
638 * sysdeps/powerpc/q_utoq.c: New file.
639 * sysdeps/powerpc/quad_float.h: New file.
640 * sysdeps/powerpc/test-arith.c: New file.
641
642 * sysdeps/powerpc/fpu_control.h: Fix _FPU_GETCW.
643 * sysdeps/powerpc/fegetround.c: Use mcrfs to be faster and not
644 require a stack frame.
645 * sysdeps/powerpc/bits/fenv.h: Include inline macro for fegetround.
646
6471997-05-18 05:55 Geoff Keating <geoffk@ozemail.com.au>
648
649 * sysdeps/powerpc/fenv_libc.h (fegetenv_register,
650 fesetenv_register): Add 'volatile'.
651 (set_fpscr_bit, reset_fpscr_bit): New macros, FPSCR_*
652 constants to use with them.
653 * sysdeps/powerpc/s_copysign.S: New file.
654 * sysdeps/powerpc/s_copysignf.s: New file.
655 * sysdeps/powerpc/s_fabs.S: New file.
656 * sysdeps/powerpc/s_fabsf.s: New file.
657 * sysdeps/powerpc/s_isnan.c: New file.
658 * sysdeps/powerpc/s_isnanf.s: New file.
659 * sysdeps/powerpc/s_rintf.c: New file.
660
661 * sysdeps/powerpc/fenvbits.h: Make FE_INVALID the summary
662 bit in the FPSCR, not the enable bit.
663 * sysdeps/powerpc/fraiseexcpt.c: Consequent change to the above.
664 * sysdeps/powerpc/fclrexcpt.c: Correct.
665 * sysdeps/powerpc/fsetexcptflag.c: Correct.
666 * sysdeps/powerpc/ftestexcpt.c: Is now much simpler.
667 * sysdeps/powerpc/fgetexcptflg.c: Simplify.
668
669 * sysdeps/powerpc/strlen.s: Schedule better, save 3 clocks :-).
670
671 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Add comment
672 explaining some reentrancy issues with lazy PLT entries.
673
6741997-08-09 13:04 Mark Kettenis <kettenis@phys.uva.nl>
675
676 * login/logout.c (logout): utmpname returns -1 on error.
677
678 * login/libutil.map: Remove updwtmp.
679
680 * login/getutline.c: Rename getutline to __getutline and make
681 getutline a weak alias. Make getutxline a weak alias for
682 __getutline.
683 * login/getutid.c: Rename getutid to __getutid and make getutid a
684 weak alias. Make getutxid a weak alias for __getutid.
685 * libc.map: Add getutxid, getutxline.
686
687 * login/utmpname.c (__utmpname): Reset backend right after backend
688 endutent call.
689 * login/utmp_file.c: Reordered functions. Remove unecessary
690 header files.
691 (getutent_r_file, pututline_file): Do not call setutent_file. At this
692 point the file is guaranteed to be open (assert!).
693 (getutid_r_file, getutline_r_file): Remove check for validity of file
694 descriptor. At this point the file is guaranteed to be open.
695 (getutent_r_file, internal_getut_r, getutline_r_file, pututline_file,
696 updwtmp_file): Do not wait when unlocking file.
697 * login/utmp_daemon.c: General cleanup and a bit of reordering.
698 (getutent_r_daemon, pututline_daemon): Do not call setutent_daemon.
699 At this point the socket is guaranteed to be open (assert!).
700 (getutid_r_daemon, getutline_r_daemon): Do not check if daemon_sock is
701 valid. At this point the socket is guaranteed to be open (assert!).
702 * login/getutline_r.c: Remove unnecessary header files.
703 (__getutline_r): Do not call backend setutent.
704 * login/getutid_r.c: Remove unnecessary header files.
705 (__getutid_r): Do not call backend setutent.
706 * login/getutent_r.c: Remove unneccesary header files.
707 (__libc_utmp_unknown_functions): Added getutid_r_unknown,
708 getutline_r_unknown.
709 (setutent_unknown): Only set file backend if setutent for the file
710 backend was successful.
711 (getutent_r_unknown, pututline_unknown): Call setutent_unknown instead
712 of __setutent. Report failure if no backend was selected.
713 (getutid_r_unknown): New function.
714 (getutline_r_unknown): New function.
715 (__endutent): Reset backend. This makes sure all backends are checked
716 on the next setutent call.
717
7181997-08-08 20:20 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
719
720 * nis_cache.c: Replace dummy functions.
721
722 * libc.map: Add xdr_sizeof symbol.
723
724 * sunrpc/Makefile: Add xdr_sizeof to routines.
725 * sunrpc/rpc/xdr.h: Add xdr_sizeof prototype.
726 * sunrpc/xdr_sizeof.c: New, from tirpc 2.3.
727
7281997-08-08 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
729
730 * sysdeps/mach/bits/libc-lock.h (__libc_once): Define correctly.
731
7321997-08-07 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
733
734 * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the
735 right place.
736
7371997-08-06 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
738
739 * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on
740 PC's in long long to avoid overflow.
741
7421997-08-07 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
743
744 * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define):
745 New macros.
746
7471997-08-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
748
749 * nis/Makefile (headers): Remove bits/nislib.h.
750
7511997-08-06 14:54 Ulrich Drepper <drepper@cygnus.com>
752
753 * sysdeps/mach/hurd/Subdirs: Add login.
754
7551997-08-06 14:23 Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>
756
757 * db/hash/hash.c (init_hash): Don't use stat() if it doesn't provide
758 the preferred block size.
759
760 * login/programs/database.c (store_state_entry): Don't compile if
761 there is no ut_type field.
762 (store_state_entry, store_process_entry): Use the ut_tv field
763 for timestamps if supported.
764
765 * login/programs/utmpdump.c (print_entry): Always use ut_tv field.
766
767 * login/programs/xtmp.c: Fix numerous xtmp/utmp typos. Use the ut_tv
768 field for timestamps if supported.
769
770 * login/programs/xtmp.h: Fix xtmp/utmp typo.
771
772 * sysdeps/posix/defs.c (stdstream): Change (PTR) to (void *).
773
774 * sysdeps/stub/connect.c (connect): Change to __connect, add alias.
775 * sysdeps/stub/send.c (send): Likewise.
776 * sysdeps/stub/s_exp2f.c: Emit correct stub_warning().
777 * sysdeps/stub/statfs.c: Move stub_warning() to the usual place.
778 * sysdeps/stub/init-first.c: Add definition of __libc_pid.
779
7801997-08-05 13:28 Philip Blundell <pb@spring.nexus.co.uk>
781
782 * sysdeps/standalone/arm/bits/errno.h: Add EISDIR, EOPNOTSUPP;
783 tidy up formatting.
784
785 * Makefile (subdirs): Remove `login'.
786 * sysdeps/unix/Subdirs: New file; build `login' subdirectory
787 for Unix systems.
788
7891997-08-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
790
791 * sysdeps/generic/bits/utmpx.h: New file.
792
793 * sysdeps/mach/hurd/Dist: Add some files.
794 * sysdeps/mips/Dist: Likewise.
795 * sysdeps/mips/mips64/Dist: Likewise.
796 * sysdeps/sparc/Dist: Likewise.
797 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
798 * sysdeps/unix/sysv/linux/sparc/Dist: Likewise.
799 * sysdeps/mips/mipsel/Dist: New file.
800 * sysdeps/sparc64/elf/Dist: New file.
801 * sysdeps/unix/sysv/linux/sparc64/Dist: New file.
802
8031997-08-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
804
805 * libc.map: Add missing symbols.
806
8071997-08-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
808
809 * manual/socket.texi: Correct typos.
810
811 * manual/math.texi: Correct typos.
812
813 * manual/time.texi (Formatting Date and Time): Likewise.
814
8151997-08-04 13:06 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
816
817 * gmon/gmon.c (write_gmon): New function; guts from _mcleanup.
818 (_mcleanup): Use write_gmon.
819 (write_profiling): This function can be safely called at any time
820 to write a current histogram without interfering with ongoing
821 profiling.
822
823 * sysdeps/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES.
824
8251997-08-01 17:53 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
826
827 * sysdeps/mach/hurd/profil.c (fetch_samples): Sample buffer need
828 not be vm_deallocated; it's a stack buffer.
829 (profil_vm_deallocate): Delete prototype.
830 (#include <../mach/RPC_vm_deallocate_rpc.c>): Drop this
831 inclusion.
832 * sysdeps/mach/hurd/Makefile
833 ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete
834 this rule.
835
836 * sysdeps/mach/hurd/profil.c (fetch_samples): New function, guts
837 from profile_waiter.
838 (profile_waiter): Use fetch_samples.
839 (profil): When turning off profiling, fetch the last bunch of
840 samples before disabling PC sampling.
841 (fetch_samples): Add prototype.
842
8431997-07-30 12:53 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
844
845 * sysdeps/mach/hurd/Makefile: Give normal rules for the mach RPC
846 source included by profil.c instead of trying to use
847 before-compile grot.
848
8491997-07-23 15:04 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
850
851 * sysdeps/mach/hurd/profil.c (profile_waiter): Do vm_deallocate
852 after releasing lock. Use special RPC stubs and avoid assert,
853 thus making this function entirely independent of the threadvar
854 mechanism and of cthreads.
855 (lock): Convert to be a spin lock instead of a mutex, so that the
856 waiter thread need not use cthreads. Use a fork prepare hook
857 instead of _hurd_fork_locks to make sure we are clean before
858 forking.
859 (fork_profil_child): Renamed from fork_profil.
860 (profil_reply_port): New variable.
861 (profil_vm_deallocate, profil_task_get_sampled_pcs): Special RPC
862 stubs made by special hacks.
863 * sysdeps/mach/hurd/Makefile (before-compile): Add the mach RPC
864 source files that profil.c needs if we are in the gmon directory.
865
866 * mach/setup-thread.c (__mach_setup_thread): Delete avoidance of a
867 cthreads bug that hasn't existed for two years.
868
55c14926
UD
8691997-08-04 15:29 Ulrich Drepper <drepper@cygnus.com>
870
871 * locale/programs/localedef.c (main): Set bit in avail for those
872 categories which are successfully read.
873 * locale/programs/locfile.c (check_all_categories): Don't check
874 categories if they are not available.
875 (write_all_categories): Don't write categories if they are not
876 available.
877
878 * login/setutent_r.c (setutent_unknown): Change return type to
879 int and return result of called function.
880
881 * manual/arith.texi: Mark floating-point test macro from ISO C 9X
882 as macros (not functions).
883 * manual/libc.texinfo (UPDATED): Update.
884 * manual/math.texi: Document exceptions, functions to handle
885 exceptions, mathematical constants, FP comparison functions
886 and several new functions from ISO C 9X.
887 Change parameter of drand48, lrand48, and mrand48 to void (not
888 empty).
889 * manual/pattern.texi: Remove paragraph which explained that wordexp
890 is executed by running a shell.
891 * manual/time.texi: Explain difficulties with strftime if the
892 functions returns 0 and no error occurred.
893
894 * math/math.h: Correct comment for some M_* constants.
895 (isgreater, isgreaterequal, isless, islessequal, islessgreater,
896 inunordered): Rewrite to make sure the arguments are evaluated
897 exactly once.
898
899 * nis/rpcsvc/nis.x: Undo last change.
900 * nis/rpcsvc/nis.h: Likewise.
901 * nis/rpcsvc/nislib.h: File moved back to here.
902
903 * posix/sys/types.h: Don't define socklen_t. Pretty print.
904 * socket/sys/socket.h (bind, getsockname, connect, sendto, recvfrom,
905 getsockopt, setsockopt, accept): Change size argument to type
906 socklen_t.
907 Pretty print.
908 * manual/socket.texi: Describe socklen_t and change prototypes of
909 socket functions to use socklen_t.
910 * sysdeps/generic/bits/socket.h: Define socklen_t.
911 (struct msghdr): Correct types to use socklen_t.
912 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
913 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
914
0413b54c 915 * stdio-common/printf_fp.c (__printf_fp): Correct rounding of numbers
55c14926
UD
916 1.0 < x < 8.0.
917 * stdio-common/tfformat.c: Add new tests for above bug.
918
919 * stdlib/strtod.c: Fix typo.
920
921 * string/Makefile (headers): Add bits/string.h.
922 (CFLAGS-*): Add -D__NO_STRING_INLINES.
923 * string/string.h: Include <bits/string.h> if optimizing and
924 __NO_STRING_INLINES is not defined.
925 * sysdeps/stub/bits/string.h: New file.
926
927 * sysdeps/powerpc/bits/fenv.h: Fix typos.
928
929 * sysdeps/unix/sysv/linux/if_index.c: Let functions return ENOSYS
930 if SIOGIFINDEX is not defined.
931
932 * sysdeps/wordsize-32/inttypes.h: Pretty print.
933 * sysdeps/wordsize-64/inttypes.h: Pretty print.
934
935 * termios/cfsetspeed.c: Rewrite loop to do what it shall do.
936
937 * wcsmbs/Makefile (tests): Add tst-wcstof.
938 * wcsmbs/tst-wcstof.c: New file.
939
9401997-08-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
941
942 * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite
943 loop, to avoid dragging stdio into the dynamic linker.
944
9451997-08-02 19:44 H.J. Lu <hjl@gnu.ai.mit.edu>
946
947 * nis/nis_findserv.c (xid, xid_seed, xid_lookup): Make them
948 u_int32_t.
949
9501997-08-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
951
952 * posix/wordexp.c (parse_tilde): Fix calls to __getpwnam_r and
953 __getpwuid_r.
954 Include <stdio.h> to get prototypes of *printf.
955 (exec_comm): Remove unneeded variable *sh.
956
957 * libc.map: Add wordexp, wordfree.
958
959 * posix/Makefile (routines): Add wordexp.
960
9611997-08-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
962
963 * posix/wordexp.c: Correct typo in comment.
964 (wordexp): Likewise.
965
966 * manual/errno.texi (Error Codes): Fix typo.
967
9681997-08-03 15:28 Ulrich Drepper <drepper@cygnus.com>
969
970 * csu/initfini.c (SECTION): Don't put quotes around section name
971 since this is not understood by all assemblers.
972 Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
973
8f2ece69
UD
9741997-08-02 21:27 Ulrich Drepper <drepper@cygnus.com>
975
976 * inet/Makefile (headers): Rename netinet/inbits.h to bits/in.h.
977 * inet/netinet/in.h: Include bits/in.h instead of netinet/inbits.h.
978 * sysdeps/generic/netinet/inbits.h: Move to...
979 * sysdeps/generic/bits/in.h: ... here.
980 * sysdeps/unix/sysv/linux/bits/inbits.h: Move to ...
981 * sysdeps/unix/sysv/linux/bits/in.h: ... here.
982
983 * nis/Makefile (headers): Add bits/nislib.h.
984 * nis/rpcsvc/nislib.h: Moved to ....
985 * nis/bits/nislib.h: ... here.
986
987 * nis/nss_compat/compat-grp.c: Don't include <rpcsvc/nislib.h>.
988 * nis/nss_compat/compat-pwd.c: Likewise.
989 * nis/nss_compat/compat-spwd.c: Likewise.
990 * nis/nss_nisplus/nisplus-alias.c: Likewise.
991 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
992 * nis/nss_nisplus/nisplus-grp.c: Likewise.
993 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
994 * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
995 * nis/nss_nisplus/nisplus-ntework.c: Likewise.
996 * nis/nss_nisplus/nisplus-proto.c: Likewise.
997 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
998 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
999 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1000 * nis/nss_nisplus/nisplus-service.c: Likewise.
1001 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1002
1003 * nis/rpcsvc/nis.x: Include bits/nislib.h, not rpcsvc/nislib.h.
1004 * nis/rpcsvc/nis.h: Likewise.
1005
1006 * inet/getnameinfo.c (nrl_domainname): Change return type to const
1007 char *.
1008 (getnameinfo): Change type of local variable c to const char *.
1009
1010 * inet/inet_ntoa.c: Rewrite to use __libc_once for initialization.
1011 * stdlib/fmtmsg.c: Likewise.
1012
1013 * intl/bindtextdom.c: Update from latest gettext.
1014 * intl/dcgettext.c: Likewise.
1015 * intl/finddomain.c: Likewise.
1016 * intl/l10nflist.c: Likewise.
1017 * intl/localealias.c: Likewise.
1018 * intl/textdomain.c: Likewise.
1019
1020 * login/getutid_r.c: Remove parameter to setutent call.
1021 * login/getutline_r.c: Likewise.
1022
1023 * posix/wordexp.c: Complete rewrite. Not fully implemented yet,
1024 though. Patch by Tim Waugh <tim@cyberelk.demon.co.uk>.
1025
1026 * stdio-common/printf_fp.c: Remove relative include paths.
1027 * stdio-common/printf_fphex.c: Likewise.
1028
1029 * sysdeps/generic/crypt.h: Cleanup. Don't define non standard
1030 elements unless __USE_GNU.
1031
1032 * sysdeps/generic/vlimit.c: Pretty print.
1033 * sysdeps/generic/vtimes.c: Likewise.
1034
1035 * sysdeps/i386/elf/bsd-_setjmp.S: New file. Empty dummy file.
1036 * sysdeps/i386/elf/bsd-setjmp.S: New file. Empty dummy file.
1037 * sysdeps/i386/elf/setjmp.S: New file. Define __setjmp and also
1038 weak definitions of setjmp and _setjmp.
1039
1040 * sysdeps/i386/fpu/bits/mathinline.h: More patches by John Bowman.
1041
1042 * sysdeps/stub/if_index.h: Set errno in all functions and add
1043 stub warnings.
1044
1045 * sysdeps/stub/libc-lock.h: Add __libc_once.
1046
10471997-08-02 01:57 Ulrich Drepper <drepper@cygnus.com>
1048
1049 * sysdeps/unix/sysv/linux/ptrace.c: Don't set errno in error
1050 case since the __syscall_ptrace call already did this.
1051 Reported by Philip Gladstone <philip@talon.raptor.com>.
1052
10531997-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1054
1055 * sysdeps/unix/sysv/linux/sys/fsuid.h: Change include
1056 <gnu/types.h> to <sys/types.h>.
1057
10581997-08-01 23:18 Ulrich Drepper <drepper@cygnus.com>
1059
1060 * csu/defs.awk: Fix regexp for end and align.
1061 Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
1062
0413b54c 1063 * locale/programs/locale.c (print_escaped): New function.
8f2ece69
UD
1064 (show_info): Use print_escaped if strings can control unprintable
1065 characters.
1066 Patch by Jochen Hein <jochen.hein@delphi.central.de>.
1067
10681997-08-01 18:45 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1069
1070 * nis/nss_nisplus/nisplus-alias.c: Fix NULL pointer problems
1071 * nis/nss_nisplus/nisplus-grp.c: Likewise.
1072
10731997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1074
1075 * elf/dl-profile.c (_dl_start_profile): Use _dl_sysdep_error
1076 instead of fprintf.
1077
10781997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1079
1080 * manual/socket.texi (Host Address Functions): Fix arguments of
1081 @deftypefun.
1082
10831997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1084
1085 * elf/dl-runtime.c: Avoid warning about profile_fixup being
1086 unused.
1087
1088 * sysdeps/m68k/dl-machine.h: Add support for shared library
1089 profiling.
1090
10911997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1092
1093 * md5-crypt/Makefile (extra-objs): Add onlymd5-crypt.o for
1094 dependencies.
1095
10961997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1097
1098 * Make-dist (subdirs): Distribute both aout and elf.
1099
11001997-07-31 23:04 Mark Kettenis <kettenis@phys.uva.nl>
1101
1102 * login/utmp-private.h: Remove reset argument from backend
1103 setutent.
1104 * login/getutent_r.c (__setutent): Allways call the setutent
1105 function in the daemon backend.
1106 (setutent_unknown): Function removed.
1107 (getutent_unknown, pututline_unknown): Call __setutent instead of
1108 setutent_unknown.
1109 * login/utmp_file.c (setutent_file): Removed reset argument. All
1110 callers changed.
1111 * login/utmp_daemon.c (setutent_daemon): Removed reset
1112 argument. All callers changed. Try to open connection even if a
1113 previous connection failed, but first check if the sockets exist
1114 in the filesystem.
1115
1116 * login/utmp_daemon.c (pututline_daemon): Try to open connection
1117 before reporting failure.
1118
1119 * login/programs/database.c (open_database): Create compatibility
1120 file if it does not already exist. Supply mode argument in open
1121 calls to guarantee that created files have the proper protection.
1122
1123 * login/programs/utmpd.c (main): Remove files created by a
1124 previous `bind' before creating sockets.
1125 Suggested by a sun <asum@zoology.washington.edu>.
1126
11271997-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1128
1129 * math/libm-test.c: Remove unneeded function check_int_exec.
1130
1131 * BUGS: Correct typos.
1132
1133 * gmon/gmon.c: Add alias for monstartup, declare _strerror_internal.
1134
11351997-07-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1136
1137 * manual/socket.texi (Host Address Functions): Reformat inet_ntop
1138 entry to confirm with expected behaviour of some scripts.
1139
1140 * libc.map: Add functions/variables in global namespace,
1141 remove wildcards.
1142
11431997-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1144
1145 * resolv/libresolv.map: Add variables and routines used by named,
1146 nslookup and other bind utils.
1147 * libc.map: Likewise.
1148
11491997-07-31 00:35 Philip Blundell <Philip.Blundell@pobox.com>
1150
1151 * sysdeps/unix/sysv/linux/if_index.c: Rewrite to avoid using /proc
1152 filesystem.
1153 * inet/test_ifindex.c: New file.
1154 * inet/Makefile (tests): Add test_ifindex.
1155
11561997-08-01 04:25 Ulrich Drepper <drepper@cygnus.com>
1157
1158 * nis/nss_nisplus/nisplus-parser.c: Fix another bug in the parser.
1159 Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
1160
1161 * manual/errno.texi: Fix typo.
1162 Reported by Erik Talvola <etalvo@sapient.com>.
1163
3996f34b
UD
11641997-07-28 23:35 Ulrich Drepper <drepper@cygnus.com>
1165
1166 * csu/gmon-start.c (__gmon_start__): Call __monstartup not
1167 monstartup.
1168 * gmon/gmon.c: Rename moncontrol to __moncontrol and monstartup
1169 to __monstartup.
1170 * gmon/sys/gmon.h: Fix prototypes.
1171 * gmon/sys/gmon_out.h: Pretty print.
1172
1173 * gmon/bb_exit_func.c (__bb_exit_func): Use memcpy instead of bcopy.
1174 * gmon/gmon.c (__monstartup): Likewise.
8f2ece69 1175 (write_hist): Remove dependency on 32 bit int.
3996f34b
UD
1176 (_mcleanup): Don't call perror, use fprintf.
1177
1178 * elf/dl-load.c: Fix handling of current directory in search path.
1179
1180 * elf/Makefile (dl-routines): Add dl-profile.
1181 * elf/dl-profile.c: New file.
1182 * elf/dl-runtime.c (fixup): Add new parameter with address to store
1183 relocation result in to elf_machine_relplt.
1184 (profile_fixup): New function.
1185 * elf/do-rel.h (elf_dynamic_do_rel): Add new parameter with address
1186 to store relocation result in to elf_machine_relplt.
1187 * elf/dl-support.c: Define _dl_profile and _dl_profile_map.
1188 * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Add new parameter and
1189 call elf_machine_runtime_setup with extra argument.
1190 * elf/dl-reloc.c (_dl_relocate_object): Add new argument to
1191 ELF_DYNAMIC_RELOCATE.
1192 * elf/link.h: Add prototypes for new functions and variables.
1193 * elf/rtld.c: Parse LD_PROFILE and LD_PROFILE_OUTPUT environment
1194 variables and call _dl_start_profile if necessary.
1195 * include/sys/gmon_out.h: New file.
1196 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Add
1197 new parameter to enable profiling.
1198 (elf_machine_rela): Add new parameter to specify place to store
1199 result in.
1200 * sysdeps/m68k/dl-machine.h: Likewise.
1201 * sysdeps/mips/dl-machine.h: Likewise.
1202 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1203 * sysdeps/powerpc/dl-machine.h: Likewise.
1204 * sysdeps/sparc/dl-machine.h: Likewise.
1205 * sysdeps/sparc64/dl-machine.h: Likewise.
1206 * sysdeps/i386/dl-machine.h: Likewise.
1207 (elf_machine_runtime_setup): Setup got[2] to _dl_runtime_resolve if
1208 we do profiling.
1209 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add code for _dl_runtime_profile.
1210
1211 * nis/nss_compat/compat-grp.c (internal_setgrent): Set FD_CLOEXEC
1212 for stream on input file.
1213 * nis/nss_compat/compat-pwd.c (internal_setpwent): Likewise.
1214 * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise.
1215 * nss/nss_db/db-XXX.c (internal_setent): Likewise.
1216 * nss/nss_db/db-alias.c (internal_setent): Likewise.
1217 * nss/nss_db/db-netgrp.c (internal_setent): Likewise.
1218 * nss/nss_files/files-XXX.c (internal_setent): Likewise.
1219 * nss/nss_files/files-alias.c (internal_setent): Likewise.
1220 * nss/nss_files/files-netgrp.c (internal_setent): Likewise.
1221
1222 * string/string.h: Pretty print.
1223
1224 * sysdeps/i386/fpu/bits/mathinline.h: Major update by John Bowman.
1225 Add float and long double versions.
1226
12271997-07-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1228
1229 * elf/rtld.c (print_unresolved): Replace empty object name by main
1230 program name.
1231
12321997-07-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1233
1234 * sysdeps/generic/htons.c (htons): Renamed from __htons.
1235
12361997-07-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1237
1238 * sysdeps/m68k/bits/byteswap.h: New file.
1239
12401997-07-27 23:50 Philip Blundell <Philip.Blundell@pobox.com>
1241
1242 * inet/netinet/icmp6.h: Update for new drafts of POSIX.1g and IPv6
1243 advanced API.
1244 * inet/netinet/in.h: Likewise.
1245 * inet/netinet/ip6.h: Likewise.
1246 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1247 * posix/sys/types.h: Add socklen_t.
1248
1249 * manual/socket.texi: Document some more IPv6 things.
1250 * manual/libc.texinfo: Likewise.
1251
12521997-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1253
1254 * libc.map: Define missing symbol.
1255
12561997-07-27 14:31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1257
1258 * nis/Makefile: Add nis_findserv.
1259 * nis/lckcache.c: Fix typo.
1260 * nis/nis_call.c: Fix problems with multihomed servers.
1261 * nis/nis_findserv.c: New file.
1262 * nis/nis_intern.h: Add more prototypes.
1263 * nis/nis_lookup.c (nis_lookup): Don't try the next server if network
1264 is unreachable.
1265 * nis/nis_table.c (nis_list): Likewise.
1266 * nis/nis_ping.c (nis_ping): Use MASTER_ONLY, don't call abort()
1267 in error case.
1268 * nis/nis_util.c (__nis_finddirectory): Give the right error code
1269 back.
1270 * nis/ypclnt.c: Make sure, that all sockets are closed.
1271
0a54e401
UD
12721997-07-26 04:14 Ulrich Drepper <drepper@cygnus.com>
1273
1274 * elf/Makefile (distribute): Add genrtldtbl.awk.
1275 (before-compile): Add rtldtbl.h.
1276 (GAWK): New variable.
1277 (generated): Add trusted-dirs.h and rtldtbl.h.
1278 ($(objpfx)rtldtbl.h): New rule. File is needed by dl-load.c.
1279 * elf/dl-load.c: Rewrite. Now use cache and look for shared
1280 objects in machine dependent directories.
1281 * elf/dl-object.c (_dl_new_object): Initialize l_rpath_dirs member.
1282 * elf/dl-support.c: Rename function to non_dynamic_init and add
1283 initialization for _dl_platform, _dl_platformlen, _dl_pagesize
1284 and call to initializer for search path.
1285 * elf/elf.h: Add AT_PLATFORM and AT_HWCAP.
1286 * elf/genrtldtbl.awk: New file.
1287 * elf/link.h: Add type definitions and declarations for search
1288 path cache.
1289 * elf/rtld.c: Add definitions of variables used for search path cache.
1290 * sysdeps/generic/dl-sysdep.c: Let auxiliary vector initialize
1291 _dl_platform. Initialize _dl_pagesize early and use this value.
1292 * sysdeps/i386/dl-machine.h: Add code for _dl_platform handling.
1293 * sysdeps/mach/hurd/dl-sysdep.c: Initialize _dl_pagesize.
1294 * sysdeps/unix/sysv/linux/dl-sysdep.c: Use _dl_pagesize instead
1295 of calling getpagesize.
1296
1297 * elf/dl-error.c (_dl_signal_error): Make message nicer.
1298
1299 * nss/libnss_files.map: Fix typo.
1300 Reported by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
1301
1302 * sysdeps/generic/strsep.c: Optimize case where separator set contains
1303 only one character.
1304
1305 * sysdeps/libm-ieee754/s_ccosh.c: Correct sign of result for real
1306 == +-Inf.
1307 * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
1308 * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
1309
13101997-07-25 09:15 H.J. Lu <hjl@gnu.ai.mit.edu>
1311
1312 * sysdeps/sparc/udiv_qrnnd.S: Check PIC instead of __PIC__.
1313 * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Likewise.
1314 * sysdeps/unix/mips/sysdep.S: Likewise.
1315 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
1316
1317 * sysdeps/mips/bsd-_setjmp.S: Remove __PIC__ comment.
1318 * sysdeps/mips/bsd-setjmp.S: Likewise.
1319
1320 * sysdeps/mips/dl-machine.h: Remove extra stuff.
1321 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1322
13231997-07-25 18:55 Philip Blundell <Philip.Blundell@pobox.com>
1324
1325 * sysdeps/standalone/arm/sysdep.c: New file.
1326
13271997-07-25 13:25 Philip Blundell <Philip.Blundell@pobox.com>
1328
1329 * aout/Makefile: New file.
1330 * Makeconfig (binfmt-subdir): Assume a.out when not ELF.
1331
1332 * sysdeps/generic/machine-gmon.h: Add warning about limitations of
1333 __builtin_return_address().
1334 * sysdeps/arm/machine-gmon.h: New file, use assembly to avoid
1335 above problem.
1336
13371997-07-25 16:24 H.J. Lu <hjl@gnu.ai.mit.edu>
1338
1339 * elf/dl-deps.c (_dl_map_object_deps): Fix a typo.
1340
13411997-07-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1342
1343 * math/libm-test.c (ccos_test, ccosh_test): Fix sign in some
1344 tests.
1345
13461997-07-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1347
1348 * sunrpc/clnt_udp.c (clntudp_call): Rename cu_wait from timeout to
1349 not shadow the variable in the outer scope.
1350
1522c368
UD
13511997-07-24 03:14 Ulrich Drepper <drepper@cygnus.com>
1352
1353 * elf/dl-deps.c: Complete rewrite to handle DT_AUXILIARY correctly.
1354
1355 * inet/Makefile (tests): Add htontest.
1356 * inet/htontest.c: New file.
1357
1358 * inet/netinet/in.h: Cleanup optimization of ntoh/hton functions
1359 when they are no noops.
1360 * sysdeps/alpha/htonl.S: Don't define __ protected names.
1361 * sysdeps/alpha/htons.S: Likewise.
1362 * sysdeps/generic/htonl.c: Likewise.
1363 * sysdeps/generic/htons.c: Likewise.
1364 * sysdeps/i386/htonl.S: Likewise.
1365 * sysdeps/i386/htons.S: Likewise.
1366 * sysdeps/i386/i486/htonl.S: Likewise.
1367 * sysdeps/vax/htonl.s: Likewise.
1368 * sysdeps/vax/htons.s: Likewise.
1369
1370 * string/Makefile (headers): Add byteswap.h and bits/byteswap.h.
1371 * string/byteswap.h: New file.
1372 * sysdeps/generic/bits/byteswap.h: New file.
1373 * sysdeps/i386/bits/byteswap.h: New file.
1374 * sysdeps/generic/bits/htontoh.h: Removed.
1375 * sysdeps/i386/bits/htontoh.h: Removed.
1376
1377 * misc/search.h: General cleanup. Don't define reentrant hsearch
1378 functions uless __USE_GNU.
1379
1380 * nss/nsswitch.c: Pretty print.
1381
1382 * sunrpc/clnt_udp.c (clntudp_call): Initialize outlen to prevent
1383 warning.
1384
1385 * sysdeps/unix/i386/sysdep.h (DO_CALL): Use lcall, binutils have
1386 been fixed meanwhile.
1387 Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1388
13891997-07-24 00:53 Philip Blundell <Philip.Blundell@pobox.com>
1390
1391 * db/hash/hash.c (init_hash): Only use statbuf.st_blksize if it
1392 exists for this port.
1393
13941997-07-24 00:12 Philip Blundell <Philip.Blundell@pobox.com>
1395
1396 * sysdeps/standalone/arm/bits/errno.h (ESTALE): Add.
1397
13981997-07-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1399
1400 * manual/argp.texi (Argp Option Vectors): Use @minus, not @math,
1401 to format a proper minus sign.
1402
14031997-07-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1404
1405 * sysdeps/m68k/fpu/fraiseexcpt.c: Don't handle FE_INEXACT
1406 specially, the standard doesn't require it.
1407
1408 * math/test-fenv.c (test_exceptions): Add IGNORE_INEXACT argument,
1409 if non-zero then don't test inexact flag. Callers changed.
1410 (set_single_exc): Ignore inexact flag if underflow or overflow
1411 exception is raised.
1412
14131997-07-23 05:10 Ulrich Drepper <drepper@cygnus.com>
1414
1415 * sysdeps/unix/sysv/linux/sys/fsuid.h: New file.
1416 Provided by Michael Deutschmann <ldeutsch@mail.netshop.net>.
1417 * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/fsuid.h.
1418 * sysdeps/unix/sysv/linux/Dist: Add sys/fsuid.h.
1419
14201997-07-16 10:09 Fila Kolodny <fila@ibi.com>
1421
1422 * resolv/gethnamaddr.c: Define MAXHOSTNAMELEN as 256, since RFC 1034
1423 and 1035 state that a fully qualified domain name cannot exceed 255
1424 octets in length.
1425 * resolv/nss_dns/dns-host.c: Likewise.
1426
14271997-07-22 09:54 H.J. Lu <hjl@gnu.ai.mit.edu>
1428
1429 * inet/netinet/in.h (htons): Fix typos.
1430
1431 * sysdeps/i386/bits/htontoh.h (__ntohs): Return the value.
1432
14331997-07-22 11:47 Ulrich Drepper <drepper@cygnus.com>
1434
1435 * nss/nsswitch.c (nss_lookup_function): Include function.def, not
1436 functions.def.
1437 Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
1438
60c96635
UD
14391997-07-22 01:35 Ulrich Drepper <drepper@cygnus.com>
1440
1441 * Makerules (+make-deps): Use $(CFLAGS) in run of $(+mkdep) so
1442 that optimizing is also selected for dependency generation.
1443
1444 * configure.in: Add machine description for TI c[34]x.
1445
1446 * inet/Makefile (routines): Remove ntohl and ntohs.
1447 * inet/netinet/in.h: Use optimized version of hton? and ntoh?
1448 for little endian machines.
1449 * sysdeps/alpha/ntohl.s: Removed.
1450 * sysdeps/alpha/ntohs.s: Removed.
1451 * sysdeps/generic/ntohl.c: Removed.
1452 * sysdeps/generic/ntohs.c: Removed.
1453 * sysdeps/generic/htonl.c: Add aliases for ntohl.
1454 * sysdeps/vax/htonl.s: Likewise.
1455 * sysdeps/generic/htons.c: Add aliases for ntohs.
1456 * sysdeps/vax/htons.s: Likewise.
1457 * sysdeps/vax/ntohl.s: Removed.
1458 * sysdeps/vax/ntohs.s: Removed.
1459 * sysdeps/generic/bits/htontoh.h: New file.
1460 * sysdeps/i386/htonl.S: New file.
1461 * sysdeps/i386/htons.S: New file.
1462 * sysdeps/i386/i486/htonl.S: New file.
1463
1464 * sysdeps/i386/fpu/bits/mathinline.h: Correct and optimized compare
1465 macros.
1466
1467 * sysdeps/mips/dl-machine.h: Remove mips64 dependent parts.
1468 * sysdeps/mips/mips64/dl-machine.h: New file.
1469
1470 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't install
1471 syscall-list.h.
1472
14731997-07-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1474
1475 * libc.map: Add missing symbol _obstack.
1476
14771997-07-14 08:22 H.J. Lu <hjl@gnu.ai.mit.edu>
1478
1479 * sysdeps/mips/rtld-parms: New.
1480
1481 * sysdeps/unix/sysv/linux/mips/lxstat.h: Moved to
1482 * sysdeps/unix/sysv/linux/mips/lxstat.c: ...this.
1483
1484 * sysdeps/unix/sysv/linux/mips/sgidef.h: Moved to
1485 * sysdeps/unix/sysv/linux/mips/sgidefs.h: ...this.
1486
1487 * sysdeps/generic/dl-sysdep.c (_start): Change to ENTRY_POINT.
1488
14891997-07-17 08:39 H.J. Lu <hjl@gnu.ai.mit.edu>
1490
1491 * sysdeps/mips/dl-machine.h: Remove extra stuff.
1492
14931997-07-06 07:18 Geoff Keating <geoffk@ozemail.com.au>
1494
1495 * sysdeps/powerpc/bits/endian.h: Handle multiple endianess.
1496
1497 * stdlib/grouping.h: Suppress gcc warning about testing
1498 unsigned char for less-than-zero.
1499 * stdio-common/printf_fp.c: Likewise.
1500 * stdio-common/vfprintf.c: Likewise.
1501
1502 * sysdeps/powerpc/add_n.s: New file.
1503 * sysdeps/powerpc/sub_n.s: New file.
1504 * sysdeps/powerpc/lshift.s: Ported XCOFF->ELF (from GMP).
1505 * sysdeps/powerpc/mul_1.s: Ported XCOFF->ELF (from GMP).
1506 * sysdeps/powerpc/addmul_1.s: Ported XCOFF->ELF (from GMP).
1507 * sysdeps/powerpc/submul_1.s: Ported XCOFF->ELF (from GMP).
1508 * sysdeps/powerpc/rshift.s: Ported XCOFF->ELF (from GMP).
1509
1510 * math/libm-test.c (cos_test, sin_test, sincos_test): Use
1511 precomputed pi/6 rather than having gcc calculate it, otherwise
1512 tests give inaccurate result due to inaccurate input.
1513 * math/libm.map: Add __fe_*_env constants to list of exported
1514 symbols.
1515
1516 * sysdeps/libm-ieee754/s_isinf.c: Simplify, make faster.
1517 * sysdeps/libm-ieee754/s_isinff.c: Simplify, make faster.
1518 * sysdeps/libm-ieee754/s_atan2f.c: Correct value of pi to be correct
1519 round-to-nearest value.
1520
1521 * sysdeps/libm-ieee754/e_log.c: Make sure exceptions are raised.
1522 * sysdeps/libm-ieee754/e_log10.c: Likewise.
1523 * sysdeps/libm-ieee754/e_log10f.c: Likewise.
1524 * sysdeps/libm-ieee754/e_logf.c: Likewise.
1525 * sysdeps/libm-ieee754/s_log1p.c: Likewise. Also use correct -Inf.
1526 * sysdeps/libm-ieee754/s_log1pf.c: Likewise. Also use correct -Inf.
1527 * sysdeps/libm-ieee754/s_log2.c: Likewise.
1528 * sysdeps/libm-ieee754/s_log2f.c: Likewise.
1529
15301997-07-15 21:54 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1531
1532 * nis/nss_compat/compat-grp.c: Fix "buffer to small" problems
1533 and memory leaks.
1534 * nis/nss_compat/compat-pwd.c: Likewise.
1535 * nis/nss_compat/compat-spwd.c: Likewise.
1536 * nis/nss_nis/nis-alias.c: Likewise.
1537 * nis/nss_nis/nis-ethers.c: Likewise.
1538 * nis/nss_nis/nis-grp.c: Likewise.
1539 * nis/nss_nis/nis-hosts.c: Likewise.
1540 * nis/nss_nis/nis-network.c: Likewise.
1541 * nis/nss_nis/nis-proto.c: Likewise.
1542 * nis/nss_nis/nis-pwd.c: Likewise.
1543 * nis/nss_nis/nis-rpc.c: Likewise.
1544 * nis/nss_nis/nis-service.c: Likewise.
1545 * nis/nss_nis/nis-spwd.c: Likewise.
1546 * nis/nss_nisplus-alias.c: Likewise.
1547 * nis/nss_nisplus-ethers.c: Likewise.
1548 * nis/nss_nisplus-grp.c: Likewise.
1549 * nis/nss_nisplus-hosts.c: Likewise.
1550 * nis/nss_nisplus-netgrp.c: Likewise.
1551 * nis/nss_nisplus-network.c: Likewise.
1552 * nis/nss_nisplus-proto.c: Likewise.
1553 * nis/nss_nisplus-pwd.c: Likewise.
1554 * nis/nss_nisplus-rpc.c: Likewise.
1555 * nis/nss_nisplus-service.c: Likewise.
1556 * nis/nss_nisplus-spwd.c: Likewise.
1557
1558 * nis/nss_nisplus-parse.c: If buffer to small, give -1 back.
1559
15601997-07-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1561
1562 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Mention program
1563 name in warning message.
1564 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
1565 * sysdeps/sparc/dl-machine.h (elf_machine_rela): Likewise.
1566 * sysdeps/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1567
1568 * sysdeps/i386/dl-machine.h (elf_machine_rel): Print program name
1569 first.
1570
15711997-07-20 19:33 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1572
1573 * libc.map: Add _null_auth and _seterr_reply.
1574
1575 * sunrpc/clnt_udp.c (clntudp_call): If xargs is NULL, don't encode it.
1576
907a1bac
UD
15771997-07-19 22:53 Ulrich Drepper <drepper@cygnus.com>
1578
1579 * time/africa: Update from tzdata1997g.
1580 * time/asia: Likewise.
0413b54c 1581 * time/australasia: Likewise.
907a1bac
UD
1582 * time/europe: Likewise.
1583 * time/iso3166.tab: Likewise.
1584 * time/zone.tab: Likewise.
1585 * time/private.h: Update from tzcode1997f.
1586 * time/scheck.c: Likewise.
1587
1588 * libio/stdio.h: Declare snprint and vsnprintf for __USE_ISOC9X.
1589
1590 * math/math.h: Correct comments. Include <bits/mathinline.h>
1591 always when optimizing.
1592
15931997-07-19 10:23 Mark Kettenis <kettenis@phys.uva.nl>
1594
1595 * time/getdate.c (__getdate_r):
1596 Report failure if string was not completely parsed.
1597 (getdate): Set getdate_err on failure.
1598
15991997-07-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1600
1601 * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION):
1602 Synchronize with malloc/obstack.c.
1603
16041997-07-16 Miles Bader <miles@gnu.ai.mit.edu>
1605
1606 * sysdeps/mach/hurd/mmap.c (__mmap): Check for !MAP_SHARED rather
1607 than MAP_COPY|MAP_PRIVATE, since those values are defined wierdly.
1608 Return EACCES rather than EGRATUITOUS if a R/W request isn't writable.
1609
16101997-07-15 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>
1611
1612 * manual/Makefile (INSTALL_INFO): Introduce variable to override
1613 path to install-info for systems like Debian that have an
1614 install-info with a different command line interface from the
1615 canonical GNU texinfo version.
1616
16171997-07-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1618
1619 * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment.
1620 * posix/unistd.h: Likewise.
1621 * sysdeps/stub/ttyname_r.c: Likewise.
1622
cd6ede75
UD
16231997-07-14 23:37 Ulrich Drepper <drepper@cygnus.com>
1624
1625 * inet/getnameinfo.c: Pretty print.
1626 Correctly enlarge buffers.
1627
1628 * login/programs/utmpd.c: Use _() instead of gettext().
1629
1630 * nis/nss_nisplus/nisplus-hosts.c: Optimize some uses of stpcpy away.
1631 * nis/nss_nisplus/nisplus-network.c: Likewise.
1632 * nis/nss_nisplus/nisplus-proto.c: Likewise.
1633 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1634 * nis/nss_nisplus/nisplus-service.c: Likewise.
1635
1636 * sysdeps/alpha/fpu/bits/mathinline.h: Only define functions if
1637 __OPTIMIZE__.
1638 * sysdeps/powerpc/bits/mathinline.h: Likewise.
1639 * sysdeps/i386/fpu/bits/mathinline.h: Define ISO C9x comparison
1640 function always.
1641 * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
1642 * sysdeps/stub/bits/mathinline.h: Add conditionals to show how
1643 it should look like in real files.
1644
1645 * sysdeps/generic/bits/select.h (__FD_ZERO): Don't use memset to
1646 prevent prototype trouble, use simple loop.
1647 * sysdeps/i386/bits/select.h [!__GNUC__] (__FD_ZERO): Likewise.
1648
1649 * sysdeps/mips/mips64/Implies: Imply ieee754.
1650
1651 * sysdeps/unix/sysv/linux/Makefile: Make sure bits/syscall.h is
1652 installed.
907a1bac 1653 * sysdeps/unix/sysv/linux/sys/syscall.h: Pretty print.
cd6ede75
UD
1654
16551997-07-14 00:25 Ulrich Drepper <drepper@cygnus.com>
1656
1657 * sysdeps/stub/bits/stdio_lim.h: Unify with standalone version.
1658 * sysdeps/standalone/bits/stdio_lim.h: Removed.
1659 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1660
16611997-06-22 Paul Eggert <eggert@twinsun.com>
1662
1663 * time/strftime.c (strftime): Use tm_zone if available, even if _LIBC.
1664
1665 * time/tzfile.c (__tzstring): New decl.
1666 (__tzfile_read, __tzfile_default): Set __tzname to permanent strings.
1667 (__tzfile_default): First two args are now const char *.
1668
1669 * time/tzset.c (__tzstring): New function.
1670 (tz_rule): Name is now const char *.
1671 (struct tzstring_head): New type.
1672 (tzstring_list, tzstring_last_buffer_size): New static vars.
1673 (__tzset_internal): Time zone names are now permanent, not temporary.
1674
f21acc89
UD
16751997-07-13 01:18 Ulrich Drepper <drepper@cygnus.com>
1676
1677 * setjmp/setjmp.h: Define _setjmp and _longjmp also if __USE_XOPEN.
1678
1679 * sysdeps/unix/sysv/linux/bits/ipc.h: Fix comment.
1680 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1681 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1682 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1683
1684 * time/Makefile (routines): Add getdate.
1685 * time/time.h: Add prototype for getdate and getdate_r.
1686 * time/getdate.c: New file.
1687 Provided by Mark Kettenis <kettenis@phys.uva.nl>.
1688
16891997-06-30 14:49 H.J. Lu <hjl@gnu.ai.mit.edu>
1690
1691 From Ralf Baechle <ralf@informatik.uni-koblenz.de> on
1692 Sat Jun 21 18:11:21 1997:
1693
1694 * sysdeps/unix/sysv/linux/syscalls.list (swapon): Add __swapon alias.
1695 (swapoff): New.
1696
1697 * elf/Makefile: Add linker script support.
1698 (headers): Add bits/dlfcn.h.
1699
1700 * elf/dl-load.c (MAP_BASE_ADDR): New.
1701
1702 * elf/dlfcn.h: Include <bits/dlfcn.h>.
1703
1704 * elf/elf.h: Add MIPS support.
1705
1706 * sysdeps/generic/Dist: Add entry.h.
1707 * sysdeps/generic/entry.h: New, define the entry symbol.
1708
1709 * elf/rtld.c (_start): Include <entry.h>. Change to ENTRY_POINT.
1710 * sysdeps/generic/dl-sysdep.c (_start): Likewise.
1711 * mips/elf/start.S (_start): Likewise.
1712
1713 * sysdeps/mips/bsd-_setjmp.S: Fix PIC.
1714 * sysdeps/mips/bsd-setjmp.S: Likewise.
1715 * sysdeps/mips/setjmp.S: Likewise.
1716 * mips/elf/start.S: Likewise.
1717 * sysdeps/unix/mips/brk.S: Likewise.
1718 * sysdeps/unix/mips/sysdep.S: Likewise.
1719 * sysdeps/unix/mips/sysdep.h: Likewise.
1720 * sysdeps/unix/mips/wait.S: Likewise.
1721
1722 * sysdeps/mips/dl-machine.h: Update for Linux/MIPS.
1723 * sysdeps/mips/fpu_control.h: Likewise.
1724
1725 * sysdeps/generic/bits/dlfcn.h: New file.
1726
1727 * sysdeps/mips/rtld-ldscript.in: New for Linux/MIPS.
1728 * sysdeps/mips/rtld-parms: Likewise.
1729 * sysdeps/mips/bits/dlfcn.h: Likewise.
1730 * sysdeps/mips/mips64/rtld-parms: Likewise.
1731 * sysdeps/mips/mipsel/rtld-parms: Likewise.
1732 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
1733 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1734 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
1735 * sysdeps/unix/sysv/linux/mips/entry.h: Likewise.
1736 * sysdeps/unix/sysv/linux/mips/fpregdef.h: Likewise.
1737 * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise.
1738 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
1739 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
1740 * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Likewise.
1741 * sysdeps/unix/sysv/linux/mips/lxstat.c: Likewise.
1742 * sysdeps/unix/sysv/linux/mips/regdef.h: Likewise.
1743 * sysdeps/unix/sysv/linux/mips/sgidefs.h: Likewise.
1744 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1745 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
1746 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
1747 * sysdeps/unix/sysv/linux/mips/xstat.c: Likewise.
1748 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
1749 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1750 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h:
1751 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1752 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
1753 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1754 * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
1755 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1756 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1757 * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
1758 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1759 * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
1760 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Likewise.
1761 * sysdeps/unix/sysv/linux/mips/sys/asm.h: Likewise.
1762 * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
1763 * sysdeps/unix/sysv/linux/mips/sys/fpregdef.h: Likewise.
1764 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
1765 * sysdeps/unix/sysv/linux/mips/sys/regdef.h: Likewise.
1766 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Likewise.
1767 * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
1768
17691997-04-09 19:05 H.J. Lu (hjl@gnu.ai.mit.edu)
1770
1771 * isomac.c (xstrndup): New, use it instead of strndup ().
1772
17731997-07-02 08:55 H.J. Lu <hjl@gnu.ai.mit.edu>
1774
1775 * sysdeps/i386/dl-machine.h (elf_machine_rel): Print
1776 the program name for different sizes.
1777
17781997-07-10 15:47 Fila Kolodny <fila@ibi.com>
1779
1780 * nis/ypclnt.c: Change references to MAXHOSTNAMELEN to NIS_MAXNAMELEN.
1781 Add include of rpcsvc/nis.h.
1782 * inet/getnameinfo.c: Delete references to MAXHOSTNAMELEN.
1783 * sysdeps/posix/getaddrinfo.c: Likewise.
1784 Change size of variable buffer to be big enough to hold an IPv6
1785 address in printable format.
1786
17871997-07-12 18:47 Ulrich Drepper <drepper@cygnus.com>
1788
1789 * assert/assert.h [!NDEBUG] (assert, assert_perror): Don't use ||
1790 and && in tests to allow use in C++ code which overloads these
1791 operators. Reported by Istvan Marko <istvan@cmdmail.amd.com>.
1792
1793 * configure.in: Move mips64* recognition before mips*.
1794 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1795
17961997-07-03 20:44 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1797
1798 * Makerules (lib%.so, $(common-objpfx)libc.so): Don't use
1799 automatic variables in dependency lists.
1800 (build-shlib): Always filter out the version script file.
1801 * extra-lib.mk ($(objpfx)$(lib).so): Depend on version script.
1802
18031997-07-12 17:56 Ulrich Drepper <drepper@cygnus.com>
1804
1805 * login/login.c (tty_name): Test return value of ttyname_r for !=
1806 0, not < 0.
1807 * misc/ttyslot.c (ttyslot): Test return value of ttyname_r for ==
1808 0, not >= 0.
1809 * sysdeps/unix/getlogin.c (getlogin): Test return value of
1810 ttyname_r for != 0.
1811 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1812
18131997-07-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1814
1815 * login/utmp_file.c (getutline_r_file): Fix type: compare with
1816 *result.
1817
18181997-07-11 00:21 Mark Kettenis <kettenis@phys.uva.nl>
1819
1820 * login/Makefile (headers): Add utmpx.h and bits/utmpx.h.
1821
18221997-07-09 19:21 Mark Kettenis <kettenis@phys.uva.nl>
1823
1824 * login/programs/utmpd.c, login/programs/database.c,
1825 login/programs/request.c: Prepare messages for
1826 internationalization.
1827
1828 * login/programs/utmpd.c:
1829 (main): Change handling of errors in opening the database.
1830 * login/programs/database.c:
0413b54c 1831 (open_database, synchronize_database, initialize_database):
f21acc89
UD
1832 Properly handle errors.
1833 (get_mtime): Use fstat instead of stat. All callers changed.
1834
1835 * login/getutent_r.c: Make setutxent a weak alias for __setutxent.
1836 * login/getutent.c: Rename getutent to __getutent and make
1837 getutent a weak alias.
1838 Make getutxent a weak alias for __getutent.
1839 * login/utmpx.h: New file.
1840 * sysdeps/gnu/bits/utmp.h: Cleanup. Added comments.
1841 * sysdeps/gnu/bits/utmpx.h: New file.
1842
2d7da676
UD
18431997-07-11 03:00 Ulrich Drepper <drepper@cygnus.com>
1844
1845 * inet/inet_ntoa.c: Prevent looking for thread data key if we found
1846 one.
1847
1848 * signal/sigandset.c: Include stddef.h to get NULL defined.
1849 * signal/sigisempty.c: Likewise.
1850 * signal/sigorset.c: Likewise.
1851 * sysdeps/stub/if_index.h: Likewise.
1852 * wcsmbs/wcstod_l.c: Include locale.h to get __locale_t defined.
1853 * wcsmbs/wcstof_l.c: Likewise.
1854 * wcsmbs/wcstol_l.c: Likewise.
1855 * wcsmbs/wcstold_l.c: Likewise.
1856 * wcsmbs/wcstoll_l.c: Likewise.
1857 * wcsmbs/wcstoul_l.c: Likewise.
1858 * wcsmbs/wcstoull_l.c: Likewise.
1859 Reported by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
1860
1861 * stdio-common/snprintf.c: Use ISO C function definition form.
1862
1863 * sysdeps/stub/libc-lock.h: Don't define __libc_key_create and
1864 __libc_setspecific as empty macros since they are used as
1865 function with return value.
1866 Reported by Andreas Jaeger.
1867
f21acc89
UD
1868 * stdio-common/strops.c: Partialy undo last change. Will need
1869 more investigation.
1870
2d7da676
UD
18711997-07-10 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>
1872
1873 * sysdeps/mach/hurd/select.c (__select): Need bit count for
1874 MACH_MSG_TYPE_INTEGER_T.
1875
18761997-07-08 10:12 Fila Kolodny <fila@ibi.com>
1877
1878 * sysdeps/i370/Implies: New file for i370-ibm-mvs port.
1879 * sysdeps/mvs/Implies: Likewise.
1880
18811997-07-09 23:06 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1882
1883 * nis/Makefile: Add new source files.
1884
1885 * nis/nis_intern.h: Add new internal functions.
1886 * nis/rpcsvc/nislib.h: Likewise.
1887
1888 * nis/lckcache.c: New.
1889 * nis/nis_cache.c: New, dummy functions in the moment.
1890 * nis/nis_util.c: New.
1891 * nis/nisplus-parser.h: New.
1892 * nis/nss_nisplus/nisplus-parser.c: New.
1893 * nis/rpcsvc/nis_cache.h: New.
1894 * nis/rpcsvc/nis_cache.x: New.
1895
1896 * nis/nss_compat/compat-grp.c: Matches Solaris behaviour now.
1897 * nis/nss_compat/compat-pwd.c: Likewise.
1898 * nis/nss_compat/compat-spwd.c: Likewise.
1899 * nis/nss_nisplus/nisplus-alias.c: Likewise.
1900 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1901 * nis/nss_nisplus/nisplus-grp.c: Likewise.
1902 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1903 * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
1904 * nis/nss_nisplus/nisplus-network.c: Likewise.
1905 * nis/nss_nisplus/nisplus-proto.c: Likewise.
1906 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
1907 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1908 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1909 * nis/nss_nisplus/nisplus-service.c: Likewise.
1910 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1911
1912 * nis/nss_nis/nis-publickey.c: Remove libc-lock.h include.
1913
1914 * nis/nis_intern.c: Removed.
1915
1916 * nis/nis_call.c: Complete rewrite.
1917 * nis/nis_lookup.c: Likewise.
1918 * nis/nis_table.c: Likewise.
1919
1920 * nis/libnsl.map: Add missing symbols.
1921
1922 * nis/nis_print.c: Fix nis_print_link.
1923 * nis/nis_subr.c: Fix nis_getnames.
1924
19251997-07-09 07:19 H.J. Lu <hjl@gnu.ai.mit.edu>
1926
1927 * posix/execvp.c (execvp): Handle ESTALE.
1928
19291997-07-10 13:54 Ulrich Drepper <drepper@cygnus.com>
1930
1931 * posix/regex.c: Make CHAR_SET_SIZE definition always available,
1932 even if SYNTAX_TABLE is defined.
1933 Patch by Akim Demaille <demaille@inf.enst.fr>.
1934
19351997-07-09 08:16 H.J. Lu <hjl@gnu.ai.mit.edu>
1936
1937 * libio/fileops.c (_IO_file_underflow): Adjust pointers
1938 before calling _IO_SYSREAD ().
1939
19401997-07-07 22:54 Zack Weinberg <zack@rabi.phys.columbia.edu>
1941
1942 * sysdeps/sparc/divrem.m4: Eliminate use of "DEFS.h"
1943 (sysdep.h does the same job).
1944 * sysdeps/sparc/alloca.S: Likewise.
1945 * sysdeps/sparc/dotmul.S: Likewise.
1946 * sysdeps/sparc/udiv_qrnnd.S: Likewise.
1947
1948 * sysdeps/sparc/rem.S: Regenerated.
1949 * sysdeps/sparc/sdiv.S: Regenerated.
1950 * sysdeps/sparc/udiv.S: Regenerated.
1951 * sysdeps/sparc/urem.S: Regenerated.
1952
1953 * sysdeps/sparc/DEFS.h: Removed.
1954 * sysdeps/sparc/elf/DEFS.h: Removed.
1955 * sysdeps/sparc/Dist: Don't distribute DEFS.h.
1956
1957 * sysdeps/unix/sparc/sysdep.h: Use 4 byte alignment. Add .type
1958 directive #ifdef HAVE_ELF. Minor format changes.
1959
1960 * sysdeps/alpha/DEFS.h: Removed.
1961 * sysdeps/alpha/Dist: Don't distribute DEFS.h.
1962
19631997-07-07 19:03 H.J. Lu <hjl@gnu.ai.mit.edu>
1964
1965 * math/test-fenv.c (feenv_nomask_test): Move
1966 fesetenv (FE_NOMASK_ENV) after fork () to work with
1967 SMP.
1968
1969 * sysdeps/i386/fpu_control.h (_FPU_IEEE): Fix comment.
1970
19711997-07-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1972
1973 * libc.map: Add _IO_peekc_locked.
1974
19751997-07-07 15:45 Fila Kolodny <fila@ibi.com>
1976
1977 * Makeconfig: Add dbobjdir to rpath-link analogous to nssobjdir.
1978
19791997-07-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1980
1981 * sysdeps/m68k/fpu/feholdexcpt.c: Shift the exception mask in the
1982 right position.
1983 * sysdeps/m68k/fpu/fesetenv.c (fesetenv): Likewise.
1984
19851997-07-08 13:59 Ulrich Drepper <drepper@cygnus.com>
1986
1987 * time/strftime.c (spaces, zeroes): Handle broken SGI compiler.
1988 Patch by Richard Stallman <rms@gnu.ai.mit.edu>.
1989
9c2322bc
UD
19901997-07-08 02:18 Ulrich Drepper <drepper@cygnus.com>
1991
1992 * io/lockf.c (lockf): Clear fl before using.
1993 Patch by sr@adb.fr.
1994
1995 * libio/strops.c: Correctly handle _IO_write_end.
1996
1997 * nss/libnss_files.map: Add __nss_netgroup_parseline.
0413b54c 1998 * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
9c2322bc
UD
1999 panic if setnetgrent wasn't called before, return error.
2000 Patch by Thorsten Kukuk <kukuk@uni-paderborn.de>.
2001
2002 * time/mktime.c: Define localtime_r function as my_mktime_localtime_r
2003 if locally defined.
2004 * time/strftime.c: Define localtime_r function as my_ftime_localtime_r
2005 if locally defined.
2006 Define tm_diff function as ftime_tm_diff if locally defined.
2007 Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
2008
762a2918
UD
20091997-07-06 23:36 Ulrich Drepper <drepper@cygnus.com>
2010
2011 * isomac.c (get_null_defines): Put NULL at end of list.
2012
2013 * hurd/Makefile: Remove special handling of sunrpc code.
2014 * sysdeps/mach/hurd/Makefile: Likewise.
2015 Compile CThreads code.
2016 * sunrpc/rpc_main.c: Don't use MAXPATHLEN.
2017 * sysdeps/mach/bits/libc-lock.h: Add definitions for key handling
2018 functions.
2019 * sysdeps/stub/bits/libc-lock.h: Likewise.
2020 * sysdeps/mach/hurd/net/ethernet.h: New file.
2021 * sysdeps/mach/hurd/net/if.h: New file.
2022 * sysdeps/mach/hurd/net/if_arp.h: New file.
2023 * sysdeps/mach/hurd/net/if_ether.h: New file.
2024 * sysdeps/mach/hurd/net/if_ppp.h: New file.
2025 * sysdeps/mach/hurd/net/route.h: New file.
2026 Patches by Fila Kolodny <fila@ibi.com>.
2027
2028 * math/fenv-test.c: Add more tests.
2029 Patch by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
2030
2031 * sysdeps/wordsize-32/inttypes.h: Correct values for INTFAST_MIN,
2032 INTFAST_MAX, and UINTFAST_MAX.
2033 * sysdeps/wordsize-64/inttypes.h: Likewise.
2034 Correct intmax_t definition.
2035
20361997-07-04 15:33 H.J. Lu <hjl@gnu.ai.mit.edu>
2037
2038 * elf/rtld.c (dl_main): Add '\n' to _dl_sysdep_fatal ().
2039
20401997-07-01 09:18 H.J. Lu <hjl@gnu.ai.mit.edu>
2041
2042 * libc.map: Add missing symbol.
2043
20441997-07-04 18:04 H.J. Lu <hjl@gnu.ai.mit.edu>
2045
2046 * stdlib/tst-strtol.c: Don't assume cpp takes ~0UL as long
2047 in cc1. Cpp in gcc doesn't do it.
2048
20491997-07-01 21:15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2050
2051 * libio/libioP.h: Remove second definition of _IO_file_attach.
2052
2053 * sysdeps/i386/fpu/fraiseexcpt.c (feraiseexcept): Correct comments.
2054
2055 * sysdeps/sparc64/elf/start.S (_start): Update and reformat
2056 copyright.
2057 * manual/summary.awk: Likewise.
2058 * misc/bits/stab.def: Likewise.
2059 * posix/glob/Makefile.ami: Likewise.
2060 * posix/glob/Makefile.in: Likewise.
2061 * posix/glob/SMakefile: Likewise.
2062 * sysdeps/gnu/errlist.awk: Likewise.
2063 * sysdeps/mach/hurd/errnos.awk: Likewise.
2064 * sysdeps/standalone/i386/force_cpu386/target.ld: Likewise.
2065 * sysdeps/standalone/m68k/m68020/mvme136/mvme136.ld: Likewise.
2066 * sysdeps/unix/snarf-ioctls: Likewise.
2067 * sysdeps/vax/setjmp.c: Likewise.
2068
20691997-07-05 11:56 Ulrich Drepper <drepper@cygnus.com>
2070
2071 * login/login.c (tty_name): Use newly allocated buffer.
2072