summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2007-03-29let the description of -m match SYNOPSIS and usage(); from Igor SobradoJason McIntyre
2007-03-29tidy up SYNOPSIS; from Igor SobradoJason McIntyre
2007-03-29tidy up SYNOPSIS and usage(); from Igor SobradoJason McIntyre
2007-03-29remove some unneccessary `Ns'; from Igor SobradoJason McIntyre
2007-03-29fix .Nm blip; from Igor SobradoJason McIntyre
2007-03-29-r and -t take arguments; from Igor SobradoJason McIntyre
2007-03-29put -t in the correct place; from Igor SobradoJason McIntyre
2007-03-29tidy up SYNOPSIS and usage(); from Igor SobradoJason McIntyre
2007-03-29-g takes an argument; from Igor SobradoJason McIntyre
2007-03-29tidy up SYNOPSIS; from Igor SobradoJason McIntyre
2007-03-28flesh the text out; ok rayJason McIntyre
2007-03-28+.Xr crash 8Jason McIntyre
2007-03-28CC: a copy of the bug report to sender. Requested by Travers Buda.Ray Lai
OK millert@.
2007-03-27Catch OOB access for tag searches mathching lines ending with \Otto Moerbeek
From patrick keshishian with a twist by me. ok thib@
2007-03-27-a requires a separate synopsis;Jason McIntyre
from Daniel Polak via henning ok henning
2007-03-27sync with espie@'s latest change to diff(1).Xavier Santolaria
from src/usr.bin/diff/diffreg.c rev 1.67: improve -p for C++ code: classes definition often have public:/protected:/private: at the start of line. This lets the -p scanner just take note of the section and keep looking for the actual class definition. Also increase function name bufsize so it shows most of these pesky C++ decls... OK niallo@ espie@.
2007-03-27Replace some scary pointer code. The new code is O(n^2) for stringsRay Lai
of '&', but gecos fields are usually short and most do not have '&' so the impact should be minimal. In return we get clearer and safer code. OK moritz@.
2007-03-27Remove variable name from prototype.Ray Lai
2007-03-26- tweak the opening sentenceJason McIntyre
- be less precise about editors in the opening blurb - note that prs are not confidential, and provide an alternative ok ray deraadt
2007-03-26Simplify gecos parsing code and prevent buffer overflowMoritz Jodeit
when gecos field contains multiple '&' characters with other characters inbetween. With and OK ray@
2007-03-26tidy up SYNOPSIS, options description, FILES, and usage();Jason McIntyre
from Igor Sobrado
2007-03-26sort options, synopsis, and usage(); from Igor SobradoJason McIntyre
2007-03-26indicate that -l takes an optional argument;Jason McIntyre
whilst here, clean up the -cr descriptions, add some refs to SEE ALSO, and merge the first two synopses into one based on a diff from J.C. Roberts help/ok millert
2007-03-26fix wording for `replay'; from AndrAcsJason McIntyre
2007-03-26Remove pointless cast. No binary change.Ray Lai
2007-03-26Break on waitpid success; we shouldn't continue on WIFSIGNALED, andRay Lai
WIFCONTINUED can't happen in this case. OK deraadt@.
2007-03-26Certain errors in editit() should be fatal.Ray Lai
2007-03-26Don't print warnings in editit(), instead make errno reliable onRay Lai
failure. If the editor exits non-zero, errno is set to ECHILD. OK deraadt@.
2007-03-26Accept $VISUAL in addition to $EDITOR.Ray Lai
2007-03-26Save and restore signal handlers. Although we do not install ourRay Lai
own signal handlers, this allows this code to be more easily reused in other programs. OK deraadt@
2007-03-26Restore errno before calling perror().Ray Lai
2007-03-26Check fork() == -1 instead of fork() < 0.Ray Lai
2007-03-26When someone hits ^C in an editor, the editor does exit(130), IRay Lai
don't know why. Something to do with the shell, says deraadt@. Continuing to ignore these signals in the child fixes this. Now editit()'s return value can be reliably checked. OK deraadt@.
2007-03-26more careful waitpid() discussed with ray (plus some knf)Theo de Raadt
2007-03-25fork() does not return EPROCLIM, so don't test for it.Ray Lai
2007-03-25more cleaning :)Theo de Raadt
2007-03-25Change editit() to return -1 on error and 0 on success, like manyRay Lai
other C functions. (Currently this return value is unchecked.)
2007-03-25KNF.Ray Lai
2007-03-25Save errno before calling signal().Ray Lai
2007-03-24Use MAXPATHLEN for buffer, which is only used for path constructionMoritz Jodeit
and fix handling of empty macdefs, which could result in the mac_end ptr beeing smaller than mac_start, resulting in crashes later on. From Nicholas Marriott. ok millert@
2007-03-23correct signal handling and process waiting for the editor spawningTheo de Raadt
code, so that signals in the editor are handled right. written by ray after he started looking at other code that does this better
2007-03-23Since we now have our own program, we can export more things thatTheo de Raadt
matter. Include kern.version, which tells a hell of a lot. ok millert ray
2007-03-23missing .El;Jason McIntyre
2007-03-23add -F to usage();Jason McIntyre
2007-03-23use the proper abbreviation for second: "s"Chris Kuethe
requested by deanna, naddy, otto, steven ok deanna, otto
2007-03-23Add a new flag -F to netstat restricting route display in conjuctionPierre-Yves Ritschard
with -r to routes in the same address family as the destination. ok henning@, claudio@
2007-03-23Document temporary files.Ray Lai
2007-03-23display a timedelta of 0 in seconds, not some other unit.Chris Kuethe
requested by otto, ok otto
2007-03-23Add more bloat to manual.Ray Lai
2007-03-23Flags belong under SYNOPSIS, not NAME.Ray Lai