- 29 6月, 2013 3 次提交
-
-
由 Rich Felker 提交于
in the process, I refactored the week-number code so it can be used by the week-based-year formats to determine year adjustments at the boundary values. this also improves indention/code readability.
-
由 Rich Felker 提交于
that's what I get for changing a hard-coded threshold to a proper non-magic-number without testing.
-
由 Rich Felker 提交于
output for plain week numbers (%U and %W) has been sanity-checked, and output for the week-based-year week numbers (%V) has been checked extensively against known-good data for the full non-negative range of 32-bit time_t. year numbers for week-based years (%g and %G) are not yet implemented.
-
- 07 9月, 2012 1 次提交
-
-
由 Rich Felker 提交于
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.
-
- 12 2月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-