forked from rafl/sub-name
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix wrong 5.14 binary check in t/names.t
- Loading branch information
Reini Urban
committed
Mar 30, 2015
1 parent
df63f15
commit 3dff81c
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3dff81c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 5.16 figure pertaining to \0 is certainly incorrect. A bisect with:
highlighted 435e8dd0d (shipped in 5.13.7) as the first commit where \0 worked as expected.
Please revise your logic in Name.xs as well.
3dff81c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I figured it out eventually.
Binary GvNAMEs were possible to store since gv_fetchpvn and gv_fetchsv (5.8.9).
And UTF8 names are possible since 5.8.4 (USE_UTF8_IN_NAMES).
From 5.10 - 5.16 stored via negative HEK_LEN. But B had this bug which didn't know about the negative length and therefore crashed.