Date: Sun, 3 Jul 2011 16:32:03 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/etc rc.subr Message-ID: <201107031632.p63GWPTg039537@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jilles 2011-07-03 16:32:03 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
etc rc.subr
Log:
SVN rev 223742 on 2011-07-03 16:32:03Z by jilles
MFC r223227: rc.subr: Eliminate about 100 forks from the boot sequence.
With the current sh, placing eval in a command substitution always results
in a fork(), even if it is the only command and only executes a single
simple command. Therefore, avoid it where it can be avoided easily.
Side effect: values starting with a hyphen and all whitespace are preserved.
The values are defaults and names for rc.conf variables and messages to be
given about obsolete ones.
The change in the _echoonce function is not included in this MFC because
stable/8 does not have this function.
Revision Changes Path
1.88.2.17 +4 -4 src/etc/rc.subr
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107031632.p63GWPTg039537>
