On Thu, Feb 07, 2008 at 10:05:56PM +0100, Christian Franke wrote: > The new command "grub-fstest" may not work for large image files or > /dev/sdX devices on 32-bit platforms. > > Legacy C89 functions fseek() and ftell() always use "long" as offset > type. The attached patch changes this to fseeko() and ftello() which use > off_t. These are part of POSIX, so new ./configure stuff should be not > necessary. > > Christian > > 2008-02-07 Christian Franke <[EMAIL PROTECTED]> > > * util/hostfs.c (grub_hostfs_open): Use fseeko and ftello > instead of fseek and ftell to support large files. > (grub_hostfs_read): Likewise.
Committed, thanks. -- Robert Millan <GPLv2> I know my rights; I want my phone call! <DRM> What use is a phone call… if you are unable to speak? (as seen on /.) _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel