bin/104456: /bin/sh unable to enter deep directories

Yar Tikhiy yar at comp.chem.msu.su
Tue Oct 17 10:50:30 PDT 2006


The following reply was made to PR bin/104456; it has been noted by GNATS.

From: Yar Tikhiy <yar at comp.chem.msu.su>
To: bug-followup at 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


More information about the freebsd-bugs mailing list