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.129.124]) by sourceware.org (Postfix) with ESMTPS id E0CDB386F0EA for ; Mon, 27 Jun 2022 10:18:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E0CDB386F0EA Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-321-zlnES_xfPv-j_U2u_izlVw-1; Mon, 27 Jun 2022 06:18:29 -0400 X-MC-Unique: zlnES_xfPv-j_U2u_izlVw-1 Received: by mail-ed1-f69.google.com with SMTP id z13-20020a056402274d00b004357fcdd51fso6820805edd.17 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=FPnNDY1fzVnfLeoIMWxVcyO+ufbfN5BE93tvtaVYtMe1nVL2DbRDuNLO9rxG8nGRKS xCLhKJQjO9sN5U3tOZIr0RdXZLGv4Hp7Znysg6jRZDt0jhMdmibKR05lBmR5oPhZ0OLt GyA2ZG/oIzS1xwrDxp7N6ee5obf8fdgSvoPsJE0/SfCksObb8aL/xBUm3uq6GyEghIf8 EB9lWan4e7rLdSjsRq9JUVE/M5KvGbY24P4P2xkXZFvWjVa5lbcZvpukJQ271LjtjPUJ aJPXn457ftSQPAAPTwPjd19Kjzojidy5QrGnV9xYZZg+0K5h+EYA/vsWg+ckixQ5o94V 26Xg== X-Gm-Message-State: AJIora9glRN9PVnKX5qz7ZwyxqTOTN2SX57AHOA0MjzxpGFZoPtf7BSG IkO69woaaf/Vl+6JkqsGLuLbANIsFqXll6Pz9U2vLCXjPQVJUWghB8scq+ATr6vft3lxKmjfEST OV88I5gAwSuUggnClrTFQbPx8fRPnDoackw== X-Received: by 2002:a17:906:8301:b0:6e4:896d:59b1 with SMTP id j1-20020a170906830100b006e4896d59b1mr12090641ejx.396.1656325107964; 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=-4.3 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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.29 Precedence: list List-Id: Gcc-patches 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.