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 Message-ID: <40621916.1090809@scytek.de> Date: Wed, 24 Mar 2004 18:26:14 -0500 From: Volker Quetschke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: lstat on FAT - Was: Problem with find on FAT drives References: <4060B627 DOT 8000400 AT scytek DOT de> <20040324155332 DOT GF17229 AT cygbert DOT vinschen DOT de> <4061E702 DOT 1040705 AT scytek DOT de> <20040324205644 DOT GA4580 AT redhat DOT com> <20040324213057 DOT GA296803 AT Worldnet> <20040324214239 DOT GA6079 AT redhat DOT com> <406215C5 DOT 4040803 AT scytek DOT de> In-Reply-To: <406215C5.4040803@scytek.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.39 X-IsSubscribed: yes With the small problem that we're still working on src and not dst, and we cannot do the replacement on src because it is const. But I think you got the idea. Sorry > This is not done for "normal" DOS paths, IMHO consistency > would require that all remaining "\" are converted to "/" for all > paths. Isn't this what normalize_posix_path is meant to do? > > I.e. put: > > --- snip --- > for (char *p = dst; (p = strchr (p, '\\')); p++) > *p = '/'; > --- snap --- > > in line 212 in path.cc before the remaing cases are evaluated. Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D -- 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/