Morten Welinder <mwelinder@xxxxxxxxx> wrote: > >+ die("cannot pread pack file: %s from=%lu, packfile > >size=%lu", strerror(errno), from, lseek(pack_fd, SEEK_END, 0)); > > That might give you the errno from the lseek call. Yes, and I don't care here. We're dead either way, that pread is returning bunk and we don't know why. But it is also giving me SEEK_END, not the end of the file. I got the arguments backwards to lseek. Whoops. ;-) -- Shawn. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html