delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/28/11:42:04

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Sat, 28 Feb 2004 11:41:47 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Christian Matuszewski <C DOT Matuszewski AT gmx DOT de>
cc: cygwin AT cygwin DOT com
Subject: Re: cygpath bug (windows 2000)
In-Reply-To: <29413.1077985346@www24.gmx.net>
Message-ID: <Pine.GSO.4.56.0402281140020.19703@slinky.cs.nyu.edu>
References: <29413 DOT 1077985346 AT www24 DOT gmx DOT net>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Sat, 28 Feb 2004, Christian Matuszewski wrote:

> On Fri, Feb 27, 2004 at 11:22:38AM -0000, Hughes, Bill wrote:
> >> Sent: 27 February 2004 10:43 From: Christian Matuszewski
> >>cgf says:
> >>>Try the latest snapshot <http://cygwin.com/snapshots/>.
> >>
> >>Thank you very much, now cygpath doesn't crash anymore.
> >>
> >>But is it necessary, that cygpath gives the error message: cygpath:
> >>error converting "/ddd...ddd" - File or path name too long ?  When i
> >>think of cygpath as a tool to convert strings, then it should work with
> >>paths of arbitrary length.  Is this possible?
> >
> >Unless Microsoft have changed something there is a maximum path length
> >of 255 on windows so cygpath working with arbitrary length strings is a
> >bit pointless.
>
> The problem is that some scripts which start a java program use cygpath
> to convert the contents of the CLASSPATH variable which is not
> restricted to some length.
> For example, the start script for ESCJava2 uses:
> setenv CLASSPATH `cygpath -p -m ${CLASSPATH}`
> I don't see why the length of the input or output of "cygpath -p" should
> be restricted. Sure, one could use sed or perl to convert a path list.
> But isn't it the "job" of cygpath to convert path lists, too?
>
> Christian Matuszewski

Christian,

The length of the full path is not restricted, but the length of each
individual component (directory/jar file) is.  That's Windows for you...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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/

- Raw text -


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