summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/buf.c
AgeCommit message (Expand)Author
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, theTheo de Raadt
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2016-10-16Quiet compiler warnings; as applied to usr.bin/cvs by millert@Okan Demirmen
2015-11-02Allow rcsnum_free and buf_free to accept NULL and remove various NULLNicholas Marriott
2015-06-13Convert xfree to free. From Fritjof Bornebusch. ok deraadtNicholas Marriott
2015-02-05Include stdint.h, not limits.h to get SIZE_MAX. OK guenther@Todd C. Miller
2014-12-01An internal function called xrealloc() is actually a fail-hardTheo de Raadt
2011-07-06Replace the keyword expansion code with a faster, more readable versionNicholas Marriott
2011-04-20Remove some unneeded includes and dead code, from Michael W Bombardieri.Nicholas Marriott
2011-03-27- garbage collect unused buf_fappend(), which was also removed from ocvs'sJasper Lievisse Adriaanse
2010-12-01add missing header needed by mkstemp()Charles Longeau
2010-09-08Improve buf.c comments, from zinovik.Nicholas Marriott
2010-09-08Use SIZE_LEFT macro to determine left size instead of calculating withTobias Stoeckmann
2010-07-28Make BUFs autoextend by default. This was already done in OpenCVSRay Lai
2010-07-23Reduce variable/function name and whitespace differences betweenRay Lai
2010-07-23Rename a bunch of variables and functions, removing the cvs_/rcs_Ray Lai
2007-05-29Since xrealloc dies on failure it is safe to directly assign to theRay Lai
2007-02-27As done in OpenCVS, general includes cleanup sweep. OK otto@.Xavier Santolaria
2007-02-22Fix const inconsistencies, void pointer artithmetic;Xavier Santolaria
2007-02-02Remove cb_cur or replace with cb_buf; cb_cur was the same as cb_bufRay Lai
2007-02-02Remove unused and buggy {cvs,rcs}_buf_set functions.Ray Lai
2006-08-16Improve rcs_buf_load() by setting errno appropriately on failure andRay Lai
2006-08-02rcs_buf_set(), rcs_buf_append, and rcs_buf_fappend should not returnRay Lai
2006-07-08Remove file mode argument from {cvs|rcs}_buf_write_stmp(). WeRay Lai
2006-06-03- correctly handle binary files; say bye bye to using c strings for deltatexts.Niall O'Higgins
2006-06-01- rcs_buf_release() has no need for u_char since it returns void *Niall O'Higgins
2006-04-26err() cleanup;Xavier Santolaria
2006-04-26zap -DRCSPROG leftover.Xavier Santolaria
2006-04-26fork our code we shared between openrcs/cvs into the openrcs dir.Joris Vink