[Rpm-maint] [rpm-software-management/rpm] Fix Fseek for offset > 2GiB (#1381)

Panu Matilainen notifications at github.com
Mon Oct 5 06:46:12 UTC 2020


@pmatilai requested changes on this pull request.

Fseek() is modelled after fseek(), not lseek(), and intended to return an int.

You're totally right that there are bugs though, lseek() return should not be used directly but instead converted to something like `return (lseek(...) == -1 : -1 : 0)`



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1381#pullrequestreview-501757960
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20201004/80a06fca/attachment.html>


More information about the Rpm-maint mailing list