[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #35649] fix urlwrite.cc to be backwards compat
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #35649] fix urlwrite.cc to be backwards compatible with libcurl 7.15.5 for RHEL/CentOS 5 |
Date: |
Thu, 01 Mar 2012 15:24:05 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:10.0.1) Gecko/20100101 Firefox/10.0.1 |
Follow-up Comment #3, bug #35649 (project octave):
I agree, but unfortunately most constants in curl including this one are enums
instead of defines.
One option would be to test for a completely unrelated define that first
showed up in the same version, 7.17.0, but I think that's worse.
Another option would be to just use the old constant again, which is defined
by curl to be backwards compatible, as long as CURL_NO_OLDIES is not defined
by the user.
One more option would be something perverse like
#ifndef CURLOPT_FTPLISTONLY
#define CURLOPT_DIRLISTONLY CURLOPT_FTPLISTONLY
#endif
If it is not defined, then it's an enum, but that just looks wrong.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35649>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/