X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=util%2Fmarcdisp.c;h=b915f4f21040fbc2b14953f1ed77a71898de1b46;hp=714c5617c9198918d739d69f96f099ab36ee58e2;hb=2d978ce2c9706142728e61af13294613b417ec44;hpb=7d093cf64e6045cf14dbf199f8cdf6b808dd3b65 diff --git a/util/marcdisp.c b/util/marcdisp.c index 714c561..b915f4f 100644 --- a/util/marcdisp.c +++ b/util/marcdisp.c @@ -1,10 +1,22 @@ /* - * Copyright (C) 1994, Index Data I/S - * All rights reserved. + * Copyright (c) 1995, Index Data + * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * * $Log: marcdisp.c,v $ - * Revision 1.1 1995-04-10 10:28:46 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 + * License, documentation, and memory fixes + * + * Revision 1.1 1995/04/10 10:28:46 quinn * Added copy of CCL and MARC display * */ @@ -42,6 +54,8 @@ int marc_display (const char *buf, FILE *outf) int length_starting; int length_implementation; + if (!outf) + outf = stdout; record_length = atoi_n (buf, 5); if (record_length < 25) return -1;