# HG changeset patch # User William Pitcock # Date 1206973996 18000 # Node ID 7df56e5ec76b1ba4cef4b7ba0503b90c814237f7 # Parent f922499e69bcecc16f5b5113a00587878c41f0e7# Parent ac8d871b60753f88af741e00ddfd194cf4174b20 Automated merge with ssh://hg.atheme.org//hg/audacious diff -r f922499e69bc -r 7df56e5ec76b HACKING --- a/HACKING Mon Mar 31 09:32:45 2008 -0500 +++ b/HACKING Mon Mar 31 09:33:16 2008 -0500 @@ -55,7 +55,10 @@ equal to some other platform. Some clever people might think that making struct "packed" via the - C packed qualifier would be a solution, but this will + C packed qualifier would be a solution, but this will cause problems + on platforms which require words to be aligned in memory - so it + "works" on x86 (with performance penalty), but will fail with bus error + on elsewhere. What you SHOULD do is read individual members of the struct one by one from the stream. This may sound bothersome, but by doing so, your code