mirror of
https://github.com/darlinghq/darling-libxml2.git
synced 2025-02-11 13:07:07 +00: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:
parent
ea3f398c39
commit
3be27518c9
@ -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
|
||||
|
@ -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
|
||||
|
||||
/************************************************************************
|
||||
* *
|
||||
|
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user