www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/12/03/00:45:32

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Sun, 3 Dec 2000 00:45:16 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin-developers AT cygwin DOT com
Subject: Re: bugs in chdir()?
Message-ID: <20001203004516.A28426@redhat.com>
Reply-To: cygwin-developers AT cygwin DOT com
Mail-Followup-To: cygwin-developers AT cygwin DOT com
References: <s1sbsuucgis DOT fsf AT jaist DOT ac DOT jp>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <s1sbsuucgis.fsf@jaist.ac.jp>; from fujieda@jaist.ac.jp on Sun, Dec 03, 2000 at 12:47:39PM +0900

On Sun, Dec 03, 2000 at 12:47:39PM +0900, Kazuhiro Fujieda wrote:
>$ cd '\TEMP'		# Use Win32 style path with a backslash.
>$ pwd
>/TEMP			# No such directory.
>
>I think they are not bugs of chdir(), but bugs of the path
>conversions and revealed via chdir(). The strace logs are
>attached below.

Your analysis was correct.  The path handling code did not correctly
add a missing drive spec.  I think I've fixed that.

Thanks for the report.
cgf

- Raw text -


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