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=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 29200 invoked from network); 14 Feb 2021 00:05:05 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 14 Feb 2021 00:05:05 -0000 Received: from vultr.musolino.id.au ([45.76.123.158]) by 1ess; Sat Feb 13 19:00:05 -0500 2021 Received: from 58.170.82.66 ([58.170.82.66]) by vultr; Sun Feb 14 10:59:59 +1100 2021 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit To: 9front@9front.org From: Alex Musolino Date: Sun, 14 Feb 2021 10:29:58 +1030 In-Reply-To: <24F3DAD837016D50611A75FC8848645C@bss-wf.de> 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: agile asynchronous property control Subject: Re: [9front] Mail rewrite; open path with stored mails Reply-To: 9front@9front.org Precedence: bulk I have a couple of general comments. Firstly, the -d option is typically used as to enable debugging output of some kind. Can you use a different character? Perhaps -p for path? Also, it seems that the options we support and the usage string(s) do not agree. Secondly, you can register the removembox function to run on exit with atexit(2). That'll save you having to call it yourself from any and every place that might result in an exit. At the moment, removembox won't be called if we hit one of the sysfatals. -- Cheers, Alex Musolino