This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Add --print-dirs option for ldconfig
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Dan Nicholson <dbn dot lists at gmail dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 2 Apr 2012 09:45:41 -0700 (PDT)
- Subject: Re: [PATCH] Add --print-dirs option for ldconfig
- References: <1333225410-20724-1-git-send-email-dbn.lists@gmail.com><20120331210756.AD8972C0C5@topped-with-meat.com><20120401160854.GA10330@buster.dwcab.com>
> --- 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.