Browse Source

Remove testing code

tags/1.9.4
falkTX 11 years ago
parent
commit
75b7ef0553
1 changed files with 0 additions and 13 deletions
  1. +0
    -13
      source/utils/CarlaPipeUtils.hpp

+ 0
- 13
source/utils/CarlaPipeUtils.hpp View File

@@ -121,19 +121,6 @@ public:
argv[3] = pipeRecv; // reading end
argv[4] = pipeSend; // writting end

// TESTING
{
// set to not close on exec
try {
::fcntl(pipe1[0], F_SETFD, ::fcntl(pipe1[0], F_GETFD) & ~FD_CLOEXEC);
::fcntl(pipe1[1], F_SETFD, ::fcntl(pipe1[1], F_GETFD) & ~FD_CLOEXEC);
::fcntl(pipe2[0], F_SETFD, ::fcntl(pipe2[0], F_GETFD) & ~FD_CLOEXEC);
::fcntl(pipe2[1], F_SETFD, ::fcntl(pipe2[1], F_GETFD) & ~FD_CLOEXEC);
} catch (...) {
fail("failed to set pipe to not close on exec");
}
}

//----------------------------------------------------------------
// fork



Loading…
Cancel
Save