--- parser3/src/include/pa_exec.h 2004/02/11 15:33:14 1.15 +++ parser3/src/include/pa_exec.h 2007/11/14 12:45:38 1.19 @@ -1,14 +1,14 @@ /** @file Parser: program executing for different OS-es decls. - Copyright (c) 2000,2001-2004 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2000,2001-2005 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ #ifndef PA_EXEC_H #define PA_EXEC_H -static const char * const IDENT_EXEC_H="$Date: 2004/02/11 15:33:14 $"; +static const char * const IDENT_EXEC_H="$Date: 2007/11/14 12:45:38 $"; #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; + File_read_result out; + String& err; - PA_exec_result(): status(0) {} + PA_exec_result(): status(0), out(), err(*new String) {} }; PA_exec_result pa_exec(