diff options
Diffstat (limited to 'example-24/fusexmp_fh.c.patch')
-rw-r--r-- | example-24/fusexmp_fh.c.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/example-24/fusexmp_fh.c.patch b/example-24/fusexmp_fh.c.patch deleted file mode 100644 index c45ece0c6..000000000 --- a/example-24/fusexmp_fh.c.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- fusexmp_fh.c.orig 2005-12-02 01:47:51.000000000 +0100 -+++ fusexmp_fh.c 2005-12-02 01:58:16.000000000 +0100 -@@ -71,7 +71,7 @@ - memset(&st, 0, sizeof(st)); - st.st_ino = de->d_ino; - st.st_mode = de->d_type << 12; -- if (filler(buf, de->d_name, &st, de->d_off)) -+ if (filler(buf, de->d_name, &st, telldir(dp))) - break; - } - -@@ -90,7 +90,12 @@ - { - int res; - -- res = mknod(path, mode, rdev); -+ /* On the Hurd we must not use mknod() to create files, but creat() */ -+ if(mode & S_IFREG) -+ res = creat(path, mode & ALLPERMS); -+ else -+ res = mknod(path, mode, rdev); -+ - if(res == -1) - return -errno; - |