diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-09 00:04:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-09 00:04:30 +0100 |
commit | 94ead5b3c01213a82c9b72a2df165452421db42b (patch) | |
tree | 8a48ed4d21de4204607288d00e68a671bef1e8f8 /app-forensics/mac-robber/files | |
parent | 418459f7de9eb29d6db8b61681f39c467d9600e1 (diff) |
gentoo auto-resync : 09:10:2023 - 00:04:30
Diffstat (limited to 'app-forensics/mac-robber/files')
-rw-r--r-- | app-forensics/mac-robber/files/mac-robber-1.02-posix.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app-forensics/mac-robber/files/mac-robber-1.02-posix.patch b/app-forensics/mac-robber/files/mac-robber-1.02-posix.patch new file mode 100644 index 000000000000..a45d4718e51b --- /dev/null +++ b/app-forensics/mac-robber/files/mac-robber-1.02-posix.patch @@ -0,0 +1,19 @@ +--- a/mac-robber.c ++++ b/mac-robber.c +@@ -45,6 +45,7 @@ + #include <sys/types.h> + #include <sys/stat.h> + #include <dirent.h> ++#include <limits.h> + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +@@ -238,7 +239,7 @@ + /* Make a buffer for the full path + * the 2 is for 1 NULL and 1 '/' for recursive directories + */ +- path_len = dir_len + MAXNAMLEN + 2; ++ path_len = dir_len + NAME_MAX + 2; + if (!(curpath = (char *) malloc(path_len))) { + printf("error allocating space for curpath\n"); + exit(1); |