tcsh/tcsh-6.15.00-pipe.dif

16 lines
303 B
Plaintext

---
sh.dol.c | 2 ++
1 file changed, 2 insertions(+)
--- sh.dol.c
+++ sh.dol.c 2016-11-25 08:00:30.455106978 +0000
@@ -428,6 +428,8 @@ Dgetdol(void)
size_t cbp = 0;
int old_pintr_disabled;
+ memset(&cbuf[0], 0, sizeof(cbuf));
+
for (;;) {
int len;
ssize_t res;