Fixed SIGSEGV introduced by rev 4819

master
Thomas Schmitt 10 years ago
parent e22f8b5416
commit f34bb71269
  1. 6
      xorriso/text_io.c
  2. 2
      xorriso/xorriso_timestamp.h

@ -1443,10 +1443,10 @@ int Xorriso_status(struct XorrisO *xorriso, char *filter, FILE *fp, int flag)
if(!(is_default && no_defaults))
Xorriso_status_result(xorriso, filter, fp, flag & 2);
if(strncmp(filter, "-cdi", 4) == 0)
sprintf(line,"-cdi ");
else
sprintf(line,"-cd ");
if(filter != NULL)
if(strncmp(filter, "-cdi", 4) == 0)
sprintf(line,"-cdi ");
sprintf(line + strlen(line),"%s\n",
(xorriso->wdi[0] ? Text_shellsafe(xorriso->wdi,sfe,0) : "'/'"));
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…
Cancel
Save