From 964f9556be79593d6e2def935b076971c8402d03 Mon Sep 17 00:00:00 2001 From: Marco Cawthorne Date: Sun, 7 May 2023 11:56:55 -0700 Subject: [PATCH] cmdlib.c: getwd change to getcwd. --- rip_sources.sh | 0 tools/gpl-quake/cmdlib.c | 4 +++- 2 files changed, 3 insertions(+), 1 deletion(-) mode change 100644 => 100755 rip_sources.sh diff --git a/rip_sources.sh b/rip_sources.sh old mode 100644 new mode 100755 diff --git a/tools/gpl-quake/cmdlib.c b/tools/gpl-quake/cmdlib.c index c345b00..b4529bb 100644 --- a/tools/gpl-quake/cmdlib.c +++ b/tools/gpl-quake/cmdlib.c @@ -6,6 +6,8 @@ #ifdef WIN32 #include +#else +#include #endif #ifdef NeXT @@ -169,7 +171,7 @@ void Q_getwd (char *out) _getcwd (out, 256); strcat (out, "\\"); #else - getwd (out); + getcwd (out, 256); #endif }