cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Patch for 301/302 redirect after post

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 14 Jul 2008 13:42:29 -0700

On Mon, Jul 14, 2008 at 08:42:09PM +0200, Patrick Monnerat wrote:
> Martin Drasar wrote:
> > CURLOPT_POST301 is changed from bool to long
>
> > I hope the patch doesn't screw something else up :o)
>
> Changing an existing parameter's type breaks the ABI !!!
>
> That is: applying your patch to libcurl makes programs compiled with
> another version incompatible :-(
>
> 'better use another option in this case

In this case, the change should be benign. The parameter is passed as a long
in any case, and as long as the existing behaviour is kept for the 0 and 1
values, all should be fine.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-07-14