This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/5] support: don't pass to set_search_path a big struct by value


* 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]