mirror of
https://git.sr.ht/~cismonx/bookmarkfs
synced 2025-07-26 02:58:52 +00:00
Compare commits
2 commits
f9940400bb
...
328095ae43
Author | SHA1 | Date | |
---|---|---|---|
|
328095ae43 | ||
|
d911439ca3 |
3 changed files with 6 additions and 3 deletions
|
@ -147,7 +147,7 @@ Installation
|
|||
|
||||
Install the user manual:
|
||||
|
||||
$ make install-man install-info
|
||||
$ make install-info
|
||||
|
||||
Uninstall:
|
||||
|
||||
|
|
|
@ -13,8 +13,7 @@ AC_CONFIG_SRCDIR([src/bookmarkfs_util.pc.in])
|
|||
AC_CONFIG_HEADERS([config.h])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AC_CONFIG_TESTDIR([tests])
|
||||
AM_INIT_AUTOMAKE([1.14 foreign no-installinfo no-installman])
|
||||
AM_EXTRA_RECURSIVE_TARGETS([install-man])
|
||||
AM_INIT_AUTOMAKE([1.14 foreign no-installinfo])
|
||||
AM_MISSING_PROG([AUTOM4TE], [autom4te])
|
||||
PKG_PROG_PKG_CONFIG([0.27])
|
||||
LT_PREREQ([2.4.3])
|
||||
|
|
|
@ -63,11 +63,13 @@ xattr_do_get (
|
|||
#if defined(__linux__)
|
||||
result = fgetxattr(fd, name, buf, buf_len);
|
||||
if (result < 0) {
|
||||
result = -errno;
|
||||
log_printf("fgetxattr(): %s", strerror(errno));
|
||||
}
|
||||
#elif defined(__FreeBSD__)
|
||||
result = extattr_get_fd(fd, EXTATTR_NAMESPACE_USER, name, buf, buf_len);
|
||||
if (result < 0) {
|
||||
result = -errno;
|
||||
log_printf("extattr_get_fd(): %s", strerror(errno));
|
||||
}
|
||||
#else
|
||||
|
@ -86,11 +88,13 @@ xattr_do_list (
|
|||
#if defined(__linux__)
|
||||
result = flistxattr(fd, buf, buf_len);
|
||||
if (result < 0) {
|
||||
result = -errno;
|
||||
log_printf("flistxattr(): %s", strerror(errno));
|
||||
}
|
||||
#elif defined(__FreeBSD__)
|
||||
result = extattr_list_fd(fd, EXTATTR_NAMESPACE_USER, buf, buf_len);
|
||||
if (result < 0) {
|
||||
result = -errno;
|
||||
log_printf("extattr_list_fd(): %s", strerror(errno));
|
||||
}
|
||||
#else
|
||||
|
|
Loading…
Add table
Reference in a new issue