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

Diff for /src/usr.bin/cvs/Attic/conf.y between version 1.4 and 1.5

version 1.4, 2004/11/26 16:23:50 version 1.5, 2004/11/28 15:12:17
Line 504 
Line 504 
         char *nfmt;          char *nfmt;
         va_list vap;          va_list vap;
   
         va_start(vap, fmt);  
   
         if (asprintf(&nfmt, "%s:%d: %s", conf_file, yylval.lineno, fmt) == -1) {          if (asprintf(&nfmt, "%s:%d: %s", conf_file, yylval.lineno, fmt) == -1) {
                 cvs_log(LP_ERRNO, "failed to allocate message buffer");                  cvs_log(LP_ERRNO, "failed to allocate message buffer");
                 return (-1);                  return (-1);
         }          }
   
           va_start(vap, fmt);
         cvs_vlog(LP_ERR, nfmt, vap);          cvs_vlog(LP_ERR, nfmt, vap);
           va_end(vap);
   
         free(nfmt);          free(nfmt);
         va_end(vap);  
         return (0);          return (0);
   
 }  }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5