Skip to content

Commit 34f636c

Browse files
alexmarkovcommit-bot@chromium.org
authored andcommitted
Revert "[vm/io] Fix FileSystemWatcher enum name typo."
This reverts commit 0a036db. Reason for revert: build fails on android. Original change's description: > [vm/io] Fix FileSystemWatcher enum name typo. > > Change-Id: Ie9f2e10847caf794ddc79229ce7bd35a3909896d > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/161600 > Reviewed-by: Ryan Macnak <[email protected]> > Commit-Queue: Alexander Aprelev <[email protected]> [email protected],[email protected] Change-Id: Ibffe96077dacd6f7f9c8b383703d77b416a0cf20 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/161605 Reviewed-by: Alexander Markov <[email protected]> Commit-Queue: Alexander Markov <[email protected]>
1 parent 7a02118 commit 34f636c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

runtime/bin/file_system_watcher.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class FileSystemWatcher {
2424
kModifyContent = 1 << 1,
2525
kDelete = 1 << 2,
2626
kMove = 1 << 3,
27-
kModifyAttribute = 1 << 4,
27+
kModefyAttribute = 1 << 4,
2828
kDeleteSelf = 1 << 5,
2929
kIsDir = 1 << 6
3030
};

runtime/bin/file_system_watcher_android.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ static int InotifyEventToMask(struct inotify_event* e) {
8181
mask |= FileSystemWatcher::kModifyContent;
8282
}
8383
if ((e->mask & IN_ATTRIB) != 0) {
84-
mask |= FileSystemWatcher::kModisfyAttribute;
84+
mask |= FileSystemWatcher::kModefyAttribute;
8585
}
8686
if ((e->mask & IN_CREATE) != 0) {
8787
mask |= FileSystemWatcher::kCreate;

runtime/bin/file_system_watcher_linux.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ static int InotifyEventToMask(struct inotify_event* e) {
8080
mask |= FileSystemWatcher::kModifyContent;
8181
}
8282
if ((e->mask & IN_ATTRIB) != 0) {
83-
mask |= FileSystemWatcher::kModifyAttribute;
83+
mask |= FileSystemWatcher::kModefyAttribute;
8484
}
8585
if ((e->mask & IN_CREATE) != 0) {
8686
mask |= FileSystemWatcher::kCreate;

runtime/bin/file_system_watcher_macos.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ Dart_Handle FileSystemWatcher::ReadEvents(intptr_t id, intptr_t path_id) {
358358
mask |= kModifyContent;
359359
}
360360
if ((flags & kFSEventStreamEventFlagItemXattrMod) != 0) {
361-
mask |= kModifyAttribute;
361+
mask |= kModefyAttribute;
362362
}
363363
if ((flags & kFSEventStreamEventFlagItemCreated) != 0) {
364364
mask |= kCreate;

0 commit comments

Comments
 (0)