> IMHO if _IO_seekoff_unlocked returns _IO_pos_BAD (e.g. because lseek > failed), we shouldn't subtract anything from it and just return EIO error. That seems clearly right. I've put the change in. Thanks, Roland