[Midnightbsd-cvs] src: util.c: On sigint or sigquit, return an error from mport_xsystem so

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Jun 5 01:12:13 EDT 2011


Log Message:
-----------
On sigint or sigquit, return an error from mport_xsystem so we know something happened. This has to do with system(3) behavior.  I still wonder if this should be a hand roled solution due to environmnt "sanity"

Cache the  getsysctlbyname call so we don't make all these expensive calls.  It speeds up ports that do a lot of @exec statements in the plist.

Modified Files:
--------------
    src/lib/libmport:
        util.c (r1.26 -> r1.27)
        (http://cvsweb.midnightbsd.org/src/lib/libmport/util.c?r1=1.26&r2=1.27)


More information about the Midnightbsd-cvs mailing list