uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit 5cacb3f241468907e31245da7d14aa156d68ff25
parent 50e08f12cdf413f691ecf6004a6af55a711746ac
Author: Andrew Alderwick <andrew@alderwick.co.uk>
Date:   Mon,  2 Jan 2023 15:23:28 +0000

Fix macOS build.

Diffstat:
Msrc/devices/file.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/devices/file.c b/src/devices/file.c @@ -132,7 +132,9 @@ retry_realpath(const char *file_name) else return NULL; } - return strdup(r); + x = malloc(strlen(r) + 1); + strcpy(x, r); + return x; } static void