Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   pho
Date:           Sat Dec  4 06:42:39 UTC 2021

Modified Files:
        src/lib/librefuse: Makefile fuse.h refuse.c refuse_lowlevel.c
            refuse_opt.c
        src/sbin/mount_qemufwcfg: Makefile fwcfg.c
        src/tests/lib/librefuse: t_refuse_opt.c
        src/usr.sbin/perfused: perfused.h
Added Files:
        src/lib/librefuse: fuse_internal.h

Log Message:
librefuse: Preparation of a proper API versioning; no more #ifdef woes in user code

The goal is to fully support FUSE API version 3.0 while maintaining
API/ABI compatibility with code written for 2.6 (or even older).

* <fuse.h> now emits a compiler warning if it's included without
  defining FUSE_USE_VERSION. It had been silently defaulted to the
  latest supported version prior to this change. This is permissive
  compared to the original FUSE, as it emits an error instead.

* <fuse.h> now emits a warning if FUSE_USE_VERSION is higher than what
  can be provided.

* Added a macro FUSE_MAKE_VERSION(maj, min). It was missing from
  librefuse <fuse.h>.

No actual API updates have been made (yet).


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/librefuse/Makefile
cvs rdiff -u -r1.23 -r1.24 src/lib/librefuse/fuse.h
cvs rdiff -u -r0 -r1.1 src/lib/librefuse/fuse_internal.h
cvs rdiff -u -r1.102 -r1.103 src/lib/librefuse/refuse.c
cvs rdiff -u -r1.1 -r1.2 src/lib/librefuse/refuse_lowlevel.c
cvs rdiff -u -r1.21 -r1.22 src/lib/librefuse/refuse_opt.c
cvs rdiff -u -r1.4 -r1.5 src/sbin/mount_qemufwcfg/Makefile
cvs rdiff -u -r1.5 -r1.6 src/sbin/mount_qemufwcfg/fwcfg.c
cvs rdiff -u -r1.8 -r1.9 src/tests/lib/librefuse/t_refuse_opt.c
cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/perfused/perfused.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index