aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Miklos Szeredi <miklos@szeredi.hu>2007-04-28 17:38:17 +0000
committerGravatar Miklos Szeredi <miklos@szeredi.hu>2007-04-28 17:38:17 +0000
commit79b6209843823ff2776c79563748e18db1b1c946 (patch)
treecb5df9bab8b5b901b0219330c5d86bb257ea6803 /lib
parentf7a8e087dc689c9a1a595c3ca0a013f4d5035140 (diff)
doc
Diffstat (limited to 'lib')
-rw-r--r--lib/fuse.c1
-rw-r--r--lib/modules/iconv.c11
-rw-r--r--lib/modules/subdir.c9
3 files changed, 17 insertions, 4 deletions
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 <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>