aboutsummaryrefslogtreecommitdiff
path: root/src/manifest.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-01-22 09:26:39 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-01-22 09:26:39 -0500
commit74ddda664b9d7e843da3ec8254716c11016007e5 (patch)
tree5a284a80aaa4fd770d92307a740672987aa0cabe /src/manifest.c
parent444ccb0a7c5f88f408bee91db052d00794791ccc (diff)
downloadspmc-74ddda664b9d7e843da3ec8254716c11016007e5.tar.gz
Change fstree signature
Change strstr_array return type to char* Re-add and reorder a few prototypes in spm.h
Diffstat (limited to 'src/manifest.c')
-rw-r--r--src/manifest.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/manifest.c b/src/manifest.c
index c401cb2..df8d056 100644
--- a/src/manifest.c
+++ b/src/manifest.c
@@ -13,7 +13,11 @@
*/
Manifest *manifest_from(const char *package_dir) {
FSTree *fsdata = NULL;
- fsdata = fstree(package_dir);
+ char *filter[] = {
+ SPM_PACKAGE_EXTENSION,
+ NULL,
+ };
+ fsdata = fstree(package_dir, filter);
Manifest *info = (Manifest *)calloc(1, sizeof(Manifest));
info->records = fsdata->files_length;