Testing the new filesystem API when I came up with a bug. SDL_GetPrefPath() makes the assumption that $HOME or $XDG_DATA_HOME are terminated
with ‘/’. I also created an issue at bugzilla 1, along with a proposed patch.
PS. I think that with the new filesystem API, a new category should be created in Bugzilla.
Cheers,
Aggelos Kolaitis
C is the God’s Programming Language
Good catch… in my experience most of the time those 2 vars do not have a trailing “/”… a fix coming forth soon.On Aug 24, 2013, at 8:13 , neoaggelos wrote:
Testing the new filesystem API when I came up with a bug. SDL_GetPrefPath() makes the assumption that $HOME or $XDG_DATA_HOME are terminated
with ‘/’. I also created an issue at bugzilla 1, along with a proposed patch.
PS. I think that with the new filesystem API, a new category should be created in Bugzilla.
Cheers,
Aggelos Kolaitis
C is the God’s Programming Language
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Edward Rudd
OutOfOrder.cc
Skype: outoforder_cc
317-674-3296