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

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

[debbugs-tracker] bug#28264: closed (Accessing source directory through


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#28264: closed (Accessing source directory through symlink produces false warnings)
Date: Tue, 29 Aug 2017 04:58:01 +0000

Your message dated Mon, 28 Aug 2017 21:57:15 -0700
with message-id <address@hidden>
and subject line Re: bug#28264: Accessing source directory through symlink 
produces false warnings
has caused the debbugs.gnu.org bug report #28264,
regarding Accessing source directory through symlink produces false warnings
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
28264: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28264
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Accessing source directory through symlink produces false warnings Date: Mon, 28 Aug 2017 14:25:20 -0400 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Package: emacs
Version: 26.0.50

Current master (cd0360f) on rhel7.

Emacs sources are in (eg) /tmp/emacs/git/master
cd ~
ln -s /tmp/emacs/git/master
~/master/src/emacs -Q

This results in the following new, spurious warnings:
    
    Warning: arch-dependent data dir '/:/tmp/emacs/git/master/lib-src/':
       No such file or directory
    Warning: Lisp directory '/:/tmp/emacs/git/master/lisp':
       No such file or directory
    
I would suspect recent changes to file name / symlink handling.




--- End Message ---
--- Begin Message --- Subject: Re: bug#28264: Accessing source directory through symlink produces false warnings Date: Mon, 28 Aug 2017 21:57:15 -0700 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 Thanks for the bug report. I reproduced the problem and installed the attached patch to fix it. It strikes me, though, that the code still won't work in other cases (e.g., symlinks containing ":"), and that Emacs probably has other instances of confusion between how it treats symlinks and how the OS treats them. I'll CC: this to Michael to give him a heads-up about this particular issue, as I'm not really up to speed on magic file names.

Attachment: 0001-Silence-false-alarms-for-symlinks-to-sources.patch
Description: Text Data


--- End Message ---

reply via email to

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