projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update various URLs
[idzebra-moved-to-github.git]
/
data1
/
d1_tagset.c
diff --git
a/data1/d1_tagset.c
b/data1/d1_tagset.c
index
b55dfaa
..
9c8860c
100644
(file)
--- a/
data1/d1_tagset.c
+++ b/
data1/d1_tagset.c
@@
-1,8
+1,5
@@
-/* $Id: d1_tagset.c,v 1.10 2007-04-16 08:44:31 adam Exp $
- Copyright (C) 1995-2007
- Index Data ApS
-
-This file is part of the Zebra server.
+/* This file is part of the Zebra server.
+ Copyright (C) Index Data
Zebra is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Zebra is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
@@
-20,6
+17,9
@@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@
-65,7
+65,7
@@
data1_tag *data1_gettagbynum (data1_handle dh, data1_tagset *s,
int type, int value)
{
data1_tag *r;
int type, int value)
{
data1_tag *r;
-
+
for (; s; s = s->next)
{
/* scan local set */
for (; s; s = s->next)
{
/* scan local set */
@@
-173,7
+173,7
@@
data1_tagset *data1_read_tagset (data1_handle dh, const char *file, int type)
fclose(f);
return 0;
}
fclose(f);
return 0;
}
-
+
/* read namelist */
nm = names;
npp = &rr->names;
/* read namelist */
nm = names;
npp = &rr->names;
@@
-204,7
+204,7
@@
data1_tagset *data1_read_tagset (data1_handle dh, const char *file, int type)
else if (!strcmp(cmd, "reference"))
{
char *name;
else if (!strcmp(cmd, "reference"))
{
char *name;
-
+
if (argc != 2)
{
yaz_log(YLOG_WARN, "%s:%d: Bad # args to reference",
if (argc != 2)
{
yaz_log(YLOG_WARN, "%s:%d: Bad # args to reference",
@@
-266,6
+266,7
@@
data1_tagset *data1_read_tagset (data1_handle dh, const char *file, int type)
/*
* Local variables:
* c-basic-offset: 4
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab