In grep 2.6, savedir.c is broken. The following will produce a segfault with grep 2.6, but works fine with grep 2.5.4:
grep -rl --exclude-dir=foo NEEDLE $HOME
It looks like, in savedir.c's isdir1(), path is being accessed before it is
allocated.
-Andrew
