From: Stefan Kangas <stefan@marxist.se>
To: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Cc: 34069@debbugs.gnu.org
Subject: bug#34069: dired-do-rename on fifos hangs if cross device
Date: Mon, 31 Aug 2020 10:26:16 +0000 [thread overview]
Message-ID: <CADwFkmn094anGwM8=vbVJDfgTCT4A_qUGKP7i_MbGKgz9Nefqg@mail.gmail.com> (raw)
In-Reply-To: <875zur2xyc.fsf@jidanni.org> ("積丹尼 Dan Jacobson"'s message of "Mon, 14 Jan 2019 21:03:23 +0800")
tags 34069 + confirmed
retitle 34069 rename-file on fifos hangs if cross device
thanks
積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:
> $ mkfifo x
> then do dired-do-rename x /tmp #not on the same filesystem
> This just hangs forever.
> (Don't ask me why I am doing this.)
> emacs-version "26.1"
> $ mv x /tmp #works just fine though.
It actually hangs on the rename-file call in copy-file.
Here is a minimal reproducer:
(progn (shell-command "mkfifo foo")
(rename-file "foo" "/tmp"))
next prev parent reply other threads:[~2020-08-31 10:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-14 13:03 bug#34069: dired-do-rename on fifos hangs if cross device 積丹尼 Dan Jacobson
2020-08-31 10:26 ` Stefan Kangas [this message]
2022-05-08 13:41 ` bug#34069: rename-file " Lars Ingebrigtsen
2022-12-18 21:06 ` Paul Eggert
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='CADwFkmn094anGwM8=vbVJDfgTCT4A_qUGKP7i_MbGKgz9Nefqg@mail.gmail.com' \
--to=stefan@marxist.se \
--cc=34069@debbugs.gnu.org \
--cc=jidanni@jidanni.org \
/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).