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 2008/04/15 13:44:40 UTC
DO NOT REPLY [Bug 44825] New: apr_dir_read() does not detect "
end of directory" properly on uclibc
https://issues.apache.org/bugzilla/show_bug.cgi?id=44825
Summary: apr_dir_read() does not detect "end of directory"
properly on uclibc
Product: APR
Version: HEAD
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: APR
AssignedTo: bugs@apr.apache.org
ReportedBy: natanael.copa@gmail.com
Created an attachment (id=21821)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=21821)
apr-readdir_r.patch
The POSIX specification is somewhat unclear on what the return value should be
upon "end of directory". Some implementations (GNU libc, OpenBSD, FreeBSD)
returns 0, "success" on "end of directory". Others (Solaris?, uclibc) does not
return 0.
The result is strange errors on uclibc in for example subversion:
svn: Can't read directory '.': Address family not supported by protocol
The attatched patch should fix 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
DO NOT REPLY [Bug 44825] apr_dir_read() does not detect "end of
directory" properly on uclibc
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44825
Natanael Copa <na...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Natanael Copa <na...@gmail.com> 2008-04-15 05:19:22 PST ---
seems like there was a bug in uclibc (which is fixed in uclibc trunk)
sorry for the noise.
--
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