Using --enable-special-filenames on Windows
LRN
lrn1986 at gmail.com
Wed Nov 27 09:45:33 CET 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 26.11.2013 23:47, Werner Koch wrote:
> On Tue, 26 Nov 2013 17:50, patrick at enigmail.net said:
>> I'm trying to figure out how to use --enable-special-filenames
>> on Windows. While the use of e.g. "-&9" is straight forward on
>> Unix, I wonder how I have to implement a Windows application to
>> use the same
>
> GPGME is your friend ;-).
>
> You need to create a pipe with an inheritable file handle and pass
> that to gpg. The problem is that you need to use CreateProcess
> without the inherit flag (otherwise all handles would be
> inherited).
Isn't it easier to create all handles as non-inheritable (or make them
non-inheritable immediately after creation), and then just make
specific handles inheritable when you spawn a child process?
- --
O< ascii ribbon - stop html email! - www.asciiribbon.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
iQEcBAEBAgAGBQJSlbEtAAoJEOs4Jb6SI2CwWvMIAIY4T1HBgUxI37zo/8Eg3pmK
ikpPG5jlQPYAltHyl8jcrS0u5+gGim5NJd4V3DfX0a6x+1jbxvrEvUvdB+BDsrlK
9wYLWtVVt9csROJ3uGed18OgjQbdsd8ixEqafWju7Vb7cG9RNtc93HJG+DWFqaYR
5BgoiC4PSGB2itAsj2VstZhYc0Yp5UXOIFLU/04Ik6BnDtOXoKz+5WVDvlVPC25P
giEs5qT6aVCvqsdzcy9l3ZZ7r7c56n5MsRGaHlvHtFoCljoCxcPAGE9QhRkdoHR1
hgcbti3URFOzZW/9onSjr7EN5w2OtOSfNApOrWn6zEDo+PysTylYdmqTUSb3jXY=
=Mp6N
-----END PGP SIGNATURE-----
More information about the Gcrypt-devel
mailing list