Changeset a58f1e9 in tol for toltcl/generic


Ignore:
Timestamp:
Nov 6, 2011, 9:37:25 AM (15 years ago)
Author:
Jorge Pérez <josp.jorge@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
3ac4fd7
Parents:
08e78b9
Message:

refs #1323, Tol_InstallHciWriter() must be called only if tol has not being initialized

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • toltcl/generic/toltcl.c

    r08e78b9 ra58f1e9  
    219219
    220220  if ( !TOLHasBeenInitialized( ) ) {
    221     printf( "TOL no esta inicializado\n" );
     221    //printf( "TOL no esta inicializado\n" );
    222222    /*
    223223     * Initialize kernel
    … …  
    232232    Tol_gsl_set_error_handler(&TT_gsl_error_handler);
    233233  } else {
    234     printf( "TOL esta inicializado\n" );
     234    //printf( "TOL esta inicializado\n" );
    235235  }
    236236 
    … …  
    15871587 
    15881588  //InitTolKernel();
    1589   Tol_InstallHciWriter();
     1589  if ( !TOLHasBeenInitialized( ) ) {
     1590    Tol_InstallHciWriter();
     1591  }
    15901592  Tol_InstallMethodsHook();
    15911593 
Note: See TracChangeset for help on using the changeset viewer.