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

Added OS X ChangeMonitor support; fixed memory leak in Platform::GetFiles. #16

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Bo98
Copy link
Contributor

@Bo98 Bo98 commented Apr 16, 2015

No description provided.

@whisperity
Copy link

I am astonished by the fact that these filesystem event things are heartless b**es (whisperity/SharpGMad@d1b29d7) in cross-platform.

@Bo98
Copy link
Contributor Author

Bo98 commented Apr 18, 2015

Yup, and I changed it again because I just realised GMod's autorefresh reads the whole of the garrysmod folder (including server downloads) which got me past the system-wide file descriptor limit.

It does require linking CoreServices now but based on the Source SDK (https://github.com/ValveSoftware/source-sdk-2013/blob/56accfdb9c4abd32ae1dc26b2e4cc87898cf4dc1/mp/src/tier1/fileio.cpp#L15), GMod should already be doing that. Hopefully it doesn't throw off others using Bootil though. I'll probably add a #define before it's merged into the repo once I know it works in GMod. I'll also squash the commits then.

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.

2 participants