[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH][TOOLS] blktap: factor out linux specific code



On Thu, Dec 06, 2007 at 07:52:32PM +0100, Christoph Egger wrote:

> -             s->fd_end = lseek64(fd, 0, SEEK_END);
> -             if (s->fd_end == (off64_t)-1)
> +             s->fd_end = lseek(fd, 0, SEEK_END);
> +             if (s->fd_end == (off_t)-1)

Why this change? Seems that it will break for any large file?

regards
john

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.