[PATCH xorg-gtest 05/11] xserver: don't push the program name into the argument list

Peter Hutterer peter.hutterer at who-t.net
Wed Aug 15 23:36:38 PDT 2012


Process:Start() does this for us.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 src/xserver.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/xserver.cpp b/src/xserver.cpp
index 0d2ace1..8647443 100644
--- a/src/xserver.cpp
+++ b/src/xserver.cpp
@@ -336,7 +336,6 @@ void xorg::testing::XServer::Start(const std::string &program) {
   std::vector<std::string> args;
   std::map<std::string, std::string>::iterator it;
 
-  args.push_back(program);
   args.push_back(std::string(GetDisplayString()));
 
   for (it = d_->options.begin(); it != d_->options.end(); it++) {
-- 
1.7.11.2



More information about the xorg-devel mailing list