| Summary: | <limits.h> does not contain MAXINT on CURRENT | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Bruce M Simpson <bms> |
| Component: | misc | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 5.0-CURRENT | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Bruce M Simpson
2001-12-27 07:20:00 UTC
State Changed From-To: open->closed <limits.h> is not supposed to contain MAXINT (or MAXanything, for that matter); any program which expects otherwise is erroneous. The maximum value for an integer is spelled INT_MAX in Standard C, and this value *is* defined in <limits.h>. |