Skip to content
Snippets Groups Projects
Commit 3fcef2cb authored by toy's avatar toy
Browse files

file-length returns two values instead of one, as required. Bug and

solution from Wolfhard Buss.
parent 6e371aa1
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain.
;;;
(ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/fd-stream.lisp,v 1.63 2002/12/12 19:11:11 moore Exp $")
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/fd-stream.lisp,v 1.64 2003/06/02 14:42:50 toy Exp $")
;;;
;;; **********************************************************************
;;;
......@@ -1055,7 +1055,7 @@
:format-arguments (list stream (unix:get-unix-error-msg dev))))
(if (zerop mode)
nil
(truncate size (fd-stream-element-size stream)))))
(values (truncate size (fd-stream-element-size stream))))))
(:file-position
(fd-stream-file-position stream arg1))))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment