diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-09-16 12:54:43 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-09-16 12:54:43 +0000 |
commit | 4189264e895252d9336b503e6f64ea18c10701f6 (patch) | |
tree | e01c122fa787b2bb77e2cc936b55ff073267575e /pp_sys.c | |
parent | 8c18259e23fd9d5fd07b5221a1df53c2111ce455 (diff) | |
download | perl-4189264e895252d9336b503e6f64ea18c10701f6.tar.gz |
Revert change #24223 : select() will continue
to return -1 on error, like in previous versions, and
like other system builtins.
p4raw-link: @24223 on //depot/perl: 5c477709a8f3aa3110d51ae872950c20ff14fed6
p4raw-id: //depot/perl@25418
Diffstat (limited to 'pp_sys.c')
-rw-r--r-- | pp_sys.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1148,10 +1148,7 @@ PP(pp_sselect) } } - if (nfound == -1) - PUSHs(&PL_sv_undef); - else - PUSHi(nfound); + PUSHi(nfound); if (GIMME == G_ARRAY && tbuf) { value = (NV)(timebuf.tv_sec) + (NV)(timebuf.tv_usec) / 1000000.0; |