Overview
Comment: | Fixed reference counting with the "exec" target |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
fc81c2f879da9491c6009cbf91c0bb6d |
User & Date: | rkeene on 2017-02-22 23:03:59 |
Other Links: | manifest | tags |
Context
2017-02-23
| ||
22:25 | Updated to include TCL_LIBS when trying to link appfs, which may be needed if we are linking statically check-in: d8a575fad2 user: rkeene tags: trunk | |
2017-02-22
| ||
23:03 | Fixed reference counting with the "exec" target check-in: fc81c2f879 user: rkeene tags: trunk | |
23:01 | Fixed incorrect usage in README check-in: c987a21cfe user: rkeene tags: trunk | |
Changes
Modified appfsd.c from [99975a5e76] to [b7dddfc0b8].
︙ | ︙ | |||
1150 1151 1152 1153 1154 1155 1156 | interp = appfs_TclInterp(); if (interp == NULL) { APPFS_DEBUG("Error creating an interpreter."); return; } | > | > > > > | > > > | 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 | interp = appfs_TclInterp(); if (interp == NULL) { APPFS_DEBUG("Error creating an interpreter."); return; } appfs_call_libtcl( scriptObj = Tcl_NewStringObj(script, scriptLen); Tcl_IncrRefCount(scriptObj); ) if (scriptObj == NULL) { APPFS_DEBUG("Error creating a script object."); return; } appfs_call_libtcl( tcl_ret = Tcl_EvalObjEx(interp, scriptObj, TCL_EVAL_DIRECT); Tcl_DecrRefCount(scriptObj); ) if (tcl_ret != TCL_OK) { appfs_call_libtcl( APPFS_DEBUG("Script returned error %i: %s", tcl_ret, Tcl_GetStringResult(interp)); ) } return; |
︙ | ︙ |