natevw / fatfs

Standalone FAT16/FAT32 filesystem implementation in JavaScript
47 stars 13 forks source link

FAT12 passes tests, but manual content check via OS X shows borkage #4

Closed natevw closed 10 years ago

natevw commented 10 years ago

Our current test suite passes, but when actually opening the file created it seems to be messed up (perhaps every other cluster?). I suspect we might be handling the 12-bit entries incorrectly or something.

Needs a test case as first step.

natevw commented 10 years ago

Fixed by https://github.com/natevw/fatfs/commit/8afd59bc90bb546709bf63b6b0c5fbd092aed4c8 and https://github.com/natevw/fatfs/commit/349f4407a18e6108697ec20b5d346b1156d62aeb.