summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2006-05-08This change:Ray Lai
- checks for realpath(3) failure - adds usage() - uses <err.h> - KNF - prevents saving strlen() return value into an int OK kjell@.
2006-05-08Use warnx() when errno is not set.Ray Lai
OK joris@.
2006-05-08spacingKjell Wooding
2006-05-08minor man page tweaks. From han boetes.Kjell Wooding
2006-05-08properly handle exit code 1; OK ray@.Xavier Santolaria
2006-05-08check for rcs_diffreg() return value; OK ray@.Xavier Santolaria
2006-05-08Remove unsave setjmp/longjmp calls that were used in signal handlers withClaudio Jeker
a more sane poll loop. Includes some style(9) changes. Diff made by Marcus Glocker
2006-05-08a few bits about exit status here too; OK jmc@.Xavier Santolaria
2006-05-08correctly handle the `no input file' case.Xavier Santolaria
2006-05-08uint32_t -> u_int32_t (which we use everywhere else)Damien Miller
2006-05-08fix error/verbose messages to match gnu/usr.bin/rcs when using rcsmerge(1).Xavier Santolaria
2006-05-08add DIAGNOSTICS section.Xavier Santolaria
2006-05-08err() and errx() should also exit with status 2;Xavier Santolaria
2006-05-08exit with status 2 after usage() too; pointed out by uwe@.Xavier Santolaria
2006-05-07getservbyport() wants network byte order; from NetBSDOtto Moerbeek
2006-05-06use mkstemp, remove races wrt lint1 and cpp.Marc Espie
(check lint1 and cpp code, they use fopen/freopen to open that temp file, and thus will happily overwrite a symlink) okay cloder@
2006-05-06do not bother defining End if !CLEANUP, reminded by lint.Marc Espie
2006-05-06Add $OpenBSD$ in comment here tooDarren Tucker
2006-05-05Do not warn when casting a pointer to [unsigned] char *;Otto Moerbeek
discussion with espie@; ok cloder@
2006-05-05- fix rcsdiff exit status on success/errors; now matches gnu/usr.bin/rcs.Xavier Santolaria
- add DIAGNOSTICS section to rcsdiff.1 wrt exit codes. ok ray@ and jmc@ for man page bits.
2006-05-05- no need to escape theseJason McIntyre
2006-05-05Fix SEGV on prototypes containing functions; from NetBSD rev 1.18;Otto Moerbeek
ok cloder@
2006-05-05Fix SEGV on scalar initialization with braces; also found in NetBSDOtto Moerbeek
rev 1.23 as part of a much larger diff. ok cloder@
2006-05-05o GNU ci returns 0 when a file is reverted (co -l file; ci file).Ray Lai
o Don't unlock file after revert. o Fix spelling. Passes extra tests in GNU rcstest. OK niallo@.
2006-05-04tighter DH exponent checks here too; feedback and ok markus@Damien Miller
2006-05-04finish work wrt TMPDIR; use xasprintf() to simplify code while in there;Xavier Santolaria
"looks fine" ray@.
2006-05-04Use queue(3) macros instead of custom queue.Ray Lai
OK beck@
2006-05-03correct one more commentKjell Wooding
2006-05-03Do some KNF, clean up some unused junk that has lying around for 40-oddKjell Wooding
cvs revisions, and fix a few comments to match reality
2006-05-03len = strlen(foo); if foo[len - 1]... will do bad things if len == 0.Kjell Wooding
Avoid, and rearrange a test so it can't (hypothetically) overflow.
2006-05-03be smarter about warning for null effects; kills a lot of spuriousOtto Moerbeek
warnings. ok cloder@
2006-05-03Use xasprintf and xfree.Ray Lai
``But i thought it already went in...'' xsa@
2006-05-03respect TMPDIR; OK ray@.Xavier Santolaria
2006-05-02Make buffers store their own working directory. This makes things likeKjell Wooding
grep, compile, lint work as expected (act on current buffer's cwd). Display this path when opening or replacing a file, rather than relying on the user to guess, or remember.
2006-05-02Nuke a couple orphaned prototypes.Hugh Graham
quoth deraadt: no problem
2006-05-02Spread some .Xr for the hard to stumble across lam(1).Hugh Graham
jmc yeps.
2006-05-01prevent a very, very stupid buffer overflow in ident_line().Joris Vink
fix for PR 5091 okay niallo@
2006-05-01- fix a case in rcs_getrev() handling of branches where variant was not beingNiall O'Higgins
increased and thus no progress could be made in the loop. bug noticed in rcsdiff(1) by sturm@ ok joris@
2006-05-01using *_FOREACH macros is really bad when we are actuallyJoris Vink
removing elements from the list inside the loop. this has been documented *clearly* in queue(3). okay niallo@
2006-05-01better description for -b; ok jorisJason McIntyre
2006-05-01rearrange the page to read better, and document branches/revisions/state;Jason McIntyre
ok xsa niallo ray
2006-04-30these files should not exist. the developers have been given ample timeTheo de Raadt
and warnings to integrate this into the manual page proper, but users who find documentation missing keep being pointed at these files in the src tree. we now delete the files, so that they will document these things in the correct place. you know who you are, and btw, jmc will help you integrate the information into the man page if you just wrote simple bits of text and asked nicely..
2006-04-29use calloc(3) instead of malloc(3) to allocate cpu state structs; it'sOtto Moerbeek
better style here; plus it prevents bogus data to show up on first display. report + ok pedro@
2006-04-29o Simplify ci by using strchr and strcspn instead of custom loops.Ray Lai
o Search for the ending `$' until the end of the line instead of the end of the string. OK niallo@ and xsa@, possibly joris@.
2006-04-29Check return values for all strlcpy, and strlcat calls.Ray Lai
OK xsa@ and probably others.
2006-04-29Clarify man pages to match -t behavior and pretty up usage strings.Ray Lai
OK xsa@ and jmc@.
2006-04-29Make ci store gmtime instead of localtime in RCS files, like GNU.Ray Lai
OK xsa@
2006-04-29Remove dead code.Ray Lai
OK niallo@
2006-04-28remove -h; ok xsaJason McIntyre
2006-04-28ensure NUL termination after read(); ok rayJared Yanovich