-
Notifications
You must be signed in to change notification settings - Fork 561
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
LC_MESSAGES breaks h2xs autoloaded constants on AIX 4.1.4 #209
Comments
From oracle@pcr8.pcr.comOn AIX 4.1.4, setting LC_MESSAGES to "en_US" changes the messages Of course, it may just be that AIX is flaky. Perl Info
|
From [Unknown Contact. See original ticket]This is the original report: On AIX 4.1.4, setting LC_MESSAGES to "en_US" changes the messages Of course, it may just be that AIX is flaky. I recommend the following change to bleadperl to fix: Inline Patch--- h2xs.orig Thu Jul 27 11:45:41 2000
+++ h2xs.PL Thu Jul 27 11:43:29 2000
@@ -815,7 +815,7 @@
croak "&$module::constant not defined" if \$constname eq 'constant';
my \$val = constant(\$constname, \@_ ? \$_[0] : 0);
if (\$! != 0) {
- if (\$! =~ /Invalid/ || \$!{EINVAL}) {
+ if (\$! =~ /(In|not )valid/ || \$!{EINVAL}) {
\$AutoLoader::AUTOLOAD = \$AUTOLOAD;
goto &AutoLoader::AUTOLOAD;
} |
From The RT System itselfNowadays also the numeric error code is checked. |
Migrated from rt.perl.org#1015 (status was 'resolved')
Searchable as RT1015$
The text was updated successfully, but these errors were encountered: