[Xorp-cvs] XORP cvs commit: xorp/libxorp
Bruce Simpson
bms@icir.org
Sat, 5 Nov 2005 18:08:17 GMT
CVSROOT: /usr/local/www/data/cvs
Module name: xorp
Changes by: bms@xorpc.icir.org 2005-11-05 18:08:17 UTC
XORP CVS repository
Modified files:
libxorp popen.cc
Log message:
Since we stopped using 'sh -c' to execute all external commands,
popen2() broke under Win32; fix the underlying problem.
Force argv[0] to be quoted with double quotes.
Apply the MSVCRT quoting rules to the rest of any command line
arguments which we pass to CreateProcess().
With this change, the RunCommand regression test now
passes on Win32 again.
Revision Changes Path
1.9 +42 -33; commitid: 13971436cf4e77ea6; xorp/libxorp/popen.cc