Commit Graph

7085 Commits

Author SHA1 Message Date
itojun 211e500c75 use strtok_r, as strtok can interfere with other callers. from openbsd 2002-06-22 11:52:40 +00:00
wiz 4dc035fd8a Undo last two, until I have time to take a good look at the problems. 2002-06-21 09:56:33 +00:00
blymn d051a5de87 Added a NOTES section to describe the differences between our menus
library and the original AT&T one.
2002-06-20 12:18:48 +00:00
christos abe6b5bef1 Make sure that we free memory and return null if we failed to initialize.
This should be pulled up to 1.6, but someone needs to make sure that it
does not affect broken programs.
2002-06-19 15:56:27 +00:00
blymn 5ce770b15c Fixed typo in type declaration. 2002-06-19 14:12:57 +00:00
fvdl b48e735f69 libarch for x86_64, mtrr only for now. This must later be fixed so
that code is shared with i386.
2002-06-18 08:29:35 +00:00
wiz 0f085a5188 Add Xrefs to ipcs(1) and ipcrm(1). 2002-06-16 22:39:32 +00:00
thorpej 24e460d382 If any of __pentiumpro__, __tune_pentiumpro__, or __tune_i686__ are
defined, use bf_enc_686.S, else bf_enc_586.S.
2002-06-16 18:35:02 +00:00
thorpej d8a2597f4b * Don't put the pathname to the host-tool compiler into the library.
Instead, inject the compiler version info from ${CC} -v.
* Don't put the date into the library.  Instead, inject the OS version
  info.
2002-06-16 17:57:29 +00:00
itojun 9ed8a29685 refer nsswitch.conf(5). From: Jim Bernard <jbernard@mines.edu> 2002-06-15 21:49:18 +00:00
wiz a81e53dde5 Remove unnecessary spaces. 2002-06-15 09:39:52 +00:00
matt 1ece0e0c9a Remove -I${DESTDIR}/usr/include since it's redundant. 2002-06-15 02:01:23 +00:00
matt 0202d560cf Compile libm on VAX at WARNS=2; leave other architectures at WARNS=1 2002-06-15 00:13:07 +00:00
matt f1009ecdff Ansify libm noieeesrc (for VAX). Also make const data really const.
libm for VAX can compiles with WARNS=2
2002-06-15 00:10:17 +00:00
itojun 2153f7059e discard first 256 words when we stir. 2002-06-14 03:11:24 +00:00
wiz ec1956ee4e According to POSIX, "-" (the string) is an exception and should not
be parsed as option. Restore behaviour broken by previous commit.
Mirrors second part of patch from lib/17248.
2002-06-13 21:18:50 +00:00
wiz d2d91a9170 Fix '-' handling. POSIX only recognizes "--" as end-of-options.
Problem noted in lib/17248 by David Laight, including a patch.
Part of this patch was used.
2002-06-13 20:49:00 +00:00
christos 1d4eb17d96 Remove the cross reference of fileno(3). It is more appropriate to
cross reference this from fopen(3). After discussion with John Heasley
in PR/17224.
2002-06-13 18:02:38 +00:00
itojun 130b111dfb net.inet.ip.redirtimeout default value changed 2002-06-13 16:33:26 +00:00
fvdl 4f2f06c917 Attempt to juggle the 2 seperarate status/mask bit sets for plain FP
and XMM to provide a consistent interface.
2002-06-12 19:17:22 +00:00
wiz 53f8a68c5f Add Xr to fileno(3). 2002-06-12 09:21:40 +00:00
wiz e2451b5981 Add Xr to fileno(3), as request in lib/17224. 2002-06-12 09:20:48 +00:00
bjh21 0de3f91b56 Don't try to put the host's /usr/include on the target compiler's include path.
This causes Bad Things to happen.  Instead, use the target's /usr/include.
2002-06-11 22:55:34 +00:00
kleink da5a8ed73c Take into consideration that setpriority() silently fits the given
priority into its interval, so we really need to use getpriority() to
retrieve the correct return value; noted by Matthias Drochner.
2002-06-10 18:32:01 +00:00
itojun 7c75b5ec2f sync with 0.9.6d. shlib minor for libssl and libcrypto
is cranked for additional functions.
2002-06-09 16:12:52 +00:00
matt 0ec15f80cc Allow this to compile under gcc-current. No multiline strings for asm. 2002-06-09 06:18:34 +00:00
itojun d79e894958 use weak_alias to make libcrypto_{idea,rc5} actually useful. 2002-06-09 02:14:30 +00:00
thorpej 8bbbfff0a1 Remove __LEADING_UNDERSCORE case. 2002-06-08 17:27:25 +00:00
wiz 51434352e0 Remove duplicate .Pp. 2002-06-07 11:29:16 +00:00
gmcgarry 1ffad275a3 Add descriptions for types and flags. 2002-06-07 04:59:13 +00:00
itojun d2503f643b type mismatch 2002-06-07 01:39:07 +00:00
itojun 44772e4b2f there are people using #ifdef APPEND_DOT. recover it. 2002-06-07 01:36:09 +00:00
fvdl 165400b7ba mov -> lea to access _map table. 2002-06-06 23:04:35 +00:00
itojun 8288fc93ab s/STRN_CPY/strlcpy/ 2002-06-06 21:45:19 +00:00
itojun 3ba1803eb3 correct misuse of strncpy (use strlcpy). from openbsd 2002-06-06 21:42:42 +00:00
itojun 2f7d82e63d support scoped IPv6 address properly. PR 16810. 2002-06-06 21:28:49 +00:00
fvdl e6f161c821 Fix the EINVAL return path. 2002-06-06 20:51:17 +00:00
fredette 02ac1ae2f0 Added hppa support (some of it incomplete) to lib/csu, lib/libc,
and lib/libkvm.
2002-06-06 20:31:19 +00:00
fvdl e4b98ed506 Add init/fini handling. 2002-06-06 19:18:22 +00:00
fvdl e8d64f072a -x is too heavy-handed for removing symbols; newer versions of GNU ld
will completely delete empty local symbols with it. Use -X instead
for crt{begin,end}*.o, to keep init_fallthru hacks.
2002-06-06 19:17:01 +00:00
fvdl d05b42e66d kva -> physaddr translation through pagetable walking; for crash dumps
(as yet untested).
2002-06-05 22:01:55 +00:00
fvdl f634f37b8d Use NLIST_ELF64 for x86_64. 2002-06-05 20:04:22 +00:00
thorpej 7f350cba6c Don't use multi-line string literals. 2002-06-05 02:51:03 +00:00
kleink 7965e254cb As documented, return the new priority if successful; from Matthias
Drochner in PR lib/17156.
2002-06-04 10:58:12 +00:00
fvdl 10940acfe5 Add clone(2) implementation. 2002-06-03 18:31:12 +00:00
fvdl e010b5ebde Use the syscall insn for system calls. Fix up some assembly to
remove either previously made errors, or to account for the
fact that syscall clobbers %ecx.
2002-06-03 18:30:32 +00:00
wiz 919948e5f4 Fix SYNOPSIS, noted by Martin Macok on tech-userlevel. 2002-06-03 12:01:43 +00:00
itojun 35eb51aa09 use int32_t, instead of int, for on-disk data.
(so that we are safe in the future)
2002-05-30 14:55:47 +00:00
thorpej d9f211b107 Make this work with an ISO C preprocessor. 2002-05-30 05:08:51 +00:00
simonb 9a430fa482 Correct the list of pseudo-terminals in the FILES section. 2002-05-30 01:42:58 +00:00