Re: Please help: Unresolved getdtablesize while building snmpd.exe with MS .Net (MSVC7.1)
Thomas Anders <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Alex Burger wrote:
> #ifndef WIN32
> /*
> * close all non-standard file descriptors we may have
> * inherited from the shell.
> */
> for (i = getdtablesize() - 1; i > 2; --i) {
> (void) close(i);
> }
> #endif /* #WIN32 */
>
> I am not sure what problem the above code is supposed to fix. Maybe
> Robert can comment on it as he was the one who added it. I don't think
> it is an issue with Windows.
This has been discussed on net-snmp-coders:
http://sourceforge.net/mailarchive/message.php?msg_id=12053198
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users