| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
other files that I am not ready to commit yet...
|
|
|
|
|
| |
PR: bin/65803
Submitted by: Cyrille Lefevre
|
|
|
|
|
|
|
|
|
|
| |
threads, put the command name in square brackets instead of parenthesis.
This matches NetBSD, and also seems to be what linux does. The sentence
which is added to the man page is taken straight from NetBSD.
PR: bin/65803
Submitted by: Cyrille Lefevre
Obtained from: NetBSD
|
|
|
|
| |
OK'ed by: imp, core
|
|
|
|
| |
Tested by: Joe Marcus Clarke <marcus@marcuscom.com>
|
|
|
|
|
|
| |
WARNS=6, std=c99 clean.
Tested on: i386, alpha
|
|
|
|
|
|
| |
Solaris man page is the POSIX way.
Reviewed by: jmallett
|
|
|
|
| |
<stdint.h> macros.
|
| |
|
|
|
|
|
| |
Double-plus-pointy-hat to: jmallett
Submitted by: bde
|
|
|
|
|
|
|
|
| |
was worried about truncation of arg_max by this cast, but if it gets truncated,
we know it'll obviously be greater than SIZE_MAX anyway.
Big pointy hat to: jmallett
Submitted by: keramida
|
|
|
|
|
| |
we have't malloc(3)'d nearly as much as we probably will, so errx(3) away,
instead of waiting for something to fail yet again later on.
|
|
|
|
|
|
| |
function seems to do the right thing, and is not a "stub", and whoever "marc"
is, he's had plenty of time to do "the real one", so don't wait around for
him any longer.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
correct manner. Revert my incorrect change to use err(3) for malloc(3)
failing. Use a size_t variable to store the size of the argument buffer
we allocate, and remove silly casts as the result of having this around.
Modify the math in some of the paranoid checks for buffer overflow to
account for the fact we now are dealing with the actual size of the
buffer. Remove the static qualifier for arg_max, and the bogus setting
of it to -1.
Include <limits.h> for the definitions we use to check for possible
overflows.
Submitted by: bde
|
|
|
|
| |
returns NULL, as malloc(3) sets errno. Use err(3).
|
|
|
|
| |
cleanup courtesy of automatic checking (lint).
|
|
|
|
|
|
|
|
|
| |
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.
|
|
|
|
|
|
| |
PR: bin/19422
Not objected to by: -audit
MFC after: 3 weeks
|
| |
|
| |
|
|
|
|
|
| |
PR: 1791 (partial)
Reviewed by: Bruce Evans <bde@freebsd.org>, Tor Egge <tegge@freebsd.org>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
|
| |
|
| |
|
|
|
|
| |
just like it was in 1.1.5.
|
|
|
|
|
|
|
|
| |
You can get ps easily to core dump, if you are running a "make depend"
on a kernel in one window and a "ps -auxww" in another. The ww will
try to give you the full argument list of the command that can
now be 64Kb large, but ps expected only 4Kb large arg arrays and
doesn't check for overflows.
|
| |
|
| |
|
|
|