|
a/src/utils/fstreewalk.cpp |
|
b/src/utils/fstreewalk.cpp |
|
... |
|
... |
397 |
goto out;
|
397 |
goto out;
|
398 |
if (!(data->options & FtwNoRecurse))
|
398 |
if (!(data->options & FtwNoRecurse))
|
399 |
if ((status = cb.processone(top, &st, FtwDirReturn))
|
399 |
if ((status = cb.processone(top, &st, FtwDirReturn))
|
400 |
& (FtwStop|FtwError))
|
400 |
& (FtwStop|FtwError))
|
401 |
goto out;
|
401 |
goto out;
|
402 |
} else if (S_ISREG(st.st_mode)) {
|
402 |
} else if (S_ISREG(st.st_mode) || S_ISLNK(st.st_mode)) {
|
403 |
if ((status = cb.processone(fn, &st, FtwRegular)) &
|
403 |
if ((status = cb.processone(fn, &st, FtwRegular)) &
|
404 |
(FtwStop|FtwError)) {
|
404 |
(FtwStop|FtwError)) {
|
405 |
goto out;
|
405 |
goto out;
|
406 |
}
|
406 |
}
|
407 |
}
|
407 |
}
|