diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-05-11 04:50:25 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-05-11 04:50:25 (EDT) |
commit | 7b3313e21cf2011761a4d8658713a95659540318 (patch) | |
tree | a535a5272047dd85b0f8807efde129468ac777df /src/ustar.c | |
parent | ceb7c5fd1ee2705b09aac143931a925a6f23d7eb (diff) |
dirent: Add trailing '/' to directories
Diffstat (limited to 'src/ustar.c')
-rw-r--r-- | src/ustar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ustar.c b/src/ustar.c index 7ad7da8..359f967 100644 --- a/src/ustar.c +++ b/src/ustar.c @@ -288,7 +288,7 @@ opkg_opk_ustar_write_header(struct opkg_opk_ustar *ustar, memset(&ustar->header, 0, sizeof(ustar->header)); - if (opkg_opk_dirent_name_prefix(dirent, + if (opkg_opk_dirent_name_prefix(dirent, (type == 'd' ? 1 : 0), ustar->header.name, sizeof(ustar->header.name), ustar->header.prefix, |