From: Michael Tremer Date: Fri, 9 Dec 2022 15:02:02 +0000 (+0000) Subject: filelists: Silence a compiler warning that a comment contains /* X-Git-Tag: 0.9.28~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ed39ca16a27556fcf38edad3288ac9c699999fe0;p=pakfire.git filelists: Silence a compiler warning that a comment contains /* Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/filelist.c b/src/libpakfire/filelist.c index 8d38aff01..4002399b3 100644 --- a/src/libpakfire/filelist.c +++ b/src/libpakfire/filelist.c @@ -191,8 +191,8 @@ static int pakfire_filelist_match_patterns(const char* path, const char** patter flags = 0; /* - fnmatch is way too eager for patterns line /usr/lib/*.so which will also match - things like /usr/lib/python3.x/blah/blubb.so. + fnmatch is way too eager for patterns line /usr/lib/lib*.so which will also match + things like /usr/lib/python3.x/blah/libblubb.so. To prevent this for absolute file paths, we set the FNM_FILE_NAME flag so that asterisk (*) won't match any slashes (/). */