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
Perl 5.5.660 and Sys::Syslog.pm possible minor bug (fwd) #1266
Comments
From tom@compton.nu---------- Begin forwarded message ---------- Hi Tom, I have been building Perl 5.5.660 on Solaris 7 (32/64) and I have a Basically I am getting errors of the form: The line in question is part of the AUTOLOAD code: When I check out the xs file in the source directory, it appears that Checking further (and I must admit I am not a wiz at autoload/xs) it The perl constant(char,int) calls a C constant(char,int,int) which calls I have tentatively replaced the code in question with: Jon Wright ----------- End forwarded message ----------- -- |
From [Unknown Contact. See original ticket]Jon Wright <jon.wright@awtpl.com.au> wrote:
This code in the Sys::Syslog XS backend is what h2xs generated Note that I can't actually reproduce the described problem at the Tom -- |
From [Unknown Contact. See original ticket]Tom Hughes writes:
I think the original intent was to support macros with one argument. Well, apparently the sniffer of h2xs filters out such macros. So But here it comes coupled with another bug: exported constants are not SOME_MACRO + LOGINFO is misparsed. See my messages on 'use autoload' on how to fix it. Btw, when we are going to support prototype of (;$) in the lexer, so Ilya |
From [Unknown Contact. See original ticket]In message <200003041647.LAA27286@monk.mps.ohio-state.edu>
Right.
It certainly isn't in this case so I'm going to remove it...
Actually that doesn't seem to be the problem here. I've got a test #!/usr/bin/perl -w use Sys::Syslog ; The problem here is that AUTOLOAD winds up getting called to try and To fix this I've removed all the unused arg junk - patch attached. Tom -- |
From [Unknown Contact. See original ticket]diff -c bleadperl/ext/Sys/Syslog/Syslog.pm perl-rc1/ext/Sys/Syslog/Syslog.pm |
Migrated from rt.perl.org#2262 (status was 'resolved')
Searchable as RT2262$
The text was updated successfully, but these errors were encountered: