Andrew Benton wrote:
> On Tue, 10 Apr 2012 18:24:53 +0100
> Bruce Dubbs <[email protected]> wrote:
> 
>> Michael Shell wrote:
>>> On Mon, 9 Apr 2012 13:47:16 -0500
>>> Stuart Stegall <[email protected]> wrote:
>>>
>>>> It's not resolved as of yet I believe: downgrade to 2.1.23
>>> FWIW, there is a patch to fix 2.1.25:
>>>
>>> https://bugzilla.cyrusimap.org/show_bug.cgi?id=3590
>>>
>>> ====================================================
>>> --- auxprop.c.orig      2012-01-11 12:34:03.948477379 -0800
>>> +++ auxprop.c   2012-01-11 12:34:45.878474663 -0800
>>> @@ -917,7 +917,10 @@
>>>                         (sasl_callback_ft *)&getopt,
>>>                         &context) == SASL_OK) {
>>>        ret = getopt(context, NULL, "auxprop_plugin", &plist, NULL);
>>> -       if(ret != SASL_OK) plist = NULL;
>>> +       if(ret != SASL_OK) {
>>> +               plist = NULL;
>>> +               result = SASL_OK;
>>> +       }
>>>     }
>>>
>>>     if(!plist) {
>>>
>>> ====================================================
>>>
>>> which should get it to work as well as 2.1.23, but it probably
>>> still is not the final word on the issue.
>> Looks like a sed to me:
>>
>> sed -i 's/\(plist = NULL;\)/{\1 result = SASL_OK;}/' auxprop.c
> 
> Unfortunately that will change 3 lines in the file and the patch only
> changes one.

OK.

sed -i '920 s/\( plist = NULL;\)/{\1 result = SASL_OK;}/' lib/auxprop.c

or even

sed -i '917,924 s/\( plist = NULL;\)/{\1 result = SASL_OK;}/' lib/auxprop.c

Which matches the patch.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to