--- imach/src/imach.c 2015/08/18 16:28:39 1.195 +++ imach/src/imach.c 2015/08/18 23:17:52 1.196 @@ -1,6 +1,9 @@ -/* $Id: imach.c,v 1.195 2015/08/18 16:28:39 brouard Exp $ +/* $Id: imach.c,v 1.196 2015/08/18 23:17:52 brouard Exp $ $State: Exp $ $Log: imach.c,v $ + Revision 1.196 2015/08/18 23:17:52 brouard + Summary: 0.98q5 + Revision 1.195 2015/08/18 16:28:39 brouard Summary: Adding a hack for testing purpose @@ -708,11 +711,12 @@ typedef struct { #define ODIRSEPARATOR '\\' #endif -/* $Id: imach.c,v 1.195 2015/08/18 16:28:39 brouard Exp $ */ +/* $Id: imach.c,v 1.196 2015/08/18 23:17:52 brouard Exp $ */ /* $State: Exp $ */ - -char version[]="Imach version 0.98q5, August 2015,INED-EUROREVES-Institut de longevite-Japan Society for the Promotion of Science (Grant-in-Aid for Scientific Research 25293121), Intel Software 2015"; -char fullversion[]="$Revision: 1.195 $ $Date: 2015/08/18 16:28:39 $"; +#include "version.h" +char version[]=__IMACH_VERSION__; +char copyright[]="August 2015,INED-EUROREVES-Institut de longevite-Japan Society for the Promotion of Science (Grant-in-Aid for Scientific Research 25293121), Intel Software 2015"; +char fullversion[]="$Revision: 1.196 $ $Date: 2015/08/18 23:17:52 $"; char strstart[80]; char optionfilext[10], optionfilefiname[FILENAMELENGTH]; int erreur=0, nberr=0, nbwarn=0; /* Error number, number of errors number of warnings */ @@ -2906,7 +2910,7 @@ void lubksb(double **a, int n, int *indx void pstamp(FILE *fichier) { - fprintf(fichier,"# %s.%s\n#%s\n#%s\n# %s", optionfilefiname,optionfilext,version,fullversion,strstart); + fprintf(fichier,"# %s.%s\n#IMaCh version %s, %s\n#%s\n# %s", optionfilefiname,optionfilext,version,copyright, fullversion, strstart); } /************ Frequencies ********************/ @@ -6373,7 +6377,7 @@ int main(int argc, char *argv[]) getcwd(pathcd, size); #endif syscompilerinfo(0); - printf("\n%s\n%s",version,fullversion); + printf("\nIMaCh version %s, %s\n%s",version, copyright, fullversion); if(argc <=1){ printf("\nEnter the parameter file name: "); fgets(pathr,FILENAMELENGTH,stdin);