svn: r3057
This commit is contained in:
Eli Barzilay 2006-05-25 15:57:53 +00:00
parent 2d0cbdba67
commit 2c9a54cd34

View File

@ -172,13 +172,13 @@
filename))))
(define (file-name who name)
(unless (path-string? who)
(unless (path-string? name)
(raise-type-error who "path or string" name))
(let-values ([(base file dir?) (split-path name)])
(and (not dir?) (path? file) file)))
(define (file-name-from-path name)
(filename 'file-name-from-path))
(file-name 'file-name-from-path))
(define (path-only name)
(unless (path-string? name)