… | |
… | |
202 | int errorno = errno; |
202 | int errorno = errno; |
203 | errno = req->errorno; |
203 | errno = req->errorno; |
204 | |
204 | |
205 | if (req->type == REQ_READ) |
205 | if (req->type == REQ_READ) |
206 | SvCUR_set (req->data, req->dataoffset |
206 | SvCUR_set (req->data, req->dataoffset |
207 | + req->result > 0 ? req->result : 0); |
207 | + (req->result > 0 ? req->result : 0)); |
208 | |
208 | |
209 | if (req->data) |
209 | if (req->data) |
210 | SvREFCNT_dec (req->data); |
210 | SvREFCNT_dec (req->data); |
211 | |
211 | |
212 | if (req->type == REQ_STAT || req->type == REQ_LSTAT || req->type == REQ_FSTAT) |
212 | if (req->type == REQ_STAT || req->type == REQ_LSTAT || req->type == REQ_FSTAT) |