mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
platform: dropped unneeded reporting on exit by Windows file watcher
This commit is contained in:
Binary file not shown.
@@ -383,7 +383,7 @@ void StopRoot(WatchRootInfo *info) {
|
||||
info->bInitialized = false;
|
||||
}
|
||||
|
||||
void UpdateRoots() {
|
||||
void UpdateRoots(bool report) {
|
||||
char infoBuffer[256];
|
||||
strcpy_s(infoBuffer, "UNWATCHEABLE\n");
|
||||
for (int i = 0; i < ROOT_COUNT; i++) {
|
||||
@@ -404,6 +404,11 @@ void UpdateRoots() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!report) {
|
||||
return;
|
||||
}
|
||||
|
||||
EnterCriticalSection(&csOutput);
|
||||
fprintf(stdout, "%s", infoBuffer);
|
||||
puts("#\nREMAP");
|
||||
@@ -488,14 +493,15 @@ int _tmain(int argc, _TCHAR *argv[]) {
|
||||
if (failed)
|
||||
break;
|
||||
|
||||
UpdateRoots();
|
||||
UpdateRoots(true);
|
||||
}
|
||||
|
||||
if (!strcmp(buffer, "EXIT"))
|
||||
break;
|
||||
}
|
||||
|
||||
MarkAllRootsUnused();
|
||||
UpdateRoots();
|
||||
UpdateRoots(false);
|
||||
|
||||
DeleteCriticalSection(&csOutput);
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <windows.h>
|
||||
|
||||
#define FILE_VERSION 14,0,0,1
|
||||
#define FILE_VERSION_STR "14.0.0.1"
|
||||
#define FILE_VERSION 14,0,0,2
|
||||
#define FILE_VERSION_STR "14.0.0.2"
|
||||
#define APP_VERSION 14,0,0,0
|
||||
#define APP_VERSION_STR "14"
|
||||
|
||||
@@ -24,7 +24,7 @@ BEGIN
|
||||
VALUE "FileDescription", "Filesystem events processor"
|
||||
VALUE "FileVersion", FILE_VERSION_STR
|
||||
VALUE "InternalName", "fsnotifier"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2008-2014 JetBrains s.r.o."
|
||||
VALUE "LegalCopyright", "Copyright (C) 2008-2015 JetBrains s.r.o."
|
||||
VALUE "OriginalFilename", "fsnotifier.exe"
|
||||
VALUE "ProductName", "IntelliJ Platform"
|
||||
VALUE "ProductVersion", APP_VERSION_STR
|
||||
|
||||
Reference in New Issue
Block a user