This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch to allow trailing dots on managed mounts


On Fri, Dec 17, 2004 at 06:01:04PM -0500, Pierre A. Humblet wrote:
>Christopher Faylor wrote:
>
>> While I detest the trailing dot crap, I don't want cygwin to be inconsistent.
>> I don't want ls /bin./ls.exe to fail but ls /cygdrive/c/bin./ls.exe to work.
>
>Assuming a normal install, the first one is c:\cygwin\bin.\ls.exe,
>which would NOT fail, while the second is c:\bin.\ls.exe, which would
>fail as expected (not due to dots).

Ok.  Yes.  I had a typo.

If /cygdrive/c/cygwin/bin./ls.exe works, then /bin./ls.exe should also work.
Or, both should fail.  "consistent"

>>I'm not sure that it makes sense for ln -s foo "bar." to actually
>>create a file with a trailing dot on a non-managed mount either.  That
>>seems to expose an implementation detail of the way links are handled
>>and it seems inconsistent to me.
>
>Perhaps, but nobody has complained about it over the years!

And, until now, no one has complained about the current behavior for
months!

>> If we are "fixing" this (I firmly believe that the code in path_conv is never
>> really going to be right) then I don't want to add inconsistencies.
>
>I agree that path_conv is never going to be "right". I would 
>not reduce functionality nor open new holes merely to reduce 
>inconsistencies due to Windows.

And there we disagree.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]