Package: fuse-umfuse-fat Version: 0.1a-1.1 Severity: normal Tags: patch
We use fusefat to create FAT images to write to SD cards, but the month in timestamp is/was wrong:
~ mkdir test.fat ~ date gio 15 set 2016, 18.05.05, CEST ~ su # fusefat -o rw+ /dev/sde2 test.fat # touch test.fat/empty # ls -l test.fat/empty -rwx------ 1 root root 0 set 15 17:05 test.fat/empty # #note that the hour is wrong - maybe something TZ-related? # fusermount -u test.fat # mount /dev/sde2 test.fat # ls -l test.fat/empty -rwxr-xr-x 1 root root 0 ago 15 18:05 test.fat/empty # #note that the hour is right, but the month is wrong The reason is that tm.tm_mon range is 0-11, while FAT range is 1-12. The attached patch fixes the month issue.
Description: Binary data