On Wed, 1 Apr 2009, Miklos Szeredi wrote: > > > If no strong objection then the temporary ntfs-3g workaround (not waiting > > for mtab update) will be included in the next stable package along with > > other important reliability fixes earliest on Thursday. > > Could you please forward me the patch?
Gladly. Index: libfuse-lite/mount_util.c =================================================================== RCS file: /cvsroot/ntfs-3g/ntfs-3g/libfuse-lite/mount_util.c,v retrieving revision 1.5 diff -u -p -r1.5 mount_util.c --- libfuse-lite/mount_util.c 27 Jun 2008 12:37:02 -0000 1.5 +++ libfuse-lite/mount_util.c 1 Apr 2009 14:44:46 -0000 @@ -58,7 +58,6 @@ int fuse_mnt_add_mount(const char *progn const char *mnt, const char *type, const char *opts) { int res; - int status; if (!mtab_needs_update(mnt)) return 0; @@ -66,7 +65,7 @@ int fuse_mnt_add_mount(const char *progn res = fork(); if (res == -1) { fprintf(stderr, "%s: fork: %s\n", progname, strerror(errno)); - return -1; + return 0; } if (res == 0) { char templ[] = "/tmp/fusermountXXXXXX"; @@ -96,14 +95,6 @@ int fuse_mnt_add_mount(const char *progn strerror(errno)); exit(1); } - res = waitpid(res, &status, 0); - if (res == -1) { - fprintf(stderr, "%s: waitpid: %s\n", progname, strerror(errno)); - return -1; - } - if (status != 0) - return -1; - return 0; } ------------------------------------------------------------------------------ _______________________________________________ ntfs-3g-devel mailing list ntfs-3g-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel