From fe1b22723868b038c4d0b84d9582edcdd888af97 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 7 Feb 2023 11:43:04 +0100 Subject: Add function to interface to allow enabling/disabling error/debug output for the format parses This makes the `-d` option work in plistutil that wasn't doing anything --- src/oplist.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/oplist.c') diff --git a/src/oplist.c b/src/oplist.c index 287d5a2..1781962 100644 --- a/src/oplist.c +++ b/src/oplist.c @@ -63,6 +63,11 @@ void plist_ostep_deinit(void) /* deinit OpenStep plist stuff */ } +void plist_ostep_set_debug(int debug) +{ + plist_ostep_debug = debug; +} + #ifndef HAVE_STRNDUP static char* strndup(const char* str, size_t len) { -- cgit v1.1-32-gdbae