Parent Directory | Revision Log
|Links to HEAD:||(view) (annotate)|
|Links to miles_hack:||(view) (annotate)|
Added Miles' stuff to use the same stream for input and output if they are the same file descriptor. This makes CHAR-POS work after input. Except that it doesn't always work. If both fds 0 and 1 refer to, say, /dev/null but 0 is only readable and 1 is only writeable it will try to both read from and write to one of them.
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|