]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/io/monitors/linux/linux.factor
(normalize-path) -> absolute-path, canonicalize-path -> resolve-symlinks
[factor.git] / basis / io / monitors / linux / linux.factor
index 3e1e9192175f443305772589811caedf0d341b5a..7653eaa84cbcbd563ef06ede7266c6a0b2045601 100644 (file)
@@ -36,7 +36,7 @@ TUPLE: linux-monitor < monitor wd inotify watches ;
     inotify-fd -rot inotify_add_watch dup io-error dup check-existing ;
 
 : add-watch ( path mask mailbox -- monitor )
-    [ [ (normalize-path) ] dip [ (add-watch) ] [ drop ] 2bi ] dip
+    [ [ absolute-path ] dip [ (add-watch) ] [ drop ] 2bi ] dip
     <linux-monitor> [ ] [ ] [ wd>> ] tri watches get set-at ;
 
 : check-inotify ( -- )