Changes.
[idzebra-moved-to-github.git] / index / kdump.c
index cd094bc..c4a7279 100644 (file)
@@ -4,7 +4,16 @@
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: kdump.c,v $
- * Revision 1.10  1996-06-04 14:56:12  quinn
+ * Revision 1.13  1997-09-09 13:38:07  adam
+ * Partial port to WIN95/NT.
+ *
+ * Revision 1.12  1997/09/05 09:52:32  adam
+ * Extra argument added to function chr_read_maptab (tab path).
+ *
+ * Revision 1.11  1996/10/29 14:06:49  adam
+ * Include zebrautl.h instead of alexutil.h.
+ *
+ * Revision 1.10  1996/06/04 14:56:12  quinn
  * Fix
  *
  * Revision 1.9  1996/06/04  14:18:53  quinn
  *
  */
 #include <stdio.h>
+#include <string.h>
 #include <assert.h>
+#ifdef WINDOWS
+#include <io.h>
+#else
 #include <unistd.h>
+#endif
 #include <assert.h>
 
-#include <alexutil.h>
 #include <charmap.h>
 #include "index.h"
 
@@ -133,7 +146,7 @@ int main (int argc, char **argv)
         }
        else if (ret == 'm')
        {
-           if (!(map = chr_read_maptab(arg)))
+           if (!(map = chr_read_maptab (NULL, arg)))
            {
                logf(LOG_FATAL, "Failed to open maptab");
                exit(1);