Hello,
spawner.c: Invert the operand for timeout to be positive.
type for _entrance_d_sa.sa_flags
Regards.
--
Daniel 'NebuchadnezzaR' Dehennin
R�cup�rer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x2A408F69
Index: src/daemon/spawner.c
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/daemon/spawner.c,v
retrieving revision 1.23
diff -u -r1.23 spawner.c
--- src/daemon/spawner.c 17 Aug 2004 03:40:31 -0000 1.23
+++ src/daemon/spawner.c 5 Dec 2004 15:15:08 -0000
@@ -167,7 +167,7 @@
usleep(100000);
current_time = ecore_time_get();
- if ((start_time - current_time) > 5.0)
+ if ((current_time - start_time) > 5.0)
break;
}
@@ -520,9 +520,9 @@
/* Manually add signal handler for SIGUSR1 */
_entrance_d_sa.sa_handler = _Entranced_SIGUSR;
- _entrance_x_sa.sa_flags = SA_RESTART;
+ _entrance_d_sa.sa_flags = SA_RESTART;
sigemptyset(&_entrance_d_sa.sa_mask);
- _entrance_x_sa.sa_flags = 0;
+ _entrance_d_sa.sa_flags = 0;
sigaction(SIGUSR1, &_entrance_d_sa, NULL);
/* Launch X Server */