Matteo Croce <[email protected]> writes: > Il giorno dom 14 dic 2025 alle ore 01:44 Paul Eggert > <[email protected]> ha scritto: >> >> On 2025-12-13 08:09, Matteo Croce wrote: >> > That was the purpose of the patch, even if maybe I should calculate it >> > by using sysconf(_SC_PAGESIZE). >> >> OK, but I'm not seeing why the patch would be a good idea for the >> coreutils master branch. Without the patch, doesn't 'cat' work well on >> all porting targets? Why add an unnecessary syscall? > > Which syscall? sysconf doesn't ask the kernel for page size.
Assuming he means getpagesize, for systems without _SC_PAGESIZE (Not sure if any common systems are missing that nowawadays). Collin
