Fixed SIGSEGV introduced by rev 4819
This commit is contained in:
parent
e22f8b5416
commit
f34bb71269
@ -1443,10 +1443,10 @@ int Xorriso_status(struct XorrisO *xorriso, char *filter, FILE *fp, int flag)
|
|||||||
if(!(is_default && no_defaults))
|
if(!(is_default && no_defaults))
|
||||||
Xorriso_status_result(xorriso, filter, fp, flag & 2);
|
Xorriso_status_result(xorriso, filter, fp, flag & 2);
|
||||||
|
|
||||||
|
sprintf(line,"-cd ");
|
||||||
|
if(filter != NULL)
|
||||||
if(strncmp(filter, "-cdi", 4) == 0)
|
if(strncmp(filter, "-cdi", 4) == 0)
|
||||||
sprintf(line,"-cdi ");
|
sprintf(line,"-cdi ");
|
||||||
else
|
|
||||||
sprintf(line,"-cd ");
|
|
||||||
sprintf(line + strlen(line),"%s\n",
|
sprintf(line + strlen(line),"%s\n",
|
||||||
(xorriso->wdi[0] ? Text_shellsafe(xorriso->wdi,sfe,0) : "'/'"));
|
(xorriso->wdi[0] ? Text_shellsafe(xorriso->wdi,sfe,0) : "'/'"));
|
||||||
Xorriso_status_result(xorriso,filter,fp,flag&2);
|
Xorriso_status_result(xorriso,filter,fp,flag&2);
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2012.08.20.084354"
|
#define Xorriso_timestamP "2012.09.08.082759"
|
||||||
|
Loading…
Reference in New Issue
Block a user