Version: 4.5.0 (using KDE KDE 3.3.92) Installed from: Compiled From Sources OS: Linux It looks like this has broken again. I'm running 4.5.0 (CVS HEAD), updated from CVS as of a couple of days ago, and I'm trying to get kpilot to not sync Plucker documents. The creator for these is "Plkr", so I am using "[Plkr]" in the sync-ignore field in the configuration dialog, and yet these databases are still pulled down to filesystem during a HotSync backup. I'll try to look at this soon....
Found it. Off by 1 position twice. =:) Will attach the diff to fix it.
Created attachment 9806 [details] fix for kpilot backup not correctly skipping creators
CVS commit by vanrijn: - fix for off-by-one-twice bug that was keeping requested databases from being skipped BUGS:100114 CCBUGS:100114 M +5 -4 hotSync.cc 1.53 --- kdepim/kpilot/kpilot/hotSync.cc #1.52:1.53 @@ -213,5 +213,5 @@ static inline void initNoBackup(QStringL else { - QCString data = s.mid(2,4).latin1(); + QCString data = s.mid(1,4).latin1(); unsigned long creator = pi_mktag(data[0],data[1],data[2],data[3]); dbcreators.append(creator); @@ -368,8 +368,9 @@ bool BackupAction::checkBackupDirectory( char buff[8]; + memset(buff, 0, 8); buff[0] = '['; set_long( &buff[1], info.creator ); - buff[6] = ']'; - buff[7] = '\0'; + buff[5] = ']'; + buff[6] = '\0'; QString creator = QString::fromLatin1( buff ); info.name[33]='\0';