Changeset 5848


Ignore:
Timestamp:
Jan 31, 2007, 3:33:37 PM (18 years ago)
Author:
Gary Byers
Message:

Tweak the warning given if CDB-OPEN fails: missing cdb file: dog bytes man;
missing parent directory is more newsworthy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/lib/db-io.lisp

    r5827 r5848  
    382382      (cdb-check-trailer cdb))
    383383    (progn
    384       (warn "Interface file ~s does not exist.~%This may mean that that the \"ccl:\" logical-pathname host has not been properly initialized. " (translate-logical-pathname pathname))
     384      (if (probe-file (make-pathname :name nil :type nil :defaults pathname))
     385        (warn "Interface file ~s does not exist." pathname)
     386        (warn "Interface file ~s does not exist, and the containing directory does not exist.~%This may mean that that the \"ccl:\" logical-pathname host has not been properly initialized. " (translate-logical-pathname pathname)))
    385387      (make-cdb :fid nil :pathname (namestring pathname)))))
    386388
Note: See TracChangeset for help on using the changeset viewer.