commit e8471ef561892f996e0038cb88eb9b8be5a022f4 parent 4c65127bbe5a3a1866ae005be9d5e98d79165a15 Author: rsc <devnull@localhost> Date: Thu, 25 Jan 2007 21:21:15 +0000 no more vtgoodbye Diffstat:
M | src/cmd/vbackup/vbackup.c | | | 9 | ++++++++- |
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/cmd/vbackup/vbackup.c b/src/cmd/vbackup/vbackup.c @@ -345,10 +345,17 @@ threadmain(int argc, char **argv) fsysclose(fsys); diskclose(disk); vtcachefree(zcache); - vtgoodbye(z); + + // Vtgoodbye hangs on Linux - not sure why. + // Probably vtfcallrpc doesn't quite get the + // remote hangup right. Also probably related + // to the vtrecvproc problem below. + // vtgoodbye(z); + // Leak here, because I can't seem to make // the vtrecvproc exit. // vtfreeconn(z); + free(tmpnam); z = nil; zcache = nil;