Andrew Marlow apm35 at
Wed May 22 11:32:01 CEST 2002

roconnor at writes:
>Hash: SHA1
>I was building Gnupg 1.0.7 for OS/2 and I had to manually add strncasecmp
>to util/strutil.c
>This probably should be added to the source files, along with the
>appropriate changes to configure.

I disagree.
Some environments have strncasecmp and others don't. I usually define my
own version of strncasecmp and the implementation differs from environment
to environment. Where I can implement it in terms of strncasecmp I do so,
otherwise I hand-code it. No direct calls to strncasecmp appear in the
code since it is a portability issue.


Andrew M.

More information about the Gnupg-devel mailing list