Re: Rebuilding Net-SNMP 5.4 with IPv6

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 07/06/07, Alex Burger <[email protected]> wrote:
> Dave, I had to put an #ifndef WIN32 around the feature code 1041888 in
> read_config.c:
>
> if (!S_ISDIR(statbuf.st_mode)) {
> .
> .
> }
>
> Windows doesn't have S_ISDIR.  We need a proper fix, but that allowed me
> to compile to test IPv6.

Well the obvious fix would be to test for S_ISDIR explicitly
(since this is a #define anyway).

<tap, tap, tap>

Done.  SVN revision 16500,

Give that a whirl, and let me know if you still have problems.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.