Changeset 8217


Ignore:
Timestamp:
Jan 18, 2008, 10:20:25 AM (17 years ago)
Author:
Gary Byers
Message:

MAKE-FILE-STREAM (called by OPEN) passes :IF-EXISTS NIL do
%CREATE-FILE and returns NIL if it does.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/working-0711/ccl/level-1/l1-sysio.lisp

    r7734 r8217  
    773773              (return-from open nil)))
    774774          (if (setq filename (if-does-not-exist if-does-not-exist filename))
    775             (setq native-truename (%create-file filename))
     775            (unless (setq native-truename (%create-file filename :if-exists if-exists ))
     776              (return-from open nil))
    776777            (return-from open nil)))
    777778        (let* ((fd (fd-open native-truename (case direction
Note: See TracChangeset for help on using the changeset viewer.