--- cvsroot/libeio/eio.h 2011/09/26 16:54:25 1.46 +++ cvsroot/libeio/eio.h 2011/09/27 00:41:52 1.48 @@ -92,7 +92,7 @@ /* managing working directories */ -typedef void *eio_wd; +typedef struct eio_pwd *eio_wd; #define EIO_CWD 0 /* the current working directory of the process, guaranteed to be a null pointer */ #define EIO_INVALID_WD ((eio_wd)(int)-1) /* failure return for eio_wd_open */ @@ -247,7 +247,7 @@ int type; /* EIO_xxx constant ETP */ int int1; /* all applicable requests: file descriptor; sendfile: output fd; open, msync, mlockall, readdir: flags */ long int2; /* chown, fchown: uid; sendfile: input fd; open, chmod, mkdir, mknod: file mode, sync_file_range, fallocate: flags */ - long int3; /* chown, fchown: gid; rename: working directory of new name */ + long int3; /* chown, fchown: gid; rename, link: working directory of new name */ int errorno; /* errno value on syscall return */ #if __i386 || __amd64