Commit efe6c74d authored by Daniel Veillard's avatar Daniel Veillard
Browse files

applied patch from Stefan Kost Daniel

* xmlcatalog.c: applied patch from Stefan Kost
Daniel
parent 38c53ecb
Fri Dec 12 15:55:15 CET 2003 Daniel Veillard <daniel@veillard.com>
* xmlcatalog.c: applied patch from Stefan Kost
Thu Dec 11 15:15:31 CET 2003 Daniel Veillard <daniel@veillard.com>
 
* doc/examples/testWriter.c: applied small fix from Lucas Brasilino
......
......@@ -38,7 +38,7 @@ static int add = 0;
static int del = 0;
static int convert = 0;
static int verbose = 0;
static char *filename;
static char *filename = NULL;
#ifndef XML_SGML_DEFAULT_CATALOG
......@@ -556,7 +556,7 @@ int main(int argc, char **argv) {
}
}
if ((!sgml) && ((add) || (del) || (create) || (convert))) {
if (noout) {
if (noout && filename && *filename) {
FILE *out;
out = fopen(filename, "w");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment