On Tue, 19 Jul 2005 12:06:00 +0300, Jarkko Hietaniemi <[EMAIL PROTECTED]> wrote:
> The attached patch introduces %POSIX::SIGRT which gives access > to the POSIX real time signals SIGRTMIN...SIGRTMAX, with the > right POSIXly moves. It also plugs a hole the size of a coredump > I accidentally run into while fooling around with the patch, try > > perl -MPOSIX -e 'sigaction(123,0)' > > Merijn, note that Configure is changed (and some bits of its logic > copied over to handy.h) Configure re-generated part 2 failed hunk 8. Applied by hand All together now in as change #25185 Running a complete Configure/make/test_harness left me with three unexplained failures that *might* have to do with this patch. Anyone having a bright torch handy to shine a light on it? =============================================================================== Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- ../ext/POSIX/t/posix.t 255 65280 ?? ?? % ?? ../ext/POSIX/t/taint.t 255 65280 7 14 200.00% 1-7 ../lib/Pod/t/htmlview.t 1 256 1 1 100.00% 1 run/fresh_perl.t 94 1 1.06% 67 55 tests and 241 subtests skipped. Failed 4/1021 test scripts, 99.61% okay. 9/109750 subtests failed, 99.99% okay. run/fresh_perl..............................ok 52/94# PROG: # This test is here instead of lib/locale.t because # the bug depends on in the internal state of the locale # settings and pragma/locale messes up that state pretty badly. # We need a "fresh run". # BEGIN { # eval { require POSIX }; # if ($@) { # exit(0); # running minitest? # } # } # use Config; # my $have_setlocale = $Config{d_setlocale} eq 'define'; # $have_setlocale = 0 if $@; # Visual C's CRT goes silly on strings of the form "en_US.ISO8859-1" # and mingw32 uses said silly CRT # $have_setlocale = 0 if (($^O eq 'MSWin32' || $^O eq 'NetWare') && $Config{cc} =~ /^(cl|gcc)/i); # exit(0) unless $have_setlocale; # my @locales; # if (-x "/usr/bin/locale" && open(LOCALES, "/usr/bin/locale -a 2>/dev/null|")) { # while(<LOCALES>) { # chomp; # push(@locales, $_); # } # close(LOCALES); # } # exit(0) unless @locales; # for (@locales) { # use POSIX qw(locale_h); # use locale; # setlocale(LC_NUMERIC, $_) or next; # my $s = sprintf "%g %g", 3.1, 3.1; # next if $s eq '3.1 3.1' || $s =~ /^(3.+1) \1$/; # print "$_ $s\n"; # } # EXPECTED: # GOT: # "locale_h" is not defined in %POSIX::EXPORT_TAGS at - line 28 # Can't continue after import errors at ../lib/POSIX.pm line 19 # BEGIN failed--compilation aborted at - line 28. # STATUS: 65280 # Failed at run/fresh_perl.t line 53 run/fresh_perl..............................FAILED test 67 Failed 1/94 tests, 98.94% okay ../ext/POSIX/t/posix........................"fcntl_h" is not defined in %POSIX::EXPORT_TAGS at ../ext/POSIX/t/posix.t line 17 "signal_h" is not defined in %POSIX::EXPORT_TAGS at ../ext/POSIX/t/posix.t line 17 "limits_h" is not defined in %POSIX::EXPORT_TAGS at ../ext/POSIX/t/posix.t line 17 Can't continue after import errors at ../lib/POSIX.pm line 19 BEGIN failed--compilation aborted at ../ext/POSIX/t/posix.t line 17. ../ext/POSIX/t/posix........................dubious Test returned status 255 (wstat 65280, 0xff00) ../ext/POSIX/t/sigaction....................ok ../ext/POSIX/t/taint........................"fcntl_h" is not defined in %POSIX::EXPORT_TAGS at ../ext/POSIX/t/taint.t line 17 Can't continue after import errors at ../lib/POSIX.pm line 19 BEGIN failed--compilation aborted at ../ext/POSIX/t/taint.t line 17. # Looks like your test died before it could output anything. ../ext/POSIX/t/taint........................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-7 Failed 7/7 tests, 0.00% okay ../ext/POSIX/t/waitpid......................"sys_wait_h" is not defined in %POSIX::EXPORT_TAGS at (eval 1) line 2 skipped all skipped: no POSIX sys_wait_h ../lib/locale..............................."locale_h" is not defined in %POSIX::EXPORT_TAGS at ../lib/locale.t line 40 ../lib/locale...............................ok ../lib/Pod/t/htmlview....................... # Failed test (../lib/Pod/t/pod2html-lib.pl at line 40) ../lib/Pod/t/htmlview.......................NOK 1# Looks like you failed 1 test of 1. ../lib/Pod/t/htmlview.......................dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay ===================================================================================== -- H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/) using Perl 5.6.2, 5.8.0, 5.8.5, & 5.9.2 on HP-UX 10.20, 11.00 & 11.11, AIX 4.3 & 5.2, SuSE 9.2 & 9.3, and Cygwin. http://www.cmve.net/~merijn Smoking perl: http://www.test-smoke.org, perl QA: http://qa.perl.org reports to: [EMAIL PROTECTED], perl-qa@perl.org