MAD-only code in S_swallow_bom() duplicated the actions of sv_setpvn()
authorNicholas Clark <nick@ccl4.org>
Tue, 20 Oct 2009 07:11:07 +0000 (08:11 +0100)
committerNicholas Clark <nick@ccl4.org>
Tue, 20 Oct 2009 07:11:07 +0000 (08:11 +0100)
commit3e2f783e67807d5cec489704325d99148992cf37
treeab25a59142575cb57bbed6261816fa8541e7db7b
parent1c2c5f8e76ec81406f2cf2adeeadbd2a42dc5549
MAD-only code in S_swallow_bom() duplicated the actions of sv_setpvn()

Remove it. All its writes were byte-for-byte identical with the memory they
overwrote. The bugs it attempts to fix are real, but caused by the design and
implementation of other parts of this routine and S_utf16_textfilter().
toke.c