[Rpm-maint] [rpm-software-management/rpm] rpmio.c: In Fread(buf, size, nmemb, FD), require size be 1 (#400)
Jeff Johnson
notifications at github.com
Mon Feb 26 13:53:10 UTC 2018
Well you at least understand why the Fread() return code was originally changed, so that read(2) could be replaced with Fread() with little risk of error.
You might as well rename Fread() to Read() etc and remove the extraneous nmemb argument if you prefer read/write to fread/fwrite. At least the rpm API would be more intuitive that way.
--
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/400#issuecomment-368510232
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180226/b36ef9c6/attachment-0001.html>
More information about the Rpm-maint
mailing list