On Thu, 2009-06-18 at 02:45 +0200, Gavin Sherry wrote:
> No, it comes to 24 bytes. short = 2 + 2, off_t = 4 + 4, + 4 + 4 + 4 =
> 24. off_t = 4 for this build because I've forced it to 32 bit (gcc
> -m32) based on some other requirements.

OK. Hmm, interesting. So, it segfaults on assigning l_pid.

Can you try this. Break at that assignment and then try assigning to one
of the fields in the structure yourself. Do any of them work?

-- 
Bojan

Reply via email to