delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/10/09:29:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 10 Jul 2003 14:29:36 +0100
From: Elfyn McBratney <elfyn AT emcb DOT co DOT uk>
X-X-Sender: elfyn AT ellixia
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: cygwin 1.5.0-1 managed mount bug (?)
In-Reply-To: <Pine.LNX.4.44.0307101519380.1171-100000@localhost.localdomain>
Message-ID: <Pine.CYG.4.55.0307101414450.1464@ellixia>
References: <Pine DOT LNX DOT 4 DOT 44 DOT 0307101519380 DOT 1171-100000 AT localhost DOT localdomain>
Mail-Followup-To: cygwin AT cygwin DOT com
MIME-Version: 1.0

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 AT emcb DOT co DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019