|
|
@@ -1,6 +1,6 @@
|
|
|
Index: src/Makefile
|
|
|
---- src/Makefile.orig 2011-10-14 17:54:25.000000000 +0200
|
|
|
-+++ src/Makefile 2011-10-16 08:24:57.000000000 +0200
|
|
|
+--- src/Makefile.orig 2011-11-28 11:22:08.000000000 +0100
|
|
|
++++ src/Makefile 2011-11-28 19:42:28.000000000 +0100
|
|
|
@@ -25,11 +25,11 @@
|
|
|
endif
|
|
|
|
|
|
@@ -24,9 +24,32 @@ Index: src/Makefile
|
|
|
|
|
|
32bit:
|
|
|
@echo ""
|
|
|
+Index: src/debug.c
|
|
|
+--- src/debug.c.orig 2011-11-28 11:22:08.000000000 +0100
|
|
|
++++ src/debug.c 2011-11-28 19:46:44.000000000 +0100
|
|
|
+@@ -337,7 +337,9 @@
|
|
|
+ }
|
|
|
+
|
|
|
+ void _redisAssert(char *estr, char *file, int line) {
|
|
|
++#ifdef HAVE_BACKTRACE
|
|
|
+ bugReportStart();
|
|
|
++#endif
|
|
|
+ redisLog(REDIS_WARNING,"=== ASSERTION FAILED ===");
|
|
|
+ redisLog(REDIS_WARNING,"==> %s:%d '%s' is not true",file,line,estr);
|
|
|
+ #ifdef HAVE_BACKTRACE
|
|
|
+@@ -350,7 +352,9 @@
|
|
|
+ }
|
|
|
+
|
|
|
+ void _redisPanic(char *msg, char *file, int line) {
|
|
|
++#ifdef HAVE_BACKTRACE
|
|
|
+ bugReportStart();
|
|
|
++#endif
|
|
|
+ redisLog(REDIS_WARNING,"!!! Software Failure. Press left mouse button to continue");
|
|
|
+ redisLog(REDIS_WARNING,"Guru Meditation: %s #%s:%d",msg,file,line);
|
|
|
+ #ifdef HAVE_BACKTRACE
|
|
|
Index: src/mkreleasehdr.sh
|
|
|
---- src/mkreleasehdr.sh.orig 2011-10-14 17:54:25.000000000 +0200
|
|
|
-+++ src/mkreleasehdr.sh 2011-10-16 08:22:40.000000000 +0200
|
|
|
+--- src/mkreleasehdr.sh.orig 2011-11-28 11:22:08.000000000 +0100
|
|
|
++++ src/mkreleasehdr.sh 2011-11-28 19:42:28.000000000 +0100
|
|
|
@@ -1,6 +1,6 @@
|
|
|
#!/bin/sh
|
|
|
GIT_SHA1=`(git show-ref --head --hash=8 2> /dev/null || echo 00000000) | head -n1`
|