Hi,

On 16.07.20 21:20, Bjørn Mork wrote:
Paul Spooren <[email protected]> writes:

To avoid hashing of folders `fopen()` is called in `r+` mode which fails
on folders, as their are not writeable. Regular files work as before.
This prevents mkhash from working with read-only files.  That's
unexpected, and IMHO worse than the problem you are trying to fix.

Thank you, I created a v2 using stat().


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to