Mercurial > audlegacy
changeset 4418:7df56e5ec76b
Automated merge with ssh://hg.atheme.org//hg/audacious
| author | William Pitcock <nenolod@atheme.org> |
|---|---|
| date | Mon, 31 Mar 2008 09:33:16 -0500 |
| parents | f922499e69bc (current diff) ac8d871b6075 (diff) |
| children | fa676e489b64 |
| files | HACKING |
| diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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
