[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libmicrohttpd] misc patches to current git master
From: |
Evgeny Grin |
Subject: |
Re: [libmicrohttpd] misc patches to current git master |
Date: |
Wed, 22 Mar 2017 23:02:58 +0300 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
Patch for docs applied.
libintl is not always required. For example, on GNU/Linux it usually
provided by glibc.
--
Best Wishes,
Evgeny Grin
On 22.03.2017 20:47, Vitaliy T wrote:
> 1. libmicrohttpd.texi:1649: @node seen before @end deftypefun
>
> diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi
> index 1d6438d9..b6e933f1 100644
> --- a/doc/libmicrohttpd.texi
> +++ b/doc/libmicrohttpd.texi
> @@ -1616,6 +1616,7 @@ the right options for this call.
>
> @deftypefun int MHD_get_fdset2 (struct MHD_Daemon *daemon, fd_set *
> read_fd_set, fd_set * write_fd_set, fd_set * except_fd_set, int
> *max_fd, unsigned int fd_setsize)
> Like @code{MHD_get_fdset()}, except that you can manually specify the
> value of FD_SETSIZE used by your application.
> address@hidden deftypefun
>
>
> @deftypefun int MHD_get_timeout (struct MHD_Daemon *daemon, unsigned
> long long *timeout)
>
>
> 2. src/examples/msgs_i18n.c should be linked against libintl
>
> diff --git a/src/examples/msgs_i18n.c b/src/examples/msgs_i18n.c
> index 2d8eb566..b6b98909 100755
> --- a/src/examples/msgs_i18n.c
> +++ b/src/examples/msgs_i18n.c
> @@ -32,7 +32,7 @@
> * mkdir -p src/examples/locale/pt_BR/LC_MESSAGES
> * mv libmicrohttpd.mo libmicrohttpd.po src/examples/locale/pt_BR/LC_MESSAGES
> * cd src/examples/
> - * gcc -o msgs_i18n msgs_i18n.c -lmicrohttpd
> + * gcc -o msgs_i18n msgs_i18n.c -lmicrohttpd -lintl
> * export LANGUAGE=pt_BR
> * ./msgs_i18n
> * # it may print: Opção inválida 4196490! (Você terminou a lista com
> MHD_OPTION_END?)
>
>
> Thanks!
>