search for: is_m

Displaying 2 results from an estimated 2 matches for "is_m".

Did you mean: istm
2010 Aug 08
1
PATCH/RFC chain.c: update iterator code, yank from chain.c, move both to separate directory
1) code split and move Iterator related functionality is yanked from chain.c and moved to iterator.{c,h}. Both are moved to com32/chain and this way chain.c is ready for further splitting. Alternatively, partiter could be moved to com32/lib at any time in the future. It's potentially useful for other modules (e.g. if someone wanted to code partition dumper or editor). 2) Iterator updates
2011 Mar 13
0
chain.c32 memcmp bug
...4.03 and latest 4.04 pre12 doesn't work as expected (unable to find requested GPT disk/partition). The entered guid is correct according to gdisk and chain.c32 debug information but still chain.c32 claims it can't find the drive. The bug is located in function find_by_guid, line 991. It is is_me = !memcmp(&header->disk_guid, &gpt_guid, sizeof(*gpt_guid)); but should be is_me = !memcmp(&header->disk_guid, gpt_guid, sizeof(*gpt_guid)); as memcmp takes two void pointers and gpt_guid is already a pointer to struct guid. I've recompiled chain.c32 with this tiny fix (usin...