From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from cock.li ([185.100.85.212]) by ur; Tue Jun 6 19:39:50 EDT 2017 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on cock.li X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=firemail.cc; s=mail; t=1496792340; bh=auCj+XFRL7wRa627ePeNyMuUPgQsYDUU+lNtCS/4KfA=; h=Date:From:To:Subject:In-Reply-To:References:From; b=F4fQe3Iw6XTkd1CnOs+8cQgUNYTyPW4BGVfM5YxjF5zZuxgfMxDrZR4lUiO3j+iXL cdt+V2uPt25uZJDq+M2PpsTMdtY7a7e+nftGxIpeetbJ14a66hLqKjHVg0lyhb4sKB BNhcW1FSTJkyF5jSky1fAVcXnIVYJ46ZlarFwI/1eRSbVwY1gQl420uEo1RokZLDl+ X9H4Aqh6OMuEUP/bq6GBJ5AMqRmLFIpOXzjIHVQdldpSwBvu3TVwQVE7bxVK5I5K0M pIVNkhH6rP068n5x3FxX2D7mrfhhLX1+LusHKgZLbwq/dNlKn3K0Tt6Y2qPm+kyxZf brzT6wXfxXsYQ== Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 06 Jun 2017 23:39:00 +0000 From: raiz@firemail.cc To: 9front@9front.org Subject: Re: [9front] avoid infinite loop in upas/common mkfile In-Reply-To: <10d11082eefc2412f0dbd362997c2063@firemail.cc> References: <10d11082eefc2412f0dbd362997c2063@firemail.cc> Message-ID: <257b22d2fe21ec7fbb643d7d34c8d63d@firemail.cc> X-Sender: raiz@firemail.cc User-Agent: Roundcube Webmail/1.2.3 List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: information software On 2017-06-06 23:34, raiz@firemail.cc wrote: > Running 'mk' from subdirectories of /sys/src/cmd/upas causes infinite > loop because upas/common reruns mkupas which ends up in infinite loop. > > I attached a diff to fix it, correct me if I'm wrong. > > from postmaster@ur: > The following attachment had content that we can't > prove to be harmless. To avoid possible automatic > execution, we changed the content headers. > The original header was: > > Content-Transfer-Encoding: base64 > Content-Type: text/x-diff; > name=upas_common_mkfile_fix.diff > Content-Disposition: attachment; > filename=upas_common_mkfile_fix.diff; > size=266 sorry about that. diff -r 9b0969c59d42 sys/src/cmd/upas/common/mkfile --- a/sys/src/cmd/upas/common/mkfile Mon Jun 05 17:21:42 2017 +0200 +++ b/sys/src/cmd/upas/common/mkfile Wed Jun 07 02:30:49 2017 +0300 @@ -1,5 +1,4 @@