rpm/tools
Mark Wielaard 2ea5619e37 debugedit: skip_dir_prefix should check for dir separator.
To count as a real directory prefix the string matched should either
be equal to the given prefix or start with the prefix plus '/'.

skip_dir_prefix is always used with base_dir or dest_dir which don't
end with a slash themselves.

This really only is an issue if a package would put a directory named
similar to the package source dir (which cargo on fedora does, by adding
a directory named cargo-vendor in the builddir itself).

Signed-off-by: Mark Wielaard <mark@klomp.org>
2017-06-30 16:04:23 +03:00
..
debugedit.c debugedit: skip_dir_prefix should check for dir separator. 2017-06-30 16:04:23 +03:00
elfdeps.c Remove some unnecessary assignments flagged by cppcheck 2016-07-29 17:41:36 +02:00
hashtab.c Expand private include file names to be relative to $(top_srcdir) 2007-11-23 11:47:48 +01:00
hashtab.h Debug package patch. 2002-10-18 16:01:59 +00:00
rpmdeps.c Do not call rpmfcPrint() with an uninitialized buffer in rpmdeps 2017-05-18 13:30:48 +02:00
rpmgraph.c Reimplement setprogname() and getprogname() to be generic and portable 2016-02-11 14:05:25 +01:00
sepdebugcrcfix.c Eliminate warning from '_' being redefined in sepdebugcrcfix.c 2017-03-24 12:54:04 +02:00