summaryrefslogtreecommitdiffstats
path: root/generic/regc_cvec.c
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2006-09-27 20:22:40 (GMT)
committerandreas_kupries <akupries@shaw.ca>2006-09-27 20:22:40 (GMT)
commit8c38009f20bbb6eac54a8d9a6302cb32b695a1e2 (patch)
treef939de038ff53e83062f42714344244c727752b4 /generic/regc_cvec.c
parenta14dc8880490ddf17e78d3eacf6e892dd3dd6a67 (diff)
downloadtcl-8c38009f20bbb6eac54a8d9a6302cb32b695a1e2.zip
tcl-8c38009f20bbb6eac54a8d9a6302cb32b695a1e2.tar.gz
tcl-8c38009f20bbb6eac54a8d9a6302cb32b695a1e2.tar.bz2
* tests/pkg.test: Added test for version comparison at the 32bit
boundary. [SF Tcl Bug 1563836]. * generic/tclPkg.c: [SF Tcl Bug 1563836]. Rewrote CompareVersion to perform string comparison instead of numeric. This breaks through the 32bit limit on version numbers. See code for details (handling of leading zeros, signs, etc.). un-CONSTed some arguments of CompareVersions, RequirementSatisfied, and AllRequirementsSatisfied. The new compare modifies the string (temporary string terminators). All callers use heap-allocated ver-intreps, so we are good with that.
Diffstat (limited to 'generic/regc_cvec.c')
0 files changed, 0 insertions, 0 deletions