Changeset 3729 for branches


Ignore:
Timestamp:
Jun 29, 2013 3:25:10 PM (11 years ago)
Author:
ldelgass
Message:

Fixes for Rappture version/build variables (Tcl_SetVar returns NULL on error),
also fix build to include Rappture version number on .so file.

Location:
branches/1.3/lang/tcl/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3/lang/tcl/src/Makefile.in

    r3724 r3729  
    8181# Not using     RpLibraryTclInterface.o \
    8282
    83 name        = Rappture$(version)
     83name        = Rappture$(RAPPTURE_VERSION)
    8484libname     = $(name)
    8585lib         = $(libname)$(SHLIB_SUFFIX)
  • branches/1.3/lang/tcl/src/Rappture_Init.c

    r3724 r3729  
    5454    }
    5555    if (Tcl_SetVar(interp, "::Rappture::version", RAPPTURE_VERSION,
    56                    TCL_GLOBAL_ONLY | TCL_LEAVE_ERR_MSG) != NULL) {
     56                   TCL_GLOBAL_ONLY | TCL_LEAVE_ERR_MSG) == NULL) {
    5757        return TCL_ERROR;
    5858    }
    5959    if (Tcl_SetVar(interp, "::Rappture::build", SVN_VERSION,
    60                    TCL_GLOBAL_ONLY | TCL_LEAVE_ERR_MSG) != NULL) {
     60                   TCL_GLOBAL_ONLY | TCL_LEAVE_ERR_MSG) == NULL) {
    6161        return TCL_ERROR;
    6262    }
Note: See TracChangeset for help on using the changeset viewer.