9.10.4 build fails in dlz/modules/filesystem; 9.10.3-P4 ok.

PGNet Dev pgnet.dev at gmail.com
Fri Apr 29 00:23:12 UTC 2016


On 04/28/2016 04:54 PM, Mark Andrews wrote:
> This should fix this.
>
> diff --git a/contrib/dlz/modules/filesystem/dlz_filesystem_dynamic.c b/contrib/dlz/modules/filesystem/dlz_filesystem_dynamic.c
> index 35bed58..cbd5049 100644
> --- a/contrib/dlz/modules/filesystem/dlz_filesystem_dynamic.c
> +++ b/contrib/dlz/modules/filesystem/dlz_filesystem_dynamic.c
> @@ -825,6 +825,7 @@ isc_result_t
>  dlz_create(const char *dlzname, unsigned int argc, char *argv[],
>            void **dbdata, ...)
>  {
> +       isc_result_t result = ISC_R_NOMEMORY;
>         config_data_t *cd;
>         char *endp;
>         int len;
> @@ -933,7 +934,7 @@ dlz_create(const char *dlzname, unsigned int argc, char *argv[],
>                 dlz_destroy(cd);
>
>         /* return error */
> -       return (ISC_R_NOMEMORY);
> +       return (result);
>  }
>
>  void
>

Does the trick.

  named -v
   BIND 9.10.4 <id:a5e4938>

Thanks.


More information about the bind-users mailing list