| Commit message (Collapse) | Author | Files | Lines |
|
Fixes #1039, fixes #851
|
|
|
|
|
|
This was the behavior before fopen_s() was used for implementation; unlike fopen(), fopen_s() opens the file in exclusive mode.
|
|
|
|
|
|
Removed need to allocate a fake meta block by using templates to provide a version
of the code that does not use metas. Also changed the function to a template
argument to make sure that the compilier is able to inline it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
We only support 32-bit filesizes (files < 2 GiB).
|
|
|
|
Also had to undefine TOLUA_TEMPLATE_BIND a couple of times.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This fixes #592.
|
|
This is useful when using cFile as a log file and we know the server may crash after a specific write, so we flush the file before continuing.
|
|
|
|
|
|
|
|
This fixes #560 and #390.
|
|
|
|
|
|
This time using va_copy() on platforms that have it and simple assignment on platforms that don't.
|
|
This seems to be the only reasonable C++03-only solution.
|
|
It's not there for Windows and everything seems fine, the client doesn't shutdown either, so why should we be polite.
Fixes #537.
|
|
|
|
Fixes #505.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|