bug-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: netbsd patches


From: Michael Santos
Subject: Re: netbsd patches
Date: Tue, 10 Aug 2004 11:51:26 -0400
User-agent: Mutt/1.4.2.1i

On Mon, Aug 09, 2004 at 10:20:24PM -0400, Michael Santos wrote:

Pasto in the patch to df.c. Note: UNIXWARE was defined twice as
well in the #if defined/#endif clause.

--- df.c.orig   2004-04-29 17:01:02.000000000 -0400
+++ df.c        2004-08-10 11:48:28.000000000 -0400
@@ -49,5 +49,5 @@
 
 {
-#if defined SOLARIS || defined OSF || defined UNIXWARE 
+#if defined SOLARIS || defined OSF || defined UNIXWARE || (defined(__NetBSD__) 
&& __NetBSD_Version__ >= 200040000)
     struct statvfs buf;
 #elif defined ULTRIX
@@ -71,5 +71,5 @@
        return CF_INFINITY;
        }
-#elif defined SOLARIS || defined OSF || defined UNIXWARE 
+#elif defined SOLARIS || defined OSF || defined UNIXWARE || 
(defined(__NetBSD__) && __NetBSD_Version__ >= 200040000)
     if (statvfs (file, &buf) != 0)
        {
@@ -78,5 +78,5 @@
        return CF_INFINITY;
        }
-#elif defined IRIX || defined SCO || defined CFCRAY || defined UNIXWARE
+#elif defined IRIX || defined SCO || defined CFCRAY
     if (statfs (file, &buf, sizeof (struct statfs), 0) != 0)
        {

-- 
Michael Santos <address@hidden>
Unix Administrator/NBS Technologies Inc.
Commerce Gateway




reply via email to

[Prev in Thread] Current Thread [Next in Thread]