dbus/test test-segfault.c,1.4,1.5

Ralf Habacker rhabacker at kemper.freedesktop.org
Wed Mar 7 10:34:03 PST 2007


Update of /cvs/dbus/dbus/test
In directory kemper:/tmp/cvs-serv22705/test

Modified Files:
	test-segfault.c 
Log Message:
* bus/activation.c: win32 compile fix.
* test/test-segfault.c: win32 compile fix, rlimit isn't available on win32.
* dbus-win.patch: removed some more patches, they are applied or obsolate

Index: test-segfault.c
===================================================================
RCS file: /cvs/dbus/dbus/test/test-segfault.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- test-segfault.c	30 Nov 2005 19:32:26 -0000	1.4
+++ test-segfault.c	7 Mar 2007 18:34:01 -0000	1.5
@@ -1,15 +1,14 @@
 /* This is simply a process that segfaults */
+#include <config.h>
 #include <stdlib.h>
 #include <signal.h>
 
-#include <sys/time.h>
-#include <sys/resource.h>
-
 int
 main (int argc, char **argv)
 {
   char *p;  
 
+#if !defined(DBUS_WIN) && !defined(DBUS_WINCE)
   struct rlimit r = { 0, };
   
   getrlimit (RLIMIT_CORE, &r);
@@ -17,7 +16,7 @@
   setrlimit (RLIMIT_CORE, &r);
   
   raise (SIGSEGV);
-
+#endif
   p = NULL;
   *p = 'a';
   



More information about the dbus-commit mailing list