[all-commits] [llvm/llvm-project] 7ddcf7: [libc] Change fsfilcnt_t and fsblkcnt_t to be 64-b...

Mikhail R. Gadelha via All-commits all-commits at lists.llvm.org
Mon Jul 22 08:06:25 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ddcf7acf22ac2b490f17d0aea4c2b7f99911d63
      https://github.com/llvm/llvm-project/commit/7ddcf7acf22ac2b490f17d0aea4c2b7f99911d63
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2024-07-22 (Mon, 22 Jul 2024)

  Changed paths:
    M libc/include/llvm-libc-types/fsblkcnt_t.h
    M libc/include/llvm-libc-types/fsfilcnt_t.h

  Log Message:
  -----------
  [libc] Change fsfilcnt_t and fsblkcnt_t to be 64-bits long (#99876)

In 32-bit systems with 64-bit offsets, both fsfilcnt_t and fsblkcnt_t are 64-bit long, just like 64-bit systems. This patch changes both types to be 64-bit long for all platforms and follows the reasoning used to change off_t: the standard only requires it to be an unsigned int, so making it 64-bit long doesn't violate this property.

It should be NFC for 64-bit systems.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list