mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-27 03:21:26 +03:00
applied patch from Stefan Kost Daniel
* xmlcatalog.c: applied patch from Stefan Kost Daniel
This commit is contained in:
parent
38c53ecb60
commit
efe6c74dfb
@ -1,3 +1,7 @@
|
||||
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");
|
||||
|
Loading…
Reference in New Issue
Block a user