senooken JP Social
  • FAQ
  • Login
senooken JP Socialはsenookenの専用分散SNSです。
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Masaki Hara (qnighy@qnmd.info)'s status on Monday, 17-Dec-2018 10:06:57 JST Masaki Hara Masaki Hara

    https://github.com/rust-lang/rust/issues/56889
    Writeはwrite(2)のようなインターフェースを定義しているが、0は**多くの場合**ストリームの終わりを意味するとしか規定していない。しかしwrite_all(全てを書くまでwriteを繰り返す)は0を必ずストリームの終わりだと考えエラーにしている。これはおかしいのではという指摘

    In conversation Monday, 17-Dec-2018 10:06:57 JST from qnmd.info permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: avatars3.githubusercontent.com
      Write::write_all erroring when encountering Ok(0) interacts poorly with the contract of Write::write · Issue #56889 · rust-lang/rust
      from GitHub
      The documentation of write (emphasis added) specifies that returning Ok(0) is a valid thing to do, albeit with a possible implementation-specific "this writer is dead" meaning: A return v...

    Feeds

    • Activity Streams
    • RSS 2.0
    • Atom
    • Help
    • About
    • FAQ
    • TOS
    • Privacy
    • Source
    • Version
    • Contact

    senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.

    Creative Commons Attribution 3.0 All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.