aboutsummaryrefslogtreecommitdiff
path: root/src/interp/nlib.lisp
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2013-05-26 09:48:21 +0000
committerdos-reis <gdr@axiomatics.org>2013-05-26 09:48:21 +0000
commitb99d2252a04fa96e0f6da50c735d8ba0de4765d8 (patch)
tree27dfeb8cf5d0114ab6d7a2361315632a6b6ae8a2 /src/interp/nlib.lisp
parent3d124313d289fd42013e52f600283c99f8d0211a (diff)
downloadopen-axiom-b99d2252a04fa96e0f6da50c735d8ba0de4765d8.tar.gz
Rename MAKE-FULL-NAMESTRING to makeFullFilePath and implement in Boot.
Diffstat (limited to 'src/interp/nlib.lisp')
-rw-r--r--src/interp/nlib.lisp12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/interp/nlib.lisp b/src/interp/nlib.lisp
index 7a69738f..317eaf4a 100644
--- a/src/interp/nlib.lisp
+++ b/src/interp/nlib.lisp
@@ -56,8 +56,7 @@
(get-index-table-from-stream stream)
stream)))
((equal (elt (string mode) 0) #\O)
- ;;(setq fullname (make-full-namestring (cdr file) 'LISPLIB))
- (setq fullname (make-full-namestring (cdr file) 'NIL))
+ (setq fullname (|makeFullFilePath| (cdr file) 'NIL))
(case (|directoryp| fullname)
(-1 (|checkMkdir| fullname))
(0 (error (format nil "~s is an existing file, not a library" fullname)))
@@ -242,9 +241,6 @@
(putindextable ctable filearg))
-(defun make-full-namestring (filearg &optional (filetype nil))
- (namestring (merge-pathnames (|makeFilename| filearg filetype))))
-
(defun get-directory-list (ft)
(let ((cd (get-current-directory)))
(cond ((member ft '("NRLIB" "DAASE" "EXPOSED") :test #'string=)
@@ -271,7 +267,7 @@
(return newfn)))
(|probeReadableFile| filename))))
-(defun $FILEP (&rest filearg) (make-full-namestring filearg))
+(defun $FILEP (&rest filearg) (|makeFullFilePath| filearg))
(define-function '$OUTFILEP #'$FILEP) ;;temporary bogus def
(defun $findfile (filespec filetypelist)
@@ -285,8 +281,8 @@
;; (rename-file namestring1 namestring2))
(defun $FCOPY (filespec1 filespec2)
- (let ((name1 (make-full-namestring filespec1))
- (name2 (make-full-namestring filespec2)))
+ (let ((name1 (|makeFullFilePath| filespec1))
+ (name2 (|makeFullFilePath| filespec2)))
(if (library-file name1)
(copy-lib-directory name1 name2)
(copy-file name1 name2))))