Paul Spooren <mail at aparcar.org> 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. Bjørn