Re: [PATCH 3/3] curl: fix symbolic constant typechecks with curl_easy_setopt()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 4 Jun 2025, Jeff King wrote:

It seems kind of weird to me that curl doesn't define these constants as
longs, since the point of them is to pass to curl_easy_setopt().

Agreed. Mostly just because of my lack of imagination when I added them a long time ago.

We have over recent times updated several public option related defines to better help applications to get int vs long right, but I have clearly missed to do that for this particular set.

I intend to fix this omission, but since you want to support building with lots of old curl versions as well, this correction probably won't help you for another decade or so... :-)

--

 / daniel.haxx.se




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux