[genius] Fri Jul 13 07:15:05 2012 Jiri (George) Lebl <jirka 5z com>



commit 0b87a3c0b8e4b1e0d8a2fc59133be5b12bc91408
Author: Jiri (George) Lebl <jirka 5z com>
Date:   Fri Jul 13 07:15:12 2012 +0800

    Fri Jul 13 07:15:05 2012  Jiri (George) Lebl <jirka 5z com>
    
    	* src/genius.c: avoid a small delay on history, it seems no longer
    	  necessary.  Thanks to Ingo Ruhnke.

 ChangeLog    |    5 +++++
 src/genius.c |    9 ---------
 2 files changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index fe05ed9..567b62b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Jul 13 07:15:05 2012  Jiri (George) Lebl <jirka 5z com>
+
+	* src/genius.c: avoid a small delay on history, it seems no longer
+	  necessary.  Thanks to Ingo Ruhnke.
+
 Sat Jun 23 13:21:05 2012  Jiri (George) Lebl <jirka 5z com>
 
 	* lib/number_theory/primes.gel: update where gimps is up to
diff --git a/src/genius.c b/src/genius.c
index baac449..0f90d16 100644
--- a/src/genius.c
+++ b/src/genius.c
@@ -320,13 +320,6 @@ interrupt (int sig)
 	signal (SIGINT, interrupt);
 }
 
-static int
-nop (void)
-{
-	usleep(10000);
-	return 0;
-}
-
 static const char *
 get_version_details (void)
 {
@@ -651,8 +644,6 @@ main(int argc, char *argv[])
 
 	gel_printout_infos ();
 	
-	rl_event_hook = nop;
-
 	if (exec != NULL) {
 		line_len_cache = -1;
 		gel_evalexp (exec, NULL, gel_main_out, NULL, FALSE, NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]