From 7b3313e21cf2011761a4d8658713a95659540318 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 11 May 2023 04:50:25 -0400 Subject: dirent: Add trailing '/' to directories --- (limited to 'src/ustar.c') 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, -- cgit v0.9.1