summaryrefslogtreecommitdiff
path: root/Help/guide/tutorial/Step5/MathFunctions/MathFunctions.h
diff options
context:
space:
mode:
authorDavid Gobbi <david.gobbi@gmail.com>2023-02-20 08:59:11 -0700
committerBrad King <brad.king@kitware.com>2023-02-20 12:54:43 -0500
commitaa86e8ddfd6b9dc12e54aeb7e5b5c1503c272c42 (patch)
tree0a1b71b1a30b144a97d6f54647f6507b67a1f152 /Help/guide/tutorial/Step5/MathFunctions/MathFunctions.h
parent7e730d8f7f7af927a52cd1b7668c64b4c82daa4a (diff)
downloadcmake-aa86e8ddfd6b9dc12e54aeb7e5b5c1503c272c42.tar.gz
Remove component size limit for version comparisons
The VersionCompare() function converted version components to 'unsigned long' prior to comparing them. Any version components too large for 'unsigned long' were treated as equal to ULONG_MAX. This impacted operators like VERSION_GREATER, VERSION_LESS, and VERSION_EQUAL. The new code does not limit the length of the version components for valid comparisons.
Diffstat (limited to 'Help/guide/tutorial/Step5/MathFunctions/MathFunctions.h')
0 files changed, 0 insertions, 0 deletions