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;
{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;
while(Sfile_fgets(buf,sizeof(buf)-1,fp)!=NULL) {
line_no++;
@ -1484,7 +1491,7 @@ int Cdrpreskin__cdrecord_to_dev(char *adr, char device_adr[Cdrskin_adrleN],
#ifndef Cdrskin_extra_leaN
/** Load content startup files into preskin cache */
int Cdrpreskin_read_rc(struct CdrpreskiN *o, char *progname,int flag)
int Cdrpreskin_read_rc(struct CdrpreskiN *o, char *progname, int flag)
{
int ret,i;
char *filenames_v[3];
@ -1933,6 +1940,7 @@ dev_too_long:;
{ret= 0; goto ex;}
*/
strcpy(o->device_adr,adr);
ret= 1;
}
}
@ -1955,7 +1963,9 @@ dev_too_long:;
#endif /* Cdrskin_libburn_has_convert_fs_adR */
}
ret= 1;
/* A60927 : note to myself : no "ret= 1;" here. It breaks --help , -version */
ex:;
#ifndef Cdrskin_extra_leaN

View File

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