| Summary: | SDL_GetPrefPath broken, truncates path on Mac OS X. | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Brad Smith <rainwarrior+libsdl> |
| Component: | file | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | blocker | ||
| Priority: | P1 | CC: | gindar, mike, rainwarrior+libsdl |
| Version: | 2.0.1 | ||
| Hardware: | All | ||
| OS: | Mac OS X (All) | ||
|
Description
Brad Smith
2013-12-17 10:45:21 UTC
Ryan, can you look at this for the 2.0.2 release? Thanks! I stumbled on this bug and fixed it locally. Here is the fixed line:
const size_t len = SDL_strlen(base) + SDL_strlen(org) + SDL_strlen(app) + 4;
Ryan, it looks like you fixed this in this changeset: https://hg.libsdl.org/SDL/rev/b34f5e226458 (In reply to Sam Lantinga from comment #3) > Ryan, it looks like you fixed this in this changeset: > https://hg.libsdl.org/SDL/rev/b34f5e226458 So I did! :) --ryan. |