Parent Directory | Revision Log
|Links to HEAD:||(view) (annotate)|
|Links to RELEASE_18d:||(view) (annotate)|
Include fix for READ-BYTE on multi-byte elements.
Mega commit to bring RELENG_18 branch in sync with HEAD in preparation for release tagging 18d.
Do not open /dev/tty when in batch mode.
Backout previous offensive revision.
In stream-init, give *debug-io* its very own stream to tty rather than using *terminal-io*. This lets debugger work even if someone binds *terminal-io* to an output only stream and then enters the debugger.
Rework the code to allow file offsets greater than the most positive fixnum which was only around 500Meg, as noted by Martin Cracauer.
This set of revisions brings the RELENG_18 branch up to HEAD in preparation for an 18c release.
Update from the current main branch.
This (huge) revision brings the RELENG_18 branch up to the current HEAD. Note code/unix-glib2.lisp not yet included -- not sure it is ready to go.
Be sure to remove any fd-steam-handler on an abort close.
Fix to set the stream element type for :output streams.
Werkowskis source kit 1.03.7
Added a suite of signed byte output routines because the unsigned ones weren't type correct for signed operands, thus didn't consistently work.
Fix headed boilerplate.
Squelch assignment warning on open args (by &aux, YES!)
In OPEN, fixed :direction :io :if-does-not-exist :create to actually create.
Re-frobbed fd-stream-read-n-bytes to preserve the property of returning less than the requested number of bytes when eof-error-p is NIL and that is what unix-read read.
In read-n-bytes, only signal EOF when we read and got 0 bytes, not never read returns less than we wanted. Also, fix the case of small reads with an empty buffer not to leave garbled buffer pointers if we have to do more than one read.
Update to new DEFINE-CONDITION syntax.
Unmade FILE-NAME a misc method, since it needs to work on closed streams.
Changed :FILE-NAME back to a misc method. Added fd-stream-pathname slot to hold the non-unixified argument to open.
Added degenerate versions of stream-external-format, file-string-length and the :external-format argument to open.
Changed stuff to use EOF-OR-LOSE for signalling EOF.
Fixed :clear-input to flush any unread chars.
new structure branch & tuning, see new_struct
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|