[Freeassociation-devel] Re-joining the list after accidentally unsubscribing
Patrick Ohly
patrick.ohly at gmx.de
Thu May 19 06:13:56 PDT 2011
Hello!
Sorry for top-posting, I wanted to include the full context for
Salvatore (on CC).
What's the status with the libical update? Has the problem below been
resolved?
It would be interesting to try out a release candidate of libical with
SyncEvolution in the nightly testing. Perhaps Salvatore has some time
for that.
I myself wanted to get involved, but haven't found the time and now will
be on vacation for two weeks.
Bye, Patrick
On Di, 2011-04-19 at 17:30 -0400, IGnatius T Foobar wrote:
> >Please don't release yet though.
> >I still have a backlog of patches and fixes to get through.
>
> I found a bug that has crept into libical. It is definitely new, although
> I cannot seem to pin down exactly where it is.
>
> Originally I thought there was a problem with the expansion of recurring
> events, but this is not the case; that was only where I was seeing symptoms
> because my application code uses icalcomponent_remove_property() to remove
> DTSTART and DTEND properties from an ICAL_VEVENT_COMPONENT and then replaces
> them with the start and end times of the iteration.
>
> The real problem is: icalcomponent_remove_property() is not working. It
> appears to simply do nothing. Here is sample code to make the problem appear:
>
>
> cptr = icalcomponent_get_first_component(Cal->cal, ICAL_VEVENT_COMPONENT);
>
>
> if (cptr) {
> /* Remove any existing DTSTART properties */
> while ( ps =
> icalcomponent_get_first_property(cptr, ICAL_DTSTART_PROPERTY),
> ps != NULL
> ) {
> icalcomponent_remove_property(cptr, ps);
> }
> }
>
> This code will hang the program in an infinite loop.
>
>
> I wonder if we can build a regression test for this?
>
> -- Art
>
>
> ------------------------------------------------------------------------------
> Benefiting from Server Virtualization: Beyond Initial Workload
> Consolidation -- Increasing the use of server virtualization is a top
> priority.Virtualization can reduce costs, simplify management, and improve
> application availability and disaster protection. Learn more about boosting
> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
> _______________________________________________
> Freeassociation-devel mailing list
> Freeassociation-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freeassociation-devel
More information about the libical-devel
mailing list