[CalendarServer-changes] [13278] twext/trunk/twext/python/launchd.py
source_changes at macosforge.org
source_changes at macosforge.org
Tue Apr 15 11:29:09 PDT 2014
Revision: 13278
http://trac.calendarserver.org//changeset/13278
Author: wsanchez at apple.com
Date: 2014-04-15 11:29:09 -0700 (Tue, 15 Apr 2014)
Log Message:
-----------
static char* const, not static const char*.
Fixes SEGFAULT.
Modified Paths:
--------------
twext/trunk/twext/python/launchd.py
Modified: twext/trunk/twext/python/launchd.py
===================================================================
--- twext/trunk/twext/python/launchd.py 2014-04-15 18:28:17 UTC (rev 13277)
+++ twext/trunk/twext/python/launchd.py 2014-04-15 18:29:09 UTC (rev 13278)
@@ -40,9 +40,9 @@
ffi.cdef(
"""
- static const char* LAUNCH_KEY_CHECKIN;
- static const char* LAUNCH_JOBKEY_LABEL;
- static const char* LAUNCH_JOBKEY_SOCKETS;
+ static char* const LAUNCH_KEY_CHECKIN;
+ static char* const LAUNCH_JOBKEY_LABEL;
+ static char* const LAUNCH_JOBKEY_SOCKETS;
typedef enum {
LAUNCH_DATA_DICTIONARY = 1,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140415/98ca45e0/attachment.html>
More information about the calendarserver-changes
mailing list