Changeset 2f5c82f1 in tol for toltcl/generic/tolaccess.cpp


Ignore:
Timestamp:
Feb 1, 2012, 6:50:51 PM (15 years ago)
Author:
Jorge Pérez <josp.jorge@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
2a670e5
Parents:
60dd1b2
Message:

refs #1409, release info is no used

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@4051 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • toltcl/generic/tolaccess.cpp

    r60dd1b2 r2f5c82f1  
    17851785int Tol_InfoVersion( Tcl_Interp * interp,  Tcl_Obj * obj_result )
    17861786{
    1787 #define VERSION_INFO_SIZE 4*2
     1787#define VERSION_INFO_SIZE 3*2
    17881788 
    17891789  Tcl_Obj * items[VERSION_INFO_SIZE];
    … …  
    17961796  items[2] = Tcl_NewStringObj( "minor", -1 );
    17971797  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);
    18021798  /* 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 );
    18051801  /* asign the items to the result list */
    18061802  Tcl_SetListObj( obj_result, VERSION_INFO_SIZE, items );
Note: See TracChangeset for help on using the changeset viewer.