fix ord of upgraded empty string
authorZefram <zefram@fysh.org>
Fri, 27 Jan 2017 05:53:22 +0000 (05:53 +0000)
committerZefram <zefram@fysh.org>
Fri, 27 Jan 2017 05:53:22 +0000 (05:53 +0000)
commitaee9b917f80b04bd283350cd91f52f2e928c71e9
tree6fa3f02c7880a526fd0e70a1ea98a8771c733902
parentb3698342565fb462291fba4b432cfcd05b6eb4e1
fix ord of upgraded empty string

pp_ord fell foul of the new API stricture added by
d1f8d421df731c77beff3db92d27dc6ec28589f2.  Change it to avoid calling
utf8n_to_uvchr() on an empty string.  Fixes [perl #130545].
pp.c
t/op/ord.t