--- imach/src/imach.c 2003/07/08 07:54:34 1.95 +++ imach/src/imach.c 2003/07/15 15:38:55 1.96 @@ -1,6 +1,10 @@ -/* $Id: imach.c,v 1.95 2003/07/08 07:54:34 brouard Exp $ +/* $Id: imach.c,v 1.96 2003/07/15 15:38:55 brouard Exp $ $State: Exp $ $Log: imach.c,v $ + Revision 1.96 2003/07/15 15:38:55 brouard + * imach.c (Repository): Errors in subdirf, 2, 3 while printing tmpout is + rewritten within the same printf. Workaround: many printfs. + Revision 1.95 2003/07/08 07:54:34 brouard * imach.c (Repository): (Repository): Using imachwizard code to output a more meaningful covariance @@ -201,11 +205,11 @@ #define ODIRSEPARATOR '/' #endif -/* $Id: imach.c,v 1.95 2003/07/08 07:54:34 brouard Exp $ */ +/* $Id: imach.c,v 1.96 2003/07/15 15:38:55 brouard Exp $ */ /* $State: Exp $ */ -char version[]="Imach version 0.96b, June 2003, INED-EUROREVES "; -char fullversion[]="$Revision: 1.95 $ $Date: 2003/07/08 07:54:34 $"; +char version[]="Imach version 0.96c, July 2003, INED-EUROREVES "; +char fullversion[]="$Revision: 1.96 $ $Date: 2003/07/15 15:38:55 $"; int erreur, nberr=0, nbwarn=0; /* Error number, number of errors number of warnings */ int nvar; int cptcovn=0, cptcovage=0, cptcoveff=0,cptcov; @@ -248,7 +252,7 @@ char fileresvpl[FILENAMELENGTH]; char title[MAXLINE]; char optionfile[FILENAMELENGTH], datafile[FILENAMELENGTH], filerespl[FILENAMELENGTH]; char optionfilext[10], optionfilefiname[FILENAMELENGTH], plotcmd[FILENAMELENGTH]; -char tmpout[FILENAMELENGTH]; +char tmpout[FILENAMELENGTH], tmpout2[FILENAMELENGTH]; char command[FILENAMELENGTH]; int outcmd=0; @@ -2887,9 +2891,9 @@ To be simple, these graphs help to under fprintf(ficgp, "**********\n#\n"); - fprintf(fichtm, "\n
********** Variable "); + fprintf(fichtmcov, "\n
********** Variable "); for (z1=1; z1<=cptcoveff; z1++) fprintf(fichtm, "V%d=%d ",Tvaraff[z1],nbcode[Tvaraff[z1]][codtab[j1][z1]]); - fprintf(fichtm, "**********\n
"); + fprintf(fichtmcov, "**********\n
"); fprintf(ficresprobcor, "\n#********** Variable "); for (z1=1; z1<=cptcoveff; z1++) fprintf(ficresprobcor, "V%d=%d ",Tvaraff[z1],nbcode[Tvaraff[z1]][codtab[j1][z1]]); @@ -3098,21 +3102,19 @@ void printinghtml(char fileres[], char t double jprev1, double mprev1,double anprev1, \ double jprev2, double mprev2,double anprev2){ int jj1, k1, i1, cpt; - /*char optionfilehtm[FILENAMELENGTH];*/ -/* if((fichtm=fopen(optionfilehtm,"a"))==NULL) { */ -/* printf("Problem with %s \n",optionfilehtm), exit(0); */ -/* fprintf(ficlog,"Problem with %s \n",optionfilehtm), exit(0); */ -/* } */ fprintf(fichtm,"