--- parser3/src/main/pa_exec.C 2002/11/20 11:11:11 1.42 +++ parser3/src/main/pa_exec.C 2002/11/22 10:28:42 1.45 @@ -7,7 +7,7 @@ @todo setrlimit */ -static const char* IDENT_EXEC_C="$Date: 2002/11/20 11:11:11 $"; +static const char* IDENT_EXEC_C="$Date: 2002/11/22 10:28:42 $"; #include "pa_config_includes.h" @@ -302,7 +302,7 @@ static void append_env_pair(const Hash:: string << key << "=" << *static_cast(value); char ***env_ref=static_cast(info); - **env_ref=string.cstr(String::UL_PASSAPPENED); (*env_ref)++; + **env_ref=string.cstr(String::UL_UNSPECIFIED); (*env_ref)++; #endif } @@ -331,7 +331,7 @@ int pa_exec( if(env) { String string(env->pool()); env->for_each(append_env_pair, &string); - env_cstr=string.cstr(); + env_cstr=string.cstr(String::UL_UNSPECIFIED); } if(DWORD error=CreateHiddenConsoleProcess(cmd, env_cstr, &pi, &hInWrite, &hOutRead, &hErrRead)) { char szErrorDesc[MAX_STRING]; @@ -420,7 +420,7 @@ from http://www.apache.org/websrc/cvsweb if(pid) { // in child const char *in_cstr=in.cstr(); - if(*in) // there is some in data + if(*in_cstr) // there is some in data write(pipe_write, in_cstr, in.size()); close(pipe_write); read_pipe(out, pipe_read, file_spec_cstr, String::UL_AS_IS);