Tree
- Tree:
5e1abea32cc1dabaa53d7e70a44b2803e5d2a22e
- Date:
- Message:
- Don't return errno when fread fails fread doesn't consistently set errno on failure. - On OpenBSD fread sets errno on possible argument overflows, but this doesn't occur on other platforms. rfread doesn't set errno on EOF or other failures. - ferror does not set errno on failure. Returning errno here is possibly inconsistent. Return EIO here instead. ok stsp@
getprogname_linux.c | commits | blame |
include/ | |
merge.c | commits | blame |
reallocarray.c | commits | blame |
recallocarray.c | commits | blame |
strlcat.c | commits | blame |
strlcpy.c | commits | blame |