]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix integer overflow for files containing more than 4GB by using
authorSheldon Hearn <sheldonh@FreeBSD.org>
Fri, 6 Aug 1999 14:37:13 +0000 (14:37 +0000)
committerSheldon Hearn <sheldonh@FreeBSD.org>
Fri, 6 Aug 1999 14:37:13 +0000 (14:37 +0000)
commitaf86fc21d61e000d23c393dd3df4d2fd85202770
tree6e853ecd4b165f39dad65336970522264016d780
parent0df6adec74627c0b4c08bef04859a8ea19f222ca
Fix integer overflow for files containing more than 4GB by using
u_quad_int instead of u_long for counters. (NetBSD's rev 1.15 - 1.18)

Deprecate register. (NetBSD's rev 1.13)

The diffs from NetBSD were not applied verbatim, because we don't care
about NO_QUAD right now.

PR: 12959
Reported by: Nicholas Barnes <nb@ravenbrook.com>
Obtained from: NetBSD
usr.bin/wc/wc.c