common,w32: Make use of default_errsource in exechelp.
authorJustus Winter <justus@g10code.com>
Tue, 18 Oct 2016 12:01:53 +0000 (14:01 +0200)
committerJustus Winter <justus@g10code.com>
Tue, 18 Oct 2016 16:54:49 +0000 (18:54 +0200)
commit727ca74bb942464217e678012cccbfc347ae08a5
tree3a101a6eed5b6a2df2653fbd9f672c318ffffb0a
parent34439da2d62b964a914ace66bae7e38f619582a4
common,w32: Make use of default_errsource in exechelp.

* common/exechelp-posix.c (my_error_from_syserror, my_error): New.
Use them instead of gpg_error and gpg_error_from_syserror.

Fixes-commit: 96c7901ec1c79be732570811223d3ea54875abfe
Signed-off-by: Justus Winter <justus@g10code.com>
common/exechelp-w32.c