tInitialization bug reported by Taj Khattra. - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 64044a070aab10224b1ccfc1a974887d5ec0c7aa
DIR parent bbbc97b008d49b99cb0f1abdc6aee17a77086326
HTML Author: rsc <devnull@localhost>
Date: Sun, 21 Mar 2004 20:42:11 +0000
Initialization bug reported by Taj Khattra.
Diffstat:
M src/cmd/9term/9term.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c
t@@ -1536,6 +1536,7 @@ plumb(uint q0, uint q1)
pm->dst = 0;
pm->wdir = strdup(w);
pm->type = strdup("text");
+ pm->data = nil;
if(q1 > q0)
pm->attr = nil;
else{