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
Using the new ylog.h everywhere, and fixing what that breaks!
[idzebra-moved-to-github.git]
/
dict
/
dictext.c
diff --git
a/dict/dictext.c
b/dict/dictext.c
index
06f13e3
..
c4d3937
100644
(file)
--- a/
dict/dictext.c
+++ b/
dict/dictext.c
@@
-1,4
+1,4
@@
-/* $Id: dictext.c,v 1.9 2002-08-02 19:26:55 adam Exp $
+/* $Id: dictext.c,v 1.10 2004-11-19 10:26:55 heikki Exp $
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
Index Data Aps
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
Index Data Aps
@@
-50,7
+50,7
@@
int main (int argc, char **argv)
inputfile = arg;
else
{
inputfile = arg;
else
{
- logf (LOG_FATAL, "too many files specified\n");
+ yaz_log (YLOG_FATAL, "too many files specified\n");
exit (1);
}
}
exit (1);
}
}
@@
-68,7
+68,7
@@
int main (int argc, char **argv)
use8 = 1;
else
{
use8 = 1;
else
{
- logf (LOG_FATAL, "Unknown option '-%s'", arg);
+ yaz_log (YLOG_FATAL, "Unknown option '-%s'", arg);
exit (1);
}
}
exit (1);
}
}
@@
-77,7
+77,7
@@
int main (int argc, char **argv)
ipf = fopen (inputfile, "r");
if (!ipf)
{
ipf = fopen (inputfile, "r");
if (!ipf)
{
- logf (LOG_FATAL|LOG_ERRNO, "cannot open '%s'", inputfile);
+ yaz_log (YLOG_FATAL|YLOG_ERRNO, "cannot open '%s'", inputfile);
exit (1);
}
}
exit (1);
}
}