Le lundi 15 septembre 2008 à 12:27 +0200, Bruno Haible a écrit : > Eric Blake wrote: > > > # ifndef ECANCELED > > > # define ECANCELED 136 > > > # define GNULIB_defined_ECANCELED 1 > > > # endif > > > > Using this value is inappropriate, as well. Cygwin currently has errors > > up through EOVERFLOW 139. > > Oops, right. And on Solaris, ESTALE is 151. And on HP-UX, EWOULDBLOCK is 246. > And on IRIX, EDQUOT is 1133. If POSIX ever specifies new error numbers that > these systems lack, we better avoid numbers < 2000.
OpenBSD currently fails the errno unit-tests because it lacks support for ENOLINK, EPROTO, EMULTIHOP, EBADMSG, ENOTSUP. The configure script report: checking for complete errno.h... yes -- Yoann Vandoorselaere | Responsable R&D / CTO | PreludeIDS Technologies Tel: +33 (0)8 70 70 21 58 Fax: +33(0)4 78 42 21 58 http://www.prelude-ids.com