Messages in this thread | | | Date | Fri, 10 Sep 1999 06:43:53 -0700 | From | (Jim Gettys) | Subject | Re: Bug#44654: dpkg: seg faults w/2.3.17; problem traced to sysinfo() |
| |
> Sender: owner-linux-kernel@vger.rutgers.edu > From: Chris Lawrence <lawrencc@debian.org> > This explicitly includes the alignment in the structure, which IMHO is > a good thing. Yes, I know _f[] looks ugly. Oh, well. (I assume > unsigned short is usually 32 bits on a 64-bit platform, so the > alignment will be fixed here... otherwise, damned if I know how to > portably fix the problem.) > Poor assumption:
On 64 bit systems, unsigned short is usually 16 bits. Unsigned int is 32 bits; unsigned long is 64 bits. - Jim
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |