[git commit] libarchive: comment tweak

Denys Vlasenko vda.linux at googlemail.com
Fri Oct 9 14:56:50 UTC 2026


commit: https://git.busybox.net/busybox/commit/?id=32653c392c7fb181a104131c832b32dbbea9f91c
branch: https://git.busybox.net/busybox/log/?h=master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 archival/libarchive/unsafe_symlink_target.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/archival/libarchive/unsafe_symlink_target.c b/archival/libarchive/unsafe_symlink_target.c
index 65c782bdd..f6334ddcc 100644
--- a/archival/libarchive/unsafe_symlink_target.c
+++ b/archival/libarchive/unsafe_symlink_target.c
@@ -44,7 +44,7 @@ static int all_dir_components_are_dirs(char *path)
 void FAST_FUNC create_links_from_list(llist_t *list)
 {
 	// This idea sounds better (fewer file ops):
-        //  Create hardlinks first, then symlinks.
+	//  Create hardlinks first, then symlinks.
 	// ^^^ but it breaks the "hardlink to symlink" case:
 	//  mkdir dir
 	//  >dir/a
@@ -75,6 +75,7 @@ void FAST_FUNC create_links_from_list(llist_t *list)
 				linkname, target
 			);
 			// Note: GNU tar 1.34 errors out only _after_ all links are (attempted to be) created
+			// We bail out at once
 		}
 		list = list->link;
 	}


More information about the busybox-cvs mailing list