Re: syconf(_SC_PAGESIZE) versus getpagesize() | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On Tue, Jul 29, 2008 at 11:02:40PM +0200, maximilian attems wrote:
> hello karel,
>
> thanks a lot for the klibc portability merges.
>
> current HEAD klibc failure:
> mkswap.c: In function ‘init_signature_page’:
> mkswap.c:148: error: ‘_SC_PAGESIZE’ undeclared (first use in this function)
>
> although POSIX encourages sysconf() could util-linux use getpagesize() ?
Yes, probably nobody sane uses libc4, libc5 and glibc 2.0. Go ahead.
$ grep -rl _SC_PAGESIZE *
disk-utils/fsck.cramfs.c
disk-utils/mkswap.c
disk-utils/mkfs.cramfs.c
sys-utils/ipcs.c
tests/helpers/test_sysinfo.c
Karel
--
Karel Zak <kzak@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Site Home] [Netdev] [Ethernet Bridging] [Linux Wireless] [Kernel Newbies] [Memory] [Security] [Linux for Hams] [Netfilter] [Bugtraq] [Rubini] [Photo] [Yosemite] [Yosemite News] [MIPS Linux] [ARM Linux] [Linux RAID] [Linux Admin] [Samba] [Video 4 Linux] [Linux Resources]