Version in base suite: 1.28.0-1 Base version: jdupes_1.28.0-1 Target version: jdupes_1.28.0-1+deb13u1 Base file: /srv/ftp-master.debian.org/ftp/pool/main/j/jdupes/jdupes_1.28.0-1.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/j/jdupes/jdupes_1.28.0-1+deb13u1.dsc changelog | 15 +++++++++++++++ patches/020_fix-uniq-count.patch | 18 ++++++++++++++++++ patches/series | 1 + 3 files changed, 34 insertions(+) diff: /srv/release.debian.org/tmp/G3c2wH55ul/jdupes-1.28.0/testdir/recursed_a/symlink_infinite_loop: recursive directory loop diff: /srv/release.debian.org/tmp/G3c2wH55ul/jdupes-1.28.0/testdir/symlink_dir/symlink_infinite_loop: recursive directory loop diff -Nru jdupes-1.28.0/debian/changelog jdupes-1.28.0/debian/changelog --- jdupes-1.28.0/debian/changelog 2024-08-05 22:05:55.000000000 +0000 +++ jdupes-1.28.0/debian/changelog 2025-10-06 01:45:33.000000000 +0000 @@ -1,3 +1,18 @@ +jdupes (1.28.0-1+deb13u1) trixie; urgency=medium + + * debian/patches/020_fix-uniq-count.patch: created to fix flag overlap + between FF_NOT_UNIQUE and FF_HASHDB_DIRTY. + . + Both FF_NOT_UNIQUE and FF_HASHDB_DIRTY were defined using the same + bit (1U << 5), causing logic errors where files were incorrectly + marked as not unique due to hash database state. This commit moves + FF_HASHDB_DIRTY to (1U << 6) to eliminate the overlap. It fixes + incorrect behavior when detecting unique files with --unique or -u. + . + Closes: #1063079 + + -- Joao Eriberto Mota Filho Sun, 05 Oct 2025 22:45:33 -0300 + jdupes (1.28.0-1) unstable; urgency=medium * New upstream version 1.28.0. diff -Nru jdupes-1.28.0/debian/patches/020_fix-uniq-count.patch jdupes-1.28.0/debian/patches/020_fix-uniq-count.patch --- jdupes-1.28.0/debian/patches/020_fix-uniq-count.patch 1970-01-01 00:00:00.000000000 +0000 +++ jdupes-1.28.0/debian/patches/020_fix-uniq-count.patch 2025-10-06 01:45:33.000000000 +0000 @@ -0,0 +1,18 @@ +Description: Fix bit flag conflict: FF_NOT_UNIQUE and FF_HASHDB_DIRTY used same bit +Author: Jody Bruchon +Origin: upstream +Bug-Debian: https://bugs.debian.org/1063079 +Last-Update: 2025-10-06 +Index: jdupes-1.28.0/jdupes.h +=================================================================== +--- jdupes-1.28.0.orig/jdupes.h ++++ jdupes-1.28.0/jdupes.h +@@ -193,7 +193,7 @@ extern uint64_t flags, a_flags, p_flags; + #define FF_HAS_DUPES (1U << 3) + #define FF_IS_SYMLINK (1U << 4) + #define FF_NOT_UNIQUE (1U << 5) +-#define FF_HASHDB_DIRTY (1U << 5) ++#define FF_HASHDB_DIRTY (1U << 6) + + /* Extra print flags */ + #define PF_PARTIAL (1U << 0) diff -Nru jdupes-1.28.0/debian/patches/series jdupes-1.28.0/debian/patches/series --- jdupes-1.28.0/debian/patches/series 2024-08-05 22:05:55.000000000 +0000 +++ jdupes-1.28.0/debian/patches/series 2025-10-06 01:45:33.000000000 +0000 @@ -1 +1,2 @@ 010_fix-FTBFS-Hurd.patch +020_fix-uniq-count.patch