summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/buf.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* no need to duplicate error message;xsa2006-03-071-2/+2
|
* like gnu ci(1), continue to process valid files in argv even if some areniallo2006-03-061-3/+5
| | | | | | invalid. ok xsa@
* better user-friendly error message.xsa2006-02-261-2/+2
|
* - fix a bug where co -l would fail with "permission denied" if the workingniallo2006-01-291-4/+8
| | | | | | file was read-only. ok joris@
* - in cvs_buf_free(), don't try to free() b->cb_buf if it has not beenniallo2006-01-161-3/+5
| | | | | | | allocated. fixes PR4974. From: <ttakah@lapis.plala.or.jp>
* - don't try to malloc 0 bytes of memory if an empty buffer is requested; delayniallo2006-01-151-4/+11
| | | | | | the malloc till cvs_buf_grow(). fixes PR4972. ok joris@
* - add cvs_buf_getc() function; returns byte at specified buffer position.niallo2006-01-101-1/+13
| | | | | | needed for the next commit. ok xsa@ joris@
* #include's cleanup; ok joris@ niallo@.xsa2006-01-021-12/+2
|
* adjust some thruth in a comment.joris2005-12-301-3/+2
|
* spacingjoris2005-12-301-20/+1
|
* remove useless cvs_buf_alloc() failure checks;joris2005-12-241-4/+2
|
* cvs_buf_write() did not properly set new permissionsjoris2005-12-231-1/+4
| | | | | | on already existing files. niallo agrees.
* initialize `rlen' in cvs_buf_set();xsa2005-12-211-2/+2
|
* fix use of fatal() from previous commit;xsa2005-12-201-13/+10
| | | | | temporary files were left behind if cvs_buf_write_* functions failed; OK joris@.
* missed that in previous fatal() commit;xsa2005-12-201-4/+4
|
* use fatal(); OK joris@ niallo@.xsa2005-12-201-39/+20
|
* switch to xmalloc stuff, me and xsa@ agreed on this a longjoris2005-12-101-23/+9
| | | | | | | | | time ago, but we were being held back by jfb. too bad for him. next step is to use fatal() through out the code for unrecoverable errors instead of trying to be all nice and fluffy and reach main() again. ok niallo@ and xsa@
* missing casts; ok jorisxsa2005-08-141-3/+3
|
* minor KNF;xsa2005-07-291-3/+3
|
* - fix SIZE_LEFT macro for the cb_cur > cb_buf case.moritz2005-07-261-13/+14
| | | | | | | | - make cvs_buf_empty() really clean the buffer. - fix cvs_buf_copy() for the off > 0 case. - some more minor buf code cleanup. ok joris@
* KNF;xsa2005-07-251-11/+11
|
* no need to append strerror(errno) in error msg if we use LP_ERRNO code;xsa2005-07-201-5/+4
|
* remove trailing whitespacesjoris2005-07-071-5/+5
| | | | from deraadt@
* revert cvs_noexec checks commit, requested by jfb@.xsa2005-06-021-12/+3
|
* headers ordering (alphabetically) and cleanup, from mbalmer@ and myself;xsa2005-05-311-5/+5
|
* don't append strerror(errno) to error messages if we use LP_ERRNOjfb2005-05-261-5/+3
|
* cvs_noexec checks; ok joris@xsa2005-05-241-3/+12
|
* get rid of void* pointer arithmetic on buffers so gcc stops complainingjfb2004-12-081-10/+10
|
* use mkstemp for local diff -r r1 -r r2; ok jfb@djm2004-12-081-16/+66
|
* less whitespace, more pretty. ok jfbtedu2004-12-071-16/+3
|
* tighten vertical spacing for else; jfb okderaadt2004-12-061-8/+4
|
* make sure va_end() is always called in all possible pathspat2004-11-281-3/+3
| | | | ok jfb
* use the real lenght to zero out the buffer injoris2004-09-271-2/+2
| | | | | | cvs_buf_alloc(); ok jfb@
* * make the email address consistentjfb2004-07-131-2/+2
|
* * initial import from the cvs-tools modulejfb2004-07-131-0/+457