version 1.200, 2007/06/26 02:21:02 |
version 1.201, 2007/06/30 08:23:49 |
|
|
{ |
{ |
char *path1, *path2; |
char *path1, *path2; |
BUF *b1, *b2, *b3; |
BUF *b1, *b2, *b3; |
char rbuf[64]; |
char rbuf[RCS_REV_BUFSZ]; |
|
|
b1 = b2 = b3 = NULL; |
b1 = b2 = b3 = NULL; |
rcsnum_tostr(pb->frev, rbuf, sizeof(rbuf)); |
rcsnum_tostr(pb->frev, rbuf, sizeof(rbuf)); |
|
|
static char * |
static char * |
checkin_getlogmsg(RCSNUM *rev, RCSNUM *rev2, int flags) |
checkin_getlogmsg(RCSNUM *rev, RCSNUM *rev2, int flags) |
{ |
{ |
char *rcs_msg, nrev[16], prev[16]; |
char *rcs_msg, nrev[RCS_REV_BUFSZ], prev[RCS_REV_BUFSZ]; |
const char *prompt = |
const char *prompt = |
"enter log message, terminated with a single '.' or end of file:\n"; |
"enter log message, terminated with a single '.' or end of file:\n"; |
RCSNUM *tmprev; |
RCSNUM *tmprev; |
|
|
static int |
static int |
checkin_update(struct checkin_params *pb) |
checkin_update(struct checkin_params *pb) |
{ |
{ |
char numb1[64], numb2[64]; |
char numb1[RCS_REV_BUFSZ], numb2[RCS_REV_BUFSZ]; |
struct stat st; |
struct stat st; |
BUF *bp; |
BUF *bp; |
|
|
|
|
checkin_init(struct checkin_params *pb) |
checkin_init(struct checkin_params *pb) |
{ |
{ |
BUF *bp; |
BUF *bp; |
char numb[64]; |
char numb[RCS_REV_BUFSZ]; |
int fetchlog = 0; |
int fetchlog = 0; |
struct stat st; |
struct stat st; |
|
|
|
|
static int |
static int |
checkin_attach_symbol(struct checkin_params *pb) |
checkin_attach_symbol(struct checkin_params *pb) |
{ |
{ |
char rbuf[16]; |
char rbuf[RCS_REV_BUFSZ]; |
int ret; |
int ret; |
if (!(pb->flags & QUIET)) |
if (!(pb->flags & QUIET)) |
printf("symbol: %s\n", pb->symbol); |
printf("symbol: %s\n", pb->symbol); |
|
|
static int |
static int |
checkin_revert(struct checkin_params *pb) |
checkin_revert(struct checkin_params *pb) |
{ |
{ |
char rbuf[16]; |
char rbuf[RCS_REV_BUFSZ]; |
|
|
rcsnum_tostr(pb->frev, rbuf, sizeof(rbuf)); |
rcsnum_tostr(pb->frev, rbuf, sizeof(rbuf)); |
|
|