Raymond Toy pushed to branch issue-132-ansi-test-rename-files at cmucl / cmucl
Commits:
-
189b1940
by Raymond Toy at 2022-09-27T16:20:25-07:00
1 changed file:
Changes:
... | ... | @@ -940,7 +940,7 @@ |
940 | 940 | |
941 | 941 | ;;; Rename-File -- Public
|
942 | 942 | ;;;
|
943 | -(defun rename-file (file new-file-name)
|
|
943 | +(defun rename-file (file new-name)
|
|
944 | 944 | "Rename File to have the specified New-Name. If file is a stream
|
945 | 945 | open to a file, then the associated file is renamed.
|
946 | 946 | |
... | ... | @@ -953,7 +953,7 @@ |
953 | 953 | ;; First, merge NEW-FILE-NAME with *DEFAULT-PATHNAME-DEFAULTS* to
|
954 | 954 | ;; fill in the missing components and then merge again with
|
955 | 955 | ;; the FILE to get any missing components from FILE.
|
956 | - (new-name (merge-pathnames (merge-pathnames new-file-name)
|
|
956 | + (new-name (merge-pathnames (merge-pathnames new-name)
|
|
957 | 957 | file))
|
958 | 958 | (new-namestring (unix-namestring new-name nil)))
|
959 | 959 | (unless new-namestring
|