Fossil

Changes On Branch altFuseFsDef
Login

Changes On Branch altFuseFsDef

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Changes In Branch altFuseFsDef Excluding Merge-Ins

This is equivalent to a diff from 95d6ddc3 to 6a80a2f2

2016-10-28
05:29
Alternative to check-in [a4bb89ba08], make FuseFS act just like the JSON feature in 'auto.def'. ... (check-in: feb202f5 user: mistachkin tags: trunk)
04:27
Alternative to check-in [a4bb89ba08], make FuseFS act just like the JSON feature in 'auto.def'. ... (Closed-Leaf check-in: 6a80a2f2 user: mistachkin tags: altFuseFsDef)
2016-10-27
15:35
Combine multiple merge lines to the bottomn of the page when they reference the same source check-in. ... (check-in: 95d6ddc3 user: drh tags: trunk)
15:34
Add another entry to the graph-test-1.wiki checklist for this case. ... (Closed-Leaf check-in: 58d4f3c0 user: drh tags: baruch-timeline-fix)
05:28
Now that FuseFS support is conditional, permit config.h to be included so FOSSIL_HAVE_FUSEFS can be correctly included from autoconfig.h to avoid linker failure to find fusefs_cmd. ... (check-in: a4bb89ba user: andybradford tags: trunk)

Changes to auto.def.

477
478
479
480
481
482
483

484
485
486
487
488
489
490
}
cc-check-function-in-lib dlopen dl
cc-check-function-in-lib sin m

# Check for the FuseFS library
if {[opt-bool fusefs]} {
  if {[cc-check-function-in-lib fuse_mount fuse]} {

     define FOSSIL_HAVE_FUSEFS 1
     define-append LIBS -lfuse
     msg-result "FuseFS support enabled"
  }
}

make-template Makefile.in







>







477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
}
cc-check-function-in-lib dlopen dl
cc-check-function-in-lib sin m

# Check for the FuseFS library
if {[opt-bool fusefs]} {
  if {[cc-check-function-in-lib fuse_mount fuse]} {
     define-append EXTRA_CFLAGS -DFOSSIL_HAVE_FUSEFS
     define FOSSIL_HAVE_FUSEFS 1
     define-append LIBS -lfuse
     msg-result "FuseFS support enabled"
  }
}

make-template Makefile.in

Changes to src/fusefs.c.

18
19
20
21
22
23
24
25
26

27
28
29
30
31
32
33
** This module implements the userspace side of a Fuse Filesystem that
** contains all check-ins for a fossil repository.
**
** This module is a mostly a no-op unless compiled with -DFOSSIL_HAVE_FUSEFS.
** The FOSSIL_HAVE_FUSEFS should be omitted on systems that lack support for
** the Fuse Filesystem, of course.
*/
#include "config.h"
#ifdef FOSSIL_HAVE_FUSEFS

#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>







<

>







18
19
20
21
22
23
24

25
26
27
28
29
30
31
32
33
** This module implements the userspace side of a Fuse Filesystem that
** contains all check-ins for a fossil repository.
**
** This module is a mostly a no-op unless compiled with -DFOSSIL_HAVE_FUSEFS.
** The FOSSIL_HAVE_FUSEFS should be omitted on systems that lack support for
** the Fuse Filesystem, of course.
*/

#ifdef FOSSIL_HAVE_FUSEFS
#include "config.h"
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>