diffutils-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new cmp -i 99999999999999999999 failure


From: Paul Eggert
Subject: Re: new cmp -i 99999999999999999999 failure
Date: Sun, 25 Jun 2023 17:26:50 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0

Thanks, that let me reproduce the problem. I installed the attached, which fixed things for me. Hope it works for you too.

Isn't it a kernel bug that lseek to TYPE_MAXIMUM (off_t) fails with errno == EINVAL? EINVAL means the resulting file offset would be negative, and TYPE_MAXIMUM (off_t) is not negative.

Attachment: 0001-cmp-work-around-lseek-bugs.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]