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

Hartmut Brandt harti at FreeBSD.org
Thu May 12 03:40:57 PDT 2005


harti       2005-05-12 10:40:57 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/make         job.c 
  Log:
  Overhaul the fork(), exec() code. Put all the common handling that
  takes place in the child process in a function ProcExec(). Make sure,
  that the child does not call malloc() or other potential dangerous
  functions (there are still calls to Punt() in the error case that
  should go away). Allocate the argv string via malloc to overcome
  the non-constness bug of the execvp prototype. Change the handling of
  shell meta-characters and move the builtin list near the list of shell
  builtins. Both of these lists should actuall be configurable by the .SHELL
  target since they depend on the shell used.
  
  Patch:          7.21[2-9], 7.22[0-46]
  Submitted by:   Max Okumoto <okumoto at ucsd.edu>
  
  Revision  Changes    Path
  1.100     +226 -171  src/usr.bin/make/job.c


More information about the cvs-src mailing list