Replaced some large local variables by other means which save stack space

master
Thomas Schmitt 12 years ago
parent 54878a538e
commit 4b86308829

@ -1060,15 +1060,13 @@ int Xorriso_spotlist_to_sectormap(struct XorrisO *xorriso,
int Xorriso_open_job_data_to(struct XorrisO *xorriso,
struct CheckmediajoB *job, int flag)
{
char sfe[5*SfileadrL];
if(job->data_to_path[0] == 0)
return(2);
job->data_to_fd= open(job->data_to_path, O_RDWR | O_CREAT,
S_IRUSR | S_IWUSR);
if(job->data_to_fd == -1) {
sprintf(xorriso->info_text, "Cannot open path %s",
Text_shellsafe(job->data_to_path, sfe, 0));
sprintf(xorriso->info_text, "Cannot open path ");
Text_shellsafe(job->data_to_path, xorriso->info_text, 1);
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, errno, "FAILURE", 0);
return(0);
}

@ -1 +1 @@
#define Xorriso_timestamP "2011.05.02.091632"
#define Xorriso_timestamP "2011.05.02.100332"

Loading…
Cancel
Save