Dave Shield wrote: > The current code assumes the presence of "chown()" and > "localtime_r()" routines - neither of which are supported by MinGW > (or at least, not the version I was working with). > > I'm therefore appending a suitable patch which should work around > these two calls, for MinGW only. It's possible that the same tweak > would be needed for Cygwin as well, but I don't currently have a > working Cygwin environment available to test this. > > In both cases, a better fix would be for configure to check for the > relevant call explicitly, but it feels too late in the release cycle to > risk introducing such a change.
What's the risk imposed by your patch on builds with potential other/future MinGW versions that do ship with localtime_r? +Thomas ------------------------------------------------------------------------- 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-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
