Fix a segfault by only constructing the prompt when we need to. If we don't
authorMatt Kraai <kraai@debian.org>
Fri, 5 Jan 2001 02:53:11 +0000 (02:53 -0000)
committerMatt Kraai <kraai@debian.org>
Fri, 5 Jan 2001 02:53:11 +0000 (02:53 -0000)
commitdefcd5e75eec72aa31e9bdbd9ac854832318f82f
treeef1e9912dd104fc6b2b8238431aad6a065d56c9c
parent6c6ea6cba2aee7b116dc3d5a64f511fb97468cd1
Fix a segfault by only constructing the prompt when we need to.  If we don't
do this we will segfault processing /etc/.profile since cwd isn't yet set.
lash.c
sh.c
shell/lash.c