Temporary sort files are compressed.
[idzebra-moved-to-github.git] / index / main.c
index 7c56296..e0fa497 100644 (file)
@@ -4,7 +4,10 @@
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: main.c,v $
- * Revision 1.12  1995-10-04 16:57:20  adam
+ * Revision 1.13  1995-10-10 12:24:39  adam
+ * Temporary sort files are compressed.
+ *
+ * Revision 1.12  1995/10/04  16:57:20  adam
  * Key input and merge sort in one pass.
  *
  * Revision 1.11  1995/09/29  14:01:45  adam
@@ -61,7 +64,6 @@ int main (int argc, char **argv)
     char *base_name = NULL;
     char *base_path = NULL;
     int nsections;
-    char **mbuf;
 
     prog = *argv;
     while ((ret = options ("r:v:m:", argv, argc, &arg)) != -2)
@@ -130,17 +132,8 @@ int main (int argc, char **argv)
     nsections = key_close ();
     if (!nsections)
         exit (0);
-#if 0
-    logf (LOG_LOG, "Merge sorting");
-    mbuf = xmalloc (100000);
-    merge_sort (mbuf, 1, nsections+1);
-    xfree (mbuf);
-    logf (LOG_LOG, "Input");
-    key_input (FNAME_WORD_DICT, FNAME_WORD_ISAM, "keys1.tmp", 60);
-#else
     logf (LOG_LOG, "Input");
-    key_input2 (FNAME_WORD_DICT, FNAME_WORD_ISAM, nsections, 60);
-#endif
+    key_input (FNAME_WORD_DICT, FNAME_WORD_ISAM, nsections, 60);
     exit (0);
 }