NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/42879: rewinddir(3) doesn't reset the stream



>Number:         42879
>Category:       lib
>Synopsis:       rewinddir(3) doesn't reset the stream
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 24 03:30:00 +0000 2010
>Originator:     YAMAMOTO Takashi
>Release:        NetBSD-current
>Organization:
        
>Environment:
        
>Description:
        our rewinddir(3) doesn't reset the stream and following readdir
        returns cached entries in the case of __DTF_READALL.

        susv3 says:
                It shall also cause the directory stream to refer to the
                current state of the corresponding directory, as a call to
                opendir() would have done.

        it seems that subversion/apr depends on the resetting behaviour
        and produces "Can't read directory" errors.  (PR/40229)
        whatever workaround is done in subversion, our rewinddir should
        be fixed.
>How-To-Repeat:
        
>Fix:
        

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index