[Rasta-commits] rev 218 - in trunk: . clrasta

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Fri Oct 24 18:34:02 CDT 2003


Author: jlbec
Date: 2003-10-24 17:33:59 -0500 (Fri, 24 Oct 2003)
New Revision: 218

Modified:
   trunk/ChangeLog
   trunk/clrasta/clrasta.c
Log:
clrasta segfault

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2003-10-24 17:47:35 UTC (rev 217)
+++ trunk/ChangeLog	2003-10-24 22:33:59 UTC (rev 218)
@@ -1,5 +1,9 @@
 2003-10-23	Joel Becker	<joel.becker at oracle.com>
 
+	* clrasta/clrasta.c: Fix segfault in menu help queries.
+
+2003-10-23	Joel Becker	<joel.becker at oracle.com>
+
 	* configure.in: Bump to 0.1.3.
 	* clrasta/clrasta.c: Add intuitive bits to field prompts.
 

Modified: trunk/clrasta/clrasta.c
===================================================================
--- trunk/clrasta/clrasta.c	2003-10-24 17:47:35 UTC (rev 217)
+++ trunk/clrasta/clrasta.c	2003-10-24 22:33:59 UTC (rev 218)
@@ -1483,11 +1483,16 @@
                           10 : (num_choices - start))))
             {
                 *result = res_n + start;
-                if (choose_help == FALSE)
-                    ret = CLR_QUERY_SUCCESS;
+                if (choose_help != FALSE)
+                    ret = CLR_QUERY_HELP;
                 done = TRUE;
             }
         }
+        else if (ret == CLR_QUERY_HELP)
+        {
+            choose_help = TRUE;
+            continue;
+        }
         else if ((ret != CLR_QUERY_NONE) && (ret != CLR_QUERY_UNKNOWN))
             done = TRUE;
 



More information about the Rasta-commits mailing list