ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/AIO.xs
(Generate patch)

Comparing IO-AIO/AIO.xs (file contents):
Revision 1.197 by root, Tue Sep 27 01:43:03 2011 UTC vs.
Revision 1.199 by root, Thu Sep 29 09:47:13 2011 UTC

820 XPUSHs (req_sv (req, aio_req_stash)); 820 XPUSHs (req_sv (req, aio_req_stash));
821 821
822static void 822static void
823req_set_path (aio_req req, SV *path, SV **wdsv, SV **pathsv, eio_wd *wd, void **ptr) 823req_set_path (aio_req req, SV *path, SV **wdsv, SV **pathsv, eio_wd *wd, void **ptr)
824{ 824{
825 if (SvROK (path)) 825 if (expect_false (SvROK (path)))
826 { 826 {
827 AV *av = (AV *)SvRV (path); 827 AV *av = (AV *)SvRV (path);
828 SV *wdob; 828 SV *wdob;
829 829
830 if (SvTYPE (av) != SVt_PVAV || AvFILLp (av) != 1) 830 if (SvTYPE (av) != SVt_PVAV || AvFILLp (av) != 1)
1396 aio_symlink = EIO_SYMLINK 1396 aio_symlink = EIO_SYMLINK
1397 aio_rename = EIO_RENAME 1397 aio_rename = EIO_RENAME
1398 PPCODE: 1398 PPCODE:
1399{ 1399{
1400 dREQ; 1400 dREQ;
1401 eio_wd wd2; 1401 eio_wd wd2 = 0;
1402 1402
1403 req->type = ix; 1403 req->type = ix;
1404 req_set_path1 (req, oldpath); 1404 req_set_path1 (req, oldpath);
1405 req_set_path (req, newpath, &req->sv2, &req->sv4, &wd2, &req->ptr2); 1405 req_set_path (req, newpath, &req->sv2, &req->sv4, &wd2, &req->ptr2);
1406 req->int3 = (long)wd2; 1406 req->int3 = (long)wd2;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines