diff options
author | Ron Yorston <rmy@pobox.com> | 2015-05-29 14:45:10 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2015-05-29 14:45:10 +0100 |
commit | 45e8ed560702d45cf46c520b103981061e5c7ee4 (patch) | |
tree | 83b7a12c760984f2420c913e3722b99a913aca46 | |
parent | 85ce92a584b8ca1a5c33828faf66ad304689e71f (diff) | |
download | busybox-w32-45e8ed560702d45cf46c520b103981061e5c7ee4.tar.gz busybox-w32-45e8ed560702d45cf46c520b103981061e5c7ee4.tar.bz2 busybox-w32-45e8ed560702d45cf46c520b103981061e5c7ee4.zip |
mingw: buffer in do_stat_internal need not be static
-rw-r--r-- | win32/mingw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/mingw.c b/win32/mingw.c index 4ea18960e..03d4fbad4 100644 --- a/win32/mingw.c +++ b/win32/mingw.c | |||
@@ -299,7 +299,7 @@ static int do_lstat(int follow, const char *file_name, struct mingw_stat *buf) | |||
299 | static int do_stat_internal(int follow, const char *file_name, struct mingw_stat *buf) | 299 | static int do_stat_internal(int follow, const char *file_name, struct mingw_stat *buf) |
300 | { | 300 | { |
301 | int namelen; | 301 | int namelen; |
302 | static char alt_name[PATH_MAX]; | 302 | char alt_name[PATH_MAX]; |
303 | 303 | ||
304 | if (!do_lstat(follow, file_name, buf)) | 304 | if (!do_lstat(follow, file_name, buf)) |
305 | return 0; | 305 | return 0; |