Messages in this thread | | | Subject | Re: Bug#44654: dpkg: seg faults w/2.3.17; problem traced to sysinfo() | Date | Fri, 10 Sep 1999 13:26:01 +0100 (BST) | From | Alan Cox <> |
| |
> Ok, I forgot about 64bit machines. BTW also your '20-' is obviously > _wrong_ because you are supposing that sizeof(long)-sizeof(short) is 2.
Good point
> + unsigned long totalbig __attribute__((packed)); /* Total big memory size */ > + unsigned long freebig __attribute__((packed)); /* Available big memory size */
That doesnt work on the ARM3
The best I have so far is
struct _foo { ... ... }
struct real_foo { ... ... char pad [64-sizeof(struct _foo)] __attribute((packed)); }
- 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/
| |