summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/buf.c
AgeCommit message (Expand)Author
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
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-08-01change returning type to void like it is done in OpenRCS:buf_release()zinovik
2010-07-31introduce macro SIZE_LEFT and function buf_grow() from OpenRCSzinovik
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
2009-03-25remove unused functions, definitions and outdated commentsJoris Vink
2009-03-23kill SIZE_LEFT() macro, no longer usedJoris Vink
2008-06-10New trigger framework that allows us to run the required scriptsJoris Vink
2008-03-09While allocation memory, make sure that file sizes are smaller than SIZE_MAX.Tobias Stoeckmann
2008-03-08correct usage of lseek(2);Joris Vink
2008-02-27prevent file racesJoris Vink
2008-02-11Cleanup buf implementation:Tobias Stoeckmann
2008-02-03(f)utimes takes sys/time.hTobias Stoeckmann
2007-09-25missing header for mkstempCharles Longeau
2007-09-17Imported atomicio interface.Tobias Stoeckmann
2007-08-29correct error string in cvs_buf_load_fd() to match the function.Joris Vink
2007-08-29more typo shizzle from Igor Zinovik.Joris Vink
2007-08-09Correct function name in fatal(). From Igor Zinovik.Ray Lai
2007-05-29Since xrealloc dies on failure it is safe to directly assign to theRay Lai
2007-02-22general includes cleanup sweep. ok joris@ niallo@Otto Moerbeek
2007-02-21Simplify cvs_buf_differ(). Also cvs_buf_differ(), a comparisonRay Lai
2007-02-19Fix const inconsistencies, void pointer artithmetic and a few otherOtto Moerbeek
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-07-08Remove file mode argument from {cvs|rcs}_buf_write_stmp(). WeRay Lai
2006-06-14add cvs_buf_load_fd() which does the same as cvs_buf_load()Joris Vink
2006-05-29unused varJoris Vink
2006-05-28add a way to look if a buffer differs from another oneJoris Vink
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