Follow-up Comment #1, bug #35699 (project gnustep): I looked at GSString.m a bit. It seems that substring_c and substring_u should check the parent string's _flags.owned and create a GSSubString only if the flag is true; otherwise they should be conservative and create a regular string with a copy of the characters/bytes.
_______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?35699> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-gnustep mailing list Bug-gnustep@gnu.org https://lists.gnu.org/mailman/listinfo/bug-gnustep