[Ecm-commits] r2687 - trunk

cvs commits ecm-commits at lists.gforge.inria.fr
Thu Apr 23 07:42:37 CEST 2015


Author: zimmerma
Date: 2015-04-23 07:42:36 +0200 (Thu, 23 Apr 2015)
New Revision: 2687

Modified:
   trunk/resume.c
   trunk/test.pp1
Log:
fixed error introduced in revision 2686


Modified: trunk/resume.c
===================================================================
--- trunk/resume.c	2015-04-22 13:58:32 UTC (rev 2686)
+++ trunk/resume.c	2015-04-23 05:42:36 UTC (rev 2687)
@@ -183,14 +183,14 @@
             {
               if (facceptstr (fd, "ECM") == 3)
                 *method = ECM_ECM;
-              else if (facceptstr (fd, "P-1") == 3)
+              else if (facceptstr (fd, "P"))
                 {
                   a = facceptstr (fd, "-1");
                   if (a == 2)
                     *method = ECM_PM1;
                   else if (a == 0 && facceptstr (fd, "+1") == 2)
                     *method = ECM_PP1;
-                  else 
+                  else
                     goto error;
                 }
               else

Modified: trunk/test.pp1
===================================================================
--- trunk/test.pp1	2015-04-22 13:58:32 UTC (rev 2686)
+++ trunk/test.pp1	2015-04-23 05:42:36 UTC (rev 2687)
@@ -105,10 +105,11 @@
 checkcode $? 0
 $PP1 -resume test.pp1.save 2337233 132554351
 C=$?
+checkcode $C 14
 /bin/rm -f test.pp1.save
-checkcode $C 14
 
 # test -chkpnt
+echo "chkpnt"
 echo 2277189375098448170118558775447117254551111605543304035536750762506158547102293199086726265869065639109 | $PP1 -x0 3 -chkpnt test.pp1.chk 1000000 0
 checkcode $? 0
 $PP1 -resume test.pp1.chk 2337233 132554351



More information about the Ecm-commits mailing list