[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Improve reporting of I/O, access errors for Emacs

From: Paul Eggert
Subject: Improve reporting of I/O, access errors for Emacs
Date: Thu, 12 Sep 2019 01:22:09 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

I ran into some issues where Emacs was ignoring reasonably-serious I/O errors. I went through the C source code and looked for similar issues, and fixed everything I found. The basic idea is that Emacs should signal an error for serious and unexpected I/O errors (e.g., EIO, ENAMETOOLONG) while continuing to behave as before if the problem is merely a missing file (ENOENT) or is a similarly tame error. Because the patch is a bit involved and in some places affects MS-Windows code, I've posted it here for review:


A half-dozen or so of the issues I found had simpler fixes, which I've already installed into master.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]