Changes On Branch dgp-dup-encoding-fix
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Changes In Branch dgp-dup-encoding-fix Excluding Merge-Ins

This is equivalent to a diff from 9f02a2427c to 57cc57e749

2016-09-08
14:34
merge bytecode init reworking check-in: 64530305a9 user: dgp tags: dgp-literal-reform
2016-05-10
16:52
Value correctness over performance myths. Encoding ObjType duplication needs to dup the typePtr so t... check-in: 462af0ad86 user: dgp tags: trunk
16:03
merge trunk Closed-Leaf check-in: 57cc57e749 user: dgp tags: dgp-dup-encoding-fix
2016-05-03
19:40
Merge trunk check-in: 04abbf3ecb user: gahr tags: gahr-tip-447
15:14
merge trunk check-in: 31be103f5d user: dgp tags: novem
2016-04-29
19:32
merge trunk check-in: d81838fbdf user: dgp tags: tip-445
19:31
Rework bytecode intialization to serve different callers better. check-in: 9f02a2427c user: dgp tags: trunk
19:29
Parameterize TclInitByteCodeObj to callers sense of typePtr. Closed-Leaf check-in: 438aad9179 user: dgp tags: dgp-init-bytecode
2016-04-24
16:02
merge-mark check-in: dea4b3abd4 user: jan.nijtmans tags: trunk
2016-03-28
21:24
The DupEncodingIntRep() routine is broken. It fails to set the typePtr field of the duplicated Tcl_... check-in: c6c7d2f492 user: dgp tags: dgp-dup-encoding-fix

Changes to generic/tclEncoding.c.
351
352
353
354
355
356
357

358
359
360
361
362
363
364

static void
DupEncodingIntRep(
    Tcl_Obj *srcPtr,
    Tcl_Obj *dupPtr)
{
    dupPtr->internalRep.twoPtrValue.ptr1 = Tcl_GetEncoding(NULL, srcPtr->bytes);

}

/*
 *----------------------------------------------------------------------
 *
 * Tcl_GetEncodingSearchPath --
 *







>







351
352
353
354
355
356
357
358
359
360
361
362
363
364
365

static void
DupEncodingIntRep(
    Tcl_Obj *srcPtr,
    Tcl_Obj *dupPtr)
{
    dupPtr->internalRep.twoPtrValue.ptr1 = Tcl_GetEncoding(NULL, srcPtr->bytes);
    dupPtr->typePtr = &encodingType;
}

/*
 *----------------------------------------------------------------------
 *
 * Tcl_GetEncodingSearchPath --
 *