Commit Graph

5 Commits

Author SHA1 Message Date
87be54a135 rework langinfo code for ABI compat and for use by time code 2013-07-24 18:52:02 -04:00
400c5e5c83 use restrict everywhere it's required by c99 and/or posix 2008
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.
2012-09-06 22:44:55 -04:00
fd142e5ec4 cleanup various minor issues reported by nsz
the changes to syscall_ret are mostly no-ops in the generated code,
just cleanup of type issues and removal of some implementation-defined
behavior. the one exception is the change in the comparison value,
which is fixed so that 0xf...f000 (which in principle could be a valid
return value for mmap, although probably never in reality) is not
treated as an error return.
2011-09-26 00:59:28 -04:00
71a80c5767 use volatile pointers for intentional-crash code. 2011-06-06 18:10:43 -04:00
0b44a0315b initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00