diff options
author | dos-reis <gdr@axiomatics.org> | 2013-06-01 01:26:18 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2013-06-01 01:26:18 +0000 |
commit | de3a19c35df30298d323c5882e39931f329ea29e (patch) | |
tree | af88701e0c1f76b62ebccc69bde59abd622b21ab /src | |
parent | 1161470b917484fbec82a236d33a742befc8b933 (diff) | |
download | open-axiom-de3a19c35df30298d323c5882e39931f329ea29e.tar.gz |
Introduce Boot wrapper for GET-IO-INDEX-STREAM.
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/interp/nlib.lisp | 3 | ||||
-rw-r--r-- | src/interp/sys-utility.boot | 5 |
3 files changed, 10 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index bf9ef414..8ef8b738 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2013-05-31 Gabriel Dos Reis <gdr@integrable-solutions.net> + + * interp/nlib.lisp (getIndexIOStreamAndTable): New. + 2013-05-30 Gabriel Dos Reis <gdr@integrable-solutions.net> * interp/define.boot (knowInfo): Fix typo. diff --git a/src/interp/nlib.lisp b/src/interp/nlib.lisp index 6ed9a531..79c19b64 100644 --- a/src/interp/nlib.lisp +++ b/src/interp/nlib.lisp @@ -91,6 +91,9 @@ (setq indextable pos))) (values stream indextable))) +(defun |getIndexIOStreamAndTable| (d) + (multiple-value-call #'cons (get-io-index-stream d))) + ;substitute indextable in dirname (defun write-indextable (indextable stream) diff --git a/src/interp/sys-utility.boot b/src/interp/sys-utility.boot index fa29d102..650fcf7c 100644 --- a/src/interp/sys-utility.boot +++ b/src/interp/sys-utility.boot @@ -395,16 +395,17 @@ macro constructorDB ctor == --% structure %Libstream == Record(mode: %IOMode, dir: %Pathname,tbl: %Thing, idxst: %Stream, - cdst: %Stream,insnst: %Stream) with + cdst: %Stream,insnst: %Stream,tmpdir: %Pathname) with libIOMode == (.mode) libDirname == (.dir) libIndexTable == (.tbl) libIndexStream == (.idxst) libCodeStream == (.cdst) libInsnStream == (.insnst) + libStationaryDirname == (.tmpdir) makeLibstream(m,p,idx==nil,st==nil) == - mk%Libstream(m,p,idx,st,nil,nil) + mk%Libstream(m,p,idx,st,nil,nil,nil) makeFilename(filearg,filetype==nil) == if ident? filetype then |