summaryrefslogtreecommitdiffstats
path: root/misc-utils/whereis.1
diff options
context:
space:
mode:
authorKarel Zak2014-10-23 13:44:00 +0200
committerKarel Zak2014-10-23 13:44:00 +0200
commit3635f53ca2587bea133d3f56022ef42c88797f97 (patch)
treeb38c023c69b016e98ad40f9a8839d84d4769470b /misc-utils/whereis.1
parentfdisk: add section about sizes to the man page (diff)
downloadkernel-qcow2-util-linux-3635f53ca2587bea133d3f56022ef42c88797f97.tar.gz
kernel-qcow2-util-linux-3635f53ca2587bea133d3f56022ef42c88797f97.tar.xz
kernel-qcow2-util-linux-3635f53ca2587bea133d3f56022ef42c88797f97.zip
whereis: cleanup debug stuff, fix argv[] usage
* use debug stuff from include/debug.h and make whereis(1) sensitive to WHEREIS_DEBUG=0xffff mask * fix problem with argv[] usage # whereis -b -m -M /usr/share/man/man1 -B /usr/bin -f gcc bin: /usr/local/bin gcc: /usr/bin/gcc /usr/lib/gcc /usr/libexec/gcc /usr/share/man/man1/gcc.1.gz the code ignores "-B" and /usr/bin is interpreted as search pattern, expected result is: # whereis -b -m -M /usr/share/man/man1 -B /usr/bin -f gcc gcc: /usr/share/man/man1/gcc.1.gz /usr/bin/gcc Addresses: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765306 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/whereis.1')
0 files changed, 0 insertions, 0 deletions