--- parser3/src/include/pa_exec.h 2004/04/15 15:24:46 1.15.4.1 +++ parser3/src/include/pa_exec.h 2004/05/11 15:03:49 1.16 @@ -8,7 +8,7 @@ #ifndef PA_EXEC_H #define PA_EXEC_H -static const char * const IDENT_EXEC_H="$Date: 2004/04/15 15:24:46 $"; +static const char * const IDENT_EXEC_H="$Date: 2004/05/11 15:03:49 $"; #include "pa_string.h" #include "pa_hash.h" @@ -18,10 +18,10 @@ static const char * const IDENT_EXEC_H=" struct PA_exec_result { int status; ///< exit code - String* out; - String* err; + String& out; + String& err; - PA_exec_result(): status(0) {} + PA_exec_result(): status(0), out(*new String), err(*new String) {} }; PA_exec_result pa_exec(