commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mig] 01/01: Actually add patches


From: Samuel Thibault
Subject: [mig] 01/01: Actually add patches
Date: Sun, 07 Jan 2018 16:31:50 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch master
in repository mig.

commit 47d31cd943ef6c79c83be021a66ea67c9259246f
Author: Samuel Thibault <address@hidden>
Date:   Sun Jan 7 17:31:38 2018 +0100

    Actually add patches
---
 debian/patches/series  |  1 +
 debian/patches/warning | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..118f48f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+warning
diff --git a/debian/patches/warning b/debian/patches/warning
new file mode 100644
index 0000000..040d5f8
--- /dev/null
+++ b/debian/patches/warning
@@ -0,0 +1,22 @@
+commit b8874015bd1d09b1b72293c0b5be422fd375e04b
+Author: Samuel Thibault <address@hidden>
+Date:   Mon Jan 2 19:01:24 2017 +0100
+
+    Fix spurious warning on MACH_MSG_TYPE_POLYMORPHIC value
+    
+    * utils.c (WriteStaticLongDecl): Explicitly cast name to unsigned short to
+    ignore truncation of MACH_MSG_TYPE_POLYMORPHIC i.e. -1.
+
+diff --git a/utils.c b/utils.c
+index a06001b..d6a2b72 100644
+--- a/utils.c
++++ b/utils.c
+@@ -284,7 +284,7 @@ WriteStaticLongDecl(FILE *file, const ipc_type_t *it,
+           strdealloc(dealloc));
+     fprintf(file, "\t\t/* msgt_unused = */\t\t0\n");
+     fprintf(file, "\t},\n");
+-    fprintf(file, "\t\t/* msgtl_name = */\t%s,\n",
++    fprintf(file, "\t\t/* msgtl_name = */\t(unsigned short) %s,\n",
+           inname ? it->itInNameStr : it->itOutNameStr);
+     fprintf(file, "\t\t/* msgtl_size = */\t%d,\n", it->itSize);
+     fprintf(file, "\t\t/* msgtl_number = */\t%d,\n", it->itNumber);

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/mig.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]