Coda File System

is this correct? (realm object destructor)

From: <u-codalist-rcma_at_aetey.se>
Date: Fri, 25 Jul 2014 13:58:07 +0200
Hello,

I guess the realm object destructor is not being called ever
but if it would I am unsure whether the call to ReplaceRootServers()
is correct. Shouldn't this instead look as follows:

------------
--- a/coda-src/venus/realm.cc
+++ b/coda-src/venus/realm.cc
@@ -83,7 +83,7 @@ Realm::~Realm(void)
     rec_list_del(&realms);
     if (rootservers) {
        eprint("Removing realm '%s'", name);
-       ReplaceRootServers();
+       ReplaceRootServers(NULL);
     }
 
     /* remove the name entry from /coda */
------------

?

Rune
Received on 2014-07-25 08:03:44