pali

Results 504 comments of pali

This looks like a nice feature request. If anybody wants to work on this, patches are welcome!

@fstirlitz: You are rigth that it is a problem for unaligned access to structure members. Bigger issue is that unaligned access is allowed on x86 (it is just slower as...

Moreover, > ```c > typedef struct { char data[4]; } u32le_t; > ``` this code is broken. Compiler is free to put any padding after `data` member. So `u32le_t` does...

Now I tried to find exact information about packed strctures on gcc webpages, but I was not able... From what I remember is that reading and storing from structure is...

`__attribute__((packed))` is already used and needed for mkfs.fat, so this pull request does not decrease portability of code. And I think that code is correct too.

@davidgumberg: Could you rebase this patch on top of master branch? Or should I do it and merge it?

PR is OK, just needs to be rebased on top of master branch as there are some git conflicts.

@davidgumberg: Could you please rebase this pull request?