[all-commits] [llvm/llvm-project] 08da9c: [libc] Fix argument types for {f, }truncate specs

alfredfo via All-commits all-commits at lists.llvm.org
Mon Jun 12 10:00:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 08da9ceb647551d266d34ebdce47e6ca62a31ae0
      https://github.com/llvm/llvm-project/commit/08da9ceb647551d266d34ebdce47e6ca62a31ae0
  Author: Alfred Persson Forsberg <cat at catcream.org>
  Date:   2023-06-12 (Mon, 12 Jun 2023)

  Changed paths:
    M libc/spec/posix.td

  Log Message:
  -----------
  [libc] Fix argument types for {f,}truncate specs

The current argument types are currently switched around for ftruncate
and truncate. Currently passes tests because the internal definitions
inside the __llvm_libc namespace are fine.

Reviewed By: michaelrj, thesamesam, sivachandra

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




More information about the All-commits mailing list