Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Prev Previous Post   Next Post Next
Old 10-06-2009, 05:03 PM   #1
Human being with feelings
Join Date: Oct 2009
Location: Canberra, Australia
Posts: 4
Default Fixed FAT vs NTFS timestamps with DST change


Here in Australia daylight saving time has just kicked in again, and a whole bunch of files that live on my flash drive (FAT32) are suddenly considered different. I've always assumed that it was due to the 2 second timestamp resolution and DST in combination but this time I decided to fix the problem.

(Unfortunately, I don't have a C compiler setup, so it was just easier to hack the exe its self and change the 10000000 and -10000000 values to 20000000 and -20000000.)

The correct change in the source is to change these two values on line 1448:

  dateMatch = l < 10000000 && l > -10000000;
  dateMatch = l < 20000000 && l > -20000000;
Justin, if you could incorporate this change into the source it would be nice.

Also, I'd also be interested in that unicode/UTF-8 version that you mentioned a little while ago.


adamkerz is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 06:49 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.