You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
915 B

  1. Index: ntfs-3g-2014.2.15-1-fuseint/libfuse-lite/fusermount.c
  2. ===================================================================
  3. --- ntfs-3g-2014.2.15-1-fuseint.orig/libfuse-lite/fusermount.c
  4. +++ ntfs-3g-2014.2.15-1-fuseint/libfuse-lite/fusermount.c
  5. @@ -36,6 +36,10 @@
  6. #define FUSE_DEV_NEW "/dev/fuse"
  7. +#ifndef _PATH_MOUNTED
  8. +#define _PATH_MOUNTED "/proc/mounts"
  9. +#endif
  10. +
  11. #ifndef MS_DIRSYNC
  12. #define MS_DIRSYNC 128
  13. #endif
  14. Index: ntfs-3g-2014.2.15-1-fuseint/libfuse-lite/mount_util.c
  15. ===================================================================
  16. --- ntfs-3g-2014.2.15-1-fuseint.orig/libfuse-lite/mount_util.c
  17. +++ ntfs-3g-2014.2.15-1-fuseint/libfuse-lite/mount_util.c
  18. @@ -255,6 +255,10 @@ int fuse_mnt_check_fuseblk(void)
  19. #else /* __SOLARIS__ */
  20. +#ifndef _PATH_MOUNTED
  21. +#define _PATH_MOUNTED "/proc/mounts"
  22. +#endif /* _PATH_MOUNTED */
  23. +
  24. static int mtab_needs_update(const char *mnt)
  25. {
  26. int res;