Patch to allow trailing dots on managed mounts

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Thu Dec 16 16:05:00 GMT 2004


On Thu, Dec 16, 2004 at 05:03:22PM +0100, Corinna Vinschen wrote:
>On Dec 16 10:57, Christopher Faylor wrote:
>> On Thu, Dec 16, 2004 at 04:53:39PM +0100, Corinna Vinschen wrote:
>> >Since the mount code is called from path_conv anyway, wouldn't it be
>> >better to pass the information "managed mount or not" up to path_conv?
>> 
>> How about just doing the pathname munging in `conv_to_win32_path' if/when
>> it's needed?
>
>Erm... I'm not quite sure, but didn't the "remove trailing dots and spaces"
>code start there and has been moved to path_conv by Pierre to circumvent
>some problem?  I recall only very vaguely right now.

One problem that it would circumvent is that currently, if you do this:

ls /bin......................................

You'll get a listing of the bin directory.  If you move the code to
conv_to_win32_path that may not be as easy to get right.

cgf



More information about the Cygwin-patches mailing list