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

Comparing libeio/eio.c (file contents):
Revision 1.19 by root, Tue Jun 17 23:34:20 2008 UTC vs.
Revision 1.20 by root, Thu Jun 19 09:05:43 2008 UTC

903 int memlen = 4096; 903 int memlen = 4096;
904 int memofs = 0; 904 int memofs = 0;
905 int res = 0; 905 int res = 0;
906 906
907 X_LOCK (wrklock); 907 X_LOCK (wrklock);
908 /* the corresponding closedir is in ETP_WORKER_CLEAR */
908 self->dirp = dirp = opendir (req->ptr1); 909 self->dirp = dirp = opendir (req->ptr1);
909 req->flags |= EIO_FLAG_PTR2_FREE; 910 req->flags |= EIO_FLAG_PTR2_FREE;
910 req->ptr2 = names = malloc (memlen); 911 req->ptr2 = names = malloc (memlen);
911 X_UNLOCK (wrklock); 912 X_UNLOCK (wrklock);
912 913

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines