[svn] commit: r4050 - in /branches/trac451/src: bin/auth/config.cc lib/datasrc/memory_datasrc.h

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Dec 28 19:09:40 UTC 2010


Author: vorner
Date: Tue Dec 28 19:09:39 2010
New Revision: 4050

Log:
TODO comment

Modified:
    branches/trac451/src/bin/auth/config.cc
    branches/trac451/src/lib/datasrc/memory_datasrc.h

Modified: branches/trac451/src/bin/auth/config.cc
==============================================================================
--- branches/trac451/src/bin/auth/config.cc (original)
+++ branches/trac451/src/bin/auth/config.cc Tue Dec 28 19:09:39 2010
@@ -159,6 +159,12 @@
                       << " already exists");
         }
 
+        /*
+         * TODO: Once we have better reloading of configuration (something
+         * else than throwing everything away and loading it again), we will
+         * need the load method to be split into some kind of build and
+         * commit/abort parts.
+         */
         new_zone->load(file->stringValue());
     }
 }

Modified: branches/trac451/src/lib/datasrc/memory_datasrc.h
==============================================================================
--- branches/trac451/src/lib/datasrc/memory_datasrc.h (original)
+++ branches/trac451/src/lib/datasrc/memory_datasrc.h Tue Dec 28 19:09:39 2010
@@ -116,6 +116,10 @@
     /// is kept).
     ///
     /// \param filename The master file to load.
+    ///
+    /// \todo We may need to split it to some kind of build and commit/abort.
+    ///     This will probably be needed when a better implementation of
+    ///     configuration reloading is written.
     void load(const std::string& filename);
 private:
     /// \name Hidden private data




More information about the bind10-changes mailing list