[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldsync-hackers] Problem with Sync Conduit
- To: coldsync-hackers at lusars dot net
- Subject: Re: [coldsync-hackers] Problem with Sync Conduit
- From: Christophe Beauregard <christophe dot beauregard at sympatico.ca>
- Date: Thu, 17 Jun 2004 18:34:03 -0400
- In-reply-to: <40D1C59A.205@84andahalf.com>
- References: <40D1C59A.205@84andahalf.com>
- Reply-to: coldsync-hackers at lusars dot net
- Sender: owner-coldsync-hackers at lusars dot net
- User-agent: KMail/1.6.2
On Thursday 17 June 2004 12:23, Marco van Beek wrote:
> I have "use ColdSync::SPC" at the start of the program (which is
> attached) and at the moment, all the program does at the moment is do
> the logic of finding records that have changed.
Nothing obvious jumps out at me. What happens when you do something like:
foreach my $PDA_record ( ColdSync::SPC::dlp_ReadNextModifiedRec($pdb) )
You might also want to try 'use warnings;' as well as strict.
> "dlp_SetSysDateTime" seems to crash the Palm, (which might be badly
> configured data), but doesn't cause an error message like below.
I use (and this was actually snarfed from somewhere else):
@_ = localtime(time);
$_[5] += 1900; # year correction
++$_[4]; # month 0..11 -> 1..12
&dlp_SetSysDateTime(reverse @_[0..5]) && die "501 Cannot SetSysDateTime";
> There are two copies of ColdSync::SPC on the hard drive, but both are
> identical (one is where the snapshot zip file was uncompressed).
The ReadNext* stuff was only added a year or so ago and, IIRC, is only found
in CVS and the pre4 snapshot. So I could see a really old version floating
around. What do you get from:
find /usr/lib -name 'SPC.pm' -exec sum {} \;
c.
This message was sent through the coldsync-hackers mailing list. To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body. For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.