* Tom Lane <[EMAIL PROTECTED]> [010306 11:49] wrote: > Peter Eisentraut <[EMAIL PROTECTED]> writes: > > What I don't like is that my /usr/include/sys/shm.h (through other > > headers) has [foo] > > whereas /usr/src/linux/include/shm.h has [bar] > > Are those declarations perhaps bit-compatible? Looks a tad endian- > dependent, though ... Of course not, the size of the struct changed (short->unsigned long, basically int16_t -> uint32_t), because the kernel and userland in Linux are hardly in sync you have the fun of guessing if you get: old struct -> old syscall (ok) new struct -> old syscall (boom) old struct -> new syscall (boom) new struct -> new syscall (ok) Honestly I think this problem should be left to the vendor to fix properly (if it needs fixing), the sysV API was published at least 6 years ago, they ought to have it mostly correct by now. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://www.postgresql.org/search.mpl
- Re: [HACKERS] How to shoot yourself in the foot: kil... Tom Lane
- Re: [HACKERS] How to shoot yourself in the foot: kil... Alfred Perlstein
- Re: [HACKERS] How to shoot yourself in the foot: kil... Tom Lane
- Re: [HACKERS] How to shoot yourself in the foot: kil... Alfred Perlstein
- Re: [HACKERS] How to shoot yourself in the foot: kil... Cyril VELTER
- Re: [HACKERS] How to shoot yourself in the foot: kil... Alfred Perlstein
- Re: [HACKERS] How to shoot yourself in the foot: kil... Peter Eisentraut
- Re: [HACKERS] How to shoot yourself in the foot: kil... Lamar Owen
- Re: [HACKERS] How to shoot yourself in the foot: kil... Alfred Perlstein
- Re: [HACKERS] How to shoot yourself in the foot: kil... Tom Lane
- Re: [HACKERS] How to shoot yourself in the foot: kil... Alfred Perlstein
- Re: [HACKERS] How to shoot yourself in the foot: kil... Tom Lane
- Re: [HACKERS] How to shoot yourself in the foot: kil... Nathan Myers
- Re: [HACKERS] How to shoot yourself in the foot: kil... Lamar Owen
- Re: [HACKERS] How to shoot yourself in the foot: kil... Alfred Perlstein
- Re: [HACKERS] How to shoot yourself in the foot: kil... Lamar Owen
- Re: [HACKERS] Red Hat bashing Nathan Myers
- Re: [HACKERS] Red Hat bashing Lamar Owen
- Re: [HACKERS] How to shoot yourself in the foot: kil... Samuel Sieb
- Re: [HACKERS] How to shoot yourself in the foot: kil... Trond Eivind Glomsrød
- Re: [HACKERS] How to shoot yourself in the foot: kil... Trond Eivind Glomsrød