GPGME callback function problem

Marcus Brinkmann marcus.brinkmann at ruhr-uni-bochum.de
Fri Aug 31 19:00:15 CEST 2007


At Fri, 31 Aug 2007 08:04:27 -0700 (PDT),
alan_b <gtbui at yahoo.com> wrote:
> When I ran the test  program in Visual Studio 2005, the file descriptor
> value was something like 1916 (non debug mode) or 6012 (debug mode).  The
> max file descriptor for Windows is 512 by default.  I tried to use
> _setmaxstdio to increase the max fd to 2048, but still got the same error.
>
> Now the question is why GPGME created a file descriptor with large value
> like this?  How do I get around the problem?

On W32, "file descriptors" are regular system handles, not POSIX libc fds.

Thanks,
Marcus




More information about the Gnupg-devel mailing list