This is the mail archive of the cygwin-developers mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CWD and long paths


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]