apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n..@apache.org
Subject svn commit: r1789850 - /apr/apr/branches/1.6.x/test/testlfs.c
Date Sat, 01 Apr 2017 23:13:06 GMT
Author: niq
Date: Sat Apr  1 23:13:06 2017
New Revision: 1789850

URL: http://svn.apache.org/viewvc?rev=1789850&view=rev
Log:
testlfs: this is a no-op on 64-bit

Modified:
    apr/apr/branches/1.6.x/test/testlfs.c

Modified: apr/apr/branches/1.6.x/test/testlfs.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.6.x/test/testlfs.c?rev=1789850&r1=1789849&r2=1789850&view=diff
==============================================================================
--- apr/apr/branches/1.6.x/test/testlfs.c (original)
+++ apr/apr/branches/1.6.x/test/testlfs.c Sat Apr  1 23:13:06 2017
@@ -342,7 +342,12 @@ static void test_buffered(abts_case *tc,
 
 static void test_nolfs(abts_case *tc, void *data)
 {
-    ABTS_NOT_IMPL(tc, "Large Files not supported");
+    if (sizeof(off_t) < 8) {
+        ABTS_NOT_IMPL(tc, "Large Files not supported");
+    }
+    else {
+        ABTS_NOT_IMPL(tc, "LFS support a no-op in 64-bit builds");
+    }
 }
 
 #endif



Mime
View raw message