summaryrefslogtreecommitdiffstats
path: root/ChangeLog
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 /ChangeLog
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 'ChangeLog')
-rw-r--r--ChangeLog14
1 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 689e79a..66e57ed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2006-09-27 Andreas Kupries <andreask@activestate.com>
+
+ * 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.
+
2006-09-27 Miguel Sofer <msofer@users.sf.net>
* generic/tclFileName.c (TclGlob): added a panic for a call with