
|
If you were logged in you would be able to see more operations.
|
|
|
Run the t.rb script from JRUBY-65. It attempts to write out to a file using code of the form:
at the end of the script, but the contents are never flushed out to the file. This is likely due to our new IOHandlerSeekable implementation that buffers RandomAccessFile. A small bug, only affecting the end of a script/app's run, but something we must fix before 1.0.
|
|
Description
|
Run the t.rb script from JRUBY-65. It attempts to write out to a file using code of the form:
at the end of the script, but the contents are never flushed out to the file. This is likely due to our new IOHandlerSeekable implementation that buffers RandomAccessFile. A small bug, only affecting the end of a script/app's run, but something we must fix before 1.0. |
Show » |
|
static void fptr_finalize(rb_io_t *fptr, int noraise) { if (fptr->wbuf_len) { io_fflush(fptr); } ...... }We can't guarantee that our version will run, so it seems like we may need a clean up when the runtime exits. I'll have a crack at it.