unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 6397@debbugs.gnu.org
Subject: bug#6397: 24.0.50; `make-directory' return value
Date: Thu, 14 Jul 2011 01:19:50 +0200	[thread overview]
Message-ID: <m3wrflkbu1.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <AC74426B4FBA492DB9D56B7768C916BA@us.oracle.com> (Drew Adams's message of "Wed, 13 Jul 2011 15:47:46 -0700")

"Drew Adams" <drew.adams@oracle.com> writes:

> But it sounds like there might still be a bug if the creation of the directory
> and any missing parents is not an atomic transaction.  See the rest of the
> thread.

I don't think there's anything that can be done about that.  Creating a
full path isn't atomic, and deleting the directories we've already made
is bad, too.  Some other process may have wanted the directories at the
same time, and would bug out if we started deleting them.

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





  reply	other threads:[~2011-07-13 23:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-10 20:49 bug#6397: 24.0.50; `make-directory' return value Drew Adams
2010-06-11  8:12 ` Juri Linkov
2010-06-11 13:33   ` Drew Adams
2011-07-13 22:22 ` Lars Magne Ingebrigtsen
2011-07-13 22:47   ` Drew Adams
2011-07-13 23:19     ` Lars Magne Ingebrigtsen [this message]
2011-07-13 23:45       ` Drew Adams
2011-07-13 23:54         ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3wrflkbu1.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    --cc=6397@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).