Commit Graph

3690 Commits

Author SHA1 Message Date
christos
8955e88e2f Add checks for O_NDELAY [which indicates that we only want plain files],
and return an error if the file was not plain.
2000-11-29 15:31:10 +00:00
christos
2a213d0e9a make sure we preserve errno. 2000-11-29 15:30:20 +00:00
is
a4fe32b56e Another change by Hiroshi Horimoto. 2000-11-28 15:23:09 +00:00
scw
c81e32f3dd Add missing register prefixes. 2000-11-28 11:37:20 +00:00
scw
4dab4ff2ca Add a missing `%' register prefix. 2000-11-28 11:34:14 +00:00
is
a3a6f324e6 Use dbeq loops, code submitted by Hiroshi Horimoto in PR 3223, integrated
and tested by Allen Briggs.
Needs 1/3 less time on 68030, 45% less time on 68040.
XXX On 68060, 1/2 less time for the padding part, but 40% more time on the
copy part. I've stared at the 68060 User Manual, but can't understand why;
must be some wierd (branch) cache interaction.
2000-11-27 22:35:30 +00:00
wiz
e7775dbf9e Be SUS-conformant regarding return value when option argument is missing.
Handle "-" correctly.
2000-11-26 23:39:11 +00:00
wiz
7af3cfc292 Reorder sections to conform more to mdoc.samples; remove non-mdoc
section header; fix two typos.
2000-11-26 22:35:53 +00:00
itojun
a1ce29330c sync with latest openbsd.
comment in strlcat(3) was wrong about return value.
2000-11-24 16:19:05 +00:00
itojun
1bc25f5914 strictly conform to RFC2553 (specifically ENXIO case). sync with KAME 2000-11-24 08:21:12 +00:00
wiz
efaced1f8c fix typo 2000-11-21 23:35:10 +00:00
mrg
2d1d6239e4 document SWAP_DUMPDEV & SWAP_GETDUMPDEV. 2000-11-17 11:40:05 +00:00
lukem
73842568e7 english fixup 2000-11-16 07:25:36 +00:00
matt
f1ac0dd6e1 The prototype for fmtcheck is in <stdio.h> so we'd better include it. 2000-11-16 02:10:18 +00:00
lukem
279552d3db fix up various .Nm abuses:
- keep the case consistent between the actual name and what's referenced.
  e.g, if it's `foo', don't use '.Nm Foo' at the start of a sentence.
- remove unnecessary `.Nm foo' after the first occurrence (except for
  using `.Nm ""' if there's stuff following, or for the 2nd and so on
  occurrences in a SYNOPSIS
