Author: adrian.chadd
Date: Sun May  3 00:20:28 2009
New Revision: 14027

Modified:
    branches/LUSCA_HEAD/tools/ufs_log_build.c

Log:

Remove unused code; add a comment about what this tool actually
does at the present time.



Modified: branches/LUSCA_HEAD/tools/ufs_log_build.c
==============================================================================
--- branches/LUSCA_HEAD/tools/ufs_log_build.c   (original)
+++ branches/LUSCA_HEAD/tools/ufs_log_build.c   Sun May  3 00:20:28 2009
@@ -1,3 +1,13 @@
+
+/*
+ * This program provides the "rebuild" logic for a UFS spool.
+ *
+ * It will scan a UFS style directory for valid looking swap files
+ * and spit out a new style swap log to STDOUT.
+ *
+ * Adrian Chadd <[email protected]>
+ */
+
  #include "config.h"

  #if HAVE_INTTYPES_H
@@ -74,22 +84,6 @@
        re->hdr_size = -1;
        re->file_size = -1;
        re->swap_filen = -1;
-}
-
-const char *
-storeKeyText(const unsigned char *key)
-{
-       static char buf[64];
-       char b2[4];
-
-       buf[0] = '\0';
-
-       int i;
-       for (i = 0; i < 16; i++) {
-               sprintf(b2, "%02X", *(key + i));
-               strcat(buf, b2);
-       }
-       return buf;
  }

  static int

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to