[AOLSERVER-COMMITS] aolserver/nsd tclcache.c,1.5,1.6

1 view
Skip to first unread message

Jeff Rogers

unread,
Jul 7, 2014, 10:08:10 PM7/7/14
to aolserve...@lists.sourceforge.net
Update of /cvsroot/aolserver/aolserver/nsd
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv18266

Modified Files:
tclcache.c
Log Message:
Fixed panic when running against a tcl build with TCL_COMPILE_DEBUG.

A SetFromAny proc should not invalidate an existing stringrep, which
SetCacheFromAny was doing.


Index: tclcache.c
===================================================================
RCS file: /cvsroot/aolserver/aolserver/nsd/tclcache.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** tclcache.c 5 Jul 2011 18:37:47 -0000 1.5
--- tclcache.c 8 Jul 2014 02:07:38 -0000 1.6
***************
*** 730,735 ****
objPtr->typePtr = &cacheType;
objPtr->internalRep.otherValuePtr = cachePtr;
- Tcl_InvalidateStringRep(objPtr);
- objPtr->length = 0; /* ensure there's no stumbling */
return TCL_OK;
}
--- 730,733 ----


------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
aolserver-commits mailing list
aolserve...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aolserver-commits
Reply all
Reply to author
Forward
0 new messages