On Wed, 26 Nov 2014, Svante Signell wrote: > Currently fish FTBFS on GNU/Hurd due to usage of sys_nerr and > sys_errlist, for error strings, which is not defined on Hurd and > depreciated (but still defined on other architectures): e.g. > /usr/include/x86_64-linux-gnu/bits/sys_errlist.h > /* sys_errlist and sys_nerr are deprecated. Use strerror instead. */ > > The attached patch solves this by using strerror().
Hi Svante, Above the lines you have changed is a comment: // In general, strerror is not async-safe, and therefore we cannot use it directly // So instead we have to grub through sys_nerr and sys_errlist directly Do you know if this has changed in recent glibc? If not, I would caution against changing this on all platforms. David Adam fish committer [email protected] -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: https://lists.debian.org/[email protected]

