On 3/14/23 18:56, Helge Deller wrote:
On 3/14/23 18:52, Michael Biebl wrote:
See also
https://github.com/rsyslog/rsyslog/commit/71ffb32ab8a1847f746a298ad20f7dd8b40570a0
I think this patch is wrong.
It drops the "define _FILE_OFFSET_BITS 64" from the rsyslog.h file, and
instead nearly nowhere adds that flag.
Please note there is a huge difference between "_LARGE_FILES" and
"_FILE_OFFSET_BITS=64".
The first allows to read large files, the second allows *access* to (any small
and big) files
on huge discs.
So, this one doesn't report the full truth:
#if defined(_LARGE_FILES) || (defined (_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS
>= 64)
Helge