delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/13/17:04:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-Id: <5.2.0.9.2.20021213134556.01ff6e28@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
Date: Fri, 13 Dec 2002 13:50:37 -0800
To: cygwin AT cygwin DOT com
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: Re: Slowness on app startup after recent update (and yes I
read the FAQ)
In-Reply-To: <20021213214217.93828.qmail@web40412.mail.yahoo.com>
References: <3DFA489B DOT 4050802 AT cern DOT ch>
Mime-Version: 1.0

Ron,

Again, a good place to look is your environment.

This example suggests strongly that your HOME environment variable is 
simply "/". I think some code (in this case "cvs") blindly takes the value 
of environment variables that are meant to name directories and blindly 
appends a slash and whatever path components lead to the resource they're 
looking for. If that root or base directory name is just "/", this problem 
ensues.

Also, note that repeated slashes are only a problem at the beginning of a 
path name. Elsewhere they're idempotent.


By the way, in output like the kind you've attached in the last two posts, 
it's a good idea to try to prevent line wrapping. If that's not an option 
with your mail client (or if the mail servers or list processors along the 
way are going to override your choice not to wrap long lines), then put the 
content in an attachment so it doesn't get mangled.

Randall Schulz
Mountain View, CA USA


At 13:42 2002-12-13, Ron Wood wrote:
>Somehow a // has been introduced into my system. Below
>is the strace to cvs.
>
>My path is,
>
>...
>
>part of strace output,
>
>...
>29888  117233 [main] cvs 2280 normalize_posix_path:
>src //.cvsrc
>   127  117360 [main] cvs 2280 normalize_posix_path:
>//.cvsrc = normalize_posix_path (//.cvsrc)
>    95  117455 [main] cvs 2280
>mount_info::conv_to_win32_path: conv_to_win32_path
>(//.cvsrc)
>...


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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