qnx6 patches

Werner Koch wk at gnupg.org
Sun Apr 15 21:24:58 CEST 2007


On Sun, 15 Apr 2007 20:58, dshaw at jabberwocky.com said:

>>  #include <string.h>
>> +#include <strings.h>
>
> I assume the various <strings.h> changes are for strcasecmp().

I consider the use of strings.h as a bad choice.  It defines legacy
functions like bcmp and index and especially the latter one will lead to
a lot of warnings in some code.

Anyway strcasecmp is locale dependend and should thus be avoided.  In
general we use the ascii_* replacements.


Shalom-Salam,

   Werner




More information about the Gnupg-devel mailing list