[PATCH 1/5] support: don't pass to set_search_path a big struct by value
Florian Weimer
fw@deneb.enyo.de
Mon Mar 25 08:38:00 GMT 2019
* Konstantin Kharlamov:
> /* Copy the search path from CONFIG.search to the _res object. */
> static void
> -set_search_path (struct resolv_redirect_config config)
> +set_search_path (const struct resolv_redirect_config* config)
This static function is called once and therefore inlined, so the
change does not matter.
More information about the Libc-alpha
mailing list