From 4682deeb62247d34de87f8e777f99e2d337fd377 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 20 Oct 2024 15:21:43 +0200 Subject: New upstream version 1.3 --- gnulib-m4/memchr.m4 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gnulib-m4/memchr.m4') diff --git a/gnulib-m4/memchr.m4 b/gnulib-m4/memchr.m4 index 6184ddc8..31ff2dac 100644 --- a/gnulib-m4/memchr.m4 +++ b/gnulib-m4/memchr.m4 @@ -1,4 +1,5 @@ -# memchr.m4 serial 19 +# memchr.m4 +# serial 20 dnl Copyright (C) 2002-2004, 2009-2024 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -48,7 +49,7 @@ AC_DEFUN_ONCE([gl_FUNC_MEMCHR], if (fd >= 0) # endif { - int pagesize = getpagesize (); + long int pagesize = sysconf (_SC_PAGESIZE); char *two_pages = (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, flags, fd, 0); -- cgit v1.2.3