Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-03-27 | rcs_comment_set() will never return non-zero; change its return type to void. | Xavier Santolaria | |
OK ray@. | |||
2006-03-27 | check rcs_lock_remove() return value; OK ray@ niallo@. | Xavier Santolaria | |
2006-03-27 | use strtonum() instead of atoi(), limit dhg size to 64k; ok djm | Theo de Raadt | |
2006-03-27 | oops! fix from xsa; | Jason McIntyre | |
2006-03-27 | Fix and clean up -t flag: | Ray Lai | |
- Add comments. - Support -t-inline-comments-like-man-page-says. - -tfilename still works. - When using -t (read description from stdin) don't end when first character is `.'. Instead, end if whole line consists of one `.'. - Add regression test. I also changed the regression Makefile to have a trailing slash on the final element. As long as we have a blank line it will be fine, plus it will save us some trouble when adding new tests. After adding line breaks, ``rest looks fine.'' xsa@ | |||
2006-03-27 | beef up the -z description; ok xsa | Jason McIntyre | |
2006-03-27 | Changes: | Ray Lai | |
- RCS_CREATE is now set in flags. - Since flags & RCS_CREATE is used in rcs_statfile(), flags is now a global variable. - RCS_[ENT]FLAG -> RCSPROG_[ENT]FLAG - Call rcs_set_description() if -t flag is given or if RCS_CREATE is set, checked in that order. If the -t flag is given and RCS_CREATE is set, don't call rcs_set_description() twice. ``commitski!!'' xsa@ | |||
2006-03-27 | rcs_desc_set() will never return non-zero; change its return type to void. | Xavier Santolaria | |
OK niallo@. | |||
2006-03-27 | Plug a memory leak for all cvs_strsplit call sites; ok xsa@ | Patrick Latifi | |
2006-03-27 | we can do the size & nmemb check before the integer overflow check; evol | Theo de Raadt | |
2006-03-26 | rcs_parse_desc() cleanup; OK ray@. | Xavier Santolaria | |
2006-03-26 | and put new flag into the manpage | Michael Shalayeff | |
2006-03-26 | do per file io accounting and show that in fstat as well; pedro@ marco@ ok | Michael Shalayeff | |
2006-03-26 | - clean up error handling in checkin_init() and checkin_update() | Niall O'Higgins | |
- plug a couple of memory leaks along the way ok ray@ | |||
2006-03-26 | typo | Theo de Raadt | |
2006-03-25 | standardise spacing in $OpenBSD$ tags; requested by deraadt@ | Damien Miller | |
2006-03-25 | Correct integer types, remove unused arguments, non-portable bitshifts | Ray Lai | |
changed to division, KNF, replace unreachable code with goto fail, et cetera. Found by lint. The free() -> xfree() as well. OK niallo@ | |||
2006-03-25 | add missing prototypes all over the place, u_long -> unsigned long (userland | Marc Espie | |
code). okay kettenis@, comments by ray@ | |||
2006-03-25 | delete cast not required | Theo de Raadt | |
2006-03-25 | remove (char *) casts to a function that accepts void * for the arg | Theo de Raadt | |
2006-03-25 | use strtonum() instead of atoi() [limit X screens to 400, sorry] | Theo de Raadt | |
2006-03-25 | mark two more signal handlers ARGSUSED | Theo de Raadt | |
2006-03-25 | cast strtonum() result to right type | Theo de Raadt | |
2006-03-25 | nicer size_t and time_t types | Theo de Raadt | |
2006-03-25 | spacing | Theo de Raadt | |
2006-03-25 | needed casts (always will be needed) | Theo de Raadt | |
2006-03-25 | Put $OpenBSD$ tags back (as comments) to replace the RCSID()s that | Damien Miller | |
Theo nuked - our scripts to sync -portable need them in the files | |||
2006-03-25 | Use fstat(3) instead of stat(3) as a matter of principle. We don't | Otto Moerbeek | |
like race conditions, even if the effects of these are void and empty. | |||
2006-03-25 | "abormally" is a perfectly cromulent word, but "abnormally" is better | Damien Miller | |
2006-03-25 | change OpenSSH's xrealloc() function from being xrealloc(p, new_size) to | Damien Miller | |
xrealloc(p, new_nmemb, new_itemsize). realloc is particularly prone to integer overflows because it is almost always allocating "n * size" bytes, so this is a far safer API; ok deraadt@ | |||
2006-03-25 | introduce xcalloc() and xasprintf() failure-checked allocations functions | Damien Miller | |
and use them throughout openssh xcalloc is particularly important because malloc(nmemb * size) is a dangerous idiom (subject to integer overflow) and it is time for it to die feedback and ok deraadt@ | |||
2006-03-24 | For those of us (including me) who can't type: show an error message if | Otto Moerbeek | |
the argument is a dir. ok tom@ commit #1000 in slighlty less than 1000 days of commit access :-) | |||
2006-03-24 | ANSIfy. Ok ray@ | Kjell Wooding | |
2006-03-24 | change rcs_parse_deltas() and rcs_parse_deltatexts() return value | Xavier Santolaria | |
to void as they never return non-zero. OK ray@. | |||
2006-03-24 | change rcsclean_file() return type to void as it does not need | Xavier Santolaria | |
to be checked. OK ray@. | |||
2006-03-24 | Remove unused variables, better integer types, prevent fallthroughs. | Ray Lai | |
Found by lint. Compare char * variables against NULL for consistency and add parentheses around complicated comparisons, suggested by xsa@. OK xsa@ | |||
2006-03-24 | oops, noticed by David Hill. | Marc Espie | |
2006-03-24 | Allow the -x flag to be used without an extension. | Ray Lai | |
``that makes sense'' xsa@ | |||
2006-03-24 | KNF, no binary change. | Ray Lai | |
From Han Boetes. | |||
2006-03-24 | Fix RCS_KWEXP_INVAL() macro. | Ray Lai | |
Pointed out by Theo. Okay xsa@. | |||
2006-03-23 | rlog_file() will never return non-zero; change its return type to void. | Xavier Santolaria | |
2006-03-23 | fetch() will never return non-zero; change its return type to void. | Xavier Santolaria | |
OK niallo@. | |||
2006-03-23 | kill whitespace at eol; | Jason McIntyre | |
2006-03-23 | use fatal() in rcs_lock_setmode(); OK ray@. | Xavier Santolaria | |
2006-03-23 | - cvs_buf_putc() will never return non-zero | Xavier Santolaria | |
- change cvs_buf_putc() return type to void OK ray@. | |||
2006-03-23 | formatting fixes | Marc Espie | |
2006-03-23 | ... and remove extra test that is no longer needed. | Marc Espie | |
2006-03-23 | simply set up format only when we see -g. | Marc Espie | |
2006-03-23 | explicit cast on strtoul, classical const gotcha. | Marc Espie | |
2006-03-23 | back-out format for now, need to be active ONLY in GNU-m4 mode. | Marc Espie | |