[syslinux] isohybrid: seek error - 6: Invalid argument
P J P
pj.pandit at yahoo.co.in
Mon Sep 13 22:02:47 PDT 2010
Hello Gerardo,
--- On Tue, 14/9/10, Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
> Based on patch from P J P, using ftruncate() + fileno() and
> fixing the argument should be filesize+padding. I guess is ok,
> works fine.
Yep, I figured about the isostat.st_size + padding, late last night.
> ...
>
> + if (padding & ftruncate(fileno(fp), isostat.st_size + padding))
> + err(1, "%s: could not add padding bytes", argv[0]);
>
> free(buf);
> fclose(fp);
> ===
Thanks so much for the update.
Thank you.
---
Regards
-Prasad
PS: Please don't send me html/attachment/Fwd mails
More information about the Syslinux
mailing list