This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: CWD and long paths
----- Original Message -----
From: "Corinna Vinschen" <>
To: <cygwin-developers>
Sent: Friday, October 12, 2007 2:12 PM
Subject: 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...
That sounds good to me too, but then I would also apply it to the /proc cases
Pierre