[all-commits] [llvm/llvm-project] 6ce490: [libc] add buffering to FILE writes

michaelrj-google via All-commits all-commits at lists.llvm.org
Fri Jun 10 09:59:03 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ce490e5a61786ec0a17cedfc4beb927acbc803b
      https://github.com/llvm/llvm-project/commit/6ce490e5a61786ec0a17cedfc4beb927acbc803b
  Author: Michael Jones <michaelrj at google.com>
  Date:   2022-06-10 (Fri, 10 Jun 2022)

  Changed paths:
    M libc/config/linux/api.td
    M libc/spec/stdc.td
    M libc/src/__support/File/file.cpp
    M libc/src/__support/File/file.h
    M libc/src/__support/File/linux_file.cpp
    M libc/test/src/__support/File/file_test.cpp

  Log Message:
  -----------
  [libc] add buffering to FILE writes

Previously all FILE objects were fully buffered, this patch adds line
buffering and unbuffered output, as well as applying them to stdout and
stderr.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D126829




More information about the All-commits mailing list