From: thurston Date: Sat, 12 Jan 2008 00:46:33 +0000 (+0000) Subject: Removed debug message. Fixed const-correctness. X-Git-Tag: 2.0_alpha~165 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3b91f7e66ee96eab9983b610529eee4d44a0cfc3;p=external%2Fragel.git Removed debug message. Fixed const-correctness. git-svn-id: http://svn.complang.org/ragel/trunk@405 052ea7fc-9027-0410-9066-f65837a77df0 --- diff --git a/ragel/main.cpp b/ragel/main.cpp index 072a3a6..75bddc9 100644 --- a/ragel/main.cpp +++ b/ragel/main.cpp @@ -577,12 +577,12 @@ char **makePathChecksWin( const char *progName ) return result; } -void spawn( char *progName, char **pathChecks, +void spawn( const char *progName, char **pathChecks, ArgsVector &args, char *intermed ) { int result = 0; while ( *pathChecks != 0 ) { - cerr << "trying to execute " << *pathChecks << endl; + //cerr << "trying to execute " << *pathChecks << endl; result = _spawnv( _P_WAIT, *pathChecks, args.data ); if ( result >= 0 || errno != ENOENT ) break;