Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
2020-11-23 | work around linux bug in readlink syscall with zero buffer size | Rich Felker | -1/+8 | |
linux fails with EINVAL when a zero buffer size is passed to the syscall. this is non-conforming because POSIX already defines EINVAL with a significantly different meaning: the target is not a symlink. since the request is semantically valid, patch it up by using a dummy buffer of length one, and truncating the return value to zero if it succeeds. | ||||
2012-09-06 | use restrict everywhere it's required by c99 and/or posix 2008 | Rich Felker | -1/+1 | |
to deal with the fact that the public headers may be used with pre-c99 compilers, __restrict is used in place of restrict, and defined appropriately for any supported compiler. we also avoid the form [restrict] since older versions of gcc rejected it due to a bug in the original c99 standard, and instead use the form *restrict. | ||||
2011-09-13 | fix various errors in function signatures/prototypes found by nsz | Rich Felker | -1/+1 | |
2011-03-20 | global cleanup to use the new syscall interface | Rich Felker | -1/+1 | |
2011-02-12 | initial check-in, version 0.5.0v0.5.0 | Rich Felker | -0/+7 | |