Post Reply 
newRPL: [UPDATED April 27-2017] Firmware for testing available for download
08-15-2016, 03:10 PM
Post: #379
RE: newRPL: [UPDATED July-25-16] Firmware for testing available for download
(08-14-2016 02:14 AM)matthiaspaul Wrote:  I have another question regarding this section: If NTRes is commented out because it doesn't change (except for possibly bits 4-3 during a file rename), does this imply that CreatTimeDate and CrtTmTenth do change here (they shouldn't unless during file creation)?

I could probably answer that question myself by digging deeper into the call hierarchy of your code, but as I haven't found the time for that so far and since you wrote that this piece of code is just used to modify existing entries (not to initialize new ones), setting the create date/time seems unnecessary as well here. Reinitializing with the same values read when opening the file would not cause any problems (just be redundant), but if the create date/time would be calculated afresh and applied to an already existing entry, this would not only undermine the very purpose of a create date/time stamp, but also overwrite some alternative data possibly residing at this location - which could cause problems elsewhere. So, this might be worth another close look.

Greetings,

Matthias

I'm not sure why I didn't comment that line out. There's no need to refresh that information at all.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: newRPL: [UPDATED July-25-16] Firmware for testing available for download - Claudio L. - 08-15-2016 03:10 PM



User(s) browsing this thread: 2 Guest(s)