Home GnuPG
Diffusion GnuPG ece13f177d94

common: Use GPG_ERR_INV_VALUE instead of GPG_ERR_EINVAL.
ece13f177d94Unpublished

Unpublished Commit · Learn More

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

Description

common: Use GPG_ERR_INV_VALUE instead of GPG_ERR_EINVAL.

* common/sysutils.c (gnupg_inotify_watch_socket): Return
GPG_ERR_INV_VALUE for a missing socket name and set proper error
source.

By using a different value we can easier see whether the error is due
to a system call or from GnuPG code.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Oct 26 2016, 9:02 AM
Parents
rG21b318452abb: tests: Improve portability of fake-pinentry.
Branches
Unknown
Tags
Unknown

Event Timeline