| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This was mostly done automatically and then visually inspected for obvious errors.
All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
|
| |
|
|
|
|
| |
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).
|
| |
|
|
|
|
| |
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 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.
|
|
|
|
|
| |
Conflicts:
VC2008/MCServer.vcproj
|
|
|
|
|
| |
Conflicts:
GNUmakefile
|
|
|