CWD and long paths
Corinna Vinschen
corinna-cygwin@cygwin.com
Fri Oct 12 18:12:00 GMT 2007
On Oct 12 09:11, Brian Dessent wrote:
> Corinna Vinschen wrote:
>
> > Well, yes, in fact I implicitly assumed that this is understood by
> > the reader. That's one reason I'm asking this question.
>
> What about just truncating the CWD and setting it to the root of the
> drive if it's too long?
>
> Rationale:
>
> - It's a consistant failure mode rather than indeterminately trying to
> pick some subset of the path.
>
> - It makes it clear and explicit that the user is trying to do something
> that isn't possible.
>
> - Such a case couldn't/wouldn't have worked anyway before, so it's not a
> regression.
Sounds good to me. This or Pierre's solution both sound fine.
I'm just wondering what would be the "least surprise" approach
for the standard Cygwin user...
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
More information about the Cygwin-developers
mailing list