]> sourceware.org Git - glibc.git/blame - ChangeLog
Update.
[glibc.git] / ChangeLog
CommitLineData
f2ea0f5b
UD
11997-10-15 06:56 Ulrich Drepper <drepper@cygnus.com>
2
3 * Rules: Remove ruls to magically install <subdir>.h headers.
4 Reported by Mark Kettenis <kettenis@phys.uva.nl>.
5
6 * glibcbug.in: Fix @gnu.ai.mit.edu -> @gnu.org.
7 * version.c: Likewise.
8 * catgets/gencat.c: Likewise.
9 * db2/makedb.c: Likewise.
10 * locale/programs/locale.c: Likewise.
11 * locale/programs/localedef.c: Likewise.
12
13 * libc.map: Move _IO_list_all back to GLIBC_2.0.
14
15 * elf/rtld.c: Provide name of running program to _dl_new_object.
16
17 * Rules: Implement shared-only-sources.
18 * include/libc-symbols.h: Define default_symbol_version.
19 * libio/Makefile (shared-only-sources): Define.
20 * libio/freopen.c: Define as default version.
21 * libio/iofopen.c: Likewise.
22 * libio/genops.c: Define _IO_list_all here.
23 * libio/stdfiles.c: Create linked list with public names.
24 * libio/oldstdfiles.c: Likewise.
25
26 * stdio-common/printf.c: Optimize.
27 * stdio-common/scanf.c: Optimize.
28
29 * sysdeps/generic/setfpucw.c: Include #include <...> not "...".
30
31 * sysdeps/i386/i486/bits/string.h: Add optimized versions of index and
32 rindex.
33
341997-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
35
36 * manual/arith.texi: Spelling fixes.
37 * manual/conf.texi: Likewise.
38 * manual/creature.texi: Likewise.
39 * manual/filesys.texi: Likewise.
40 * manual/intro.texi: Likewise.
41 * manual/llio.texi: Likewise.
42 * manual/math.texi: Likewise.
43 * manual/message.texi: Likewise.
44 * manual/pattern.texi: Likewise.
45 * manual/search.texi: Likewise.
46 * manual/signal.texi: Likewise.
47 * manual/socket.texi: Likewise.
48 * manual/startup.texi: Likewise.
49 * manual/stdio.texi: Likewise.
50 * manual/string.texi: Likewise.
51 * manual/time.texi: Likewise.
52 * manual/users.texi: Likewise.
53
541997-10-13 05:25 Ulrich Drepper <drepper@cygnus.com>
55
56 * sysdeps/generic/sys/mman.h: Use __ptr_t instead of __caddr_t.
57 * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
58 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
59 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
60 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
61 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
62 * sysdeps/mach/hurd/mmap.c: Likewise.
63 * sysdeps/generic/mmap.c: Likewise.
64 * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise.
65 * sysdeps/mach/munmap.c: Likewise.
66 * sysdeps/generic/munmap.c: Likewise.
67 * sysdeps/mach/mprotect.c: Likewise.
68 * sysdeps/generic/mprotect.c: Likewise.
69 * sysdeps/generic/msync.c: Likewise.
70 * sysdeps/generic/madvise.c: Likewise.
71
72 * sysdeps/unix/sysv/linux/madvise.c: Include stub version from generic
73 subdir.
74
751997-10-12 20:27 Zack Weinberg <zack@rabi.phys.columbia.edu>
76
77 * sysdeps/stub (all files): Moved to sysdeps/generic.
78 * all files using stub_warning: Include <stub-tag.h>.
79 * include/stub-tag.h: New file, marks stubs in .d files.
80 * Makerules: Look for stub-tag.h, not sysdeps/stub, when building
81 <gnu/stubs.h>.
82 * configure.in: Don't add sysdeps/stub to $sysnames.
83 * sysdeps/unix/Makefile: Look for generic headers, not stub
84 headers.
85 * sysdeps/generic/Makefile: Likewise.
86 * manual/maint.texi: Delete references to sysdeps/stub.
87 * INSTALL: Rebuilt.
88 * configure: Rebuilt.
89
1ea89a40
UD
901997-10-13 03:14 Ulrich Drepper <drepper@cygnus.com>
91
92 * libc.map: Move _IO_fopen, fopen, _IO_stdin_, _IO_stdout_,
93 _IO_stderr_, _IO_list_all, and freopen to GLIBC_2.1 version.
94 * include/libc-symbol.h: Define define_symbol.
95 * libio/Makefile [$(versioning)=yes] (routines): Add oldiofopen and
96 oldfreopen.
97 [$(versioning)=yes] (aux): Add oldfileops and oldstdfiles.
98 * libio/fileops.c: Use _IO_FILE_complete when accessing _offset field.
99 * libio/freopen.c: Use versioning.
100 * libio/iofopen.c: Likewise. Generate object of type
101 _IO_FILE_complete.
102 * libio/iofopen64.c: Generate object of type _IO_FILE_complete.
103 * libio/iolibio.h: Declare _IO_{old,new}_fopen and __{old,new}_freopen.
104 Define _IO_old_freopen.
105 * libio/libio.h: Remove _offset field from _IO_FILE. Rename _unused2
106 field to _old_offset. Declare _IO_std*_ streams as of type
107 _IO_FILE_complete.
108 * libio/libioP.h: Define _IO_FILE_complete.
109 Declare callbacks for old fileops implementation.
110 * libio/stdfile.c: Define standard stream of type _IO_FILE_complete.
111 * libio/stdio.c: Correctly address FILE part of standard streams.
112 * libio/oldfileops.c: New file.
113 * libio/oldfreopen.c: New file.
114 * libio/oldiofopen.c: New file.
115 * libio/oldstdfiles.c: New file.
116
117 * sysdeps/i386/fpu/bits/mathinline.h: Define fma optimization.
118
119 * sysdeps/libm-i387/e_scalb.S: Make sure code gets into .text section.
120 * sysdeps/libm-i387/e_scalbl.S: Likewise.
121 * sysdeps/libm-i387/s_fma.S: Fix typo.
122 * sysdeps/libm-i387/s_fmaf.S: Likewise.
123 * sysdeps/libm-i387/s_fmal.S: Likewise.
124
1251997-10-12 20:14 Zack Weinberg <zack@rabi.phys.columbia.edu>
126
127 * sysdeps/stub/getsid.c: Add a stub_warning.
128 * sysdeps/stub/mmap.c: Likewise.
129 * sysdeps/stub/munmap.c: Likewise.
130
dfd2257a
UD
1311997-10-12 05:09 Ulrich Drepper <drepper@cygnus.com>
132
133 * libio/Makefile (routines): Remove iofprintf.
134 * stdio-common/fprintf.c [USE_IN_LIBIO]: Define _IO_fprintf.
135 * libio/filedoalloc.c: Use _G_stat64 instead of stat.
136 * libio/fileops.c (_IO_file_open): Change to take extra argument
137 indicating whether 32 or 64 bit mode is wanted.
138 * libio/iofopen.c: Call _IO_file_open with extra argument set to 0.
139 * libio/iofopen64.c: Call _IO_file_open with extra argument set to 0.
140 * libio/iolibio.h (_IO_freopen, _IO_freopen64): Likewise.
141 * libio/iofgetpos.c: Pretty print.
142 * libio/iofgetpos64.c: Use _IO_fpos64_t for local variable `pos'.
143
144 * manual/conf.texi: Document all the _SC_ and _CS_ constants.
145 * manual/creature.texi: Document _LARGEFILE_SOURCE, _LARGEFILE64_SOURCE
146 and _FILE_OFFSET_BITS.
147 * manual/llio.texi: Document truncate and ftruncate.
148 * manual/stdio.texi: Document positional parameters for printf.
149
150 * math/Makefile (headers): Add tgmath.h.
151 (libm-support): Remove s_lrint, s_llrint, s_lround, and s_llround and
152 move to ...
153 (libm-calls): ... here. Add scalbln, s_nextafterx and s_fma.
154 * math/libm-test.c (lround_test, llround_test): Test for all FP formats
155 by using FUNC().
156 * math/libm.map: Add fma, fmaf, fmal, nextafterx, nextafterxf,
157 nextafterxl, scalbln, scalblnf, scalblnl, lrintf, lrintl, llrintf,
158 llrintl, lroundf, lroundl, llroundf, and llroundl.
159 * math/math.h: Document new platform specific macros from mathdef.h.
160 Remove declaration of lrint, llrint, lround, and llround.
161 * math/test-double.c: Define TEST_DOUBLE.
162 * math/test-idouble.c: Likewise.
163 * math/test-float.c: Define TEST_FLOAT.
164 * math/test-ifloat.c: Likewise.
165 * math/tgmath.h: New file.
166 * math/bits/mathcalls.h: Add nextafterx, scalbln, fma, lrint, llrint,
167 lround, and llround.
168 Change second argument of scalbn to `int'.
1ea89a40
UD
169 * sysdeps/libm-ieee754/s_fma.c: New file.
170 * sysdeps/libm-ieee754/s_fmaf.c: New file.
171 * sysdeps/libm-ieee754/s_fmal.c: New file.
dfd2257a
UD
172 * sysdeps/libm-i387/s_fma.S: New file.
173 * sysdeps/libm-i387/s_fmaf.S: New file.
174 * sysdeps/libm-i387/s_fmal.S: New file.
175 * sysdeps/libm-i387/s_llrint.S: Change to take double argument.
176 * sysdeps/libm-i387/s_lrint.S: Likewise.
177 * sysdeps/libm-i387/s_llrintf.S: New file.
178 * sysdeps/libm-i387/s_llrintl.S: New file.
179 * sysdeps/libm-i387/s_lrintf.S: New file.
180 * sysdeps/libm-i387/s_lrintl.S: New file.
181 * sysdeps/libm-ieee754/s_llrint.c: Remove version which works on
182 80bit double.
183 * sysdeps/libm-ieee754/s_lrint.c: Likewise.
1ea89a40
UD
184 * sysdeps/libm-ieee754/s_llrintf.c: New file.
185 * sysdeps/libm-ieee754/s_llrintl.c: New file.
186 * sysdeps/libm-ieee754/s_lrintf.c: New file.
187 * sysdeps/libm-ieee754/s_lrintl.c: New file.
dfd2257a
UD
188 * sysdeps/libm-i387/s_scalbln.c: New file. Empty file.
189 * sysdeps/libm-i387/s_scalblnf.c: New file. Empty file.
190 * sysdeps/libm-i387/s_scalblnl.c: New file. Empty file.
191 * sysdeps/libm-i387/s_scalbn.c: Add scalbln as alias.
192 * sysdeps/libm-i387/s_scalbnf.c: Add scalblnf as alias.
193 * sysdeps/libm-i387/s_scalbnl.c: Add scalblnl as alias.
194 * sysdeps/libm-ieee754/s_llround.c: Remove version which works on
195 80bit double.
196 * sysdeps/libm-ieee754/s_lround.c: Likewise.
197 * sysdeps/libm-ieee754/s_llroundf.c: Likewise.
198 * sysdeps/libm-ieee754/s_llroundl.c: Likewise.
199 * sysdeps/libm-ieee754/s_lroundf.c: Likewise.
200 * sysdeps/libm-ieee754/s_lroundl.c: Likewise.
201 * sysdeps/libm-ieee754/s_nextafterl.c: Add alias fo nextafterxl.
202 * sysdeps/libm-ieee754/s_nextafterx.c: New file.
203 * sysdeps/libm-ieee754/s_nextafterxf.c: New file.
204 * sysdeps/libm-ieee754/s_nextafterxl.c: New file.
205 * sysdeps/libm-ieee754/s_scalbln.c: New file.
206 * sysdeps/libm-ieee754/s_scalblnf.c: New file.
207 * sysdeps/libm-ieee754/s_scalblnl.c: New file.
208 * sysdeps/libm-ieee754/s_scalbn.c: Change to take `int' as second arg.
209 * sysdeps/libm-ieee754/s_scalbnf.c: Likewise.
210 * sysdeps/libm-ieee754/s_scalbnl.c: Likewise.
211
212 * stdlib/stdlib.h: Protect declarations of __strto*l_internal functions
213 by #ifdefs since they are duplicated in inttypes.h.
214 * sysdeps/wordsize-32/inttypes.h: Add definition of strtoimax and
215 strtoumax plus needed declarations.
216
217 * sysdeps/generic/confname.h (_SC_AIO_LISTIO_MAX): Fix typo.
218
2191997-10-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
220
221 * locale/programs/locfile.c (locfile_read): Correct while loop.
222
223 * db2/makedb.c (main): Add missing parameter for error output.
224 (process_input): Likewise.
225
226 * resolv/gethnamaddr.c (getanswer): Rewrite a bit to avoid warning.
227
2281997-10-12 05:05 Ulrich Drepper <drepper@cygnus.com>
229
230 * libc-map: Add __bzero, __mempcpy.
231
2321997-10-10 18:51 David S. Miller <davem@tanya.rutgers.edu>
233
234 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Remove dependencies
235 on kernel_termios.h
236
2371997-10-09 10:24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
238
239 Add the changes from the Solaris 2.6 header files, use the new public
240 defines/functions.
241 * nis/nis_addmember.c: Updated.
242 * nis/nis_checkpoint.c: Updated.
243 * nis/nis_creategroup.c: updated.
244 * nis/nis_destroygroup.c: Updated.
245 * nis/nis_getservlist.c: Updated.
246 * nis/nis_ismember.c: Updated.
247 * nis/nis_lookup.c: Updated.
248 * nis/nis_modify.c: Updated.
249 * nis/nis_ping.c: Updated.
250 * nis/nis_print.c: Updated.
251 * nis/nis_print_group_entry.c: Updated.
252 * nis/nis_remove.c: Updated.
253 * nis/nis_removemember.c: Updated.
254 * nis/nis_xdr.c: Updated.
255 * nis/nss_nisplus/nisplus-alias.c: Updated.
256 * nis/nss_nisplus/nisplus-ethers.c: Updated.
257 * nis/nss_nisplus/nisplus-hosts.c: Updated.
258 * nis/nss_nisplus/nisplus-network.c: Updated.
259 * nis/nss_nisplus/nisplus-parser.c: Updated.
260 * nis/nss_nisplus/nisplus-proto.c: Updated.
261 * nis/nss_nisplus/nisplus-rpc.c: Updated.
262 * nis/nss_nisplus/nisplus-service.c: Updated.
263 * nis/rpcsvc/nis.h: Updated.
264 * nis/rpcsvc/nis.x: Updated.
265 * nis/rpcsvc/nis_object.x: Updated.
266 * nis/rpcsvc/nis_tags.h: Updated.
267 * nis/rpcsvc/nislib.h: Updated.
268
269 * nis/lckcache.c: Removed, since Sun has dropped the directory
270 signatures. The old cache version is now a security risk and not
271 longer supported by Sun.
272 * nis/nis_cache.c: Likewise.
273 * nis/rpcsvc/nis_cache.h: Likewise.
274 * nis/rpcsvc/nis_cache.x: Likewise.
275
276 * nis/nis_call.c: Remove calls to the cache functions.
277
278 * nis/libnsl.map: Remove cache and depending functions.
279 * nis/nis_intern.h: Likewise.
280
281 * nis/nis_add.c: Remove #include <rpcsvc/nislib.h>.
282 * nis/nis_domain_of.c: Likewise.
283 * nis/nis_domain_of_r.c: Likewise.
284 * nis/nis_error.c: Likewise.
285 * nis/nis_file.c: Likewise.
286 * nis/nis_local_names.c: Likewise.
287 * nis/nis_mkdir.c: Likewise.
288 * nis/nis_rmdir.c: Likewise.
289 * nis/nis_subr.c: Likewise.
290 * nis/nis_verifygroup.c: Likewise.
291
292 * nis/nis_clone.c: Removed, replaced by ...
293 * nis/nis_clone_dir.c: New.
294 * nis/nis_clone_obj.c: New.
295 * nis/nis_clone_res.c: New.
296 * nis/nis_table.c: Fixed bugs shown through the new clone functions.
297
298 * nis/nis_defaults.c: Fixed a lot of race conditions.
299
300 * nis/nis_free.c: Rewritten.
301
302 * sunrpc/auth_des.c: Fix use of free'ed pointer.
303
304 * nis/Makefile (libnsl-routines): Remove nis_clone, nis_cache and
305 lckcache. Add nis_clone_dir, nis_clone_obj, and nis_clone_res.
306
3071997-10-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
308
309 * wctype/test_wctype.c (TEST): Add parens to avoid ambiguity.
310
3111997-10-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
312
313 * include/features.h: Don't crash if _XOPEN_SOURCE is defined to
314 be empty.
315
3161997-10-09 05:54 Ulrich Drepper <drepper@cygnus.com>
317
318 * nss/digits_dots.c: Place `result' in resbuf and not in `buffer'.
319 * nss/getXXbyYY_r.c: Make sure digits_dots.c sees `resbuf' as
320 struct and not a pointer. Little optimizations.
321
3221997-10-09 05:00 Ulrich Drepper <drepper@cygnus.com>
323
324 * sysdeps/stub/getenv.c: Remove unused file.
325 * sysdeps/stub/lxstat.c: Likewise.
326 * sysdeps/stub/morecore.c: Likewise.
327 * sysdeps/stub/putenv.c: Likewise.
328 * sysdeps/stub/sbrk.c: Likewise.
329 * sysdeps/stub/setenv.c: Likewise.
330 * sysdeps/stub/sysd-stdio.c: Likewise.
331 * sysdeps/stub/sysdep.h: Likewise.
332 Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
333
3341997-10-09 04:58 Ulrich Drepper <drepper@cygnus.com>
335
336 * configure.in: Add __bzero definition to DWARF2 unwind test.
337 Reported by David S. Miller <davem@caip.rutgers.edu>.
338
3391997-10-07 Paul Eggert <eggert@twinsun.com>
340
341 * intl/loadmsgcat.c (_nl_load_domain):
342 Fix &&/|| typo when checking file size.
343 Check for overflow when stuffing off_t into size_t.
344
3451997-10-07 18:11 Ulrich Drepper <drepper@cygnus.com>
346
347 * time/africa: Update from tzdata1997i.
348
3491997-10-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
350
351 * posix/globtest.sh: Add arguments for name of dynamic linker and
352 call dynamic linker to execute globtest.
353
354 * posix/Makefile (tests): Supply arguments to globtest.sh.
355
3561997-10-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
357
358 * nis/rpcsvc/ypupd.h: Add missing __END_DECLS.
359
3601997-10-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
361
362 * libc.map: Add mempcpy, prctl.
363
3641997-09-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
365
366 * sysdeps/generic/memcmp.c: Avoid warnings.
367 * sysdeps/generic/memset.c: Likewise.
368 * sysdeps/generic/strchr.c: Likewise.
369 * sysdeps/generic/strlen.c: Likewise.
370
3711997-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
372
373 * malloc/Makefile ($(objpfx)mtrace): Fix typo.
374
3751997-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
376
377 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Fix last change.
378 The R_68K_GLOB_DAT and R_68K_JMP_SLOT relocations really ignore
379 the addend, Richard.
380 (elf_machine_fixup_plt): Don't add the addend.
381 (elf_machine_plt_value): New function.
382
383 * sysdeps/alpha/dl-machine.h (elf_machine_plt_value): New
384 function.
385 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_plt_value): New
386 function.
387 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_plt_value): New
388 function.
389 * sysdeps/powerpc/dl-machine.h (elf_machine_plt_value): New
390 function.
391 * sysdeps/i386/dl-machine.h (elf_machine_plt_value): New
392 function.
393
394 * elf/dl-runtime.c (fixup, profile_fixup): Don't add in the
395 addend, instead let the machine dependent setup decide.
396
3971997-09-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
398
399 * sysdeps/m68k/m68020/bits/string.h: New file.
400
4011997-10-07 04:27 Richard Henderson <rth@cygnus.com>
402
403 * Makeconfig (+includes): Add -I$(objpfx).
404
405 * stdlib/longlong.h [__sparc__]: Prototype __udiv_qrnnd.
406
407 * sysdeps/alpha/setjmp.S: __setjmp is the same as _setjmp. Make
408 the former a strong symbol and the later a weak alias.
409 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
410 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
411
4121997-10-06 21:01 David S. Miller <davem@tanya.rutgers.edu>
413
414 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Make ino_t
415 64-bits.
416 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Make st_ino
417 member 64-bits as well, to match the kernel.
418
4191997-10-06 19:35 Ulrich Drepper <drepper@cygnus.com>
420
421 * sysdeps/sparc/sparc64/sub_n.S: Fix typo.
422 Patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
423
4241997-10-06 01:09 Zack Weinberg <zack@rabi.phys.columbia.edu>
425
426 * time/README: Correct list of files from tzcode package. Add
427 contact information for tzcode/tzdata maintainers. Correct
428 spelling of author's name. Compact lists.
429
4301997-10-06 01:48 Ulrich Drepper <drepper@cygnus.com>
431
432 * malloc/malloc.h: Remove hook definition without caller argument.
433 * malloc/malloc.c: Likewise.
434
435 * string/tester.c: Correct strsep test.
436
437 * string/bits/string2.h: Define __string2_1bptr_p and use it.
438 Patch by David S. Miller <davem@tanya.rutgers.edu>.
439
440 * math/Makefile (routines): Add s_clog10.
441 * math/libm-test.c: Add test for clog10.
442 * math/libm.map: Add clog10{,f,l}.
443 * math/bits/cmathcalls.h [__USE_GNU]: Add clog10.
444 * sysdeps/libm-ieee754/s_clog10.c: New file.
445 * sysdeps/libm-ieee754/s_clog10f.c: New file.
446 * sysdeps/libm-ieee754/s_clog10l.c: New file.
447 * manual/math.texi: Describe clog10.
448
449 * config.h.in: Add USE_REGPARMS and define internal_function based on
450 this.
451 * configure.in: Define USE_REGPARMS for ix86 machines.
452 * gmon/gmon.c: Mark write_hist, write_call_graph and write_bb_counts
453 as internal functions.
454 * inet/getnameinfo.c: Likewise for nrl_domainname.
455 * inet/getnetgrent_r.c: Likewise for __internal_setnetgrent_reuse.
456 * inet/rcmd.c: Likewise for __icheckhost.
457 * intl/dcgettext.c: Likewise for category_to_name and
458 guess_category_value.
459 * intl/localealias.c: Likewise for read_alias_file.
460 * io/fts.c: Likewise for fts_alloc, fts_build, fts_lfree,
461 fts_maxarglen, fts_padjust, fts_palloc, fts_sort, and fts_stat.
462 * libio/genops.c: Likewise for save_for_backup.
463 * malloc/malloc.c (chunk_free, chunk_alloc, chunk_realloc, chunk_align,
464 main_trim, heap_trim): Likewise.
465 * malloc/mtrace.c (tr_where): Likewise.
466 * misc/fstab.c (mnt2fs): Likewise.
467 * misc/getttyent.c (skip, value): Likewise.
468 * misc/syslog.c (openlog_internal): Likewise.
469 * misc/tsearch.c (trecurse, tdestroy_internal): Likewise.
470 * nss/nsswitch.c (nss_lookup_function, nss_parse_file, nss_getline,
471 nss_parse_service_list, nss_new_service): Likewise.
472 * posix/wordexp.c (parse_dollars, parse_backtick, eval_expr): Likewise.
473 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
474 * resolv/inet_pton.c (inet_pton4, inet_pton6): Likewise.
475 * resolv/res_init.c (res_setoptions): Likewise.
476 * stdio-common/printf_fp.c (group_number): Likewise.
477 * stdio-common/vfprintf.c (buffered_vfprintf, group_number): Likewise.
478 * stdlib/fmtmsg.c (internal_addseverity): Likewise.
479 * sunrpc/auth_des.c (synchronize): Likewise.
480 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
481 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
482 * sunrpc/key_call.c (key_call): Likewise.
483 * sunprc/pmap_rmt.c (getbroadcastnets): Likewise.
484 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
485 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref, invalidate):
486 Likewise.
487 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out,
488 set_input_fragment, get_input_bytes): Likewise.
489 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path,
490 phys_pages_info): Likewise.
491 * sysdeps/unix/sysv/linux/if_index.c (opensock): Likewise.
492 * sysdeps/unix/sysv/linux/poll.c (__emulate_poll): Likewise.
493 * sysdeps/unix/sysv/linux/readv.c (__atomic_readv_replacement):
494 Likewise.
495 * sysdeps/unix/sysv/linux/readv.c (__atomic_writev_replacement):
496 Likewise.
497 * time/strptime.c (strptime_internal): Likewise.
498 * time/tzfile.c (find_transition, compute_tzname_max): Likewise.
499 * time/tzset.c (compute_change, tz_compute, tzset_internal): Likewise.
500
501 * libc.map: Remove _libio_using_thunks, add _fp_hw and _dl_addr.
502
503 * ctype/ctype.h: Pretty print.
504 * grp/grp.h: Likewise.
505 * include/libc-symbols.h: Likewise.
506 * include/limits.h: Likewise.
507 * include/values.h: Likewise.
508 * io/fcntl.h: Likewise.
509 * io/sys/stat.h: Likewise.
510 * libio/stdio.h: Likewise.
511 * malloc/malloc.h: Likewise.
512 * misc/err.h: Likewise.
513 * misc/regexp.h: Likewise.
514 * misc/sys/cdefs.h: Likewise.
515 * misc/sys/file.h: Likewise.
516 * posix/sys/utsname.h: Likewise.
517 * posix/sys/wait.h: Likewise.
518 * pwd/pwd.h: Likewise.
519 * resolv/netdb.h: Likewise.
520 * signal/signal.h: Likewise.
521 * stdlib/stdlib.h: Likewise.
522 * string/endian.h: Likewise.
523 * string/memory.h: Likewise.
524 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
525 * sysdeps/mach/hurd/sys/param.h: Likewise.
526 * sysdeps/unix/sysv/linux/sys/param.h: Likewise.
527 * termios/termios.h: Likewise.
528 * wcsmbs/wchar.h: Likewise.
529 * wctype/wctype.h: Likewise.
530
531 * sysdeps/unix/bsd/bsd4.4/wait3.c: Use __WAIT_STATUS in definition.
532
533 Implement Large File Support API.
534 * include/features.h: Add suuport for _LARGEFILE_SOURCE,
535 _LARGEFILE64_SOURCE, and _FILE_OFFSET_BITS.
536 * libc.map: Add new functions for LFS.
537 * dirent/Makefile (routines): Add readdir64 and readdir64_r.
538 * dirent/dirent.h: Update readdir prototype for LFS and add new
539 prototypes for above functions.
540 * io/Makefile (routines): Add xstat64, fxstat64, lxstat64,
541 statfs64, fstatfs64, lstat64, open64, lseek64, creat64, and ftw64.
542 * io/creat64.c: New file.
543 * io/fstat64.c: New file.
544 * io/lstat64.c: New file.
545 * io/stat64.c: New file.
546 * io/ftw64.c: New file.
547 * io/ftw.c: Rewrite to allow easy definition of ftw64.
548 * io/ftw.h: Add LFS interface.
549 * io/fcntl.h: Likewise.
550 * io/sys/stat.h: Likewise.
551 * io/sys/statfs.h: Likewise.
552 * libio/Makefile (routines): Add iofgetpos64, iofopen64, iofsetpos64,
553 freopen64, fseeko64, and ftello64.
554 * libcio/fseeko64.c: New file.
555 * libio/ftello64.c: New file.
556 * libio/iofgetpos64.c: New file.
557 * libio/iofopen64.c: New file.
558 * libio/iofsetpos64.c: New file.
559 * libio/fileops.c (_IO_file_fopen): Change to use _IO_off64_t.
560 (_IO_file_attach): Likewise.
561 (_IO_do_write): Likewise.
562 (_IO_file_sync): Likewise.
563 (_IO_file_seek): Likewise.
564 (_IO_file_seekoff): Likewise. Use _G_stat64.
565 (_IO_file_fopen64): New function.
566 (_IO_file_jumps): Initialize showmanyc and imbue.
567 * libio/genops.c (_IO_default_seekpos): Change to use _IO_fpos64_t.
568 (_IO_default_seekoff): Likewise.
569 (_IO_default_seek): Likewise.
570 (_IO_default_showmanyc, _IO_default_imbue): New functions.
571 * libio/iofopncook.c (_IO_cookie_seek): Change to use _IO_off64_t.
572 * libio/iolibio.h: Add prototypes for LFS functions.
573 * libio/ioseekoff.c: Change to use _IO_fpos64_t.
574 * libio/ioseekpos.c: Likewise.
575 * libio/libio.h: Define _IO_fpos64_t and _IO_off64_t.
576 (_IO_FILE): Move _offset field to end and change type to _IO_off64_t.
577 (_IO_seekoff, _IO_seekpos): Change prototype.
578 * libio/libioP.h (_IO_seekoff_t, _IO_seekpos_t, _IO_seek_t): Change
579 to use _IO_off64_t.
580 Change prototypes for function from the *ops.c files.
581 * libio/stdio.h: Add LFS interface definition.
582 * libio/strops.c (_IO_str_seekoff): Change to use _IO_fpos64_t.
583 * posix/Makefile (routines): Add pread64 and pwrite64.
584 * posix/confstr.c: Handle _CS_LFS* requests.
585 * posix/getconf.c: Handle LFS* requests.
586 * sysdeps/generic/confname.h: Add _CS_LFS* constants.
587 * posix/unistd.h: Document _LFS64_LARGEFILE and _LFS64_STDIO.
588 Define off_t and off64_t appropriately. Change prototypes of
589 LFS functions.
590 * posix/sys/types.h: Add LFS types.
591 * resources/Makefile (routines): Add getrlimit64 and setlimit64.
592 * resource/sys/resource.h: Change prototypes of LFS functions.
593 * stdio-common/Makefile (routines): Add tmpfile64.
594 * stdio-common/tmpfile64.c: New file.
595 * sysdeps/generic/_G_config.h: Define _G_fpos64_t and _G_off64_t.
596 Define _G_OPEN64, _G_LSEEK64, _G_FSTAT64.
597 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
598 * sysdeps/generic/bits/resource.h: Add LFS definitions.
599 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
600 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
601 * sysdeps/generic/statfs.h: Use __fsblkcnt_t for some of the fields.
602 * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
603 * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
604 * sysdeps/generic/types.h: Define LFS types.
605 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
606 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
607 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
608 * sysdeps/generic/sys/mman.h: Add LFS definitions.
609 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
610 * sysdeps/generic/mach/hurd/bits/fcntl.h: Add flock LFS extensions.
611 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
612 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
613 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
614 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
615 * sysdeps/generic/mach/hurd/bits/stat.h: Add stat LFS extensions.
616 * sysdeps/unix/bsd/bits/stat.h: Likewise.
617 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
618 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
619 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
620 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
621 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
622 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
623 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
624 * sysdeps/posix/open64.c: New file.
625 * sysdeps/stub/fstatfs64.c: New file.
626 * sysdeps/stub/fxstat64.c: New file.
627 * sysdeps/stub/getrlimit64.c: New file.
628 * sysdeps/stub/lseek64.c: New file.
629 * sysdeps/stub/lxstat64.c: New file.
630 * sysdeps/stub/open64.c: New file.
631 * sysdeps/stub/pread64.c: New file.
632 * sysdeps/stub/pwrite64.c: New file.
633 * sysdeps/stub/readdir64.c: New file.
634 * sysdeps/stub/readdir64_r.c: New file.
635 * sysdeps/stub/setrlimit64.c: New file.
636 * sysdeps/stub/statfs64.c: New file.
637 * sysdeps/stub/xstat64.c: New file.
638 * sysdeps/unix/sysv/linux/llseek.c: Define as __llseek and make
639 llseek and lseek64 weak aliases.
640 * sysdeps/unix/sysv/linux/lseek64.c: New file. Empty.
641 * sysdeps/unix/sysv/linux/alpha/bits/dirent.h: New file.
642 * sysdeps/unix/sysv/linux/bits/dirent.h: Add LFS definitions.
643
644 * sysdeps/posix/tempname.c: Add extra argument to trigger use of
645 open64.
646 * sysdeps/stub/tempname.c: Likewise.
647 * stdio-common/tempnam.c: Call __stdio_gen_tempname with extra
648 argument.
649 * stdio-common/tmpfile.c: Likewise.
650 * stdio-common/tmpnam.c: Likewise.
651 * stdio-common/tmpnam_r.c: Likewise.
652
653 * libio/libioP.h: Add definition ofr showmanyc and imbue callbacks.
654 * libio/fileops.c (_IO_file_jumps): Initialize showmanyc and imbue.
655 * libio/iofopncook.c (_IO_cookie_jumps): Likewise.
656 * libio/iopopen.c (_IO_proc_jumps): Likewise.
657 * libio/memstream.c (_IO_mem_jumps): Likewise.
658 * libio/obprintf.c (_IO_obstack_jumps): Likewise.
659 * libio/vsnprintf.c (_IO_strn_jumps): Likewise.
660 * libio/strops.c (_IO_str_jumps): Likewise.
661
662 * manual/arith.texi: Add a few words why cabs should be used.
663 * manual/llio.texi: Describe sync, fsync, fdatasync.
664 Tell about cleanup handlers & fcntl,lseek,write,read,close,open.
665 * manual/process.texi: Tell about cleanup handlers & system,waitpid,
666 wait.
667 * manual/signal.texi: Likewise for pause.
668 * manual/terminal.texi: Likewise for tcdrain.
669 * manual/time.texi: Document nanosleep.
670
671 * posix/exevp.c: Don't use nested function.
672
673 * stdlib/ucontext.h: New file.
674 * sysdeps/i386/sys/ucontext.h: New file. SysV/i386 API definitions.
675
676 * sunrpc/xcrypt.c (hexval): Make a macro for efficiency.
677
678 * sysdeps/i386/setjmp.h: Make `here` label local.
679
680 * sysdeps/i386/elf/start.S: Define _fp_hw "variable".
681
682 * sysdeps/stub/fstatfs.c: Correct warning.
683 * sysdeps/stub/fxstat.c: Likewise.
684 * sysdeps/stub/lxstat.c: Likewise.
685
686 * sysdeps/unix/sysv/i386/i686/time.S: New file.
687
6881997-10-03 20:56 Jason Merrill <jason@yorick.cygnus.com>
689
690 * malloc/obstack.h (obstack_empty_p): New macro.
691
6921997-10-04 17:41 Philip Blundell <Philip.Blundell@pobox.com>
693
694 * inet/getnameinfo.c (getnameinfo): Remove spurious `#if INET6'.
695
6961997-09-30 Zack Weinberg <zack@rabi.phys.columbia.edu>
697
698 * maint.texi: Add copyright terms for libdb (Sleepycat, Harvard).
699 Document new --with-binutils switch; delete reference to
700 --with-gnu-as, --with-gnu-ld, --with-gnu-binutils.
701 Add to description of --without-fp: a kernel FPU emulator
702 is adequate (from FAQ)
703 * INSTALL: Regenerated.
704
7051997-09-30 17:29 Richard Henderson <rth@cygnus.com>
706
707 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Move
708 _dl_hwcap declaration to ...
709 (elf_machine_fixup_plt): ... here.
710
a5a0310d
UD
7111997-09-30 18:03 Ulrich Drepper <drepper@cygnus.com>
712
713 * Makerules: Undo last change.
714 * csu/Makefile: Define before-compile at the right place.
715
716 * aclocal.m4: Remove a.out file created by assembler test.
717
718 * set-init.c: Find set-hooks.h using <...>.
719
720 Update to db 2.3.10.
721 * db2/Makefile: Update.
722 * db2/db.h: Likewise.
723 * db2/db_185.h: Likewise.
724 * db2/db_int.h: Likewise.
725 * db2/btree/bt_close.c: Likewise.
726 * db2/btree/bt_conv.c: Likewise.
727 * db2/btree/bt_cursor.c: Likewise.
728 * db2/btree/bt_put.c: Likewise.
729 * db2/btree/bt_rec.c: Likewise.
730 * db2/btree/bt_recno.c: Likewise.
731 * db2/btree/btree.src: Likewise.
732 * db2/btree/btree_auto.c: Likewise.
733 * db2/clib/getlong.c: Likewise.
734 * db2/db/db.c: Likewise.
735 * db2/db/db_auto.c: Likewise.
736 * db2/db/db_conv.c: Likewise.
737 * db2/db/db_pr.c: Likewise.
738 * db2/db/db_ret.c: Likewise.
739 * db2/db/db_thread.c: Likewise.
740 * db2/hash/hash.c: Likewise.
741 * db2/hash/hash_auto.c: Likewise.
742 * db2/hash/hash_conv.c: Likewise.
743 * db2/hash/hash_dup.c: Likewise.
744 * db2/hash/hash_func.c: Likewise.
745 * db2/hash/hash_page.c: Likewise.
746 * db2/hash/hash_rec.c: Likewise.
747 * db2/include/btree.h: Likewise.
748 * db2/include/btree_ext.h: Likewise.
749 * db2/include/db.h.src: Likewise.
750 * db2/include/db_185.h.src: Likewise.
751 * db2/include/db_cxx.h: Likewise.
752 * db2/include/db_ext.h: Likewise.
753 * db2/include/db_int.h.src: Likewise.
754 * db2/include/db_page.h: Likewise.
755 * db2/include/db_shash.h: Likewise.
756 * db2/include/lock.h: Likewise.
757 * db2/include/log.h: Likewise.
758 * db2/include/log_ext.h: Likewise.
759 * db2/include/mp.h: Likewise.
760 * db2/include/shqueue.h: Likewise.
761 * db2/include/txn.h: Likewise.
762 * db2/lock/lock.c: Likewise.
763 * db2/lock/lock_deadlock.c: Likewise.
764 * db2/log/log.c: Likewise.
765 * db2/log/log_archive.c: Likewise.
766 * db2/log/log_auto.c: Likewise.
767 * db2/log/log_get.c: Likewise.
768 * db2/log/log_put.c: Likewise.
769 * db2/log/log_register.c: Likewise.
770 * db2/mp/mp_bh.c: Likewise.
771 * db2/mp/mp_fget.c: Likewise.
772 * db2/mp/mp_fopen.c: Likewise.
773 * db2/mp/mp_fput.c: Likewise.
774 * db2/mp/mp_fset.c: Likewise.
775 * db2/mp/mp_open.c: Likewise.
776 * db2/mutex/mutex.c: Likewise.
777 * db2/os/db_os_dir.c: Likewise.
778 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
779 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
780 * db2/progs/db_dump185/db_dump185.c: Likewise.
781 * db2/progs/db_load/db_load.c: Likewise.
782 * db2/progs/db_recover/db_recover.c: Likewise.
783 * db2/txn/txn.c: Likewise.
784 * db2/txn/txn_auto.c: Likewise.
785
786 * elf/link.h: Define struct libname_list outside struct link_map
787 to not confuse C++ compilers.
788
789 * include/features.h: Recognize _XOPEN_SOURCE == 500 and set
790 __USE_UNIX98.
791 * manual/creature.texi: Explain this.
792
793 * libc.map: Add new functions.
794
795 * libio/Makefile (routines): Add fseeko and ftello.
796 * libio/ftello.c: New file.
797 * libio/fseeko.c: New file.
798 * libio/stdio.h: Add prototypes for new functions.
799 * manual/stdio.texi: Document fseeko and ftello.
800
801 * posix/Makefile (routines): Add pread and pwrite.
802 * sysdeps/posix/pread.c: New file.
803 * sysdeps/posix/pwrite.c: New file.
804 * sysdeps/stub/pread.c: New file.
805 * sysdeps/stub/pwrite.c: New file.
806 * posix/unistd.h: Add prototypes for pread and pwrite.
807 Pretty print header.
808 Define gid_t, uid_t, off_t, pid_t if __USE_UNIX98.
809 Declare ctermid and cuserid if __USE_UNIX98.
810 (swab): Change to take void * arguments.
811 * string/swab.c: Change parameter to void *.
812 * posix/sys/types: Define gid_t, uid_t, off_t, pid_t only if not
813 already happened.
814 * manual/llio.texi: Document pread and pwrite.
815
816 * string/strings.h: Don't simply include string.h. Define BSD
817 functions according to Unix98.
818 * stdlib/tst-strtol.c: Include <string.h> not <strings.h>.
819 * sunrpc/clnt_simp.c: Likewise.
820
821 * malloc/Makefile (aux): Add set-freeres.
822 * malloc/mtrace.c: Define function release_libc_mem which calls the
823 __libc_subfreeres handler.
824 (mtrace): Register release_libc_mem.
825 * malloc/set-freeres.c: New file.
826
827 * intl/dcgettext.c: Define free_mem function and add to
828 __libc_subfreeres list.
829 * intl/finddomain.c: Likewise.
830 * intl/gettextP.h (struct loaded_domain): Add new fields use_mmap
831 and mmap_size. Add prototype for _nl_unloaded_domain.
832 * intl/loadmsgcat.c: Define new function _nl_unload_domain.
833 (_nl_load_domain): Store informaiton about mmap use and file size.
834 * intl/localealias.c (read_alias_file): Optimize locale alias file
835 reading by avoid frequen mallocs.
836 Define free_mem function and add to __libc_subfreeres list.
837
838 * locale/localeinfo.h: Make a difference between MAX_USAGE_COUNT and
839 undeletable.
840 Add prototype for _nl_unload_locale.
841 * locale/C-collate: Mark data as undeletable by using UNDELETABLE.
842 * locale/C-ctype: Likewise.
843 * locale/C-messages: Likewise.
844 * locale/C-monetary: Likewise.
845 * locale/C-numeric: Likewise.
846 * locale/C-time: Likewise.
847 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Handle
848 MAX_USAGE_COUNT and UNDELETABLE.
849 (free_mem): New function. Add it to __libc_subfreeres list.
850 * locale/loadlocale.c: Define _nl_unload_locale function.
851
852 * misc/hsearch.c: Register hdestroy in __libc_subfreeres list.
853
854 * stdlib/fmtmsg.c (addseverity): Handle illegal severity arguments
855 correctly
856 Define free_mem function and add to __libc_subfreeres list.
857
858 * locale/programs/localedef.c (options): short form os verbose is v.
859 Reported by Andreas Jaeger.
860
861 * misc/sys/select.h: Define pselect only is __USE_POSIX since this
862 header is used in some others as well for historical reasons.
863
864 * resolv/resolv.h: Include <netinet/in.h> to make self-contained.
865
866 * string/bits/string2.h: Add missing braces and optimize strcmp a
867 bit more.
868 * sysdeps/i386/i486/bits/string.h: Likewise.
869
870 * sunrpc/rpc/auth_des.h: Include rpc/auth.h to be self-contained.
871 Pretty print.
872
873 * sysdeps/mach/hurd/cthreads.c: Add copyright text.
874
875 * sysdeps/unix/sysv/linux/syscalls.list: Correct prctl entry.
876
877 * sysdeps/unix/sysv/linux/sys/mman.h: Get definition of size_t.
878
879 * time/time.h: Pretty print.
880
8811997-09-29 Paul Eggert <eggert@twinsun.com>
882
883 * time/strftime.c: Synchronize with GNU Emacs strftime.c.
884 (HAVE_MEMCPY): Define if emacs is defined and HAVE_BCOPY isn't.
885 (gmtime_r, localtime_r): Undef before defining.
886 (iso_week_days): Use __inline__, not inline.
887
8881997-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
889
890 * sysdeps/m68k/fpu/bits/mathinline.h: Rename exp2{,l,f} to
891 __ieee754_exp2{,l,f}.
892 * sysdeps/m68k/fpu/s_exp2.c: Likewise.
893 * sysdeps/m68k/fpu/s_exp2l.c: Likewise.
894 * sysdeps/m68k/fpu/s_exp2f.c: Likewise.
895
8961997-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
897
898 * elf/soinit.c (__EH_FRAME_BEGIN__): Don't make the .eh_frame
899 section read-only, it contains relocations.
900 * elf/sofini.c (__FRAME_END__): Likewise.
901
9021997-09-29 03:08 Ulrich Drepper <drepper@cygnus.com>
903
904 * sysdeps/i386/i486/bits/string.h [__PIC__] (__strspn_cg, __strcspn_cg,
905 __strpbrk_cg, __strstr_cg): Optimize even more. No spill register
906 needed. Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
907
9081997-09-28 08:27 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
909
910 * nis/nis_call.c (__do_niscall2): Fix return code, add missing
911 break in switch case.
912
913 * nis/nis_mkdir.c: Fix return codes to match Solaris version.
914 * nis/nis_rmdir.c: Likewise.
915
916 * nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t
917 for C++.
918
9191997-09-28 04:32 Ulrich Drepper <drepper@cygnus.com>
920
921 * configure.in: Fix typo.
922 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
923
9241997-09-25 20:14 Philip Blundell <Philip.Blundell@pobox.com>
925
926 * sysdeps/unix/sysv/linux/scsi/sg.h: New file.
927 * sysdeps/unix/sysv/linux/Makefile: Install <scsi/sg.h>.
928
a2b08ee5
UD
9291997-09-27 01:14 Ulrich Drepper <drepper@cygnus.com>
930
931 * Makeconfig (extra-objs): Depend in before-compile.
932
933 * configure.in: Locate Perl and substitute with complete path.
934 * config.make.in: Add PERL for substitution.
935 * elf/Makefile (routines): Add dl-addr.
936 * elf/dladdr.c: Move the real code into ...
937 * elf/dl-addr.c: New file.
938 * elf/link.h: Add prototype for _dl_addr.
939
940 * elf/dladdr.c (dladdr): Change address argument to be const.
941 * elf/dlfcn.h: Likewise.
942
943 * locale/C_name.c: Add _nl_POSIX_name.
944 * locale/localeinfo.h: Add declaration of _nl_POSIX_name.
945 * locale/findlocale.c (_nl_find_locale): Use _nl_POSIX_name.
946 (_nl_remove_locale): Free name of data set.
947 * locale/setlocale.c (clever_copy): Remove.
948 (new_composite_name): Use _nl_C_name and _nl_POSIX_name in compare.
949 (setname): Only remove old name when it is for category LC_ALL.
950
951 Change malloc, free, realloc, and memalign hooks for glibc to take
952 another parameter indicating the location of the caller.
953 * malloc/malloc.c: Change hook functions and variables.
954 * malloc/malloc.h: Likewise.
955 * malloc/mcheck.c: Likewise. Make sure later hooked function also
956 get the original caller address.
957 * malloc/mtrace.c: Likewise.
958 (tr_where): If no information in _mtrace_file is given use the
959 information about the caller.
960 * malloc/Makefile (distribute): Replace mtrace.awk by mtrace.pl.
961 Add rules to install mtrace.pl after rewriting.
962 * malloc/mtrace.pl: New file. Based on the old AWK script but
963 with extended functionality.
964 * malloc/mtrace.awk: Removed.
965
966 * po/fr.po: New version.
967
968 * string/Makefile: Do use builtins for tester.c and inl-tester.c.
969 * string/tester.c: Rewrite. Split in many small functions to not
970 exceed gcc's limits.
971
972 * sysdeps/unix/sysv/linux/syscalls.list: Add prctl.
973
9741997-09-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
975
976 * string/bits/string2.h (__stpcpy_small): Don't use casts as
977 lvalues.
978
9791997-09-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
980
981 * manual/time.texi (Formatting Date and Time): Clarify
982 explanation of strftime flags a bit.
983 Suggested by Robert Bihlmeyer <robbe@orcus.priv.at>.
984
9851997-09-25 00:13 David S. Miller <davem@tanya.rutgers.edu>
986
987 * sysdeps/libm-ieee754/s_exp2f.c: Protect _GNU_SOURCE definition.
988 Fix typo, it is FLT_MANT_DIG.
989
9901997-09-24 18:52 H.J. Lu <hjl@gnu.ai.mit.edu>
991
992 * math/atest-exp2.c: Include <stdlib/gmp.h> instead of <gmp.h>.
993
9941997-08-27 08:10 H.J. Lu <hjl@gnu.ai.mit.edu>
995
996 * libio/libio.h, libio/libioP.h: Support libio in libstdc++.
997
998 * libio/libio.h (_IO_peekc): Defined as _IO_peekc_unlocked if
999 _IO_MTSAFE_IO is undefined.
1000
10011997-09-24 23:27 Richard Henderson <rth@cygnus.com>
1002
1003 * elf/dl-runtime.c (fixup): Don't go through elf_machine_relplt, but
1004 lookup the value of the target symbol ourselves and call the new
1005 elf_machine_fixup_plt. This kills the ELF_FIXUP_RETURN_VALUE hack.
1006 (profile_fixup): Likewise, but don't fix up the plt.
1007 * elf/rtld.c (_dl_main): ELF_MACHINE_RELOC_NOPLT renamed _JMP_SLOT.
1008 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): Renamed.
1009 (elf_alpha_fix_plt): Renamed elf_machine_fixup_plt.
1010 * sysdeps/i386/dl-machine.h (elf_machine_relplt): Killed.
1011 (ELF_MACHINE_JMP_SLOT): Renamed.
1012 (elf_machine_fixup_plt): New function.
1013 * sysdeps/m68k/dl-machine.h: Likewise.
1014 * sysdeps/powerpc/dl-machine.h: Likewise.
1015 (elf_machine_rela): Moved JMP_SLOT fixup out to elf_machine_fixup_plt.
1016 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1017 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1018 * sysdeps/stub/dl-machine.h: Update, sorta.
1019
1020 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Do profiling.
1021 (TRAMPOLINE_TEMPLATE): From the carcas of _RUNTIME_TRAMPOLINE, do
1022 both normal and profile code.
1023 (elf_machine_rela): Handle r_addend for .got and .plt too.
1024
650425ce
UD
10251997-09-25 00:23 Ulrich Drepper <drepper@cygnus.com>
1026
1027 * elf/dl-profile.c: Correct implementation.
1028
1029 * io/ftwtest-sh: Don't depend on TMPDIR == /tmp.
1030
1031 * locale/setlocale.c: Rewrite a bit for more clarity.
1032
1033 * math/Makefile (libm-calls): Add w_exp2.
1034 * math/math_private.h: Add prototypes for __ieee754_exp2{,f,l}.
1035 * sysdeps/libm-i387/s_exp2.S: Change name to __ieee754_exp2.
1036 * sysdeps/libm-i387/s_exp2f.S: Likewise.
1037 * sysdeps/libm-i387/s_exp2l.S: Likewise.
1038 * sysdeps/libm-ieee754/k_standard.c: Add error cases for exp2.
1039
1040 * string/bits/string2.h (__strcpy_small): Optimize.
1041 (__stpcpy_small): Likewise.
1042 (strncpy): Use variable for dest argument since it's used more than
1043 once.
1044 (strncat): Likewise.
1045 (strcmp): Add optimization for this function.
1046 * sysdeps/i386/i486/string.h (strlen): Correctly use __builtin_strlen.
1047 (__strcpy_small): Optimize.
1048 (__stpcpy_small): Likewise.
1049 (__stpcpy_c): Correctly use __mempcpy_* macros.
1050 (__mempcpy_by2, __mempcpy_by4, __mempcpy_byn): Return pointer to
1051 byte following last copied.
1052 (strncat): Use variable for dest argument since it's used more than
1053 once.
1054 (strcmp): Add optimization for this function.
1055
1056 * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use
1057 .text and .previous to select correct section.
1058
10591997-09-23 19:56 Philip Blundell <Philip.Blundell@pobox.com>
1060
1061 * configure.in: Add `--disable-versioning' option to suppress the
1062 use of symbol versions even if binutils claims to support it.
1063
10641997-09-24 20:10 Philip Blundell <Philip.Blundell@pobox.com>
1065
1066 * csu/Makefile (before-compile): Don't try to build abi-tags.h if
1067 not using ELF.
1068
10691997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1070
1071 * elf/sofini.c [HAVE_DWARF2_UNWIND_INFO]: Supply termination for
1072 the frame unwind info section.
1073
1074 * elf/soinit.c [HAVE_DWARF2_UNWIND_INFO]: Register and unregister
1075 the frame unwind info.
1076
1077 * config.h.in (HAVE_DWARF2_UNWIND_INFO): Add #undef.
1078
1079 * configure.in: Check whether gcc supports DWARF2 unwind info.
1080
1081 * libc.map: Export frame handling tables.
1082
10831997-09-10 06:56 Geoff Keating <geoffk@ozemail.com.au>
1084
1085 * sysdeps/unix/sysv/linux/powerpc/bits/kernel_termios.h:
1086 Use the size of the kernel's termios structure for ioctls.
1087
1088 * sysdeps/powerpc/dl-machine.h: Prepare for library profiling.
1089
1090 * sysdeps/powerpc/bits/mathinline.h: Add slightly slower versions
1091 of the C9X FP comparison macros. Delete 'fabs' and 'sqrt' inline
1092 routines, because gcc has them as internals.
1093
1094 * sysdeps/powerpc/Makefile (pic-ccflags): Define this instead of
1095 CFLAGS-.os.
1096
1097 * sysdeps/powerpc/bzero.S: New file.
1098 * sysdeps/powerpc/strcat.c: New file.
1099 * sysdeps/powerpc/strcpy.S: New file.
1100 * sysdeps/powerpc/stpcpy.S: New file.
1101
1102 * math/Makefile: Add atest_exp2, test-reduce.
1103 * math/atest_exp2.c: New file.
1104 * math/test-reduce.c: New file.
1105 * sysdeps/libm-ieee754/Dist: New file.
1106 * sysdeps/libm-ieee754/s_exp2.c: New file.
1107 * sysdeps/libm-ieee754/s_exp2f.c: New file.
1108 * sysdeps/libm-ieee754/t_exp2.h: New file.
1109 * sysdeps/libm-ieee754/t_exp2f.h: New file.
1110 * math/libm-test.c (exp2_test): Add some more tests.
1111
1112 * Rules: Use empty.os instead of empty.o, since it gets linked into
1113 libc.so...
1114 * configure.in: Add --disable-static to disable building .a files.
1115 * config.make.in: Substitute the new variable.
1116 * Makeconfig: Don't build .o files if not building .a files.
1117
1118 * elf/dl-runtime.c (fixup): Factor out call to elf_machine_relplt.
1119 (profile_fixup): Likewise.
1120
11211997-09-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1122
1123 * posix/globtest.c (main): Change to directory passed as first
1124 argument.
1125
1126 * posix/globtest.sh: Don't cd before running the program, instead
1127 pass testdir as argument, so that $common_objpfx remains valid.
1128
11291997-09-23 18:01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1130
1131 * nis/nis_call.c (__do_niscall2): Fix multiple Server support.
1132
1133 * nis/nis_findserver.c: Save latest working sockaddr_in.
1134
11351997-09-17 22:07 Zack Weinberg <zack@rabi.phys.columbia.edu>
1136
1137 * configure.in: Automatically determine whether as and ld are the
1138 GNU versions.
1139 (options): --with-gnu-{as,ld,binutils} replaced by
1140 single option --with-binutils=PATH specifying a -B option to gcc.
1141 * aclocal.m4: Two new macros defined, LIBC_PROG_FOO_GNU and
1142 LIBC_PROG_BINUTILS.
1143
1144 * configure.in: Allow the user to force configuration for
1145 unsupported platforms with an undocumented option.
1146
11471997-09-22 16:55 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1148
1149 * sunrpc/get_myaddr.c (get_myaddress): Avoid loopback interfaces,
1150 return loopback address only if there is no other interface.
1151
1152 * nis/Makefile: Add nis_callback libnsl-routines.
1153
1154 * nis/nis_add.c: Use new __do_niscall* interface.
1155 * nis/nis_cache.c: Likewise.
1156 * nis/nis_checkpoint.c: Likewise.
1157 * nis/nis_lookup.c: Likewise.
1158 * nis/nis_mkdir.c: Likewise.
1159 * nis/nis_modify.c: Likewise.
1160 * nis/nis_ping.c: Likewise.
1161 * nis/nis_remove.c: Likewise.
1162 * nis/nis_rmdir.c: Likewise.
1163 * nis/nis_server.c: Likewise.
1164 * nis/nis_util.c: Likewise.
1165
1166 * nis/rpcsvc/nis.h: Make C++ safe.
1167
1168 * nis/nss_nisplus/nisplus-publickey.c (getsecretkey): Fix use
1169 of variables.
1170
1171 * nis/nis_findserv.c: Make thread safe.
1172
1173 * nis/nis_call.c: Add support for callback, Fix use of variables.
1174 * nis/nis_table.c: Add support for callback, FOLLOW_PATH and
1175 ALL_RESULTS.
1176 * nis/nis_callback.c: New, callback functions.
1177 * nis/nis_intern.h: Add callback declarations.
1178
11791997-09-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1180
1181 * string/bits/string2.h: Fix logic in preprocessor directive.
1182 (__strsep_1c, __strsep_g): Don't declare __retval as pointing to
1183 const, to save a cast and a possible warning.
1184
11851997-09-22 04:12 Ulrich Drepper <drepper@cygnus.com>
1186
1187 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Really address
1188 memory in xadd not %1.
1189
11901997-09-21 13:56 Ulrich Drepper <drepper@cygnus.com>
1191
1192 * manual/maint.texi (Supported Configurations): Add SPARC64 to
1193 list of supported platforms.
1194
2604afb1
UD
11951997-09-21 03:19 Ulrich Drepper <drepper@cygnus.com>
1196
1197 * libio/libio.h: More libstdc++ cleanups. Define _IO_USE_DTOA if
1198 _G_HAVE_PRINTF_FP is not defined.
1199 * libio/strops.c: Undo patch of 1997-07-08 02:18. Must find a
1200 different solution for the problem.
1201
1202 * misc/search.h [__USE_GNU]: Define comparison_fn_t.
1203 * stdlib/stdlib.h: Define comparison_fn_t only if __COMPAR_FN_T is
1204 not defined.
1205 Fix typo. Pretty print inline functions.
1206
1207 * sysdeps/i386/i486/string.h (__stpcpy_small): Increment __cp not cp.
1208 Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
1209
12101997-09-20 16:45 Ulrich Drepper <drepper@cygnus.com>
1211
1212 * hesiod/hesiod.c (hesiod_init): Use __secure_getenv to get
1213 HES_DOMAIN environment variable.
1214 Suggested by Mark Kettenis <kettenis@phys.uva.nl>.
1215
1216 * hesiod/README.hesiod: A bit of information about Hesiod and how
1217 to use it. Written by Mark Kettenis <kettenis@phys.uva.nl>.
1218
12191997-09-20 05:15 Ulrich Drepper <drepper@cygnus.com>
1220
1221 * manual/maint.texi: Update requirement list.
1222
1223 * io/ftw.h: Don't use parameter names from global namespace in
1224 prototypes.
1225
1226 * stdlib/strtol.c: If used outside glibc handle broken systems
1227 which have character classification functions which are not 8-bit
1228 clean gracefully. Patch by Bruno Haible <haible@ilog.fr>.
1229
12301997-09-19 21:42 David S. Miller <davem@tanya.rutgers.edu>
1231
1232 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: ssize_t is
1233 a long long int.
1234
12351997-09-19 15:12 H.J. Lu <hjl@gnu.ai.mit.edu>
1236
1237 * posix/Makefile (test-srcs): New, set to globtest.
1238
12391997-09-20 00:24 Ulrich Drepper <drepper@cygnus.com>
1240
1241 * manual/filesys.texi: Document ftw, nftw and needed data types.
1242
12431997-09-19 12:53 H.J. Lu <hjl@gnu.ai.mit.edu>
1244
1245 * sysdeps/i386/i486/bits/string.h: Fix typo.
1246
12471997-09-19 14:11 Ulrich Drepper <drepper@cygnus.com>
1248
1249 * io/ftwtest.c (cb): Print level.
1250 * io/ftwtest-sh: Updated for ftwtest.c change.
1251
1252 * string/argz.h (__argz_next): Cast NULL to char * to satisfy C++
1253 compilers.
1254 Reported by Mirko Streckenbach <mirko@ramz.ing.tu-bs.de>.
1255
1256 * catgets/catgets.c (catopen): Correctly allocate string of nlspath.
1257 Reported by Charles C. Fu <ccwf@klab.caltech.edu>.
1258
12591997-09-18 13:30 Klaus Espenlaub <kespenla@student.informatik.uni-ulm.de>
1260
1261 * sysdeps/i386/init-first.c: Call __getopt_clean_environment with
1262 additional argument.
1263 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1264 * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1265 * sysdeps/stub/init-first.c: Likewise.
1266
12671997-09-18 03:16 Ulrich Drepper <drepper@cygnus.com>
1268
1269 * manual/search.texi: Document lsearch, lfind, the hsearch and
1270 tsearch functions.
1271
12721997-09-18 00:04 Ulrich Drepper <drepper@cygnus.com>
1273
1274 * misc/hsearch_r.c (hsearch_r): Only return error for ENTER action
1275 if the table is full and we *really* have to enter a new entry.
1276
12771997-09-17 19:44 Ulrich Drepper <drepper@cygnus.com>
1278
1279 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Get rid
1280 of hack for handling flush opcode.
1281 Patch by Richard Henderson <rth@cygnus.com>.
1282
4547c1a4
UD
12831997-09-16 23:48 Ulrich Drepper <drepper@cygnus.com>
1284
1285 * libio/fileops.c: Define __set_errno if necessary.
1286 * libio/libioP.h: Don't use __BEGIN_DECLS/__END_DECLS, expand macros.
1287
12881997-09-16 22:03 Ulrich Drepper <drepper@cygnus.com>
1289
1290 * string/Makefile (headers): Instead bits/string2.h.
1291 Reported by David S. Miller <davem@jenolan.rutgers.edu>.
1292
12931997-09-16 13:31 David S. Miller <davem@tanya.rutgers.edu>
1294
1295 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: New file.
1296
12971997-09-16 17:42 Ulrich Drepper <drepper@cygnus.com>
1298
1299 * sysdeps/generic/bits/select.h (__FD_ZERO): Declare __arr variable
1300 as of type __fdset *.
1301 * sysdeps/i386/bits/select.h: Likewise.
1302 Reported by David S. Miller <davem@jenolan.rutgers.edu>.
1303
13041997-09-16 04:32 Ulrich Drepper <drepper@cygnus.com>
1305
1306 * hesiod/hesiod.c: Don't use and define cistrcmp. We have
1307 strcasecmp.
1308 (hesiod_init): Use of HES_DOMAIN need not be protected by
1309 __secure_getenv.
1310 (hesiod_to_bind): Avoid using strcat and extra strlen calls, use
1311 stpcpy.
1312
1313 * string/Makefile (noinl-tester-ENV): New variable to make
1314 strerror test pass.
1315 (CFLAGS-noinl-tester): Make sure we test the correct functions.
1316
1317 * sysdeps/stub/atomicity.h: Fix typo.
1318 Zack Weinberg <zack@rabi.phys.columbia.edu> told me this twice.
1319
1320 * manual/string.texi: Document strnlen and mempcpy.
1321 Tell a bit more about the locale dependence of strcasecmp and
1322 strncasecmp.
1323
1324 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove ptrace.
1325 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace): Change return
1326 value type to long int.
1327 * sysdeps/unix/sysv/linux/ptrace.c: Likewise. Adopt local variable
1328 types.
1329 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Fix typo.
1330 Patches by David S. Miller <davem@jenolan.rutgers.edu>.
1331
61eb22d3
UD
13321997-09-16 02:14 Ulrich Drepper <drepper@cygnus.com>
1333
1334 Implementation of Hesiod NSS module by Mark Kettenis.
1335 * hesiod/Makefile: New file.
1336 * hesiod/hesiod.c: New file.
1337 * hesiod/hesiod.h: New file.
1338 * hesiod/hesiod_p.h: New file.
1339 * hesiod/libnss_hesiod.map: New file.
1340 * hesiod/nss_hesiod/hesiod-grp.c: New file.
1341 * hesiod/nss_hesiod/hesiod-pwd.c: New file.
1342 * hesiod/nss_hesiod/hesiod-service.c: New file.
1343 * sysdeps/unix/inet/Subdirs: Add hesiod.
1344
1345 * shlib-versions: Add version number for libnss_hesiod.
1346
1347 * libio/iolibio.h: Remove definition of _IO_* macros.
1348 * libio/fileops.c: Define close, fstat, lseek, read, and write as
1349 macros to use __ protected versions. Use those functions instead
1350 of _IO_* functions.
1351 * libio/iopopen.c: Define _IO_close to close.
1352
1353 * manual/math.texi: Explain the use of the optimizing inline
1354 functions.
1355 Describe rand_r function and tell about SysV RNGs in introduction.
1356
1357 * resolv/res_send.c (res_send): Use socklen_t type for `fromlen'
1358 variable.
1359
1360 * string/Makefile (tests): Add noinl-tester.
1361 * string/noinl-tester.c: New file.
1362 * string/tester.c: Add more stpcpy tests for constant arguments for
1363 all short lengths.
1364
1365 * string/string.h: Always declare __bzero.
1366 Describe __NO_STRING_INLINES.
1367 Always include <bits/string.h>.
1368 * string/bits/string2.h: Add warning about direct use.
1369 Change __strcpy_small and __stpcpy_small implementation to use
1370 macros and provide alternative for platforms which cannot do
1371 unaligned stores.
1372 * sysdeps/i386/bits/string.h: Don't define anything is
1373 __NO_STRING_INLINES is defined.
1374 * sysdeps/i386/i486/bits/string.h: Change __strcpy_small and
1375 __stpcpy_small implementation to use macros and provide
1376 alternative for platforms which cannot do unaligned stores.
1377 * sysdeps/alpha/bzero.S: Define bzero as weak alias of __bzero.
1378 * sysdeps/generic/bzero.c: Likewise.
1379 * sysdeps/i386/bzero.c: Likewise.
1380 * sysdeps/i386/i586/bzero.S: Likewise.
1381 * sysdeps/vax/bzero.s: Likewise.
1382
1383 * sysdeps/generic/bits/select.h: Don't use ugly casts to access array.
1384 * sysdeps/i386/bits/select.h: Likewise.
1385
1386 * sysdeps/i386/fpu/bits/mathinline.c (__finite): Relax register
1387 constraints a bit.
1388 Don't define and test for _BITS_MATHINLINE_H. Emit warning if used
1389 directly and not through math.h.
1390
1391 * sysdeps/i386/i486/atomicity.h: Change return type of compare_and_swap
1392 to char to get better code. Fix typo.
1393 * sysdeps/stub/atomicity.h: Fix typo.
1394
13951997-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1396
1397 * sysdeps/generic/stpcpy.c: #undef stpcpy and __stpcpy.
1398
13991997-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1400
1401 * string/bits/string2.h: Add prototypes to avoid warning.
1402
14031997-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1404
1405 * string/bits/string2.h (strsep): Fix handling of empty REJECT.
1406 (__strsep_1c): Handle NULL and empty string.
1407 (__strsep_g): Likewise.
1408
14091997-09-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1410
1411 * catgets/Makefile (extra-objs): Set this instead of generated.
1412
1413 * md5-crypt/Makefile (extra-objs): Add all object file variants of
1414 onlymd5-entry.
1415
14161997-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1417
1418 * sysdeps/generic/sysd-stdio.c (__stdio_read): Fix typo in last
1419 change.
1420
14211997-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1422
1423 * sysdeps/m68k/m68020/atomicity.h: New file.
1424
14251997-09-15 05:11 Ulrich Drepper <drepper@cygnus.com>
1426
1427 * posix/Makefile (distribute): Add globtest.c and globtest.sh.
1428 Compile and run globtest if not cross-compiling.
1429 * posix/globtest.c: New file.
1430 * posix/globtest.sh: New file.
1431 * posix/glob.c: Pretty print preprocessor stuff.
1432 (glob_in_dir): If PATTERN is not really a pattern still check
1433 whether it is a real file in the current directory and return
1434 error if not.
1435 Reported by Eugene Mamchits <eugin@ips.ras.ru>.
1436
1437 * libio/fileops.c (_IO_file_sync): Acquire lock before doing the work.
1438 * libio/ioseekoff.c (_IO_seekoff): Likewise.
1439 * libio/ioseekpos.c (_IO_seekpos): Likewise.
1440
14411997-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
1442
1443 * configure.in: Prevent configuration for unsupported platforms.
1444
14451997-09-13 04:07 Ulrich Drepper <drepper@cygnus.com>
1446
1447 * elf/rtld.c (dl_main): Make sure we always have a file argument by
1448 testing for < 2 arguments after recognizing the options.
1449
14501997-09-12 11:47 Fila Kolodny <fila@ibi.com>
1451
1452 * string/bits/string2.h (__strsep_1c): Cast out const from __retval.
1453 (__strsep_g): Likewise.
1454
4a9332b3
UD
14551997-09-11 17:32 Ulrich Drepper <drepper@cygnus.com>
1456
1457 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_ASYNC.
1458 Patch by David S. Miller <davem@jenolan.rutgers.edu>.
1459
9a0a462c
UD
14601997-09-11 04:36 Ulrich Drepper <drepper@cygnus.com>
1461
1462 * db2/db_int.h: Define __set_errno if not yet available.
1463 * db2/btree/bt_rec.c: Use __set_errno to set errno value.
1464 * db2/clib/getlong.c: Likewise.
1465 * db2/db185/db185.c: Likewise.
1466 * db2/db185/db185_int.h: Likewise.
1467 * db2/dbm/dbm.c: Likewise.
1468 * db2/lock/lock_deadlock.c: Likewise.
1469 * db2/log/log_archive.c: Likewise.
1470
1471 * elf/dl-profile.c: Implement mcount function.
1472
1473 * gmon/gmon.c: Use __profil not profil because of namespace pollution.
1474 * gmon/mcount.c: Remove BSD kernel code.
1475 Use compare&swap instruction if possible to change state variable.
1476 Optimize frompc folding.
1477 * gmon/sys/gmon.h (struct gmonparam): Change state field to long int.
1478 * sysdeps/i386/i486/atomicity.h: New file.
1479 * sysdeps/stub/atomicity.h: New file.
1480 * sysdeps/mach/hurd/profil.c: Define function as __profil and make
1481 profil weak alias.
1482 * sysdeps/posix/profil.c: Likewise.
1483
1484 * string/bits/string2.h: New file.
1485 * include/bits/string2.h: New file.
1486 * string/Makefile (routines): Add mempcpy.
1487 (tests): Add inl-tester.
1488 Remove _D__NO_STRING_INLINES from CFLAGS-* variables.
1489 * sysdeps/generic/mempcpy.c: New file.
1490 * sysdeps/generic/memccpy.c: Undef function name to enable definition
1491 as macro.
1492 * sysdeps/generic/memchr.c: Likewise.
1493 * sysdeps/generic/memcmp.c: Likewise.
1494 * sysdeps/generic/memmem.c: Likewise.
1495 * sysdeps/generic/memmove.c: Likewise.
1496 * sysdeps/generic/strcat.c: Likewise.
1497 * sysdeps/generic/strchr.c: Likewise.
1498 * sysdeps/generic/strcmp.c: Likewise.
1499 * sysdeps/generic/strcpy.c: Likewise.
1500 * sysdeps/generic/strcspn.c: Likewise.
1501 * sysdeps/generic/strlen.c: Likewise.
1502 * sysdeps/generic/strncat.c: Likewise.
1503 * sysdeps/generic/strncmp.c: Likewise.
1504 * sysdeps/generic/strncpy.c: Likewise.
1505 * sysdeps/generic/strpbrk.c: Likewise.
1506 * sysdeps/generic/strrchr.c: Likewise.
1507 * sysdeps/generic/strsep.c: Likewise.
1508 * sysdeps/generic/strspn.c: Likewise.
1509 * sysdeps/generic/strstr.c: Likewise.
1510 * sysdeps/generic/strtok.c: Likewise.
1511 * sysdeps/generic/strtok_r.c: Likewise.
1512 * sysdeps/i386/memset.c: Likewise.
1513 * sysdeps/i386/bits/string.h: Correct a few types and constraints.
1514 * sysdeps/i386/i486/bits/string.h: Heavy rewrites and optimizations.
1515 * string/stratcliff.c: Undefine __USE_STRING_INLINES.
1516 * string/tst-strlen.c: Likewise.
1517 * string/string.h: Add prototype for mempcpy. Include bits/string2.h
1518 header always if optimizing.
1519 * intl/dcgettext.c: Don't unconditionally define stpcpy, only if not
1520 yet defined.
1521 * intl/l10nflist.c: Likewise.
1522
1523 * string/tester.c: Add copyright and make little cleanups.
1524
1525 * inet/test_ifindex.c: Change type of ni variable to unsigned int.
1526
1527 * locale/programs/ld-ctype.c (struct locale_ctype_t): Change type
1528 of fields map_collection_max and map_collection_act to size_t.
1529
1530 * nss/libnss_files.map: Group entries.
1531
1532 * posix/unistd.h: Add prototype for __setpgid and __profil.
1533
1534 * sysdeps/generic/crypt.h: Declare __crypt_r.
1535
1536 * sysdeps/i386/bits/select.h: Fix fatal bugs, use correct casts now.
1537
1538 * sysdeps/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
1539 isless, islessequal, islessgreater, isunordered): Optimize a bit.
1540
1541 * sysdeps/stub/ftruncate.c: Include missing header for prototype.
1542 * sysdeps/stub/getdents.c: Likewise.
1543 * sysdeps/stub/reboot.c: Likewise.
1544 * sysdeps/stub/swapon.c: Likewise.
1545 * sysdeps/stub/syscall.c: Likewise.
1546 * sysdeps/stub/ualarm.c: Likewise.
1547 * sysdeps/stub/usleep.c: Likewise.
1548
1549 * sysdeps/unix/sysv/linux/if_index.c: Don't compile or use opensock
1550 if SIOGIFINDEX and SIOGIFNAME are not defined.
1551
1552 * sysdeps/unix/sysv/linux/net/if.h: Add IFF_PORTSEL and IFF_AUTOMEDIA
1553 according to recent kernel changes.
1554
15551997-09-10 21:32 Klaus Espenlaub <kespenla@student.informatik.uni-ulm.de>
1556
1557 * Makeconfig: Use $(have-initfini) instead of $(elf) to figure out
1558 the installed name of the startup code.
1559 (common-generated): Add version.mk.
1560 * Makefile (distclean-1): Add glibcbug.
1561 * Makerules: Replace -lgcc by $(gnulib).
1562 * catgets/Makefile (generated): Add xmalloc.o.
1563 * csu/Makefile (generated): Replace align.h and end.h by defs.h to
1564 match the generated file.
1565 * manual/Makefile (mostlyclean): Add stub-manual and stamp.o.
1566 (realclean): Changed to remove chapters-incl[12].
1567 * po/Makefile (realclean): New rule to remove the generated .mo files.
1568 * time/Makefile: Only include zonefile dependencies if $(no_deps) is
1569 not true to avoid make clean failure when directory time doesn't exist
1570 yet.
1571 (generated): Add tzselect.
1572
1573 * stdio/fgets.c (fgets): Add casts to reduce gcc warning noise.
1574 * stdio/internals.c (flushbuf): Likewise.
1575 * stdio/linewrap.c (lwupdate): Likewise.
1576 * stdio/memstream.c (enlarge_buffer): Likewise.
1577 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
1578 * time/tzset.c (compute_change): Likewise.
1579 * misc/init-misc.c (__init_misc): Only declare static if HAVE_GNU_LD
1580 is defined.
1581 * sysdeps/posix/pipestream.c (FUNC): Change to generate ANSI C style
1582 functions.
1583 * sysdeps/stub/init-posix.c: Likewise.
1584 * sysdeps/stub/profil.c: Likewise.
1585 * munch-tmpl.c (__libc_init): Convert to ANSI C style declaration to
1586 reduce gcc warning noise.
1587 * stdio/glue.c (_filbuf, _flsbuf): Likewise.
1588 * stdio/obstream.c (grow, seek, input, init_obstream): Likewise.
1589 * stdio/vasprintf.c (enlarge_buffer): Likewise.
1590 * sysdeps/generic/sysd-stdio.c (__stdio_read, __stdio_write,
1591 __stdio_seek, __stdio_close, __stdio_fileno, __stdio_open,
1592 __stdio_reopen): Likewise.
1593 * sysdeps/posix/defs.c (_cleanup): Likewise.
1594 * time/offtime.c (__offtime): Add cast.
1595
1596 * posix/getopt.c: Don't use text_set_element if not defined.
1597
1598 * configure.in: Provide a check for underscores before user labels
1599 that works even when the compiler used for building doesn't work
1600 (like when there is no C library). Use the old way if the compiler
1601 works.
1602
16031997-09-10 05:08 David S. Miller <davem@caip.rutgers.edu>
1604
1605 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: The TC* ioctls use
1606 'T' not 't' on SparcLinux.
1607 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: tcflag_t is 32 bits.
1608
1609 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add aliases for
1610 _longjmp and siglongjmp.
1611
16121997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1613
1614 * libio/stdio.h: Add format attributes to the extra printf and
1615 scanf like functions.
1616 * stdio/stdio.h: Likewise.
1617
16181997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1619
1620 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
1621 Print tablename_val, not tablename_len.
1622
1623 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
1624 Use sprintf instead of sprintf, the string always fits.
1625 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
1626 Likewise.
1627 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
1628 Likewise.
1629 * nis/nss_nisplus/nisplus-proto.c
1630 (_nss_nisplus_getprotobynumber_r): Likewise.
1631 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbynumber_r):
1632 Likewise.
1633 * nis/nss_nisplus/nisplus-service.c
1634 (_nss_nisplus_getservbynumber_r): Likewise.
1635
1636 * nis/nss_nisplus/nisplus-alias.c (_nss_create_tablename): Use
1637 __stpcpy, __stpncpy and __strdup instead of public names.
1638 * nis/nss_nisplus/nisplus-ethers.c (_nss_create_tablename):
1639 Likewise.
1640 * nis/nss_nisplus/nisplus-grp.c (_nss_create_tablename): Likewise.
1641 * nis/nss_nisplus/nisplus-hosts.c (_nss_create_tablename):
1642 Likewise.
1643 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_parse_netgroup):
1644 Likewise.
1645 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent):
1646 Likewise.
1647 (_nss_create_tablename): Likewise.
1648 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent):
1649 Likewise.
1650 (_nss_create_tablename): Likewise.
1651 * nis/nss_nisplus/nisplus-pwd.c (_nss_create_tablename):
1652 Likewise.
1653 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent):
1654 Likewise.
1655 (_nss_create_tablename): Likewise.
1656 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent):
1657 Likewise.
1658 (_nss_create_tablename): Likewise.
1659 * nis/nss_nisplus/nisplus-spwd.c (_nss_create_tablename):
1660 Likewise.
1661
1662 * libc.map: Export __stpcpy and __strdup.
1663
16641997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1665
1666 * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c,
1667 CFLAGS-test-ldouble.c): Pass -ffloat-store to avoid excessive
1668 precision.
1669
16701997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1671
1672 * include/rpc/auth_des.h: New file.
1673
16741997-09-09 Paul Eggert <eggert@twinsun.com>
1675
1676 * time/mktime.c (__mktime_internal): Declare sec_requested even if
1677 !LEAP_SECONDS_POSSIBLE, since it's needed at the end when checking
1678 for time_t overflow.
1679
16801997-09-09 22:11 Ulrich Drepper <drepper@cygnus.com>
1681
1682 * sysdeps/posix/getcwd.c: Correct test for too small buffer.
1683 Reported by Erik Troan <ewt@redhat.com>.
1684
1685 * elf/dl-close.c: Include <bits/libc-lock.h>, not <libc-lock.h>.
1686 * elf/dl-open.c: Likewise.
1687
16881997-09-07 17:09 Richard Henderson <rth@cygnus.com>
1689
1690 * sysdeps/alpha/Makefile: Kill setjmp_aux.
1691 * sysdeps/alpha/bits/setjmp.h: Rewrite in terms of an array.
1692 * sysdeps/alpha/__longjmp.c: Remove.
1693 * sysdeps/alpha/setjmp_aux.c: Remove.
1694 * sysdeps/alpha/__longjmp.S: New file.
1695 * sysdeps/alpha/bsd-_setjmp.S: Stub out.
1696 * sysdeps/alpha/bsd-setjmp.S: Likewise.
1697 * sysdeps/alpha/setjmp.S: Do the work; don't call __setjmp_aux.
1698 Move _setjmp and setjmp from bsd-*.S.
1699
17001997-09-06 20:20 Ulrich Drepper <drepper@cygnus.com>
1701
1702 * include/rpc/auth.h: New file.
1703 * include/rpc/auth_unix.h: New file.
1704
17051997-09-06 Paul Eggert <eggert@twinsun.com>
1706
1707 Fix gmtime so that it reports leap seconds when TZ
1708 indicates that leap seconds are desired.
1709
1710 * time/gmtime.c (<stddef.h>): Remove unnecessary include.
1711 (gmtime): Put after gmtime_r, to help the compiler inline.
1712 (__tz_convert): New decl.
1713 (gmtime_r): Use __tz_convert instead of __offtime,
1714 so that leap seconds are handled correctly.
1715
1716 * time/localtime.c (<errno.h>, <libc-lock.h>): Remove includes that
1717 are now unnecessary.
1718 (__tzset_internal, __tz_compute, __tzfile_compute, __use_tzfile,
1719 __tzset_lock): Remove extern decls that are now unnecessary.
1720 (localtime_internal): Moved to __tz_convert in tzset.c.
1721 so that localtime and gmtime can both use it easily.
1722 (localtime): Put after localtime_r, to help the compiler inline.
1723 (localtime_r): Use __tz_convert instead of localtime_internal.
1724
1725 * time/strftime.c (__tz_compute): Remove unused (and now incorrect)
1726 decl.
1727
1728 * time/tzfile.c (__tzfile_compute): New arg USE_LOCALTIME.
1729
1730 * time/tzset.c (<errno.h>): Include.
1731 (_tmbuf): New decl.
1732 (__tzfile_compute): New function.
1733 (tz_compute): Renamed from __tz_compute. No longer extern.
1734 Remove redundant call to tzset_internal.
1735 (tzset_internal): Renamed from __tzset_internal. No longer extern.
1736 (tzset_lock): Renamed from __tzset_lock. No longer extern.
1737 (__tz_convert): New function, containing functionality of old
1738 localtime_internal function, plus locking and optional UTC.
1739
17401997-09-06 Paul Eggert <eggert@twinsun.com>
1741
1742 * time/tzfile.c (__tzfile_read): Don't read a file if TZ is the empty
1743 string, just use UTC without leap seconds. This is for compatibility
1744 with the Olson code.
1745
17461997-09-06 Paul Eggert <eggert@twinsun.com>
1747
1748 * time/tzset.c (__tzname_max): Lock tz data structures before
1749 invoking tzset_internal.
1750
1751 * time/tzfile.c: Define compute_tzname_max statically.
1752
17531997-09-07 10:57 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1754
1755 * nis/nis_call.c: Remove not longer necessary HAVE_SECURE_RPC ifdefs.
1756 * nis/nis_intern.h: Likewise.
1757 * nis/nss_nis/nis-publickey.c: Likewise.
1758 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
1759 * nis/ypclnt.c: Likewise.
1760
1761 * sunrpc/auth_des.c: Don't dereference NULL pointer,
1762 initialize ad->ad_timediff.
1763
1764 * sunrpc/auth_none.c: Don't define our own prototypes, use the one
1765 from the header files.
1766 * sunrpc/auth_unix.c: Likewise.
1767 * sunrpc/clnt_raw.c: Likewise.
1768 * sunrpc/clnt_tcp.c: Likewise.
1769 * sunrpc/rpc_cmsg.c: Likewise.
1770
1771 * sunrpc/key_call.c: Fix signal handling.
1772
1773 * sunrpc/openchild.c: Don't use /bin/sh to start /usr/etc/keyenvoy,
1774 or we will get a deadlock with NIS+.
1775
1776 * sunrpc/rpc/auth.h: Add prototype for xdr_opaque_auth, don't define
1777 HAVE_SECURE_RPC.
1778
17791997-09-07 15:51 Ulrich Drepper <drepper@cygnus.com>
1780
1781 * sysdeps/i386/bits/select.h [__GNUC__] (__FD_ZERO, __FD_SET, __FD_CLR,
1782 __FD_ISSET): Use correct casts to address array correctly.
1783 Reported by urbanw@cs.umu.se.
1784
17851997-09-07 05:07 Ulrich Drepper <drepper@cygnus.com>
1786
1787 * elf/dl-close.c: Include <bits/libc-lock.h>, not <libc-lock.h>.
1788 * elf/dl-open.c: Likewise.
1789 * sysdeps/i386/memset.c: Undefine memset in case the header with the
1790 optimized functions is included.
1791 Patches by NIIBE Yutaka <gniibe@mri.co.jp>.
1792
1793 * sysdeps/i386/bits/string.h [__PIC__] (strcspn, strspn, strpbrk,
1794 strsep): Use register for second parameter.
1795 * sysdeps/i386/i486/bits/string.h: Likewise.
1796 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
1797
17981997-09-03 09:48 Geoff Keating <geoffk@ozemail.com.au>
1799
1800 * math/libm-test.c: Change various tolerances to match what the
1801 tested routines can actually provide.
1802
1803 * math/Makefile: Add new tests.
1804 * math/atest-sincos.c: New file.
1805 * math/atest-exp.c: New file.
1806
1807 * csu/Makefile: Give initfini.s and initfiniS.s their own
1808 CFLAGS-* macros so they can be overridden.
1809 * sysdeps/powerpc/Makefile [subdir=csu]: Override flags for
1810 initfiniS.s to use -fpic instead of -fPIC, because the sed script
1811 breaks otherwise.
1812
1813 * sysdeps/powerpc/Makefile [build-shared]: Use -fpic not -fPIC for
1814 efficiency.
1815
1816 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1817 Don't use register 0, to let _mcount be in a shared object.
1818
1819 * sysdeps/powerpc/dl-machine.h: Use full sentences in comments.
1820 Generally clean up. Suppress some code we don't need when relocating
1821 ld.so.
1822 * sysdeps/powerpc/test-arith.c: Change loop indices to size_t when
1823 appropriate to suppress gcc warning.
1824 * resolv/res_send.c: Suppress warning.
1825 * sunrpc/xdr_sizeof.c: Suppress warning.
1826
1827 * FAQ: Add ppc-linux.
1828 * manual/maint.texi: Add ppc-linux. Explain that gcc can't build it
1829 yet.
1830
1831 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Correct for
1832 current kernels.
1833
18341997-08-15 07:45 Geoff Keating <geoffk@ozemail.com.au>
1835
1836 * stdlib/fmtmsg.c: Use two parameters for __libc_once_define.
1837 * sysdeps/i386/machine-gmon.h: Correct typo.
1838
1839 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Change to match
1840 kernel.
1841
1842 * sysdeps/generic/dl-sysdep.c: Add hook for bizzare PPC argument hack.
1843 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Rewrite to use
1844 sysdeps/linux/dl-sysdep.c.
1845
1846 * sysdeps/powerpc/Makefile [subdir=gmon]: Compile ppc-mcount.
1847 * sysdeps/powerpc/machine-gmon.h: Use ppc-mcount.
1848 * sysdeps/powerpc/ppc-mcount: New file.
1849
1850 The following are mostly changes to allow profiling:
1851 * sysdeps/powerpc/add_n.S: Added.
1852 * sysdeps/powerpc/add_n.s: Removed.
1853 * sysdeps/powerpc/addmul_1.S: Added.
1854 * sysdeps/powerpc/addmul_1.s: Removed.
1855 * sysdeps/powerpc/bsd-_setjmp.S: Use JUMPTARGET macro.
1856 * sysdeps/powerpc/bsd-setjmp.S: Use JUMPTARGET macro.
1857 * sysdeps/powerpc/lshift.S: Added.
1858 * sysdeps/powerpc/lshift.s: Removed.
1859 * sysdeps/powerpc/memset.S: Added.
1860 * sysdeps/powerpc/memset.s: Removed.
1861 * sysdeps/powerpc/mul_1.S: Added.
1862 * sysdeps/powerpc/mul_1.s: Removed.
1863 * sysdeps/powerpc/rshift.S: Added.
1864 * sysdeps/powerpc/rshift.s: Removed.
1865 * sysdeps/powerpc/s_copysign.S: Use ENTRY, END, weak_alias macros.
1866 * sysdeps/powerpc/s_fabs.S: Use ENTRY, END, weak_alias macros.
1867 * sysdeps/powerpc/setjmp.S: Use JUMPTARGET macro.
1868 * sysdeps/powerpc/strchr.S: Added.
1869 * sysdeps/powerpc/strchr.s: Removed.
1870 * sysdeps/powerpc/strcmp.S: Added.
1871 * sysdeps/powerpc/strcmp.s: Removed.
1872 * sysdeps/powerpc/strlen.S: Added.
1873 * sysdeps/powerpc/strlen.s: Removed.
1874 * sysdeps/powerpc/sub_n.S: Added.
1875 * sysdeps/powerpc/sub_n.s: Removed.
1876 * sysdeps/powerpc/submul_1.S: Added.
1877 * sysdeps/powerpc/submul_1.s: Removed.
1878 * sysdeps/unix/sysv/linux/powerpc/_exit.S: Removed.
1879 * sysdeps/unix/sysv/linux/powerpc/brk.S: Added.
1880 * sysdeps/unix/sysv/linux/powerpc/brk.c: Removed.
1881 * sysdeps/unix/sysv/linux/powerpc/clone.S: Use new macros. Fix
1882 various bugs. Document that it isn't tested.
1883 * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Make look like
1884 sysdeps/unix/_exit.S.
1885 * sysdeps/unix/sysv/linux/powerpc/socket.S: Use new macros.
1886 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Use new macros.
1887 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Define some new macros
1888 to make assembler (possibly) more portable, allow profiling, etc.
1889
26b4d766
UD
18901997-09-05 03:15 Ulrich Drepper <drepper@cygnus.com>
1891
1892 * Makefile (subdirs): Reorganize order so that nss follows add-ons.
1893 * config.make.in (LDAP): Add.
1894 * configure.in: Prepare for ldap add-on.
1895 * shlib-versions: Add version numbers for ldap NSS module.
1896 * nss/Makefile: Add rules to build ldap NSS module.
1897
1898 * db/btree/bt_page.c (__bt_free): Update meta data information.
1899
1900 Update db from db-2.3.6.
1901 * db2/db.h: Updated.
1902 * db2/btree/bt_close.c: Updated.
1903 * db2/btree/bt_compare.c: Updated.
1904 * db2/btree/bt_conv.c: Updated.
1905 * db2/btree/bt_cursor.c: Updated.
1906 * db2/btree/bt_delete.c: Updated.
1907 * db2/btree/bt_put.c: Updated.
1908 * db2/btree/bt_rec.c: Updated.
1909 * db2/btree/bt_recno.c: Updated.
1910 * db2/btree/bt_search.c: Updated.
1911 * db2/btree/bt_split.c: Updated.
1912 * db2/btree/bt_stat.c: Updated.
1913 * db2/common/db_appinit.c: Updated.
1914 * db2/common/db_apprec.c: Updated.
1915 * db2/common/db_byteorder.c: Updated.
1916 * db2/common/db_err.c: Updated.
1917 * db2/common/db_region.c: Updated.
1918 * db2/db/db.c: Updated.
1919 * db2/db/db_conv.c: Updated.
1920 * db2/db/db_dup.c: Updated.
1921 * db2/db/db_pr.c: Updated.
1922 * db2/db/db_ret.c: Updated.
1923 * db2/db185/db185.c: Updated.
1924 * db2/dbm/dbm.c: Updated.
1925 * db2/hash/hash_dup.c: Updated.
1926 * db2/include/db_am.h: Updated.
1927 * db2/include/db_page.h: Updated.
1928 * db2/include/mp.h: Updated.
1929 * db2/include/queue.h: Updated.
1930 * db2/log/log.c: Updated.
1931 * db2/log/log_findckp.c: Updated.
1932 * db2/log/log_get.c: Updated.
1933 * db2/log/log_rec.c: Updated.
1934 * db2/mp/mp_bh.c: Updated.
1935 * db2/mp/mp_fopen.c: Updated.
1936 * db2/mp/mp_pr.c: Updated.
1937 * db2/mp/mp_sync.c: Updated.
1938 * db2/mutex/x86.gcc: Updated.
1939 * db2/os/db_os_dir.c: Updated.
1940 * db2/os/db_os_fid.c: Updated.
1941 * db2/progs/db_archive/db_archive.c: Updated.
1942 * db2/progs/db_checkpoint/db_checkpoint.c: Updated.
1943 * db2/progs/db_deadlock/db_deadlock.c: Updated.
1944 * db2/progs/db_dump/db_dump.c: Updated.
1945 * db2/progs/db_dump185/db_dump185.c: Updated.
1946 * db2/progs/db_load/db_load.c: Updated.
1947 * db2/progs/db_printlog/db_printlog.c: Updated.
1948 * db2/progs/db_recover/db_recover.c: Updated.
1949 * db2/progs/db_stat/db_stat.c: Updated.
1950 * db2/txn/txn.c: Updated.
1951 * db2/txn/txn_rec.c: Updated.
1952
1953 * db2/Makefile: Add rule to build db_printlog.
1954 * db2/config.h: Don't include endian.h and don't define
1955 WORDS_BIGENDIAN. Only define HAVE_ENDIAN_H.
1956
1957 * elf/dl-open.c (_dl_open): Make thread-safe.
1958 * elf/dl-close.c (_dl_close): Likewise.
1959 * elf/dlclose.c: Pretty print.
1960 * elf/dl-version.c (make_string): Use __strdup not strdup.
1961 (find_needed): Don't use l_searchlist of _dl_loaded, use the
1962 l_next list.
1963 * elf/dl-deps.c (_dl_map_object_deps): Remove variable head.
1964
1965 * manual/math.texi: Add note about == and != for FP values.
1966 * manual/message.texi: Mention problems with relative paths and
1967 binstextdomain.
1968 * manual/string.texi: Mark strdupa and strndupa correctly as macros.
1969
1970 * sunrpc/Makefile (CFLAGS-xkey_prot.c): Define to prevent warnings.
1971 * sunrpc/rpc_cout.c: Avoid needless races around return value.
1972
1973 * sysdeps/generic/stpcpy.c: Include <config.h> if wanted.
1974
1975 Update from tzdata-1997h.
1976 * time/africa: Updated.
1977 * time/europe: Updated.
1978 * time/iso3166.tab: Updated.
1979 * time/northamerica: Updated.
1980 * time/southamerica: Updated.
1981 * time/zone.tab: Updated.
1982
19831997-09-04 13:19 Richard Henderson <rth@cygnus.com>
1984
1985 * sysdeps/alpha/w_sqrt.S: Removed.
1986 * sysdeps/alpha/fpu/e_sqrt.c: New. Obey -mieee and -mieee-with-inexact
1987 and build a version that is as fast as possible given the constraint.
1988
19891997-08-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1990
1991 * manual/maint.texi: Document some defaults for configuration
1992 parameters.
1993
19941997-09-04 15:57 Ulrich Drepper <drepper@cygnus.com>
1995
1996 * termios/cfsetspeed.c (cfsetspeed): Change return value to int.
1997 * termios/termios.h: Change prototype accordingly.
1998 Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
1999
20001997-07-26 14:42 H.J. Lu <hjl@gnu.ai.mit.edu>
2001
2002 * libio/stdfiles.c (_libio_using_thunks): Define if
2003 _G_USING_THUNKS is defined.
2004
2005 * libio/_G_config.h: Moved to ...
2006 * sysdeps/generic/_G_config.h: ...here.
2007
2008 * sysdeps/unix/sysv/linux/_G_config.h: New,
2009 Add vtable thunks support.
2010
20111997-09-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2012
2013 * sysdeps/m68k/Makefile (pic-ccflag): Override it for more
2014 efficient code (together with a change in gcc).
2015
2016 * Makeconfig (pic-ccflag): New variable.
2017 (CFLAGS-.os): Use it instead of hardcoding -fPIC.
2018
20191997-09-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2020
2021 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
2022 _dl_start instead of a local label, to avoid getting an unreadable
2023 label name.
2024
20251997-09-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2026
2027 * nss/Makefile ($(objpfx)libnss_db.so): Use $(dbobjdir) to find
2028 libdb.so.
2029
2030 * Makeconfig (dbobjdir): Use db2.
2031
20321997-08-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2033
2034 * manual/maint.texi (Porting to Unix): Update description of the
2035 implementation of Unix system calls.
2036 (Contributors): Use real umlaut in tege's name.
2037
20381997-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2039
2040 * sysdeps/libm-ieee754/w_gamma.c: Make compilable with
2041 _IEEE_LIBM.
2042 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
2043 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
2044
800d775e
UD
20451997-08-29 21:45 Ulrich Drepper <drepper@cygnus.com>
2046
2047 * sunrpc/auth_des.c: New file. Copied from former secure_rpc add-on.
2048 * sunrpc/authdes_prot.c: New file. Likewise.
2049 * sunrpc/des.h: New file. Likewise.
2050 * sunrpc/des_crypt.c: New file. Likewise.
2051 * sunrpc/des_soft.c: New file. Likewise.
2052 * sunrpc/key_call.c: New file. Likewise.
2053 * sunrpc/key_prot.c: New file. Likewise.
2054 * sunrpc/netname.c: New file. Likewise.
2055 * sunrpc/openchild.c: New file. Likewise.
2056 * sunrpc/rtime.c: New file. Likewise.
2057 * sunrpc/svc_auth.c: New file. Likewise.
2058 * sunrpc/svcauth_des.c: New file. Likewise.
2059 * sunrpc/xcrypt.c: New file. Likewise.
2060 * sunrpc/rpc/auth.h: New file. Likewise.
2061 * sunrpc/rpc/auth_des.h: New file. Likewise.
2062 * sunrpc/rpc/des_crypt.h: New file. Likewise.
2063 * sunrpc/rpc/key_prot.h: New file. Likewise.
2064 * sunrpc/rpcsvc/key_prot.x: New file. Likewise.
2065 * sysdeps/generic/svc_auth.h: Removed.
2066 * sysdeps/generic/rpc/auth.h: Removed.
2067 * sysdeps/generic/rpc/auth_des.h: Removed.
2068 * sysdeps/stub/des_impl.c: New file. Stub version for DES.
2069 * sunrpc/Makefile (rpcsvc): Add keyprot.x.
2070 (headers): Add des_crypt.h and key_prot.h.
2071 (routines): Add auth_des, authdes_prot, des_crypt, des_impl, des_soft,
2072 key_call, key_prot, netname, openchild, rtime, svcauth_des, xcrypt.
2073 (distribute): Add des.h.
2074
2075 * db2/Makefile: Add all headers and other files to distribute.
2076 (others): Add db_printlog.
2077
2078 * sysdeps/mach/hurd/Dist: Add net/* headers.
2079 * sysdeps/mach/hurd/mips/Dist: New file.
2080 * sysdeps/powerpc/Dist: Add fe_nomask.c and t_sqrt.c.
2081 * sysdeps/sparc/Dist: Add sys/trap.h.
2082 * sysdeps/sparc/sparc32/Dist: Remove sys/trap.h.
2083 * sysdeps/sparc/sparc32/sparcv8/Dist: New file.
2084 * sysdeps/unix/sysv/linux/mips/Dist: Add sgidefs.h.
2085 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/trap.h.
2086 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove sys/trap.h.
2087
2088 Add previously missing assembler files for PPC.
2089 * sysdeps/powerpc/add_n.s: New file.
2090 * sysdeps/powerpc/addmul_1.s: New file.
2091 * sysdeps/powerpc/lshift.s: New file.
2092 * sysdeps/powerpc/memset.s: New file.
2093 * sysdeps/powerpc/mul_1.s: New file.
2094 * sysdeps/powerpc/rshift.s: New file.
2095 * sysdeps/powerpc/strchr.s: New file.
2096 * sysdeps/powerpc/strcmp.s: New file.
2097 * sysdeps/powerpc/sub_n.s: New file.
2098 * sysdeps/powerpc/submul_1.s: New file.
2099
21001997-08-28 18:42 Thorsten Kukuk <kukuk@uni-paderborn.de>
2101
2102 * nis/nis_server.c: Rewritten to fix a lot of bugs.
2103
21041997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2105
2106 * md5-crypt/Makefile (LDFLAGS-md5crypt.so, libmd5crypt-map): New
2107 variables.
2108
39e16978
UD
21091997-08-29 02:36 Ulrich Drepper <drepper@cygnus.com>
2110
2111 * Makefile (version-info.h): Use ISO form for the date.
2112
2113 * catgets/catgetsinfo.h: Include <bits/libc-lock.h>.
2114 (struct catalog_obj): Add lock field.
2115 (__open_catalog): Remove second parameter from prototype.
2116 * catgets/catgets.c (catopen): Initialize lock field.
2117 (catgets): Don't pass second parameter to __open_catalog.
2118 * catgets/gencat.c: Initialize lock field and don't pass second
2119 parameter to __open_catalog.
2120 * catgets/open_catalog.c (__open_catalog): Decide about use of
2121 path by examining path in struct, not based on extra argument.
2122 Acquire a the lock before trying to load the catalog and release
2123 it before returning.
2124
2125 * csu/Makefile (abi-tag.h): Make sure target directory exists.
2126
2127 * io/Makefile (headers): Add bits/poll.h.
2128 * io/sys/poll.h: Remove definitions of POLL* constants.
2129 Include <bits/poll.h>.
2130 * sysdeps/generic/bits/poll.h: New file.
2131 * sysdeps/unix/sysv/linux/bits/poll.h: New file.
2132 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: New file.
2133 * sysdeps/unix/sysv/linux/mips/bits/poll.h: New file.
2134 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: New file.
2135
2136 * libio/fileops.c (_IO_file_read, _IO_file_write): Remove dead code.
2137
2138 * malloc/obstack.c: Add casts to keep very verbose compilers on
2139 64bit machine quiet.
2140
2141 * nss/Makefile (libnss_db.so): Find libdb.so in db2 directory.
2142
21431997-08-28 17:30 Ulrich Drepper <drepper@cygnus.com>
2144
2145 * catgets/catgets.c (catopen): Correctly determine length of string
800d775e 2146 in NLSPATH environment variable. Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
39e16978
UD
2147
21481997-08-27 23:19 Richard Henderson <rth@cygnus.com>
2149
2150 * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Provide
2151 default macro to track down arguments from stack start.
2152 (_dl_sysdep_start): Use it.
2153 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Truncate to simply
2154 providing a special DL_FIND_ARG_COMPONENTS and including the next
2155 file up the line.
2156
2157 * sysdeps/powerpc/e_sqrt.c: Move contents to w_sqrt.c and provide stub.
2158 * sysdeps/powerpc/e_sqrtf.c: Likewise.
2159 * sysdeps/powerpc/s_copysignf.S: Provide empty file; symbol is with
2160 the double precision version.
2161 * sysdeps/powerpc/s_fabsf.S: Likewise.
2162 * sysdeps/powerpc/s_isnanf.S: Likewise.
2163
92f1da4d
UD
21641997-08-10 19:17 Philip Blundell <Philip.Blundell@pobox.com>
2165
2166 * nss/nss_db/db-XXX.c: Include <db_185.h> not <db.h>. Somebody
2167 should update this to use the new db API.
2168 * nss/nss_db/db-netgrp.c: Likewise.
2169 * nss/nss_db/db-alias.c: Likewise.
2170 * db2/Makefile: Makefile for db-2.x in glibc.
2171
21721997-08-27 21:20 Ulrich Drepper <drepper@cygnus.com>
2173
2174 * csu/Makefile (before-compile): New goal. Make sure abi-tag.h
2175 is generated.
2176 [$(elf)=yes] (asm-CPPFLAGS): Make sure abi-tag.h file can be found.
2177
2178 * Makeconfig [$(build-omitfp)=yes] (CFLAGS-.o): Add
2179 -D__USE_STRING_INLINES.
2180 * string/string.f: Move strnlen optimization after inclusion of
2181 <bits/string.h>. Include <bits/string.h> only if __USE_STRING_INLINES
2182 is defined.
2183 * sysdeps/generic/memcpy.c: Undef memcpy to allow macro of this name
2184 in <bits/string.h>.
2185 * sysdeps/generic/memset.c: Likewise.
2186 * sysdeps/i386/string.h: i386 optimized string functions.
2187 * sysdeps/i386/i486string.h: i486+ optimized string functions.
2188
2189 * Makefile (subdirs): Change db to db2.
2190 * shlib-versions: Bump libdb verion number to 3.
2191 * include/db.h: Include from db2 directory.
2192 * include/db_185.h: New file.
2193 * sysdeps/i386/Makefile [$(subdirs)=db2] (CPPFLAGS): Add macros
2194 to provide spinlock information for db2.
2195 * sysdeps/m68k/m68020/Makefile: New file. Likewise.
2196 * sysdeps/sparc/Makefile: New file. Likewise.
2197 * sysdeps/unix/sysv/linux/Makefile [$(subdirs)=db2] (CPPFLAGS):
2198 Add -DHAVE_LLSEEK.
2199 * db2/config.h: Hand-edited config file for db2 in glibc.
2200 * db2/compat.h: New file from db-2.3.4.
2201 * db2/db.h: Likewise.
2202 * db2/db_185.h: Likewise.
2203 * db2/db_int.h: Likewise.
2204 * db2/makedb.c: Likewise.
2205 * db2/btree/bt_close.c: Likewise.
2206 * db2/btree/bt_compare.c: Likewise.
2207 * db2/btree/bt_conv.c: Likewise.
2208 * db2/btree/bt_cursor.c: Likewise.
2209 * db2/btree/bt_delete.c: Likewise.
2210 * db2/btree/bt_open.c: Likewise.
2211 * db2/btree/bt_page.c: Likewise.
2212 * db2/btree/bt_put.c: Likewise.
2213 * db2/btree/bt_rec.c: Likewise.
2214 * db2/btree/bt_recno.c: Likewise.
2215 * db2/btree/btree_auto.c: Likewise.
2216 * db2/btree/bt_rsearch.c: Likewise.
2217 * db2/btree/bt_search.c: Likewise.
2218 * db2/btree/bt_split.c: Likewise.
2219 * db2/btree/bt_stat.c: Likewise.
2220 * db2/btree/btree.src: Likewise.
2221 * db2/common/db_appinit.c: Likewise.
2222 * db2/common/db_err.c: Likewise.
2223 * db2/common/db_byteorder.c: Likewise.
2224 * db2/common/db_apprec.c: Likewise.
2225 * db2/common/db_salloc.c: Likewise.
2226 * db2/common/db_log2.c: Likewise.
2227 * db2/common/db_region.c: Likewise.
2228 * db2/common/db_shash.c: Likewise.
2229 * db2/db/db.c: Likewise.
2230 * db2/db/db.src: Likewise.
2231 * db2/db/db_conv.c: Likewise.
2232 * db2/db/db_dispatch.c: Likewise.
2233 * db2/db/db_dup.c: Likewise.
2234 * db2/db/db_overflow.c: Likewise.
2235 * db2/db/db_pr.c: Likewise.
2236 * db2/db/db_rec.c: Likewise.
2237 * db2/db/db_ret.c: Likewise.
2238 * db2/db/db_thread.c: Likewise.
2239 * db2/db/db_auto.c: Likewise.
2240 * db2/db185/db185.c: Likewise.
2241 * db2/db185/db185_int.h: Likewise.
2242 * db2/dbm/dbm.c: Likewise.
2243 * db2/hash/hash.c: Likewise.
2244 * db2/hash/hash.src: Likewise.
2245 * db2/hash/hash_page.c: Likewise.
2246 * db2/hash/hash_conv.c: Likewise.
2247 * db2/hash/hash_debug.c: Likewise.
2248 * db2/hash/hash_stat.c: Likewise.
2249 * db2/hash/hash_rec.c: Likewise.
2250 * db2/hash/hash_dup.c: Likewise.
2251 * db2/hash/hash_func.c: Likewise.
2252 * db2/hash/hash_auto.c: Likewise.
2253 * db2/include/mp.h: Likewise.
2254 * db2/include/btree.h: Likewise.
2255 * db2/include/db.h.src: Likewise.
2256 * db2/include/db_int.h.src: Likewise.
2257 * db2/include/db_shash.h: Likewise.
2258 * db2/include/db_swap.h: Likewise.
2259 * db2/include/db_185.h.src: Likewise.
2260 * db2/include/txn.h: Likewise.
2261 * db2/include/db_am.h: Likewise.
2262 * db2/include/shqueue.h: Likewise.
2263 * db2/include/hash.h: Likewise.
2264 * db2/include/db_dispatch.h: Likewise.
2265 * db2/include/lock.h: Likewise.
2266 * db2/include/db_page.h: Likewise.
2267 * db2/include/log.h: Likewise.
2268 * db2/include/db_auto.h: Likewise.
2269 * db2/include/btree_auto.h: Likewise.
2270 * db2/include/hash_auto.h: Likewise.
2271 * db2/include/log_auto.h: Likewise.
2272 * db2/include/txn_auto.h: Likewise.
2273 * db2/include/db_ext.h: Likewise.
2274 * db2/include/btree_ext.h: Likewise.
2275 * db2/include/clib_ext.h: Likewise.
2276 * db2/include/common_ext.h: Likewise.
2277 * db2/include/hash_ext.h: Likewise.
2278 * db2/include/lock_ext.h: Likewise.
2279 * db2/include/log_ext.h: Likewise.
2280 * db2/include/mp_ext.h: Likewise.
2281 * db2/include/mutex_ext.h: Likewise.
2282 * db2/include/os_ext.h: Likewise.
2283 * db2/include/txn_ext.h: Likewise.
2284 * db2/include/cxx_int.h: Likewise.
2285 * db2/include/db_cxx.h: Likewise.
2286 * db2/include/queue.h: Likewise.
2287 * db2/lock/lock.c: Likewise.
2288 * db2/lock/lock_conflict.c: Likewise.
2289 * db2/lock/lock_util.c: Likewise.
2290 * db2/lock/lock_deadlock.c: Likewise.
2291 * db2/log/log.c: Likewise.
2292 * db2/log/log_get.c: Likewise.
2293 * db2/log/log.src: Likewise.
2294 * db2/log/log_compare.c: Likewise.
2295 * db2/log/log_put.c: Likewise.
2296 * db2/log/log_rec.c: Likewise.
2297 * db2/log/log_archive.c: Likewise.
2298 * db2/log/log_register.c: Likewise.
2299 * db2/log/log_auto.c: Likewise.
2300 * db2/log/log_findckp.c: Likewise.
2301 * db2/mp/mp_bh.c: Likewise.
2302 * db2/mp/mp_fget.c: Likewise.
2303 * db2/mp/mp_fopen.c: Likewise.
2304 * db2/mp/mp_fput.c: Likewise.
2305 * db2/mp/mp_fset.c: Likewise.
2306 * db2/mp/mp_open.c: Likewise.
2307 * db2/mp/mp_region.c: Likewise.
2308 * db2/mp/mp_pr.c: Likewise.
2309 * db2/mp/mp_sync.c: Likewise.
2310 * db2/mutex/68020.gcc: Likewise.
2311 * db2/mutex/mutex.c: Likewise.
2312 * db2/mutex/README: Likewise.
2313 * db2/mutex/x86.gcc: Likewise.
2314 * db2/mutex/sparc.gcc: Likewise.
2315 * db2/mutex/uts4.cc.s: Likewise.
2316 * db2/mutex/alpha.dec: Likewise.
2317 * db2/mutex/alpha.gcc: Likewise.
2318 * db2/mutex/parisc.gcc: Likewise.
2319 * db2/mutex/parisc.hp: Likewise.
2320 * db2/os/db_os_abs.c: Likewise.
2321 * db2/os/db_os_dir.c: Likewise.
2322 * db2/os/db_os_fid.c: Likewise.
2323 * db2/os/db_os_lseek.c: Likewise.
2324 * db2/os/db_os_mmap.c: Likewise.
2325 * db2/os/db_os_open.c: Likewise.
2326 * db2/os/db_os_rw.c: Likewise.
2327 * db2/os/db_os_sleep.c: Likewise.
2328 * db2/os/db_os_stat.c: Likewise.
2329 * db2/os/db_os_unlink.c: Likewise.
2330 * db2/txn/txn.c: Likewise.
2331 * db2/txn/txn.src: Likewise.
2332 * db2/txn/txn_rec.c: Likewise.
2333 * db2/txn/txn_auto.c: Likewise.
2334 * db2/clib/getlong.c: Likewise.
2335 * db2/progs/db_archive/db_archive.c: Likewise.
2336 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
2337 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
2338 * db2/progs/db_dump/db_dump.c: Likewise.
2339 * db2/progs/db_dump185/db_dump185.c: Likewise.
2340 * db2/progs/db_load/db_load.c: Likewise.
2341 * db2/progs/db_printlog/db_printlog.c: Likewise.
2342 * db2/progs/db_recover/db_recover.c: Likewise.
2343 * db2/progs/db_stat/db_stat.c: Likewise.
2344
2345 * libio/stdio.h [__cplusplus] (__STDIO_INLINE): Define as inline.
2346
2347 * po/de.po, po/sv.po: Update from 2.0.5 translations.
2348
2349 * sysdeps/unix/sysv/linux/netinet/tcp.h: Pretty print.
2350
2351 * sunrpc/rpc/xdr.h (XDR): Don't define argument of x_destroy callback
2352 as const.
2353 * sunrpc/xdr_mem.c (xdrmem_destroy): Don't define argument as const.
2354 * sunrpx/xdr_rec.c (xdrrec_destroy): Likewise.
2355 * sunrpx/xdr_stdio.c (xdrstdio_destroy): Likewise.
2356
23571997-08-27 18:47 Ulrich Drepper <drepper@cygnus.com>
2358
2359 * sysdeps/unix/sysv/linux/if_index.c: Include <errno.h>.
2360 Reported by Benjamin Kosnik <bkoz@cygnus.com>.
2361
23621997-08-27 02:27 Roland McGrath <roland@baalperazim.frob.com>
2363
2364 * abi-tags: New file.
2365 * csu/Makefile (distribute): Remove abi-tag.h.
2366 ($(objpfx)abi-tag.h): New target.
2367 * Makefile (distribute): Add abi-tags.
2368 * sysdeps/unix/sysv/linux/abi-tag.h: File removed.
2369 * sysdeps/mach/hurd/abi-tag.h: File removed.
2370 * sysdeps/stub/abi-tag.h: File removed.
2371
23721997-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2373
2374 * sysdeps/unix/make-syscalls.sh: Change output so that it
2375 generates compilation rules only for the currently selected object
2376 suffixes.
2377
23781997-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2379
2380 * sysdeps/m68k/dl-machine.h (RTLD_START): Switch back to previous
2381 section to avoid confusing the compiler.
2382 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2383 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2384 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2385 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
2386 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2387
2388 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use a GOT
2389 relocation instead of a constant to avoid text relocation.
2390 (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed.
2391 (RTLD_START): Declare global labels as functions and add size
2392 directive.
2393
23941997-08-25 17:01 Ulrich Drepper <drepper@cygnus.com>
2395
2396 * sysdeps/i386/bits/select.h: Correct assembler versions to work even
2397 for descriptors >= 32.
2398
2399 * stdlib/alloca.h: Don't define alloca to __alloca since if gcc
2400 is used __alloca is not defined to __builtin_alloca and so might
2401 not be available.
2402 Reported by Uwe Ohse <uwe@ohse.de>.
2403
2404 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Define macros in a special
2405 way if gcc is not used and so dev_t is an array.
2406 Reported by Uwe Ohse <uwe@ohse.de>.
2407
24081997-08-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2409
2410 * manual/libc.texinfo: Reorder chapters to match logical order.
2411
24121997-08-25 12:22 Ulrich Drepper <drepper@cygnus.com>
2413
2414 * sunrpc/rpc/xdr.h: Change name of parameters in prototypes of
2415 xdr_reference, xdrmem_create, and xdrstdio_create because of clash
2416 with g++ internal symbols.
2417 Patch by Sudish Joseph <sj@eng.mindspring.net>.
2418
22be878e
UD
24191997-08-24 Miles Bader <miles@gnu.ai.mit.edu>
2420
2421 * string/argz.h: Add missing __END_DECLS.
2422
f41c8091
UD
24231997-08-24 12:24 Ulrich Drepper <drepper@cygnus.com>
2424
2425 * configure.in (INSTALL): Quote `$'.
2426
2427 * libc.map: Add __xpg_basename.
2428
2429 * csu/Makefile (initfini.s): Disable optimization.
2430
92f1da4d 2431 * elf/dl-deps.c: Implement handling of DT_FILTER.
f41c8091
UD
2432
2433 * elf/dl-load.c (_dl_init_paths): Add error check.
2434
2435 * intl/finddomain.c (_nl_find_domain): Correct comment.
2436 * intl/localealias.c: Include <bits/libc-lock.h> not <libc-lock.h>.
2437
2438 * libio/stdio.h: Make {,v}snprintf available if __USE_BSD.
2439 Change extern inline functions to work correctly in C++.
2440
2441 * locale/iso-4217.def: Update for more recent ISO 4217 version.
2442
2443 * locale/loadlocale.c (_nl_load_locale): Add cast.
2444
2445 * manual/message.texi: Finish gettext section.
2446
2447 * posix/getopt_init.c: Don't use relative #include path.
2448 (__getopt_clean_environment): Change function to take pointer to
2449 environment as argument. Optimize generation of test string a bit.
2450 * sysdeps/unix/sysv/linux/init-first.c: Call __getopt_clean_environment
2451 with additional argument.
2452
2453 * poisx/glob.c: Add prototype for next_brace_sub.
2454
2455 * sysdeps/generic/dl-sysdep.c: Recognize AT_BASE value on auxiliary
2456 vector.
2457
2458 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Rewrite
2459 to not generate relocation entry. Suggested by Richard Henderson.
2460 (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed.
2461 (elf_machine_runtime_setup): Add .aligns.
2462
2463 * sysdeps/i386/fpu/fraiseexcpt.c: Add volatile to asms.
2464
2465 * sysdeps/i386/fpu/bits/mathinline.h: Partially undo change of
2466 1997-08-14 03:14. gcc 2.7.2* is really broken in some aspects.
2467
2468 * sysdeps/standalone/i386/i386.h: Clean up asm statements a bit.
2469 * sysdeps/standalone/i960/i960ca.h: Likewise.
2470
24711997-08-22 19:04 Richard Henderson <rth@cygnus.com>
2472
2473 * elf/rtld.c (_dl_start): Init _dl_rtld_map.l_opencount due to
2474 undocumented test addition in _dl_map_object.
2475
2476 Support ET_EXEC versions of ld.so, for debugging at least:
2477
2478 * elf/dl-load.c (_dl_map_object): Add_name_to_object could get
2479 called despite the DT_SONAME != NULL test, segfaulting. Simplify
2480 the code here as well.
2481 * elf/dl-lookup.c (do_lookup): Skip objects with no symtab.
2482 (_dl_setup_hash): Likewise for hash tables.
2483 * elf/dl-version.c (_dl_check_map_versions): Likewise for strtabs.
2484 * elf/rtld.c (_dl_start): Likewise for rpath.
2485 (_dl_rtld_libname2): New variable.
2486 (dl_main): Use it to add an soname for ourselves when we don't have
2487 one of our own. Base it on the target's .interp.
2488 (dl_main): Again, skip printing of objects that don't have strtabs.
2489
2490 Sparc 32 merge:
2491
2492 * elf/dl-runtime.c (ELF_FIXUP_RETURN_VALUE): Provide default value.
2493 (fixup): Simplify code. Use ELF_FIXUP_RETURN_VALUE.
2494 (profile_fixup): Likewise, though this still needs fixing for
2495 Sparc32 and PPC.
2496 * sysdeps/powerpc/dl-machine.h: Transmute ELF_FIXUP_RETURNS_ADDRESS
2497 to ELF_FIXUP_RETURN_VALUE.
2498
2499 * sysdeps/sparc/sparc32/dl-machine.h: Implement lazy relocation.
2500 Fix up _dl_start_user to handle _dl_skip_args properly.
2501 Use _dl_hwcap to determine if "flush" is available/needed.
2502
2503 * sysdeps/sparc/configure.in: Remove. It doesn't actually do
2504 anything anymore, and what it did do is done somewhere else.
2505 * sysdeps/sparc/configure: Likewise.
2506
2507 * sysdeps/sparc/fpu/bits/mathdef.h (FP_ILOGB0, FP_ILOGBNAN): New.
2508
2509 * sysdeps/sparc/fpu/fraiseexcpt.c: Rearrange for smaller code.
2510
2511 * sysdeps/sparc/sparc32/Makefile: Fix sparc->sparc/sparc32 bits
2512 in divrem expansions.
2513
2514 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (END, LOC): New
2515 definitions for assembly syntax differences.
2516
2517 * sysdeps/sparc/sparc32/__longjmp.S: %g6,%g7 are reserved to the
2518 "system". Use %g2,%g3 instead. Use new local label macro.
2519 * sysdeps/sparc/sparc32/add_n.S: Use <sysdep.h> and ENTRY, END,
2520 and LOC for proper assembly headers/footers.
2521 * sysdeps/sparc/sparc32/addmul_1.S: Likewise.
2522 * sysdeps/sparc/sparc32/alloca.S: Likewise.
2523 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2524 * sysdeps/sparc/sparc32/lshift.S: Likewise.
2525 * sysdeps/sparc/sparc32/mul_1.S: Likewise.
2526 * sysdeps/sparc/sparc32/rshift.S: Likewise.
2527 * sysdeps/sparc/sparc32/sparcv8/addmul_1.S: Likewise.
2528 * sysdeps/sparc/sparc32/sparcv8/mul_1.S: Likewise.
2529 * sysdeps/sparc/sparc32/sparcv8/submul_1.S: Likewise.
2530 * sysdeps/sparc/sparc32/sparcv8/udiv_qrnnd.S: Likewise.
2531 * sysdeps/sparc/sparc32/sub_n.S: Likewise.
2532 * sysdeps/sparc/sparc32/submul_1.S: Likewise.
2533 * sysdeps/sparc/sparc32/udiv_qrnnd.S: Likewise.
2534 * sysdeps/sparc/sparc32/umul.S: Likewise.
2535 * sysdeps/sparc/sparc32/divrem.m4: Likewise.
2536 * sysdeps/sparc/sparc32/rem.S: Regenerate.
2537 * sysdeps/sparc/sparc32/sdiv.S: Regenerate.
2538 * sysdeps/sparc/sparc32/udiv.S: Regenerate.
2539 * sysdeps/sparc/sparc32/urem.S: Regenerate.
2540
2541 * sysdeps/sparc/sparc32/sparcv8/dotmul.S: New file.
2542 * sysdeps/sparc/sparc32/sparcv8/rem.S: New file.
2543 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: New file.
2544 * sysdeps/sparc/sparc32/sparcv8/udiv.S: New file.
2545 * sysdeps/sparc/sparc32/sparcv8/umul.S: New file.
2546 * sysdeps/sparc/sparc32/sparcv8/urem.S: New file.
2547
2548 * sysdeps/sparc/sparc32/bsd-_setjmp.S: Dike out.
2549 * sysdeps/sparc/sparc32/bsd-setjmp.S: Likewise.
2550 * sysdeps/sparc/sparc32/setjmp.S: Add _setjmp and setjmp entry points.
2551
2552 * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S:
2553 Clean up PIC code.
2554
2555 * sysdeps/sparc/sparc32/elf/start.S: New file, slightly modified
2556 from the sparc64 version.
2557 * sysdeps/sparc/sparc32/elf/start.c: Removed.
2558
2559 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Rewrite in
2560 assembly based on the sparc64 version.
2561
2562 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Duh. Use proper syntax
2563 for manipulating %fsr.
2564 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Make IEEE conformance
2565 be the default.
2566
2567 * elf/elf.h (HWCAP_SPARC_*): New definitions.
2568 * elf/rtld.c (_dl_hwcap): New variable.
2569 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Record AT_HWCAP.
2570
2571 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: New file.
2572 Attempt to get hold of the page size based on what we might have
2573 been told at startup time in _dl_pagesize. This will be obsolete
2574 when I finish the kernel hooks for a proper sysconf(), stay tuned.
2575
2576 Sparc 64 merge:
2577
2578 * sysdeps/sparc/sparc64/dl-machine.h (ELF_FIXUP_RETURN_VALUE): New.
2579 Figure out the right thing to return based on the .plt format.
2580
2581 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Update comment.
2582
2583 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__dev_t):
2584 Should have been 64-bits wide.
2585
2586 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: sll->sllx,
2587 optimize for branch delay slot usage.
2588
25891997-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2590
2591 * csu/Makefile ($(objpfx)crt%.o): Fix a missing *.so -> *.os
2592 change.
2593
25941997-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2595
2596 * math/libm-test.c (identities): Change epsilon.
2597
2598 * sysdeps/i386/fpu/bits/mathinline.h: Correct arguments to fabs,
2599 fabsf, fabsl, __fabsl.
2600
40a55d20
UD
26011997-08-20 05:30 Ulrich Drepper <drepper@cygnus.com>
2602
2603 * catgets/catgets.c (catclose): Use __munmap instead of munmap.
2604 * catgets/gencat.c (read_input_file): Fix typo.
2605
2606 * dirent/dirent.h: Make seekdir and telldir available for __USE_XOPEN.
2607
2608 * elf/dl-load.c: Fix case of missing DT_RPATH in object which gets
2609 executed (e.g., when it is a static binary).
2610
2611 * intl/bindtextdomain.c: Use strdup in glibc. Correct comment.
2612 * intl/dcgettext.c: Likewise.
2613 * intl/dgettext.c: Likewise.
2614 * intl/explodename.c: Likewise.
2615 * intl/finddomain.c: Likewise.
2616 * intl/gettext.c: Likewise.
2617 * intl/gettext.h: Likewise.
2618 * intl/hash-string.h: Likewise.
2619 * intl/l10nflist.c: Likewise.
2620 * intl/libintl.h: Likewise.
2621 * intl/loadinfo.h: Likewise.
2622 * intl/loadmsgcat.c: Likewise.
2623 * intl/localealias.c: Likewise.
2624 * intl/textdomain.c: Likewise.
2625
2626 Unify libio sources with code in libg++.
2627 * libio/fcloseall.c: Update and reformat copyright. Protect use
2628 of weak_alias. Use _IO_* thread macros instead of __libc_*.
2629 * libio/feof.c: Likewise.
2630 * libio/feof_u.c: Likewise.
2631 * libio/ferror.c: Likewise.
2632 * libio/ferror_u.c: Likewise.
2633 * libio/fgetc.c: Likewise.
2634 * libio/filedoalloc.c: Likewise.
2635 * libio/fileno.c: Likewise.
2636 * libio/fileops.c: Likewise.
2637 * libio/fputc.c: Likewise.
2638 * libio/fputc_u.c: Likewise.
2639 * libio/freopen.c: Likewise.
2640 * libio/fseek.c: Likewise.
2641 * libio/genops.c: Likewise.
2642 * libio/getc.c: Likewise.
2643 * libio/getc_u.c: Likewise.
2644 * libio/getchar.c: Likewise.
2645 * libio/getchar_u.c: Likewise.
2646 * libio/iofclose.c: Likewise.
2647 * libio/iofdopen.c: Likewise.
2648 * libio/iofflush.c: Likewise.
2649 * libio/iofflush_u.c: Likewise.
2650 * libio/iofgetpos.c: Likewise.
2651 * libio/iofgets.c: Likewise.
2652 * libio/iofopen.c: Likewise.
2653 * libio/iofopncook.c: Likewise.
2654 * libio/iofprintf.c: Likewise.
2655 * libio/iofputs.c: Likewise.
2656 * libio/iofread.c: Likewise.
2657 * libio/iofsetpos.c: Likewise.
2658 * libio/ioftell.c: Likewise.
2659 * libio/iofwrite.c: Likewise.
2660 * libio/iogetdelim.c: Likewise.
2661 * libio/iogetline.c: Likewise.
2662 * libio/iogets.c: Likewise.
2663 * libio/iopadn.c: Likewise.
2664 * libio/iopopen.c: Likewise.
2665 * libio/ioputs.c: Likewise.
2666 * libio/ioseekoff.c: Likewise.
2667 * libio/ioseekpos.c: Likewise.
2668 * libio/iosetbuffer.c: Likewise.
2669 * libio/iosetvbuf.c: Likewise.
2670 * libio/iosprintf.c: Likewise.
2671 * libio/ioungetc.c: Likewise.
2672 * libio/iovdprintf.c: Likewise.
2673 * libio/iovsprintf.c: Likewise.
2674 * libio/iovsscanf.c: Likewise.
2675 * libio/libio.h: Likewise.
2676 * libio/libioP.h: Likewise.
2677 * libio/obprintf.c: Likewise.
2678 * libio/pclose.c: Likewise.
2679 * libio/peekc.c: Likewise.
2680 * libio/putc.c: Likewise.
2681 * libio/putchar.c: Likewise.
2682 * libio/rewind.c: Likewise.
2683 * libio/setbuf.c: Likewise.
2684 * libio/setlinebuf.c: Likewise.
2685 * libio/stdfiles.c: Likewise.
2686 * libio/stdio.c: Likewise.
2687 * libio/strfile.h: Likewise.
2688 * libio/strops.c: Likewise.
2689 * libio/vasprintf.c: Likewise.
2690 * libio/vscanf.c: Likewise.
2691 * libio/vsnprintf.c: Likewise.
2692
2693 * manual/libc.texinfo: Add menu entries for chapter on message
2694 translation.
2695 * manual/locale.texi: Correct next entry in @node for new chapter.
2696 * manual/search.texi: Likewise for previous link.
2697 * manual/message.texi: New file.
2698 * manual/startup.texi: Document LC_ALL, LC_MESSAGES, NLSPATH,
2699 setenv, unsetenv, and clearenv.
2700 * manual/string.texi: Fix typos. Patch by Jim Meyering.
2701
2702 * math/Makefile (test-longdouble-yes): Enable. We want long double
2703 tests now.
2704
2705 Crusade against strcat.
2706 * nis/nss_nisplus/nisplus-publickey.c: Remove uses of strcat.
2707 * stdlib/canonicalize.c: Likewise.
2708
2709 * posix/glob.h: Define __const if necessary. Use __const in all
2710 prototypes.
2711
2712 * sysdeps/generic/stpcpy.c: Use K&R form to allow use in other
2713 GNU packages.
2714
2715 * posix/wordexp.c: Completely reworked buffer handling for much
2716 better performance. Patch by Tim Waugh.
2717
2718 * socket/sys/sochet.h (getpeername): Fix type of LEN parameter,
2719 it must be socklen_t.
2720
2721 * sysdeps/libm-i387/e_remainder.S: Pretty print.
2722 * sysdeps/libm-i387/e_remainderf.S: Likewise.
f41c8091 2723 * sysdeps/libm-i387/e_remainderl.S: Pop extra value from FPU stack.
40a55d20
UD
2724 * sysdeps/libm-i387/s_cexp.S: Little optimization.
2725 * sysdeps/libm-i387/s_cexpl.S: Likewise.
f41c8091 2726 * sysdeps/libm-ieee754/s_csinhl.c: Include <fenv.h>.
40a55d20
UD
2727
27281997-08-18 15:21 Ulrich Drepper <drepper@cygnus.com>
2729
2730 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Fix memory leak
2731 in cleanup code.
2732
27331997-08-17 Paul Eggert <eggert@twinsun.com>
2734
2735 * tzset.c (__tzset_internal): Fix memory leak when the user
2736 specifies a TZ value that uses a default rule file.
2737 Do not assume US DST rules when the user specifies
2738 that there is no DST.
2739
27401997-08-10 19:17 Philip Blundell <Philip.Blundell@pobox.com>
2741
2742 * inet/getnameinfo.c: Tidy up.
2743 * sysdeps/posix/getaddrinfo.c: Likewise.
2744
2745 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Return 0 if
2746 using stub code.
2747 (if_indextoname): Use SIOGIFNAME ioctl if the kernel supports it.
2748 (if_nameindex): Use alloca() rather than malloc(); use
2749 SIOCGIFCOUNT ioctl if the kernel supports it.
2750
27511997-08-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2752
2753 * sysdeps/unix/sysv/linux/sys/mount.h: Remove the IS_* macros,
2754 they operate on internal kernel structures and have no place in a
2755 user header.
2756
27571997-08-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2758
2759 * Makerules (lib%.so): Depend on $(+preinit) and $(+postinit).
2760 (build-shlib): Filter them out of $^.
2761
27621997-08-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2763
2764 * elf/dl-error.c (_dl_signal_error): Fix error message.
2765
27661997-08-16 04:06 Ulrich Drepper <drepper@cygnus.com>
2767
2768 * assert/assert.h [__USE_GNU]: Undefine assert_perror.
2769 Reported by Theodore C. Belding <Ted.Belding@umich.edu>.
2770
27711997-08-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2772
2773 * Makeconfig: Change object suffixes from *.[spgb]o to *.o[spgb]
2774 to avoid conflict with PO files.
2775 * Makerules: Likewise.
2776 * Rules: Likewise.
2777 * elf/Makefile: Likewise.
2778 * extra-lib.mk: Likewise.
2779 * gmon/Makefile: Likewise.
2780 * nis/Makefile: Likewise.
2781 * nss/Makefile: Likewise.
2782 * resolv/Makefile: Likewise.
2783 * rpm/Makefile: Likewise.
2784 * sunrpc/Makefile: Likewise.
2785 * sysdeps/sparc/elf/Makefile: Likewise.
2786 * sysdeps/sparc64/elf/Makefile: Likewise.
2787 * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
2788 (ASFLAGS-.os): Renamed from as-FLAGS.os.
2789
ca34d7a7
UD
27901997-08-14 03:14 Ulrich Drepper <drepper@cygnus.com>
2791
2792 * elf/dl-minimal.c: Don't use relative #include paths.
2793 (malloc): Don't try to initialize _dl_pagesize, it already is.
2794 (__sigjmp_save, longjmp): Reformat.
2795
2796 * sysdeps/generic/dl-sysdep.c: Implement _dl_show_auxv function to
2797 show content of auxiliary array.
2798 (_dl_sysdep_start): Remember start of auxiliary vector.
2799 * sysdeps/mach/hurd/dl-sysdep.c: (_dl_show_auxv): New dummy function.
2800 * elf/link.h: Add prototype for _dl_show_auxv.
2801 * elf/rtld.c (dl_main): Call _dl_show_auxv if LD_SHOW_AUXV envvar
2802 is present.
2803
2804 * libio/iofdopen.c: Better prepare for use in libstdc++.
2805 * libio/iofflush.c: Likewise.
2806 * libio/iofgetpos.c: Likewise.
2807 * libio/iofgets.c: Likewise.
2808 * libio/iofopen.c: Likewise.
2809 * libio/iofputs.c: Likewise.
2810 * libio/iofread.c: Likewise.
2811 * libio/iofsetpos.c: Likewise.
2812 * libio/ioftell.c: Likewise.
2813 * libio/iofwrite.c: Likewise.
2814 * libio/iogetdelim.c: Likewise.
2815 * libio/iogets.c: Likewise.
2816 * libio/iopopen.c: Likewise.
2817 * libio/ioputs.c: Likewise.
2818 * libio/iosetbuffer.c: Likewise.
2819 * libio/iosetvbuf.c: Likewise.
2820 * libio/ioungetc.c: Likewise.
2821 * libio/iovsprintf.c: Likewise.
2822 * libio/iovsscanf.c: Likewise.
2823
2824 * manual/creature.texi: Mention _XOPEN_SOURCE_EXTENDED in correct
2825 place.
2826
2827 * manual/math.texi: Add comment to sincos decsription to say it's a
2828 GNU extension.
2829 Fix description of random function.
2830
2831 * posix/fnmatch.h: Recognize Windog by _WINDOWS32 not WIN32.
2832 * posix/glob.c: Likewise. Handle stupid system headers on SunOS.
2833 Add casts for all __alloca calls.
2834 * posix/glob.h: Recognize Windog by _WINDOWS32 not WIN32.
2835 Declare additional GLOB_* constants also if _GNU_SOURCE is defined.
2836 Patches by Paul D. Smith <psmith@BayNetworks.COM>.
2837
2838 * stdio-common/_itoa.c: Don't use relateive #include paths.
2839
2840 * sysdeps/i386/fpu/bits/mathinline.h: Enable optimizations even for
2841 gcc 2.7.
2842 (atan): Loading 1.0 from memory does not pay off.
2843 (asinh): Fix typo.
2844
28451997-08-13 09:44 Philip Blundell <Philip.Blundell@pobox.com>
2846
2847 * sysdeps/stub/accept.c: Use socklen_t where necessary.
2848 * sysdeps/stub/bind.c: Likewise.
2849 * sysdeps/stub/connect.c: Likewise.
2850 * sysdeps/stub/getsockname.c: Likewise.
2851 * sysdeps/stub/getsockopt.c: Likewise.
2852 * sysdeps/stub/recvfrom.c: Likewise.
2853 * sysdeps/stub/sendto.c: Likewise.
2854 * sysdeps/stub/setsockopt.c: Likewise.
2855
28561997-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2857
2858 * io/ftw.c (object_compare): Avoid memcmp when comparing scalar
2859 types.
2860
28611997-08-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2862
2863 * math/libm-test.c (cbrt_test): Add epsilon for long double to
2864 `cbrt (-0.001)'.
2865
28661997-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2867
2868 * sysdeps/stub/bits/string.h: Fix comment.
2869
28701997-08-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2871
2872 * elf/Makefile (routines): Remove dl-version.
2873 (dl-routines): Add it here instead. This removes dead code from
2874 libc.so.
2875
28761997-08-12 17:17 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
2877
2878 * malloc/thread-m.h (thread_atfork, thread_atfork_static): New
2879 macros to encapsulate pthread_atfork's functionality.
2880 * malloc/malloc.c (ptmalloc_lock_all, ptmalloc_unlock_all): New
2881 functions, registered via thread_atfork in the initialization
2882 routine or via thread_atfork_static in global scope. This
2883 ensures a consistent state of all locks across fork().
2884
28851997-08-11 23:00:32 1997 Mark Kettenis <kettenis@phys.uva.nl>
2886
2887 * login/programs/xtmp.c (compare_entry):
2888 Partially undo patch made by Klaus Espenlaub. There
2889 was no xtmp/utmp typo. Added comment to cclarify this.
2890 * login/programs/xtmp.h: Likewise.
2891
2892 * posix/getopt.c: Recognize Windog by _WINDOWS32 not WIN32.
2893 Patch by Paul D. Smith <psmith@BayNetworks.COM>.
2894
28951997-08-12 13:51 Ulrich Drepper <drepper@cygnus.com>
2896
2897 * login/getutid.c: Rename to __getutid and make getutid and getutxid
2898 weak aliases.
2899 Patch by ir. Mark M._Kettenis <kettenis@phys.uva.nl>.
2900
29011997-08-11 23:55 Ulrich Drepper <drepper@cygnus.com>
2902
2903 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
2904 Add bits/mman.h.
2905
29061997-08-11 08:51:21 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
2907
2908 * stdlib/fmtmsg.c (fmtmsg): Add static to
2909 __libc_once_define macro.
2910
2911 * libc.map (__progname_full, __progname): Added.
2912
29131997-08-04 08:31 H.J. Lu <hjl@gnu.ai.mit.edu>
2914
2915 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Return 0
2916 if SIOGIFINDEX is not defined.
2917 (if_indextoname): Initialize "result" to NULL.
2918 (if_nametoindex, if_nameindex): Fix ENOSYS setting.
2919
29201997-08-11 11:58 Richard Henderson <rth@cygnus.com>
2921
2922 Sparc ISO C 9x exception handling:
2923 * sysdeps/sparc/fpu/bits/mathdef.h: New file.
2924 * sysdeps/sparc/fpu/fclrexcpt.c: New file.
2925 * sysdeps/sparc/fpu/fegetenv.c: New file.
2926 * sysdeps/sparc/fpu/fegetround.c: New file.
2927 * sysdeps/sparc/fpu/feholdexcpt.c: New file.
2928 * sysdeps/sparc/fpu/fesetenv.c: New file.
2929 * sysdeps/sparc/fpu/fesetround.c: New file.
2930 * sysdeps/sparc/fpu/feupdateenv.c: New file.
2931 * sysdeps/sparc/fpu/fgetexcptflg.c: New file.
2932 * sysdeps/sparc/fpu/fraiseexcpt.c: New file.
2933 * sysdeps/sparc/fpu/fsetexcptflg.c: New file.
2934 * sysdeps/sparc/fpu/ftestexcept.c: New file.
2935 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: New file.
2936 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: New file.
2937
29381997-08-11 11:58 Richard Henderson <rth@cygnus.com>
2939
2940 Sparc64 merge:
2941 * configure.in: Change up subdirectories, rename sparc8->sparcv8.
2942
2943 * csu/Makefile: Nuke need-nopic-initfini bits. The problem was
2944 that sparc64 ld did not recognize pic relocs at all.
2945
2946 * elf/dl-deps.c: Include <string.h>.
2947 * elf/do-rel.h (elf_dynamic_do_rel): Take reloc address and size
2948 directly instead of the DT names to get them from.
2949 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): New macro distilled
2950 from ELF_DYNAMIC_DO_REL{,A}. Define a second version that accounts
2951 for the possibility that DT_RELA and DT_JMPPLT overlap, as such is
2952 the case on the Sparc.
2953
2954 * elf/elf.h: Stub out Elf64_Ver*, and make them the same as the
2955 Elf32_Ver* bits. The linker does not even know to differentiate
2956 between the word sizes. Someone should examine this and figure
2957 out what the proper sizes of things should be for 64-bit hosts
2958 before the sparc64 libraries are distributed.
2959
2960 * shlib-versions: Rename sparc64 ld.so to not conflict with sparc32
2961 on the same machine.
2962
2963 Move old sysdeps/sparc contents to sysdeps/sparc/sparc32,
2964 rename sparc8 subdir to sparcv8, move sysdeps/sparc64 content to
2965 sysdeps/sparc/sparc64. Same for sysdeps/unix/sysv/linux/sparc.
2966
2967 * sysdeps/sparc/Implies: Do ieee754 here.
2968 * sysdeps/sparc/configure.in: Move from sparc32/.
2969 * sysdeps/sparc/sparc32/Implies: Do wordsize here.
2970 * sysdeps/sparc/sparc64/Implies: Likewise.
2971
2972 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_load_address):
2973 Use uninitialized .got to find load address instead of AT_BASE, as
2974 the later does not exist when running ld.so directly.
2975
2976 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Move from ../.
2977 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
2978
2979 * sysdeps/sparc/sparc32/udiv_qrnnd.S: Clean up PIC support.
2980
2981 * sysdeps/sparc/sparc64/Makefile (sysdep_routines): Add s_finitel
2982 and s_signbitl for stdio.
2983 * sysdeps/sparc/sparc64/configure.in: Remove, we no longer need
2984 nopic_initfini.
2985
2986 * sysdeps/sparc/sparc64/bsd-_setjmp.S: Remove.
2987 * sysdeps/sparc/sparc64/bsd-setjmp.S: Remove.
2988 * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-_setjmp.S: New empty file.
2989 * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-setjmp.S: New empty file.
2990 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add __longjmp alias.
2991 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Add weak _setjmp
2992 and setjmp entry points.
2993
2994 * sysdeps/sparc/sparc64/dl-machine.h: Finish real implementation.
2995
2996 * sysdeps/sparc/sparc64/elf/crtbegin.S: Add copyright, fix PIC.
2997 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise.
2998
2999 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (struct sigaction):
3000 Fix sa_flags size for sparc64; add sa_restorer for kernel.
3001
3002 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Fix PIC.
3003 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3004 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
3005 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3006
3007 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: New file.
3008
30091997-08-10 18:29:08 1997 Mark Kettenis <kettenis@phys.uva.nl>
3010
3011 * login/login.c (login): Check for correct return value of
3012 utmpname.
3013
30141997-08-11 16:49 Ulrich Drepper <drepper@cygnus.com>
3015
3016 * time/tzset.c (__tzset_internal): Correctly handle TZ strings
3017 following incorrect old POSIX specs.
3018 Patch by Paul Eggert <eggert@twinsun.com>.
3019
3020 * sysdeps/generic/bits/sigaction.h: Correct comment for SA_RESTART.
3021 * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
3022 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
3023 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
3024 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
3025 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
3026 * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
3027 * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
3028 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
3029
30301997-08-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3031
3032 * manual/math.texi: Define the macros @mul and @infinity and use
3033 them to format the multiplication and infinity signs.
3034 (FP Comparison Functions): Use @code, not @math, for C code
3035 examples.
3036
0413b54c
UD
30371997-08-10 18:48 Ulrich Drepper <drepper@cygnus.com>
3038
3039 * Makeconfig: Define build-programs to no if not set and $(config-os)
3040 is none.
3041 * Makerules (+depfiles): Don't add $(others) if not build-programs.
3042 * Rules (others): Don't depend on $(install-bin), $(install-rootbin)
3043 and $(install-sbin) if not build-programs.
3044 * Makefile (subdirs): Remove login.
3045 * sysdeps/mach/hurd/Subdirs: Add login.
3046 * sysdeps/unix/Subdirs: Add login.
3047
3048 * sysdeps/generic/sys/mman.h: Test feature macros before defining
3049 non-POSIX things. Add MAP_FAILED.
3050 * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
3051 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
3052 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
3053 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
3054 * sysdeps/unix/sysv/linux/sys/mman.h: Rewrite to not use kernel header
3055 but bits/mman.h. Test feature macros before definitions non-POSIX
3056 functions.
3057 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: New file.
3058 * sysdeps/unix/sysv/linux/i386/bits/mman.h: New file.
3059 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: New file.
3060 * sysdeps/unix/sysv/linux/mips/bits/mman.h: New file.
3061 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: New file.
3062 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file.
3063 * sysdeps/unix/sysv/linux/sparc64/bits/mman.h: New file.
3064 * sysdeps/unix/sysv/linux/alpha/Dist: Add bits/mman.h.
3065 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
3066 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
3067 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
3068 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
3069 * sysdeps/unix/sysv/linux/sparc/Dist: Likewise.
3070 * sysdeps/unix/sysv/linux/sparc64/Dist: New file. Likewise.
3071
3072 * catgets/open_catalog.c (__open_catalog): Compare result of mmap
3073 with MAP_FAILED and not -1.
3074 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3075 * elf/dl-minimal.c (malloc): Likewise.
3076 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Likewise.
3077 * locale/loadlocale.c (_nl_load_locale): Likewise.
3078 * locale/programs/localedef.c: Likewise.
3079 * malloc/malloc.c (mmap_chunk): Likewise.
3080 (new_heap): Likewise.
3081 * string/stratcliff.c: Likewise.
3082 * string/tester.c: Add tests for stpcpy.
3083
3084 * gmon/gmon.c (__monstartup): Use calloc instead of malloc+memset.
3085
3086 * gmon/sys/gmon.h: Add prototype for write_profiling.
3087
ca34d7a7 3088 * elf/dl-profile.c: Add descriptions and implement reading of
0413b54c
UD
3089 existing data in profiling file.
3090 * gmon/sys/gmon_out.h (GMON_SHOBJ_VERSION): New macro for shared
3091 lib profiling data.
3092
3093 * sysdeps/stub/bits/libc-lock.h (__libc_once_define): Add new first
3094 parameter for class.
3095
3096 * inet/inet_ntoa.c: Make once control variable static.
3097 Correctly handle case where key cannot be retrieved.
3098 * inet/Makefile (tests): Add tst-ntoa.
3099 * inet/tst-ntoa.c: New file.
3100
3101 * manual/time.texi: Document localtime_r, gmtime_r, asctime_r, and
3102 ctime_r.
3103 Mention that tzname values must not be changed.
3104
3105 * manual/users.texi: Document UTMP/WTMP handling functions.
3106 Mainly written by Mark Kettenis.
3107
3108 * math/libm-test.c (cbrt_test): Add test for number with aboslute
3109 value < 1.0.
3110
3111 * nss/nss_files/files-XXX.c (internal_setent): If opening of file
3112 failed with EGAIN return NSS_STATUS_TRYAGAIN.
3113 * nss/nss_files/files-alias.c (internal_setent): Likewise.
3114
3115 * sysdeps/generic/bits/utmp.h: Pretty print.
3116
3117 * sysdeps/i386/i586/strcpy.S: New file. Much faster implementation.
3118 * sysdeps/i386/i586/stpcpy.S: New file.
3119 * sysdeps/i386/i686/Implies: Don't fall back on i586 versions since
3120 these are less efficient than i486/i386 versions.
3121
3122 * sysdeps/libm-i387/e_rem_pio2.c: Add empty file to prevent the
3123 version from libm-ieee754 be compiled since the later is not needed.
3124 * sysdeps/libm-i387/e_rem_pio2f.c: Likewise.
3125 * sysdeps/libm-i387/e_rem_pio2l.c: Likewise.
3126 * sysdeps/libm-i387/k_rem_pio2.c: Likewise.
3127 * sysdeps/libm-i387/k_rem_pio2f.c: Likewise.
3128 * sysdeps/libm-i387/k_rem_pio2l.c: Likewise.
3129 * sysdeps/m68k/fpu/e_rem_pio2.c: Likewise.
3130 * sysdeps/m68k/fpu/e_rem_pio2f.c: Likewise.
3131 * sysdeps/m68k/fpu/e_rem_pio2l.c: Likewise.
3132 * sysdeps/m68k/fpu/k_rem_pio2.c: Likewise.
3133 * sysdeps/m68k/fpu/k_rem_pio2f.c: Likewise.
3134 * sysdeps/m68k/fpu/k_rem_pio2l.c: Likewise.
3135
3136 * sysdeps/libm-i387/s_cbrt.S: Fix several bugs.
3137 * sysdeps/libm-i387/s_cbrtf.S: Likewise.
3138 * sysdeps/libm-i387/s_cbrtl.S: Likewise.
3139
3140 * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct
3141 little bug.
3142
3143 * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Make field
3144 msg_iovlen of type int.
3145
3146 * time/tzfile.c: Change return type of __tzstring to char *.
3147 * time/tzset.c: Likewise. Change definition of __tzstring.
3148
3149 * time/tzset.c: Interpret no DST information in user provided time
3150 zone specification as it is meant: no DST.
3151 Patch by Paul Eggert <eggert@twinsun.com>.
3152
31531997-07-20 03:01 Geoff Keating <geoffk@ozemail.com.au>
3154
3155 * sysdeps/elf/dl-load.c (add_name_to_object): New procedure.
3156 (_dl_map_object_from_fd): Use add_name_to_object.
3157 (_dl_map_object): If an object's SONAME is used to resolve a
3158 dependency, add it to the list of the object's names.
3159
3160 * inet/getnameinfo.c: Make `domain' non-const.
3161
3162 * sysdeps/unix/sysv/linux/powerpc/kernel_termios.c: Clean up.
3163
3164 * math/test-fenv.c (feenv_nomask_test): Don't execute if
3165 FE_NOMASK_ENV is not defined, or if fesetenv(FE_NOMASK_ENV)
3166 sets errno to ENOSYS.
3167
3168 * sysdeps/powerpc/dl-machine.h: Print proper error message on
3169 unknown reloc type (rather than using assert).
3170
3171 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: New file.
3172 * sysdeps/unix/sysv/linux/powerpc/profil.c: Deleted.
3173
31741997-07-16 12:47 Geoff Keating <geoffk@ozemail.com.au>
3175
3176 * sysdeps/powerpc/bits/fenv.h (feraiseexcept): New optimising macro.
3177 (feclearexcept): New optimising macro.
3178 (FE_NOMASK_ENV): Change to procedure so it can enable exceptions.
3179 (FE_ENABLED_ENV): Add.
3180 (FE_NONIEEE_ENV): Add.
3181 * sysdeps/powerpc/bits/fenv_const.c: Add __fe_enabled_env,
3182 __fe_nonieee_env; delete __fe_nomask_env.
3183 * sysdeps/powerpc/bits/fe_nomask.c: New file (stub warning until it
3184 gets implemented in the kernel).
3185
3186 * sysdeps/powerpc/fraiseenv.c: Deal with chips that don't have
3187 FE_INVALID_SOFTWARE implemented. Use macros for bit names for clarity.
3188 * sysdeps/powerpc/fsetexcptflag.c: Likewise.
3189
3190 * io/ftw.c: Don't compare holes in structures.
3191 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Cast the result of the
3192 macros to `int', because otherwise it might be `long long' which
3193 the calling code is probably not expecting.
3194
3195 * sysdeps/libm-ieee754/s_lround.c [NO_LONG_DOUBLE]: Fix a few bugs,
3196 document the existence of some more.
3197
3198 * sysdeps/powerpc/s_llrint.c: New file.
3199 * sysdeps/powerpc/s_lrint.c: New file.
3200 * sysdeps/powerpc/s_llround.c: New file.
3201 * sysdeps/powerpc/s_lround.c: New file.
3202
3203 * sysdeps/powerpc/s_sqrt.c: New file.
3204 * sysdeps/powerpc/s_sqrtf.c: New file.
3205 * sysdeps/powerpc/w_sqrt.s: New empty file.
3206 * sysdeps/powerpc/w_sqrtf.s: New empty file.
3207 * sysdeps/powerpc/t_sqrt.c: New file.
3208 * sysdeps/powerpc/test-arithf.c: New file.
3209 * sysdeps/powerpc/Makefile [subdir=math]: Add t_sqrt to support
3210 routines. Add test-arithf to test programs.
3211
3212 * sysdeps/powerpc/bits/mathdef.h: Add FP_ILOGB0, FP_ILOGBNAN.
3213
3214 * sysdeps/powerpc/strcmp.s: Simplify drastically. Now much neater,
3215 and possibly faster (or possibly slower, depending on input).
3216
32171997-06-08 22:55 Geoff Keating <geoffk@ozemail.com.au>
3218
3219 * sysdeps/powerpc/fenvbits.h: Correct FE_DFL_ENV and FE_NOMASK_ENV
3220 macros.
3221 * sysdeps/powerpc/s_rint.c: New file.
3222
32231997-05-22 08:47 Geoff Keating <geoffk@ozemail.com.au>
3224
3225 * sysdeps/powerpc/Makefile [subdir=math]: Add q_* routines.
3226 * sysdeps/powerpc/Dist: Add quad_float.h.
3227 * sysdeps/powerpc/q_dtoq.c: New file.
3228 * sysdeps/powerpc/q_itoq.c: New file.
3229 * sysdeps/powerpc/q_lltoq.c: New file.
3230 * sysdeps/powerpc/q_neg.c: New file.
3231 * sysdeps/powerpc/q_qtoi.c: New file.
3232 * sysdeps/powerpc/q_qtoll.c: New file.
3233 * sysdeps/powerpc/q_qtos.c: New file.
3234 * sysdeps/powerpc/q_qtou.c: New file.
3235 * sysdeps/powerpc/q_qtoull.c: New file.
3236 * sysdeps/powerpc/q_stoq.c: New file.
3237 * sysdeps/powerpc/q_ulltoq.c: New file.
3238 * sysdeps/powerpc/q_utoq.c: New file.
3239 * sysdeps/powerpc/quad_float.h: New file.
3240 * sysdeps/powerpc/test-arith.c: New file.
3241
3242 * sysdeps/powerpc/fpu_control.h: Fix _FPU_GETCW.
3243 * sysdeps/powerpc/fegetround.c: Use mcrfs to be faster and not
3244 require a stack frame.
3245 * sysdeps/powerpc/bits/fenv.h: Include inline macro for fegetround.
3246
32471997-05-18 05:55 Geoff Keating <geoffk@ozemail.com.au>
3248
3249 * sysdeps/powerpc/fenv_libc.h (fegetenv_register,
3250 fesetenv_register): Add 'volatile'.
3251 (set_fpscr_bit, reset_fpscr_bit): New macros, FPSCR_*
3252 constants to use with them.
3253 * sysdeps/powerpc/s_copysign.S: New file.
3254 * sysdeps/powerpc/s_copysignf.s: New file.
3255 * sysdeps/powerpc/s_fabs.S: New file.
3256 * sysdeps/powerpc/s_fabsf.s: New file.
3257 * sysdeps/powerpc/s_isnan.c: New file.
3258 * sysdeps/powerpc/s_isnanf.s: New file.
3259 * sysdeps/powerpc/s_rintf.c: New file.
3260
3261 * sysdeps/powerpc/fenvbits.h: Make FE_INVALID the summary
3262 bit in the FPSCR, not the enable bit.
3263 * sysdeps/powerpc/fraiseexcpt.c: Consequent change to the above.
3264 * sysdeps/powerpc/fclrexcpt.c: Correct.
3265 * sysdeps/powerpc/fsetexcptflag.c: Correct.
3266 * sysdeps/powerpc/ftestexcpt.c: Is now much simpler.
3267 * sysdeps/powerpc/fgetexcptflg.c: Simplify.
3268
3269 * sysdeps/powerpc/strlen.s: Schedule better, save 3 clocks :-).
3270
3271 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Add comment
3272 explaining some reentrancy issues with lazy PLT entries.
3273
32741997-08-09 13:04 Mark Kettenis <kettenis@phys.uva.nl>
3275
3276 * login/logout.c (logout): utmpname returns -1 on error.
3277
3278 * login/libutil.map: Remove updwtmp.
3279
3280 * login/getutline.c: Rename getutline to __getutline and make
3281 getutline a weak alias. Make getutxline a weak alias for
3282 __getutline.
3283 * login/getutid.c: Rename getutid to __getutid and make getutid a
3284 weak alias. Make getutxid a weak alias for __getutid.
3285 * libc.map: Add getutxid, getutxline.
3286
3287 * login/utmpname.c (__utmpname): Reset backend right after backend
3288 endutent call.
3289 * login/utmp_file.c: Reordered functions. Remove unecessary
3290 header files.
3291 (getutent_r_file, pututline_file): Do not call setutent_file. At this
3292 point the file is guaranteed to be open (assert!).
3293 (getutid_r_file, getutline_r_file): Remove check for validity of file
3294 descriptor. At this point the file is guaranteed to be open.
3295 (getutent_r_file, internal_getut_r, getutline_r_file, pututline_file,
3296 updwtmp_file): Do not wait when unlocking file.
3297 * login/utmp_daemon.c: General cleanup and a bit of reordering.
3298 (getutent_r_daemon, pututline_daemon): Do not call setutent_daemon.
3299 At this point the socket is guaranteed to be open (assert!).
3300 (getutid_r_daemon, getutline_r_daemon): Do not check if daemon_sock is
3301 valid. At this point the socket is guaranteed to be open (assert!).
3302 * login/getutline_r.c: Remove unnecessary header files.
3303 (__getutline_r): Do not call backend setutent.
3304 * login/getutid_r.c: Remove unnecessary header files.
3305 (__getutid_r): Do not call backend setutent.
3306 * login/getutent_r.c: Remove unneccesary header files.
3307 (__libc_utmp_unknown_functions): Added getutid_r_unknown,
3308 getutline_r_unknown.
3309 (setutent_unknown): Only set file backend if setutent for the file
3310 backend was successful.
3311 (getutent_r_unknown, pututline_unknown): Call setutent_unknown instead
3312 of __setutent. Report failure if no backend was selected.
3313 (getutid_r_unknown): New function.
3314 (getutline_r_unknown): New function.
3315 (__endutent): Reset backend. This makes sure all backends are checked
3316 on the next setutent call.
3317
33181997-08-08 20:20 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3319
3320 * nis_cache.c: Replace dummy functions.
3321
3322 * libc.map: Add xdr_sizeof symbol.
3323
3324 * sunrpc/Makefile: Add xdr_sizeof to routines.
3325 * sunrpc/rpc/xdr.h: Add xdr_sizeof prototype.
3326 * sunrpc/xdr_sizeof.c: New, from tirpc 2.3.
3327
33281997-08-08 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3329
3330 * sysdeps/mach/bits/libc-lock.h (__libc_once): Define correctly.
3331
33321997-08-07 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3333
3334 * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the
3335 right place.
3336
33371997-08-06 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3338
3339 * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on
3340 PC's in long long to avoid overflow.
3341
33421997-08-07 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3343
3344 * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define):
3345 New macros.
3346
33471997-08-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3348
3349 * nis/Makefile (headers): Remove bits/nislib.h.
3350
33511997-08-06 14:54 Ulrich Drepper <drepper@cygnus.com>
3352
3353 * sysdeps/mach/hurd/Subdirs: Add login.
3354
33551997-08-06 14:23 Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>
3356
3357 * db/hash/hash.c (init_hash): Don't use stat() if it doesn't provide
3358 the preferred block size.
3359
3360 * login/programs/database.c (store_state_entry): Don't compile if
3361 there is no ut_type field.
3362 (store_state_entry, store_process_entry): Use the ut_tv field
3363 for timestamps if supported.
3364
3365 * login/programs/utmpdump.c (print_entry): Always use ut_tv field.
3366
3367 * login/programs/xtmp.c: Fix numerous xtmp/utmp typos. Use the ut_tv
3368 field for timestamps if supported.
3369
3370 * login/programs/xtmp.h: Fix xtmp/utmp typo.
3371
3372 * sysdeps/posix/defs.c (stdstream): Change (PTR) to (void *).
3373
3374 * sysdeps/stub/connect.c (connect): Change to __connect, add alias.
3375 * sysdeps/stub/send.c (send): Likewise.
3376 * sysdeps/stub/s_exp2f.c: Emit correct stub_warning().
3377 * sysdeps/stub/statfs.c: Move stub_warning() to the usual place.
3378 * sysdeps/stub/init-first.c: Add definition of __libc_pid.
3379
33801997-08-05 13:28 Philip Blundell <pb@spring.nexus.co.uk>
3381
3382 * sysdeps/standalone/arm/bits/errno.h: Add EISDIR, EOPNOTSUPP;
3383 tidy up formatting.
3384
3385 * Makefile (subdirs): Remove `login'.
3386 * sysdeps/unix/Subdirs: New file; build `login' subdirectory
3387 for Unix systems.
3388
33891997-08-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3390
3391 * sysdeps/generic/bits/utmpx.h: New file.
3392
3393 * sysdeps/mach/hurd/Dist: Add some files.
3394 * sysdeps/mips/Dist: Likewise.
3395 * sysdeps/mips/mips64/Dist: Likewise.
3396 * sysdeps/sparc/Dist: Likewise.
3397 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
3398 * sysdeps/unix/sysv/linux/sparc/Dist: Likewise.
3399 * sysdeps/mips/mipsel/Dist: New file.
3400 * sysdeps/sparc64/elf/Dist: New file.
3401 * sysdeps/unix/sysv/linux/sparc64/Dist: New file.
3402
34031997-08-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3404
3405 * libc.map: Add missing symbols.
3406
34071997-08-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3408
3409 * manual/socket.texi: Correct typos.
3410
3411 * manual/math.texi: Correct typos.
3412
3413 * manual/time.texi (Formatting Date and Time): Likewise.
3414
34151997-08-04 13:06 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3416
3417 * gmon/gmon.c (write_gmon): New function; guts from _mcleanup.
3418 (_mcleanup): Use write_gmon.
3419 (write_profiling): This function can be safely called at any time
3420 to write a current histogram without interfering with ongoing
3421 profiling.
3422
3423 * sysdeps/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES.
3424
34251997-08-01 17:53 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3426
3427 * sysdeps/mach/hurd/profil.c (fetch_samples): Sample buffer need
3428 not be vm_deallocated; it's a stack buffer.
3429 (profil_vm_deallocate): Delete prototype.
3430 (#include <../mach/RPC_vm_deallocate_rpc.c>): Drop this
3431 inclusion.
3432 * sysdeps/mach/hurd/Makefile
3433 ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete
3434 this rule.
3435
3436 * sysdeps/mach/hurd/profil.c (fetch_samples): New function, guts
3437 from profile_waiter.
3438 (profile_waiter): Use fetch_samples.
3439 (profil): When turning off profiling, fetch the last bunch of
3440 samples before disabling PC sampling.
3441 (fetch_samples): Add prototype.
3442
34431997-07-30 12:53 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3444
3445 * sysdeps/mach/hurd/Makefile: Give normal rules for the mach RPC
3446 source included by profil.c instead of trying to use
3447 before-compile grot.
3448
34491997-07-23 15:04 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3450
3451 * sysdeps/mach/hurd/profil.c (profile_waiter): Do vm_deallocate
3452 after releasing lock. Use special RPC stubs and avoid assert,
3453 thus making this function entirely independent of the threadvar
3454 mechanism and of cthreads.
3455 (lock): Convert to be a spin lock instead of a mutex, so that the
3456 waiter thread need not use cthreads. Use a fork prepare hook
3457 instead of _hurd_fork_locks to make sure we are clean before
3458 forking.
3459 (fork_profil_child): Renamed from fork_profil.
3460 (profil_reply_port): New variable.
3461 (profil_vm_deallocate, profil_task_get_sampled_pcs): Special RPC
3462 stubs made by special hacks.
3463 * sysdeps/mach/hurd/Makefile (before-compile): Add the mach RPC
3464 source files that profil.c needs if we are in the gmon directory.
3465
3466 * mach/setup-thread.c (__mach_setup_thread): Delete avoidance of a
3467 cthreads bug that hasn't existed for two years.
3468
55c14926
UD
34691997-08-04 15:29 Ulrich Drepper <drepper@cygnus.com>
3470
3471 * locale/programs/localedef.c (main): Set bit in avail for those
3472 categories which are successfully read.
3473 * locale/programs/locfile.c (check_all_categories): Don't check
3474 categories if they are not available.
3475 (write_all_categories): Don't write categories if they are not
3476 available.
3477
3478 * login/setutent_r.c (setutent_unknown): Change return type to
3479 int and return result of called function.
3480
3481 * manual/arith.texi: Mark floating-point test macro from ISO C 9X
3482 as macros (not functions).
3483 * manual/libc.texinfo (UPDATED): Update.
3484 * manual/math.texi: Document exceptions, functions to handle
3485 exceptions, mathematical constants, FP comparison functions
3486 and several new functions from ISO C 9X.
3487 Change parameter of drand48, lrand48, and mrand48 to void (not
3488 empty).
3489 * manual/pattern.texi: Remove paragraph which explained that wordexp
3490 is executed by running a shell.
3491 * manual/time.texi: Explain difficulties with strftime if the
3492 functions returns 0 and no error occurred.
3493
3494 * math/math.h: Correct comment for some M_* constants.
3495 (isgreater, isgreaterequal, isless, islessequal, islessgreater,
3496 inunordered): Rewrite to make sure the arguments are evaluated
3497 exactly once.
3498
3499 * nis/rpcsvc/nis.x: Undo last change.
3500 * nis/rpcsvc/nis.h: Likewise.
3501 * nis/rpcsvc/nislib.h: File moved back to here.
3502
3503 * posix/sys/types.h: Don't define socklen_t. Pretty print.
3504 * socket/sys/socket.h (bind, getsockname, connect, sendto, recvfrom,
3505 getsockopt, setsockopt, accept): Change size argument to type
3506 socklen_t.
3507 Pretty print.
3508 * manual/socket.texi: Describe socklen_t and change prototypes of
3509 socket functions to use socklen_t.
3510 * sysdeps/generic/bits/socket.h: Define socklen_t.
3511 (struct msghdr): Correct types to use socklen_t.
3512 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3513 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
3514
0413b54c 3515 * stdio-common/printf_fp.c (__printf_fp): Correct rounding of numbers
55c14926
UD
3516 1.0 < x < 8.0.
3517 * stdio-common/tfformat.c: Add new tests for above bug.
3518
3519 * stdlib/strtod.c: Fix typo.
3520
3521 * string/Makefile (headers): Add bits/string.h.
3522 (CFLAGS-*): Add -D__NO_STRING_INLINES.
3523 * string/string.h: Include <bits/string.h> if optimizing and
3524 __NO_STRING_INLINES is not defined.
3525 * sysdeps/stub/bits/string.h: New file.
3526
3527 * sysdeps/powerpc/bits/fenv.h: Fix typos.
3528
3529 * sysdeps/unix/sysv/linux/if_index.c: Let functions return ENOSYS
3530 if SIOGIFINDEX is not defined.
3531
3532 * sysdeps/wordsize-32/inttypes.h: Pretty print.
3533 * sysdeps/wordsize-64/inttypes.h: Pretty print.
3534
3535 * termios/cfsetspeed.c: Rewrite loop to do what it shall do.
3536
3537 * wcsmbs/Makefile (tests): Add tst-wcstof.
3538 * wcsmbs/tst-wcstof.c: New file.
3539
35401997-08-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3541
3542 * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite
3543 loop, to avoid dragging stdio into the dynamic linker.
3544
35451997-08-02 19:44 H.J. Lu <hjl@gnu.ai.mit.edu>
3546
3547 * nis/nis_findserv.c (xid, xid_seed, xid_lookup): Make them
3548 u_int32_t.
3549
35501997-08-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3551
3552 * posix/wordexp.c (parse_tilde): Fix calls to __getpwnam_r and
3553 __getpwuid_r.
3554 Include <stdio.h> to get prototypes of *printf.
3555 (exec_comm): Remove unneeded variable *sh.
3556
3557 * libc.map: Add wordexp, wordfree.
3558
3559 * posix/Makefile (routines): Add wordexp.
3560
35611997-08-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3562
3563 * posix/wordexp.c: Correct typo in comment.
3564 (wordexp): Likewise.
3565
3566 * manual/errno.texi (Error Codes): Fix typo.
3567
35681997-08-03 15:28 Ulrich Drepper <drepper@cygnus.com>
3569
3570 * csu/initfini.c (SECTION): Don't put quotes around section name
3571 since this is not understood by all assemblers.
3572 Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
3573
8f2ece69
UD
35741997-08-02 21:27 Ulrich Drepper <drepper@cygnus.com>
3575
3576 * inet/Makefile (headers): Rename netinet/inbits.h to bits/in.h.
3577 * inet/netinet/in.h: Include bits/in.h instead of netinet/inbits.h.
3578 * sysdeps/generic/netinet/inbits.h: Move to...
3579 * sysdeps/generic/bits/in.h: ... here.
3580 * sysdeps/unix/sysv/linux/bits/inbits.h: Move to ...
3581 * sysdeps/unix/sysv/linux/bits/in.h: ... here.
3582
3583 * nis/Makefile (headers): Add bits/nislib.h.
3584 * nis/rpcsvc/nislib.h: Moved to ....
3585 * nis/bits/nislib.h: ... here.
3586
3587 * nis/nss_compat/compat-grp.c: Don't include <rpcsvc/nislib.h>.
3588 * nis/nss_compat/compat-pwd.c: Likewise.
3589 * nis/nss_compat/compat-spwd.c: Likewise.
3590 * nis/nss_nisplus/nisplus-alias.c: Likewise.
3591 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
3592 * nis/nss_nisplus/nisplus-grp.c: Likewise.
3593 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
3594 * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
3595 * nis/nss_nisplus/nisplus-ntework.c: Likewise.
3596 * nis/nss_nisplus/nisplus-proto.c: Likewise.
3597 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
3598 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
3599 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
3600 * nis/nss_nisplus/nisplus-service.c: Likewise.
3601 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
3602
3603 * nis/rpcsvc/nis.x: Include bits/nislib.h, not rpcsvc/nislib.h.
3604 * nis/rpcsvc/nis.h: Likewise.
3605
3606 * inet/getnameinfo.c (nrl_domainname): Change return type to const
3607 char *.
3608 (getnameinfo): Change type of local variable c to const char *.
3609
3610 * inet/inet_ntoa.c: Rewrite to use __libc_once for initialization.
3611 * stdlib/fmtmsg.c: Likewise.
3612
3613 * intl/bindtextdom.c: Update from latest gettext.
3614 * intl/dcgettext.c: Likewise.
3615 * intl/finddomain.c: Likewise.
3616 * intl/l10nflist.c: Likewise.
3617 * intl/localealias.c: Likewise.
3618 * intl/textdomain.c: Likewise.
3619
3620 * login/getutid_r.c: Remove parameter to setutent call.
3621 * login/getutline_r.c: Likewise.
3622
3623 * posix/wordexp.c: Complete rewrite. Not fully implemented yet,
3624 though. Patch by Tim Waugh <tim@cyberelk.demon.co.uk>.
3625
3626 * stdio-common/printf_fp.c: Remove relative include paths.
3627 * stdio-common/printf_fphex.c: Likewise.
3628
3629 * sysdeps/generic/crypt.h: Cleanup. Don't define non standard
3630 elements unless __USE_GNU.
3631
3632 * sysdeps/generic/vlimit.c: Pretty print.
3633 * sysdeps/generic/vtimes.c: Likewise.
3634
3635 * sysdeps/i386/elf/bsd-_setjmp.S: New file. Empty dummy file.
3636 * sysdeps/i386/elf/bsd-setjmp.S: New file. Empty dummy file.
3637 * sysdeps/i386/elf/setjmp.S: New file. Define __setjmp and also
3638 weak definitions of setjmp and _setjmp.
3639
3640 * sysdeps/i386/fpu/bits/mathinline.h: More patches by John Bowman.
3641
3642 * sysdeps/stub/if_index.h: Set errno in all functions and add
3643 stub warnings.
3644
3645 * sysdeps/stub/libc-lock.h: Add __libc_once.
3646
36471997-08-02 01:57 Ulrich Drepper <drepper@cygnus.com>
3648
3649 * sysdeps/unix/sysv/linux/ptrace.c: Don't set errno in error
3650 case since the __syscall_ptrace call already did this.
3651 Reported by Philip Gladstone <philip@talon.raptor.com>.
3652
36531997-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3654
3655 * sysdeps/unix/sysv/linux/sys/fsuid.h: Change include
3656 <gnu/types.h> to <sys/types.h>.
3657
36581997-08-01 23:18 Ulrich Drepper <drepper@cygnus.com>
3659
3660 * csu/defs.awk: Fix regexp for end and align.
3661 Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
3662
0413b54c 3663 * locale/programs/locale.c (print_escaped): New function.
8f2ece69
UD
3664 (show_info): Use print_escaped if strings can control unprintable
3665 characters.
3666 Patch by Jochen Hein <jochen.hein@delphi.central.de>.
3667
36681997-08-01 18:45 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3669
3670 * nis/nss_nisplus/nisplus-alias.c: Fix NULL pointer problems
3671 * nis/nss_nisplus/nisplus-grp.c: Likewise.
3672
36731997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3674
3675 * elf/dl-profile.c (_dl_start_profile): Use _dl_sysdep_error
3676 instead of fprintf.
3677
36781997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3679
3680 * manual/socket.texi (Host Address Functions): Fix arguments of
3681 @deftypefun.
3682
36831997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3684
3685 * elf/dl-runtime.c: Avoid warning about profile_fixup being
3686 unused.
3687
3688 * sysdeps/m68k/dl-machine.h: Add support for shared library
3689 profiling.
3690
36911997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3692
3693 * md5-crypt/Makefile (extra-objs): Add onlymd5-crypt.o for
3694 dependencies.
3695
36961997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3697
3698 * Make-dist (subdirs): Distribute both aout and elf.
3699
37001997-07-31 23:04 Mark Kettenis <kettenis@phys.uva.nl>
3701
3702 * login/utmp-private.h: Remove reset argument from backend
3703 setutent.
3704 * login/getutent_r.c (__setutent): Allways call the setutent
3705 function in the daemon backend.
3706 (setutent_unknown): Function removed.
3707 (getutent_unknown, pututline_unknown): Call __setutent instead of
3708 setutent_unknown.
3709 * login/utmp_file.c (setutent_file): Removed reset argument. All
3710 callers changed.
3711 * login/utmp_daemon.c (setutent_daemon): Removed reset
3712 argument. All callers changed. Try to open connection even if a
3713 previous connection failed, but first check if the sockets exist
3714 in the filesystem.
3715
3716 * login/utmp_daemon.c (pututline_daemon): Try to open connection
3717 before reporting failure.
3718
3719 * login/programs/database.c (open_database): Create compatibility
3720 file if it does not already exist. Supply mode argument in open
3721 calls to guarantee that created files have the proper protection.
3722
3723 * login/programs/utmpd.c (main): Remove files created by a
3724 previous `bind' before creating sockets.
3725 Suggested by a sun <asum@zoology.washington.edu>.
3726
37271997-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3728
3729 * math/libm-test.c: Remove unneeded function check_int_exec.
3730
3731 * BUGS: Correct typos.
3732
3733 * gmon/gmon.c: Add alias for monstartup, declare _strerror_internal.
3734
37351997-07-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3736
3737 * manual/socket.texi (Host Address Functions): Reformat inet_ntop
3738 entry to confirm with expected behaviour of some scripts.
3739
3740 * libc.map: Add functions/variables in global namespace,
3741 remove wildcards.
3742
37431997-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3744
3745 * resolv/libresolv.map: Add variables and routines used by named,
3746 nslookup and other bind utils.
3747 * libc.map: Likewise.
3748
37491997-07-31 00:35 Philip Blundell <Philip.Blundell@pobox.com>
3750
3751 * sysdeps/unix/sysv/linux/if_index.c: Rewrite to avoid using /proc
3752 filesystem.
3753 * inet/test_ifindex.c: New file.
3754 * inet/Makefile (tests): Add test_ifindex.
3755
37561997-08-01 04:25 Ulrich Drepper <drepper@cygnus.com>
3757
3758 * nis/nss_nisplus/nisplus-parser.c: Fix another bug in the parser.
3759 Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
3760
3761 * manual/errno.texi: Fix typo.
3762 Reported by Erik Talvola <etalvo@sapient.com>.
3763
3996f34b
UD
37641997-07-28 23:35 Ulrich Drepper <drepper@cygnus.com>
3765
3766 * csu/gmon-start.c (__gmon_start__): Call __monstartup not
3767 monstartup.
3768 * gmon/gmon.c: Rename moncontrol to __moncontrol and monstartup
3769 to __monstartup.
3770 * gmon/sys/gmon.h: Fix prototypes.
3771 * gmon/sys/gmon_out.h: Pretty print.
3772
3773 * gmon/bb_exit_func.c (__bb_exit_func): Use memcpy instead of bcopy.
3774 * gmon/gmon.c (__monstartup): Likewise.
8f2ece69 3775 (write_hist): Remove dependency on 32 bit int.
3996f34b
UD
3776 (_mcleanup): Don't call perror, use fprintf.
3777
3778 * elf/dl-load.c: Fix handling of current directory in search path.
3779
3780 * elf/Makefile (dl-routines): Add dl-profile.
3781 * elf/dl-profile.c: New file.
3782 * elf/dl-runtime.c (fixup): Add new parameter with address to store
3783 relocation result in to elf_machine_relplt.
3784 (profile_fixup): New function.
3785 * elf/do-rel.h (elf_dynamic_do_rel): Add new parameter with address
3786 to store relocation result in to elf_machine_relplt.
3787 * elf/dl-support.c: Define _dl_profile and _dl_profile_map.
3788 * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Add new parameter and
3789 call elf_machine_runtime_setup with extra argument.
3790 * elf/dl-reloc.c (_dl_relocate_object): Add new argument to
3791 ELF_DYNAMIC_RELOCATE.
3792 * elf/link.h: Add prototypes for new functions and variables.
3793 * elf/rtld.c: Parse LD_PROFILE and LD_PROFILE_OUTPUT environment
3794 variables and call _dl_start_profile if necessary.
3795 * include/sys/gmon_out.h: New file.
3796 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Add
3797 new parameter to enable profiling.
3798 (elf_machine_rela): Add new parameter to specify place to store
3799 result in.
3800 * sysdeps/m68k/dl-machine.h: Likewise.
3801 * sysdeps/mips/dl-machine.h: Likewise.
3802 * sysdeps/mips/mips64/dl-machine.h: Likewise.
3803 * sysdeps/powerpc/dl-machine.h: Likewise.
3804 * sysdeps/sparc/dl-machine.h: Likewise.
3805 * sysdeps/sparc64/dl-machine.h: Likewise.
3806 * sysdeps/i386/dl-machine.h: Likewise.
3807 (elf_machine_runtime_setup): Setup got[2] to _dl_runtime_resolve if
3808 we do profiling.
3809 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add code for _dl_runtime_profile.
3810
3811 * nis/nss_compat/compat-grp.c (internal_setgrent): Set FD_CLOEXEC
3812 for stream on input file.
3813 * nis/nss_compat/compat-pwd.c (internal_setpwent): Likewise.
3814 * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise.
3815 * nss/nss_db/db-XXX.c (internal_setent): Likewise.
3816 * nss/nss_db/db-alias.c (internal_setent): Likewise.
3817 * nss/nss_db/db-netgrp.c (internal_setent): Likewise.
3818 * nss/nss_files/files-XXX.c (internal_setent): Likewise.
3819 * nss/nss_files/files-alias.c (internal_setent): Likewise.
3820 * nss/nss_files/files-netgrp.c (internal_setent): Likewise.
3821
3822 * string/string.h: Pretty print.
3823
3824 * sysdeps/i386/fpu/bits/mathinline.h: Major update by John Bowman.
3825 Add float and long double versions.
3826
38271997-07-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3828
3829 * elf/rtld.c (print_unresolved): Replace empty object name by main
3830 program name.
3831
38321997-07-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3833
3834 * sysdeps/generic/htons.c (htons): Renamed from __htons.
3835
38361997-07-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3837
3838 * sysdeps/m68k/bits/byteswap.h: New file.
3839
38401997-07-27 23:50 Philip Blundell <Philip.Blundell@pobox.com>
3841
3842 * inet/netinet/icmp6.h: Update for new drafts of POSIX.1g and IPv6
3843 advanced API.
3844 * inet/netinet/in.h: Likewise.
3845 * inet/netinet/ip6.h: Likewise.
3846 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3847 * posix/sys/types.h: Add socklen_t.
3848
3849 * manual/socket.texi: Document some more IPv6 things.
3850 * manual/libc.texinfo: Likewise.
3851
38521997-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3853
3854 * libc.map: Define missing symbol.
3855
38561997-07-27 14:31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3857
3858 * nis/Makefile: Add nis_findserv.
3859 * nis/lckcache.c: Fix typo.
3860 * nis/nis_call.c: Fix problems with multihomed servers.
3861 * nis/nis_findserv.c: New file.
3862 * nis/nis_intern.h: Add more prototypes.
3863 * nis/nis_lookup.c (nis_lookup): Don't try the next server if network
3864 is unreachable.
3865 * nis/nis_table.c (nis_list): Likewise.
3866 * nis/nis_ping.c (nis_ping): Use MASTER_ONLY, don't call abort()
3867 in error case.
3868 * nis/nis_util.c (__nis_finddirectory): Give the right error code
3869 back.
3870 * nis/ypclnt.c: Make sure, that all sockets are closed.
3871
0a54e401
UD
38721997-07-26 04:14 Ulrich Drepper <drepper@cygnus.com>
3873
3874 * elf/Makefile (distribute): Add genrtldtbl.awk.
3875 (before-compile): Add rtldtbl.h.
3876 (GAWK): New variable.
3877 (generated): Add trusted-dirs.h and rtldtbl.h.
3878 ($(objpfx)rtldtbl.h): New rule. File is needed by dl-load.c.
3879 * elf/dl-load.c: Rewrite. Now use cache and look for shared
3880 objects in machine dependent directories.
3881 * elf/dl-object.c (_dl_new_object): Initialize l_rpath_dirs member.
3882 * elf/dl-support.c: Rename function to non_dynamic_init and add
3883 initialization for _dl_platform, _dl_platformlen, _dl_pagesize
3884 and call to initializer for search path.
3885 * elf/elf.h: Add AT_PLATFORM and AT_HWCAP.
3886 * elf/genrtldtbl.awk: New file.
3887 * elf/link.h: Add type definitions and declarations for search
3888 path cache.
3889 * elf/rtld.c: Add definitions of variables used for search path cache.
3890 * sysdeps/generic/dl-sysdep.c: Let auxiliary vector initialize
3891 _dl_platform. Initialize _dl_pagesize early and use this value.
3892 * sysdeps/i386/dl-machine.h: Add code for _dl_platform handling.
3893 * sysdeps/mach/hurd/dl-sysdep.c: Initialize _dl_pagesize.
3894 * sysdeps/unix/sysv/linux/dl-sysdep.c: Use _dl_pagesize instead
3895 of calling getpagesize.
3896
3897 * elf/dl-error.c (_dl_signal_error): Make message nicer.
3898
3899 * nss/libnss_files.map: Fix typo.
3900 Reported by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
3901
3902 * sysdeps/generic/strsep.c: Optimize case where separator set contains
3903 only one character.
3904
3905 * sysdeps/libm-ieee754/s_ccosh.c: Correct sign of result for real
3906 == +-Inf.
3907 * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
3908 * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
3909
39101997-07-25 09:15 H.J. Lu <hjl@gnu.ai.mit.edu>
3911
3912 * sysdeps/sparc/udiv_qrnnd.S: Check PIC instead of __PIC__.
3913 * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Likewise.
3914 * sysdeps/unix/mips/sysdep.S: Likewise.
3915 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
3916
3917 * sysdeps/mips/bsd-_setjmp.S: Remove __PIC__ comment.
3918 * sysdeps/mips/bsd-setjmp.S: Likewise.
3919
3920 * sysdeps/mips/dl-machine.h: Remove extra stuff.
3921 * sysdeps/mips/mips64/dl-machine.h: Likewise.
3922
39231997-07-25 18:55 Philip Blundell <Philip.Blundell@pobox.com>
3924
3925 * sysdeps/standalone/arm/sysdep.c: New file.
3926
39271997-07-25 13:25 Philip Blundell <Philip.Blundell@pobox.com>
3928
3929 * aout/Makefile: New file.
3930 * Makeconfig (binfmt-subdir): Assume a.out when not ELF.
3931
3932 * sysdeps/generic/machine-gmon.h: Add warning about limitations of
3933 __builtin_return_address().
3934 * sysdeps/arm/machine-gmon.h: New file, use assembly to avoid
3935 above problem.
3936
39371997-07-25 16:24 H.J. Lu <hjl@gnu.ai.mit.edu>
3938
3939 * elf/dl-deps.c (_dl_map_object_deps): Fix a typo.
3940
39411997-07-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3942
3943 * math/libm-test.c (ccos_test, ccosh_test): Fix sign in some
3944 tests.
3945
39461997-07-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3947
3948 * sunrpc/clnt_udp.c (clntudp_call): Rename cu_wait from timeout to
3949 not shadow the variable in the outer scope.
3950
1522c368
UD
39511997-07-24 03:14 Ulrich Drepper <drepper@cygnus.com>
3952
3953 * elf/dl-deps.c: Complete rewrite to handle DT_AUXILIARY correctly.
3954
3955 * inet/Makefile (tests): Add htontest.
3956 * inet/htontest.c: New file.
3957
3958 * inet/netinet/in.h: Cleanup optimization of ntoh/hton functions
3959 when they are no noops.
3960 * sysdeps/alpha/htonl.S: Don't define __ protected names.
3961 * sysdeps/alpha/htons.S: Likewise.
3962 * sysdeps/generic/htonl.c: Likewise.
3963 * sysdeps/generic/htons.c: Likewise.
3964 * sysdeps/i386/htonl.S: Likewise.
3965 * sysdeps/i386/htons.S: Likewise.
3966 * sysdeps/i386/i486/htonl.S: Likewise.
3967 * sysdeps/vax/htonl.s: Likewise.
3968 * sysdeps/vax/htons.s: Likewise.
3969
3970 * string/Makefile (headers): Add byteswap.h and bits/byteswap.h.
3971 * string/byteswap.h: New file.
3972 * sysdeps/generic/bits/byteswap.h: New file.
3973 * sysdeps/i386/bits/byteswap.h: New file.
3974 * sysdeps/generic/bits/htontoh.h: Removed.
3975 * sysdeps/i386/bits/htontoh.h: Removed.
3976
3977 * misc/search.h: General cleanup. Don't define reentrant hsearch
3978 functions uless __USE_GNU.
3979
3980 * nss/nsswitch.c: Pretty print.
3981
3982 * sunrpc/clnt_udp.c (clntudp_call): Initialize outlen to prevent
3983 warning.
3984
3985 * sysdeps/unix/i386/sysdep.h (DO_CALL): Use lcall, binutils have
3986 been fixed meanwhile.
3987 Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
3988
39891997-07-24 00:53 Philip Blundell <Philip.Blundell@pobox.com>
3990
3991 * db/hash/hash.c (init_hash): Only use statbuf.st_blksize if it
3992 exists for this port.
3993
39941997-07-24 00:12 Philip Blundell <Philip.Blundell@pobox.com>
3995
3996 * sysdeps/standalone/arm/bits/errno.h (ESTALE): Add.
3997
39981997-07-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3999
4000 * manual/argp.texi (Argp Option Vectors): Use @minus, not @math,
4001 to format a proper minus sign.
4002
40031997-07-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4004
4005 * sysdeps/m68k/fpu/fraiseexcpt.c: Don't handle FE_INEXACT
4006 specially, the standard doesn't require it.
4007
4008 * math/test-fenv.c (test_exceptions): Add IGNORE_INEXACT argument,
4009 if non-zero then don't test inexact flag. Callers changed.
4010 (set_single_exc): Ignore inexact flag if underflow or overflow
4011 exception is raised.
4012
40131997-07-23 05:10 Ulrich Drepper <drepper@cygnus.com>
4014
4015 * sysdeps/unix/sysv/linux/sys/fsuid.h: New file.
4016 Provided by Michael Deutschmann <ldeutsch@mail.netshop.net>.
4017 * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/fsuid.h.
4018 * sysdeps/unix/sysv/linux/Dist: Add sys/fsuid.h.
4019
40201997-07-16 10:09 Fila Kolodny <fila@ibi.com>
4021
4022 * resolv/gethnamaddr.c: Define MAXHOSTNAMELEN as 256, since RFC 1034
4023 and 1035 state that a fully qualified domain name cannot exceed 255
4024 octets in length.
4025 * resolv/nss_dns/dns-host.c: Likewise.
4026
40271997-07-22 09:54 H.J. Lu <hjl@gnu.ai.mit.edu>
4028
4029 * inet/netinet/in.h (htons): Fix typos.
4030
4031 * sysdeps/i386/bits/htontoh.h (__ntohs): Return the value.
4032
40331997-07-22 11:47 Ulrich Drepper <drepper@cygnus.com>
4034
4035 * nss/nsswitch.c (nss_lookup_function): Include function.def, not
4036 functions.def.
4037 Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
4038
60c96635
UD
40391997-07-22 01:35 Ulrich Drepper <drepper@cygnus.com>
4040
4041 * Makerules (+make-deps): Use $(CFLAGS) in run of $(+mkdep) so
4042 that optimizing is also selected for dependency generation.
4043
4044 * configure.in: Add machine description for TI c[34]x.
4045
4046 * inet/Makefile (routines): Remove ntohl and ntohs.
4047 * inet/netinet/in.h: Use optimized version of hton? and ntoh?
4048 for little endian machines.
4049 * sysdeps/alpha/ntohl.s: Removed.
4050 * sysdeps/alpha/ntohs.s: Removed.
4051 * sysdeps/generic/ntohl.c: Removed.
4052 * sysdeps/generic/ntohs.c: Removed.
4053 * sysdeps/generic/htonl.c: Add aliases for ntohl.
4054 * sysdeps/vax/htonl.s: Likewise.
4055 * sysdeps/generic/htons.c: Add aliases for ntohs.
4056 * sysdeps/vax/htons.s: Likewise.
4057 * sysdeps/vax/ntohl.s: Removed.
4058 * sysdeps/vax/ntohs.s: Removed.
4059 * sysdeps/generic/bits/htontoh.h: New file.
4060 * sysdeps/i386/htonl.S: New file.
4061 * sysdeps/i386/htons.S: New file.
4062 * sysdeps/i386/i486/htonl.S: New file.
4063
4064 * sysdeps/i386/fpu/bits/mathinline.h: Correct and optimized compare
4065 macros.
4066
4067 * sysdeps/mips/dl-machine.h: Remove mips64 dependent parts.
4068 * sysdeps/mips/mips64/dl-machine.h: New file.
4069
4070 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't install
4071 syscall-list.h.
4072
40731997-07-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4074
4075 * libc.map: Add missing symbol _obstack.
4076
40771997-07-14 08:22 H.J. Lu <hjl@gnu.ai.mit.edu>
4078
4079 * sysdeps/mips/rtld-parms: New.
4080
4081 * sysdeps/unix/sysv/linux/mips/lxstat.h: Moved to
4082 * sysdeps/unix/sysv/linux/mips/lxstat.c: ...this.
4083
4084 * sysdeps/unix/sysv/linux/mips/sgidef.h: Moved to
4085 * sysdeps/unix/sysv/linux/mips/sgidefs.h: ...this.
4086
4087 * sysdeps/generic/dl-sysdep.c (_start): Change to ENTRY_POINT.
4088
40891997-07-17 08:39 H.J. Lu <hjl@gnu.ai.mit.edu>
4090
4091 * sysdeps/mips/dl-machine.h: Remove extra stuff.
4092
40931997-07-06 07:18 Geoff Keating <geoffk@ozemail.com.au>
60c96635
UD
4094 * sysdeps/powerpc/bits/endian.h: Handle multiple endianess.
4095
4096 * stdlib/grouping.h: Suppress gcc warning about testing
4097 unsigned char for less-than-zero.
4098 * stdio-common/printf_fp.c: Likewise.
4099 * stdio-common/vfprintf.c: Likewise.
4100
4101 * sysdeps/powerpc/add_n.s: New file.
4102 * sysdeps/powerpc/sub_n.s: New file.
4103 * sysdeps/powerpc/lshift.s: Ported XCOFF->ELF (from GMP).
4104 * sysdeps/powerpc/mul_1.s: Ported XCOFF->ELF (from GMP).
4105 * sysdeps/powerpc/addmul_1.s: Ported XCOFF->ELF (from GMP).
4106 * sysdeps/powerpc/submul_1.s: Ported XCOFF->ELF (from GMP).
4107 * sysdeps/powerpc/rshift.s: Ported XCOFF->ELF (from GMP).
4108
4109 * math/libm-test.c (cos_test, sin_test, sincos_test): Use
4110 precomputed pi/6 rather than having gcc calculate it, otherwise
4111 tests give inaccurate result due to inaccurate input.
4112 * math/libm.map: Add __fe_*_env constants to list of exported
4113 symbols.
4114
4115 * sysdeps/libm-ieee754/s_isinf.c: Simplify, make faster.
4116 * sysdeps/libm-ieee754/s_isinff.c: Simplify, make faster.
4117 * sysdeps/libm-ieee754/s_atan2f.c: Correct value of pi to be correct
4118 round-to-nearest value.
4119
4120 * sysdeps/libm-ieee754/e_log.c: Make sure exceptions are raised.
4121 * sysdeps/libm-ieee754/e_log10.c: Likewise.
4122 * sysdeps/libm-ieee754/e_log10f.c: Likewise.
4123 * sysdeps/libm-ieee754/e_logf.c: Likewise.
4124 * sysdeps/libm-ieee754/s_log1p.c: Likewise. Also use correct -Inf.
4125 * sysdeps/libm-ieee754/s_log1pf.c: Likewise. Also use correct -Inf.
4126 * sysdeps/libm-ieee754/s_log2.c: Likewise.
4127 * sysdeps/libm-ieee754/s_log2f.c: Likewise.
4128
41291997-07-15 21:54 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4130
4131 * nis/nss_compat/compat-grp.c: Fix "buffer to small" problems
4132 and memory leaks.
4133 * nis/nss_compat/compat-pwd.c: Likewise.
4134 * nis/nss_compat/compat-spwd.c: Likewise.
4135 * nis/nss_nis/nis-alias.c: Likewise.
4136 * nis/nss_nis/nis-ethers.c: Likewise.
4137 * nis/nss_nis/nis-grp.c: Likewise.
4138 * nis/nss_nis/nis-hosts.c: Likewise.
4139 * nis/nss_nis/nis-network.c: Likewise.
4140 * nis/nss_nis/nis-proto.c: Likewise.
4141 * nis/nss_nis/nis-pwd.c: Likewise.
4142 * nis/nss_nis/nis-rpc.c: Likewise.
4143 * nis/nss_nis/nis-service.c: Likewise.
4144 * nis/nss_nis/nis-spwd.c: Likewise.
4145 * nis/nss_nisplus-alias.c: Likewise.
4146 * nis/nss_nisplus-ethers.c: Likewise.
4147 * nis/nss_nisplus-grp.c: Likewise.
4148 * nis/nss_nisplus-hosts.c: Likewise.
4149 * nis/nss_nisplus-netgrp.c: Likewise.
4150 * nis/nss_nisplus-network.c: Likewise.
4151 * nis/nss_nisplus-proto.c: Likewise.
4152 * nis/nss_nisplus-pwd.c: Likewise.
4153 * nis/nss_nisplus-rpc.c: Likewise.
4154 * nis/nss_nisplus-service.c: Likewise.
4155 * nis/nss_nisplus-spwd.c: Likewise.
4156
4157 * nis/nss_nisplus-parse.c: If buffer to small, give -1 back.
4158
41591997-07-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4160
4161 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Mention program
4162 name in warning message.
4163 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
4164 * sysdeps/sparc/dl-machine.h (elf_machine_rela): Likewise.
4165 * sysdeps/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4166
4167 * sysdeps/i386/dl-machine.h (elf_machine_rel): Print program name
4168 first.
4169
41701997-07-20 19:33 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4171
4172 * libc.map: Add _null_auth and _seterr_reply.
4173
4174 * sunrpc/clnt_udp.c (clntudp_call): If xargs is NULL, don't encode it.
4175
907a1bac
UD
41761997-07-19 22:53 Ulrich Drepper <drepper@cygnus.com>
4177
4178 * time/africa: Update from tzdata1997g.
4179 * time/asia: Likewise.
0413b54c 4180 * time/australasia: Likewise.
907a1bac
UD
4181 * time/europe: Likewise.
4182 * time/iso3166.tab: Likewise.
4183 * time/zone.tab: Likewise.
4184 * time/private.h: Update from tzcode1997f.
4185 * time/scheck.c: Likewise.
4186
4187 * libio/stdio.h: Declare snprint and vsnprintf for __USE_ISOC9X.
4188
4189 * math/math.h: Correct comments. Include <bits/mathinline.h>
4190 always when optimizing.
4191
41921997-07-19 10:23 Mark Kettenis <kettenis@phys.uva.nl>
4193
4194 * time/getdate.c (__getdate_r):
4195 Report failure if string was not completely parsed.
4196 (getdate): Set getdate_err on failure.
4197
41981997-07-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4199
4200 * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION):
4201 Synchronize with malloc/obstack.c.
4202
42031997-07-16 Miles Bader <miles@gnu.ai.mit.edu>
4204
4205 * sysdeps/mach/hurd/mmap.c (__mmap): Check for !MAP_SHARED rather
4206 than MAP_COPY|MAP_PRIVATE, since those values are defined wierdly.
4207 Return EACCES rather than EGRATUITOUS if a R/W request isn't writable.
4208
42091997-07-15 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>
4210
4211 * manual/Makefile (INSTALL_INFO): Introduce variable to override
4212 path to install-info for systems like Debian that have an
4213 install-info with a different command line interface from the
4214 canonical GNU texinfo version.
4215
42161997-07-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4217
4218 * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment.
4219 * posix/unistd.h: Likewise.
4220 * sysdeps/stub/ttyname_r.c: Likewise.
4221
cd6ede75
UD
42221997-07-14 23:37 Ulrich Drepper <drepper@cygnus.com>
4223
4224 * inet/getnameinfo.c: Pretty print.
4225 Correctly enlarge buffers.
4226
4227 * login/programs/utmpd.c: Use _() instead of gettext().
4228
4229 * nis/nss_nisplus/nisplus-hosts.c: Optimize some uses of stpcpy away.
4230 * nis/nss_nisplus/nisplus-network.c: Likewise.
4231 * nis/nss_nisplus/nisplus-proto.c: Likewise.
4232 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4233 * nis/nss_nisplus/nisplus-service.c: Likewise.
4234
4235 * sysdeps/alpha/fpu/bits/mathinline.h: Only define functions if
4236 __OPTIMIZE__.
4237 * sysdeps/powerpc/bits/mathinline.h: Likewise.
4238 * sysdeps/i386/fpu/bits/mathinline.h: Define ISO C9x comparison
4239 function always.
4240 * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
4241 * sysdeps/stub/bits/mathinline.h: Add conditionals to show how
4242 it should look like in real files.
4243
4244 * sysdeps/generic/bits/select.h (__FD_ZERO): Don't use memset to
4245 prevent prototype trouble, use simple loop.
4246 * sysdeps/i386/bits/select.h [!__GNUC__] (__FD_ZERO): Likewise.
4247
4248 * sysdeps/mips/mips64/Implies: Imply ieee754.
4249
4250 * sysdeps/unix/sysv/linux/Makefile: Make sure bits/syscall.h is
4251 installed.
907a1bac 4252 * sysdeps/unix/sysv/linux/sys/syscall.h: Pretty print.
cd6ede75
UD
4253
42541997-07-14 00:25 Ulrich Drepper <drepper@cygnus.com>
4255
4256 * sysdeps/stub/bits/stdio_lim.h: Unify with standalone version.
4257 * sysdeps/standalone/bits/stdio_lim.h: Removed.
4258 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4259
42601997-06-22 Paul Eggert <eggert@twinsun.com>
4261
4262 * time/strftime.c (strftime): Use tm_zone if available, even if _LIBC.
4263
4264 * time/tzfile.c (__tzstring): New decl.
4265 (__tzfile_read, __tzfile_default): Set __tzname to permanent strings.
4266 (__tzfile_default): First two args are now const char *.
4267
4268 * time/tzset.c (__tzstring): New function.
4269 (tz_rule): Name is now const char *.
4270 (struct tzstring_head): New type.
4271 (tzstring_list, tzstring_last_buffer_size): New static vars.
4272 (__tzset_internal): Time zone names are now permanent, not temporary.
4273
f21acc89
UD
42741997-07-13 01:18 Ulrich Drepper <drepper@cygnus.com>
4275
4276 * setjmp/setjmp.h: Define _setjmp and _longjmp also if __USE_XOPEN.
4277
4278 * sysdeps/unix/sysv/linux/bits/ipc.h: Fix comment.
4279 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4280 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4281 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4282
4283 * time/Makefile (routines): Add getdate.
4284 * time/time.h: Add prototype for getdate and getdate_r.
4285 * time/getdate.c: New file.
4286 Provided by Mark Kettenis <kettenis@phys.uva.nl>.
4287
42881997-06-30 14:49 H.J. Lu <hjl@gnu.ai.mit.edu>
4289
4290 From Ralf Baechle <ralf@informatik.uni-koblenz.de> on
4291 Sat Jun 21 18:11:21 1997:
4292
4293 * sysdeps/unix/sysv/linux/syscalls.list (swapon): Add __swapon alias.
4294 (swapoff): New.
4295
4296 * elf/Makefile: Add linker script support.
4297 (headers): Add bits/dlfcn.h.
4298
4299 * elf/dl-load.c (MAP_BASE_ADDR): New.
4300
4301 * elf/dlfcn.h: Include <bits/dlfcn.h>.
4302
4303 * elf/elf.h: Add MIPS support.
4304
4305 * sysdeps/generic/Dist: Add entry.h.
4306 * sysdeps/generic/entry.h: New, define the entry symbol.
4307
4308 * elf/rtld.c (_start): Include <entry.h>. Change to ENTRY_POINT.
4309 * sysdeps/generic/dl-sysdep.c (_start): Likewise.
4310 * mips/elf/start.S (_start): Likewise.
4311
4312 * sysdeps/mips/bsd-_setjmp.S: Fix PIC.
4313 * sysdeps/mips/bsd-setjmp.S: Likewise.
4314 * sysdeps/mips/setjmp.S: Likewise.
4315 * mips/elf/start.S: Likewise.
4316 * sysdeps/unix/mips/brk.S: Likewise.
4317 * sysdeps/unix/mips/sysdep.S: Likewise.
4318 * sysdeps/unix/mips/sysdep.h: Likewise.
4319 * sysdeps/unix/mips/wait.S: Likewise.
4320
4321 * sysdeps/mips/dl-machine.h: Update for Linux/MIPS.
4322 * sysdeps/mips/fpu_control.h: Likewise.
4323
4324 * sysdeps/generic/bits/dlfcn.h: New file.
4325
4326 * sysdeps/mips/rtld-ldscript.in: New for Linux/MIPS.
4327 * sysdeps/mips/rtld-parms: Likewise.
4328 * sysdeps/mips/bits/dlfcn.h: Likewise.
4329 * sysdeps/mips/mips64/rtld-parms: Likewise.
4330 * sysdeps/mips/mipsel/rtld-parms: Likewise.
4331 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
4332 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
4333 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
4334 * sysdeps/unix/sysv/linux/mips/entry.h: Likewise.
4335 * sysdeps/unix/sysv/linux/mips/fpregdef.h: Likewise.
4336 * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise.
4337 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
4338 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
4339 * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Likewise.
4340 * sysdeps/unix/sysv/linux/mips/lxstat.c: Likewise.
4341 * sysdeps/unix/sysv/linux/mips/regdef.h: Likewise.
4342 * sysdeps/unix/sysv/linux/mips/sgidefs.h: Likewise.
4343 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4344 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
4345 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
4346 * sysdeps/unix/sysv/linux/mips/xstat.c: Likewise.
4347 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
4348 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4349 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h:
4350 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
4351 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4352 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
4353 * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
4354 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4355 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4356 * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
4357 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4358 * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
4359 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Likewise.
4360 * sysdeps/unix/sysv/linux/mips/sys/asm.h: Likewise.
4361 * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
4362 * sysdeps/unix/sysv/linux/mips/sys/fpregdef.h: Likewise.
4363 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
4364 * sysdeps/unix/sysv/linux/mips/sys/regdef.h: Likewise.
4365 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Likewise.
4366 * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
4367
43681997-04-09 19:05 H.J. Lu (hjl@gnu.ai.mit.edu)
4369
4370 * isomac.c (xstrndup): New, use it instead of strndup ().
4371
43721997-07-02 08:55 H.J. Lu <hjl@gnu.ai.mit.edu>
4373
4374 * sysdeps/i386/dl-machine.h (elf_machine_rel): Print
4375 the program name for different sizes.
4376
43771997-07-10 15:47 Fila Kolodny <fila@ibi.com>
4378
4379 * nis/ypclnt.c: Change references to MAXHOSTNAMELEN to NIS_MAXNAMELEN.
4380 Add include of rpcsvc/nis.h.
4381 * inet/getnameinfo.c: Delete references to MAXHOSTNAMELEN.
4382 * sysdeps/posix/getaddrinfo.c: Likewise.
4383 Change size of variable buffer to be big enough to hold an IPv6
4384 address in printable format.
4385
43861997-07-12 18:47 Ulrich Drepper <drepper@cygnus.com>
4387
4388 * assert/assert.h [!NDEBUG] (assert, assert_perror): Don't use ||
4389 and && in tests to allow use in C++ code which overloads these
4390 operators. Reported by Istvan Marko <istvan@cmdmail.amd.com>.
4391
4392 * configure.in: Move mips64* recognition before mips*.
4393 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4394
43951997-07-03 20:44 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4396
4397 * Makerules (lib%.so, $(common-objpfx)libc.so): Don't use
4398 automatic variables in dependency lists.
4399 (build-shlib): Always filter out the version script file.
4400 * extra-lib.mk ($(objpfx)$(lib).so): Depend on version script.
4401
44021997-07-12 17:56 Ulrich Drepper <drepper@cygnus.com>
4403
4404 * login/login.c (tty_name): Test return value of ttyname_r for !=
4405 0, not < 0.
4406 * misc/ttyslot.c (ttyslot): Test return value of ttyname_r for ==
4407 0, not >= 0.
4408 * sysdeps/unix/getlogin.c (getlogin): Test return value of
4409 ttyname_r for != 0.
4410 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
4411
44121997-07-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4413
4414 * login/utmp_file.c (getutline_r_file): Fix type: compare with
4415 *result.
4416
44171997-07-11 00:21 Mark Kettenis <kettenis@phys.uva.nl>
4418
4419 * login/Makefile (headers): Add utmpx.h and bits/utmpx.h.
4420
44211997-07-09 19:21 Mark Kettenis <kettenis@phys.uva.nl>
4422
4423 * login/programs/utmpd.c, login/programs/database.c,
4424 login/programs/request.c: Prepare messages for
4425 internationalization.
4426
4427 * login/programs/utmpd.c:
4428 (main): Change handling of errors in opening the database.
4429 * login/programs/database.c:
0413b54c 4430 (open_database, synchronize_database, initialize_database):
f21acc89
UD
4431 Properly handle errors.
4432 (get_mtime): Use fstat instead of stat. All callers changed.
4433
4434 * login/getutent_r.c: Make setutxent a weak alias for __setutxent.
4435 * login/getutent.c: Rename getutent to __getutent and make
4436 getutent a weak alias.
4437 Make getutxent a weak alias for __getutent.
4438 * login/utmpx.h: New file.
4439 * sysdeps/gnu/bits/utmp.h: Cleanup. Added comments.
4440 * sysdeps/gnu/bits/utmpx.h: New file.
4441
2d7da676
UD
44421997-07-11 03:00 Ulrich Drepper <drepper@cygnus.com>
4443
4444 * inet/inet_ntoa.c: Prevent looking for thread data key if we found
4445 one.
4446
4447 * signal/sigandset.c: Include stddef.h to get NULL defined.
4448 * signal/sigisempty.c: Likewise.
4449 * signal/sigorset.c: Likewise.
4450 * sysdeps/stub/if_index.h: Likewise.
4451 * wcsmbs/wcstod_l.c: Include locale.h to get __locale_t defined.
4452 * wcsmbs/wcstof_l.c: Likewise.
4453 * wcsmbs/wcstol_l.c: Likewise.
4454 * wcsmbs/wcstold_l.c: Likewise.
4455 * wcsmbs/wcstoll_l.c: Likewise.
4456 * wcsmbs/wcstoul_l.c: Likewise.
4457 * wcsmbs/wcstoull_l.c: Likewise.
4458 Reported by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
4459
4460 * stdio-common/snprintf.c: Use ISO C function definition form.
4461
4462 * sysdeps/stub/libc-lock.h: Don't define __libc_key_create and
4463 __libc_setspecific as empty macros since they are used as
4464 function with return value.
4465 Reported by Andreas Jaeger.
4466
f21acc89
UD
4467 * stdio-common/strops.c: Partialy undo last change. Will need
4468 more investigation.
4469
2d7da676
UD
44701997-07-10 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>
4471
4472 * sysdeps/mach/hurd/select.c (__select): Need bit count for
4473 MACH_MSG_TYPE_INTEGER_T.
4474
44751997-07-08 10:12 Fila Kolodny <fila@ibi.com>
4476
4477 * sysdeps/i370/Implies: New file for i370-ibm-mvs port.
4478 * sysdeps/mvs/Implies: Likewise.
4479
44801997-07-09 23:06 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4481
4482 * nis/Makefile: Add new source files.
4483
4484 * nis/nis_intern.h: Add new internal functions.
4485 * nis/rpcsvc/nislib.h: Likewise.
4486
4487 * nis/lckcache.c: New.
4488 * nis/nis_cache.c: New, dummy functions in the moment.
4489 * nis/nis_util.c: New.
4490 * nis/nisplus-parser.h: New.
4491 * nis/nss_nisplus/nisplus-parser.c: New.
4492 * nis/rpcsvc/nis_cache.h: New.
4493 * nis/rpcsvc/nis_cache.x: New.
4494
4495 * nis/nss_compat/compat-grp.c: Matches Solaris behaviour now.
4496 * nis/nss_compat/compat-pwd.c: Likewise.
4497 * nis/nss_compat/compat-spwd.c: Likewise.
4498 * nis/nss_nisplus/nisplus-alias.c: Likewise.
4499 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
4500 * nis/nss_nisplus/nisplus-grp.c: Likewise.
4501 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
4502 * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
4503 * nis/nss_nisplus/nisplus-network.c: Likewise.
4504 * nis/nss_nisplus/nisplus-proto.c: Likewise.
4505 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
4506 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
4507 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4508 * nis/nss_nisplus/nisplus-service.c: Likewise.
4509 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
4510
4511 * nis/nss_nis/nis-publickey.c: Remove libc-lock.h include.
4512
4513 * nis/nis_intern.c: Removed.
4514
4515 * nis/nis_call.c: Complete rewrite.
4516 * nis/nis_lookup.c: Likewise.
4517 * nis/nis_table.c: Likewise.
4518
4519 * nis/libnsl.map: Add missing symbols.
4520
4521 * nis/nis_print.c: Fix nis_print_link.
4522 * nis/nis_subr.c: Fix nis_getnames.
4523
45241997-07-09 07:19 H.J. Lu <hjl@gnu.ai.mit.edu>
4525
4526 * posix/execvp.c (execvp): Handle ESTALE.
4527
45281997-07-10 13:54 Ulrich Drepper <drepper@cygnus.com>
4529
4530 * posix/regex.c: Make CHAR_SET_SIZE definition always available,
4531 even if SYNTAX_TABLE is defined.
4532 Patch by Akim Demaille <demaille@inf.enst.fr>.
4533
45341997-07-09 08:16 H.J. Lu <hjl@gnu.ai.mit.edu>
4535
4536 * libio/fileops.c (_IO_file_underflow): Adjust pointers
4537 before calling _IO_SYSREAD ().
4538
45391997-07-07 22:54 Zack Weinberg <zack@rabi.phys.columbia.edu>
4540
4541 * sysdeps/sparc/divrem.m4: Eliminate use of "DEFS.h"
4542 (sysdep.h does the same job).
4543 * sysdeps/sparc/alloca.S: Likewise.
4544 * sysdeps/sparc/dotmul.S: Likewise.
4545 * sysdeps/sparc/udiv_qrnnd.S: Likewise.
4546
4547 * sysdeps/sparc/rem.S: Regenerated.
4548 * sysdeps/sparc/sdiv.S: Regenerated.
4549 * sysdeps/sparc/udiv.S: Regenerated.
4550 * sysdeps/sparc/urem.S: Regenerated.
4551
4552 * sysdeps/sparc/DEFS.h: Removed.
4553 * sysdeps/sparc/elf/DEFS.h: Removed.
4554 * sysdeps/sparc/Dist: Don't distribute DEFS.h.
4555
4556 * sysdeps/unix/sparc/sysdep.h: Use 4 byte alignment. Add .type
4557 directive #ifdef HAVE_ELF. Minor format changes.
4558
4559 * sysdeps/alpha/DEFS.h: Removed.
4560 * sysdeps/alpha/Dist: Don't distribute DEFS.h.
4561
45621997-07-07 19:03 H.J. Lu <hjl@gnu.ai.mit.edu>
4563
4564 * math/test-fenv.c (feenv_nomask_test): Move
4565 fesetenv (FE_NOMASK_ENV) after fork () to work with
4566 SMP.
4567
4568 * sysdeps/i386/fpu_control.h (_FPU_IEEE): Fix comment.
4569
45701997-07-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4571
4572 * libc.map: Add _IO_peekc_locked.
4573
45741997-07-07 15:45 Fila Kolodny <fila@ibi.com>
4575
4576 * Makeconfig: Add dbobjdir to rpath-link analogous to nssobjdir.
4577
45781997-07-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4579
4580 * sysdeps/m68k/fpu/feholdexcpt.c: Shift the exception mask in the
4581 right position.
4582 * sysdeps/m68k/fpu/fesetenv.c (fesetenv): Likewise.
4583
45841997-07-08 13:59 Ulrich Drepper <drepper@cygnus.com>
4585
4586 * time/strftime.c (spaces, zeroes): Handle broken SGI compiler.
4587 Patch by Richard Stallman <rms@gnu.ai.mit.edu>.
4588
9c2322bc
UD
45891997-07-08 02:18 Ulrich Drepper <drepper@cygnus.com>
4590
4591 * io/lockf.c (lockf): Clear fl before using.
4592 Patch by sr@adb.fr.
4593
4594 * libio/strops.c: Correctly handle _IO_write_end.
4595
4596 * nss/libnss_files.map: Add __nss_netgroup_parseline.
0413b54c 4597 * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
9c2322bc
UD
4598 panic if setnetgrent wasn't called before, return error.
4599 Patch by Thorsten Kukuk <kukuk@uni-paderborn.de>.
4600
4601 * time/mktime.c: Define localtime_r function as my_mktime_localtime_r
4602 if locally defined.
4603 * time/strftime.c: Define localtime_r function as my_ftime_localtime_r
4604 if locally defined.
4605 Define tm_diff function as ftime_tm_diff if locally defined.
4606 Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
4607
762a2918
UD
46081997-07-06 23:36 Ulrich Drepper <drepper@cygnus.com>
4609
4610 * isomac.c (get_null_defines): Put NULL at end of list.
4611
4612 * hurd/Makefile: Remove special handling of sunrpc code.
4613 * sysdeps/mach/hurd/Makefile: Likewise.
4614 Compile CThreads code.
4615 * sunrpc/rpc_main.c: Don't use MAXPATHLEN.
4616 * sysdeps/mach/bits/libc-lock.h: Add definitions for key handling
4617 functions.
4618 * sysdeps/stub/bits/libc-lock.h: Likewise.
4619 * sysdeps/mach/hurd/net/ethernet.h: New file.
4620 * sysdeps/mach/hurd/net/if.h: New file.
4621 * sysdeps/mach/hurd/net/if_arp.h: New file.
4622 * sysdeps/mach/hurd/net/if_ether.h: New file.
4623 * sysdeps/mach/hurd/net/if_ppp.h: New file.
4624 * sysdeps/mach/hurd/net/route.h: New file.
4625 Patches by Fila Kolodny <fila@ibi.com>.
4626
4627 * math/fenv-test.c: Add more tests.
4628 Patch by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
4629
4630 * sysdeps/wordsize-32/inttypes.h: Correct values for INTFAST_MIN,
4631 INTFAST_MAX, and UINTFAST_MAX.
4632 * sysdeps/wordsize-64/inttypes.h: Likewise.
4633 Correct intmax_t definition.
4634
46351997-07-04 15:33 H.J. Lu <hjl@gnu.ai.mit.edu>
4636
4637 * elf/rtld.c (dl_main): Add '\n' to _dl_sysdep_fatal ().
4638
46391997-07-01 09:18 H.J. Lu <hjl@gnu.ai.mit.edu>
4640
4641 * libc.map: Add missing symbol.
4642
46431997-07-04 18:04 H.J. Lu <hjl@gnu.ai.mit.edu>
4644
4645 * stdlib/tst-strtol.c: Don't assume cpp takes ~0UL as long
4646 in cc1. Cpp in gcc doesn't do it.
4647
46481997-07-01 21:15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4649
4650 * libio/libioP.h: Remove second definition of _IO_file_attach.
4651
4652 * sysdeps/i386/fpu/fraiseexcpt.c (feraiseexcept): Correct comments.
4653
4654 * sysdeps/sparc64/elf/start.S (_start): Update and reformat
4655 copyright.
4656 * manual/summary.awk: Likewise.
4657 * misc/bits/stab.def: Likewise.
4658 * posix/glob/Makefile.ami: Likewise.
4659 * posix/glob/Makefile.in: Likewise.
4660 * posix/glob/SMakefile: Likewise.
4661 * sysdeps/gnu/errlist.awk: Likewise.
4662 * sysdeps/mach/hurd/errnos.awk: Likewise.
4663 * sysdeps/standalone/i386/force_cpu386/target.ld: Likewise.
4664 * sysdeps/standalone/m68k/m68020/mvme136/mvme136.ld: Likewise.
4665 * sysdeps/unix/snarf-ioctls: Likewise.
4666 * sysdeps/vax/setjmp.c: Likewise.
4667
46681997-07-05 11:56 Ulrich Drepper <drepper@cygnus.com>
4669
4670 * login/login.c (tty_name): Use newly allocated buffer.
4671