]> andersk Git - moira.git/blobdiff - dbck/dbck.qc
handle type MUL filesystems and filesys owners better
[moira.git] / dbck / dbck.qc
index 3bcc7d4de96c4d68640ece205be94968f01e4c0e..b56b0ebf7c0258492cc1c5b033449cc20c7f437e 100644 (file)
@@ -1,6 +1,6 @@
 /* $Header$
  *
- * SMS database consistency checker
+ * Moira database consistency checker
  *
  *  (c) Copyright 1988 by the Massachusetts Institute of Technology.
  *  For copying and distribution information, please see the file
@@ -22,9 +22,10 @@ int mode = MODE_ASK;
 int fast = 0;
 int warn = 1;
 int abort = 0;
-struct hash *users, *machines, *clusters, *lists, *filesys, *nfsphys, *strings;
+struct hash *users, *machines, *clusters, *lists, *filesys, *nfsphys;
+struct hash *strings, *members;
 ##int dcmenable;
-struct save_queue *modtables;
+struct save_queue *modtables, *sq_create();
 int interrupt();
 
 
@@ -170,3 +171,13 @@ cleanup()
 ##  replace values (value = dcmenable) where values.name = "dcm_enable"
 ##  exit
 ##}
+
+
+out_of_mem(msg)
+char *msg;
+{
+    fprintf(stderr, "Out of memory while %s\n", msg);
+##  end transaction    
+    cleanup();
+    exit(1);
+}
This page took 0.03267 seconds and 4 git commands to generate.