Commit graph

13 commits

Author SHA1 Message Date
Sebastian Pipping
71dcb3a835 expat_config_h.yml: Sync expat_config.h.in expectation for Ubuntu 22.04 2025-02-12 01:08:30 +01:00
Sebastian Pipping
26f7cbbf4a cmake: Fix check for symbols size_t and off_t
The two issues with the previous approach were that:

1. `check_symbol_exists` would store "1" or "" into
   variable `off_t` rather than string "off_t", and

2. (`check_symbol_exists` would not find `off_t` or
   `size_t` on modern Linux).

Was reported with NetBSD 9.3.

`size_t` is part of C99 (which Expat requires), so
only the `off_t` half remains.
2024-04-04 00:01:22 +02:00
Snild Dolkow
1d3162da8a Add app setting for enabling/disabling reparse heuristic
Suggested-by: Sebastian Pipping <sebastian@pipping.org>
CI-fighting-assistance-by: Sebastian Pipping <sebastian@pipping.org>
2024-01-29 17:09:36 +01:00
Sebastian Pipping
ed87a47934 configure.ac: Define macro XML_GE as 1 2023-11-06 20:43:09 +01:00
Sebastian Pipping
daa89e42c0 cmake: Introduce option EXPAT_GE to control macro XML_GE 2023-11-06 20:43:09 +01:00
Sebastian Pipping
ede28c8fe0 configure.ac: Require a C++11 compiler for the optional test suite 2023-09-20 19:09:30 +02:00
Sebastian Pipping
6393f2d3ff Protect expat_config.h against multiple inclusion 2022-10-23 17:33:32 +02:00
Sebastian Pipping
779d147681 Keep macro SIZEOF_VOID_P out of expat_config.h(.in) for multilib support 2021-05-23 15:43:56 +02:00
Sebastian Pipping
09ec4ff9c1 cmake/autotools: Use AC_CHECK_SIZEOF to fix 32bit support 2021-05-21 00:14:36 +02:00
Sebastian Pipping
b1d039607d lib: Protect against billion laughs attacks (approach 3.0.21) 2021-05-07 18:25:07 +02:00
Sebastian Pipping
0041db3ce2 Actions: Move ci_expat_config_h/ files into .github/workflows/ 2021-04-06 19:58:53 +02:00
Sebastian Pipping
f29b48cfca Unexpose function _INTERNAL_trim_to_complete_utf8_characters (#457) 2021-04-05 21:44:15 +02:00
Sebastian Pipping
ad0aec0651 autotools-cmake.yml: Add check for list of exported symbols 2021-04-05 20:05:50 +02:00