diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-05-22 16:13:46 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-05-22 16:45:40 (GMT) |
commit | bbf3361d42c85d9da712e0261ecc87d62a29e403 (patch) | |
tree | 2a72545b2ba6cc3e2bec1a8ff91f9777dbb6c1c7 | |
parent | 37b0711beb909f3d0bd6f2420aa44bc49e786cd5 (diff) | |
download | Qt-bbf3361d42c85d9da712e0261ecc87d62a29e403.zip Qt-bbf3361d42c85d9da712e0261ecc87d62a29e403.tar.gz Qt-bbf3361d42c85d9da712e0261ecc87d62a29e403.tar.bz2 |
Remove IRIX code.
IRIX is no longer supported, so I won't bother fixing this part of the
code.
Reviewed-by: Oswald Buddenhagen
-rw-r--r-- | src/corelib/io/qprocess_unix.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/corelib/io/qprocess_unix.cpp b/src/corelib/io/qprocess_unix.cpp index c39588c..b06e217 100644 --- a/src/corelib/io/qprocess_unix.cpp +++ b/src/corelib/io/qprocess_unix.cpp @@ -385,17 +385,10 @@ static void qt_create_pipe(int *pipe) qt_native_close(pipe[0]); if (pipe[1] != -1) qt_native_close(pipe[1]); -#ifdef Q_OS_IRIX - if (::socketpair(AF_UNIX, SOCK_STREAM, 0, pipe) == -1) { - qWarning("QProcessPrivate::createPipe: Cannot create pipe %p: %s", - pipe, qPrintable(qt_error_string(errno))); - } -#else if (::pipe(pipe) != 0) { qWarning("QProcessPrivate::createPipe: Cannot create pipe %p: %s", pipe, qPrintable(qt_error_string(errno))); } -#endif ::fcntl(pipe[0], F_SETFD, FD_CLOEXEC); ::fcntl(pipe[1], F_SETFD, FD_CLOEXEC); } |