[cmucl-help] ext:unix-namestring issue
Raymond Toy
toy.raymond at gmail.com
Wed Oct 1 03:41:14 UTC 2014
>>>>> "Carl" == Carl Shapiro <carl.shapiro at gmail.com> writes:
Carl> For what it is worth, the return value of unix-namestring on
Carl> 18a differs from 20c but it agrees with the expected
Carl> results. A trace of the various %enumerate-* functions that
Carl> the recursion in %enumerate-directories is behaving
Carl> differently. The implementation of
Carl> %enumerate-directories changed in version 1e8bacb7 and has
Carl> not changed since. The
Carl> regression might be there.
Thanks for the hint. I see now that in the old version,
%enumerate-directories didn't check to see if the directory exists.
It would just continue recursing.
A quick test shows that it's easy to restore the old behavior.
However, I have not yet tested out symlink loops. In some ways, I
don't see why we need this check. If you have such things on your
filesystem, you're in a bad state already. And we have precedence for
not checking for loops since EQUALP will hang forever if you have
circular lists/structures.
--
Ray
More information about the cmucl-help
mailing list