|
| From: | Stefan Monnier |
| Subject: | Re: Null filename ("") is considered to correspond to an existing, readable, and writable file? |
| Date: | Tue, 03 Jan 2006 10:50:46 -0500 |
| User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> I already said that I assumed this was "by design". I asked what the design
> _advantage_ is. No answer, so far.
If you could give us some background as to why you care so much about the
way Emacs handles a file named "", maybe you'd be taken more seriously.
A file name "" is extrememly rare, so how we behave when facing such
a situation should be driven by the two following goals:
1 - avoid risks (e.g. try not to introduce security holes).
2 - try not to spend too much code&time on it.
I.e. the behavior should mostly be determined by the way the code makes it
work, as long as it makes sense and is not dangerous.
Stefan
| [Prev in Thread] | Current Thread | [Next in Thread] |