- use Sx, Ic, Li, Em, Sq, and Xr as appropriate
2000-11-07 06:43:24 +00:00
jdolecek
30ca1a2a3e add missing ' is ' in regerror() explanation 2000-11-06 13:20:58 +00:00
christos
119c9cb003 add a lint comment. 2000-11-05 20:05:29 +00:00
eeh
5d73d71676 Fix modf() (I hope. Can't be any worse than the old version.) 2000-11-01 23:32:41 +00:00
briggs
2c5b165052 fmtcheck() should be declared as fmtcheck(), not __fmtcheck().
The weak_alias is __fmtcheck().  matt@3am-software.com pointed this out
as a problem when trying to build on a vax.
2000-11-01 01:17:20 +00:00
lukem
afc75b9e6d Don't getenv $HESIOD_CONFIG or $HES_DOMAIN if issetugid().
Initial problem noted by Danny Braniss <danny@cs.huji.ac.il>
via Jacques A.  Vidrine <n@nectar.com>
2000-10-31 12:47:21 +00:00
itojun
bcab9b6601 define HAVE_IFM_ADDRS for non-bsdi. sync with kame 2000-10-27 15:48:49 +00:00
jdolecek
1c7d8af31d rewrite KERN_MAXPTYS description to match reality 2000-10-26 07:24:00 +00:00
erh
a5c46ce842 Document the PROFDIR environment variable. 2000-10-24 19:31:59 +00:00
briggs
d00ebb12e9 Add {__,}fmtcheck(), a function specified by Bill Sommerfeld to check
a user-supplied format string against a fallback format string to ensure
that they will consume arguments of the same type.

libc minor bump for new API entry point.
2000-10-20 18:46:05 +00:00
kleink
78eeef4b49 Actually EINVAL fits the circumstances better. 2000-10-19 09:47:43 +00:00
kleink
20b0e10891 C99: Passing a null pointer as the buffer argument to snprintf() and
vsnprintf() is permitted when the size argument is zero as well; mostly
from Peter Seebach in PR standards/9603.
2000-10-19 09:45:31 +00:00
kim
6ec737498a Make "f" standout better. 2000-10-18 15:40:52 +00:00
erh
2686020623 Squash lint errors by using size_t instead of u_int to avoid differing sizes of data. 2000-10-16 04:12:55 +00:00
phil
cc543121c5 Document the behaviour with consecutive separator characters. 2000-10-11 18:26:04 +00:00
jeffs
4912e50a59 Make memcpy and memmove use bcopy assembly for mips. Tweak forward copy
code for backward copy to make overlap copy faster.  This happens in
some SW like sleepycat db.  Use temp labels in order to not confused
the profiling tools.
2000-10-10 21:51:54 +00:00
is
f518246fc1 Format string cleanup, by Bill Sommerfeld. 2000-10-10 18:09:25 +00:00
toshii
4acc4fc7fe lfs_bmapv -> lfs_markv 2000-10-09 09:34:00 +00:00
nathanw
76bc7abc93 Use ".Fa stat" instead of ".Fn stat" when referring to the structure
rather than the function.
2000-10-07 16:48:24 +00:00
jdolecek
f5cb6bbd84 update(8) is gone, put in some info about ioflush
this addresses bin/11141 by Nick Hudson
2000-10-06 19:54:26 +00:00
jdolecek
a69cc94b83 kill references to update(8), it doesn't exist any more
this addresses bin/11141 by Nick Hudson
2000-10-06 18:53:28 +00:00
ad
5b09090e8e insure -> ensure 2000-10-05 12:35:33 +00:00
itojun
8f6dee4c39 make random(3) manpage meet with actual implementation.
argument to srandom() and initstate() were changed in
lib/libc/stdlib/random.c 1.28 -> 1.29, and manpage was left behind.
2000-10-05 06:21:53 +00:00
sommerfeld
4c38fc5aac Varargsify dprintf to allow for format string checking 2000-10-04 14:56:24 +00:00
sommerfeld
76a009b2be Avoid compile-time variable format string (format audit) 2000-10-04 14:52:27 +00:00
sommerfeld
ae42ec1652 Avoid run-time construction of format string we can build at compile time 2000-10-04 14:46:23 +00:00
enami
32554376a3 Reset allocated buffer size to 0 on allocation failure. 2000-10-03 03:22:26 +00:00
simonb
cac9995776 Fix potential buffer overflow processing long password database entries.
Inspired by similar OpenBSD change.
2000-10-02 19:25:32 +00:00
kleink
a253819635 Whitespace botch in previous, noticed by Leo Weppelman and Thorsten Frueauf. 2000-10-02 14:52:39 +00:00
kleink
bea4776498 _SYSCALL() argument order botch in previous. 2000-10-02 14:51:57 +00:00
sommerfeld
a23abe2028 Fix possible one-byte overrun 2000-09-30 16:47:26 +00:00
is
6c614a3f1d Document EPERM. 2000-09-28 09:46:17 +00:00
kleink
dbf8a5327c Need "namespace.h". 2000-09-28 09:07:04 +00:00
kleink
82fd76bb06 Need an internal name for pipe(2). 2000-09-28 08:38:53 +00:00
hubertf
4236d4df71 The 'delim' argument is const, document it as such. 2000-09-28 03:18:35 +00:00
nathanw
42782db512 Note that we do support single-stepping, as a machine-dependant feature.
Don't be SPARC-specific about what features we support. Document how
to determine which requests are supported.
2000-09-27 22:31:43 +00:00