about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-07-30T09·49+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-07-30T09·49+0000
commit83075304e5639dcab3d386eb7813c73b97c67685 (patch)
tree416717b4b23d4efabb9365c05d9f23459c9f9a4e /src
parent1cb030736ec1e844b3bfce32def3725c8a422a1c (diff)
* Don't make the builder executable.
Diffstat (limited to 'src')
-rw-r--r--src/exec.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/exec.cc b/src/exec.cc
index 016dbaeddf73..5d7140827462 100644
--- a/src/exec.cc
+++ b/src/exec.cc
@@ -86,10 +86,6 @@ void runProgram(const string & program, Environment env)
             if (dup2(STDERR_FILENO, STDOUT_FILENO) == -1)
                 throw SysError("cannot dup stderr into stdout");
 
-            /* Make the program executable.  !!! hack. */
-            if (chmod(program.c_str(), 0755))
-                throw SysError("cannot make program executable");
-
             /* Execute the program.  This should not return. */
             execle(program.c_str(), baseNameOf(program).c_str(), 0, env2);