From f6507e546198808e0d35fe0dfecc142297e6b979 Mon Sep 17 00:00:00 2001 From: apio Date: Sat, 25 Feb 2023 20:30:31 +0100 Subject: [PATCH] chore: add note to self untar creates parent dirs only for regular files now, not symlinks/hard links/FIFOs/etc --- examples/untar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/untar.c b/examples/untar.c index 4d793db..ab347e0 100644 --- a/examples/untar.c +++ b/examples/untar.c @@ -18,6 +18,7 @@ #include #include +// NOTE: This should be done for all entries, not just regular files static int create_parent_recursively(const char* path) { char* path_copy = strdup(path);