On 13/04/2022 08:01, Paul Eggert wrote:
On 4/12/22 17:51, Paul Eggert wrote:
Your patch doesn't feel quite right to me but I haven't figured out why
yet; I'll try to spring time to look at it in more detail.
I did that installed the attached. Most of these are merely refactoring
or minor tweaking; the 3rd patch is the real change as it omits some
'stat' calls that aren't needed on these non-GNU platforms, and it
treats EOVERFLOW better on these platforms. This should all work on
Solaris 11.
I was going for the slightly simpler code
at the expense of the extra initial stat() on Solaris 11,
but this looks good.
thanks!
Pádraig