"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "xorriso/sort_cmp.c" between
xorriso-1.5.2.tar.gz and xorriso-1.5.4.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.

sort_cmp.c  (xorriso-1.5.2):sort_cmp.c  (xorriso-1.5.4)
skipping to change at line 102 skipping to change at line 102
if(n == 0) if(n == 0)
return(0); return(0);
l= 0; l= 0;
r= n + 1; r= n + 1;
while(1) { while(1) {
p= (r - l) / 2; p= (r - l) / 2;
if(p == 0) if(p == 0)
break; break;
p+= l; p+= l;
/* NULL elements may indicate invalid nodes. Their first valid right neigbor /* NULL elements may indicate invalid nodes.Their first valid right neighbor
will serve as proxy. If none exists, then the test pushes leftwards. will serve as proxy. If none exists, then the test pushes leftwards.
*/ */
for(pos= p - 1; pos < n; pos++) for(pos= p - 1; pos < n; pos++)
if(node_array[pos] != NULL) if(node_array[pos] != NULL)
break; break;
if(pos < n) if(pos < n)
ret= (*cmp)(&(node_array[pos]), &node); ret= (*cmp)(&(node_array[pos]), &node);
else else
ret= 1; ret= 1;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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