From a87c28da95b79fb7d9f80274a1cec2e975df9c25 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 10 Mar 2009 15:34:09 +0100 Subject: [PATCH] Made sorting order under Libisofs_file_src_cmp_sizE identical to old sorting order. Just in case it matters. (Is there any reason for the inverse order of dev_id ?) --- libisofs/filesrc.c | 4 ++-- libisofs/libisofs.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libisofs/filesrc.c b/libisofs/filesrc.c index 55272a3..2d71b37 100644 --- a/libisofs/filesrc.c +++ b/libisofs/filesrc.c @@ -49,9 +49,9 @@ int iso_file_src_cmp(const void *n1, const void *n2) #ifdef Libisofs_file_src_cmp_sizE - } else if (ino_id1 > ino_id2) { - return -1; } else if (ino_id1 < ino_id2) { + return -1; + } else if (ino_id1 > ino_id2) { return 1; } else { size1 = iso_stream_get_size(f1->stream); diff --git a/libisofs/libisofs.h b/libisofs/libisofs.h index 9cb05bb..5aaca09 100644 --- a/libisofs/libisofs.h +++ b/libisofs/libisofs.h @@ -4823,8 +4823,8 @@ struct burn_source { They can print errno messages and they can avoid iconv() if the identical mapping is desired. One could install own simple conversion capabilities. + #define Libisofs_with_iso_iconV yes */ -#define Libisofs_with_iso_iconV yes #endif /*LIBISO_LIBISOFS_H_*/