www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/20/15:59:00

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
Subject: Re: For masochists: the leap o faith
From: Robert Collins <rbcollins AT cygwin DOT com>
To: cygwin AT cygwin DOT com
In-Reply-To: <20031117105635.GD18706@cygbert.vinschen.de>
References: <3FB4D81C DOT 6010808 AT cygwin DOT com> <3FB53BAE DOT 3000803 AT cygwin DOT com>
<20031114220708 DOT GA26100 AT redhat DOT com> <3FB55BCE DOT 8030304 AT cygwin DOT com>
<20031115044347 DOT GA29583 AT redhat DOT com> <1068883645 DOT 1109 DOT 122 DOT camel AT localhost>
<20031115164534 DOT GB3039 AT redhat DOT com> <20031115165229 DOT GA3296 AT redhat DOT com>
<Pine DOT GSO DOT 4 DOT 56 DOT 0311151259270 DOT 922 AT eos> <1068930608 DOT 1109 DOT 172 DOT camel AT localhost>
<20031117105635 DOT GD18706 AT cygbert DOT vinschen DOT de>
Message-Id: <1069361916.1117.46.camel@localhost>
Mime-Version: 1.0
Date: Fri, 21 Nov 2003 07:58:36 +1100

--=-c2nhzfVKFq9pbQX5ZRzg
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2003-11-17 at 21:56, Corinna Vinschen wrote:
> On Sun, Nov 16, 2003 at 08:10:08AM +1100, Robert Collins wrote:
> > We have two choices (no particular order of preference):
> > a) make MAX_PATH and posix friends the maximum length path cygwin will
> > accept/return. Return ENAMETOOLONG on path calls on win9x, or winnt
> > FAT[32] calls. Update pathconf to return appropriate values.
> > b) blow away MAX_PATH and MAXPATHLEN so that programs using cygwin
> > fallback to pathconf, or 'good enough for me' static arrays.  Update
> > pathconf to return appropriate values.
>=20
> Well, I guess you meant PATH_MAX here. =20

Yes, of course.

> I would prefer to change PATH_MAX and MAXPATHLEN to an arbitrary big
> value as, e. g. the same as on Linux, 4096, or even the biggest possible
> plus one: 32768.  The latter is probably the better value.  So my choice
> is a)

Ok. What should we set CYG_MAX_PATH to initially then? I think we should
start at 4K, until we've seen whether there are any stack size issues.

Rob
--=20
GPG key available at: <http://www.robertcollins.net/keys.txt>.

--=-c2nhzfVKFq9pbQX5ZRzg
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQA/vSr7I5+kQ8LJcoIRAo6nAKDPT55YTv2hcbAHehg8zls6Lw840wCgjqBr
2w4IMb5B3/bpnXXOe859ck0=
=gexO
-----END PGP SIGNATURE-----

--=-c2nhzfVKFq9pbQX5ZRzg--

- Raw text -


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