[BACK]Return to job.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / make

Diff for /src/usr.bin/make/job.h between version 1.2 and 1.3

version 1.2, 1996/06/26 05:36:34 version 1.3, 1996/11/30 21:08:57
Line 1 
Line 1 
 /*      $OpenBSD$       */  /*      $OpenBSD$       */
 /*      $NetBSD: job.h,v 1.4 1995/06/14 15:19:26 christos Exp $ */  /*      $NetBSD: job.h,v 1.5 1996/11/06 17:59:10 christos Exp $ */
   
 /*  /*
  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.   * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
Line 38 
Line 38 
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF   * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.   * SUCH DAMAGE.
  *   *
  *      from: @(#)job.h 5.3 (Berkeley) 6/1/90   *      from: @(#)job.h 8.1 (Berkeley) 6/6/93
  */   */
   
 /*-  /*-
Line 54 
Line 54 
 /*  /*
  * The SEL_ constants determine the maximum amount of time spent in select   * The SEL_ constants determine the maximum amount of time spent in select
  * before coming out to see if a child has finished. SEL_SEC is the number of   * before coming out to see if a child has finished. SEL_SEC is the number of
  * seconds and SEL_USEC is the number of micro-seconds   * seconds and SEL_USEC is the number of micro-seconds
  */   */
 #define SEL_SEC         0  #define SEL_SEC         0
 #define SEL_USEC        500000  #define SEL_USEC        500000
   
   
 /*-  /*-
  * Job Table definitions.   * Job Table definitions.
  *   *
  * Each job has several things associated with it:   * Each job has several things associated with it:
  *      1) The process id of the child shell   *      1) The process id of the child shell
Line 82 
Line 82 
  *      6) An identifier provided by and for the exclusive use of the   *      6) An identifier provided by and for the exclusive use of the
  *         Rmt module.   *         Rmt module.
  *      7) A word of flags which determine how the module handles errors,   *      7) A word of flags which determine how the module handles errors,
  *         echoing, etc. for the job   *         echoing, etc. for the job
  *   *
  * The job "table" is kept as a linked Lst in 'jobs', with the number of   * The job "table" is kept as a linked Lst in 'jobs', with the number of
  * active jobs maintained in the 'nJobs' variable. At no time will this   * active jobs maintained in the 'nJobs' variable. At no time will this
  * exceed the value of 'maxJobs', initialized by the Job_Init function.   * exceed the value of 'maxJobs', initialized by the Job_Init function.
  *   *
  * When a job is finished, the Make_Update function is called on each of the   * When a job is finished, the Make_Update function is called on each of the
  * parents of the node which was just remade. This takes care of the upward   * parents of the node which was just remade. This takes care of the upward
Line 108 
Line 108 
                                  * if we can't export it and maxLocal is 0 */                                   * if we can't export it and maxLocal is 0 */
 #define JOB_IGNDOTS     0x008   /* Ignore "..." lines when processing  #define JOB_IGNDOTS     0x008   /* Ignore "..." lines when processing
                                  * commands */                                   * commands */
 #define JOB_REMOTE      0x010   /* Job is running remotely */  #define JOB_REMOTE      0x010   /* Job is running remotely */
 #define JOB_FIRST       0x020   /* Job is first job for the node */  #define JOB_FIRST       0x020   /* Job is first job for the node */
 #define JOB_REMIGRATE   0x040   /* Job needs to be remigrated */  #define JOB_REMIGRATE   0x040   /* Job needs to be remigrated */
 #define JOB_RESTART     0x080   /* Job needs to be completely restarted */  #define JOB_RESTART     0x080   /* Job needs to be completely restarted */
Line 196 
Line 196 
     char          *errCheck;    /* string to turn error checking on */      char          *errCheck;    /* string to turn error checking on */
     char          *ignErr;      /* string to turn off error checking */      char          *ignErr;      /* string to turn off error checking */
     /*      /*
      * command-line flags       * command-line flags
      */       */
     char          *echo;        /* echo commands */      char          *echo;        /* echo commands */
     char          *exit;        /* exit on error */      char          *exit;        /* exit on error */

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