]> granicus.if.org Git - vnstat/commitdiff
fix getgroup() test in Debian GNU/kFreeBSD (patch by Felix Geyer)
authorTeemu Toivola <git@humdi.net>
Sat, 6 Sep 2014 19:28:58 +0000 (22:28 +0300)
committerTeemu Toivola <git@humdi.net>
Sat, 6 Sep 2014 19:28:58 +0000 (22:28 +0300)
CHANGES
tests/daemon_tests.c

diff --git a/CHANGES b/CHANGES
index b6347459d27026819fa1726b39cc12c78435a274..c1edd11e2199a1cd2d2e349bfeb6f19e20b026d8 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,8 @@
+1.13 / <not released yet>
+
+ - Fix: getgroup() test in Debian GNU/kFreeBSD (patch by Felix Geyer)
+
+
 1.12 / 30-Aug-14
 
  - Fix: Memory allocation when zero interfaces are available, also lo needed
index 4f06c8e34a837a3358c2a2406ffa53cb9b7ca4bc..8e0b377f3ec378219952770305ccc6148c17247b 100644 (file)
@@ -34,7 +34,7 @@ END_TEST
 
 START_TEST(getgroup_root_string)
 {
-#if defined(__linux__)
+#if defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)
        ck_assert_int_eq((int)getgroup("root"), 0);
 #else
        ck_assert_int_eq((int)getgroup("wheel"), 0);