projects
/
kmrcl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7397fb7
)
Add file-size for sbcl
author
Kevin M. Rosenberg
<kevin@rosenberg.net>
Tue, 23 Feb 2010 17:43:37 +0000
(10:43 -0700)
committer
Kevin M. Rosenberg
<kevin@rosenberg.net>
Tue, 23 Feb 2010 17:43:37 +0000
(10:43 -0700)
os.lisp
patch
|
blob
|
history
diff --git
a/os.lisp
b/os.lisp
index 7b7da44e5fa23adac19e668e0010fff7f192dfea..9714f5f3568cf7c5e2fd897d25e126dfacfb4655 100644
(file)
--- a/
os.lisp
+++ b/
os.lisp
@@
-156,7
+156,8
@@
returns (VALUES output-string pid)"
(when (probe-file file)
#+allegro (let ((stat (excl.osi:stat (namestring file))))
(excl.osi:stat-size stat))
- #-allegro
+ #+sbcl (sb-posix:stat-size (sb-posix:stat file))
+ #-(or allegro sbcl)
(with-open-file (in file :direction :input)
(file-length in))))