You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2009/12/11 16:14:08 UTC
DO NOT REPLY [Bug 48374] New: wrong return value for apr_dir_read on
win32
https://issues.apache.org/bugzilla/show_bug.cgi?id=48374
Summary: wrong return value for apr_dir_read on win32
Product: APR
Version: HEAD
Platform: PC
OS/Version: Windows Vista
Status: NEW
Severity: normal
Priority: P2
Component: APR
AssignedTo: bugs@apr.apache.org
ReportedBy: carsten.prinz@me.com
Created an attachment (id=24693)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=24693)
patch for file_io/win32/dir.c
According to the documentation,
apr_dir_read(...) returns APR_ENOENT in case no more entries are available.
On WIN32 (and WIN64 of course), the method returns platform specific return
code apr_get_os_error() instead.
The Attachment contains a patch for file_io/win32/dir.c fixing the problem.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org