[BACK]Return to ci.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / rcs

Diff for /src/usr.bin/rcs/ci.c between version 1.200 and 1.201

version 1.200, 2007/06/26 02:21:02 version 1.201, 2007/06/30 08:23:49
Line 344 
Line 344 
 {  {
         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));
Line 405 
Line 405 
 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;
Line 439 
Line 439 
 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;
   
Line 614 
Line 614 
 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;
   
Line 734 
Line 734 
 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);
Line 771 
Line 771 
 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));
   

Legend:
Removed from v.1.200  
changed lines
  Added in v.1.201