diff --git a/content/en/conformance.md b/content/en/conformance.md index 94fc4c9..5d84672 100644 --- a/content/en/conformance.md +++ b/content/en/conformance.md @@ -404,6 +404,8 @@ the call returns successfully and nothing says the guarantee is missing: | `Numeric#to_int` is not defined — `Complex(2.9, 0).to_int` raises `NoMethodError` where MRI returns `2` | [#631](https://github.com/go-embedded-ruby/ruby/issues/631) | | `File::Stat#==` answers identity: `a == b` is `false` for two stats of one file where MRI says `true` | [#632](https://github.com/go-embedded-ruby/ruby/issues/632) | | `File#stat` raises `Errno::ENOENT` for a file unlinked while open; MRI answers from the descriptor | [#635](https://github.com/go-embedded-ruby/ruby/issues/635) | +| `IO#pwrite` / `IO#pread` go through the buffer, not a descriptor, so a `#pwrite`'s bytes are not on disk until a flush — MRI's `rb_io_pwrite` calls `pwrite(2)` and they are there the moment it returns. They are no longer **lost**: interpreter teardown flushes them like any other buffered write ([#643](https://github.com/go-embedded-ruby/ruby/issues/643), merged 2026-11-16), so a program that `pwrite`s and exits finds them. Only the **immediacy** differs, and the root is the row above's: a stream is buffered by **path**, with no descriptor | [#949](https://github.com/go-embedded-ruby/ruby/issues/949) | +| An unflushed file whose **directory** is removed before the program ends loses its bytes; MRI, holding a descriptor to an unlinked file, still writes them. Teardown re-opens the path to flush it, so it gets `ENOENT` — and reports nothing, as MRI's shutdown ignores a failing `fflush`. Same root again | [#635](https://github.com/go-embedded-ruby/ruby/issues/635) | | Neither `Kernel#pp` nor `require "pp"` exists (`require "prettyprint"` works) | — | | **Windows:** no text-mode newline translation | [#610](https://github.com/go-embedded-ruby/ruby/issues/610) | | **Windows:** `File::Stat#atime`/`#ctime` fall back to mtime | [#635](https://github.com/go-embedded-ruby/ruby/issues/635) |