GNU bug report logs - #44644
/tmp/emacs0/ not cleaned up upon exit

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Sat, 14 Nov 2020 20:31:02 UTC

Severity: wishlist

Tags: fixed

Fixed in version 28.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 44644 <at> debbugs.gnu.org, jidanni <at> jidanni.org
Subject: Re: bug#44644: /tmp/emacs0/ not cleaned up upon exit
Date: Wed, 25 Nov 2020 07:13:36 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

> I don't think it's kosher to delete $XDG_RUNTIME_DIR, even if it's
> empty, since it is probably used by more than the server?  And if
> XDG_RUNTIME_DIR is not defined, and we use a directory under /tmp,
> then the system cleans that up from time to time, doesn't it?
>
> So bottom line, I don't think we should do this, at least not
> unconditionally.

You raise some very good points.  Perhaps the only case where deleting
the directory is the one described in the subject?  I.e., when the
server directory has been created in `temporary-file-directory'?

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




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

Previous Next


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