[all-commits] [llvm/llvm-project] 1ceafe: [libc] Add implementation of ungetc.

Siva Chandra via All-commits all-commits at lists.llvm.org
Wed Nov 2 15:46:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ceafe5e0f694797dab3b44a93ac8b098739d47f
      https://github.com/llvm/llvm-project/commit/1ceafe5e0f694797dab3b44a93ac8b098739d47f
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2022-11-02 (Wed, 02 Nov 2022)

  Changed paths:
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/spec/stdc.td
    M libc/src/__support/File/file.cpp
    M libc/src/__support/File/file.h
    M libc/src/stdio/CMakeLists.txt
    A libc/src/stdio/ungetc.cpp
    A libc/src/stdio/ungetc.h
    M libc/test/src/stdio/CMakeLists.txt
    A libc/test/src/stdio/ungetc_test.cpp

  Log Message:
  -----------
  [libc] Add implementation of ungetc.

A bug in the file read logic has also been fixed along the way. Parts
of the ungetc tests will fail without that bug fixed.

Reviewed By: michaelrj

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




More information about the All-commits mailing list