]> git.ipfire.org Git - pakfire.git/commitdiff
filelists: Silence a compiler warning that a comment contains /*
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 9 Dec 2022 15:02:02 +0000 (15:02 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 9 Dec 2022 15:02:02 +0000 (15:02 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/filelist.c

index 8d38aff01454f67ad7731aa707cb56c2a12435ac..4002399b3239990ae71f6bb1544a41f0dcbafe6b 100644 (file)
@@ -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 (/).
                */