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
zanc...@ucc.gu.uwa.edu.au


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to