commit 42ade9e8c8d37c212675a5928a6029577a9c74c4
parent 9e663250bf9841a33a3358982fa7aac533483186
Author: Devine Lu Linvega <aliceffekt@gmail.com>
Date: Wed, 22 Feb 2023 12:45:13 -0800
Merge branch 'main' of git.sr.ht:~rabbits/uxn
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/devices/file.c b/src/devices/file.c
@@ -65,7 +65,7 @@ static Uint16
get_entry(char *p, Uint16 len, const char *pathname, const char *basename, int fail_nonzero)
{
struct stat st;
- if(len < strlen(basename) + 7)
+ if(len < strlen(basename) + 8)
return 0;
if(stat(pathname, &st))
return fail_nonzero ? sprintf(p, "!!!! %s\n", basename) : 0;