Home GnuPG
Diffusion GnuPG e031b3c16cfe

common: Fix buffer copy code again.
e031b3c16cfeUnpublished

Unpublished Commit · Learn More

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

Description

common: Fix buffer copy code again.

* common/exectool.c (my_error_from_errno): Remove.
(copy_buffer_do_copy): Do without var RC.
(copy_buffer_flush): Ditto.  Use ERRNO instead of es_write return
code.
(gnupg_exec_tool): Correctly return errors from es_read.

Details

Provenance
wernerAuthored on Jan 19 2017, 2:58 PM
Parents
rG3daeef702b2e: gpg: Allow to freeze faked system time.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGe031b3c16cfe: common: Fix buffer copy code again. (authored by Werner Koch <wk@gnupg.org>).Jan 19 2017, 2:58 PM