[SCM] Package for Analyzing Lattice Polytopes branch, master, updated. upstream/2.1-10-g3e2d877

Julien Puydt julien.puydt at laposte.net
Thu Aug 9 19:01:49 UTC 2012


The following commit has been merged in the master branch:
commit 3e2d8772e87adca4ed8146ec447a9bd3ea7545c7
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Thu Aug 9 21:01:28 2012 +0200

    Don't add newlines in the fix format errors patch

diff --git a/debian/patches/fix-format-errors.patch b/debian/patches/fix-format-errors.patch
index afbf219..cba730d 100644
--- a/debian/patches/fix-format-errors.patch
+++ b/debian/patches/fix-format-errors.patch
@@ -11,7 +11,7 @@ index 7403bb5..8f124f2 100644
  void Init_NF_List(NF_List *L)
  {    
 -     L->TIME= L->SAVE= time(NULL); printf(ctime(&L->TIME)); L->CLOCK= clock();
-+     L->TIME= L->SAVE= time(NULL); printf("%s\n",ctime(&L->TIME)); L->CLOCK= clock();
++     L->TIME= L->SAVE= time(NULL); printf("%s",ctime(&L->TIME)); L->CLOCK= clock();
       L->IP_Time = L->NF_Time = 0;  L->d = L->nNF = L->nIP = L->nSLNF = 0;
       
       Init_FInfoList(&L->In);	if(*L->iname) Read_In_File(L);	
@@ -24,7 +24,7 @@ index ed70646..47228b1 100644
       }	if(*dbin) Close_DB(DB);
       printf("max_order=%d\n", max_order); Write_List_2_File(polyo,_L); 
 -     _L->TIME=time(NULL); printf(ctime(&_L->TIME));
-+     _L->TIME=time(NULL); printf("%s\n",ctime(&_L->TIME));
++     _L->TIME=time(NULL); printf("%s",ctime(&_L->TIME));
       free(_L);
  }
  void VPHM_Sublat_Polys(char sFlag,char mr,char *dbin,char *polyi,char *polyo, 
@@ -37,7 +37,7 @@ index 0198ddb..5086872 100644
    if(rFlag==0) Write_List_2_File(polyo,_NFL); 
    _NFL->TIME=time(NULL); 
 -  printf(ctime(&_NFL->TIME));
-+  printf("%s\n",ctime(&_NFL->TIME));
++  printf("%s",ctime(&_NFL->TIME));
    free(_NFL);
  }
  
@@ -46,7 +46,7 @@ index 0198ddb..5086872 100644
    printf("max_order=%d\n", max_order);
    Write_List_2_File(polyo,_NFL); 
 -  _NFL->TIME=time(NULL); printf(ctime(&_NFL->TIME));
-+  _NFL->TIME=time(NULL); printf("%s\n",ctime(&_NFL->TIME));
++  _NFL->TIME=time(NULL); printf("%s",ctime(&_NFL->TIME));
    free(_NFL);
  }
  

-- 
Package for Analyzing Lattice Polytopes



More information about the debian-science-commits mailing list