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

Diff for /src/usr.bin/cvs/util.c between version 1.115 and 1.116

version 1.115, 2007/09/04 19:07:04 version 1.116, 2007/09/09 20:24:06
Line 38 
Line 38 
 #include "cvs.h"  #include "cvs.h"
 #include "remote.h"  #include "remote.h"
   
   extern int print_stdout;
   
 /* letter -> mode type map */  /* letter -> mode type map */
 static const int cvs_modetypes[26] = {  static const int cvs_modetypes[26] = {
         -1, -1, -1, -1, -1, -1,  1, -1, -1, -1, -1, -1, -1,          -1, -1, -1, -1, -1, -1,  1, -1, -1, -1, -1, -1, -1,
Line 501 
Line 503 
 {  {
         FILE *fp;          FILE *fp;
         char *s, fpath[MAXPATHLEN];          char *s, fpath[MAXPATHLEN];
   
           /* During checkout -p, do not use any locally available files. */
           if (cvs_cmdop == CVS_OP_CHECKOUT && print_stdout) {
                   dst[0] = '\0';
                   if (strlcat(dst, dir, len) >= len)
                           fatal("cvs_get_repository_name: truncation");
                   return;
           }
   
         (void)xsnprintf(fpath, sizeof(fpath), "%s/%s",          (void)xsnprintf(fpath, sizeof(fpath), "%s/%s",
             dir, CVS_PATH_REPOSITORY);              dir, CVS_PATH_REPOSITORY);

Legend:
Removed from v.1.115  
changed lines
  Added in v.1.116