Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
libpkg: remove redundant lstat call
Isaac Freund committed 3 months ago
commit 02ce530f485986cda45101831df94a3ed7c7e66b
parent c1a4314
1 file changed +0 -1
modified libpkg/pkg_abi.c
@@ -595,7 +595,6 @@ pkg_analyse_files(struct pkgdb *db __unused, struct pkg *pkg, const char *stage)
			/* If the corresponding PATHS option isn't set (i.e. an empty ucl array)
			   don't do any filtering for backwards compatibility. */
			if (ucl_array_size(paths) == 0 || pkg_match_paths_list(paths, file->path)) {
-
				lstat(fpath, &st);
				if (S_ISREG(st.st_mode)) {
					pkg_addshlib_provided(pkg, provided, provided_flags);
				} else {