This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
grok_bslash_o: Don't convert from native
authorKarl Williamson <public@khwilliamson.com>
Sun, 17 Jun 2012 17:57:02 +0000 (11:57 -0600)
committerKarl Williamson <public@khwilliamson.com>
Wed, 20 Jun 2012 20:08:40 +0000 (14:08 -0600)
commit8b8acc9e1f46f2a80a6c992a47bcde097e97a31c
tree113e08e916b36f55eaaa92fdc6fa09fb7853e028
parent48895a0d16aef33c200bc9a07f22e18c23597c2a
grok_bslash_o: Don't convert from native

This was and is a no-op on ASCII platforms, but on EBCDIC, when you did
e.g., a \o{7}, it would convert that to a 127.  But it did not do this
on a \007, giving inconsistent results.  Now, \o{7} yields 7, and thus
is consistent, and matches the documentation.
dquote_static.c