Skip to content

Conversation

@Lectem
Copy link

@Lectem Lectem commented May 10, 2015

MAX_PATH is defined in stdlib as 260 on windows.
As some source files included stdlib and some not, it made the program crash because of different sizes of the filepath structure.
You can check it with sizeof(filepath) in romfs.c and settings.h.
Tested on MinGW latest update.

Lectem added 2 commits May 10, 2015 08:56
MAX_PATH is defined in stdlib as 260 on windows.
As some source files included stdlib and some not, it made the program crash because of different sizes of the filepath structure.
You can check it with sizeof(filepath) in romfs.c and settings.h.
Tested on MinGW latest update.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant