Message ID | cover.1707585836.git.aburgess@redhat.com |
---|---|
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp1574123dyd; Sat, 10 Feb 2024 09:26:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IFwiI2cOSpkYsrVcVjzE7Aqqp4zVEpa6E7XeNAKDWO0mQfG+d3HmwJGwIFsNIOhKBYeuHD3 X-Received: by 2002:a05:620a:16a4:b0:783:e2ee:9d0b with SMTP id s4-20020a05620a16a400b00783e2ee9d0bmr2652156qkj.66.1707586011422; Sat, 10 Feb 2024 09:26:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707586011; cv=pass; d=google.com; s=arc-20160816; b=cBBkOiD+Xi7fZG35qk1mszaHLkJlfb9kTtFCk6Cg9mQvrvL8bCwpUKmS7skE2XqeMz rCcivRcjrvlODWvjeX07H7YiqFM180okddlJtXtTktrXtfKV44IH5V0yFkV2rzCexZR9 9Lz1wiz0pMAtvK3IJ3rqQQGnkeZ56c0/Nm+cXYU8D6KUYcHMBnOtsrvG4aliMaQpAys1 UlH5bvyykBqLKUjJqWwhhJ8qzVSvRZ5xr9ht1ResuWZsavItRMEjGvWn3O+lfnPkvG68 yDwDgYQF60/Nac/WlOFUD8ptHR3GN0x6rDwgr9WJoY/8vX8Q4PKCtoFWgO5US09siO5d 4v3A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=/zL+Dh4rmncbaMa08Qf2PNxNyNM+DQ8qdzZtF//WjZA=; fh=NitqCzi3Ooes1MVyc44Jwik7Yx59bN+PYPCGbROvysE=; b=ZRKkuNYf6TNNKo6iV4MMe5fgcgC1VL7/1X+eKV1D++Ab2snHX4gehh75yYX3U8F4Z0 j3NcIP/4VKo7v7QVTKwVn6dhH6KQcRbeda8JXp2SVS4Lw2HHQFN7VQ1mijGhIp/sBXFT 4QduCrAJIqXALkxmyGt9P3Q6rDqlvx8xsN3rN23RME1grDOVAl00njirfjPIR4UMKuKB lSsHBMxlIDKvxYqM1ZBhyn10QqcTVuW89IOzUHtpF5bOHb3K3P8zqUi/wQFWlmz37weP W45hGmeVfm/dDhwPYmt3+VlkIwfTLicl1uB5XAyhRUWV+ycWyz4UeQ7fcXNWNQ5AAHkV xxow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=POi5coCH; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com X-Forwarded-Encrypted: i=2; AJvYcCXbnfmGqi7Qc/g7KD6uiJu3jvZT3doeDWBMerSXGw43/LVd70ARKld+NcfSl8vo8umwvrcJPHSCzviEsHr/yBxH3DKAsQ== Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id y25-20020a37e319000000b007858ee130d8si2152045qki.657.2024.02.10.09.26.51 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Feb 2024 09:26:51 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=POi5coCH; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 199483858D35 for <ouuuleilei@gmail.com>; Sat, 10 Feb 2024 17:26:51 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 56E1D3858D20 for <gcc-patches@gcc.gnu.org>; Sat, 10 Feb 2024 17:26:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 56E1D3858D20 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 56E1D3858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707585972; cv=none; b=hEoNTiseethE/ktr1yWqQ27hdb43He48NHOT2Q/Gi7VZ9ZsptlpB3SE1gPCFMhc2caTYdrch0kxVQ6dCluhCbWONS6MFmJ2O7u4xvjHnBzKk4W+sPh5EeN8WrdYVfiereRN46fu+SqH/fMv4x9e18WdHhPMo9/lB7HMt5GknD4M= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707585972; c=relaxed/simple; bh=kPVoO+PkEd5LcnJ+92WU4IfmdnXN7T0+KFyLcKrmZzk=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=mp78yK5JxtKXmQmAfWDDc2bPP+f54IgcjDfCUtwrWvy9pGW7mVk0tSTY/Xk/lFs+WODfGlbnGx3nsf7XZtCYDt8kSFW/HYjXB8F+0ROl1osm5lrhIaqlGHxrTs5FLlegNoFLqZ2lvj1z/kTMEKMSdhpQHxe5DIucDRvI3LcE4Xo= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1707585968; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/zL+Dh4rmncbaMa08Qf2PNxNyNM+DQ8qdzZtF//WjZA=; b=POi5coCHkgH3ixd4PeL1gkRFnHPEj01UfFA9pVFD1mzzL4ZzEJhVVFepHvKEuZksDEOEY+ 3v3mX2akOgzg/scISX8C2QmZZNcGgl5aHkVXzvz2NT6Ry2om3R8JT+B66B77xIJBYbmlrK 5W9EQJMckURMZK3vw75qB0BfCNkWL2Q= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-357-o0XSqlIhPz6kWfiT9X8aew-1; Sat, 10 Feb 2024 12:26:06 -0500 X-MC-Unique: o0XSqlIhPz6kWfiT9X8aew-1 Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-4107fc96b3dso6773335e9.2 for <gcc-patches@gcc.gnu.org>; Sat, 10 Feb 2024 09:26:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707585964; x=1708190764; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/zL+Dh4rmncbaMa08Qf2PNxNyNM+DQ8qdzZtF//WjZA=; b=svlf5R92xroEP0xLe1jMaNU1XQtHDcFKINeS9hgsqBjZ4gfWq28syyePVQ4rfIOpbo FEV+ufoS8Zgi0ktA4g+Eeo4KKIMg5AuhAWV/MF0kWJROAOalTjcX+Lh/pDlz2cuCOkGU igTcqpGT7eQScZDOroVqYQwUDh5gG5L4Mw1c/HtLLlMIEZRDh0Iu5MVRd46ycf7Ibb8h UCB2L8kSJdBtA6WXW07KZJC2wHOLq61ZJrFL1MUdMU5YO6jUSkBGCDgwFaTfZemNSyRl N0DTzkn5Dh8aTucDBdGXL7hKvUs+FHsT8FXSbRUByxVxzJBeqDYIZLTNkg77gHszO5u1 b7/A== X-Gm-Message-State: AOJu0YwTVhGUdhYHOUcaDwWTh9H5Y5O3aqdIw25EIndWb+WSyy6IGENB NbDAae6KLNW5g78JVJCkk6OaOi5W6fNC351MSI5whuAMxGpjTDxgg7waLQIz80t8WHqEEtPcnf2 JRbTX2HE++ol3lz2fgttLeZkPso7W9CJTez1UNWRU5JNJl+SHdheZ64G4NiWVqc7cAsKzUswLgi sQl2NNGi2+odv1SyDCXkZpHn875ivJoF3eBucDTTQ= X-Received: by 2002:a05:600c:6008:b0:410:981f:774b with SMTP id az8-20020a05600c600800b00410981f774bmr1399019wmb.17.1707585964360; Sat, 10 Feb 2024 09:26:04 -0800 (PST) X-Received: by 2002:a05:600c:6008:b0:410:981f:774b with SMTP id az8-20020a05600c600800b00410981f774bmr1399002wmb.17.1707585963968; Sat, 10 Feb 2024 09:26:03 -0800 (PST) Received: from localhost (185.223.159.143.dyn.plus.net. [143.159.223.185]) by smtp.gmail.com with ESMTPSA id a20-20020a05600c225400b004104ecb39d1sm3796986wmm.32.2024.02.10.09.26.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Feb 2024 09:26:03 -0800 (PST) From: Andrew Burgess <aburgess@redhat.com> To: gcc-patches@gcc.gnu.org Cc: Andrew Burgess <aburgess@redhat.com> Subject: [PATCHv2 0/2] Changes to libiberty buildargv Date: Sat, 10 Feb 2024 17:25:59 +0000 Message-Id: <cover.1707585836.git.aburgess@redhat.com> X-Mailer: git-send-email 2.25.4 In-Reply-To: <24a8d878590403540bc9b579ba58805985a4d2f7.1701881419.git.aburgess@redhat.com> References: <24a8d878590403540bc9b579ba58805985a4d2f7.1701881419.git.aburgess@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790533709215865283 X-GMAIL-MSGID: 1790533709215865283 |
Series |
Changes to libiberty buildargv
|
|
Message
Andrew Burgess
Feb. 10, 2024, 5:25 p.m. UTC
I realise that these patches are not going to get merged until GCC is back in stage 1, but thought I'd post my latest set of changes for the libiberty buildargv function. Patch #1 is unchanged from V1. Patch #2 is new in V2. Thanks, Andrew --- Andrew Burgess (2): libiberty/buildargv: POSIX behaviour for backslash handling libiberty/buildargv: handle input consisting of only white space libiberty/argv.c | 104 ++++++++-------- libiberty/testsuite/test-expandargv.c | 170 ++++++++++++++++++++++---- 2 files changed, 200 insertions(+), 74 deletions(-) base-commit: cff174fabd6c980c09aee95db1d9d5c22421761f