summaryrefslogtreecommitdiff
path: root/sal/osl/unx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-02-29 21:02:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-03-01 10:43:56 +0000
commit05a8216d03b5db559e01dd1808f2805df31c970a (patch)
treebf3c841aad4dd36eb4cde4c6fd4bbff5f769bc60 /sal/osl/unx
parent7029ccec25bc0b15f9cea463ea3713e802eafc08 (diff)
STAR_ENABLE_FILE_LOCKING was a secret
Diffstat (limited to 'sal/osl/unx')
-rw-r--r--sal/osl/unx/file.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/file.cxx b/sal/osl/unx/file.cxx
index b8a851f5a84d..c513f601a582 100644
--- a/sal/osl/unx/file.cxx
+++ b/sal/osl/unx/file.cxx
@@ -837,7 +837,7 @@ struct Locking_Impl
Locking_Impl() : m_enabled(0)
{
#ifndef HAVE_O_EXLOCK
- m_enabled = ((getenv("SAL_ENABLE_FILE_LOCKING") != 0) || (getenv("STAR_ENABLE_FILE_LOCKING") != 0));
+ m_enabled = (getenv("SAL_ENABLE_FILE_LOCKING") != 0);
#endif /* HAVE_O_EXLOCK */
}
};