Changeset 14322


Ignore:
Timestamp:
Oct 4, 2010, 3:09:19 PM (9 years ago)
Author:
rme
Message:

Use with-filename-cstrs in unix-rename and %delete-file.

Location:
trunk/source
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/level-1/linux-files.lisp

    r14293 r14322  
    865865
    866866(defun %delete-file (name)
    867   (with-cstrs ((n name))
     867  (with-filename-cstrs ((n name))
    868868    (int-errno-call (#+windows-target #__unlink #-windows-target #_unlink n))))
    869869
  • trunk/source/lib/pathnames.lisp

    r13582 r14322  
    8080
    8181(defun unix-rename (old-name new-name)
    82   (with-cstrs ((old old-name)
    83                (new new-name))
     82  (with-filename-cstrs ((old old-name)
     83                        (new new-name))
    8484    #+windows-target
    8585    (#__unlink new)
Note: See TracChangeset for help on using the changeset viewer.