]> Savannah Git Hosting - gnulib.git/commit
memchr,strncat: prefer sysconf (_SC_PAGESIZE)
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 14 Jun 2024 17:42:40 +0000 (10:42 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 14 Jun 2024 20:19:02 +0000 (13:19 -0700)
commit27313287a82ea5a6f29e9fc2b6674d53fa1feb64
tree37db16eabcff9d18fd28820793691d21bac9cee0
parent17c9d2354a8abf6791da45b125454cfeb39152fc
memchr,strncat: prefer sysconf (_SC_PAGESIZE)

* m4/memchr.m4 (gl_FUNC_MEMCHR):
* m4/strncat.m4 (gl_FUNC_STRNCAT):
Use sysconf (_SC_PAGESIZE) instead of getpagesize, as it’s
in POSIX and there’s no point to worrying about getpagesize
performance advantages here.
ChangeLog
m4/memchr.m4
m4/strncat.m4