Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

[ sisc-Bugs-1663873 ] write-block final argument isn't optional: msg#00003

Subject: [ sisc-Bugs-1663873 ] write-block final argument isn't optional
Bugs item #1663873, was opened at 2007-02-19 22:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=1663873&group_id=23735

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Norman Gray (normang)
Assigned to: Nobody/Anonymous (nobody)
Summary: write-block final argument isn't optional

Initial Comment:
The documentation for write-block says:

(write-block buffer offset count [binary-output-port]) => undefined

Writes count bytes of data from the provided buffer at starting point offset to 
the given binary-output-port or to the current output port if unspecified. 
Exactly count bytes will be written.

However (in SISC HEAD of 2007 February 19):

% sisc
SISC (1.17.0-alpha)
#;> (import buffers)
#;> (let ((buffer (buffer 120 120 120)))
  (with-binary-output-to-file "temp.output"
    (lambda ()
      (write-block buffer 0 3))))
Error in write-block: incorrect number of arguments to procedure.
console:5:7: <from call to @binary-io-native::write-block>
---------------------------
To enable more detailed stack tracing, set the dynamic parameter 
max-stack-trace-depth to a non-zero value, e.g. 16.
---------------------------
Some stack trace entries may have been suppressed. To see all entries set the 
dynamic parameter suppressed-stack-trace-source-kinds to '().
#;> ^D

Adding (current-output-port) to the write-block call works OK.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=1663873&group_id=23735

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


<Prev in Thread] Current Thread [Next in Thread>