1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-03-23 21:59:57 +01:00
Werner Koch 55c9212a23
common: Clarify use of vars in buffer copy code.
* common/exectool.c (my_error_from_errno): New.
(copy_buffer_do_copy): Use separate vars for errno values and
gpg-error values for clarity.  s/assert/log_assert/.
(copy_buffer_flush): Ditto.
(gnupg_exec_tool_stream): Use gpg_err_code when testing.
--

NB: It is surprising that es_write seems not to set ERRNO but only
returns the ERRNO value.  Need to check whether this is really the
case.

Signed-off-by: Werner Koch <wk@gnupg.org>
2017-01-19 09:59:08 +01:00
..
2016-11-08 16:01:53 +01:00
2015-10-28 10:20:17 +01:00
2015-11-17 12:50:22 +01:00
2016-03-02 14:27:30 +01:00
2017-01-05 20:43:40 +01:00
2015-02-03 09:12:45 +01:00

Common functionality used by all modules of GnuPG.