Branch: Tag:

2017-06-27

2017-06-27 11:58:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Fixed some typos.

816: Inside #if HAVE_EVENTSTREAM
   low_eventstream_callback(path, flags, event_id);   }    - protected void start_accellerator() + protected void start_accelerator()   {    // Make sure that the main backend is in CF-mode.    Pike.DefaultBackend.enable_core_foundation(1);
835:    eventstream->callback_func = eventstream_callback;   }    - //! FSEvents EventStream-accellerated @[Monitor]. + //! FSEvents EventStream-accelerated @[Monitor].   protected class EventStreamMonitor   {    inherit Monitor;
855: Inside #if undefined(INHIBIT_EVENTSTREAM_MONITOR)
   // We're now in the main backend.       if (!eventstream) { -  start_accellerator(); +  start_accelerator();    }       string found;
867: Inside #if undefined(INHIBIT_EVENTSTREAM_MONITOR)
   }    }    if (found) { -  MON_WERR("Path %O is accellerated via %O.\n", path, found); +  MON_WERR("Path %O is accelerated via %O.\n", path, found);    } else {    // NB: Eventstream doesn't notify on the monitored path;    // only on its contents.
943:    }   }    - protected void start_accellerator() + protected void start_accelerator()   {    MON_WERR("Creating Inotify monitor instance.\n");    instance = System.Inotify._Instance();
955:    }   }    - //! Inotify-accellerated @[Monitor]. + //! Inotify-accelerated @[Monitor].   protected class InotifyMonitor   {    inherit Monitor;
968: Inside #if undefined(INHIBIT_INOTIFY_MONITOR)
  #ifndef INHIBIT_INOTIFY_MONITOR    if (wd == -1) {    if (!instance) { -  start_accellerator(); +  start_accelerator();    }       // NB: We need to follow symlinks here.
1603:   #endif    if (co_id) return;    // NB: Other stuff than plain files may be used with the monitoring -  // system, so the call_out may be needed even with accellerators. +  // system, so the call_out may be needed even with accelerators.    //    // NB: Also note that Inotify doesn't support monitoring of non-existing    // paths, so it still needs the call_out-loop.