Bug#1064453: fdupes: Mistakenly assumes duplicates to have changed on a
From Ivan Krylov@21:1/5 to All on Thu Feb 22 12:50:01 2024
tags 1064453 + patch
thanks
The upstream fixed this by accident in either [1] (adding confing.h to fdupes.h) or [2] (adding config.h to removeifnotchanged.c). The
attached patch fixes the problem on my armhf machine.
Description: Include config.h from fdupes.h
The struct _file defined in fdupes.h contains members of type off_t.
Depending on whether "config.h" is #included, this could resolve to
different types. In particular, removeifnotchanged.c does not #include
"config.h" and thus would get "corrupted" structs on systems where
off_t is not 64-bit by default (like armhf).
Author: Ivan Krylov <ikrylov@disroot.org>
Bug-Debian: https://bugs.debian.org/1064453
Forwarded: not-needed
Last-Update: 2024-02-22
---