From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#6397: 24.0.50; `make-directory' return value Date: Thu, 14 Jul 2011 01:19:50 +0200 Message-ID: References: <3F4EAEC98DA7485299F2D80D33002278@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310599332 18837 80.91.229.12 (13 Jul 2011 23:22:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Jul 2011 23:22:12 +0000 (UTC) Cc: 6397@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 14 01:22:08 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh8kp-000229-Ul for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jul 2011 01:22:08 +0200 Original-Received: from localhost ([::1]:47165 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qh8kp-0006B1-1z for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Jul 2011 19:22:07 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qh8jr-0005z2-VT for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2011 19:21:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qh8jn-0003oV-N8 for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2011 19:21:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50095) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qh8jn-0003oQ-E3 for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2011 19:21:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qh8jm-00078c-UD; Wed, 13 Jul 2011 19:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Jul 2011 23:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6397 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 6397-submit@debbugs.gnu.org id=B6397.131059921927379 (code B ref 6397); Wed, 13 Jul 2011 23:21:02 +0000 Original-Received: (at 6397) by debbugs.gnu.org; 13 Jul 2011 23:20:19 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh8j1-00077R-P6 for submit@debbugs.gnu.org; Wed, 13 Jul 2011 19:20:19 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh8is-00076d-SB for 6397@debbugs.gnu.org; Wed, 13 Jul 2011 19:20:11 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Qh8if-0006zQ-VB; Thu, 14 Jul 2011 01:19:53 +0200 In-Reply-To: (Drew Adams's message of "Wed, 13 Jul 2011 15:47:46 -0700") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXEW125HTPSJztFChO+ P0TLMT3aIjrbk5wl8N22AAACXUlEQVQ4jXWUPXPbMAyG0TMtrkFku7N5cWbpqEtWKmKStXYjdZXV mlnZi1L8/QKS/JH0ykHm4fELgNBLQWqHhbjcrVN0ANUYgBHkiDuDuAA6AcwxFYExa0RHpPsJbNEw wevQcVwzmCRwGwLyWoU9LjgOvppACIFz4C0rfki8tFOqRsD2mvkmUvQ+vQRLwwnD6yx34BWmOIAE gqlNEGC/EmjwvpQ2ASh0O4kn7TPXoPnLY81dCkjCsHRPvCLUu03KRwBN8wn8FgBQh03JUwCIcQTt AIi7qevbdXoB3vl8URLXdSfgVCQupEYIB0gEtHpSBNgz4T+1icwNAkyC0M7TjP7wbwidMRDOC/ZW H//VXYJwsFfH7VnB41l+t3fhs+LnONN/wD79D5gE9u6Y4VgDJ/D0WbGVaFGUzWcwvGnv1MWhxucI TkM4gW++srmHD2Pg2bRzNgErFlzBNOcaLYBSAlaHBZSro4Id1UYtitwvvMPDIDE11LghUuC4iC1K j16s1PE7D1Ys61Q5nDEvvJPWzAbCjVi857Z4XIUvQCVjcS5I1EcGxTM7w4E6tluJaZT3mi3tCL64 xxGsOcLmKJSONtNAvY7JkMo0rdhMEqmMvcSJYRz7spW9tZpAsYIGwO3i1XsgktLcsxYiPusQVr8o 6lja6r7PgLfE1ur4BkN45b3imT+/VZmeWb46zaBoXgnkFPZ+Zm3GV8374W5D00Z6k/eqMsdPvmk4 fCm4A+qrTAjZ3CncNRu59wJgNlx5rXyVo3+Q0abyAUhu7GkV+uVpch/Uyf4MrNs+yAeBd38B2xIy 4jo/qKcAAAAASUVORK5CYII= X-Now-Playing: Depeche Mode's _Speak & Spell_: "Photographic" X-Hashcash: 1:23:110713:drew.adams@oracle.com::r+OVkyVEXfIJqwGW:00000000000000000000000000000000000000009zf8 X-Hashcash: 1:23:110713:6397@debbugs.gnu.org::gw0scDHa9m65yT8/:00000000000000000000000000000000000000001CUJ2 X-MailScanner-ID: 1Qh8if-0006zQ-VB MailScanner-NULL-Check: 1311203994.0654@Mo2ZSWALGaCrTGcbDUoJXg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 13 Jul 2011 19:21:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:48948 Archived-At: "Drew Adams" 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/