DragonFly-2.1.1.508.g3efac master bin/sh var.c

Simon Schubert corecode at crater.dragonflybsd.org
Thu Feb 5 02:09:45 PST 2009


commit 3efac031e58ccfe488cfb1668185468aa929b10f
Author: Simon Schubert <corecode at dragonflybsd.org>
Date:   Thu Feb 5 10:34:50 2009 +0100

    sh: export the default PATH instead of keeping it private
    
    sh specifies a default setting for PATH if none is set in the
    environment, but up to now it didn't export this setting.  This leads to
    strange effects, like sh being able to execute binaries in /usr/sbin,
    but which(1) not being able to find them.  Export PATH to create more
    symmetry and harmony.

Summary of changes:
 bin/sh/var.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3efac031e58ccfe488cfb1668185468aa929b10f


-- 
DragonFly BSD source repository





More information about the Commits mailing list