GNU bug report logs - #56603
[PATCH] Ensure that directories exist when copying files from archive

Previous Next

Package: emacs;

Reported by: Visuwesh <visuweshm <at> gmail.com>

Date: Sat, 16 Jul 2022 15:21:02 UTC

Severity: normal

Tags: patch

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Visuwesh <visuweshm <at> gmail.com>
Cc: 56603 <at> debbugs.gnu.org
Subject: bug#56603: [PATCH] Ensure that directories exist when copying files from archive
Date: Sun, 17 Jul 2022 11:23:15 +0200
Visuwesh <visuweshm <at> gmail.com> writes:

> This patch creates the relevant directories if they don't exist.  But
> perhaps the patch should be more robust?  I.e., if /tmp/test/a was a
> file, then it should error?

We'll get an error from that make-directory call, and I think that's
sufficient, so I've pushed your patch to Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 5 days ago.

Previous Next


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