projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
71664fe
)
LFS mode for yaz-marcdump so that it can read large ISO2709 files
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 9 Jun 2005 18:47:07 +0000
(18:47 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 9 Jun 2005 18:47:07 +0000
(18:47 +0000)
util/marcdump.c
patch
|
blob
|
history
diff --git
a/util/marcdump.c
b/util/marcdump.c
index
ca9b324
..
0108bc6
100644
(file)
--- a/
util/marcdump.c
+++ b/
util/marcdump.c
@@
-2,9
+2,11
@@
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: marcdump.c,v 1.30 2005-04-20 13:17:29 adam Exp $
+ * $Id: marcdump.c,v 1.31 2005-06-09 18:47:07 adam Exp $
*/
*/
+#define _FILE_OFFSET_BITS 64
+
#if HAVE_CONFIG_H
#include <config.h>
#endif
#if HAVE_CONFIG_H
#include <config.h>
#endif
@@
-138,7
+140,7
@@
int main (int argc, char **argv)
case 'c':
if (cfile)
fclose (cfile);
case 'c':
if (cfile)
fclose (cfile);
- cfile = fopen (arg, "w");
+ cfile = fopen(arg, "w");
break;
case 'x':
xml = YAZ_MARC_SIMPLEXML;
break;
case 'x':
xml = YAZ_MARC_SIMPLEXML;
@@
-162,7
+164,7
@@
int main (int argc, char **argv)
libxml_dom_test = 1;
break;
case 0:
libxml_dom_test = 1;
break;
case 0:
- inf = fopen (arg, "rb");
+ inf = fopen(arg, "rb");
count = 0;
if (!inf)
{
count = 0;
if (!inf)
{