cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: prerequisites for auto-generated docs ?

From: bch <brad.harder_at_gmail.com>
Date: Wed, 25 Feb 2015 15:20:57 -0800

On 2/25/15, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Wed, 25 Feb 2015, bch wrote:
>
>> perl ./mksymbolsmanpage.pl < > libcurl-symbols.3
>> sh: Syntax error: redirection unexpected
>
> That looks wrong.

Yes.

> If I remove libcurl-symbols.3 locally and run make it does
> this:
>
> $ rm libcurl-symbols.3
> $ make
> perl ./mksymbolsmanpage.pl < symbols-in-versions > libcurl-symbols.3

With this simple patch, I can fix that. What am I doing wrong ?

--- src/vendor/curl/include/curl/curl.h
+++ src/vendor/curl/include/curl/curl.h
@@ -2112,11 +2112,12 @@
   CURLINFO_LOCAL_IP = CURLINFO_STRING + 41,
   CURLINFO_LOCAL_PORT = CURLINFO_LONG + 42,
   CURLINFO_TLS_SESSION = CURLINFO_SLIST + 43,
   /* Fill in new entries below here! */

- CURLINFO_LASTONE = 43
+ CURLINFO_NEGOTIATED_SSL = CURLINFO_STRING + 44,
+ CURLINFO_LASTONE = 44
 } CURLINFO;

 /* CURLINFO_RESPONSE_CODE is the new name for the option previously known as
    CURLINFO_HTTP_CODE */
 #define CURLINFO_HTTP_CODE CURLINFO_RESPONSE_CODE

> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-02-26