summaryrefslogtreecommitdiff
path: root/vcl/unx/source/app/saldata.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2003-08-27 15:39:08 +0000
committerKurt Zenker <kz@openoffice.org>2003-08-27 15:39:08 +0000
commita1b7d11738f23dbb3163d573ea2b66526622aef3 (patch)
tree31f6b3d24411330fe3bad6ff99f1176d021f0b23 /vcl/unx/source/app/saldata.cxx
parentdfca738c4d2a14d2e777f0b60d3421ebaa2b668e (diff)
INTEGRATION: CWS geordi2q03 (1.26.30); FILE MERGED
2003/08/27 15:39:18 hr 1.26.30.1: #111934#: join from CWS geordiregression02
Diffstat (limited to 'vcl/unx/source/app/saldata.cxx')
-rw-r--r--vcl/unx/source/app/saldata.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/unx/source/app/saldata.cxx b/vcl/unx/source/app/saldata.cxx
index 18c52e88967d..2a2386b38971 100644
--- a/vcl/unx/source/app/saldata.cxx
+++ b/vcl/unx/source/app/saldata.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: saldata.cxx,v $
*
- * $Revision: 1.28 $
+ * $Revision: 1.29 $
*
- * last change: $Author: kz $ $Date: 2003-08-25 13:55:31 $
+ * last change: $Author: kz $ $Date: 2003-08-27 16:39:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -477,24 +477,24 @@ SalXLib::SalXLib()
int flags;
// set close-on-exec descriptor flag.
- if ((flags = fcntl (pTimeoutFDS_[0], F_GETFD)) != 1)
+ if ((flags = fcntl (pTimeoutFDS_[0], F_GETFD)) != -1)
{
flags |= FD_CLOEXEC;
fcntl (pTimeoutFDS_[0], F_SETFD, flags);
}
- if ((flags = fcntl (pTimeoutFDS_[1], F_GETFD)) != 1)
+ if ((flags = fcntl (pTimeoutFDS_[1], F_GETFD)) != -1)
{
flags |= FD_CLOEXEC;
fcntl (pTimeoutFDS_[1], F_SETFD, flags);
}
// set non-blocking I/O flag.
- if ((flags = fcntl (pTimeoutFDS_[0], F_GETFL)) != 1)
+ if ((flags = fcntl (pTimeoutFDS_[0], F_GETFL)) != -1)
{
flags |= O_NONBLOCK;
fcntl (pTimeoutFDS_[0], F_SETFL, flags);
}
- if ((flags = fcntl (pTimeoutFDS_[1], F_GETFL)) != 1)
+ if ((flags = fcntl (pTimeoutFDS_[1], F_GETFL)) != -1)
{
flags |= O_NONBLOCK;
fcntl (pTimeoutFDS_[1], F_SETFL, flags);