[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/9] getpagesize simplifications etc.
From: |
Collin Funk |
Subject: |
Re: [PATCH 0/9] getpagesize simplifications etc. |
Date: |
Fri, 14 Jun 2024 13:46:13 -0700 |
User-agent: |
Mozilla Thunderbird |
On 6/14/24 1:19 PM, Paul Eggert wrote:
> I noticed when looking into something else that we can simplify
> some getpagesize-using code by removing some dependencies
> and using sysconf (_SC_PAGESIZE) where that might be safer.
> While I was at it, I updated the getpagesize doc and
> fixed what seems to be an obvious porting bug (pointers
> do not always fit into unsigned long).
Isn't sysconf not available on Windows?
Maybe implementing _SC_PAGESIZE and some other simple ones would work
if so.
Collin
[PATCH 3/9] getcwd: simplify abort bug checking, Paul Eggert, 2024/06/14
[PATCH 4/9] memchr,strncat: prefer sysconf (_SC_PAGESIZE), Paul Eggert, 2024/06/14
[PATCH 5/9] mprotect: don’t assume pointers fit in long, Paul Eggert, 2024/06/14
[PATCH 6/9] maint: avoid some test getpagesize dependencies, Paul Eggert, 2024/06/14
[PATCH 8/9] sigsegv-tests: port to plain POSIX, Paul Eggert, 2024/06/14
[PATCH 7/9] free-posix-tests: port to plain POSIX, Paul Eggert, 2024/06/14
[PATCH 9/9] ssfmalloc-tests: simplify by using sysconf, Paul Eggert, 2024/06/14
Re: [PATCH 0/9] getpagesize simplifications etc.,
Collin Funk <=