missing prototypes in qpgme (OS X)
Closed, ResolvedPublic

Description

The qgpgme source is missing 2 function declarations when built under Mac OS: for
strdup() and for strcasecmp().

The former can be addressed by invoking qstrdup() instead, which avoids setting
_DARWIN_C_SOURCE to a value which may or may not cause side-effects
(https://www.mail-archive.com/gnupg-users@gnupg.org/msg31883.html).

The latter declaration is obtained by including strings.h.

Details

Version
1.8.0

Related Objects

RJVB set Version to 1.8.0.Dec 21 2016, 12:56 PM
RJVB added a project: Bug Report.
werner assigned this task to aheinecke.Dec 21 2016, 6:39 PM
werner added a project: MacOS.
werner added a subscriber: aheinecke.
aheinecke closed this task as Resolved.Jan 11 2017, 3:55 PM

Thanks, applied!

Forgot to give you credit / mention this bug in the commit message. Apologies
for that.