]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r203576,r203677: sh: Don't stat() $MAIL/$MAILPATH if not interactive.
authorjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 20 Apr 2010 22:52:28 +0000 (22:52 +0000)
committerjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 20 Apr 2010 22:52:28 +0000 (22:52 +0000)
commit583a69849f6b72ebfa0a8f2d50839ac1b0823397
tree5d4741019ed49f5a1f4dc8852d706faa3a6c0f48
parent573631d664332d15afc2f427c64593845aba34f3
MFC r203576,r203677: sh: Don't stat() $MAIL/$MAILPATH if not interactive.

These may be NFS mounted, and we should not touch them unless we are going
to do something useful with the information.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206950 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
bin/sh/main.c
bin/sh/var.c
tools/regression/bin/sh/parameters/mail1.0 [new file with mode: 0644]
tools/regression/bin/sh/parameters/mail2.0 [new file with mode: 0644]