sync code with last improvements from OpenBSD

This commit is contained in:
purplerain 2023-10-26 22:50:19 +00:00
parent e1ec829e63
commit 68fa196282
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
30 changed files with 268 additions and 1060 deletions

View file

@ -32,6 +32,12 @@
#include "config.h"
/* g_pattern_spec_match_string is available in glib 2.70 and later,
to replace the deprecated g_pattern_match_string */
#ifdef HAVE_G_PATTERN_SPEC_MATCH_STRING
#define g_pattern_match_string g_pattern_spec_match_string
#endif
#define DEFAULT_TIMEOUT 10 /* maximum seconds for each file */
static sigjmp_buf jump_env;