From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id BD0CA3857703 for ; Sat, 20 May 2023 16:15:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BD0CA3857703 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0PFH-0000eO-IP; Sat, 20 May 2023 12:15:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From: Date; bh=fqe+80on2GTWu+yR+Z4RToFFiq7HbgtUevReQOuOP0M=; b=BrSgdlTXJsYpwiOO4D8c tDMM8hlusKlbiwhv+Bt21smBvixDnROVI64vz69Gc8QRY+xIRVePu/EI1lCUMbFch/CMiLqMSstaO 0NATUhwGRarbyUN4ta+Dj1DMQdm2fccEDvMxYwRgs8zFigVS/0cgpOShIxTT0SUfJrkpS4oYRSvjl pDReL5v/RNEF6pmcdbADnyTpBXDuUpHYkMMJlBa2TOu/ShQfD9RXluAZZJkjn/lGzbwHK040YXCKL Pm6iZSedSkoOrF6IJstOcIcG0qL3L2HkB5y6Q5vzSq9ulJNOuaPtgrzhrTPzLfgMbkE7uraiGVVms c0tzOzI7BEksoA==; Received: from 2a02-8440-521d-0057-de41-a9ff-fe47-ec49.rev.sfr.net ([2a02:8440:521d:57:de41:a9ff:fe47:ec49] helo=begin) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0PFG-0002Mw-WD; Sat, 20 May 2023 12:15:51 -0400 Received: from samy by begin with local (Exim 4.96) (envelope-from ) id 1q0PF6-008KBb-2l; Sat, 20 May 2023 18:15:40 +0200 Date: Sat, 20 May 2023 18:15:40 +0200 From: Samuel Thibault To: Sergey Bugaev Cc: libc-alpha@sourceware.org, bug-hurd@gnu.org Subject: Re: [PATCH 3/3] io: Fix a typo Message-ID: <20230520161540.ot657hpu7k53vt4y@begin> Mail-Followup-To: Sergey Bugaev , libc-alpha@sourceware.org, bug-hurd@gnu.org References: <20230520115531.3911877-1-bugaevc@gmail.com> <20230520115531.3911877-3-bugaevc@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230520115531.3911877-3-bugaevc@gmail.com> Organization: I am not organized User-Agent: NeoMutt/20170609 (1.8.3) X-Spam-Status: No, score=-12.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,SPF_HELO_PASS,SPF_PASS,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 List-Id: applied, thanks! Sergey Bugaev via Libc-alpha, le sam. 20 mai 2023 14:55:31 +0300, a ecrit: > Fixes 85f7554cd97e7f03d8dc66278653045ef63a2221 > "Add test case for O_TMPFILE handling in open, openat" > > Signed-off-by: Sergey Bugaev > --- > io/tst-open-tmpfile.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/io/tst-open-tmpfile.c b/io/tst-open-tmpfile.c > index 666a3a30..9541a942 100644 > --- a/io/tst-open-tmpfile.c > +++ b/io/tst-open-tmpfile.c > @@ -92,7 +92,7 @@ wrap_openat64 (const char *path, int flags, mode_t mode) > /* Return true if FD is flagged as deleted in /proc/self/fd, false if > not. */ > static bool > -is_file_deteted (int fd) > +is_file_deleted (int fd) > { > char *proc_fd_path = xasprintf ("/proc/self/fd/%d", fd); > char file_path[4096]; > @@ -172,7 +172,7 @@ check_wrapper_flags_mode (const char *op, wrapper_func wrapper, > } > > /* Check that the file is marked as deleted in /proc. */ > - if (!is_file_deteted (fd)) > + if (!is_file_deleted (fd)) > { > printf ("error: path in /proc is not marked as deleted\n"); > exit (1); > -- > 2.40.1 > -- Samuel --- Pour une évaluation indépendante, transparente et rigoureuse ! Je soutiens la Commission d'Évaluation de l'Inria.