[gnutls-help] Compiling gnutls on solaris

Nikos Mavrogiannopoulos nmav at gnutls.org
Thu Sep 25 18:58:34 CEST 2014


On Thu, 2014-09-25 at 10:05 -0400, dev wrote:
> may as well reply to myself as I see the problem and please pardon me
> for unrolling the conditional expression in ./lib/x509/verify-high2.c
> for the function load_dir_certs() :
[...]
> That is borked.
> 
> The use of d_type from dirent.h is not portable
> as it is a GNUism from linux land only.
> 
> No such animal exists in the POSIX dirent.h :
> http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/dirent.h.html

Correct. I've committed a fix. It is usually simpler and faster to
propose a patch for such issues.

regards,
Nikos





More information about the Gnutls-help mailing list