Test fgets_eagain fails on FreeBSD-amd64
According to the [BSD Buildbot](https://buildbot.pixelminers.net/builders)
```
util/fgets_eagain:
FAIL src/test/test_util.c:3952: assert(retptr OP_EQ buf): 0x0 vs 0x7fffffffe944
[fgets_eagain FAILED]
```
This means that fgets returns a null pointer on partial lines instead of the buffer as expected.
Previously this test was passing but started failing with [build #105](https://buildbot.pixelminers.net/builders/FreeBSD-amd64/builds/105). Looking at the changes to libc it looks like this is caused by [revision 305413](https://svnweb.freebsd.org/base/head/lib/libc/stdio/fgets.c?r1=305413&r2=305412&pathrev=305413) (which was added earlier in the same month the test started failing).
I'm unsure whether FreeBSD is right and other libc implementations are wrong or the other way around.
issue