diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-10-06 15:04:46 +0000 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-10-06 15:04:46 +0000 |
commit | ab490047099069aadbb0c30d7765d4dd00318b85 (patch) | |
tree | 1666d7b16b94a4431cec10c12af5bf0a882793a9 /libc/unistd/confstr.c | |
parent | acbd962f90dfe3d5a7cb5614e39bb814310ab86b (diff) |
Fix scandir function to reset the errno when the
selector returns zero(no entries) modifying the errno.
The attached test case implements a dummy filter that returns
alway no entries, but change the errno. scandir is not expected
to fail, just returning 0 entries.
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libc/unistd/confstr.c')
0 files changed, 0 insertions, 0 deletions