Changeset 9316


Ignore:
Timestamp:
Apr 28, 2008, 8:24:29 AM (11 years ago)
Author:
gb
Message:

It would make too much sense for #_rename to overwrite an existing
destination file on windows, so introduce race conditions by ensuring
that the file doesn't exist.

Screw: should use right flavor/encoding of pathname strings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/win64/lib/pathnames.lisp

    r8343 r9316  
    8282  (with-cstrs ((old old-name)
    8383               (new new-name))
     84    #+windows-target
     85    (#__unlink new)
    8486    (let* ((res (#_rename old new)))
    8587      (declare (fixnum res))
Note: See TracChangeset for help on using the changeset viewer.