CVS commit by ossi:
#ifdef __linux__ for the crash handler. it compiles on other platforms,
but the functionality is bound to linux' /proc structure.
M +5 -1 main.c 1.64
--- isync/src/main.c #1.63:1.64
@@ -84,4 +84,5 @@ PACKAGE " " VERSION " - mailbox synchron
}
+#ifdef __linux__
static void
crashHandler( int n )
@@ -111,4 +112,5 @@ crashHandler( int n )
exit( 3 );
}
+#endif
static int
@@ -439,4 +441,5 @@ main( int argc, char **argv )
}
+#ifdef __linux__
if (DFlags & DEBUG) {
signal( SIGSEGV, crashHandler );
@@ -444,4 +447,5 @@ main( int argc, char **argv )
signal( SIGILL, crashHandler );
}
+#endif
if (merge_ops( cops, mvars->ops ))
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel