From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id BCC6438418A7 for ; Mon, 27 Jun 2022 10:18:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BCC6438418A7 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-212-YqwPbZBlPl2fN9ltfC2ncQ-1; Mon, 27 Jun 2022 06:18:29 -0400 X-MC-Unique: YqwPbZBlPl2fN9ltfC2ncQ-1 Received: by mail-ed1-f70.google.com with SMTP id m8-20020a056402430800b00435cfa7c6d1so6821063edc.9 for ; Mon, 27 Jun 2022 03:18:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=U864bP4FsYFmLKnolhMEWE/nG+pZbh3D2RNEWq629Yo=; b=CkEl9B7cFjY2scZmIFVVwffghO9VsazdlRMf8tW99xT7xkAtwT/FbKVlPVL4r40wAo 6s9oE1c/Cnsuaf5mt8Vx/dXhqAinM5LJAow1EHlpDsCgz4Non172OZ1KkcSnYC6voKQm /LjH5ZMCM7CkDfVy18TpZTDh94SBk14kJ3aIMEG9e7Zcy1MrONE1QZTMgeyGsSrUpOK2 MltvzVZX0KSDlJSyBDxPdQBVebCEf9AA69fO7ZTQuod5P4SoyrAK1x/VG/u8tT88qLWC bIdYuT9j5dnw6UD17Pz6IQgtYTSuUuwSolnRj1qhM1xAMu+zEoFGniS3wzQBf4NFvceR Ev6g== X-Gm-Message-State: AJIora8Zcy1WkMWynwLwjkKoG0vL5Srn7mWcaT7nR2CMnQPeKwXbIkFp An8FO07JKfqtWro/AQSQmHbrsSKSG8cp9PKcbTFEhdmdLhr1UzTd4URuQxAWhkP9LRE6t1XgjDg c86qCrD3nJSMNeCesZ06K1R7SRDTQUGs= X-Received: by 2002:a17:906:8301:b0:6e4:896d:59b1 with SMTP id j1-20020a170906830100b006e4896d59b1mr12090640ejx.396.1656325107963; Mon, 27 Jun 2022 03:18:27 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sgdNnbpT/Cr7RLDr7e1H3ZNyYxqvJyKOJ5SzBc7K1S31he2dIUab3v1EtMqLRFfE4S7bd1UJV06+NWSTiL4Yc= X-Received: by 2002:a17:906:8301:b0:6e4:896d:59b1 with SMTP id j1-20020a170906830100b006e4896d59b1mr12090616ejx.396.1656325107689; Mon, 27 Jun 2022 03:18:27 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jonathan Wakely Date: Mon, 27 Jun 2022 11:18:16 +0100 Message-ID: Subject: Re: [PATCH] libstdc++: testsuite: avoid predictable mkstemp To: Alexandre Oliva Cc: Joel Brobecker , gcc Patches , "libstdc++" X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, 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: libstdc++@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++ mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2022 10:18:31 -0000 On Mon, 27 Jun 2022 at 10:32, Alexandre Oliva wrote: > > On Jun 23, 2022, Jonathan Wakely wrote: > > > The attached makes this a bit more efficient, and makes more of the > > code common to the mkstemp and non-mkstmp branches. I'll wait to hear > > back from you before pushing it (since it has Joel's name on the > > patch). > > Thanks, I've given it a spin, both trunk and gcc-11, and I confirm it > works for us. I've pushed it to trunk now.