From patchwork Sat Jan 5 14:00:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 154822 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1680660ljp; Sat, 5 Jan 2019 06:01:37 -0800 (PST) X-Google-Smtp-Source: ALg8bN4B9fuy3EU24OdkRjSUlDuRqROls9MrXN35lHykOqNXKRaWkcrC0vQqj8ZemxNKmN7nCwkw X-Received: by 2002:a17:902:20b:: with SMTP id 11mr54774653plc.57.1546696897316; Sat, 05 Jan 2019 06:01:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546696897; cv=none; d=google.com; s=arc-20160816; b=KUxSg0gK5Q0fx7Rr8L5EcQI04P7nuh+WsWyQiaPnk8CxVbNDgu09Y0PO39sjFObW6f J0jDpX9cSLQQ1GNoYK4OF9OcX6LCW9tJsrjeLD7ZfPrZaElHHUVv0tKVBaHIYkUF8gUV JfIs1qNYlHflnjCxJXtcLQ7MJRbrdRkP9bA2oAOOI2nZnce5CE/dLuPmwmYLBye9dZaK OrjOC8/HclXtnf/ADRv8rf5ZzbwG9oGAqcWQaQhoJCZST/rZuBx2dlEkoJleJx8pc7Tj YirZ44cSDAv53GfP1U5EQ1Y3hY5XN/biq/9HY4SsNPHcQ+yddLRNXSx/J6PxK3OwbWCb RjNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:to:from:dkim-signature:delivered-to:sender :list-help:list-post:list-archive:list-subscribe:list-unsubscribe :list-id:precedence:mailing-list:dkim-signature:domainkey-signature; bh=LlCxHw3rac1tEvh+/Kdcr1VHueRh4lDB/6SDxwKtL54=; b=akHaoVYwiCufSSA03bp1inqE9X9h/xwE22UsVn9DxKMhSJT5++xsPpyJpD9LXshZNL 32svB7bWZcBez4lfk5gYa1uXV0HeFhHK9P6C1sOG9CrIJ3jA0lerfv8LyMqlAG3wvw5S FYFsc9tajKC+QP6RsaHAn1jCWi67pG0V7325j4CMqOq5Lwyu2JXtoKmrI3Siie9ir7iW d7oi2I8EksBE40HMwa6dva8NXe/R2Rd4DBHuhLjJGhIV6ii/d35DavbuqjTkWSzXE6hE MejOveCWeclpZfAGGmEtsmXEBQrXTdO0F7JO6uvtXAph2TrOgsJ/CMs98t9CMlA1RN4y O05Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=BBSDxWIt; dkim=pass header.i=@linaro.org header.s=google header.b=Rx7E6Fbc; spf=pass (google.com: domain of libc-alpha-return-99068-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="libc-alpha-return-99068-patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id w10si8546329pgj.214.2019.01.05.06.01.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Jan 2019 06:01:37 -0800 (PST) Received-SPF: pass (google.com: domain of libc-alpha-return-99068-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=BBSDxWIt; dkim=pass header.i=@linaro.org header.s=google header.b=Rx7E6Fbc; spf=pass (google.com: domain of libc-alpha-return-99068-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="libc-alpha-return-99068-patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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:subject:date:message-id; q=dns; s= default; b=wvByy+mo8WEWux5P3IEMPM4TpUQqfLkjufzvYH+DDqYh7GZqyjITB wGJKNeo+4MCTip+mmipYDVqKpw1EatvPGmArnYNLyfXw7pXrceqdhylajaIBOWdZ FkXsosQP94wmtR48NhOaM98kWThNJOOr7oYkNSrUYLs7A+aC3OOxA8= 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:subject:date:message-id; s=default; bh=WPlrvYcJvLAX95QVoTMqJPheXRM=; b=BBSDxWItpGIsG+8d4CXzvPbdF44Q e8oepVjO50HPxVk5YshV9oPyKfyrqExqrVHWl+XiXWQn2Cbizq01rKiESir25L8O aogzADeB7Vrf4po5OnFytyCdk9s1FfkBdkVIZeEIZ1EHwR+F6qcUGMF3n+z0VSLX BLkBoUfC4taX6Qc= Received: (qmail 104892 invoked by alias); 5 Jan 2019 14:01:27 -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 104825 invoked by uid 89); 5 Jan 2019 14:01:19 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=fourth X-HELO: mail-qt1-f177.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id; bh=LlCxHw3rac1tEvh+/Kdcr1VHueRh4lDB/6SDxwKtL54=; b=Rx7E6FbcPYssJXpGDDbZioCbZuWfdzyJy8f1dO9AVoooYWpSa/D3TEbL0mz94hK+q7 M285ASd7E7GkdVeNhPBpa7//WEONLmHQMPfNcfwBDSLyZl7f6lrdY9K4SN8Eauk3H3cS Me1cUodoz7WauyMx6dVAyouSldk1PW6XfUwTk= Return-Path: From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [COMMITTED] posix: Fix tst-spawn.c issue from commit 805334b26c Date: Sat, 5 Jan 2019 12:00:59 -0200 Message-Id: <20190105140059.21208-1-adhemerval.zanella@linaro.org> Checked on powerpc64le-linux-gnu. * posix/tst-spawn.c (do_test): Extend spargv to new required size and fix typo. --- ChangeLog | 5 +++++ posix/tst-spawn.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/posix/tst-spawn.c b/posix/tst-spawn.c index b45e0d885e..eea5addbf3 100644 --- a/posix/tst-spawn.c +++ b/posix/tst-spawn.c @@ -154,7 +154,7 @@ do_test (int argc, char *argv[]) char fd4name[18]; char fd5name[18]; char *name3_copy; - char *spargv[12]; + char *spargv[13]; int i; /* We must have @@ -169,7 +169,7 @@ do_test (int argc, char *argv[]) + the newly opened file descriptor + the duped second descriptor + the name of the closed descriptor - + the duped fourth dile descriptor which O_CLOEXEC should be + + the duped fourth file descriptor which O_CLOEXEC should be remove by adddup2. */ if (argc != (restart ? 7 : 2) && argc != (restart ? 7 : 5))