Home | History | Annotate | Download | only in librefuse
History log of /src/tests/lib/librefuse/t_refuse_opt.c
RevisionDateAuthorComments
 1.10  24-Nov-2023  riastradh tests: Audit RZ abuse.

RZ succeeds if x is zero, and fails if x is nonzero, treating a
nonzero value as a error number as in errno(3) to print the message.

The following library routines instead return -1 on failure and set
errno to the error code:

fuse_opt_add_arg
fuse_opt_add_opt
fuse_opt_add_opt_escaped
fuse_opt_insert_arg
lseek
system

So use RL instead for those -- succeeds if x is zero, and fails if x
is -1.

This shouldn't make any tests newly fail or newly succeed -- the
functions in question only ever return 0 or -1 -- but if the tests
were already failing anywhere, they will now fail with meaningful
messages.

TBD: dlinfo, which isn't fit for RL or RZ since it reports errors via
dlerror() rather than errno.
 1.9  04-Dec-2021  pho 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).
 1.8  13-Jan-2017  christos Don't play with "../.." in includes for h_macros.h; deal with it centrally.
Minor fixes.
 1.7  21-Nov-2016  christos branches: 1.7.2;
use <sys/types.h>
 1.6  16-Nov-2016  pho Major rework of fuse_opt_parse(3) so that it supports all the functionality of the original function
 1.5  15-Nov-2016  martin Evil hack to make register_t known and fix the build - XXX not sure this
is the proper fix.
 1.4  15-Nov-2016  pho Rename test functions
 1.3  15-Nov-2016  pho lib
 1.2  14-Nov-2016  pho Implement missing fuse_opt_add_opt(3) and fuse_opt_add_opt_escaped(3)
 1.1  14-Nov-2016  pho Add some tests for librefuse
 1.7.2.3  20-Mar-2017  pgoyette Sync with HEAD
 1.7.2.2  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.7.2.1  21-Nov-2016  pgoyette file t_refuse_opt.c was added on branch pgoyette-localcount on 2017-01-07 08:56:55 +0000

RSS XML Feed