Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Oct 2006 17:50:28 GMT
From:      Yar Tikhiy <yar@comp.chem.msu.su>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/104456: /bin/sh unable to enter deep directories
Message-ID:  <200610171750.k9HHoS2P099230@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/104456; it has been noted by GNATS.

From: Yar Tikhiy <yar@comp.chem.msu.su>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/104456: /bin/sh unable to enter deep directories
Date: Tue, 17 Oct 2006 21:44:50 +0400

 At the same time, csh has another silly limit, as do all shells
 that export $PWD.  Even if they can pass the PATH_MAX border by
 constructing $PWD without help from getcwd(), the large string
 eventually overflows the environment due to the ARG_MAX limit,
 and external commands fail to run after that with E2BIG errno.
 
 -- 
 Yar



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610171750.k9HHoS2P099230>