Permalink
Browse files

Fix clone v-table method of NCI PMC so that flags are retained.

git-svn-id: https://svn.parrot.org/parrot/trunk@19551 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
jnthn committed Jul 3, 2007
1 parent 27c8a1a commit 4ea363c0bf7a83034db33d69c60a0f1fd9479df2
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/pmc/nci.pmc
View
@@ -120,7 +120,7 @@ Creates and returns a clone of the NCI.
* ManagedStruct or Buffer?
*/
PMC_data(ret) = PMC_data(SELF);
- PObj_get_FLAGS(ret) |= (PObj_get_FLAGS(SELF) & 0x3);
+ PObj_get_FLAGS(ret) |= (PObj_get_FLAGS(SELF) & 0x7);
return ret;
}

0 comments on commit 4ea363c

Please sign in to comment.