--- IO-AIO/AIO.xs 2010/05/09 20:42:55 1.165 +++ IO-AIO/AIO.xs 2010/05/09 20:43:28 1.166 @@ -306,13 +306,12 @@ static int req_invoke (eio_req *req) { - dSP; - if (req->flags & FLAG_SV2_RO_OFF) SvREADONLY_off (req->sv2); if (!EIO_CANCELLED (req) && req->callback) { + dSP; static SV *sv_result_cache; /* caches the result integer SV */ SV *sv_result;