cvs commit: src/usr.bin/make job.c

Max Okumoto okumoto at crater.dragonflybsd.org
Thu Apr 7 00:23:40 PDT 2005


okumoto     2005/04/07 00:23:03 PDT

DragonFly src repository

  Modified files:
    usr.bin/make         job.c 
  Log:
  Date: 2005/04/01 16:24:25
  Date: 2005/04/05 08:32:12
  Date: 2005/04/05 08:40:40
  Date: 2005/04/05 08:43:02
  Date: 2005/04/05 08:44:11
  Date: 2005/04/05 09:09:48
  Date: 2005/04/05 13:33:54
  Author: harti
  
  o Use a type-safe intrusive list to put jobs on the jobs or stoppedJobs
    list instead of the generic Lst.
  
  o The tfile field of struct Job isn't used anymore since revision
    1.22 so remove it now.
  
  o The static tfile is used only in one single function so move it
    into that function.
  
  o Remove unneccessary local prototypes.
  
  o Remove the definition for STATIC and just use static.
  
  o Remove lots if irritating parantheses and fix two comments.
  
  o Put parantheses into 'if (foo && bar & flag)'. While they are not
    strictly needed, they are useful for the human reader.
  
  o There is not much sense in having an else after Punt() and _exit()
    which never return. Also use pid_t for variables holding PIDs.
  
  Revision  Changes    Path
  1.52      +129 -142  src/usr.bin/make/job.c


http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/job.c.diff?r1=1.51&r2=1.52&f=u





More information about the Commits mailing list