Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 May 2005 10:40:57 +0000 (UTC)
From:      Hartmut Brandt <harti@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/make job.c
Message-ID:  <200505121040.j4CAevQu057999@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@ucsd.edu>
  
  Revision  Changes    Path
  1.100     +226 -171  src/usr.bin/make/job.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505121040.j4CAevQu057999>