apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44533] apr_dir_read segfaults
Date Tue, 04 Mar 2008 21:58:38 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=44533


Ruediger Pluem <rpluem@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from Ruediger Pluem <rpluem@apache.org>  2008-03-04 13:58:38 ---
Your test program is buggy. It must be

        apr_finfo_t fileinfo;

        while (apr_dir_read(i&fileinfo, 0, dev_dir) == APR_SUCCESS)
        {
                printf("%s\n",fileinfo.name);
        } 


instead and everything works as designed.


-- 
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


Mime
View raw message