|
|
|
@ -1725,6 +1725,7 @@ static char Xorriso_sys_rc_nameS[Xorriso_rc_nuM][80]= {
|
|
|
|
|
"placeholder for $HOME/.xorrisorc"
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int Xorriso_new(struct XorrisO ** xorriso,char *progname, int flag)
|
|
|
|
|
{
|
|
|
|
|
int i;
|
|
|
|
@ -1733,6 +1734,7 @@ int Xorriso_new(struct XorrisO ** xorriso,char *progname, int flag)
|
|
|
|
|
*xorriso= m= TSOB_FELD(struct XorrisO,1);
|
|
|
|
|
if(m==NULL)
|
|
|
|
|
return(-1);
|
|
|
|
|
m->libs_are_started= 0;
|
|
|
|
|
strncpy(m->progname,progname,sizeof(m->progname)-1);
|
|
|
|
|
m->progname[sizeof(m->progname)-1]= 0;
|
|
|
|
|
if(getcwd(m->initial_wdx,sizeof(m->initial_wdx)-1)==NULL)
|
|
|
|
@ -4980,7 +4982,7 @@ int Xorriso_main(int argc, char **argv)
|
|
|
|
|
|
|
|
|
|
/* The prescan of arguments performs actions which have to happen before
|
|
|
|
|
the normal processing of startup files and arguments. Currently:
|
|
|
|
|
-no_rc and single-argumenti runs like -help or -version.
|
|
|
|
|
-no_rc and single-argument runs like -help or -version.
|
|
|
|
|
*/
|
|
|
|
|
ret= Xorriso_prescan_args(xorriso,argc,argv,0);
|
|
|
|
|
if(ret==0)
|
|
|
|
|