On 12/01/14 19:38, Wes Hardaker wrote: > Though I'm not happy about the solution, since it's removing > functionality. We need a better patch in the long run.
How about this additional patch ? This patch makes winExtDLL build under Cygwin. winExtDLL didn't work with previous Cygwin versions but works fine with the latest Cygwin version. winExtDLL exports more information than the MIB-II implementations for Cygwin in the Net-SNMP source code tree. diff --git a/agent/mibgroup/winExtDLL.c b/agent/mibgroup/winExtDLL.c index f44f84f..e421412 100644 --- a/agent/mibgroup/winExtDLL.c +++ b/agent/mibgroup/winExtDLL.c @@ -598,7 +598,7 @@ basename_equals(const char *path, const char *basename) return path_len >= basename_len + 1 && path[path_len - basename_len - 1] == '\\' - && stricmp(path + path_len - basename_len, basename) == 0; + && strcasecmp(path + path_len - basename_len, basename) == 0; } /** ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders