copy-file behavior

[email protected] (Don Cohen) Fri, 10 Nov 2017 14:51:11 +0000 (UTC)
Newsgroups gmane.lisp.clisp.general
Message-ID <[email protected]>
It seems strange to me that copy-file adds a file extension
to the destination:

[1]> (copy-file "/home/don/2014.05.18.rr.sep.xE.xls" "/tmp/foo")
((#P"/home/don/2014.05.18.rr.sep.xE.xls" #P"/tmp/foo.xls" 75938))
[2]> 

And, not surprisingly, there is no file named /tmp/foo now, but
there is one named /tmp/foo.xls instead.

This isn't mentioned in impnotes.
Is it intended?  What's the justification?
How can I get the destination I asked for?

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
clisp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-list