From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bengt Richter Newsgroups: gmane.lisp.guile.bugs Subject: bug#44186: Recursive mkdir Date: Sat, 24 Oct 2020 01:32:14 +0200 Message-ID: <20201023233214.GA13637@LionPure> References: <6ff632f5c1e378647cecc7177b7018fb8a0ee6d4.camel@divoplade.fr> <86sga420pw.fsf@gmail.com> <21802e695ea4472c8aba0a686e6bf025890c64d6.camel@divoplade.fr> Reply-To: Bengt Richter Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30999"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: 44186@debbugs.gnu.org, divoplade To: zimoun Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Sat Oct 24 01:33:13 2020 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kW6Yb-0007xD-3d for guile-bugs@m.gmane-mx.org; Sat, 24 Oct 2020 01:33:13 +0200 Original-Received: from localhost ([::1]:56532 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kW6YZ-0001Bo-OS for guile-bugs@m.gmane-mx.org; Fri, 23 Oct 2020 19:33:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46808) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kW6YQ-0001BN-EZ for bug-guile@gnu.org; Fri, 23 Oct 2020 19:33:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47152) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kW6YQ-0002ld-5A for bug-guile@gnu.org; Fri, 23 Oct 2020 19:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kW6YQ-0003OF-25 for bug-guile@gnu.org; Fri, 23 Oct 2020 19:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Bengt Richter Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 23 Oct 2020 23:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44186 X-GNU-PR-Package: guile Original-Received: via spool by 44186-submit@debbugs.gnu.org id=B44186.160349594912990 (code B ref 44186); Fri, 23 Oct 2020 23:33:02 +0000 Original-Received: (at 44186) by debbugs.gnu.org; 23 Oct 2020 23:32:29 +0000 Original-Received: from localhost ([127.0.0.1]:58698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW6Xt-0003NS-Hv for submit@debbugs.gnu.org; Fri, 23 Oct 2020 19:32:29 -0400 Original-Received: from imta-37.everyone.net ([216.200.145.37]:59362 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW6Xr-0003NH-6y for 44186@debbugs.gnu.org; Fri, 23 Oct 2020 19:32:28 -0400 Original-Received: from pps.filterd (m0004962.ppops.net [127.0.0.1]) by imta-38.everyone.net (8.16.0.43/8.16.0.43) with SMTP id 09NNTYet029374; Fri, 23 Oct 2020 16:32:25 -0700 X-Eon-Originating-Account: z2Uan9TA2l8Yaxb_XyxGKIf-lyb9Z2Cf9qBQIRYUxCA X-Eon-Dm: m0116787.ppops.net Original-Received: by m0116787.mta.everyone.net (EON-AUTHRELAY2 - 53b92f5c) id m0116787.5f8a0270.652a1; Fri, 23 Oct 2020 16:32:24 -0700 X-Eon-Sig: AQMHrIJfk2gI84UdugIAAAAD,3e56e0616ee91cc503261fc4af190179 X-Eip: lxa3gQSEJfrtrQSH_FeM7KePhl7MwLyEzrfFPWHHiLg Content-Disposition: inline In-Reply-To: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.737 definitions=2020-10-23_18:2020-10-23, 2020-10-23 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxscore=0 mlxlogscore=913 adultscore=0 priorityscore=1501 bulkscore=0 impostorscore=0 spamscore=0 clxscore=1034 malwarescore=0 phishscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2010230144 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:9906 Archived-At: Hi, On +2020-10-24 00:07:19 +0200, zimoun wrote: > Dear, > > On Sat, 24 Oct 2020 at 00:00, divoplade wrote: > > > I have slightly modified the mkdir function so that it takes a third > > argument to try to create the intermediate directories when calling > > mkdir, in effect acting as "mkdir -p". > > > > However, I could not make the test suite run the ports test, on which I > > added the test for the new behavior. Is it expected? How do I run it? > > > > In the mean time, here is the WIP version of the patch. > > [...] > > > > Otherwise, why is it not possible to send a patch to Guile? > > The discussion started here: > > > > All the best, > simon > > > An alternate solution could be programmed using ffi, as documented in [1], n'est-ce pas? What would guix best-practice guidance say about that? [1] info guile ffi -- Regards, Bengt Richter