"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "xorriso/misc_funct.c" between
xorriso-1.4.6.tar.gz and xorriso-1.4.8.tar.gz

About: GNU xorriso creates, loads, manipulates and writes ISO 9660 filesystem images with Rock Ridge extensions. It is suitable for incremental data backup and for production of bootable ISO 9660 images. GNU xorriso is a statical compilation of the libraries libburn, libisofs, libisoburn, and libjte.

misc_funct.c  (xorriso-1.4.6):misc_funct.c  (xorriso-1.4.8)
skipping to change at line 1275 skipping to change at line 1275
int i; int i;
for(i= 0; i < out_size - 1 && in[i] != 0; i++) for(i= 0; i < out_size - 1 && in[i] != 0; i++)
if(isalpha(in[i])) if(isalpha(in[i]))
out[i]= toupper(in[i]); out[i]= toupper(in[i]);
else else
out[i]= in[i]; out[i]= in[i];
out[i]= 0; out[i]= 0;
return(in[i] == 0); return(in[i] == 0);
} }
/* @param flag bit0= prepend target_prefix even if source_prefix does not get
removed
*/
int Xorriso__exchange_prefix(char *source_prefix, char *target_prefix,
char *eff_source, char *eff_target, int flag)
{
char *source_pt;
strcpy(eff_target, target_prefix);
source_pt= eff_source;
if(source_prefix[0]) {
if(strncmp(source_prefix, eff_source, strlen(source_prefix)) != 0) {
if(!(flag & 1))
return(0);
} else {
source_pt+= strlen(source_prefix);
}
}
strcat(eff_target, source_pt);
return(1);
}
 End of changes. 1 change blocks. 
0 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)