Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: Message-ID: References: Mail-Followup-To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/