summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2007-05-29otto would prefer only displaying one digit after decimal for refresh rateTed Unangst
2007-05-29remove -j from SYNOPSIS and usage(); it's deprecated and alreadyJason McIntyre
documented in STANDARDS; ok otto
2007-05-29Bring in some changes from rcsdiff:Ray Lai
1. Replace all the e*alloc functions with the x*alloc versions. 2. Whitespace syncs according to style. 3. Remove the __inline stuff. 4. Remove the min/max functions, using the MAX/MIN macros instead. OK millert@
2007-05-29Get rid of another useless variable, another difference between ourRay Lai
diff code and diff(1). OK niallo@
2007-05-29more parts of netbsd compat that go awayTheo de Raadt
2007-05-29Instead of using hand-crafted redraws minimizing screen updates, use curses.Otto Moerbeek
Enables nice things like process highlighting without hurting the brain. ok deraadt@
2007-05-29I've been running with an abort upon fatal loop, and I think I'veRay Lai
mostly gotten rid of them. It would be nice to know if there is a fatal loop instead of dying quietly, so call errx instead of exit(1). errx does not call fatal so it should be fine. OK niallo@
2007-05-29Since xrealloc dies on failure it is safe to directly assign to theRay Lai
original pointer. Theo agrees, and so does the rest of the tree (ssh, etc. all do this already). Saves a bunch of variables and assignments. OK niallo@
2007-05-28Some spacing syncs with diff(1).Ray Lai
2007-05-28"in formation" -> "information"Ray Lai
OK niallo@
2007-05-28Line up comments with the rest of the file, like in diff(1).Ray Lai
2007-05-28the device fd is global. no need to pass it between functions.Michael Coulter
2007-05-28Add a global-wd-mode command, which toggles between the currentKjell Wooding
behavior (every buffer maintains its own cwd) and the old behavior of one global working directory. This makes it slightly easier to hack on things like kernel code, where compilation, etc, are initiated from a different directory than you are working in. While here, fix setting/handling of global wd.
2007-05-27Add bounds check for cvs command arguments. Initial diff by TobiasRay Lai
Stoeckmann, rearranged to "if (num_items >= BUFSIZ)" format for readability. I would have liked to allow our cvs client to accept as many arguments as the system would allow, but the argument parsing code is surprising hairy. OK niallo@.
2007-05-27Replace xmalloc/xsnprintf combo with xasprintf.Ray Lai
OK niallo@
2007-05-27more stuff needed to make sparc64 work. what else is still busted?Theo de Raadt
2007-05-27Revert, we dealt with the -x flag in the past. jmc suddenlyRay Lai
remembered we had created a separate section for compatibility flags. Oh well, two free commits. OK jmc@
2007-05-27Mention -x flag (for compatibility only). From Tobias Stoeckmann.Ray Lai
Input and OK jmc@
2007-05-27Call fatal() if extra arguments are given to "opencvs server". FromRay Lai
Tobias Stoeckmann. OK niallo@
2007-05-27Fix off-by-one, from Tobias Stoeckmann.Ray Lai
OK niallo@
2007-05-27Fix off-by-one, from Tobias Stoeckmann.Ray Lai
OK niallo@
2007-05-26It is not the job of cvs_server_send_response() to do error checking.Ray Lai
Also remove unused variable. OK niallo@
2007-05-26It is too complicated to tell a client that an internal failureRay Lai
happened in fatal(). If that behavior is desired, please tell the client before calling fatal(). OK niallo@
2007-05-26Remove redundant xsnprintf calls.Ray Lai
OK niallo@
2007-05-26add support for Mdocdate rcs keyword in opencvs too.Niall O'Higgins
also add check for strftime return in date keyword parsing while here. requested by jmc@, ok ray@
2007-05-26cvs_server_path is more appropriate to check than cvs_server_active.Ray Lai
From Tobias Stoeckmann. OK niallo@
2007-05-26fatal() should never be called twice; if it happens, exit immediately,Ray Lai
it is the only safe thing to do. OK niallo@
2007-05-26work around stupid trust of the namespace; millert please look at the ↵Theo de Raadt
problem on macppc
2007-05-26cdrip and cdplay commands from Alexey VatchenkoMichael Coulter
incorporating some manpage suggestions from jmc@
2007-05-26Increase sticky tag buffer size.Ray Lai
Fix suggested by otto and xsa.
2007-05-26Treat lines that start with "dummy timestamp from new-entry" as aRay Lai
dummy timestamp, not just lines that match it exactly. OK xsa@.
2007-05-26More comment typos from Diego Casati. Including winners like funtion, allmost,Kenneth R Westerback
oustside, seqencer, toghether, nessissary, etc.
2007-05-25Call fatal() if we are missing an argument. From Tobias Stoeckmann.Ray Lai
OK niallo@.
2007-05-25Call fatal() if we are missing an argument. From Tobias Stoeckmann.Ray Lai
OK niallo@.
2007-05-25Check vasprintf for failure.Ray Lai
OK niallo@.
2007-05-25"interupt" -> "interrupt" in various comments. Mostly from Diego Casati.Kenneth R Westerback
2007-05-25"boundries" -> "boundaries" in various comments. Started by Diego Casati.Kenneth R Westerback
2007-05-25Sanity check time spec and if no century is specified, just use theTodd C. Miller
current one.
2007-05-24If century not specified used the current one instead of aassuming 2000.Todd C. Miller
2007-05-23Fix cut and pasto, seconds value is now stored in dot, not p.Todd C. Miller
2007-05-23Set tm_sec to 0 if no seconds were specified by the timespec (-t) arg.Todd C. Miller
2007-05-23- attempt to explain (sub)sections before we start discussing themJason McIntyre
- merge the "-s section" and "section" parts: it doesn't make sense to keep them separate
2007-05-23update the section list;Jason McIntyre
2007-05-23for -S, note that machines have pages for all archs, and this mechanismJason McIntyre
allows one to view pages for one arch whilst using another (this seems to be not always clear to people);
2007-05-23improve the descriptions for -f and -k, specifically making itJason McIntyre
clear that they run, respectively, whatis(1) and apropos(1);
2007-05-23Sanity check the time argument specified by the -t argument. SomeTodd C. Miller
checks adapted from date(1). Now prevents scheduling jobs in the past just like the standard (ie: not -n) at(1) date parsing.
2007-05-23remove some unneccessary bracketing;Jason McIntyre
2007-05-22Note that the global -x option is kept for compatibility (for now) and hasXavier Santolaria
no effect.
2007-05-22zap double include; from p_nowaczyk AT o2.plDamien Miller
2007-05-21fix -Wall warning about unused variable `errstr', which was introduced in ↵Constantine A. Murenin
the previous revision; ok deraadt, otto, tedu