"H.Merijn Brand" <[EMAIL PROTECTED]> wrote:
> -1 not allowed?

Dunno, I was thinking that signal numbers must be (logically)
positive numbers.
So I introduced this test in Config.t (change 18891) to help tracking
a problem on Linux/Gentoo.
But now I see that :

  $ uname -a
  HP-UX galhp B.10.20 E 9000/806 1966347252 8-user license
  $ grep RTMIN /usr/include/sys/signal.h
  #define SIGRTMIN        (-1)    /* P1003.4/D14.1 3.3.1.1 */

Duh. There are actually OSes out there with negative signal numbers.
Feel free to remove the last test of lib/Config.t.

> d3:/pro/3gl/CPAN/perl-current 106 > ./perl -Ilib lib/Config.t
> 1..36
> ok 1 - use Config
> ok 2 - Config has more than 500 entries
> :
> :
> ok 34 - still d_fork
> ok 35 - sig_size
> not ok 36 - sig_num has only positive numbers
> # Failed at lib/Config.t line 126
> #      got '0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
> 26 27 28 29 30 31 32 33 34 -1 6 18 22 23 '
> # expected /(?-xism:^[ \d]+\z)/
> d3:/pro/3gl/CPAN/perl-current 107 > cat .patch
> 18958
> d3:/pro/3gl/CPAN/perl-current 108 >

Reply via email to