Date: Fri, 31 Dec 2010 18:20:17 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/bin/sh redir.c src/tools/regression/bin/sh/errors redirection-error7.0 Message-ID: <201012311820.oBVIKtdd050482@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jilles 2010-12-31 18:20:17 UTC
FreeBSD src repository
Modified files:
bin/sh redir.c
Added files:
tools/regression/bin/sh/errors redirection-error7.0
Log:
SVN rev 216851 on 2010-12-31 18:20:17Z by jilles
sh: Check if dup2 for redirection from/to a file succeeds.
A failure (e.g. caused by ulimit -n being set very low) is a redirection
error.
Example:
ulimit -n 9; exec 9<.
Revision Changes Path
1.33 +6 -1 src/bin/sh/redir.c
1.1 +7 -0 src/tools/regression/bin/sh/errors/redirection-error7.0 (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012311820.oBVIKtdd050482>
