[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 103922] DATALOSS: unsynchronized entries are removed from PDA.
From:       "Jason 'vanRijn' Kasper" <vR () movingparts ! net>
Date:       2005-04-16 18:20:41
Message-ID: 20050416182041.21222.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=103922         




------- Additional Comments From vR movingparts net  2005-04-16 20:20 -------
The solution is that "/" is replaced by "-".  This is the same safety check that is \
in kpilot's hotSync.cc, and is what was recommended by Adriaan.  

Yes, you're correct, there is a very edge case that could cause one file to be \
overwritten by another (if you have a memo titled "2004/03/21" and one called \
"2004-03-21", then one will be clobbered).  If you have a better solution, feel free \
to update this bug with a patch, or even a logical suggestion.  Remember--the \
challenge here is that the only way to prevent this from happening is to use the \
pilot's ID as the filename--that's the unique key for the Memo.  I don't think that's \
horribly useful, since what you'll end up with in your directories is files named \
"133334444", "133445533", "244333338", etc., which defeats the purpose of having flat \
files that can be edited easily.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic