Author: wlux
Date: Wed Jul 20 16:05:11 2016
New Revision: 40029

URL: http://svn.gna.org/viewcvs/gnustep?rev=40029&view=rev
Log:
In EcConsole, pass distantFuture to -runMode:beforeDate: to prevent
returning immediately from the run loop after recent gnustep-base
changes.

Modified:
    libs/ec/trunk/ChangeLog
    libs/ec/trunk/EcConsole.m

Modified: libs/ec/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/ec/trunk/ChangeLog?rev=40029&r1=40028&r2=40029&view=diff
==============================================================================
--- libs/ec/trunk/ChangeLog     (original)
+++ libs/ec/trunk/ChangeLog     Wed Jul 20 16:05:11 2016
@@ -1,3 +1,9 @@
+2016-07-20  Wolfgang Lux  <[email protected]>
+
+       * EcConsole.m (-ecRun): Pass distantFuture to -runMode:beforeDate:
+       to prevent returning immediately from the run loop after recent
+       gnustep-base changes.
+
 2016-06-09  Richard Frith-Macdonald <[email protected]>
 
        * EcControl.m: Fix bug where alerter config was not always updated

Modified: libs/ec/trunk/EcConsole.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/ec/trunk/EcConsole.m?rev=40029&r1=40028&r2=40029&view=diff
==============================================================================
--- libs/ec/trunk/EcConsole.m   (original)
+++ libs/ec/trunk/EcConsole.m   Wed Jul 20 16:05:11 2016
@@ -944,6 +944,7 @@
 - (int) ecRun
 {
   NSRunLoop    *loop;
+  NSDate       *distantFuture;
 
 #if defined(HAVE_LIBREADLINE)
   if (YES == interactive)
@@ -953,8 +954,9 @@
     }
 #endif
 
+  distantFuture = [NSDate distantFuture];
   loop = [NSRunLoop currentRunLoop];
-  while (YES == [loop runMode: NSDefaultRunLoopMode beforeDate: nil])
+  while (YES == [loop runMode: NSDefaultRunLoopMode beforeDate: distantFuture])
     {
       if (0 != [self cmdSignalled])
        {


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to