[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: es bug
On 21 September 1994, Tom Tromey wrote
> I've noticed that "*/" expands to all file names with "/" appended,
> instead of just the names of directories. I think this is a bug --
> all the other glob code I've used does the right thing (expands to
> just directories).
I read the debate on this, and while I'm not sure that es's behavior is
currently wrong, I see no reason for not making it do what you expected
it to. As Chet Ramey noted, it's an extra case that I hadn't considered
before, but checking for it shouldn't be hard.
I looked at it a little, and I think that listglob() probably needs to
do somethng different when slashcount > 0, but I haven't really thought
it through.
Paul
- References:
- es bug
- From: tromey@busco.lanl.gov (Tom Tromey)