Commit Graph

6280 Commits

Author SHA1 Message Date
christos 67dc335c98 PR/18896: Jason Thorpe: C99 structure member initializers broken for arrays.
XXX: The checking done does not work, but the code passes.
2002-11-13 21:50:57 +00:00
kleink a4d0ca7ffd setlocale(LC_ALL, "") on startup. 2002-11-12 22:41:01 +00:00
tron 60f1df5f64 Don't include obsolete include file "rpc_com.h" any more. 2002-11-08 14:19:42 +00:00
enami 988be8626f - file ... instead of filename ...
- "An asterisk (``*'')" instead of "A (``*'')" to be more consistient with
  rest of this manpage.
- Fix typo; ``w'' instead of ``''.
- There is no section named Sockets.  There is only SOCKETS.
2002-11-07 13:52:04 +00:00
enami 62bf3a2b33 - fix section of this manpage; it's 1 not 8.
- use Nm "" instead of just Nm in SYNOPSIS.
2002-11-07 13:40:16 +00:00
mrg c7cd1b33d0 fix PR#18909, but not quite exactly the same as the patch provided. also,
check if the filesize causes a size_t overflow and if so, use the fallback
read/write loop method.
2002-11-04 12:04:23 +00:00
lukem bac7350bc5 whitespace consistency 2002-11-04 03:17:53 +00:00
wiz 9a746b1751 Move close so that last ioctl is before close call.
Fix duplicate word in comment.
Based on patch from Christian Biere in PR 18902, with a style nit fixed.
2002-11-03 19:35:00 +00:00
wiz ac9ef76efe Add NetBSD calendar file.
Dates supplied by Hubert Feyrer, thanks!
2002-11-03 15:53:41 +00:00
perry 5f042d3d69 add a comment on c99ism noting that the logic might be wrong but we
haven't yet decided on what combinations of -s and -S really are
intended to mean yet.
2002-11-02 20:14:10 +00:00
perry 22f5530a1a Make long long a c99ism, not a gnuism. 2002-11-02 20:10:16 +00:00
perry cca1626bfa add c99ism(), by analogy to gnuism(), for c99 construct (un)warnings 2002-11-02 20:09:27 +00:00
perry 2bf91ba1e8 environment variables, not environmental variables 2002-11-02 04:13:41 +00:00
perry ab74747a8d 1) // is only for c99 or gcc
2) inline is acceptable in c99 -- create a new c99 keyword class.

XXX The handling of sflag and Sflag is utterly bogus throughout this
pass. I think I have to make some adjustments.
2002-11-02 01:42:22 +00:00
simonb b9c304a9e0 Pass all three mib items to a sysctl in dkreadstats().
Use the new kernel sysctl sizing code to calculate the number of drives.
2002-11-01 15:23:06 +00:00
mrg 3cf4c73d05 iostat(8) and systat(8) support for separate read/write disk statistics.
"iostat -x" now shows these (ala linux/solaris), but this is only splitting
the read/write bytes/transactions, not adding any new metrics.  "systat
iostat" now has two new commands to switch between combined/separate mode
for both it's numbers & bar modes.
2002-11-01 12:47:55 +00:00
christos 277101f13c PR/18866: David A. Holland: missing const keyword in rpcgen output 2002-10-31 02:05:35 +00:00
jdolecek 64275c4aaf use kqueue to watch the file if possible
from FreeBSD via Luke Mewburn

this specifically does NOT include FreeBSD rev. 1.28 change; it's
my understanding -F is specifically meant to only detect removal
of the tailed file, not to watch for intermediate path changes
2002-10-30 21:48:50 +00:00
thorpej 35d6519b2d Don't truncate the vm_map_entry offset to 32-bits when printing. 2002-10-29 14:50:53 +00:00
manu 0d50171c61 Added support for COMPAT_MACH 2002-10-29 07:17:43 +00:00
kleink 2008ede1e1 psroff has been dead for quite some time. 2002-10-27 12:29:11 +00:00
kleink f624532a37 Add missing -u euid option to optstring; from Michael van Elst in
PR bin/18827.
2002-10-27 11:49:34 +00:00
grant b1aed1c393 fix typo, from sm@resistor.net in misc/18816. 2002-10-26 17:06:08 +00:00
yamt ebc708387a add VT_LFS case. 2002-10-26 06:03:50 +00:00
wiz d94dd4600f ispell. Use more markup. 2002-10-25 20:10:21 +00:00
yamt c81873c76e - add -A and -B option.
- change -3 to a synonym of "-A1 -B1".
  (to make compatible other implementations)
