]> andersk Git - moira.git/commitdiff
added out_of_mem() and members declaration
authormar <mar>
Mon, 11 Sep 1989 11:45:03 +0000 (11:45 +0000)
committermar <mar>
Mon, 11 Sep 1989 11:45:03 +0000 (11:45 +0000)
dbck/dbck.qc

index 13f04607071e71513c534c47fa0844dee208d153..b950375935c556b5467fc7c0de978855b3dbd0c0 100644 (file)
@@ -22,7 +22,8 @@ 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, *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 2.06513 seconds and 5 git commands to generate.