From patchwork Sat Jan 27 15:56:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 866738 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-89695-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="uHtzj31W"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zTL4K4X8Pz9sBd for ; Sun, 28 Jan 2018 02:56:49 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=tT3OTRsncmmK6Mk71iMd64HFBRrwT9h cHujddLtE/VaAqVhH+V95PsdC5RZrCIsx2JaV2NfTs2fKsLLviyTQQuQzTqMVYUR RuHFJ7NUOYBIhU5ZxWhXMIXa/Zx2Y/gQwdv900tENlgrJMaMhcIyjxHVDOsN3ATQ IBLFaftEoWXw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references; s=default; bh=PK61jnqrxYA6x5UCAeOG/TzFT0Q=; b=uHtzj 31W5/hSotdFO0qqfgvRq1uINxKJ8F2txGrEjVUnyzB4n22s5IeFIOUB9XZurekra LRtJdPZ3QjYqfVs1astzhdpoBfdNKTuvklWL+Op3txas19saOQq45+AUkVvA3XW2 0SEA+r4N62tLutIROvapBCAndmt1PBtATaESuI= Received: (qmail 63870 invoked by alias); 27 Jan 2018 15:56:36 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 63830 invoked by uid 89); 27 Jan 2018 15:56:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, SPF_NEUTRAL autolearn=ham version=3.3.2 spammy= X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd,commited 1/7] hurd: fix warning Date: Sat, 27 Jan 2018 16:56:23 +0100 Message-Id: <20180127155629.23644-2-samuel.thibault@ens-lyon.org> In-Reply-To: <20180127155629.23644-1-samuel.thibault@ens-lyon.org> References: <20180127155629.23644-1-samuel.thibault@ens-lyon.org> * sysdeps/mach/hurd/xmknodat.c: Include . --- ChangeLog | 4 ++++ sysdeps/mach/hurd/xmknodat.c | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8e3c150aca..e6392de4e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2018-01-27 Samuel Thibault + + * sysdeps/mach/hurd/xmknodat.c: Include . + 2018-01-27 James Clarke * sysdeps/hppa/fpu/libm-test-ulps: Update. diff --git a/sysdeps/mach/hurd/xmknodat.c b/sysdeps/mach/hurd/xmknodat.c index d824281476..40d86aa2c0 100644 --- a/sysdeps/mach/hurd/xmknodat.c +++ b/sysdeps/mach/hurd/xmknodat.c @@ -25,6 +25,7 @@ #include <_itoa.h> #include #include +#include /* Create a device file named PATH relative to FD, with permission and special bits MODE and device number DEV (which can be constructed From patchwork Sat Jan 27 15:56:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 866743 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-89700-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="H1BIzPut"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zTL571S0dz9sBd for ; Sun, 28 Jan 2018 02:57:30 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=HgTIrlT4R0XpSrRa39adqZnnzsbZKPk LGhjVkR1uQ380PAmFCeo0zTjckbpn2MS6chbxwyLxpaXlj5HMkNAr1E0obvpspLr lQ2KvCaMwx942LhLcwGeogRaSzPJuJ/UNxBkRBNMf/uupyNgGQSuWBeVLaLA6Wgm tHANXf5choVc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references; s=default; bh=soMDCkfH0VTXR1iGzMiIAzaVvEg=; b=H1BIz PutwvFJio7KpJfxoQ99fFV2umfyW66umPg1IrnCh11rPvl2Q0tbHYb930WKLBEoD CE5hW63kEmGjoP75zbC7JLNVwBguXjP//2d/1Qk8pPkxgbkiG8KYMBk/vEskG5dp m3L+snWsn+Ot/fW+BAEL0CXogXPUcmpIy95L5M= Received: (qmail 64653 invoked by alias); 27 Jan 2018 15:56:40 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 64497 invoked by uid 89); 27 Jan 2018 15:56:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, SPF_NEUTRAL autolearn=ham version=3.3.2 spammy= X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd,commited 2/7] hurd: fix warning Date: Sat, 27 Jan 2018 16:56:24 +0100 Message-Id: <20180127155629.23644-3-samuel.thibault@ens-lyon.org> In-Reply-To: <20180127155629.23644-1-samuel.thibault@ens-lyon.org> References: <20180127155629.23644-1-samuel.thibault@ens-lyon.org> * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing a `c' variable. --- ChangeLog | 2 ++ sysdeps/mach/hurd/profil.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index e6392de4e8..d923c6444f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ 2018-01-27 Samuel Thibault * sysdeps/mach/hurd/xmknodat.c: Include . + * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing + a `c' variable. 2018-01-27 James Clarke diff --git a/sysdeps/mach/hurd/profil.c b/sysdeps/mach/hurd/profil.c index 1323457acb..2fe8f9de56 100644 --- a/sysdeps/mach/hurd/profil.c +++ b/sysdeps/mach/hurd/profil.c @@ -154,14 +154,14 @@ fetch_samples (void) pc_samples, &nsamples); if (err) { - static error_t special_profil_failure; - static volatile int a, b, c; + static volatile error_t special_profil_failure; + static volatile int a, b; special_profil_failure = err; a = 1; b = 0; while (1) - c = a / b; + a = a / b; } for (i = 0; i < nsamples; ++i) From patchwork Sat Jan 27 15:56:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 866744 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-89701-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="i5Vl4JxH"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zTLFM4PpRz9sBd for ; Sun, 28 Jan 2018 03:04:39 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=Xvbb17qqJYBZsrwqSqof4B333PTf8ok xK1Li0SkjFGigJxhzAbTGH3j0Lpte9NypW55LVQCI89Xtc98ERZnpM9BjGUTnQSb 8m8B4GTZPjZFcnNeP+9SLaIHcBGRGg8fwp0tMLcrpdDSo+Nx5vVjNZAl7ScyKeeo iAS/ufKg/KUA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references; s=default; bh=5PAK5eskkCfJ30kl2TVWiB+Qp1c=; b=i5Vl4 JxHi7YVXspG8KKvbddCYR8x/h4W3oi+yEaFcJfnRxKSYEcmt/Igc3NW0ADi9ASRW nAY5U1m9MqbHfRHYXOmxc7QewmqFXsEn47Jk3Aa8i9Dw/f2XwkMUboUh6UzaO4yR dbIRK9w86FiUblrCOk4QKAmlszZG7Or7Unk2W0= Received: (qmail 815 invoked by alias); 27 Jan 2018 16:04:33 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 804 invoked by uid 89); 27 Jan 2018 16:04:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, SPF_NEUTRAL autolearn=ham version=3.3.2 spammy=Close, Hx-languages-length:896 X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd,commited 3/7] hurd: fix warning Date: Sat, 27 Jan 2018 16:56:25 +0100 Message-Id: <20180127155629.23644-4-samuel.thibault@ens-lyon.org> In-Reply-To: <20180127155629.23644-1-samuel.thibault@ens-lyon.org> References: <20180127155629.23644-1-samuel.thibault@ens-lyon.org> * resolv/res-close.c: Include . --- ChangeLog | 1 + resolv/res-close.c | 1 + 2 files changed, 2 insertions(+) diff --git a/ChangeLog b/ChangeLog index d923c6444f..9bdd0a48bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ * sysdeps/mach/hurd/xmknodat.c: Include . * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing a `c' variable. + * resolv/res-close.c: Include . 2018-01-27 James Clarke diff --git a/resolv/res-close.c b/resolv/res-close.c index 43b9292857..e02f5afa15 100644 --- a/resolv/res-close.c +++ b/resolv/res-close.c @@ -86,6 +86,7 @@ #include #include #include +#include /* Close all open sockets. If FREE_ADDR is true, deallocate any separately allocated name server addresses. */ From patchwork Sat Jan 27 15:56:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 866739 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-89696-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="FT7NYbGK"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zTL4T6g52z9sBd for ; Sun, 28 Jan 2018 02:56:57 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=JCwMGC0SAJmM36kNvQz8DPFJwJ7qTeS vjjYvMkbEJz+f4HuuL6pUC8hdtz48hkE0LEhSGAK9+QG2AMiOUGYNDsPnM7k96QV GTSxl0LSKTtCXQY9pyV0cgUXioqVEt2iM2f6WEDLKmV/ovsT0FBH91sXN+o1FfGr UqhnzflKE9tg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references; s=default; bh=uiPPg/UriDP32g9cbvhb4U0/DAA=; b=FT7NY bGKMB3I/RG07xQaIccCliJOdHGtAZiG6VTNsxyIuZv6mFo6yP7oRIK62GMKceIYF LVy00XnW8LxGAAuNoD0W0N/WlRYCBjD24xkNNVWdb2b4dR1cfqeSyw9iv8fy9V0c go66aqoc5pqaTN7Jv0uU6IUCpeH4/4BG57n1d8= Received: (qmail 63955 invoked by alias); 27 Jan 2018 15:56:36 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 63833 invoked by uid 89); 27 Jan 2018 15:56:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_SHORT, SPF_HELO_PASS, SPF_NEUTRAL autolearn=ham version=3.3.2 spammy=1715 X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd,commited 4/7] hurd: fix warnings Date: Sat, 27 Jan 2018 16:56:26 +0100 Message-Id: <20180127155629.23644-5-samuel.thibault@ens-lyon.org> In-Reply-To: <20180127155629.23644-1-samuel.thibault@ens-lyon.org> References: <20180127155629.23644-1-samuel.thibault@ens-lyon.org> * sysdeps/generic/not-cancel.h: Include , , , , . (NOT_CANCEL_H): Add inclusion guard. --- ChangeLog | 3 +++ sysdeps/generic/not-cancel.h | 11 +++++++++++ 2 files changed, 14 insertions(+) diff --git a/ChangeLog b/ChangeLog index 9bdd0a48bc..f9770b1554 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,9 @@ * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing a `c' variable. * resolv/res-close.c: Include . + * sysdeps/generic/not-cancel.h: Include , , + , , . + (NOT_CANCEL_H): Add inclusion guard. 2018-01-27 James Clarke diff --git a/sysdeps/generic/not-cancel.h b/sysdeps/generic/not-cancel.h index 631216ee4a..19ad8cbc4c 100644 --- a/sysdeps/generic/not-cancel.h +++ b/sysdeps/generic/not-cancel.h @@ -17,6 +17,15 @@ License along with the GNU C Library; if not, see . */ +#ifndef NOT_CANCEL_H +# define NOT_CANCEL_H + +#include +#include +#include +#include +#include + /* By default we have none. Map the name to the normal functions. */ #define __open_nocancel(...) \ __open (__VA_ARGS__) @@ -44,3 +53,5 @@ __nanosleep (requested_time, remaining) #define __fcntl_nocancel(fd, cmd, ...) \ __fcntl (fd, cmd, __VA_ARGS__) + +#endif /* NOT_CANCEL_H */ From patchwork Sat Jan 27 15:56:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 866740 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-89697-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="UDi51asN"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zTL4f1jzKz9sBd for ; Sun, 28 Jan 2018 02:57:06 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=dPXa0Kl/az/eAroFyF3NsyNjHc0ro/4 8mZLwn7QQXnn04oiPBqJ39wN4GVAg2HC5Qxioai9+4PSJ+OKCBAPchYAVNq29xCW sAFUyBj5g7SYm4kllGTNe2MTOfdwdfLZ7uJ4zhzR/QSYr8ie4vyrgp1rkTjzQC1b G8onQCLk2imw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references; s=default; bh=Qo6w9sS22ILIHCv1kwON3Xkkod4=; b=UDi51 asNa9dHABTQ+uySowCq7vUxZekIV0ax8ux2/gLyw/WhzlbBFD1pLRGGTMO8kEK1c KY1OM3gUDHS9KS5jHKr8Mh9jHZmSm2EIlFRdQH/Y5dJr8URhIcziaRqO3lpWTA/q OdE2quW1L9+3cWl7uqefAmhE6XvoQQ4lU5Kweg= Received: (qmail 64033 invoked by alias); 27 Jan 2018 15:56:36 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 63838 invoked by uid 89); 27 Jan 2018 15:56:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-23.3 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, SPF_NEUTRAL, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.3.2 spammy= X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd,commited 5/7] hurd: fix warning Date: Sat, 27 Jan 2018 16:56:27 +0100 Message-Id: <20180127155629.23644-6-samuel.thibault@ens-lyon.org> In-Reply-To: <20180127155629.23644-1-samuel.thibault@ens-lyon.org> References: <20180127155629.23644-1-samuel.thibault@ens-lyon.org> * sysdeps/generic/sigset-cvt-mask.h: Include . --- ChangeLog | 1 + sysdeps/generic/sigset-cvt-mask.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index f9770b1554..7284b25b78 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ * sysdeps/generic/not-cancel.h: Include , , , , . (NOT_CANCEL_H): Add inclusion guard. + * sysdeps/generic/sigset-cvt-mask.h: Include . 2018-01-27 James Clarke diff --git a/sysdeps/generic/sigset-cvt-mask.h b/sysdeps/generic/sigset-cvt-mask.h index 78e15c3386..ad4b8b2d2d 100644 --- a/sysdeps/generic/sigset-cvt-mask.h +++ b/sysdeps/generic/sigset-cvt-mask.h @@ -20,6 +20,8 @@ /* Convert between an old-style 32-bit signal mask and a POSIX sigset_t. */ +#include + /* Perform *SET = MASK. Unused bits of *SET are set to 0. Returns zero for success or -1 for errors (from sigaddset/sigemptyset). */ static inline int __attribute__ ((unused)) From patchwork Sat Jan 27 15:56:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 866741 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-89698-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="tz+YTyOk"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zTL4p21Xsz9sBd for ; Sun, 28 Jan 2018 02:57:14 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=xyrBDPvBgJgiklsv+NN/73mV3xmdCCZ Gxs6xD+TQrjUS6EXkvWrlOyRVdjJ4S3jBtuXSxRTSwBYj8AuMhUhamOunjXZdUxr Tx354Ab/tQdZINK7fNvoPaHIci898KhUSMNXcJCBrrBOg9hCh8q2B9ZP4VFbynvk 2O+W6SfFy9RQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references; s=default; bh=i2upZFw5+59WZ0SpQhBUIPtbIIg=; b=tz+YT yOkx28JVZdbtkVajyCbG4PlcRKBWxqdwDF5mcOpI+lGpD+U2vlOAUH9VPDsaw6E5 qx2TQfko5o4Y6swAok4cTlkOHbZU7ZHGA0BFjyevsJhlXT0j7sp168SlmK5DawHM srdGmnZq5CCFGV4kT6FP1BPpM6oMdqjViva6Ac= Received: (qmail 64533 invoked by alias); 27 Jan 2018 15:56:40 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 64381 invoked by uid 89); 27 Jan 2018 15:56:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-23.3 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, SPF_NEUTRAL, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.3.2 spammy= X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd,commited 6/7] hurd: fix warnings Date: Sat, 27 Jan 2018 16:56:28 +0100 Message-Id: <20180127155629.23644-7-samuel.thibault@ens-lyon.org> In-Reply-To: <20180127155629.23644-1-samuel.thibault@ens-lyon.org> References: <20180127155629.23644-1-samuel.thibault@ens-lyon.org> * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset, __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really return 0. --- ChangeLog | 3 +++ sysdeps/generic/sigsetops.h | 12 ++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7284b25b78..c52aa4266c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,9 @@ , , . (NOT_CANCEL_H): Add inclusion guard. * sysdeps/generic/sigset-cvt-mask.h: Include . + * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset, + __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really + return 0. 2018-01-27 James Clarke diff --git a/sysdeps/generic/sigsetops.h b/sysdeps/generic/sigsetops.h index 02bc728c06..52b0e79071 100644 --- a/sysdeps/generic/sigsetops.h +++ b/sysdeps/generic/sigsetops.h @@ -28,12 +28,12 @@ #define __sigemptyset(set) \ (__extension__ ({ \ *(set) = (__sigset_t) 0; \ - (void)0; \ + 0; \ })) #define __sigfillset(set) \ (__extension__ ({ \ *(set) = ~(__sigset_t) 0; \ - (void)0; \ + 0; \ })) # define __sigisemptyset(set) \ @@ -42,13 +42,13 @@ # define __sigandset(dest, left, right) \ (__extension__ ({ \ *(dest) = *(left) & *(right); \ - (void)0; \ + 0; \ })) # define __sigorset(dest, left, right) \ (__extension__ ({ \ *(dest) = *(left) | *(right); \ - (void)0; \ + 0; \ })) /* These macros needn't check for a bogus signal number; @@ -63,14 +63,14 @@ (__extension__ ({ \ __sigset_t __mask = __sigmask (sig); \ *(set) |= __mask; \ - (void)0; \ + 0; \ })) # define __sigdelset(set, sig) \ (__extension__ ({ \ __sigset_t __mask = __sigmask (sig); \ *(set) &= ~__mask; \ - (void)0; \ + 0; \ })) #endif From patchwork Sat Jan 27 15:56:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 866742 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-89699-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="htILV7ox"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zTL4y6wJnz9sBd for ; Sun, 28 Jan 2018 02:57:22 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=xvHym6IwCkxV5jlXvQWB/YyRXrcupBS maxV65lIPTxbbWy9lwi7D/NEVDemGq3XVJzWkP/X6SF/J6gFr1nDtV/IbJUp/JiS zS6kUzgpty9GUFe3Yu4gC7vs1UPblCtUJZzigSWqIf0K1IuPKA++lqsnhi7oWtus CyTkCnvruQyk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references; s=default; bh=nHu6fOkPVuzJuhQD+KRw1ZhZ3eU=; b=htILV 7oxaSBP/NhbhzsdHh4GqvdzAYfZADEdV+woqk+a8NYMtSPnuTgsLVgNG0PZgPi7G A1vAs4cMlGG4BG/UWozX4AJEnPPRgle2kirvlzqw6qA6GEfV8M+xXoajvyP+lSTm 375niWyaa6LslH44x3bZ+VzdnNdRPtDzhGWR8E= Received: (qmail 64568 invoked by alias); 27 Jan 2018 15:56:40 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 64411 invoked by uid 89); 27 Jan 2018 15:56:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, SPF_NEUTRAL autolearn=ham version=3.3.2 spammy=screw, Cast, transfer X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd,commited 7/7] hurd: fix warning Date: Sat, 27 Jan 2018 16:56:29 +0100 Message-Id: <20180127155629.23644-8-samuel.thibault@ens-lyon.org> In-Reply-To: <20180127155629.23644-1-samuel.thibault@ens-lyon.org> References: <20180127155629.23644-1-samuel.thibault@ens-lyon.org> * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast vm_address_t * to ElfW(Addr) * for dl_main parameter. --- ChangeLog | 2 ++ sysdeps/mach/hurd/dl-sysdep.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c52aa4266c..f2a771781e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,8 @@ * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset, __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really return 0. + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast + vm_address_t * to ElfW(Addr) * for dl_main parameter. 2018-01-27 James Clarke diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c index 7f2ba8c78b..2cd63bb83a 100644 --- a/sysdeps/mach/hurd/dl-sysdep.c +++ b/sysdeps/mach/hurd/dl-sysdep.c @@ -204,7 +204,7 @@ unfmh(); /* XXX */ up and leave us to transfer control to USER_ENTRY. */ (*dl_main) ((const ElfW(Phdr) *) _dl_hurd_data->phdr, _dl_hurd_data->phdrsz / sizeof (ElfW(Phdr)), - &_dl_hurd_data->user_entry, NULL); + (ElfW(Addr) *) &_dl_hurd_data->user_entry, NULL); /* The call above might screw a few things up.