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
Added log_mask_str_x routine.
[yaz-moved-to-github.git]
/
util
/
marcdisp.c
diff --git
a/util/marcdisp.c
b/util/marcdisp.c
index
88f400e
..
b915f4f
100644
(file)
--- a/
util/marcdisp.c
+++ b/
util/marcdisp.c
@@
-4,7
+4,13
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: marcdisp.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: marcdisp.c,v $
- * Revision 1.3 1995-09-27 15:03:03 quinn
+ * Revision 1.5 1997-05-01 15:08:15 adam
+ * Added log_mask_str_x routine.
+ *
+ * Revision 1.4 1995/09/29 17:12:34 quinn
+ * Smallish
+ *
+ * Revision 1.3 1995/09/27 15:03:03 quinn
* Modified function heads & prototypes.
*
* Revision 1.2 1995/05/16 08:51:12 quinn
* Modified function heads & prototypes.
*
* Revision 1.2 1995/05/16 08:51:12 quinn
@@
-37,7
+43,7
@@
int atoi_n (const char *buf, int len)
return val;
}
return val;
}
-int MDF marc_display (const char *buf, FILE *outf)
+int marc_display (const char *buf, FILE *outf)
{
int entry_p;
int record_length;
{
int entry_p;
int record_length;
@@
-48,6
+54,8
@@
int MDF marc_display (const char *buf, FILE *outf)
int length_starting;
int length_implementation;
int length_starting;
int length_implementation;
+ if (!outf)
+ outf = stdout;
record_length = atoi_n (buf, 5);
if (record_length < 25)
return -1;
record_length = atoi_n (buf, 5);
if (record_length < 25)
return -1;