Fix a bug in yesterday's change.
authorJim Meyering <jim@meyering.net>
Sat, 14 Oct 2006 06:32:48 +0000 (06:32 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 14 Oct 2006 06:32:48 +0000 (06:32 +0000)
commit83f57af124f0a11a0f491b90f4ac4910893f0dd0
tree58c235200864030f143e75643dae7ae2263a3ed3
parentc25c0493db26db5ebed43254a983cfea0e5bc25c
Fix a bug in yesterday's change.
* lib/fts.c (fts_open): When using FTS_XDEV|FTS_NOSTAT,
p->fts_statp->st_dev would be used uninitialized.
Ensures that we always call fts_stat on the very first entry.
Miklos Szeredi reported that find -xdev stopped working.
ChangeLog
lib/fts.c