Kaydet (Commit) 0982db35 authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

INTEGRATION: CWS reportcompfix2 (1.17.8); FILE MERGED

2004/06/14 10:47:42 hro 1.17.8.1: #i29559# Fixed solaris compiler bug
üst 9bd2fbfa
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: main.cxx,v $ * $RCSfile: main.cxx,v $
* *
* $Revision: 1.17 $ * $Revision: 1.18 $
* *
* last change: $Author: rt $ $Date: 2004-06-02 14:49:41 $ * last change: $Author: hr $ $Date: 2004-06-28 14:04:59 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -973,7 +973,10 @@ static string get_environment_string( const char *pEnvName ) ...@@ -973,7 +973,10 @@ static string get_environment_string( const char *pEnvName )
{ {
const char *pEnvValue = getenv( pEnvName ); const char *pEnvValue = getenv( pEnvName );
return pEnvValue ? string(pEnvValue) : string(""); if ( pEnvValue )
return pEnvValue;
else
return "";
} }
static string read_from_file( const string& rFileName ) static string read_from_file( const string& rFileName )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment