]> git.pld-linux.org Git - packages/epic4.git/commitdiff
228bd5f730a01cc7172330e96110330c epic4-0.9.13.tar.bz2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 3 Dec 2000 19:18:45 +0000 (19:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    epic4-0.9.13-patch1 -> 1.1

epic4-0.9.13-patch1 [new file with mode: 0644]

diff --git a/epic4-0.9.13-patch1 b/epic4-0.9.13-patch1
new file mode 100644 (file)
index 0000000..1276a62
--- /dev/null
@@ -0,0 +1,37 @@
+*** timer.c.orig       Thu Nov 30 15:08:21 2000
+--- timer.c    Thu Nov 30 15:14:48 2000
+***************
+*** 183,188 ****
+--- 183,189 ----
+  
+  static       TimerList *     PendingTimers;
+  static       char *          current_exec_timer = empty_string;
++ static       int             parsingtimer = 0;
+  
+  /*
+   * ExecuteTimers:  checks to see if any currently pending timers have
+***************
+*** 196,202 ****
+  {
+       time_t          now;
+       TimerList *     current;
+-         static int   parsingtimer = 0;
+       int             old_from_server = from_server;
+  
+       /*
+--- 197,202 ----
+***************
+*** 530,535 ****
+--- 530,541 ----
+       time_t  current;
+       time_t  timeout_in;
+  
++      /* 
++       * If executing ExecuteTimers here would be invalid, then
++       * do not bother telling the caller we are ready.
++       */
++         if (waiting_out > waiting_in || parsingtimer || !PendingTimers)
++                 return 100000;
+       if (!PendingTimers)
+               return 100000;  /* Absurdly large. */
+       time(&current);
This page took 0.102031 seconds and 4 git commands to generate.