diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2007-04-28 17:38:17 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2007-04-28 17:38:17 +0000 |
commit | 79b6209843823ff2776c79563748e18db1b1c946 (patch) | |
tree | cb5df9bab8b5b901b0219330c5d86bb257ea6803 /lib/modules | |
parent | f7a8e087dc689c9a1a595c3ca0a013f4d5035140 (diff) |
doc
Diffstat (limited to 'lib/modules')
-rw-r--r-- | lib/modules/iconv.c | 11 | ||||
-rw-r--r-- | lib/modules/subdir.c | 9 |
2 files changed, 17 insertions, 3 deletions
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 <miklos@szeredi.hu> + + 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 <fuse.h> #include <stdio.h> @@ -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; diff --git a/lib/modules/subdir.c b/lib/modules/subdir.c index eaba99d..8174e34 100644 --- a/lib/modules/subdir.c +++ b/lib/modules/subdir.c @@ -1,5 +1,12 @@ +/* + fuse subdir module: offset paths with a base directory + Copyright (C) 2007 Miklos Szeredi <miklos@szeredi.hu> + + 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 <fuse.h> #include <stdio.h> |