]> gitweb.factorcode.org Git - factor.git/commitdiff
io.pathnames: fix separator when appending paths in Windows
authormasweeney <mark-sweeney@outlook.com>
Tue, 23 Aug 2016 10:40:35 +0000 (06:40 -0400)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 23 Aug 2016 15:53:38 +0000 (08:53 -0700)
core/io/pathnames/pathnames.factor

index 2d382e49d18342fb76cd6b7ccdba2d0beef4cd6c..5fe3dbf16cbdf7d301adc3a71f516244dede449b 100644 (file)
@@ -89,7 +89,7 @@ PRIVATE>
 
 : append-relative-path ( path1 path2 -- path )
     [ trim-tail-separators ]
-    [ trim-head-separators ] bi* "/" glue ;
+    [ trim-head-separators ] bi* path-separator glue ;
 
 : append-path ( path1 path2 -- path )
     {