summaryrefslogtreecommitdiffstats
path: root/contrib/diff/man/cmp.1
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2015-02-22 01:31:28 +0000
committerpfg <pfg@FreeBSD.org>2015-02-22 01:31:28 +0000
commit43c38b5dd3301211d8a6d217b78a916bf0eb525b (patch)
tree5d4fd923f8d1543ebc5c268747c15e8582da2a72 /contrib/diff/man/cmp.1
parentaf525877d117f4e7485a9040f08efdef6c38c3c9 (diff)
downloadFreeBSD-src-43c38b5dd3301211d8a6d217b78a916bf0eb525b.zip
FreeBSD-src-43c38b5dd3301211d8a6d217b78a916bf0eb525b.tar.gz
MFC r278803, r278905:
ulimit(3): Fix broken check. The existing implementation had a broken comparison that could overflow and return confusing values. Replace this with a check that avoids the overflow before it happens. Consistently return a maximum value also on the case of negative arguments since negative is considered an overflow and means infinity for our current setrlimit(). New revamped version is credited to Bruce Evans. CID: 1199295
Diffstat (limited to 'contrib/diff/man/cmp.1')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud