r4705 - in glibc-package/trunk/debian: . patches patches/any
Author: aurel32
Date: 2011-06-04 15:45:05 +0000 (Sat, 04 Jun 2011)
New Revision: 4705
Added:
glibc-package/trunk/debian/patches/any/submitted-mqueue-throw.diff
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/patches/series
Log:
* Add patches/any/submitted-mqueue-throw.diff to fix different declarations
of mq_open(). Closes: #595380.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2011-06-04 15:36:40 UTC (rev 4704)
+++ glibc-package/trunk/debian/changelog 2011-06-04 15:45:05 UTC (rev 4705)
@@ -44,6 +44,8 @@
locale. Closes: #604125.
* Add patches/mips/submitted-wordsize-clang.diff to make clang usable on
mips/mipsel. Closes: #601645.
+ * Add patches/any/submitted-mqueue-throw.diff to fix different declarations
+ of mq_open(). Closes: #595380.
[ Steve Langasek ]
* Tighten the dependency on dpkg to a multiarch aware version.
Added: glibc-package/trunk/debian/patches/any/submitted-mqueue-throw.diff
===================================================================
--- glibc-package/trunk/debian/patches/any/submitted-mqueue-throw.diff (rev 0)
+++ glibc-package/trunk/debian/patches/any/submitted-mqueue-throw.diff 2011-06-04 15:45:05 UTC (rev 4705)
@@ -0,0 +1,17 @@
+2011-06-04 Aurelien Jarno <aurelien@aurel32.net>
+
+ * rt/bits/mqueue2.h(mq_open): Add __THROW.
+
+diff --git a/rt/bits/mqueue2.h b/rt/bits/mqueue2.h
+index 4c90609..6728d93 100644
+--- a/rt/bits/mqueue2.h
++++ b/rt/bits/mqueue2.h
+@@ -34,7 +34,7 @@ __errordecl (__mq_open_missing_mode_and_attr,
+ "mq_open with O_CREAT in second argument needs 4 arguments");
+
+ __extern_always_inline mqd_t
+-mq_open (__const char *__name, int __oflag, ...)
++mq_open (__const char *__name, int __oflag, ...) __THROW
+ {
+ if (__va_arg_pack_len () != 0 && __va_arg_pack_len () != 2)
+ __mq_open_wrong_number_of_args ();
Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series 2011-06-04 15:36:40 UTC (rev 4704)
+++ glibc-package/trunk/debian/patches/series 2011-06-04 15:45:05 UTC (rev 4705)
@@ -265,3 +265,4 @@
any/cvs-regex-oom.diff
any/cvs-getaddrinfo-single-lookup.diff
any/cvs-unique_sym_table-corruptions.diff
+any/submitted-mqueue-throw.diff
Reply to: