gpgscm: Improve path handling.
authorJustus Winter <justus@g10code.com>
Fri, 7 Oct 2016 10:53:25 +0000 (12:53 +0200)
committerJustus Winter <justus@g10code.com>
Fri, 7 Oct 2016 14:25:55 +0000 (16:25 +0200)
commitdff266059813d22d1e2ba7e77279999cd41ceb75
tree5226b078a4a44b0cfe46c4beebfe7167b93601ed
parent5afbfdfd59540cb882d891ff1f4afa73fe48f99a
gpgscm: Improve path handling.

* tests/gpgscm/ffi.c (ffi_init): New Scheme variable '*win32*'.
* tests/gpgscm/tests.scm (canonical-path): Correctly handle paths with
drive letter on Windows.  Use 'path-join'.
(path-expand): Use 'path-join'.

Signed-off-by: Justus Winter <justus@g10code.com>
tests/gpgscm/ffi.c
tests/gpgscm/tests.scm