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

Diff for /src/usr.bin/cvs/fatal.c between version 1.11 and 1.12

version 1.11, 2007/05/26 23:50:46 version 1.12, 2007/05/29 00:21:51
Line 25 
Line 25 
   
 #include <sys/stat.h>  #include <sys/stat.h>
   
   #include <err.h>
 #include <fcntl.h>  #include <fcntl.h>
 #include <stdlib.h>  #include <stdlib.h>
   
Line 41 
Line 42 
   
         /* Fatal should not loop, (the functions below can fatal). */          /* Fatal should not loop, (the functions below can fatal). */
         if (been_here++)          if (been_here++)
                 goto end;                  errx(1, "fatal loop");
   
         va_start(args, fmt);          va_start(args, fmt);
         cvs_vlog(LP_ABORT, fmt, args);          cvs_vlog(LP_ABORT, fmt, args);
Line 49 
Line 50 
   
         cvs_cleanup();          cvs_cleanup();
   
  end:  
         exit(1);          exit(1);
 }  }

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12