mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
Cleanup (typos)
GitOrigin-RevId: 8eabcf70a976e6bd15655e3f07d53b10cdb1e435
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c3e404caf7
commit
45fa7d6b11
@@ -1,22 +1,8 @@
|
|||||||
/*
|
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||||
* Copyright 2000-2016 JetBrains s.r.o.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define VERSION "20181217.1910"
|
#define VERSION "20191018.1642"
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|||||||
@@ -1,18 +1,4 @@
|
|||||||
/*
|
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||||
* Copyright 2000-2016 JetBrains s.r.o.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "fsnotifier.h"
|
#include "fsnotifier.h"
|
||||||
|
|
||||||
@@ -405,7 +391,7 @@ static bool register_roots(array* new_roots, array* unwatchable, array* mounts)
|
|||||||
static bool is_watchable(const char* fs) {
|
static bool is_watchable(const char* fs) {
|
||||||
// don't watch special and network filesystems
|
// don't watch special and network filesystems
|
||||||
return !(strncmp(fs, "dev", 3) == 0 || strcmp(fs, "proc") == 0 || strcmp(fs, "sysfs") == 0 || strcmp(fs, MNTTYPE_SWAP) == 0 ||
|
return !(strncmp(fs, "dev", 3) == 0 || strcmp(fs, "proc") == 0 || strcmp(fs, "sysfs") == 0 || strcmp(fs, MNTTYPE_SWAP) == 0 ||
|
||||||
(strncmp(fs, "fuse", 4) == 0 && strcmp(fs, "fuseblk") != 0) ||
|
(strncmp(fs, "fuse", 4) == 0 && strcmp(fs, "fuseblk") != 0 && strcmp(fs, "fuse.osxfs") != 0) ||
|
||||||
strcmp(fs, "cifs") == 0 || strcmp(fs, MNTTYPE_NFS) == 0);
|
strcmp(fs, "cifs") == 0 || strcmp(fs, MNTTYPE_NFS) == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user