From 07b04432a21a2f9d286c868f7bb0f184c5c1a940 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 26 Aug 2007 19:20:36 +0000 Subject: [PATCH] fixed linux build --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401379 --- core/smn_filesystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/smn_filesystem.cpp b/core/smn_filesystem.cpp index 708b73582..c89d45133 100644 --- a/core/smn_filesystem.cpp +++ b/core/smn_filesystem.cpp @@ -568,7 +568,7 @@ static cell_t sm_GetFileTime(IPluginContext *pContext, const cell_t *params) if (_stat(realpath, &s) != 0) #elif defined PLATFORM_POSIX struct stat s; - if (stat(path, &s) != 0) + if (stat(realpath, &s) != 0) #endif { return -1;