Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jun 2011 21:50:28 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/bin/sh eval.c src/tools/regression/bin/sh/expansion cmdsubst11.0
Message-ID:  <201106162151.p5GLpIci080885@repoman.freebsd.org>

index | next in thread | raw e-mail

jilles      2011-06-16 21:50:28 UTC

  FreeBSD src repository

  Modified files:
    bin/sh               eval.c 
  Added files:
    tools/regression/bin/sh/expansion cmdsubst11.0 
  Log:
  SVN rev 223163 on 2011-06-16 21:50:28Z by jilles
  
  sh: Reduce unnecessary forks with eval.
  
  The eval special builtin now runs the code with EV_EXIT if it was run
  with EV_EXIT itself.
  
  In particular, this eliminates one fork when a command substitution contains
  an eval command that ends with an external program or a subshell.
  
  This is similar to what r220978 did for functions.
  
  Revision  Changes    Path
  1.110     +2 -1      src/bin/sh/eval.c
  1.1       +5 -0      src/tools/regression/bin/sh/expansion/cmdsubst11.0 (new)


help

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