Change 21030 by [EMAIL PROTECTED] on 2003/09/04 17:26:48

        Subject: Re: "vendor" patch pickup
        From: "Marcus Holland-Moritz" <[EMAIL PROTECTED]>
        Date: Thu, 4 Sep 2003 19:47:55 +0200
        Message-ID: <[EMAIL PROTECTED]>
        
        (Take Marcus' version of the __THROW patch and
        even further #ifdef-protect it with __GLIBC__.)

Affected files ...

... //depot/perl/perl.h#538 edit

Differences ...

==== //depot/perl/perl.h#538 (text) ====
Index: perl/perl.h
--- perl/perl.h#537~20915~      Tue Aug 26 22:37:34 2003
+++ perl/perl.h Thu Sep  4 10:26:48 2003
@@ -713,9 +713,14 @@
 #endif
 
 /* sockatmark() is so new (2001) that many places might have it hidden
- * behind some -D_BLAH_BLAH_SOURCE guard. */
+ * behind some -D_BLAH_BLAH_SOURCE guard.  The __THROW magic is required
+ * e.g. in Gentoo, see http://bugs.gentoo.org/show_bug.cgi?id=12605 */
 #if defined(HAS_SOCKATMARK) && !defined(HAS_SOCKATMARK_PROTO)
+# if defined(__THROW) && defined(__GLIBC__)
+int sockatmark(int) __THROW;
+# else
 int sockatmark(int);
+# endif
 #endif
 
 #ifdef SETERRNO
End of Patch.

Reply via email to