chore: add note to self
untar creates parent dirs only for regular files now, not symlinks/hard links/FIFOs/etc
This commit is contained in:
parent
7e42b10078
commit
f6507e5461
@ -18,6 +18,7 @@
|
|||||||
#include <sys/sysmacros.h>
|
#include <sys/sysmacros.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
// NOTE: This should be done for all entries, not just regular files
|
||||||
static int create_parent_recursively(const char* path)
|
static int create_parent_recursively(const char* path)
|
||||||
{
|
{
|
||||||
char* path_copy = strdup(path);
|
char* path_copy = strdup(path);
|
||||||
|
Loading…
Reference in New Issue
Block a user