Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3ds-curl not working for ftp URLs #130

Closed
badda71 opened this issue Mar 28, 2020 · 4 comments
Closed

3ds-curl not working for ftp URLs #130

badda71 opened this issue Mar 28, 2020 · 4 comments

Comments

@badda71
Copy link
Contributor

badda71 commented Mar 28, 2020

The current version of 3ds-curl will always exit with "select/poll error" when trying to download ftp urls. This can be fixed by removing "#define HAVE_POLL_FINE 1" in file lib/curl_config.h, line 540 after executing ./configure and before executing make.
Seems like the poll() implementation is buggy on the 3DS and curl should rather rely on select().

@fincs
Copy link
Member

fincs commented Mar 28, 2020

On 3DS, we implement select (which is an obsolete deprecated API btw) with poll, so switching that up would accomplish nothing (if all, it would make it worse).

@badda71
Copy link
Contributor Author

badda71 commented Mar 28, 2020

Ok, so the define HAVE_POLL_FINE breaks something else on the 3DS. Anyways, getting rid of this define fixes curl for ftp URLs

@badda71
Copy link
Contributor Author

badda71 commented Mar 29, 2020

Just opened a PR: #131

@devkitPro devkitPro locked as too heated and limited conversation to collaborators Mar 29, 2020
@WinterMute
Copy link
Member

This is working with latest libs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants