marcus committed to gpgme/gpgme

cvs@cvs.gnupg.org cvs@cvs.gnupg.org
Thu, 13 Dec 2001 23:02:08 +0100


Date:	Thursday December 13, 2001 @ 23:02
Author:	marcus

Update of /cvs/gnupg/gpgme/gpgme
In directory trithemius:/tmp/cvs-serv17110

Modified Files:
	ChangeLog engine-gpgsm.c posix-io.c 
Log Message:
2001-12-13  Marcus Brinkmann  <marcus@g10code.de>

	* engine-gpgsm.c (close_notify_handler): New function.
	(_gpgme_gpgsm_new): Manage the file descriptors a
	bit differently.  Do not set close-on-exec flags.
	(_gpgme_gpgsm_op_decrypt): Do not set message_fd
	to -1, this is done by the close handler.
	(_gpgme_gpgsm_op_encrypt): Likewise.
	(_gpgme_gpgsm_op_import): Likewise (also for output_fd).
	(_gpgme_gpgsm_op_keylist): Likewise (also for input_fd and output_fd).
	(_gpgme_gpgsm_op_sign): Likewise.
	(_gpgme_gpgsm_op_verify): Likewise, but for output_fd.

	* posix-io.c (_gpgme_io_pipe): Set the close-on-exec flag for the
	non-inherited file descriptor index of the pipe.

File: ChangeLog        	Status: Up-to-date
File: engine-gpgsm.c   	Status: Up-to-date
File: posix-io.c       	Status: Up-to-date