pike.git / lib / modules / Filesystem.pmod / Monitor.pmod / basic.pike

version» Context lines:

pike.git/lib/modules/Filesystem.pmod/Monitor.pmod/basic.pike:1085:    monitors[path] = m;    // NB: Registering with the monitor_queue is done as    // needed by register_path() as called by create().    }   }      int filter_file(string path)   {    array x = path/"/";    foreach(x;; string pc) -  if(pc && strlen(pc) && pc[0]=='.') {/* werror("skipping %O\n", path); */ return 1; } +  if(pc && strlen(pc) && pc[0]=='.' && pc != "..") {/* werror("skipping %O\n", path); */ return 1; }       return 0;   }      //! Release a @[path] from monitoring.   //!   //! @param path   //! Path to stop monitoring.   //!   //! @param flags