Fixed a bug causing PSPP to crash under certain invalid input.
authorJohn Darrington <john@darrington.wattle.id.au>
Thu, 5 Feb 2004 05:17:49 +0000 (05:17 +0000)
committerJohn Darrington <john@darrington.wattle.id.au>
Thu, 5 Feb 2004 05:17:49 +0000 (05:17 +0000)
src/ChangeLog
src/command.c

index 862ffdaac663dfd078b30ad3a65d9c338f919232..53cf28a207c2f9b96eaca25a940a65ae862f87a5 100644 (file)
@@ -1,3 +1,7 @@
+Thu Feb  5 13:19:06 WAST 2004 John Darrington <john@darrington.wattle.id.au>
+
+       * fixed bug which caused a crash under certain invalid input.
+
 Wed Feb  4 15:34:11 WST 2004 John Darrington <john@darrington.wattle.id.au>
 
        * t-test.q: Added calculations for the one sample variant of the T-TEST
index 2c62d2f26d79200b8dce23cc80b79dea24820cb1..f86ef55c2be76f5fc351ff84b06a3ffb5de13732 100644 (file)
@@ -249,7 +249,7 @@ cmd_parse (void)
     
     /* Perform the state transition if the command completed
        successfully (at least in part). */
-    if (result != 0)
+    if (result != CMD_FAILURE)
       {
        pgm_state = cp->transition[pgm_state];