From: Karsten Blees <bl...@dcon.de>
Date: Fri, 7 Jan 2011 18:04:16 +0100

...by removing a static buffer in do_stat_internal.

Signed-off-by: Karsten Blees <bl...@dcon.de>
Signed-off-by: Erik Faye-Lund <kusmab...@gmail.com>
Signed-off-by: Stepan Kasal <ka...@ucw.cz>
---
 compat/mingw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compat/mingw.c b/compat/mingw.c
index 1c0b153..6849815 100644
--- a/compat/mingw.c
+++ b/compat/mingw.c
@@ -441,7 +441,7 @@ static int do_lstat(int follow, const char *file_name, 
struct stat *buf)
 static int do_stat_internal(int follow, const char *file_name, struct stat 
*buf)
 {
        int namelen;
-       static char alt_name[PATH_MAX];
+       char alt_name[PATH_MAX];
 
        if (!do_lstat(follow, file_name, buf))
                return 0;
-- 
2.0.0.9635.g0be03cb

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to