Changeset View
Changeset View
Standalone View
Standalone View
src/ioslaves/file/file.cpp
Show First 20 Lines • Show All 157 Lines • ▼ Show 20 Line(s) | 130 | { | |||
---|---|---|---|---|---|
158 | } | 158 | } | ||
159 | 159 | | |||
160 | return perms; | 160 | return perms; | ||
161 | } | 161 | } | ||
162 | 162 | | |||
163 | FileProtocol::FileProtocol(const QByteArray &pool, const QByteArray &app) | 163 | FileProtocol::FileProtocol(const QByteArray &pool, const QByteArray &app) | ||
164 | : SlaveBase(QByteArrayLiteral("file"), pool, app), mFile(nullptr) | 164 | : SlaveBase(QByteArrayLiteral("file"), pool, app), mFile(nullptr) | ||
165 | { | 165 | { | ||
166 | testMode = !qEnvironmentVariableIsEmpty("KIOSLAVE_FILE_ENABLE_TESTMODE"); | ||||
166 | } | 167 | } | ||
167 | 168 | | |||
168 | FileProtocol::~FileProtocol() | 169 | FileProtocol::~FileProtocol() | ||
169 | { | 170 | { | ||
170 | } | 171 | } | ||
171 | 172 | | |||
172 | #if HAVE_POSIX_ACL | 173 | #if HAVE_POSIX_ACL | ||
173 | static QString aclToText(acl_t acl) | 174 | static QString aclToText(acl_t acl) | ||
▲ Show 20 Lines • Show All 1400 Lines • Show Last 20 Lines |