Home GnuPG
Diffusion GpgOL aeec015b64fa

Don't check for stpcpy.
aeec015b64faUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Don't check for stpcpy.

* configure.ac: Don't check for stpcpy.
* src/rfc822parse.c (my_stpcpy): Define our own stpcpy
  unconditionally.

Windows does not have stpcpy and It's not part of mingw. The
function check failed accordingly but GCC still warned about
shadowing a builtin function.

Just avoid this trouble and always define our own function.

Details

Provenance
aheineckeAuthored on Oct 13 2015, 3:38 PM
Parents
rO7df5ec613b71: Fix write-string warnings.
Branches
Unknown
Tags
Unknown