plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 64044a070aab10224b1ccfc1a974887d5ec0c7aa
parent bbbc97b008d49b99cb0f1abdc6aee17a77086326
Author: rsc <devnull@localhost>
Date:   Sun, 21 Mar 2004 20:42:11 +0000

Initialization bug reported by Taj Khattra.

Diffstat:
Msrc/cmd/9term/9term.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c @@ -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{