sbase

suckless unix tools
git clone git://git.suckless.org/sbase
Log | Files | Refs | README | LICENSE

commit ea819714c22e5a7feed13107b6e1662b3a6412cd
parent dd395693d40f01a4634a73fc74b358c60c641d1b
Author: sin <sin@2f30.org>
Date:   Thu,  9 Apr 2015 15:31:41 +0100

Don't close stdin early in sed(1)

Fix by emg.

Diffstat:
Msed.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sed.c b/sed.c @@ -1105,7 +1105,7 @@ next_file(void) if (file == stdin) clearerr(file); - if (file) + else if (file) fshut(file, "<file>"); file = NULL;