--- parser3/src/targets/apache13/modules/extra/Attic/mod_parser3.C 2001/09/18 16:05:43 1.42 +++ parser3/src/targets/apache13/modules/extra/Attic/mod_parser3.C 2001/10/09 14:25:30 1.48 @@ -2,10 +2,10 @@ Parser: apache 1.3 module. Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexander Petrosyan (http://design.ru/paf) + + $Id: mod_parser3.C,v 1.48 2001/10/09 14:25:30 parser Exp $ */ -static const char *RCSId="$Id: mod_parser3.C,v 1.42 2001/09/18 16:05:43 parser Exp $"; #include "httpd.h" #include "http_config.h" @@ -32,6 +32,31 @@ static const char *RCSId="$Id: mod_parse # define PARSER3_MODULE parser3_module #endif +// consts + +extern const char *main_RCSIds[]; +#ifdef USE_SMTP +extern const char *smtp_RCSIds[]; +#endif +extern const char *gd_RCSIds[]; +extern const char *classes_RCSIds[]; +extern const char *types_RCSIds[]; +extern const char *ApacheModuleParser3_RCSIds[]; +const char **RCSIds[]={ + main_RCSIds, +#ifdef USE_SMTP + smtp_RCSIds, +#endif + gd_RCSIds, + classes_RCSIds, + types_RCSIds, + ApacheModuleParser3_RCSIds, +#ifdef XML + xalan_patched_RCSIds, +#endif + 0 +}; + /// apache parser module configuration [httpd.conf + .htaccess-es] struct Parser_module_config { @@ -97,7 +122,8 @@ void SAPI::log(Pool& pool, const char *f va_list args; va_start(args,fmt); char buf[MAX_STRING]; - vsnprintf(buf, MAX_STRING, fmt, args); + size_t size=vsnprintf(buf, MAX_STRING, fmt, args); + remove_crlf(buf, buf+size); ap_log_rerror(0, 0, APLOG_ERR | APLOG_NOERRNO, r, "%s", buf); va_end(args); } @@ -596,3 +622,12 @@ module MODULE_VAR_EXPORT PARSER3_MODULE 0, /* [8] fixups */ 0 /* [10] logger */ }; + +#if defined(_MSC_VER) +# define APACHE_WIN32_SRC "/parser3project/win32apache13/src" +# ifdef _DEBUG +# pragma comment(lib, APACHE_WIN32_SRC "/CoreD/ApacheCore.lib") +# else +# pragma comment(lib, APACHE_WIN32_SRC "/CoreR/ApacheCore.lib") +# endif +#endif