This is the mail archive of the cygwin@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: cygwin 1.5.0-1 managed mount bug (?)


On Thu, 10 Jul 2003, Ronald Landheer-Cieslak wrote:

> I just downloaded the new Cygwin for testing - cygcheck output is
> available at
>
> http://blytkerchan.chez.tiscali.fr/cygcheck.out
> af795066e634db97201a98fdb1a974d4 *cygcheck.out
>
> and did this:
>
> $ mkdir c:/foo
> $ mkdir /foo
> $ mount -o managed c:/foo /foo
> $ cd /foo
> $ touch hello
> $ touch Hello
> $ touch aux
> $ ls
> %61ux  Hello  hello
>
> the bug is obvious (I think) but in case I need to spell it out, the
> result of ls should have been
> aux    Hello  hello

This is one of the first things I tried this morning. :-) I think it's because
get_encoded() (FHISSETF(ENC)) isn't returning true for 'aux'

    /* We get here if `buf' contains valid data.  */
    if (get_encoded ())
      (void) fnunmunge (dir->__d_dirent->d_name, buf.cFileName);
    else
      strcpy (dir->__d_dirent->d_name, buf.cFileName);

So the managed name just get's copied back to d_name .

It's a very cool feature, and this seems to be the only thing wrong.

Elfyn

-- 
Elfyn McBratney, EMCB
http://www.emcb.co.uk
elfyn@emcb.co.uk



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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