projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Work.
[yaz-moved-to-github.git]
/
util
/
marcdump.c
diff --git
a/util/marcdump.c
b/util/marcdump.c
index
2eddc42
..
e1e9e9a
100644
(file)
--- a/
util/marcdump.c
+++ b/
util/marcdump.c
@@
-4,7
+4,10
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: marcdump.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: marcdump.c,v $
- * Revision 1.3 1995-05-16 08:51:12 quinn
+ * Revision 1.4 1995-11-01 13:55:05 quinn
+ * Minor adjustments
+ *
+ * Revision 1.3 1995/05/16 08:51:12 quinn
* License, documentation, and memory fixes
*
* Revision 1.2 1995/05/15 11:56:56 quinn
* License, documentation, and memory fixes
*
* Revision 1.2 1995/05/15 11:56:56 quinn
@@
-19,7
+22,7
@@
#include <stdlib.h>
#include <errno.h>
#include <marcdisp.h>
#include <stdlib.h>
#include <errno.h>
#include <marcdisp.h>
-#include <dmalloc.h>
+#include <xmalloc.h>
#ifndef SEEK_SET
#define SEEK_SET 0
#ifndef SEEK_SET
#define SEEK_SET 0
@@
-60,10
+63,10
@@
int main (int argc, char **argv)
*argv, argv[1], strerror (errno));
exit (1);
}
*argv, argv[1], strerror (errno));
exit (1);
}
- buf = malloc (file_size);
+ buf = xmalloc (file_size);
if (!buf)
{
if (!buf)
{
- fprintf (stderr, "%s: cannot malloc: %s\n",
+ fprintf (stderr, "%s: cannot xmalloc: %s\n",
*argv, strerror (errno));
exit (1);
}
*argv, strerror (errno));
exit (1);
}