On 11/30/2016 18:19, Bruce Evans wrote:
> On Wed, 30 Nov 2016, Eric van Gyzen wrote:
>> Include limits.h for CHAR_MAX
>> This was needed on stable/10. Apparently, sys/param.h supplies CHAR_MAX
>> on head. Include limits.h anyway, for consistency, and because C
>> says so.
> sys/param.actually supplies CHAR_MAX (undocumented namespace pollution) in
> all versions of FreeBSD.
Yes, I was too terse. I meant, locale.c gets CHAR_MAX from sys/param.h
on head (and 11), but does not include sys/param.h on 10.
> Untested fixes and cleanups:
> Y diff -u2 locale.c~ locale.c
email@example.com mailing list
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"