diff options
Diffstat (limited to 'games/spring/files/patch-rts-System-Platform-Misc')
-rw-r--r-- | games/spring/files/patch-rts-System-Platform-Misc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/games/spring/files/patch-rts-System-Platform-Misc b/games/spring/files/patch-rts-System-Platform-Misc deleted file mode 100644 index b2d216f011b9..000000000000 --- a/games/spring/files/patch-rts-System-Platform-Misc +++ /dev/null @@ -1,9 +0,0 @@ -+++ rts/System/Platform/Misc.cpp 2015-04-08 20:05:21 -0400 -@@ -226,5 +226,6 @@ - mib[2] = KERN_PROC_PATHNAME; - mib[3] = -1; -- char buf[PATH_MAX]; -+ long maxpath = pathconf("/", _PC_PATH_MAX); -+ char buf[maxpath]; - size_t cb = sizeof(buf); - int err = sysctl(mib, 4, buf, &cb, NULL, 0); |