Move stopindexing from exe to lib to avoid symbol errors (win)

This commit is contained in:
Jean-Francois Dockes 2019-03-13 09:26:31 +01:00
parent 57298d98be
commit abaf4ca797
3 changed files with 6 additions and 6 deletions

View File

@ -112,10 +112,10 @@ overriden in the c++ code by ifdefs _WIN32 anyway */
#define PACKAGE_NAME "Recoll"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "Recoll 1.25.3"
#define PACKAGE_STRING "Recoll 1.25.6"
/* Define to the version of this package. */
#define PACKAGE_VERSION "1.25.3"
#define PACKAGE_VERSION "1.25.6"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "recoll"

View File

@ -41,6 +41,10 @@ using std::list;
using std::string;
using std::vector;
// Global stop request flag. This is checked in a number of place in the
// indexing routines.
int stopindexing;
// This would more logically live in recollindex.cpp, but then librecoll would
// have an undefined symbol
ConfSimple idxreasons;

View File

@ -100,10 +100,6 @@ static void cleanup()
recoll_exitready();
}
// Global stop request flag. This is checked in a number of place in the
// indexing routines.
int stopindexing;
// Receive status updates from the ongoing indexing operation
// Also check for an interrupt request and return the info to caller which
// should subsequently orderly terminate what it is doing.