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

Diff for /src/usr.bin/cvs/rcs.c between version 1.137 and 1.138

version 1.137, 2006/03/07 19:17:57 version 1.138, 2006/03/08 05:01:50
Line 1111 
Line 1111 
                                 dlp = TAILQ_PREV(dlp, cvs_tqh, l_list);                                  dlp = TAILQ_PREV(dlp, cvs_tqh, l_list);
                         } else if (dlp->l_lineno < lineno) {                          } else if (dlp->l_lineno < lineno) {
                                 if (((ndlp = TAILQ_NEXT(dlp, l_list)) == NULL) ||                                  if (((ndlp = TAILQ_NEXT(dlp, l_list)) == NULL) ||
                                     (ndlp->l_lineno > lineno))                                      (ndlp->l_lineno > lineno))
                                         break;                                          break;
                                 dlp = ndlp;                                  dlp = ndlp;
                         }                          }
Line 2731 
Line 2731 
                         /* end the expansion */                          /* end the expansion */
                         if (mode & RCS_KWEXP_NAME)                          if (mode & RCS_KWEXP_NAME)
                                 strlcat(expbuf, "$", sizeof(expbuf));                                  strlcat(expbuf, "$", sizeof(expbuf));
   
                         sizdiff = strlen(expbuf) - (end - start);                          sizdiff = strlen(expbuf) - (end - start);
                         tbuf = xmalloc(strlen(end) + 1);                          tbuf = xmalloc(strlen(end) + 1);
                         strlcpy(tbuf, end, strlen(end) + 1);                          strlcpy(tbuf, end, strlen(end) + 1);
Line 2921 
Line 2921 
                 expanded = rcs_expand_keywords(rf->rf_path, rdp,                  expanded = rcs_expand_keywords(rf->rf_path, rdp,
                     tbuf, len, expmode);                      tbuf, len, expmode);
                 bp = cvs_buf_alloc(len, BUF_AUTOEXT);                  bp = cvs_buf_alloc(len, BUF_AUTOEXT);
                 cvs_buf_set(bp, expanded, strlen(expanded), 0);                  cvs_buf_set(bp, expanded, strlen(expanded), 0);
                 xfree(expanded);                  xfree(expanded);
         }          }
         return (bp);          return (bp);

Legend:
Removed from v.1.137  
changed lines
  Added in v.1.138