This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: Latest snapshot and CYG_MAX_PATH
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin-developers at cygwin dot com
- Date: Wed, 14 Nov 2007 11:27:18 +0100
- Subject: Re: Latest snapshot and CYG_MAX_PATH
- References: <473ABCFF.6060400@juanrey.net>
- Reply-to: cygwin-developers at cygwin dot com
On Nov 14 10:16, Juan Rey Saura wrote:
> I have been playing with lastest snapshot and depending on CYG_MAX_PATH
> value I set, I have experienced diferent behaivours:
> value -> PATH_MAX -> all programs run properly
> value ->1024 -> I get an "ACCES_VIOLATION"
> value -> 4096 -> I get an "*incompatible* *per_process* *info* 0 != 168"
> message
> Is it OK? Why?.
Yes, it is ok. First of all, you shouldn't fiddle with CYG_MAX_PATH.
It's supposed to be MAX_PATH (260) and nothing else. Second, the
snapshot is work in progress towards being able to use long UTF path
names up to PATH_MAX (~32K) in length. This isn't finished yet and
so it's not exactly stable. Some parts of the DLL are still working
with CYG_MAX_PATH while others are working with PATH_MAX. In the
long run we won't use CYG_MAX_PATH anymore.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat