Dave Shield 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?

Looking at the Cygwin CVS, it looks like it has supported /proc/uptime for at least 3 years, 8 months.

http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ntdll.h?cvsroot=src

Alex


-------------------------------------------------------
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

Reply via email to