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

Diff for /src/usr.bin/at/Attic/panic.c between version 1.2 and 1.3

version 1.2, 1996/06/26 05:31:28 version 1.3, 1996/08/03 20:16:57
Line 38 
Line 38 
   
 #include "panic.h"  #include "panic.h"
 #include "at.h"  #include "at.h"
   #include "privs.h"
   
 /* File scope variables */  /* File scope variables */
   
Line 56 
Line 57 
 /* Something fatal has happened, print error message and exit.  /* Something fatal has happened, print error message and exit.
  */   */
         fprintf(stderr, "%s: %s\n", namep, a);          fprintf(stderr, "%s: %s\n", namep, a);
         if (fcreated)          if (fcreated) {
                   PRIV_START
                 unlink(atfile);                  unlink(atfile);
                   PRIV_END
           }
   
         exit(EXIT_FAILURE);          exit(EXIT_FAILURE);
 }  }
Line 69 
Line 73 
 /* Some operating system error; print error message and exit.  /* Some operating system error; print error message and exit.
  */   */
         perror(a);          perror(a);
         if (fcreated)          if (fcreated) {
                   PRIV_START
                 unlink(atfile);                  unlink(atfile);
                   PRIV_END
           }
   
         exit(EXIT_FAILURE);          exit(EXIT_FAILURE);
 }  }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3