For ICU, locale, is a char ptr rather than uint8_t ptr.
[yaz-moved-to-github.git] / util / marcdump.c
index 967fdd7..e65aed5 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (C) 1995-2007, Index Data ApS
  * See the file LICENSE for details.
  *
- * $Id: marcdump.c,v 1.51 2007-03-19 14:40:08 adam Exp $
+ * $Id: marcdump.c,v 1.53 2007-09-23 07:40:13 adam Exp $
  */
 
 #define _FILE_OFFSET_BITS 64
@@ -52,7 +52,7 @@ static void usage(const char *prog)
 {
     fprintf (stderr, "Usage: %s [-c cfile] [-f from] [-t to] "
              "[-i format] [-o format] "
-             "[-n] [-l pos=value] [-v] [-C chunk] [-s splitfname] file...\n",
+             "[-n] [-l pos=value] [-v] [-C chunk] [-s splitfname] [-p] file...\n",
              prog);
 } 
 
@@ -328,7 +328,6 @@ int main (int argc, char **argv)
     const char *leader_spec = 0;
     int write_using_libxml2 = 0;
 
-    nmem_init();
 #if HAVE_LOCALE_H
     setlocale(LC_CTYPE, "");
 #endif
@@ -443,7 +442,6 @@ int main (int argc, char **argv)
     }
     if (cfile)
         fclose (cfile);
-    nmem_exit();
     if (!no)
     {
         usage(prog);