spit does not truncate, leaves tail of original file if output is shorter length.

Description

For example:

(spit "c:/tmp/spit.txt" "012345")
(spit "c:/tmp/spit.txt" "BB")

Results in a file containing: BB345.

Reported via email by cees van Kemenade.

Environment

None

Assignee

David Miller

Reporter

David Miller

Labels

None

Approval

None

Patch

None

Priority

Major
Configure