[PATCH] Add --print-dirs option for ldconfig

Roland McGrath roland@hack.frob.com
Mon Apr 2 16:45:00 GMT 2012


> --- a/ChangeLog
> +++ b/ChangeLog

The ChangeLog portion is not included in the diff, but the fragment
separately as simple text in your message.

> @@ -1,3 +1,9 @@
> +2012-03-28  Dan Nicholson  <dbn.lists@gmail.com>
> +
> +	* elf/ldconfig.c (opt_print_dirs): New option enabled with -P or
> +	--print-search-dirs.
> +	(main): Use it to print the linker search path.

	* elf/ldconfig.c (opt_print_dirs): New variable.
	(options, parse_opt): Add --print-search-dirs/-P to set it.
	(main): just When set, print the linker search path.

But you might as well name the variable opt_print_search_dirs for
consistency with the option name.



More information about the Libc-alpha mailing list