Hi, Dave Shield <[EMAIL PROTECTED]> wrote: > On Tue, 2006-01-31 at 02:31 +0100, Maik Broemme wrote: > > Modern recent builds of Cygwin > > (currently i am using Cygwin 1.5.19.4) has legacy support for > > '/proc/uptime' which the get_uptime() function uses under linux. > > I'm a little concerned by that word "modern". How modern is > modern? When was this feature introduced, and how widespread > are earlier releases likely to be? > More importantly, what happens if your patch is used on a > system that does *not* include legacy support for /proc/uptime? > Does it fail gracefully, or does it crash the agent? >
Well every Cygwin build i used since two years (before i did not use Cygwin) has support for '/proc/uptime' At this moment the patch does not check if '/proc/uptime' exist, sorry. :( I can implement this and return zero if it not exist. The '/proc/uptime' support under Cygwin is some kind of "virtual" which means that if the directory '/proc' not exist (it does not exist in a clean Cygwin installation) it is still accessible. > Dave > --Maik ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
