From b54b2ddfdab774d85fa1649182df3229be414317 Mon Sep 17 00:00:00 2001 From: "mooredan@suncup.net" Date: Tue, 19 Jul 2011 19:52:38 +0000 Subject: [PATCH] Fixed issue #210 Applied user supplied patch git-svn-id: http://s3fs.googlecode.com/svn/trunk@353 df820570-a93a-0410-bd06-b72b767a4274 --- configure.ac | 2 +- src/s3fs.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e77a77c..545c362 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) -AC_INIT(s3fs, 1.57) +AC_INIT(s3fs, 1.58) AC_CANONICAL_SYSTEM diff --git a/src/s3fs.cpp b/src/s3fs.cpp index 90071b1..682074b 100644 --- a/src/s3fs.cpp +++ b/src/s3fs.cpp @@ -2353,6 +2353,7 @@ static int s3fs_statfs(const char *path, struct statvfs *stbuf) { stbuf->f_blocks = 0X1000000; stbuf->f_bfree = 0x1000000; stbuf->f_bavail = 0x1000000; + stbuf->f_namemax = NAME_MAX; return 0; }