VirtualBox

Changeset 72405 in vbox for trunk/tools


Ignore:
Timestamp:
Jun 1, 2018 9:47:46 AM (7 years ago)
Author:
vboxsync
Message:

gen-slickedit-workspace.sh: Fix integer overflow handling 22.0.2 and such, causing the preprocessor file not to be updated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/bin/gen-slickedit-workspace.sh

    r72071 r72405  
    534534            # it is all numbers in the process.
    535535            set `echo "${MY_CUR_VER}" | ${MY_SED} 's/\./ /g' `
    536             i=100000000
     536            i=24010000   # == 70*70*70*70; max major version 89.
    537537            while test $# -gt 0;
    538538            do
     
    543543                if test "$i" -gt 0; then
    544544                    MY_CUR_VER_NUM=$((${MY_CUR_VER_NUM} + $1 * $i))
    545                     i=$(($i / 100))
     545                    i=$(($i / 70))
    546546                fi
    547547                shift
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette