--- parser3/src/targets/cgi/parser3.C 2001/09/05 09:22:45 1.109 +++ parser3/src/targets/cgi/parser3.C 2001/09/07 17:21:06 1.110.4.1 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) */ -static const char *RCSId="$Id: parser3.C,v 1.109 2001/09/05 09:22:45 parser Exp $"; +static const char *RCSId="$Id: parser3.C,v 1.110.4.1 2001/09/07 17:21:06 parser Exp $"; #include "pa_config_includes.h" @@ -20,9 +20,6 @@ static const char *RCSId="$Id: parser3.C #include "pa_socks.h" #include "pa_version.h" -// helper macros - -#define STRINGIZE(name) #name //#define DEBUG_POOL_MALLOC // consts @@ -278,7 +275,7 @@ int main(int argc, char *argv[]) { // some root-controlled location #ifdef SYSCONFDIR - const char *root_auto_path=STRINGIZE(SYSCONFDIR); + const char *root_auto_path=SYSCONFDIR; #else # ifdef WIN32 // c:\windows @@ -290,6 +287,7 @@ int main(int argc, char *argv[]) { #endif // beside by binary + // @todo full path, not ./! static char site_auto_path[MAX_STRING]; strncpy(site_auto_path, argv0, MAX_STRING-1); site_auto_path[MAX_STRING-1]=0; // filespec of my binary if(!(