Fixed broken -version and --help (second time for same mistake)

This commit is contained in:
Thomas Schmitt 2006-09-27 07:47:35 +00:00
parent 6127dade34
commit 70a14832b0
2 changed files with 13 additions and 3 deletions

View File

@ -460,6 +460,13 @@ int Sfile_multi_read_argv(char *progname, char **filenames, int filename_count,
continue; continue;
{ret= 0; goto ex;} {ret= 0; goto ex;}
} }
#ifdef Cdrskin_new_api_tesT
if(pass>0)
fprintf(stderr,"cdrskin: DEBUG : Reading arguments from file '%s'\n",
filenames[i]);
#endif
line_no= 0; line_no= 0;
while(Sfile_fgets(buf,sizeof(buf)-1,fp)!=NULL) { while(Sfile_fgets(buf,sizeof(buf)-1,fp)!=NULL) {
line_no++; line_no++;
@ -1933,6 +1940,7 @@ dev_too_long:;
{ret= 0; goto ex;} {ret= 0; goto ex;}
*/ */
strcpy(o->device_adr,adr); strcpy(o->device_adr,adr);
ret= 1;
} }
} }
@ -1955,7 +1963,9 @@ dev_too_long:;
#endif /* Cdrskin_libburn_has_convert_fs_adR */ #endif /* Cdrskin_libburn_has_convert_fs_adR */
} }
ret= 1;
/* A60927 : note to myself : no "ret= 1;" here. It breaks --help , -version */
ex:; ex:;
#ifndef Cdrskin_extra_leaN #ifndef Cdrskin_extra_leaN

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2006.09.27.063147" #define Cdrskin_timestamP "2006.09.27.074910"