sbase

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

commit 418e4c45e6c3ee60ef9ffe46d1a05dac7f78c76e
parent 4257db1910c9057cb13985ef370cf51ca1730700
Author: sin <sin@2f30.org>
Date:   Thu Apr  9 15:31:41 +0100

Don't close stdin early in sed(1)

Fix by emg.

Diffstat:
sed.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;