We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4211

Summary: opendir() from dirent.h doesn't work
Product: SDL Reporter: 000whitedragon000
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: RESOLVED INVALID QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: sezeroz
Version: 2.0.8   
Hardware: ARM   
OS: Android (All)   

Description 000whitedragon000 2018-07-02 23:34:25 UTC
In Jun 14 update from Mercurial native readdir() from dirent.h doesn't work
Comment 1 000whitedragon000 2018-07-03 00:27:14 UTC
Mercurial SDL update is: SDL-2.0.8-12019.zip from
https://www.libsdl.org/hg.php

tested better..
no compile error, just:
        DIR* dp = NULL;
	dp = opendir(dir); // dp IS NULL!!

so definitively the bug is on opendir()!
Comment 2 Ozkan Sezer 2018-08-01 15:40:31 UTC
This shouldn't have anything to do with SDL.  Closing as invalid.