Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SvPV does not work when embedding with PERL_NO_SHORT_NAMES #12845

Open
p5pRT opened this issue Mar 11, 2013 · 3 comments
Open

SvPV does not work when embedding with PERL_NO_SHORT_NAMES #12845

p5pRT opened this issue Mar 11, 2013 · 3 comments

Comments

@p5pRT
Copy link

p5pRT commented Mar 11, 2013

Migrated from rt.perl.org#117123 (status was 'open')

Searchable as RT117123$

@p5pRT
Copy link
Author

p5pRT commented Mar 11, 2013

From @wchristian

I am reporting this in stead of a friend of mine who embedded perl in his
own application and stumbled upon a small issue​:

hey, here's a little bug I ran into while trying to embed perl with
PERL_NO_SHORT_NAMES​:
1. SvPV() doesn't work because it expands to short names.
2. I can't seem to find a long-name equivalent.
3. shouldn't SvPV() be considered a short name in the first place?

According to the libperl file he used, this is with Perl 5.16.1.

@p5pRT
Copy link
Author

p5pRT commented Mar 14, 2013

From @iabyn

On Mon, Mar 11, 2013 at 06​:49​:09AM -0700, Christian Walde wrote​:

# New Ticket Created by "Christian Walde"
# Please include the string​: [perl #117123]
# in the subject line of all future correspondence about this issue.
# <URL​: https://rt-archive.perl.org/perl5/Ticket/Display.html?id=117123 >

I am reporting this in stead of a friend of mine who embedded perl in his
own application and stumbled upon a small issue​:

hey, here's a little bug I ran into while trying to embed perl with
PERL_NO_SHORT_NAMES​:
1. SvPV() doesn't work because it expands to short names.
2. I can't seem to find a long-name equivalent.
3. shouldn't SvPV() be considered a short name in the first place?

According to the libperl file he used, this is with Perl 5.16.1.

Hmmm, a quick glance at sv.h indcates that a whole bunch of stuff is
broken with PERL_NO_SHORT_NAMES, not just SvPV(). Could be quite an effort
to audit all such macros.

--
I don't want to achieve immortality through my work...
I want to achieve it through not dying.
  -- Woody Allen

@p5pRT
Copy link
Author

p5pRT commented Mar 14, 2013

The RT System itself - Status changed from 'new' to 'open'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants