Enlightenment CVS committal
Author : moom
Project : e17
Module : apps/eclair
Dir : e17/apps/eclair/src
Modified Files:
eclair.c
Log Message:
Eclair is officially no longer maintained. I will probably work on
Emphasis rather.
Should it be moved outside e17/apps ?
===================================================================
RCS file: /cvs/e/e17/apps/eclair/src/eclair.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -3 -r1.29 -r1.30
--- eclair.c 2 Oct 2005 09:09:11 -0000 1.29
+++ eclair.c 22 Feb 2007 22:53:41 -0000 1.30
@@ -20,8 +20,6 @@
static Evas_Bool _eclair_create_playlist_container_object(Eclair *eclair,
Eclair_Window *window);
static Evas_Bool _eclair_create_cover_object(Eclair *eclair, Eclair_Window
*window);
static void _eclair_add_inter_windows_callbacks(Eclair *eclair);
-static void _eclair_sig_pregest();
-static void _eclair_on_segv(int num);
//Initialize eclair
Evas_Bool eclair_init(Eclair *eclair, int *argc, char ***argv)
@@ -696,38 +694,9 @@
}
}
-//Handle segvs
-static void _eclair_sig_pregest()
-{
- struct sigaction sa;
-
- sa.sa_handler = _eclair_on_segv;
- sigaction(SIGSEGV, &sa, (struct sigaction *)0);
-}
-
-//Display a message on segvs
-static void _eclair_on_segv(int num)
-{
- fprintf(stderr, "\n\n");
- fprintf(stderr, "Oops, eclair has crashed (SIG: %d) :(\n", num);
- fprintf(stderr, "\n");
- fprintf(stderr, "Have you compiled the latest version of eclair, emotion,
evas, and all eclair dependencies ?\n");
- fprintf(stderr, "If it failed again, please report bugs to Mo0m ([EMAIL
PROTECTED])\n");
- fprintf(stderr, "Describe how bugs happened, gdb traces, and so on ;)\n");
- fprintf(stderr, "\n");
- fprintf(stderr, "With that, devs will be able to correct bugs faster and
easier\n");
- fprintf(stderr, "If you correct the bug, or see in which code part it can
provide, include it too\n");
- fprintf(stderr, "\n");
- fprintf(stderr, "Thanks :)\n");
-
- exit(128 + num);
-}
-
int main(int argc, char *argv[])
{
Eclair eclair;
-
- _eclair_sig_pregest();
if (!eclair_init(&eclair, &argc, &argv))
return 1;
-------------------------------------------------------------------------
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
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs