aboutsummaryrefslogtreecommitdiffstats
path: root/lib/util.c
AgeCommit message (Collapse)AuthorLines
2025-05-21conn->want conversion: Fix fuse_apply_conn_info_opts()Bernd Schubert-0/+8
fuse_apply_conn_info_opts() was applying to 'want_ext', which would cause conflicts with 'want' if the application applied its own flags to 'conn->want'. Solution is: - to move fuse_{set,unset,get}_feature_flag and convert_to_conn_want_ext() to fuse_lowlevel.c and to define them as part of the public API, although convert_to_conn_want_ext() should not be used - it is currently needed to be a public function due as it needs to be defined for the tests. Related to https://github.com/libfuse/libfuse/issues/1171 and https://github.com/libfuse/libfuse/pull/1172. Closes: https://github.com/libfuse/libfuse/issues/1171 Signed-off-by: Bernd Schubert <bschubert@ddn.com> (cherry picked from commit baadab0492a495fda98216b351976d2e5d6d0866)
2024-10-11Add libfuse util strtol wrapperJoanne Koong-0/+27
Add a wrapper around strtol for more rigorous error checking and convert uses of atoi and strtol to use this instead.