summaryrefslogtreecommitdiff
path: root/test/misc/tst-gnuglob.c
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-10-06 15:04:46 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-10-06 15:04:46 +0000
commitab490047099069aadbb0c30d7765d4dd00318b85 (patch)
tree1666d7b16b94a4431cec10c12af5bf0a882793a9 /test/misc/tst-gnuglob.c
parentacbd962f90dfe3d5a7cb5614e39bb814310ab86b (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 'test/misc/tst-gnuglob.c')
0 files changed, 0 insertions, 0 deletions