]> gitweb.factorcode.org Git - factor.git/commitdiff
fix stack effect for unique-file
authorDoug Coleman <doug.coleman@gmail.com>
Wed, 8 Apr 2009 23:42:26 +0000 (18:42 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Wed, 8 Apr 2009 23:42:26 +0000 (18:42 -0500)
basis/io/files/unique/unique-docs.factor
basis/io/files/unique/unique.factor

index 74fc0450329863eaa44f97d7f94d727b7e7d52e4..6a7be478130bcc7887d06ff4e80c8fdbe60bc8c2 100644 (file)
@@ -62,8 +62,8 @@ HELP: current-temporary-directory
 
 HELP: unique-file
 { $values
+     { "prefix" string }
      { "path" "a pathname string" }
-     { "path'" "a pathname string" }
 }
 { $description "Creates a temporary file in the directory stored in " { $link current-temporary-directory } " and outputs the path name." } ;
 
index 7bd96aa63b4a10a1b7cf2f850ef6c34a5586d9a0..0e4338e3e0415d37a530e5a3d74da5c2de9e477d 100644 (file)
@@ -64,7 +64,7 @@ PRIVATE>
     [ unique-directory ] dip
     '[ _ with-temporary-directory ] [ delete-tree ] bi ; inline
 
-: unique-file ( path -- path' )
+: unique-file ( prefix -- path )
     "" make-unique-file ;
 
 {