This seems to be intentional, or perhaps the author didn't want to think about how to handle this error. The abort call happens in sh.dir.c in the function dcanon(). If the directory being canonicalized is longer than MAXPATHLEN, abort() is called. dcanon() does not seem to be able to return a failure. Any failure in dcanon is handled by a call to abort() because every call to dcanon() assumes dcanon() is successful. On Wed, Jun 06, 2001 at 03:01:01AM -0400, Alex wrote: > Hi, > > I've been experimenting with this a bit, and it crashes TCSH > with an abort signal and dumps core on version 6.09.03 under OpenBSD 2.9: > > setenv HOME `perl -e 'print "/" x 10000'` > cd ~ > > Is anyone else able to reproduce this? I know the problem itself > has little impact or significance, if any. But, I'm merely curious, so > please humor me. :-) > > -Alex -- Edsel Adap edselat_private http://www.adap.org/~edsel/ LINUX - the choice of the GNU generation "Netscape is an application which grows to fill all available memory." - me
This archive was generated by hypermail 2b30 : Wed Jun 06 2001 - 10:57:54 PDT