tcsh/tcsh-6.15.00-pipe.dif

12 lines
245 B
Plaintext

--- sh.dol.c
+++ sh.dol.c 2007-07-13 12:39:27.390018042 +0200
@@ -421,6 +421,8 @@ Dgetdol(void)
size_t cbp = 0;
int old_pintr_disabled;
+ memset(&cbuf[0], 0, sizeof(cbuf));
+
for (;;) {
int len;
ssize_t res;