Removed dangerous test code of Libisofs_file_src_cmp_non_zerO.
This commit is contained in:
parent
98a6db7f7f
commit
d565ae87f4
@ -30,13 +30,6 @@ int iso_file_src_cmp(const void *n1, const void *n2)
|
||||
iso_stream_get_id(f1->stream, &fs_id1, &dev_id1, &ino_id1);
|
||||
iso_stream_get_id(f2->stream, &fs_id2, &dev_id2, &ino_id2);
|
||||
|
||||
#ifdef Libisofs_file_src_cmp_non_zerO
|
||||
if (fs_id1 == 0 && dev_id1 == 0 && ino_id1 == 0)
|
||||
return -1;
|
||||
if (fs_id2 == 0 && dev_id2 == 0 && ino_id2 == 0)
|
||||
return 1;
|
||||
#endif
|
||||
|
||||
if (fs_id1 < fs_id2) {
|
||||
return -1;
|
||||
} else if (fs_id1 > fs_id2) {
|
||||
|
@ -5081,12 +5081,5 @@ struct burn_source {
|
||||
*/
|
||||
#define Libisofs_with_iso_iconV yes
|
||||
|
||||
/* Experiment: Regarding (fs_id == 0 && dev_id == 0 && ino_id == 0)
|
||||
as always unique.
|
||||
LOOKS DANGEROUS: iso_rbtree_insert() seems to need equality
|
||||
|
||||
#ifdef Libisofs_file_src_cmp_non_zerO yes
|
||||
*/
|
||||
|
||||
|
||||
#endif /*LIBISO_LIBISOFS_H_*/
|
||||
|
Loading…
Reference in New Issue
Block a user