Index: /trunk/ChangeLog
===================================================================
--- /trunk/ChangeLog	(revision 1229)
+++ /trunk/ChangeLog	(revision 1230)
@@ -3,4 +3,9 @@
 ========
  * adds support for PHP_5_5
+
+3.0.2 2013-??-??
+ChangeLog
+========
+ * fixes #297: segv on startup under sparc, ini setting overflow
 
 3.0.1 2013-01-11
Index: /trunk/NEWS
===================================================================
--- /trunk/NEWS	(revision 1229)
+++ /trunk/NEWS	(revision 1230)
@@ -1,5 +1,9 @@
-3.1.1 2012-??-??
+3.1.0 2012-??-??
 ========
  * adds support for PHP_5_5
+
+3.0.2 2013-??-??
+========
+ * bug fixes
 
 3.0.1 2013-01-11
Index: /trunk/xcache.c
===================================================================
--- /trunk/xcache.c	(revision 1229)
+++ /trunk/xcache.c	(revision 1230)
@@ -37,5 +37,7 @@
 /* {{{ globals */
 static char *xc_coredump_dir = NULL;
-static zend_bool xc_coredump_type = 0;
+#ifdef ZEND_WIN32
+static zend_ulong xc_coredump_type = 0;
+#endif
 static zend_bool xc_disable_on_crash = 0;
 
@@ -721,5 +723,7 @@
 PHP_INI_BEGIN()
 	PHP_INI_ENTRY1     ("xcache.coredump_directory",      "", PHP_INI_SYSTEM, xcache_OnUpdateString,   &xc_coredump_dir)
+#ifdef ZEND_WIN32
 	PHP_INI_ENTRY1     ("xcache.coredump_type",          "0", PHP_INI_SYSTEM, xcache_OnUpdateULong,    &xc_coredump_type)
+#endif
 	PHP_INI_ENTRY1_EX  ("xcache.disable_on_crash",       "0", PHP_INI_SYSTEM, xcache_OnUpdateBool,     &xc_disable_on_crash, zend_ini_boolean_displayer_cb)
 	PHP_INI_ENTRY1_EX  ("xcache.test",                   "0", PHP_INI_SYSTEM, xcache_OnUpdateBool,     &xc_test,             zend_ini_boolean_displayer_cb)
