richhickey/clojure-clr — Issue #53: spit function 'ignores' :append true 
Author: rippinrobr
Created: 2011-11-03 16:56:16+00:00
State: open

If I run the following code in the JVM based REPL of Clojure 1.3 I end up with a text file that has two lines like the documentation states it should:

(spit "hi.txt" "Test 1\n" :append true)
(spit "hi.txt" "Test 2\n" :append true)
(println (slurp "hi.txt"))

prints out:

Test 1
Test 2

If I run the same code in the Clojure 1.3 CLR based REPL I end up with a one line hi.txt file that has Test 2. when I looked at hi.txt in notepad it only had one line also. It appears that the spit function ignores the append true option.