bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#27871: [PATCH] Treat unreachable current directory as error


From: Paul Eggert
Subject: bug#27871: [PATCH] Treat unreachable current directory as error
Date: Sat, 7 Oct 2017 23:04:54 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

Philipp Stephani wrote:
All of the current directory functions exhibit this behavior, including
getwd and getcwd, so you need to make sure they are also covered.

Thanks for letting us know. I installed the 2nd attached patch, which addresses this by making the patch behave more like what you originally proposed, while still avoiding the need to use file_name_absolute_p (which is about Emacs file names, not OS names). Also, I noticed a related memory leak and fixed that by installing the 1st attached patch.

Attachment: 0001-src-xsmfns.c-x_session_initialize-Fix-memory-leak.patch
Description: Text Data

Attachment: 0002-Improve-test-for-unreachable-dirs.patch
Description: Text Data


reply via email to

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