1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch 33fd55ca6f
common: Strip trailing CR,LF from w32_strerror.
* common/stringhelp.c (w32_strerror): Strip trailing CR,LF.
* common/iobuf.c (iobuf_get_filelength): Use -1 and not 0 for the
arg to w32_strerror.

--

This is in particular annoying since we started to use a string
argument sanitizer in the logging code.  Before that we just add an
extra blank line.

The second patch corrects a never yet seen error message.

Signed-off-by: Werner Koch <wk@gnupg.org>
2020-08-21 11:30:38 +02:00
..
2020-02-18 18:07:46 -05:00
2020-02-18 18:07:46 -05:00
2018-10-25 16:53:05 -04:00
2015-10-28 10:20:17 +01:00
2020-02-18 18:07:46 -05:00
2020-02-18 18:07:46 -05:00
2020-02-18 18:07:46 -05:00
2015-11-17 12:50:22 +01:00
2020-07-28 16:57:52 +09:00
2017-04-28 10:06:33 +09:00
2017-02-21 13:11:46 -05:00
2018-10-25 16:53:05 -04:00
2018-10-25 16:53:05 -04:00
2019-04-16 13:24:10 +09:00
2020-08-19 13:21:32 +09:00
2019-07-12 12:11:26 +09:00
2020-02-18 18:07:46 -05:00
2016-03-02 14:27:30 +01:00
2017-04-28 10:06:33 +09:00
2018-10-25 16:53:05 -04:00
2020-06-24 10:05:03 +09:00
2018-10-24 15:56:18 -04:00
2019-10-01 10:32:31 +02:00
2018-10-24 15:56:18 -04:00
2020-02-18 18:07:46 -05:00
2020-02-18 18:07:46 -05:00
2020-02-18 18:07:46 -05:00
2020-04-24 15:37:48 +02:00
2020-04-24 15:37:48 +02:00
2018-02-22 15:32:36 +01:00
2017-02-21 13:11:46 -05:00

Common functionality used by all modules of GnuPG.