Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:Update
stockfish
date.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File date.patch of Package stockfish
Index: Stockfish-sf_14/src/misc.cpp =================================================================== --- Stockfish-sf_14.orig/src/misc.cpp +++ Stockfish-sf_14/src/misc.cpp @@ -142,18 +142,10 @@ public: string engine_info(bool to_uci) { - const string months("Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec"); - string month, day, year; - stringstream ss, date(__DATE__); // From compiler, format is "Sep 21 2008" + stringstream ss; ss << "Stockfish " << Version << setfill('0'); - if (Version.empty()) - { - date >> month >> day >> year; - ss << setw(2) << day << setw(2) << (1 + months.find(month) / 4) << year.substr(2); - } - ss << (to_uci ? "\nid author ": " by ") << "the Stockfish developers (see AUTHORS file)";
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor