[Xorp-cvs] XORP cvs commit: xorp/libxorp

Pavlin Radoslavov pavlin@icir.org
Sun, 15 Jan 2006 21:19:05 GMT


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin@xorpc.icir.org	2006-01-15 21:19:05 UTC

XORP CVS repository


Modified files:
	libxorp       popen.cc 

Log message:
	If execve() fails, then don't call any function that may corrupt
	the state of the parent process, otherwise the result is
	unpredictable.
	
	This fixes a run-time error when attempting to execute a non-existing
	program if the code was compiled with gcc-2.95.4.

Revision  Changes                              Path
1.15      +5 -5;  commitid: 599a43cabbc07ea6;  xorp/libxorp/popen.cc