about summary refs log tree commit homepage
path: root/lib/dtas/watchable/fiddle_ino.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dtas/watchable/fiddle_ino.rb')
-rw-r--r--lib/dtas/watchable/fiddle_ino.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dtas/watchable/fiddle_ino.rb b/lib/dtas/watchable/fiddle_ino.rb
index e85fea1..b24bbf6 100644
--- a/lib/dtas/watchable/fiddle_ino.rb
+++ b/lib/dtas/watchable/fiddle_ino.rb
@@ -1,4 +1,4 @@
-# Copyright (C) 2013-2020 all contributors <dtas-all@nongnu.org>
+# Copyright (C) all contributors <dtas-all@nongnu.org>
 # License: GPL-3.0+ <https://www.gnu.org/licenses/gpl-3.0.txt>
 # frozen_string_literal: true
 require 'fiddle'
@@ -53,7 +53,7 @@ class DTAS::Watchable::InotifyReadableIter # :nodoc:
           name.size == len or raise "short name #{name.inspect} != #{len}"
           name.sub!(/\0+\z/, '') or
             raise "missing: `\\0', inotify_event.name=#{name.inspect}"
-          name = DTAS.dedupe_str(name)
+          name = -name
         end
         ie = InotifyEvent.new(wd, mask, cookie, len, name)
         if event