From: Dmitry Gutov <dmitry@gutov.dev>
To: Spencer Baugh <sbaugh@janestreet.com>
Cc: 68546@debbugs.gnu.org
Subject: bug#68546: 29.1.90; end-of-file has incorrect data when signaled within a load
Date: Fri, 26 Jan 2024 02:55:52 +0200 [thread overview]
Message-ID: <84173d7b-2687-4384-8c1c-3fc65e62b9d6@gutov.dev> (raw)
In-Reply-To: <CAO=BR8MgGZzvou4jvosF78tQuuysiwVnTNnJEGKLxe=NqjbAVg@mail.gmail.com>
On 25/01/2024 16:12, Spencer Baugh wrote:
> Ah, I think the cause (in at least one case) is that the user ran out of
> disk space, and so the write-region call in project--write-project-list
> failed when writing, which happens after truncating the existing file.
Makes sense.
> I
> guess there should be some atomic version of write-region which writes
> to a temp file and renames it over the original.
Yep, that would be an improvement.
next prev parent reply other threads:[~2024-01-26 0:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-17 19:04 bug#68546: 29.1.90; end-of-file has incorrect data when signaled within a load Spencer Baugh
2024-01-17 20:55 ` Dmitry Gutov
2024-01-25 14:05 ` Spencer Baugh
2024-01-25 14:12 ` Spencer Baugh
2024-01-26 0:55 ` Dmitry Gutov [this message]
2024-01-25 14:29 ` Eli Zaretskii
2024-01-26 0:45 ` Dmitry Gutov
2024-01-26 0:54 ` Dmitry Gutov
2024-02-16 21:56 ` Spencer Baugh
2024-02-17 7:14 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=84173d7b-2687-4384-8c1c-3fc65e62b9d6@gutov.dev \
--to=dmitry@gutov.dev \
--cc=68546@debbugs.gnu.org \
--cc=sbaugh@janestreet.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.