| Summary: | SDL_GetPrefPath() makes the assumption that $HOME or $XDG_DATA_HOME end in '/' | ||
|---|---|---|---|
| Product: | SDL | Reporter: | neoaggelos |
| Component: | *don't know* | Assignee: | Edward Rudd <urkle> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | major | ||
| Priority: | P2 | CC: | urkle |
| Version: | HG 2.1 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Attachments: | Patch | ||
|
Description
neoaggelos
2013-08-24 12:11:00 UTC
I would actually say it's the case for MOST systems that those variables do not have a trailing "/".. Thanks for the report and patch. the fix up there is mostly the same except I also did a check for a "/" on XDG_DATA_HOME so we don't end up with 2 "/"'s (In reply to Edward Rudd from comment #2) > Thanks for the report and patch. the fix up there is mostly the same except > I also did a check for a "/" on XDG_DATA_HOME so we don't end up with 2 "/"'s Great, thanks for fixing! |