summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/resp.c
AgeCommit message (Expand)Author
2005-09-15strip trailing slashes from any arguments passed to opencvs.Joris Vink
2005-09-15check in cvs_mkadmin() wether we need to create or not theXavier Santolaria
2005-08-19missing cast;Xavier Santolaria
2005-08-17more use of CVS_ENT_MAXLINELEN;Xavier Santolaria
2005-08-16#define CVS_ENT_MAXLINELEN 1024Xavier Santolaria
2005-08-14we do not want '.' to show up in the entries file, because itJoris Vink
2005-08-02oops, missing variable;Joris Vink
2005-08-02fix a few bugs which happened when there is no CVS/ directory or whenJoris Vink
2005-07-26remove the (errno != ENOENT) check now that it is included in cvs_unlink();Xavier Santolaria
2005-07-25KNF;Xavier Santolaria
2005-07-24use cvs_unlink();Xavier Santolaria
2005-07-24do not use `if (!var)' unless it's boolean, better use an == check;Xavier Santolaria
2005-07-23rewrite of the file code. the previous one was justJoris Vink
2005-07-22use the cf_name field of the CVSFILE struct instead of using the oldJoris Vink
2005-07-14be consistent when declaring cvs_ent structs; ok jfb@ joris@.Xavier Santolaria
2005-07-10if the Entries file for the parent directory is already openJoris Vink
2005-07-05protect against cvs_getln() failure.Joris Vink
2005-06-10instead of opening and closing the entry file all theJoris Vink
2005-05-31headers ordering (alphabetically) and cleanup, from mbalmer@ and myself;Xavier Santolaria
2005-05-24- create the Entries.Static file with 0644 permissions instead of 0400.Joris Vink
2005-05-24remove debugging stuffJoris Vink
2005-05-24don't try to create directories with mkdir(2) in cvs_resp_sticky().Joris Vink
2005-05-24Merge the cvs_cmd and cvs_cmd_info structures and add the necessaryJean-Francois Brousseau
2005-05-24create the target directory when we receive either of theJean-Francois Brousseau
2005-05-20cvs_noexec checks; jfb okXavier Santolaria
2005-05-19use the date parsing code from date.y and fix timestamps on newlyJean-Francois Brousseau
2005-05-12fix segfault in cvs_resp_error()Joris Vink
2005-05-11in cvs_resp_removed(), don't abort the operation if we are tryingJoris Vink
2005-05-03catch stupid gnu cvs behaviour, it sends an empty error messageJoris Vink
2005-04-20shut up a useless warning for newly created filesJoris Vink
2005-04-19correctly handle the "Removed" response, so that the correctJoris Vink
2005-04-18Modify the CVSFILE structure using a union to keep information aboutJean-Francois Brousseau
2005-04-15braino; joris okXavier Santolaria
2005-04-15shudup useless warning; ok jfb@.Xavier Santolaria
2005-04-14set ret to 0 after using it to check snprintf() so thatJoris Vink
2005-04-13check return values of snprintf() for potential overflows or errorsJean-Francois Brousseau
2005-04-11don't include sysexits.h now we don't use those error codesJoris Vink
2005-03-29cvs_file_attach() can fail, make sure we can handle itJoris Vink
2005-01-27since we close the handles to Entries files, we must reopen them to addJean-Francois Brousseau
2005-01-13when warning about unimplemented handlers, do not attempt to printJean-Francois Brousseau
2005-01-06check the return value of a strdup() call and return an error onJean-Francois Brousseau
2004-12-13yet another mistake in the protocol docs...even if we send theJean-Francois Brousseau
2004-12-13free the buffer used to receive a file in the Updated response handlerJean-Francois Brousseau
2004-12-10fix the Copy-file response handler, it seems the CVS protocolJean-Francois Brousseau
2004-12-08simplify the handler for Created, Updated, Update-existing and MergedJean-Francois Brousseau
2004-12-08support for the `Copy-file' responseJean-Francois Brousseau
2004-12-07less whitespace, more pretty. ok jfbTed Unangst
2004-12-07avoid a crash when receiving either a Created, Updated, Update-existingJean-Francois Brousseau
2004-12-06tighten vertical spacing for else; jfb okTheo de Raadt
2004-12-06implement a saner handler for the Removed and Remove-entry responses.Jean-Francois Brousseau