libpkgconf/bsdstubs.c


Log

Author Commit Date CI Message
Ariadne Conill 7502a55d 2025-05-08T13:45:33 libpkgconf: bsdstubs: align pledge and unveil stubs with openbsd-portable Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
Ariadne Conill d7efcda0 2025-05-05T11:17:21 bsdstubs: fix build with MSVC Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
Ariadne Conill 230b45c0 2025-05-03T22:04:09 build: add stub functions for pledge and unveil Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
Harmen Stoppels 40638f24 2023-04-24T15:18:59 use AC_CHECK_DECLS to avoid implicit function definition AC_CHECK_FUNCS is not safe, since implicit function definitions is just a warning. On 64-bit glibc systems where reallocarray is not defined or hidden behind macros that are not set, it gets implicitly defined to return an integer, which is a big problem given that it should return a pointer, and leads to immediate segfaults.
Dylan Baker 7976daab 2022-08-06T22:30:25 bsdstubs: include errno.h Needed for ENOMEM, and fixes the build on MacOS.
Ariadne Conill c1579d38 2022-06-26T04:37:18 bsdstubs: add pkgconf_reallocarray
Dan Kegel 4d7b4d7c 2017-06-04T19:19:55 Minimal tweaks to compile with Visual C 2015
William Pitcock b0c821af 2016-12-10T16:20:40 bsdstubs: nothing seems to use strtok_r() anymore, kill it
William Pitcock bdaa2623 2016-12-10T16:16:37 bsdstubs: clean up the way this works by namespacing it
William Pitcock a706b3dc 2015-09-06T09:35:08 initial libtoolization for libpkgconf