[sync] SyncML Patch and Seg Fault

Chuck Hagenbuch chuck at horde.org
Wed Dec 17 08:27:10 PST 2003


Quoting Anthony Mills <amills at gascard.net>:

> I pretty much hacked the files as best I could to run with a syncml
> client.  It's one thing for them to "complie" and another for them to
> run with actual data.  I fixed some syntax errors, tried to fix some
> broken logic.  I made the wbxml get and send xml files through the
> variables and not streams.  the variables I changed from _var to var are
> public variables that are used in both the decoder (it gets the
> variables) and encoder (it sets them).  My goal was to get the stuff
> working no matter how ugly.  Some things just will not work, the static
> variable is always 0.  Once I knew that it worked, I was going to make
> it cleaner and more straight forward.  You don't have to commit the
> patch, and it might be better if you didn't.  I just wanted the list to
> see it, and to see if there was something just I was just doing blantely
> wrong.  My goal is to finish this part today and start on the SyncML
> portion tonight.  PHP is really hard to use binary data, but I press on.

Thanks! I just posted seperately saying that I'd finished fiddling; I ended up
applying a bunch of the fixes in your patch, and doing some other cleaning
up/changing around. Let me know if I broke anything, etc.

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
"I'm really... I'm not too fascinated by green food." - Average Joe


More information about the sync mailing list