[RTEMS Project] #4674: readdir skips entries after unlink
RTEMS trac
trac at rtems.org
Sat Apr 22 01:26:27 UTC 2023
#4674: readdir skips entries after unlink
-----------------------------+----------------------------
Reporter: Alexandre Oliva | Owner: Needs Funding
Type: defect | Status: assigned
Priority: normal | Milestone: 6.1
Component: fs | Version: 6
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: |
-----------------------------+----------------------------
Comment (by z.ling111):
I don't think i quite understand what the intended outcome is. If it
reaches the end of a directory should it return null. but right now i'm
unlinking all the files so why is it only b? Also in the first loop it
only prints a and c.
from the man page
If the end of the directory stream is reached, NULL is returned
and errno is not changed.
so why is it not null when i readdir?
--
Ticket URL: <http://devel.rtems.org/ticket/4674#comment:11>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list