Changeset 2f5c82f1 in tol
- Timestamp:
- Feb 1, 2012, 6:50:51 PM (15 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 2a670e5
- Parents:
- 60dd1b2
- File:
-
- 1 edited
-
toltcl/generic/tolaccess.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
toltcl/generic/tolaccess.cpp
r60dd1b2 r2f5c82f1 1785 1785 int Tol_InfoVersion( Tcl_Interp * interp, Tcl_Obj * obj_result ) 1786 1786 { 1787 #define VERSION_INFO_SIZE 4*21787 #define VERSION_INFO_SIZE 3*2 1788 1788 1789 1789 Tcl_Obj * items[VERSION_INFO_SIZE]; … … 1796 1796 items[2] = Tcl_NewStringObj( "minor", -1 ); 1797 1797 items[3] = Tcl_NewIntObj( VERSION_MINOR ); 1798 /* Release Info */1799 items[4] = Tcl_NewStringObj( "release", -1 );1800 sprintf(buffer,"%d", VERSION_RELEASE);1801 items[5] = Tcl_NewStringObj(buffer, -1);1802 1798 /* Comment Info */ 1803 items[ 6] = Tcl_NewStringObj( "comment", -1 );1804 items[ 7] = Tcl_NewStringObj(TOLVersionBuild(), -1 );1799 items[4] = Tcl_NewStringObj( "comment", -1 ); 1800 items[5] = Tcl_NewStringObj(TOLVersionBuild(), -1 ); 1805 1801 /* asign the items to the result list */ 1806 1802 Tcl_SetListObj( obj_result, VERSION_INFO_SIZE, items );
Note: See TracChangeset
for help on using the changeset viewer.
