version 1.280, 2018/02/21 07:58:13
|
version 1.281, 2018/02/27 19:25:23
|
Line 1
|
Line 1
|
/* $Id$ |
/* $Id$ |
$State$ |
$State$ |
$Log$ |
$Log$ |
|
Revision 1.281 2018/02/27 19:25:23 brouard |
|
Summary: Adding second argument for quitting |
|
|
Revision 1.280 2018/02/21 07:58:13 brouard |
Revision 1.280 2018/02/21 07:58:13 brouard |
Summary: 0.99r15 |
Summary: 0.99r15 |
|
|
Line 10795 int main(int argc, char *argv[])
|
Line 10798 int main(int argc, char *argv[])
|
if(pathr[0] == '\0') break; /* Dirty */ |
if(pathr[0] == '\0') break; /* Dirty */ |
} |
} |
} |
} |
|
else if (argc<=2){ |
|
strcpy(pathtot,argv[1]); |
|
} |
else{ |
else{ |
strcpy(pathtot,argv[1]); |
strcpy(pathtot,argv[1]); |
|
strcpy(z,argv[2]); |
|
printf("\nargv[2]=%s z=%c\n",argv[2],z[0]); |
} |
} |
/*if(getcwd(pathcd, MAXLINE)!= NULL)printf ("Error pathcd\n");*/ |
/*if(getcwd(pathcd, MAXLINE)!= NULL)printf ("Error pathcd\n");*/ |
/*cygwin_split_path(pathtot,path,optionfile); |
/*cygwin_split_path(pathtot,path,optionfile); |
Line 10874 int main(int argc, char *argv[])
|
Line 10882 int main(int argc, char *argv[])
|
exit(70); |
exit(70); |
} |
} |
|
|
|
|
|
|
strcpy(filereso,"o"); |
strcpy(filereso,"o"); |
strcat(filereso,fileresu); |
strcat(filereso,fileresu); |
if((ficparo=fopen(filereso,"w"))==NULL) { /* opened on subdirectory */ |
if((ficparo=fopen(filereso,"w"))==NULL) { /* opened on subdirectory */ |
Line 12661 Please run with mle=-1 to get a correct
|
Line 12667 Please run with mle=-1 to get a correct
|
fclose(ficlog); |
fclose(ficlog); |
/*------ End -----------*/ |
/*------ End -----------*/ |
|
|
|
|
|
/* Executes gnuplot */ |
|
|
printf("Before Current directory %s!\n",pathcd); |
printf("Before Current directory %s!\n",pathcd); |
#ifdef WIN32 |
#ifdef WIN32 |