summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/buf.c
AgeCommit message (Expand)Author
2006-05-27commit the new opencvs code, i have been hacking onJoris Vink
2006-04-14spacingTheo de Raadt
2006-04-14remove a metric buttload of excessive ()Theo de Raadt
2006-04-13fix the obviously broken cvs_buf_set(), so we don't end upJoris Vink
2006-04-12xmalloc(); memset(); -> xcalloc();Ray Lai
2006-04-11Change cvs_buf_grow() to return void, since it cannot fail, andRay Lai
2006-04-10make sure we add the correct name mkstemp(3) creates for usJoris Vink
2006-04-10- use fchmod() instead of chmod() in cvs_buf_write_stmp(), makesNiall O'Higgins
2006-04-06cvs_buf_copy() and cvs_buf_peek() are not used by usr.bin/rcs; OK niallo@.Xavier Santolaria
2006-04-05Use variable names for sizeof, remove casts in front of xmalloc,Ray Lai
2006-03-28Today is Integer Overflow Prevention Day:Ray Lai
2006-03-25Correct integer types, remove unused arguments, non-portable bitshiftsRay Lai
2006-03-23- cvs_buf_putc() will never return non-zeroXavier Santolaria
2006-03-20delint; cvs_buf_write_stmp() will never return non-zero:Niall O'Higgins
2006-03-17Use ssize_t in appropriate places.Ray Lai
2006-03-15- fchmod file to mode.Niall O'Higgins
2006-03-07no need to duplicate error message;Xavier Santolaria
2006-03-06like gnu ci(1), continue to process valid files in argv even if some areNiall O'Higgins
2006-02-26better user-friendly error message.Xavier Santolaria
2006-01-29- fix a bug where co -l would fail with "permission denied" if the workingNiall O'Higgins
2006-01-16- in cvs_buf_free(), don't try to free() b->cb_buf if it has not beenNiall O'Higgins
2006-01-15- don't try to malloc 0 bytes of memory if an empty buffer is requested; delayNiall O'Higgins
2006-01-10- add cvs_buf_getc() function; returns byte at specified buffer position.Niall O'Higgins
2006-01-02#include's cleanup; ok joris@ niallo@.Xavier Santolaria
2005-12-30adjust some thruth in a comment.Joris Vink
2005-12-30spacingJoris Vink
2005-12-24remove useless cvs_buf_alloc() failure checks;Joris Vink
2005-12-23cvs_buf_write() did not properly set new permissionsJoris Vink
2005-12-21initialize `rlen' in cvs_buf_set();Xavier Santolaria
2005-12-20fix use of fatal() from previous commit;Xavier Santolaria
2005-12-20missed that in previous fatal() commit;Xavier Santolaria
2005-12-20use fatal(); OK joris@ niallo@.Xavier Santolaria
2005-12-10switch to xmalloc stuff, me and xsa@ agreed on this a longJoris Vink
2005-08-14missing casts; ok jorisXavier Santolaria
2005-07-29minor KNF;Xavier Santolaria
2005-07-26- fix SIZE_LEFT macro for the cb_cur > cb_buf case.Moritz Jodeit
2005-07-25KNF;Xavier Santolaria
2005-07-20no need to append strerror(errno) in error msg if we use LP_ERRNO code;Xavier Santolaria
2005-07-07remove trailing whitespacesJoris Vink
2005-06-02revert cvs_noexec checks commit, requested by jfb@.Xavier Santolaria
2005-05-31headers ordering (alphabetically) and cleanup, from mbalmer@ and myself;Xavier Santolaria
2005-05-26don't append strerror(errno) to error messages if we use LP_ERRNOJean-Francois Brousseau
2005-05-24cvs_noexec checks; ok joris@Xavier Santolaria
2004-12-08get rid of void* pointer arithmetic on buffers so gcc stops complainingJean-Francois Brousseau
2004-12-08use mkstemp for local diff -r r1 -r r2; ok jfb@Damien Miller
2004-12-07less whitespace, more pretty. ok jfbTed Unangst
2004-12-06tighten vertical spacing for else; jfb okTheo de Raadt
2004-11-28make sure va_end() is always called in all possible pathsPatrick Latifi
2004-09-27use the real lenght to zero out the buffer inJoris Vink
2004-07-13* make the email address consistentJean-Francois Brousseau