[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldsync-hackers] [PEG-T415] update
On Thursday 07 March 2002 04:35 pm, you wrote:
> IIRC each protocol gives its own compatibility version. That is,
> at some point the Palm says, "I understand SLP up to version 2.0, CMP up
> to version 1.1, and DLP up to version 3.0."
> I think an ideal solution would be to cache this information
> somewhere (in the PConnection, I think), and use it to optimize further
> calls.
> A slightly less ideal solution would be to declare that PalmOS 1.x
> is no longer supported.
Another option -- granted, not elegant, but an option -- is a configure- or
compile-time switch, a define passed to make, that would enable multiple-DB
access mode. I've gotten the Clie to sync successfully by deleting -all- RAM
databases except one and passing it the send-multiple-databases flag. It
responds to the request, but only returns one database, so it doesn't break
spalm.c's assumption. If there is more than one, spalm.c tries to iterative
over the multiple databases and (because of the use of calloc and a
limited-size read buffer) winds up looking at a very large block of nulls,
causing it to try to load conduits for empty strings. This causes several
hundred lines of angry debug output (several dozen per database), though the
program does terminate normally. Only the first database is every synced,
obviously.
I'm working on hacking spalm.c to accept multiple databases. If it works,
I'll offer it up as a patch (controlled by a #define, I imagine).
As a poll -- how many people on the list are syncing PalmOS 1.0 devices?
-Cliff L. Biffle
--
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.