[libc-commits] [PATCH] D159104: [libc] Fix setrlimit/getrlimit on 32-bit systems

Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Sep 7 12:05:37 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG9ff0a447d055: [libc] Fix setrlimit/getrlimit on 32-bit systems (authored by Mikhail R. Gadelha <mikhail at igalia.com>).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D159104/new/

https://reviews.llvm.org/D159104

Files:
  libc/include/llvm-libc-types/rlim_t.h


Index: libc/include/llvm-libc-types/rlim_t.h
===================================================================
--- libc/include/llvm-libc-types/rlim_t.h
+++ libc/include/llvm-libc-types/rlim_t.h
@@ -9,6 +9,6 @@
 #ifndef __LLVM_LIBC_TYPES_RLIM_T_H__
 #define __LLVM_LIBC_TYPES_RLIM_T_H__
 
-typedef unsigned long rlim_t;
+typedef __UINT64_TYPE__ rlim_t;
 
 #endif // __LLVM_LIBC_TYPES_RLIM_T_H__


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159104.556195.patch
Type: text/x-patch
Size: 397 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230907/71ded4bd/attachment.bin>


More information about the libc-commits mailing list