From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 2689 invoked from network); 25 Jul 2023 13:17:22 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 25 Jul 2023 13:17:22 -0000 Received: from mimir.eigenstate.org ([206.124.132.107]) by 9front; Tue Jul 25 09:14:19 -0400 2023 Received: from abbatoir (pool-108-27-53-161.nycmny.fios.verizon.net [108.27.53.161]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id df6c03de (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9front@9front.org>; Tue, 25 Jul 2023 06:14:16 -0700 (PDT) Message-ID: <688867C744F9A4467A8DF4CD4CC449C6@eigenstate.org> To: 9front@9front.org Date: Tue, 25 Jul 2023 09:14:15 -0400 From: ori@eigenstate.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: object-oriented leveraged STM engine Subject: Re: [9front] Re: [PATCH] make exportfs give "standard" error for file does exist Reply-To: 9front@9front.org Precedence: bulk Quoth Anthony Martin : > ori@eigenstate.org once said: > > note, the problem with strstr is that walking to a file named > > 'file does not exist' may confuse the caller; this is why I > > would like to move to a convention where the "well known" error > > is at a well known location. > > 1. Spaces in file names are suspect to begin with. > > 2. If you name a file "file does not exist", you deserve > the consequences. > I don't need to name a file that; I just need to try walking to it.