[tor-dev] C99 compatibility issue in torsocks

trinity pointard trinity.pointard at gmail.com
Sat Dec 17 15:32:28 UTC 2022


Hi,

thanks for reporting this. I opened a issue on torsocks tracker with
the informations you provided:
https://gitlab.torproject.org/tpo/core/torsocks/-/issues/40014

Regards,

Trinity Pointard

On Sat, 17 Dec 2022 at 16:18, Florian Weimer <fw at deneb.enyo.de> wrote:
>
> This patch is needed to avoid an implicit function declaration:
>
> diff --git a/src/common/config-file.h b/src/common/config-file.h
> index 23e1c89d488b789c..e710c202fe099f61 100644
> --- a/src/common/config-file.h
> +++ b/src/common/config-file.h
> @@ -109,6 +109,7 @@ int conf_file_set_allow_inbound(const char *val, struct configuration *config);
>  int conf_file_set_allow_outbound_localhost(const char *val, struct
>                 configuration *config);
>  int conf_file_set_isolate_pid(const char *val, struct configuration *config);
> +int conf_file_set_enable_ipv6(const char *val, struct configuration *config);
>
>  int conf_apply_socks_auth(struct configuration *config);
>
>
> I'm not sure where the canonical upstream for this package is, so I'm
> reporting it here.  Fedora is tracking this here:
>
>   torsocks: Missing declaration in src/common/config-file.h
>   <https://bugzilla.redhat.com/show_bug.cgi?id=2154535>
>
> Related to:
>
>   <https://fedoraproject.org/wiki/Changes/PortingToModernC>
>   <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
> _______________________________________________
> tor-dev mailing list
> tor-dev at lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev


More information about the tor-dev mailing list