Hi Svante,

Am 23/01/12 15:08, schrieb Svante Signell:
Package: tdb
Version: 1.2.9-4
Severity: important
Tags: patch
User: debian-h...@lists.debian.org
Usertags: hurd

Hello,

The following tiny patch below enables a successful build of tdb for
GNU/Hurd. Since IOV_MAX is not defined for Hurd there is no reason to
check it's value.
Thanks for the patch.

I don't really understand it though. This is code that deals with the case where IOV_MAX is not defined (as is the case for hurd); it doesn't check for the value of IOV_MAX, it defines it.

Can you elaborate on why this is necessary?

Cheers,

Jelmer
--- a/lib/replace/system/network.h      2012-01-23 09:47:40.000000000
+0100
+++ b/lib/replace/system/network.h      2012-01-23 13:23:22.000000000
+0100
@@ -321,2 +321,2 @@
  #endif
  #endif

-#ifndef IOV_MAX
+#if !defined IOV_MAX&&  !defined __GNU__
  # ifdef UIO_MAXIOV
  #  define IOV_MAX UIO_MAXIOV
  # else





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to