freebsd-dev/usr.bin/getconf
Garrett Wollman 0840e619bb Move unsigned limits to a separate table/recognizer and display them
using the appropriate (unsigned) format specification.  This prevents
integer overflow when ULLONG_MAX and (on some architectures) ULONG_MAX
are used to initialize an intmax_t and then displayed as the signed
value -1.  (A different approach was suggested in the bug report,
which I did not use.)  If other limits are defined to be unsigned,
they could be moved here.

PR:		164049
Reported by:	Marcus Reid
2018-05-23 02:51:56 +00:00
..
tests DIRDEPS_BUILD: Connect new directories. 2017-10-31 00:04:07 +00:00
confstr.gperf Add an -a flag to getconf. 2017-09-15 22:55:15 +00:00
fake-gperf.awk getconf: use nitems(..) to compute NWORDS instead of hardcoding 2017-05-14 20:39:01 +00:00
getconf.1 Add an -a flag to getconf. 2017-09-15 22:55:15 +00:00
getconf.c Move unsigned limits to a separate table/recognizer and display them 2018-05-23 02:51:56 +00:00
getconf.h Move unsigned limits to a separate table/recognizer and display them 2018-05-23 02:51:56 +00:00
limits.gperf Move unsigned limits to a separate table/recognizer and display them 2018-05-23 02:51:56 +00:00
Makefile Move unsigned limits to a separate table/recognizer and display them 2018-05-23 02:51:56 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
pathconf.gperf Add an -a flag to getconf. 2017-09-15 22:55:15 +00:00
progenv.gperf Expose the ILP32/LP64 programming environments based on 2017-07-17 18:12:08 +00:00
sysconf.gperf Add an -a flag to getconf. 2017-09-15 22:55:15 +00:00