GNU bug report logs - #44186
Recursive mkdir

Previous Next

Package: guile;

Reported by: divoplade <d <at> divoplade.fr>

Date: Fri, 23 Oct 2020 22:01:02 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: divoplade <d <at> divoplade.fr>
To: bug-guile <at> gnu.org
Cc: zimoun <zimon.toutoune <at> gmail.com>, 44130 <at> debbugs.gnu.org
Subject: Recursive mkdir
Date: Sat, 24 Oct 2020 00:00:08 +0200
[Message part 1 (text/plain, inline)]
Dear guile,

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.

Best regards,

divoplade

Le vendredi 23 octobre 2020 à 21:36 +0200, zimoun a écrit :
> salut,
> 
> On Thu, 22 Oct 2020 at 01:29, divoplade <d <at> divoplade.fr> wrote:
> 
> > 1. Lobby guile to provide this function out of the box (this will
> > take
> > time);
> 
> This path seems the one to go.  It will take less time than running
> Guile on Windows. ;-)
> 
> The only issue is that your code will depend on Guile 3.0.x where
> x>4.  
> 
> Otherwise, why is it not possible to send a patch to Guile?
[0001-mkdir-Add-an-optional-argument-recursive-to-create-t.patch (text/x-patch, attachment)]

This bug report was last modified 4 years and 230 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.