[gpgme] change work dir

micron micron at madlab.it
Sun Dec 12 20:45:15 CET 2004

On Sunday 12 December 2004 15:58, Marcus Brinkmann wrote:

> This is due to you not storing a pointer to allocated memory in
> new_file_name above, but a pointer to statically allocated memory
> (new_file_name is what ends up in info->file_name, and not file_name.
> The reason I use a different variable new_file_name is so that
> file_name can be const).
All clear now ;)

> I didn't try your test program with my fix, but I am sure you will ;)
Yep, now both gpgme_ctx_set_engine_info and gpgme_set_engine_info work fine.

Thanks for realizing my wish

|§ micron<- ICQ #118796665
|§ GPG Key:
|§  ~ Keyserver: pgp.mit.edu
|§  ~ KeyID: 6D632BED

~ "Progress is merely a realisation of utopias" ~

More information about the Gnupg-devel mailing list