[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/icecream/icecream/daemon
From: David Faure <faure () kde ! org>
Date: 2004-09-01 16:28:15
Message-ID: 20040901162815.761411D90 () office ! kde ! org
[Download RAW message or body]
CVS commit by faure:
More informative than just the assert. The problem was solved by "rm -rf /tmp/icecc-envs" btw.
M +4 -1 environment.cpp 1.24
--- kdenonbeta/icecream/icecream/daemon/environment.cpp #1.23:1.24
@@ -326,5 +326,8 @@ bool install_environment( const std::str
dup2( fds[0], 0 );
- assert( !::access( basename.c_str(), W_OK ) );
+ if( ::access( basename.c_str(), W_OK ) ) {
+ log_perror( basename.c_str() );
+ ::exit( 1 );
+ }
if ( mkdir( dirname.c_str(), 0755 ) && errno != EEXIST ) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic