There was a bug in my implementaion. No reason not to use the glibc version.
2 files changed