aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vbackup
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2007-01-25 21:21:15 +0000
committerrsc <devnull@localhost>2007-01-25 21:21:15 +0000
commite8471ef561892f996e0038cb88eb9b8be5a022f4 (patch)
tree74ccb8d424307b6ded631f341334cd70f810e6ce /src/cmd/vbackup
parent4c65127bbe5a3a1866ae005be9d5e98d79165a15 (diff)
downloadplan9port-e8471ef561892f996e0038cb88eb9b8be5a022f4.tar.gz
plan9port-e8471ef561892f996e0038cb88eb9b8be5a022f4.tar.bz2
plan9port-e8471ef561892f996e0038cb88eb9b8be5a022f4.zip
no more vtgoodbye
Diffstat (limited to 'src/cmd/vbackup')
-rw-r--r--src/cmd/vbackup/vbackup.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/cmd/vbackup/vbackup.c b/src/cmd/vbackup/vbackup.c
index 4c9fd386..42e4f7ba 100644
--- 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;