version 1.66, 2007/06/27 20:42:19 |
version 1.67, 2007/06/28 21:38:09 |
|
|
cvs_client_sendfile(struct cvs_file *cf) |
cvs_client_sendfile(struct cvs_file *cf) |
{ |
{ |
size_t len; |
size_t len; |
char rev[16], timebuf[64], sticky[32]; |
char rev[CVS_REV_BUFSZ], timebuf[CVS_TIME_BUFSZ], sticky[32]; |
|
|
if (cf->file_type != CVS_FILE) |
if (cf->file_type != CVS_FILE) |
return; |
return; |
|
|
{ |
{ |
CVSENTRIES *entlist; |
CVSENTRIES *entlist; |
struct cvs_ent *ent, *newent; |
struct cvs_ent *ent, *newent; |
char *dir, *e, entry[CVS_ENT_MAXLINELEN], rev[16], timebuf[64]; |
char *dir, *e, entry[CVS_ENT_MAXLINELEN], rev[CVS_REV_BUFSZ]; |
char sticky[CVS_ENT_MAXLINELEN]; |
char sticky[CVS_ENT_MAXLINELEN], timebuf[CVS_TIME_BUFSZ]; |
|
|
if (data == NULL) |
if (data == NULL) |
fatal("Missing argument for Checked-in"); |
fatal("Missing argument for Checked-in"); |
|
|
struct cvs_ent *e; |
struct cvs_ent *e; |
const char *errstr; |
const char *errstr; |
struct timeval tv[2]; |
struct timeval tv[2]; |
char timebuf[32], repo[MAXPATHLEN], *rpath, entry[CVS_ENT_MAXLINELEN]; |
char repo[MAXPATHLEN], entry[CVS_ENT_MAXLINELEN]; |
char *en, *mode, revbuf[32], *len, *fpath, *wdir; |
char timebuf[CVS_TIME_BUFSZ], revbuf[CVS_REV_BUFSZ]; |
|
char *en, *mode, *len, *fpath, *rpath, *wdir; |
|
|
if (data == NULL) |
if (data == NULL) |
fatal("Missing argument for Updated"); |
fatal("Missing argument for Updated"); |
|
|
CVSENTRIES *ent; |
CVSENTRIES *ent; |
const char *errstr; |
const char *errstr; |
struct timeval tv[2]; |
struct timeval tv[2]; |
char timebuf[32], *repo, *rpath, *entry, *mode; |
char timebuf[CVS_TIME_BUFSZ], *repo, *rpath, *entry, *mode; |
char *len, *fpath, *wdir; |
char *len, *fpath, *wdir; |
|
|
if (data == NULL) |
if (data == NULL) |