Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 209772 | Differences between
and this patch

Collapse All | Expand All

(-)grcompiler/compiler/ParserTreeWalker.cpp (-2 / +2 lines)
Lines 213-221 Link Here
213
		exit(-1);
213
		exit(-1);
214
		case 0 : 
214
		case 0 : 
215
			if (m_verbose)
215
			if (m_verbose)
216
				testexec = execlp(staGdlppFile.c_str(),staGdlppFile.c_str(),"-V",staFileName.c_str(),tmpgdl,0); // this is the code the child runs
216
				testexec = execlp(staGdlppFile.c_str(),staGdlppFile.c_str(),"-V",staFileName.c_str(),tmpgdl,static_cast<const char *>(0)); // this is the code the child runs
217
			else
217
			else
218
				testexec = execlp(staGdlppFile.c_str(),staGdlppFile.c_str(),staFileName.c_str(),tmpgdl,0); // this is 
218
				testexec = execlp(staGdlppFile.c_str(),staGdlppFile.c_str(),staFileName.c_str(),tmpgdl,static_cast<const char *>(0)); // this is 
219
			cout << "// exec retval:" << testexec << ", errno:" << strerror(errno) << "(" << errno << ")\n";
219
			cout << "// exec retval:" << testexec << ", errno:" << strerror(errno) << "(" << errno << ")\n";
220
			cout << "// tmpfile " << tmpgdl << endl;
220
			cout << "// tmpfile " << tmpgdl << endl;
221
			cout << "// file " << staFileName.c_str() << endl;
221
			cout << "// file " << staFileName.c_str() << endl;

Return to bug 209772