On 25-Nov-2009, Mark Hindley wrote: > Could you run these perl one-liners from a console and check my > expected results.
I'm running these on the same machine where I'm experiencing this bug (a PowerPC64 box running Debian Squeeze). > perl -e'alarm 1;printf "Num: %d\tTime left: %f\n", select undef, undef, > undef, 3.0' > Expect: Alarm clock $ perl -e'alarm 1;printf "Num: %d\tTime left: %f\n", select undef, undef, undef, 3.0' Alarm clock > perl -e'alarm 5;printf "Num: %d\tTime left: %f\n", select undef, undef, > undef, 3.0' > Expect: Num: 0 Time left: 0.000000 $ perl -e'alarm 5;printf "Num: %d\tTime left: %f\n", select undef, undef, undef, 3.0' Num: 0 Time left: 0.000000 > perl -e'$SIG{ALRM}=sub {};alarm 1;printf "Num: %d\tTime left: %f\n", select > undef, undef, undef, 3.0' > Expect: Num: -1 Time left: 2.000000 $ perl -e'$SIG{ALRM}=sub {};alarm 1;printf "Num: %d\tTime left: %f\n", select undef, undef, undef, 3.0' Num: -1 Time left: 1.999990 -- \ “Nature abhors a moron.” —Henry L. Mencken | `\ | _o__) | Ben Finney <b...@benfinney.id.au>
signature.asc
Description: Digital signature