summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-05-09 10:54:32 -0700
committerRichard Linden <none@none>2013-05-09 10:54:32 -0700
commitd8f00dd1d1d40ec387583575149b1bf9bae79f32 (patch)
tree22cee677483ffd4cb6a5f2b63af0fcb7ae9020b6 /indra/llcommon
parent0e93223aebbf5809a7ea09e20960feebd82dabf8 (diff)
MAINT-2665 FIX Crashes not being reported in some cases
made marker file lock use append, not truncate
Diffstat (limited to 'indra/llcommon')
-rwxr-xr-xindra/llcommon/llapr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llcommon/llapr.h b/indra/llcommon/llapr.h
index 034546c3f3..752574c65d 100755
--- a/indra/llcommon/llapr.h
+++ b/indra/llcommon/llapr.h
@@ -182,8 +182,10 @@ typedef LLAtomic32<S32> LLAtomicS32;
// abbreviated flags
#define LL_APR_R (APR_READ) // "r"
#define LL_APR_W (APR_CREATE|APR_TRUNCATE|APR_WRITE) // "w"
+#define LL_APR_A (APR_CREATE|APR_WRITE|APR_APPEND) // "w"
#define LL_APR_RB (APR_READ|APR_BINARY) // "rb"
#define LL_APR_WB (APR_CREATE|APR_TRUNCATE|APR_WRITE|APR_BINARY) // "wb"
+#define LL_APR_AB (APR_CREATE|APR_WRITE|APR_BINARY|APR_APPEND)
#define LL_APR_RPB (APR_READ|APR_WRITE|APR_BINARY) // "r+b"
#define LL_APR_WPB (APR_CREATE|APR_TRUNCATE|APR_READ|APR_WRITE|APR_BINARY) // "w+b"