delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/09/11/14:38:41

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-developers-unsubscribe-archive-cygwin-developers=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Sat, 11 Sep 1999 14:40:40 -0400
To: Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>
Cc: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: can't change /cygdrive properly
Message-ID: <19990911144040.B955@cygnus.com>
Mail-Followup-To: Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>,
cygwin-developers AT sourceware DOT cygnus DOT com
References: <s1s3dwls3fp DOT fsf AT jaist DOT ac DOT jp>
Mime-Version: 1.0
X-Mailer: Mutt 0.95.6i
In-Reply-To: <s1s3dwls3fp.fsf@jaist.ac.jp>; from Kazuhiro Fujieda on Sun, Sep 12, 1999 at 03:34:02AM +0900

Could you provide an example?  I don't know what you mean.

cgf

On Sun, Sep 12, 1999 at 03:34:02AM +0900, Kazuhiro Fujieda wrote:
>pathconv can't properly handle Win32 path names including
>"<drive>:" just after the cygdrive path is changed by the mount
>command.
>
>Sun Sep 12 03:19:18 1999  Kazuhiro Fujieda (fujieda AT jaist DOT ac DOT jp)
>
>	* path.cc (mount): Set parameters about cygdrive properly.
>
>--- path.cc-	Sun Sep 05 12:56:36 1999
>+++ path.cc	Sun Sep 12 03:19:18 1999
>@@ -1897,7 +1897,10 @@ mount (const char *win32_path, const cha
> 
>       if (res == 0)
> 	{
>-	  strcpy (cygwin_shared->mount.cygdrive, posix_path);
>+	  char temp[MAX_PATH];
>+	  slashify (posix_path, temp, 1);
>+	  strcpy (cygwin_shared->mount.cygdrive, temp);
>+	  cygwin_shared->mount.cygdrive_len = strlen(temp);
> 	  cygwin_shared->mount.cygdrive_flags = flags;
> 	}
> 
>____
>  | AIST      Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>
>  | HOKURIKU  School of Information Science
>o_/ 1990      Japan Advanced Institute of Science and Technology

-- 
cgf AT cygnus DOT com
http://www.cygnus.com/

- Raw text -


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