[all-commits] [llvm/llvm-project] a42c1f: [libc][Obvious] Fix use of `fwrite` in the RPC server

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Jul 26 09:15:46 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a42c1f8d9734b732685f91e5e933d6cf8482c708
      https://github.com/llvm/llvm-project/commit/a42c1f8d9734b732685f91e5e933d6cf8482c708
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-07-26 (Wed, 26 Jul 2023)

  Changed paths:
    M libc/src/__support/File/gpu/file.cpp
    M libc/utils/gpu/server/rpc_server.cpp

  Log Message:
  -----------
  [libc][Obvious] Fix use of `fwrite` in the RPC server

Summary:
The RPC server used the size field which meant we didn't get the correct
return value for partial reads. We fix that here.




More information about the All-commits mailing list