summaryrefslogtreecommitdiff
path: root/m4/trunc.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2023-05-13 21:47:10 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2023-05-13 21:48:54 -0700
commit76402405d17a99f00b46e7bdc2a4896fb11f0d64 (patch)
tree65c20a0f9fd1bfdef07cda682a58373c94951d59 /m4/trunc.m4
parentacb36717d8dd76b5cb755edc53aa5cea7f24db01 (diff)
downloadgnulib-76402405d17a99f00b46e7bdc2a4896fb11f0d64.tar.gz
stdio: use _GL_ATTRIBUTE_MALLOC
* lib/stdio.in.h (fdopen, fopen, popen, tmpfile): Declare with _GL_ATTRIBUTE_MALLOC, for consistency with glibc, and so that building the fopen module with ‘gcc -O2 -Wsuggest-attribute=malloc -Wsystem-headers -Werror’ does not fail with “stdio.h: In function ‘rpl_fopen’: stdio.h:970:1: error: function might be candidate for attribute ‘malloc’ [-Werror=suggest-attribute=malloc]”, a problem I noticed on both Fedora 38 and Ubuntu 23.04. sigsegv: Add tentative support for Hurd/x86_64. Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.
Diffstat (limited to 'm4/trunc.m4')
0 files changed, 0 insertions, 0 deletions