Using --enable-special-filenames on Windows

LRN lrn1986 at gmail.com
Wed Nov 27 11:42:08 CET 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 27.11.2013 14:29, Werner Koch wrote:
> On Wed, 27 Nov 2013 09:45 LRN said:
> 
>> 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?
> 
> You can't do that in a library because you can't enforce such a
> policy on the actual application and other used libraries.

You can make it part of the API: "All objects are uninheritable by
default (non-inheritable on W32, close-on-fork on other platforms)"
and provide platform-abstracted API to override that rule (depends on
how the objects are used, and by whom).
Just a thought.

- -- 
O< ascii ribbon - stop html email! - www.asciiribbon.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)

iQEcBAEBAgAGBQJSlcyAAAoJEOs4Jb6SI2CwYJ8IAJInLtqeHc8NUL7qr9PR91bI
yOwsOUChbymrP1A4f7nm0JCKjtPfKWxQ5YC0dNJTTJa330ILMp3AYy0nH8jlmb9I
JFDeP0yXfTUfnSzpEgTd3btSGdZ1MurfzEiTvfsK25gHrNPErleMITIEvv7ctys9
leCcuCaEtSM/s1PMp9F75kBBDOZMfcLlFEmzbk0yLtgVsxgC6Fpwa4FgJvTvrm3k
lm4z8olwyp5be2xeuHeaqxeqCgD+5Dm1DrakknXp52JlVVlbB47HhvHvpqCc435j
zjWVwKG7hMDmFVUMBFiZREM/8gzM0g7qGA6H9HD0TnKWzgST/eS+X6/8Pz1jBro=
=+/EU
-----END PGP SIGNATURE-----



More information about the Gcrypt-devel mailing list