Parent Directory | Revision Log
|Links to HEAD:||(view) (annotate)|
|Links to new_struct:||(view) (annotate)|
Added INPUT-BUFFER-P arg to MAKE-FD-STREAM which controls whether we use the IN-BUFFER or not, because the point is to work on real files, and it requires extra syscalls to make sure that we don't spuriously block on TTYs. Removed vestigial support for non-8 byte sizes in n-bin.
deleted read-line method, since this is now based on read-char.
Changed read-n-bytes to only loop waiting for input if eof-errorp is T. Allow read-n-bytes on text streams. Fill in stream in buffer for byte streams. Move file-position and file-length to stream.lisp, since they are really generic.
Added type decls from efficency notes.
Export FILE-STREAM from LISP as a synonym for FD-STREAM. Add :INTERACTIVE-P misc method.
Removed #+serve-event conditionalation.
Changed all SAP-REF-mumble functions to take the offset in bytes.
Merged new-alien changes onto trunk.
Fixed OPEN to deal with the fact that UNIX-NAMESTRING can return NIL.
Added finalization of opened streams.
Changed BASE-CHARACTER to BASE-CHAR
Added :TIMEOUT argument to MAKE-FD-STREAM. The SYSTEM:IO-TIMEOUT condition is signalled if a timeout is specified and exceeded.
Added many declarations indicated by efficiency notes. Also, now in OPEN, we don't rename files that aren't writable.
Changed FD-STREAM-READ-N-BYTES to block in unix-read rather than select so that it is usable as the CLX BUFFER-READ function (and is also more tense.) Fixed a couple warnings in the misc method.
Added :EOF support in listen method, and fixed a few comments.
Merged with systems-work sources. The only change was to make *standard-output* a two-way stream so that reading *standard-input* will force output on standard output.
New file header with RCS header FILE-COMMENT.
Added a retry case to the permision denied error in open.
Changed predict-name to unix-namestring.
Fixed the clear-input method.
Added :clear-input method. Changed base-character to character in dispatching stuff.
Moved MIPS branch onto trunk; no merge necessary.
.../code/fd-stream.lisp, 08-Mar-90 17:58:17, Edit by Wlott. Yet another attempt at file-position. Forgot to zero both the head and tail of the input buffer when we moved the file pointer. Therefore, UNIX thought that the file pointer was at the beginning of the file, but LISP thought that the file pointer was ibuf-tail bytes in.
Put in fix from wlott for unread-char/read-line interaction lossage.
Changed make-immediate-type of random number to CODE-CHAR.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
|Powered by ViewVC 1.1.5|