Red Hat Bugzilla – Bug 1480309
vifm: Accidentally interposes reallocarray
Last modified: 2017-08-15 05:28:07 EDT
vifm contains its own implementation of the reallocarray function, in src/compat/reallocarray.c. This definition overrides the implementation in glibc (provided since glibc 2.26).
I don't know which fix upstream prefers. Perhaps add a configure check for reallocarray, and then check for HAVE_REALLOCARRAY in the implementation and do not compile anything if it is defined.
For Fedora, we could just drop src/compat/reallocarray.c from the list of source files in src/Makefile.am.
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.