[SCM] Package for Analyzing Lattice Polytopes branch, master, updated. upstream/2.1-11-g7dd1ff0
Julien Puydt
julien.puydt at laposte.net
Thu Aug 9 19:56:38 UTC 2012
The following commit has been merged in the master branch:
commit 7dd1ff0b60ef98fde754deabffa683ca3e7e19cc
Author: Julien Puydt <julien.puydt at laposte.net>
Date: Thu Aug 9 21:47:39 2012 +0200
Changed printf("%s", foo) to fputs(foo,stdout) in the fix-format-errors patch
diff --git a/debian/patches/fix-format-errors.patch b/debian/patches/fix-format-errors.patch
index cba730d..0a3bf2f 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",ctime(&L->TIME)); L->CLOCK= clock();
++ L->TIME= L->SAVE= time(NULL); fputs(ctime(&L->TIME),stdout); 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",ctime(&_L->TIME));
++ _L->TIME=time(NULL); fputs(ctime(&_L->TIME),stdout);
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",ctime(&_NFL->TIME));
++ fputs(ctime(&_NFL->TIME),stdout);
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",ctime(&_NFL->TIME));
++ _NFL->TIME=time(NULL); fputs(ctime(&_NFL->TIME),stdout);
free(_NFL);
}
--
Package for Analyzing Lattice Polytopes
More information about the debian-science-commits
mailing list