From 8449363fb13a589979f66d2e9a180e9958ffcdd3 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Sun, 9 Jan 2005 16:05:10 +0000 Subject: [PATCH] oops previous patch could break build Daniel * libxslt/extensions.c: oops previous patch could break build Daniel --- ChangeLog | 4 + doc/libxslt-api.xml | 220 +++++++++++++++++++++++----------------------- doc/xsltproc.1 | 4 +- libxslt/extensions.c | 6 +- libxslt/xsltwin32config.h | 4 +- 5 files changed, 123 insertions(+), 115 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8657a35..563f345 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sun Jan 9 17:04:23 CET 2005 Daniel Veillard + + * libxslt/extensions.c: oops previous patch could break build + Sun Jan 9 16:41:59 CET 2005 Daniel Veillard * configure.in win32/configure.js libxslt/extensions.c diff --git a/doc/libxslt-api.xml b/doc/libxslt-api.xml index 73ac2c9..19fb858 100644 --- a/doc/libxslt-api.xml +++ b/doc/libxslt-api.xml @@ -19,59 +19,59 @@ - - - - + + + + interface for the extension support This provide the API needed for simple and module extension support. Daniel Veillard - - + + + + + + + + + + + + + + + + + + + - - - + - - - - - + - - - - - + - - - - - - - + - interface for the non-standard features @@ -93,10 +93,10 @@ Daniel Veillard and Bjorn Reese <breese@users.sourceforge.net> - - + + @@ -109,12 +109,12 @@ Daniel Veillard - - - + + + interface for the key matching used in key() and template matches. @@ -133,12 +133,12 @@ Daniel Veillard - - - + + + Implementation of the XSLT number functions @@ -160,12 +160,12 @@ - - - + + + precomputing stylesheets @@ -206,11 +206,11 @@ This set of routine encapsulates XPath calls and Attribute Value Templates evaluation. Daniel Veillard - + - + @@ -222,33 +222,33 @@ This module implements the bulk of the actual Daniel Veillard - - - - - - - - + - - - + + + + + + + + + + + - @@ -261,12 +261,12 @@ - + - + @@ -294,39 +294,39 @@ Daniel Veillard - - - + + + - - - - + + + + + + + + + + + - - - - - - - @@ -349,41 +349,41 @@ - + + - - - - - - + + + + + + + + + + - - - - - - + macros for marking symbols as exportable/importable. @@ -401,39 +401,39 @@ Daniel Veillard - - - - + + + - - - - - - - - - + + + + + + + + + + + + - - @@ -442,44 +442,44 @@ - - - - - - - - - + - - + - - - + + + + + + + + + + + + diff --git a/doc/xsltproc.1 b/doc/xsltproc.1 index 4883a5b..721c75a 100644 --- a/doc/xsltproc.1 +++ b/doc/xsltproc.1 @@ -54,7 +54,7 @@ Output each step taken by xsltproc in processing the stylesheet and the document .TP \fB\-o\fR or \fB\-\-output\fR \fIfile\fR -Direct output to the file named \fIfile\fR\&. For multiple outputs, also known as "chunking", \fB\-o\fR \fBdirectory/\fR directs the output files to a specified directory\&. The directory must already exist\&. +Direct output to the file named \fIfile\fR\&. For multiple outputs, also known as "chunking", \fB\-o\fR \fBdirectory/\fR directs the output files to a specified directory\&. The directory must already exist\&. .TP \fB\-\-timing\fR @@ -110,7 +110,7 @@ Use the SGML catalog specified in \fBSGML_CATALOG_FILES\fR to resolve the locati .TP \fB\-\-xinclude\fR -Process the input document using the Xinclude specification\&. More details on this can be found in the Xinclude specification: http://www\&.w3\&.org/TR/xinclude/: \fIhttp://www.w3.org/TR/xinclude/\fR +Process the input document using the Xinclude specification\&. More details on this can be found in the Xinclude specification: http://www\&.w3\&.org/TR/xinclude/: \fIhttp://www.w3.org/TR/xinclude/\fR .TP \fB\-\-profile\fR or \fB\-\-norman\fR diff --git a/libxslt/extensions.c b/libxslt/extensions.c index 696c28f..e703c79 100644 --- a/libxslt/extensions.c +++ b/libxslt/extensions.c @@ -290,6 +290,10 @@ xsltFreeExtElement(xsltExtElementPtr ext) #ifdef WITH_MODULES typedef void (*exsltRegisterFunction) (void); +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif + /** * xsltExtModuleRegisterDynamic: * @URI: the function or element namespace URI @@ -336,7 +340,7 @@ xsltExtModuleRegisterDynamic(const xmlChar * URI) return (-1); /* determine module directory */ - extDirectory = getenv("LIBXSLT_PLUGINS_PATH"); + extDirectory = getenv(BAD_CAST "LIBXSLT_PLUGINS_PATH"); if (NULL == extDirectory) extDirectory = LIBXSLT_DEFAULT_PLUGINS_PATH(); if (NULL == extDirectory) diff --git a/libxslt/xsltwin32config.h b/libxslt/xsltwin32config.h index 6cce123..136dd56 100644 --- a/libxslt/xsltwin32config.h +++ b/libxslt/xsltwin32config.h @@ -44,7 +44,7 @@ extern "C" { * * extra version information, used to show a CVS compilation */ -#define LIBXML_VERSION_EXTRA "-CVS977" +#define LIBXML_VERSION_EXTRA "-CVS978" /** * WITH_XSLT_DEBUG: @@ -62,7 +62,7 @@ extern "C" { * * Whether module support is configured into libxslt */ -#if 0 +#if 1 #ifndef WITH_MODULES #define WITH_MODULES #endif -- 2.7.4