diff options
author | Petr Machata <pmachata@redhat.com> | 2013-10-23 00:52:13 +0200 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2013-10-23 00:52:13 +0200 |
commit | aa3db6b1234da0e542ba7782849cf200d0d91c1c (patch) | |
tree | b83017f939a1b321b9c74364cdde0fd6cddb9837 /ltrace.1 | |
parent | ff5606a61647623b1f490a91a985e55c1ee6253d (diff) | |
download | ltrace-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.1 | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 |