On Fri, May 22, 2009 at 04:10:21PM -0400, Chet Ramey wrote: > OK. I finally had some time to look at this. > > The issue is that you can't always add a null placeholder for the current > directory (the original bash-4.0 code) or never add one (patch 24). You > have to add one in certain circumstances, when it gets handled later in > the process. > > Try the attached patch. It undoes portions of patch 24 and uses a > different scheme to figure out when to add the null placeholder. It > seems to work for all cases without any regressions.
The patch solves the issue, and I couldn't find any regressions. --Matt