[poe-commits] poe/POE/Driver SysRW.pm,1.25,1.26
Brought to you by:
rcaputo
From: <rc...@us...> - 2003-11-26 03:52:12
|
Update of /cvsroot/poe/poe/POE/Driver In directory sc8-pr-cvs1:/tmp/cvs-serv6579/POE/Driver Modified Files: SysRW.pm Log Message: Replace POSIX errno constants with ones from Errno. The Errno module has better errno support than POSIX in "special" environments like ActivePerl. This commit addresses rt.cpan.org ticket #4476. Index: SysRW.pm =================================================================== RCS file: /cvsroot/poe/poe/POE/Driver/SysRW.pm,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** SysRW.pm 21 Nov 2003 05:08:25 -0000 1.25 --- SysRW.pm 26 Nov 2003 03:52:07 -0000 1.26 *************** *** 13,17 **** $VERSION = do {my@r=(q$Revision$=~/\d+/g);sprintf"%d."."%04d"x$#r,@r}; ! use POSIX qw(EAGAIN EWOULDBLOCK); use Carp qw(croak); --- 13,17 ---- $VERSION = do {my@r=(q$Revision$=~/\d+/g);sprintf"%d."."%04d"x$#r,@r}; ! use Errno qw(EAGAIN EWOULDBLOCK); use Carp qw(croak); *************** *** 21,28 **** sub BLOCK_SIZE () { 3 } sub TOTAL_OCTETS_LEFT () { 4 } - - BEGIN { - eval '*EWOULDBLOCK = sub { 10035 };' if $^O eq 'MSWin32'; - } #------------------------------------------------------------------------------ --- 21,24 ---- |