HomeFreeBSD

sh: Simplify output buffering.

Description

sh: Simplify output buffering.

Similarly to how STPUTC was changed, change struct output to store the
pointer just past the end of the available space instead of the size of the
available space, so after writing a character it is only necessary to
increment a pointer and not to decrement a counter.

Details

Provenance
jillesAuthored on
Parents
rS318384: Merge llvm, clang, lld, lldb, compiler-rt and libc++ r303197, and update
Branches
Unknown
Tags
Unknown