tno more vtgoodbye - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit e8471ef561892f996e0038cb88eb9b8be5a022f4
 (DIR) parent 4c65127bbe5a3a1866ae005be9d5e98d79165a15
 (HTM) 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(-)
       ---
 (DIR) diff --git a/src/cmd/vbackup/vbackup.c b/src/cmd/vbackup/vbackup.c
       t@@ -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;