Commit Graph

7095 Commits

Author SHA1 Message Date
itojun
9cdbc86d39 correct bad practice in the code - it uses two changing variables
to manage buffer (buf and buflen).  we eliminate buflen and use
fixed point (ep) as the ending pointer.

this fix is NOT critical.
2002-06-26 06:00:26 +00:00
itojun
092b3bc66a avoid remote buffer overrun on hostbuf[]. From: Joost Pol <joost@pine.nl>
correct bad practice in the code - it uses two changing variables
to manage buffer (buf and buflen).  we eliminate buflen and use
fixed point (ep) as the ending pointer.

this fix is critical.
2002-06-26 06:00:07 +00:00
itojun
fb40d48413 do not pass uninitialized variable to nsdispatch(). 2002-06-26 02:40:46 +00:00
matt
5ac19a376b Add finitef 2002-06-23 21:55:12 +00:00
matt
7a0238324a Add cosf/sinf. 2002-06-23 21:54:37 +00:00
matt
471cb493ae Add modff 2002-06-23 21:48:52 +00:00
perry
307f36e80c Note that times now uses sysconf(_SC_CLK_TCK) ticks, not CLK_TCK
ticks. Although the two are the same, SuS now says you use the former,
not the latter, to get the information. Also, fill in a little
information on just how awful this crusty wreck is.
2002-06-23 21:32:01 +00:00
perry
25992495dc Since CLK_TCK is now a macro expanding into a function call, cache its
output instead of using it willy nilly.
2002-06-23 20:21:08 +00:00
perry
ea360bda1a make sysconf(_SC_CLK_TCK) return the kernel hz value, instead of a
fixed constant, as is done on Solaris, Linux, etc.

Technically, standards don't *require* this, but having it return a
constant is a violation of the spirit, and screws up programs that
(perhaps improperly) assume that it will return kernel hz.
2002-06-23 19:19:01 +00:00
itojun
292c386a5e use strtok_r, as strtok can interfere with outside users. 2002-06-23 12:20:10 +00:00
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