delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/27/16:13:32

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4F9AFDCE.7030306@comcast.net>
Date: Fri, 27 Apr 2012 16:13:02 -0400
From: rick ratta <eratta AT comcast DOT net>
Reply-To: eratta AT comcast DOT net
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: looking for informartion about directory names with trailing dots
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

  I would like to understand how cygwin can manipulate directories with 
trailing dots.
I looked at some of the source code and it looks like the windows api's 
"GetFullPathName" and "FindFirstFile" are
being used.

But when I try and use those api's directly I cannot read the contents 
of directories with a trailing dot.

I was shocked that Java also does not support reading directories with 
trailing dots as well.

I'd appreciate an explanation or a place to look to read how cygwin 
accomplishes this.

Thanks

-rick

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

- Raw text -


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