From 58a558e326f50135cb303af2d8de5eaf42760212 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 23 Aug 2013 23:34:23 -0400 Subject: [PATCH] Patched to compile on Solaris. --- src/filesystem/unix/SDL_sysfilesystem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filesystem/unix/SDL_sysfilesystem.c b/src/filesystem/unix/SDL_sysfilesystem.c index 659d12696..d8eb6e598 100644 --- a/src/filesystem/unix/SDL_sysfilesystem.c +++ b/src/filesystem/unix/SDL_sysfilesystem.c @@ -97,7 +97,7 @@ SDL_GetBasePath(void) #elif defined(__SOLARIS__) const char *path = getexecname(); if ((path != NULL) && (path[0] == '/')) { /* must be absolute path... */ - retval = SDL_strdup(fullpath); + retval = SDL_strdup(path); if (!retval) { SDL_OutOfMemory(); return NULL;