* lib/malloca.c (freea) [__CHERI_PURE_CAPABILITY__]:
Add a cast as the code otherwise doesn’t conform to C.
2024-11-11 Paul Eggert <eggert@cs.ucla.edu>
+ malloca: pacify CHERI clang
+ * lib/malloca.c (freea) [__CHERI_PURE_CAPABILITY__]:
+ Add a cast as the code otherwise doesn’t conform to C.
+
file-has-acl: another nofollow fix for FreeBSD
* lib/file-has-acl.c (file_has_aclinfo): On FreeBSD, NetBSD >= 10,
if we don’t follow symlinks the first time, also don’t follow
char *cp = p;
small_t *sp = p;
# if defined __CHERI_PURE_CAPABILITY__
- void *mem = sp[-1];
+ void *mem = (void *) sp[-1];
# else
void *mem = cp - sp[-1];
# endif