summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/util.c
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2017-08-28fix const related warnings; ok millert@Otto Moerbeek
2017-06-01Stop looking at current_cvsroot->cr_method to figure out if we're remote or not.Joris Vink
2016-10-13rcsnum_free() -> free() cleanups. From Michael W. Bombardieri.Frederic Cambus
2015-11-05Remove xfree(), like already done for RCS. From Michael W Bombardieri,Nicholas Marriott
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-12-01An internal function called xrealloc() is actually a fail-hardTheo de Raadt
2011-04-20Remove some includes and defines that are no longer needed, from MichaelNicholas Marriott
2010-11-11Nuke dead assignments and a dead function, from Michael W BombardieriNicholas Marriott
2010-09-23Add cvs_mkdir() for recursive directory creation on import, based on aNicholas Marriott
2010-07-23Reduce variable/function name and whitespace differences betweenRay Lai
2009-03-24use size_t for size, since atomicio() both accepts and returns itJoris Vink
2009-02-23unused varJoris Vink
2009-02-23we no longer push out Set-sticky to the client when writingJoris Vink
2009-02-21in cvs_mkpath() always look for an existing CVS/Repository fileJoris Vink
2008-06-21add a hash table mechanism based upon hcreate(3) but one that allowsJoris Vink
2008-06-14don't always re-open the same CVS/Entries file, instead keep theJoris Vink
2008-06-12completely kill the need for TMP_DIR when running checkout,Joris Vink
2008-06-10New trigger framework that allows us to run the required scriptsJoris Vink
2008-03-09be sure to build CVS/Root when updating and building directories (-d)Joris Vink
2008-03-09be sure to create CVS/Root if we added a new directory to the repository.Joris Vink
2008-03-08CVS/Entries file must be created in cvs_mkadmin, because they have to beTobias Stoeckmann
2008-03-01do not overwrite CVS/Root in an existing tree whenever somebodyJoris Vink
2008-02-10use cvs_validate_directory() in cvs_get_repository_path() as well,Joris Vink
2008-02-10introduce cvs_validate_directory(), which is used to checkJoris Vink
2008-02-10Respond with "Updated" instead of "Checked-in" on server-side if a clientTobias Stoeckmann
2008-02-10- cvs_write_tagfile() is not responsible to remove CVS/Tag itselfJoris Vink
2008-02-09Introduce cvs_ent_line_str() - formats CVS/Entries lines.Xavier Santolaria
2008-02-09unused var police, biatsh!Joris Vink
2008-02-09if the CVS/ directory already exists when we reach cvs_mkadmin()Joris Vink
2008-02-04more CVSROOT/modules stuff:Joris Vink
2008-02-04Stripped off 'nb', which was (or was supposed to be) used to distinguishTobias Stoeckmann
2008-02-03better CVSROOT/module support, includes remote support and modulesJoris Vink
2008-01-31free RCSNUM's when we are done with them;Joris Vink
2008-01-31Zap trailing whitespaces.Xavier Santolaria
2008-01-31Rework of cvs_get_repository_name.Tobias Stoeckmann
2008-01-31Our directory entries in CVS/Entries had one slash too much -- zapped.Tobias Stoeckmann
2008-01-21Fixed export to be fully functional and compliant to GNU cvs in local andTobias Stoeckmann
2008-01-10xmalloc + memset -> xcallocTobias Stoeckmann
2008-01-10another strcspn() roundTobias Stoeckmann
2008-01-10cvs_mkpath missed to add all "yet to be added" directories into CVS/Entries,Tobias Stoeckmann
2007-10-09cvs import must not parse files in local CVS directory.Tobias Stoeckmann
2007-10-05strcspn() changeGilles Chehade
2007-09-22better branching/sticky tag support, no branch commits yet though.Joris Vink
2007-09-19Do not parse quoted strings because GNU cvs won't do so.Tobias Stoeckmann
2007-09-19Usage of fgetln() instead of fgets() in .cvsrc parsing handles lineTobias Stoeckmann
2007-09-09Added support for checkout -p with local repository.Tobias Stoeckmann
2007-09-04Removed dead code.Tobias Stoeckmann
2007-09-02Handle quotation marks in .cvsrc correctly.Tobias Stoeckmann
2007-07-19xcalloc is unneeded here since i is always 0 and we always use theRay Lai