ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libeio/eio.c
(Generate patch)

Comparing libeio/eio.c (file contents):
Revision 1.29 by root, Wed Apr 22 11:04:49 2009 UTC vs.
Revision 1.30 by root, Wed Jun 3 12:24:49 2009 UTC

771 771
772 X_LOCK (preadwritelock); 772 X_LOCK (preadwritelock);
773 ooffset = lseek (fd, 0, SEEK_CUR); 773 ooffset = lseek (fd, 0, SEEK_CUR);
774 lseek (fd, offset, SEEK_SET); 774 lseek (fd, offset, SEEK_SET);
775 res = write (fd, buf, count); 775 res = write (fd, buf, count);
776 lseek (fd, offset, SEEK_SET); 776 lseek (fd, ooffset, SEEK_SET);
777 X_UNLOCK (preadwritelock); 777 X_UNLOCK (preadwritelock);
778 778
779 return res; 779 return res;
780} 780}
781#endif 781#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines