Skip to content
Tcl Source Code Check-in [d0cad63004]
Login

Check-in [d0cad63004]

Overview
Comment: * 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.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d0cad630042b2210d0c79d04ccd71992ac9e2d50
User & Date: andreas_kupries on 2006-09-27 20:22:40.000
Other Links: manifest | tags
Context
2006-09-27
20:37
* generic/regc_cvec.c (addmcce): * generic/regcomp.c (compile): the static function addmcce does ... check-in: fa0a132f0e user: msofer tags: trunk
20:22
* tests/pkg.test: Added test for version comparison at the 32bit boundary. [SF Tcl Bug 1563836]... check-in: d0cad63004 user: andreas_kupries tags: trunk
13:49
* generic/tclFileName.c (TclGlob): added a panic for a call with TCL_GLOBMODE_TAILS and pathPrefix... check-in: 668bd0bb04 user: msofer tags: trunk
Changes