- eliminate duplicated codes.
- fix crashes for -3.
2002-10-25 20:06:56 +00:00
chopps 32e3bfbd42 add xref to init where security levels are discussed, more should probably
be written in this manpage on this subject.
2002-10-24 18:51:19 +00:00
jdolecek 879d35cda1 merge rev. 1.50.2.1 (made by lukem):
rudimentary support for for displaying DTYPE_KQUEUE fds
2002-10-23 22:37:11 +00:00
christos c7e6cd9edb mention what is wrong with the ({}) productions. 2002-10-23 13:01:16 +00:00
itojun e91a21c27c add DPADD. 2002-10-23 01:25:35 +00:00
christos fa292fcfa7 forgot to commit those. 2002-10-23 00:36:36 +00:00
christos 5a3a9e9ea9 add support for ({}) gcc shit. 2002-10-22 22:50:11 +00:00
christos 899427c2e4 handle free-ing of temp symbols properly. Don't segv on bad node types. 2002-10-22 21:09:34 +00:00
christos c5db62c0ef add C9X/GCC compound literal expressions. 2002-10-22 18:15:00 +00:00
christos 8c326659c6 add variable array dimension. 2002-10-22 13:48:50 +00:00
christos ff5be0fa49 handle gcc __FUNCTION__ and C9X __func__ 2002-10-22 13:31:34 +00:00
christos e6e5ec1d1b fix spelling in comment. 2002-10-22 13:30:23 +00:00
christos cb118faff0 a cast to a pointer is an l-value. 2002-10-22 00:25:29 +00:00
christos 718a2bccc8 handle cast in the rhs of a - op. 2002-10-22 00:06:46 +00:00
christos 49f5eb9bb9 Ignore cast size test in initializers; look at example in the comment.
Maybe there is a better way...
2002-10-21 22:48:13 +00:00
christos 18a706cc53 fix typo 2002-10-21 22:44:08 +00:00
christos 8638e1a5b8 add -S flag for c99 support. 2002-10-21 21:16:12 +00:00
christos 66cab14e3e support for c99 style and gnu style structure and union named initializers. 2002-10-21 21:14:51 +00:00
enami b579228888 Fix whitespace usage. 2002-10-21 10:18:23 +00:00
enami f594d61275 If utmpx support is enabled, use sockaddr field to get numeric address. 2002-10-21 10:10:26 +00:00
provos 32b88027c7 use readlink with bufsize - 1; approved thorpej. 2002-10-19 20:33:17 +00:00
wiz e2a4ec505f Bump date for last. 2002-10-18 22:44:48 +00:00
atatat 9dfabd39b8 Add a -n flag for the hash output forms, so that the output is
"normal", ie, "hash filename" (like all the simple checksum output
forms) as opposed to "hashname (filename) = hash".  This output form
is, imho, somewhat more useful because you can pass it directly to
sort to find identical files.  For example:

	md5 * | sort | uniq -c | grep -v ' 1 '
2002-10-18 20:30:12 +00:00
atatat 2bc4364804 Provides better error messages from the symbol lookups (printing
merely "  == 1" is just *not* helpful).

Note which symbols were missing (better for bug reports, if anyone
files one :).

Make the kernel submap symbols optional (sparc, sparc64, most powerpc,
and the sh3 ports seem not to have a phys_map -- problem noted by
myself yesterday).

Oh, and a little misc lint cleanup while I'm here.
2002-10-17 17:18:34 +00:00
lukem b81a1d9903 - if SMALLPROG is defined, add -DNO_EDITCOMPLETE -DNO_ABOUT,
and don't bother linking with -ledit -ltermcap
- if SMALLPROG is not defined or SMALLPROG_INET6 is defined, add -DINET6
2002-10-17 06:16:48 +00:00