Enlightenment CVS committal

Author  : tsauerbeck
Project : misc
Module  : embrace

Dir     : misc/embrace/src


Modified Files:
        embrace.c 


Log Message:
cleaned up embrace_signal_get() a bit
===================================================================
RCS file: /cvsroot/enlightenment/misc/embrace/src/embrace.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- embrace.c   1 Apr 2004 19:23:58 -0000       1.4
+++ embrace.c   4 Apr 2004 20:24:07 -0000       1.5
@@ -1,5 +1,5 @@
 /*
- * $Id: embrace.c,v 1.4 2004/04/01 19:23:58 tsauerbeck Exp $
+ * $Id: embrace.c,v 1.5 2004/04/04 20:24:07 tsauerbeck Exp $
  *
  * Copyright (C) 2004 Embrace project.
  *
@@ -567,8 +567,8 @@
 
 int embrace_signal_get ()
 {
-       last_signal++;
-       assert (last_signal > SIGRTMIN && last_signal != _NSIG);
+       assert (last_signal >= SIGRTMIN);
+       assert (last_signal < SIGRTMAX);
 
-       return last_signal;
+       return ++last_signal;
 }




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to