1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 12:25:09 +03:00

applied patch for FreeBSD by Julio Merino, closing #104475 Daniel

* xmlcatalog.c xmllint.c: applied patch for FreeBSD by
  Julio Merino, closing #104475
Daniel
This commit is contained in:
Daniel Veillard 2003-01-26 19:49:04 +00:00
parent ea3f398c39
commit 3be27518c9
3 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Sun Jan 26 20:47:26 CET 2003 Daniel Veillard <daniel@veillard.com>
* xmlcatalog.c xmllint.c: applied patch for FreeBSD by
Julio Merino, closing #104475
Sun Jan 26 20:38:43 CET 2003 Daniel Veillard <daniel@veillard.com>
* relaxng.c: more work on Relax-NG

View File

@ -41,7 +41,9 @@ static char *filename;
#ifdef LIBXML_CATALOG_ENABLED
#ifndef XML_SGML_DEFAULT_CATALOG
#define XML_SGML_DEFAULT_CATALOG "/etc/sgml/catalog"
#endif
/************************************************************************
* *

View File

@ -85,6 +85,10 @@
#include <libxml/globals.h>
#include <libxml/xmlreader.h>
#ifndef XML_XML_DEFAULT_CATALOG
#define XML_XML_DEFAULT_CATALOG "file:///etc/xml/catalog"
#endif
#ifdef LIBXML_DEBUG_ENABLED
static int shell = 0;
static int debugent = 0;
@ -1171,7 +1175,7 @@ static void usage(const char *name) {
#ifdef LIBXML_CATALOG_ENABLED
printf("\t--catalogs : use SGML catalogs from $SGML_CATALOG_FILES\n");
printf("\t otherwise XML Catalogs starting from \n");
printf("\t file:///etc/xml/catalog are activated by default\n");
printf("\t " XML_XML_DEFAULT_CATALOG " are activated by default\n");
printf("\t--nocatalogs: deactivate all catalogs\n");
#endif
printf("\t--auto : generate a small doc on the fly\n");