From 79b6209843823ff2776c79563748e18db1b1c946 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Sat, 28 Apr 2007 17:38:17 +0000 Subject: doc --- lib/modules/iconv.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'lib/modules/iconv.c') diff --git a/lib/modules/iconv.c b/lib/modules/iconv.c index eec0205..ca53b66 100644 --- a/lib/modules/iconv.c +++ b/lib/modules/iconv.c @@ -1,5 +1,12 @@ +/* + fuse iconv module: file name charset conversion + Copyright (C) 2007 Miklos Szeredi + + This program can be distributed under the terms of the GNU LGPL. + See the file COPYING.LIB +*/ + #define FUSE_USE_VERSION 26 -#define _FILE_OFFSET_BITS 64 #include #include @@ -36,7 +43,7 @@ static int iconv_convpath(struct iconv *ic, const char *path, char **newpathp, int fromfs) { size_t pathlen = strlen(path); - size_t newpathlen = pathlen; /* FIXME after testing */ + size_t newpathlen = pathlen * 4; char *newpath = malloc(newpathlen + 1); size_t plen = newpathlen; char *p = newpath; -- cgit v1.2.3