limits.h fix
Mike Stump
mrs@apple.com
Mon May 7 23:45:00 GMT 2007
On Apr 2, 2007, at 2:11 PM, Mike Stump wrote:
> Currently, if a user has their own "limits.h", the:
>
> #include_next <limits.h>
>
> in syslimits.h can find it, this is wrong. Instead, we want that file
> to find the system limits.h. The below patch fixes this.
In addition, I think the patch also fixes:
#import <limits.h>
int main(int argc, char **argv)
{
char path [PATH_MAX];
path[0] = '\0';
return 0;
}
More information about the Gcc-patches
mailing list