From 79b6209843823ff2776c79563748e18db1b1c946 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Sat, 28 Apr 2007 17:38:17 +0000 Subject: doc --- lib/fuse.c | 1 - lib/modules/iconv.c | 11 +++++++++-- lib/modules/subdir.c | 9 ++++++++- 3 files changed, 17 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/fuse.c b/lib/fuse.c index 66f5fe7..ce5d9af 100644 --- a/lib/fuse.c +++ b/lib/fuse.c @@ -777,7 +777,6 @@ int fuse_fs_rename(struct fuse_fs *fs, const char *oldpath, return -ENOSYS; } - int fuse_fs_unlink(struct fuse_fs *fs, const char *path) { fuse_get_context()->private_data = fs->user_data; 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; 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 + + 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 -- cgit v1.2.3