Use file stream API consistently in the vmap extractor.
All other code in the vmap extractor was using the normal functions like fopen, fseek, fwrite, etc, so let's do so consistently. Mixing with other API like fopen64 doesn't really make sense anyway. Please note that in practice fopen was called already on most systems: * On Windows, fopen was called in the code. * On macOS, fopen64 was called in the code, but because of the additional compiler defines set up in CMakeLists.txt, this was actually replaced by a call to fopen by the preprocessor. Given the other defines were already useless (the corresponding fxxx64 API isn't used in the code), we can now remove this hack. It's a bad idea to redefine C/C++ library calls like that anyway. * On Linux, fopen64 was called in the code, but for 64-bit builds this is equivalent to calling fopen. So practically speaking only 32-bit builds are affected by this change. As a bonus, this fixes FreeBSD builds, and most likely some other builds as well. Many thanks to @metacreo for noticing and FreeBSD testing!
|3 days ago|
|.github||1 month ago|
|cmake||1 month ago|
|contrib||3 days ago|
|dep||1 month ago|
|doc||2 weeks ago|
|sql||3 days ago|
|src||4 days ago|
|.gitattributes||2 years ago|
|.gitignore||1 month ago|
|.travis.yml||10 months ago|
|AUTHORS.md||1 year ago|
|CMakeLists.txt||1 month ago|
|CONTRIBUTING.md||5 months ago|
|COPYRIGHT.md||9 months ago|
|ChangeLog.md||3 years ago|
|LICENSE||8 months ago|
|NEWS.md||6 months ago|
|README.md||8 months ago|
|THANKS||10 years ago|
|WARNING||9 years ago|
|appveyor.yml||2 years ago|
|createprojects.bat||8 years ago|
CMaNGOS is a free project with the following goal:
Doing WoW-Emulation Right!
This means, we want to focus on:
WoW-Emulation This project is about developing a server software that is able to emulate a well known MMORPG service.
To be able to accomplish these goals, we support and promote:
A friendly environment
-- The C(ontinued)-MaNGOS Team!
You can find further information about CMaNGOS at the following places:
CMaNGOS is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
You can find the full license text in the file COPYING delivered with this package.
World of Warcraft content and materials are trademarks and copyrights of Blizzard or its licensors. All rights reserved. CMaNGOS project is not affiliated with Blizzard or its licensors.
Some third-party libraries CMaNGOS uses have other licenses, that must be uphold. These libraries are located within the dep/ directory
In addition, as a special exception, the CMaNGOS project gives permission to link the code of its release of MaNGOS with the OpenSSL project’s “OpenSSL” library (or with modified versions of it that use the same license as the “OpenSSL” library), and distribute the linked executables. You must obey the GNU General Public License in all respects for all of the code used other than “OpenSSL”. If you modify this file, you may extend this exception to your version of the file, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.