[ros-bugs] [Bug 1736] New: _findnext returns wrong value

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Sun Aug 6 15:05:24 CEST 2006


http://www.reactos.org/bugzilla/show_bug.cgi?id=1736

           Summary: _findnext returns wrong value
           Product: ReactOS
           Version: TRUNK
          Platform: x86 Hardware
        OS/Version: ReactOS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Kernel
        AssignedTo: ros-bugs at reactos.org
        ReportedBy: max.stekelenburg at chello.nl
         QAContact: ros-bugs at reactos.org


_findfirst returns 0 when there is no a * or a ? in the search.
_findnext returns also a 0 for handle 0 causing an endless loop should be
ENOENT.
the return value for a handle of -1 should be EINVAL.

(an alternative solution would be to remove the special case around the no
wildcard search term)

(there are two implementations _tfindfirst and tfindfirsti64 which have the
same problem)


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
You are the assignee for the bug, or are watching the assignee.


More information about the Ros-bugs mailing list