aboutsummaryrefslogtreecommitdiff
path: root/ltrace.1
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2013-10-23 00:52:13 +0200
committerPetr Machata <pmachata@redhat.com>2013-10-23 00:52:13 +0200
commitaa3db6b1234da0e542ba7782849cf200d0d91c1c (patch)
treeb83017f939a1b321b9c74364cdde0fd6cddb9837 /ltrace.1
parentff5606a61647623b1f490a91a985e55c1ee6253d (diff)
downloadltrace-aa3db6b1234da0e542ba7782849cf200d0d91c1c.tar.gz
Replace os_get_ltrace_conf_filename with os_get_ltrace_conf_filenames
- I.e. allow returning a list of filenames, as opposed to a single home directory name. This is to implement exactly the legacy config file behavior on Linux.
Diffstat (limited to 'ltrace.1')
-rw-r--r--ltrace.17
1 files changed, 3 insertions, 4 deletions
diff --git a/ltrace.1 b/ltrace.1
index 7a21d7e..c4cb495 100644
--- a/ltrace.1
+++ b/ltrace.1
@@ -291,10 +291,9 @@ instead. For the main program binary, basename is considered as well
When looking for a prototype library, ltrace potentially looks into
several directories. On Linux, those are $XDG_CONFIG_HOME/ltrace,
-$HOME/.ltrace, \fIX\fR/ltrace for each \fIX\fR in $XDG_CONFIG_DIRS,
-and /etc/ltrace (XXX but that should probably be /usr/lib/ltrace). If
-the environment variable XDG_CONFIG_HOME is not defined, ltrace looks
-into $HOME/.config/ltrace instead.
+$HOME/.ltrace, \fIX\fR/ltrace for each \fIX\fR in $XDG_CONFIG_DIRS and
+/usr/share/ltrace. If the environment variable XDG_CONFIG_HOME is not
+defined, ltrace looks into $HOME/.config/ltrace instead.
There's also a mechanism for loading legacy config files. If
$HOME/.ltrace.conf exists it is imported to every loaded prototype