wufuyue / yaffs2utils

Automatically exported from code.google.com/p/yaffs2utils
GNU General Public License v2.0
1 stars 3 forks source link

unspare2's -e parameter does not work #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. run unspare2 /dev/mtdX /tmp/test1
2. run unspare2 -e /dev/mtdX /tmp/test2
3. diff /tmp/test1 /tmp/test2

What is the expected output? What do you see instead?
Files should differ

What version of the product are you using? On what operating system?
SVN version r23

After parsing the '-e' parameter the following is done:
unspare2_flags &= UNSPARE2_FLAGS_ENDIAN
instead of
unspare2_flags |= UNSPARE2_FLAGS_ENDIAN

Original issue reported on code.google.com by HIGH...@gmail.com on 1 Sep 2011 at 2:03

GoogleCodeExporter commented 8 years ago
Dear Stijn:

Thanks a lot.

I will fix it in the next revision. :D

Original comment by penguin.lin on 2 Sep 2011 at 3:42

GoogleCodeExporter commented 8 years ago

Original comment by penguin.lin on 13 Sep 2011 at 1:40

GoogleCodeExporter commented 8 years ago
It was fixed in r24.

Original comment by penguin.lin on 16 Sep 2011 at 1:07