ensure-directories-exist: Signal an error when trying to create a
authorStas Boukarev <stassats@gmail.com>
Thu, 8 Mar 2012 20:13:49 +0000 (00:13 +0400)
committerStas Boukarev <stassats@gmail.com>
Thu, 8 Mar 2012 20:13:49 +0000 (00:13 +0400)
commitd269194b61cad24590c75fe2df7d9237a668668c
tree1e2012649a766de5c4f794bfdcdd6488f9afe2ca
parentb7a594e50e4da48ee230c148d2410881e7ed4a7c
ensure-directories-exist: Signal an error when trying to create a
directory with the same name as an existing file.

Previously (ensure-directories-exist "/foo/bar/"), where /foo/bar is a
regular file, just silently returned "/foo/bar/", NIL.
src/code/filesys.lisp