diff options
author | Petr Uzel | 2011-11-08 16:25:01 +0100 |
---|---|---|
committer | Karel Zak | 2011-11-08 16:25:01 +0100 |
commit | b106d052383083b80c0dc41f1555d2661db00374 (patch) | |
tree | 1a47a77f18b6935b7c67a219617091951e236d94 /include/strutils.h | |
parent | lib,loopdev: add LOOP_CTL_GET_FREE support (diff) | |
download | kernel-qcow2-util-linux-b106d052383083b80c0dc41f1555d2661db00374.tar.gz kernel-qcow2-util-linux-b106d052383083b80c0dc41f1555d2661db00374.tar.xz kernel-qcow2-util-linux-b106d052383083b80c0dc41f1555d2661db00374.zip |
libmount: ignore tailing slash in netfs source paths
Addresses: https://bugzilla.novell.com/show_bug.cgi?id=728480
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/strutils.h')
-rw-r--r-- | include/strutils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/strutils.h b/include/strutils.h index 9765a7747..ef283dfed 100644 --- a/include/strutils.h +++ b/include/strutils.h @@ -47,4 +47,6 @@ extern int string_to_bitarray(const char *list, char *ary, extern int parse_range(const char *str, int *lower, int *upper, int def); +extern int streq_except_trailing_slash(const char *s1, const char *s2); + #endif |