Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Switch MAXPATHLEN to PATH_MAX in temp dir path
Gabe Schrecker committed 3 years ago
commit 1f83de3c4d8e08b95f8b45078aa036bbd77996ab
parent 42b265d4aac83ae23bdec6b1d26436b00e0ba211
1 file changed +2 -2
modified libpkg/private/utils.h
@@ -57,8 +57,8 @@ struct hardlink {
};

struct tempdir {
-
	char name[MAXPATHLEN];
-
	char temp[MAXPATHLEN];
+
	char name[PATH_MAX];
+
	char temp[PATH_MAX];
	size_t len;
	int fd;
};