Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: 3.1.5: ``***'' symlink follow broken



Heyla,
I've got a much better patch for it now.   Just above the line ``if (dirs) {''
put ``#if 0''  and after the closing brace for it, put "#endif"

% mkdir foo bar
% cd foo
% I=0; repeat 10 do mkdir $I; ln ../foo/$I ../bar/; echo > ../bar/$I/$I; let I++; done
% cd ../bar
% zsh-3.1.5 -fc 'echo */*'
zsh: no matches found: */*
% zsh-3.1.2 -fc 'echo */*'
zsh: no matches found: */*
% zsh-3.1.0-test3 -fc 'echo */*'
0/0 1/1 2/2 3/3 4/4 5/5 6/6 7/7 8/8 9/9
% zsh-3.0.5 -fc 'echo */*'
0/0 1/1 2/2 3/3 4/4 5/5 6/6 7/7 8/8 9/9

Maybe the whole  if (dirs)  thing is a case of trying to be too clever :-)
-- 
Geoff Wing   <gcw@xxxxxxxxx>            Mobile : 0412 162 441
Work URL: http://www.primenet.com.au/   Ego URL: http://pobox.com/~gcw/



Messages sorted by: Reverse Date, Date, Thread, Author